config

package
v0.0.56 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 35 Imported by: 2

Documentation

Overview

Package v1alpha1 is the internal version of the API.

Index

Constants

View Source
const (
	ConditionTypeConfigReady cond.ConditionType = "ConfigReady"
	ConditionTypeTargetReady cond.ConditionType = "TargetReady"
)

Condition Types.

View Source
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"
)
View Source
const (
	ConfigPlural   = "configs"
	ConfigSingular = "config"
)
View Source
const (
	ConfigBlamePlural   = "configblames"
	ConfigBlameSingular = "configblame"
)
View Source
const (
	ConfigSetPlural   = "configsets"
	ConfigSetSingular = "configset"
)
View Source
const (
	DeviationPlural   = "deviations"
	DeviationSingular = "deviation"
)
View Source
const (
	TargetNameKey      = GroupName + "/" + "targetName"
	TargetNamespaceKey = GroupName + "/" + "targetNamespace"
)
View Source
const (
	GroupName = "config.sdcio.dev"
	//Version = "v1alpha1"
	Version = runtime.APIVersionInternal
)
View Source
const (
	RunningConfigPlural   = "runningconfigs"
	RunningConfigSingular = "runningconfig"
)
View Source
const (
	SensitiveConfigPlural   = "sensitiveconfigs"
	SensitiveConfigSingular = "sensitiveconfig"
)
View Source
const (
	TargetPlural   = "targets"
	TargetSingular = "target"
)
View Source
const RunningIntentName = "running"
View Source
const (
	SubResource_ClearDeviation = "cleardeviation"
)
View Source
const (
	SubResource_ConfigBlame = "configblame"
)
View Source
const (
	SubResource_RunningConfig = "runningconfig"
)

Variables

View Source
var (
	ConfigShortNames = []string{}
	ConfigCategories = []string{"sdc", "knet"}
)
View Source
var (
	ConfigBlameShortNames = []string{}
	ConfigBlameCategories = []string{"sdc", "knet"}
)
View Source
var (
	ConfigSetShortNames = []string{}
	ConfigSetCategories = []string{"sdc", "knet"}
)
View Source
var (
	DeviationShortNames = []string{}
	DeviationCategories = []string{"sdc", "knet"}
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	RunningConfigShortNames = []string{}
	RunningConfigCategories = []string{"sdc", "knet"}
)
View Source
var (
	SensitiveConfigShortNames = []string{}
	SensitiveConfigCategories = []string{"sdc", "knet"}
)
View Source
var (
	TargetShortNames = []string{}
	TargetCategories = []string{"sdc", "knet"}
)
View Source
var (
	TargetKind             = reflect.TypeOf(Target{}).Name()
	TargetGroupKind        = schema.GroupKind{Group: SchemeGroupVersion.Group, Kind: TargetKind}.String()
	TargetKindAPIVersion   = TargetKind + "." + SchemeGroupVersion.String()
	TargetGroupVersionKind = SchemeGroupVersion.WithKind(TargetKind)
)
View Source
var (
	ConfigBlameKind = reflect.TypeOf(ConfigBlame{}).Name()
)

ConfigBlame type metadata.

View Source
var (
	ConfigKind = reflect.TypeOf(Config{}).Name()
)

Config type metadata.

View Source
var (
	ConfigSetKind = reflect.TypeOf(ConfigSet{}).Name()
)

ConfigSet type metadata.

View Source
var (
	DeviationClearKind = reflect.TypeOf(DeviationClear{}).Name()
)

DeviationClearKind type metadata.

View Source
var (
	DeviationKind = reflect.TypeOf(Deviation{}).Name()
)

DeviationKind type metadata.

View Source
var (
	RunningConfigKind = reflect.TypeOf(RunningConfig{}).Name()
)

RunningConfig type metadata.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
View Source
var (
	SensitiveConfigKind = reflect.TypeOf(SensitiveConfig{}).Name()
)

SensitiveConfig type metadata.

View Source
var (
	TargetClearDeviationKind = reflect.TypeOf(TargetClearDeviation{}).Name()
)
View Source
var (
	TargetConfigBlameKind = reflect.TypeOf(TargetConfigBlame{}).Name()
)
View Source
var (
	TargetRunningConfigKind = reflect.TypeOf(TargetRunningConfig{}).Name()
)

Functions

func FormatToProto added in v0.0.56

func FormatToProto(f TargetFormat) sdcpb.Format

func GetGVKNSN added in v0.0.56

func GetGVKNSN(obj client.Object) string

func GetIntentUpdate added in v0.0.56

func GetIntentUpdate(config *Config, useSpec bool) ([]*sdcpb.Update, error)

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 Kind

func Kind(kind string) schema.GroupKind

func NewTargetClearDeviationSubResource added in v0.0.56

