v1alpha1

package
v1.56.9 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=deckhouse.io +k8s:deepcopy-gen=package,register

Index

Constants

View Source
const (
	PhasePending         = "Pending"
	PhasePolicyUndefined = "PolicyUndefined"
	PhaseDeployed        = "Deployed"
	PhaseSuperseded      = "Superseded"
	PhaseSuspended       = "Suspended"
)

Variables

View Source
var (
	// ModuleConfigGVR GroupVersionResource
	ModuleConfigGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "moduleconfigs",
	}
	ModuleConfigGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    "ModuleConfig",
	}
)
View Source
var (
	ModulePullOverrideGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "modulepulloverrides",
	}
	ModulePullOverrideGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    "ModulePullOverride",
	}
)
View Source
var (
	ModuleReleaseGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "modulereleases",
	}
	ModuleReleaseGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    "ModuleRelease",
	}
)
View Source
var (
	ModuleSourceGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "modulesources",
	}
	ModuleSourceGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    "ModuleSource",
	}
)
View Source
var (
	ModuleUpdatePolicyGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "moduleupdatepolicies",
	}
	ModuleUpdatePolicyGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    "ModuleUpdatePolicy",
	}
)
View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var ModuleGVK = schema.GroupVersionKind{Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: "Module"}
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: deckhouse_io.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func RegisterDefaults added in v1.56.0

func RegisterDefaults(scheme *runtime.Scheme) error

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

Types

type AvailableModule added in v1.56.0

type AvailableModule struct {
	Name       string `json:"name"`
	Policy     string `json:"policy,omitempty"`
	Overridden bool   `json:"overridden,omitempty"`
}

func (*AvailableModule) DeepCopy added in v1.56.0

func (in *AvailableModule) DeepCopy() *AvailableModule

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

func (*AvailableModule) DeepCopyInto added in v1.56.0

func (in *AvailableModule) DeepCopyInto(out *AvailableModule)

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

type Duration added in v1.56.0

type Duration struct {
	time.Duration
}

Duration custom type for appropriate json marshalling / unmarshalling (like "15m")

func (*Duration) DeepCopy added in v1.56.0

func (in *Duration) DeepCopy() *Duration

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

func (*Duration) DeepCopyInto added in v1.56.0

func (in *Duration) DeepCopyInto(out *Duration)

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

func (Duration) MarshalJSON added in v1.56.0

func (d Duration) MarshalJSON() ([]byte, error)

func (*Duration) UnmarshalJSON added in v1.56.0

func (d *Duration) UnmarshalJSON(b []byte) error

type Module added in v1.56.0

type Module struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Properties ModuleProperties `json:"properties,omitempty"`
}

Module kubernetes object

func (*Module) DeepCopy added in v1.56.0

func (in *Module) DeepCopy() *Module

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

func (*Module) DeepCopyInto added in v1.56.0

func (in *Module) DeepCopyInto(out *Module)

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

func (*Module) DeepCopyObject added in v1.56.0

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Module) GetObjectKind added in v1.56.0

func (m *Module) GetObjectKind() schema.ObjectKind

type ModuleConfig

type ModuleConfig struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ModuleConfigSpec `json:"spec"`

	Status ModuleConfigStatus `json:"status,omitempty"`
}

ModuleConfig is a configuration for module or for global config values.

func (*ModuleConfig) DeepCopy

func (in *ModuleConfig) DeepCopy() *ModuleConfig

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

func (*ModuleConfig) DeepCopyInto

func (in *ModuleConfig) DeepCopyInto(out *ModuleConfig)

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

func (*ModuleConfig) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleConfigList

type ModuleConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ModuleConfig `json:"items"`
}

ModuleConfigList is a list of ModuleConfig resources

func (*ModuleConfigList) DeepCopy

func (in *ModuleConfigList) DeepCopy() *ModuleConfigList

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

func (*ModuleConfigList) DeepCopyInto

func (in *ModuleConfigList) DeepCopyInto(out *ModuleConfigList)

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

