v1alpha1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 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

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

func (in *EnforcingCRD) DeepCopy() *EnforcingCRD

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

func (*EnforcingCRD) DeepCopyInto

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

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

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

func (*EnforcingCRD) GetEnforcingReconcileStatus

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

func (*EnforcingCRD) SetEnforcingReconcileStatus

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

type EnforcingCRDList

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

func (in *EnforcingCRDList) DeepCopy() *EnforcingCRDList

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

func (*EnforcingCRDList) DeepCopyInto

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

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

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

type EnforcingCRDSpec

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

func (in *EnforcingCRDSpec) DeepCopy() *EnforcingCRDSpec

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

func (*EnforcingCRDSpec) DeepCopyInto

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

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

func (in *EnforcingCRDStatus) DeepCopy() *EnforcingCRDStatus

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

func (*EnforcingCRDStatus) DeepCopyInto

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

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

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

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

func (*TemplatedEnforcingCRD) DeepCopyInto

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

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

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

func (*TemplatedEnforcingCRD) GetEnforcingReconcileStatus

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

func (*TemplatedEnforcingCRD) SetEnforcingReconcileStatus

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

type TemplatedEnforcingCRDList

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

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

func (*TemplatedEnforcingCRDList) DeepCopyInto

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

func (*TemplatedEnforcingCRDList) DeepCopyObject

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

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

type TemplatedEnforcingCRDSpec

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

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

func (*TemplatedEnforcingCRDSpec) DeepCopyInto

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

type TemplatedEnforcingCRDStatus

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

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

func (*TemplatedEnforcingCRDStatus) DeepCopyInto

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