func NewTargetClearDeviationSubResource(c client.Client) *targetClearDeviationSubResource

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

func SetSubResourceClient(c client.Client)

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

func (in *Config) DeepCopy() *Config

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

func (*Config) DeepCopyInto

func (in *Config) DeepCopyInto(out *Config)

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

func (*Config) DeepCopyObject

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

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 (r *Config) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Config) GetCategories added in v0.0.27

func (Config) GetCategories() []string

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

func (Config) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Config) GetSingularName added in v0.0.27

func (Config) GetSingularName() string

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) GetTarget added in v0.0.27

func (r *Config) GetTarget() string

func (*Config) HashDeviationGenerationChanged added in v0.0.53

func (r *Config) HashDeviationGenerationChanged(deviation Deviation) bool

func (*Config) IsConditionReady added in v0.0.50

func (r *Config) IsConditionReady() bool

func (*Config) IsConfigConditionReady added in v0.0.55

func (r *Config) IsConfigConditionReady() bool

func (*Config) IsEqual added in v0.0.27

func (r *Config) IsEqual(ctx context.Context, obj, old runtime.Object) bool

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 (r *Config) IsRecoverable(ctx context.Context) bool

func (*Config) IsRevertive added in v0.0.53

func (r *Config) IsRevertive() bool

func (*Config) IsStatusEqual added in v0.0.27

func (r *Config) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Config) IsStorageVersion added in v0.0.27

func (Config) IsStorageVersion() bool

IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object

func (Config) NamespaceScoped added in v0.0.27

func (Config) NamespaceScoped() bool

NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object

func (Config) New added in v0.0.27

func (Config) New() runtime.Object

New return an empty resource New implements resource.Object

func (Config) NewList added in v0.0.27

func (Config) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Config) Orphan added in v0.0.47

func (r *Config) Orphan() bool

func (*Config) PrepareForCreate added in v0.0.27

func (r *Config) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Config) PrepareForStatusUpdate added in v0.0.27

func (r *Config) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Config) PrepareForUpdate added in v0.0.27

func (r *Config) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Config) SetConditions added in v0.0.27

func (r *Config) 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 (*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

func (r *Config) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Config) ValidateStatusUpdate added in v0.0.27

func (r *Config) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Config) ValidateUpdate added in v0.0.27

func (r *Config) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

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 (r *ConfigBlame) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

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

func (r *ConfigBlame) IsEqual(ctx context.Context, obj, old runtime.Object) bool

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

func (r *ConfigBlame) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*ConfigBlame) ValidateUpdate added in v0.0.52

func (r *ConfigBlame) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

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.

func (*ConfigBlameFilter) Filter added in v0.0.52

func (r *ConfigBlameFilter) Filter(ctx context.Context, obj runtime.Object) bool

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.

func (*ConfigFilter) Filter added in v0.0.27

func (r *ConfigFilter) Filter(ctx context.Context, obj runtime.Object) bool

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

func (in *ConfigSet) DeepCopy() *ConfigSet

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

func (*ConfigSet) DeepCopyInto

func (in *ConfigSet) DeepCopyInto(out *ConfigSet)

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

func (*ConfigSet) DeepCopyObject

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

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 (r *ConfigSet) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (ConfigSet) GetCategories added in v0.0.27

func (ConfigSet) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*ConfigSet) GetCondition added in v0.0.27

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

func (ConfigSet) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (ConfigSet) GetSingularName added in v0.0.27

func (ConfigSet) GetSingularName() string

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

func (r *ConfigSet) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*ConfigSet) IsStatusEqual added in v0.0.27

func (r *ConfigSet) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (ConfigSet) IsStorageVersion added in v0.0.27

func (ConfigSet) IsStorageVersion() bool

IsStorageVersion returns true -- ConfigSet is used as the internal version. IsStorageVersion implements resource.Object

func (ConfigSet) NamespaceScoped added in v0.0.27

func (ConfigSet) NamespaceScoped() bool

NamespaceScoped returns if ConfigSet is a namespaced resource. NamespaceScoped implements resource.Object

func (ConfigSet) New added in v0.0.27

func (ConfigSet) New() runtime.Object

New return an empty resource New implements resource.Object

func (ConfigSet) NewList added in v0.0.27

func (ConfigSet) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*ConfigSet) PrepareForCreate added in v0.0.27

func (r *ConfigSet) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*ConfigSet) PrepareForStatusUpdate added in v0.0.27

func (r *ConfigSet) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*ConfigSet) PrepareForUpdate added in v0.0.27

func (r *ConfigSet) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*ConfigSet) SetConditions added in v0.0.27

func (r *ConfigSet) 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 (*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

func (r *ConfigSet) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*ConfigSet) ValidateStatusUpdate added in v0.0.27

func (r *ConfigSet) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*ConfigSet) ValidateUpdate added in v0.0.27