func (*ModuleConfigList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleConfigSpec

type ModuleConfigSpec struct {
	Version  int            `json:"version,omitempty"`
	Settings SettingsValues `json:"settings,omitempty"`
	Enabled  *bool          `json:"enabled,omitempty"`
}

func (*ModuleConfigSpec) DeepCopy

func (in *ModuleConfigSpec) DeepCopy() *ModuleConfigSpec

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

func (*ModuleConfigSpec) DeepCopyInto

func (in *ModuleConfigSpec) DeepCopyInto(out *ModuleConfigSpec)

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

type ModuleConfigStatus

type ModuleConfigStatus struct {
	State   string `json:"state"`
	Version string `json:"version"`
	Type    string `json:"type"`
	Status  string `json:"status"`
}

func (*ModuleConfigStatus) DeepCopy

func (in *ModuleConfigStatus) DeepCopy() *ModuleConfigStatus

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

func (*ModuleConfigStatus) DeepCopyInto

func (in *ModuleConfigStatus) DeepCopyInto(out *ModuleConfigStatus)

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

func (*ModuleConfigStatus) GetObjectKind

func (in *ModuleConfigStatus) GetObjectKind() schema.ObjectKind

type ModuleError added in v1.56.0

type ModuleError struct {
	Name  string `json:"name"`
	Error string `json:"error"`
}

func (*ModuleError) DeepCopy added in v1.56.0

func (in *ModuleError) DeepCopy() *ModuleError

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

func (*ModuleError) DeepCopyInto added in v1.56.0

func (in *ModuleError) DeepCopyInto(out *ModuleError)

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

type ModuleList added in v1.56.0

type ModuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Module `json:"items"`
}

ModuleList is a list of Module resources

func (*ModuleList) DeepCopy added in v1.56.0

func (in *ModuleList) DeepCopy() *ModuleList

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

func (*ModuleList) DeepCopyInto added in v1.56.0

func (in *ModuleList) DeepCopyInto(out *ModuleList)

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

func (*ModuleList) DeepCopyObject added in v1.56.0

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleProperties added in v1.56.0

type ModuleProperties struct {
	Weight      uint32 `json:"weight"`
	State       string `json:"state,omitempty"`
	Source      string `json:"source,omitempty"`
	Description string `json:"description,omitempty"`
}

func (*ModuleProperties) DeepCopy added in v1.56.0

func (in *ModuleProperties) DeepCopy() *ModuleProperties

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

func (*ModuleProperties) DeepCopyInto added in v1.56.0

func (in *ModuleProperties) DeepCopyInto(out *ModuleProperties)

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

type ModulePullOverride added in v1.56.0

type ModulePullOverride struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the behavior of an ModulePullOverride.
	Spec ModulePullOverrideSpec `json:"spec"`

	// Status of an ModulePullOverride.
	Status ModulePullOverrideStatus `json:"status,omitempty"`
}

ModulePullOverride object

func (*ModulePullOverride) DeepCopy added in v1.56.0

func (in *ModulePullOverride) DeepCopy() *ModulePullOverride

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

func (*ModulePullOverride) DeepCopyInto added in v1.56.0

func (in *ModulePullOverride) DeepCopyInto(out *ModulePullOverride)

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

func (*ModulePullOverride) DeepCopyObject added in v1.56.0

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModulePullOverrideKind added in v1.56.0

type ModulePullOverrideKind struct{}

func (*ModulePullOverrideKind) DeepCopy added in v1.56.0

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

func (*ModulePullOverrideKind) DeepCopyInto added in v1.56.0

func (in *ModulePullOverrideKind) DeepCopyInto(out *ModulePullOverrideKind)

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

func (*ModulePullOverrideKind) GroupVersionKind added in v1.56.0

func (f *ModulePullOverrideKind) GroupVersionKind() schema.GroupVersionKind

func (*ModulePullOverrideKind) SetGroupVersionKind added in v1.56.0

func (f *ModulePullOverrideKind) SetGroupVersionKind(_ schema.GroupVersionKind)

type ModulePullOverrideList added in v1.56.0

type ModulePullOverrideList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ModulePullOverride `json:"items"`
}

ModulePullOverrideList is a list of ModulePullOverride resources

func (*ModulePullOverrideList) DeepCopy added in v1.56.0

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

func (*ModulePullOverrideList) DeepCopyInto added in v1.56.0

func (in *ModulePullOverrideList) DeepCopyInto(out *ModulePullOverrideList)

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

func (*ModulePullOverrideList) DeepCopyObject added in v1.56.0

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModulePullOverrideSpec added in v1.56.0

type ModulePullOverrideSpec struct {
	Source       string   `json:"source"`
	ImageTag     string   `json:"imageTag"`
	ScanInterval Duration `json:"scanInterval"`
}

func (*ModulePullOverrideSpec) DeepCopy added in v1.56.0

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

func (*ModulePullOverrideSpec) DeepCopyInto added in v1.56.0

func (in *ModulePullOverrideSpec) DeepCopyInto(out *ModulePullOverrideSpec)

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

type ModulePullOverrideStatus added in v1.56.0

type ModulePullOverrideStatus struct {
	UpdatedAt   metav1.Time `json:"updatedAt"`
	Message     string      `json:"message"`
	ImageDigest string      `json:"imageDigest"`
}

func (*ModulePullOverrideStatus) DeepCopy added in v1.56.0

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

func (*ModulePullOverrideStatus) DeepCopyInto added in v1.56.0

func (in *ModulePullOverrideStatus) DeepCopyInto(out *ModulePullOverrideStatus)

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

