Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document struct {
Path string
Index int
Object *unstructured.Unstructured
RootObject *unstructured.Unstructured
}
func DecodeDocumentRoots ¶
type Identity ¶
type Identity struct {
Group string `json:"group" yaml:"group"`
Kind string `json:"kind" yaml:"kind"`
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
Name string `json:"name" yaml:"name"`
}
func IdentityOf ¶
func IdentityOf(obj *unstructured.Unstructured) Identity
type ResourceFilter ¶
ResourceFilter describes rendered Kubernetes resources that should be dropped.
func (ResourceFilter) Drop ¶
func (f ResourceFilter) Drop(obj *unstructured.Unstructured) bool
Drop reports whether obj should be excluded by the filter.
func (ResourceFilter) Empty ¶
func (f ResourceFilter) Empty() bool
Empty reports whether the filter has no effective drop rules.
type SettingsResourceFilter ¶
type SettingsResourceFilter struct {
Exclusions []config.ResourceFilterRule
Inclusions []config.ResourceFilterRule
}
Click to show internal directories.
Click to hide internal directories.