core

package
v0.100.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Overview

+groupName=landscaper.gardener.cloud +kubebuilder:skip

Index

Constants

View Source
const BlueprintResourceType = "blueprint"

BlueprintResourceType is the name of the blueprint resource defined in component descriptors.

View Source
const ExecutionManagedByLabel = "execution.landscaper.gardener.cloud/managed-by"

ExecutionManagedByLabel is the label of a deploy item that contains the name of the managed execution. This label is used by the extension controller to identify its managed deploy items todo: add conversion

View Source
const ExecutionManagedNameAnnotation = "execution.landscaper.gardener.cloud/name"

ExecutionManagedNameAnnotation is the unique identifier of the deploy items managed by a execution. It corresponds to the execution item name. todo: add conversion

View Source
const ExportTypeData = ExportType(ImportTypeData)

ExportTypeData is the export type for data exports

View Source
const ExportTypeTarget = ExportType(ImportTypeTarget)

ExportTypeTarget is the export type for target exports

View Source
const GroupName = "landscaper.gardener.cloud"

GroupName is the name of the Garden API group.

View Source
const ImportTypeData = ImportType("data")

ImportTypeData is the import type for data imports

View Source
const ImportTypeTarget = ImportType("target")

ImportTypeTarget is the import type for target imports

View Source
const ImportTypeTargetList = ImportType("targetList")

ImportTypeTargetList is the import type for targetlist imports

View Source
const ImportTypeTargetMap = ImportType("targetMap")

ImportTypeTargetMap is the import type for targetmap imports

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

View Source
var UnknownComponentDescriptorKindKindError = errors.New("UnknownComponentDescriptorKindKind")

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func RegisterDefaults

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 AnyJSON

type AnyJSON struct {
	json.RawMessage `json:",inline"`
}

AnyJSON enhances the json.RawMessages with a dedicated openapi definition so that all it is correctly generated

func NewAnyJSON

func NewAnyJSON(data []byte) AnyJSON

NewAnyJSON creates a new any json object.

func NewAnyJSONPointer

func NewAnyJSONPointer(data []byte) *AnyJSON

NewAnyJSONPointer returns a pointer to a new any json object.

func (*AnyJSON) DeepCopy

func (in *AnyJSON) DeepCopy() *AnyJSON

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

func (*AnyJSON) DeepCopyInto

func (in *AnyJSON) DeepCopyInto(out *AnyJSON)

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

func (AnyJSON) MarshalJSON

func (s AnyJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements the json marshaling for a JSON

func (AnyJSON) OpenAPISchemaFormat

func (AnyJSON) OpenAPISchemaFormat() string

func (AnyJSON) OpenAPISchemaType

func (AnyJSON) OpenAPISchemaType() []string

func (*AnyJSON) UnmarshalJSON

func (s *AnyJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json unmarshaling for a JSON

type AutomaticReconcile

type AutomaticReconcile struct {
	// SucceededReconcile allows to configure automatically repeated reconciliations for succeeded installations.
	// If not set, no such automatically repeated reconciliations are triggered.
	// +optional
	SucceededReconcile *SucceededReconcile `json:"succeededReconcile,omitempty"`

	// FailedReconcile allows to configure automatically repeated reconciliations for failed installations.
	// If not set, no such automatically repeated reconciliations are triggered.
	// +optional
	FailedReconcile *FailedReconcile `json:"failedReconcile,omitempty"`
}

AutomaticReconcile allows to configure automatically repeated reconciliations.

func (*AutomaticReconcile) DeepCopy

func (in *AutomaticReconcile) DeepCopy() *AutomaticReconcile

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

func (*AutomaticReconcile) DeepCopyInto

func (in *AutomaticReconcile) DeepCopyInto(out *AutomaticReconcile)

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

type AutomaticReconcileStatus

type AutomaticReconcileStatus struct {
	// Generation describes the generation of the installation for which the status holds.
	// +optional
	Generation int64 `json:"generation,omitempty"`
	// NumberOfReconciles is the number of automatic reconciles for the installation with the stored generation.
	// +optional
	NumberOfReconciles int `json:"numberOfReconciles,omitempty"`
	// LastReconcileTime is the time of the last automatically triggered reconcile.
	// +optional
	LastReconcileTime metav1.Time `json:"lastReconcileTime,omitempty"`
	// OnFailed is true if the last automatically triggered reconcile was done for a failed installation.
	// +optional
	OnFailed bool `json:"onFailed,omitempty"`
}

AutomaticReconcileStatus describes the status of automatically triggered reconciles.

func (*AutomaticReconcileStatus) DeepCopy

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

func (*AutomaticReconcileStatus) DeepCopyInto

func (in *AutomaticReconcileStatus) DeepCopyInto(out *AutomaticReconcileStatus)

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

type Blueprint

type Blueprint struct {
	metav1.TypeMeta `json:",inline"`

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata.
	// +optional
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,12,rep,name=annotations"`

	// JSONSchemaVersion defines the default jsonschema version of the blueprint.
	// e.g. "https://json-schema.org/draft/2019-09/schema"
	// +optional
	JSONSchemaVersion string `json:"jsonSchemaVersion"`

	// LocalTypes defines additional blueprint local schemas
	// +optional
	LocalTypes map[string]JSONSchemaDefinition `json:"localTypes,omitempty"`

	// Imports define the import values that are needed for the definition and its sub-definitions.
	// +optional
	Imports ImportDefinitionList `json:"imports,omitempty"`

	// Exports define the exported values of the definition and its sub-definitions
	// +optional
	Exports ExportDefinitionList `json:"exports,omitempty"`

	// ImportExecutions defines the templating executors that are sequentially executed by the landscaper.
	// The templates must return a list of errors
	// +optional
	ImportExecutions []TemplateExecutor `json:"importExecutions,omitempty"`

	// Subinstallations defines an optional list of subinstallations (for aggregating blueprints).
	// +optional
	Subinstallations SubinstallationTemplateList `json:"subinstallations,omitempty"`

	// SubinstallationExecutions defines the templating executors that are sequentially executed by the landscaper.
	// The templates must return a list of installation templates.
	// Both subinstallations and SubinstallationExecutions are valid options and will be merged.
	// +optional
	SubinstallationExecutions []TemplateExecutor `json:"subinstallationExecutions,omitempty"`

	// DeployExecutions defines the templating executors that are sequentially executed by the landscaper.
	// The templates must return a list of deploy item templates.
	// +optional
	DeployExecutions []TemplateExecutor `json:"deployExecutions,omitempty"`

	// ExportExecutions defines the templating executors that are used to generate the exports.
	// +optional
	ExportExecutions []TemplateExecutor `json:"exportExecutions,omitempty"`
}

Blueprint contains the configuration of a component

func (*Blueprint) DeepCopy

func (in *Blueprint) DeepCopy() *Blueprint

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

func (*Blueprint) DeepCopyInto

func (in *Blueprint) DeepCopyInto(out *Blueprint)

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

func (*Blueprint) DeepCopyObject

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

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

type BlueprintDefinition

type BlueprintDefinition struct {
	// Reference defines a remote reference to a blueprint
	// +optional
	Reference *RemoteBlueprintReference `json:"ref,omitempty"`
	// Inline defines a inline yaml filesystem with a blueprint.
	// +optional
	Inline *InlineBlueprint `json:"inline,omitempty"`
}

BlueprintDefinition defines the blueprint that should be used for the installation.

func (*BlueprintDefinition) DeepCopy

func (in *BlueprintDefinition) DeepCopy() *BlueprintDefinition

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

func (*BlueprintDefinition) DeepCopyInto

func (in *BlueprintDefinition) DeepCopyInto(out *BlueprintDefinition)

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

type BlueprintStaticDataSource

type BlueprintStaticDataSource struct {
	// Value defined inline a raw data
	// +optional
	Value AnyJSON `json:"value,omitempty"`

	// ValueFrom defines data from an external resource
	ValueFrom *StaticDataValueFrom `json:"valueFrom,omitempty"`
}

BlueprintStaticDataSource defines a static data source for a blueprint

func (*BlueprintStaticDataSource) DeepCopy

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

func (*BlueprintStaticDataSource) DeepCopyInto

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

type BlueprintStaticDataValueFrom

type BlueprintStaticDataValueFrom struct {
	// Selects a key of a secret in the installations's namespace
	// +optional
	LocalPath string `json:"localPath,omitempty"`
}

BlueprintStaticDataValueFrom defines static data that is read from a external resource.

func (*BlueprintStaticDataValueFrom) DeepCopy

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

func (*BlueprintStaticDataValueFrom) DeepCopyInto

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

type ComponentDescriptorDefinition

type ComponentDescriptorDefinition struct {
	// ComponentDescriptorReference is the reference to a component descriptor
	// +optional
	Reference *ComponentDescriptorReference `json:"ref,omitempty"`

	// InlineDescriptorReference defines an inline component descriptor
	// +optional
	Inline *cdv2.ComponentDescriptor `json:"inline,omitempty"`
}

ComponentDescriptorDefinition defines the component descriptor that should be used for the installatoin

func (*ComponentDescriptorDefinition) DeepCopy

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

func (*ComponentDescriptorDefinition) DeepCopyInto

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

type ComponentDescriptorKind

type ComponentDescriptorKind string

ComponentDescriptorKind is the kind of a component descriptor. It can be a component or a resource.

const (
	// ComponentResourceKind is the kind of a component.
	ComponentResourceKind ComponentDescriptorKind = "component"
	// ResourceKind is the kind of a local resource.
	ResourceKind ComponentDescriptorKind = "resource"
)

type ComponentDescriptorReference

type ComponentDescriptorReference struct {
	// RepositoryContext defines the context of the component repository to resolve blueprints.
	// +optional
	RepositoryContext *cdv2.UnstructuredTypedObject `json:"repositoryContext,omitempty"`
	// ComponentName defines the unique of the component containing the resource.
	ComponentName string `json:"componentName"`
	// Version defines the version of the component.
	Version string `json:"version"`
}

ComponentDescriptorReference is the reference to a component descriptor. given an optional context.

func (*ComponentDescriptorReference) DeepCopy

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

func (*ComponentDescriptorReference) DeepCopyInto

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

func (ComponentDescriptorReference) ObjectMeta

ObjectMeta returns the component descriptor v2 compatible object meta for a resource reference.

type ComponentVersionOverwrite

type ComponentVersionOverwrite struct {
	// Source defines the component that should be replaced.
	Source ComponentVersionOverwriteReference `json:"source"`
	// Substitution defines the replacement target for the component or version.
	Substitution ComponentVersionOverwriteReference `json:"substitution"`
}

ComponentVersionOverwrite defines an overwrite for a specific component and/or version of a component.

func (*ComponentVersionOverwrite) DeepCopy

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

func (*ComponentVersionOverwrite) DeepCopyInto

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

type ComponentVersionOverwriteList

type ComponentVersionOverwriteList []ComponentVersionOverwrite

ComponentVersionOverwriteList is a list of component overwrites.

func (ComponentVersionOverwriteList) DeepCopy

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

func (ComponentVersionOverwriteList) DeepCopyInto

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

type ComponentVersionOverwriteReference

type ComponentVersionOverwriteReference struct {
	// RepositoryContext defines the context of the component repository to resolve blueprints.
	// +optional
	RepositoryContext *cdv2.UnstructuredTypedObject `json:"repositoryContext,omitempty"`
	// ComponentName defines the unique of the component containing the resource.
	// +optional
	ComponentName string `json:"componentName"`
	// Version defines the version of the component.
	// +optional
	Version string `json:"version"`
}

ComponentVersionOverwriteReference defines a component reference by

func (*ComponentVersionOverwriteReference) DeepCopy

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

func (*ComponentVersionOverwriteReference) DeepCopyInto

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

type ComponentVersionOverwrites

type ComponentVersionOverwrites struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// Overwrites defines a list of component overwrites
	Overwrites ComponentVersionOverwriteList `json:"overwrites,omitempty"`
}

ComponentVersionOverwrites contain overwrites for specific (versions of) components. +kubebuilder:resource:path="componentversionoverwrites",scope="Cluster",shortName={"compveroverwrite","cvo","overwrite"},singular="componentversionoverwrite"

func (*ComponentVersionOverwrites) DeepCopy

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

func (*ComponentVersionOverwrites) DeepCopyInto

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

func (*ComponentVersionOverwrites) DeepCopyObject

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

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

type ComponentVersionOverwritesList

type ComponentVersionOverwritesList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ComponentVersionOverwrites `json:"items"`
}

