v1alpha1

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 24 Imported by: 6

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

View Source
const (
	TargetNameKey      = Group + "/" + "targetName"
	TargetNamespaceKey = Group + "/" + "targetNamespace"
)
View Source
const (
	Group   = "config.sdcio.dev"
	Version = "v1alpha1"
)
View Source
const ConfigPlural = "configs"
View Source
const ConfigSetPlural = "configsets"
View Source
const ConfigSetSingular = "configset"
View Source
const ConfigSingular = "config"
View Source
const RunningConfigPlural = "runningconfigs"
View Source
const RunningConfigSingular = "runningconfig"
View Source
const UnManagedConfigPlural = "unmanagedconfigs"
View Source
const UnManagedConfigSingular = "unmanagedconfig"

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
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
)
View Source
var (
	ConfigKind = reflect.TypeOf(Config{}).Name()
)

Config type metadata.

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

Config type metadata.

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

RunningConfig type metadata.

View Source
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 ConvertConfigSetFieldSelector

func ConvertConfigSetFieldSelector(label, value string) (internalLabel, internalValue string, err error)

ConvertConfigSetFieldSelector is the schema conversion function for normalizing the FieldSelector for ConfigSet

func ConvertRunningConfigFieldSelector

func ConvertRunningConfigFieldSelector(label, value string) (internalLabel, internalValue string, err error)

ConvertRunningConfigFieldSelector is the schema conversion function for normalizing the FieldSelector for RunningConfig

func ConvertUnManagedConfigFieldSelector

func ConvertUnManagedConfigFieldSelector(label, value string) (internalLabel, internalValue string, err error)

ConvertUnManagedConfigFieldSelector is the schema conversion function for normalizing the FieldSelector for UnManagedConfig

func Convert_config_Condition_To_v1alpha1_Condition

func Convert_config_Condition_To_v1alpha1_Condition(in *config.Condition, out *Condition, s conversion.Scope) error

Convert_config_Condition_To_v1alpha1_Condition is an autogenerated conversion function.

func Convert_config_ConditionedStatus_To_v1alpha1_ConditionedStatus

func Convert_config_ConditionedStatus_To_v1alpha1_ConditionedStatus(in *config.ConditionedStatus, out *ConditionedStatus, s conversion.Scope) error

Convert_config_ConditionedStatus_To_v1alpha1_ConditionedStatus is an autogenerated 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_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_config_Condition

func Convert_v1alpha1_Condition_To_config_Condition(in *Condition, out *config.Condition, s conversion.Scope) error

Convert_v1alpha1_Condition_To_config_Condition is an autogenerated conversion function.

func Convert_v1alpha1_ConditionedStatus_To_config_ConditionedStatus

func Convert_v1alpha1_ConditionedStatus_To_config_ConditionedStatus(in *ConditionedStatus, out *config.ConditionedStatus, s conversion.Scope) error

Convert_v1alpha1_ConditionedStatus_To_config_ConditionedStatus is an autogenerated 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_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 RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Condition

type Condition struct {
	metav1.Condition `json:",inline" protobuf:"bytes,1,opt,name=condition"`
}

func Creating

func Creating() Condition

Creating returns a condition that indicates a create transaction is ongoing

func Deleting

func Deleting() Condition

Creating returns a condition that indicates a delete transaction is ongoing

func Failed

func Failed(msg string) Condition

Failed returns a condition that indicates the resource failed to get reconciled.

func Ready

func Ready() Condition

Ready returns a condition that indicates the resource is ready for use.

func Unknown

func Unknown() Condition

Unknown returns a condition that indicates the resource is in an unknown status.

func Updating

func Updating() Condition

Creating returns a condition that indicates a update transaction is ongoing

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

func (*Condition) Descriptor

func (*Condition) Descriptor() ([]byte, []int)

func (Condition) Equal

func (c Condition) Equal(other Condition) bool

Equal returns true if the condition is identical to the supplied condition, ignoring the LastTransitionTime.

func (*Condition) Marshal

func (m *Condition) Marshal() (dAtA []byte, err error)

func (*Condition) MarshalTo

func (m *Condition) MarshalTo(dAtA []byte) (int, error)

func (*Condition) MarshalToSizedBuffer

func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) Reset

func (m *Condition) Reset()

func (*Condition) Size

func (m *Condition) Size() (n int)

func (*Condition) String

func (this *Condition) String() string

func (*Condition) Unmarshal

func (m *Condition) Unmarshal(dAtA []byte) error

func (Condition) WithMessage

func (c Condition) WithMessage(msg string) Condition

WithMessage returns a condition by adding the provided message to existing condition.

func (*Condition) XXX_DiscardUnknown

func (m *Condition) XXX_DiscardUnknown()

func (*Condition) XXX_Marshal

func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Condition) XXX_Merge

func (m *Condition) XXX_Merge(src proto.Message)

func (*Condition) XXX_Size

func (m *Condition) XXX_Size() int

func (*Condition) XXX_Unmarshal

func (m *Condition) XXX_Unmarshal(b []byte) error

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 ConditionType

type ConditionType string

A ConditionType represents a condition type for a given KRM resource

const (
	// ConditionTypeReady represents the resource ready condition
	ConditionTypeReady ConditionType = "Ready"
)

Condition Types.

type ConditionedStatus

type ConditionedStatus struct {
	// Conditions of the resource.
	// +optional
	Conditions []Condition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"`
}

A ConditionedStatus reflects the observed status of a resource. Only one condition of each type may exist.

func NewConditionedStatus

