v1alpha1

package
v0.1.0-rc.10 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_v1alpha1_generated_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ArgoCDAppUpdate

type ArgoCDAppUpdate struct {

	// AppName specifies the name of an Argo CD Application resource to be
	// updated.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
	AppName *string `protobuf:"bytes,1,opt,name=appName" json:"appName,omitempty"`
	// AppNamespace specifies the namespace of an Argo CD Application resource to
	// be updated. If left unspecified, the namespace of this Application resource
	// is defaulted to that of the Environment.
	//
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
	AppNamespace *string `protobuf:"bytes,2,opt,name=appNamespace" json:"appNamespace,omitempty"`
	// SourceUpdates describes updates to be applied to various sources of the
	// specified Argo CD Application resource.
	SourceUpdates []*ArgoCDSourceUpdate `protobuf:"bytes,3,rep,name=sourceUpdates" json:"sourceUpdates,omitempty"`
	// contains filtered or unexported fields
}

ArgoCDAppUpdate describes updates that should be applied to an Argo CD Application resources to incorporate newly observed materials into an Environment.

func (*ArgoCDAppUpdate) Descriptor deprecated

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

Deprecated: Use ArgoCDAppUpdate.ProtoReflect.Descriptor instead.

func (*ArgoCDAppUpdate) GetAppName

func (x *ArgoCDAppUpdate) GetAppName() string

func (*ArgoCDAppUpdate) GetAppNamespace

func (x *ArgoCDAppUpdate) GetAppNamespace() string

func (*ArgoCDAppUpdate) GetSourceUpdates

func (x *ArgoCDAppUpdate) GetSourceUpdates() []*ArgoCDSourceUpdate

func (*ArgoCDAppUpdate) ProtoMessage

func (*ArgoCDAppUpdate) ProtoMessage()

func (*ArgoCDAppUpdate) ProtoReflect

func (x *ArgoCDAppUpdate) ProtoReflect() protoreflect.Message

func (*ArgoCDAppUpdate) Reset

func (x *ArgoCDAppUpdate) Reset()

func (*ArgoCDAppUpdate) String

func (x *ArgoCDAppUpdate) String() string

type ArgoCDHelm

type ArgoCDHelm struct {

	// Images describes how specific image versions can be incorporated into an
	// Argo CD Application's Helm parameters.
	//
	// +kubebuilder:validation:MinItems=1
	Images []*ArgoCDHelmImageUpdate `protobuf:"bytes,1,rep,name=images" json:"images,omitempty"`
	// contains filtered or unexported fields
}

ArgoCDHelm describes updates to an Argo CD Application source's Helm-specific attributes to incorporate newly observed materials into an Environment.

func (*ArgoCDHelm) Descriptor deprecated

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

Deprecated: Use ArgoCDHelm.ProtoReflect.Descriptor instead.

func (*ArgoCDHelm) GetImages

func (x *ArgoCDHelm) GetImages() []*ArgoCDHelmImageUpdate

func (*ArgoCDHelm) ProtoMessage

func (*ArgoCDHelm) ProtoMessage()

func (*ArgoCDHelm) ProtoReflect

func (x *ArgoCDHelm) ProtoReflect() protoreflect.Message

func (*ArgoCDHelm) Reset

func (x *ArgoCDHelm) Reset()

func (*ArgoCDHelm) String

func (x *ArgoCDHelm) String() string

type ArgoCDHelmImageUpdate