ComponentVersionOverwritesList contains a list of ComponentVersionOverwrites

func (*ComponentVersionOverwritesList) DeepCopy

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

func (*ComponentVersionOverwritesList) DeepCopyInto

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

func (*ComponentVersionOverwritesList) DeepCopyObject

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

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

type Condition

type Condition struct {
	// DataType of the Shoot condition.
	Type ConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status ConditionStatus `json:"status"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime"`
	// Last time the condition was updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message"`
	// Well-defined error codes in case the condition reports a problem.
	// +optional
	Codes []ErrorCode `json:"codes,omitempty"`
}

Condition holds the information about the state of a resource.

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.

type ConditionStatus

type ConditionStatus string

ConditionStatus is the status of a condition.

const (
	// ConditionTrue means a resource is in the condition.
	ConditionTrue ConditionStatus = "True"
	// ConditionFalse means a resource is not in the condition.
	ConditionFalse ConditionStatus = "False"
	// ConditionUnknown means Landscaper can't decide if a resource is in the condition or not.
	ConditionUnknown ConditionStatus = "Unknown"
	// ConditionProgressing means the condition was seen true, failed but stayed within a predefined failure threshold.
	// In the future, we could add other intermediate conditions, e.g. ConditionDegraded.
	ConditionProgressing ConditionStatus = "Progressing"

	// ConditionCheckError is a constant for a reason in condition.
	ConditionCheckError = "ConditionCheckError"
)

type ConditionType

type ConditionType string

ConditionType is a string alias.

const ReconcileDeployItemsCondition ConditionType = "ReconcileDeployItems"

ReconcileDeployItemsCondition is the Conditions type to indicate the deploy items status.

type ConfigMapReference

type ConfigMapReference struct {
	ObjectReference `json:",inline"`
	// Key is the name of the key in the configmap that holds the data.
	// +optional
	Key string `json:"key"`
}

ConfigMapReference is reference to data in a configmap. The configmap can also be in a different namespace.

func (*ConfigMapReference) DeepCopy

func (in *ConfigMapReference) DeepCopy() *ConfigMapReference

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

func (*ConfigMapReference) DeepCopyInto

func (in *ConfigMapReference) DeepCopyInto(out *ConfigMapReference)

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

type Context

type Context struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	ContextConfiguration `json:",inline"`
}

Context is a resource that contains shared information of installations. This includes information about the repository context like the context itself or secrets to access the oci artifacts. But it can also contain deployer specific config.

func (*Context) DeepCopy

func (in *Context) DeepCopy() *Context

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

func (*Context) DeepCopyInto

func (in *Context) DeepCopyInto(out *Context)

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

func (*Context) DeepCopyObject

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

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

type ContextConfiguration

type ContextConfiguration struct {
	// RepositoryContext defines the context of the component repository to resolve blueprints.
	// +optional
	RepositoryContext *cdv2.UnstructuredTypedObject `json:"repositoryContext,omitempty"`
	// UseOCM defines whether OCM is used to process installations that reference this context.
	// +optional
	UseOCM bool `json:"useOCM,omitempty"`
	// RegistryPullSecrets defines a list of registry credentials that are used to
	// pull blueprints, component descriptors and jsonschemas from the respective registry.
	// For more info see: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
	// Note that the type information is used to determine the secret key and the type of the secret.
	// +optional
	RegistryPullSecrets []corev1.LocalObjectReference `json:"registryPullSecrets,omitempty"`
	// Configurations contains arbitrary configuration information for dedicated purposes given by a string key.
	// The key should use a dns-like syntax to express the purpose and avoid conflicts.
	// +optional
	Configurations map[string]AnyJSON `json:"configurations,omitempty"`
	// ComponentVersionOverwritesReference is a reference to a ComponentVersionOverwrites object
	// The overwrites object has to be in the same namespace as the context.
	// If the string is empty, no overwrites will be used.
	// +optional
	ComponentVersionOverwritesReference string `json:"componentVersionOverwrites"`
}

func (*ContextConfiguration) DeepCopy

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

func (*ContextConfiguration) DeepCopyInto

func (in *ContextConfiguration) DeepCopyInto(out *ContextConfiguration)

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

type ContextList

type ContextList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Context `json:"items"`
}

ContextList contains a list of Contexts

func (*ContextList) DeepCopy

func (in *ContextList) DeepCopy() *ContextList

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

func (*ContextList) DeepCopyInto

func (in *ContextList) DeepCopyInto(out *ContextList)

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

func (*ContextList) DeepCopyObject

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

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

type CriticalProblem

type CriticalProblem struct {
	// PodName contains the name of the pod where the problem occurred
	PodName string `json:"podName,omitempty"`
	// CreationTime contains the timestamp when the problem occured
	CreationTime metav1.Time `json:"creationTime,omitempty"`
	// Description contains an error description
	Description string `json:"description,omitempty"`
}

CriticalProblem contains information about one critical problem.

func (*CriticalProblem) DeepCopy

func (in *CriticalProblem) DeepCopy() *CriticalProblem

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

func (*CriticalProblem) DeepCopyInto

func (in *CriticalProblem) DeepCopyInto(out *CriticalProblem)

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

type CriticalProblems

type CriticalProblems struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec contains the specification
	Spec CriticalProblemsSpec `json:"spec"`

	// Status contains the status
	// +optional
	Status CriticalProblemsStatus `json:"status"`
}

CriticalProblems contains a list of critical landscaper problems.

func (*CriticalProblems) DeepCopy

func (in *CriticalProblems) DeepCopy() *CriticalProblems

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

func (*CriticalProblems) DeepCopyInto

func (in *CriticalProblems) DeepCopyInto(out *CriticalProblems)

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

func (*CriticalProblems) DeepCopyObject

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

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

type CriticalProblemsList

type CriticalProblemsList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CriticalProblems `json:"items"`
}

CriticalProblemsList contains a list of critical landscaper problems objects

func (*CriticalProblemsList) DeepCopy

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

func (*CriticalProblemsList) DeepCopyInto

func (in *CriticalProblemsList) DeepCopyInto(out *CriticalProblemsList)

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

func (*CriticalProblemsList) DeepCopyObject

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

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

type CriticalProblemsSpec

type CriticalProblemsSpec struct {
	CriticalProblems []CriticalProblem `json:"criticalProblem,omitempty"`
}

CriticalProblemsSpec contains the specification for a CriticalProblems object.

func (*CriticalProblemsSpec) DeepCopy

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

func (*CriticalProblemsSpec) DeepCopyInto

func (in *CriticalProblemsSpec) DeepCopyInto(out *CriticalProblemsSpec)

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

type CriticalProblemsStatus

type CriticalProblemsStatus struct {
}

CriticalProblemsStatus contains the status of a CriticalProblems object.

func (*CriticalProblemsStatus) DeepCopy

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

func (*CriticalProblemsStatus) DeepCopyInto

func (in *CriticalProblemsStatus) DeepCopyInto(out *CriticalProblemsStatus)

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

type DataExport

type DataExport struct {
	// Name the internal name of the imported/exported data.
	Name string `json:"name"`

	// DataRef is the name of the in-cluster data object.
	DataRef string `json:"dataRef"`
}

DataExport is a data object export.

func (*DataExport) DeepCopy

func (in *DataExport) DeepCopy() *DataExport

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

func (*DataExport) DeepCopyInto

func (in *DataExport) DeepCopyInto(out *DataExport)

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

