Documentation
¶
Overview ¶
Package v1alpha1 is the internal version of the API.
Index ¶
- Constants
- Variables
- func GetTargetKey(labels map[string]string) (types.NamespacedName, error)
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ConditionReason
- type Config
- func (in *Config) DeepCopy() *Config
- func (in *Config) DeepCopyInto(out *Config)
- func (in *Config) DeepCopyObject() runtime.Object
- func (r *Config) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *Config) FieldSelector() ...
- func (Config) GetCategories() []string
- func (r *Config) GetCondition(t condition.ConditionType) condition.Condition
- func (Config) GetGroupVersionResource() schema.GroupVersionResource
- func (r *Config) GetLastKnownGoodSchema() *ConfigStatusLastKnownGoodSchema
- func (r *Config) GetNamespacedName() types.NamespacedName
- func (r *Config) GetObjectMeta() *metav1.ObjectMeta
- func (r *Config) GetOwnerReference() metav1.OwnerReference
- func (Config) GetShortNames() []string
- func (Config) GetSingularName() string
- func (r *Config) GetStatus() resource.StatusSubResource
- func (r *Config) GetTarget() string
- func (r *Config) HashDeviationGenerationChanged(deviation Deviation) bool
- func (r *Config) IsConditionReady() bool
- func (r *Config) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (r *Config) IsRecoverable() bool
- func (r *Config) IsRevertive() bool
- func (r *Config) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool
- func (Config) IsStorageVersion() bool
- func (Config) NamespaceScoped() bool
- func (Config) New() runtime.Object
- func (Config) NewList() runtime.Object
- func (r *Config) Orphan() bool
- func (r *Config) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *Config) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *Config) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *Config) SetConditions(c ...condition.Condition)
- func (r *Config) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *Config) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *Config) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (r *Config) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type ConfigBlame
- func (in *ConfigBlame) DeepCopy() *ConfigBlame
- func (in *ConfigBlame) DeepCopyInto(out *ConfigBlame)
- func (in *ConfigBlame) DeepCopyObject() runtime.Object
- func (r *ConfigBlame) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *ConfigBlame) FieldSelector() ...
- func (ConfigBlame) GetCategories() []string
- func (ConfigBlame) GetGroupVersionResource() schema.GroupVersionResource
- func (r *ConfigBlame) GetObjectMeta() *metav1.ObjectMeta
- func (ConfigBlame) GetShortNames() []string
- func (ConfigBlame) GetSingularName() string
- func (r *ConfigBlame) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (ConfigBlame) IsStorageVersion() bool
- func (ConfigBlame) NamespaceScoped() bool
- func (ConfigBlame) New() runtime.Object
- func (ConfigBlame) NewList() runtime.Object
- func (r *ConfigBlame) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *ConfigBlame) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *ConfigBlame) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *ConfigBlame) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *ConfigBlame) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type ConfigBlameFilter
- type ConfigBlameList
- type ConfigBlameSpec
- type ConfigBlameStatus
- type ConfigBlob
- type ConfigDeviation
- type ConfigFilter
- type ConfigList
- type ConfigSet
- func (in *ConfigSet) DeepCopy() *ConfigSet
- func (in *ConfigSet) DeepCopyInto(out *ConfigSet)
- func (in *ConfigSet) DeepCopyObject() runtime.Object
- func (r *ConfigSet) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *ConfigSet) FieldSelector() ...
- func (ConfigSet) GetCategories() []string
- func (r *ConfigSet) GetCondition(t condition.ConditionType) condition.Condition
- func (ConfigSet) GetGroupVersionResource() schema.GroupVersionResource
- func (r *ConfigSet) GetObjectMeta() *metav1.ObjectMeta
- func (ConfigSet) GetShortNames() []string
- func (ConfigSet) GetSingularName() string
- func (r *ConfigSet) GetStatus() resource.StatusSubResource
- func (r *ConfigSet) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (r *ConfigSet) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool
- func (ConfigSet) IsStorageVersion() bool
- func (ConfigSet) NamespaceScoped() bool
- func (ConfigSet) New() runtime.Object
- func (ConfigSet) NewList() runtime.Object
- func (r *ConfigSet) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *ConfigSet) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *ConfigSet) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *ConfigSet) SetConditions(c ...condition.Condition)
- func (r *ConfigSet) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *ConfigSet) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *ConfigSet) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (r *ConfigSet) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type ConfigSetFilter
- type ConfigSetList
- type ConfigSetSpec
- type ConfigSetStatus
- type ConfigSpec
- type ConfigStatus
- type ConfigStatusLastKnownGoodSchema
- type DeletionPolicy
- type Deviation
- func (in *Deviation) DeepCopy() *Deviation
- func (in *Deviation) DeepCopyInto(out *Deviation)
- func (in *Deviation) DeepCopyObject() runtime.Object
- func (r *Deviation) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *Deviation) FieldSelector() ...
- func (Deviation) GetCategories() []string
- func (r *Deviation) GetCondition(t condition.ConditionType) condition.Condition
- func (r *Deviation) GetDeviationType() string
- func (Deviation) GetGroupVersionResource() schema.GroupVersionResource
- func (r *Deviation) GetNamespacedName() types.NamespacedName
- func (r *Deviation) GetObjectMeta() *metav1.ObjectMeta
- func (Deviation) GetShortNames() []string
- func (Deviation) GetSingularName() string
- func (r *Deviation) GetStatus() resource.StatusSubResource
- func (r *Deviation) GetTarget() string
- func (r Deviation) HasNotAppliedDeviation() bool
- func (r *Deviation) IsConditionReady() bool
- func (r *Deviation) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (r *Deviation) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool
- func (Deviation) IsStorageVersion() bool
- func (Deviation) NamespaceScoped() bool
- func (Deviation) New() runtime.Object
- func (Deviation) NewList() runtime.Object
- func (r *Deviation) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *Deviation) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *Deviation) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *Deviation) SetConditions(c ...condition.Condition)
- func (r *Deviation) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *Deviation) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *Deviation) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (r *Deviation) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type DeviationFilter
- type DeviationList
- type DeviationSpec
- type DeviationStatus
- type DeviationType
- type Lifecycle
- type RecoveryConfig
- type RunningConfig
- func (in *RunningConfig) DeepCopy() *RunningConfig
- func (in *RunningConfig) DeepCopyInto(out *RunningConfig)
- func (in *RunningConfig) DeepCopyObject() runtime.Object
- func (r *RunningConfig) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *RunningConfig) FieldSelector() ...
- func (RunningConfig) GetCategories() []string
- func (RunningConfig) GetGroupVersionResource() schema.GroupVersionResource
- func (r *RunningConfig) GetObjectMeta() *metav1.ObjectMeta
- func (RunningConfig) GetShortNames() []string
- func (RunningConfig) GetSingularName() string
- func (r *RunningConfig) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (RunningConfig) IsStorageVersion() bool
- func (RunningConfig) NamespaceScoped() bool
- func (RunningConfig) New() runtime.Object
- func (RunningConfig) NewList() runtime.Object
- func (r *RunningConfig) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *RunningConfig) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *RunningConfig) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *RunningConfig) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *RunningConfig) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type RunningConfigFilter
- type RunningConfigList
- type RunningConfigSpec
- type RunningConfigStatus
- type Target
- type TargetStatus
Constants ¶
const ( ConfigPlural = "configs" ConfigSingular = "config" )
const ( ConfigBlamePlural = "configblames" ConfigBlameSingular = "configblame" )
const ( ConfigSetPlural = "configsets" ConfigSetSingular = "configset" )
const ( DeviationPlural = "deviations" DeviationSingular = "deviation" )
const ( TargetNameKey = GroupName + "/" + "targetName" TargetNamespaceKey = GroupName + "/" + "targetNamespace" )
const ( GroupName = "config.sdcio.dev" //Version = "v1alpha1" Version = runtime.APIVersionInternal )
const ( RunningConfigPlural = "runningconfigs" RunningConfigSingular = "runningconfig" )
Variables ¶
var ( ConfigShortNames = []string{} ConfigCategories = []string{"sdc", "knet"} )
var ( ConfigBlameShortNames = []string{} ConfigBlameCategories = []string{"sdc", "knet"} )
var ( ConfigSetShortNames = []string{} ConfigSetCategories = []string{"sdc", "knet"} )
var ( DeviationShortNames = []string{} DeviationCategories = []string{"sdc", "knet"} )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var ( RunningConfigShortNames = []string{} RunningConfigCategories = []string{"sdc", "knet"} )
var (
ConfigBlameKind = reflect.TypeOf(ConfigBlame{}).Name()
)
ConfigBlame type metadata.
var (
ConfigKind = reflect.TypeOf(Config{}).Name()
)
Config type metadata.
var (
ConfigSetKind = reflect.TypeOf(ConfigSet{}).Name()
)
ConfigSet type metadata.
var (
DeviationKind = reflect.TypeOf(Deviation{}).Name()
)
DeviationKind type metadata.
var (
RunningConfigKind = reflect.TypeOf(RunningConfig{}).Name()
)
RunningConfig type metadata.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
Functions ¶
func GetTargetKey ¶ added in v0.0.27
func GetTargetKey(labels map[string]string) (types.NamespacedName, error)
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type ConditionReason ¶
type ConditionReason string
A ConditionReason represents the reason a resource is in a condition.
const ( ConditionReasonReady ConditionReason = "ready" ConditionReasonNotReady ConditionReason = "notReady" ConditionReasonFailed ConditionReason = "failed" ConditionReasonUnknown ConditionReason = "unknown" ConditionReasonDeleting ConditionReason = "deleting" ConditionReasonCreating ConditionReason = "creating" ConditionReasonUpdating ConditionReason = "updating" ConditionReasonTargetDeleted ConditionReason = "target Deleted" ConditionReasonTargetNotReady ConditionReason = "target not ready" ConditionReasonTargetNotFound ConditionReason = "target not found" )
Reasons a resource is ready or not
type Config ¶
type Config struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Spec ConfigSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
Status ConfigStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}
Config defines the Schema for the Config API
func BuildConfig ¶ added in v0.0.47
func BuildConfig(meta metav1.ObjectMeta, spec ConfigSpec) *Config
BuildConfig returns a reource from a client Object a Spec/Status
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Config) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Config) FieldLabelConversion ¶ added in v0.0.27
func (r *Config) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*Config) FieldSelector ¶ added in v0.0.27
func (Config) GetCategories ¶ added in v0.0.27
GetCategories return the categories of the resource GetCategories implements resource.Object
func (*Config) GetCondition ¶ added in v0.0.27
func (r *Config) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition based on the condition kind
func (Config) GetGroupVersionResource ¶ added in v0.0.27
func (Config) GetGroupVersionResource() schema.GroupVersionResource
func (*Config) GetLastKnownGoodSchema ¶ added in v0.0.27
func (r *Config) GetLastKnownGoodSchema() *ConfigStatusLastKnownGoodSchema
func (*Config) GetNamespacedName ¶ added in v0.0.47
func (r *Config) GetNamespacedName() types.NamespacedName
func (*Config) GetObjectMeta ¶ added in v0.0.27
func (r *Config) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (*Config) GetOwnerReference ¶ added in v0.0.53
func (r *Config) GetOwnerReference() metav1.OwnerReference
func (Config) GetShortNames ¶ added in v0.0.27
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (Config) GetSingularName ¶ added in v0.0.27
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*Config) GetStatus ¶ added in v0.0.27
func (r *Config) GetStatus() resource.StatusSubResource
GetStatus return the resource.StatusSubResource interface
func (*Config) HashDeviationGenerationChanged ¶ added in v0.0.53
func (*Config) IsConditionReady ¶ added in v0.0.50
func (*Config) IsEqual ¶ added in v0.0.27
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (*Config) IsRecoverable ¶ added in v0.0.50
func (*Config) IsRevertive ¶ added in v0.0.53
func (*Config) IsStatusEqual ¶ added in v0.0.27
IsStatusEqual returns a bool indicating if the status of both resources is equal or not
func (Config) IsStorageVersion ¶ added in v0.0.27
IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object
func (Config) NamespaceScoped ¶ added in v0.0.27
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (Config) NewList ¶ added in v0.0.27
NewList return an empty resourceList NewList implements resource.Object
func (*Config) PrepareForCreate ¶ added in v0.0.27
func (*Config) PrepareForStatusUpdate ¶ added in v0.0.27
PrepareForStatusUpdate prepares the status update
func (*Config) PrepareForUpdate ¶ added in v0.0.27
func (*Config) SetConditions ¶ added in v0.0.27
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*Config) TableConvertor ¶ added in v0.0.27
func (r *Config) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*Config) ValidateCreate ¶ added in v0.0.27
ValidateCreate statically validates
func (*Config) ValidateStatusUpdate ¶ added in v0.0.27
ValidateStatusUpdate validates status updates
type ConfigBlame ¶ added in v0.0.52
type ConfigBlame struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Spec ConfigBlameSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
Status ConfigBlameStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}
ConfigBlame defines the Schema for the ConfigBlame API
func BuildConfigBlame ¶ added in v0.0.52
func BuildConfigBlame(meta metav1.ObjectMeta, spec ConfigBlameSpec, status ConfigBlameStatus) *ConfigBlame
BuildConfigBlame returns a reource from a client Object a Spec/Status
func (*ConfigBlame) DeepCopy ¶ added in v0.0.52
func (in *ConfigBlame) DeepCopy() *ConfigBlame
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigBlame.
func (*ConfigBlame) DeepCopyInto ¶ added in v0.0.52
func (in *ConfigBlame) DeepCopyInto(out *ConfigBlame)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigBlame) DeepCopyObject ¶ added in v0.0.52
func (in *ConfigBlame) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigBlame) FieldLabelConversion ¶ added in v0.0.52
func (r *ConfigBlame) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*ConfigBlame) FieldSelector ¶ added in v0.0.52
func (ConfigBlame) GetCategories ¶ added in v0.0.52
func (ConfigBlame) GetCategories() []string
GetCategories return the categories of the resource GetCategories implements resource.Object
func (ConfigBlame) GetGroupVersionResource ¶ added in v0.0.52
func (ConfigBlame) GetGroupVersionResource() schema.GroupVersionResource
func (*ConfigBlame) GetObjectMeta ¶ added in v0.0.52
func (r *ConfigBlame) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (ConfigBlame) GetShortNames ¶ added in v0.0.52
func (ConfigBlame) GetShortNames() []string
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (ConfigBlame) GetSingularName ¶ added in v0.0.52
func (ConfigBlame) GetSingularName() string
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*ConfigBlame) IsEqual ¶ added in v0.0.52
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (ConfigBlame) IsStorageVersion ¶ added in v0.0.52
func (ConfigBlame) IsStorageVersion() bool
IsStorageVersion returns true -- ConfigBlame is used as the internal version. IsStorageVersion implements resource.Object
func (ConfigBlame) NamespaceScoped ¶ added in v0.0.52
func (ConfigBlame) NamespaceScoped() bool
NamespaceScoped returns if ConfigBlame is a namespaced resource. NamespaceScoped implements resource.Object
func (ConfigBlame) New ¶ added in v0.0.52
func (ConfigBlame) New() runtime.Object
New return an empty resource New implements resource.Object
func (ConfigBlame) NewList ¶ added in v0.0.52
func (ConfigBlame) NewList() runtime.Object
NewList return an empty resourceList NewList implements resource.Object
func (*ConfigBlame) PrepareForCreate ¶ added in v0.0.52
func (r *ConfigBlame) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (*ConfigBlame) PrepareForUpdate ¶ added in v0.0.52
func (r *ConfigBlame) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (*ConfigBlame) TableConvertor ¶ added in v0.0.52
func (r *ConfigBlame) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*ConfigBlame) ValidateCreate ¶ added in v0.0.52
ValidateCreate statically validates
func (*ConfigBlame) ValidateUpdate ¶ added in v0.0.52
type ConfigBlameFilter ¶ added in v0.0.52
type ConfigBlameFilter struct {
// Name filters by the name of the objects
Name string `protobuf:"bytes,1,opt,name=name"`
// Namespace filters by the namespace of the objects
Namespace string `protobuf:"bytes,2,opt,name=namespace"`
}
func (*ConfigBlameFilter) DeepCopy ¶ added in v0.0.52
func (in *ConfigBlameFilter) DeepCopy() *ConfigBlameFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigBlameFilter.
func (*ConfigBlameFilter) DeepCopyInto ¶ added in v0.0.52
func (in *ConfigBlameFilter) DeepCopyInto(out *ConfigBlameFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigBlameList ¶ added in v0.0.52
type ConfigBlameList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Items []ConfigBlame `json:"items" protobuf:"bytes,2,rep,name=items"`
}
func (*ConfigBlameList) DeepCopy ¶ added in v0.0.52
func (in *ConfigBlameList) DeepCopy() *ConfigBlameList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigBlameList.
func (*ConfigBlameList) DeepCopyInto ¶ added in v0.0.52
func (in *ConfigBlameList) DeepCopyInto(out *ConfigBlameList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigBlameList) DeepCopyObject ¶ added in v0.0.52
func (in *ConfigBlameList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigBlameList) GetListMeta ¶ added in v0.0.52
func (r *ConfigBlameList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type ConfigBlameSpec ¶ added in v0.0.52
type ConfigBlameSpec struct {
}
ConfigBlameSpec defines the desired state of ConfigBlame
func (*ConfigBlameSpec) DeepCopy ¶ added in v0.0.52
func (in *ConfigBlameSpec) DeepCopy() *ConfigBlameSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigBlameSpec.
func (*ConfigBlameSpec) DeepCopyInto ¶ added in v0.0.52
func (in *ConfigBlameSpec) DeepCopyInto(out *ConfigBlameSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigBlameStatus ¶ added in v0.0.52
type ConfigBlameStatus struct {
//+kubebuilder:pruning:PreserveUnknownFields
Value runtime.RawExtension `json:"value" protobuf:"bytes,2,opt,name=value"`
}
ConfigBlameStatus defines the observed state of ConfigBlame
func (*ConfigBlameStatus) DeepCopy ¶ added in v0.0.52
func (in *ConfigBlameStatus) DeepCopy() *ConfigBlameStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigBlameStatus.
func (*ConfigBlameStatus) DeepCopyInto ¶ added in v0.0.52
func (in *ConfigBlameStatus) DeepCopyInto(out *ConfigBlameStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigBlob ¶
type ConfigBlob struct {
// Path defines the path relative to which the value is applicable
Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=config"`
//+kubebuilder:pruning:PreserveUnknownFields
Value runtime.RawExtension `json:"value" protobuf:"bytes,2,opt,name=value"`
}
func (*ConfigBlob) DeepCopy ¶
func (in *ConfigBlob) DeepCopy() *ConfigBlob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigBlob.
func (*ConfigBlob) DeepCopyInto ¶
func (in *ConfigBlob) DeepCopyInto(out *ConfigBlob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigDeviation ¶ added in v0.0.53
type ConfigDeviation struct {
// Path of the config this deviation belongs to
Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"`
// DesiredValue is the desired value of the config belonging to the path
DesiredValue string `json:"desiredValue,omitempty" protobuf:"bytes,2,opt,name=desiredValue"`
// CurrentValue defines the current value of the config belonging to the path
// that is currently configured on the target
CurrentValue string `json:"actualValue,omitempty" protobuf:"bytes,3,opt,name=actualValue"`
// Reason defines the reason of the deviation
Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
}
func (*ConfigDeviation) DeepCopy ¶ added in v0.0.53
func (in *ConfigDeviation) DeepCopy() *ConfigDeviation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigDeviation.
func (*ConfigDeviation) DeepCopyInto ¶ added in v0.0.53
func (in *ConfigDeviation) DeepCopyInto(out *ConfigDeviation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigFilter ¶ added in v0.0.27
type ConfigFilter struct {
// Name filters by the name of the objects
Name string `protobuf:"bytes,1,opt,name=name"`
// Namespace filters by the namespace of the objects
Namespace string `protobuf:"bytes,2,opt,name=namespace"`
}
func (*ConfigFilter) DeepCopy ¶ added in v0.0.27
func (in *ConfigFilter) DeepCopy() *ConfigFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigFilter.
func (*ConfigFilter) DeepCopyInto ¶ added in v0.0.27
func (in *ConfigFilter) DeepCopyInto(out *ConfigFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigList ¶
type ConfigList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Items []Config `json:"items" protobuf:"bytes,2,rep,name=items"`
}
ConfigList contains a list of Configs
func (*ConfigList) DeepCopy ¶
func (in *ConfigList) DeepCopy() *ConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigList.
func (*ConfigList) DeepCopyInto ¶
func (in *ConfigList) DeepCopyInto(out *ConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigList) DeepCopyObject ¶
func (in *ConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigList) GetListMeta ¶ added in v0.0.27
func (r *ConfigList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type ConfigSet ¶
type ConfigSet struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Spec ConfigSetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
Status ConfigSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}
ConfigSet is the Schema for the ConfigSet API
func (*ConfigSet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSet.
func (*ConfigSet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigSet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigSet) FieldLabelConversion ¶ added in v0.0.27
func (r *ConfigSet) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*ConfigSet) FieldSelector ¶ added in v0.0.27
func (ConfigSet) GetCategories ¶ added in v0.0.27
GetCategories return the categories of the resource GetCategories implements resource.Object
func (*ConfigSet) GetCondition ¶ added in v0.0.27
func (r *ConfigSet) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition based on the condition kind
func (ConfigSet) GetGroupVersionResource ¶ added in v0.0.27
func (ConfigSet) GetGroupVersionResource() schema.GroupVersionResource
func (*ConfigSet) GetObjectMeta ¶ added in v0.0.27
func (r *ConfigSet) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object
func (ConfigSet) GetShortNames ¶ added in v0.0.27
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (ConfigSet) GetSingularName ¶ added in v0.0.27
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*ConfigSet) GetStatus ¶ added in v0.0.27
func (r *ConfigSet) GetStatus() resource.StatusSubResource
GetStatus return the resource.StatusSubResource interface
func (*ConfigSet) IsEqual ¶ added in v0.0.27
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (*ConfigSet) IsStatusEqual ¶ added in v0.0.27
IsStatusEqual returns a bool indicating if the status of both resources is equal or not
func (ConfigSet) IsStorageVersion ¶ added in v0.0.27
IsStorageVersion returns true -- ConfigSet is used as the internal version. IsStorageVersion implements resource.Object
func (ConfigSet) NamespaceScoped ¶ added in v0.0.27
NamespaceScoped returns if ConfigSet is a namespaced resource. NamespaceScoped implements resource.Object
func (ConfigSet) NewList ¶ added in v0.0.27
NewList return an empty resourceList NewList implements resource.Object
func (*ConfigSet) PrepareForCreate ¶ added in v0.0.27
func (*ConfigSet) PrepareForStatusUpdate ¶ added in v0.0.27
PrepareForStatusUpdate prepares the status update
func (*ConfigSet) PrepareForUpdate ¶ added in v0.0.27
func (*ConfigSet) SetConditions ¶ added in v0.0.27
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*ConfigSet) TableConvertor ¶ added in v0.0.27
func (r *ConfigSet) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*ConfigSet) ValidateCreate ¶ added in v0.0.27
ValidateCreate statically validates
type ConfigSetFilter ¶ added in v0.0.27
type ConfigSetFilter struct {
// Name filters by the name of the objects
Name string `protobuf:"bytes,1,opt,name=name"`
// Namespace filters by the namespace of the objects
Namespace string `protobuf:"bytes,2,opt,name=namespace"`
}
func (*ConfigSetFilter) DeepCopy ¶ added in v0.0.27
func (in *ConfigSetFilter) DeepCopy() *ConfigSetFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSetFilter.
func (*ConfigSetFilter) DeepCopyInto ¶ added in v0.0.27
func (in *ConfigSetFilter) DeepCopyInto(out *ConfigSetFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigSetList ¶
type ConfigSetList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Items []ConfigSet `json:"items" protobuf:"bytes,2,rep,name=items"`
}
ConfigSetList contains a list of ConfigSets
func (*ConfigSetList) DeepCopy ¶
func (in *ConfigSetList) DeepCopy() *ConfigSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSetList.
func (*ConfigSetList) DeepCopyInto ¶
func (in *ConfigSetList) DeepCopyInto(out *ConfigSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigSetList) DeepCopyObject ¶
func (in *ConfigSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigSetList) GetListMeta ¶ added in v0.0.27
func (r *ConfigSetList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type ConfigSetSpec ¶
type ConfigSetSpec struct {
// Targets defines the targets on which this configSet applies
Target Target `json:"target" protobuf:"bytes,1,opt,name=target"`
// Lifecycle determines the lifecycle policies the resource e.g. delete is orphan or delete
// will follow
Lifecycle *Lifecycle `json:"lifecycle,omitempty" protobuf:"bytes,2,opt,name=lifecycle"`
// Priority defines the priority of this config
Priority int64 `json:"priority,omitempty" protobuf:"varint,3,opt,name=priority"`
// Revertive defines if this CR is enabled for revertive or non revertve operation
Revertive *bool `json:"revertive,omitempty" protobuf:"varint,4,opt,name=revertive"`
// Config defines the configuration to be applied to a target device
//+kubebuilder:pruning:PreserveUnknownFields
Config []ConfigBlob `json:"config" protobuf:"bytes,5,rep,name=config"`
}
ConfigSetSpec defines the desired state of Config
func (*ConfigSetSpec) DeepCopy ¶
func (in *ConfigSetSpec) DeepCopy() *ConfigSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSetSpec.
func (*ConfigSetSpec) DeepCopyInto ¶
func (in *ConfigSetSpec) DeepCopyInto(out *ConfigSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigSetStatus ¶
type ConfigSetStatus struct {
// ConditionedStatus provides the status of the Readiness using conditions
// if the condition is true the other attributes in the status are meaningful
condition.ConditionedStatus `json:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"`
// Targets defines the status of the configSet resource on the respective target
Targets []TargetStatus `json:"targets,omitempty" protobuf:"bytes,2,rep,name=targets"`
}
ConfigSetStatus defines the observed state of Config
func (ConfigSetStatus) CopyTo ¶ added in v0.0.27
func (r ConfigSetStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource
func (*ConfigSetStatus) DeepCopy ¶
func (in *ConfigSetStatus) DeepCopy() *ConfigSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSetStatus.
func (*ConfigSetStatus) DeepCopyInto ¶
func (in *ConfigSetStatus) DeepCopyInto(out *ConfigSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ConfigSetStatus) SubResourceName ¶ added in v0.0.27
func (ConfigSetStatus) SubResourceName() string
SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource
type ConfigSpec ¶
type ConfigSpec struct {
// Lifecycle determines the lifecycle policies the resource e.g. delete is orphan or delete
// will follow
Lifecycle *Lifecycle `json:"lifecycle,omitempty" protobuf:"bytes,1,opt,name=lifecycle"`
// Priority defines the priority of this config
Priority int64 `json:"priority,omitempty" protobuf:"varint,2,opt,name=priority"`
// Revertive defines if this CR is enabled for revertive or non revertve operation
Revertive *bool `json:"revertive,omitempty" protobuf:"varint,3,opt,name=revertive"`
// Config defines the configuration to be applied to a target device
//+kubebuilder:pruning:PreserveUnknownFields
Config []ConfigBlob `json:"config" protobuf:"bytes,3,rep,name=config"`
}
ConfigSpec defines the desired state of Config
func (*ConfigSpec) DeepCopy ¶
func (in *ConfigSpec) DeepCopy() *ConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSpec.
func (*ConfigSpec) DeepCopyInto ¶
func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigStatus ¶
type ConfigStatus struct {
// ConditionedStatus provides the status of the Readiness using conditions
// if the condition is true the other attributes in the status are meaningful
condition.ConditionedStatus `json:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"`
// LastKnownGoodSchema identifies the last known good schema used to apply the config successfully
LastKnownGoodSchema *ConfigStatusLastKnownGoodSchema `json:"lastKnownGoodSchema,omitempty" protobuf:"bytes,2,opt,name=lastKnownGoodSchema"`
// AppliedConfig defines the config applied to the target
AppliedConfig *ConfigSpec `json:"appliedConfig,omitempty" protobuf:"bytes,3,opt,name=appliedConfig"`
// Deviations generation used for the latest config apply
DeviationGeneration *int64 `json:"deviationGeneration,omitempty" protobuf:"bytes,4,opt,name=deviationGeneration"`
}
ConfigStatus defines the observed state of Config
func (ConfigStatus) CopyTo ¶ added in v0.0.27
func (r ConfigStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource
func (*ConfigStatus) DeepCopy ¶
func (in *ConfigStatus) DeepCopy() *ConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigStatus.
func (*ConfigStatus) DeepCopyInto ¶
func (in *ConfigStatus) DeepCopyInto(out *ConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ConfigStatus) SubResourceName ¶ added in v0.0.27
func (ConfigStatus) SubResourceName() string
SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource
type ConfigStatusLastKnownGoodSchema ¶
type ConfigStatusLastKnownGoodSchema struct {
// Schema Type
Type string `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`
// Schema Vendor
Vendor string `json:"vendor,omitempty" protobuf:"bytes,2,opt,name=vendor"`
// Schema Version
Version string `json:"version,omitempty" protobuf:"bytes,3,opt,name=version"`
}
func (*ConfigStatusLastKnownGoodSchema) DeepCopy ¶
func (in *ConfigStatusLastKnownGoodSchema) DeepCopy() *ConfigStatusLastKnownGoodSchema
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigStatusLastKnownGoodSchema.
func (*ConfigStatusLastKnownGoodSchema) DeepCopyInto ¶
func (in *ConfigStatusLastKnownGoodSchema) DeepCopyInto(out *ConfigStatusLastKnownGoodSchema)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigStatusLastKnownGoodSchema) FileString ¶ added in v0.0.27
func (r *ConfigStatusLastKnownGoodSchema) FileString() string
type DeletionPolicy ¶
type DeletionPolicy string
A DeletionPolicy determines what should happen to the underlying external resource when a managed resource is deleted.
const ( // DeletionOrphan means the external resource will orphaned when its managed // resource is deleted. DeletionOrphan DeletionPolicy = "orphan" // DeletionDelete means both the external resource will be deleted when its // managed resource is deleted. DeletionDelete DeletionPolicy = "delete" )
type Deviation ¶
type Deviation struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Spec DeviationSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
Status DeviationStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}
Deviation is the Schema for the Deviation API
func BuildDeviation ¶ added in v0.0.53
func BuildDeviation(meta metav1.ObjectMeta, spec *DeviationSpec, status *DeviationStatus) *Deviation
func (*Deviation) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deviation.
func (*Deviation) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Deviation) DeepCopyObject ¶ added in v0.0.53
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Deviation) FieldLabelConversion ¶ added in v0.0.53
func (r *Deviation) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*Deviation) FieldSelector ¶ added in v0.0.53
func (Deviation) GetCategories ¶ added in v0.0.53
GetCategories return the categories of the resource GetCategories implements resource.Object
func (*Deviation) GetCondition ¶ added in v0.0.53
func (r *Deviation) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition based on the condition kind
func (*Deviation) GetDeviationType ¶ added in v0.0.53
func (Deviation) GetGroupVersionResource ¶ added in v0.0.53
func (Deviation) GetGroupVersionResource() schema.GroupVersionResource
func (*Deviation) GetNamespacedName ¶ added in v0.0.53
func (r *Deviation) GetNamespacedName() types.NamespacedName
func (*Deviation) GetObjectMeta ¶ added in v0.0.53
func (r *Deviation) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (Deviation) GetShortNames ¶ added in v0.0.53
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (Deviation) GetSingularName ¶ added in v0.0.53
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*Deviation) GetStatus ¶ added in v0.0.53
func (r *Deviation) GetStatus() resource.StatusSubResource
GetStatus return the resource.StatusSubResource interface
func (Deviation) HasNotAppliedDeviation ¶ added in v0.0.53
func (*Deviation) IsConditionReady ¶ added in v0.0.53
func (*Deviation) IsEqual ¶ added in v0.0.53
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (*Deviation) IsStatusEqual ¶ added in v0.0.53
IsStatusEqual returns a bool indicating if the status of both resources is equal or not
func (Deviation) IsStorageVersion ¶ added in v0.0.53
IsStorageVersion returns true -- Deviation is used as the internal version. IsStorageVersion implements resource.Object
func (Deviation) NamespaceScoped ¶ added in v0.0.53
NamespaceScoped returns if Deviation is a namespaced resource. NamespaceScoped implements resource.Object
func (Deviation) NewList ¶ added in v0.0.53
NewList return an empty resourceList NewList implements resource.Object
func (*Deviation) PrepareForCreate ¶ added in v0.0.53
func (*Deviation) PrepareForStatusUpdate ¶ added in v0.0.53
PrepareForStatusUpdate prepares the status update
func (*Deviation) PrepareForUpdate ¶ added in v0.0.53
func (*Deviation) SetConditions ¶ added in v0.0.53
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*Deviation) TableConvertor ¶ added in v0.0.53
func (r *Deviation) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*Deviation) ValidateCreate ¶ added in v0.0.53
ValidateCreate statically validates
type DeviationFilter ¶ added in v0.0.53
type DeviationFilter struct {
// Name filters by the name of the objects
Name string `protobuf:"bytes,1,opt,name=name"`
// Namespace filters by the namespace of the objects
Namespace string `protobuf:"bytes,2,opt,name=namespace"`
}
func (*DeviationFilter) DeepCopy ¶ added in v0.0.53
func (in *DeviationFilter) DeepCopy() *DeviationFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviationFilter.
func (*DeviationFilter) DeepCopyInto ¶ added in v0.0.53
func (in *DeviationFilter) DeepCopyInto(out *DeviationFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviationList ¶ added in v0.0.53
type DeviationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Items []Deviation `json:"items" protobuf:"bytes,2,rep,name=items"`
}
DeviationList contains a list of Deviations
func (*DeviationList) DeepCopy ¶ added in v0.0.53
func (in *DeviationList) DeepCopy() *DeviationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviationList.
func (*DeviationList) DeepCopyInto ¶ added in v0.0.53
func (in *DeviationList) DeepCopyInto(out *DeviationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviationList) DeepCopyObject ¶ added in v0.0.53
func (in *DeviationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeviationList) GetListMeta ¶ added in v0.0.53
func (r *DeviationList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type DeviationSpec ¶ added in v0.0.53
type DeviationSpec struct {
DeviationType *DeviationType `json:"deviationType,omitempty" protobuf:"bytes,1,opt,name=deviationType"`
// Deviations identify the configuration deviation based on the last applied config CR
Deviations []ConfigDeviation `json:"deviations,omitempty" protobuf:"bytes,2,rep,name=deviations"`
}
DeviationSpec defines the desired state of Deviation
func (*DeviationSpec) DeepCopy ¶ added in v0.0.53
func (in *DeviationSpec) DeepCopy() *DeviationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviationSpec.
func (*DeviationSpec) DeepCopyInto ¶ added in v0.0.53
func (in *DeviationSpec) DeepCopyInto(out *DeviationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviationStatus ¶ added in v0.0.53
type DeviationStatus struct {
// ConditionedStatus provides the status of the Readiness using conditions
// if the condition is true the other attributes in the status are meaningful
condition.ConditionedStatus `json:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"`
}
DeviationStatus defines the observed state of Deviation
func (DeviationStatus) CopyTo ¶ added in v0.0.53
func (r DeviationStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource
func (*DeviationStatus) DeepCopy ¶ added in v0.0.53
func (in *DeviationStatus) DeepCopy() *DeviationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviationStatus.
func (*DeviationStatus) DeepCopyInto ¶ added in v0.0.53
func (in *DeviationStatus) DeepCopyInto(out *DeviationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (DeviationStatus) SubResourceName ¶ added in v0.0.53
func (DeviationStatus) SubResourceName() string
SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource
type DeviationType ¶ added in v0.0.53
type DeviationType string
const ( DeviationType_TARGET DeviationType = "target" DeviationType_CONFIG DeviationType = "config" )
func (DeviationType) String ¶ added in v0.0.53
func (r DeviationType) String() string
type Lifecycle ¶
type Lifecycle struct {
// DeletionPolicy specifies what will happen to the underlying resource
// when this resource is deleted - either "delete" or "orphan" the
// resource.
DeletionPolicy DeletionPolicy `json:"deletionPolicy,omitempty" protobuf:"bytes,1,opt,name=deletionPolicy,casttype=DeletionPolicy"`
}
func (*Lifecycle) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle.
func (*Lifecycle) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecoveryConfig ¶ added in v0.0.53
type RunningConfig ¶
type RunningConfig struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Spec RunningConfigSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
Status RunningConfigStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}
RunningConfig defines the Schema for the RunningConfig API
func BuildRunningConfig ¶ added in v0.0.27
func BuildRunningConfig(meta metav1.ObjectMeta, spec RunningConfigSpec, status RunningConfigStatus) *RunningConfig
BuildRunningConfig returns a reource from a client Object a Spec/Status
func (*RunningConfig) DeepCopy ¶
func (in *RunningConfig) DeepCopy() *RunningConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunningConfig.
func (*RunningConfig) DeepCopyInto ¶
func (in *RunningConfig) DeepCopyInto(out *RunningConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RunningConfig) DeepCopyObject ¶
func (in *RunningConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RunningConfig) FieldLabelConversion ¶ added in v0.0.27
func (r *RunningConfig) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*RunningConfig) FieldSelector ¶ added in v0.0.27
func (RunningConfig) GetCategories ¶ added in v0.0.27
func (RunningConfig) GetCategories() []string
GetCategories return the categories of the resource GetCategories implements resource.Object
func (RunningConfig) GetGroupVersionResource ¶ added in v0.0.27
func (RunningConfig) GetGroupVersionResource() schema.GroupVersionResource
func (*RunningConfig) GetObjectMeta ¶ added in v0.0.27
func (r *RunningConfig) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (RunningConfig) GetShortNames ¶ added in v0.0.27
func (RunningConfig) GetShortNames() []string
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (RunningConfig) GetSingularName ¶ added in v0.0.27
func (RunningConfig) GetSingularName() string
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*RunningConfig) IsEqual ¶ added in v0.0.27
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (RunningConfig) IsStorageVersion ¶ added in v0.0.27
func (RunningConfig) IsStorageVersion() bool
IsStorageVersion returns true -- RunningConfig is used as the internal version. IsStorageVersion implements resource.Object
func (RunningConfig) NamespaceScoped ¶ added in v0.0.27
func (RunningConfig) NamespaceScoped() bool
NamespaceScoped returns if RunningConfig is a namespaced resource. NamespaceScoped implements resource.Object
func (RunningConfig) New ¶ added in v0.0.27
func (RunningConfig) New() runtime.Object
New return an empty resource New implements resource.Object
func (RunningConfig) NewList ¶ added in v0.0.27
func (RunningConfig) NewList() runtime.Object
NewList return an empty resourceList NewList implements resource.Object
func (*RunningConfig) PrepareForCreate ¶ added in v0.0.27
func (r *RunningConfig) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (*RunningConfig) PrepareForUpdate ¶ added in v0.0.27
func (r *RunningConfig) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (*RunningConfig) TableConvertor ¶ added in v0.0.27
func (r *RunningConfig) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*RunningConfig) ValidateCreate ¶ added in v0.0.27
ValidateCreate statically validates
func (*RunningConfig) ValidateUpdate ¶ added in v0.0.27
type RunningConfigFilter ¶ added in v0.0.27
type RunningConfigFilter struct {
// Name filters by the name of the objects
Name string `protobuf:"bytes,1,opt,name=name"`
// Namespace filters by the namespace of the objects
Namespace string `protobuf:"bytes,2,opt,name=namespace"`
}
func (*RunningConfigFilter) DeepCopy ¶ added in v0.0.27
func (in *RunningConfigFilter) DeepCopy() *RunningConfigFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunningConfigFilter.
func (*RunningConfigFilter) DeepCopyInto ¶ added in v0.0.27
func (in *RunningConfigFilter) DeepCopyInto(out *RunningConfigFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunningConfigList ¶
type RunningConfigList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Items []RunningConfig `json:"items" protobuf:"bytes,2,rep,name=items"`
}
func (*RunningConfigList) DeepCopy ¶
func (in *RunningConfigList) DeepCopy() *RunningConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunningConfigList.
func (*RunningConfigList) DeepCopyInto ¶
func (in *RunningConfigList) DeepCopyInto(out *RunningConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RunningConfigList) DeepCopyObject ¶
func (in *RunningConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RunningConfigList) GetListMeta ¶ added in v0.0.27
func (r *RunningConfigList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type RunningConfigSpec ¶
type RunningConfigSpec struct {
}
RunningConfigSpec defines the desired state of RunningConfig
func (*RunningConfigSpec) DeepCopy ¶
func (in *RunningConfigSpec) DeepCopy() *RunningConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunningConfigSpec.
func (*RunningConfigSpec) DeepCopyInto ¶
func (in *RunningConfigSpec) DeepCopyInto(out *RunningConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunningConfigStatus ¶
type RunningConfigStatus struct {
//+kubebuilder:pruning:PreserveUnknownFields
Value runtime.RawExtension `json:"value" protobuf:"bytes,2,opt,name=value"`
}
RunningConfigStatus defines the observed state of RunningConfig
func (*RunningConfigStatus) DeepCopy ¶
func (in *RunningConfigStatus) DeepCopy() *RunningConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunningConfigStatus.
func (*RunningConfigStatus) DeepCopyInto ¶
func (in *RunningConfigStatus) DeepCopyInto(out *RunningConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Target ¶
type Target struct {
// TargetSelector defines the selector used to select the targets to which the config applies
TargetSelector *metav1.LabelSelector `json:"targetSelector,omitempty" protobuf:"bytes,1,opt,name=targetSelector"`
}
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetStatus ¶
type TargetStatus struct {
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
// right now we assume the namespace of the config and target are aligned
//NameSpace string `json:"namespace" protobuf:"bytes,2,opt,name=name"`
// Condition of the configCR status
condition.Condition `json:",inline" protobuf:"bytes,3,opt,name=condition"`
}
func (*TargetStatus) DeepCopy ¶
func (in *TargetStatus) DeepCopy() *TargetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetStatus.
func (*TargetStatus) DeepCopyInto ¶
func (in *TargetStatus) DeepCopyInto(out *TargetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- condition.go
- config_helpers.go
- config_resource.go
- config_types.go
- configblame_helpers.go
- configblame_resource.go
- configblame_types.go
- configset_helpers.go
- configset_resource.go
- configset_types.go
- deviation_helper.go
- deviation_resource.go
- deviation_types.go
- doc.go
- label_keys.go
- lifecycle_types.go
- register.go
- running_config_helpers.go
- running_config_resource.go
- running_config_types.go
- unmanaged_config_resource.go
- unmanaged_config_types.go
- zz_generated.deepcopy.go