Documentation ¶
Index ¶
- Variables
- type ArgoCDAppUpdate
- func (*ArgoCDAppUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ArgoCDAppUpdate) GetAppName() string
- func (x *ArgoCDAppUpdate) GetAppNamespace() string
- func (x *ArgoCDAppUpdate) GetSourceUpdates() []*ArgoCDSourceUpdate
- func (*ArgoCDAppUpdate) ProtoMessage()
- func (x *ArgoCDAppUpdate) ProtoReflect() protoreflect.Message
- func (x *ArgoCDAppUpdate) Reset()
- func (x *ArgoCDAppUpdate) String() string
- type ArgoCDHelm
- type ArgoCDHelmImageUpdate
- func (*ArgoCDHelmImageUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ArgoCDHelmImageUpdate) GetImage() string
- func (x *ArgoCDHelmImageUpdate) GetKey() string
- func (x *ArgoCDHelmImageUpdate) GetValue() string
- func (*ArgoCDHelmImageUpdate) ProtoMessage()
- func (x *ArgoCDHelmImageUpdate) ProtoReflect() protoreflect.Message
- func (x *ArgoCDHelmImageUpdate) Reset()
- func (x *ArgoCDHelmImageUpdate) String() string
- type ArgoCDKustomize
- type ArgoCDSourceUpdate
- func (*ArgoCDSourceUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ArgoCDSourceUpdate) GetChart() string
- func (x *ArgoCDSourceUpdate) GetHelm() *ArgoCDHelm
- func (x *ArgoCDSourceUpdate) GetKustomize() *ArgoCDKustomize
- func (x *ArgoCDSourceUpdate) GetRepoURL() string
- func (x *ArgoCDSourceUpdate) GetUpdateTargetRevision() bool
- func (*ArgoCDSourceUpdate) ProtoMessage()
- func (x *ArgoCDSourceUpdate) ProtoReflect() protoreflect.Message
- func (x *ArgoCDSourceUpdate) Reset()
- func (x *ArgoCDSourceUpdate) String() string
- type BookkeeperPromotionMechanism
- func (*BookkeeperPromotionMechanism) Descriptor() ([]byte, []int)deprecated
- func (*BookkeeperPromotionMechanism) ProtoMessage()
- func (x *BookkeeperPromotionMechanism) ProtoReflect() protoreflect.Message
- func (x *BookkeeperPromotionMechanism) Reset()
- func (x *BookkeeperPromotionMechanism) String() string
- type Chart
- type ChartSubscription
- func (*ChartSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *ChartSubscription) GetName() string
- func (x *ChartSubscription) GetRegistryURL() string
- func (x *ChartSubscription) GetSemverConstraint() string
- func (*ChartSubscription) ProtoMessage()
- func (x *ChartSubscription) ProtoReflect() protoreflect.Message
- func (x *ChartSubscription) Reset()
- func (x *ChartSubscription) String() string
- type GitCommit
- func (*GitCommit) Descriptor() ([]byte, []int)deprecated
- func (x *GitCommit) GetBranch() string
- func (x *GitCommit) GetHealthCheckCommit() string
- func (x *GitCommit) GetId() string
- func (x *GitCommit) GetRepoURL() string
- func (*GitCommit) ProtoMessage()
- func (x *GitCommit) ProtoReflect() protoreflect.Message
- func (x *GitCommit) Reset()
- func (x *GitCommit) String() string
- type GitRepoUpdate
- func (*GitRepoUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *GitRepoUpdate) GetBookkeeper() *BookkeeperPromotionMechanism
- func (x *GitRepoUpdate) GetHelm() *HelmPromotionMechanism
- func (x *GitRepoUpdate) GetKustomize() *KustomizePromotionMechanism
- func (x *GitRepoUpdate) GetReadBranch() string
- func (x *GitRepoUpdate) GetRepoURL() string
- func (x *GitRepoUpdate) GetWriteBranch() string
- func (*GitRepoUpdate) ProtoMessage()
- func (x *GitRepoUpdate) ProtoReflect() protoreflect.Message
- func (x *GitRepoUpdate) Reset()
- func (x *GitRepoUpdate) String() string
- type GitSubscription
- func (*GitSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *GitSubscription) GetBranch() string
- func (x *GitSubscription) GetRepoURL() string
- func (*GitSubscription) ProtoMessage()
- func (x *GitSubscription) ProtoReflect() protoreflect.Message
- func (x *GitSubscription) Reset()
- func (x *GitSubscription) String() string
- type Health
- type HelmChartDependencyUpdate
- func (*HelmChartDependencyUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *HelmChartDependencyUpdate) GetChartPath() string
- func (x *HelmChartDependencyUpdate) GetName() string
- func (x *HelmChartDependencyUpdate) GetRegistryURL() string
- func (*HelmChartDependencyUpdate) ProtoMessage()
- func (x *HelmChartDependencyUpdate) ProtoReflect() protoreflect.Message
- func (x *HelmChartDependencyUpdate) Reset()
- func (x *HelmChartDependencyUpdate) String() string
- type HelmImageUpdate
- func (*HelmImageUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *HelmImageUpdate) GetImage() string
- func (x *HelmImageUpdate) GetKey() string
- func (x *HelmImageUpdate) GetValue() string
- func (x *HelmImageUpdate) GetValuesFilePath() string
- func (*HelmImageUpdate) ProtoMessage()
- func (x *HelmImageUpdate) ProtoReflect() protoreflect.Message
- func (x *HelmImageUpdate) Reset()
- func (x *HelmImageUpdate) String() string
- type HelmPromotionMechanism
- func (*HelmPromotionMechanism) Descriptor() ([]byte, []int)deprecated
- func (x *HelmPromotionMechanism) GetCharts() []*HelmChartDependencyUpdate
- func (x *HelmPromotionMechanism) GetImages() []*HelmImageUpdate
- func (*HelmPromotionMechanism) ProtoMessage()
- func (x *HelmPromotionMechanism) ProtoReflect() protoreflect.Message
- func (x *HelmPromotionMechanism) Reset()
- func (x *HelmPromotionMechanism) String() string
- type Image
- type ImageSubscription
- func (*ImageSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *ImageSubscription) GetAllowTags() string
- func (x *ImageSubscription) GetIgnoreTags() []string
- func (x *ImageSubscription) GetPlatform() string
- func (x *ImageSubscription) GetRepoURL() string
- func (x *ImageSubscription) GetSemverConstraint() string
- func (x *ImageSubscription) GetUpdateStrategy() string
- func (*ImageSubscription) ProtoMessage()
- func (x *ImageSubscription) ProtoReflect() protoreflect.Message
- func (x *ImageSubscription) Reset()
- func (x *ImageSubscription) String() string
- type KustomizeImageUpdate
- func (*KustomizeImageUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *KustomizeImageUpdate) GetImage() string
- func (x *KustomizeImageUpdate) GetPath() string
- func (*KustomizeImageUpdate) ProtoMessage()
- func (x *KustomizeImageUpdate) ProtoReflect() protoreflect.Message
- func (x *KustomizeImageUpdate) Reset()
- func (x *KustomizeImageUpdate) String() string
- type KustomizePromotionMechanism
- func (*KustomizePromotionMechanism) Descriptor() ([]byte, []int)deprecated
- func (x *KustomizePromotionMechanism) GetImages() []*KustomizeImageUpdate
- func (*KustomizePromotionMechanism) ProtoMessage()
- func (x *KustomizePromotionMechanism) ProtoReflect() protoreflect.Message
- func (x *KustomizePromotionMechanism) Reset()
- func (x *KustomizePromotionMechanism) String() string
- type Promotion
- func (*Promotion) Descriptor() ([]byte, []int)deprecated
- func (x *Promotion) GetMetadata() *v1.ObjectMeta
- func (x *Promotion) GetSpec() *PromotionSpec
- func (x *Promotion) GetStatus() *PromotionStatus
- func (*Promotion) ProtoMessage()
- func (x *Promotion) ProtoReflect() protoreflect.Message
- func (x *Promotion) Reset()
- func (x *Promotion) String() string
- type PromotionList
- func (*PromotionList) Descriptor() ([]byte, []int)deprecated
- func (x *PromotionList) GetItems() []*Promotion
- func (x *PromotionList) GetMetadata() *v1.ListMeta
- func (*PromotionList) ProtoMessage()
- func (x *PromotionList) ProtoReflect() protoreflect.Message
- func (x *PromotionList) Reset()
- func (x *PromotionList) String() string
- type PromotionMechanisms
- func (*PromotionMechanisms) Descriptor() ([]byte, []int)deprecated
- func (x *PromotionMechanisms) GetArgoCDAppUpdates() []*ArgoCDAppUpdate
- func (x *PromotionMechanisms) GetGitRepoUpdates() []*GitRepoUpdate
- func (*PromotionMechanisms) ProtoMessage()
- func (x *PromotionMechanisms) ProtoReflect() protoreflect.Message
- func (x *PromotionMechanisms) Reset()
- func (x *PromotionMechanisms) String() string
- type PromotionPolicy
- func (*PromotionPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *PromotionPolicy) GetEnableAutoPromotion() bool
- func (x *PromotionPolicy) GetMetadata() *v1.ObjectMeta
- func (x *PromotionPolicy) GetStage() string
- func (*PromotionPolicy) ProtoMessage()
- func (x *PromotionPolicy) ProtoReflect() protoreflect.Message
- func (x *PromotionPolicy) Reset()
- func (x *PromotionPolicy) String() string
- type PromotionPolicyList
- func (*PromotionPolicyList) Descriptor() ([]byte, []int)deprecated
- func (x *PromotionPolicyList) GetItems() []*PromotionPolicy
- func (x *PromotionPolicyList) GetMetadata() *v1.ListMeta
- func (*PromotionPolicyList) ProtoMessage()
- func (x *PromotionPolicyList) ProtoReflect() protoreflect.Message
- func (x *PromotionPolicyList) Reset()
- func (x *PromotionPolicyList) String() string
- type PromotionSpec
- func (*PromotionSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PromotionSpec) GetStage() string
- func (x *PromotionSpec) GetState() string
- func (*PromotionSpec) ProtoMessage()
- func (x *PromotionSpec) ProtoReflect() protoreflect.Message
- func (x *PromotionSpec) Reset()
- func (x *PromotionSpec) String() string
- type PromotionStatus
- func (*PromotionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PromotionStatus) GetError() string
- func (x *PromotionStatus) GetPhase() string
- func (*PromotionStatus) ProtoMessage()
- func (x *PromotionStatus) ProtoReflect() protoreflect.Message
- func (x *PromotionStatus) Reset()
- func (x *PromotionStatus) String() string
- type RepoSubscriptions
- func (*RepoSubscriptions) Descriptor() ([]byte, []int)deprecated
- func (x *RepoSubscriptions) GetCharts() []*ChartSubscription
- func (x *RepoSubscriptions) GetGit() []*GitSubscription
- func (x *RepoSubscriptions) GetImages() []*ImageSubscription
- func (*RepoSubscriptions) ProtoMessage()
- func (x *RepoSubscriptions) ProtoReflect() protoreflect.Message
- func (x *RepoSubscriptions) Reset()
- func (x *RepoSubscriptions) String() string
- type Stage
- func (*Stage) Descriptor() ([]byte, []int)deprecated
- func (x *Stage) GetMetadata() *v1.ObjectMeta
- func (x *Stage) GetSpec() *StageSpec
- func (x *Stage) GetStatus() *StageStatus
- func (*Stage) ProtoMessage()
- func (x *Stage) ProtoReflect() protoreflect.Message
- func (x *Stage) Reset()
- func (x *Stage) String() string
- type StageList
- type StageSpec
- func (*StageSpec) Descriptor() ([]byte, []int)deprecated
- func (x *StageSpec) GetPromotionMechanisms() *PromotionMechanisms
- func (x *StageSpec) GetSubscriptions() *Subscriptions
- func (*StageSpec) ProtoMessage()
- func (x *StageSpec) ProtoReflect() protoreflect.Message
- func (x *StageSpec) Reset()
- func (x *StageSpec) String() string
- type StageState
- func (*StageState) Descriptor() ([]byte, []int)deprecated
- func (x *StageState) GetCharts() []*Chart
- func (x *StageState) GetCommits() []*GitCommit
- func (x *StageState) GetFirstSeen() *v1.Time
- func (x *StageState) GetHealth() *Health
- func (x *StageState) GetId() string
- func (x *StageState) GetImages() []*Image
- func (x *StageState) GetProvenance() string
- func (*StageState) ProtoMessage()
- func (x *StageState) ProtoReflect() protoreflect.Message
- func (x *StageState) Reset()
- func (x *StageState) String() string
- type StageStatus
- func (*StageStatus) Descriptor() ([]byte, []int)deprecated
- func (x *StageStatus) GetAvailableStates() []*StageState
- func (x *StageStatus) GetCurrentState() *StageState
- func (x *StageStatus) GetError() string
- func (x *StageStatus) GetHistory() []*StageState
- func (*StageStatus) ProtoMessage()
- func (x *StageStatus) ProtoReflect() protoreflect.Message
- func (x *StageStatus) Reset()
- func (x *StageStatus) String() string
- type StageSubscription
- func (*StageSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *StageSubscription) GetName() string
- func (x *StageSubscription) GetNamespace() string
- func (*StageSubscription) ProtoMessage()
- func (x *StageSubscription) ProtoReflect() protoreflect.Message
- func (x *StageSubscription) Reset()
- func (x *StageSubscription) String() string
- type Subscriptions
- func (*Subscriptions) Descriptor() ([]byte, []int)deprecated
- func (x *Subscriptions) GetRepos() *RepoSubscriptions
- func (x *Subscriptions) GetUpstreamStages() []*StageSubscription
- func (*Subscriptions) ProtoMessage()
- func (x *Subscriptions) ProtoReflect() protoreflect.Message
- func (x *Subscriptions) Reset()
- func (x *Subscriptions) String() string
Constants ¶
This section is empty.
Variables ¶
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 Stage. // // TODO: This should default to Argo CD's namespace instead. // // +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 a Stage.
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 a Stage.
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 a Stage.
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 BookkeeperPromotionMechanism ¶
type BookkeeperPromotionMechanism struct {
// contains filtered or unexported fields
}
BookkeeperPromotionMechanism describes how to use Bookkeeper to incorporate newly observed materials into a Stage.
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 (x *BookkeeperPromotionMechanism) ProtoReflect() protoreflect.Message
func (*BookkeeperPromotionMechanism) Reset ¶
func (x *BookkeeperPromotionMechanism) Reset()
func (*BookkeeperPromotionMechanism) String ¶
func (x *BookkeeperPromotionMechanism) String() 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) GetRegistryURL ¶
func (*Chart) GetVersion ¶
func (*Chart) ProtoMessage ¶
func (*Chart) ProtoMessage()
func (*Chart) ProtoReflect ¶
func (x *Chart) ProtoReflect() protoreflect.Message
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 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 Stage health will used this value (instead of ID) when // determining if applicable sources of Argo CD Application resources // associated with the Stage 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) GetHealthCheckCommit ¶
func (*GitCommit) GetRepoURL ¶
func (*GitCommit) ProtoMessage ¶
func (*GitCommit) ProtoMessage()
func (*GitCommit) ProtoReflect ¶
func (x *GitCommit) ProtoReflect() protoreflect.Message
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 a // StageStage 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 a Stage 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 Stage. 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 Stage. 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 Stage. 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 a Stage.
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 Stage. Status *string `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"` // Issues clarifies why a Stage in any state other than Healthy is in that // state. This field will always be the empty when a Stage is Healthy. Issues []string `protobuf:"bytes,2,rep,name=issues" json:"issues,omitempty"` // contains filtered or unexported fields }
Health describes the health of a Stage.
func (*Health) Descriptor
deprecated
func (*Health) ProtoMessage ¶
func (*Health) ProtoMessage()
func (*Health) ProtoReflect ¶
func (x *Health) ProtoReflect() protoreflect.Message
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 (x *HelmChartDependencyUpdate) ProtoReflect() protoreflect.Message
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 a Stage.
func (*HelmPromotionMechanism) Descriptor
deprecated
func (*HelmPromotionMechanism) Descriptor() ([]byte, []int)
Deprecated: Use HelmPromotionMechanism.ProtoReflect.Descriptor instead.
func (*HelmPromotionMechanism) GetCharts ¶
func (x *HelmPromotionMechanism) GetCharts() []*HelmChartDependencyUpdate
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) GetRepoURL ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
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 a Stage.
func (*KustomizePromotionMechanism) Descriptor
deprecated
func (*KustomizePromotionMechanism) Descriptor() ([]byte, []int)
Deprecated: Use KustomizePromotionMechanism.ProtoReflect.Descriptor instead.
func (*KustomizePromotionMechanism) GetImages ¶
func (x *KustomizePromotionMechanism) GetImages() []*KustomizeImageUpdate
func (*KustomizePromotionMechanism) ProtoMessage ¶
func (*KustomizePromotionMechanism) ProtoMessage()
func (*KustomizePromotionMechanism) ProtoReflect ¶
func (x *KustomizePromotionMechanism) ProtoReflect() protoreflect.Message
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 Stage into a specific // StageState. // // +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 Stage into a particular state.
func (*Promotion) Descriptor
deprecated
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
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 Stage. 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 // Stage. 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 a Stage.
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"` // Stage references a Stage 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])?)*$ Stage *string `protobuf:"bytes,2,opt,name=stage" json:"stage,omitempty"` // EnableAutoPromotion indicates whether new StageStates can automatically be // promoted into the Stage referenced by the Stage field. Note: There are // other conditions also required for an auto-promotion to occur. // Specifically, there must be a single source of new StageStates, so // regardless of the value of this field, an auto-promotion could never occur // for a Stage subscribed to MULTIPLE upstream Stages. This field defaults to // false, but is commonly set to true for Stages that subscribe to // repositories instead of other, upstream Stages. This allows users to define // Stages that are automatically updated as soon as new materials are // detected. EnableAutoPromotion *bool `protobuf:"varint,3,opt,name=enableAutoPromotion" json:"enableAutoPromotion,omitempty"` // contains filtered or unexported fields }
PromotionPolicy specifies whether a given Stage is eligible for auto-promotion to newly discovered StageStates.
func (*PromotionPolicy) Descriptor
deprecated
func (*PromotionPolicy) Descriptor() ([]byte, []int)
Deprecated: Use PromotionPolicy.ProtoReflect.Descriptor instead.
func (*PromotionPolicy) GetEnableAutoPromotion ¶
func (x *PromotionPolicy) GetEnableAutoPromotion() bool
func (*PromotionPolicy) GetMetadata ¶
func (x *PromotionPolicy) GetMetadata() *v1.ObjectMeta
func (*PromotionPolicy) GetStage ¶
func (x *PromotionPolicy) GetStage() string
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 { // Stage specifies the name of the Stage to which this Promotion // applies. The Stage 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])?)*$ Stage *string `protobuf:"bytes,1,opt,name=stage" json:"stage,omitempty"` // State specifies the specific StageState into which the Stage referenced by // the Stage field should be transitioned. The State MUST be among the Stage'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 Stage into a specific StageState.
func (*PromotionSpec) Descriptor
deprecated
func (*PromotionSpec) Descriptor() ([]byte, []int)
Deprecated: Use PromotionSpec.ProtoReflect.Descriptor instead.
func (*PromotionSpec) GetStage ¶
func (x *PromotionSpec) GetStage() 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 a Stage 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 Stage ¶
type Stage struct { Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // Spec describes the sources of material used by the Stage and how // to incorporate newly observed materials into the Stage. // // +kubebuilder:validation:Required Spec *StageSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` // Status describes the most recently observed versions of this Stage's // sources of material as well as the Stage's current and recent states. Status *StageStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` // contains filtered or unexported fields }
Stage is the Kargo API's main type.
func (*Stage) Descriptor
deprecated
func (*Stage) GetMetadata ¶
func (x *Stage) GetMetadata() *v1.ObjectMeta
func (*Stage) GetStatus ¶
func (x *Stage) GetStatus() *StageStatus
func (*Stage) ProtoMessage ¶
func (*Stage) ProtoMessage()
func (*Stage) ProtoReflect ¶
func (x *Stage) ProtoReflect() protoreflect.Message
type StageList ¶
type StageList struct { Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` Items []*Stage `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` // contains filtered or unexported fields }
StageList is a list of Stage resources.
func (*StageList) Descriptor
deprecated
func (*StageList) GetMetadata ¶
func (*StageList) ProtoMessage ¶
func (*StageList) ProtoMessage()
func (*StageList) ProtoReflect ¶
func (x *StageList) ProtoReflect() protoreflect.Message
type StageSpec ¶
type StageSpec struct { // Subscriptions describes the Stage'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 Stage. This is a required field. // // +kubebuilder:validation:Required PromotionMechanisms *PromotionMechanisms `protobuf:"bytes,2,opt,name=promotionMechanisms" json:"promotionMechanisms,omitempty"` // contains filtered or unexported fields }
StageSpec describes the sources of material used by a Stage and how to incorporate newly observed materials into the Stage.
func (*StageSpec) Descriptor
deprecated
func (*StageSpec) GetPromotionMechanisms ¶
func (x *StageSpec) GetPromotionMechanisms() *PromotionMechanisms
func (*StageSpec) GetSubscriptions ¶
func (x *StageSpec) GetSubscriptions() *Subscriptions
func (*StageSpec) ProtoMessage ¶
func (*StageSpec) ProtoMessage()
func (*StageSpec) ProtoReflect ¶
func (x *StageSpec) ProtoReflect() protoreflect.Message
type StageState ¶
type StageState 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 StageStage first entered the // system. This is useful and important information because it enables the // controller to block auto-promotion of StageStates that are older than a // Stages's current state, which is a case that can arise if a Stage has // ROLLED BACK to an older state whilst a downstream Stage 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 StageState. i.e. Did it // come directly from upstream repositories? Or an upstream Stage. 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 StageState's last observed health. If this state is the // Stage's current state, this will be continuously re-assessed and // updated. If this StageState is a past state of the Stage, 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 }
StageState is a "bill of materials" describing what is, was, or can be deployed to a Stage.
func (*StageState) Descriptor
deprecated
func (*StageState) Descriptor() ([]byte, []int)
Deprecated: Use StageState.ProtoReflect.Descriptor instead.
func (*StageState) GetCharts ¶
func (x *StageState) GetCharts() []*Chart
func (*StageState) GetCommits ¶
func (x *StageState) GetCommits() []*GitCommit
func (*StageState) GetFirstSeen ¶
func (x *StageState) GetFirstSeen() *v1.Time
func (*StageState) GetHealth ¶
func (x *StageState) GetHealth() *Health
func (*StageState) GetId ¶
func (x *StageState) GetId() string
func (*StageState) GetImages ¶
func (x *StageState) GetImages() []*Image
func (*StageState) GetProvenance ¶
func (x *StageState) GetProvenance() string
func (*StageState) ProtoMessage ¶
func (*StageState) ProtoMessage()
func (*StageState) ProtoReflect ¶
func (x *StageState) ProtoReflect() protoreflect.Message
func (*StageState) Reset ¶
func (x *StageState) Reset()
func (*StageState) String ¶
func (x *StageState) String() string
type StageStatus ¶
type StageStatus struct { // AvailableStates is a stack of available StageStates, where each state is // essentially a "bill of materials" describing what can be automatically or // manually deployed to the Stage. AvailableStates []*StageState `protobuf:"bytes,1,rep,name=availableStates" json:"availableStates,omitempty"` // CurrentState is the Stage's current state -- a "bill of materials" // describing what is currently deployed to the Stage. CurrentState *StageState `protobuf:"bytes,2,opt,name=currentState" json:"currentState,omitempty"` // History is a stack of recent StageStates, where each state is // essentially a "bill of materials" describing what was deployed to the // Stage. By default, the last ten states are stored. History []*StageState `protobuf:"bytes,3,rep,name=history" json:"history,omitempty"` // Error describes any errors that are preventing the Stage controller // from assessing Stage health or from polling repositories or upstream // Stages to discover new StageStates. Error *string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"` // contains filtered or unexported fields }
StageStatus describes the most recently observed versions of a Stage's sources of material as well as its current and recent states.
func (*StageStatus) Descriptor
deprecated
func (*StageStatus) Descriptor() ([]byte, []int)
Deprecated: Use StageStatus.ProtoReflect.Descriptor instead.
func (*StageStatus) GetAvailableStates ¶
func (x *StageStatus) GetAvailableStates() []*StageState
func (*StageStatus) GetCurrentState ¶
func (x *StageStatus) GetCurrentState() *StageState
func (*StageStatus) GetError ¶
func (x *StageStatus) GetError() string
func (*StageStatus) GetHistory ¶
func (x *StageStatus) GetHistory() []*StageState
func (*StageStatus) ProtoMessage ¶
func (*StageStatus) ProtoMessage()
func (*StageStatus) ProtoReflect ¶
func (x *StageStatus) ProtoReflect() protoreflect.Message
func (*StageStatus) Reset ¶
func (x *StageStatus) Reset()
func (*StageStatus) String ¶
func (x *StageStatus) String() string
type StageSubscription ¶
type StageSubscription struct { // Name specifies the name of a Stage. // // +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 Stage. If left unspecified, // the namespace of the upstream repository will be defaulted to that of this // Stage. // // TODO: This field needs to go away because we've really leaned into using // namespaces as project boundaries. // // +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 }
StageSubscription defines a subscription to states from another Stage.
func (*StageSubscription) Descriptor
deprecated
func (*StageSubscription) Descriptor() ([]byte, []int)
Deprecated: Use StageSubscription.ProtoReflect.Descriptor instead.
func (*StageSubscription) GetName ¶
func (x *StageSubscription) GetName() string
func (*StageSubscription) GetNamespace ¶
func (x *StageSubscription) GetNamespace() string
func (*StageSubscription) ProtoMessage ¶
func (*StageSubscription) ProtoMessage()
func (*StageSubscription) ProtoReflect ¶
func (x *StageSubscription) ProtoReflect() protoreflect.Message
func (*StageSubscription) Reset ¶
func (x *StageSubscription) Reset()
func (*StageSubscription) String ¶
func (x *StageSubscription) String() string
type Subscriptions ¶
type Subscriptions struct { // Repos describes various sorts of repositories a Stage uses as sources of // material. This field is mutually exclusive with the UpstreamStages field. Repos *RepoSubscriptions `protobuf:"bytes,1,opt,name=repos" json:"repos,omitempty"` // UpstreamStages identifies other Stages as potential sources of material // for this Stage. This field is mutually exclusive with the Repos field. UpstreamStages []*StageSubscription `protobuf:"bytes,2,rep,name=upstreamStages" json:"upstreamStages,omitempty"` // contains filtered or unexported fields }
Subscriptions describes a Stage'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) GetUpstreamStages ¶
func (x *Subscriptions) GetUpstreamStages() []*StageSubscription
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