type DataImport

type DataImport struct {
	// Name the internal name of the imported/exported data.
	Name string `json:"name"`

	// DataRef is the name of the in-cluster data object.
	DataRef string `json:"dataRef"`

	// Version specifies the imported data version.
	// defaults to "v1"
	// +optional
	Version string `json:"version,omitempty"`

	// SecretRef defines a data reference from a secret.
	// This method is not allowed in installation templates.
	// +optional
	SecretRef *LocalSecretReference `json:"secretRef,omitempty"`

	// ConfigMapRef defines a data reference from a configmap.
	// This method is not allowed in installation templates.
	// +optional
	ConfigMapRef *LocalConfigMapReference `json:"configMapRef,omitempty"`
}

DataImport is a data object import.

func (*DataImport) DeepCopy

func (in *DataImport) DeepCopy() *DataImport

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

func (*DataImport) DeepCopyInto

func (in *DataImport) DeepCopyInto(out *DataImport)

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

type DataObject

type DataObject struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// Data contains the data of the object as string.
	Data AnyJSON `json:"data"`
}

DataObject are resources that can hold any kind of json or yaml data.

func (*DataObject) DeepCopy

func (in *DataObject) DeepCopy() *DataObject

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

func (*DataObject) DeepCopyInto

func (in *DataObject) DeepCopyInto(out *DataObject)

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

func (*DataObject) DeepCopyObject

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

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

type DataObjectList

type DataObjectList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DataObject `json:"items"`
}

DataObjectList contains a list of DataObject

func (*DataObjectList) DeepCopy

func (in *DataObjectList) DeepCopy() *DataObjectList

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

func (*DataObjectList) DeepCopyInto

func (in *DataObjectList) DeepCopyInto(out *DataObjectList)

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

func (*DataObjectList) DeepCopyObject

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

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

type Default

type Default struct {
	Value AnyJSON `json:"value"`
}

Default defines a default value (future idea: also reference?).

func (*Default) DeepCopy

func (in *Default) DeepCopy() *Default

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

func (*Default) DeepCopyInto

func (in *Default) DeepCopyInto(out *Default)

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

type DependentToTrigger

type DependentToTrigger struct {
	// Name is the name of the dependent installation
	Name string `json:"name,omitempty"`
}

func (*DependentToTrigger) DeepCopy

func (in *DependentToTrigger) DeepCopy() *DependentToTrigger

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

func (*DependentToTrigger) DeepCopyInto

func (in *DependentToTrigger) DeepCopyInto(out *DependentToTrigger)

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

type DeployItem

type DeployItem struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec DeployItemSpec `json:"spec"`

	// +optional
	Status DeployItemStatus `json:"status"`
}

DeployItem defines a resource that should be processed by a external deployer +kubebuilder:subresource:status

func (*DeployItem) DeepCopy

func (in *DeployItem) DeepCopy() *DeployItem

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

func (*DeployItem) DeepCopyInto

func (in *DeployItem) DeepCopyInto(out *DeployItem)

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

func (*DeployItem) DeepCopyObject

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

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

type DeployItemCache

type DeployItemCache struct {
	ActiveDIs   []DiNamePair `json:"activeDIs,omitempty"`
	OrphanedDIs []string     `json:"orphanedDIs,omitempty"`
}

DeployItemCache contains the existing deploy items

func (*DeployItemCache) DeepCopy

func (in *DeployItemCache) DeepCopy() *DeployItemCache

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

func (*DeployItemCache) DeepCopyInto

func (in *DeployItemCache) DeepCopyInto(out *DeployItemCache)

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

type DeployItemList

type DeployItemList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DeployItem `json:"items"`
}

DeployItemList contains a list of DeployItems

func (*DeployItemList) DeepCopy

func (in *DeployItemList) DeepCopy() *DeployItemList

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

func (*DeployItemList) DeepCopyInto

func (in *DeployItemList) DeepCopyInto(out *DeployItemList)

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

func (*DeployItemList) DeepCopyObject

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

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

type DeployItemPhase

type DeployItemPhase string

type DeployItemSpec

type DeployItemSpec struct {
	// Type is the type of the deployer that should handle the item.
	Type DeployItemType `json:"type"`
	// Target specifies an optional target of the deploy item.
	// In most cases it contains the secrets to access a evironment.
	// It is also used by the deployers to determine the ownernship.
	// +optional
	Target *ObjectReference `json:"target,omitempty"`
	// Context defines the current context of the deployitem.
	// +optional
	Context string `json:"context,omitempty"`
	// Configuration contains the deployer type specific configuration.
	Configuration *runtime.RawExtension `json:"config,omitempty"`
	// Timeout specifies how long the deployer may take to apply the deploy item.
	// When the time is exceeded, the deploy item fails.
	// Value has to be parsable by time.ParseDuration (or 'none' to deactivate the timeout).
	// Defaults to ten minutes if not specified.
	// +optional
	Timeout *Duration `json:"timeout,omitempty"`
	// UpdateOnChangeOnly specifies if redeployment is executed only if the specification of the deploy item has changed.
	// +optional
	UpdateOnChangeOnly bool `json:"updateOnChangeOnly,omitempty"`

	// OnDelete specifies particular setting when deleting a deploy item
	OnDelete *OnDeleteConfig `json:"onDelete,omitempty"`
}

DeployItemSpec contains the definition of a deploy item.

func (*DeployItemSpec) DeepCopy

func (in *DeployItemSpec) DeepCopy() *DeployItemSpec

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

func (*DeployItemSpec) DeepCopyInto

func (in *DeployItemSpec) DeepCopyInto(out *DeployItemSpec)

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

type DeployItemStatus

type DeployItemStatus struct {
	// Phase is the current phase of the DeployItem
	Phase DeployItemPhase `json:"phase,omitempty"`

	// ObservedGeneration is the most recent generation observed for this DeployItem.
	// It corresponds to the DeployItem generation, which is updated on mutation by the landscaper.
	ObservedGeneration int64 `json:"observedGeneration"`

	// Conditions contains the actual condition of a deploy item
	// +optional
	Conditions []Condition `json:"conditions,omitempty"`

	// LastError describes the last error that occurred.
	LastError *Error `json:"lastError,omitempty"`

	// ErrorHistory describes the last n errors that occurred since JobID was changed the last time.
	LastErrors []*Error `json:"lastErrors,omitempty"`

	// FirstError describes the first error that occurred since JobID was changed the last time.
	FirstError *Error `json:"firstError,omitempty"`

	// LastReconcileTime indicates when the reconciliation of the last change to the deploy item has started
	// +optional
	LastReconcileTime *metav1.Time `json:"lastReconcileTime,omitempty"`

	// Deployer describes the deployer that has reconciled the deploy item.
	// +optional
	Deployer DeployerInformation `json:"deployer,omitempty"`

	// ProviderStatus contains the provider specific status
	// +optional
	ProviderStatus *runtime.RawExtension `json:"providerStatus,omitempty"`

	// ExportReference is the reference to the object that contains the exported values.
	// +optional
	ExportReference *ObjectReference `json:"exportRef,omitempty"`

	// JobID is the ID of the current working request.
	JobID string `json:"jobID,omitempty"`

	// JobIDFinished is the ID of the finished working request.
	JobIDFinished string `json:"jobIDFinished,omitempty"`

	// JobIDGenerationTime is the timestamp when the JobID was set.
	JobIDGenerationTime *metav1.Time `json:"jobIDGenerationTime,omitempty"`

	// DeployerPhase is DEPRECATED and will soon be removed.
	DeployerPhase *string `json:"deployItemPhase,omitempty"`

	// TransitionTimes contains timestamps of status transitions
	// +optional
	TransitionTimes *TransitionTimes `json:"transitionTimes,omitempty"`
}

DeployItemStatus contains the status of a deploy item

func (*DeployItemStatus) DeepCopy

func (in *DeployItemStatus) DeepCopy() *DeployItemStatus

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

func (*DeployItemStatus) DeepCopyInto

func (in *DeployItemStatus) DeepCopyInto(out *DeployItemStatus)

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

type DeployItemTemplate

type DeployItemTemplate struct {
	// Name is the unique name of the execution.
	Name string `json:"name"`

	// DataType is the DeployItem type of the execution.
	Type DeployItemType `json:"type"`

	// Target is the object reference to the target that the deploy item should deploy to.
	// +optional
	Target *ObjectReference `json:"target,omitempty"`

	// Labels is the map of labels to be added to the deploy item.
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// ProviderConfiguration contains the type specific configuration for the execution.
	Configuration *runtime.RawExtension `json:"config"`

	// DependsOn lists deploy items that need to be executed before this one
	DependsOn []string `json:"dependsOn,omitempty"`

	// Timeout specifies how long the deployer may take to apply the deploy item.
	// When the time is exceeded, the deploy item fails.
	// Value has to be parsable by time.ParseDuration (or 'none' to deactivate the timeout).
	// Defaults to ten minutes if not specified.
	// +optional
	Timeout *Duration `json:"timeout,omitempty"`

	// UpdateOnChangeOnly specifies if redeployment is executed only if the specification of the deploy item has changed.
	// +optional
	UpdateOnChangeOnly bool `json:"updateOnChangeOnly,omitempty"`

	// OnDelete specifies particular setting when deleting a deploy item
	OnDelete *OnDeleteConfig `json:"onDelete,omitempty"`
}

DeployItemTemplate defines a execution element that is translated into a deploy item. +k8s:deepcopy-gen=true

func (*DeployItemTemplate) DeepCopy

func (in *DeployItemTemplate) DeepCopy() *DeployItemTemplate

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

func (*DeployItemTemplate) DeepCopyInto

func (in *DeployItemTemplate) DeepCopyInto(out *DeployItemTemplate)

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

type DeployItemTemplateList

type DeployItemTemplateList []DeployItemTemplate

DeployItemTemplateList is a list of deploy item templates

func (DeployItemTemplateList) DeepCopy

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

func (DeployItemTemplateList) DeepCopyInto

func (in DeployItemTemplateList) DeepCopyInto(out *DeployItemTemplateList)

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

type DeployItemType

type DeployItemType string

DeployItemType defines the type of the deploy item

type DeployerInformation

type DeployerInformation struct {
	// Identity describes the unique identity of the deployer.
	Identity string `json:"identity"`
	// Name is the name of the deployer.
	Name string `json:"name"`
	// Version is the version of the deployer.
	Version string `json:"version"`
}

DeployerInformation holds additional information about the deployer that has reconciled or is reconciling the deploy item.

func (*DeployerInformation) DeepCopy

func (in *DeployerInformation) DeepCopy() *DeployerInformation

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

func (*DeployerInformation) DeepCopyInto

func (in *DeployerInformation) DeepCopyInto(out *DeployerInformation)

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

type DeployerPhase

type DeployerPhase string

type DiNamePair

type DiNamePair struct {
	SpecName   string `json:"specName,omitempty"`
	ObjectName string `json:"objectName,omitempty"`
}

DiNamePair contains the spec name and the real name of a deploy item

func (*DiNamePair) DeepCopy

func (in *DiNamePair) DeepCopy() *DiNamePair

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

func (*DiNamePair) DeepCopyInto

func (in *DiNamePair) DeepCopyInto(out *DiNamePair)

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

type Duration

type Duration struct {
	time.Duration
}

Duration is a wrapper for time.Duration that implements JSON marshalling and openapi scheme.

func (*Duration) DeepCopy

func (in *Duration) DeepCopy() *Duration

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

func (*Duration) DeepCopyInto

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

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

MarshalJSON implements the json marshaling for a Duration

func (Duration) OpenAPISchemaFormat

func (Duration) OpenAPISchemaFormat() string

func (Duration) OpenAPISchemaType

func (Duration) OpenAPISchemaType() []string

func (*Duration) UnmarshalJSON

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

UnmarshalJSON implements json unmarshaling for a Duration

type Error

type Error struct {
	// Operation describes the operator where the error ocurred.
	Operation string `json:"operation"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime"`
	// Last time the condition was updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message"`
	// Well-defined error codes in case the condition reports a problem.
	// +optional
	Codes []ErrorCode `json:"codes,omitempty"`
}

Error holds information about an error that occurred.

func (*Error) DeepCopy

func (in *Error) DeepCopy() *Error

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

func (*Error) DeepCopyInto

func (in *Error) DeepCopyInto(out *Error)

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

type ErrorCode

type ErrorCode string

ErrorCode is a string alias.

const (
	// ErrorUnauthorized indicates that the last error occurred due to invalid credentials.
	ErrorUnauthorized ErrorCode = "ERR_UNAUTHORIZED"
	// ErrorCleanupResources indicates that the last error occurred due to resources are stuck in deletion.
	ErrorCleanupResources ErrorCode = "ERR_CLEANUP"
	// ErrorConfigurationProblem indicates that the last error occurred due a configuration problem.
	ErrorConfigurationProblem ErrorCode = "ERR_CONFIGURATION_PROBLEM"
	// ErrorInternalProblem indicates that the last error occurred due to a servere internal error
	ErrorInternalProblem ErrorCode = "ERR_INTERNAL_PROBLEM"
	// ErrorTimeout indicates that an operation timed out.
	ErrorTimeout ErrorCode = "ERR_TIMEOUT"
	// ErrorCyclicDependencies indicates that there are cyclic dependencies between multiple installations/deployitems.
	ErrorCyclicDependencies ErrorCode = "ERR_CYCLIC_DEPENDENCIES"
	// ErrorWebhook indicates that there is an intermediate problem with the webhook.
	ErrorWebhook ErrorCode = "ERR_WEBHOOK"
	// ErrorUnfinished indicates that there are unfinished sub-objects.
	ErrorUnfinished ErrorCode = "ERR_UNFINISHED"
	// ErrorForInfoOnly indicates that the error is no real error but an info and should be logged only on infor level.
	ErrorForInfoOnly ErrorCode = "ERR_FOR_INFO_ONLY"
	// ErrorNoRetry indicates that no retry is required.
	ErrorNoRetry ErrorCode = "ERR_NO_RETRY"
)

type Execution

type Execution struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// Spec defines a execution and its items
	Spec ExecutionSpec `json:"spec"`
	// Status contains the current status of the execution.
	// +optional
	Status ExecutionStatus `json:"status"`
}

Execution contains the configuration of a execution and deploy item

func (*Execution) DeepCopy

func (in *Execution) DeepCopy() *Execution

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

func (*Execution) DeepCopyInto

func (in *Execution) DeepCopyInto(out *Execution)

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

func (*Execution) DeepCopyObject

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

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

type ExecutionList

type ExecutionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Execution `json:"items"`
}

ExecutionList contains a list of Executions‚

func (*ExecutionList) DeepCopy

func (in *ExecutionList) DeepCopy() *ExecutionList

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

func (*ExecutionList) DeepCopyInto

func (in *ExecutionList) DeepCopyInto(out *ExecutionList)

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

func (*ExecutionList) DeepCopyObject

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

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

type ExecutionPhase

type ExecutionPhase string

type ExecutionSpec

type ExecutionSpec struct {
	// Context defines the current context of the execution.
	// +optional
	Context string `json:"context,omitempty"`

	// DeployItems defines all execution items that need to be scheduled.
	DeployItems DeployItemTemplateList `json:"deployItems,omitempty"`

	// DeployItemsCompressed as zipped byte array
	DeployItemsCompressed []byte `json:"deployItemsCompressed,omitempty"`
}

ExecutionSpec defines a execution plan.

func (*ExecutionSpec) DeepCopy

func (in *ExecutionSpec) DeepCopy() *ExecutionSpec

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

func (*ExecutionSpec) DeepCopyInto

func (in *ExecutionSpec) DeepCopyInto(out *ExecutionSpec)

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

func (ExecutionSpec) MarshalJSON

func (r ExecutionSpec) MarshalJSON() ([]byte, error)

func (*ExecutionSpec) UnmarshalJSON

func (r *ExecutionSpec) UnmarshalJSON(data []byte) error

type ExecutionStatus

type ExecutionStatus struct {
	// ObservedGeneration is the most recent generation observed for this Execution.
	// It corresponds to the Execution generation, which is updated on mutation by the landscaper.
	ObservedGeneration int64 `json:"observedGeneration"`

	// Conditions contains the actual condition of a execution
	Conditions []Condition `json:"conditions,omitempty"`

	// LastError describes the last error that occurred.
	LastError *Error `json:"lastError,omitempty"`

	// ExportReference references the object that contains the exported values.
	// only used for operation purpose.
	// +optional
	ExportReference *ObjectReference `json:"exportRef,omitempty"`

	// DeployItemCache contains the currently existing deploy item belonging to the execution. If nil undefined.
	// +optional
	DeployItemCache *DeployItemCache `json:"deployItemCache,omitempty"`

	// JobID is the ID of the current working request.
	JobID string `json:"jobID,omitempty"`

	// JobIDFinished is the ID of the finished working request.
	JobIDFinished string `json:"jobIDFinished,omitempty"`

	// ExecutionPhase is the current phase of the execution.
	ExecutionPhase ExecutionPhase `json:"phase,omitempty"`

	// PhaseTransitionTime is the time when the phase last changed.
	// +optional
	PhaseTransitionTime *metav1.Time `json:"phaseTransitionTime,omitempty"`

	// TransitionTimes contains timestamps of status transitions
	// +optional
	TransitionTimes *TransitionTimes `json:"transitionTimes,omitempty"`
}

ExecutionStatus contains the current status of a execution.

func (*ExecutionStatus) DeepCopy

func (in *ExecutionStatus) DeepCopy() *ExecutionStatus

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

func (*ExecutionStatus) DeepCopyInto

func (in *ExecutionStatus) DeepCopyInto(out *ExecutionStatus)

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

type ExportDefinition

type ExportDefinition struct {
	FieldValueDefinition `json:",inline"`

	// Type specifies which kind of object is being exported.
	// This field should be set and will likely be mandatory in future.
	// +optional
	Type ExportType `json:"type,omitempty"`
}

ExportDefinition defines a exported value

func (*ExportDefinition) DeepCopy

func (in *ExportDefinition) DeepCopy() *ExportDefinition

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

func (*ExportDefinition) DeepCopyInto

func (in *ExportDefinition) DeepCopyInto(out *ExportDefinition)

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

type ExportDefinitionList

type ExportDefinitionList []ExportDefinition

ExportDefinitionList defines a list of export definitions.

func (ExportDefinitionList) DeepCopy

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

func (ExportDefinitionList) DeepCopyInto

func (in ExportDefinitionList) DeepCopyInto(out *ExportDefinitionList)

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

type ExportType

type ExportType string

ExportType is a string alias

type FailedReconcile

type FailedReconcile struct {
	// NumberOfReconciles specifies the maximal number of automatically repeated reconciliations. If not set, no upper
	// limit exists.
	// +optional
	NumberOfReconciles *int `json:"numberOfReconciles,omitempty"`

	// Interval specifies the interval between two subsequent repeated reconciliations. If not set, a default
	// of 5 minutes is used.
	// +optional
	Interval *Duration `json:"interval,omitempty"`
}

FailedReconcile allows to configure automatically repeated reconciliations for failed installations

func (*FailedReconcile) DeepCopy

func (in *FailedReconcile) DeepCopy() *FailedReconcile

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

func (*FailedReconcile) DeepCopyInto

func (in *FailedReconcile) DeepCopyInto(out *FailedReconcile)

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

type FieldValueDefinition

type FieldValueDefinition struct {
	// Name defines the field name to search for the value and map to exports.
	// Ref: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#selecting-fields
	Name string `json:"name"`
	// Schema defines the imported value as jsonschema.
	// +optional
	Schema *JSONSchemaDefinition `json:"schema,omitempty"`
	// TargetType defines the type of the imported target.
	// +optional
	TargetType string `json:"targetType,omitempty"`
}

