dependency

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalDependency

type ExternalDependency struct {
	*id.ResourceID
}

func NewExternalDependency

func NewExternalDependency(name, namespace string, gvk schema.GroupVersionKind, opts ExternalDependencyOptions) *ExternalDependency

type ExternalDependencyOptions

type ExternalDependencyOptions struct {
	DefaultNamespace string
	FilePath         string
	Mapper           meta.ResettableRESTMapper
}

type InternalDependency

type InternalDependency struct {
	*matcher.ResourceMatcher
	ResourceState ResourceState
}

func NewInternalDependency

func NewInternalDependency(matchNames, matchNamespaces, matchGroups, matchVersions, matchKinds []string, opts InternalDependencyOptions) *InternalDependency

type InternalDependencyDetector

type InternalDependencyDetector struct {
	// contains filtered or unexported fields
}

func (*InternalDependencyDetector) Detect

type InternalDependencyDetectorOptions

type InternalDependencyDetectorOptions struct {
	DefaultNamespace string
}

type InternalDependencyOptions

type InternalDependencyOptions struct {
	DefaultNamespace string
	ResourceState    ResourceState
}

type ResourceState

type ResourceState string
const (
	ResourceStateAbsent  ResourceState = "absent"
	ResourceStatePresent ResourceState = "present"
	ResourceStateReady   ResourceState = "ready"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL