v1alpha1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2020 License: Apache-2.0 Imports: 5 Imported by: 6 modules, 8 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the operator-utils v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator-utils.example.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "operator-utils.example.io", 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 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

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 EnforcingPatch

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

func (*EnforcingPatch) DeepCopy

func (in *EnforcingPatch) DeepCopy() *EnforcingPatch

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

func (*EnforcingPatch) DeepCopyInto

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

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

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

func (*EnforcingPatch) GetEnforcingReconcileStatus

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

func (*EnforcingPatch) SetEnforcingReconcileStatus

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

type EnforcingPatchList

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

func (in *EnforcingPatchList) DeepCopy() *EnforcingPatchList

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

func (*EnforcingPatchList) DeepCopyInto

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

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

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

type EnforcingPatchSpec

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

func (in *EnforcingPatchSpec) DeepCopy() *EnforcingPatchSpec

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

func (*EnforcingPatchSpec) DeepCopyInto

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

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

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

func (*EnforcingPatchStatus) DeepCopyInto

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

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) GetConditions

func (m *MyCRD) GetConditions() []metav1.Condition

func (*MyCRD) SetConditions

func (m *MyCRD) SetConditions(conditions []metav1.Condition)

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

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 {

	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

MyCRDStatus defines the observed state of MyCRD

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

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