func NewConditionedStatus(c ...Condition) *ConditionedStatus

NewConditionedStatus returns a stat with the supplied conditions set.

func (*ConditionedStatus) DeepCopy

func (in *ConditionedStatus) DeepCopy() *ConditionedStatus

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

func (*ConditionedStatus) DeepCopyInto

func (in *ConditionedStatus) DeepCopyInto(out *ConditionedStatus)

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

func (*ConditionedStatus) Descriptor

func (*ConditionedStatus) Descriptor() ([]byte, []int)

func (*ConditionedStatus) Equal

func (r *ConditionedStatus) Equal(other *ConditionedStatus) bool

Equal returns true if the status is identical to the supplied status, ignoring the LastTransitionTimes and order of statuses.

func (*ConditionedStatus) GetCondition

func (r *ConditionedStatus) GetCondition(t ConditionType) Condition

GetCondition returns the condition for the given ConditionKind if exists, otherwise returns nil

func (*ConditionedStatus) Marshal

func (m *ConditionedStatus) Marshal() (dAtA []byte, err error)

func (*ConditionedStatus) MarshalTo

func (m *ConditionedStatus) MarshalTo(dAtA []byte) (int, error)

func (*ConditionedStatus) MarshalToSizedBuffer

func (m *ConditionedStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConditionedStatus) ProtoMessage

func (*ConditionedStatus) ProtoMessage()

func (*ConditionedStatus) Reset

func (m *ConditionedStatus) Reset()

func (*ConditionedStatus) SetConditions

func (r *ConditionedStatus) SetConditions(c ...Condition)

SetConditions sets the supplied conditions, replacing any existing conditions of the same type. This is a no-op if all supplied conditions are identical, ignoring the last transition time, to those already set.

func (*ConditionedStatus) Size

func (m *ConditionedStatus) Size() (n int)

func (*ConditionedStatus) String

func (this *ConditionedStatus) String() string

func (*ConditionedStatus) Unmarshal

func (m *ConditionedStatus) Unmarshal(dAtA []byte) error

func (*ConditionedStatus) XXX_DiscardUnknown

func (m *ConditionedStatus) XXX_DiscardUnknown()

func (*ConditionedStatus) XXX_Marshal

func (m *ConditionedStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConditionedStatus) XXX_Merge

func (m *ConditionedStatus) XXX_Merge(src proto.Message)

func (*ConditionedStatus) XXX_Size

func (m *ConditionedStatus) XXX_Size() int

func (*ConditionedStatus) XXX_Unmarshal

func (m *ConditionedStatus) XXX_Unmarshal(b []byte) error

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 is the Schema for the Config API

+k8s:openapi-gen=true

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

func GetConfigFromFile(path string) (*Config, error)

GetConfigFromFile is a helper for tests to use the examples and validate them in unit tests

func (*Config) CalculateHash

func (r *Config) CalculateHash() ([sha1.Size]byte, error)

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

func (*Config) Descriptor() ([]byte, []int)

func (*Config) GetCondition

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

func (*Config) GetSingularName

func (r *Config) GetSingularName() string

func (*Config) GetTarget

func (r *Config) GetTarget() string

func (Config) IsStorageVersion

func (Config) IsStorageVersion() bool

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

func (*Config) IsTransacting

func (r *Config) IsTransacting() bool

IsTransacting return true if a create/update or delete is ongoing on the config object

func (*Config) Marshal

func (m *Config) Marshal() (dAtA []byte, err error)

func (*Config) MarshalTo

func (m *Config) MarshalTo(dAtA []byte) (int, error)

func (*Config) MarshalToSizedBuffer

func (m *Config) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (Config) NamespaceScoped

func (Config) NamespaceScoped() bool

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

func (Config) New

func (Config) New() runtime.Object

New implements resource.Object

func (Config) NewList

func (Config) NewList() runtime.Object

NewList implements resource.Object

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) SetConditions

func (r *Config) SetConditions(c ...Condition)

SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once

func (*Config) Size

func (m *Config) Size() (n int)

func (*Config) String

func (this *Config) String() string

func (*Config) Unmarshal

func (m *Config) Unmarshal(dAtA []byte) error

func (*Config) Validate

func (r *Config) Validate() error

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

func (m *Config) XXX_Unmarshal(b []byte) error

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.

func (*ConfigBlob) Descriptor

func (*ConfigBlob) Descriptor() ([]byte, []int)

func (*ConfigBlob) Marshal

func (m *ConfigBlob) Marshal() (dAtA []byte, err error)

func (*ConfigBlob) MarshalTo

func (m *ConfigBlob) MarshalTo(dAtA []byte) (int, error)

func (*ConfigBlob) MarshalToSizedBuffer

func (m *ConfigBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigBlob) ProtoMessage

func (*ConfigBlob) ProtoMessage()

func (*ConfigBlob) Reset

func (m *ConfigBlob) Reset()

func (*ConfigBlob) Size

func (m *ConfigBlob) Size() (n int)

func (*ConfigBlob) String

func (this *ConfigBlob) String() string

func (*ConfigBlob) Unmarshal

func (m *ConfigBlob) Unmarshal(dAtA []byte) error

func (*ConfigBlob) XXX_DiscardUnknown

func (m *ConfigBlob) XXX_DiscardUnknown()

func (*ConfigBlob) XXX_Marshal

func (m *ConfigBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigBlob) XXX_Merge

func (m *ConfigBlob) XXX_Merge(src proto.Message)

func (*ConfigBlob) XXX_Size

