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/google.golang.org/protobuf/internal/impl/codec_tables.go
vendor/google.golang.org/protobuf/internal/impl/codec_tables.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 impl import ( "fmt" "reflect" "google.golang.org/protobuf/encoding/protowire" "google.golang.org/protobuf/internal/strs" "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/google.golang.org/protobuf/internal/impl/legacy_export.go
vendor/google.golang.org/protobuf/internal/impl/legacy_export.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 impl import ( "encoding/binary" "encoding/json" "hash/crc32" "math" "reflect" "google.golang.org/protobuf/internal/errors" "google.golang.org/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/google.golang.org/protobuf/internal/impl/legacy_file.go
vendor/google.golang.org/protobuf/internal/impl/legacy_file.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 impl import ( "bytes" "compress/gzip" "io/ioutil" "sync" "google.golang.org/protobuf/internal/filedesc" "google.golang.org/protobuf/reflect/prot...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go
vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.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. //go:build go1.12 // +build go1.12 package impl import "reflect" func mapRange(v reflect.Value) *reflect.MapIter { return v.MapRange() }
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/impl/codec_field.go
vendor/google.golang.org/protobuf/internal/impl/codec_field.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 impl import ( "fmt" "reflect" "sync" "google.golang.org/protobuf/encoding/protowire" "google.golang.org/protobuf/internal/errors" "google.golang...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/impl/encode.go
vendor/google.golang.org/protobuf/internal/impl/encode.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 impl import ( "math" "sort" "sync/atomic" "google.golang.org/protobuf/internal/flags" proto "google.golang.org/protobuf/proto" piface "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/google.golang.org/protobuf/internal/impl/codec_messageset.go
vendor/google.golang.org/protobuf/internal/impl/codec_messageset.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 impl import ( "sort" "google.golang.org/protobuf/encoding/protowire" "google.golang.org/protobuf/internal/encoding/messageset" "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/google.golang.org/protobuf/internal/impl/legacy_enum.go
vendor/google.golang.org/protobuf/internal/impl/legacy_enum.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 impl import ( "fmt" "reflect" "strings" "sync" "google.golang.org/protobuf/internal/filedesc" "google.golang.org/protobuf/internal/strs" "googl...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/impl/extension.go
vendor/google.golang.org/protobuf/internal/impl/extension.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 impl import ( "reflect" "sync" "sync/atomic" "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/runtime/protoiface" ) ...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/impl/api_export.go
vendor/google.golang.org/protobuf/internal/impl/api_export.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 impl import ( "fmt" "reflect" "strconv" "google.golang.org/protobuf/encoding/prototext" "google.golang.org/protobuf/internal/errors" "google.gol...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/impl/codec_reflect.go
vendor/google.golang.org/protobuf/internal/impl/codec_reflect.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. //go:build purego || appengine // +build purego appengine package impl import ( "reflect" "google.golang.org/protobuf/encoding/protowire" ) func sizeEnum(...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/impl/codec_map.go
vendor/google.golang.org/protobuf/internal/impl/codec_map.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 impl import ( "reflect" "sort" "google.golang.org/protobuf/encoding/protowire" "google.golang.org/protobuf/internal/genid" "google.golang.org/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/google.golang.org/protobuf/internal/impl/codec_map_go111.go
vendor/google.golang.org/protobuf/internal/impl/codec_map_go111.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. //go:build !go1.12 // +build !go1.12 package impl import "reflect" type mapIter struct { v reflect.Value keys []reflect.Value } // mapRange provides 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/google.golang.org/protobuf/internal/impl/convert_map.go
vendor/google.golang.org/protobuf/internal/impl/convert_map.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 impl import ( "fmt" "reflect" "google.golang.org/protobuf/reflect/protoreflect" ) type mapConverter struct { goType reflect.Type // map...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/impl/enum.go
vendor/google.golang.org/protobuf/internal/impl/enum.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 impl import ( "reflect" "google.golang.org/protobuf/reflect/protoreflect" ) type EnumInfo struct { GoReflectType reflect.Type // int32 kind Desc ...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go
vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.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. //go:build purego || appengine // +build purego appengine package impl import ( "fmt" "reflect" "sync" ) const UnsafeEnabled = false // Pointer is an opa...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/impl/message.go
vendor/google.golang.org/protobuf/internal/impl/message.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 impl import ( "fmt" "reflect" "strconv" "strings" "sync" "sync/atomic" "google.golang.org/protobuf/internal/genid" "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/google.golang.org/protobuf/internal/impl/decode.go
vendor/google.golang.org/protobuf/internal/impl/decode.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 impl import ( "math/bits" "google.golang.org/protobuf/encoding/protowire" "google.golang.org/protobuf/internal/errors" "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/google.golang.org/protobuf/internal/impl/codec_extension.go
vendor/google.golang.org/protobuf/internal/impl/codec_extension.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 impl import ( "sync" "sync/atomic" "google.golang.org/protobuf/encoding/protowire" "google.golang.org/protobuf/internal/errors" "google.golang.or...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go
vendor/google.golang.org/protobuf/internal/impl/message_reflect.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 impl import ( "fmt" "reflect" "google.golang.org/protobuf/internal/detrand" "google.golang.org/protobuf/internal/pragma" "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/google.golang.org/protobuf/internal/impl/legacy_extension.go
vendor/google.golang.org/protobuf/internal/impl/legacy_extension.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 impl import ( "reflect" "google.golang.org/protobuf/internal/descopts" "google.golang.org/protobuf/internal/encoding/messageset" ptag "google.gola...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go
vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.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. // Code generated by generate-types. DO NOT EDIT. package impl import ( "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/runtim...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go
vendor/google.golang.org/protobuf/internal/descfmt/stringer.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 descfmt provides functionality to format descriptors. package descfmt import ( "fmt" "io" "reflect" "strconv" "strings" "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/google.golang.org/protobuf/internal/detrand/rand.go
vendor/google.golang.org/protobuf/internal/detrand/rand.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 detrand provides deterministically random functionality. // // The pseudo-randomness of these functions is seeded by the program binary // itself 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/google.golang.org/protobuf/internal/strs/strings_pure.go
vendor/google.golang.org/protobuf/internal/strs/strings_pure.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. //go:build purego || appengine // +build purego appengine package strs import pref "google.golang.org/protobuf/reflect/protoreflect" func UnsafeString(b []by...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe_go120.go
vendor/google.golang.org/protobuf/internal/strs/strings_unsafe_go120.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. //go:build !purego && !appengine && !go1.21 // +build !purego,!appengine,!go1.21 package strs import ( "unsafe" "google.golang.org/protobuf/reflect/protore...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe_go121.go
vendor/google.golang.org/protobuf/internal/strs/strings_unsafe_go121.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. //go:build !purego && !appengine && go1.21 // +build !purego,!appengine,go1.21 package strs import ( "unsafe" "google.golang.org/protobuf/reflect/protorefl...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/strs/strings.go
vendor/google.golang.org/protobuf/internal/strs/strings.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 strs provides string manipulation functionality specific to protobuf. package strs import ( "go/token" "strings" "unicode" "unicode/utf8" "goo...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/order/order.go
vendor/google.golang.org/protobuf/internal/order/order.go
// Copyright 2020 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 order import ( "google.golang.org/protobuf/reflect/protoreflect" ) // FieldOrder specifies the ordering to visit message fields. // It is a function ...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/order/range.go
vendor/google.golang.org/protobuf/internal/order/range.go
// Copyright 2020 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 order provides ordered access to messages and maps. package order import ( "sort" "sync" "google.golang.org/protobuf/reflect/protoreflect" ) ty...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/genid/field_mask_gen.go
vendor/google.golang.org/protobuf/internal/genid/field_mask_gen.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. // Code generated by generate-protos. DO NOT EDIT. package genid import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) const File_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/google.golang.org/protobuf/internal/genid/goname.go
vendor/google.golang.org/protobuf/internal/genid/goname.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 genid // Go names of implementation-specific struct fields in generated messages. const ( State_goname = "state" SizeCache_goname = "sizeCache" Si...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/genid/any_gen.go
vendor/google.golang.org/protobuf/internal/genid/any_gen.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. // Code generated by generate-protos. DO NOT EDIT. package genid import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) const File_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/google.golang.org/protobuf/internal/genid/duration_gen.go
vendor/google.golang.org/protobuf/internal/genid/duration_gen.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. // Code generated by generate-protos. DO NOT EDIT. package genid import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) const File_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/google.golang.org/protobuf/internal/genid/descriptor_gen.go
vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.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. // Code generated by generate-protos. DO NOT EDIT. package genid import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) const File_google...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
true
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/genid/type_gen.go
vendor/google.golang.org/protobuf/internal/genid/type_gen.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. // Code generated by generate-protos. DO NOT EDIT. package genid import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) const File_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/google.golang.org/protobuf/internal/genid/go_features_gen.go
vendor/google.golang.org/protobuf/internal/genid/go_features_gen.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. // Code generated by generate-protos. DO NOT EDIT. package genid import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) const File_reflec...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/genid/map_entry.go
vendor/google.golang.org/protobuf/internal/genid/map_entry.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 genid import protoreflect "google.golang.org/protobuf/reflect/protoreflect" // Generic field names and numbers for synthetic map entry messages. const...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/genid/empty_gen.go
vendor/google.golang.org/protobuf/internal/genid/empty_gen.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. // Code generated by generate-protos. DO NOT EDIT. package genid import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) const File_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/google.golang.org/protobuf/internal/genid/wrappers_gen.go
vendor/google.golang.org/protobuf/internal/genid/wrappers_gen.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. // Code generated by generate-protos. DO NOT EDIT. package genid import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) const File_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/google.golang.org/protobuf/internal/genid/source_context_gen.go
vendor/google.golang.org/protobuf/internal/genid/source_context_gen.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. // Code generated by generate-protos. DO NOT EDIT. package genid import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) const File_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/google.golang.org/protobuf/internal/genid/doc.go
vendor/google.golang.org/protobuf/internal/genid/doc.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 genid contains constants for declarations in descriptor.proto // and the well-known types. package genid import protoreflect "google.golang.org/prot...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/genid/api_gen.go
vendor/google.golang.org/protobuf/internal/genid/api_gen.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. // Code generated by generate-protos. DO NOT EDIT. package genid import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) const File_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/google.golang.org/protobuf/internal/genid/wrappers.go
vendor/google.golang.org/protobuf/internal/genid/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 genid import protoreflect "google.golang.org/protobuf/reflect/protoreflect" // Generic field name and number for messages in wrappers.proto. const ( ...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/genid/timestamp_gen.go
vendor/google.golang.org/protobuf/internal/genid/timestamp_gen.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. // Code generated by generate-protos. DO NOT EDIT. package genid import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) const File_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/google.golang.org/protobuf/internal/genid/struct_gen.go
vendor/google.golang.org/protobuf/internal/genid/struct_gen.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. // Code generated by generate-protos. DO NOT EDIT. package genid import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) const File_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/google.golang.org/protobuf/internal/descopts/options.go
vendor/google.golang.org/protobuf/internal/descopts/options.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 descopts contains the nil pointers to concrete descriptor options. // // This package exists as a form of reverse dependency injection so that certai...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/google.golang.org/protobuf/internal/set/ints.go
vendor/google.golang.org/protobuf/internal/set/ints.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 set provides simple set data structures for uint64s. package set import "math/bits" // int64s represents a set of integers within the range of 0..6...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/controllers/quay/features.go
controllers/quay/features.go
package controllers import ( "bytes" "context" "crypto/sha256" "crypto/tls" "encoding/hex" "encoding/pem" err "errors" "fmt" "strings" "time" objectbucket "github.com/kube-object-storage/lib-bucket-provisioner/pkg/apis/objectbucket.io/v1alpha1" routev1 "github.com/openshift/api/route/v1" prometheusv1 "gi...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/controllers/quay/quayregistry_status_controller.go
controllers/quay/quayregistry_status_controller.go
package controllers import ( "context" "sync" "time" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" "github.com/go-logr/logr" qv1 "github.com/quay/quay-operator/apis/quay/v1" "github.com/qu...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/controllers/quay/quayregistry_controller_test.go
controllers/quay/quayregistry_controller_test.go
package controllers import ( "context" "crypto/rand" "encoding/hex" "sync" "testing" "time" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/controllers/quay/suite_test.go
controllers/quay/suite_test.go
/* 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 distributed under the License...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/controllers/quay/features_test.go
controllers/quay/features_test.go
package controllers import ( "strings" "testing" ) func Test_extractImageName(t *testing.T) { for _, tt := range []struct { name string imageName string expected string }{ { name: "image with digest", imageName: "quay.io/projectquay/quay-postgres-rhel8@sha256:abc123", expected: "quay....
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/controllers/quay/quayregistry_controller.go
controllers/quay/quayregistry_controller.go
/* 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 distributed under the License i...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
true
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/apis/quay/v1/quayregistry_types.go
apis/quay/v1/quayregistry_types.go
/* 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 distributed under the License...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/apis/quay/v1/zz_generated.deepcopy.go
apis/quay/v1/zz_generated.deepcopy.go
//go:build !ignore_autogenerated /* 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, soft...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/apis/quay/v1/groupversion_info.go
apis/quay/v1/groupversion_info.go
/* 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 distributed under the License...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
quay/quay-operator
https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/apis/quay/v1/quayregistry_types_test.go
apis/quay/v1/quayregistry_types_test.go
package v1 import ( "errors" "testing" "github.com/stretchr/testify/assert" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/utils/ptr" quaycontext "github.com/quay/quay-operator/pkg/context" ) var ensureDefaultComponentsTests = []struc...
go
Apache-2.0
5a999da6a496e943d67219c8dca531b777a2ee1f
2026-01-07T09:45:38.853115Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/utils.go
utils.go
package main import ( "encoding/binary" "fmt" "log" "net" "github.com/pkg/errors" "github.com/vishvananda/netlink" "gvisor.dev/gvisor/pkg/tcpip" ) // htons converts a short (uint16) from host-to-network byte order. func htons(i uint16) uint16 { return (i<<8)&0xff00 | i>>8 } func ipToStackAddress(ip net.IP) ...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/nk.go
nk.go
package main import ( "context" "flag" "fmt" "log" "os" "os/signal" "golang.org/x/sys/unix" "kernel.org/pub/linux/libs/security/libcap/cap" ) //go:generate bpf2go filter bpf/filter.c -- -I/usr/include -I./bpf -nostdinc -O3 const ( nicID = 1 bufSize = 4 << 20 // 4MB. ) var ( flagListen bool flagUD...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/listen.go
listen.go
package main import ( "context" "encoding/binary" "fmt" "io" "log" "net" "os" "strconv" "strings" "time" "github.com/pkg/errors" "github.com/vishvananda/netlink" "golang.org/x/net/bpf" "golang.org/x/sys/unix" "gvisor.dev/gvisor/pkg/tcpip" "gvisor.dev/gvisor/pkg/tcpip/adapters/gonet" "gvisor.dev/gviso...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/filter_bpfeb.go
filter_bpfeb.go
// Code generated by bpf2go; DO NOT EDIT. // +build armbe arm64be mips mips64 mips64p32 ppc64 s390 s390x sparc sparc64 package main import ( "bytes" "fmt" "io" "github.com/cilium/ebpf" ) // loadFilter returns the embedded CollectionSpec for filter. func loadFilter() (*ebpf.CollectionSpec, error) { reader := by...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
true
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/filter_bpfel.go
filter_bpfel.go
// Code generated by bpf2go; DO NOT EDIT. // +build 386 amd64 amd64p32 arm arm64 mipsle mips64le mips64p32le ppc64le riscv64 package main import ( "bytes" "fmt" "io" "github.com/cilium/ebpf" ) // loadFilter returns the embedded CollectionSpec for filter. func loadFilter() (*ebpf.CollectionSpec, error) { reader...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
true
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/connect.go
connect.go
package main import ( "context" "encoding/binary" "fmt" "io" "log" "net" "os" "strconv" "strings" "time" "github.com/pkg/errors" "github.com/vishvananda/netlink" "golang.org/x/net/bpf" "golang.org/x/sys/unix" "gvisor.dev/gvisor/pkg/tcpip" "gvisor.dev/gvisor/pkg/tcpip/adapters/gonet" "gvisor.dev/gviso...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/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
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/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
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/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
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/protinfo_linux.go
vendor/github.com/vishvananda/netlink/protinfo_linux.go
package netlink import ( "fmt" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) func LinkGetProtinfo(link Link) (Protinfo, error) { return pkgHandle.LinkGetProtinfo(link) } func (h *Handle) LinkGetProtinfo(link Link) (Protinfo, error) { base := link.Attrs() h.ensureIndex(base) var pi ...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/fou_linux.go
vendor/github.com/vishvananda/netlink/fou_linux.go
// +build linux package netlink import ( "encoding/binary" "errors" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) const ( FOU_GENL_NAME = "fou" ) const ( FOU_CMD_UNSPEC uint8 = iota FOU_CMD_ADD FOU_CMD_DEL FOU_CMD_GET FOU_CMD_MAX = FOU_CMD_GET ) const ( FOU_ATTR_UNSPEC = iota FOU_ATTR_...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/handle_unspecified.go
vendor/github.com/vishvananda/netlink/handle_unspecified.go
// +build !linux package netlink import ( "net" "time" "github.com/vishvananda/netns" ) type Handle struct{} func NewHandle(nlFamilies ...int) (*Handle, error) { return nil, ErrNotImplemented } func NewHandleAt(ns netns.NsHandle, nlFamilies ...int) (*Handle, error) { return nil, ErrNotImplemented } func New...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/xfrm_state.go
vendor/github.com/vishvananda/netlink/xfrm_state.go
package netlink import ( "fmt" "net" "time" ) // XfrmStateAlgo represents the algorithm to use for the ipsec encryption. type XfrmStateAlgo struct { Name string Key []byte TruncateLen int // Auth only ICVLen int // AEAD only } func (a XfrmStateAlgo) String() string { base := fmt.Sprintf("...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/devlink_linux.go
vendor/github.com/vishvananda/netlink/devlink_linux.go
package netlink import ( "syscall" "fmt" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // DevlinkDevEswitchAttr represents device's eswitch attributes type DevlinkDevEswitchAttr struct { Mode string InlineMode string EncapMode string } // DevlinkDevAttrs represents device attributes ty...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/order.go
vendor/github.com/vishvananda/netlink/order.go
package netlink import ( "encoding/binary" "github.com/vishvananda/netlink/nl" ) var ( native = nl.NativeEndian() networkOrder = binary.BigEndian ) func htonl(val uint32) []byte { bytes := make([]byte, 4) binary.BigEndian.PutUint32(bytes, val) return bytes } func htons(val uint16) []byte { bytes := m...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/socket_linux.go
vendor/github.com/vishvananda/netlink/socket_linux.go
package netlink import ( "errors" "fmt" "net" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) const ( sizeofSocketID = 0x30 sizeofSocketRequest = sizeofSocketID + 0x8 sizeofSocket = sizeofSocketID + 0x18 ) type socketRequest struct { Family uint8 Protocol uint8 Ext uint8 ...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/qdisc.go
vendor/github.com/vishvananda/netlink/qdisc.go
package netlink import ( "fmt" "math" ) const ( HANDLE_NONE = 0 HANDLE_INGRESS = 0xFFFFFFF1 HANDLE_CLSACT = HANDLE_INGRESS HANDLE_ROOT = 0xFFFFFFFF PRIORITY_MAP_LEN = 16 ) const ( HANDLE_MIN_INGRESS = 0xFFFFFFF2 HANDLE_MIN_EGRESS = 0xFFFFFFF3 ) type Qdisc interface { Attrs() *QdiscAttrs Ty...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/neigh_linux.go
vendor/github.com/vishvananda/netlink/neigh_linux.go
package netlink import ( "fmt" "net" "syscall" "unsafe" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) const ( NDA_UNSPEC = iota NDA_DST NDA_LLADDR NDA_CACHEINFO NDA_PROBES NDA_VLAN NDA_PORT NDA_VNI NDA_IFINDEX NDA_MASTER NDA_LINK_NETNSID NDA_SRC_VNI ...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/link_tuntap_linux.go
vendor/github.com/vishvananda/netlink/link_tuntap_linux.go
package netlink // ideally golang.org/x/sys/unix would define IfReq but it only has // IFNAMSIZ, hence this minimalistic implementation const ( SizeOfIfReq = 40 IFNAMSIZ = 16 ) type ifReq struct { Name [IFNAMSIZ]byte Flags uint16 pad [SizeOfIfReq - IFNAMSIZ - 2]byte }
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/filter_linux.go
vendor/github.com/vishvananda/netlink/filter_linux.go
package netlink import ( "bytes" "encoding/binary" "encoding/hex" "errors" "fmt" "net" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // Constants used in TcU32Sel.Flags. const ( TC_U32_TERMINAL = nl.TC_U32_TERMINAL TC_U32_OFFSET = nl.TC_U32_OFFSET TC_U32_VAROFFSET = nl.TC_U3...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/route_unspecified.go
vendor/github.com/vishvananda/netlink/route_unspecified.go
// +build !linux package netlink func (r *Route) ListFlags() []string { return []string{} } func (n *NexthopInfo) ListFlags() []string { return []string{} }
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/rule_linux.go
vendor/github.com/vishvananda/netlink/rule_linux.go
package netlink import ( "fmt" "net" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) const FibRuleInvert = 0x2 // RuleAdd adds a rule to the system. // Equivalent to: ip rule add func RuleAdd(rule *Rule) error { return pkgHandle.RuleAdd(rule) } // RuleAdd adds a rule to the system. // Equivalent...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/addr_linux.go
vendor/github.com/vishvananda/netlink/addr_linux.go
package netlink import ( "fmt" "net" "strings" "syscall" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) // IFA_FLAGS is a u32 attribute. const IFA_FLAGS = 0x8 // AddrAdd will add an IP address to a link device. // // Equivalent to: `ip addr add $addr dev $link` /...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/genetlink_unspecified.go
vendor/github.com/vishvananda/netlink/genetlink_unspecified.go
// +build !linux package netlink type GenlOp struct{} type GenlMulticastGroup struct{} type GenlFamily struct{} func (h *Handle) GenlFamilyList() ([]*GenlFamily, error) { return nil, ErrNotImplemented } func GenlFamilyList() ([]*GenlFamily, error) { return nil, ErrNotImplemented } func (h *Handle) GenlFamilyGe...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/fou_unspecified.go
vendor/github.com/vishvananda/netlink/fou_unspecified.go
// +build !linux package netlink func FouAdd(f Fou) error { return ErrNotImplemented } func FouDel(f Fou) error { return ErrNotImplemented } func FouList(fam int) ([]Fou, error) { return nil, ErrNotImplemented }
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/conntrack_linux.go
vendor/github.com/vishvananda/netlink/conntrack_linux.go
package netlink import ( "bytes" "encoding/binary" "errors" "fmt" "net" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // ConntrackTableType Conntrack table for the netlink operation type ConntrackTableType uint8 const ( // ConntrackTable Conntrack table // https://github.com/torvalds/linux/...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/filter.go
vendor/github.com/vishvananda/netlink/filter.go
package netlink import ( "fmt" "net" ) type Filter interface { Attrs() *FilterAttrs Type() string } // FilterAttrs represents a netlink filter. A filter is associated with a link, // has a handle and a parent. The root filter of a device should have a // parent == HANDLE_ROOT. type FilterAttrs struct { LinkInde...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/class.go
vendor/github.com/vishvananda/netlink/class.go
package netlink import ( "fmt" ) // Class interfaces for all classes type Class interface { Attrs() *ClassAttrs Type() string } // Generic networking statistics for netlink users. // This file contains "gnet_" prefixed structs and relevant functions. // See Documentation/networking/getn_stats.txt in Linux source ...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/handle_linux.go
vendor/github.com/vishvananda/netlink/handle_linux.go
package netlink import ( "fmt" "time" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) // Empty handle used by the netlink package methods var pkgHandle = &Handle{} // Handle is an handle for the netlink requests on a // specific network namespace. All the requests o...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/link_linux.go
vendor/github.com/vishvananda/netlink/link_linux.go
package netlink import ( "bytes" "encoding/binary" "fmt" "io/ioutil" "net" "os" "strconv" "strings" "syscall" "unsafe" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) const ( SizeofLinkStats32 = 0x5c SizeofLinkStats64 = 0xb8 ) const ( TUNTAP_MODE_TUN ...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
true
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/fou.go
vendor/github.com/vishvananda/netlink/fou.go
package netlink import ( "errors" ) var ( // ErrAttrHeaderTruncated is returned when a netlink attribute's header is // truncated. ErrAttrHeaderTruncated = errors.New("attribute header truncated") // ErrAttrBodyTruncated is returned when a netlink attribute's body is // truncated. ErrAttrBodyTruncated = errors...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/addr.go
vendor/github.com/vishvananda/netlink/addr.go
package netlink import ( "fmt" "net" "strings" ) // Addr represents an IP address from netlink. Netlink ip addresses // include a mask, so it stores the address as a net.IPNet. type Addr struct { *net.IPNet Label string Flags int Scope int Peer *net.IPNet Broadcast net.IP Prefered...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/genetlink_linux.go
vendor/github.com/vishvananda/netlink/genetlink_linux.go
package netlink import ( "fmt" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) type GenlOp struct { ID uint32 Flags uint32 } type GenlMulticastGroup struct { ID uint32 Name string } type GenlFamily struct { ID uint16 HdrSize uint32 Name string Version uint32 MaxAtt...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/conntrack_unspecified.go
vendor/github.com/vishvananda/netlink/conntrack_unspecified.go
// +build !linux package netlink // ConntrackTableType Conntrack table for the netlink operation type ConntrackTableType uint8 // InetFamily Family type type InetFamily uint8 // ConntrackFlow placeholder type ConntrackFlow struct{} // ConntrackFilter placeholder type ConntrackFilter struct{} // ConntrackTableList...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/class_linux.go
vendor/github.com/vishvananda/netlink/class_linux.go
package netlink import ( "bytes" "encoding/binary" "encoding/hex" "errors" "fmt" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // Internal tc_stats representation in Go struct. // This is for internal uses only to deserialize the payload of rtattr. // After the deserialization, this...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/qdisc_linux.go
vendor/github.com/vishvananda/netlink/qdisc_linux.go
package netlink import ( "fmt" "io/ioutil" "strconv" "strings" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // NOTE function is here because it uses other linux functions func NewNetem(attrs QdiscAttrs, nattrs NetemQdiscAttrs) *Netem { var limit uint32 = 1000 var lossCorr, delayCo...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/gtp_linux.go
vendor/github.com/vishvananda/netlink/gtp_linux.go
package netlink import ( "fmt" "net" "strings" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) type PDP struct { Version uint32 TID uint64 PeerAddress net.IP MSAddress net.IP Flow uint16 NetNSFD uint32 ITEI uint32 OTEI uint32 } func (pdp *...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/link.go
vendor/github.com/vishvananda/netlink/link.go
package netlink import ( "fmt" "net" "os" "strconv" ) // Link represents a link device from netlink. Shared link attributes // like name may be retrieved using the Attrs() method. Unique data // can be retrieved by casting the object to the proper type. type Link interface { Attrs() *LinkAttrs Type() string } ...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/protinfo.go
vendor/github.com/vishvananda/netlink/protinfo.go
package netlink import ( "strings" ) // Protinfo represents bridge flags from netlink. type Protinfo struct { Hairpin bool Guard bool FastLeave bool RootBlock bool Learning bool Flood bool ProxyArp bool ProxyArpWiFi bool } // String returns a list of enabled flags func (prot...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/netlink_unspecified.go
vendor/github.com/vishvananda/netlink/netlink_unspecified.go
// +build !linux package netlink import "net" func LinkSetUp(link Link) error { return ErrNotImplemented } func LinkSetDown(link Link) error { return ErrNotImplemented } func LinkSetMTU(link Link, mtu int) error { return ErrNotImplemented } func LinkSetMaster(link Link, master *Bridge) error { return ErrNotIm...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/route_linux.go
vendor/github.com/vishvananda/netlink/route_linux.go
package netlink import ( "fmt" "net" "strings" "syscall" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) // RtAttr is shared so it is in netlink_linux.go const ( SCOPE_UNIVERSE Scope = unix.RT_SCOPE_UNIVERSE SCOPE_SITE Scope = unix.RT_SCOPE_SITE SCOPE_LINK ...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false
aojea/netkat
https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/github.com/vishvananda/netlink/xfrm_state_linux.go
vendor/github.com/vishvananda/netlink/xfrm_state_linux.go
package netlink import ( "fmt" "unsafe" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) func writeStateAlgo(a *XfrmStateAlgo) []byte { algo := nl.XfrmAlgo{ AlgKeyLen: uint32(len(a.Key) * 8), AlgKey: a.Key, } end := len(a.Name) if end > 64 { end = 64 } copy(algo.AlgName[:end], a.Name)...
go
Apache-2.0
0aff52e544e0df9b96fea261a4a9b96a36ad44f3
2026-01-07T09:45:51.064658Z
false