FieldValueDefinition defines a im- or exported field. Either schema or target type have to be defined

func (*FieldValueDefinition) DeepCopy

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

func (*FieldValueDefinition) DeepCopyInto

func (in *FieldValueDefinition) DeepCopyInto(out *FieldValueDefinition)

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

type ImportDefinition

type ImportDefinition struct {
	FieldValueDefinition `json:",inline"`

	// Type specifies which kind of object is being imported.
	// This field should be set and will likely be mandatory in future.
	// +optional
	Type ImportType `json:"type,omitempty"`

	// Required specifies whether the import is required for the component to run.
	// Defaults to true.
	// +optional
	Required *bool `json:"required"`

	// Default sets a default value for the current import that is used if the key is not set.
	Default Default `json:"default,omitempty"`

	// ConditionalImports are Imports that are only valid if this imports is satisfied.
	// Does only make sense for optional imports.
	// todo: maybe restrict only for required=false
	// todo: see if this works with recursion
	// +optional
	ConditionalImports []ImportDefinition `json:"imports,omitempty"`
}

ImportDefinition defines a imported value

func (*ImportDefinition) DeepCopy

func (in *ImportDefinition) DeepCopy() *ImportDefinition

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

func (*ImportDefinition) DeepCopyInto

func (in *ImportDefinition) DeepCopyInto(out *ImportDefinition)

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

type ImportDefinitionList

type ImportDefinitionList []ImportDefinition

ImportDefinitionList defines a list of import defiinitions.

func (ImportDefinitionList) DeepCopy

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

func (ImportDefinitionList) DeepCopyInto

func (in ImportDefinitionList) DeepCopyInto(out *ImportDefinitionList)

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

type ImportType

type ImportType string

ImportType is a string alias

type InlineBlueprint

type InlineBlueprint struct {
	// Filesystem defines a inline yaml filesystem with a blueprint.
	Filesystem AnyJSON `json:"filesystem"`
}

InlineBlueprint defines an inline blueprint with component descriptor and filesystem.

func (*InlineBlueprint) DeepCopy

func (in *InlineBlueprint) DeepCopy() *InlineBlueprint

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

func (*InlineBlueprint) DeepCopyInto

func (in *InlineBlueprint) DeepCopyInto(out *InlineBlueprint)

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

type Installation

type Installation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec contains the specification for a installation.
	Spec InstallationSpec `json:"spec"`

	// Status contains the status of the installation.
	// +optional
	Status InstallationStatus `json:"status"`
}

Installation contains the configuration of a installation

func (*Installation) DeepCopy

func (in *Installation) DeepCopy() *Installation

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

func (*Installation) DeepCopyInto

func (in *Installation) DeepCopyInto(out *Installation)

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

func (*Installation) DeepCopyObject

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

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

type InstallationDeletionPhase

type InstallationDeletionPhase string

InstallationDeletionPhase is a string that contains the deletion phase

type InstallationExports

type InstallationExports struct {
	// Data defines all data object exports.
	// +optional
	Data []DataExport `json:"data,omitempty"`

	// Targets defines all target exports.
	// +optional
	Targets []TargetExport `json:"targets,omitempty"`
}

InstallationExports defines exports of data objects and targets.

func (*InstallationExports) DeepCopy

func (in *InstallationExports) DeepCopy() *InstallationExports

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

func (*InstallationExports) DeepCopyInto

func (in *InstallationExports) DeepCopyInto(out *InstallationExports)

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

type InstallationImports

type InstallationImports struct {
	// Data defines all data object imports.
	// +optional
	Data []DataImport `json:"data,omitempty"`

	// Targets defines all target imports.
	// +optional
	Targets []TargetImport `json:"targets,omitempty"`
}

InstallationImports defines import of data objects and targets.

func (*InstallationImports) DeepCopy

func (in *InstallationImports) DeepCopy() *InstallationImports

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

func (*InstallationImports) DeepCopyInto

func (in *InstallationImports) DeepCopyInto(out *InstallationImports)

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

type InstallationList

type InstallationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Installation `json:"items"`
}

InstallationList contains a list of Components

func (*InstallationList) DeepCopy

func (in *InstallationList) DeepCopy() *InstallationList

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

func (*InstallationList) DeepCopyInto

func (in *InstallationList) DeepCopyInto(out *InstallationList)

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

func (*InstallationList) DeepCopyObject

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

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

type InstallationPhase

type InstallationPhase string

InstallationPhase is a string that contains the installation phase

type InstallationSpec

type InstallationSpec struct {
	// Context defines the current context of the installation.
	// +optional
	Context string `json:"context,omitempty"`

	//ComponentDescriptor is a reference to the installation's component descriptor
	// +optional
	ComponentDescriptor *ComponentDescriptorDefinition `json:"componentDescriptor,omitempty"`

	// Blueprint is the resolved reference to the definition.
	Blueprint BlueprintDefinition `json:"blueprint"`

	// Imports define the imported data objects and targets.
	// +optional
	Imports InstallationImports `json:"imports,omitempty"`

	// ImportDataMappings contains a template for restructuring imports.
	// It is expected to contain a key for every blueprint-defined data import.
	// Missing keys will be defaulted to their respective data import.
	// Example: namespace: (( installation.imports.namespace ))
	// +optional
	ImportDataMappings map[string]AnyJSON `json:"importDataMappings,omitempty"`

	// Exports define the exported data objects and targets.
	// +optional
	Exports InstallationExports `json:"exports,omitempty"`

	// ExportDataMappings contains a template for restructuring exports.
	// It is expected to contain a key for every blueprint-defined data export.
	// Missing keys will be defaulted to their respective data export.
	// Example: namespace: (( blueprint.exports.namespace ))
	// +optional
	ExportDataMappings map[string]AnyJSON `json:"exportDataMappings,omitempty"`

	// AutomaticReconcile allows to configure automatically repeated reconciliations.
	// +optional
	AutomaticReconcile *AutomaticReconcile `json:"automaticReconcile,omitempty"`

	// Optimization contains settings to improve execution performance.
	// +optional
	Optimization *Optimization `json:"optimization,omitempty"`
}

InstallationSpec defines a component installation.

func (*InstallationSpec) DeepCopy

func (in *InstallationSpec) DeepCopy() *InstallationSpec

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

func (*InstallationSpec) DeepCopyInto

func (in *InstallationSpec) DeepCopyInto(out *InstallationSpec)

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

type InstallationStatus

type InstallationStatus struct {
	// ObservedGeneration is the most recent generation observed for this ControllerInstallations.
	// It corresponds to the ControllerInstallations generation, which is updated on mutation by the landscaper.
	ObservedGeneration int64 `json:"observedGeneration"`

	// Conditions contains the actual condition of a installation
	Conditions []Condition `json:"conditions,omitempty"`

	// LastError describes the last error that occurred.
	LastError *Error `json:"lastError,omitempty"`

	// SubInstCache contains the currently existing sub installations belonging to the execution. If nil undefined.
	// +optional
	SubInstCache *SubInstCache `json:"subInstCache,omitempty"`

	// ExecutionReference is the reference to the execution that schedules the templated execution items.
	ExecutionReference *ObjectReference `json:"executionRef,omitempty"`

	// JobID is the ID of the current working request.
	JobID string `json:"jobID,omitempty"`

	// JobIDFinished is the ID of the finished working request.
	JobIDFinished string `json:"jobIDFinished,omitempty"`

	// InstallationPhase is the current phase of the installation.
	InstallationPhase InstallationPhase `json:"phase,omitempty"`

	// PhaseTransitionTime is the time when the phase last changed.
	// +optional
	PhaseTransitionTime *metav1.Time `json:"phaseTransitionTime,omitempty"`

	// ImportsHash is the hash of the import data.
	ImportsHash string `json:"importsHash,omitempty"`

	// AutomaticReconcileStatus describes the status of automatically triggered reconciles.
	// +optional
	AutomaticReconcileStatus *AutomaticReconcileStatus `json:"automaticReconcileStatus,omitempty"`

	// DependentsToTrigger lists dependent installations to be triggered
	// +optional
	DependentsToTrigger []DependentToTrigger `json:"dependentsToTrigger,omitempty"`

	// TransitionTimes contains timestamps of status transitions
	// +optional
	TransitionTimes *TransitionTimes `json:"transitionTimes,omitempty"`
}

InstallationStatus contains the current status of a Installation.

func (*InstallationStatus) DeepCopy

func (in *InstallationStatus) DeepCopy() *InstallationStatus

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

func (*InstallationStatus) DeepCopyInto

func (in *InstallationStatus) DeepCopyInto(out *InstallationStatus)

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

type InstallationTemplate

type InstallationTemplate struct {
	metav1.TypeMeta `json:",inline"`

	// Name is the unique name of the step
	Name string `json:"name"`

	// Reference defines a reference to a Blueprint.
	// The blueprint can reside in an OCI or other supported location.
	Blueprint InstallationTemplateBlueprintDefinition `json:"blueprint"`

	// Imports define the imported data objects and targets.
	// +optional
	Imports InstallationImports `json:"imports,omitempty"`

	// ImportDataMappings contains a template for restructuring imports.
	// It is expected to contain a key for every blueprint-defined data import.
	// Missing keys will be defaulted to their respective data import.
	// Example: namespace: (( installation.imports.namespace ))
	// +optional
	ImportDataMappings map[string]AnyJSON `json:"importDataMappings,omitempty"`

	// Exports define the exported data objects and targets.
	// +optional
	Exports InstallationExports `json:"exports,omitempty"`

	// ExportDataMappings contains a template for restructuring exports.
	// It is expected to contain a key for every blueprint-defined data export.
	// Missing keys will be defaulted to their respective data export.
	// Example: namespace: (( blueprint.exports.namespace ))
	// +optional
	ExportDataMappings map[string]AnyJSON `json:"exportDataMappings,omitempty"`

	// Optimization contains settings to improve execution performance.
	// +optional
	Optimization *Optimization `json:"optimization,omitempty"`
}

