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 NewInternalDependencyDetector ¶
func NewInternalDependencyDetector(opts InternalDependencyDetectorOptions) *InternalDependencyDetector
func (*InternalDependencyDetector) Detect ¶
func (d *InternalDependencyDetector) Detect(unstruct *unstructured.Unstructured) []*InternalDependency
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" )
Click to show internal directories.
Click to hide internal directories.