Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the status v1beta1 API group +kubebuilder:object:generate=true +groupName=status.gatekeeper.sh
Index ¶
- Constants
- Variables
- func DashPacker(vals ...string) (string, error)
- func KeyForConfig(id string, configNamespace string, configName string) (string, error)
- func KeyForConstraint(id string, constraint *unstructured.Unstructured) (string, error)
- func KeyForConstraintTemplate(id string, templateName string) (string, error)
- func KeyForExpansionTemplate(id string, templateName string) (string, error)
- func KeyForMutatorID(id string, mID mtypes.ID) (string, error)
- type ConfigError
- type ConfigPodStatus
- type ConfigPodStatusList
- type ConfigPodStatusStatus
- type ConstraintPodStatus
- type ConstraintPodStatusList
- type ConstraintPodStatusStatus
- type ConstraintTemplatePodStatus
- type ConstraintTemplatePodStatusList
- type ConstraintTemplatePodStatusStatus
- type EnforcementPointStatus
- type Error
- type ExpansionTemplateError
- type ExpansionTemplatePodStatus
- type ExpansionTemplatePodStatusList
- type ExpansionTemplatePodStatusStatus
- type MutatorError
- type MutatorPodStatus
- type MutatorPodStatusList
- type MutatorPodStatusStatus
- type VAPGenerationStatus
Constants ¶
const ( ConfigNameLabel = "internal.gatekeeper.sh/config-name" ExpansionTemplateNameLabel = "internal.gatekeeper.sh/expansiontemplate-name" ConstraintNameLabel = "internal.gatekeeper.sh/constraint-name" ConstraintKindLabel = "internal.gatekeeper.sh/constraint-kind" ConstraintTemplateNameLabel = "internal.gatekeeper.sh/constrainttemplate-name" MutatorNameLabel = "internal.gatekeeper.sh/mutator-name" MutatorKindLabel = "internal.gatekeeper.sh/mutator-kind" PodLabel = "internal.gatekeeper.sh/pod" )
Label keys used for internal gatekeeper operations.
const ConstraintsGroup = "constraints.gatekeeper.sh"
ConstraintsGroup is the API Group for Gatekeeper Constraints.
const MutationsGroup = "mutations.gatekeeper.sh"
MutationsGroup is the API Group for Gatekeeper Mutators.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "status.gatekeeper.sh", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func DashPacker ¶
DashPacker puts a list of strings into a dash-separated format. Note that it cannot handle empty strings, as that makes the dash separator for the empty string reduce to an escaped dash. This is fine because none of the packed strings are allowed to be empty. If this changes in the future, we could create a placeholder for the empty string, say `b`, and replace all instances of `b` in the input stream with `bb`, which could then be unfolded. If we need that, we are already changing the schema of the status resource, and therefore don't need to deal with it now. It also doesn't handle the case where a value begins or ends with a dash, which is also disallowed by the schema (and would require an additional placeholder character to fix). Finally, note that it is impossible to distinguish between a nil list of strings and a list of one empty string.
func KeyForConfig ¶ added in v3.18.1
KeyForConfig returns a unique status object name given the Pod ID and a config object. The object name must satisfy RFC 1123 Label Names spec (https://kubernetes.io/docs/concepts/overview/working-with-objects/names/) and Kubernetes validation rules for object names.
It's possible that dash packing/unpacking would result in a name that exceeds the maximum length allowed, but for Config resources, the configName should always be "config", and namespace would be "gatekeeper-system", so this validation will hold.
func KeyForConstraint ¶
func KeyForConstraint(id string, constraint *unstructured.Unstructured) (string, error)
KeyForConstraint returns a unique status object name given the Pod ID and a constraint object.
func KeyForConstraintTemplate ¶
KeyForConstraintTemplate returns a unique status object name given the Pod ID and a template object.
func KeyForExpansionTemplate ¶
KeyForExpansionTemplate returns a unique status object name given the Pod ID and a template object.
Types ¶
type ConfigError ¶ added in v3.18.1
func (*ConfigError) DeepCopy ¶ added in v3.18.1
func (in *ConfigError) DeepCopy() *ConfigError
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigError.
func (*ConfigError) DeepCopyInto ¶ added in v3.18.1
func (in *ConfigError) DeepCopyInto(out *ConfigError)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigPodStatus ¶ added in v3.18.1
type ConfigPodStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Status ConfigPodStatusStatus `json:"status,omitempty"` }
func NewConfigStatusForPod ¶ added in v3.18.1
func NewConfigStatusForPod(pod *corev1.Pod, configNamespace string, configName string, scheme *runtime.Scheme) (*ConfigPodStatus, error)
NewConfigStatusForPod returns an config status object that has been initialized with the bare minimum of fields to make it functional with the config status controller.
func (*ConfigPodStatus) DeepCopy ¶ added in v3.18.1
func (in *ConfigPodStatus) DeepCopy() *ConfigPodStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigPodStatus.
func (*ConfigPodStatus) DeepCopyInto ¶ added in v3.18.1
func (in *ConfigPodStatus) DeepCopyInto(out *ConfigPodStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigPodStatus) DeepCopyObject ¶ added in v3.18.1
func (in *ConfigPodStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigPodStatusList ¶ added in v3.18.1
type ConfigPodStatusList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ConfigPodStatus `json:"items"` }
+kubebuilder:object:root=true
func (*ConfigPodStatusList) DeepCopy ¶ added in v3.18.1
func (in *ConfigPodStatusList) DeepCopy() *ConfigPodStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigPodStatusList.
func (*ConfigPodStatusList) DeepCopyInto ¶ added in v3.18.1
func (in *ConfigPodStatusList) DeepCopyInto(out *ConfigPodStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigPodStatusList) DeepCopyObject ¶ added in v3.18.1
func (in *ConfigPodStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigPodStatusStatus ¶ added in v3.18.1
type ConfigPodStatusStatus struct { ID string `json:"id,omitempty"` ConfigUID types.UID `json:"configUID,omitempty"` Operations []string `json:"operations,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` Errors []*ConfigError `json:"errors,omitempty"` }
func (*ConfigPodStatusStatus) DeepCopy ¶ added in v3.18.1
func (in *ConfigPodStatusStatus) DeepCopy() *ConfigPodStatusStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigPodStatusStatus.
func (*ConfigPodStatusStatus) DeepCopyInto ¶ added in v3.18.1
func (in *ConfigPodStatusStatus) DeepCopyInto(out *ConfigPodStatusStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConstraintPodStatus ¶
type ConstraintPodStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Status ConstraintPodStatusStatus `json:"status,omitempty"` }
ConstraintPodStatus is the Schema for the constraintpodstatuses API.
func NewConstraintStatusForPod ¶
func NewConstraintStatusForPod(pod *corev1.Pod, constraint *unstructured.Unstructured, scheme *runtime.Scheme) (*ConstraintPodStatus, error)
NewConstraintStatusForPod returns a constraint status object that has been initialized with the bare minimum of fields to make it functional with the constraint status controller.
func (*ConstraintPodStatus) DeepCopy ¶
func (in *ConstraintPodStatus) DeepCopy() *ConstraintPodStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConstraintPodStatus.
func (*ConstraintPodStatus) DeepCopyInto ¶
func (in *ConstraintPodStatus) DeepCopyInto(out *ConstraintPodStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConstraintPodStatus) DeepCopyObject ¶
func (in *ConstraintPodStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConstraintPodStatusList ¶
type ConstraintPodStatusList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ConstraintPodStatus `json:"items"` }
ConstraintPodStatusList contains a list of ConstraintPodStatus.
func (*ConstraintPodStatusList) DeepCopy ¶
func (in *ConstraintPodStatusList) DeepCopy() *ConstraintPodStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConstraintPodStatusList.
func (*ConstraintPodStatusList) DeepCopyInto ¶
func (in *ConstraintPodStatusList) DeepCopyInto(out *ConstraintPodStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConstraintPodStatusList) DeepCopyObject ¶
func (in *ConstraintPodStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConstraintPodStatusStatus ¶
type ConstraintPodStatusStatus struct { ID string `json:"id,omitempty"` // Storing the constraint UID allows us to detect drift, such as // when a constraint has been recreated after its CRD was deleted // out from under it, interrupting the watch ConstraintUID types.UID `json:"constraintUID,omitempty"` Operations []string `json:"operations,omitempty"` Enforced bool `json:"enforced,omitempty"` Errors []Error `json:"errors,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` EnforcementPointsStatus []EnforcementPointStatus `json:"enforcementPointsStatus,omitempty"` }
ConstraintPodStatusStatus defines the observed state of ConstraintPodStatus.
func (*ConstraintPodStatusStatus) DeepCopy ¶
func (in *ConstraintPodStatusStatus) DeepCopy() *ConstraintPodStatusStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConstraintPodStatusStatus.
func (*ConstraintPodStatusStatus) DeepCopyInto ¶
func (in *ConstraintPodStatusStatus) DeepCopyInto(out *ConstraintPodStatusStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConstraintTemplatePodStatus ¶
type ConstraintTemplatePodStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Status ConstraintTemplatePodStatusStatus `json:"status,omitempty"` }
ConstraintTemplatePodStatus is the Schema for the constrainttemplatepodstatuses API.
func NewConstraintTemplateStatusForPod ¶
func NewConstraintTemplateStatusForPod(pod *corev1.Pod, templateName string, scheme *runtime.Scheme) (*ConstraintTemplatePodStatus, error)
NewConstraintTemplateStatusForPod returns a constraint template status object that has been initialized with the bare minimum of fields to make it functional with the constraint template status controller.
func (*ConstraintTemplatePodStatus) DeepCopy ¶
func (in *ConstraintTemplatePodStatus) DeepCopy() *ConstraintTemplatePodStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConstraintTemplatePodStatus.
func (*ConstraintTemplatePodStatus) DeepCopyInto ¶
func (in *ConstraintTemplatePodStatus) DeepCopyInto(out *ConstraintTemplatePodStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConstraintTemplatePodStatus) DeepCopyObject ¶
func (in *ConstraintTemplatePodStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConstraintTemplatePodStatusList ¶
type ConstraintTemplatePodStatusList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ConstraintTemplatePodStatus `json:"items"` }
ConstraintTemplatePodStatusList contains a list of ConstraintTemplatePodStatus.
func (*ConstraintTemplatePodStatusList) DeepCopy ¶
func (in *ConstraintTemplatePodStatusList) DeepCopy() *ConstraintTemplatePodStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConstraintTemplatePodStatusList.
func (*ConstraintTemplatePodStatusList) DeepCopyInto ¶
func (in *ConstraintTemplatePodStatusList) DeepCopyInto(out *ConstraintTemplatePodStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConstraintTemplatePodStatusList) DeepCopyObject ¶
func (in *ConstraintTemplatePodStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConstraintTemplatePodStatusStatus ¶
type ConstraintTemplatePodStatusStatus struct { // Important: Run "make" to regenerate code after modifying this file ID string `json:"id,omitempty"` TemplateUID types.UID `json:"templateUID,omitempty"` Operations []string `json:"operations,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` Errors []*templatesv1beta1.CreateCRDError `json:"errors,omitempty"` VAPGenerationStatus *VAPGenerationStatus `json:"vapGenerationStatus,omitempty"` }
ConstraintTemplatePodStatusStatus defines the observed state of ConstraintTemplatePodStatus.
func (*ConstraintTemplatePodStatusStatus) DeepCopy ¶
func (in *ConstraintTemplatePodStatusStatus) DeepCopy() *ConstraintTemplatePodStatusStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConstraintTemplatePodStatusStatus.
func (*ConstraintTemplatePodStatusStatus) DeepCopyInto ¶
func (in *ConstraintTemplatePodStatusStatus) DeepCopyInto(out *ConstraintTemplatePodStatusStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnforcementPointStatus ¶ added in v3.18.1
type EnforcementPointStatus struct { EnforcementPoint string `json:"enforcementPoint"` State string `json:"state"` Message string `json:"message,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
EnforcementPointStatus represents the status of a single enforcement point.
func (*EnforcementPointStatus) DeepCopy ¶ added in v3.18.1
func (in *EnforcementPointStatus) DeepCopy() *EnforcementPointStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnforcementPointStatus.
func (*EnforcementPointStatus) DeepCopyInto ¶ added in v3.18.1
func (in *EnforcementPointStatus) DeepCopyInto(out *EnforcementPointStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Error ¶
type Error struct { Code string `json:"code"` Message string `json:"message"` Location string `json:"location,omitempty"` }
Error represents a single error caught while adding a constraint to engine.
func (*Error) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Error.
func (*Error) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExpansionTemplateError ¶
type ExpansionTemplateError struct { Type string `json:"type,omitempty"` Message string `json:"message"` }
func (*ExpansionTemplateError) DeepCopy ¶
func (in *ExpansionTemplateError) DeepCopy() *ExpansionTemplateError
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpansionTemplateError.
func (*ExpansionTemplateError) DeepCopyInto ¶
func (in *ExpansionTemplateError) DeepCopyInto(out *ExpansionTemplateError)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExpansionTemplatePodStatus ¶
type ExpansionTemplatePodStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Status ExpansionTemplatePodStatusStatus `json:"status,omitempty"` }
ExpansionTemplatePodStatus is the Schema for the expansiontemplatepodstatuses API.
func NewExpansionTemplateStatusForPod ¶
func NewExpansionTemplateStatusForPod(pod *corev1.Pod, templateName string, scheme *runtime.Scheme) (*ExpansionTemplatePodStatus, error)
NewExpansionTemplateStatusForPod returns an expansion template status object that has been initialized with the bare minimum of fields to make it functional with the expansion template status controller.
func (*ExpansionTemplatePodStatus) DeepCopy ¶
func (in *ExpansionTemplatePodStatus) DeepCopy() *ExpansionTemplatePodStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpansionTemplatePodStatus.
func (*ExpansionTemplatePodStatus) DeepCopyInto ¶
func (in *ExpansionTemplatePodStatus) DeepCopyInto(out *ExpansionTemplatePodStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExpansionTemplatePodStatus) DeepCopyObject ¶
func (in *ExpansionTemplatePodStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExpansionTemplatePodStatusList ¶
type ExpansionTemplatePodStatusList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ExpansionTemplatePodStatus `json:"items"` }
ExpansionTemplatePodStatusList contains a list of ExpansionTemplatePodStatus.
func (*ExpansionTemplatePodStatusList) DeepCopy ¶
func (in *ExpansionTemplatePodStatusList) DeepCopy() *ExpansionTemplatePodStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpansionTemplatePodStatusList.
func (*ExpansionTemplatePodStatusList) DeepCopyInto ¶
func (in *ExpansionTemplatePodStatusList) DeepCopyInto(out *ExpansionTemplatePodStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExpansionTemplatePodStatusList) DeepCopyObject ¶
func (in *ExpansionTemplatePodStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExpansionTemplatePodStatusStatus ¶
type ExpansionTemplatePodStatusStatus struct { // Important: Run "make" to regenerate code after modifying this file ID string `json:"id,omitempty"` TemplateUID types.UID `json:"templateUID,omitempty"` Operations []string `json:"operations,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` Errors []*ExpansionTemplateError `json:"errors,omitempty"` }
ExpansionTemplatePodStatusStatus defines the observed state of ExpansionTemplatePodStatus.
func (*ExpansionTemplatePodStatusStatus) DeepCopy ¶
func (in *ExpansionTemplatePodStatusStatus) DeepCopy() *ExpansionTemplatePodStatusStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpansionTemplatePodStatusStatus.
func (*ExpansionTemplatePodStatusStatus) DeepCopyInto ¶
func (in *ExpansionTemplatePodStatusStatus) DeepCopyInto(out *ExpansionTemplatePodStatusStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MutatorError ¶
type MutatorError struct { // Type indicates a specific class of error for use by controller code. // If not present, the error should be treated as not matching any known type. Type string `json:"type,omitempty"` Message string `json:"message"` }
MutatorError represents a single error caught while adding a mutator to a system.
func (*MutatorError) DeepCopy ¶
func (in *MutatorError) DeepCopy() *MutatorError
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatorError.
func (*MutatorError) DeepCopyInto ¶
func (in *MutatorError) DeepCopyInto(out *MutatorError)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MutatorPodStatus ¶
type MutatorPodStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Status MutatorPodStatusStatus `json:"status,omitempty"` }
MutatorPodStatus is the Schema for the mutationpodstatuses API.
func NewMutatorStatusForPod ¶
func NewMutatorStatusForPod(pod *corev1.Pod, mutatorID mtypes.ID, scheme *runtime.Scheme) (*MutatorPodStatus, error)
NewMutatorStatusForPod returns a mutator status object that has been initialized with the bare minimum of fields to make it functional with the mutator status controller.
func (*MutatorPodStatus) DeepCopy ¶
func (in *MutatorPodStatus) DeepCopy() *MutatorPodStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatorPodStatus.
func (*MutatorPodStatus) DeepCopyInto ¶
func (in *MutatorPodStatus) DeepCopyInto(out *MutatorPodStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MutatorPodStatus) DeepCopyObject ¶
func (in *MutatorPodStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MutatorPodStatusList ¶
type MutatorPodStatusList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MutatorPodStatus `json:"items"` }
MutatorPodStatusList contains a list of MutatorPodStatus.
func (*MutatorPodStatusList) DeepCopy ¶
func (in *MutatorPodStatusList) DeepCopy() *MutatorPodStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatorPodStatusList.
func (*MutatorPodStatusList) DeepCopyInto ¶
func (in *MutatorPodStatusList) DeepCopyInto(out *MutatorPodStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MutatorPodStatusList) DeepCopyObject ¶
func (in *MutatorPodStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MutatorPodStatusStatus ¶
type MutatorPodStatusStatus struct { ID string `json:"id,omitempty"` // Storing the mutator UID allows us to detect drift, such as // when a mutator has been recreated after its CRD was deleted // out from under it, interrupting the watch MutatorUID types.UID `json:"mutatorUID,omitempty"` Operations []string `json:"operations,omitempty"` Enforced bool `json:"enforced,omitempty"` Errors []MutatorError `json:"errors,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
MutatorPodStatusStatus defines the observed state of MutatorPodStatus.
func (*MutatorPodStatusStatus) DeepCopy ¶
func (in *MutatorPodStatusStatus) DeepCopy() *MutatorPodStatusStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatorPodStatusStatus.
func (*MutatorPodStatusStatus) DeepCopyInto ¶
func (in *MutatorPodStatusStatus) DeepCopyInto(out *MutatorPodStatusStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VAPGenerationStatus ¶ added in v3.18.1
type VAPGenerationStatus struct { State string `json:"state,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` Warning string `json:"warning,omitempty"` }
VAPGenerationStatus represents the status of VAP generation.
func (*VAPGenerationStatus) DeepCopy ¶ added in v3.18.1
func (in *VAPGenerationStatus) DeepCopy() *VAPGenerationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VAPGenerationStatus.
func (*VAPGenerationStatus) DeepCopyInto ¶ added in v3.18.1
func (in *VAPGenerationStatus) DeepCopyInto(out *VAPGenerationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.