v1alpha1

package
v3.19.0-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

View Source
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

func (in *GVKEntry) DeepCopy() *GVKEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GVKEntry.

func (*GVKEntry) DeepCopyInto

func (in *GVKEntry) DeepCopyInto(out *GVKEntry)

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

func (in *SyncSet) DeepCopy() *SyncSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncSet.

func (*SyncSet) DeepCopyInto

func (in *SyncSet) DeepCopyInto(out *SyncSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SyncSet) DeepCopyObject

func (in *SyncSet) DeepCopyObject() runtime.Object

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL