v1alpha1

package
v1.60.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 10 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"
	PhaseSkipped         = "Skipped"
)

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 (
	ModuleDocumentationGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "moduledocumentations",
	}
	ModuleDocumentationGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    "ModuleDocumentation",
	}
)
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 Changelog added in v1.59.0

type Changelog map[string]any

func (Changelog) DeepCopy added in v1.59.0

func (c Changelog) DeepCopy() Changelog

func (Changelog) DeepCopyInto added in v1.59.0

func (in Changelog) DeepCopyInto(out *Changelog)

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

type DeckhouseRelease added in v1.60.0

type DeckhouseRelease 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"`

	Approved bool `json:"approved"`

	Spec DeckhouseReleaseSpec `json:"spec"`

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

DeckhouseRelease is a deckhouse release object.

func (*DeckhouseRelease) DeepCopy added in v1.60.0

func (in *DeckhouseRelease) DeepCopy() *DeckhouseRelease

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

func (*DeckhouseRelease) DeepCopyInto added in v1.60.0

func (in *DeckhouseRelease) DeepCopyInto(out *DeckhouseRelease)

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

func (*DeckhouseRelease) DeepCopyObject added in v1.60.0

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

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

type DeckhouseReleaseList added in v1.60.0

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

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

DeckhouseReleaseList is a list of DeckhouseRelease resources

func (*DeckhouseReleaseList) DeepCopy added in v1.60.0

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

func (*DeckhouseReleaseList) DeepCopyInto added in v1.60.0

func (in *DeckhouseReleaseList) DeepCopyInto(out *DeckhouseReleaseList)

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

func (*DeckhouseReleaseList) DeepCopyObject added in v1.60.0

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

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

type DeckhouseReleaseSpec added in v1.60.0

type DeckhouseReleaseSpec struct {
	Version       string            `json:"version,omitempty"`
	ApplyAfter    *metav1.Time      `json:"applyAfter,omitempty"`
	Requirements  map[string]string `json:"requirements,omitempty"`
	Disruptions   []string          `json:"disruptions,omitempty"`
	Changelog     Changelog         `json:"changelog,omitempty"`
	ChangelogLink string            `json:"changelogLink,omitempty"`
}

func (*DeckhouseReleaseSpec) DeepCopy added in v1.60.0

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

func (*DeckhouseReleaseSpec) DeepCopyInto added in v1.60.0

func (in *DeckhouseReleaseSpec) DeepCopyInto(out *DeckhouseReleaseSpec)

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

type DeckhouseReleaseStatus added in v1.60.0

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

func (*DeckhouseReleaseStatus) DeepCopy added in v1.60.0

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

func (*DeckhouseReleaseStatus) DeepCopyInto added in v1.60.0

func (in *DeckhouseReleaseStatus) DeepCopyInto(out *DeckhouseReleaseStatus)

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

func (*DeckhouseReleaseStatus) GetObjectKind added in v1.60.0

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

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

	Status ModuleStatus `json:"status,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 {
	Version string `json:"version"`
	Message string `json:"message"`
}

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 ModuleDocumentation added in v1.60.0

type ModuleDocumentation 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 ModuleDocumentationSpec `json:"spec"`

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

ModuleDocumentation is a Module documentation rendering object.

func (*ModuleDocumentation) DeepCopy added in v1.60.0

func (in *ModuleDocumentation) DeepCopy() *ModuleDocumentation

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

func (*ModuleDocumentation) DeepCopyInto added in v1.60.0

func (in *ModuleDocumentation) DeepCopyInto(out *ModuleDocumentation)

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

func (*ModuleDocumentation) DeepCopyObject added in v1.60.0

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

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

func (*ModuleDocumentation) GetConditionByAddress added in v1.60.0

func (md *ModuleDocumentation) GetConditionByAddress(addr string) (ModuleDocumentationCondition, bool)

type ModuleDocumentationCondition added in v1.60.0

type ModuleDocumentationCondition struct {
	// Type is the type of the condition.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Type     ModuleDocumentationConditionType `json:"type"`
	Version  string                           `json:"version"`
	Checksum string                           `json:"checksum"`
	// Status is the status of the condition.
	// Can be True, False, Unknown.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Address string `json:"address"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
	// Human-readable message indicating details about last transition.
	// +optional
	Message string `json:"message"`
}

func (*ModuleDocumentationCondition) DeepCopy added in v1.60.0

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

func (*ModuleDocumentationCondition) DeepCopyInto added in v1.60.0

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

type ModuleDocumentationConditionRenderResult added in v1.60.0

type ModuleDocumentationConditionRenderResult string
const (
	ResultRendered  ModuleDocumentationConditionRenderResult = "Rendered"
	ResultPartially ModuleDocumentationConditionRenderResult = "Partially"
	ResultError     ModuleDocumentationConditionRenderResult = "Error"
)

type ModuleDocumentationConditionType added in v1.60.0

type ModuleDocumentationConditionType string
const (
	TypeRendered   ModuleDocumentationConditionType = "Rendered"
	TypeError      ModuleDocumentationConditionType = "Error"
	TypeSuperseded ModuleDocumentationConditionType = "Superseded"
)

type ModuleDocumentationKind added in v1.60.0

type ModuleDocumentationKind struct{}

func (*ModuleDocumentationKind) DeepCopy added in v1.60.0

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

func (*ModuleDocumentationKind) DeepCopyInto added in v1.60.0

func (in *ModuleDocumentationKind) DeepCopyInto(out *ModuleDocumentationKind)

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

func (*ModuleDocumentationKind) GroupVersionKind added in v1.60.0

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

func (*ModuleDocumentationKind) SetGroupVersionKind added in v1.60.0

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

type ModuleDocumentationList added in v1.60.0

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

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

ModuleDocumentationList is a list of ModuleDocumentation resources

func (*ModuleDocumentationList) DeepCopy added in v1.60.0

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

func (*ModuleDocumentationList) DeepCopyInto added in v1.60.0

func (in *ModuleDocumentationList) DeepCopyInto(out *ModuleDocumentationList)

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

func (*ModuleDocumentationList) DeepCopyObject added in v1.60.0

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

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

type ModuleDocumentationSpec added in v1.60.0

type ModuleDocumentationSpec struct {
	Version  string `json:"version,omitempty"`
	Path     string `json:"path,omitempty"`
	Checksum string `json:"checksum,omitempty"`
}

func (*ModuleDocumentationSpec) DeepCopy added in v1.60.0

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

func (*ModuleDocumentationSpec) DeepCopyInto added in v1.60.0

func (in *ModuleDocumentationSpec) DeepCopyInto(out *ModuleDocumentationSpec)

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

type ModuleDocumentationStatus added in v1.60.0

type ModuleDocumentationStatus struct {
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions   []ModuleDocumentationCondition           `json:"conditions,omitempty" patchStrategy:"retainKeys" patchKey:"address"`
	RenderResult ModuleDocumentationConditionRenderResult `json:"result,omitempty"`
}

func (*ModuleDocumentationStatus) DeepCopy added in v1.60.0

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

func (*ModuleDocumentationStatus) DeepCopyInto added in v1.60.0

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

func (*ModuleDocumentationStatus) GetObjectKind added in v1.60.0

func (in *ModuleDocumentationStatus) 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"`
	Stage       string `json:"stage,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.

func (*ModulePullOverride) GetModuleName added in v1.60.0

func (mo *ModulePullOverride) GetModuleName() string

GetModuleName returns the module's name of the module pull override

func (*ModulePullOverride) GetModuleSource added in v1.60.0

func (mo *ModulePullOverride) GetModuleSource() string

GetModuleSource returns the module source of the related module

func (*ModulePullOverride) GetReleaseVersion added in v1.60.0

func (mo *ModulePullOverride) GetReleaseVersion() string

GetReleaseVersion returns the version of the related module

func (*ModulePullOverride) GetWeight added in v1.60.0

func (mo *ModulePullOverride) GetWeight() uint32

GetWeight returns the weight of the module

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 libapi.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"`
	Weight      uint32      `json:"weight,omitempty"`
}

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) GetApplyAfter added in v1.60.0

