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 PolicyExceptionDraft ¶
type PolicyExceptionDraft struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec gsPolicy.PolicyExceptionSpec `json:"spec,omitempty"` }
PolicyExceptionDraft is the Schema for the policyexceptiondrafts API
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 Target ¶
type Target struct { Namespaces []string `json:"namespaces"` Names []string `json:"names"` Kind string `json:"kind"` }
Target defines a resource to which a PolicyException applies
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.