v1alpha1

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the example v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=example.io

Package v1alpha1 contains API Schema definitions for the example v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=example.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "example.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type EnforcingCRD added in v0.2.0

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

	Spec   EnforcingCRDSpec   `json:"spec,omitempty"`
	Status EnforcingCRDStatus `json:"status,omitempty"`
}

EnforcingCRD is the Schema for the enforcingcrds API +kubebuilder:subresource:status +kubebuilder:resource:path=enforcingcrds,scope=Namespaced

func (*EnforcingCRD) DeepCopy added in v0.2.0

func (in *EnforcingCRD) DeepCopy() *EnforcingCRD

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

func (*EnforcingCRD) DeepCopyInto added in v0.2.0

func (in *EnforcingCRD) DeepCopyInto(out *EnforcingCRD)

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

func (*EnforcingCRD) DeepCopyObject added in v0.2.0

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

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

func (*EnforcingCRD) GetEnforcingReconcileStatus added in v0.2.0

func (m *EnforcingCRD) GetEnforcingReconcileStatus() apis.EnforcingReconcileStatus

func (*EnforcingCRD) SetEnforcingReconcileStatus added in v0.2.0

func (m *EnforcingCRD) SetEnforcingReconcileStatus(reconcileStatus apis.EnforcingReconcileStatus)

type EnforcingCRDList added in v0.2.0

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

EnforcingCRDList contains a list of EnforcingCRD

func (*EnforcingCRDList) DeepCopy added in v0.2.0

func (in *EnforcingCRDList) DeepCopy() *EnforcingCRDList

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

func (*EnforcingCRDList) DeepCopyInto added in v0.2.0

func (in *EnforcingCRDList) DeepCopyInto(out *EnforcingCRDList)

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

func (*EnforcingCRDList) DeepCopyObject added in v0.2.0

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

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

type EnforcingCRDSpec added in v0.2.0

type EnforcingCRDSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// Resources is a list of resource manifests that should be locked into the specified configuration
	// +kubebuilder:validation:Optional
	// +listType=atomic
	Resources []apis.LockedResource `json:"resources,omitempty"`
}

EnforcingCRDSpec defines the desired state of EnforcingCRD

func (*EnforcingCRDSpec) DeepCopy added in v0.2.0

func (in *EnforcingCRDSpec) DeepCopy() *EnforcingCRDSpec

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

func (*EnforcingCRDSpec) DeepCopyInto added in v0.2.0

func (in *EnforcingCRDSpec) DeepCopyInto(out *EnforcingCRDSpec)

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

type EnforcingCRDStatus added in v0.2.0

type EnforcingCRDStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:validation:Optional
	apis.EnforcingReconcileStatus `json:",inline,omitempty"`
}

EnforcingCRDStatus defines the observed state of EnforcingCRD

func (*EnforcingCRDStatus) DeepCopy added in v0.2.0

func (in *EnforcingCRDStatus) DeepCopy() *EnforcingCRDStatus

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

func (*EnforcingCRDStatus) DeepCopyInto added in v0.2.0

func (in *EnforcingCRDStatus) DeepCopyInto(out *EnforcingCRDStatus)

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

type EnforcingPatch added in v0.2.5

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

	Spec   EnforcingPatchSpec   `json:"spec,omitempty"`
	Status EnforcingPatchStatus `json:"status,omitempty"`
}

EnforcingPatch is the Schema for the enforcingpatches API +kubebuilder:subresource:status +kubebuilder:resource:path=enforcingpatches,scope=Namespaced

func (*EnforcingPatch) DeepCopy added in v0.2.5

func (in *EnforcingPatch) DeepCopy() *EnforcingPatch

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

func (*EnforcingPatch) DeepCopyInto added in v0.2.5

func (in *EnforcingPatch) DeepCopyInto(out *EnforcingPatch)

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

func (*EnforcingPatch) DeepCopyObject added in v0.2.5

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

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

func (*EnforcingPatch) GetEnforcingReconcileStatus added in v0.2.5

func (m *EnforcingPatch) GetEnforcingReconcileStatus() apis.EnforcingReconcileStatus

func (*EnforcingPatch) SetEnforcingReconcileStatus added in v0.2.5

func (m *EnforcingPatch) SetEnforcingReconcileStatus(reconcileStatus apis.EnforcingReconcileStatus)

type EnforcingPatchList added in v0.2.5

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

EnforcingPatchList contains a list of EnforcingPatch

func (*EnforcingPatchList) DeepCopy added in v0.2.5

func (in *EnforcingPatchList) DeepCopy() *EnforcingPatchList

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

func (*EnforcingPatchList) DeepCopyInto added in v0.2.5

func (in *EnforcingPatchList) DeepCopyInto(out *EnforcingPatchList)

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

func (*EnforcingPatchList) DeepCopyObject added in v0.2.5

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

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

type EnforcingPatchSpec added in v0.2.5

type EnforcingPatchSpec struct {

	// Patches is a list of pacthes that should be encforced at runtime.
	// +kubebuilder:validation:Optional
	// +listType=atomic
	Patches []apis.Patch `json:"patches,omitempty"`
}

EnforcingPatchSpec defines the desired state of EnforcingPatch

func (*EnforcingPatchSpec) DeepCopy added in v0.2.5

func (in *EnforcingPatchSpec) DeepCopy() *EnforcingPatchSpec

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

func (*EnforcingPatchSpec) DeepCopyInto added in v0.2.5

