repo stringlengths 6 47 | file_url stringlengths 77 269 | file_path stringlengths 5 186 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-07 08:35:43 2026-01-07 08:55:24 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any_number.go | vendor/github.com/json-iterator/go/any_number.go | package jsoniter
import (
"io"
"unsafe"
)
type numberLazyAny struct {
baseAny
cfg *frozenConfig
buf []byte
err error
}
func (any *numberLazyAny) ValueType() ValueType {
return NumberValue
}
func (any *numberLazyAny) MustBeValid() Any {
return any
}
func (any *numberLazyAny) LastError() error {
return any.... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any.go | vendor/github.com/json-iterator/go/any.go | package jsoniter
import (
"errors"
"fmt"
"github.com/modern-go/reflect2"
"io"
"reflect"
"strconv"
"unsafe"
)
// Any generic object representation.
// The lazy json implementation holds []byte and parse lazily.
type Any interface {
LastError() error
ValueType() ValueType
MustBeValid() Any
ToBool() bool
ToI... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any_bool.go | vendor/github.com/json-iterator/go/any_bool.go | package jsoniter
type trueAny struct {
baseAny
}
func (any *trueAny) LastError() error {
return nil
}
func (any *trueAny) ToBool() bool {
return true
}
func (any *trueAny) ToInt() int {
return 1
}
func (any *trueAny) ToInt32() int32 {
return 1
}
func (any *trueAny) ToInt64() int64 {
return 1
}
func (any *t... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/stream_float.go | vendor/github.com/json-iterator/go/stream_float.go | package jsoniter
import (
"fmt"
"math"
"strconv"
)
var pow10 []uint64
func init() {
pow10 = []uint64{1, 10, 100, 1000, 10000, 100000, 1000000}
}
// WriteFloat32 write float32 to stream
func (stream *Stream) WriteFloat32(val float32) {
if math.IsInf(float64(val), 0) || math.IsNaN(float64(val)) {
stream.Error ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect_slice.go | vendor/github.com/json-iterator/go/reflect_slice.go | package jsoniter
import (
"fmt"
"github.com/modern-go/reflect2"
"io"
"unsafe"
)
func decoderOfSlice(ctx *ctx, typ reflect2.Type) ValDecoder {
sliceType := typ.(*reflect2.UnsafeSliceType)
decoder := decoderOfType(ctx.append("[sliceElem]"), sliceType.Elem())
return &sliceDecoder{sliceType, decoder}
}
func encod... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/iter_skip_sloppy.go | vendor/github.com/json-iterator/go/iter_skip_sloppy.go | //+build jsoniter_sloppy
package jsoniter
// sloppy but faster implementation, do not validate the input json
func (iter *Iterator) skipNumber() {
for {
for i := iter.head; i < iter.tail; i++ {
c := iter.buf[i]
switch c {
case ' ', '\n', '\r', '\t', ',', '}', ']':
iter.head = i
return
}
}
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any_int32.go | vendor/github.com/json-iterator/go/any_int32.go | package jsoniter
import (
"strconv"
)
type int32Any struct {
baseAny
val int32
}
func (any *int32Any) LastError() error {
return nil
}
func (any *int32Any) ValueType() ValueType {
return NumberValue
}
func (any *int32Any) MustBeValid() Any {
return any
}
func (any *int32Any) ToBool() bool {
return any.val ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/stream.go | vendor/github.com/json-iterator/go/stream.go | package jsoniter
import (
"io"
)
// stream is a io.Writer like object, with JSON specific write functions.
// Error is not returned as return value, but stored as Error member on this stream instance.
type Stream struct {
cfg *frozenConfig
out io.Writer
buf []byte
Error error
indention... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect_json_raw_message.go | vendor/github.com/json-iterator/go/reflect_json_raw_message.go | package jsoniter
import (
"encoding/json"
"github.com/modern-go/reflect2"
"unsafe"
)
var jsonRawMessageType = reflect2.TypeOfPtr((*json.RawMessage)(nil)).Elem()
var jsoniterRawMessageType = reflect2.TypeOfPtr((*RawMessage)(nil)).Elem()
func createEncoderOfJsonRawMessage(ctx *ctx, typ reflect2.Type) ValEncoder {
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/iter_array.go | vendor/github.com/json-iterator/go/iter_array.go | package jsoniter
// ReadArray read array element, tells if the array has more element to read.
func (iter *Iterator) ReadArray() (ret bool) {
c := iter.nextToken()
switch c {
case 'n':
iter.skipThreeBytes('u', 'l', 'l')
return false // null
case '[':
c = iter.nextToken()
if c != ']' {
iter.unreadByte()
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/stream_int.go | vendor/github.com/json-iterator/go/stream_int.go | package jsoniter
var digits []uint32
func init() {
digits = make([]uint32, 1000)
for i := uint32(0); i < 1000; i++ {
digits[i] = (((i / 100) + '0') << 16) + ((((i / 10) % 10) + '0') << 8) + i%10 + '0'
if i < 10 {
digits[i] += 2 << 24
} else if i < 100 {
digits[i] += 1 << 24
}
}
}
func writeFirstBuf(... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect_extension.go | vendor/github.com/json-iterator/go/reflect_extension.go | package jsoniter
import (
"fmt"
"github.com/modern-go/reflect2"
"reflect"
"sort"
"strings"
"unicode"
"unsafe"
)
var typeDecoders = map[string]ValDecoder{}
var fieldDecoders = map[string]ValDecoder{}
var typeEncoders = map[string]ValEncoder{}
var fieldEncoders = map[string]ValEncoder{}
var extensions = []Extens... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect_native.go | vendor/github.com/json-iterator/go/reflect_native.go | package jsoniter
import (
"encoding/base64"
"reflect"
"strconv"
"unsafe"
"github.com/modern-go/reflect2"
)
const ptrSize = 32 << uintptr(^uintptr(0)>>63)
func createEncoderOfNative(ctx *ctx, typ reflect2.Type) ValEncoder {
if typ.Kind() == reflect.Slice && typ.(reflect2.SliceType).Elem().Kind() == reflect.Uin... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any_int64.go | vendor/github.com/json-iterator/go/any_int64.go | package jsoniter
import (
"strconv"
)
type int64Any struct {
baseAny
val int64
}
func (any *int64Any) LastError() error {
return nil
}
func (any *int64Any) ValueType() ValueType {
return NumberValue
}
func (any *int64Any) MustBeValid() Any {
return any
}
func (any *int64Any) ToBool() bool {
return any.val ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/iter.go | vendor/github.com/json-iterator/go/iter.go | package jsoniter
import (
"encoding/json"
"fmt"
"io"
)
// ValueType the type for JSON element
type ValueType int
const (
// InvalidValue invalid JSON element
InvalidValue ValueType = iota
// StringValue JSON element "string"
StringValue
// NumberValue JSON element 100 or 0.10
NumberValue
// NilValue JSON e... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any_float.go | vendor/github.com/json-iterator/go/any_float.go | package jsoniter
import (
"strconv"
)
type floatAny struct {
baseAny
val float64
}
func (any *floatAny) Parse() *Iterator {
return nil
}
func (any *floatAny) ValueType() ValueType {
return NumberValue
}
func (any *floatAny) MustBeValid() Any {
return any
}
func (any *floatAny) LastError() error {
return ni... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/config.go | vendor/github.com/json-iterator/go/config.go | package jsoniter
import (
"encoding/json"
"io"
"reflect"
"sync"
"unsafe"
"github.com/modern-go/concurrent"
"github.com/modern-go/reflect2"
)
// Config customize how the API should behave.
// The API is created from Config by Froze.
type Config struct {
IndentionStep int
MarshalFloatWith6Digi... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/iter_float.go | vendor/github.com/json-iterator/go/iter_float.go | package jsoniter
import (
"encoding/json"
"io"
"math/big"
"strconv"
"strings"
"unsafe"
)
var floatDigits []int8
const invalidCharForNumber = int8(-1)
const endOfNumber = int8(-2)
const dotInNumber = int8(-3)
func init() {
floatDigits = make([]int8, 256)
for i := 0; i < len(floatDigits); i++ {
floatDigits[... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any_object.go | vendor/github.com/json-iterator/go/any_object.go | package jsoniter
import (
"reflect"
"unsafe"
)
type objectLazyAny struct {
baseAny
cfg *frozenConfig
buf []byte
err error
}
func (any *objectLazyAny) ValueType() ValueType {
return ObjectValue
}
func (any *objectLazyAny) MustBeValid() Any {
return any
}
func (any *objectLazyAny) LastError() error {
return... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect_optional.go | vendor/github.com/json-iterator/go/reflect_optional.go | package jsoniter
import (
"github.com/modern-go/reflect2"
"unsafe"
)
func decoderOfOptional(ctx *ctx, typ reflect2.Type) ValDecoder {
ptrType := typ.(*reflect2.UnsafePtrType)
elemType := ptrType.Elem()
decoder := decoderOfType(ctx, elemType)
return &OptionalDecoder{elemType, decoder}
}
func encoderOfOptional(c... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect_struct_decoder.go | vendor/github.com/json-iterator/go/reflect_struct_decoder.go | package jsoniter
import (
"fmt"
"io"
"strings"
"unsafe"
"github.com/modern-go/reflect2"
)
func decoderOfStruct(ctx *ctx, typ reflect2.Type) ValDecoder {
bindings := map[string]*Binding{}
structDescriptor := describeStruct(ctx, typ)
for _, binding := range structDescriptor.Fields {
for _, fromName := range ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any_str.go | vendor/github.com/json-iterator/go/any_str.go | package jsoniter
import (
"fmt"
"strconv"
)
type stringAny struct {
baseAny
val string
}
func (any *stringAny) Get(path ...interface{}) Any {
if len(path) == 0 {
return any
}
return &invalidAny{baseAny{}, fmt.Errorf("GetIndex %v from simple value", path)}
}
func (any *stringAny) Parse() *Iterator {
return... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any_uint32.go | vendor/github.com/json-iterator/go/any_uint32.go | package jsoniter
import (
"strconv"
)
type uint32Any struct {
baseAny
val uint32
}
func (any *uint32Any) LastError() error {
return nil
}
func (any *uint32Any) ValueType() ValueType {
return NumberValue
}
func (any *uint32Any) MustBeValid() Any {
return any
}
func (any *uint32Any) ToBool() bool {
return an... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect_marshaler.go | vendor/github.com/json-iterator/go/reflect_marshaler.go | package jsoniter
import (
"encoding"
"encoding/json"
"unsafe"
"github.com/modern-go/reflect2"
)
var marshalerType = reflect2.TypeOfPtr((*json.Marshaler)(nil)).Elem()
var unmarshalerType = reflect2.TypeOfPtr((*json.Unmarshaler)(nil)).Elem()
var textMarshalerType = reflect2.TypeOfPtr((*encoding.TextMarshaler)(nil)... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/iter_skip_strict.go | vendor/github.com/json-iterator/go/iter_skip_strict.go | //+build !jsoniter_sloppy
package jsoniter
import (
"fmt"
"io"
)
func (iter *Iterator) skipNumber() {
if !iter.trySkipNumber() {
iter.unreadByte()
if iter.Error != nil && iter.Error != io.EOF {
return
}
iter.ReadFloat64()
if iter.Error != nil && iter.Error != io.EOF {
iter.Error = nil
iter.Read... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/pool.go | vendor/github.com/json-iterator/go/pool.go | package jsoniter
import (
"io"
)
// IteratorPool a thread safe pool of iterators with same configuration
type IteratorPool interface {
BorrowIterator(data []byte) *Iterator
ReturnIterator(iter *Iterator)
}
// StreamPool a thread safe pool of streams with same configuration
type StreamPool interface {
BorrowStrea... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/jsoniter.go | vendor/github.com/json-iterator/go/jsoniter.go | // Package jsoniter implements encoding and decoding of JSON as defined in
// RFC 4627 and provides interfaces with identical syntax of standard lib encoding/json.
// Converting from encoding/json to jsoniter is no more than replacing the package with jsoniter
// and variable type declarations (if any).
// jsoniter int... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any_uint64.go | vendor/github.com/json-iterator/go/any_uint64.go | package jsoniter
import (
"strconv"
)
type uint64Any struct {
baseAny
val uint64
}
func (any *uint64Any) LastError() error {
return nil
}
func (any *uint64Any) ValueType() ValueType {
return NumberValue
}
func (any *uint64Any) MustBeValid() Any {
return any
}
func (any *uint64Any) ToBool() bool {
return an... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any_array.go | vendor/github.com/json-iterator/go/any_array.go | package jsoniter
import (
"reflect"
"unsafe"
)
type arrayLazyAny struct {
baseAny
cfg *frozenConfig
buf []byte
err error
}
func (any *arrayLazyAny) ValueType() ValueType {
return ArrayValue
}
func (any *arrayLazyAny) MustBeValid() Any {
return any
}
func (any *arrayLazyAny) LastError() error {
return any.... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any_nil.go | vendor/github.com/json-iterator/go/any_nil.go | package jsoniter
type nilAny struct {
baseAny
}
func (any *nilAny) LastError() error {
return nil
}
func (any *nilAny) ValueType() ValueType {
return NilValue
}
func (any *nilAny) MustBeValid() Any {
return any
}
func (any *nilAny) ToBool() bool {
return false
}
func (any *nilAny) ToInt() int {
return 0
}
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect.go | vendor/github.com/json-iterator/go/reflect.go | package jsoniter
import (
"fmt"
"reflect"
"unsafe"
"github.com/modern-go/reflect2"
)
// ValDecoder is an internal type registered to cache as needed.
// Don't confuse jsoniter.ValDecoder with json.Decoder.
// For json.Decoder's adapter, refer to jsoniter.AdapterDecoder(todo link).
//
// Reflection on type to cre... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/iter_str.go | vendor/github.com/json-iterator/go/iter_str.go | package jsoniter
import (
"fmt"
"unicode/utf16"
)
// ReadString read string from iterator
func (iter *Iterator) ReadString() (ret string) {
c := iter.nextToken()
if c == '"' {
for i := iter.head; i < iter.tail; i++ {
c := iter.buf[i]
if c == '"' {
ret = string(iter.buf[iter.head:i])
iter.head = i ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/iter_skip.go | vendor/github.com/json-iterator/go/iter_skip.go | package jsoniter
import "fmt"
// ReadNil reads a json object as nil and
// returns whether it's a nil or not
func (iter *Iterator) ReadNil() (ret bool) {
c := iter.nextToken()
if c == 'n' {
iter.skipThreeBytes('u', 'l', 'l') // null
return true
}
iter.unreadByte()
return false
}
// ReadBool reads a json obj... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/iter_object.go | vendor/github.com/json-iterator/go/iter_object.go | package jsoniter
import (
"fmt"
"strings"
)
// ReadObject read one field from object.
// If object ended, returns empty string.
// Otherwise, returns the field name.
func (iter *Iterator) ReadObject() (ret string) {
c := iter.nextToken()
switch c {
case 'n':
iter.skipThreeBytes('u', 'l', 'l')
return "" // nu... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect_json_number.go | vendor/github.com/json-iterator/go/reflect_json_number.go | package jsoniter
import (
"encoding/json"
"github.com/modern-go/reflect2"
"strconv"
"unsafe"
)
type Number string
// String returns the literal text of the number.
func (n Number) String() string { return string(n) }
// Float64 returns the number as a float64.
func (n Number) Float64() (float64, error) {
retur... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect_struct_encoder.go | vendor/github.com/json-iterator/go/reflect_struct_encoder.go | package jsoniter
import (
"fmt"
"github.com/modern-go/reflect2"
"io"
"reflect"
"unsafe"
)
func encoderOfStruct(ctx *ctx, typ reflect2.Type) ValEncoder {
type bindingTo struct {
binding *Binding
toName string
ignored bool
}
orderedBindings := []*bindingTo{}
structDescriptor := describeStruct(ctx, typ)
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/adapter.go | vendor/github.com/json-iterator/go/adapter.go | package jsoniter
import (
"bytes"
"io"
)
// RawMessage to make replace json with jsoniter
type RawMessage []byte
// Unmarshal adapts to json/encoding Unmarshal API
//
// Unmarshal parses the JSON-encoded data and stores the result in the value pointed to by v.
// Refer to https://godoc.org/encoding/json#Unmarshal ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect_map.go | vendor/github.com/json-iterator/go/reflect_map.go | package jsoniter
import (
"fmt"
"github.com/modern-go/reflect2"
"io"
"reflect"
"sort"
"unsafe"
)
func decoderOfMap(ctx *ctx, typ reflect2.Type) ValDecoder {
mapType := typ.(*reflect2.UnsafeMapType)
keyDecoder := decoderOfMapKey(ctx.append("[mapKey]"), mapType.Key())
elemDecoder := decoderOfType(ctx.append("[... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/stream_str.go | vendor/github.com/json-iterator/go/stream_str.go | package jsoniter
import (
"unicode/utf8"
)
// htmlSafeSet holds the value true if the ASCII character with the given
// array position can be safely represented inside a JSON string, embedded
// inside of HTML <script> tags, without any additional escaping.
//
// All values are true except for the ASCII control char... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/any_invalid.go | vendor/github.com/json-iterator/go/any_invalid.go | package jsoniter
import "fmt"
type invalidAny struct {
baseAny
err error
}
func newInvalidAny(path []interface{}) *invalidAny {
return &invalidAny{baseAny{}, fmt.Errorf("%v not found", path)}
}
func (any *invalidAny) LastError() error {
return any.err
}
func (any *invalidAny) ValueType() ValueType {
return In... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect_array.go | vendor/github.com/json-iterator/go/reflect_array.go | package jsoniter
import (
"fmt"
"github.com/modern-go/reflect2"
"io"
"unsafe"
)
func decoderOfArray(ctx *ctx, typ reflect2.Type) ValDecoder {
arrayType := typ.(*reflect2.UnsafeArrayType)
decoder := decoderOfType(ctx.append("[arrayElem]"), arrayType.Elem())
return &arrayDecoder{arrayType, decoder}
}
func encod... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/json-iterator/go/reflect_dynamic.go | vendor/github.com/json-iterator/go/reflect_dynamic.go | package jsoniter
import (
"github.com/modern-go/reflect2"
"reflect"
"unsafe"
)
type dynamicEncoder struct {
valType reflect2.Type
}
func (encoder *dynamicEncoder) Encode(ptr unsafe.Pointer, stream *Stream) {
obj := encoder.valType.UnsafeIndirect(ptr)
stream.WriteVal(obj)
}
func (encoder *dynamicEncoder) IsEmp... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/require/require_forward.go | vendor/github.com/stretchr/testify/require/require_forward.go | /*
* CODE GENERATED AUTOMATICALLY WITH github.com/stretchr/testify/_codegen
* THIS FILE MUST NOT BE EDITED BY HAND
*/
package require
import (
assert "github.com/stretchr/testify/assert"
http "net/http"
url "net/url"
time "time"
)
// Condition uses a Comparison to assert a complex condition.
func (a *Assertions... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/require/requirements.go | vendor/github.com/stretchr/testify/require/requirements.go | package require
// TestingT is an interface wrapper around *testing.T
type TestingT interface {
Errorf(format string, args ...interface{})
FailNow()
}
type tHelper interface {
Helper()
}
// ComparisonAssertionFunc is a common function prototype when comparing two values. Can be useful
// for table driven tests.
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/require/forward_requirements.go | vendor/github.com/stretchr/testify/require/forward_requirements.go | package require
// Assertions provides assertion methods around the
// TestingT interface.
type Assertions struct {
t TestingT
}
// New makes a new Assertions object for the specified TestingT.
func New(t TestingT) *Assertions {
return &Assertions{
t: t,
}
}
//go:generate sh -c "cd ../_codegen && go build && cd... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/require/require.go | vendor/github.com/stretchr/testify/require/require.go | /*
* CODE GENERATED AUTOMATICALLY WITH github.com/stretchr/testify/_codegen
* THIS FILE MUST NOT BE EDITED BY HAND
*/
package require
import (
assert "github.com/stretchr/testify/assert"
http "net/http"
url "net/url"
time "time"
)
// Condition uses a Comparison to assert a complex condition.
func Condition(t Te... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/require/doc.go | vendor/github.com/stretchr/testify/require/doc.go | // Package require implements the same assertions as the `assert` package but
// stops test execution when a test fails.
//
// # Example Usage
//
// The following is a complete example using require in a standard test function:
//
// import (
// "testing"
// "github.com/stretchr/testify/require"
// )
//
// func Tes... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go | vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go | //go:build !go1.17
// +build !go1.17
// TODO: once support for Go 1.16 is dropped, this file can be
// merged/removed with assertion_compare_go1.17_test.go and
// assertion_compare_can_convert.go
package assert
import "reflect"
// Older versions of Go does not have the reflect.Value.CanConvert
// method... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/assert/assertion_format.go | vendor/github.com/stretchr/testify/assert/assertion_format.go | /*
* CODE GENERATED AUTOMATICALLY WITH github.com/stretchr/testify/_codegen
* THIS FILE MUST NOT BE EDITED BY HAND
*/
package assert
import (
http "net/http"
url "net/url"
time "time"
)
// Conditionf uses a Comparison to assert a complex condition.
func Conditionf(t TestingT, comp Comparison, msg string, args ..... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/assert/assertion_forward.go | vendor/github.com/stretchr/testify/assert/assertion_forward.go | /*
* CODE GENERATED AUTOMATICALLY WITH github.com/stretchr/testify/_codegen
* THIS FILE MUST NOT BE EDITED BY HAND
*/
package assert
import (
http "net/http"
url "net/url"
time "time"
)
// Condition uses a Comparison to assert a complex condition.
func (a *Assertions) Condition(comp Comparison, msgAndArgs ...int... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/assert/forward_assertions.go | vendor/github.com/stretchr/testify/assert/forward_assertions.go | package assert
// Assertions provides assertion methods around the
// TestingT interface.
type Assertions struct {
t TestingT
}
// New makes a new Assertions object for the specified TestingT.
func New(t TestingT) *Assertions {
return &Assertions{
t: t,
}
}
//go:generate sh -c "cd ../_codegen && go build && cd ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/assert/errors.go | vendor/github.com/stretchr/testify/assert/errors.go | package assert
import (
"errors"
)
// AnError is an error instance useful for testing. If the code does not care
// about error specifics, and only needs to return the error for example, this
// error should be used to make the test code more readable.
var AnError = errors.New("assert.AnError general error for test... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/assert/assertion_compare.go | vendor/github.com/stretchr/testify/assert/assertion_compare.go | package assert
import (
"bytes"
"fmt"
"reflect"
"time"
)
type CompareType int
const (
compareLess CompareType = iota - 1
compareEqual
compareGreater
)
var (
intType = reflect.TypeOf(int(1))
int8Type = reflect.TypeOf(int8(1))
int16Type = reflect.TypeOf(int16(1))
int32Type = reflect.TypeOf(int32(1))
in... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/assert/assertion_compare_can_convert.go | vendor/github.com/stretchr/testify/assert/assertion_compare_can_convert.go | //go:build go1.17
// +build go1.17
// TODO: once support for Go 1.16 is dropped, this file can be
// merged/removed with assertion_compare_go1.17_test.go and
// assertion_compare_legacy.go
package assert
import "reflect"
// Wrapper around reflect.Value.CanConvert, for compatibility
// reasons.
func canC... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/assert/assertions.go | vendor/github.com/stretchr/testify/assert/assertions.go | package assert
import (
"bufio"
"bytes"
"encoding/json"
"errors"
"fmt"
"math"
"os"
"reflect"
"regexp"
"runtime"
"runtime/debug"
"strings"
"time"
"unicode"
"unicode/utf8"
"github.com/davecgh/go-spew/spew"
"github.com/pmezard/go-difflib/difflib"
yaml "gopkg.in/yaml.v3"
)
//go:generate sh -c "cd ../_c... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/assert/doc.go | vendor/github.com/stretchr/testify/assert/doc.go | // Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
//
// # Example Usage
//
// The following is a complete example using assert in a standard test function:
//
// import (
// "testing"
// "github.com/stretchr/testify/assert"
// )
//
// func TestSomething(t *te... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/assert/assertion_order.go | vendor/github.com/stretchr/testify/assert/assertion_order.go | package assert
import (
"fmt"
"reflect"
)
// isOrdered checks that collection contains orderable elements.
func isOrdered(t TestingT, object interface{}, allowedComparesResults []CompareType, failMessage string, msgAndArgs ...interface{}) bool {
objKind := reflect.TypeOf(object).Kind()
if objKind != reflect.Slice... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/stretchr/testify/assert/http_assertions.go | vendor/github.com/stretchr/testify/assert/http_assertions.go | package assert
import (
"fmt"
"net/http"
"net/http/httptest"
"net/url"
"strings"
)
// httpCode is a helper that returns HTTP code of the response. It returns -1 and
// an error if building a new request fails.
func httpCode(handler http.HandlerFunc, method, url string, values url.Values) (int, error) {
w := htt... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-errors/errors/error.go | vendor/github.com/go-errors/errors/error.go | // Package errors provides errors that have stack-traces.
//
// This is particularly useful when you want to understand the
// state of execution when an error was returned unexpectedly.
//
// It provides the type *Error which implements the standard
// golang error interface, so you can use this library interchangably... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-errors/errors/parse_panic.go | vendor/github.com/go-errors/errors/parse_panic.go | package errors
import (
"strconv"
"strings"
)
type uncaughtPanic struct{ message string }
func (p uncaughtPanic) Error() string {
return p.message
}
// ParsePanic allows you to get an error object from the output of a go program
// that panicked. This is particularly useful with https://github.com/mitchellh/pani... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-errors/errors/stackframe.go | vendor/github.com/go-errors/errors/stackframe.go | package errors
import (
"bytes"
"fmt"
"io/ioutil"
"runtime"
"strings"
)
// A StackFrame contains all necessary information about to generate a line
// in a callstack.
type StackFrame struct {
// The path to the file containing this ProgramCounter
File string
// The LineNumber in that file
LineNumber int
// ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/pkg/errors/errors.go | vendor/github.com/pkg/errors/errors.go | // Package errors provides simple error handling primitives.
//
// The traditional error handling idiom in Go is roughly akin to
//
// if err != nil {
// return err
// }
//
// which when applied recursively up the call stack results in error reports
// without context or debugging information. The e... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/pkg/errors/go113.go | vendor/github.com/pkg/errors/go113.go | // +build go1.13
package errors
import (
stderrors "errors"
)
// Is reports whether any error in err's chain matches target.
//
// The chain consists of err itself followed by the sequence of errors obtained by
// repeatedly calling Unwrap.
//
// An error is considered to match a target if it is equal to that targe... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/pkg/errors/stack.go | vendor/github.com/pkg/errors/stack.go | package errors
import (
"fmt"
"io"
"path"
"runtime"
"strconv"
"strings"
)
// Frame represents a program counter inside a stack frame.
// For historical reasons if Frame is interpreted as a uintptr
// its value represents the program counter + 1.
type Frame uintptr
// pc returns the program counter for this fra... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/openshift/api/route/v1/types_swagger_doc_generated.go | vendor/github.com/openshift/api/route/v1/types_swagger_doc_generated.go | package v1
// This file contains a collection of methods that can be used from go-restful to
// generate Swagger API documentation for its models. Please read this PR for more
// information on the implementation: https://github.com/emicklei/go-restful/pull/215
//
// TODOs are ignored from the parser (e.g. TODO(andron... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/openshift/api/route/v1/zz_generated.deepcopy.go | vendor/github.com/openshift/api/route/v1/zz_generated.deepcopy.go | // +build !ignore_autogenerated
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
package v1
import (
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
unsafe "unsafe"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/openshift/api/route/v1/types.go | vendor/github.com/openshift/api/route/v1/types.go | package v1
import (
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/intstr"
)
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// A route allows developers to expose services through an HTTP(S) aware load balancing and pro... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/openshift/api/route/v1/register.go | vendor/github.com/openshift/api/route/v1/register.go | package v1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
)
const (
GroupName = "route.openshift.io"
LegacyGroupName = ""
)
// SchemeGroupVersion is group version used to register these objects
var (
SchemeGroupVersion ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/openshift/api/route/v1/doc.go | vendor/github.com/openshift/api/route/v1/doc.go | // +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=github.com/openshift/origin/pkg/route/apis/route
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-gen=true
// +groupName=route.openshift.io
// Package v1 is the v1 version of the API.
package v1
| go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/openshift/api/route/v1/generated.pb.go | vendor/github.com/openshift/api/route/v1/generated.pb.go | // Code generated by protoc-gen-gogo.
// source: github.com/openshift/api/route/v1/generated.proto
// DO NOT EDIT!
/*
Package v1 is a generated protocol buffer package.
It is generated from these files:
github.com/openshift/api/route/v1/generated.proto
It has these top-level messages:
Route
RouteIngress
R... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/cluster_commands.go | vendor/github.com/go-redis/redis/v8/cluster_commands.go | package redis
import (
"context"
"sync"
"sync/atomic"
)
func (c *ClusterClient) DBSize(ctx context.Context) *IntCmd {
cmd := NewIntCmd(ctx, "dbsize")
_ = c.hooks.process(ctx, cmd, func(ctx context.Context, _ Cmder) error {
var size int64
err := c.ForEachMaster(ctx, func(ctx context.Context, master *Client) e... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/commands.go | vendor/github.com/go-redis/redis/v8/commands.go | package redis
import (
"context"
"errors"
"io"
"time"
"github.com/go-redis/redis/v8/internal"
)
// KeepTTL is a Redis KEEPTTL option to keep existing TTL, it requires your redis-server version >= 6.0,
// otherwise you will receive an error: (error) ERR syntax error.
// For example:
//
// rdb.Set(ctx, key, va... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/tx.go | vendor/github.com/go-redis/redis/v8/tx.go | package redis
import (
"context"
"github.com/go-redis/redis/v8/internal/pool"
"github.com/go-redis/redis/v8/internal/proto"
)
// TxFailedErr transaction redis failed.
const TxFailedErr = proto.RedisError("redis: transaction failed")
// Tx implements Redis transactions as described in
// http://redis.io/topics/tr... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/error.go | vendor/github.com/go-redis/redis/v8/error.go | package redis
import (
"context"
"io"
"net"
"strings"
"github.com/go-redis/redis/v8/internal/pool"
"github.com/go-redis/redis/v8/internal/proto"
)
// ErrClosed performs any operation on the closed client will return this error.
var ErrClosed = pool.ErrClosed
type Error interface {
error
// RedisError is a ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/cluster.go | vendor/github.com/go-redis/redis/v8/cluster.go | package redis
import (
"context"
"crypto/tls"
"fmt"
"math"
"net"
"runtime"
"sort"
"sync"
"sync/atomic"
"time"
"github.com/go-redis/redis/v8/internal"
"github.com/go-redis/redis/v8/internal/hashtag"
"github.com/go-redis/redis/v8/internal/pool"
"github.com/go-redis/redis/v8/internal/proto"
"github.com/go... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/pubsub.go | vendor/github.com/go-redis/redis/v8/pubsub.go | package redis
import (
"context"
"fmt"
"strings"
"sync"
"time"
"github.com/go-redis/redis/v8/internal"
"github.com/go-redis/redis/v8/internal/pool"
"github.com/go-redis/redis/v8/internal/proto"
)
// PubSub implements Pub/Sub commands as described in
// http://redis.io/topics/pubsub. Message receiving is NOT ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/result.go | vendor/github.com/go-redis/redis/v8/result.go | package redis
import "time"
// NewCmdResult returns a Cmd initialised with val and err for testing.
func NewCmdResult(val interface{}, err error) *Cmd {
var cmd Cmd
cmd.val = val
cmd.SetErr(err)
return &cmd
}
// NewSliceResult returns a SliceCmd initialised with val and err for testing.
func NewSliceResult(val [... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/redis.go | vendor/github.com/go-redis/redis/v8/redis.go | package redis
import (
"context"
"errors"
"fmt"
"sync/atomic"
"time"
"github.com/go-redis/redis/v8/internal"
"github.com/go-redis/redis/v8/internal/pool"
"github.com/go-redis/redis/v8/internal/proto"
)
// Nil reply returned by Redis when key does not exist.
const Nil = proto.Nil
func SetLogger(logger intern... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/script.go | vendor/github.com/go-redis/redis/v8/script.go | package redis
import (
"context"
"crypto/sha1"
"encoding/hex"
"io"
"strings"
)
type Scripter interface {
Eval(ctx context.Context, script string, keys []string, args ...interface{}) *Cmd
EvalSha(ctx context.Context, sha1 string, keys []string, args ...interface{}) *Cmd
ScriptExists(ctx context.Context, hashes... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/iterator.go | vendor/github.com/go-redis/redis/v8/iterator.go | package redis
import (
"context"
"sync"
)
// ScanIterator is used to incrementally iterate over a collection of elements.
// It's safe for concurrent use by multiple goroutines.
type ScanIterator struct {
mu sync.Mutex // protects Scanner and pos
cmd *ScanCmd
pos int
}
// Err returns the last iterator error, i... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/options.go | vendor/github.com/go-redis/redis/v8/options.go | package redis
import (
"context"
"crypto/tls"
"errors"
"fmt"
"net"
"net/url"
"runtime"
"sort"
"strconv"
"strings"
"time"
"github.com/go-redis/redis/v8/internal/pool"
)
// Limiter is the interface of a rate limiter or a circuit breaker.
type Limiter interface {
// Allow returns nil if operation is allowe... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/version.go | vendor/github.com/go-redis/redis/v8/version.go | package redis
// Version is the current release version.
func Version() string {
return "8.11.4"
}
| go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/sentinel.go | vendor/github.com/go-redis/redis/v8/sentinel.go | package redis
import (
"context"
"crypto/tls"
"errors"
"net"
"strings"
"sync"
"time"
"github.com/go-redis/redis/v8/internal"
"github.com/go-redis/redis/v8/internal/pool"
"github.com/go-redis/redis/v8/internal/rand"
)
//------------------------------------------------------------------------------
// Failo... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/command.go | vendor/github.com/go-redis/redis/v8/command.go | package redis
import (
"context"
"fmt"
"net"
"strconv"
"time"
"github.com/go-redis/redis/v8/internal"
"github.com/go-redis/redis/v8/internal/hscan"
"github.com/go-redis/redis/v8/internal/proto"
"github.com/go-redis/redis/v8/internal/util"
)
type Cmder interface {
Name() string
FullName() string
Args() []... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/doc.go | vendor/github.com/go-redis/redis/v8/doc.go | /*
Package redis implements a Redis client.
*/
package redis
| go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/pipeline.go | vendor/github.com/go-redis/redis/v8/pipeline.go | package redis
import (
"context"
"sync"
"github.com/go-redis/redis/v8/internal/pool"
)
type pipelineExecer func(context.Context, []Cmder) error
// Pipeliner is an mechanism to realise Redis Pipeline technique.
//
// Pipelining is a technique to extremely speed up processing by packing
// operations to batches, s... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/universal.go | vendor/github.com/go-redis/redis/v8/universal.go | package redis
import (
"context"
"crypto/tls"
"net"
"time"
)
// UniversalOptions information is required by UniversalClient to establish
// connections.
type UniversalOptions struct {
// Either a single address or a seed list of host:port addresses
// of cluster/sentinel nodes.
Addrs []string
// Database to ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/ring.go | vendor/github.com/go-redis/redis/v8/ring.go | package redis
import (
"context"
"crypto/tls"
"errors"
"fmt"
"net"
"strconv"
"sync"
"sync/atomic"
"time"
"github.com/cespare/xxhash/v2"
rendezvous "github.com/dgryski/go-rendezvous" //nolint
"github.com/go-redis/redis/v8/internal"
"github.com/go-redis/redis/v8/internal/hashtag"
"github.com/go-redis/red... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/internal/unsafe.go | vendor/github.com/go-redis/redis/v8/internal/unsafe.go | //go:build !appengine
// +build !appengine
package internal
import "unsafe"
// String converts byte slice to string.
func String(b []byte) string {
return *(*string)(unsafe.Pointer(&b))
}
// Bytes converts string to byte slice.
func Bytes(s string) []byte {
return *(*[]byte)(unsafe.Pointer(
&struct {
string
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/internal/util.go | vendor/github.com/go-redis/redis/v8/internal/util.go | package internal
import (
"context"
"time"
"github.com/go-redis/redis/v8/internal/util"
)
func Sleep(ctx context.Context, dur time.Duration) error {
t := time.NewTimer(dur)
defer t.Stop()
select {
case <-t.C:
return nil
case <-ctx.Done():
return ctx.Err()
}
}
func ToLower(s string) string {
if isLowe... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/internal/log.go | vendor/github.com/go-redis/redis/v8/internal/log.go | package internal
import (
"context"
"fmt"
"log"
"os"
)
type Logging interface {
Printf(ctx context.Context, format string, v ...interface{})
}
type logger struct {
log *log.Logger
}
func (l *logger) Printf(ctx context.Context, format string, v ...interface{}) {
_ = l.log.Output(2, fmt.Sprintf(format, v...))
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/internal/safe.go | vendor/github.com/go-redis/redis/v8/internal/safe.go | //go:build appengine
// +build appengine
package internal
func String(b []byte) string {
return string(b)
}
func Bytes(s string) []byte {
return []byte(s)
}
| go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/internal/once.go | vendor/github.com/go-redis/redis/v8/internal/once.go | /*
Copyright 2014 The Camlistore Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/internal/internal.go | vendor/github.com/go-redis/redis/v8/internal/internal.go | package internal
import (
"time"
"github.com/go-redis/redis/v8/internal/rand"
)
func RetryBackoff(retry int, minBackoff, maxBackoff time.Duration) time.Duration {
if retry < 0 {
panic("not reached")
}
if minBackoff == 0 {
return 0
}
d := minBackoff << uint(retry)
if d < minBackoff {
return maxBackoff
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/internal/arg.go | vendor/github.com/go-redis/redis/v8/internal/arg.go | package internal
import (
"fmt"
"strconv"
"time"
)
func AppendArg(b []byte, v interface{}) []byte {
switch v := v.(type) {
case nil:
return append(b, "<nil>"...)
case string:
return appendUTF8String(b, Bytes(v))
case []byte:
return appendUTF8String(b, v)
case int:
return strconv.AppendInt(b, int64(v),... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/internal/util/strconv.go | vendor/github.com/go-redis/redis/v8/internal/util/strconv.go | package util
import "strconv"
func Atoi(b []byte) (int, error) {
return strconv.Atoi(BytesToString(b))
}
func ParseInt(b []byte, base int, bitSize int) (int64, error) {
return strconv.ParseInt(BytesToString(b), base, bitSize)
}
func ParseUint(b []byte, base int, bitSize int) (uint64, error) {
return strconv.Pars... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/internal/util/unsafe.go | vendor/github.com/go-redis/redis/v8/internal/util/unsafe.go | //go:build !appengine
// +build !appengine
package util
import (
"unsafe"
)
// BytesToString converts byte slice to string.
func BytesToString(b []byte) string {
return *(*string)(unsafe.Pointer(&b))
}
// StringToBytes converts string to byte slice.
func StringToBytes(s string) []byte {
return *(*[]byte)(unsafe.... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/internal/util/safe.go | vendor/github.com/go-redis/redis/v8/internal/util/safe.go | //go:build appengine
// +build appengine
package util
func BytesToString(b []byte) string {
return string(b)
}
func StringToBytes(s string) []byte {
return []byte(s)
}
| go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/internal/proto/scan.go | vendor/github.com/go-redis/redis/v8/internal/proto/scan.go | package proto
import (
"encoding"
"fmt"
"reflect"
"time"
"github.com/go-redis/redis/v8/internal/util"
)
// Scan parses bytes `b` to `v` with appropriate type.
func Scan(b []byte, v interface{}) error {
switch v := v.(type) {
case nil:
return fmt.Errorf("redis: Scan(nil)")
case *string:
*v = util.BytesToS... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-redis/redis/v8/internal/proto/writer.go | vendor/github.com/go-redis/redis/v8/internal/proto/writer.go | package proto
import (
"encoding"
"fmt"
"io"
"strconv"
"time"
"github.com/go-redis/redis/v8/internal/util"
)
type writer interface {
io.Writer
io.ByteWriter
// io.StringWriter
WriteString(s string) (n int, err error)
}
type Writer struct {
writer
lenBuf []byte
numBuf []byte
}
func NewWriter(wr writer... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.