InstallationTemplate defines a subinstallation in a blueprint.

func (*InstallationTemplate) DeepCopy

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

func (*InstallationTemplate) DeepCopyInto

func (in *InstallationTemplate) DeepCopyInto(out *InstallationTemplate)

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

func (*InstallationTemplate) DeepCopyObject

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

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

type InstallationTemplateBlueprintDefinition

type InstallationTemplateBlueprintDefinition struct {
	// Ref is a reference to a blueprint.
	// Only blueprints that are defined by the component descriptor of the current blueprint can be referenced here.
	// Example: cd://componentReference/dns/resources/blueprint
	// +optional
	Ref string `json:"ref,omitempty"`

	// Filesystem defines a virtual filesystem with all files needed for a blueprint.
	// The filesystem must be a YAML filesystem.
	// +optional
	Filesystem AnyJSON `json:"filesystem,omitempty"`
}

InstallationTemplateBlueprintDefinition contains either a reference to a blueprint or an inline definition.

func (*InstallationTemplateBlueprintDefinition) DeepCopy

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

func (*InstallationTemplateBlueprintDefinition) DeepCopyInto

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

type InstallationTemplateList

type InstallationTemplateList []*InstallationTemplate

InstallationTemplateList is a list of installation templates.

func (InstallationTemplateList) DeepCopy

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

func (InstallationTemplateList) DeepCopyInto

func (in InstallationTemplateList) DeepCopyInto(out *InstallationTemplateList)

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

type JSONSchemaDefinition

type JSONSchemaDefinition struct {
	json.RawMessage `json:",inline"`
}

JSONSchemaDefinition defines a jsonschema.

func (*JSONSchemaDefinition) DeepCopy

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

func (*JSONSchemaDefinition) DeepCopyInto

func (in *JSONSchemaDefinition) DeepCopyInto(out *JSONSchemaDefinition)

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

func (JSONSchemaDefinition) MarshalJSON

func (s JSONSchemaDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json marshaling for a JSON

func (JSONSchemaDefinition) OpenAPISchemaFormat

func (JSONSchemaDefinition) OpenAPISchemaFormat() string

func (JSONSchemaDefinition) OpenAPISchemaType

func (JSONSchemaDefinition) OpenAPISchemaType() []string

func (*JSONSchemaDefinition) UnmarshalJSON

func (s *JSONSchemaDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json unmarshaling for a JSON

type LocalConfigMapReference

type LocalConfigMapReference struct {
	// Name is the name of the configmap
	Name string `json:"name"`
	// Key is the name of the key in the configmap that holds the data.
	// +optional
	Key string `json:"key"`
}

LocalConfigMapReference is a reference to data in a configmap.

func (*LocalConfigMapReference) DeepCopy

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

func (*LocalConfigMapReference) DeepCopyInto

func (in *LocalConfigMapReference) DeepCopyInto(out *LocalConfigMapReference)

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

type LocalSecretReference

type LocalSecretReference struct {
	// Name is the name of the secret
	Name string `json:"name"`
	// Key is the name of the key in the secret that holds the data.
	// +optional
	Key string `json:"key"`
}

LocalSecretReference is a reference to data in a secret.

func (*LocalSecretReference) DeepCopy

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

func (*LocalSecretReference) DeepCopyInto

func (in *LocalSecretReference) DeepCopyInto(out *LocalSecretReference)

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

type LsHealthCheck

type LsHealthCheck struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Status defines the overall status of the landscaper and its standard deployers.
	Status LsHealthCheckStatus `json:"status"`

	// LastUpdateTime contains last time the check was updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime"`

	// Description contains description of the problem(s)
	Description string `json:"description"`
}

LsHealthCheck is a resource containing information about problems with the landscaper installation

func (*LsHealthCheck) DeepCopy

func (in *LsHealthCheck) DeepCopy() *LsHealthCheck

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

func (*LsHealthCheck) DeepCopyInto

func (in *LsHealthCheck) DeepCopyInto(out *LsHealthCheck)

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

func (*LsHealthCheck) DeepCopyObject

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

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

type LsHealthCheckList

type LsHealthCheckList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LsHealthCheck `json:"items"`
}

LsHealthCheckList contains a list of LsHealthChecks

func (*LsHealthCheckList) DeepCopy

func (in *LsHealthCheckList) DeepCopy() *LsHealthCheckList

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

func (*LsHealthCheckList) DeepCopyInto

func (in *LsHealthCheckList) DeepCopyInto(out *LsHealthCheckList)

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

func (*LsHealthCheckList) DeepCopyObject

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

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

type LsHealthCheckStatus

type LsHealthCheckStatus string

type NamedObjectReference

type NamedObjectReference struct {
	// Name is the unique name of the reference.
	Name string `json:"name"`

	// Reference is the reference to an object.
	Reference ObjectReference `json:"ref"`
}

NamedObjectReference is a named reference to a specific resource.

func (*NamedObjectReference) DeepCopy

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

func (*NamedObjectReference) DeepCopyInto

func (in *NamedObjectReference) DeepCopyInto(out *NamedObjectReference)

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

type ObjectReference

type ObjectReference struct {
	// Name is the name of the kubernetes object.
	Name string `json:"name"`

	// Namespace is the namespace of kubernetes object.
	// +optional
	Namespace string `json:"namespace"`
}

ObjectReference is the reference to a kubernetes object.

func (*ObjectReference) DeepCopy

func (in *ObjectReference) DeepCopy() *ObjectReference

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

func (*ObjectReference) DeepCopyInto

func (in *ObjectReference) DeepCopyInto(out *ObjectReference)

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

func (*ObjectReference) NamespacedName

func (r *ObjectReference) NamespacedName() types.NamespacedName

NamespacedName returns the namespaced name for the object reference

type OnDeleteConfig

type OnDeleteConfig struct {
	// SkipUninstallIfClusterRemoved specifies that uninstall is skipped if the target cluster is already deleted.
	// Works only in the context of an existing target sync object which is used to check the Garden project with
	// the shoot cluster resources
	SkipUninstallIfClusterRemoved bool `json:"skipUninstallIfClusterRemoved,omitempty"`
}

OnDeleteConfig specifies particular setting when deleting a deploy item

func (*OnDeleteConfig) DeepCopy

func (in *OnDeleteConfig) DeepCopy() *OnDeleteConfig

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

func (*OnDeleteConfig) DeepCopyInto

func (in *OnDeleteConfig) DeepCopyInto(out *OnDeleteConfig)

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

type Operation

type Operation string
const (
	// ReconcileOperation is an annotation for the landscaper to reconcile root installations.
	// If set it triggers a reconciliation for all dependent resources.
	ReconcileOperation Operation = "reconcile"

	// ForceReconcileOperation is currently not used.
	ForceReconcileOperation Operation = "force-reconcile"

	// InterruptOperation is the annotation to let the landscaper interrupt all currently running deploy items of an
	// installation and its subinstallations. It differs from abort by not waiting some time such that the responsible
	// deployer could do some cleanup.
	InterruptOperation Operation = "interrupt"

	// TestReconcileOperation is only used for test purposes. If set at a DeployItem, it triggers a reconciliation
	// of that DeployItem. It must not be used in a productive scenario.
	TestReconcileOperation Operation = "test-reconcile"
)

type Optimization

type Optimization struct {
	// set this on true if the installation does not import data from its siblings or has no siblings at all
	HasNoSiblingImports bool `json:"hasNoSiblingImports,omitempty"`
	// set this on true if the installation does not export data to its siblings or has no siblings at all
	HasNoSiblingExports bool `json:"hasNoSiblingExports,omitempty"`
}

Optimization contains settings to improve execution preformance

func (*Optimization) DeepCopy

func (in *Optimization) DeepCopy() *Optimization

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

func (*Optimization) DeepCopyInto

func (in *Optimization) DeepCopyInto(out *Optimization)

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

type RemoteBlueprintReference

type RemoteBlueprintReference struct {
	// ResourceName is the name of the blueprint as defined by a component descriptor.
	ResourceName string `json:"resourceName"`
}

RemoteBlueprintReference describes a reference to a blueprint defined by a component descriptor.

func (*RemoteBlueprintReference) DeepCopy

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

func (*RemoteBlueprintReference) DeepCopyInto

func (in *RemoteBlueprintReference) DeepCopyInto(out *RemoteBlueprintReference)

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

type Requirement

type Requirement struct {
	Key      string             `json:"key"`
	Operator selection.Operator `json:"operator"`
	// In huge majority of cases we have at most one value here.
	// It is generally faster to operate on a single-element slice
	// than on a single-element map, so we have a slice here.
	// +optional
	Values []string `json:"values,omitempty"`
}

Requirement contains values, a key, and an operator that relates the key and values. The zero value of Requirement is invalid. Requirement implements both set based match and exact match Requirement should be initialized via NewRequirement constructor for creating a valid Requirement. +k8s:deepcopy-gen=true

func (*Requirement) DeepCopy

func (in *Requirement) DeepCopy() *Requirement

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

func (*Requirement) DeepCopyInto

func (in *Requirement) DeepCopyInto(out *Requirement)

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

type ResolvedTarget

type ResolvedTarget struct {
	// Target contains the original target.
	*Target `json:"target"`

	// Content contains the content of the target.
	// If the target has a secret reference, this field should be filled by a TargetResolver.
	// Otherwise, the inline configuration of the target is put here.
	Content string `json:"content"`
}

ResolvedTarget is a helper struct to store a target together with the content of its resolved secret reference.

func (*ResolvedTarget) DeepCopy

func (in *ResolvedTarget) DeepCopy() *ResolvedTarget

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

func (*ResolvedTarget) DeepCopyInto

func (in *ResolvedTarget) DeepCopyInto(out *ResolvedTarget)

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

type ResourceReference

type ResourceReference struct {
	// ComponentName defines the unique of the component containing the resource.
	ComponentName string `json:"componentName"`
	// ResourceName defines the name of the resource.
	ResourceName string `json:"resourceName"`
}

