Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the SyncSet v1alpha1 API group +kubebuilder:object:generate=true +groupName=syncset.gatekeeper.sh
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "syncset.gatekeeper.sh", 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 GVKEntry ¶
type GVKEntry struct { Group string `json:"group,omitempty"` Version string `json:"version,omitempty"` Kind string `json:"kind,omitempty"` }
func (*GVKEntry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GVKEntry.
func (*GVKEntry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GVKEntry) ToGroupVersionKind ¶ added in v3.15.0
func (e *GVKEntry) ToGroupVersionKind() schema.GroupVersionKind
type SyncSet ¶
type SyncSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SyncSetSpec `json:"spec,omitempty"` }
SyncSet defines which resources Gatekeeper will cache. The union of all SyncSets plus the syncOnly field of Gatekeeper's Config resource defines the sets of resources that will be synced.
func (*SyncSet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncSet.
func (*SyncSet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncSet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SyncSetList ¶
type SyncSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SyncSet `json:"items"` }
SyncSetList contains a list of SyncSet.
func (*SyncSetList) DeepCopy ¶
func (in *SyncSetList) DeepCopy() *SyncSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncSetList.
func (*SyncSetList) DeepCopyInto ¶
func (in *SyncSetList) DeepCopyInto(out *SyncSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncSetList) DeepCopyObject ¶
func (in *SyncSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SyncSetSpec ¶
type SyncSetSpec struct {
GVKs []GVKEntry `json:"gvks,omitempty"`
}
func (*SyncSetSpec) DeepCopy ¶
func (in *SyncSetSpec) DeepCopy() *SyncSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncSetSpec.
func (*SyncSetSpec) DeepCopyInto ¶
func (in *SyncSetSpec) DeepCopyInto(out *SyncSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.