Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the policy v1alpha1 API group +kubebuilder:object:generate=true +groupName=policy.giantswarm.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "policy.giantswarm.io", Version: "v1alpha1"} // 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 ¶
This section is empty.
Types ¶
type AutomatedException ¶
type AutomatedException struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PolicyExceptionSpec `json:"spec,omitempty"` Status AutomatedExceptionStatus `json:"status,omitempty"` }
AutomatedException is the Schema for the automatedexceptions API
func (*AutomatedException) DeepCopy ¶
func (in *AutomatedException) DeepCopy() *AutomatedException
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomatedException.
func (*AutomatedException) DeepCopyInto ¶
func (in *AutomatedException) DeepCopyInto(out *AutomatedException)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AutomatedException) DeepCopyObject ¶
func (in *AutomatedException) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AutomatedExceptionList ¶
type AutomatedExceptionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AutomatedException `json:"items"` }
AutomatedExceptionList contains a list of AutomatedException
func (*AutomatedExceptionList) DeepCopy ¶
func (in *AutomatedExceptionList) DeepCopy() *AutomatedExceptionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomatedExceptionList.
func (*AutomatedExceptionList) DeepCopyInto ¶
func (in *AutomatedExceptionList) DeepCopyInto(out *AutomatedExceptionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AutomatedExceptionList) DeepCopyObject ¶
func (in *AutomatedExceptionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AutomatedExceptionStatus ¶
type AutomatedExceptionStatus struct { }
AutomatedExceptionStatus defines the observed state of AutomatedException
func (*AutomatedExceptionStatus) DeepCopy ¶
func (in *AutomatedExceptionStatus) DeepCopy() *AutomatedExceptionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomatedExceptionStatus.
func (*AutomatedExceptionStatus) DeepCopyInto ¶
func (in *AutomatedExceptionStatus) DeepCopyInto(out *AutomatedExceptionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyException ¶
type PolicyException struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PolicyExceptionSpec `json:"spec,omitempty"` }
PolicyException is the Schema for the policyexceptions API +k8s:openapi-gen=true
func (*PolicyException) DeepCopy ¶
func (in *PolicyException) DeepCopy() *PolicyException
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyException.
func (*PolicyException) DeepCopyInto ¶
func (in *PolicyException) DeepCopyInto(out *PolicyException)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyException) DeepCopyObject ¶
func (in *PolicyException) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicyExceptionDraft ¶
type PolicyExceptionDraft struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PolicyExceptionSpec `json:"spec,omitempty"` }
PolicyExceptionDraft is the Schema for the policyexceptiondrafts API +k8s:openapi-gen=true
func (*PolicyExceptionDraft) DeepCopy ¶
func (in *PolicyExceptionDraft) DeepCopy() *PolicyExceptionDraft
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyExceptionDraft.
func (*PolicyExceptionDraft) DeepCopyInto ¶
func (in *PolicyExceptionDraft) DeepCopyInto(out *PolicyExceptionDraft)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyExceptionDraft) DeepCopyObject ¶
func (in *PolicyExceptionDraft) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicyExceptionDraftList ¶
type PolicyExceptionDraftList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PolicyExceptionDraft `json:"items"` }
PolicyExceptionDraftList contains a list of PolicyExceptionDraft
func (*PolicyExceptionDraftList) DeepCopy ¶
func (in *PolicyExceptionDraftList) DeepCopy() *PolicyExceptionDraftList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyExceptionDraftList.
func (*PolicyExceptionDraftList) DeepCopyInto ¶
func (in *PolicyExceptionDraftList) DeepCopyInto(out *PolicyExceptionDraftList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyExceptionDraftList) DeepCopyObject ¶
func (in *PolicyExceptionDraftList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicyExceptionList ¶
type PolicyExceptionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PolicyException `json:"items"` }
PolicyExceptionList contains a list of PolicyException
func (*PolicyExceptionList) DeepCopy ¶
func (in *PolicyExceptionList) DeepCopy() *PolicyExceptionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyExceptionList.
func (*PolicyExceptionList) DeepCopyInto ¶
func (in *PolicyExceptionList) DeepCopyInto(out *PolicyExceptionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyExceptionList) DeepCopyObject ¶
func (in *PolicyExceptionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicyExceptionSpec ¶
type PolicyExceptionSpec struct { // Policies defines the list of policies to be excluded Policies []string `json:"policies"` // Targes defines the list of target workloads where the exceptions will be applied Targets []Target `json:"targets"` }
PolicyExceptionSpec defines the desired state of PolicyException
func (*PolicyExceptionSpec) DeepCopy ¶
func (in *PolicyExceptionSpec) DeepCopy() *PolicyExceptionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyExceptionSpec.
func (*PolicyExceptionSpec) DeepCopyInto ¶
func (in *PolicyExceptionSpec) DeepCopyInto(out *PolicyExceptionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyManifest ¶
type PolicyManifest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PolicyManifestSpec `json:"spec,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:shortName=polman,scope=Cluster PolicyManifest is the Schema for the policymanifests API +k8s:openapi-gen=true
func (*PolicyManifest) DeepCopy ¶
func (in *PolicyManifest) DeepCopy() *PolicyManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyManifest.
func (*PolicyManifest) DeepCopyInto ¶
func (in *PolicyManifest) DeepCopyInto(out *PolicyManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyManifest) DeepCopyObject ¶
func (in *PolicyManifest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicyManifestList ¶
type PolicyManifestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PolicyManifest `json:"items"` }
PolicyManifestList contains a list of PolicyManifest
func (*PolicyManifestList) DeepCopy ¶
func (in *PolicyManifestList) DeepCopy() *PolicyManifestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyManifestList.
func (*PolicyManifestList) DeepCopyInto ¶
func (in *PolicyManifestList) DeepCopyInto(out *PolicyManifestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyManifestList) DeepCopyObject ¶
func (in *PolicyManifestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicyManifestSpec ¶
type PolicyManifestSpec struct { // Foo is an example field of PolicyManifest. Edit policymanifest_types.go to remove/update Mode string `json:"mode"` Args []string `json:"args"` Exceptions []Target `json:"exceptions"` AutomatedExceptions []Target `json:"automatedExceptions"` }
PolicyManifestSpec defines the desired state of PolicyManifest
func (*PolicyManifestSpec) DeepCopy ¶
func (in *PolicyManifestSpec) DeepCopy() *PolicyManifestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyManifestSpec.
func (*PolicyManifestSpec) DeepCopyInto ¶
func (in *PolicyManifestSpec) DeepCopyInto(out *PolicyManifestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Target ¶
type Target struct { // +listType=atomic Namespaces []string `json:"namespaces"` // +listType=atomic Names []string `json:"names"` Kind string `json:"kind"` }
Target defines a resource to which a PolicyException applies +k8s:openapi-gen=true
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.