ResourceReference defines the reference to a resource defined in a component descriptor.

func (*ResourceReference) DeepCopy

func (in *ResourceReference) DeepCopy() *ResourceReference

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

func (*ResourceReference) DeepCopyInto

func (in *ResourceReference) DeepCopyInto(out *ResourceReference)

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

type SecretLabelSelectorRef

type SecretLabelSelectorRef struct {
	// Selector is a map of labels to select specific secrets.
	Selector map[string]string `json:"selector"`

	// The key of the secret to select from.  Must be a valid secret key.
	Key string `json:"key"`
}

SecretLabelSelectorRef selects secrets with the given label and key.

func (*SecretLabelSelectorRef) DeepCopy

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

func (*SecretLabelSelectorRef) DeepCopyInto

func (in *SecretLabelSelectorRef) DeepCopyInto(out *SecretLabelSelectorRef)

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

type SecretReference

type SecretReference struct {
	ObjectReference `json:",inline"`
	// Key is the name of the key in the secret that holds the data.
	// +optional
	Key string `json:"key"`
}

SecretReference is reference to data in a secret. The secret can also be in a different namespace.

func (*SecretReference) DeepCopy

func (in *SecretReference) DeepCopy() *SecretReference

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

func (*SecretReference) DeepCopyInto

func (in *SecretReference) DeepCopyInto(out *SecretReference)

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

type StaticDataSource

type StaticDataSource struct {
	// Value defined inline a raw data
	// +optional
	Value AnyJSON `json:"value,omitempty"`

	// ValueFrom defines data from an external resource
	ValueFrom *StaticDataValueFrom `json:"valueFrom,omitempty"`
}

StaticDataSource defines a static data source

func (*StaticDataSource) DeepCopy

func (in *StaticDataSource) DeepCopy() *StaticDataSource

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

func (*StaticDataSource) DeepCopyInto

func (in *StaticDataSource) DeepCopyInto(out *StaticDataSource)

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

type StaticDataValueFrom

type StaticDataValueFrom struct {
	// Selects a key of a secret in the installations's namespace
	// +optional
	SecretKeyRef *corev1.SecretKeySelector `json:"secretKeyRef,omitempty"`

	// Selects a key from multiple secrets in the installations's namespace
	// that matches the given labels.
	// +optional
	SecretLabelSelector *SecretLabelSelectorRef `json:"secretLabelSelector,omitempty"`
}

StaticDataValueFrom defines a static data that is read from a external resource.

func (*StaticDataValueFrom) DeepCopy

func (in *StaticDataValueFrom) DeepCopy() *StaticDataValueFrom

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

func (*StaticDataValueFrom) DeepCopyInto

func (in *StaticDataValueFrom) DeepCopyInto(out *StaticDataValueFrom)

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

type SubInstCache

type SubInstCache struct {
	ActiveSubs   []SubNamePair `json:"activeSubs,omitempty"`
	OrphanedSubs []string      `json:"orphanedSubs,omitempty"`
}

SubInstCache contains the existing sub installations

func (*SubInstCache) DeepCopy

func (in *SubInstCache) DeepCopy() *SubInstCache

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

func (*SubInstCache) DeepCopyInto

func (in *SubInstCache) DeepCopyInto(out *SubInstCache)

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

type SubNamePair

type SubNamePair struct {
	SpecName   string `json:"specName,omitempty"`
	ObjectName string `json:"objectName,omitempty"`
}

DiNamePair contains the spec name and the real name of a deploy item

func (*SubNamePair) DeepCopy

func (in *SubNamePair) DeepCopy() *SubNamePair

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

func (*SubNamePair) DeepCopyInto

func (in *SubNamePair) DeepCopyInto(out *SubNamePair)

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

type SubinstallationTemplate

type SubinstallationTemplate struct {
	// File references a subinstallation template stored in another file.
	// +optional
	File string `json:"file,omitempty"`

	// An inline subinstallation template.
	// +optional
	*InstallationTemplate `json:",inline"`
}

SubinstallationTemplate defines a subinstallation template.

func (*SubinstallationTemplate) DeepCopy

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

func (*SubinstallationTemplate) DeepCopyInto

func (in *SubinstallationTemplate) DeepCopyInto(out *SubinstallationTemplate)

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

type SubinstallationTemplateList

type SubinstallationTemplateList []SubinstallationTemplate

SubinstallationTemplateList is a list of installation templates

func (SubinstallationTemplateList) DeepCopy

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

func (SubinstallationTemplateList) DeepCopyInto

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

type SucceededReconcile

type SucceededReconcile struct {
	// Interval specifies the interval between two subsequent repeated reconciliations. If not set, a default of
	// 24 hours is used.
	// +optional
	Interval *Duration `json:"interval,omitempty"`
}

SucceededReconcile allows to configure automatically repeated reconciliations for succeeded installations

func (*SucceededReconcile) DeepCopy

func (in *SucceededReconcile) DeepCopy() *SucceededReconcile

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

func (*SucceededReconcile) DeepCopyInto

func (in *SucceededReconcile) DeepCopyInto(out *SucceededReconcile)

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

type SyncObject

type SyncObject struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec contains the specification
	Spec SyncObjectSpec `json:"spec"`

	// Status contains the status
	// +optional
	Status SyncObjectStatus `json:"status"`
}

The SyncObject helps to sync access to deploy items.

func (*SyncObject) DeepCopy

func (in *SyncObject) DeepCopy() *SyncObject

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

func (*SyncObject) DeepCopyInto

func (in *SyncObject) DeepCopyInto(out *SyncObject)

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

func (*SyncObject) DeepCopyObject

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

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

type SyncObjectList

type SyncObjectList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SyncObject `json:"items"`
}

SyncObjectList contains a list of SyncObject objects

func (*SyncObjectList) DeepCopy

func (in *SyncObjectList) DeepCopy() *SyncObjectList

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

func (*SyncObjectList) DeepCopyInto

func (in *SyncObjectList) DeepCopyInto(out *SyncObjectList)

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

func (*SyncObjectList) DeepCopyObject

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

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

type SyncObjectSpec

type SyncObjectSpec struct {
	// PodName describes the name of the pod of the responsible deployer
	PodName string `json:"podName"`

	// Kind describes the kind of object that is being locked by this SyncObject
	Kind string `json:"kind"`

	// Name is the name of the object that is being locked by this SyncObject
	Name string `json:"name"`

	// LastUpdateTime contains last time the object was updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime"`

	// Prefix is the prefix of the name of the object.
	Prefix string `json:"prefix"`
}

SyncObjectSpec contains the specification.

func (*SyncObjectSpec) DeepCopy

func (in *SyncObjectSpec) DeepCopy() *SyncObjectSpec

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

func (*SyncObjectSpec) DeepCopyInto

func (in *SyncObjectSpec) DeepCopyInto(out *SyncObjectSpec)

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

type SyncObjectStatus

type SyncObjectStatus struct {
}

SyncObjectStatus contains the status.

func (*SyncObjectStatus) DeepCopy

func (in *SyncObjectStatus) DeepCopy() *SyncObjectStatus

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

func (*SyncObjectStatus) DeepCopyInto

func (in *SyncObjectStatus) DeepCopyInto(out *SyncObjectStatus)

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

type Target

type Target struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec TargetSpec `json:"spec"`
}

Target defines a specific data object that defines target environment. Every deploy item can have a target which is used by the deployer to install the specific application.

func (*Target) DeepCopy

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

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

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

func (*Target) DeepCopyObject

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

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

type TargetExport

type TargetExport struct {
	// Name the internal name of the exported target.
	Name string `json:"name"`

	// Target is the name of the in-cluster target object.
	// +optional
	Target string `json:"target,omitempty"`
}

TargetExport is a single target export.

func (*TargetExport) DeepCopy

func (in *TargetExport) DeepCopy() *TargetExport

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

func (*TargetExport) DeepCopyInto

func (in *TargetExport) DeepCopyInto(out *TargetExport)

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

type TargetImport

type TargetImport struct {
	// Name the internal name of the imported target.
	Name string `json:"name"`

	// Target is the name of the in-cluster target object.
	// Exactly one of Target, Targets, and TargetListReference has to be specified.
	// +optional
	Target string `json:"target,omitempty"`

	// Targets is a list of in-cluster target objects.
	// Exactly one of Target, Targets, and TargetListReference has to be specified.
	// +optional
	Targets []string `json:"targets"`

	// TargetListReference can (only) be used to import a targetlist that has been imported by the parent installation.
	// Exactly one of Target, Targets, and TargetListReference has to be specified.
	// +optional
	TargetListReference string `json:"targetListRef,omitempty"`

	// +optional
	TargetMap map[string]string `json:"targetMap,omitempty"`

	// +optional
	TargetMapReference string `json:"targetMapRef,omitempty"`
}

TargetImport is either a single target or a target list import.

func (*TargetImport) DeepCopy

func (in *TargetImport) DeepCopy() *TargetImport

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

func (*TargetImport) DeepCopyInto

func (in *TargetImport) DeepCopyInto(out *TargetImport)

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

type TargetList

type TargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Target `json:"items"`
}

TargetList contains a list of Targets

func (*TargetList) DeepCopy

func (in *TargetList) DeepCopy() *TargetList

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

func (*TargetList) DeepCopyInto

func (in *TargetList) DeepCopyInto(out *TargetList)

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

func (*TargetList) DeepCopyObject

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

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

type TargetSelector

type TargetSelector struct {
	// Targets defines a list of specific targets (name and namespace)
	// that should be reconciled.
	// +optional
	Targets []ObjectReference `json:"targets,omitempty"`
	// Annotations matches a target based on annotations.
	// +optional
	Annotations []Requirement `json:"annotations,omitempty"`
	// Labels matches a target based on its labels.
	// +optional
	Labels []Requirement `json:"labels,omitempty"`
}

TargetSelector describes a selector that matches specific targets. +k8s:deepcopy-gen=true