func (m *ConfigBlob) XXX_Size() int

func (*ConfigBlob) XXX_Unmarshal

func (m *ConfigBlob) XXX_Unmarshal(b []byte) error

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

func (*ConfigList) Descriptor() ([]byte, []int)

func (*ConfigList) GetListMeta

func (r *ConfigList) GetListMeta() *metav1.ListMeta

GetListMeta returns the ListMeta

func (*ConfigList) Marshal

func (m *ConfigList) Marshal() (dAtA []byte, err error)

func (*ConfigList) MarshalTo

func (m *ConfigList) MarshalTo(dAtA []byte) (int, error)

func (*ConfigList) MarshalToSizedBuffer

func (m *ConfigList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigList) ProtoMessage

func (*ConfigList) ProtoMessage()

func (*ConfigList) Reset

func (m *ConfigList) Reset()

func (*ConfigList) Size

func (m *ConfigList) Size() (n int)

func (*ConfigList) String

func (this *ConfigList) String() string

func (*ConfigList) Unmarshal

func (m *ConfigList) Unmarshal(dAtA []byte) error

func (*ConfigList) XXX_DiscardUnknown

func (m *ConfigList) XXX_DiscardUnknown()

func (*ConfigList) XXX_Marshal

func (m *ConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigList) XXX_Merge

func (m *ConfigList) XXX_Merge(src proto.Message)

func (*ConfigList) XXX_Size

func (m *ConfigList) XXX_Size() int

func (*ConfigList) XXX_Unmarshal

func (m *ConfigList) XXX_Unmarshal(b []byte) error

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

+k8s:openapi-gen=true

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

func GetConfigSetFromFile(path string) (*ConfigSet, error)

GetConfigSetFromFile is a helper for tests to use the examples and validate them in unit tests

func (*ConfigSet) CalculateHash

func (r *ConfigSet) CalculateHash() ([sha1.Size]byte, error)

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

func (*ConfigSet) Descriptor() ([]byte, []int)

func (*ConfigSet) GetCondition

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

func (*ConfigSet) GetSingularName

func (r *ConfigSet) GetSingularName() string

func (*ConfigSet) GetTarget

func (r *ConfigSet) GetTarget() string

func (ConfigSet) IsStorageVersion

func (ConfigSet) IsStorageVersion() bool

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

func (*ConfigSet) Marshal

func (m *ConfigSet) Marshal() (dAtA []byte, err error)

func (*ConfigSet) MarshalTo

func (m *ConfigSet) MarshalTo(dAtA []byte) (int, error)

func (*ConfigSet) MarshalToSizedBuffer