func (in *EnforcingPatchSpec) DeepCopyInto(out *EnforcingPatchSpec)

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

type EnforcingPatchStatus added in v0.2.5

type EnforcingPatchStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	apis.EnforcingReconcileStatus `json:",inline,omitempty"`
}

EnforcingPatchStatus defines the observed state of EnforcingPatch

func (*EnforcingPatchStatus) DeepCopy added in v0.2.5

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

func (*EnforcingPatchStatus) DeepCopyInto added in v0.2.5

func (in *EnforcingPatchStatus) DeepCopyInto(out *EnforcingPatchStatus)

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

type MyCRD

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

	Spec   MyCRDSpec   `json:"spec,omitempty"`
	Status MyCRDStatus `json:"status,omitempty"`
}

MyCRD is the Schema for the mycrds API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*MyCRD) DeepCopy

func (in *MyCRD) DeepCopy() *MyCRD

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

func (*MyCRD) DeepCopyInto

func (in *MyCRD) DeepCopyInto(out *MyCRD)

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

func (*MyCRD) DeepCopyObject

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

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

func (*MyCRD) GetReconcileStatus

func (m *MyCRD) GetReconcileStatus() status.Conditions

func (*MyCRD) SetReconcileStatus

func (m *MyCRD) SetReconcileStatus(reconcileStatus status.Conditions)

type MyCRDList

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

MyCRDList contains a list of MyCRD

func (*MyCRDList) DeepCopy

func (in *MyCRDList) DeepCopy() *MyCRDList

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

func (*MyCRDList) DeepCopyInto

func (in *MyCRDList) DeepCopyInto(out *MyCRDList)

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

func (*MyCRDList) DeepCopyObject

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

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

type MyCRDSpec

type MyCRDSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html
	Initialized bool `json:"initialized"`
	Valid       bool `json:"valid"`
	Error       bool `json:"error"`
}

MyCRDSpec defines the desired state of MyCRD +k8s:openapi-gen=true

func (*MyCRDSpec) DeepCopy

func (in *MyCRDSpec) DeepCopy() *MyCRDSpec

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

func (*MyCRDSpec) DeepCopyInto

func (in *MyCRDSpec) DeepCopyInto(out *MyCRDSpec)

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

type MyCRDStatus

type MyCRDStatus struct {
	Conditions status.Conditions `json:"conditions,omitempty"`
}

MyCRDStatus defines the observed state of MyCRD +k8s:openapi-gen=true

func (*MyCRDStatus) DeepCopy

func (in *MyCRDStatus) DeepCopy() *MyCRDStatus

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

func (*MyCRDStatus) DeepCopyInto

func (in *MyCRDStatus) DeepCopyInto(out *MyCRDStatus)

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

type TemplatedEnforcingCRD added in v0.2.1

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

	Spec   TemplatedEnforcingCRDSpec   `json:"spec,omitempty"`
	Status TemplatedEnforcingCRDStatus `json:"status,omitempty"`
}

TemplatedEnforcingCRD is the Schema for the templatedenforcingcrds API +kubebuilder:subresource:status +kubebuilder:resource:path=templatedenforcingcrds,scope=Namespaced

func (*TemplatedEnforcingCRD) DeepCopy added in v0.2.1

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

func (*TemplatedEnforcingCRD) DeepCopyInto added in v0.2.1

func (in *TemplatedEnforcingCRD) DeepCopyInto(out *TemplatedEnforcingCRD)

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

func (*TemplatedEnforcingCRD) DeepCopyObject added in v0.2.1

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

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

func (*TemplatedEnforcingCRD) GetEnforcingReconcileStatus added in v0.2.1

func (m *TemplatedEnforcingCRD) GetEnforcingReconcileStatus() apis.EnforcingReconcileStatus

func (*TemplatedEnforcingCRD) SetEnforcingReconcileStatus added in v0.2.1

func (m *TemplatedEnforcingCRD) SetEnforcingReconcileStatus(reconcileStatus apis.EnforcingReconcileStatus)

type TemplatedEnforcingCRDList added in v0.2.1

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

TemplatedEnforcingCRDList contains a list of TemplatedEnforcingCRD

func (*TemplatedEnforcingCRDList) DeepCopy added in v0.2.1

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

func (*TemplatedEnforcingCRDList) DeepCopyInto added in v0.2.1

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

func (*TemplatedEnforcingCRDList) DeepCopyObject added in v0.2.1

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

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

type TemplatedEnforcingCRDSpec added in v0.2.1

type TemplatedEnforcingCRDSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:validation:Optional
	// +listType=atomic
	Templates []apis.LockedResourceTemplate `json:"templates,omitempty"`
}

TemplatedEnforcingCRDSpec defines the desired state of TemplatedEnforcingCRD

func (*TemplatedEnforcingCRDSpec) DeepCopy added in v0.2.1

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

func (*TemplatedEnforcingCRDSpec) DeepCopyInto added in v0.2.1

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

type TemplatedEnforcingCRDStatus added in v0.2.1

type TemplatedEnforcingCRDStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:validation:Optional
	apis.EnforcingReconcileStatus `json:",inline,omitempty"`
}

TemplatedEnforcingCRDStatus defines the observed state of TemplatedEnforcingCRD

func (*TemplatedEnforcingCRDStatus) DeepCopy added in v0.2.1

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

func (*TemplatedEnforcingCRDStatus) DeepCopyInto added in v0.2.1

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