func (*ModulePullOverrideStatus) GetObjectKind added in v1.56.0

func (in *ModulePullOverrideStatus) GetObjectKind() schema.ObjectKind

type ModuleRelease added in v1.56.0

type ModuleRelease struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ModuleReleaseSpec `json:"spec"`

	Status ModuleReleaseStatus `json:"status,omitempty"`
}

ModuleRelease is a Module release object.

func (*ModuleRelease) DeepCopy added in v1.56.0

func (in *ModuleRelease) DeepCopy() *ModuleRelease

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

func (*ModuleRelease) DeepCopyInto added in v1.56.0

func (in *ModuleRelease) DeepCopyInto(out *ModuleRelease)

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

func (*ModuleRelease) DeepCopyObject added in v1.56.0

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModuleRelease) GetModuleSource added in v1.56.0

func (mr *ModuleRelease) GetModuleSource() string

GetModuleSource returns module source for this release

type ModuleReleaseList added in v1.56.0

type ModuleReleaseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ModuleRelease `json:"items"`
}

ModuleReleaseList is a list of ModuleRelease resources

func (*ModuleReleaseList) DeepCopy added in v1.56.0

func (in *ModuleReleaseList) DeepCopy() *ModuleReleaseList

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

func (*ModuleReleaseList) DeepCopyInto added in v1.56.0

func (in *ModuleReleaseList) DeepCopyInto(out *ModuleReleaseList)

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

func (*ModuleReleaseList) DeepCopyObject added in v1.56.0

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleReleaseSpec added in v1.56.0

type ModuleReleaseSpec struct {
	ModuleName string          `json:"moduleName"`
	Version    *semver.Version `json:"version,omitempty"`
	Weight     uint32          `json:"weight,omitempty"`

	ApplyAfter   *metav1.Time      `json:"applyAfter,omitempty"`
	Requirements map[string]string `json:"requirements,omitempty"`
}

func (*ModuleReleaseSpec) DeepCopy added in v1.56.0

func (in *ModuleReleaseSpec) DeepCopy() *ModuleReleaseSpec

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

func (*ModuleReleaseSpec) DeepCopyInto added in v1.56.0

func (in *ModuleReleaseSpec) DeepCopyInto(out *ModuleReleaseSpec)

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

type ModuleReleaseStatus added in v1.56.0

type ModuleReleaseStatus struct {
	Phase          string      `json:"phase,omitempty"`
	Approved       bool        `json:"approved"`
	TransitionTime metav1.Time `json:"transitionTime,omitempty"`
	Message        string      `json:"message"`
}

func (*ModuleReleaseStatus) DeepCopy added in v1.56.0

func (in *ModuleReleaseStatus) DeepCopy() *ModuleReleaseStatus

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

func (*ModuleReleaseStatus) DeepCopyInto added in v1.56.0

func (in *ModuleReleaseStatus) DeepCopyInto(out *ModuleReleaseStatus)

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

func (*ModuleReleaseStatus) GetObjectKind added in v1.56.0

func (in *ModuleReleaseStatus) GetObjectKind() schema.ObjectKind

type ModuleSource added in v1.56.0

type ModuleSource struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the behavior of an ModuleSource.
	Spec ModuleSourceSpec `json:"spec"`

	// Status of an ModuleSource.
	Status ModuleSourceStatus `json:"status,omitempty"`
}

ModuleSource source

func (*ModuleSource) DeepCopy added in v1.56.0

func (in *ModuleSource) DeepCopy() *ModuleSource

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

func (*ModuleSource) DeepCopyInto added in v1.56.0

func (in *ModuleSource) DeepCopyInto(out *ModuleSource)

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

func (*ModuleSource) DeepCopyObject added in v1.56.0

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleSourceList added in v1.56.0

type ModuleSourceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ModuleSource `json:"items"`
}

ModuleSourceList is a list of ModuleSource resources

func (*ModuleSourceList) DeepCopy added in v1.56.0

func (in *ModuleSourceList) DeepCopy() *ModuleSourceList

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

func (*ModuleSourceList) DeepCopyInto added in v1.56.0

func (in *ModuleSourceList) DeepCopyInto(out *ModuleSourceList)

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

func (*ModuleSourceList) DeepCopyObject added in v1.56.0

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleSourceSpec added in v1.56.0

type ModuleSourceSpec struct {
	Registry       ModuleSourceSpecRegistry `json:"registry"`
	ReleaseChannel string                   `json:"releaseChannel"`
}

func (*ModuleSourceSpec) DeepCopy added in v1.56.0

func (in *ModuleSourceSpec) DeepCopy() *ModuleSourceSpec

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

func (*ModuleSourceSpec) DeepCopyInto added in v1.56.0