func (m *ConfigSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (ConfigSet) NamespaceScoped

func (ConfigSet) NamespaceScoped() bool

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

func (ConfigSet) New

func (ConfigSet) New() runtime.Object

New implements resource.Object

func (ConfigSet) NewList

func (ConfigSet) NewList() runtime.Object

NewList implements resource.Object

func (*ConfigSet) ProtoMessage

func (*ConfigSet) ProtoMessage()

func (*ConfigSet) Reset

func (m *ConfigSet) Reset()

func (*ConfigSet) SetConditions

func (r *ConfigSet) SetConditions(c ...Condition)

SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once

func (*ConfigSet) Size

func (m *ConfigSet) Size() (n int)

func (*ConfigSet) String

func (this *ConfigSet) String() string

func (*ConfigSet) Unmarshal

func (m *ConfigSet) Unmarshal(dAtA []byte) error

func (*ConfigSet) XXX_DiscardUnknown

func (m *ConfigSet) XXX_DiscardUnknown()

func (*ConfigSet) XXX_Marshal

func (m *ConfigSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigSet) XXX_Merge

func (m *ConfigSet) XXX_Merge(src proto.Message)

func (*ConfigSet) XXX_Size

func (m *ConfigSet) XXX_Size() int

func (*ConfigSet) XXX_Unmarshal

func (m *ConfigSet) XXX_Unmarshal(b []byte) error

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

func (*ConfigSetList) Descriptor() ([]byte, []int)

func (*ConfigSetList) GetListMeta

func (r *ConfigSetList) GetListMeta() *metav1.ListMeta

GetListMeta returns the ListMeta

func (*ConfigSetList) Marshal

func (m *ConfigSetList) Marshal() (dAtA []byte, err error)

func (*ConfigSetList) MarshalTo

func (m *ConfigSetList) MarshalTo(dAtA []byte) (int, error)

func (*ConfigSetList) MarshalToSizedBuffer

func (m *ConfigSetList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigSetList) ProtoMessage

func (*ConfigSetList) ProtoMessage()

func (*ConfigSetList) Reset

func (m *ConfigSetList) Reset()

func (*ConfigSetList) Size

func (m *ConfigSetList) Size() (n int)

func (*ConfigSetList) String

func (this *ConfigSetList) String() string

func (*ConfigSetList) Unmarshal

func (m *ConfigSetList) Unmarshal(dAtA []byte) error

func (*ConfigSetList) XXX_DiscardUnknown

func (m *ConfigSetList) XXX_DiscardUnknown()

func (*ConfigSetList) XXX_Marshal

func (m *ConfigSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigSetList) XXX_Merge

func (m *ConfigSetList) XXX_Merge(src proto.Message)

func (*ConfigSetList) XXX_Size

func (m *ConfigSetList) XXX_Size() int

func (*ConfigSetList) XXX_Unmarshal

func (m *ConfigSetList) XXX_Unmarshal(b []byte) error

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.

func (*ConfigSetSpec) Descriptor

func (*ConfigSetSpec) Descriptor() ([]byte, []int)

func (*ConfigSetSpec) Marshal

func (m *ConfigSetSpec) Marshal() (dAtA []byte, err error)

func (*ConfigSetSpec) MarshalTo

func (m *ConfigSetSpec) MarshalTo(dAtA []byte) (int, error)

func (*ConfigSetSpec) MarshalToSizedBuffer

func (m *ConfigSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigSetSpec) ProtoMessage

func (*ConfigSetSpec) ProtoMessage()

func (*ConfigSetSpec) Reset

func (m *ConfigSetSpec) Reset()

func (*ConfigSetSpec) Size

func (m *ConfigSetSpec) Size() (n int)

func (*ConfigSetSpec) String

func (this *ConfigSetSpec) String() string

func (*ConfigSetSpec) Unmarshal

func (m *ConfigSetSpec) Unmarshal(dAtA []byte) error

func (*ConfigSetSpec) XXX_DiscardUnknown

func (m *ConfigSetSpec) XXX_DiscardUnknown()

func (*ConfigSetSpec) XXX_Marshal

func (m *ConfigSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigSetSpec) XXX_Merge

func (m *ConfigSetSpec) XXX_Merge(src proto.Message)

func (*ConfigSetSpec) XXX_Size

func (m *ConfigSetSpec) XXX_Size() int

func (*ConfigSetSpec) XXX_Unmarshal

func (m *ConfigSetSpec) XXX_Unmarshal(b []byte) error

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
	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.

func (*ConfigSetStatus) Descriptor

func (*ConfigSetStatus) Descriptor() ([]byte, []int)

func (*ConfigSetStatus) Marshal

func (m *ConfigSetStatus) Marshal() (dAtA []byte, err error)

func (*ConfigSetStatus) MarshalTo

func (m *ConfigSetStatus) MarshalTo(dAtA []byte) (int, error)

func (*ConfigSetStatus) MarshalToSizedBuffer

func (m *ConfigSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigSetStatus) ProtoMessage

func (*ConfigSetStatus) ProtoMessage()

func (*ConfigSetStatus) Reset

func (m *ConfigSetStatus) Reset()

func (*ConfigSetStatus) Size

func (m *ConfigSetStatus) Size() (n int)

func (*ConfigSetStatus) String

func (this *ConfigSetStatus) String() string

func (*ConfigSetStatus) Unmarshal

func (m *ConfigSetStatus) Unmarshal(dAtA []byte) error

func (*ConfigSetStatus) XXX_DiscardUnknown

func (m *ConfigSetStatus) XXX_DiscardUnknown()

func (*ConfigSetStatus) XXX_Marshal

func (m *ConfigSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigSetStatus) XXX_Merge

func (m *ConfigSetStatus) XXX_Merge(src proto.Message)

func (*ConfigSetStatus) XXX_Size

func (m *ConfigSetStatus) XXX_Size() int

func (*ConfigSetStatus) XXX_Unmarshal

func (m *ConfigSetStatus) XXX_Unmarshal(b []byte) error

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.

func (*ConfigSpec) Descriptor

func (*ConfigSpec) Descriptor() ([]byte, []int)

func (*ConfigSpec) GetShaSum

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

GetShaSum calculates the shasum of the confgiSpec

func (*ConfigSpec) Marshal

func (m *ConfigSpec) Marshal() (dAtA []byte, err error)

func (*ConfigSpec) MarshalTo

func (m *ConfigSpec) MarshalTo(dAtA []byte) (int, error)

func (*ConfigSpec) MarshalToSizedBuffer

func (m *ConfigSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigSpec) ProtoMessage

func (*ConfigSpec) ProtoMessage()

func (*ConfigSpec) Reset

func (m *ConfigSpec) Reset()

func (*ConfigSpec) Size

func (m *ConfigSpec) Size() (n int)

func (*ConfigSpec) String

func (this *ConfigSpec) String() string

func (*ConfigSpec) Unmarshal

func (m *ConfigSpec) Unmarshal(dAtA []byte) error

func (*ConfigSpec) XXX_DiscardUnknown

func (m *ConfigSpec) XXX_DiscardUnknown()

func (*ConfigSpec) XXX_Marshal

func (m *ConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigSpec) XXX_Merge

func (m *ConfigSpec) XXX_Merge(src proto.Message)

func (*ConfigSpec) XXX_Size

func (m *ConfigSpec) XXX_Size() int

func (*ConfigSpec) XXX_Unmarshal

func (m *ConfigSpec) XXX_Unmarshal(b []byte) error

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

func (*ConfigStatus) Descriptor() ([]byte, []int)

func (ConfigStatus) HasNotAppliedDeviation

func (r ConfigStatus) HasNotAppliedDeviation() bool

func (*ConfigStatus) Marshal

func (m *ConfigStatus) Marshal() (dAtA []byte, err error)

func (*ConfigStatus) MarshalTo

func (m *ConfigStatus) MarshalTo(dAtA []byte) (int, error)

func (*ConfigStatus) MarshalToSizedBuffer

func (m *ConfigStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigStatus) ProtoMessage

func (*ConfigStatus) ProtoMessage()

func (*ConfigStatus) Reset

func (m *ConfigStatus) Reset()

func (*ConfigStatus) Size

func (m *ConfigStatus) Size() (n int)

func (*ConfigStatus) String

func (this *ConfigStatus) String() string

func (*ConfigStatus) Unmarshal

func (m *ConfigStatus) Unmarshal(dAtA []byte) error

func (*ConfigStatus) XXX_DiscardUnknown

func (m *ConfigStatus) XXX_DiscardUnknown()

func (*ConfigStatus) XXX_Marshal

func (m *ConfigStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigStatus) XXX_Merge

func (m *ConfigStatus) XXX_Merge(src proto.Message)

func (*ConfigStatus) XXX_Size

func (m *ConfigStatus) XXX_Size() int

func (*ConfigStatus) XXX_Unmarshal

func (m *ConfigStatus) XXX_Unmarshal(b []byte) error

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

func (*ConfigStatusLastKnownGoodSchema) Descriptor() ([]byte, []int)

func (*ConfigStatusLastKnownGoodSchema) FileString

func (r *ConfigStatusLastKnownGoodSchema) FileString() string

func (*ConfigStatusLastKnownGoodSchema) Marshal

func (m *ConfigStatusLastKnownGoodSchema) Marshal() (dAtA []byte, err error)

func (*ConfigStatusLastKnownGoodSchema) MarshalTo

func (m *ConfigStatusLastKnownGoodSchema) MarshalTo(dAtA []byte) (int, error)

func (*ConfigStatusLastKnownGoodSchema) MarshalToSizedBuffer

func (m *ConfigStatusLastKnownGoodSchema) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigStatusLastKnownGoodSchema) ProtoMessage

