Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
- Constants
- Variables
- func ConvertConfigFieldSelector(label, value string) (internalLabel, internalValue string, err error)
- func Convert_condition_Condition_To_v1alpha1_Condition(in *condition.Condition, out *v1alpha1.Condition, s conversion.Scope) error
- func Convert_condition_ConditionedStatus_To_v1alpha1_ConditionedStatus(in *condition.ConditionedStatus, out *v1alpha1.ConditionedStatus, ...) error
- func Convert_config_ConfigBlob_To_v1alpha1_ConfigBlob(in *config.ConfigBlob, out *ConfigBlob, s conversion.Scope) error
- func Convert_config_ConfigList_To_v1alpha1_ConfigList(in *config.ConfigList, out *ConfigList, s conversion.Scope) error
- func Convert_config_ConfigSetList_To_v1alpha1_ConfigSetList(in *config.ConfigSetList, out *ConfigSetList, s conversion.Scope) error
- func Convert_config_ConfigSetSpec_To_v1alpha1_ConfigSetSpec(in *config.ConfigSetSpec, out *ConfigSetSpec, s conversion.Scope) error
- func Convert_config_ConfigSetStatus_To_v1alpha1_ConfigSetStatus(in *config.ConfigSetStatus, out *ConfigSetStatus, s conversion.Scope) error
- func Convert_config_ConfigSet_To_v1alpha1_ConfigSet(in *config.ConfigSet, out *ConfigSet, s conversion.Scope) error
- func Convert_config_ConfigSpec_To_v1alpha1_ConfigSpec(in *config.ConfigSpec, out *ConfigSpec, s conversion.Scope) error
- func Convert_config_ConfigStatusLastKnownGoodSchema_To_v1alpha1_ConfigStatusLastKnownGoodSchema(in *config.ConfigStatusLastKnownGoodSchema, ...) error
- func Convert_config_ConfigStatus_To_v1alpha1_ConfigStatus(in *config.ConfigStatus, out *ConfigStatus, s conversion.Scope) error
- func Convert_config_Config_To_v1alpha1_Config(in *config.Config, out *Config, s conversion.Scope) error
- func Convert_config_Deviation_To_v1alpha1_Deviation(in *config.Deviation, out *Deviation, s conversion.Scope) error
- func Convert_config_Lifecycle_To_v1alpha1_Lifecycle(in *config.Lifecycle, out *Lifecycle, s conversion.Scope) error
- func Convert_config_RunningConfigList_To_v1alpha1_RunningConfigList(in *config.RunningConfigList, out *RunningConfigList, s conversion.Scope) error
- func Convert_config_RunningConfigSpec_To_v1alpha1_RunningConfigSpec(in *config.RunningConfigSpec, out *RunningConfigSpec, s conversion.Scope) error
- func Convert_config_RunningConfigStatus_To_v1alpha1_RunningConfigStatus(in *config.RunningConfigStatus, out *RunningConfigStatus, s conversion.Scope) error
- func Convert_config_RunningConfig_To_v1alpha1_RunningConfig(in *config.RunningConfig, out *RunningConfig, s conversion.Scope) error
- func Convert_config_TargetStatus_To_v1alpha1_TargetStatus(in *config.TargetStatus, out *TargetStatus, s conversion.Scope) error
- func Convert_config_Target_To_v1alpha1_Target(in *config.Target, out *Target, s conversion.Scope) error
- func Convert_config_UnManagedConfigList_To_v1alpha1_UnManagedConfigList(in *config.UnManagedConfigList, out *UnManagedConfigList, s conversion.Scope) error
- func Convert_config_UnManagedConfigSpec_To_v1alpha1_UnManagedConfigSpec(in *config.UnManagedConfigSpec, out *UnManagedConfigSpec, s conversion.Scope) error
- func Convert_config_UnManagedConfigStatus_To_v1alpha1_UnManagedConfigStatus(in *config.UnManagedConfigStatus, out *UnManagedConfigStatus, ...) error
- func Convert_config_UnManagedConfig_To_v1alpha1_UnManagedConfig(in *config.UnManagedConfig, out *UnManagedConfig, s conversion.Scope) error
- func Convert_v1alpha1_Condition_To_condition_Condition(in *v1alpha1.Condition, out *condition.Condition, s conversion.Scope) error
- func Convert_v1alpha1_ConditionedStatus_To_condition_ConditionedStatus(in *v1alpha1.ConditionedStatus, out *condition.ConditionedStatus, ...) error
- func Convert_v1alpha1_ConfigBlob_To_config_ConfigBlob(in *ConfigBlob, out *config.ConfigBlob, s conversion.Scope) error
- func Convert_v1alpha1_ConfigList_To_config_ConfigList(in *ConfigList, out *config.ConfigList, s conversion.Scope) error
- func Convert_v1alpha1_ConfigSetList_To_config_ConfigSetList(in *ConfigSetList, out *config.ConfigSetList, s conversion.Scope) error
- func Convert_v1alpha1_ConfigSetSpec_To_config_ConfigSetSpec(in *ConfigSetSpec, out *config.ConfigSetSpec, s conversion.Scope) error
- func Convert_v1alpha1_ConfigSetStatus_To_config_ConfigSetStatus(in *ConfigSetStatus, out *config.ConfigSetStatus, s conversion.Scope) error
- func Convert_v1alpha1_ConfigSet_To_config_ConfigSet(in *ConfigSet, out *config.ConfigSet, s conversion.Scope) error
- func Convert_v1alpha1_ConfigSpec_To_config_ConfigSpec(in *ConfigSpec, out *config.ConfigSpec, s conversion.Scope) error
- func Convert_v1alpha1_ConfigStatusLastKnownGoodSchema_To_config_ConfigStatusLastKnownGoodSchema(in *ConfigStatusLastKnownGoodSchema, ...) error
- func Convert_v1alpha1_ConfigStatus_To_config_ConfigStatus(in *ConfigStatus, out *config.ConfigStatus, s conversion.Scope) error
- func Convert_v1alpha1_Config_To_config_Config(in *Config, out *config.Config, s conversion.Scope) error
- func Convert_v1alpha1_Deviation_To_config_Deviation(in *Deviation, out *config.Deviation, s conversion.Scope) error
- func Convert_v1alpha1_Lifecycle_To_config_Lifecycle(in *Lifecycle, out *config.Lifecycle, s conversion.Scope) error
- func Convert_v1alpha1_RunningConfigList_To_config_RunningConfigList(in *RunningConfigList, out *config.RunningConfigList, s conversion.Scope) error
- func Convert_v1alpha1_RunningConfigSpec_To_config_RunningConfigSpec(in *RunningConfigSpec, out *config.RunningConfigSpec, s conversion.Scope) error
- func Convert_v1alpha1_RunningConfigStatus_To_config_RunningConfigStatus(in *RunningConfigStatus, out *config.RunningConfigStatus, s conversion.Scope) error
- func Convert_v1alpha1_RunningConfig_To_config_RunningConfig(in *RunningConfig, out *config.RunningConfig, s conversion.Scope) error
- func Convert_v1alpha1_TargetStatus_To_config_TargetStatus(in *TargetStatus, out *config.TargetStatus, s conversion.Scope) error
- func Convert_v1alpha1_Target_To_config_Target(in *Target, out *config.Target, s conversion.Scope) error
- func Convert_v1alpha1_UnManagedConfigList_To_config_UnManagedConfigList(in *UnManagedConfigList, out *config.UnManagedConfigList, s conversion.Scope) error
- func Convert_v1alpha1_UnManagedConfigSpec_To_config_UnManagedConfigSpec(in *UnManagedConfigSpec, out *config.UnManagedConfigSpec, s conversion.Scope) error
- func Convert_v1alpha1_UnManagedConfigStatus_To_config_UnManagedConfigStatus(in *UnManagedConfigStatus, out *config.UnManagedConfigStatus, ...) error
- func Convert_v1alpha1_UnManagedConfig_To_config_UnManagedConfig(in *UnManagedConfig, out *config.UnManagedConfig, s conversion.Scope) error
- func Creating() condv1alpha1.Condition
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func Updating() condv1alpha1.Condition
- type Config
- func (r *Config) CalculateHash() ([sha1.Size]byte, error)
- func (in *Config) DeepCopy() *Config
- func (in *Config) DeepCopyInto(out *Config)
- func (in *Config) DeepCopyObject() runtime.Object
- func (r *Config) GetCondition(t condv1alpha1.ConditionType) condv1alpha1.Condition
- func (Config) GetGroupVersionResource() schema.GroupVersionResource
- func (r *Config) GetLastKnownGoodSchema() *ConfigStatusLastKnownGoodSchema
- func (r *Config) GetObjectMeta() *metav1.ObjectMeta
- func (r *Config) GetTarget() string
- func (Config) IsStorageVersion() bool
- func (Config) NamespaceScoped() bool
- func (Config) New() runtime.Object
- func (Config) NewList() runtime.Object
- func (Config) RegisterConversions() func(s *runtime.Scheme) error
- func (r *Config) SetConditions(c ...condv1alpha1.Condition)
- func (r *Config) Validate() error
- type ConfigBlob
- type ConfigList
- type ConfigSet
- func (in *ConfigSet) DeepCopy() *ConfigSet
- func (in *ConfigSet) DeepCopyInto(out *ConfigSet)
- func (in *ConfigSet) DeepCopyObject() runtime.Object
- func (r *ConfigSet) GetCondition(t condv1alpha1.ConditionType) condv1alpha1.Condition
- func (ConfigSet) GetGroupVersionResource() schema.GroupVersionResource
- func (r *ConfigSet) GetObjectMeta() *metav1.ObjectMeta
- func (r *ConfigSet) GetTarget() string
- func (ConfigSet) IsStorageVersion() bool
- func (ConfigSet) NamespaceScoped() bool
- func (ConfigSet) New() runtime.Object
- func (ConfigSet) NewList() runtime.Object
- func (ConfigSet) RegisterConversions() func(s *runtime.Scheme) error
- func (r *ConfigSet) SetConditions(c ...condv1alpha1.Condition)
- type ConfigSetList
- type ConfigSetSpec
- type ConfigSetStatus
- type ConfigSpec
- type ConfigStatus
- type ConfigStatusLastKnownGoodSchema
- type DeletionPolicy
- type Deviation
- type Lifecycle
- type RunningConfig
- func (in *RunningConfig) DeepCopy() *RunningConfig
- func (in *RunningConfig) DeepCopyInto(out *RunningConfig)
- func (in *RunningConfig) DeepCopyObject() runtime.Object
- func (RunningConfig) GetGroupVersionResource() schema.GroupVersionResource
- func (r *RunningConfig) GetObjectMeta() *metav1.ObjectMeta
- func (RunningConfig) IsStorageVersion() bool
- func (RunningConfig) NamespaceScoped() bool
- func (RunningConfig) New() runtime.Object
- func (RunningConfig) NewList() runtime.Object
- func (RunningConfig) RegisterConversions() func(s *runtime.Scheme) error
- type RunningConfigList
- type RunningConfigSpec
- type RunningConfigStatus
- type Target
- type TargetStatus
- type UnManagedConfig
- func (in *UnManagedConfig) DeepCopy() *UnManagedConfig
- func (in *UnManagedConfig) DeepCopyInto(out *UnManagedConfig)
- func (in *UnManagedConfig) DeepCopyObject() runtime.Object
- func (UnManagedConfig) GetGroupVersionResource() schema.GroupVersionResource
- func (r *UnManagedConfig) GetObjectMeta() *metav1.ObjectMeta
- func (UnManagedConfig) IsStorageVersion() bool
- func (UnManagedConfig) NamespaceScoped() bool
- func (UnManagedConfig) New() runtime.Object
- func (UnManagedConfig) NewList() runtime.Object
- func (UnManagedConfig) RegisterConversions() func(s *runtime.Scheme) error
- type UnManagedConfigList
- type UnManagedConfigSpec
- type UnManagedConfigStatus
Constants ¶
const ( //ConditionReasonDeleting condv1alpha1.ConditionReason = "deleting" ConditionReasonCreating condv1alpha1.ConditionReason = "creating" ConditionReasonUpdating condv1alpha1.ConditionReason = "updating" //ConditionReasonTargetDeleted condv1alpha1.ConditionReason = "target Deleted" ConditionReasonTargetNotReady condv1alpha1.ConditionReason = "target not ready" ConditionReasonTargetNotFound condv1alpha1.ConditionReason = "target not found" )
Reasons a resource is ready or not
const ( Group = "config.sdcio.dev" Version = "v1alpha1" )
Variables ¶
var ( // SchemeGroupVersion contains the API group and version information for the types in this package. SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // AddToScheme applies all the stored functions to the scheme. A non-nil error // indicates that one function failed and the attempt was abandoned. AddToScheme = localSchemeBuilder.AddToScheme )
var (
ConfigKind = reflect.TypeOf(Config{}).Name()
)
Config type metadata.
var (
ConfigSetKind = reflect.TypeOf(ConfigSet{}).Name()
)
Config type metadata.
var (
RunningConfigKind = reflect.TypeOf(RunningConfig{}).Name()
)
RunningConfig type metadata.
var (
UnManagedConfigKind = reflect.TypeOf(UnManagedConfig{}).Name()
)
UnManagedConfig type metadata.
Functions ¶
func ConvertConfigFieldSelector ¶
func ConvertConfigFieldSelector(label, value string) (internalLabel, internalValue string, err error)
ConvertConfigFieldSelector is the schema conversion function for normalizing the FieldSelector for Config
func Convert_condition_Condition_To_v1alpha1_Condition ¶ added in v0.0.27
func Convert_condition_Condition_To_v1alpha1_Condition(in *condition.Condition, out *v1alpha1.Condition, s conversion.Scope) error
Convert_condition_Condition_To_v1alpha1_Condition is hand made conversion function.
func Convert_condition_ConditionedStatus_To_v1alpha1_ConditionedStatus ¶ added in v0.0.27
func Convert_condition_ConditionedStatus_To_v1alpha1_ConditionedStatus(in *condition.ConditionedStatus, out *v1alpha1.ConditionedStatus, s conversion.Scope) error
Convert_v1alpha1_ConditionedStatus_To_condition_ConditionedStatus is hand made conversion function.
func Convert_config_ConfigBlob_To_v1alpha1_ConfigBlob ¶
func Convert_config_ConfigBlob_To_v1alpha1_ConfigBlob(in *config.ConfigBlob, out *ConfigBlob, s conversion.Scope) error
Convert_config_ConfigBlob_To_v1alpha1_ConfigBlob is an autogenerated conversion function.
func Convert_config_ConfigList_To_v1alpha1_ConfigList ¶
func Convert_config_ConfigList_To_v1alpha1_ConfigList(in *config.ConfigList, out *ConfigList, s conversion.Scope) error
Convert_config_ConfigList_To_v1alpha1_ConfigList is an autogenerated conversion function.
func Convert_config_ConfigSetList_To_v1alpha1_ConfigSetList ¶
func Convert_config_ConfigSetList_To_v1alpha1_ConfigSetList(in *config.ConfigSetList, out *ConfigSetList, s conversion.Scope) error
Convert_config_ConfigSetList_To_v1alpha1_ConfigSetList is an autogenerated conversion function.
func Convert_config_ConfigSetSpec_To_v1alpha1_ConfigSetSpec ¶
func Convert_config_ConfigSetSpec_To_v1alpha1_ConfigSetSpec(in *config.ConfigSetSpec, out *ConfigSetSpec, s conversion.Scope) error
Convert_config_ConfigSetSpec_To_v1alpha1_ConfigSetSpec is an autogenerated conversion function.
func Convert_config_ConfigSetStatus_To_v1alpha1_ConfigSetStatus ¶
func Convert_config_ConfigSetStatus_To_v1alpha1_ConfigSetStatus(in *config.ConfigSetStatus, out *ConfigSetStatus, s conversion.Scope) error
Convert_config_ConfigSetStatus_To_v1alpha1_ConfigSetStatus is an autogenerated conversion function.
func Convert_config_ConfigSet_To_v1alpha1_ConfigSet ¶
func Convert_config_ConfigSet_To_v1alpha1_ConfigSet(in *config.ConfigSet, out *ConfigSet, s conversion.Scope) error
Convert_config_ConfigSet_To_v1alpha1_ConfigSet is an autogenerated conversion function.
func Convert_config_ConfigSpec_To_v1alpha1_ConfigSpec ¶
func Convert_config_ConfigSpec_To_v1alpha1_ConfigSpec(in *config.ConfigSpec, out *ConfigSpec, s conversion.Scope) error
Convert_config_ConfigSpec_To_v1alpha1_ConfigSpec is an autogenerated conversion function.
func Convert_config_ConfigStatusLastKnownGoodSchema_To_v1alpha1_ConfigStatusLastKnownGoodSchema ¶
func Convert_config_ConfigStatusLastKnownGoodSchema_To_v1alpha1_ConfigStatusLastKnownGoodSchema(in *config.ConfigStatusLastKnownGoodSchema, out *ConfigStatusLastKnownGoodSchema, s conversion.Scope) error
Convert_config_ConfigStatusLastKnownGoodSchema_To_v1alpha1_ConfigStatusLastKnownGoodSchema is an autogenerated conversion function.
func Convert_config_ConfigStatus_To_v1alpha1_ConfigStatus ¶
func Convert_config_ConfigStatus_To_v1alpha1_ConfigStatus(in *config.ConfigStatus, out *ConfigStatus, s conversion.Scope) error
Convert_config_ConfigStatus_To_v1alpha1_ConfigStatus is an autogenerated conversion function.
func Convert_config_Config_To_v1alpha1_Config ¶
func Convert_config_Config_To_v1alpha1_Config(in *config.Config, out *Config, s conversion.Scope) error
Convert_config_Config_To_v1alpha1_Config is an autogenerated conversion function.
func Convert_config_Deviation_To_v1alpha1_Deviation ¶ added in v0.0.27
func Convert_config_Deviation_To_v1alpha1_Deviation(in *config.Deviation, out *Deviation, s conversion.Scope) error
Convert_config_Deviation_To_v1alpha1_Deviation is an autogenerated conversion function.
func Convert_config_Lifecycle_To_v1alpha1_Lifecycle ¶
func Convert_config_Lifecycle_To_v1alpha1_Lifecycle(in *config.Lifecycle, out *Lifecycle, s conversion.Scope) error
Convert_config_Lifecycle_To_v1alpha1_Lifecycle is an autogenerated conversion function.
func Convert_config_RunningConfigList_To_v1alpha1_RunningConfigList ¶
func Convert_config_RunningConfigList_To_v1alpha1_RunningConfigList(in *config.RunningConfigList, out *RunningConfigList, s conversion.Scope) error
Convert_config_RunningConfigList_To_v1alpha1_RunningConfigList is an autogenerated conversion function.
func Convert_config_RunningConfigSpec_To_v1alpha1_RunningConfigSpec ¶
func Convert_config_RunningConfigSpec_To_v1alpha1_RunningConfigSpec(in *config.RunningConfigSpec, out *RunningConfigSpec, s conversion.Scope) error
Convert_config_RunningConfigSpec_To_v1alpha1_RunningConfigSpec is an autogenerated conversion function.
func Convert_config_RunningConfigStatus_To_v1alpha1_RunningConfigStatus ¶
func Convert_config_RunningConfigStatus_To_v1alpha1_RunningConfigStatus(in *config.RunningConfigStatus, out *RunningConfigStatus, s conversion.Scope) error
Convert_config_RunningConfigStatus_To_v1alpha1_RunningConfigStatus is an autogenerated conversion function.
func Convert_config_RunningConfig_To_v1alpha1_RunningConfig ¶
func Convert_config_RunningConfig_To_v1alpha1_RunningConfig(in *config.RunningConfig, out *RunningConfig, s conversion.Scope) error
Convert_config_RunningConfig_To_v1alpha1_RunningConfig is an autogenerated conversion function.
func Convert_config_TargetStatus_To_v1alpha1_TargetStatus ¶
func Convert_config_TargetStatus_To_v1alpha1_TargetStatus(in *config.TargetStatus, out *TargetStatus, s conversion.Scope) error
Convert_config_TargetStatus_To_v1alpha1_TargetStatus is an autogenerated conversion function.
func Convert_config_Target_To_v1alpha1_Target ¶
func Convert_config_Target_To_v1alpha1_Target(in *config.Target, out *Target, s conversion.Scope) error
Convert_config_Target_To_v1alpha1_Target is an autogenerated conversion function.
func Convert_config_UnManagedConfigList_To_v1alpha1_UnManagedConfigList ¶
func Convert_config_UnManagedConfigList_To_v1alpha1_UnManagedConfigList(in *config.UnManagedConfigList, out *UnManagedConfigList, s conversion.Scope) error
Convert_config_UnManagedConfigList_To_v1alpha1_UnManagedConfigList is an autogenerated conversion function.
func Convert_config_UnManagedConfigSpec_To_v1alpha1_UnManagedConfigSpec ¶
func Convert_config_UnManagedConfigSpec_To_v1alpha1_UnManagedConfigSpec(in *config.UnManagedConfigSpec, out *UnManagedConfigSpec, s conversion.Scope) error
Convert_config_UnManagedConfigSpec_To_v1alpha1_UnManagedConfigSpec is an autogenerated conversion function.
func Convert_config_UnManagedConfigStatus_To_v1alpha1_UnManagedConfigStatus ¶
func Convert_config_UnManagedConfigStatus_To_v1alpha1_UnManagedConfigStatus(in *config.UnManagedConfigStatus, out *UnManagedConfigStatus, s conversion.Scope) error
Convert_config_UnManagedConfigStatus_To_v1alpha1_UnManagedConfigStatus is an autogenerated conversion function.
func Convert_config_UnManagedConfig_To_v1alpha1_UnManagedConfig ¶
func Convert_config_UnManagedConfig_To_v1alpha1_UnManagedConfig(in *config.UnManagedConfig, out *UnManagedConfig, s conversion.Scope) error
Convert_config_UnManagedConfig_To_v1alpha1_UnManagedConfig is an autogenerated conversion function.
func Convert_v1alpha1_Condition_To_condition_Condition ¶ added in v0.0.27
func Convert_v1alpha1_Condition_To_condition_Condition(in *v1alpha1.Condition, out *condition.Condition, s conversion.Scope) error
Convert_TargetStatus_To_config_TargetStatus is hand made conversion function.
func Convert_v1alpha1_ConditionedStatus_To_condition_ConditionedStatus ¶ added in v0.0.27
func Convert_v1alpha1_ConditionedStatus_To_condition_ConditionedStatus(in *v1alpha1.ConditionedStatus, out *condition.ConditionedStatus, s conversion.Scope) error
Convert_v1alpha1_ConditionedStatus_To_condition_ConditionedStatus is hand made conversion function.
func Convert_v1alpha1_ConfigBlob_To_config_ConfigBlob ¶
func Convert_v1alpha1_ConfigBlob_To_config_ConfigBlob(in *ConfigBlob, out *config.ConfigBlob, s conversion.Scope) error
Convert_v1alpha1_ConfigBlob_To_config_ConfigBlob is an autogenerated conversion function.
func Convert_v1alpha1_ConfigList_To_config_ConfigList ¶
func Convert_v1alpha1_ConfigList_To_config_ConfigList(in *ConfigList, out *config.ConfigList, s conversion.Scope) error
Convert_v1alpha1_ConfigList_To_config_ConfigList is an autogenerated conversion function.
func Convert_v1alpha1_ConfigSetList_To_config_ConfigSetList ¶
func Convert_v1alpha1_ConfigSetList_To_config_ConfigSetList(in *ConfigSetList, out *config.ConfigSetList, s conversion.Scope) error
Convert_v1alpha1_ConfigSetList_To_config_ConfigSetList is an autogenerated conversion function.
func Convert_v1alpha1_ConfigSetSpec_To_config_ConfigSetSpec ¶
func Convert_v1alpha1_ConfigSetSpec_To_config_ConfigSetSpec(in *ConfigSetSpec, out *config.ConfigSetSpec, s conversion.Scope) error
Convert_v1alpha1_ConfigSetSpec_To_config_ConfigSetSpec is an autogenerated conversion function.
func Convert_v1alpha1_ConfigSetStatus_To_config_ConfigSetStatus ¶
func Convert_v1alpha1_ConfigSetStatus_To_config_ConfigSetStatus(in *ConfigSetStatus, out *config.ConfigSetStatus, s conversion.Scope) error
Convert_v1alpha1_ConfigSetStatus_To_config_ConfigSetStatus is an autogenerated conversion function.
func Convert_v1alpha1_ConfigSet_To_config_ConfigSet ¶
func Convert_v1alpha1_ConfigSet_To_config_ConfigSet(in *ConfigSet, out *config.ConfigSet, s conversion.Scope) error
Convert_v1alpha1_ConfigSet_To_config_ConfigSet is an autogenerated conversion function.
func Convert_v1alpha1_ConfigSpec_To_config_ConfigSpec ¶
func Convert_v1alpha1_ConfigSpec_To_config_ConfigSpec(in *ConfigSpec, out *config.ConfigSpec, s conversion.Scope) error
Convert_v1alpha1_ConfigSpec_To_config_ConfigSpec is an autogenerated conversion function.
func Convert_v1alpha1_ConfigStatusLastKnownGoodSchema_To_config_ConfigStatusLastKnownGoodSchema ¶
func Convert_v1alpha1_ConfigStatusLastKnownGoodSchema_To_config_ConfigStatusLastKnownGoodSchema(in *ConfigStatusLastKnownGoodSchema, out *config.ConfigStatusLastKnownGoodSchema, s conversion.Scope) error
Convert_v1alpha1_ConfigStatusLastKnownGoodSchema_To_config_ConfigStatusLastKnownGoodSchema is an autogenerated conversion function.
func Convert_v1alpha1_ConfigStatus_To_config_ConfigStatus ¶
func Convert_v1alpha1_ConfigStatus_To_config_ConfigStatus(in *ConfigStatus, out *config.ConfigStatus, s conversion.Scope) error
Convert_v1alpha1_ConfigStatus_To_config_ConfigStatus is an autogenerated conversion function.
func Convert_v1alpha1_Config_To_config_Config ¶
func Convert_v1alpha1_Config_To_config_Config(in *Config, out *config.Config, s conversion.Scope) error
Convert_v1alpha1_Config_To_config_Config is an autogenerated conversion function.
func Convert_v1alpha1_Deviation_To_config_Deviation ¶ added in v0.0.27
func Convert_v1alpha1_Deviation_To_config_Deviation(in *Deviation, out *config.Deviation, s conversion.Scope) error
Convert_v1alpha1_Deviation_To_config_Deviation is an autogenerated conversion function.
func Convert_v1alpha1_Lifecycle_To_config_Lifecycle ¶
func Convert_v1alpha1_Lifecycle_To_config_Lifecycle(in *Lifecycle, out *config.Lifecycle, s conversion.Scope) error
Convert_v1alpha1_Lifecycle_To_config_Lifecycle is an autogenerated conversion function.
func Convert_v1alpha1_RunningConfigList_To_config_RunningConfigList ¶
func Convert_v1alpha1_RunningConfigList_To_config_RunningConfigList(in *RunningConfigList, out *config.RunningConfigList, s conversion.Scope) error
Convert_v1alpha1_RunningConfigList_To_config_RunningConfigList is an autogenerated conversion function.
func Convert_v1alpha1_RunningConfigSpec_To_config_RunningConfigSpec ¶
func Convert_v1alpha1_RunningConfigSpec_To_config_RunningConfigSpec(in *RunningConfigSpec, out *config.RunningConfigSpec, s conversion.Scope) error
Convert_v1alpha1_RunningConfigSpec_To_config_RunningConfigSpec is an autogenerated conversion function.
func Convert_v1alpha1_RunningConfigStatus_To_config_RunningConfigStatus ¶
func Convert_v1alpha1_RunningConfigStatus_To_config_RunningConfigStatus(in *RunningConfigStatus, out *config.RunningConfigStatus, s conversion.Scope) error
Convert_v1alpha1_RunningConfigStatus_To_config_RunningConfigStatus is an autogenerated conversion function.
func Convert_v1alpha1_RunningConfig_To_config_RunningConfig ¶
func Convert_v1alpha1_RunningConfig_To_config_RunningConfig(in *RunningConfig, out *config.RunningConfig, s conversion.Scope) error
Convert_v1alpha1_RunningConfig_To_config_RunningConfig is an autogenerated conversion function.
func Convert_v1alpha1_TargetStatus_To_config_TargetStatus ¶
func Convert_v1alpha1_TargetStatus_To_config_TargetStatus(in *TargetStatus, out *config.TargetStatus, s conversion.Scope) error
Convert_v1alpha1_TargetStatus_To_config_TargetStatus is an autogenerated conversion function.
func Convert_v1alpha1_Target_To_config_Target ¶
func Convert_v1alpha1_Target_To_config_Target(in *Target, out *config.Target, s conversion.Scope) error
Convert_v1alpha1_Target_To_config_Target is an autogenerated conversion function.
func Convert_v1alpha1_UnManagedConfigList_To_config_UnManagedConfigList ¶
func Convert_v1alpha1_UnManagedConfigList_To_config_UnManagedConfigList(in *UnManagedConfigList, out *config.UnManagedConfigList, s conversion.Scope) error
Convert_v1alpha1_UnManagedConfigList_To_config_UnManagedConfigList is an autogenerated conversion function.
func Convert_v1alpha1_UnManagedConfigSpec_To_config_UnManagedConfigSpec ¶
func Convert_v1alpha1_UnManagedConfigSpec_To_config_UnManagedConfigSpec(in *UnManagedConfigSpec, out *config.UnManagedConfigSpec, s conversion.Scope) error
Convert_v1alpha1_UnManagedConfigSpec_To_config_UnManagedConfigSpec is an autogenerated conversion function.
func Convert_v1alpha1_UnManagedConfigStatus_To_config_UnManagedConfigStatus ¶
func Convert_v1alpha1_UnManagedConfigStatus_To_config_UnManagedConfigStatus(in *UnManagedConfigStatus, out *config.UnManagedConfigStatus, s conversion.Scope) error
Convert_v1alpha1_UnManagedConfigStatus_To_config_UnManagedConfigStatus is an autogenerated conversion function.
func Convert_v1alpha1_UnManagedConfig_To_config_UnManagedConfig ¶
func Convert_v1alpha1_UnManagedConfig_To_config_UnManagedConfig(in *UnManagedConfig, out *config.UnManagedConfig, s conversion.Scope) error
Convert_v1alpha1_UnManagedConfig_To_config_UnManagedConfig is an autogenerated conversion function.
func Creating ¶
func Creating() condv1alpha1.Condition
Creating returns a condition that indicates a create transaction is ongoing
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶ added in v0.0.27
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func Updating ¶
func Updating() condv1alpha1.Condition
Updating returns a condition that indicates a update transaction is ongoing
Types ¶
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 ¶
func BuildConfig(meta metav1.ObjectMeta, spec ConfigSpec, status ConfigStatus) *Config
BuildConfig returns a reource from a client Object a Spec/Status
func GetConfigFromFile ¶
GetConfigFromFile is a helper for tests to use the examples and validate them in unit tests
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Config) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Config) GetCondition ¶
func (r *Config) GetCondition(t condv1alpha1.ConditionType) condv1alpha1.Condition
GetCondition returns the condition based on the condition kind
func (Config) GetGroupVersionResource ¶
func (Config) GetGroupVersionResource() schema.GroupVersionResource
func (*Config) GetLastKnownGoodSchema ¶
func (r *Config) GetLastKnownGoodSchema() *ConfigStatusLastKnownGoodSchema
func (*Config) GetObjectMeta ¶
func (r *Config) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (Config) IsStorageVersion ¶
IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object
func (Config) NamespaceScoped ¶
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (Config) RegisterConversions ¶ added in v0.0.27
RegisterConversions registers the conversions. RegisterConversions implements resource.MultiVersionObject
func (*Config) SetConditions ¶
func (r *Config) SetConditions(c ...condv1alpha1.Condition)
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
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 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 +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
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 ¶
func (r *ConfigList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta GetListMeta implements resource.ObjectList
type ConfigSet ¶
type ConfigSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec ConfigSetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status ConfigSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
ConfigSet is the Schema for the ConfigSet API
func BuildConfigSet ¶
func BuildConfigSet(meta metav1.ObjectMeta, spec ConfigSetSpec, status ConfigSetStatus) *ConfigSet
BuildConfig returns a reource from a client Object a Spec/Status
func GetConfigSetFromFile ¶
GetConfigSetFromFile is a helper for tests to use the examples and validate them in unit tests
func (*ConfigSet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSet.
func (*ConfigSet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigSet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigSet) GetCondition ¶
func (r *ConfigSet) GetCondition(t condv1alpha1.ConditionType) condv1alpha1.Condition
GetCondition returns the condition based on the condition kind
func (ConfigSet) GetGroupVersionResource ¶
func (ConfigSet) GetGroupVersionResource() schema.GroupVersionResource
func (*ConfigSet) GetObjectMeta ¶
func (r *ConfigSet) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (ConfigSet) IsStorageVersion ¶
IsStorageVersion returns false. IsStorageVersion implements resource.Object
func (ConfigSet) NamespaceScoped ¶
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (ConfigSet) RegisterConversions ¶ added in v0.0.27
RegisterConversions registers the conversions. RegisterConversions implements resource.MultiVersionObject
func (*ConfigSet) SetConditions ¶
func (r *ConfigSet) SetConditions(c ...condv1alpha1.Condition)
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
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 +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
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 ¶
func (r *ConfigSetList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta
type ConfigSetSpec ¶
type ConfigSetSpec struct { // Targets defines the targets on which this configSet applies Target Target `json:"target" protobuf:"bytes,1,opt,name=target"` // Lifecycle determines the lifecycle policies the resource e.g. delete is orphan or delete // will follow Lifecycle Lifecycle `json:"lifecycle,omitempty" protobuf:"bytes,2,opt,name=lifecycle"` // Priority defines the priority of this config Priority int64 `json:"priority,omitempty" protobuf:"bytes,3,opt,name=priority"` // Config defines the configuration to be applied to a target device //+kubebuilder:pruning:PreserveUnknownFields Config []ConfigBlob `json:"config" protobuf:"bytes,4,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 condv1alpha1.ConditionedStatus `json:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` // Targets defines the status of the configSet resource on the respective target Targets []TargetStatus `json:"targets,omitempty" protobuf:"bytes,2,rep,name=targets"` }
ConfigSetStatus defines the observed state of Config
func (*ConfigSetStatus) 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.
type ConfigSpec ¶
type ConfigSpec struct { // Lifecycle determines the lifecycle policies the resource e.g. delete is orphan or delete // will follow Lifecycle Lifecycle `json:"lifecycle,omitempty" protobuf:"bytes,1,opt,name=lifecycle"` // Priority defines the priority of this config Priority int64 `json:"priority,omitempty" protobuf:"bytes,2,opt,name=priority"` // Config defines the configuration to be applied to a target device //+kubebuilder:pruning:PreserveUnknownFields Config []ConfigBlob `json:"config" protobuf:"bytes,3,rep,name=config"` }
ConfigSpec defines the desired state of Config
func (*ConfigSpec) DeepCopy ¶
func (in *ConfigSpec) DeepCopy() *ConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSpec.
func (*ConfigSpec) DeepCopyInto ¶
func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigStatus ¶
type ConfigStatus struct { // ConditionedStatus provides the status of the Readiness using conditions // if the condition is true the other attributes in the status are meaningful condv1alpha1.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 identify the configuration deviation based on the last applied config Deviations []Deviation `json:"deviations,omitempty" protobuf:"bytes,4,rep,name=deviations"` }
ConfigStatus defines the observed state of Config
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) HasNotAppliedDeviation ¶
func (r ConfigStatus) HasNotAppliedDeviation() bool
type ConfigStatusLastKnownGoodSchema ¶
type ConfigStatusLastKnownGoodSchema struct { // Schema Type Type string `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"` // Schema Vendor Vendor string `json:"vendor,omitempty" protobuf:"bytes,2,opt,name=vendor"` // Schema Version Version string `json:"version,omitempty" protobuf:"bytes,3,opt,name=version"` }
func (*ConfigStatusLastKnownGoodSchema) DeepCopy ¶
func (in *ConfigStatusLastKnownGoodSchema) DeepCopy() *ConfigStatusLastKnownGoodSchema
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigStatusLastKnownGoodSchema.
func (*ConfigStatusLastKnownGoodSchema) DeepCopyInto ¶
func (in *ConfigStatusLastKnownGoodSchema) DeepCopyInto(out *ConfigStatusLastKnownGoodSchema)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigStatusLastKnownGoodSchema) FileString ¶
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 { // Path of the config this deviation belongs to Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"` // DesiredValue is the desired value of the config belonging to the path DesiredValue string `json:"desiredValue,omitempty" protobuf:"bytes,2,opt,name=desiredValue"` // CurrentValue defines the current value of the config belonging to the path // that is currently configured on the target CurrentValue string `json:"actualValue,omitempty" protobuf:"bytes,3,opt,name=actualValue"` // Reason defines the reason of the deviation Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"` }
func ConvertSdcpbDeviations2ConfigDeviations ¶
func ConvertSdcpbDeviations2ConfigDeviations(devs []*sdcpb.WatchDeviationResponse) []Deviation
func (*Deviation) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deviation.
func (*Deviation) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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. // +kubebuilder:validation:Enum=`delete`;`orphan` // +kubebuilder:default=delete DeletionPolicy DeletionPolicy `json:"deletionPolicy,omitempty" protobuf:"bytes,1,opt,name=deletionPolicy,casttype=DeletionPolicy"` }
func (*Lifecycle) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle.
func (*Lifecycle) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type 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 is the Schema for the RunningConfig API
+k8s:openapi-gen=true
func BuildRunningConfig ¶
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) GetGroupVersionResource ¶
func (RunningConfig) GetGroupVersionResource() schema.GroupVersionResource
func (*RunningConfig) GetObjectMeta ¶
func (r *RunningConfig) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (RunningConfig) IsStorageVersion ¶
func (RunningConfig) IsStorageVersion() bool
IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object
func (RunningConfig) NamespaceScoped ¶
func (RunningConfig) NamespaceScoped() bool
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (RunningConfig) New ¶
func (RunningConfig) New() runtime.Object
New return an empty resource New implements resource.Object
func (RunningConfig) NewList ¶
func (RunningConfig) NewList() runtime.Object
NewList return an empty resourceList NewList implements resource.Object
func (RunningConfig) RegisterConversions ¶ added in v0.0.27
func (RunningConfig) RegisterConversions() func(s *runtime.Scheme) error
RegisterConversions registers the conversions. RegisterConversions implements resource.MultiVersionObject
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"` }
RunningConfigList contains a list of RunningConfigs +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
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 ¶
func (r *RunningConfigList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta
type RunningConfigSpec ¶
type RunningConfigSpec struct { }
RunningConfigSpec defines the desired state of RunningConfig
func (*RunningConfigSpec) DeepCopy ¶
func (in *RunningConfigSpec) DeepCopy() *RunningConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunningConfigSpec.
func (*RunningConfigSpec) DeepCopyInto ¶
func (in *RunningConfigSpec) DeepCopyInto(out *RunningConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunningConfigStatus ¶
type RunningConfigStatus struct { //+kubebuilder:pruning:PreserveUnknownFields Value runtime.RawExtension `json:"value" protobuf:"bytes,2,opt,name=value"` }
RunningConfigStatus defines the observed state of RunningConfig
func (*RunningConfigStatus) DeepCopy ¶
func (in *RunningConfigStatus) DeepCopy() *RunningConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunningConfigStatus.
func (*RunningConfigStatus) DeepCopyInto ¶
func (in *RunningConfigStatus) DeepCopyInto(out *RunningConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Target ¶
type Target struct { // TargetSelector defines the selector used to select the targets to which the config applies TargetSelector *metav1.LabelSelector `json:"targetSelector,omitempty" protobuf:"bytes,1,opt,name=targetSelector"` }
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetStatus ¶
type TargetStatus struct { Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // right now we assume the namespace of the config and target are aligned //NameSpace string `json:"namespace" protobuf:"bytes,2,opt,name=name"` // Condition of the configCR status condv1alpha1.Condition `json:",inline" protobuf:"bytes,3,opt,name=condition"` }
func (*TargetStatus) DeepCopy ¶
func (in *TargetStatus) DeepCopy() *TargetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetStatus.
func (*TargetStatus) DeepCopyInto ¶
func (in *TargetStatus) DeepCopyInto(out *TargetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UnManagedConfig ¶
type UnManagedConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec UnManagedConfigSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status UnManagedConfigStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
UnManagedConfig is the Schema for the UnManagedConfig API
+k8s:openapi-gen=true
func BuildUnManagedConfig ¶
func BuildUnManagedConfig(meta metav1.ObjectMeta, spec UnManagedConfigSpec, status UnManagedConfigStatus) *UnManagedConfig
BuildUnManagedConfig returns a reource from a client Object a Spec/Status
func (*UnManagedConfig) DeepCopy ¶
func (in *UnManagedConfig) DeepCopy() *UnManagedConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnManagedConfig.
func (*UnManagedConfig) DeepCopyInto ¶
func (in *UnManagedConfig) DeepCopyInto(out *UnManagedConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UnManagedConfig) DeepCopyObject ¶
func (in *UnManagedConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (UnManagedConfig) GetGroupVersionResource ¶
func (UnManagedConfig) GetGroupVersionResource() schema.GroupVersionResource
func (*UnManagedConfig) GetObjectMeta ¶
func (r *UnManagedConfig) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object GetObjectMeta implements resource.Object
func (UnManagedConfig) IsStorageVersion ¶
func (UnManagedConfig) IsStorageVersion() bool
IsStorageVersion returns true -- Config is used as the internal version. IsStorageVersion implements resource.Object
func (UnManagedConfig) NamespaceScoped ¶
func (UnManagedConfig) NamespaceScoped() bool
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object
func (UnManagedConfig) New ¶
func (UnManagedConfig) New() runtime.Object
New return an empty resource New implements resource.Object
func (UnManagedConfig) NewList ¶
func (UnManagedConfig) NewList() runtime.Object
NewList return an empty resourceList NewList implements resource.Object
func (UnManagedConfig) RegisterConversions ¶ added in v0.0.27
func (UnManagedConfig) RegisterConversions() func(s *runtime.Scheme) error
RegisterConversions registers the conversions. RegisterConversions implements resource.MultiVersionObject
type UnManagedConfigList ¶
type UnManagedConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []UnManagedConfig `json:"items" protobuf:"bytes,2,rep,name=items"` }
UnManagedConfigList contains a list of UnManagedConfigs +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*UnManagedConfigList) DeepCopy ¶
func (in *UnManagedConfigList) DeepCopy() *UnManagedConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnManagedConfigList.
func (*UnManagedConfigList) DeepCopyInto ¶
func (in *UnManagedConfigList) DeepCopyInto(out *UnManagedConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UnManagedConfigList) DeepCopyObject ¶
func (in *UnManagedConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*UnManagedConfigList) GetListMeta ¶
func (r *UnManagedConfigList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta
type UnManagedConfigSpec ¶
type UnManagedConfigSpec struct { }
UnManagedConfigSpec defines the desired state of UnManagedConfig
func (*UnManagedConfigSpec) DeepCopy ¶
func (in *UnManagedConfigSpec) DeepCopy() *UnManagedConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnManagedConfigSpec.
func (*UnManagedConfigSpec) DeepCopyInto ¶
func (in *UnManagedConfigSpec) DeepCopyInto(out *UnManagedConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UnManagedConfigStatus ¶
type UnManagedConfigStatus struct { // Deviations identify the configuration deviation based on the last applied config Deviations []Deviation `json:"deviations,omitempty" protobuf:"bytes,4,rep,name=deviations"` }
UnManagedConfigStatus defines the observed state of UnManagedConfig
func (*UnManagedConfigStatus) DeepCopy ¶
func (in *UnManagedConfigStatus) DeepCopy() *UnManagedConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnManagedConfigStatus.
func (*UnManagedConfigStatus) DeepCopyInto ¶
func (in *UnManagedConfigStatus) DeepCopyInto(out *UnManagedConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- condition.go
- config_helpers.go
- config_resource.go
- config_types.go
- configset_helpers.go
- configset_resource.go
- configset_types.go
- conversion.go
- doc.go
- lifecycle_types.go
- register.go
- running_config_helpers.go
- running_config_resource.go
- running_config_types.go
- unmanaged_config_helpers.go
- unmanaged_config_resource.go
- unmanaged_config_types.go
- zz_generated.conversion.go
- zz_generated.deepcopy.go
- zz_generated.defaults.go