func (in *ModuleSourceSpec) DeepCopyInto(out *ModuleSourceSpec)

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

type ModuleSourceSpecRegistry added in v1.56.0

type ModuleSourceSpecRegistry struct {
	Scheme    string `json:"scheme,omitempty"`
	Repo      string `json:"repo"`
	DockerCFG string `json:"dockerCfg"`
	CA        string `json:"ca"`
}

func (*ModuleSourceSpecRegistry) DeepCopy added in v1.56.0

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

func (*ModuleSourceSpecRegistry) DeepCopyInto added in v1.56.0

func (in *ModuleSourceSpecRegistry) DeepCopyInto(out *ModuleSourceSpecRegistry)

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

type ModuleSourceStatus added in v1.56.0

type ModuleSourceStatus struct {
	SyncTime         metav1.Time       `json:"syncTime"`
	ModulesCount     int               `json:"modulesCount"`
	AvailableModules []AvailableModule `json:"modules"`
	Msg              string            `json:"message"`
	ModuleErrors     []ModuleError     `json:"moduleErrors"`
}

func (*ModuleSourceStatus) DeepCopy added in v1.56.0

func (in *ModuleSourceStatus) DeepCopy() *ModuleSourceStatus

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

func (*ModuleSourceStatus) DeepCopyInto added in v1.56.0

func (in *ModuleSourceStatus) DeepCopyInto(out *ModuleSourceStatus)

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

func (*ModuleSourceStatus) GetObjectKind added in v1.56.0

func (in *ModuleSourceStatus) GetObjectKind() schema.ObjectKind

type ModuleUpdatePolicy added in v1.56.0

type ModuleUpdatePolicy struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ModuleUpdatePolicySpec `json:"spec"`
}

ModuleUpdatePolicy source

func (*ModuleUpdatePolicy) DeepCopy added in v1.56.0

func (in *ModuleUpdatePolicy) DeepCopy() *ModuleUpdatePolicy

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

func (*ModuleUpdatePolicy) DeepCopyInto added in v1.56.0

func (in *ModuleUpdatePolicy) DeepCopyInto(out *ModuleUpdatePolicy)

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

func (*ModuleUpdatePolicy) DeepCopyObject added in v1.56.0

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleUpdatePolicyList added in v1.56.0

type ModuleUpdatePolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ModuleUpdatePolicy `json:"items"`
}

ModuleUpdatePolicyList is a list of ModuleUpdatePolicy resources

func (*ModuleUpdatePolicyList) DeepCopy added in v1.56.0

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

func (*ModuleUpdatePolicyList) DeepCopyInto added in v1.56.0

func (in *ModuleUpdatePolicyList) DeepCopyInto(out *ModuleUpdatePolicyList)

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

func (*ModuleUpdatePolicyList) DeepCopyObject added in v1.56.0

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleUpdatePolicySpec added in v1.56.0

type ModuleUpdatePolicySpec struct {
	Update                ModuleUpdatePolicySpecUpdate          `json:"update"`
	ReleaseChannel        string                                `json:"releaseChannel"`
	ModuleReleaseSelector ModuleUpdatePolicySpecReleaseSelector `json:"moduleReleaseSelector"`
}

func (*ModuleUpdatePolicySpec) DeepCopy added in v1.56.0

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

func (*ModuleUpdatePolicySpec) DeepCopyInto added in v1.56.0

func (in *ModuleUpdatePolicySpec) DeepCopyInto(out *ModuleUpdatePolicySpec)

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

type ModuleUpdatePolicySpecReleaseSelector added in v1.56.0

type ModuleUpdatePolicySpecReleaseSelector struct {
	LabelSelector *metav1.LabelSelector `json:"labelSelector"`
}

func (*ModuleUpdatePolicySpecReleaseSelector) DeepCopy added in v1.56.0

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

func (*ModuleUpdatePolicySpecReleaseSelector) DeepCopyInto added in v1.56.0

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

type ModuleUpdatePolicySpecUpdate added in v1.56.0

type ModuleUpdatePolicySpecUpdate struct {
	Mode    string         `json:"mode"`
	Windows update.Windows `json:"windows"`
}

func (*ModuleUpdatePolicySpecUpdate) DeepCopy added in v1.56.0

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

func (*ModuleUpdatePolicySpecUpdate) DeepCopyInto added in v1.56.0

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

type SettingsValues

type SettingsValues map[string]interface{}

SettingsValues empty interface in needed to handle DeepCopy generation. DeepCopy does not work with unnamed empty interfaces

func (*SettingsValues) DeepCopy

func (v *SettingsValues) DeepCopy() *SettingsValues

func (SettingsValues) DeepCopyInto

func (v SettingsValues) DeepCopyInto(out *SettingsValues)

Jump to

Keyboard shortcuts

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