func (*TargetSelector) DeepCopy

func (in *TargetSelector) DeepCopy() *TargetSelector

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

func (*TargetSelector) DeepCopyInto

func (in *TargetSelector) DeepCopyInto(out *TargetSelector)

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

type TargetSpec

type TargetSpec struct {
	// Type is the type of the target that defines its data structure.
	// The actual schema may be defined by a target type crd in the future.
	Type TargetType `json:"type"`

	// Configuration contains the target type specific configuration.
	// Exactly one of the fields Configuration and SecretRef must be set
	// +optional
	Configuration *AnyJSON `json:"config,omitempty"`

	// Reference to a secret containing the target type specific configuration.
	// Exactly one of the fields Configuration and SecretRef must be set
	// +optional
	SecretRef *LocalSecretReference `json:"secretRef,omitempty"`
}

TargetSpec contains the definition of a target.

func (*TargetSpec) DeepCopy

func (in *TargetSpec) DeepCopy() *TargetSpec

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

func (*TargetSpec) DeepCopyInto

func (in *TargetSpec) DeepCopyInto(out *TargetSpec)

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

type TargetSync

type TargetSync struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec contains the specification
	Spec TargetSyncSpec `json:"spec"`

	// Status contains the status
	// +optional
	Status TargetSyncStatus `json:"status"`
}

The TargetSync is created targets from secrets.

func (*TargetSync) DeepCopy

func (in *TargetSync) DeepCopy() *TargetSync

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

func (*TargetSync) DeepCopyInto

func (in *TargetSync) DeepCopyInto(out *TargetSync)

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

func (*TargetSync) DeepCopyObject

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

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

type TargetSyncList

type TargetSyncList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TargetSync `json:"items"`
}

TargetSyncList contains a list of TargetSync objects

func (*TargetSyncList) DeepCopy

func (in *TargetSyncList) DeepCopy() *TargetSyncList

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

func (*TargetSyncList) DeepCopyInto

func (in *TargetSyncList) DeepCopyInto(out *TargetSyncList)

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

func (*TargetSyncList) DeepCopyObject

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

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

type TargetSyncSpec

type TargetSyncSpec struct {
	// SourceNamespace describes the namespace from where the secrets should be synced
	SourceNamespace string `json:"sourceNamespace"`

	// SecretRef references the secret that contains the kubeconfig to the namespace of the secrets to be synced.
	SecretRef LocalSecretReference `json:"secretRef"`

	// CreateTargetToSource specifies if set on true, that also a target is created, which references the secret in SecretRef
	// +optional
	CreateTargetToSource bool `json:"createTargetToSource,omitempty"`

	// TargetToSourceName is the name of the target referencing the secret defined in SecretRef if CreateTargetToSource
	// is set on true. If TargetToSourceName is empty SourceNamespace is used instead.
	// +optional
	TargetToSourceName string `json:"targetToSourceName,omitempty"`

	// SecretNameExpression defines the names of the secrets which should be synced via a regular expression according
	// to https://github.com/google/re2/wiki/Syntax with the extension that * is also a valid expression and matches
	// all names.
	// if not set no secrets are synced
	// +optional
	SecretNameExpression string `json:"secretNameExpression"`

	// ShootNameExpression defines the names of shoot clusters for which targets with short living access data
	// to the shoots are created via a regular expression according to https://github.com/google/re2/wiki/Syntax with
	// the extension that * is also a valid expression and matches all names.
	// if not set no targets for the shoots are created
	// +optional
	ShootNameExpression string `json:"shootNameExpression"`

	// TokenRotation defines the data to perform an automatic rotation of the token to access the source cluster with the
	// secrets to sync. The token expires after 90 days and will be rotated every 60 days.
	// +optional
	TokenRotation *TokenRotation `json:"tokenRotation,omitempty"`
}

TargetSyncSpec contains the specification for a TargetSync.

func (*TargetSyncSpec) DeepCopy

func (in *TargetSyncSpec) DeepCopy() *TargetSyncSpec

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

func (*TargetSyncSpec) DeepCopyInto

func (in *TargetSyncSpec) DeepCopyInto(out *TargetSyncSpec)

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

type TargetSyncStatus

type TargetSyncStatus struct {
	// ObservedGeneration is the most recent generation observed.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration"`

	// Last time the status was updated
	// +optional
	LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`

	// LastErrors describe the last errors
	// +optional
	LastErrors []string `json:"lastErrors,omitempty"`

	// Last time the token was rotated
	// +optional
	LastTokenRotationTime *metav1.Time `json:"lastTokenRotationTime,omitempty"`
}

TargetSyncStatus contains the status of a TargetSync.

func (*TargetSyncStatus) DeepCopy

func (in *TargetSyncStatus) DeepCopy() *TargetSyncStatus

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

func (*TargetSyncStatus) DeepCopyInto

func (in *TargetSyncStatus) DeepCopyInto(out *TargetSyncStatus)

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

type TargetTemplate

type TargetTemplate struct {
	TargetSpec `json:",inline"`

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: http://kubernetes.io/docs/user-guide/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: http://kubernetes.io/docs/user-guide/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

TargetTemplate exposes specific parts of a target that are used in the exports to export a target

func (*TargetTemplate) DeepCopy

func (in *TargetTemplate) DeepCopy() *TargetTemplate

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

func (*TargetTemplate) DeepCopyInto

func (in *TargetTemplate) DeepCopyInto(out *TargetTemplate)

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

type TargetType

type TargetType string

TargetType defines the type of the target.

type TemplateExecutor

type TemplateExecutor struct {
	// Name is the unique name of the template
	Name string `json:"name"`
	// Type describes the templating mechanism.
	Type TemplateType `json:"type"`
	// File is the path to the template in the blueprint's content.
	// +optional
	File string `json:"file,omitempty"`
	// Template contains an optional inline template.
	// The template has to be of string for go template
	// and either a string or valid yaml/json for spiff.
	// + optional
	Template AnyJSON `json:"template,omitempty"`
}

TemplateExecutor describes a templating mechanism and configuration.

func (*TemplateExecutor) DeepCopy

func (in *TemplateExecutor) DeepCopy() *TemplateExecutor

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

func (*TemplateExecutor) DeepCopyInto

func (in *TemplateExecutor) DeepCopyInto(out *TemplateExecutor)

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

type TemplateType

type TemplateType string

TemplateType describes the template mechanism.

const GOTemplateType TemplateType = "GoTemplate"

GOTemplateType describes the go templating type.

const SpiffTemplateType TemplateType = "Spiff"

SpiffTemplateType describes the spiff type.

type TokenRotation

type TokenRotation struct {
	// Enabled defines if automatic token is executed
	Enabled bool `json:"enabled,omitempty"`
}

func (*TokenRotation) DeepCopy

func (in *TokenRotation) DeepCopy() *TokenRotation

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

func (*TokenRotation) DeepCopyInto

func (in *TokenRotation) DeepCopyInto(out *TokenRotation)

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

type TransitionTimes

type TransitionTimes struct {

	// TriggerTime is the time when the jobID is set.
	// +optional
	TriggerTime *metav1.Time `json:"triggerTime,omitempty"`

	// InitTime is the time when the Init phase starts.
	// +optional
	InitTime *metav1.Time `json:"initTime,omitempty"`

	// WaitTime is the time when the work is done.
	// +optional
	WaitTime *metav1.Time `json:"waitTime,omitempty"`

	// FinishedTime is the time when the finished phase is set.
	// +optional
	FinishedTime *metav1.Time `json:"finishedTime,omitempty"`
}

func (*TransitionTimes) DeepCopy

func (in *TransitionTimes) DeepCopy() *TransitionTimes

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

func (*TransitionTimes) DeepCopyInto

func (in *TransitionTimes) DeepCopyInto(out *TransitionTimes)

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

type TypedObjectReference

type TypedObjectReference struct {
	// APIVersion is the group and version for the resource being referenced.
	// If APIVersion is not specified, the specified Kind must be in the core API group.
	// For any other third-party types, APIVersion is required.
	APIVersion string `json:"apiVersion"`
	// Kind is the type of resource being referenced
	Kind string `json:"kind"`

	ObjectReference `json:",inline"`
}

TypedObjectReference is a reference to a typed kubernetes object.

func (*TypedObjectReference) DeepCopy

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

func (*TypedObjectReference) DeepCopyInto

func (in *TypedObjectReference) DeepCopyInto(out *TypedObjectReference)

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

type VersionedNamedObjectReference

type VersionedNamedObjectReference struct {
	// Name is the unique name of the reference.
	Name string `json:"name"`

	// Reference is the reference to an object.
	Reference VersionedObjectReference `json:"ref"`
}

VersionedNamedObjectReference is a named reference to a object with its last observed resource generation. This struct is used by status fields.

func (*VersionedNamedObjectReference) DeepCopy

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

func (*VersionedNamedObjectReference) DeepCopyInto

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

type VersionedObjectReference

type VersionedObjectReference struct {
	ObjectReference `json:",inline"`

	// ObservedGeneration defines the last observed generation of the referenced resource.
	ObservedGeneration int64 `json:"observedGeneration"`
}

VersionedObjectReference is a reference to a object with its last observed resource generation. This struct is used by status fields.

func (*VersionedObjectReference) DeepCopy

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

func (*VersionedObjectReference) DeepCopyInto

func (in *VersionedObjectReference) DeepCopyInto(out *VersionedObjectReference)

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

type VersionedResourceReference

type VersionedResourceReference struct {
	ResourceReference `json:",inline"`
	// Version defines the version of the component.
	Version string `json:"version"`
}

VersionedResourceReference defines the reference to a resource with its version.

func (*VersionedResourceReference) DeepCopy

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

func (*VersionedResourceReference) DeepCopyInto

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

func (VersionedResourceReference) ObjectMeta

ObjectMeta returns the component descriptor v2 compatible object meta for a resource reference.

Directories

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

Jump to

Keyboard shortcuts

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