func (r *ConfigSet) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

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.

func (*ConfigSetFilter) Filter added in v0.0.27

func (r *ConfigSetFilter) Filter(ctx context.Context, obj runtime.Object) bool

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

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

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.

func (*ConfigSpec) GetShaSum added in v0.0.53

func (r *ConfigSpec) GetShaSum(ctx context.Context) [20]byte

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

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

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

func (*ConfigStatusLastKnownGoodSchema) DeepCopyInto

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

func (in *Deviation) DeepCopy() *Deviation

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

func (*Deviation) DeepCopyInto

func (in *Deviation) DeepCopyInto(out *Deviation)

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

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

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 (r *Deviation) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (Deviation) GetCategories added in v0.0.53

func (Deviation) GetCategories() []string

GetCategories return the categories of the resource GetCategories implements resource.Object

func (*Deviation) GetCondition added in v0.0.53

GetCondition returns the condition based on the condition kind

func (*Deviation) GetDeviationType added in v0.0.53

func (r *Deviation) GetDeviationType() string

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

func (Deviation) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Deviation) GetSingularName added in v0.0.53

func (Deviation) GetSingularName() string

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) GetTarget added in v0.0.53

func (r *Deviation) GetTarget() string

func (Deviation) HasNotAppliedDeviation added in v0.0.53

func (r Deviation) HasNotAppliedDeviation() bool

func (*Deviation) IsConditionReady added in v0.0.53

func (r *Deviation) IsConditionReady() bool

func (*Deviation) IsEqual added in v0.0.53

func (r *Deviation) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Deviation) IsStatusEqual added in v0.0.53

func (r *Deviation) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Deviation) IsStorageVersion added in v0.0.53

func (Deviation) IsStorageVersion() bool

IsStorageVersion returns true -- Deviation is used as the internal version. IsStorageVersion implements resource.Object

func (Deviation) NamespaceScoped added in v0.0.53

func (Deviation) NamespaceScoped() bool

NamespaceScoped returns if Deviation is a namespaced resource. NamespaceScoped implements resource.Object

func (Deviation) New added in v0.0.53

func (Deviation) New() runtime.Object

New return an empty resource New implements resource.Object

func (Deviation) NewList added in v0.0.53

func (Deviation) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Deviation) PrepareForCreate added in v0.0.53

func (r *Deviation) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Deviation) PrepareForStatusUpdate added in v0.0.53

func (r *Deviation) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Deviation) PrepareForUpdate added in v0.0.53

func (r *Deviation) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Deviation) SetConditions added in v0.0.53

func (r *Deviation) 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 (*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

func (r *Deviation) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Deviation) ValidateStatusUpdate added in v0.0.53

func (r *Deviation) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Deviation) ValidateUpdate added in v0.0.53

func (r *Deviation) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

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

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.

func (*DeviationFilter) Filter added in v0.0.53

func (r *DeviationFilter) Filter(ctx context.Context, obj runtime.Object) bool

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

CopyTo copies the content of the status subresource to a parent resource. CopyTo implements the resource.StatusSubResource

func (*DeviationStatus) DeepCopy added in v0.0.53

func (in *DeviationStatus) DeepCopy() *DeviationStatus

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

func (*DeviationStatus) DeepCopyInto added in v0.0.53

func (in *DeviationStatus) DeepCopyInto(out *DeviationStatus)

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

func (DeviationStatus) SubResourceName added in v0.0.53

func (DeviationStatus) SubResourceName() string

SubResourceName resturns the name of the subresource SubResourceName implements the resource.StatusSubResource

type DeviationType added in v0.0.53

type DeviationType string
const (
	DeviationType_TARGET DeviationType = "target"
	DeviationType_CONFIG DeviationType = "config"
)

func (DeviationType) String added in v0.0.53

func (r DeviationType) String() string

type 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

func (in *Lifecycle) DeepCopy() *Lifecycle

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

func (*Lifecycle) DeepCopyInto

func (in *Lifecycle) DeepCopyInto(out *Lifecycle)

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

type RecoveryConfig added in v0.0.53

type RecoveryConfig struct {
	Config    Config
	Deviation Deviation
}

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

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 (r *RunningConfig) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

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

func (r *RunningConfig) IsEqual(ctx context.Context, obj, old runtime.Object) bool

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

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

func (r *RunningConfig) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*RunningConfig) ValidateUpdate added in v0.0.27

func (r *RunningConfig) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

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.

func (*RunningConfigFilter) Filter added in v0.0.27

func (r *RunningConfigFilter) Filter(ctx context.Context, obj runtime.Object) bool

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 (r *SensitiveConfig) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

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

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

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

func (r *SensitiveConfig) IsEqual(ctx context.Context, obj, old runtime.Object) bool

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

func (r *SensitiveConfig) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

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

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

