Documentation
¶
Overview ¶
Package v1alpha1 is the internal version of the API.
Index ¶
- Constants
- Variables
- func DeviationName(typ DeviationType, resourceName string) string
- func FormatToProto(f TargetFormat) sdcpb.Format
- func GetGVKNSN(obj client.Object) string
- func GetIntentUpdate(config *Config, useSpec bool) ([]*sdcpb.Update, error)
- func GetTargetKey(labels map[string]string) (types.NamespacedName, error)
- func Kind(kind string) schema.GroupKind
- func NewTargetClearDeviationSubResource(c client.Client) *targetClearDeviationSubResource
- func Resource(resource string) schema.GroupResource
- func SetConfigLister(fn ConfigListerFn)
- func SetSubResourceClient(c client.Client)
- 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) IsConfigConditionReady() bool
- func (r *Config) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (r *Config) IsRecoverable(ctx context.Context) 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 ConfigListerFn
- 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 ConfigSetTarget
- type ConfigSetTargetStatus
- 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 DeviationClear
- type DeviationClearItem
- type DeviationClearList
- type DeviationClearSpec
- type DeviationClearStatus
- type DeviationClearType
- type DeviationFilter
- type DeviationList
- type DeviationSpec
- type DeviationStatus
- type DeviationType
- type DiscoveryInfo
- type Lifecycle
- type RecoveryConfig
- type RecoverySensitiveConfig
- 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 SensitiveConfig
- func (in *SensitiveConfig) DeepCopy() *SensitiveConfig
- func (in *SensitiveConfig) DeepCopyInto(out *SensitiveConfig)
- func (in *SensitiveConfig) DeepCopyObject() runtime.Object
- func (r *SensitiveConfig) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *SensitiveConfig) FieldSelector() ...
- func (SensitiveConfig) GetCategories() []string
- func (r *SensitiveConfig) GetCondition(t condition.ConditionType) condition.Condition
- func (SensitiveConfig) GetGroupVersionResource() schema.GroupVersionResource
- func (r *SensitiveConfig) GetLastKnownGoodSchema() *ConfigStatusLastKnownGoodSchema
- func (r *SensitiveConfig) GetNamespacedName() types.NamespacedName
- func (r *SensitiveConfig) GetObjectMeta() *metav1.ObjectMeta
- func (r *SensitiveConfig) GetOwnerReference() metav1.OwnerReference
- func (SensitiveConfig) GetShortNames() []string
- func (SensitiveConfig) GetSingularName() string
- func (r *SensitiveConfig) GetStatus() resource.StatusSubResource
- func (r *SensitiveConfig) GetTarget() string
- func (r *SensitiveConfig) HashDeviationGenerationChanged(deviation Deviation) bool
- func (r *SensitiveConfig) IsConditionReady() bool
- func (r *SensitiveConfig) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (r *SensitiveConfig) IsRecoverable() bool
- func (r *SensitiveConfig) IsRevertive() bool
- func (r *SensitiveConfig) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool
- func (SensitiveConfig) IsStorageVersion() bool
- func (SensitiveConfig) NamespaceScoped() bool
- func (SensitiveConfig) New() runtime.Object
- func (SensitiveConfig) NewList() runtime.Object
- func (r *SensitiveConfig) Orphan() bool
- func (r *SensitiveConfig) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *SensitiveConfig) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *SensitiveConfig) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *SensitiveConfig) SetConditions(c ...condition.Condition)
- func (r *SensitiveConfig) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *SensitiveConfig) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *SensitiveConfig) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (r *SensitiveConfig) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type SensitiveConfigData
- type SensitiveConfigFilter
- type SensitiveConfigList
- type SensitiveConfigSpec
- type SensitiveConfigStatus
- type Target
- func (r *Target) ClearDeviations(ctx context.Context, c client.Client, req *TargetClearDeviation) (runtime.Object, error)
- func (in *Target) DeepCopy() *Target
- func (in *Target) DeepCopyInto(out *Target)
- func (in *Target) DeepCopyObject() runtime.Object
- func (r *Target) FieldLabelConversion() runtime.FieldLabelConversionFunc
- func (r *Target) FieldSelector() ...
- func (r *Target) GetArbitrarySubResources() []resource.ArbitrarySubResource
- func (Target) GetCategories() []string
- func (r *Target) GetCondition(t condition.ConditionType) condition.Condition
- func (r *Target) GetConditions() []condition.Condition
- func (r *Target) GetConfigBlame(ctx context.Context) (runtime.Object, error)
- func (Target) GetGroupVersionResource() schema.GroupVersionResource
- func (r *Target) GetNamespacedName() types.NamespacedName
- func (r *Target) GetObjectMeta() *metav1.ObjectMeta
- func (r *Target) GetRunningConfig(ctx context.Context, opts *TargetRunningConfigOptions) (runtime.Object, error)
- func (Target) GetShortNames() []string
- func (Target) GetSingularName() string
- func (r *Target) GetStatus() resource.StatusSubResource
- func (r *Target) IsConditionReady() bool
- func (r *Target) IsEqual(ctx context.Context, obj, old runtime.Object) bool
- func (r *Target) IsReady() bool
- func (r *Target) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool
- func (Target) IsStorageVersion() bool
- func (Target) NamespaceScoped() bool
- func (Target) New() runtime.Object
- func (Target) NewList() runtime.Object
- func (r *Target) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (r *Target) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *Target) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (r *Target) SetConditions(c ...condition.Condition)
- func (r *Target) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
- func (r *Target) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (r *Target) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (r *Target) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- type TargetClearDeviation
- type TargetClearDeviationConfig
- type TargetClearDeviationConfigResult
- type TargetClearDeviationSpec
- type TargetClearDeviationStatus
- type TargetConfigBlame
- func (in *TargetConfigBlame) DeepCopy() *TargetConfigBlame
- func (in *TargetConfigBlame) DeepCopyInto(out *TargetConfigBlame)
- func (in *TargetConfigBlame) DeepCopyObject() runtime.Object
- func (TargetConfigBlame) New() runtime.Object
- func (TargetConfigBlame) NewStorage(scheme *runtime.Scheme, parentStorage rest.Storage) (rest.Storage, error)
- func (TargetConfigBlame) SubResourceName() string
- type TargetFilter
- type TargetFormat
- type TargetList
- type TargetRunningConfig
- func (TargetRunningConfig) ConvertFromURLValues() func(a, b interface{}, scope conversion.Scope) error
- func (in *TargetRunningConfig) DeepCopy() *TargetRunningConfig
- func (in *TargetRunningConfig) DeepCopyInto(out *TargetRunningConfig)
- func (in *TargetRunningConfig) DeepCopyObject() runtime.Object
- func (TargetRunningConfig) New() runtime.Object
- func (TargetRunningConfig) NewGetOptions() runtime.Object
- func (TargetRunningConfig) NewStorage(scheme *runtime.Scheme, parentStorage rest.Storage) (rest.Storage, error)
- func (TargetRunningConfig) SubResourceName() string
- type TargetRunningConfigOptions
- type TargetSpec
- type TargetStatus
- type TargetStatusUsedReferences
Constants ¶
const ( ConditionTypeConfigReady cond.ConditionType = "ConfigReady" ConditionTypeTargetReady cond.ConditionType = "TargetReady" )
Condition Types.
const ( // Target relation conditions // ConditionTypeDiscoveryReady represents the resource discovery ready condition ConditionTypeTargetDiscoveryReady cond.ConditionType = "TargetDiscoveryReady" // ConditionTypeDatastoreReady represents the resource datastore ready condition ConditionTypeTargetDatastoreReady cond.ConditionType = "TargetDatastoreReady" // ConditionTypeConfigRecoveryReady represents the resource config recovery ready condition ConditionTypeTargetConfigRecoveryReady cond.ConditionType = "TargetConfigRecoveryReady" // ConditionTypeTargetConnectionReady represents the resource target ready condition ConditionTypeTargetConnectionReady cond.ConditionType = "TargetConnectionReady" )
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" )
const ( SensitiveConfigPlural = "sensitiveconfigs" SensitiveConfigSingular = "sensitiveconfig" )
const ( TargetPlural = "targets" TargetSingular = "target" )
const RunningIntentName = "running"
const (
SubResource_ClearDeviation = "cleardeviation"
)
const (
SubResource_ConfigBlame = "configblame"
)
const (
SubResource_RunningConfig = "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 ( SensitiveConfigShortNames = []string{} SensitiveConfigCategories = []string{"sdc", "knet"} )
var ( TargetShortNames = []string{} TargetCategories = []string{"sdc", "knet"} )
var ( TargetKind = reflect.TypeOf(Target{}).Name() TargetGroupKind = schema.GroupKind{Group: SchemeGroupVersion.Group, Kind: TargetKind}.String() TargetKindAPIVersion = TargetKind + "." + SchemeGroupVersion.String() TargetGroupVersionKind = SchemeGroupVersion.WithKind(TargetKind) )
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 (
DeviationClearKind = reflect.TypeOf(DeviationClear{}).Name()
)
DeviationClearKind 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}
var (
SensitiveConfigKind = reflect.TypeOf(SensitiveConfig{}).Name()
)
SensitiveConfig type metadata.
var (
TargetClearDeviationKind = reflect.TypeOf(TargetClearDeviation{}).Name()
)
var (
TargetConfigBlameKind = reflect.TypeOf(TargetConfigBlame{}).Name()
)
var (
TargetRunningConfigKind = reflect.TypeOf(TargetRunningConfig{}).Name()
)
Functions ¶
func DeviationName ¶ added in v0.0.57
func DeviationName(typ DeviationType, resourceName string) string
DeviationName returns the canonical name for a Deviation CR. The convention is "<type>-<resourceName>" so that config and target deviations cannot collide on the same name (see issue #437).
func FormatToProto ¶ added in v0.0.56
func FormatToProto(f TargetFormat) sdcpb.Format
func GetIntentUpdate ¶ added in v0.0.56
useSpec indicates to use the spec as the confifSpec, typically set to true; when set to false it means we are recovering the config
func GetTargetKey ¶ added in v0.0.27
func GetTargetKey(labels map[string]string) (types.NamespacedName, error)
func NewTargetClearDeviationSubResource ¶ added in v0.0.56
func Resource ¶
func Resource(resource string) schema.GroupResource
func SetConfigLister ¶ added in v0.0.56
func SetConfigLister(fn ConfigListerFn)
func SetSubResourceClient ¶ added in v0.0.56
SetSubResourceClient is called once during server init to inject the client
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 BuildEmptyConfig ¶ added in v0.0.54
func BuildEmptyConfig() *Config
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) IsConfigConditionReady ¶ added in v0.0.55
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 BuildEmptyConfigBlame ¶ added in v0.0.54
func BuildEmptyConfigBlame() *ConfigBlame
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"`
// ActualValue defines the current value of the config belonging to the path
// that is currently configured on the target
ActualValue *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 ConfigListerFn ¶ added in v0.0.56
type ConfigListerFn func(ctx context.Context, c client.Client, targetNamespace, targetName, lookupNamespace string) (map[string]*Config, error)
ConfigListerFn lists configs for a target, returning them indexed by name.
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 BuildEmptyConfigSet ¶ added in v0.0.54
func BuildEmptyConfigSet() *ConfigSet
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 ConfigSetTarget `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 int32 `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 []ConfigSetTargetStatus `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 ConfigSetTarget ¶ added in v0.0.56
type ConfigSetTarget 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 (*ConfigSetTarget) DeepCopy ¶ added in v0.0.56
func (in *ConfigSetTarget) DeepCopy() *ConfigSetTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSetTarget.
func (*ConfigSetTarget) DeepCopyInto ¶ added in v0.0.56
func (in *ConfigSetTarget) DeepCopyInto(out *ConfigSetTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigSetTargetStatus ¶ added in v0.0.56
type ConfigSetTargetStatus 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 (*ConfigSetTargetStatus) DeepCopy ¶ added in v0.0.56
func (in *ConfigSetTargetStatus) DeepCopy() *ConfigSetTargetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSetTargetStatus.
func (*ConfigSetTargetStatus) DeepCopyInto ¶ added in v0.0.56
func (in *ConfigSetTargetStatus) DeepCopyInto(out *ConfigSetTargetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 int32 `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,4,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 BuildEmptyDeviation ¶ added in v0.0.54
func BuildEmptyDeviation() *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 DeviationClear ¶ added in v0.0.56
type DeviationClear struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Spec DeviationClearSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
Status DeviationClearStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}
DeviationClear is the Schema for the DeviationClear API
func (*DeviationClear) DeepCopy ¶ added in v0.0.56
func (in *DeviationClear) DeepCopy() *DeviationClear
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviationClear.
func (*DeviationClear) DeepCopyInto ¶ added in v0.0.56
func (in *DeviationClear) DeepCopyInto(out *DeviationClear)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviationClear) DeepCopyObject ¶ added in v0.0.56
func (in *DeviationClear) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeviationClearItem ¶ added in v0.0.56
type DeviationClearItem struct {
Type DeviationClearType `json:"type" protobuf:"bytes,1,opt,name=type"`
// Name of the config - mandatory if the type is config - not applicable for the other types
ConfigName *string `json:"configName,omitempty" protobuf:"bytes,2,opt,name=configName"`
// Paths of the respective type that should be cleared
Paths []string `json:"paths" protobuf:"bytes,3,rep,name=paths"`
}
func (*DeviationClearItem) DeepCopy ¶ added in v0.0.56
func (in *DeviationClearItem) DeepCopy() *DeviationClearItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviationClearItem.
func (*DeviationClearItem) DeepCopyInto ¶ added in v0.0.56
func (in *DeviationClearItem) DeepCopyInto(out *DeviationClearItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviationClearList ¶ added in v0.0.56
type DeviationClearList 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"`
}
DeviationClearList contains a list of DeviationClears
func (*DeviationClearList) DeepCopy ¶ added in v0.0.56
func (in *DeviationClearList) DeepCopy() *DeviationClearList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviationClearList.
func (*DeviationClearList) DeepCopyInto ¶ added in v0.0.56
func (in *DeviationClearList) DeepCopyInto(out *DeviationClearList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviationClearList) DeepCopyObject ¶ added in v0.0.56
func (in *DeviationClearList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeviationClearSpec ¶ added in v0.0.56
type DeviationClearSpec struct {
Items []DeviationClearItem `json:"items" protobuf:"bytes,1,rep,name=items"`
}
DeviationSpec defines the desired state of Deviation
func (*DeviationClearSpec) DeepCopy ¶ added in v0.0.56
func (in *DeviationClearSpec) DeepCopy() *DeviationClearSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviationClearSpec.
func (*DeviationClearSpec) DeepCopyInto ¶ added in v0.0.56
func (in *DeviationClearSpec) DeepCopyInto(out *DeviationClearSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviationClearStatus ¶ added in v0.0.56
type DeviationClearStatus 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 Deviationgit
func (*DeviationClearStatus) DeepCopy ¶ added in v0.0.56
func (in *DeviationClearStatus) DeepCopy() *DeviationClearStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviationClearStatus.
func (*DeviationClearStatus) DeepCopyInto ¶ added in v0.0.56
func (in *DeviationClearStatus) DeepCopyInto(out *DeviationClearStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviationClearType ¶ added in v0.0.56
type DeviationClearType string
const ( DeviationClearType_TARGET DeviationClearType = "target" DeviationClearType_CONFIG DeviationClearType = "config" DeviationClearType_ALL_CONFIG DeviationClearType = "allConfig" DeviationClearType_ALL DeviationClearType = "all" )
func (DeviationClearType) String ¶ added in v0.0.56
func (r DeviationClearType) String() string
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 Deviationgit
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 ParseDeviationName ¶ added in v0.0.57
func ParseDeviationName(name string) (DeviationType, string, bool)
ParseDeviationName is the inverse of DeviationName. It returns the parsed DeviationType and underlying resource name if name matches the "<type>-<resourceName>" convention. ok is false when the prefix doesn't match a known DeviationType.
func (DeviationType) String ¶ added in v0.0.53
func (r DeviationType) String() string
type DiscoveryInfo ¶ added in v0.0.56
type DiscoveryInfo struct {
// Protocol used for discovery
Protocol string `json:"protocol,omitempty" protobuf:"bytes,1,opt,name=protocol"`
// Type associated with the target
Provider string `json:"provider,omitempty" protobuf:"bytes,2,opt,name=provider"`
// Version associated with the target
Version string `json:"version,omitempty" protobuf:"bytes,3,opt,name=version"`
// Hostname associated with the target
Hostname string `json:"hostname,omitempty" protobuf:"bytes,4,opt,name=hostname"`
// Platform associated with the target
Platform string `json:"platform,omitempty" protobuf:"bytes,5,opt,name=platform"`
// MacAddress associated with the target
MacAddress string `json:"macAddress,omitempty" protobuf:"bytes,6,opt,name=macAddress"`
// SerialNumber associated with the target
SerialNumber string `json:"serialNumber,omitempty" protobuf:"bytes,7,opt,name=serialNumber"`
// Supported Encodings of the target
// +listType=atomic
SupportedEncodings []string `json:"supportedEncodings,omitempty" protobuf:"bytes,8,rep,name=supportedEncodings"`
}
func (*DiscoveryInfo) DeepCopy ¶ added in v0.0.56
func (in *DiscoveryInfo) DeepCopy() *DiscoveryInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryInfo.
func (*DiscoveryInfo) DeepCopyInto ¶ added in v0.0.56
func (in *DiscoveryInfo) DeepCopyInto(out *DiscoveryInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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
func (*RecoveryConfig) DeepCopy ¶ added in v0.0.54
func (in *RecoveryConfig) DeepCopy() *RecoveryConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryConfig.
func (*RecoveryConfig) DeepCopyInto ¶ added in v0.0.54
func (in *RecoveryConfig) DeepCopyInto(out *RecoveryConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecoverySensitiveConfig ¶ added in v0.0.55
type RecoverySensitiveConfig struct {
SensitiveConfig SensitiveConfig
Deviation Deviation
}
func (*RecoverySensitiveConfig) DeepCopy ¶ added in v0.0.55
func (in *RecoverySensitiveConfig) DeepCopy() *RecoverySensitiveConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoverySensitiveConfig.
func (*RecoverySensitiveConfig) DeepCopyInto ¶ added in v0.0.55
func (in *RecoverySensitiveConfig) DeepCopyInto(out *RecoverySensitiveConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 BuildEmptyRunningConfig ¶ added in v0.0.54
func BuildEmptyRunningConfig() *RunningConfig
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 SensitiveConfig ¶ added in v0.0.55
type SensitiveConfig struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Spec SensitiveConfigSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
Status SensitiveConfigStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}
SensitiveConfig defines the Schema for the SensitiveConfig API
func BuildEmptySensitiveConfig ¶ added in v0.0.55
func BuildEmptySensitiveConfig() *SensitiveConfig
func BuildSensitiveConfig ¶ added in v0.0.55
func BuildSensitiveConfig(meta metav1.ObjectMeta, spec SensitiveConfigSpec) *SensitiveConfig
BuildSensitiveConfig returns a reource from a client Object a Spec/Status
func (*SensitiveConfig) DeepCopy ¶ added in v0.0.55
func (in *SensitiveConfig) DeepCopy() *SensitiveConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensitiveConfig.
func (*SensitiveConfig) DeepCopyInto ¶ added in v0.0.55
func (in *SensitiveConfig) DeepCopyInto(out *SensitiveConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SensitiveConfig) DeepCopyObject ¶ added in v0.0.55
func (in *SensitiveConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SensitiveConfig) FieldLabelConversion ¶ added in v0.0.55
func (r *SensitiveConfig) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*SensitiveConfig) FieldSelector ¶ added in v0.0.55
func (SensitiveConfig) GetCategories ¶ added in v0.0.55
func (SensitiveConfig) GetCategories() []string
GetCategories return the categories of the resource GetCategories implements resource.Object
func (*SensitiveConfig) GetCondition ¶ added in v0.0.55
func (r *SensitiveConfig) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition based on the condition kind
func (SensitiveConfig) GetGroupVersionResource ¶ added in v0.0.55
func (SensitiveConfig) GetGroupVersionResource() schema.GroupVersionResource
func (*SensitiveConfig) GetLastKnownGoodSchema ¶ added in v0.0.55
func (r *SensitiveConfig) GetLastKnownGoodSchema() *ConfigStatusLastKnownGoodSchema
func (*SensitiveConfig) GetNamespacedName ¶ added in v0.0.55
func (r *SensitiveConfig) GetNamespacedName() types.NamespacedName
func (*SensitiveConfig) GetObjectMeta ¶ added in v0.0.55
func (r *SensitiveConfig) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (*SensitiveConfig) GetOwnerReference ¶ added in v0.0.55
func (r *SensitiveConfig) GetOwnerReference() metav1.OwnerReference
func (SensitiveConfig) GetShortNames ¶ added in v0.0.55
func (SensitiveConfig) GetShortNames() []string
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (SensitiveConfig) GetSingularName ¶ added in v0.0.55
func (SensitiveConfig) GetSingularName() string
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*SensitiveConfig) GetStatus ¶ added in v0.0.55
func (r *SensitiveConfig) GetStatus() resource.StatusSubResource
GetStatus return the resource.StatusSubResource interface
func (*SensitiveConfig) GetTarget ¶ added in v0.0.55
func (r *SensitiveConfig) GetTarget() string
func (*SensitiveConfig) HashDeviationGenerationChanged ¶ added in v0.0.55
func (r *SensitiveConfig) HashDeviationGenerationChanged(deviation Deviation) bool
func (*SensitiveConfig) IsConditionReady ¶ added in v0.0.55
func (r *SensitiveConfig) IsConditionReady() bool
func (*SensitiveConfig) IsEqual ¶ added in v0.0.55
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (*SensitiveConfig) IsRecoverable ¶ added in v0.0.55
func (r *SensitiveConfig) IsRecoverable() bool
func (*SensitiveConfig) IsRevertive ¶ added in v0.0.55
func (r *SensitiveConfig) IsRevertive() bool
func (*SensitiveConfig) IsStatusEqual ¶ added in v0.0.55
IsStatusEqual returns a bool indicating if the status of both resources is equal or not
func (SensitiveConfig) IsStorageVersion ¶ added in v0.0.55
func (SensitiveConfig) IsStorageVersion() bool
IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object
func (SensitiveConfig) NamespaceScoped ¶ added in v0.0.55
func (SensitiveConfig) NamespaceScoped() bool
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (SensitiveConfig) New ¶ added in v0.0.55
func (SensitiveConfig) New() runtime.Object
New return an empty resource New implements resource.Object
func (SensitiveConfig) NewList ¶ added in v0.0.55
func (SensitiveConfig) NewList() runtime.Object
NewList return an empty resourceList NewList implements resource.Object
func (*SensitiveConfig) Orphan ¶ added in v0.0.55
func (r *SensitiveConfig) Orphan() bool
func (*SensitiveConfig) PrepareForCreate ¶ added in v0.0.55
func (r *SensitiveConfig) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (*SensitiveConfig) PrepareForStatusUpdate ¶ added in v0.0.55
func (r *SensitiveConfig) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)
PrepareForStatusUpdate prepares the status update
func (*SensitiveConfig) PrepareForUpdate ¶ added in v0.0.55
func (r *SensitiveConfig) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (*SensitiveConfig) SetConditions ¶ added in v0.0.55
func (r *SensitiveConfig) SetConditions(c ...condition.Condition)
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*SensitiveConfig) TableConvertor ¶ added in v0.0.55
func (r *SensitiveConfig) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*SensitiveConfig) ValidateCreate ¶ added in v0.0.55
ValidateCreate statically validates
func (*SensitiveConfig) ValidateStatusUpdate ¶ added in v0.0.55
func (r *SensitiveConfig) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
ValidateStatusUpdate validates status updates
func (*SensitiveConfig) ValidateUpdate ¶ added in v0.0.55
type SensitiveConfigData ¶ added in v0.0.55
type SensitiveConfigData struct {
// Path defines the path relative to which the value is applicable
Path string `json:"path" protobuf:"bytes,1,opt,name=SensitiveConfig"`
// SecretKeyRef refers to a secret in the same namesapce as the config
SecretKeyRef corev1.SecretKeySelector `json:"secretKeyRef" protobuf:"bytes,2,opt,name=secretKeyRef"`
}
func (*SensitiveConfigData) DeepCopy ¶ added in v0.0.55
func (in *SensitiveConfigData) DeepCopy() *SensitiveConfigData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensitiveConfigData.
func (*SensitiveConfigData) DeepCopyInto ¶ added in v0.0.55
func (in *SensitiveConfigData) DeepCopyInto(out *SensitiveConfigData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SensitiveConfigFilter ¶ added in v0.0.55
type SensitiveConfigFilter 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 (*SensitiveConfigFilter) DeepCopy ¶ added in v0.0.55
func (in *SensitiveConfigFilter) DeepCopy() *SensitiveConfigFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensitiveConfigFilter.
func (*SensitiveConfigFilter) DeepCopyInto ¶ added in v0.0.55
func (in *SensitiveConfigFilter) DeepCopyInto(out *SensitiveConfigFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SensitiveConfigList ¶ added in v0.0.55
type SensitiveConfigList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Items []SensitiveConfig `json:"items" protobuf:"bytes,2,rep,name=items"`
}
SensitiveConfigList contains a list of SensitiveConfigs
func (*SensitiveConfigList) DeepCopy ¶ added in v0.0.55
func (in *SensitiveConfigList) DeepCopy() *SensitiveConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensitiveConfigList.
func (*SensitiveConfigList) DeepCopyInto ¶ added in v0.0.55
func (in *SensitiveConfigList) DeepCopyInto(out *SensitiveConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SensitiveConfigList) DeepCopyObject ¶ added in v0.0.55
func (in *SensitiveConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SensitiveConfigList) GetListMeta ¶ added in v0.0.55
func (r *SensitiveConfigList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type SensitiveConfigSpec ¶ added in v0.0.55
type SensitiveConfigSpec 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 SensitiveConfig
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"`
// SensitiveConfig defines the SensitiveConfiguration to be applied to a target device
Config []SensitiveConfigData `json:"config" protobuf:"bytes,4,rep,name=config"`
}
SensitiveConfigSpec defines the desired state of SensitiveConfig
func (*SensitiveConfigSpec) DeepCopy ¶ added in v0.0.55
func (in *SensitiveConfigSpec) DeepCopy() *SensitiveConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensitiveConfigSpec.
func (*SensitiveConfigSpec) DeepCopyInto ¶ added in v0.0.55
func (in *SensitiveConfigSpec) DeepCopyInto(out *SensitiveConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SensitiveConfigStatus ¶ added in v0.0.55
type SensitiveConfigStatus 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 SensitiveConfig successfully
LastKnownGoodSchema *ConfigStatusLastKnownGoodSchema `json:"lastKnownGoodSchema,omitempty" protobuf:"bytes,2,opt,name=lastKnownGoodSchema"`
// AppliedSensitiveConfig defines the SensitiveConfig applied to the target
AppliedSensitiveConfig *SensitiveConfigSpec `json:"appliedSensitiveConfig,omitempty" protobuf:"bytes,3,opt,name=appliedSensitiveConfig"`
// Deviations generation used for the latest SensitiveConfig apply
DeviationGeneration *int64 `json:"deviationGeneration,omitempty" protobuf:"bytes,4,opt,name=deviationGeneration"`
}
SensitiveConfigStatus defines the observed state of SensitiveConfig
func (SensitiveConfigStatus) CopyTo ¶ added in v0.0.55
func (r SensitiveConfigStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource
func (*SensitiveConfigStatus) DeepCopy ¶ added in v0.0.55
func (in *SensitiveConfigStatus) DeepCopy() *SensitiveConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensitiveConfigStatus.
func (*SensitiveConfigStatus) DeepCopyInto ¶ added in v0.0.55
func (in *SensitiveConfigStatus) DeepCopyInto(out *SensitiveConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (SensitiveConfigStatus) SubResourceName ¶ added in v0.0.55
func (SensitiveConfigStatus) SubResourceName() string
SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource
type Target ¶
type Target struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Spec TargetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
Status TargetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}
Target is the Schema for the Target API +k8s:openapi-gen=true
func BuildEmptyTarget ¶ added in v0.0.56
func BuildEmptyTarget() *Target
func BuildTarget ¶ added in v0.0.56
func BuildTarget(meta metav1.ObjectMeta, spec TargetSpec) *Target
BuildTarget returns a reource from a client Object a Spec/Status
func (*Target) ClearDeviations ¶ added in v0.0.56
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.
func (*Target) DeepCopyObject ¶ added in v0.0.56
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Target) FieldLabelConversion ¶ added in v0.0.56
func (r *Target) FieldLabelConversion() runtime.FieldLabelConversionFunc
FieldLabelConversion is the schema conversion function for normalizing the FieldSelector for the resource
func (*Target) FieldSelector ¶ added in v0.0.56
func (*Target) GetArbitrarySubResources ¶ added in v0.0.56
func (r *Target) GetArbitrarySubResources() []resource.ArbitrarySubResource
func (Target) GetCategories ¶ added in v0.0.56
GetCategories return the categories of the resource GetCategories implements resource.Object
func (*Target) GetCondition ¶ added in v0.0.56
func (r *Target) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition based on the condition kind
func (*Target) GetConditions ¶ added in v0.0.56
GetCondition returns the condition based on the condition kind
func (*Target) GetConfigBlame ¶ added in v0.0.56
func (Target) GetGroupVersionResource ¶ added in v0.0.56
func (Target) GetGroupVersionResource() schema.GroupVersionResource
func (*Target) GetNamespacedName ¶ added in v0.0.56
func (r *Target) GetNamespacedName() types.NamespacedName
func (*Target) GetObjectMeta ¶ added in v0.0.56
func (r *Target) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (*Target) GetRunningConfig ¶ added in v0.0.56
func (Target) GetShortNames ¶ added in v0.0.56
GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object
func (Target) GetSingularName ¶ added in v0.0.56
GetSingularName returns the singular name of the resource GetSingularName implements resource.Object
func (*Target) GetStatus ¶ added in v0.0.56
func (r *Target) GetStatus() resource.StatusSubResource
GetStatus return the resource.StatusSubResource interface
func (*Target) IsConditionReady ¶ added in v0.0.56
func (*Target) IsEqual ¶ added in v0.0.56
IsEqual returns a bool indicating if the desired state of both resources is equal or not
func (*Target) IsStatusEqual ¶ added in v0.0.56
IsStatusEqual returns a bool indicating if the status of both resources is equal or not
func (Target) IsStorageVersion ¶ added in v0.0.56
IsStorageVersion returns true -- Target is used as the internal version. IsStorageVersion implements resource.Object
func (Target) NamespaceScoped ¶ added in v0.0.56
NamespaceScoped returns true to indicate Target is a namespaced resource. NamespaceScoped implements resource.Object
func (Target) NewList ¶ added in v0.0.56
NewList return an empty resourceList NewList implements resource.Object
func (*Target) PrepareForCreate ¶ added in v0.0.56
func (*Target) PrepareForStatusUpdate ¶ added in v0.0.56
PrepareForStatusUpdate prepares the status update
func (*Target) PrepareForUpdate ¶ added in v0.0.56
func (*Target) SetConditions ¶ added in v0.0.56
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*Target) TableConvertor ¶ added in v0.0.56
func (r *Target) TableConvertor() func(gr schema.GroupResource) rest.TableConvertor
TableConvertor return the table format of the resource
func (*Target) ValidateCreate ¶ added in v0.0.56
ValidateCreate statically validates
func (*Target) ValidateStatusUpdate ¶ added in v0.0.56
ValidateStatusUpdate validates status updates
type TargetClearDeviation ¶ added in v0.0.56
type TargetClearDeviation struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Spec *TargetClearDeviationSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
Status *TargetClearDeviationStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}
TargetClearDeviation is the Schema for the TargetClearDeviation API +k8s:openapi-gen=true
func (*TargetClearDeviation) DeepCopy ¶ added in v0.0.56
func (in *TargetClearDeviation) DeepCopy() *TargetClearDeviation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetClearDeviation.
func (*TargetClearDeviation) DeepCopyInto ¶ added in v0.0.56
func (in *TargetClearDeviation) DeepCopyInto(out *TargetClearDeviation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetClearDeviation) DeepCopyObject ¶ added in v0.0.56
func (in *TargetClearDeviation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TargetClearDeviationConfig ¶ added in v0.0.56
type TargetClearDeviationConfig struct {
// Name of the config on which the paths should be cleared
Name string `json:"name" protobuf:"bytes,1,opt,name=paths"`
// Paths provide the path of the deviation to be cleared
Paths []string `json:"paths" protobuf:"bytes,2,rep,name=paths"`
}
func (*TargetClearDeviationConfig) DeepCopy ¶ added in v0.0.56
func (in *TargetClearDeviationConfig) DeepCopy() *TargetClearDeviationConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetClearDeviationConfig.
func (*TargetClearDeviationConfig) DeepCopyInto ¶ added in v0.0.56
func (in *TargetClearDeviationConfig) DeepCopyInto(out *TargetClearDeviationConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetClearDeviationConfigResult ¶ added in v0.0.56
type TargetClearDeviationConfigResult struct {
// Name of the config on which the paths should be cleared
Name string `json:"name" protobuf:"bytes,1,rep,name=paths"`
// Success indicates whether the clear deviation was successful
Success bool `json:"success"`
// Message provides detail on the outcome
Message string `json:"message,omitempty"`
// Errors lists any errors for this specific config
Errors []string `json:"errors,omitempty"`
// Warnings lists any warnings for this specific config
Warnings []string `json:"warnings,omitempty"`
}
func (*TargetClearDeviationConfigResult) DeepCopy ¶ added in v0.0.56
func (in *TargetClearDeviationConfigResult) DeepCopy() *TargetClearDeviationConfigResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetClearDeviationConfigResult.
func (*TargetClearDeviationConfigResult) DeepCopyInto ¶ added in v0.0.56
func (in *TargetClearDeviationConfigResult) DeepCopyInto(out *TargetClearDeviationConfigResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetClearDeviationSpec ¶ added in v0.0.56
type TargetClearDeviationSpec struct {
// Config defines the clear deviations configs to applied on the taget
Config []TargetClearDeviationConfig `json:"config" protobuf:"bytes,1,rep,name=config"`
}
TargetClearDeviationSpec defines the desired state of Target
func (*TargetClearDeviationSpec) DeepCopy ¶ added in v0.0.56
func (in *TargetClearDeviationSpec) DeepCopy() *TargetClearDeviationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetClearDeviationSpec.
func (*TargetClearDeviationSpec) DeepCopyInto ¶ added in v0.0.56
func (in *TargetClearDeviationSpec) DeepCopyInto(out *TargetClearDeviationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetClearDeviationStatus ¶ added in v0.0.56
type TargetClearDeviationStatus struct {
// Message is a global message for the transaction
Message string `json:"message,omitempty" protobuf:"bytes,1,opt,name=message"`
// Warnings are global warnings from the transaction
Warnings []string `json:"warnings,omitempty" protobuf:"bytes,2,rep,name=warnings"`
// Results holds per-config outcomes, keyed by intent name
Results []TargetClearDeviationConfigResult `json:"results,omitempty" protobuf:"bytes,3,rep,name=results"`
}
func (*TargetClearDeviationStatus) DeepCopy ¶ added in v0.0.56
func (in *TargetClearDeviationStatus) DeepCopy() *TargetClearDeviationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetClearDeviationStatus.
func (*TargetClearDeviationStatus) DeepCopyInto ¶ added in v0.0.56
func (in *TargetClearDeviationStatus) DeepCopyInto(out *TargetClearDeviationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetConfigBlame ¶ added in v0.0.56
type TargetConfigBlame struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
//+kubebuilder:pruning:PreserveUnknownFields
Value runtime.RawExtension `json:"value" protobuf:"bytes,2,opt,name=value"`
}
TargetConfigBlame is the Schema for the TargetConfigBlame API
func (*TargetConfigBlame) DeepCopy ¶ added in v0.0.56
func (in *TargetConfigBlame) DeepCopy() *TargetConfigBlame
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetConfigBlame.
func (*TargetConfigBlame) DeepCopyInto ¶ added in v0.0.56
func (in *TargetConfigBlame) DeepCopyInto(out *TargetConfigBlame)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetConfigBlame) DeepCopyObject ¶ added in v0.0.56
func (in *TargetConfigBlame) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (TargetConfigBlame) New ¶ added in v0.0.56
func (TargetConfigBlame) New() runtime.Object
func (TargetConfigBlame) NewStorage ¶ added in v0.0.56
func (TargetConfigBlame) SubResourceName ¶ added in v0.0.56
func (TargetConfigBlame) SubResourceName() string
type TargetFilter ¶ added in v0.0.56
type TargetFilter 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 (*TargetFilter) DeepCopy ¶ added in v0.0.56
func (in *TargetFilter) DeepCopy() *TargetFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetFilter.
func (*TargetFilter) DeepCopyInto ¶ added in v0.0.56
func (in *TargetFilter) DeepCopyInto(out *TargetFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetFormat ¶ added in v0.0.56
type TargetFormat string
Format defines the output encoding format for running config +enum
const ( Format_JSON TargetFormat = "json" Format_JSON_IETF TargetFormat = "json_ietf" Format_XML TargetFormat = "xml" Format_PROTO TargetFormat = "proto" Format_XPATH TargetFormat = "xpath" )
func ParseTargetFormat ¶ added in v0.0.56
func ParseTargetFormat(s string) TargetFormat
ParseTargetFormat converts a string to TargetFormat, defaulting to JSON for unknown values.
type TargetList ¶ added in v0.0.56
type TargetList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Items []Target `json:"items" protobuf:"bytes,2,rep,name=items"`
}
TargetList contains a list of Targets
func (*TargetList) DeepCopy ¶ added in v0.0.56
func (in *TargetList) DeepCopy() *TargetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetList.
func (*TargetList) DeepCopyInto ¶ added in v0.0.56
func (in *TargetList) DeepCopyInto(out *TargetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetList) DeepCopyObject ¶ added in v0.0.56
func (in *TargetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TargetList) GetListMeta ¶ added in v0.0.56
func (r *TargetList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements the resource.ObjectList
type TargetRunningConfig ¶ added in v0.0.56
type TargetRunningConfig struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
Format string `json:"format" protobuf:"bytes,3,opt,name=format"`
}
TargetRunningConfig is the Schema for the TargetRunning API
func (TargetRunningConfig) ConvertFromURLValues ¶ added in v0.0.56
func (TargetRunningConfig) ConvertFromURLValues() func(a, b interface{}, scope conversion.Scope) error
func (*TargetRunningConfig) DeepCopy ¶ added in v0.0.56
func (in *TargetRunningConfig) DeepCopy() *TargetRunningConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetRunningConfig.
func (*TargetRunningConfig) DeepCopyInto ¶ added in v0.0.56
func (in *TargetRunningConfig) DeepCopyInto(out *TargetRunningConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetRunningConfig) DeepCopyObject ¶ added in v0.0.56
func (in *TargetRunningConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (TargetRunningConfig) New ¶ added in v0.0.56
func (TargetRunningConfig) New() runtime.Object
func (TargetRunningConfig) NewGetOptions ¶ added in v0.0.56
func (TargetRunningConfig) NewGetOptions() runtime.Object
func (TargetRunningConfig) NewStorage ¶ added in v0.0.56
func (TargetRunningConfig) SubResourceName ¶ added in v0.0.56
func (TargetRunningConfig) SubResourceName() string
type TargetRunningConfigOptions ¶ added in v0.0.56
type TargetRunningConfigOptions struct {
metav1.TypeMeta `json:",inline"`
// Path filters the running config to a subtree
Path string `json:"path,omitempty"`
// Format controls output format (json, json_ietf, xml, proto, xpath)
// +kubebuilder:validation:Enum=json;json_ietf;xml;proto;xpath
// +kubebuilder:default=json
Format string `json:"format,omitempty"`
}
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true TargetRunningOptions is the Option Parametsrs for the TargetRunningOptions QueryParamters
func (*TargetRunningConfigOptions) DeepCopy ¶ added in v0.0.56
func (in *TargetRunningConfigOptions) DeepCopy() *TargetRunningConfigOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetRunningConfigOptions.
func (*TargetRunningConfigOptions) DeepCopyInto ¶ added in v0.0.56
func (in *TargetRunningConfigOptions) DeepCopyInto(out *TargetRunningConfigOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetRunningConfigOptions) DeepCopyObject ¶ added in v0.0.56
func (in *TargetRunningConfigOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TargetSpec ¶ added in v0.0.56
type TargetSpec struct {
// Provider specifies the provider using this target.
Provider string `json:"provider" protobuf:"bytes,1,opt,name=provider"`
// Address defines the address to connect to the target
Address string `json:"address" protobuf:"bytes,2,opt,name=address"`
// TargetProfile defines the Credentials/TLSSecret and sync/connectivity profile to connect to the target
invv1alpha1.TargetProfile `json:",inline" protobuf:"bytes,3,opt,name=targetProfile"`
}
TargetSpec defines the desired state of Target
func (*TargetSpec) DeepCopy ¶ added in v0.0.56
func (in *TargetSpec) DeepCopy() *TargetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSpec.
func (*TargetSpec) DeepCopyInto ¶ added in v0.0.56
func (in *TargetSpec) DeepCopyInto(out *TargetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetStatus ¶
type TargetStatus struct {
// ConditionedStatus provides the status of the Target using conditions
condition.ConditionedStatus `json:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"`
// Discovery info defines the information retrieved during discovery
DiscoveryInfo *DiscoveryInfo `json:"discoveryInfo,omitempty" protobuf:"bytes,2,opt,name=discoveryInfo"`
// UsedReferences track the resource used to reconcile the cr
UsedReferences *TargetStatusUsedReferences `json:"usedReferences,omitempty" protobuf:"bytes,3,opt,name=usedReferences"`
}
TargetStatus defines the observed state of Target
func (TargetStatus) CopyTo ¶ added in v0.0.56
func (r TargetStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource
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.
func (*TargetStatus) GetDiscoveryInfo ¶ added in v0.0.56
func (r *TargetStatus) GetDiscoveryInfo() DiscoveryInfo
func (TargetStatus) SubResourceName ¶ added in v0.0.56
func (TargetStatus) SubResourceName() string
SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource
type TargetStatusUsedReferences ¶ added in v0.0.56
type TargetStatusUsedReferences struct {
SecretResourceVersion string `json:"secretResourceVersion,omitempty" protobuf:"bytes,1,opt,name=secretResourceVersion"`
TLSSecretResourceVersion string `json:"tlsSecretResourceVersion,omitempty" protobuf:"bytes,2,opt,name=tlsSecretResourceVersion"`
ConnectionProfileResourceVersion string `json:"connectionProfileResourceVersion" protobuf:"bytes,3,opt,name=connectionProfileResourceVersion"`
SyncProfileResourceVersion string `json:"syncProfileResourceVersion" protobuf:"bytes,4,opt,name=syncProfileResourceVersion"`
}
func (*TargetStatusUsedReferences) DeepCopy ¶ added in v0.0.56
func (in *TargetStatusUsedReferences) DeepCopy() *TargetStatusUsedReferences
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetStatusUsedReferences.
func (*TargetStatusUsedReferences) DeepCopyInto ¶ added in v0.0.56
func (in *TargetStatusUsedReferences) DeepCopyInto(out *TargetStatusUsedReferences)
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_clear_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
- sensitive_config_helpers.go
- sensitive_config_resource.go
- sensitive_config_types.go
- target_cleardeviation_resource.go
- target_cleardeviation_types.go
- target_configblame_resource.go
- target_configblame_types.go
- target_helpers.go
- target_resource.go
- target_runningconfig_resource.go
- target_runningconfig_types.go
- target_types.go
- zz_generated.deepcopy.go