func (*ConfigStatusLastKnownGoodSchema) ProtoMessage()

func (*ConfigStatusLastKnownGoodSchema) Reset

func (*ConfigStatusLastKnownGoodSchema) Size

func (m *ConfigStatusLastKnownGoodSchema) Size() (n int)

func (*ConfigStatusLastKnownGoodSchema) String

func (this *ConfigStatusLastKnownGoodSchema) String() string

func (*ConfigStatusLastKnownGoodSchema) Unmarshal

func (m *ConfigStatusLastKnownGoodSchema) Unmarshal(dAtA []byte) error

func (*ConfigStatusLastKnownGoodSchema) XXX_DiscardUnknown

func (m *ConfigStatusLastKnownGoodSchema) XXX_DiscardUnknown()

func (*ConfigStatusLastKnownGoodSchema) XXX_Marshal

func (m *ConfigStatusLastKnownGoodSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigStatusLastKnownGoodSchema) XXX_Merge

func (m *ConfigStatusLastKnownGoodSchema) XXX_Merge(src proto.Message)

func (*ConfigStatusLastKnownGoodSchema) XXX_Size

func (m *ConfigStatusLastKnownGoodSchema) XXX_Size() int

func (*ConfigStatusLastKnownGoodSchema) XXX_Unmarshal

func (m *ConfigStatusLastKnownGoodSchema) XXX_Unmarshal(b []byte) error

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

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

func (*Deviation) Descriptor() ([]byte, []int)

func (*Deviation) Marshal

func (m *Deviation) Marshal() (dAtA []byte, err error)

func (*Deviation) MarshalTo

func (m *Deviation) MarshalTo(dAtA []byte) (int, error)

func (*Deviation) MarshalToSizedBuffer

func (m *Deviation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Deviation) ProtoMessage

func (*Deviation) ProtoMessage()

func (*Deviation) Reset

func (m *Deviation) Reset()

func (*Deviation) Size

func (m *Deviation) Size() (n int)

func (*Deviation) String

func (this *Deviation) String() string

func (*Deviation) Unmarshal

func (m *Deviation) Unmarshal(dAtA []byte) error

func (*Deviation) XXX_DiscardUnknown

func (m *Deviation) XXX_DiscardUnknown()

func (*Deviation) XXX_Marshal

func (m *Deviation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Deviation) XXX_Merge

func (m *Deviation) XXX_Merge(src proto.Message)

func (*Deviation) XXX_Size

func (m *Deviation) XXX_Size() int

func (*Deviation) XXX_Unmarshal

func (m *Deviation) XXX_Unmarshal(b []byte) error

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

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.

func (*Lifecycle) Descriptor

func (*Lifecycle) Descriptor() ([]byte, []int)

func (*Lifecycle) Marshal

func (m *Lifecycle) Marshal() (dAtA []byte, err error)

func (*Lifecycle) MarshalTo

func (m *Lifecycle) MarshalTo(dAtA []byte) (int, error)

func (*Lifecycle) MarshalToSizedBuffer

func (m *Lifecycle) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Lifecycle) ProtoMessage

func (*Lifecycle) ProtoMessage()

func (*Lifecycle) Reset

func (m *Lifecycle) Reset()

func (*Lifecycle) Size

func (m *Lifecycle) Size() (n int)

func (*Lifecycle) String

func (this *Lifecycle) String() string

func (*Lifecycle) Unmarshal

func (m *Lifecycle) Unmarshal(dAtA []byte) error

func (*Lifecycle) XXX_DiscardUnknown

func (m *Lifecycle) XXX_DiscardUnknown()

func (*Lifecycle) XXX_Marshal

func (m *Lifecycle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Lifecycle) XXX_Merge

func (m *Lifecycle) XXX_Merge(src proto.Message)

func (*Lifecycle) XXX_Size

func (m *Lifecycle) XXX_Size() int

func (*Lifecycle) XXX_Unmarshal

func (m *Lifecycle) XXX_Unmarshal(b []byte) error

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

func (*RunningConfig) Descriptor() ([]byte, []int)

func (RunningConfig) GetGroupVersionResource

func (RunningConfig) GetGroupVersionResource() schema.GroupVersionResource

