Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var (
// AddToScheme applies the SchemeBuilder functions to a specified scheme.
AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{
Group: "gitopszombies",
Version: "v1",
}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource.
Types ¶
type Config ¶
type Config struct {
metav1.TypeMeta `json:",inline"`
ExcludeClusters []string `json:"excludeClusters,omitempty"`
ExcludeResources []ExcludeResources `json:"excludeResources,omitempty"`
Fail bool `json:"fail,omitempty"`
IncludeAll bool `json:"includeAll,omitempty"`
LabelSelector string `json:"selector,omitempty"`
NoStream bool `json:"noStream,omitempty"`
}
Config defines the config for gitops-zombies.
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Config) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExcludeResources ¶
type ExcludeResources struct {
Cluster string `json:"cluster,omitempty"`
Annotations map[string]string `json:"annotations,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`
Namespace string `json:"namespace,omitempty"`
metav1.TypeMeta `json:",inline"`
}
ExcludeResources configures filters to exclude resources from zombies list.
func (*ExcludeResources) DeepCopy ¶
func (in *ExcludeResources) DeepCopy() *ExcludeResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludeResources.
func (*ExcludeResources) DeepCopyInto ¶
func (in *ExcludeResources) DeepCopyInto(out *ExcludeResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.