v1alpha1

package
v3.18.0-rc.1 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the GVKManifest v1alpha1 API group +kubebuilder:object:generate=true +groupName=gvkmanifest.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: "gvkmanifest.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 GVKManifest

type GVKManifest struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec GVKManifestSpec `json:"spec,omitempty"`
}

GVKManifest is the Schema for the GVKManifest API.

func (*GVKManifest) DeepCopy

func (in *GVKManifest) DeepCopy() *GVKManifest

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

func (*GVKManifest) DeepCopyInto

func (in *GVKManifest) DeepCopyInto(out *GVKManifest)

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

func (*GVKManifest) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GVKManifestList

type GVKManifestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GVKManifest `json:"items"`
}

GVKManifestList contains a list of GVKManifests.

func (*GVKManifestList) DeepCopy

func (in *GVKManifestList) DeepCopy() *GVKManifestList

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

func (*GVKManifestList) DeepCopyInto

func (in *GVKManifestList) DeepCopyInto(out *GVKManifestList)

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

func (*GVKManifestList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GVKManifestSpec

type GVKManifestSpec struct {
	Groups map[string]Versions `json:"groups,omitempty"`
}

func (*GVKManifestSpec) DeepCopy

func (in *GVKManifestSpec) DeepCopy() *GVKManifestSpec

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

func (*GVKManifestSpec) DeepCopyInto

func (in *GVKManifestSpec) DeepCopyInto(out *GVKManifestSpec)

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

type Kinds

type Kinds []string

func (Kinds) DeepCopy

func (in Kinds) DeepCopy() Kinds

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

func (Kinds) DeepCopyInto

func (in Kinds) DeepCopyInto(out *Kinds)

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

type Version

type Version struct {
	Name  string   `json:"name,omitempty"`
	Kinds []string `json:"kinds,omitempty"`
}

func (*Version) DeepCopy

func (in *Version) DeepCopy() *Version

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

func (*Version) DeepCopyInto

func (in *Version) DeepCopyInto(out *Version)

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

type Versions

type Versions map[string]Kinds

func (Versions) DeepCopy

func (in Versions) DeepCopy() Versions

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

func (Versions) DeepCopyInto

func (in Versions) DeepCopyInto(out *Versions)

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