func (*RunningConfig) GetObjectMeta

func (r *RunningConfig) GetObjectMeta() *metav1.ObjectMeta

GetObjectMeta implements resource.Object

func (*RunningConfig) GetSingularName

func (r *RunningConfig) GetSingularName() string

func (RunningConfig) IsStorageVersion

func (RunningConfig) IsStorageVersion() bool

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

func (*RunningConfig) Marshal

func (m *RunningConfig) Marshal() (dAtA []byte, err error)

func (*RunningConfig) MarshalTo

func (m *RunningConfig) MarshalTo(dAtA []byte) (int, error)

func (*RunningConfig) MarshalToSizedBuffer

func (m *RunningConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (RunningConfig) NamespaceScoped

func (RunningConfig) NamespaceScoped() bool

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

func (RunningConfig) New

New implements resource.Object

func (RunningConfig) NewList

func (RunningConfig) NewList() runtime.Object

NewList implements resource.Object

func (*RunningConfig) ProtoMessage

func (*RunningConfig) ProtoMessage()

func (*RunningConfig) Reset

func (m *RunningConfig) Reset()

func (*RunningConfig) Size

func (m *RunningConfig) Size() (n int)

func (*RunningConfig) String

func (this *RunningConfig) String() string

func (*RunningConfig) Unmarshal

func (m *RunningConfig) Unmarshal(dAtA []byte) error

func (*RunningConfig) XXX_DiscardUnknown

func (m *RunningConfig) XXX_DiscardUnknown()

func (*RunningConfig) XXX_Marshal

func (m *RunningConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunningConfig) XXX_Merge

func (m *RunningConfig) XXX_Merge(src proto.Message)

func (*RunningConfig) XXX_Size

func (m *RunningConfig) XXX_Size() int

func (*RunningConfig) XXX_Unmarshal

func (m *RunningConfig) XXX_Unmarshal(b []byte) error

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

func (*RunningConfigList) Descriptor() ([]byte, []int)

func (*RunningConfigList) GetListMeta

func (r *RunningConfigList) GetListMeta() *metav1.ListMeta

GetListMeta returns the ListMeta

func (*RunningConfigList) Marshal

func (m *RunningConfigList) Marshal() (dAtA []byte, err error)

func (*RunningConfigList) MarshalTo

func (m *RunningConfigList) MarshalTo(dAtA []byte) (int, error)

func (*RunningConfigList) MarshalToSizedBuffer

func (m *RunningConfigList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RunningConfigList) ProtoMessage

func (*RunningConfigList) ProtoMessage()

func (*RunningConfigList) Reset

func (m *RunningConfigList) Reset()

func (*RunningConfigList) Size

func (m *RunningConfigList) Size() (n int)

func (*RunningConfigList) String

func (this *RunningConfigList) String() string

func (*RunningConfigList) Unmarshal

func (m *RunningConfigList) Unmarshal(dAtA []byte) error

func (*RunningConfigList) XXX_DiscardUnknown

func (m *RunningConfigList) XXX_DiscardUnknown()

func (*RunningConfigList) XXX_Marshal

func (m *RunningConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunningConfigList) XXX_Merge

func (m *RunningConfigList) XXX_Merge(src proto.Message)

func (*RunningConfigList) XXX_Size

func (m *RunningConfigList) XXX_Size() int

func (*RunningConfigList) XXX_Unmarshal

func (m *RunningConfigList) XXX_Unmarshal(b []byte) error

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.

func (*RunningConfigSpec) Descriptor

func (*RunningConfigSpec) Descriptor() ([]byte, []int)

func (*RunningConfigSpec) Marshal

func (m *RunningConfigSpec) Marshal() (dAtA []byte, err error)

func (*RunningConfigSpec) MarshalTo

func (m *RunningConfigSpec) MarshalTo(dAtA []byte) (int, error)

func (*RunningConfigSpec) MarshalToSizedBuffer

func (m *RunningConfigSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RunningConfigSpec) ProtoMessage

func (*RunningConfigSpec) ProtoMessage()

func (*RunningConfigSpec) Reset

func (m *RunningConfigSpec) Reset()

func (*RunningConfigSpec) Size

func (m *RunningConfigSpec) Size() (n int)

func (*RunningConfigSpec) String

func (this *RunningConfigSpec) String() string

func (*RunningConfigSpec) Unmarshal

func (m *RunningConfigSpec) Unmarshal(dAtA []byte) error

func (*RunningConfigSpec) XXX_DiscardUnknown

func (m *RunningConfigSpec) XXX_DiscardUnknown()

func (*RunningConfigSpec) XXX_Marshal

func (m *RunningConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunningConfigSpec) XXX_Merge

func (m *RunningConfigSpec) XXX_Merge(src proto.Message)

func (*RunningConfigSpec) XXX_Size

func (m *RunningConfigSpec) XXX_Size() int

func (*RunningConfigSpec) XXX_Unmarshal

func (m *RunningConfigSpec) XXX_Unmarshal(b []byte) error

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.

func (*RunningConfigStatus) Descriptor

func (*RunningConfigStatus) Descriptor() ([]byte, []int)

func (*RunningConfigStatus) Marshal

func (m *RunningConfigStatus) Marshal() (dAtA []byte, err error)

func (*RunningConfigStatus) MarshalTo

func (m *RunningConfigStatus) MarshalTo(dAtA []byte) (int, error)

func (*RunningConfigStatus) MarshalToSizedBuffer

func (m *RunningConfigStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RunningConfigStatus) ProtoMessage

func (*RunningConfigStatus) ProtoMessage()

func (*RunningConfigStatus) Reset

func (m *RunningConfigStatus) Reset()

func (*RunningConfigStatus) Size

func (m *RunningConfigStatus) Size() (n int)

func (*RunningConfigStatus) String

func (this *RunningConfigStatus) String() string

func (*RunningConfigStatus) Unmarshal

func (m *RunningConfigStatus) Unmarshal(dAtA []byte) error

func (*RunningConfigStatus) XXX_DiscardUnknown

func (m *RunningConfigStatus) XXX_DiscardUnknown()

func (*RunningConfigStatus) XXX_Marshal

func (m *RunningConfigStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunningConfigStatus) XXX_Merge

func (m *RunningConfigStatus) XXX_Merge(src proto.Message)

func (*RunningConfigStatus) XXX_Size

func (m *RunningConfigStatus) XXX_Size() int

func (*RunningConfigStatus) XXX_Unmarshal

func (m *RunningConfigStatus) XXX_Unmarshal(b []byte) error

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

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

func (*Target) Descriptor() ([]byte, []int)

func (*Target) Marshal

func (m *Target) Marshal() (dAtA []byte, err error)

func (*Target) MarshalTo

func (m *Target) MarshalTo(dAtA []byte) (int, error)

func (*Target) MarshalToSizedBuffer

func (m *Target) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Target) ProtoMessage

