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
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/safe_map.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/safe_map.go
package reflect2 import ( "reflect" "unsafe" ) type safeMapType struct { safeType } func (type2 *safeMapType) Key() Type { return type2.safeType.cfg.Type2(type2.Type.Key()) } func (type2 *safeMapType) MakeMap(cap int) interface{} { ptr := reflect.New(type2.Type) ptr.Elem().Set(reflect.MakeMap(type2.Type)) re...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/reflect2_kind.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/reflect2_kind.go
package reflect2 import ( "reflect" "unsafe" ) // DefaultTypeOfKind return the non aliased default type for the kind func DefaultTypeOfKind(kind reflect.Kind) Type { return kindTypes[kind] } var kindTypes = map[reflect.Kind]Type{ reflect.Bool: TypeOf(true), reflect.Uint8: TypeOf(uint8(0)), ref...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/safe_slice.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/safe_slice.go
package reflect2 import ( "reflect" "unsafe" ) type safeSliceType struct { safeType } func (type2 *safeSliceType) SetIndex(obj interface{}, index int, value interface{}) { val := reflect.ValueOf(obj).Elem() elem := reflect.ValueOf(value).Elem() val.Index(index).Set(elem) } func (type2 *safeSliceType) UnsafeSe...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/go_above_118.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/go_above_118.go
//+build go1.18 package reflect2 import ( "unsafe" ) // m escapes into the return value, but the caller of mapiterinit // doesn't let the return value escape. //go:noescape //go:linkname mapiterinit reflect.mapiterinit func mapiterinit(rtype unsafe.Pointer, m unsafe.Pointer, it *hiter) func (type2 *UnsafeMapType) ...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/unsafe_struct.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/unsafe_struct.go
package reflect2 import ( "reflect" "unsafe" ) type UnsafeStructType struct { unsafeType likePtr bool } func newUnsafeStructType(cfg *frozenConfig, type1 reflect.Type) *UnsafeStructType { return &UnsafeStructType{ unsafeType: *newUnsafeType(cfg, type1), likePtr: likePtrType(type1), } } func (type2 *Uns...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/unsafe_ptr.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/unsafe_ptr.go
package reflect2 import ( "reflect" "unsafe" ) type UnsafePtrType struct { unsafeType } func newUnsafePtrType(cfg *frozenConfig, type1 reflect.Type) *UnsafePtrType { return &UnsafePtrType{ unsafeType: *newUnsafeType(cfg, type1), } } func (type2 *UnsafePtrType) IsNil(obj interface{}) bool { if obj == nil { ...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/type_map.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/type_map.go
// +build !gccgo package reflect2 import ( "reflect" "sync" "unsafe" ) // typelinks2 for 1.7 ~ //go:linkname typelinks2 reflect.typelinks func typelinks2() (sections []unsafe.Pointer, offset [][]int32) // initOnce guards initialization of types and packages var initOnce sync.Once var types map[string]reflect.Ty...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/safe_struct.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/safe_struct.go
package reflect2 type safeStructType struct { safeType } func (type2 *safeStructType) FieldByName(name string) StructField { field, found := type2.Type.FieldByName(name) if !found { panic("field " + name + " not found") } return &safeField{StructField: field} } func (type2 *safeStructType) Field(i int) Struct...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/unsafe_map.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/unsafe_map.go
package reflect2 import ( "reflect" "unsafe" ) type UnsafeMapType struct { unsafeType pKeyRType unsafe.Pointer pElemRType unsafe.Pointer } func newUnsafeMapType(cfg *frozenConfig, type1 reflect.Type) MapType { return &UnsafeMapType{ unsafeType: *newUnsafeType(cfg, type1), pKeyRType: unpackEFace(reflect.P...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/unsafe_field.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/unsafe_field.go
package reflect2 import ( "reflect" "unsafe" ) type UnsafeStructField struct { reflect.StructField structType *UnsafeStructType rtype unsafe.Pointer ptrRType unsafe.Pointer } func newUnsafeStructField(structType *UnsafeStructType, structField reflect.StructField) *UnsafeStructField { return &UnsafeStru...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/go_below_118.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/go_below_118.go
//+build !go1.18 package reflect2 import ( "unsafe" ) // m escapes into the return value, but the caller of mapiterinit // doesn't let the return value escape. //go:noescape //go:linkname mapiterinit reflect.mapiterinit func mapiterinit(rtype unsafe.Pointer, m unsafe.Pointer) (val *hiter) func (type2 *UnsafeMapTyp...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/unsafe_type.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/unsafe_type.go
package reflect2 import ( "reflect" "unsafe" ) type unsafeType struct { safeType rtype unsafe.Pointer ptrRType unsafe.Pointer } func newUnsafeType(cfg *frozenConfig, type1 reflect.Type) *unsafeType { return &unsafeType{ safeType: safeType{ Type: type1, cfg: cfg, }, rtype: unpackEFace(type1)....
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/unsafe_iface.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/modern-go/reflect2/unsafe_iface.go
package reflect2 import ( "reflect" "unsafe" ) type iface struct { itab *itab data unsafe.Pointer } type itab struct { ignore unsafe.Pointer rtype unsafe.Pointer } func IFaceToEFace(ptr unsafe.Pointer) interface{} { iface := (*iface)(ptr) if iface.itab == nil { return nil } return packEFace(iface.itab....
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/tracer.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/tracer.go
package opentracing import "time" // Tracer is a simple, thin interface for Span creation and SpanContext // propagation. type Tracer interface { // Create, start, and return a new Span with the given `operationName` and // incorporate the given StartSpanOption `opts`. (Note that `opts` borrows // from the "funct...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/span.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/span.go
package opentracing import ( "time" "github.com/opentracing/opentracing-go/log" ) // SpanContext represents Span state that must propagate to descendant Spans and across process // boundaries (e.g., a <trace_id, span_id, sampled> tuple). type SpanContext interface { // ForeachBaggageItem grants access to all bagg...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/gocontext.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/gocontext.go
package opentracing import "context" type contextKey struct{} var activeSpanKey = contextKey{} // ContextWithSpan returns a new `context.Context` that holds a reference to // the span. If span is nil, a new context without an active span is returned. func ContextWithSpan(ctx context.Context, span Span) context.Cont...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/noop.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/noop.go
package opentracing import "github.com/opentracing/opentracing-go/log" // A NoopTracer is a trivial, minimum overhead implementation of Tracer // for which all operations are no-ops. // // The primary use of this implementation is in libraries, such as RPC // frameworks, that make tracing an optional feature controll...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/globaltracer.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/globaltracer.go
package opentracing type registeredTracer struct { tracer Tracer isRegistered bool } var ( globalTracer = registeredTracer{NoopTracer{}, false} ) // SetGlobalTracer sets the [singleton] opentracing.Tracer returned by // GlobalTracer(). Those who use GlobalTracer (rather than directly manage an // opentracin...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/ext.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/ext.go
package opentracing import ( "context" ) // TracerContextWithSpanExtension is an extension interface that the // implementation of the Tracer interface may want to implement. It // allows to have some control over the go context when the // ContextWithSpan is invoked. // // The primary purpose of this extension are ...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/propagation.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/propagation.go
package opentracing import ( "errors" "net/http" ) /////////////////////////////////////////////////////////////////////////////// // CORE PROPAGATION INTERFACES: /////////////////////////////////////////////////////////////////////////////// var ( // ErrUnsupportedFormat occurs when the `format` passed to Tracer...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/ext/tags.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/ext/tags.go
package ext import "github.com/opentracing/opentracing-go" // These constants define common tag names recommended for better portability across // tracing systems and languages/platforms. // // The tag names are defined as typed strings, so that in addition to the usual use // // span.setTag(TagName, value) // //...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/ext/field.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/ext/field.go
package ext import ( "github.com/opentracing/opentracing-go" "github.com/opentracing/opentracing-go/log" ) // LogError sets the error=true tag on the Span and logs err as an "error" event. func LogError(span opentracing.Span, err error, fields ...log.Field) { Error.Set(span, true) ef := []log.Field{ log.Event("...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/log/util.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/log/util.go
package log import ( "fmt" "reflect" ) // InterleavedKVToFields converts keyValues a la Span.LogKV() to a Field slice // a la Span.LogFields(). func InterleavedKVToFields(keyValues ...interface{}) ([]Field, error) { if len(keyValues)%2 != 0 { return nil, fmt.Errorf("non-even keyValues len: %d", len(keyValues)) ...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/log/field.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/opentracing/opentracing-go/log/field.go
package log import ( "fmt" "math" ) type fieldType int const ( stringType fieldType = iota boolType intType int32Type uint32Type int64Type uint64Type float32Type float64Type errorType objectType lazyLoggerType noopType ) // Field instances are constructed via LogBool, LogString, and so on. // Tracing...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage/fake/volume.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage/fake/volume.go
package fake type Volume struct { Name string `json:"name"` RequestedPool string `json:"requestedPool"` PhysicalPool string SizeBytes uint64 `json:"size"` } type CreatingVolume struct { Name string Iterations int FinalIteration int Error string }
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage/fake/storage_pool.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage/fake/storage_pool.go
package fake import ( "encoding/json" sa "github.com/netapp/trident/storage_attribute" ) type StoragePool struct { Attrs map[string]sa.Offer `json:"attributes"` Bytes uint64 `json:"sizeBytes"` } // UnmarshalJSON implements json.Unmarshaler and allows FakeStoragePool // to be unmarshaled with the At...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/defined_log_layers.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/defined_log_layers.go
package logging import ( . "github.com/netapp/trident/config" ) const ( // By default, specifying a log layer in addition to a workflow will reduce the the workflow logging to only // workflows within that layer. Putting this modifier in front of a layer will log things in that layer in addition // to the workflo...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/logging.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/logging.go
// Copyright 2018 NetApp, Inc. All Rights Reserved. package logging import ( "bytes" "encoding/json" "fmt" "io" "os" "runtime" "sort" "strconv" "strings" "sync" "time" log "github.com/sirupsen/logrus" "golang.org/x/crypto/ssh/terminal" "github.com/netapp/trident/config" "github.com/netapp/trident/uti...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/types.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/types.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package logging import ( "context" log "github.com/sirupsen/logrus" ) const ( ContextKeyRequestID ContextKey = "requestID" ContextKeyRequestSource ContextKey = "requestSource" ContextKeyWorkflow ContextKey = "workflow" ContextKeyLogLayer Contex...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/audit_logger.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/audit_logger.go
package logging import ( "context" ) const auditKey = "audit" var auditor AuditLogger type auditLogger struct { enabled bool } func InitAuditLogger(disabled bool) { auditor = newAuditLogger(disabled) } func Audit() AuditLogger { return auditor } func newAuditLogger(disabled bool) AuditLogger { logr := &audi...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/patterns.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/patterns.go
package logging import "regexp" var basicAuthorization = redactedPattern{ re: regexp.MustCompile(`Authorization: Basic [A-Za-z0-9+/=]+`), rep: []byte("Authorization: Basic <REDACTED>"), } // csiSecrets is a pattern intended to match the logging of the secrets field in CSI gRPC requests from the CSI sidecars // Ex...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/config.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/config.go
// Copyright 2018 NetApp, Inc. All Rights Reserved. package logging import "github.com/netapp/trident/config" const ( LogRoot = "/var/log/" + config.OrchestratorName LogRotationThreshold = 10485760 // 10 MB MaxLogEntryLength = 64000 RandomLogcheckEnvVar = "LOGROTATE_FREQUENCY" ) var randomLogche...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/defined_workflows.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/defined_workflows.go
package logging const ( WorkflowFlagSeparator = ":" workflowCategorySeparator = "=" workflowOperationSeparator = "," CategoryCore = WorkflowCategory("core") CategoryCRDController = WorkflowCategory("crd_controller") CategoryCR = WorkflowCategory("cr") CategoryStorageClient = Workf...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/redactor.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/redactor.go
package logging import ( "regexp" log "github.com/sirupsen/logrus" ) type redactedPattern struct { re *regexp.Regexp rep []byte } // Redacted patterns and their replacements - add additional patterns here var redactedPatterns = []redactedPattern{ basicAuthorization, csiSecrets, chapAuthorization, chapAutho...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/logger.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/logger.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package logging import ( "context" "fmt" "sort" "strings" "github.com/google/uuid" log "github.com/sirupsen/logrus" ) const ( UseDefault = iota Trace ) var ( // The workflows map has an innermost bool type to match the selectedWorkflows map. If it didn't...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/log_entry.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/logging/log_entry.go
package logging import ( log "github.com/sirupsen/logrus" ) type logEntry struct { entry *log.Entry dynamicLevel log.Level } func newLogEntry(fields log.Fields) LogEntry { return &logEntry{ entry: log.WithFields(fields), dynamicLevel: defaultLogLevel, } } func (le *logEntry) getEntryFromEntry...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/devices.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/devices.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "bytes" "encoding/hex" "fmt" "os" "path/filepath" "strconv" "strings" "time" "github.com/cenkalti/backoff/v4" "golang.org/x/net/context" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) const ( l...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
true
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/mount_linux.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/mount_linux.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "fmt" "os" "path" "path/filepath" "regexp" "strings" "syscall" "golang.org/x/net/context" . "github.com/netapp/trident/logging" sa "github.com/netapp/trident/storage_attribute" "github.com/netapp/trident/utils/errors" ) // Part o...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/locks.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/locks.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "sync" "sync/atomic" . "github.com/netapp/trident/logging" ) // sync.Map is like a Go map[interface{}]interface{} but is safe for concurrent use by multiple // goroutines without additional locking or coordination. var sharedLo...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/osutils.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/osutils.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "fmt" "net" "os" "regexp" "sort" "strings" "time" "github.com/cenkalti/backoff/v4" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/exec" ) var ( iqnRegex = regexp.MustCompile(`^\s*In...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/nfs.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/nfs.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "fmt" . "github.com/netapp/trident/logging" ) // AttachNFSVolume attaches the volume to the local host. // This method must be able to accomplish its task using only the data passed in. // It may be assumed that this method alwa...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/nvme_darwin.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/nvme_darwin.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package utils import ( "context" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) // NVMeActiveOnHost checks if NVMe is active on host func NVMeActiveOnHost(ctx context.Context) (bool, error) { Logc(ctx).Debug(">>>> nvme_darwin....
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/nvme_types.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/nvme_types.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package utils import ( "context" "time" ) //go:generate mockgen -destination=../mocks/mock_utils/mock_nvme_utils.go github.com/netapp/trident/utils NVMeInterface // MaxSessionsPerSubsystem represents the total number of paths from host to ONTAP subsystem. // NVM...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/types.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/types.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "fmt" "strings" "time" "github.com/mitchellh/copystructure" "github.com/netapp/trident/utils/errors" ) //go:generate mockgen -destination=../mocks/mock_utils/mock_json_utils.go github.com/netapp/trident/utils JSONReaderWrite...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/bof_types.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/bof_types.go
package utils import ( "context" ) //go:generate mockgen -destination=../mocks/mock_utils/mock_bof_utils.go github.com/netapp/trident/utils BlockOnFileReconcileUtils type BlockOnFileReconcileUtils interface { GetLoopDeviceAttachedToFile(context.Context, string) (bool, *LoopDevice, error) ReconcileBlockOnFileVolum...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/csiutils_windows.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/csiutils_windows.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. // This file contains the code derived from https://github.com/kubernetes-csi/csi-driver-smb/blob/master/pkg/mounter/safe_mounter_windows.go package utils import ( "context" "fmt" "os" "path/filepath" "strings" fs "github.com/kubernetes-csi/csi-proxy/client/a...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/smb.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/smb.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "fmt" . "github.com/netapp/trident/logging" ) // AttachSMBVolume attaches the volume to the local host. This method must be able to accomplish its task using only the data passed in. // It may be assumed that this method always ...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/filesystem_windows.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/filesystem_windows.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "os" "strings" "golang.org/x/net/context" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) func getFilesystemSize(ctx context.Context, _ string) (int64, error) { Logc(ctx).Debug(">>>> filesystem_windows...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/utils.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/utils.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "bytes" "context" "crypto/rand" "encoding/base64" "encoding/json" "fmt" "net" "net/http" "net/url" "os" "reflect" "regexp" "sort" "strconv" "strings" "time" "go.uber.org/multierr" "golang.org/x/text/cases" "golang.org/x/tex...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/osutils_linux.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/osutils_linux.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "encoding/json" "fmt" "net" "os" "os/exec" "path" "time" "github.com/vishvananda/netlink" "github.com/zcalusic/sysinfo" "golang.org/x/sys/unix" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/err...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/osutils_darwin.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/osutils_darwin.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "net" "os" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) // The Trident build process builds the Trident CLI client for both linux and darwin. // At compile time golang will type checks the e...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/iscsi_windows.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/iscsi_windows.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. // This file should only contain functions for handling the filesystem for Windows flavor package utils import ( "context" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) // ISCSIActiveOnHost unused stub function func ISCSIActi...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/csiutils_windows_types.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/csiutils_windows_types.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "k8s.io/mount-utils" ) //go:generate mockgen -destination=../mocks/mock_utils/mock_csiutils.go github.com/netapp/trident/utils CSIProxyUtils type CSIProxyUtils interface { SMBMount(context.Context, string, string, string, strin...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/nvme_windows.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/nvme_windows.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package utils import ( "context" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) // NVMeActiveOnHost checks if NVMe is active on host func NVMeActiveOnHost(ctx context.Context) (bool, error) { Logc(ctx).Debug(">>>> nvme_windows...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/filesystem.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/filesystem.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "encoding/json" "fmt" "io/fs" "os" "strings" "time" "github.com/cenkalti/backoff/v4" "github.com/spf13/afero" "go.uber.org/multierr" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) cons...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/iscsi_linux.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/iscsi_linux.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. // File to contain iscsi protocol related functionalities for linux flavor package utils import ( "context" . "github.com/netapp/trident/logging" ) // ISCSIActiveOnHost will return if the iscsi daemon is active on the given host func ISCSIActiveOnHost(ctx conte...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/bof.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/bof.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "encoding/json" "fmt" "os" "os/exec" "path" "path/filepath" "strings" "time" "github.com/cenkalti/backoff/v4" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) var BofUtils = NewBlockOnFi...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/devices_darwin.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/devices_darwin.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. // NOTE: This file should only contain functions for handling devices for Darwin flavor package utils import ( "golang.org/x/net/context" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) // flushOneDevice unused stub function fu...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/filesystem_darwin.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/filesystem_darwin.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. // NOTE: This file should only contain functions for handling the filesystem for Darwin flavor package utils import ( "golang.org/x/net/context" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) // GetFilesystemStats unused stub ...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/mount_darwin.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/mount_darwin.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "fmt" "golang.org/x/net/context" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) func IsLikelyNotMountPoint(ctx context.Context, mountpoint string) (bool, error) { Logc(ctx).Debug(">>>> mount_darwin.IsL...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/mount.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/mount.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "fmt" "path" "strconv" "strings" "time" "github.com/cenkalti/backoff/v4" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) // mountFilesystemForResize expands a filesystem. The xfs_growfs ut...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/devices_windows.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/devices_windows.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. // NOTE: This file should only contain functions for handling devices for windows flavor package utils import ( "golang.org/x/net/context" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) // flushOneDevice unused stub function f...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/mount_windows.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/mount_windows.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "fmt" . "github.com/netapp/trident/logging" sa "github.com/netapp/trident/storage_attribute" "github.com/netapp/trident/utils/errors" ) func GetFilesystemStats(ctx context.Context, path string) (int64, int64, int64, int64, int6...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/iscsi_types.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/iscsi_types.go
package utils import ( "context" ) //go:generate mockgen -destination=../mocks/mock_utils/mock_iscsi_utils.go github.com/netapp/trident/utils IscsiReconcileUtils type IscsiReconcileUtils interface { GetISCSIHostSessionMapForTarget(context.Context, string) map[int]int GetSysfsBlockDirsForLUN(int, map[int]int) []st...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/nvme_linux.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/nvme_linux.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package utils import ( "context" "encoding/json" "fmt" "strings" "time" . "github.com/netapp/trident/logging" sa "github.com/netapp/trident/storage_attribute" ) var transport = "tcp" // GetHostNqn returns the Nqn string of the k8s node. func GetHostNqn(ctx...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/osutils_windows.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/osutils_windows.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "net" "path" "strings" "github.com/elastic/go-sysinfo" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) // The Trident build process builds the Trident CLI client for both linux and windows. ...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/iscsi.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/iscsi.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package utils import ( "context" "encoding/binary" "encoding/hex" "fmt" "os" "os/exec" "regexp" "sort" "strconv" "strings" "syscall" "time" "github.com/cenkalti/backoff/v4" "github.com/netapp/trident/config" . "github.com/netapp/trident/logging" "g...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
true
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/devices_linux.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/devices_linux.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. // NOTE: This file should only contain functions for handling devices for linux flavor package utils import ( "fmt" "os" "os/exec" "strings" "syscall" "time" "unsafe" log "github.com/sirupsen/logrus" "github.com/cenkalti/backoff/v4" "golang.org/x/net/co...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/iscsi_darwin.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/iscsi_darwin.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. // File to contain iscsi protocol related functionalities for Darwin flavor package utils import ( "context" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) // ISCSIActiveOnHost unused stub function func ISCSIActiveOnHost(ctx c...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/filesystem_linux.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/filesystem_linux.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. // This file should only contain functions for handling the filesystem for Linux flavor package utils import ( "context" "fmt" "time" "golang.org/x/sys/unix" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) // GetFilesystemS...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/nvme.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/nvme.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package utils import ( "context" "fmt" "os/exec" "sort" "strings" "time" "github.com/cenkalti/backoff/v4" "go.uber.org/multierr" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils/errors" ) const NVMeAttachTimeout = 20 * time.Second ...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/version/errors.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/version/errors.go
package version import "fmt" // /////////////////////////////////////////////////////////////////////////// // unsupportedKubernetesVersionError // /////////////////////////////////////////////////////////////////////////// type unsupportedKubernetesVersionError struct { message string } func (e *unsupportedKubern...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/version/version.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/version/version.go
/* * Copyright 2018 NetApp, Inc. All Rights Reserved. */ /* Copyright 2016 The Kubernetes 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 ...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/errors/errors.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/errors/errors.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package errors import ( "encoding/json" "errors" "fmt" "io" "strings" "go.uber.org/multierr" ) // /////////////////////////////////////////////////////////////////////////// // Wrappers for standard library errors package // /////////////////////////////////...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/exec/testing.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/exec/testing.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package exec import ( "context" b64 "encoding/base64" "fmt" "os" "os/exec" "time" ) type fakeExecResults struct { out string code int padding int delay time.Duration } // NewFakeExitError uses a fake exec command shell to generate a fake exit er...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/exec/command.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/exec/command.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package exec //go:generate mockgen -destination=../../mocks/mock_utils/mock_exec/mock_command.go github.com/netapp/trident/utils/exec Command import ( "context" "fmt" "os/exec" "regexp" "strings" "time" . "github.com/netapp/trident/logging" "github.com/net...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/crypto/crypto.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/utils/crypto/crypto.go
// Copyright 2019 NetApp, Inc. All Rights Reserved. package crypto import ( "bytes" "crypto/aes" "crypto/cipher" "crypto/ecdsa" "crypto/elliptic" cryptoRand "crypto/rand" "crypto/sha256" "crypto/x509" "crypto/x509/pkix" "encoding/base64" "encoding/pem" "fmt" "io" "math" "math/big" mathRand "math/rand"...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/request.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/request.go
// Copyright 2018 NetApp, Inc. All Rights Reserved. package storageattribute import ( "encoding/json" "fmt" "strconv" "strings" ) func UnmarshalRequestMap(mapJSON json.RawMessage) ( map[string]Request, error, ) { var tmp map[string]string ret := make(map[string]Request) if mapJSON == nil { return nil, nil...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/offer.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/offer.go
// Copyright 2018 NetApp, Inc. All Rights Reserved. package storageattribute import ( "encoding/json" "fmt" ) func UnmarshalOfferMap(mapJSON json.RawMessage) (map[string]Offer, error) { var tmp map[string]json.RawMessage ret := make(map[string]Offer) err := json.Unmarshal(mapJSON, &tmp) if err != nil { retu...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/bool.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/bool.go
// Copyright 2018 NetApp, Inc. All Rights Reserved. package storageattribute import ( "fmt" ) func NewBoolOffer(offer bool) Offer { return &boolOffer{ Offer: offer, } } func NewBoolOfferFromOffers(offers ...Offer) Offer { anyTrueOffer := false for _, offer := range offers { if bOffer, ok := offer.(*boolOf...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/types.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/types.go
// Copyright 2018 NetApp, Inc. All Rights Reserved. package storageattribute type Offer interface { Matches(requested Request) bool ToString() string } // At the moment, there aren't any terribly useful methods to put here, but // there might be. This is more here for symmetry at the moment. type Request interfac...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/string.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/string.go
// Copyright 2018 NetApp, Inc. All Rights Reserved. package storageattribute import ( "fmt" "strings" ) func NewStringOffer(offers ...string) Offer { return &stringOffer{ Offers: offers, } } func NewStringOfferFromOffers(offers ...Offer) Offer { // Use a map as a set to deduplicate the string offers offerMa...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/int.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/int.go
// Copyright 2018 NetApp, Inc. All Rights Reserved. package storageattribute import ( "fmt" ) func NewIntOffer(min, max int) Offer { return &intOffer{ Min: min, Max: max, } } func (o *intOffer) Matches(r Request) bool { ir, ok := r.(*intRequest) if !ok { return false } return ir.Request >= o.Min && ir....
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/common_attributes.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/common_attributes.go
// Copyright 2018 NetApp, Inc. All Rights Reserved. package storageattribute const ( // Constants for integer storage category attributes IOPS = "IOPS" // Constants for boolean storage category attributes Snapshots = "snapshots" Clones = "clones" Encryption = "encryption" Replication = "replication" ...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/label.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_attribute/label.go
// Copyright 2018 NetApp, Inc. All Rights Reserved. package storageattribute import ( "fmt" "regexp" "strings" . "github.com/netapp/trident/logging" ) var ( labelEqualRegex = regexp.MustCompile(`^(?P<labelName>[\w-]+)\s*={1,2}\s*(?P<labelValue>[\w-]+)$`) labelNotEqualRegex = regexp.MustCompile(`^(?P<labe...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/types.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/types.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package storagedrivers import ( "encoding/json" "fmt" "strings" trident "github.com/netapp/trident/config" . "github.com/netapp/trident/logging" "github.com/netapp/trident/storage/fake" sfapi "github.com/netapp/trident/storage_drivers/solidfire/api" "github...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
true
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/config.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/config.go
// Copyright 2022 NetApp, Inc. All Rights Reserved. package storagedrivers // Backend Credentials specific type CredentialStore string // ConfigVersion is the expected version specified in the config file const ( ConfigVersion = 1 // Default storage prefix DefaultDockerStoragePrefix = "netappdvp_" DefaultTride...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/common.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/common.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package storagedrivers import ( "bytes" "context" "encoding/gob" "encoding/json" "fmt" "reflect" "strconv" "strings" trident "github.com/netapp/trident/config" . "github.com/netapp/trident/logging" "github.com/netapp/trident/utils" "github.com/netapp/tr...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/ontap_rest_interface.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/ontap_rest_interface.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. // DO NOT EDIT: Auto generated using 'ifacemaker -f ontap_rest.go -s RestClient -i RestClientInterface -p api' package api //go:generate mockgen -destination=../../../mocks/mock_storage_drivers/mock_ontap/mock_ontap_rest_interface.go github.com/netapp/trident/storag...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/abstraction_rest.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/abstraction_rest.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package api import ( "bytes" "context" "encoding/json" "fmt" "math" "runtime/debug" "sort" "strconv" "strings" "time" "github.com/cenkalti/backoff/v4" . "github.com/netapp/trident/logging" sa "github.com/netapp/trident/storage_attribute" "github.com/...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
true
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/types.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/types.go
// Copyright 2021 NetApp, Inc. All Rights Reserved. package api import "time" //go:generate mockgen -destination=../../../mocks/mock_storage_drivers/mock_ontap/mock_api.go github.com/netapp/trident/storage_drivers/ontap/api OntapAPI,AggregateSpace,Response type Volume struct { AccessType string Aggregates ...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/abstraction_error.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/abstraction_error.go
// Copyright 2021 NetApp, Inc. All Rights Reserved. package api // /////////////////////////////////////////////////////////////////////////// // REST error codes // /////////////////////////////////////////////////////////////////////////// const ( ENTRY_DOESNT_EXIST = "4" DP_VOLUME_NOT_INI...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/ontap_rest.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/ontap_rest.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package api import ( "context" "crypto/tls" "crypto/x509" "encoding/base64" "encoding/json" "fmt" "io" "math" "net/http" "net/url" "os" "reflect" "runtime/debug" "strconv" "strings" "time" "github.com/cenkalti/backoff/v4" "github.com/go-openapi/ru...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
true
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/abstraction.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/abstraction.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package api import ( "context" "fmt" "runtime/debug" "strings" "time" . "github.com/netapp/trident/logging" "github.com/netapp/trident/storage_drivers/ontap/api/azgo" ) // /////////////////////////////////////////////////////////////////////////////////////...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/ontap_zapi.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/ontap_zapi.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package api import ( "bytes" "context" "fmt" "strings" "sync" "time" "github.com/cenkalti/backoff/v4" tridentconfig "github.com/netapp/trident/config" . "github.com/netapp/trident/logging" "github.com/netapp/trident/storage_drivers/ontap/api/azgo" "gith...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
true
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/fake_ontap_zapi_responses.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/fake_ontap_zapi_responses.go
// Copyright 2021 NetApp, Inc. All Rights Reserved. package api import ( "bytes" "context" "encoding/xml" "fmt" "io" "net" "net/http" "net/http/httptest" "strings" . "github.com/netapp/trident/logging" "github.com/netapp/trident/storage_drivers/ontap/api/azgo" ) const ( iqnRowTemplate = ` ...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/ontap_zapi_interface.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/ontap_zapi_interface.go
// Copyright 2024 NetApp, Inc. All Rights Reserved. // DO NOT EDIT: Auto generated using 'ifacemaker -f ontap_zapi.go -s Client -i ZapiClientInterface -p api > ontap_zapi_interface.go' package api //go:generate mockgen -destination=../../../mocks/mock_storage_drivers/mock_ontap/mock_ontap_zapi_interface.go github.co...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/abstraction_zapi.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/abstraction_zapi.go
// Copyright 2023 NetApp, Inc. All Rights Reserved. package api import ( "context" "encoding/json" "fmt" "runtime/debug" "sort" "strconv" "strings" "sync" "time" "github.com/cenkalti/backoff/v4" . "github.com/netapp/trident/logging" sa "github.com/netapp/trident/storage_attribute" drivers "github.com/n...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
true
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/azgo/type-sm-policy.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/azgo/type-sm-policy.go
// Code generated automatically. DO NOT EDIT. // Copyright 2022 NetApp, Inc. All Rights Reserved. package azgo // SmPolicyType is a structure to represent a sm-policy ZAPI object type SmPolicyType = string
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false
kubev2v/forklift
https://github.com/kubev2v/forklift/blob/b3b4703e958c25d54c4d48138d9e80ae32fadac3/cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/azgo/type-vmhost-info.go
cmd/vsphere-xcopy-volume-populator/vendor/github.com/netapp/trident/storage_drivers/ontap/api/azgo/type-vmhost-info.go
// Code generated automatically. DO NOT EDIT. // Copyright 2022 NetApp, Inc. All Rights Reserved. package azgo import ( "encoding/xml" log "github.com/sirupsen/logrus" "reflect" ) // VmhostInfoType is a structure to represent a vmhost-info ZAPI object type VmhostInfoType struct { XMLName xml.Nam...
go
Apache-2.0
b3b4703e958c25d54c4d48138d9e80ae32fadac3
2026-01-07T09:44:30.792320Z
false