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/aws/aws-sdk-go/internal/ini/fuzz.go | vendor/github.com/aws/aws-sdk-go/internal/ini/fuzz.go | //go:build gofuzz
// +build gofuzz
package ini
import (
"bytes"
)
func Fuzz(data []byte) int {
b := bytes.NewReader(data)
if _, err := Parse(b); err != nil {
return 0
}
return 1
}
| 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/aws/aws-sdk-go/internal/ini/comment_token.go | vendor/github.com/aws/aws-sdk-go/internal/ini/comment_token.go | package ini
// isComment will return whether or not the next byte(s) is a
// comment.
func isComment(b []rune) bool {
if len(b) == 0 {
return false
}
switch b[0] {
case ';':
return true
case '#':
return true
}
return false
}
// newCommentToken will create a comment token and
// return how many bytes we... | 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/aws/aws-sdk-go/internal/ini/sep_tokens.go | vendor/github.com/aws/aws-sdk-go/internal/ini/sep_tokens.go | package ini
import (
"fmt"
)
var (
emptyRunes = []rune{}
)
func isSep(b []rune) bool {
if len(b) == 0 {
return false
}
switch b[0] {
case '[', ']':
return true
default:
return false
}
}
var (
openBrace = []rune("[")
closeBrace = []rune("]")
)
func newSepToken(b []rune) (Token, int, error) {
tok ... | 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/aws/aws-sdk-go/internal/ini/walker.go | vendor/github.com/aws/aws-sdk-go/internal/ini/walker.go | package ini
// Walk will traverse the AST using the v, the Visitor.
func Walk(tree []AST, v Visitor) error {
for _, node := range tree {
switch node.Kind {
case ASTKindExpr,
ASTKindExprStatement:
if err := v.VisitExpr(node); err != nil {
return err
}
case ASTKindStatement,
ASTKindCompletedSecti... | 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/aws/aws-sdk-go/internal/ini/parse_stack.go | vendor/github.com/aws/aws-sdk-go/internal/ini/parse_stack.go | package ini
import (
"bytes"
"fmt"
)
// ParseStack is a stack that contains a container, the stack portion,
// and the list which is the list of ASTs that have been successfully
// parsed.
type ParseStack struct {
top int
container []AST
list []AST
index int
}
func newParseStack(sizeContainer, 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/aws/aws-sdk-go/internal/ini/statement.go | vendor/github.com/aws/aws-sdk-go/internal/ini/statement.go | package ini
// Statement is an empty AST mostly used for transitioning states.
func newStatement() AST {
return newAST(ASTKindStatement, AST{})
}
// SectionStatement represents a section AST
func newSectionStatement(tok Token) AST {
return newASTWithRootToken(ASTKindSectionStatement, tok)
}
// ExprStatement repres... | 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/aws/aws-sdk-go/internal/ini/newline_token.go | vendor/github.com/aws/aws-sdk-go/internal/ini/newline_token.go | package ini
func isNewline(b []rune) bool {
if len(b) == 0 {
return false
}
if b[0] == '\n' {
return true
}
if len(b) < 2 {
return false
}
return b[0] == '\r' && b[1] == '\n'
}
func newNewlineToken(b []rune) (Token, int, error) {
i := 1
if b[0] == '\r' && isNewline(b[1:]) {
i++
}
if !isNewline(... | 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/aws/aws-sdk-go/internal/ini/literal_tokens.go | vendor/github.com/aws/aws-sdk-go/internal/ini/literal_tokens.go | package ini
import (
"fmt"
"strconv"
"strings"
"unicode"
)
var (
runesTrue = []rune("true")
runesFalse = []rune("false")
)
var literalValues = [][]rune{
runesTrue,
runesFalse,
}
func isBoolValue(b []rune) bool {
for _, lv := range literalValues {
if isCaselessLitValue(lv, b) {
return true
}
}
ret... | 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/aws/aws-sdk-go/internal/ini/parse_error.go | vendor/github.com/aws/aws-sdk-go/internal/ini/parse_error.go | package ini
import "fmt"
const (
// ErrCodeParseError is returned when a parsing error
// has occurred.
ErrCodeParseError = "INIParseError"
)
// ParseError is an error which is returned during any part of
// the parsing process.
type ParseError struct {
msg string
}
// NewParseError will return a new ParseError... | 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/aws/aws-sdk-go/internal/ini/number_helper.go | vendor/github.com/aws/aws-sdk-go/internal/ini/number_helper.go | package ini
import (
"bytes"
"fmt"
"strconv"
)
const (
none = numberFormat(iota)
binary
octal
decimal
hex
exponent
)
type numberFormat int
// numberHelper is used to dictate what format a number is in
// and what to do for negative values. Since -1e-4 is a valid
// number, we cannot just simply check for d... | 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/aws/aws-sdk-go/internal/ini/empty_token.go | vendor/github.com/aws/aws-sdk-go/internal/ini/empty_token.go | package ini
// emptyToken is used to satisfy the Token interface
var emptyToken = newToken(TokenNone, []rune{}, NoneType)
| 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/aws/aws-sdk-go/internal/ini/ini_parser.go | vendor/github.com/aws/aws-sdk-go/internal/ini/ini_parser.go | package ini
import (
"fmt"
"io"
)
// ParseState represents the current state of the parser.
type ParseState uint
// State enums for the parse table
const (
InvalidState ParseState = iota
// stmt -> value stmt'
StatementState
// stmt' -> MarkComplete | op stmt
StatementPrimeState
// value -> number | 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/aws/aws-sdk-go/internal/ini/expression.go | vendor/github.com/aws/aws-sdk-go/internal/ini/expression.go | package ini
// newExpression will return an expression AST.
// Expr represents an expression
//
// grammar:
// expr -> string | number
func newExpression(tok Token) AST {
return newASTWithRootToken(ASTKindExpr, tok)
}
func newEqualExpr(left AST, tok Token) AST {
return newASTWithRootToken(ASTKindEqualExpr, tok, lef... | 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/aws/aws-sdk-go/internal/ini/ini.go | vendor/github.com/aws/aws-sdk-go/internal/ini/ini.go | package ini
import (
"io"
"os"
"github.com/aws/aws-sdk-go/aws/awserr"
)
// OpenFile takes a path to a given file, and will open and parse
// that file.
func OpenFile(path string) (Sections, error) {
f, err := os.Open(path)
if err != nil {
return Sections{}, awserr.New(ErrCodeUnableToReadFile, "unable to open... | 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/aws/aws-sdk-go/internal/ini/op_tokens.go | vendor/github.com/aws/aws-sdk-go/internal/ini/op_tokens.go | package ini
import (
"fmt"
)
var (
equalOp = []rune("=")
equalColonOp = []rune(":")
)
func isOp(b []rune) bool {
if len(b) == 0 {
return false
}
switch b[0] {
case '=':
return true
case ':':
return true
default:
return false
}
}
func newOpToken(b []rune) (Token, int, error) {
tok := Token{}... | 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/aws/aws-sdk-go/internal/ini/value_util.go | vendor/github.com/aws/aws-sdk-go/internal/ini/value_util.go | package ini
import (
"fmt"
)
// getStringValue will return a quoted string and the amount
// of bytes read
//
// an error will be returned if the string is not properly formatted
func getStringValue(b []rune) (int, error) {
if b[0] != '"' {
return 0, NewParseError("strings must start with '\"'")
}
endQuote := ... | 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/aws/aws-sdk-go/internal/ini/ini_lexer.go | vendor/github.com/aws/aws-sdk-go/internal/ini/ini_lexer.go | package ini
import (
"bytes"
"io"
"io/ioutil"
"github.com/aws/aws-sdk-go/aws/awserr"
)
const (
// ErrCodeUnableToReadFile is used when a file is failed to be
// opened or read from.
ErrCodeUnableToReadFile = "FailedRead"
)
// TokenType represents the various different tokens types
type TokenType int
func (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/aws/aws-sdk-go/internal/ini/skipper.go | vendor/github.com/aws/aws-sdk-go/internal/ini/skipper.go | package ini
// skipper is used to skip certain blocks of an ini file.
// Currently skipper is used to skip nested blocks of ini
// files. See example below
//
// [ foo ]
// nested = ; this section will be skipped
// a=b
// c=d
// bar=baz ; this will be included
type skipper struct {
shouldSkip bool
TokenSet bool... | 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/aws/aws-sdk-go/internal/ini/ast.go | vendor/github.com/aws/aws-sdk-go/internal/ini/ast.go | package ini
// ASTKind represents different states in the parse table
// and the type of AST that is being constructed
type ASTKind int
// ASTKind* is used in the parse table to transition between
// the different states
const (
ASTKindNone = ASTKind(iota)
ASTKindStart
ASTKindExpr
ASTKindEqualExpr
ASTKindStateme... | 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/aws/aws-sdk-go/internal/ini/ws_token.go | vendor/github.com/aws/aws-sdk-go/internal/ini/ws_token.go | package ini
import (
"unicode"
)
// isWhitespace will return whether or not the character is
// a whitespace character.
//
// Whitespace is defined as a space or tab.
func isWhitespace(c rune) bool {
return unicode.IsSpace(c) && c != '\n' && c != '\r'
}
func newWSToken(b []rune) (Token, int, error) {
i := 0
for ... | 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/aws/aws-sdk-go/internal/ini/comma_token.go | vendor/github.com/aws/aws-sdk-go/internal/ini/comma_token.go | package ini
var commaRunes = []rune(",")
func isComma(b rune) bool {
return b == ','
}
func newCommaToken() Token {
return newToken(TokenComma, commaRunes, NoneType)
}
| 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/aws/aws-sdk-go/internal/ini/doc.go | vendor/github.com/aws/aws-sdk-go/internal/ini/doc.go | // Package ini is an LL(1) parser for configuration files.
//
// Example:
// sections, err := ini.OpenFile("/path/to/file")
// if err != nil {
// panic(err)
// }
//
// profile := "foo"
// section, ok := sections.GetSection(profile)
// if !ok {
// fmt.Printf("section %q could not be found", profile)
// }
//
// Below 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/aws/aws-sdk-go/internal/ini/visitor.go | vendor/github.com/aws/aws-sdk-go/internal/ini/visitor.go | package ini
import (
"fmt"
"sort"
)
// Visitor is an interface used by walkers that will
// traverse an array of ASTs.
type Visitor interface {
VisitExpr(AST) error
VisitStatement(AST) error
}
// DefaultVisitor is used to visit statements and expressions
// and ensure that they are both of the correct format.
//... | 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/aws/aws-sdk-go/internal/sdkuri/path.go | vendor/github.com/aws/aws-sdk-go/internal/sdkuri/path.go | package sdkuri
import (
"path"
"strings"
)
// PathJoin will join the elements of the path delimited by the "/"
// character. Similar to path.Join with the exception the trailing "/"
// character is preserved if present.
func PathJoin(elems ...string) string {
if len(elems) == 0 {
return ""
}
hasTrailing := st... | 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/aws/aws-sdk-go/internal/strings/strings.go | vendor/github.com/aws/aws-sdk-go/internal/strings/strings.go | package strings
import (
"strings"
)
// HasPrefixFold tests whether the string s begins with prefix, interpreted as UTF-8 strings,
// under Unicode case-folding.
func HasPrefixFold(s, prefix string) bool {
return len(s) >= len(prefix) && strings.EqualFold(s[0:len(prefix)], prefix)
}
| 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/aws/aws-sdk-go/internal/sdkio/io_go1.7.go | vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.7.go | //go:build go1.7
// +build go1.7
package sdkio
import "io"
// Alias for Go 1.7 io package Seeker constants
const (
SeekStart = io.SeekStart // seek relative to the origin of the file
SeekCurrent = io.SeekCurrent // seek relative to the current offset
SeekEnd = io.SeekEnd // seek relative to the end
)
| 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/aws/aws-sdk-go/internal/sdkio/byte.go | vendor/github.com/aws/aws-sdk-go/internal/sdkio/byte.go | package sdkio
const (
// Byte is 8 bits
Byte int64 = 1
// KibiByte (KiB) is 1024 Bytes
KibiByte = Byte * 1024
// MebiByte (MiB) is 1024 KiB
MebiByte = KibiByte * 1024
// GibiByte (GiB) is 1024 MiB
GibiByte = MebiByte * 1024
)
| 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/aws/aws-sdk-go/internal/sdkio/io_go1.6.go | vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.6.go | //go:build !go1.7
// +build !go1.7
package sdkio
// Copy of Go 1.7 io package's Seeker constants.
const (
SeekStart = 0 // seek relative to the origin of the file
SeekCurrent = 1 // seek relative to the current offset
SeekEnd = 2 // seek relative to the end
)
| 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/aws/aws-sdk-go/internal/sdkmath/floor.go | vendor/github.com/aws/aws-sdk-go/internal/sdkmath/floor.go | //go:build go1.10
// +build go1.10
package sdkmath
import "math"
// Round returns the nearest integer, rounding half away from zero.
//
// Special cases are:
// Round(±0) = ±0
// Round(±Inf) = ±Inf
// Round(NaN) = NaN
func Round(x float64) float64 {
return math.Round(x)
}
| 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/aws/aws-sdk-go/internal/sdkmath/floor_go1.9.go | vendor/github.com/aws/aws-sdk-go/internal/sdkmath/floor_go1.9.go | //go:build !go1.10
// +build !go1.10
package sdkmath
import "math"
// Copied from the Go standard library's (Go 1.12) math/floor.go for use in
// Go version prior to Go 1.10.
const (
uvone = 0x3FF0000000000000
mask = 0x7FF
shift = 64 - 11 - 1
bias = 1023
signMask = 1 << 63
fracMask = 1<<shift - 1... | 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/aws/aws-sdk-go/internal/sdkrand/read_1_5.go | vendor/github.com/aws/aws-sdk-go/internal/sdkrand/read_1_5.go | //go:build !go1.6
// +build !go1.6
package sdkrand
import "math/rand"
// Read backfills Go 1.6's math.Rand.Reader for Go 1.5
func Read(r *rand.Rand, p []byte) (n int, err error) {
// Copy of Go standard libraries math package's read function not added to
// standard library until Go 1.6.
var pos int8
var val 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/aws/aws-sdk-go/internal/sdkrand/locked_source.go | vendor/github.com/aws/aws-sdk-go/internal/sdkrand/locked_source.go | package sdkrand
import (
"math/rand"
"sync"
"time"
)
// lockedSource is a thread-safe implementation of rand.Source
type lockedSource struct {
lk sync.Mutex
src rand.Source
}
func (r *lockedSource) Int63() (n int64) {
r.lk.Lock()
n = r.src.Int63()
r.lk.Unlock()
return
}
func (r *lockedSource) Seed(seed 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/aws/aws-sdk-go/internal/sdkrand/read.go | vendor/github.com/aws/aws-sdk-go/internal/sdkrand/read.go | //go:build go1.6
// +build go1.6
package sdkrand
import "math/rand"
// Read provides the stub for math.Rand.Read method support for go version's
// 1.6 and greater.
func Read(r *rand.Rand, p []byte) (int, error) {
return r.Read(p)
}
| 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/aws/aws-sdk-go/internal/context/background_go1.5.go | vendor/github.com/aws/aws-sdk-go/internal/context/background_go1.5.go | //go:build !go1.7
// +build !go1.7
package context
import "time"
// An emptyCtx is a copy of the Go 1.7 context.emptyCtx type. This is copied to
// provide a 1.6 and 1.5 safe version of context that is compatible with Go
// 1.7's Context.
//
// An emptyCtx is never canceled, has no values, and has no deadline. It is... | 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/aws/aws-sdk-go/internal/sync/singleflight/singleflight.go | vendor/github.com/aws/aws-sdk-go/internal/sync/singleflight/singleflight.go | // Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package singleflight provides a duplicate function call suppression
// mechanism.
package singleflight
import "sync"
// call is an in-flight or completed 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/aws/aws-sdk-go/internal/shareddefaults/ecs_container.go | vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/ecs_container.go | package shareddefaults
const (
// ECSCredsProviderEnvVar is an environmental variable key used to
// determine which path needs to be hit.
ECSCredsProviderEnvVar = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"
)
// ECSContainerCredentialsURI is the endpoint to retrieve container
// credentials. This can be overridden 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/aws/aws-sdk-go/internal/shareddefaults/shared_config_resolve_home.go | vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config_resolve_home.go | //go:build !go1.12
// +build !go1.12
package shareddefaults
import (
"os"
"runtime"
)
func userHomeDir() string {
if runtime.GOOS == "windows" { // Windows
return os.Getenv("USERPROFILE")
}
// *nix
return os.Getenv("HOME")
}
| 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/aws/aws-sdk-go/internal/shareddefaults/shared_config_resolve_home_go1.12.go | vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config_resolve_home_go1.12.go | //go:build go1.12
// +build go1.12
package shareddefaults
import (
"os"
)
func userHomeDir() string {
home, _ := os.UserHomeDir()
return home
}
| 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/aws/aws-sdk-go/internal/shareddefaults/shared_config.go | vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config.go | package shareddefaults
import (
"os/user"
"path/filepath"
)
// SharedCredentialsFilename returns the SDK's default file path
// for the shared credentials file.
//
// Builds the shared config file path based on the OS's platform.
//
// - Linux/Unix: $HOME/.aws/credentials
// - Windows: %USERPROFILE%\.aws\creden... | 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/golang/protobuf/proto/deprecated.go | vendor/github.com/golang/protobuf/proto/deprecated.go | // Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proto
import (
"encoding/json"
"errors"
"fmt"
"strconv"
protoV2 "google.golang.org/protobuf/proto"
)
var (
// Deprecated: No longer returned.
... | 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/golang/protobuf/proto/wire.go | vendor/github.com/golang/protobuf/proto/wire.go | // Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proto
import (
protoV2 "google.golang.org/protobuf/proto"
"google.golang.org/protobuf/runtime/protoiface"
)
// Size returns the size in bytes of the... | 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/golang/protobuf/proto/registry.go | vendor/github.com/golang/protobuf/proto/registry.go | // Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proto
import (
"bytes"
"compress/gzip"
"fmt"
"io/ioutil"
"reflect"
"strings"
"sync"
"google.golang.org/protobuf/reflect/protodesc"
"google.go... | 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/golang/protobuf/proto/text_decode.go | vendor/github.com/golang/protobuf/proto/text_decode.go | // Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proto
import (
"encoding"
"errors"
"fmt"
"reflect"
"strconv"
"strings"
"unicode/utf8"
"google.golang.org/protobuf/encoding/prototext"
protoV2... | 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/golang/protobuf/proto/buffer.go | vendor/github.com/golang/protobuf/proto/buffer.go | // Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proto
import (
"errors"
"fmt"
"google.golang.org/protobuf/encoding/prototext"
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/... | 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/golang/protobuf/proto/proto.go | vendor/github.com/golang/protobuf/proto/proto.go | // Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package proto provides functionality for handling protocol buffer messages.
// In particular, it provides marshaling and unmarshaling between a protobuf
// m... | 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/golang/protobuf/proto/discard.go | vendor/github.com/golang/protobuf/proto/discard.go | // Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proto
import (
"google.golang.org/protobuf/reflect/protoreflect"
)
// DiscardUnknown recursively discards all unknown fields from this message
// and... | 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/golang/protobuf/proto/defaults.go | vendor/github.com/golang/protobuf/proto/defaults.go | // Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proto
import (
"google.golang.org/protobuf/reflect/protoreflect"
)
// SetDefaults sets unpopulated scalar fields to their default values.
// Fields w... | 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/golang/protobuf/proto/text_encode.go | vendor/github.com/golang/protobuf/proto/text_encode.go | // Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proto
import (
"bytes"
"encoding"
"fmt"
"io"
"math"
"sort"
"strings"
"google.golang.org/protobuf/encoding/prototext"
"google.golang.org/proto... | 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/golang/protobuf/proto/extensions.go | vendor/github.com/golang/protobuf/proto/extensions.go | // Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proto
import (
"errors"
"fmt"
"reflect"
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/proto"
"google.golang.org/pr... | 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/golang/protobuf/proto/properties.go | vendor/github.com/golang/protobuf/proto/properties.go | // Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proto
import (
"fmt"
"reflect"
"strconv"
"strings"
"sync"
"google.golang.org/protobuf/reflect/protoreflect"
"google.golang.org/protobuf/runtime... | 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/golang/protobuf/proto/wrappers.go | vendor/github.com/golang/protobuf/proto/wrappers.go | // Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proto
// Bool stores v in a new bool value and returns a pointer to it.
func Bool(v bool) *bool { return &v }
// Int stores v in a new int32 value and... | 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/golang/protobuf/ptypes/timestamp.go | vendor/github.com/golang/protobuf/ptypes/timestamp.go | // Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package ptypes
import (
"errors"
"fmt"
"time"
timestamppb "github.com/golang/protobuf/ptypes/timestamp"
)
// Range of google.protobuf.Duration as specifi... | 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/golang/protobuf/ptypes/any.go | vendor/github.com/golang/protobuf/ptypes/any.go | // Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package ptypes
import (
"fmt"
"strings"
"github.com/golang/protobuf/proto"
"google.golang.org/protobuf/reflect/protoreflect"
"google.golang.org/protobuf/... | 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/golang/protobuf/ptypes/doc.go | vendor/github.com/golang/protobuf/ptypes/doc.go | // Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package ptypes provides functionality for interacting with well-known types.
//
// Deprecated: Well-known types have specialized functionality directly
// 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/golang/protobuf/ptypes/duration.go | vendor/github.com/golang/protobuf/ptypes/duration.go | // Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package ptypes
import (
"errors"
"fmt"
"time"
durationpb "github.com/golang/protobuf/ptypes/duration"
)
// Range of google.protobuf.Duration as specified... | 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/golang/protobuf/ptypes/timestamp/timestamp.pb.go | vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/golang/protobuf/ptypes/timestamp/timestamp.proto
package timestamp
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/kn... | 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/golang/protobuf/ptypes/duration/duration.pb.go | vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/golang/protobuf/ptypes/duration/duration.proto
package duration
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
durationpb "google.golang.org/protobuf/types/known/... | 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/golang/protobuf/ptypes/any/any.pb.go | vendor/github.com/golang/protobuf/ptypes/any/any.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/golang/protobuf/ptypes/any/any.proto
package any
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
reflect "ref... | 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/golang/groupcache/lru/lru.go | vendor/github.com/golang/groupcache/lru/lru.go | /*
Copyright 2013 Google Inc.
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, software
di... | 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/cespare/xxhash/v2/xxhash_safe.go | vendor/github.com/cespare/xxhash/v2/xxhash_safe.go | //go:build appengine
// +build appengine
// This file contains the safe implementations of otherwise unsafe-using code.
package xxhash
// Sum64String computes the 64-bit xxHash digest of s.
func Sum64String(s string) uint64 {
return Sum64([]byte(s))
}
// WriteString adds more data to d. It always returns len(s), n... | 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/cespare/xxhash/v2/xxhash_unsafe.go | vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go | //go:build !appengine
// +build !appengine
// This file encapsulates usage of unsafe.
// xxhash_safe.go contains the safe implementations.
package xxhash
import (
"unsafe"
)
// In the future it's possible that compiler optimizations will make these
// XxxString functions unnecessary by realizing that calls such as... | 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/cespare/xxhash/v2/xxhash.go | vendor/github.com/cespare/xxhash/v2/xxhash.go | // Package xxhash implements the 64-bit variant of xxHash (XXH64) as described
// at http://cyan4973.github.io/xxHash/.
package xxhash
import (
"encoding/binary"
"errors"
"math/bits"
)
const (
prime1 uint64 = 11400714785074694791
prime2 uint64 = 14029467366897019727
prime3 uint64 = 1609587929392839161
prime4 u... | 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/cespare/xxhash/v2/xxhash_other.go | vendor/github.com/cespare/xxhash/v2/xxhash_other.go | //go:build (!amd64 && !arm64) || appengine || !gc || purego
// +build !amd64,!arm64 appengine !gc purego
package xxhash
// Sum64 computes the 64-bit xxHash digest of b.
func Sum64(b []byte) uint64 {
// A simpler version would be
// d := New()
// d.Write(b)
// return d.Sum64()
// but this is faster, particu... | 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/cespare/xxhash/v2/xxhash_asm.go | vendor/github.com/cespare/xxhash/v2/xxhash_asm.go | //go:build (amd64 || arm64) && !appengine && gc && !purego
// +build amd64 arm64
// +build !appengine
// +build gc
// +build !purego
package xxhash
// Sum64 computes the 64-bit xxHash digest of b.
//
//go:noescape
func Sum64(b []byte) uint64
//go:noescape
func writeBlocks(d *Digest, b []byte) 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/rs/xid/hostid_darwin.go | vendor/github.com/rs/xid/hostid_darwin.go | // +build darwin
package xid
import "syscall"
func readPlatformMachineID() (string, error) {
return syscall.Sysctl("kern.uuid")
}
| 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/rs/xid/hostid_linux.go | vendor/github.com/rs/xid/hostid_linux.go | // +build linux
package xid
import "io/ioutil"
func readPlatformMachineID() (string, error) {
b, err := ioutil.ReadFile("/etc/machine-id")
if err != nil || len(b) == 0 {
b, err = ioutil.ReadFile("/sys/class/dmi/id/product_uuid")
}
return string(b), err
}
| 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/rs/xid/error.go | vendor/github.com/rs/xid/error.go | package xid
const (
// ErrInvalidID is returned when trying to unmarshal an invalid ID.
ErrInvalidID strErr = "xid: invalid ID"
)
// strErr allows declaring errors as constants.
type strErr string
func (err strErr) Error() string { return string(err) }
| 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/rs/xid/hostid_freebsd.go | vendor/github.com/rs/xid/hostid_freebsd.go | // +build freebsd
package xid
import "syscall"
func readPlatformMachineID() (string, error) {
return syscall.Sysctl("kern.hostuuid")
}
| 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/rs/xid/id.go | vendor/github.com/rs/xid/id.go | // Package xid is a globally unique id generator suited for web scale
//
// Xid is using Mongo Object ID algorithm to generate globally unique ids:
// https://docs.mongodb.org/manual/reference/object-id/
//
// - 4-byte value representing the seconds since the Unix epoch,
// - 3-byte machine identifier,
// - 2-byt... | 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/rs/xid/hostid_windows.go | vendor/github.com/rs/xid/hostid_windows.go | // +build windows
package xid
import (
"fmt"
"syscall"
"unsafe"
)
func readPlatformMachineID() (string, error) {
// source: https://github.com/shirou/gopsutil/blob/master/host/host_syscall.go
var h syscall.Handle
err := syscall.RegOpenKeyEx(syscall.HKEY_LOCAL_MACHINE, syscall.StringToUTF16Ptr(`SOFTWARE\Microso... | 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/rs/xid/hostid_fallback.go | vendor/github.com/rs/xid/hostid_fallback.go | // +build !darwin,!linux,!freebsd,!windows
package xid
import "errors"
func readPlatformMachineID() (string, error) {
return "", errors.New("not implemented")
}
| 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-logr/logr/logr.go | vendor/github.com/go-logr/logr/logr.go | /*
Copyright 2019 The logr 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, softwa... | 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-logr/logr/sloghandler.go | vendor/github.com/go-logr/logr/sloghandler.go | //go:build go1.21
// +build go1.21
/*
Copyright 2023 The logr 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... | 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-logr/logr/discard.go | vendor/github.com/go-logr/logr/discard.go | /*
Copyright 2020 The logr 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, softwa... | 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-logr/logr/context_noslog.go | vendor/github.com/go-logr/logr/context_noslog.go | //go:build !go1.21
// +build !go1.21
/*
Copyright 2019 The logr 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 applicab... | 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-logr/logr/slogsink.go | vendor/github.com/go-logr/logr/slogsink.go | //go:build go1.21
// +build go1.21
/*
Copyright 2023 The logr 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... | 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-logr/logr/context_slog.go | vendor/github.com/go-logr/logr/context_slog.go | //go:build go1.21
// +build go1.21
/*
Copyright 2019 The logr 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... | 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-logr/logr/context.go | vendor/github.com/go-logr/logr/context.go | /*
Copyright 2023 The logr 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, softwa... | 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-logr/logr/slogr.go | vendor/github.com/go-logr/logr/slogr.go | //go:build go1.21
// +build go1.21
/*
Copyright 2023 The logr 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... | 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-logr/logr/funcr/funcr.go | vendor/github.com/go-logr/logr/funcr/funcr.go | /*
Copyright 2021 The logr 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, softwa... | 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-logr/logr/funcr/slogsink.go | vendor/github.com/go-logr/logr/funcr/slogsink.go | //go:build go1.21
// +build go1.21
/*
Copyright 2023 The logr 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... | 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-logr/logr/testr/testr.go | vendor/github.com/go-logr/logr/testr/testr.go | /*
Copyright 2019 The logr 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, softwa... | 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-logr/logr/testing/test.go | vendor/github.com/go-logr/logr/testing/test.go | /*
Copyright 2019 The logr 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, softwa... | 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-logr/zapr/zapr.go | vendor/github.com/go-logr/zapr/zapr.go | /*
Copyright 2019 The logr 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, softwa... | 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/mailru/easyjson/jwriter/writer.go | vendor/github.com/mailru/easyjson/jwriter/writer.go | // Package jwriter contains a JSON writer.
package jwriter
import (
"io"
"strconv"
"unicode/utf8"
"github.com/mailru/easyjson/buffer"
)
// Flags describe various encoding options. The behavior may be actually implemented in the encoder, but
// Flags field in Writer is used to set and pass them around.
type Flags... | 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/mailru/easyjson/jlexer/bytestostr.go | vendor/github.com/mailru/easyjson/jlexer/bytestostr.go | // This file will only be included to the build if neither
// easyjson_nounsafe nor appengine build tag is set. See README notes
// for more details.
//+build !easyjson_nounsafe
//+build !appengine
package jlexer
import (
"reflect"
"unsafe"
)
// bytesToStr creates a string pointing at the slice to avoid copying.
... | 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/mailru/easyjson/jlexer/error.go | vendor/github.com/mailru/easyjson/jlexer/error.go | package jlexer
import "fmt"
// LexerError implements the error interface and represents all possible errors that can be
// generated during parsing the JSON data.
type LexerError struct {
Reason string
Offset int
Data string
}
func (l *LexerError) Error() string {
return fmt.Sprintf("parse error: %s near offse... | 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/mailru/easyjson/jlexer/lexer.go | vendor/github.com/mailru/easyjson/jlexer/lexer.go | // Package jlexer contains a JSON lexer implementation.
//
// It is expected that it is mostly used with generated parser code, so the interface is tuned
// for a parser that knows what kind of data is expected.
package jlexer
import (
"bytes"
"encoding/base64"
"encoding/json"
"errors"
"fmt"
"io"
"strconv"
"un... | 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/mailru/easyjson/jlexer/bytestostr_nounsafe.go | vendor/github.com/mailru/easyjson/jlexer/bytestostr_nounsafe.go | // This file is included to the build if any of the buildtags below
// are defined. Refer to README notes for more details.
//+build easyjson_nounsafe appengine
package jlexer
// bytesToStr creates a string normally from []byte
//
// Note that this method is roughly 1.5x slower than using the 'unsafe' method.
func b... | 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/mailru/easyjson/buffer/pool.go | vendor/github.com/mailru/easyjson/buffer/pool.go | // Package buffer implements a buffer for serialization, consisting of a chain of []byte-s to
// reduce copying and to allow reuse of individual chunks.
package buffer
import (
"io"
"net"
"sync"
)
// PoolConfig contains configuration for the allocation and reuse strategy.
type PoolConfig struct {
StartSize 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/prometheus-operator/prometheus-operator/pkg/apis/monitoring/register.go | vendor/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/register.go | // Copyright 2018 The prometheus-operator 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 ... | 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/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1/thanos_types.go | vendor/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1/thanos_types.go | // Copyright 2020 The prometheus-operator 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 ... | 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/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1/zz_generated.deepcopy.go | vendor/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1/zz_generated.deepcopy.go | //go:build !ignore_autogenerated
// +build !ignore_autogenerated
// Copyright The prometheus-operator 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.... | 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/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1/types.go | vendor/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1/types.go | // Copyright 2018 The prometheus-operator 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 ... | 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/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1/register.go | vendor/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1/register.go | // Copyright 2018 The prometheus-operator 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 ... | 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/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1/doc.go | vendor/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1/doc.go | // Copyright 2017 The prometheus-operator 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 ... | 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/creasty/defaults/setter.go | vendor/github.com/creasty/defaults/setter.go | package defaults
// Setter is an interface for setting default values
type Setter interface {
SetDefaults()
}
func callSetter(v interface{}) {
if ds, ok := v.(Setter); ok {
ds.SetDefaults()
}
}
| 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/creasty/defaults/defaults.go | vendor/github.com/creasty/defaults/defaults.go | package defaults
import (
"encoding/json"
"errors"
"reflect"
"strconv"
"time"
)
var (
errInvalidType = errors.New("not a struct pointer")
)
const (
fieldName = "default"
)
// Set initializes members in a struct referenced by a pointer.
// Maps and slices are initialized by `make` and other primitive types ar... | 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/coreos/go-oidc/verify.go | vendor/github.com/coreos/go-oidc/verify.go | package oidc
import (
"bytes"
"context"
"encoding/base64"
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net/http"
"strings"
"time"
"golang.org/x/oauth2"
jose "gopkg.in/square/go-jose.v2"
)
const (
issuerGoogleAccounts = "https://accounts.google.com"
issuerGoogleAccountsNoScheme = "accounts.google... | 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/coreos/go-oidc/jwks.go | vendor/github.com/coreos/go-oidc/jwks.go | package oidc
import (
"context"
"errors"
"fmt"
"io/ioutil"
"net/http"
"sync"
"time"
"github.com/pquerna/cachecontrol"
jose "gopkg.in/square/go-jose.v2"
)
// keysExpiryDelta is the allowed clock skew between a client and the OpenID Connect
// server.
//
// When keys expire, they are valid for this amount of ... | 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.