func (r *SensitiveConfig) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

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

func (r *SensitiveConfig) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

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

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.

func (*SensitiveConfigFilter) Filter added in v0.0.55

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.

func (*SensitiveConfigSpec) GetShaSum added in v0.0.55

func (r *SensitiveConfigSpec) GetShaSum(ctx context.Context) [20]byte

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

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

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 (r *Target) ClearDeviations(ctx context.Context, c client.Client, req *TargetClearDeviation) (runtime.Object, error)

func (*Target) DeepCopy

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

func (in *Target) DeepCopyInto(out *Target)

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

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

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 (r *Target) FieldSelector() func(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)

func (*Target) GetArbitrarySubResources added in v0.0.56

func (r *Target) GetArbitrarySubResources() []resource.ArbitrarySubResource

func (Target) GetCategories added in v0.0.56

func (Target) GetCategories() []string

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

func (r *Target) GetConditions() []condition.Condition

GetCondition returns the condition based on the condition kind

func (*Target) GetConfigBlame added in v0.0.56

func (r *Target) GetConfigBlame(ctx context.Context) (runtime.Object, error)

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 (r *Target) GetRunningConfig(ctx context.Context, opts *TargetRunningConfigOptions) (runtime.Object, error)

func (Target) GetShortNames added in v0.0.56

func (Target) GetShortNames() []string

GetShortNames returns the shortnames for the resource GetShortNames implements resource.Object

func (Target) GetSingularName added in v0.0.56

func (Target) GetSingularName() string

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 (r *Target) IsConditionReady() bool

func (*Target) IsEqual added in v0.0.56

func (r *Target) IsEqual(ctx context.Context, obj, old runtime.Object) bool

IsEqual returns a bool indicating if the desired state of both resources is equal or not

func (*Target) IsReady added in v0.0.56

func (r *Target) IsReady() bool

func (*Target) IsStatusEqual added in v0.0.56

func (r *Target) IsStatusEqual(ctx context.Context, obj, old runtime.Object) bool

IsStatusEqual returns a bool indicating if the status of both resources is equal or not

func (Target) IsStorageVersion added in v0.0.56

func (Target) IsStorageVersion() bool

IsStorageVersion returns true -- Target is used as the internal version. IsStorageVersion implements resource.Object

func (Target) NamespaceScoped added in v0.0.56

func (Target) NamespaceScoped() bool

NamespaceScoped returns true to indicate Target is a namespaced resource. NamespaceScoped implements resource.Object

func (Target) New added in v0.0.56

func (Target) New() runtime.Object

New return an empty resource New implements resource.Object

func (Target) NewList added in v0.0.56

func (Target) NewList() runtime.Object

NewList return an empty resourceList NewList implements resource.Object

func (*Target) PrepareForCreate added in v0.0.56

func (r *Target) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Target) PrepareForStatusUpdate added in v0.0.56

func (r *Target) PrepareForStatusUpdate(ctx context.Context, obj, old runtime.Object)

PrepareForStatusUpdate prepares the status update

func (*Target) PrepareForUpdate added in v0.0.56

func (r *Target) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*Target) SetConditions added in v0.0.56

func (r *Target) 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 (*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

func (r *Target) ValidateCreate(ctx context.Context, obj runtime.Object) field.ErrorList

ValidateCreate statically validates

func (*Target) ValidateStatusUpdate added in v0.0.56

func (r *Target) ValidateStatusUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

ValidateStatusUpdate validates status updates

func (*Target) ValidateUpdate added in v0.0.56

func (r *Target) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

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

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

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

func (*TargetClearDeviationConfig) DeepCopyInto added in v0.0.56

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

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

func (*TargetClearDeviationConfigResult) DeepCopyInto added in v0.0.56

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

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

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

func (*TargetClearDeviationStatus) DeepCopyInto added in v0.0.56

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) NewStorage added in v0.0.56

func (TargetConfigBlame) NewStorage(scheme *runtime.Scheme, parentStorage rest.Storage) (rest.Storage, error)

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.

func (*TargetFilter) Filter added in v0.0.56

func (r *TargetFilter) Filter(ctx context.Context, obj runtime.Object) bool

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

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) NewGetOptions added in v0.0.56

func (TargetRunningConfig) NewGetOptions() runtime.Object

func (TargetRunningConfig) NewStorage added in v0.0.56

func (TargetRunningConfig) NewStorage(scheme *runtime.Scheme, parentStorage rest.Storage) (rest.Storage, error)

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)
	// +kubebuilder:validation:Enum=json;json_ietf;xml;proto
	// +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

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

func (*TargetRunningConfigOptions) DeepCopyInto added in v0.0.56

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

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

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

func (*TargetStatusUsedReferences) DeepCopyInto added in v0.0.56

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

Directories

Path Synopsis
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL