v1

package
v0.0.0-...-6278c8f Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the onprem v1 API group +kubebuilder:object:generate=true +groupName=terminus.infoblox.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "terminus.infoblox.com", Version: "v1"}

	// 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 FeatureFlag

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

	Spec   FeatureFlagSpec   `json:"spec,omitempty"`
	Status FeatureFlagStatus `json:"status,omitempty"`
}

FeatureFlag is the Schema for the applications API +kubebuilder:printcolumn:name="FeatureName",type=string,JSONPath=`.spec.featureName` +kubebuilder:printcolumn:name="Value",type=string,JSONPath=`.spec.value`

func (*FeatureFlag) DeepCopy

func (in *FeatureFlag) DeepCopy() *FeatureFlag

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

func (*FeatureFlag) DeepCopyInto

func (in *FeatureFlag) DeepCopyInto(out *FeatureFlag)

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

func (*FeatureFlag) DeepCopyObject

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

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

func (*FeatureFlag) Default

func (r *FeatureFlag) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*FeatureFlag) IsBeingDeleted

func (r *FeatureFlag) IsBeingDeleted() bool

IsBeingDeleted returns true if a deletion timestamp is set

func (*FeatureFlag) SetupWebhookWithManager

func (r *FeatureFlag) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*FeatureFlag) ValidateCreate

func (r *FeatureFlag) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*FeatureFlag) ValidateDelete

func (r *FeatureFlag) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*FeatureFlag) ValidateUpdate

func (r *FeatureFlag) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type FeatureFlagList

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

FeatureFlagList contains a list of FeatureFlag

func (*FeatureFlagList) DeepCopy

func (in *FeatureFlagList) DeepCopy() *FeatureFlagList

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

func (*FeatureFlagList) DeepCopyInto

func (in *FeatureFlagList) DeepCopyInto(out *FeatureFlagList)

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

func (*FeatureFlagList) DeepCopyObject

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

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

type FeatureFlagOverride

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

	Spec   FeatureFlagOverrideSpec   `json:"spec,omitempty"`
	Status FeatureFlagOverrideStatus `json:"status,omitempty"`
}

FeatureFlagOverride is the Schema for the applications API +kubebuilder:printcolumn:name="FeatureName",type=string,JSONPath=`.spec.featureName` +kubebuilder:printcolumn:name="Value",type=string,JSONPath=`.spec.value` +kubebuilder:printcolumn:name="Priority",type=integer,JSONPath=`.spec.priority`

func (*FeatureFlagOverride) DeepCopy

func (in *FeatureFlagOverride) DeepCopy() *FeatureFlagOverride

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

func (*FeatureFlagOverride) DeepCopyInto

func (in *FeatureFlagOverride) DeepCopyInto(out *FeatureFlagOverride)

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

func (*FeatureFlagOverride) DeepCopyObject

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

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

func (*FeatureFlagOverride) Default

func (r *FeatureFlagOverride) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*FeatureFlagOverride) IsBeingDeleted

func (r *FeatureFlagOverride) IsBeingDeleted() bool

IsBeingDeleted returns true if a deletion timestamp is set

func (*FeatureFlagOverride) Labels

func (r *FeatureFlagOverride) Labels() map[string]string

Labels returns true if a deletion timestamp is set

func (*FeatureFlagOverride) SetupWebhookWithManager

func (r *FeatureFlagOverride) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*FeatureFlagOverride) ValidateCreate

func (r *FeatureFlagOverride) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*FeatureFlagOverride) ValidateDelete

func (r *FeatureFlagOverride) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*FeatureFlagOverride) ValidateUpdate

func (r *FeatureFlagOverride) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type FeatureFlagOverrideList

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

FeatureFlagOverrideList contains a list of FeatureFlagOverride

func (*FeatureFlagOverrideList) DeepCopy

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

func (*FeatureFlagOverrideList) DeepCopyInto

func (in *FeatureFlagOverrideList) DeepCopyInto(out *FeatureFlagOverrideList)

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

func (*FeatureFlagOverrideList) DeepCopyObject

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

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

type FeatureFlagOverrideSpec

type FeatureFlagOverrideSpec struct {
	// FeatureName is the unique identifier of the feature
	// +kubebuilder:validation:Required
	FeatureName string `json:"featureName"`

	// Value is the opaque data for the feature
	// +kubebuilder:validation:Required
	Value string `json:"value"`

	// Priority is the ordering of
	// +kubebuilder:validation:Required
	Priority int `json:"priority"`

	// LabelSelector is a metav1.LabelSelector which matches against labels sent in host requests by config.generator
	// +kubebuilder:validation:Required
	LabelSelector *metav1.LabelSelector `json:"labelSelector,omitempty"`
}

FeatureFlagOverrideSpec defines the desired state of FeatureFlagOverride

func (*FeatureFlagOverrideSpec) DeepCopy

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

func (*FeatureFlagOverrideSpec) DeepCopyInto

func (in *FeatureFlagOverrideSpec) DeepCopyInto(out *FeatureFlagOverrideSpec)

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

type FeatureFlagOverrideStatus

type FeatureFlagOverrideStatus struct {
}

FeatureFlagOverrideStatus defines the observed state of FeatureFlag

func (*FeatureFlagOverrideStatus) DeepCopy

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

func (*FeatureFlagOverrideStatus) DeepCopyInto

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

type FeatureFlagSpec

type FeatureFlagSpec struct {
	// Value is the opaque data for the feature
	// +kubebuilder:validation:Required
	Value string `json:"value"`
}

FeatureFlagSpec defines the desired state of FeatureFlag

func (*FeatureFlagSpec) DeepCopy

func (in *FeatureFlagSpec) DeepCopy() *FeatureFlagSpec

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

func (*FeatureFlagSpec) DeepCopyInto

func (in *FeatureFlagSpec) DeepCopyInto(out *FeatureFlagSpec)

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

type FeatureFlagStatus

type FeatureFlagStatus struct {
}

FeatureFlagStatus defines the observed state of FeatureFlag

func (*FeatureFlagStatus) DeepCopy

func (in *FeatureFlagStatus) DeepCopy() *FeatureFlagStatus

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

func (*FeatureFlagStatus) DeepCopyInto

func (in *FeatureFlagStatus) DeepCopyInto(out *FeatureFlagStatus)

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