type ArgoCDHelmImageUpdate struct {

	// Image specifies a container image (without tag). This is a required field.
	//
	// +kubebuilder:validation:MinLength=1
	Image *string `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"`
	// Key specifies a key within an Argo CD Application's Helm parameters that is
	// to be updated. This is a required field.
	//
	// +kubebuilder:validation:MinLength=1
	Key *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
	// Value specifies the new value for the specified key in the Argo CD
	// Application's Helm parameters. Valid values are "Image", which replaces the
	// value of the specified key with the entire <image name>:<tag>, or "Tag"
	// which replaces the value of the specified with just the new tag. This is a
	// required field.
	Value *string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

ArgoCDHelmImageUpdate describes how a specific image version can be incorporated into an Argo CD Application's Helm parameters.

func (*ArgoCDHelmImageUpdate) Descriptor deprecated

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

Deprecated: Use ArgoCDHelmImageUpdate.ProtoReflect.Descriptor instead.

func (*ArgoCDHelmImageUpdate) GetImage

func (x *ArgoCDHelmImageUpdate) GetImage() string

func (*ArgoCDHelmImageUpdate) GetKey

func (x *ArgoCDHelmImageUpdate) GetKey() string

func (*ArgoCDHelmImageUpdate) GetValue

func (x *ArgoCDHelmImageUpdate) GetValue() string

func (*ArgoCDHelmImageUpdate) ProtoMessage

func (*ArgoCDHelmImageUpdate) ProtoMessage()

func (*ArgoCDHelmImageUpdate) ProtoReflect

func (x *ArgoCDHelmImageUpdate) ProtoReflect() protoreflect.Message

func (*ArgoCDHelmImageUpdate) Reset

func (x *ArgoCDHelmImageUpdate) Reset()

func (*ArgoCDHelmImageUpdate) String

func (x *ArgoCDHelmImageUpdate) String() string

type ArgoCDKustomize

type ArgoCDKustomize struct {

	// Images describes how specific image versions can be incorporated into an
	// Argo CD Application's Kustomize parameters.
	//
	// +kubebuilder:validation:MinItems=1
	Images []string `protobuf:"bytes,1,rep,name=images" json:"images,omitempty"`
	// contains filtered or unexported fields
}

ArgoCDKustomize describes updates to an Argo CD Application source's Kustomize-specific attributes to incorporate newly observed materials into an Environment.

func (*ArgoCDKustomize) Descriptor deprecated

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

Deprecated: Use ArgoCDKustomize.ProtoReflect.Descriptor instead.

func (*ArgoCDKustomize) GetImages

func (x *ArgoCDKustomize) GetImages() []string

func (*ArgoCDKustomize) ProtoMessage

func (*ArgoCDKustomize) ProtoMessage()

func (*ArgoCDKustomize) ProtoReflect

func (x *ArgoCDKustomize) ProtoReflect() protoreflect.Message

func (*ArgoCDKustomize) Reset

func (x *ArgoCDKustomize) Reset()

func (*ArgoCDKustomize) String

func (x *ArgoCDKustomize) String() string

type ArgoCDSourceUpdate

type ArgoCDSourceUpdate struct {

	// RepoURL identifies which of the Argo CD Application's sources this update
	// is intended for. Note: As of Argo CD 2.6, Application's can use multiple
	// sources.
	//
	// +kubebuilder:validation:MinLength=1
	RepoURL *string `protobuf:"bytes,1,opt,name=repoURL" json:"repoURL,omitempty"`
	// Chart specifies a chart within a Helm chart registry if RepoURL points to a
	// Helm chart registry. Application sources that point directly at a chart do
	// so through a combination of their own RepoURL (registry) and Chart fields,
	// so BOTH of those are used as criteria in selecting an Application source to
	// update. This field MUST always be used when RepoURL points at a Helm chart
	// registry. This field MUST never be used when RepoURL points at a Git
	// repository.
	//
	// +kubebuilder:validation:Optional
	Chart *string `protobuf:"bytes,2,opt,name=chart" json:"chart,omitempty"`
	// UpdateTargetRevision is a bool indicating whether the source should be
	// updated such that its TargetRevision field points at the most recently git
	// commit (if RepoURL references a git repository) or chart version (if
	// RepoURL references a chart repository).
	UpdateTargetRevision *bool `protobuf:"varint,3,opt,name=updateTargetRevision" json:"updateTargetRevision,omitempty"`
	// Kustomize describes updates to the source's Kustomize-specific attributes.
	Kustomize *ArgoCDKustomize `protobuf:"bytes,4,opt,name=kustomize" json:"kustomize,omitempty"`
	// Helm describes updates to the source's Helm-specific attributes.
	Helm *ArgoCDHelm `protobuf:"bytes,5,opt,name=helm" json:"helm,omitempty"`
	// contains filtered or unexported fields
}

ArgoCDSourceUpdate describes updates that should be applied to one of an Argo CD Application resource's sources.

func (*ArgoCDSourceUpdate) Descriptor deprecated

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

Deprecated: Use ArgoCDSourceUpdate.ProtoReflect.Descriptor instead.

func (*ArgoCDSourceUpdate) GetChart

func (x *ArgoCDSourceUpdate) GetChart() string

func (*ArgoCDSourceUpdate) GetHelm

func (x *ArgoCDSourceUpdate) GetHelm() *ArgoCDHelm

func (*ArgoCDSourceUpdate) GetKustomize

func (x *ArgoCDSourceUpdate) GetKustomize() *ArgoCDKustomize

func (*ArgoCDSourceUpdate) GetRepoURL

func (x *ArgoCDSourceUpdate) GetRepoURL() string

func (*ArgoCDSourceUpdate) GetUpdateTargetRevision

func (x *ArgoCDSourceUpdate) GetUpdateTargetRevision() bool

func (*ArgoCDSourceUpdate) ProtoMessage

func (*ArgoCDSourceUpdate) ProtoMessage()

func (*ArgoCDSourceUpdate) ProtoReflect

func (x *ArgoCDSourceUpdate) ProtoReflect() protoreflect.Message

func (*ArgoCDSourceUpdate) Reset

func (x *ArgoCDSourceUpdate) Reset()

func (*ArgoCDSourceUpdate) String

func (x *ArgoCDSourceUpdate) String() string

type AuthorizedPromoter

type AuthorizedPromoter struct {

	// SubjectType identifies the type of subject being authorized to create
	// Promotion resources referencing a particular Environment.
	//
	// +kubebuilder:validation:Required
	SubjectType *string `protobuf:"bytes,1,opt,name=subjectType" json:"subjectType,omitempty"`
	// Name is the name of a subject authorized to create Promotion
	// resources referencing a particular Environment. This could be a username,
	// group name, ServiceAccount name, or Role name.
	//
	// +kubebuilder:validation:Required
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

AuthorizedPromoter identifies a single subject that is authorized to create Promotion resources referencing a particular Environment.

func (*AuthorizedPromoter) Descriptor deprecated

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

Deprecated: Use AuthorizedPromoter.ProtoReflect.Descriptor instead.

func (*AuthorizedPromoter) GetName

func (x *AuthorizedPromoter) GetName() string

func (*AuthorizedPromoter) GetSubjectType

func (x *AuthorizedPromoter) GetSubjectType() string

func (*AuthorizedPromoter) ProtoMessage

func (*AuthorizedPromoter) ProtoMessage()

func (*AuthorizedPromoter) ProtoReflect

func (x *AuthorizedPromoter) ProtoReflect() protoreflect.Message

func (*AuthorizedPromoter) Reset

func (x *AuthorizedPromoter) Reset()

func (*AuthorizedPromoter) String

func (x *AuthorizedPromoter) String() string

type BookkeeperPromotionMechanism

type BookkeeperPromotionMechanism struct {
	// contains filtered or unexported fields
}

BookkeeperPromotionMechanism describes how to use Bookkeeper to incorporate newly observed materials into an Environment.

func (*BookkeeperPromotionMechanism) Descriptor deprecated

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

Deprecated: Use BookkeeperPromotionMechanism.ProtoReflect.Descriptor instead.

func (*BookkeeperPromotionMechanism) ProtoMessage

func (*BookkeeperPromotionMechanism) ProtoMessage()

func (*BookkeeperPromotionMechanism) ProtoReflect

func (*BookkeeperPromotionMechanism) Reset

func (x *BookkeeperPromotionMechanism) Reset()

func (*BookkeeperPromotionMechanism) String

type Chart

type Chart struct {

	// RepoURL specifies the remote registry in which this chart is located.
	RegistryURL *string `protobuf:"bytes,1,opt,name=registryURL" json:"registryURL,omitempty"`
	// Name specifies the name of the chart.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// Version specifies a particular version of the chart.
	Version *string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Chart describes a specific version of a Helm chart.

func (*Chart) Descriptor deprecated

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

Deprecated: Use Chart.ProtoReflect.Descriptor instead.

func (*Chart) GetName

func (x *Chart) GetName() string

func (*Chart) GetRegistryURL

func (x *Chart) GetRegistryURL() string

func (*Chart) GetVersion

func (x *Chart) GetVersion() string

func (*Chart) ProtoMessage

func (*Chart) ProtoMessage()

func (*Chart) ProtoReflect

func (x *Chart) ProtoReflect() protoreflect.Message

func (*Chart) Reset

func (x *Chart) Reset()

func (*Chart) String

func (x *Chart) String() string

type ChartSubscription

type ChartSubscription struct {

	// RegistryURL specifies the URL of a Helm chart registry. It may be a classic
	// chart registry (using HTTP/S) OR an OCI registry. This field is required.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`^(((https?)|(oci))://)([\w\d\.]+)(:[\d]+)?(/.*)*$`
	RegistryURL *string `protobuf:"bytes,1,opt,name=registryURL" json:"registryURL,omitempty"`
	// Name specifies a Helm chart to subscribe to within the Helm chart registry
	// specified by the RegistryURL field. This field is required.
	//
	// +kubebuilder:validation:MinLength=1
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// SemverConstraint specifies constraints on what new chart versions are
	// permissible. This field is optional. When left unspecified, there will be
	// no constraints, which means the latest version of the chart will always be
	// used. Care should be taken with leaving this field unspecified, as it can
	// lead to the unanticipated rollout of breaking changes.
	//
	// +kubebuilder:validation:Optional
	SemverConstraint *string `protobuf:"bytes,3,opt,name=semverConstraint" json:"semverConstraint,omitempty"`
	// contains filtered or unexported fields
}

ChartSubscription defines a subscription to a Helm chart repository.

func (*ChartSubscription) Descriptor deprecated

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

Deprecated: Use ChartSubscription.ProtoReflect.Descriptor instead.

func (*ChartSubscription) GetName

func (x *ChartSubscription) GetName() string

func (*ChartSubscription) GetRegistryURL

func (x *ChartSubscription) GetRegistryURL() string

func (*ChartSubscription) GetSemverConstraint

func (x *ChartSubscription) GetSemverConstraint() string

func (*ChartSubscription) ProtoMessage

func (*ChartSubscription) ProtoMessage()

func (*ChartSubscription) ProtoReflect

func (x *ChartSubscription) ProtoReflect() protoreflect.Message

func (*ChartSubscription) Reset

func (x *ChartSubscription) Reset()

func (*ChartSubscription) String

func (x *ChartSubscription) String() string

type Environment

type Environment struct {
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Spec describes the sources of material used by the Environment and how
	// to incorporate newly observed materials into the Environment.
	//
	// +kubebuilder:validation:Required
	Spec *EnvironmentSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Status describes the most recently observed versions of this Environment's
	// sources of material as well as the environment's current and recent states.
	Status *EnvironmentStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Environment is the Kargo API's main type.

func (*Environment) Descriptor deprecated

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetMetadata

func (x *Environment) GetMetadata() *v1.ObjectMeta

func (*Environment) GetSpec

func (x *Environment) GetSpec() *EnvironmentSpec

func (*Environment) GetStatus

func (x *Environment) GetStatus() *EnvironmentStatus

func (*Environment) ProtoMessage

func (*Environment) ProtoMessage()

func (*Environment) ProtoReflect

func (x *Environment) ProtoReflect() protoreflect.Message

func (*Environment) Reset

func (x *Environment) Reset()

func (*Environment) String

func (x *Environment) String() string

type EnvironmentList

type EnvironmentList struct {
	Metadata *v1.ListMeta   `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	Items    []*Environment `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

EnvironmentList is a list of Environment resources.

func (*EnvironmentList) Descriptor deprecated

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

Deprecated: Use EnvironmentList.ProtoReflect.Descriptor instead.

func (*EnvironmentList) GetItems

func (x *EnvironmentList) GetItems() []*Environment

func (*EnvironmentList) GetMetadata

func (x *EnvironmentList) GetMetadata() *v1.ListMeta

func (*EnvironmentList) ProtoMessage

func (*EnvironmentList) ProtoMessage()

func (*EnvironmentList) ProtoReflect

func (x *EnvironmentList) ProtoReflect() protoreflect.Message

func (*EnvironmentList) Reset

func (x *EnvironmentList) Reset()

func (*EnvironmentList) String

func (x *EnvironmentList) String() string

type EnvironmentSpec

type EnvironmentSpec struct {

	// Subscriptions describes the Environment's sources of material. This is a
	// required field.
	//
	// +kubebuilder:validation:Required
	Subscriptions *Subscriptions `protobuf:"bytes,1,opt,name=subscriptions" json:"subscriptions,omitempty"`
	// PromotionMechanisms describes how to incorporate newly observed materials
	// into the Environment. This is a required field.
	//
	// +kubebuilder:validation:Required
	PromotionMechanisms *PromotionMechanisms `protobuf:"bytes,2,opt,name=promotionMechanisms" json:"promotionMechanisms,omitempty"`
	// contains filtered or unexported fields
}

EnvironmentSpec describes the sources of material used by an Environment and how to incorporate newly observed materials into the Environment.

func (*EnvironmentSpec) Descriptor deprecated

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

Deprecated: Use EnvironmentSpec.ProtoReflect.Descriptor instead.

func (*EnvironmentSpec) GetPromotionMechanisms

func (x *EnvironmentSpec) GetPromotionMechanisms() *PromotionMechanisms

func (*EnvironmentSpec) GetSubscriptions

func (x *EnvironmentSpec) GetSubscriptions() *Subscriptions

func (*EnvironmentSpec) ProtoMessage

func (*EnvironmentSpec) ProtoMessage()

func (*EnvironmentSpec) ProtoReflect

func (x *EnvironmentSpec) ProtoReflect() protoreflect.Message

func (*EnvironmentSpec) Reset

func (x *EnvironmentSpec) Reset()

func (*EnvironmentSpec) String

func (x *EnvironmentSpec) String() string

type EnvironmentState

type EnvironmentState struct {

	// ID is a unique, system-assigned identifier for this state.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// FirstSeen represents the date/time when this EnvironmentState first entered
	// the system. This is useful and important information because it enables the
	// controller to block auto-promotion of EnvironmentStates that are older than
	// an Environment's current state, which is a case that can arise if an
	// Environment has ROLLED BACK to an older state whilst a downstream
	// Environment is already on to a newer state.
	FirstSeen *v1.Time `protobuf:"bytes,2,opt,name=firstSeen" json:"firstSeen,omitempty"`
	// Provenance describes the proximate source of this EnvironmentState. i.e.
	// Did it come directly from upstream repositories? Or an upstream
	// environment.
	Provenance *string `protobuf:"bytes,3,opt,name=provenance" json:"provenance,omitempty"`
	// Commits describes specific Git repository commits that were used in this
	// state.
	Commits []*GitCommit `protobuf:"bytes,4,rep,name=commits" json:"commits,omitempty"`
	// Images describes container images and versions thereof that were used
	// in this state.
	Images []*Image `protobuf:"bytes,5,rep,name=images" json:"images,omitempty"`
	// Charts describes Helm charts that were used in this state.
	Charts []*Chart `protobuf:"bytes,6,rep,name=charts" json:"charts,omitempty"`
	// Health is the state's last observed health. If this state is the
	// Environment's current state, this will be continuously re-assessed and
	// updated. If this state is a past state of the Environment, this field will
	// denote the last observed health state before transitioning into a different
	// state.
	Health *Health `protobuf:"bytes,7,opt,name=health" json:"health,omitempty"`
	// contains filtered or unexported fields
}

EnvironmentState is a "bill of materials" describing what was deployed to an Environment.

func (*EnvironmentState) Descriptor deprecated

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

Deprecated: Use EnvironmentState.ProtoReflect.Descriptor instead.

func (*EnvironmentState) GetCharts

func (x *EnvironmentState) GetCharts() []*Chart

func (*EnvironmentState) GetCommits

func (x *EnvironmentState) GetCommits() []*GitCommit

func (*EnvironmentState) GetFirstSeen

func (x *EnvironmentState) GetFirstSeen() *v1.Time

func (*EnvironmentState) GetHealth

func (x *EnvironmentState) GetHealth() *Health

func (*EnvironmentState) GetId

func (x *EnvironmentState) GetId() string

func (*EnvironmentState) GetImages

func (x *EnvironmentState) GetImages() []*Image

func (*EnvironmentState) GetProvenance

func (x *EnvironmentState) GetProvenance() string

func (*EnvironmentState) ProtoMessage

func (*EnvironmentState) ProtoMessage()

func (*EnvironmentState) ProtoReflect

func (x *EnvironmentState) ProtoReflect() protoreflect.Message

func (*EnvironmentState) Reset

func (x *EnvironmentState) Reset()

func (*EnvironmentState) String

func (x *EnvironmentState) String() string

type EnvironmentStatus

type EnvironmentStatus struct {

	// AvailableStates is a stack of available Environment states, where each
	// state is essentially a "bill of materials" describing what can be
	// automatically or manually deployed to the Environment.
	AvailableStates []*EnvironmentState `protobuf:"bytes,1,rep,name=availableStates" json:"availableStates,omitempty"`
	// CurrentState is the Environment's current state -- a "bill of materials"
	// describing what is currently deployed to the Environment.
	CurrentState *EnvironmentState `protobuf:"bytes,2,opt,name=currentState" json:"currentState,omitempty"`
	// History is a stack of recent Environment states, where each state is
	// essentially a "bill of materials" describing what was deployed to the
	// Environment. By default, the last ten states are stored.
	History []*EnvironmentState `protobuf:"bytes,3,rep,name=history" json:"history,omitempty"`
	// Error describes any errors that are preventing the Environment controller
	// from assessing Environment health, polling repositories or upstream
	// environments to discover new states, or promoting the environment to a new
	// state.
	Error *string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

EnvironmentStatus describes the most recently observed versions of an Environment's sources of material as well as its current and recent states.

func (*EnvironmentStatus) Descriptor deprecated

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

Deprecated: Use EnvironmentStatus.ProtoReflect.Descriptor instead.

func (*EnvironmentStatus) GetAvailableStates

func (x *EnvironmentStatus) GetAvailableStates() []*EnvironmentState

func (*EnvironmentStatus) GetCurrentState

func (x *EnvironmentStatus) GetCurrentState() *EnvironmentState

func (*EnvironmentStatus) GetError

func (x *EnvironmentStatus) GetError() string

func (*EnvironmentStatus) GetHistory

func (x *EnvironmentStatus) GetHistory() []*EnvironmentState

func (*EnvironmentStatus) ProtoMessage

func (*EnvironmentStatus) ProtoMessage()

func (*EnvironmentStatus) ProtoReflect

func (x *EnvironmentStatus) ProtoReflect() protoreflect.Message

func (*EnvironmentStatus) Reset

func (x *EnvironmentStatus) Reset()

func (*EnvironmentStatus) String

func (x *EnvironmentStatus) String() string

type EnvironmentSubscription

type EnvironmentSubscription struct {

	// Name specifies the name of an Environment.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Namespace specifies the namespace of the Environment. If left unspecified,
	// the namespace of the upstream repository will be defaulted to that of this
	// Environment.
	//
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
	Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

EnvironmentSubscription defines a subscription to states from another Environment.

func (*EnvironmentSubscription) Descriptor deprecated

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

Deprecated: Use EnvironmentSubscription.ProtoReflect.Descriptor instead.

func (*EnvironmentSubscription) GetName

func (x *EnvironmentSubscription) GetName() string

func (*EnvironmentSubscription) GetNamespace

func (x *EnvironmentSubscription) GetNamespace() string

func (*EnvironmentSubscription) ProtoMessage

func (*EnvironmentSubscription) ProtoMessage()

func (*EnvironmentSubscription) ProtoReflect

func (x *EnvironmentSubscription) ProtoReflect() protoreflect.Message

func (*EnvironmentSubscription) Reset

func (x *EnvironmentSubscription) Reset()

func (*EnvironmentSubscription) String

func (x *EnvironmentSubscription) String() string

type GitCommit

type GitCommit struct {

	// RepoURL is the URL of a Git repository.
	RepoURL *string `protobuf:"bytes,1,opt,name=repoURL" json:"repoURL,omitempty"`
	// ID is the ID of a specific commit in the Git repository specified by
	// RepoURL.
	Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
	// Branch denotes the branch of the repository where this commit was found.
	Branch *string `protobuf:"bytes,3,opt,name=branch" json:"branch,omitempty"`
	// HealthCheckCommit is the ID of a specific commit. When specified,
	// assessments of Environment health will used this value (instead of ID) when
	// determining if applicable sources of Argo CD Application resources
	// associated with the environment are or are not synced to this commit. Note
	// that there are cases (as in that of Bookkeeper being utilized as a
	// promotion mechanism) wherein the value of this field may differ from the
	// commit ID found in the ID field.
	HealthCheckCommit *string `protobuf:"bytes,4,opt,name=healthCheckCommit" json:"healthCheckCommit,omitempty"`
	// contains filtered or unexported fields
}

GitCommit describes a specific commit from a specific Git repository.

func (*GitCommit) Descriptor deprecated

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

Deprecated: Use GitCommit.ProtoReflect.Descriptor instead.

func (*GitCommit) GetBranch

func (x *GitCommit) GetBranch() string

func (*GitCommit) GetHealthCheckCommit

func (x *GitCommit) GetHealthCheckCommit() string

func (*GitCommit) GetId

func (x *GitCommit) GetId() string

func (*GitCommit) GetRepoURL

func (x *GitCommit) GetRepoURL() string

func (*GitCommit) ProtoMessage

func (*GitCommit) ProtoMessage()

func (*GitCommit) ProtoReflect

func (x *GitCommit) ProtoReflect() protoreflect.Message

func (*GitCommit) Reset

func (x *GitCommit) Reset()

func (*GitCommit) String

func (x *GitCommit) String() string

type GitRepoUpdate

type GitRepoUpdate struct {

	// RepoURL is the URL of the repository to update. This is a required field.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`^((https?://)|([\w-]+@))([\w\d\.]+)(:[\d]+)?/(.*)$`
	RepoURL *string `protobuf:"bytes,1,opt,name=repoURL" json:"repoURL,omitempty"`
	// ReadBranch specifies a particular branch of the repository from which to
	// locate contents that will be written to the branch specified by the
	// WriteBranch field. This field is optional. In cases where an
	// EnvironmentState includes a GitCommit, that commit's ID will supersede the
	// value of this field. Therefore, in practice, this field is only used to
	// clarify what branch of a repository can be treated as a source of manifests
	// or other configuration when an Environment has no subscription to that
	// repository.
	//
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Pattern=`^(\w+([-/]\w+)*)?$`
	ReadBranch *string `protobuf:"bytes,2,opt,name=readBranch" json:"readBranch,omitempty"`
	// WriteBranch specifies the particular branch of the repository to be
	// updated. This is a required field.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`^\w+([-/]\w+)*$`
	WriteBranch *string `protobuf:"bytes,3,opt,name=writeBranch" json:"writeBranch,omitempty"`
	// Bookkeeper describes how to use Bookkeeper to incorporate newly observed
	// materials into the Environment. This is mutually exclusive with the
	// Kustomize and Helm fields.
	Bookkeeper *BookkeeperPromotionMechanism `protobuf:"bytes,4,opt,name=bookkeeper" json:"bookkeeper,omitempty"`
	// Kustomize describes how to use Kustomize to incorporate newly observed
	// materials into the Environment. This is mutually exclusive with the
	// Bookkeeper and Helm fields.
	Kustomize *KustomizePromotionMechanism `protobuf:"bytes,5,opt,name=kustomize" json:"kustomize,omitempty"`
	// Helm describes how to use Helm to incorporate newly observed materials into
	// the Environment. This is mutually exclusive with the Bookkeeper and
	// Kustomize fields.
	Helm *HelmPromotionMechanism `protobuf:"bytes,6,opt,name=helm" json:"helm,omitempty"`
	// contains filtered or unexported fields
}

GitRepoUpdate describes updates that should be applied to a Git repository (using various configuration management tools) to incorporate newly observed materials into an Environment.

func (*GitRepoUpdate) Descriptor deprecated

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

Deprecated: Use GitRepoUpdate.ProtoReflect.Descriptor instead.

func (*GitRepoUpdate) GetBookkeeper

func (x *GitRepoUpdate) GetBookkeeper() *BookkeeperPromotionMechanism

func (*GitRepoUpdate) GetHelm

func (x *GitRepoUpdate) GetHelm() *HelmPromotionMechanism

func (*GitRepoUpdate) GetKustomize

func (x *GitRepoUpdate) GetKustomize() *KustomizePromotionMechanism

func (*GitRepoUpdate) GetReadBranch

func (x *GitRepoUpdate) GetReadBranch() string

func (*GitRepoUpdate) GetRepoURL

func (x *GitRepoUpdate) GetRepoURL() string

func (*GitRepoUpdate) GetWriteBranch

func (x *GitRepoUpdate) GetWriteBranch() string

func (*GitRepoUpdate) ProtoMessage

func (*GitRepoUpdate) ProtoMessage()

func (*GitRepoUpdate) ProtoReflect

func (x *GitRepoUpdate) ProtoReflect() protoreflect.Message

func (*GitRepoUpdate) Reset

func (x *GitRepoUpdate) Reset()

func (*GitRepoUpdate) String

func (x *GitRepoUpdate) String() string

type GitSubscription

type GitSubscription struct {

	// URL is the repository's URL. This is a required field.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`^((https?://)|([\w-]+@))([\w\d\.]+)(:[\d]+)?/(.*)$`
	RepoURL *string `protobuf:"bytes,1,opt,name=repoURL" json:"repoURL,omitempty"`
	// Branch references a particular branch of the repository. This is a required
	// field.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`^\w+([-/]\w+)*$`
	Branch *string `protobuf:"bytes,2,opt,name=branch" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

GitSubscription defines a subscription to a Git repository.

func (*GitSubscription) Descriptor deprecated

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

Deprecated: Use GitSubscription.ProtoReflect.Descriptor instead.

func (*GitSubscription) GetBranch

func (x *GitSubscription) GetBranch() string

func (*GitSubscription) GetRepoURL

func (x *GitSubscription) GetRepoURL() string

func (*GitSubscription) ProtoMessage

func (*GitSubscription) ProtoMessage()

func (*GitSubscription) ProtoReflect

func (x *GitSubscription) ProtoReflect() protoreflect.Message

func (*GitSubscription) Reset

func (x *GitSubscription) Reset()

func (*GitSubscription) String

func (x *GitSubscription) String() string

type Health

type Health struct {

	// Status describes the health of the Environment.
	Status *string `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
	// Issues clarifies why an Environment in any state other than Healthy is in
	// that state. This field will always be the empty when an Environment is
	// Healthy.
	Issues []string `protobuf:"bytes,2,rep,name=issues" json:"issues,omitempty"`
	// contains filtered or unexported fields
}

Health describes the health of an Environment.

func (*Health) Descriptor deprecated

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

Deprecated: Use Health.ProtoReflect.Descriptor instead.

func (*Health) GetIssues

func (x *Health) GetIssues() []string

func (*Health) GetStatus

func (x *Health) GetStatus() string

func (*Health) ProtoMessage

func (*Health) ProtoMessage()

func (*Health) ProtoReflect

func (x *Health) ProtoReflect() protoreflect.Message

func (*Health) Reset

func (x *Health) Reset()

func (*Health) String

func (x *Health) String() string

type HelmChartDependencyUpdate

type HelmChartDependencyUpdate struct {

	// RegistryURL along with Name identify a subchart of the umbrella chart at
	// ChartPath whose version should be updated.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`^(((https?)|(oci))://)([\w\d\.]+)(:[\d]+)?(/.*)*$`
	RegistryURL *string `protobuf:"bytes,1,opt,name=registryURL" json:"registryURL,omitempty"`
	// Name along with RegistryURL identify a subchart of the umbrella chart at
	// ChartPath whose version should be updated.
	//
	// +kubebuilder:validation:MinLength=1
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// ChartPath is the path to an umbrella chart.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=^[\w-\.]+(/[\w-\.]+)*$
	ChartPath *string `protobuf:"bytes,3,opt,name=chartPath" json:"chartPath,omitempty"`
	// contains filtered or unexported fields
}

HelmChartDependencyUpdate describes how a specific Helm chart that is used as a subchart of an umbrella chart can be updated.

func (*HelmChartDependencyUpdate) Descriptor deprecated

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

Deprecated: Use HelmChartDependencyUpdate.ProtoReflect.Descriptor instead.

func (*HelmChartDependencyUpdate) GetChartPath

func (x *HelmChartDependencyUpdate) GetChartPath() string

func (*HelmChartDependencyUpdate) GetName

func (x *HelmChartDependencyUpdate) GetName() string

func (*HelmChartDependencyUpdate) GetRegistryURL

func (x *HelmChartDependencyUpdate) GetRegistryURL() string

func (*HelmChartDependencyUpdate) ProtoMessage

func (*HelmChartDependencyUpdate) ProtoMessage()

func (*HelmChartDependencyUpdate) ProtoReflect

func (*HelmChartDependencyUpdate) Reset

func (x *HelmChartDependencyUpdate) Reset()

func (*HelmChartDependencyUpdate) String

func (x *HelmChartDependencyUpdate) String() string

type HelmImageUpdate

type HelmImageUpdate struct {

	// Image specifies a container image (without tag). This is a required field.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`^(([\w\d\.]+)(:[\d]+)?/)?[a-z0-9]+(/[a-z0-9]+)*$`
	Image *string `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"`
	// ValuesFilePath specifies a path to the Helm values file that is to be
	// updated. This is a required field.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=^[\w-\.]+(/[\w-\.]+)*$
	ValuesFilePath *string `protobuf:"bytes,2,opt,name=valuesFilePath" json:"valuesFilePath,omitempty"`
	// Key specifies a key within the Helm values file that is to be updated. This
	// is a required field.
	//
	// +kubebuilder:validation:MinLength=1
	Key *string `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"`
	// Value specifies the new value for the specified key in the specified Helm
	// values file. Valid values are "Image", which replaces the value of the
	// specified key with the entire <image name>:<tag>, or "Tag" which replaces
	// the value of the specified with just the new tag. This is a required field.
	Value *string `protobuf:"bytes,4,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

HelmImageUpdate describes how a specific image version can be incorporated into a specific Helm values file.

func (*HelmImageUpdate) Descriptor deprecated

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

Deprecated: Use HelmImageUpdate.ProtoReflect.Descriptor instead.

func (*HelmImageUpdate) GetImage

func (x *HelmImageUpdate) GetImage() string

func (*HelmImageUpdate) GetKey

func (x *HelmImageUpdate) GetKey() string

func (*HelmImageUpdate) GetValue

func (x *HelmImageUpdate) GetValue() string

func (*HelmImageUpdate) GetValuesFilePath

func (x *HelmImageUpdate) GetValuesFilePath() string

func (*HelmImageUpdate) ProtoMessage

func (*HelmImageUpdate) ProtoMessage()

func (*HelmImageUpdate) ProtoReflect

func (x *HelmImageUpdate) ProtoReflect() protoreflect.Message

func (*HelmImageUpdate) Reset

func (x *HelmImageUpdate) Reset()

func (*HelmImageUpdate) String

func (x *HelmImageUpdate) String() string

type HelmPromotionMechanism

type HelmPromotionMechanism struct {

	// Images describes how specific image versions can be incorporated into Helm
	// values files.
	Images []*HelmImageUpdate `protobuf:"bytes,1,rep,name=images" json:"images,omitempty"`
	// Charts describes how specific chart versions can be incorporated into an
	// umbrella chart.
	Charts []*HelmChartDependencyUpdate `protobuf:"bytes,2,rep,name=charts" json:"charts,omitempty"`
	// contains filtered or unexported fields
}

HelmPromotionMechanism describes how to use Helm to incorporate newly observed materials into an Environment.

func (*HelmPromotionMechanism) Descriptor deprecated

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

Deprecated: Use HelmPromotionMechanism.ProtoReflect.Descriptor instead.

func (*HelmPromotionMechanism) GetCharts

func (*HelmPromotionMechanism) GetImages

func (x *HelmPromotionMechanism) GetImages() []*HelmImageUpdate

func (*HelmPromotionMechanism) ProtoMessage

func (*HelmPromotionMechanism) ProtoMessage()

func (*HelmPromotionMechanism) ProtoReflect

func (x *HelmPromotionMechanism) ProtoReflect() protoreflect.Message

func (*HelmPromotionMechanism) Reset

func (x *HelmPromotionMechanism) Reset()

func (*HelmPromotionMechanism) String

func (x *HelmPromotionMechanism) String() string

type Image

type Image struct {

	// RepoURL describes the repository in which the image can be found.
	RepoURL *string `protobuf:"bytes,1,opt,name=repoURL" json:"repoURL,omitempty"`
	// Tag identifies a specific version of the image in the repository specified
	// by RepoURL.
	Tag *string `protobuf:"bytes,2,opt,name=tag" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

Image describes a specific version of a container image.

func (*Image) Descriptor deprecated

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

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetRepoURL

func (x *Image) GetRepoURL() string

func (*Image) GetTag

func (x *Image) GetTag() string

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

func (x *Image) ProtoReflect() protoreflect.Message

func (*Image) Reset

func (x *Image) Reset()

func (*Image) String

func (x *Image) String() string

type ImageSubscription

type ImageSubscription struct {

	// RepoURL specifies the URL of the image repository to subscribe to. The
	// value in this field MUST NOT include an image tag. This field is required.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`^(([\w\d\.]+)(:[\d]+)?/)?[a-z0-9]+(/[a-z0-9]+)*$`
	RepoURL *string `protobuf:"bytes,1,opt,name=repoURL" json:"repoURL,omitempty"`
	// UpdateStrategy specifies the rules for how to identify the newest version
	// of the image specified by the RepoURL field. This field is optional. When
	// left unspecified, the field is implicitly treated as if its value were
	// "SemVer".
	//
	// +kubebuilder:default=SemVer
	UpdateStrategy *string `protobuf:"bytes,2,opt,name=updateStrategy" json:"updateStrategy,omitempty"`
	// SemverConstraint specifies constraints on what new image versions are
	// permissible. This value in this field only has any effect when the
	// UpdateStrategy is SemVer or left unspecified (which is implicitly the same
	// as SemVer). This field is also optional. When left unspecified, (and the
	// UpdateStrategy is SemVer or unspecified), there will be no constraints,
	// which means the latest semantically tagged version of an image will always
	// be used. Care should be taken with leaving this field unspecified, as it
	// can lead to the unanticipated rollout of breaking changes. Refer to Image
	// Updater documentation for more details.
	//
	// +kubebuilder:validation:Optional
	SemverConstraint *string `protobuf:"bytes,3,opt,name=semverConstraint" json:"semverConstraint,omitempty"`
	// AllowTags is a regular expression that can optionally be used to limit the
	// image tags that are considered in determining the newest version of an
	// image. This field is optional.
	//
	// +kubebuilder:validation:Optional
	AllowTags *string `protobuf:"bytes,4,opt,name=allowTags" json:"allowTags,omitempty"`
	// IgnoreTags is a list of tags that must be ignored when determining the
	// newest version of an image. No regular expressions or glob patterns are
	// supported yet. This field is optional.
	//
	// +kubebuilder:validation:Optional
	IgnoreTags []string `protobuf:"bytes,5,rep,name=ignoreTags" json:"ignoreTags,omitempty"`
	// Platform is a string of the form <os>/<arch> that limits the tags that can
	// be considered when searching for new versions of an image. This field is
	// optional. When left unspecified, it is implicitly equivalent to the
	// OS/architecture of the Kargo controller. Care should be taken to set this
	// value correctly in cases where the image referenced by this
	// ImageRepositorySubscription will run on a Kubernetes node with a different
	// OS/architecture than the Kargo controller. At present this is uncommon, but
	// not unheard of.
	//
	// +kubebuilder:validation:Optional
	Platform *string `protobuf:"bytes,6,opt,name=platform" json:"platform,omitempty"`
	// contains filtered or unexported fields
}

ImageSubscription defines a subscription to an image repository.

func (*ImageSubscription) Descriptor deprecated

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

Deprecated: Use ImageSubscription.ProtoReflect.Descriptor instead.

func (*ImageSubscription) GetAllowTags

func (x *ImageSubscription) GetAllowTags() string

func (*ImageSubscription) GetIgnoreTags

func (x *ImageSubscription) GetIgnoreTags() []string

func (*ImageSubscription) GetPlatform

func (x *ImageSubscription) GetPlatform() string

func (*ImageSubscription) GetRepoURL

func (x *ImageSubscription) GetRepoURL() string

func (*ImageSubscription) GetSemverConstraint

func (x *ImageSubscription) GetSemverConstraint() string

func (*ImageSubscription) GetUpdateStrategy

func (x *ImageSubscription) GetUpdateStrategy() string

func (*ImageSubscription) ProtoMessage

func (*ImageSubscription) ProtoMessage()

func (*ImageSubscription) ProtoReflect

func (x *ImageSubscription) ProtoReflect() protoreflect.Message

func (*ImageSubscription) Reset

func (x *ImageSubscription) Reset()

func (*ImageSubscription) String

func (x *ImageSubscription) String() string

type KustomizeImageUpdate

type KustomizeImageUpdate struct {

	// Image specifies a container image (without tag). This is a required field.
	//
	// +kubebuilder:validation:MinLength=1
	Image *string `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"`
	// Path specifies a path in which the `kustomize edit set image` command
	// should be executed. This is a required field.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=^[\w-\.]+(/[\w-\.]+)*$
	Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	// contains filtered or unexported fields
}

KustomizeImageUpdate describes how to run `kustomize edit set image` for a given image.

func (*KustomizeImageUpdate) Descriptor deprecated

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

Deprecated: Use KustomizeImageUpdate.ProtoReflect.Descriptor instead.

func (*KustomizeImageUpdate) GetImage

func (x *KustomizeImageUpdate) GetImage() string

func (*KustomizeImageUpdate) GetPath

func (x *KustomizeImageUpdate) GetPath() string

func (*KustomizeImageUpdate) ProtoMessage

func (*KustomizeImageUpdate) ProtoMessage()

func (*KustomizeImageUpdate) ProtoReflect

func (x *KustomizeImageUpdate) ProtoReflect() protoreflect.Message

func (*KustomizeImageUpdate) Reset

func (x *KustomizeImageUpdate) Reset()

func (*KustomizeImageUpdate) String

func (x *KustomizeImageUpdate) String() string

type KustomizePromotionMechanism

type KustomizePromotionMechanism struct {

	// Images describes images for which `kustomize edit set image` should be
	// executed and the paths in which those commands should be executed.
	//
	// +kubebuilder:validation:MinItems=1
	Images []*KustomizeImageUpdate `protobuf:"bytes,1,rep,name=images" json:"images,omitempty"`
	// contains filtered or unexported fields
}

KustomizePromotionMechanism describes how to use Kustomize to incorporate newly observed materials into an Environment.

func (*KustomizePromotionMechanism) Descriptor deprecated

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

Deprecated: Use KustomizePromotionMechanism.ProtoReflect.Descriptor instead.

func (*KustomizePromotionMechanism) GetImages

func (*KustomizePromotionMechanism) ProtoMessage

func (*KustomizePromotionMechanism) ProtoMessage()

func (*KustomizePromotionMechanism) ProtoReflect

func (*KustomizePromotionMechanism) Reset

func (x *KustomizePromotionMechanism) Reset()

func (*KustomizePromotionMechanism) String

func (x *KustomizePromotionMechanism) String() string

type Promotion

type Promotion struct {
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Spec describes the desired transition of a specific Environment into a
	// specific EnvironmentState.
	//
	// +kubebuilder:validation:Required
	Spec *PromotionSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Status describes the current state of the transition represented by this
	// Promotion.
	Status *PromotionStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Promotion represents a request to transition a particular Environment into a particular state.

func (*Promotion) Descriptor deprecated

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

Deprecated: Use Promotion.ProtoReflect.Descriptor instead.

func (*Promotion) GetMetadata

func (x *Promotion) GetMetadata() *v1.ObjectMeta

func (*Promotion) GetSpec

func (x *Promotion) GetSpec() *PromotionSpec

func (*Promotion) GetStatus

func (x *Promotion) GetStatus() *PromotionStatus

func (*Promotion) ProtoMessage

func (*Promotion) ProtoMessage()

func (*Promotion) ProtoReflect

func (x *Promotion) ProtoReflect() protoreflect.Message

func (*Promotion) Reset

func (x *Promotion) Reset()

func (*Promotion) String

func (x *Promotion) String() string

type PromotionList

type PromotionList struct {
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	Items    []*Promotion `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

PromotionList contains a list of Promotion

func (*PromotionList) Descriptor deprecated

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

Deprecated: Use PromotionList.ProtoReflect.Descriptor instead.

func (*PromotionList) GetItems

func (x *PromotionList) GetItems() []*Promotion

func (*PromotionList) GetMetadata

func (x *PromotionList) GetMetadata() *v1.ListMeta

func (*PromotionList) ProtoMessage

func (*PromotionList) ProtoMessage()

func (*PromotionList) ProtoReflect

func (x *PromotionList) ProtoReflect() protoreflect.Message

func (*PromotionList) Reset

func (x *PromotionList) Reset()

func (*PromotionList) String

func (x *PromotionList) String() string

type PromotionMechanisms

type PromotionMechanisms struct {

	// GitRepoUpdates describes updates that should be applied to Git repositories
	// to incorporate newly observed materials into the Environment. This field is
	// optional, as such actions are not required in all cases.
	GitRepoUpdates []*GitRepoUpdate `protobuf:"bytes,1,rep,name=gitRepoUpdates" json:"gitRepoUpdates,omitempty"`
	// ArgoCDAppUpdates describes updates that should be applied to Argo CD
	// Application resources to incorporate newly observed materials into the
	// Environment. This field is optional, as such actions are not required in
	// all cases. Note that all updates specified by the GitRepoUpdates field, if
	// any, are applied BEFORE these.
	ArgoCDAppUpdates []*ArgoCDAppUpdate `protobuf:"bytes,2,rep,name=argoCDAppUpdates" json:"argoCDAppUpdates,omitempty"`
	// contains filtered or unexported fields
}

PromotionMechanisms describes how to incorporate newly observed materials into an Environment.

func (*PromotionMechanisms) Descriptor deprecated

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

Deprecated: Use PromotionMechanisms.ProtoReflect.Descriptor instead.

func (*PromotionMechanisms) GetArgoCDAppUpdates

func (x *PromotionMechanisms) GetArgoCDAppUpdates() []*ArgoCDAppUpdate

func (*PromotionMechanisms) GetGitRepoUpdates

func (x *PromotionMechanisms) GetGitRepoUpdates() []*GitRepoUpdate

func (*PromotionMechanisms) ProtoMessage

func (*PromotionMechanisms) ProtoMessage()

func (*PromotionMechanisms) ProtoReflect

func (x *PromotionMechanisms) ProtoReflect() protoreflect.Message

func (*PromotionMechanisms) Reset

func (x *PromotionMechanisms) Reset()

func (*PromotionMechanisms) String

func (x *PromotionMechanisms) String() string

type PromotionPolicy

type PromotionPolicy struct {
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Environment references an Environment in the same namespace as this
	// PromotionPolicy to which this PromotionPolicy applies.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
	Environment *string `protobuf:"bytes,2,opt,name=environment" json:"environment,omitempty"`
	// AuthorizedPromoters enumerates subjects (such as users, groups,
	// ServiceAccounts, or RBAC Roles) that are authorized to create Promotions
	// for the Environment referenced by the Environment field.
	AuthorizedPromoters []*AuthorizedPromoter `protobuf:"bytes,3,rep,name=authorizedPromoters" json:"authorizedPromoters,omitempty"`
	// EnableAutoPromotion indicates whether new EnvironmentStates can
	// automatically be promoted into the Environment referenced by the
	// Environment field. Note: There are other conditions also required for an
	// auto-promotion to occur. Specifically, there must be a single source of new
	// EnvironmentStates, so regardless of the value of this field, an
	// auto-promotion could never occur for an Environment subscribed to MULTIPLE
	// upstream environments. This field defaults to false, but is commonly set to
	// true for Environments that subscribe to repositories instead of other,
	// upstream Environments. This allows users to define Environments that are
	// automatically updated as soon as new materials are detected.
	EnableAutoPromotion *bool `protobuf:"varint,4,opt,name=enableAutoPromotion" json:"enableAutoPromotion,omitempty"`
	// contains filtered or unexported fields
}

PromotionPolicy provides fine-grained access control beyond what Kubernetes RBAC is capable of. A PromotionPolicy names an Environment and enumerates subjects (such as users, groups, ServiceAccounts, or RBAC Roles) that are authorized to create Promotions for that Environment. It is through PromotionPolicies that multiple users may be permitted to create Promotion resources in a given namespace, but creation of Promotion resources for specific Environments may be restricted.

func (*PromotionPolicy) Descriptor deprecated

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

Deprecated: Use PromotionPolicy.ProtoReflect.Descriptor instead.

func (*PromotionPolicy) GetAuthorizedPromoters

func (x *PromotionPolicy) GetAuthorizedPromoters() []*AuthorizedPromoter

func (*PromotionPolicy) GetEnableAutoPromotion

func (x *PromotionPolicy) GetEnableAutoPromotion() bool

func (*PromotionPolicy) GetEnvironment

func (x *PromotionPolicy) GetEnvironment() string

func (*PromotionPolicy) GetMetadata

func (x *PromotionPolicy) GetMetadata() *v1.ObjectMeta

func (*PromotionPolicy) ProtoMessage

func (*PromotionPolicy) ProtoMessage()

func (*PromotionPolicy) ProtoReflect

func (x *PromotionPolicy) ProtoReflect() protoreflect.Message

func (*PromotionPolicy) Reset

func (x *PromotionPolicy) Reset()

func (*PromotionPolicy) String

func (x *PromotionPolicy) String() string

type PromotionPolicyList

type PromotionPolicyList struct {
	Metadata *v1.ListMeta       `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	Items    []*PromotionPolicy `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

PromotionPolicyList contains a list of PromotionPolicies

func (*PromotionPolicyList) Descriptor deprecated

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

Deprecated: Use PromotionPolicyList.ProtoReflect.Descriptor instead.

func (*PromotionPolicyList) GetItems

func (x *PromotionPolicyList) GetItems() []*PromotionPolicy

func (*PromotionPolicyList) GetMetadata

func (x *PromotionPolicyList) GetMetadata() *v1.ListMeta

func (*PromotionPolicyList) ProtoMessage

func (*PromotionPolicyList) ProtoMessage()

func (*PromotionPolicyList) ProtoReflect

func (x *PromotionPolicyList) ProtoReflect() protoreflect.Message

func (*PromotionPolicyList) Reset

func (x *PromotionPolicyList) Reset()

func (*PromotionPolicyList) String

func (x *PromotionPolicyList) String() string

type PromotionSpec

type PromotionSpec struct {

	// Environment specifies the name of the Environment to which this Promotion
	// applies. The Environment referenced by this field MUST be in the same
	// namespace as the Promotion.
	//
	// TODO: Use a webhook to make this immutable
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
	Environment *string `protobuf:"bytes,1,opt,name=environment" json:"environment,omitempty"`
	// State specifies the specific EnvironmentState into which the Environment
	// referenced by the Environment field should be transitioned. The State MUST
	// be among the Environment's Status.AvailableStates or the Promotion will
	// ultimately fail.
	//
	// TODO: Use a webhook to make this immutable
	//
	// +kubebuilder:validation:MinLength=1
	State *string `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
	// contains filtered or unexported fields
}

PromotionSpec describes the desired transition of a specific Environment into a specific EnvironmentState.

func (*PromotionSpec) Descriptor deprecated

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

Deprecated: Use PromotionSpec.ProtoReflect.Descriptor instead.

func (*PromotionSpec) GetEnvironment

func (x *PromotionSpec) GetEnvironment() string

func (*PromotionSpec) GetState

func (x *PromotionSpec) GetState() string

func (*PromotionSpec) ProtoMessage

func (*PromotionSpec) ProtoMessage()

func (*PromotionSpec) ProtoReflect

func (x *PromotionSpec) ProtoReflect() protoreflect.Message

func (*PromotionSpec) Reset

func (x *PromotionSpec) Reset()

func (*PromotionSpec) String

func (x *PromotionSpec) String() string

type PromotionStatus

type PromotionStatus struct {

	// Phase describes where the Promotion currently is in its lifecycle.
	Phase *string `protobuf:"bytes,1,opt,name=phase" json:"phase,omitempty"`
	// Error describes any errors that are preventing the Promotion controller
	// from executing this Promotion. i.e. If the Phase field has a value of
	// Failed, this field can be expected to explain why.
	Error *string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

PromotionStatus describes the current state of the transition represented by a Promotion.

func (*PromotionStatus) Descriptor deprecated

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

Deprecated: Use PromotionStatus.ProtoReflect.Descriptor instead.

func (*PromotionStatus) GetError

func (x *PromotionStatus) GetError() string

func (*PromotionStatus) GetPhase

func (x *PromotionStatus) GetPhase() string

func (*PromotionStatus) ProtoMessage

func (*PromotionStatus) ProtoMessage()

func (*PromotionStatus) ProtoReflect

func (x *PromotionStatus) ProtoReflect() protoreflect.Message

func (*PromotionStatus) Reset

func (x *PromotionStatus) Reset()

func (*PromotionStatus) String

func (x *PromotionStatus) String() string

type RepoSubscriptions

type RepoSubscriptions struct {

	// Git describes subscriptions to Git repositories.
	Git []*GitSubscription `protobuf:"bytes,1,rep,name=git" json:"git,omitempty"`
	// Images describes subscriptions to container image repositories.
	Images []*ImageSubscription `protobuf:"bytes,2,rep,name=images" json:"images,omitempty"`
	// Charts describes subscriptions to Helm charts.
	Charts []*ChartSubscription `protobuf:"bytes,3,rep,name=charts" json:"charts,omitempty"`
	// contains filtered or unexported fields
}

RepoSubscriptions describes various sorts of repositories an Environment uses as sources of material.

func (*RepoSubscriptions) Descriptor deprecated

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

Deprecated: Use RepoSubscriptions.ProtoReflect.Descriptor instead.

func (*RepoSubscriptions) GetCharts

func (x *RepoSubscriptions) GetCharts() []*ChartSubscription

func (*RepoSubscriptions) GetGit

func (x *RepoSubscriptions) GetGit() []*GitSubscription

func (*RepoSubscriptions) GetImages

func (x *RepoSubscriptions) GetImages() []*ImageSubscription

func (*RepoSubscriptions) ProtoMessage

func (*RepoSubscriptions) ProtoMessage()

func (*RepoSubscriptions) ProtoReflect

func (x *RepoSubscriptions) ProtoReflect() protoreflect.Message

func (*RepoSubscriptions) Reset

func (x *RepoSubscriptions) Reset()

func (*RepoSubscriptions) String

func (x *RepoSubscriptions) String() string

type Subscriptions

type Subscriptions struct {

	// Repos describes various sorts of repositories an Environment uses as
	// sources of material. This field is mutually exclusive with the UpstreamEnvs
	// field.
	Repos *RepoSubscriptions `protobuf:"bytes,1,opt,name=repos" json:"repos,omitempty"`
	// UpstreamEnvs identifies other environments as potential sources of material
	// for the Environment. This field is mutually exclusive with the Repos field.
	UpstreamEnvs []*EnvironmentSubscription `protobuf:"bytes,2,rep,name=upstreamEnvs" json:"upstreamEnvs,omitempty"`
	// contains filtered or unexported fields
}

Subscriptions describes an Environment's sources of material.

func (*Subscriptions) Descriptor deprecated

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

Deprecated: Use Subscriptions.ProtoReflect.Descriptor instead.

func (*Subscriptions) GetRepos

func (x *Subscriptions) GetRepos() *RepoSubscriptions

func (*Subscriptions) GetUpstreamEnvs

func (x *Subscriptions) GetUpstreamEnvs() []*EnvironmentSubscription

func (*Subscriptions) ProtoMessage

func (*Subscriptions) ProtoMessage()

func (*Subscriptions) ProtoReflect

func (x *Subscriptions) ProtoReflect() protoreflect.Message

func (*Subscriptions) Reset

func (x *Subscriptions) Reset()

func (*Subscriptions) String

func (x *Subscriptions) String() string

Jump to

Keyboard shortcuts

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