func (mr *ModuleRelease) GetApplyAfter() *time.Time

func (*ModuleRelease) GetApplyNow added in v1.60.0

func (mr *ModuleRelease) GetApplyNow() bool

func (*ModuleRelease) GetApprovedStatus added in v1.60.0

func (mr *ModuleRelease) GetApprovedStatus() bool
func (mr *ModuleRelease) GetChangelogLink() string

func (*ModuleRelease) GetCooldownUntil added in v1.60.0

func (mr *ModuleRelease) GetCooldownUntil() *time.Time

func (*ModuleRelease) GetDisruptionApproved added in v1.60.0

func (mr *ModuleRelease) GetDisruptionApproved() bool

func (*ModuleRelease) GetDisruptions added in v1.60.0

func (mr *ModuleRelease) GetDisruptions() []string

func (*ModuleRelease) GetForce added in v1.60.0

func (mr *ModuleRelease) GetForce() bool

func (*ModuleRelease) GetManuallyApproved added in v1.60.0

func (mr *ModuleRelease) GetManuallyApproved() bool

func (*ModuleRelease) GetMessage added in v1.60.0

func (mr *ModuleRelease) GetMessage() string

func (*ModuleRelease) GetModuleName added in v1.60.0

func (mr *ModuleRelease) GetModuleName() string

GetModuleName returns the module's name of the release

func (*ModuleRelease) GetModuleSource added in v1.56.0

func (mr *ModuleRelease) GetModuleSource() string

GetModuleSource returns module source for this release

func (*ModuleRelease) GetName added in v1.60.0

func (mr *ModuleRelease) GetName() string

func (*ModuleRelease) GetPhase added in v1.60.0

func (mr *ModuleRelease) GetPhase() string

func (*ModuleRelease) GetReleaseVersion added in v1.60.0

func (mr *ModuleRelease) GetReleaseVersion() string

GetReleaseVersion returns the version of the release in the form of "vx.y.z"

func (*ModuleRelease) GetRequirements added in v1.60.0

func (mr *ModuleRelease) GetRequirements() map[string]string

func (*ModuleRelease) GetSuspend added in v1.60.0

func (mr *ModuleRelease) GetSuspend() bool

func (*ModuleRelease) GetVersion added in v1.60.0

func (mr *ModuleRelease) GetVersion() *semver.Version

func (*ModuleRelease) GetWeight added in v1.60.0

func (mr *ModuleRelease) GetWeight() uint32

GetWeight returns the weight of the related module

func (*ModuleRelease) SetApprovedStatus added in v1.60.0

func (mr *ModuleRelease) SetApprovedStatus(val bool)

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"`
	Changelog    Changelog         `json:"changelog,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"`
	Size           uint32          `json:"size"`
	PullDuration   metav1.Duration `json:"pullDuration"`
}

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" patchStrategy:"retainKeys" patchKey:"name"`
}

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 ModuleStatus added in v1.59.0

type ModuleStatus struct {
	Status     string `json:"status"`
	Message    string `json:"message"`
	HooksState string `json:"hooksState"`
}

func (*ModuleStatus) DeepCopy added in v1.59.0

func (in *ModuleStatus) DeepCopy() *ModuleStatus

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

func (*ModuleStatus) DeepCopyInto added in v1.59.0

func (in *ModuleStatus) DeepCopyInto(out *ModuleStatus)

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

func (*ModuleStatus) GetObjectKind added in v1.59.0

func (in *ModuleStatus) 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