func (*Target) ProtoMessage()

func (*Target) Reset

func (m *Target) Reset()

func (*Target) Size

func (m *Target) Size() (n int)

func (*Target) String

func (this *Target) String() string

func (*Target) Unmarshal

func (m *Target) Unmarshal(dAtA []byte) error

func (*Target) XXX_DiscardUnknown

func (m *Target) XXX_DiscardUnknown()

func (*Target) XXX_Marshal

func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Target) XXX_Merge

func (m *Target) XXX_Merge(src proto.Message)

func (*Target) XXX_Size

func (m *Target) XXX_Size() int

func (*Target) XXX_Unmarshal

func (m *Target) XXX_Unmarshal(b []byte) error

type TargetStatus

type TargetStatus struct {
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// right now we assume the namespace of the config and target are aligned
	//NameSpace string `json:"namespace" protobuf:"bytes,2,opt,name=name"`
	// Condition of the configCR status
	Condition `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.

func (*TargetStatus) Descriptor

func (*TargetStatus) Descriptor() ([]byte, []int)

func (*TargetStatus) Marshal

func (m *TargetStatus) Marshal() (dAtA []byte, err error)

func (*TargetStatus) MarshalTo

func (m *TargetStatus) MarshalTo(dAtA []byte) (int, error)

func (*TargetStatus) MarshalToSizedBuffer

func (m *TargetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TargetStatus) ProtoMessage

func (*TargetStatus) ProtoMessage()

func (*TargetStatus) Reset

func (m *TargetStatus) Reset()

func (*TargetStatus) Size

func (m *TargetStatus) Size() (n int)

func (*TargetStatus) String

func (this *TargetStatus) String() string

func (*TargetStatus) Unmarshal

func (m *TargetStatus) Unmarshal(dAtA []byte) error

func (*TargetStatus) XXX_DiscardUnknown

func (m *TargetStatus) XXX_DiscardUnknown()

func (*TargetStatus) XXX_Marshal

func (m *TargetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TargetStatus) XXX_Merge

func (m *TargetStatus) XXX_Merge(src proto.Message)

func (*TargetStatus) XXX_Size

func (m *TargetStatus) XXX_Size() int

func (*TargetStatus) XXX_Unmarshal

func (m *TargetStatus) XXX_Unmarshal(b []byte) error

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

func (*UnManagedConfig) Descriptor() ([]byte, []int)

func (UnManagedConfig) GetGroupVersionResource

func (UnManagedConfig) GetGroupVersionResource() schema.GroupVersionResource

func (*UnManagedConfig) GetObjectMeta

func (r *UnManagedConfig) GetObjectMeta() *metav1.ObjectMeta

GetObjectMeta implements resource.Object

func (*UnManagedConfig) GetSingularName

func (r *UnManagedConfig) GetSingularName() string

func (UnManagedConfig) IsStorageVersion

func (UnManagedConfig) IsStorageVersion() bool

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

func (*UnManagedConfig) Marshal

func (m *UnManagedConfig) Marshal() (dAtA []byte, err error)

func (*UnManagedConfig) MarshalTo

func (m *UnManagedConfig) MarshalTo(dAtA []byte) (int, error)

func (*UnManagedConfig) MarshalToSizedBuffer

func (m *UnManagedConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (UnManagedConfig) NamespaceScoped

func (UnManagedConfig) NamespaceScoped() bool

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

func (UnManagedConfig) New

New implements resource.Object

func (UnManagedConfig) NewList

func (UnManagedConfig) NewList() runtime.Object

NewList implements resource.Object

func (*UnManagedConfig) ProtoMessage

func (*UnManagedConfig) ProtoMessage()

func (*UnManagedConfig) Reset

func (m *UnManagedConfig) Reset()

func (*UnManagedConfig) Size

func (m *UnManagedConfig) Size() (n int)

func (*UnManagedConfig) String

func (this *UnManagedConfig) String() string

func (*UnManagedConfig) Unmarshal

func (m *UnManagedConfig) Unmarshal(dAtA []byte) error

func (*UnManagedConfig) XXX_DiscardUnknown

func (m *UnManagedConfig) XXX_DiscardUnknown()

func (*UnManagedConfig) XXX_Marshal

func (m *UnManagedConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnManagedConfig) XXX_Merge

func (m *UnManagedConfig) XXX_Merge(src proto.Message)

func (*UnManagedConfig) XXX_Size

func (m *UnManagedConfig) XXX_Size() int

func (*UnManagedConfig) XXX_Unmarshal

func (m *UnManagedConfig) XXX_Unmarshal(b []byte) error

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

func (*UnManagedConfigList) Descriptor() ([]byte, []int)

func (*UnManagedConfigList) GetListMeta

func (r *UnManagedConfigList) GetListMeta() *metav1.ListMeta

GetListMeta returns the ListMeta

func (*UnManagedConfigList) Marshal

func (m *UnManagedConfigList) Marshal() (dAtA []byte, err error)

func (*UnManagedConfigList) MarshalTo

func (m *UnManagedConfigList) MarshalTo(dAtA []byte) (int, error)

func (*UnManagedConfigList) MarshalToSizedBuffer

func (m *UnManagedConfigList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnManagedConfigList) ProtoMessage

func (*UnManagedConfigList) ProtoMessage()

func (*UnManagedConfigList) Reset

func (m *UnManagedConfigList) Reset()

func (*UnManagedConfigList) Size

func (m *UnManagedConfigList) Size() (n int)

func (*UnManagedConfigList) String

func (this *UnManagedConfigList) String() string

func (*UnManagedConfigList) Unmarshal

func (m *UnManagedConfigList) Unmarshal(dAtA []byte) error

func (*UnManagedConfigList) XXX_DiscardUnknown

func (m *UnManagedConfigList) XXX_DiscardUnknown()

func (*UnManagedConfigList) XXX_Marshal

func (m *UnManagedConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnManagedConfigList) XXX_Merge

func (m *UnManagedConfigList) XXX_Merge(src proto.Message)

func (*UnManagedConfigList) XXX_Size

func (m *UnManagedConfigList) XXX_Size() int

func (*UnManagedConfigList) XXX_Unmarshal

func (m *UnManagedConfigList) XXX_Unmarshal(b []byte) error

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.

func (*UnManagedConfigSpec) Descriptor

func (*UnManagedConfigSpec) Descriptor() ([]byte, []int)

func (*UnManagedConfigSpec) Marshal

func (m *UnManagedConfigSpec) Marshal() (dAtA []byte, err error)

func (*UnManagedConfigSpec) MarshalTo

func (m *UnManagedConfigSpec) MarshalTo(dAtA []byte) (int, error)

func (*UnManagedConfigSpec) MarshalToSizedBuffer

func (m *UnManagedConfigSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnManagedConfigSpec) ProtoMessage

func (*UnManagedConfigSpec) ProtoMessage()

func (*UnManagedConfigSpec) Reset

func (m *UnManagedConfigSpec) Reset()

func (*UnManagedConfigSpec) Size

func (m *UnManagedConfigSpec) Size() (n int)

func (*UnManagedConfigSpec) String

func (this *UnManagedConfigSpec) String() string

func (*UnManagedConfigSpec) Unmarshal

func (m *UnManagedConfigSpec) Unmarshal(dAtA []byte) error

func (*UnManagedConfigSpec) XXX_DiscardUnknown

func (m *UnManagedConfigSpec) XXX_DiscardUnknown()

func (*UnManagedConfigSpec) XXX_Marshal

func (m *UnManagedConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnManagedConfigSpec) XXX_Merge

func (m *UnManagedConfigSpec) XXX_Merge(src proto.Message)

func (*UnManagedConfigSpec) XXX_Size

func (m *UnManagedConfigSpec) XXX_Size() int

func (*UnManagedConfigSpec) XXX_Unmarshal

func (m *UnManagedConfigSpec) XXX_Unmarshal(b []byte) error

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

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.

func (*UnManagedConfigStatus) Descriptor

func (*UnManagedConfigStatus) Descriptor() ([]byte, []int)

func (*UnManagedConfigStatus) Marshal

func (m *UnManagedConfigStatus) Marshal() (dAtA []byte, err error)

func (*UnManagedConfigStatus) MarshalTo

func (m *UnManagedConfigStatus) MarshalTo(dAtA []byte) (int, error)

func (*UnManagedConfigStatus) MarshalToSizedBuffer

func (m *UnManagedConfigStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnManagedConfigStatus) ProtoMessage

func (*UnManagedConfigStatus) ProtoMessage()

func (*UnManagedConfigStatus) Reset

func (m *UnManagedConfigStatus) Reset()

func (*UnManagedConfigStatus) Size

func (m *UnManagedConfigStatus) Size() (n int)

func (*UnManagedConfigStatus) String

func (this *UnManagedConfigStatus) String() string

func (*UnManagedConfigStatus) Unmarshal

func (m *UnManagedConfigStatus) Unmarshal(dAtA []byte) error

func (*UnManagedConfigStatus) XXX_DiscardUnknown

func (m *UnManagedConfigStatus) XXX_DiscardUnknown()

func (*UnManagedConfigStatus) XXX_Marshal

func (m *UnManagedConfigStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnManagedConfigStatus) XXX_Merge

func (m *UnManagedConfigStatus) XXX_Merge(src proto.Message)

func (*UnManagedConfigStatus) XXX_Size

func (m *UnManagedConfigStatus) XXX_Size() int

func (*UnManagedConfigStatus) XXX_Unmarshal

func (m *UnManagedConfigStatus) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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