Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the kargo v1alpha1 API group +kubebuilder:object:generate=true +groupName=kargo.akuity.io
Index ¶
- Constants
- Variables
- func AbortStageFreightVerification(ctx context.Context, c client.Client, namespacedName types.NamespacedName) error
- func AddFinalizer(ctx context.Context, c client.Client, obj client.Object) error
- func ClearAnnotations(ctx context.Context, c client.Client, obj client.Object, keys ...string) error
- func EnsureV06CompatibilityLabel(ctx context.Context, c client.Client, obj client.Object) error
- func FormatEventControllerActor(name string) string
- func FormatEventKubernetesUserActor(u authnv1.UserInfo) string
- func FormatEventUserActor(u user.Info) string
- func IsFreightAvailable(freight *Freight, stage string, upstreamStages []string) bool
- func IsV06Compatible(obj client.Object) bool
- func NewFreightApprovedEventAnnotations(actor string, f *Freight, stageName string) map[string]string
- func NewPromotionEventAnnotations(ctx context.Context, actor string, p *Promotion, f *Freight) map[string]string
- func RefreshAnnotationValue(annotations map[string]string) (string, bool)
- func ReverifyStageFreight(ctx context.Context, c client.Client, namespacedName types.NamespacedName) error
- type AnalysisRunArgument
- func (in *AnalysisRunArgument) DeepCopy() *AnalysisRunArgument
- func (in *AnalysisRunArgument) DeepCopyInto(out *AnalysisRunArgument)
- func (*AnalysisRunArgument) Descriptor() ([]byte, []int)
- func (m *AnalysisRunArgument) Marshal() (dAtA []byte, err error)
- func (m *AnalysisRunArgument) MarshalTo(dAtA []byte) (int, error)
- func (m *AnalysisRunArgument) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnalysisRunArgument) ProtoMessage()
- func (m *AnalysisRunArgument) Reset()
- func (m *AnalysisRunArgument) Size() (n int)
- func (this *AnalysisRunArgument) String() string
- func (m *AnalysisRunArgument) Unmarshal(dAtA []byte) error
- func (m *AnalysisRunArgument) XXX_DiscardUnknown()
- func (m *AnalysisRunArgument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnalysisRunArgument) XXX_Merge(src proto.Message)
- func (m *AnalysisRunArgument) XXX_Size() int
- func (m *AnalysisRunArgument) XXX_Unmarshal(b []byte) error
- type AnalysisRunMetadata
- func (in *AnalysisRunMetadata) DeepCopy() *AnalysisRunMetadata
- func (in *AnalysisRunMetadata) DeepCopyInto(out *AnalysisRunMetadata)
- func (*AnalysisRunMetadata) Descriptor() ([]byte, []int)
- func (m *AnalysisRunMetadata) Marshal() (dAtA []byte, err error)
- func (m *AnalysisRunMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *AnalysisRunMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnalysisRunMetadata) ProtoMessage()
- func (m *AnalysisRunMetadata) Reset()
- func (m *AnalysisRunMetadata) Size() (n int)
- func (this *AnalysisRunMetadata) String() string
- func (m *AnalysisRunMetadata) Unmarshal(dAtA []byte) error
- func (m *AnalysisRunMetadata) XXX_DiscardUnknown()
- func (m *AnalysisRunMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnalysisRunMetadata) XXX_Merge(src proto.Message)
- func (m *AnalysisRunMetadata) XXX_Size() int
- func (m *AnalysisRunMetadata) XXX_Unmarshal(b []byte) error
- type AnalysisRunReference
- func (in *AnalysisRunReference) DeepCopy() *AnalysisRunReference
- func (in *AnalysisRunReference) DeepCopyInto(out *AnalysisRunReference)
- func (*AnalysisRunReference) Descriptor() ([]byte, []int)
- func (m *AnalysisRunReference) Marshal() (dAtA []byte, err error)
- func (m *AnalysisRunReference) MarshalTo(dAtA []byte) (int, error)
- func (m *AnalysisRunReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnalysisRunReference) ProtoMessage()
- func (m *AnalysisRunReference) Reset()
- func (m *AnalysisRunReference) Size() (n int)
- func (this *AnalysisRunReference) String() string
- func (m *AnalysisRunReference) Unmarshal(dAtA []byte) error
- func (m *AnalysisRunReference) XXX_DiscardUnknown()
- func (m *AnalysisRunReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnalysisRunReference) XXX_Merge(src proto.Message)
- func (m *AnalysisRunReference) XXX_Size() int
- func (m *AnalysisRunReference) XXX_Unmarshal(b []byte) error
- type AnalysisTemplateReference
- func (in *AnalysisTemplateReference) DeepCopy() *AnalysisTemplateReference
- func (in *AnalysisTemplateReference) DeepCopyInto(out *AnalysisTemplateReference)
- func (*AnalysisTemplateReference) Descriptor() ([]byte, []int)
- func (m *AnalysisTemplateReference) Marshal() (dAtA []byte, err error)
- func (m *AnalysisTemplateReference) MarshalTo(dAtA []byte) (int, error)
- func (m *AnalysisTemplateReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnalysisTemplateReference) ProtoMessage()
- func (m *AnalysisTemplateReference) Reset()
- func (m *AnalysisTemplateReference) Size() (n int)
- func (this *AnalysisTemplateReference) String() string
- func (m *AnalysisTemplateReference) Unmarshal(dAtA []byte) error
- func (m *AnalysisTemplateReference) XXX_DiscardUnknown()
- func (m *AnalysisTemplateReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnalysisTemplateReference) XXX_Merge(src proto.Message)
- func (m *AnalysisTemplateReference) XXX_Size() int
- func (m *AnalysisTemplateReference) XXX_Unmarshal(b []byte) error
- type ApprovedStage
- func (in *ApprovedStage) DeepCopy() *ApprovedStage
- func (in *ApprovedStage) DeepCopyInto(out *ApprovedStage)
- func (*ApprovedStage) Descriptor() ([]byte, []int)
- func (m *ApprovedStage) Marshal() (dAtA []byte, err error)
- func (m *ApprovedStage) MarshalTo(dAtA []byte) (int, error)
- func (m *ApprovedStage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ApprovedStage) ProtoMessage()
- func (m *ApprovedStage) Reset()
- func (m *ApprovedStage) Size() (n int)
- func (this *ApprovedStage) String() string
- func (m *ApprovedStage) Unmarshal(dAtA []byte) error
- func (m *ApprovedStage) XXX_DiscardUnknown()
- func (m *ApprovedStage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApprovedStage) XXX_Merge(src proto.Message)
- func (m *ApprovedStage) XXX_Size() int
- func (m *ApprovedStage) XXX_Unmarshal(b []byte) error
- type ArgoCDAppHealthState
- type ArgoCDAppHealthStatus
- func (in *ArgoCDAppHealthStatus) DeepCopy() *ArgoCDAppHealthStatus
- func (in *ArgoCDAppHealthStatus) DeepCopyInto(out *ArgoCDAppHealthStatus)
- func (*ArgoCDAppHealthStatus) Descriptor() ([]byte, []int)
- func (m *ArgoCDAppHealthStatus) Marshal() (dAtA []byte, err error)
- func (m *ArgoCDAppHealthStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ArgoCDAppHealthStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArgoCDAppHealthStatus) ProtoMessage()
- func (m *ArgoCDAppHealthStatus) Reset()
- func (m *ArgoCDAppHealthStatus) Size() (n int)
- func (this *ArgoCDAppHealthStatus) String() string
- func (m *ArgoCDAppHealthStatus) Unmarshal(dAtA []byte) error
- func (m *ArgoCDAppHealthStatus) XXX_DiscardUnknown()
- func (m *ArgoCDAppHealthStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArgoCDAppHealthStatus) XXX_Merge(src proto.Message)
- func (m *ArgoCDAppHealthStatus) XXX_Size() int
- func (m *ArgoCDAppHealthStatus) XXX_Unmarshal(b []byte) error
- type ArgoCDAppStatus
- func (in *ArgoCDAppStatus) DeepCopy() *ArgoCDAppStatus
- func (in *ArgoCDAppStatus) DeepCopyInto(out *ArgoCDAppStatus)
- func (*ArgoCDAppStatus) Descriptor() ([]byte, []int)
- func (m *ArgoCDAppStatus) Marshal() (dAtA []byte, err error)
- func (m *ArgoCDAppStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ArgoCDAppStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArgoCDAppStatus) ProtoMessage()
- func (m *ArgoCDAppStatus) Reset()
- func (m *ArgoCDAppStatus) Size() (n int)
- func (this *ArgoCDAppStatus) String() string
- func (m *ArgoCDAppStatus) Unmarshal(dAtA []byte) error
- func (m *ArgoCDAppStatus) XXX_DiscardUnknown()
- func (m *ArgoCDAppStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArgoCDAppStatus) XXX_Merge(src proto.Message)
- func (m *ArgoCDAppStatus) XXX_Size() int
- func (m *ArgoCDAppStatus) XXX_Unmarshal(b []byte) error
- type ArgoCDAppSyncState
- type ArgoCDAppSyncStatus
- func (in *ArgoCDAppSyncStatus) DeepCopy() *ArgoCDAppSyncStatus
- func (in *ArgoCDAppSyncStatus) DeepCopyInto(out *ArgoCDAppSyncStatus)
- func (*ArgoCDAppSyncStatus) Descriptor() ([]byte, []int)
- func (m *ArgoCDAppSyncStatus) Marshal() (dAtA []byte, err error)
- func (m *ArgoCDAppSyncStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ArgoCDAppSyncStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArgoCDAppSyncStatus) ProtoMessage()
- func (m *ArgoCDAppSyncStatus) Reset()
- func (m *ArgoCDAppSyncStatus) Size() (n int)
- func (this *ArgoCDAppSyncStatus) String() string
- func (m *ArgoCDAppSyncStatus) Unmarshal(dAtA []byte) error
- func (m *ArgoCDAppSyncStatus) XXX_DiscardUnknown()
- func (m *ArgoCDAppSyncStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArgoCDAppSyncStatus) XXX_Merge(src proto.Message)
- func (m *ArgoCDAppSyncStatus) XXX_Size() int
- func (m *ArgoCDAppSyncStatus) XXX_Unmarshal(b []byte) error
- type ArgoCDAppUpdate
- func (in *ArgoCDAppUpdate) DeepCopy() *ArgoCDAppUpdate
- func (in *ArgoCDAppUpdate) DeepCopyInto(out *ArgoCDAppUpdate)
- func (*ArgoCDAppUpdate) Descriptor() ([]byte, []int)
- func (m *ArgoCDAppUpdate) Marshal() (dAtA []byte, err error)
- func (m *ArgoCDAppUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *ArgoCDAppUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArgoCDAppUpdate) ProtoMessage()
- func (m *ArgoCDAppUpdate) Reset()
- func (m *ArgoCDAppUpdate) Size() (n int)
- func (this *ArgoCDAppUpdate) String() string
- func (m *ArgoCDAppUpdate) Unmarshal(dAtA []byte) error
- func (m *ArgoCDAppUpdate) XXX_DiscardUnknown()
- func (m *ArgoCDAppUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArgoCDAppUpdate) XXX_Merge(src proto.Message)
- func (m *ArgoCDAppUpdate) XXX_Size() int
- func (m *ArgoCDAppUpdate) XXX_Unmarshal(b []byte) error
- type ArgoCDHelm
- func (in *ArgoCDHelm) DeepCopy() *ArgoCDHelm
- func (in *ArgoCDHelm) DeepCopyInto(out *ArgoCDHelm)
- func (*ArgoCDHelm) Descriptor() ([]byte, []int)
- func (m *ArgoCDHelm) Marshal() (dAtA []byte, err error)
- func (m *ArgoCDHelm) MarshalTo(dAtA []byte) (int, error)
- func (m *ArgoCDHelm) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArgoCDHelm) ProtoMessage()
- func (m *ArgoCDHelm) Reset()
- func (m *ArgoCDHelm) Size() (n int)
- func (this *ArgoCDHelm) String() string
- func (m *ArgoCDHelm) Unmarshal(dAtA []byte) error
- func (m *ArgoCDHelm) XXX_DiscardUnknown()
- func (m *ArgoCDHelm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArgoCDHelm) XXX_Merge(src proto.Message)
- func (m *ArgoCDHelm) XXX_Size() int
- func (m *ArgoCDHelm) XXX_Unmarshal(b []byte) error
- type ArgoCDHelmImageUpdate
- func (in *ArgoCDHelmImageUpdate) DeepCopy() *ArgoCDHelmImageUpdate
- func (in *ArgoCDHelmImageUpdate) DeepCopyInto(out *ArgoCDHelmImageUpdate)
- func (*ArgoCDHelmImageUpdate) Descriptor() ([]byte, []int)
- func (m *ArgoCDHelmImageUpdate) Marshal() (dAtA []byte, err error)
- func (m *ArgoCDHelmImageUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *ArgoCDHelmImageUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArgoCDHelmImageUpdate) ProtoMessage()
- func (m *ArgoCDHelmImageUpdate) Reset()
- func (m *ArgoCDHelmImageUpdate) Size() (n int)
- func (this *ArgoCDHelmImageUpdate) String() string
- func (m *ArgoCDHelmImageUpdate) Unmarshal(dAtA []byte) error
- func (m *ArgoCDHelmImageUpdate) XXX_DiscardUnknown()
- func (m *ArgoCDHelmImageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArgoCDHelmImageUpdate) XXX_Merge(src proto.Message)
- func (m *ArgoCDHelmImageUpdate) XXX_Size() int
- func (m *ArgoCDHelmImageUpdate) XXX_Unmarshal(b []byte) error
- type ArgoCDKustomize
- func (in *ArgoCDKustomize) DeepCopy() *ArgoCDKustomize
- func (in *ArgoCDKustomize) DeepCopyInto(out *ArgoCDKustomize)
- func (*ArgoCDKustomize) Descriptor() ([]byte, []int)
- func (m *ArgoCDKustomize) Marshal() (dAtA []byte, err error)
- func (m *ArgoCDKustomize) MarshalTo(dAtA []byte) (int, error)
- func (m *ArgoCDKustomize) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArgoCDKustomize) ProtoMessage()
- func (m *ArgoCDKustomize) Reset()
- func (m *ArgoCDKustomize) Size() (n int)
- func (this *ArgoCDKustomize) String() string
- func (m *ArgoCDKustomize) Unmarshal(dAtA []byte) error
- func (m *ArgoCDKustomize) XXX_DiscardUnknown()
- func (m *ArgoCDKustomize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArgoCDKustomize) XXX_Merge(src proto.Message)
- func (m *ArgoCDKustomize) XXX_Size() int
- func (m *ArgoCDKustomize) XXX_Unmarshal(b []byte) error
- type ArgoCDKustomizeImageUpdate
- func (in *ArgoCDKustomizeImageUpdate) DeepCopy() *ArgoCDKustomizeImageUpdate
- func (in *ArgoCDKustomizeImageUpdate) DeepCopyInto(out *ArgoCDKustomizeImageUpdate)
- func (*ArgoCDKustomizeImageUpdate) Descriptor() ([]byte, []int)
- func (m *ArgoCDKustomizeImageUpdate) Marshal() (dAtA []byte, err error)
- func (m *ArgoCDKustomizeImageUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *ArgoCDKustomizeImageUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArgoCDKustomizeImageUpdate) ProtoMessage()
- func (m *ArgoCDKustomizeImageUpdate) Reset()
- func (m *ArgoCDKustomizeImageUpdate) Size() (n int)
- func (this *ArgoCDKustomizeImageUpdate) String() string
- func (m *ArgoCDKustomizeImageUpdate) Unmarshal(dAtA []byte) error
- func (m *ArgoCDKustomizeImageUpdate) XXX_DiscardUnknown()
- func (m *ArgoCDKustomizeImageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArgoCDKustomizeImageUpdate) XXX_Merge(src proto.Message)
- func (m *ArgoCDKustomizeImageUpdate) XXX_Size() int
- func (m *ArgoCDKustomizeImageUpdate) XXX_Unmarshal(b []byte) error
- type ArgoCDSourceUpdate
- func (in *ArgoCDSourceUpdate) DeepCopy() *ArgoCDSourceUpdate
- func (in *ArgoCDSourceUpdate) DeepCopyInto(out *ArgoCDSourceUpdate)
- func (*ArgoCDSourceUpdate) Descriptor() ([]byte, []int)
- func (m *ArgoCDSourceUpdate) Marshal() (dAtA []byte, err error)
- func (m *ArgoCDSourceUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *ArgoCDSourceUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArgoCDSourceUpdate) ProtoMessage()
- func (m *ArgoCDSourceUpdate) Reset()
- func (m *ArgoCDSourceUpdate) Size() (n int)
- func (this *ArgoCDSourceUpdate) String() string
- func (m *ArgoCDSourceUpdate) Unmarshal(dAtA []byte) error
- func (m *ArgoCDSourceUpdate) XXX_DiscardUnknown()
- func (m *ArgoCDSourceUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArgoCDSourceUpdate) XXX_Merge(src proto.Message)
- func (m *ArgoCDSourceUpdate) XXX_Size() int
- func (m *ArgoCDSourceUpdate) XXX_Unmarshal(b []byte) error
- type Chart
- func (in *Chart) DeepCopy() *Chart
- func (in *Chart) DeepCopyInto(out *Chart)
- func (*Chart) Descriptor() ([]byte, []int)
- func (m *Chart) Marshal() (dAtA []byte, err error)
- func (m *Chart) MarshalTo(dAtA []byte) (int, error)
- func (m *Chart) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Chart) ProtoMessage()
- func (m *Chart) Reset()
- func (m *Chart) Size() (n int)
- func (this *Chart) String() string
- func (m *Chart) Unmarshal(dAtA []byte) error
- func (m *Chart) XXX_DiscardUnknown()
- func (m *Chart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Chart) XXX_Merge(src proto.Message)
- func (m *Chart) XXX_Size() int
- func (m *Chart) XXX_Unmarshal(b []byte) error
- type ChartSubscription
- func (in *ChartSubscription) DeepCopy() *ChartSubscription
- func (in *ChartSubscription) DeepCopyInto(out *ChartSubscription)
- func (*ChartSubscription) Descriptor() ([]byte, []int)
- func (m *ChartSubscription) Marshal() (dAtA []byte, err error)
- func (m *ChartSubscription) MarshalTo(dAtA []byte) (int, error)
- func (m *ChartSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChartSubscription) ProtoMessage()
- func (m *ChartSubscription) Reset()
- func (m *ChartSubscription) Size() (n int)
- func (this *ChartSubscription) String() string
- func (m *ChartSubscription) Unmarshal(dAtA []byte) error
- func (m *ChartSubscription) XXX_DiscardUnknown()
- func (m *ChartSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChartSubscription) XXX_Merge(src proto.Message)
- func (m *ChartSubscription) XXX_Size() int
- func (m *ChartSubscription) XXX_Unmarshal(b []byte) error
- type CommitSelectionStrategy
- type Freight
- func GetFreight(ctx context.Context, c client.Client, namespacedName types.NamespacedName) (*Freight, error)
- func GetFreightByAlias(ctx context.Context, c client.Client, project string, alias string) (*Freight, error)
- func GetFreightByNameOrAlias(ctx context.Context, c client.Client, project string, name string, ...) (*Freight, error)
- func (in *Freight) DeepCopy() *Freight
- func (in *Freight) DeepCopyInto(out *Freight)
- func (in *Freight) DeepCopyObject() runtime.Object
- func (*Freight) Descriptor() ([]byte, []int)
- func (f *Freight) GenerateID() string
- func (f *Freight) GetStatus() *FreightStatus
- func (m *Freight) Marshal() (dAtA []byte, err error)
- func (m *Freight) MarshalTo(dAtA []byte) (int, error)
- func (m *Freight) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Freight) ProtoMessage()
- func (m *Freight) Reset()
- func (m *Freight) Size() (n int)
- func (this *Freight) String() string
- func (m *Freight) Unmarshal(dAtA []byte) error
- func (m *Freight) XXX_DiscardUnknown()
- func (m *Freight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Freight) XXX_Merge(src proto.Message)
- func (m *Freight) XXX_Size() int
- func (m *Freight) XXX_Unmarshal(b []byte) error
- type FreightList
- func (in *FreightList) DeepCopy() *FreightList
- func (in *FreightList) DeepCopyInto(out *FreightList)
- func (in *FreightList) DeepCopyObject() runtime.Object
- func (*FreightList) Descriptor() ([]byte, []int)
- func (m *FreightList) Marshal() (dAtA []byte, err error)
- func (m *FreightList) MarshalTo(dAtA []byte) (int, error)
- func (m *FreightList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FreightList) ProtoMessage()
- func (m *FreightList) Reset()
- func (m *FreightList) Size() (n int)
- func (this *FreightList) String() string
- func (m *FreightList) Unmarshal(dAtA []byte) error
- func (m *FreightList) XXX_DiscardUnknown()
- func (m *FreightList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreightList) XXX_Merge(src proto.Message)
- func (m *FreightList) XXX_Size() int
- func (m *FreightList) XXX_Unmarshal(b []byte) error
- type FreightReference
- func (in *FreightReference) DeepCopy() *FreightReference
- func (in *FreightReference) DeepCopyInto(out *FreightReference)
- func (*FreightReference) Descriptor() ([]byte, []int)
- func (m *FreightReference) Marshal() (dAtA []byte, err error)
- func (m *FreightReference) MarshalTo(dAtA []byte) (int, error)
- func (m *FreightReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FreightReference) ProtoMessage()
- func (m *FreightReference) Reset()
- func (m *FreightReference) Size() (n int)
- func (this *FreightReference) String() string
- func (m *FreightReference) Unmarshal(dAtA []byte) error
- func (m *FreightReference) XXX_DiscardUnknown()
- func (m *FreightReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreightReference) XXX_Merge(src proto.Message)
- func (m *FreightReference) XXX_Size() int
- func (m *FreightReference) XXX_Unmarshal(b []byte) error
- type FreightReferenceStack
- type FreightStatus
- func (in *FreightStatus) DeepCopy() *FreightStatus
- func (in *FreightStatus) DeepCopyInto(out *FreightStatus)
- func (*FreightStatus) Descriptor() ([]byte, []int)
- func (m *FreightStatus) Marshal() (dAtA []byte, err error)
- func (m *FreightStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *FreightStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FreightStatus) ProtoMessage()
- func (m *FreightStatus) Reset()
- func (m *FreightStatus) Size() (n int)
- func (this *FreightStatus) String() string
- func (m *FreightStatus) Unmarshal(dAtA []byte) error
- func (m *FreightStatus) XXX_DiscardUnknown()
- func (m *FreightStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreightStatus) XXX_Merge(src proto.Message)
- func (m *FreightStatus) XXX_Size() int
- func (m *FreightStatus) XXX_Unmarshal(b []byte) error
- type GitCommit
- func (in *GitCommit) DeepCopy() *GitCommit
- func (in *GitCommit) DeepCopyInto(out *GitCommit)
- func (*GitCommit) Descriptor() ([]byte, []int)
- func (g *GitCommit) Equals(rhs *GitCommit) bool
- func (m *GitCommit) Marshal() (dAtA []byte, err error)
- func (m *GitCommit) MarshalTo(dAtA []byte) (int, error)
- func (m *GitCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GitCommit) ProtoMessage()
- func (m *GitCommit) Reset()
- func (m *GitCommit) Size() (n int)
- func (this *GitCommit) String() string
- func (m *GitCommit) Unmarshal(dAtA []byte) error
- func (m *GitCommit) XXX_DiscardUnknown()
- func (m *GitCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitCommit) XXX_Merge(src proto.Message)
- func (m *GitCommit) XXX_Size() int
- func (m *GitCommit) XXX_Unmarshal(b []byte) error
- type GitHubPullRequest
- func (in *GitHubPullRequest) DeepCopy() *GitHubPullRequest
- func (in *GitHubPullRequest) DeepCopyInto(out *GitHubPullRequest)
- func (*GitHubPullRequest) Descriptor() ([]byte, []int)
- func (m *GitHubPullRequest) Marshal() (dAtA []byte, err error)
- func (m *GitHubPullRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GitHubPullRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GitHubPullRequest) ProtoMessage()
- func (m *GitHubPullRequest) Reset()
- func (m *GitHubPullRequest) Size() (n int)
- func (this *GitHubPullRequest) String() string
- func (m *GitHubPullRequest) Unmarshal(dAtA []byte) error
- func (m *GitHubPullRequest) XXX_DiscardUnknown()
- func (m *GitHubPullRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitHubPullRequest) XXX_Merge(src proto.Message)
- func (m *GitHubPullRequest) XXX_Size() int
- func (m *GitHubPullRequest) XXX_Unmarshal(b []byte) error
- type GitLabPullRequest
- func (in *GitLabPullRequest) DeepCopy() *GitLabPullRequest
- func (in *GitLabPullRequest) DeepCopyInto(out *GitLabPullRequest)
- func (*GitLabPullRequest) Descriptor() ([]byte, []int)
- func (m *GitLabPullRequest) Marshal() (dAtA []byte, err error)
- func (m *GitLabPullRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GitLabPullRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GitLabPullRequest) ProtoMessage()
- func (m *GitLabPullRequest) Reset()
- func (m *GitLabPullRequest) Size() (n int)
- func (this *GitLabPullRequest) String() string
- func (m *GitLabPullRequest) Unmarshal(dAtA []byte) error
- func (m *GitLabPullRequest) XXX_DiscardUnknown()
- func (m *GitLabPullRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitLabPullRequest) XXX_Merge(src proto.Message)
- func (m *GitLabPullRequest) XXX_Size() int
- func (m *GitLabPullRequest) XXX_Unmarshal(b []byte) error
- type GitRepoUpdate
- func (in *GitRepoUpdate) DeepCopy() *GitRepoUpdate
- func (in *GitRepoUpdate) DeepCopyInto(out *GitRepoUpdate)
- func (*GitRepoUpdate) Descriptor() ([]byte, []int)
- func (m *GitRepoUpdate) Marshal() (dAtA []byte, err error)
- func (m *GitRepoUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *GitRepoUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GitRepoUpdate) ProtoMessage()
- func (m *GitRepoUpdate) Reset()
- func (m *GitRepoUpdate) Size() (n int)
- func (this *GitRepoUpdate) String() string
- func (m *GitRepoUpdate) Unmarshal(dAtA []byte) error
- func (m *GitRepoUpdate) XXX_DiscardUnknown()
- func (m *GitRepoUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitRepoUpdate) XXX_Merge(src proto.Message)
- func (m *GitRepoUpdate) XXX_Size() int
- func (m *GitRepoUpdate) XXX_Unmarshal(b []byte) error
- type GitSubscription
- func (in *GitSubscription) DeepCopy() *GitSubscription
- func (in *GitSubscription) DeepCopyInto(out *GitSubscription)
- func (*GitSubscription) Descriptor() ([]byte, []int)
- func (m *GitSubscription) Marshal() (dAtA []byte, err error)
- func (m *GitSubscription) MarshalTo(dAtA []byte) (int, error)
- func (m *GitSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GitSubscription) ProtoMessage()
- func (m *GitSubscription) Reset()
- func (m *GitSubscription) Size() (n int)
- func (this *GitSubscription) String() string
- func (m *GitSubscription) Unmarshal(dAtA []byte) error
- func (m *GitSubscription) XXX_DiscardUnknown()
- func (m *GitSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitSubscription) XXX_Merge(src proto.Message)
- func (m *GitSubscription) XXX_Size() int
- func (m *GitSubscription) XXX_Unmarshal(b []byte) error
- type Health
- func (in *Health) DeepCopy() *Health
- func (in *Health) DeepCopyInto(out *Health)
- func (*Health) Descriptor() ([]byte, []int)
- func (m *Health) Marshal() (dAtA []byte, err error)
- func (m *Health) MarshalTo(dAtA []byte) (int, error)
- func (m *Health) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Health) ProtoMessage()
- func (m *Health) Reset()
- func (m *Health) Size() (n int)
- func (this *Health) String() string
- func (m *Health) Unmarshal(dAtA []byte) error
- func (m *Health) XXX_DiscardUnknown()
- func (m *Health) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Health) XXX_Merge(src proto.Message)
- func (m *Health) XXX_Size() int
- func (m *Health) XXX_Unmarshal(b []byte) error
- type HealthState
- type HelmChartDependencyUpdate
- func (in *HelmChartDependencyUpdate) DeepCopy() *HelmChartDependencyUpdate
- func (in *HelmChartDependencyUpdate) DeepCopyInto(out *HelmChartDependencyUpdate)
- func (*HelmChartDependencyUpdate) Descriptor() ([]byte, []int)
- func (m *HelmChartDependencyUpdate) Marshal() (dAtA []byte, err error)
- func (m *HelmChartDependencyUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *HelmChartDependencyUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HelmChartDependencyUpdate) ProtoMessage()
- func (m *HelmChartDependencyUpdate) Reset()
- func (m *HelmChartDependencyUpdate) Size() (n int)
- func (this *HelmChartDependencyUpdate) String() string
- func (m *HelmChartDependencyUpdate) Unmarshal(dAtA []byte) error
- func (m *HelmChartDependencyUpdate) XXX_DiscardUnknown()
- func (m *HelmChartDependencyUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HelmChartDependencyUpdate) XXX_Merge(src proto.Message)
- func (m *HelmChartDependencyUpdate) XXX_Size() int
- func (m *HelmChartDependencyUpdate) XXX_Unmarshal(b []byte) error
- type HelmImageUpdate
- func (in *HelmImageUpdate) DeepCopy() *HelmImageUpdate
- func (in *HelmImageUpdate) DeepCopyInto(out *HelmImageUpdate)
- func (*HelmImageUpdate) Descriptor() ([]byte, []int)
- func (m *HelmImageUpdate) Marshal() (dAtA []byte, err error)
- func (m *HelmImageUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *HelmImageUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HelmImageUpdate) ProtoMessage()
- func (m *HelmImageUpdate) Reset()
- func (m *HelmImageUpdate) Size() (n int)
- func (this *HelmImageUpdate) String() string
- func (m *HelmImageUpdate) Unmarshal(dAtA []byte) error
- func (m *HelmImageUpdate) XXX_DiscardUnknown()
- func (m *HelmImageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HelmImageUpdate) XXX_Merge(src proto.Message)
- func (m *HelmImageUpdate) XXX_Size() int
- func (m *HelmImageUpdate) XXX_Unmarshal(b []byte) error
- type HelmPromotionMechanism
- func (in *HelmPromotionMechanism) DeepCopy() *HelmPromotionMechanism
- func (in *HelmPromotionMechanism) DeepCopyInto(out *HelmPromotionMechanism)
- func (*HelmPromotionMechanism) Descriptor() ([]byte, []int)
- func (m *HelmPromotionMechanism) Marshal() (dAtA []byte, err error)
- func (m *HelmPromotionMechanism) MarshalTo(dAtA []byte) (int, error)
- func (m *HelmPromotionMechanism) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HelmPromotionMechanism) ProtoMessage()
- func (m *HelmPromotionMechanism) Reset()
- func (m *HelmPromotionMechanism) Size() (n int)
- func (this *HelmPromotionMechanism) String() string
- func (m *HelmPromotionMechanism) Unmarshal(dAtA []byte) error
- func (m *HelmPromotionMechanism) XXX_DiscardUnknown()
- func (m *HelmPromotionMechanism) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HelmPromotionMechanism) XXX_Merge(src proto.Message)
- func (m *HelmPromotionMechanism) XXX_Size() int
- func (m *HelmPromotionMechanism) XXX_Unmarshal(b []byte) error
- type Image
- func (in *Image) DeepCopy() *Image
- func (in *Image) DeepCopyInto(out *Image)
- func (*Image) Descriptor() ([]byte, []int)
- func (m *Image) Marshal() (dAtA []byte, err error)
- func (m *Image) MarshalTo(dAtA []byte) (int, error)
- func (m *Image) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) Size() (n int)
- func (this *Image) String() string
- func (m *Image) Unmarshal(dAtA []byte) error
- func (m *Image) XXX_DiscardUnknown()
- func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Image) XXX_Merge(src proto.Message)
- func (m *Image) XXX_Size() int
- func (m *Image) XXX_Unmarshal(b []byte) error
- type ImageSelectionStrategy
- type ImageSubscription
- func (in *ImageSubscription) DeepCopy() *ImageSubscription
- func (in *ImageSubscription) DeepCopyInto(out *ImageSubscription)
- func (*ImageSubscription) Descriptor() ([]byte, []int)
- func (m *ImageSubscription) Marshal() (dAtA []byte, err error)
- func (m *ImageSubscription) MarshalTo(dAtA []byte) (int, error)
- func (m *ImageSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ImageSubscription) ProtoMessage()
- func (m *ImageSubscription) Reset()
- func (m *ImageSubscription) Size() (n int)
- func (this *ImageSubscription) String() string
- func (m *ImageSubscription) Unmarshal(dAtA []byte) error
- func (m *ImageSubscription) XXX_DiscardUnknown()
- func (m *ImageSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImageSubscription) XXX_Merge(src proto.Message)
- func (m *ImageSubscription) XXX_Size() int
- func (m *ImageSubscription) XXX_Unmarshal(b []byte) error
- type ImageUpdateValueType
- type KargoRenderImageUpdate
- func (in *KargoRenderImageUpdate) DeepCopy() *KargoRenderImageUpdate
- func (in *KargoRenderImageUpdate) DeepCopyInto(out *KargoRenderImageUpdate)
- func (*KargoRenderImageUpdate) Descriptor() ([]byte, []int)
- func (m *KargoRenderImageUpdate) Marshal() (dAtA []byte, err error)
- func (m *KargoRenderImageUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *KargoRenderImageUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KargoRenderImageUpdate) ProtoMessage()
- func (m *KargoRenderImageUpdate) Reset()
- func (m *KargoRenderImageUpdate) Size() (n int)
- func (this *KargoRenderImageUpdate) String() string
- func (m *KargoRenderImageUpdate) Unmarshal(dAtA []byte) error
- func (m *KargoRenderImageUpdate) XXX_DiscardUnknown()
- func (m *KargoRenderImageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KargoRenderImageUpdate) XXX_Merge(src proto.Message)
- func (m *KargoRenderImageUpdate) XXX_Size() int
- func (m *KargoRenderImageUpdate) XXX_Unmarshal(b []byte) error
- type KargoRenderPromotionMechanism
- func (in *KargoRenderPromotionMechanism) DeepCopy() *KargoRenderPromotionMechanism
- func (in *KargoRenderPromotionMechanism) DeepCopyInto(out *KargoRenderPromotionMechanism)
- func (*KargoRenderPromotionMechanism) Descriptor() ([]byte, []int)
- func (m *KargoRenderPromotionMechanism) Marshal() (dAtA []byte, err error)
- func (m *KargoRenderPromotionMechanism) MarshalTo(dAtA []byte) (int, error)
- func (m *KargoRenderPromotionMechanism) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KargoRenderPromotionMechanism) ProtoMessage()
- func (m *KargoRenderPromotionMechanism) Reset()
- func (m *KargoRenderPromotionMechanism) Size() (n int)
- func (this *KargoRenderPromotionMechanism) String() string
- func (m *KargoRenderPromotionMechanism) Unmarshal(dAtA []byte) error
- func (m *KargoRenderPromotionMechanism) XXX_DiscardUnknown()
- func (m *KargoRenderPromotionMechanism) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KargoRenderPromotionMechanism) XXX_Merge(src proto.Message)
- func (m *KargoRenderPromotionMechanism) XXX_Size() int
- func (m *KargoRenderPromotionMechanism) XXX_Unmarshal(b []byte) error
- type KustomizeImageUpdate
- func (in *KustomizeImageUpdate) DeepCopy() *KustomizeImageUpdate
- func (in *KustomizeImageUpdate) DeepCopyInto(out *KustomizeImageUpdate)
- func (*KustomizeImageUpdate) Descriptor() ([]byte, []int)
- func (m *KustomizeImageUpdate) Marshal() (dAtA []byte, err error)
- func (m *KustomizeImageUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *KustomizeImageUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KustomizeImageUpdate) ProtoMessage()
- func (m *KustomizeImageUpdate) Reset()
- func (m *KustomizeImageUpdate) Size() (n int)
- func (this *KustomizeImageUpdate) String() string
- func (m *KustomizeImageUpdate) Unmarshal(dAtA []byte) error
- func (m *KustomizeImageUpdate) XXX_DiscardUnknown()
- func (m *KustomizeImageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KustomizeImageUpdate) XXX_Merge(src proto.Message)
- func (m *KustomizeImageUpdate) XXX_Size() int
- func (m *KustomizeImageUpdate) XXX_Unmarshal(b []byte) error
- type KustomizePromotionMechanism
- func (in *KustomizePromotionMechanism) DeepCopy() *KustomizePromotionMechanism
- func (in *KustomizePromotionMechanism) DeepCopyInto(out *KustomizePromotionMechanism)
- func (*KustomizePromotionMechanism) Descriptor() ([]byte, []int)
- func (m *KustomizePromotionMechanism) Marshal() (dAtA []byte, err error)
- func (m *KustomizePromotionMechanism) MarshalTo(dAtA []byte) (int, error)
- func (m *KustomizePromotionMechanism) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KustomizePromotionMechanism) ProtoMessage()
- func (m *KustomizePromotionMechanism) Reset()
- func (m *KustomizePromotionMechanism) Size() (n int)
- func (this *KustomizePromotionMechanism) String() string
- func (m *KustomizePromotionMechanism) Unmarshal(dAtA []byte) error
- func (m *KustomizePromotionMechanism) XXX_DiscardUnknown()
- func (m *KustomizePromotionMechanism) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KustomizePromotionMechanism) XXX_Merge(src proto.Message)
- func (m *KustomizePromotionMechanism) XXX_Size() int
- func (m *KustomizePromotionMechanism) XXX_Unmarshal(b []byte) error
- type Project
- func (in *Project) DeepCopy() *Project
- func (in *Project) DeepCopyInto(out *Project)
- func (in *Project) DeepCopyObject() runtime.Object
- func (*Project) Descriptor() ([]byte, []int)
- func (p *Project) GetStatus() *ProjectStatus
- func (m *Project) Marshal() (dAtA []byte, err error)
- func (m *Project) MarshalTo(dAtA []byte) (int, error)
- func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Project) ProtoMessage()
- func (m *Project) Reset()
- func (m *Project) Size() (n int)
- func (this *Project) String() string
- func (m *Project) Unmarshal(dAtA []byte) error
- func (m *Project) XXX_DiscardUnknown()
- func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Project) XXX_Merge(src proto.Message)
- func (m *Project) XXX_Size() int
- func (m *Project) XXX_Unmarshal(b []byte) error
- type ProjectList
- func (in *ProjectList) DeepCopy() *ProjectList
- func (in *ProjectList) DeepCopyInto(out *ProjectList)
- func (in *ProjectList) DeepCopyObject() runtime.Object
- func (*ProjectList) Descriptor() ([]byte, []int)
- func (m *ProjectList) Marshal() (dAtA []byte, err error)
- func (m *ProjectList) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectList) ProtoMessage()
- func (m *ProjectList) Reset()
- func (m *ProjectList) Size() (n int)
- func (this *ProjectList) String() string
- func (m *ProjectList) Unmarshal(dAtA []byte) error
- func (m *ProjectList) XXX_DiscardUnknown()
- func (m *ProjectList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectList) XXX_Merge(src proto.Message)
- func (m *ProjectList) XXX_Size() int
- func (m *ProjectList) XXX_Unmarshal(b []byte) error
- type ProjectPhase
- type ProjectSpec
- func (in *ProjectSpec) DeepCopy() *ProjectSpec
- func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)
- func (*ProjectSpec) Descriptor() ([]byte, []int)
- func (m *ProjectSpec) Marshal() (dAtA []byte, err error)
- func (m *ProjectSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectSpec) ProtoMessage()
- func (m *ProjectSpec) Reset()
- func (m *ProjectSpec) Size() (n int)
- func (this *ProjectSpec) String() string
- func (m *ProjectSpec) Unmarshal(dAtA []byte) error
- func (m *ProjectSpec) XXX_DiscardUnknown()
- func (m *ProjectSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectSpec) XXX_Merge(src proto.Message)
- func (m *ProjectSpec) XXX_Size() int
- func (m *ProjectSpec) XXX_Unmarshal(b []byte) error
- type ProjectStatus
- func (in *ProjectStatus) DeepCopy() *ProjectStatus
- func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)
- func (*ProjectStatus) Descriptor() ([]byte, []int)
- func (m *ProjectStatus) Marshal() (dAtA []byte, err error)
- func (m *ProjectStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectStatus) ProtoMessage()
- func (m *ProjectStatus) Reset()
- func (m *ProjectStatus) Size() (n int)
- func (this *ProjectStatus) String() string
- func (m *ProjectStatus) Unmarshal(dAtA []byte) error
- func (m *ProjectStatus) XXX_DiscardUnknown()
- func (m *ProjectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectStatus) XXX_Merge(src proto.Message)
- func (m *ProjectStatus) XXX_Size() int
- func (m *ProjectStatus) XXX_Unmarshal(b []byte) error
- type Promotion
- func (in *Promotion) DeepCopy() *Promotion
- func (in *Promotion) DeepCopyInto(out *Promotion)
- func (in *Promotion) DeepCopyObject() runtime.Object
- func (*Promotion) Descriptor() ([]byte, []int)
- func (p *Promotion) GetStatus() *PromotionStatus
- func (m *Promotion) Marshal() (dAtA []byte, err error)
- func (m *Promotion) MarshalTo(dAtA []byte) (int, error)
- func (m *Promotion) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Promotion) ProtoMessage()
- func (m *Promotion) Reset()
- func (m *Promotion) Size() (n int)
- func (this *Promotion) String() string
- func (m *Promotion) Unmarshal(dAtA []byte) error
- func (m *Promotion) XXX_DiscardUnknown()
- func (m *Promotion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Promotion) XXX_Merge(src proto.Message)
- func (m *Promotion) XXX_Size() int
- func (m *Promotion) XXX_Unmarshal(b []byte) error
- type PromotionInfo
- func (in *PromotionInfo) DeepCopy() *PromotionInfo
- func (in *PromotionInfo) DeepCopyInto(out *PromotionInfo)
- func (*PromotionInfo) Descriptor() ([]byte, []int)
- func (m *PromotionInfo) Marshal() (dAtA []byte, err error)
- func (m *PromotionInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionInfo) ProtoMessage()
- func (m *PromotionInfo) Reset()
- func (m *PromotionInfo) Size() (n int)
- func (this *PromotionInfo) String() string
- func (m *PromotionInfo) Unmarshal(dAtA []byte) error
- func (m *PromotionInfo) XXX_DiscardUnknown()
- func (m *PromotionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionInfo) XXX_Merge(src proto.Message)
- func (m *PromotionInfo) XXX_Size() int
- func (m *PromotionInfo) XXX_Unmarshal(b []byte) error
- type PromotionList
- func (in *PromotionList) DeepCopy() *PromotionList
- func (in *PromotionList) DeepCopyInto(out *PromotionList)
- func (in *PromotionList) DeepCopyObject() runtime.Object
- func (*PromotionList) Descriptor() ([]byte, []int)
- func (m *PromotionList) Marshal() (dAtA []byte, err error)
- func (m *PromotionList) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionList) ProtoMessage()
- func (m *PromotionList) Reset()
- func (m *PromotionList) Size() (n int)
- func (this *PromotionList) String() string
- func (m *PromotionList) Unmarshal(dAtA []byte) error
- func (m *PromotionList) XXX_DiscardUnknown()
- func (m *PromotionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionList) XXX_Merge(src proto.Message)
- func (m *PromotionList) XXX_Size() int
- func (m *PromotionList) XXX_Unmarshal(b []byte) error
- type PromotionMechanisms
- func (in *PromotionMechanisms) DeepCopy() *PromotionMechanisms
- func (in *PromotionMechanisms) DeepCopyInto(out *PromotionMechanisms)
- func (*PromotionMechanisms) Descriptor() ([]byte, []int)
- func (m *PromotionMechanisms) Marshal() (dAtA []byte, err error)
- func (m *PromotionMechanisms) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionMechanisms) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionMechanisms) ProtoMessage()
- func (m *PromotionMechanisms) Reset()
- func (m *PromotionMechanisms) Size() (n int)
- func (this *PromotionMechanisms) String() string
- func (m *PromotionMechanisms) Unmarshal(dAtA []byte) error
- func (m *PromotionMechanisms) XXX_DiscardUnknown()
- func (m *PromotionMechanisms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionMechanisms) XXX_Merge(src proto.Message)
- func (m *PromotionMechanisms) XXX_Size() int
- func (m *PromotionMechanisms) XXX_Unmarshal(b []byte) error
- type PromotionPhase
- type PromotionPolicy
- func (in *PromotionPolicy) DeepCopy() *PromotionPolicy
- func (in *PromotionPolicy) DeepCopyInto(out *PromotionPolicy)
- func (*PromotionPolicy) Descriptor() ([]byte, []int)
- func (m *PromotionPolicy) Marshal() (dAtA []byte, err error)
- func (m *PromotionPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionPolicy) ProtoMessage()
- func (m *PromotionPolicy) Reset()
- func (m *PromotionPolicy) Size() (n int)
- func (this *PromotionPolicy) String() string
- func (m *PromotionPolicy) Unmarshal(dAtA []byte) error
- func (m *PromotionPolicy) XXX_DiscardUnknown()
- func (m *PromotionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionPolicy) XXX_Merge(src proto.Message)
- func (m *PromotionPolicy) XXX_Size() int
- func (m *PromotionPolicy) XXX_Unmarshal(b []byte) error
- type PromotionSpec
- func (in *PromotionSpec) DeepCopy() *PromotionSpec
- func (in *PromotionSpec) DeepCopyInto(out *PromotionSpec)
- func (*PromotionSpec) Descriptor() ([]byte, []int)
- func (m *PromotionSpec) Marshal() (dAtA []byte, err error)
- func (m *PromotionSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionSpec) ProtoMessage()
- func (m *PromotionSpec) Reset()
- func (m *PromotionSpec) Size() (n int)
- func (this *PromotionSpec) String() string
- func (m *PromotionSpec) Unmarshal(dAtA []byte) error
- func (m *PromotionSpec) XXX_DiscardUnknown()
- func (m *PromotionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionSpec) XXX_Merge(src proto.Message)
- func (m *PromotionSpec) XXX_Size() int
- func (m *PromotionSpec) XXX_Unmarshal(b []byte) error
- type PromotionStatus
- func (in *PromotionStatus) DeepCopy() *PromotionStatus
- func (in *PromotionStatus) DeepCopyInto(out *PromotionStatus)
- func (*PromotionStatus) Descriptor() ([]byte, []int)
- func (m *PromotionStatus) Marshal() (dAtA []byte, err error)
- func (m *PromotionStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionStatus) ProtoMessage()
- func (m *PromotionStatus) Reset()
- func (m *PromotionStatus) Size() (n int)
- func (this *PromotionStatus) String() string
- func (m *PromotionStatus) Unmarshal(dAtA []byte) error
- func (p *PromotionStatus) WithPhase(phase PromotionPhase) *PromotionStatus
- func (m *PromotionStatus) XXX_DiscardUnknown()
- func (m *PromotionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionStatus) XXX_Merge(src proto.Message)
- func (m *PromotionStatus) XXX_Size() int
- func (m *PromotionStatus) XXX_Unmarshal(b []byte) error
- type PullRequestPromotionMechanism
- func (in *PullRequestPromotionMechanism) DeepCopy() *PullRequestPromotionMechanism
- func (in *PullRequestPromotionMechanism) DeepCopyInto(out *PullRequestPromotionMechanism)
- func (*PullRequestPromotionMechanism) Descriptor() ([]byte, []int)
- func (m *PullRequestPromotionMechanism) Marshal() (dAtA []byte, err error)
- func (m *PullRequestPromotionMechanism) MarshalTo(dAtA []byte) (int, error)
- func (m *PullRequestPromotionMechanism) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PullRequestPromotionMechanism) ProtoMessage()
- func (m *PullRequestPromotionMechanism) Reset()
- func (m *PullRequestPromotionMechanism) Size() (n int)
- func (this *PullRequestPromotionMechanism) String() string
- func (m *PullRequestPromotionMechanism) Unmarshal(dAtA []byte) error
- func (m *PullRequestPromotionMechanism) XXX_DiscardUnknown()
- func (m *PullRequestPromotionMechanism) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PullRequestPromotionMechanism) XXX_Merge(src proto.Message)
- func (m *PullRequestPromotionMechanism) XXX_Size() int
- func (m *PullRequestPromotionMechanism) XXX_Unmarshal(b []byte) error
- type RepoSubscription
- func (in *RepoSubscription) DeepCopy() *RepoSubscription
- func (in *RepoSubscription) DeepCopyInto(out *RepoSubscription)
- func (*RepoSubscription) Descriptor() ([]byte, []int)
- func (m *RepoSubscription) Marshal() (dAtA []byte, err error)
- func (m *RepoSubscription) MarshalTo(dAtA []byte) (int, error)
- func (m *RepoSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RepoSubscription) ProtoMessage()
- func (m *RepoSubscription) Reset()
- func (m *RepoSubscription) Size() (n int)
- func (this *RepoSubscription) String() string
- func (m *RepoSubscription) Unmarshal(dAtA []byte) error
- func (m *RepoSubscription) XXX_DiscardUnknown()
- func (m *RepoSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepoSubscription) XXX_Merge(src proto.Message)
- func (m *RepoSubscription) XXX_Size() int
- func (m *RepoSubscription) XXX_Unmarshal(b []byte) error
- type Stage
- func (in *Stage) DeepCopy() *Stage
- func (in *Stage) DeepCopyInto(out *Stage)
- func (in *Stage) DeepCopyObject() runtime.Object
- func (*Stage) Descriptor() ([]byte, []int)
- func (s *Stage) GetStatus() *StageStatus
- func (m *Stage) Marshal() (dAtA []byte, err error)
- func (m *Stage) MarshalTo(dAtA []byte) (int, error)
- func (m *Stage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Stage) ProtoMessage()
- func (m *Stage) Reset()
- func (m *Stage) Size() (n int)
- func (this *Stage) String() string
- func (m *Stage) Unmarshal(dAtA []byte) error
- func (m *Stage) XXX_DiscardUnknown()
- func (m *Stage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stage) XXX_Merge(src proto.Message)
- func (m *Stage) XXX_Size() int
- func (m *Stage) XXX_Unmarshal(b []byte) error
- type StageList
- func (in *StageList) DeepCopy() *StageList
- func (in *StageList) DeepCopyInto(out *StageList)
- func (in *StageList) DeepCopyObject() runtime.Object
- func (*StageList) Descriptor() ([]byte, []int)
- func (m *StageList) Marshal() (dAtA []byte, err error)
- func (m *StageList) MarshalTo(dAtA []byte) (int, error)
- func (m *StageList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StageList) ProtoMessage()
- func (m *StageList) Reset()
- func (m *StageList) Size() (n int)
- func (this *StageList) String() string
- func (m *StageList) Unmarshal(dAtA []byte) error
- func (m *StageList) XXX_DiscardUnknown()
- func (m *StageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StageList) XXX_Merge(src proto.Message)
- func (m *StageList) XXX_Size() int
- func (m *StageList) XXX_Unmarshal(b []byte) error
- type StagePhase
- type StageSpec
- func (in *StageSpec) DeepCopy() *StageSpec
- func (in *StageSpec) DeepCopyInto(out *StageSpec)
- func (*StageSpec) Descriptor() ([]byte, []int)
- func (m *StageSpec) Marshal() (dAtA []byte, err error)
- func (m *StageSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *StageSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StageSpec) ProtoMessage()
- func (m *StageSpec) Reset()
- func (m *StageSpec) Size() (n int)
- func (this *StageSpec) String() string
- func (m *StageSpec) Unmarshal(dAtA []byte) error
- func (m *StageSpec) XXX_DiscardUnknown()
- func (m *StageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StageSpec) XXX_Merge(src proto.Message)
- func (m *StageSpec) XXX_Size() int
- func (m *StageSpec) XXX_Unmarshal(b []byte) error
- type StageStatus
- func (in *StageStatus) DeepCopy() *StageStatus
- func (in *StageStatus) DeepCopyInto(out *StageStatus)
- func (*StageStatus) Descriptor() ([]byte, []int)
- func (m *StageStatus) Marshal() (dAtA []byte, err error)
- func (m *StageStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *StageStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StageStatus) ProtoMessage()
- func (m *StageStatus) Reset()
- func (m *StageStatus) Size() (n int)
- func (this *StageStatus) String() string
- func (m *StageStatus) Unmarshal(dAtA []byte) error
- func (m *StageStatus) XXX_DiscardUnknown()
- func (m *StageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StageStatus) XXX_Merge(src proto.Message)
- func (m *StageStatus) XXX_Size() int
- func (m *StageStatus) XXX_Unmarshal(b []byte) error
- type StageSubscription
- func (in *StageSubscription) DeepCopy() *StageSubscription
- func (in *StageSubscription) DeepCopyInto(out *StageSubscription)
- func (*StageSubscription) Descriptor() ([]byte, []int)
- func (m *StageSubscription) Marshal() (dAtA []byte, err error)
- func (m *StageSubscription) MarshalTo(dAtA []byte) (int, error)
- func (m *StageSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StageSubscription) ProtoMessage()
- func (m *StageSubscription) Reset()
- func (m *StageSubscription) Size() (n int)
- func (this *StageSubscription) String() string
- func (m *StageSubscription) Unmarshal(dAtA []byte) error
- func (m *StageSubscription) XXX_DiscardUnknown()
- func (m *StageSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StageSubscription) XXX_Merge(src proto.Message)
- func (m *StageSubscription) XXX_Size() int
- func (m *StageSubscription) XXX_Unmarshal(b []byte) error
- type Subscriptions
- func (in *Subscriptions) DeepCopy() *Subscriptions
- func (in *Subscriptions) DeepCopyInto(out *Subscriptions)
- func (*Subscriptions) Descriptor() ([]byte, []int)
- func (m *Subscriptions) Marshal() (dAtA []byte, err error)
- func (m *Subscriptions) MarshalTo(dAtA []byte) (int, error)
- func (m *Subscriptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Subscriptions) ProtoMessage()
- func (m *Subscriptions) Reset()
- func (m *Subscriptions) Size() (n int)
- func (this *Subscriptions) String() string
- func (m *Subscriptions) Unmarshal(dAtA []byte) error
- func (m *Subscriptions) XXX_DiscardUnknown()
- func (m *Subscriptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Subscriptions) XXX_Merge(src proto.Message)
- func (m *Subscriptions) XXX_Size() int
- func (m *Subscriptions) XXX_Unmarshal(b []byte) error
- type Verification
- func (in *Verification) DeepCopy() *Verification
- func (in *Verification) DeepCopyInto(out *Verification)
- func (*Verification) Descriptor() ([]byte, []int)
- func (m *Verification) Marshal() (dAtA []byte, err error)
- func (m *Verification) MarshalTo(dAtA []byte) (int, error)
- func (m *Verification) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Verification) ProtoMessage()
- func (m *Verification) Reset()
- func (m *Verification) Size() (n int)
- func (this *Verification) String() string
- func (m *Verification) Unmarshal(dAtA []byte) error
- func (m *Verification) XXX_DiscardUnknown()
- func (m *Verification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Verification) XXX_Merge(src proto.Message)
- func (m *Verification) XXX_Size() int
- func (m *Verification) XXX_Unmarshal(b []byte) error
- type VerificationInfo
- func (in *VerificationInfo) DeepCopy() *VerificationInfo
- func (in *VerificationInfo) DeepCopyInto(out *VerificationInfo)
- func (*VerificationInfo) Descriptor() ([]byte, []int)
- func (v *VerificationInfo) HasAnalysisRun() bool
- func (m *VerificationInfo) Marshal() (dAtA []byte, err error)
- func (m *VerificationInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *VerificationInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VerificationInfo) ProtoMessage()
- func (m *VerificationInfo) Reset()
- func (m *VerificationInfo) Size() (n int)
- func (this *VerificationInfo) String() string
- func (m *VerificationInfo) Unmarshal(dAtA []byte) error
- func (m *VerificationInfo) XXX_DiscardUnknown()
- func (m *VerificationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerificationInfo) XXX_Merge(src proto.Message)
- func (m *VerificationInfo) XXX_Size() int
- func (m *VerificationInfo) XXX_Unmarshal(b []byte) error
- type VerificationInfoStack
- type VerificationPhase
- type VerificationRequest
- type VerifiedStage
- func (in *VerifiedStage) DeepCopy() *VerifiedStage
- func (in *VerifiedStage) DeepCopyInto(out *VerifiedStage)
- func (*VerifiedStage) Descriptor() ([]byte, []int)
- func (m *VerifiedStage) Marshal() (dAtA []byte, err error)
- func (m *VerifiedStage) MarshalTo(dAtA []byte) (int, error)
- func (m *VerifiedStage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VerifiedStage) ProtoMessage()
- func (m *VerifiedStage) Reset()
- func (m *VerifiedStage) Size() (n int)
- func (this *VerifiedStage) String() string
- func (m *VerifiedStage) Unmarshal(dAtA []byte) error
- func (m *VerifiedStage) XXX_DiscardUnknown()
- func (m *VerifiedStage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifiedStage) XXX_Merge(src proto.Message)
- func (m *VerifiedStage) XXX_Size() int
- func (m *VerifiedStage) XXX_Unmarshal(b []byte) error
- type Warehouse
- func (in *Warehouse) DeepCopy() *Warehouse
- func (in *Warehouse) DeepCopyInto(out *Warehouse)
- func (in *Warehouse) DeepCopyObject() runtime.Object
- func (*Warehouse) Descriptor() ([]byte, []int)
- func (w *Warehouse) GetStatus() *WarehouseStatus
- func (m *Warehouse) Marshal() (dAtA []byte, err error)
- func (m *Warehouse) MarshalTo(dAtA []byte) (int, error)
- func (m *Warehouse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Warehouse) ProtoMessage()
- func (m *Warehouse) Reset()
- func (m *Warehouse) Size() (n int)
- func (this *Warehouse) String() string
- func (m *Warehouse) Unmarshal(dAtA []byte) error
- func (m *Warehouse) XXX_DiscardUnknown()
- func (m *Warehouse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Warehouse) XXX_Merge(src proto.Message)
- func (m *Warehouse) XXX_Size() int
- func (m *Warehouse) XXX_Unmarshal(b []byte) error
- type WarehouseList
- func (in *WarehouseList) DeepCopy() *WarehouseList
- func (in *WarehouseList) DeepCopyInto(out *WarehouseList)
- func (in *WarehouseList) DeepCopyObject() runtime.Object
- func (*WarehouseList) Descriptor() ([]byte, []int)
- func (m *WarehouseList) Marshal() (dAtA []byte, err error)
- func (m *WarehouseList) MarshalTo(dAtA []byte) (int, error)
- func (m *WarehouseList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WarehouseList) ProtoMessage()
- func (m *WarehouseList) Reset()
- func (m *WarehouseList) Size() (n int)
- func (this *WarehouseList) String() string
- func (m *WarehouseList) Unmarshal(dAtA []byte) error
- func (m *WarehouseList) XXX_DiscardUnknown()
- func (m *WarehouseList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WarehouseList) XXX_Merge(src proto.Message)
- func (m *WarehouseList) XXX_Size() int
- func (m *WarehouseList) XXX_Unmarshal(b []byte) error
- type WarehouseSpec
- func (in *WarehouseSpec) DeepCopy() *WarehouseSpec
- func (in *WarehouseSpec) DeepCopyInto(out *WarehouseSpec)
- func (*WarehouseSpec) Descriptor() ([]byte, []int)
- func (m *WarehouseSpec) Marshal() (dAtA []byte, err error)
- func (m *WarehouseSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *WarehouseSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WarehouseSpec) ProtoMessage()
- func (m *WarehouseSpec) Reset()
- func (m *WarehouseSpec) Size() (n int)
- func (this *WarehouseSpec) String() string
- func (m *WarehouseSpec) Unmarshal(dAtA []byte) error
- func (m *WarehouseSpec) XXX_DiscardUnknown()
- func (m *WarehouseSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WarehouseSpec) XXX_Merge(src proto.Message)
- func (m *WarehouseSpec) XXX_Size() int
- func (m *WarehouseSpec) XXX_Unmarshal(b []byte) error
- type WarehouseStatus
- func (in *WarehouseStatus) DeepCopy() *WarehouseStatus
- func (in *WarehouseStatus) DeepCopyInto(out *WarehouseStatus)
- func (*WarehouseStatus) Descriptor() ([]byte, []int)
- func (m *WarehouseStatus) Marshal() (dAtA []byte, err error)
- func (m *WarehouseStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *WarehouseStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WarehouseStatus) ProtoMessage()
- func (m *WarehouseStatus) Reset()
- func (m *WarehouseStatus) Size() (n int)
- func (this *WarehouseStatus) String() string
- func (m *WarehouseStatus) Unmarshal(dAtA []byte) error
- func (m *WarehouseStatus) XXX_DiscardUnknown()
- func (m *WarehouseStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WarehouseStatus) XXX_Merge(src proto.Message)
- func (m *WarehouseStatus) XXX_Size() int
- func (m *WarehouseStatus) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // AnnotationKeyCreateActor is an annotation key that can be injected to a // resource by the Kargo control plane to indicate the actor that created // the resource. AnnotationKeyCreateActor = "kargo.akuity.io/create-actor" // AnnotationKeyRefresh is an annotation key that can be set on a resource // to trigger a refresh of the resource by the controller. The value of the // annotation is interpreted as a token, and any change to the value of the // annotation should trigger a reconciliation of the resource. AnnotationKeyRefresh = "kargo.akuity.io/refresh" // AnnotationKeyReverify is an annotation key that can be set on a Stage // resource to trigger the re-verification of its Freight. The value of the // annotation should either be the ID of the verification to be reverified, // or a JSON object with the structure of the VerificationRequest. AnnotationKeyReverify = "kargo.akuity.io/reverify" // AnnotationKeyAbort is an annotation key that can be set on a Stage // resource to abort the verification of its Freight. The value of the // annotation must be set to the identifier of the verification to be // aborted. AnnotationKeyAbort = "kargo.akuity.io/abort" // AnnotationKeyDescription is an annotation key that can be set on a // resource to provide a description of it. The value of the annotation may // be used by the Kargo UI to display additional information about the // resource. AnnotationKeyDescription = "kargo.akuity.io/description" AnnotationValueTrue = "true" )
const ( AnnotationKeyEventActor = "event.kargo.akuity.io/actor" AnnotationKeyEventProject = "event.kargo.akuity.io/project" AnnotationKeyEventPromotionName = "event.kargo.akuity.io/promotion-name" AnnotationKeyEventPromotionCreateTime = "event.kargo.akuity.io/promotion-create-time" AnnotationKeyEventFreightAlias = "event.kargo.akuity.io/freight-alias" AnnotationKeyEventFreightName = "event.kargo.akuity.io/freight-name" AnnotationKeyEventFreightCreateTime = "event.kargo.akuity.io/freight-create-time" AnnotationKeyEventFreightCommits = "event.kargo.akuity.io/freight-commits" AnnotationKeyEventFreightImages = "event.kargo.akuity.io/freight-images" AnnotationKeyEventFreightCharts = "event.kargo.akuity.io/freight-charts" AnnotationKeyEventStageName = "event.kargo.akuity.io/stage-name" AnnotationKeyEventAnalysisRunName = "event.kargo.akuity.io/analysis-run-name" AnnotationKeyEventVerificationPending = "event.kargo.akuity.io/verification-pending" AnnotationKeyEventVerificationStartTime = "event.kargo.akuity.io/verification-start-time" AnnotationKeyEventVerificationFinishTime = "event.kargo.akuity.io/verification-finish-time" )
const ( EventReasonPromotionCreated = "PromotionCreated" EventReasonPromotionSucceeded = "PromotionSucceeded" EventReasonPromotionFailed = "PromotionFailed" EventReasonPromotionErrored = "PromotionErrored" EventReasonFreightApproved = "FreightApproved" EventReasonFreightVerificationSucceeded = "FreightVerificationSucceeded" EventReasonFreightVerificationFailed = "FreightVerificationFailed" EventReasonFreightVerificationErrored = "FreightVerificationErrored" EventReasonFreightVerificationAborted = "FreightVerificationAborted" EventReasonFreightVerificationInconclusive = "FreightVerificationInconclusive" EventReasonFreightVerificationUnknown = "FreightVerificationUnknown" )
const ( EventActorAdmin = "admin" EventActorControllerPrefix = "controller:" EventActorEmailPrefix = "email:" EventActorSubjectPrefix = "subject:" EventActorKubernetesUserPrefix = "kubernetes:" EventActorUnknown = "unknown actor" )
const ( AliasLabelKey = "kargo.akuity.io/alias" // Credentials CredentialTypeLabelKey = "kargo.akuity.io/cred-type" // nolint: gosec CredentialTypeLabelValueGit = "git" CredentialTypeLabelValueHelm = "helm" CredentialTypeLabelValueImage = "image" // Kargo core API FreightLabelKey = "kargo.akuity.io/freight" ProjectLabelKey = "kargo.akuity.io/project" PromotionLabelKey = "kargo.akuity.io/promotion" ShardLabelKey = "kargo.akuity.io/shard" StageLabelKey = "kargo.akuity.io/stage" LabelTrueValue = "true" FinalizerName = "kargo.akuity.io/finalizer" V06CompatibilityLabelKey = "kargo.akuity.com/v0.6-compatible" )
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{ Group: "kargo.akuity.io", Version: "v1alpha1", } // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func AbortStageFreightVerification ¶ added in v0.5.0
func AbortStageFreightVerification( ctx context.Context, c client.Client, namespacedName types.NamespacedName, ) error
AbortStageFreightVerification forces aborting the verification of the Freight associated with a Stage by setting an AnnotationKeyAbort annotation on the Stage, causing the controller to abort the verification. The annotation value is the identifier of the existing VerificationInfo for the Stage.
func AddFinalizer ¶ added in v0.5.0
func ClearAnnotations ¶ added in v0.5.0
func EnsureV06CompatibilityLabel ¶ added in v0.6.0
func FormatEventControllerActor ¶ added in v0.6.0
func FormatEventKubernetesUserActor ¶ added in v0.6.0
func FormatEventUserActor ¶ added in v0.6.0
FormatEventUserActor returns a string representation of the user acting in an event that can be used as a value of AnnotationKeyEventActor.
1. If the user is admin, it returns EventActorAdmin since other information is not available. 2. If the email is available, it returns email in "email:<email>" format. 3. If the subject is available, it returns subject in "subject:<subject>" format. 4. Otherwise, it returns EventActorUnknown.
func IsFreightAvailable ¶ added in v0.3.0
IsFreightAvailable answers whether the specified Freight is available to the specified Stage having the specified upstream stages. Freight is available if:
- No upstreamStages are specified OR
- The Freight has been verified in ANY of the specified upstream stages OR
- The Freight is approved for the specified stage
Note: The rationale for returning true when no upstream stages are specified is that some Stages have no upstream Stages (e.g. a Stage that subscribes to a Warehouse), so ANY Freight is available to such a Stage.
func IsV06Compatible ¶ added in v0.6.0
func NewFreightApprovedEventAnnotations ¶ added in v0.6.0
func NewPromotionEventAnnotations ¶ added in v0.6.0
func NewPromotionEventAnnotations( ctx context.Context, actor string, p *Promotion, f *Freight, ) map[string]string
NewPromotionEventAnnotations returns annotations for a Promotion related event. It may skip some fields when error occurred during serialization, to record event with best-effort.
func RefreshAnnotationValue ¶ added in v0.6.0
RefreshAnnotationValue returns the value of the AnnotationKeyRefresh annotation which can be used to detect changes, and a boolean indicating whether the annotation was present.
func ReverifyStageFreight ¶ added in v0.5.0
func ReverifyStageFreight( ctx context.Context, c client.Client, namespacedName types.NamespacedName, ) error
ReverifyStageFreight forces reconfirmation of the verification of the Freight associated with a Stage by setting an AnnotationKeyReverify annotation on the Stage, causing the controller to rerun the verification. The annotation value is the identifier of the existing VerificationInfo for the Stage.
Types ¶
type AnalysisRunArgument ¶ added in v0.3.0
type AnalysisRunArgument struct { // Name is the name of the argument. // // +kubebuilder:validation:Required Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Value is the value of the argument. // // +kubebuilder:validation:Required Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"` }
AnalysisRunArgument represents an argument to be added to an AnalysisRun.
func (*AnalysisRunArgument) DeepCopy ¶ added in v0.3.0
func (in *AnalysisRunArgument) DeepCopy() *AnalysisRunArgument
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisRunArgument.
func (*AnalysisRunArgument) DeepCopyInto ¶ added in v0.3.0
func (in *AnalysisRunArgument) DeepCopyInto(out *AnalysisRunArgument)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AnalysisRunArgument) Descriptor ¶ added in v0.5.0
func (*AnalysisRunArgument) Descriptor() ([]byte, []int)
func (*AnalysisRunArgument) Marshal ¶ added in v0.5.0
func (m *AnalysisRunArgument) Marshal() (dAtA []byte, err error)
func (*AnalysisRunArgument) MarshalTo ¶ added in v0.5.0
func (m *AnalysisRunArgument) MarshalTo(dAtA []byte) (int, error)
func (*AnalysisRunArgument) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *AnalysisRunArgument) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnalysisRunArgument) ProtoMessage ¶ added in v0.5.0
func (*AnalysisRunArgument) ProtoMessage()
func (*AnalysisRunArgument) Reset ¶ added in v0.5.0
func (m *AnalysisRunArgument) Reset()
func (*AnalysisRunArgument) Size ¶ added in v0.5.0
func (m *AnalysisRunArgument) Size() (n int)
func (*AnalysisRunArgument) String ¶ added in v0.5.0
func (this *AnalysisRunArgument) String() string
func (*AnalysisRunArgument) Unmarshal ¶ added in v0.5.0
func (m *AnalysisRunArgument) Unmarshal(dAtA []byte) error
func (*AnalysisRunArgument) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *AnalysisRunArgument) XXX_DiscardUnknown()
func (*AnalysisRunArgument) XXX_Marshal ¶ added in v0.5.0
func (m *AnalysisRunArgument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnalysisRunArgument) XXX_Merge ¶ added in v0.5.0
func (m *AnalysisRunArgument) XXX_Merge(src proto.Message)
func (*AnalysisRunArgument) XXX_Size ¶ added in v0.5.0
func (m *AnalysisRunArgument) XXX_Size() int
func (*AnalysisRunArgument) XXX_Unmarshal ¶ added in v0.5.0
func (m *AnalysisRunArgument) XXX_Unmarshal(b []byte) error
type AnalysisRunMetadata ¶ added in v0.3.0
type AnalysisRunMetadata struct { // Additional labels to apply to an AnalysisRun. Labels map[string]string `` /* 132-byte string literal not displayed */ // Additional annotations to apply to an AnalysisRun. Annotations map[string]string `` /* 142-byte string literal not displayed */ }
AnalysisRunMetadata contains optional metadata that should be applied to all AnalysisRuns.
func (*AnalysisRunMetadata) DeepCopy ¶ added in v0.3.0
func (in *AnalysisRunMetadata) DeepCopy() *AnalysisRunMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisRunMetadata.
func (*AnalysisRunMetadata) DeepCopyInto ¶ added in v0.3.0
func (in *AnalysisRunMetadata) DeepCopyInto(out *AnalysisRunMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AnalysisRunMetadata) Descriptor ¶ added in v0.5.0
func (*AnalysisRunMetadata) Descriptor() ([]byte, []int)
func (*AnalysisRunMetadata) Marshal ¶ added in v0.5.0
func (m *AnalysisRunMetadata) Marshal() (dAtA []byte, err error)
func (*AnalysisRunMetadata) MarshalTo ¶ added in v0.5.0
func (m *AnalysisRunMetadata) MarshalTo(dAtA []byte) (int, error)
func (*AnalysisRunMetadata) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *AnalysisRunMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnalysisRunMetadata) ProtoMessage ¶ added in v0.5.0
func (*AnalysisRunMetadata) ProtoMessage()
func (*AnalysisRunMetadata) Reset ¶ added in v0.5.0
func (m *AnalysisRunMetadata) Reset()
func (*AnalysisRunMetadata) Size ¶ added in v0.5.0
func (m *AnalysisRunMetadata) Size() (n int)
func (*AnalysisRunMetadata) String ¶ added in v0.5.0
func (this *AnalysisRunMetadata) String() string
func (*AnalysisRunMetadata) Unmarshal ¶ added in v0.5.0
func (m *AnalysisRunMetadata) Unmarshal(dAtA []byte) error
func (*AnalysisRunMetadata) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *AnalysisRunMetadata) XXX_DiscardUnknown()
func (*AnalysisRunMetadata) XXX_Marshal ¶ added in v0.5.0
func (m *AnalysisRunMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnalysisRunMetadata) XXX_Merge ¶ added in v0.5.0
func (m *AnalysisRunMetadata) XXX_Merge(src proto.Message)
func (*AnalysisRunMetadata) XXX_Size ¶ added in v0.5.0
func (m *AnalysisRunMetadata) XXX_Size() int
func (*AnalysisRunMetadata) XXX_Unmarshal ¶ added in v0.5.0
func (m *AnalysisRunMetadata) XXX_Unmarshal(b []byte) error
type AnalysisRunReference ¶ added in v0.3.0
type AnalysisRunReference struct { // Namespace is the namespace of the AnalysisRun. Namespace string `json:"namespace" protobuf:"bytes,1,opt,name=namespace"` // Name is the name of the AnalysisRun. Name string `json:"name" protobuf:"bytes,2,opt,name=name"` // Phase is the last observed phase of the AnalysisRun referenced by Name. Phase string `json:"phase" protobuf:"bytes,3,opt,name=phase"` }
AnalysisRunReference is a reference to an AnalysisRun.
func (*AnalysisRunReference) DeepCopy ¶ added in v0.3.0
func (in *AnalysisRunReference) DeepCopy() *AnalysisRunReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisRunReference.
func (*AnalysisRunReference) DeepCopyInto ¶ added in v0.3.0
func (in *AnalysisRunReference) DeepCopyInto(out *AnalysisRunReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AnalysisRunReference) Descriptor ¶ added in v0.5.0
func (*AnalysisRunReference) Descriptor() ([]byte, []int)
func (*AnalysisRunReference) Marshal ¶ added in v0.5.0
func (m *AnalysisRunReference) Marshal() (dAtA []byte, err error)
func (*AnalysisRunReference) MarshalTo ¶ added in v0.5.0
func (m *AnalysisRunReference) MarshalTo(dAtA []byte) (int, error)
func (*AnalysisRunReference) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *AnalysisRunReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnalysisRunReference) ProtoMessage ¶ added in v0.5.0
func (*AnalysisRunReference) ProtoMessage()
func (*AnalysisRunReference) Reset ¶ added in v0.5.0
func (m *AnalysisRunReference) Reset()
func (*AnalysisRunReference) Size ¶ added in v0.5.0
func (m *AnalysisRunReference) Size() (n int)
func (*AnalysisRunReference) String ¶ added in v0.5.0
func (this *AnalysisRunReference) String() string
func (*AnalysisRunReference) Unmarshal ¶ added in v0.5.0
func (m *AnalysisRunReference) Unmarshal(dAtA []byte) error
func (*AnalysisRunReference) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *AnalysisRunReference) XXX_DiscardUnknown()
func (*AnalysisRunReference) XXX_Marshal ¶ added in v0.5.0
func (m *AnalysisRunReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnalysisRunReference) XXX_Merge ¶ added in v0.5.0
func (m *AnalysisRunReference) XXX_Merge(src proto.Message)
func (*AnalysisRunReference) XXX_Size ¶ added in v0.5.0
func (m *AnalysisRunReference) XXX_Size() int
func (*AnalysisRunReference) XXX_Unmarshal ¶ added in v0.5.0
func (m *AnalysisRunReference) XXX_Unmarshal(b []byte) error
type AnalysisTemplateReference ¶ added in v0.3.0
type AnalysisTemplateReference struct { // Name is the name of the AnalysisTemplate in the same project/namespace as // the Stage. // // +kubebuilder:validation:Required Name string `json:"name" protobuf:"bytes,1,opt,name=name"` }
AnalysisTemplateReference is a reference to an AnalysisTemplate.
func (*AnalysisTemplateReference) DeepCopy ¶ added in v0.3.0
func (in *AnalysisTemplateReference) DeepCopy() *AnalysisTemplateReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisTemplateReference.
func (*AnalysisTemplateReference) DeepCopyInto ¶ added in v0.3.0
func (in *AnalysisTemplateReference) DeepCopyInto(out *AnalysisTemplateReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AnalysisTemplateReference) Descriptor ¶ added in v0.5.0
func (*AnalysisTemplateReference) Descriptor() ([]byte, []int)
func (*AnalysisTemplateReference) Marshal ¶ added in v0.5.0
func (m *AnalysisTemplateReference) Marshal() (dAtA []byte, err error)
func (*AnalysisTemplateReference) MarshalTo ¶ added in v0.5.0
func (m *AnalysisTemplateReference) MarshalTo(dAtA []byte) (int, error)
func (*AnalysisTemplateReference) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *AnalysisTemplateReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnalysisTemplateReference) ProtoMessage ¶ added in v0.5.0
func (*AnalysisTemplateReference) ProtoMessage()
func (*AnalysisTemplateReference) Reset ¶ added in v0.5.0
func (m *AnalysisTemplateReference) Reset()
func (*AnalysisTemplateReference) Size ¶ added in v0.5.0
func (m *AnalysisTemplateReference) Size() (n int)
func (*AnalysisTemplateReference) String ¶ added in v0.5.0
func (this *AnalysisTemplateReference) String() string
func (*AnalysisTemplateReference) Unmarshal ¶ added in v0.5.0
func (m *AnalysisTemplateReference) Unmarshal(dAtA []byte) error
func (*AnalysisTemplateReference) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *AnalysisTemplateReference) XXX_DiscardUnknown()
func (*AnalysisTemplateReference) XXX_Marshal ¶ added in v0.5.0
func (m *AnalysisTemplateReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnalysisTemplateReference) XXX_Merge ¶ added in v0.5.0
func (m *AnalysisTemplateReference) XXX_Merge(src proto.Message)
func (*AnalysisTemplateReference) XXX_Size ¶ added in v0.5.0
func (m *AnalysisTemplateReference) XXX_Size() int
func (*AnalysisTemplateReference) XXX_Unmarshal ¶ added in v0.5.0
func (m *AnalysisTemplateReference) XXX_Unmarshal(b []byte) error
type ApprovedStage ¶ added in v0.3.0
type ApprovedStage struct{}
ApprovedStage describes a Stage for which Freight has been (manually) approved.
func (*ApprovedStage) DeepCopy ¶ added in v0.3.0
func (in *ApprovedStage) DeepCopy() *ApprovedStage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApprovedStage.
func (*ApprovedStage) DeepCopyInto ¶ added in v0.3.0
func (in *ApprovedStage) DeepCopyInto(out *ApprovedStage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApprovedStage) Descriptor ¶ added in v0.5.0
func (*ApprovedStage) Descriptor() ([]byte, []int)
func (*ApprovedStage) Marshal ¶ added in v0.5.0
func (m *ApprovedStage) Marshal() (dAtA []byte, err error)
func (*ApprovedStage) MarshalTo ¶ added in v0.5.0
func (m *ApprovedStage) MarshalTo(dAtA []byte) (int, error)
func (*ApprovedStage) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ApprovedStage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ApprovedStage) ProtoMessage ¶ added in v0.5.0
func (*ApprovedStage) ProtoMessage()
func (*ApprovedStage) Reset ¶ added in v0.5.0
func (m *ApprovedStage) Reset()
func (*ApprovedStage) Size ¶ added in v0.5.0
func (m *ApprovedStage) Size() (n int)
func (*ApprovedStage) String ¶ added in v0.5.0
func (this *ApprovedStage) String() string
func (*ApprovedStage) Unmarshal ¶ added in v0.5.0
func (m *ApprovedStage) Unmarshal(dAtA []byte) error
func (*ApprovedStage) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ApprovedStage) XXX_DiscardUnknown()
func (*ApprovedStage) XXX_Marshal ¶ added in v0.5.0
func (m *ApprovedStage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApprovedStage) XXX_Merge ¶ added in v0.5.0
func (m *ApprovedStage) XXX_Merge(src proto.Message)
func (*ApprovedStage) XXX_Size ¶ added in v0.5.0
func (m *ApprovedStage) XXX_Size() int
func (*ApprovedStage) XXX_Unmarshal ¶ added in v0.5.0
func (m *ApprovedStage) XXX_Unmarshal(b []byte) error
type ArgoCDAppHealthState ¶
type ArgoCDAppHealthState string
const ( ArgoCDAppHealthStateUnknown ArgoCDAppHealthState = "Unknown" ArgoCDAppHealthStateProgressing ArgoCDAppHealthState = "Progressing" ArgoCDAppHealthStateHealthy ArgoCDAppHealthState = "Healthy" ArgoCDAppHealthStateSuspended ArgoCDAppHealthState = "Suspended" ArgoCDAppHealthStateDegraded ArgoCDAppHealthState = "Degraded" ArgoCDAppHealthStateMissing ArgoCDAppHealthState = "Missing" )
type ArgoCDAppHealthStatus ¶
type ArgoCDAppHealthStatus struct { Status ArgoCDAppHealthState `json:"status" protobuf:"bytes,1,opt,name=status"` Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` }
ArgoCDAppHealthStatus describes the health of an ArgoCD Application.
func (*ArgoCDAppHealthStatus) DeepCopy ¶
func (in *ArgoCDAppHealthStatus) DeepCopy() *ArgoCDAppHealthStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDAppHealthStatus.
func (*ArgoCDAppHealthStatus) DeepCopyInto ¶
func (in *ArgoCDAppHealthStatus) DeepCopyInto(out *ArgoCDAppHealthStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDAppHealthStatus) Descriptor ¶ added in v0.5.0
func (*ArgoCDAppHealthStatus) Descriptor() ([]byte, []int)
func (*ArgoCDAppHealthStatus) Marshal ¶ added in v0.5.0
func (m *ArgoCDAppHealthStatus) Marshal() (dAtA []byte, err error)
func (*ArgoCDAppHealthStatus) MarshalTo ¶ added in v0.5.0
func (m *ArgoCDAppHealthStatus) MarshalTo(dAtA []byte) (int, error)
func (*ArgoCDAppHealthStatus) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ArgoCDAppHealthStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArgoCDAppHealthStatus) ProtoMessage ¶ added in v0.5.0
func (*ArgoCDAppHealthStatus) ProtoMessage()
func (*ArgoCDAppHealthStatus) Reset ¶ added in v0.5.0
func (m *ArgoCDAppHealthStatus) Reset()
func (*ArgoCDAppHealthStatus) Size ¶ added in v0.5.0
func (m *ArgoCDAppHealthStatus) Size() (n int)
func (*ArgoCDAppHealthStatus) String ¶ added in v0.5.0
func (this *ArgoCDAppHealthStatus) String() string
func (*ArgoCDAppHealthStatus) Unmarshal ¶ added in v0.5.0
func (m *ArgoCDAppHealthStatus) Unmarshal(dAtA []byte) error
func (*ArgoCDAppHealthStatus) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ArgoCDAppHealthStatus) XXX_DiscardUnknown()
func (*ArgoCDAppHealthStatus) XXX_Marshal ¶ added in v0.5.0
func (m *ArgoCDAppHealthStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArgoCDAppHealthStatus) XXX_Merge ¶ added in v0.5.0
func (m *ArgoCDAppHealthStatus) XXX_Merge(src proto.Message)
func (*ArgoCDAppHealthStatus) XXX_Size ¶ added in v0.5.0
func (m *ArgoCDAppHealthStatus) XXX_Size() int
func (*ArgoCDAppHealthStatus) XXX_Unmarshal ¶ added in v0.5.0
func (m *ArgoCDAppHealthStatus) XXX_Unmarshal(b []byte) error
type ArgoCDAppStatus ¶
type ArgoCDAppStatus struct { // Namespace is the namespace of the ArgoCD Application. Namespace string `json:"namespace" protobuf:"bytes,1,opt,name=namespace"` // Name is the name of the ArgoCD Application. Name string `json:"name" protobuf:"bytes,2,opt,name=name"` // HealthStatus is the health of the ArgoCD Application. HealthStatus ArgoCDAppHealthStatus `json:"healthStatus,omitempty" protobuf:"bytes,3,opt,name=healthStatus"` // SyncStatus is the sync status of the ArgoCD Application. SyncStatus ArgoCDAppSyncStatus `json:"syncStatus,omitempty" protobuf:"bytes,4,opt,name=syncStatus"` }
ArgoCDAppStatus describes the current state of a single ArgoCD Application.
func (*ArgoCDAppStatus) DeepCopy ¶
func (in *ArgoCDAppStatus) DeepCopy() *ArgoCDAppStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDAppStatus.
func (*ArgoCDAppStatus) DeepCopyInto ¶
func (in *ArgoCDAppStatus) DeepCopyInto(out *ArgoCDAppStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDAppStatus) Descriptor ¶ added in v0.5.0
func (*ArgoCDAppStatus) Descriptor() ([]byte, []int)
func (*ArgoCDAppStatus) Marshal ¶ added in v0.5.0
func (m *ArgoCDAppStatus) Marshal() (dAtA []byte, err error)
func (*ArgoCDAppStatus) MarshalTo ¶ added in v0.5.0
func (m *ArgoCDAppStatus) MarshalTo(dAtA []byte) (int, error)
func (*ArgoCDAppStatus) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ArgoCDAppStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArgoCDAppStatus) ProtoMessage ¶ added in v0.5.0
func (*ArgoCDAppStatus) ProtoMessage()
func (*ArgoCDAppStatus) Reset ¶ added in v0.5.0
func (m *ArgoCDAppStatus) Reset()
func (*ArgoCDAppStatus) Size ¶ added in v0.5.0
func (m *ArgoCDAppStatus) Size() (n int)
func (*ArgoCDAppStatus) String ¶ added in v0.5.0
func (this *ArgoCDAppStatus) String() string
func (*ArgoCDAppStatus) Unmarshal ¶ added in v0.5.0
func (m *ArgoCDAppStatus) Unmarshal(dAtA []byte) error
func (*ArgoCDAppStatus) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ArgoCDAppStatus) XXX_DiscardUnknown()
func (*ArgoCDAppStatus) XXX_Marshal ¶ added in v0.5.0
func (m *ArgoCDAppStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArgoCDAppStatus) XXX_Merge ¶ added in v0.5.0
func (m *ArgoCDAppStatus) XXX_Merge(src proto.Message)
func (*ArgoCDAppStatus) XXX_Size ¶ added in v0.5.0
func (m *ArgoCDAppStatus) XXX_Size() int
func (*ArgoCDAppStatus) XXX_Unmarshal ¶ added in v0.5.0
func (m *ArgoCDAppStatus) XXX_Unmarshal(b []byte) error
type ArgoCDAppSyncState ¶
type ArgoCDAppSyncState string
const ( ArgoCDAppSyncStateUnknown ArgoCDAppSyncState = "Unknown" ArgoCDAppSyncStateSynced ArgoCDAppSyncState = "Synced" ArgoCDAppSyncStateOutOfSync ArgoCDAppSyncState = "OutOfSync" )
type ArgoCDAppSyncStatus ¶
type ArgoCDAppSyncStatus struct { Status ArgoCDAppSyncState `json:"status" protobuf:"bytes,1,opt,name=status"` Revision string `json:"revision,omitempty" protobuf:"bytes,2,opt,name=revision"` Revisions []string `json:"revisions,omitempty" protobuf:"bytes,3,rep,name=revisions"` }
ArgoCDAppSyncStatus describes the sync status of an ArgoCD Application.
func (*ArgoCDAppSyncStatus) DeepCopy ¶
func (in *ArgoCDAppSyncStatus) DeepCopy() *ArgoCDAppSyncStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDAppSyncStatus.
func (*ArgoCDAppSyncStatus) DeepCopyInto ¶
func (in *ArgoCDAppSyncStatus) DeepCopyInto(out *ArgoCDAppSyncStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDAppSyncStatus) Descriptor ¶ added in v0.5.0
func (*ArgoCDAppSyncStatus) Descriptor() ([]byte, []int)
func (*ArgoCDAppSyncStatus) Marshal ¶ added in v0.5.0
func (m *ArgoCDAppSyncStatus) Marshal() (dAtA []byte, err error)
func (*ArgoCDAppSyncStatus) MarshalTo ¶ added in v0.5.0
func (m *ArgoCDAppSyncStatus) MarshalTo(dAtA []byte) (int, error)
func (*ArgoCDAppSyncStatus) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ArgoCDAppSyncStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArgoCDAppSyncStatus) ProtoMessage ¶ added in v0.5.0
func (*ArgoCDAppSyncStatus) ProtoMessage()
func (*ArgoCDAppSyncStatus) Reset ¶ added in v0.5.0
func (m *ArgoCDAppSyncStatus) Reset()
func (*ArgoCDAppSyncStatus) Size ¶ added in v0.5.0
func (m *ArgoCDAppSyncStatus) Size() (n int)
func (*ArgoCDAppSyncStatus) String ¶ added in v0.5.0
func (this *ArgoCDAppSyncStatus) String() string
func (*ArgoCDAppSyncStatus) Unmarshal ¶ added in v0.5.0
func (m *ArgoCDAppSyncStatus) Unmarshal(dAtA []byte) error
func (*ArgoCDAppSyncStatus) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ArgoCDAppSyncStatus) XXX_DiscardUnknown()
func (*ArgoCDAppSyncStatus) XXX_Marshal ¶ added in v0.5.0
func (m *ArgoCDAppSyncStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArgoCDAppSyncStatus) XXX_Merge ¶ added in v0.5.0
func (m *ArgoCDAppSyncStatus) XXX_Merge(src proto.Message)
func (*ArgoCDAppSyncStatus) XXX_Size ¶ added in v0.5.0
func (m *ArgoCDAppSyncStatus) XXX_Size() int
func (*ArgoCDAppSyncStatus) XXX_Unmarshal ¶ added in v0.5.0
func (m *ArgoCDAppSyncStatus) XXX_Unmarshal(b []byte) error
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 `json:"appName" protobuf:"bytes,1,opt,name=appName"` // AppNamespace specifies the namespace of an Argo CD Application resource to // be updated. If left unspecified, the namespace of this Application resource // will use the value of ARGOCD_NAMESPACE or "argocd" // // +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 `json:"appNamespace,omitempty" protobuf:"bytes,2,opt,name=appNamespace"` // SourceUpdates describes updates to be applied to various sources of the // specified Argo CD Application resource. SourceUpdates []ArgoCDSourceUpdate `json:"sourceUpdates,omitempty" protobuf:"bytes,3,rep,name=sourceUpdates"` }
ArgoCDAppUpdate describes updates that should be applied to an Argo CD Application resources to incorporate Freight into a Stage.
func (*ArgoCDAppUpdate) DeepCopy ¶
func (in *ArgoCDAppUpdate) DeepCopy() *ArgoCDAppUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDAppUpdate.
func (*ArgoCDAppUpdate) DeepCopyInto ¶
func (in *ArgoCDAppUpdate) DeepCopyInto(out *ArgoCDAppUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDAppUpdate) Descriptor ¶ added in v0.5.0
func (*ArgoCDAppUpdate) Descriptor() ([]byte, []int)
func (*ArgoCDAppUpdate) Marshal ¶ added in v0.5.0
func (m *ArgoCDAppUpdate) Marshal() (dAtA []byte, err error)
func (*ArgoCDAppUpdate) MarshalTo ¶ added in v0.5.0
func (m *ArgoCDAppUpdate) MarshalTo(dAtA []byte) (int, error)
func (*ArgoCDAppUpdate) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ArgoCDAppUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArgoCDAppUpdate) ProtoMessage ¶ added in v0.5.0
func (*ArgoCDAppUpdate) ProtoMessage()
func (*ArgoCDAppUpdate) Reset ¶ added in v0.5.0
func (m *ArgoCDAppUpdate) Reset()
func (*ArgoCDAppUpdate) Size ¶ added in v0.5.0
func (m *ArgoCDAppUpdate) Size() (n int)
func (*ArgoCDAppUpdate) String ¶ added in v0.5.0
func (this *ArgoCDAppUpdate) String() string
func (*ArgoCDAppUpdate) Unmarshal ¶ added in v0.5.0
func (m *ArgoCDAppUpdate) Unmarshal(dAtA []byte) error
func (*ArgoCDAppUpdate) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ArgoCDAppUpdate) XXX_DiscardUnknown()
func (*ArgoCDAppUpdate) XXX_Marshal ¶ added in v0.5.0
func (m *ArgoCDAppUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArgoCDAppUpdate) XXX_Merge ¶ added in v0.5.0
func (m *ArgoCDAppUpdate) XXX_Merge(src proto.Message)
func (*ArgoCDAppUpdate) XXX_Size ¶ added in v0.5.0
func (m *ArgoCDAppUpdate) XXX_Size() int
func (*ArgoCDAppUpdate) XXX_Unmarshal ¶ added in v0.5.0
func (m *ArgoCDAppUpdate) XXX_Unmarshal(b []byte) error
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 `json:"images" protobuf:"bytes,1,rep,name=images"` }
ArgoCDHelm describes updates to an Argo CD Application source's Helm-specific attributes to incorporate newly observed Freight into a Stage.
func (*ArgoCDHelm) DeepCopy ¶
func (in *ArgoCDHelm) DeepCopy() *ArgoCDHelm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDHelm.
func (*ArgoCDHelm) DeepCopyInto ¶
func (in *ArgoCDHelm) DeepCopyInto(out *ArgoCDHelm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDHelm) Descriptor ¶ added in v0.5.0
func (*ArgoCDHelm) Descriptor() ([]byte, []int)
func (*ArgoCDHelm) Marshal ¶ added in v0.5.0
func (m *ArgoCDHelm) Marshal() (dAtA []byte, err error)
func (*ArgoCDHelm) MarshalTo ¶ added in v0.5.0
func (m *ArgoCDHelm) MarshalTo(dAtA []byte) (int, error)
func (*ArgoCDHelm) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ArgoCDHelm) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArgoCDHelm) ProtoMessage ¶ added in v0.5.0
func (*ArgoCDHelm) ProtoMessage()
func (*ArgoCDHelm) Reset ¶ added in v0.5.0
func (m *ArgoCDHelm) Reset()
func (*ArgoCDHelm) Size ¶ added in v0.5.0
func (m *ArgoCDHelm) Size() (n int)
func (*ArgoCDHelm) String ¶ added in v0.5.0
func (this *ArgoCDHelm) String() string
func (*ArgoCDHelm) Unmarshal ¶ added in v0.5.0
func (m *ArgoCDHelm) Unmarshal(dAtA []byte) error
func (*ArgoCDHelm) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ArgoCDHelm) XXX_DiscardUnknown()
func (*ArgoCDHelm) XXX_Marshal ¶ added in v0.5.0
func (m *ArgoCDHelm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArgoCDHelm) XXX_Merge ¶ added in v0.5.0
func (m *ArgoCDHelm) XXX_Merge(src proto.Message)
func (*ArgoCDHelm) XXX_Size ¶ added in v0.5.0
func (m *ArgoCDHelm) XXX_Size() int
func (*ArgoCDHelm) XXX_Unmarshal ¶ added in v0.5.0
func (m *ArgoCDHelm) XXX_Unmarshal(b []byte) error
type ArgoCDHelmImageUpdate ¶
type ArgoCDHelmImageUpdate struct { // Image specifies a container image (without tag). This is a required field. // // +kubebuilder:validation:MinLength=1 Image string `json:"image" protobuf:"bytes,1,opt,name=image"` // 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 `json:"key" protobuf:"bytes,2,opt,name=key"` // Value specifies the new value for the specified key in the Argo CD // Application's Helm parameters. Valid values are: // // - ImageAndTag: Replaces the value of the specified key with // <image name>:<tag> // - Tag: Replaces the value of the specified key with just the new tag // - ImageAndDigest: Replaces the value of the specified key with // <image name>@<digest> // - Digest: Replaces the value of the specified key with just the new digest. // // This is a required field. Value ImageUpdateValueType `json:"value" protobuf:"bytes,3,opt,name=value"` }
ArgoCDHelmImageUpdate describes how a specific image version can be incorporated into an Argo CD Application's Helm parameters.
func (*ArgoCDHelmImageUpdate) DeepCopy ¶
func (in *ArgoCDHelmImageUpdate) DeepCopy() *ArgoCDHelmImageUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDHelmImageUpdate.
func (*ArgoCDHelmImageUpdate) DeepCopyInto ¶
func (in *ArgoCDHelmImageUpdate) DeepCopyInto(out *ArgoCDHelmImageUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDHelmImageUpdate) Descriptor ¶ added in v0.5.0
func (*ArgoCDHelmImageUpdate) Descriptor() ([]byte, []int)
func (*ArgoCDHelmImageUpdate) Marshal ¶ added in v0.5.0
func (m *ArgoCDHelmImageUpdate) Marshal() (dAtA []byte, err error)
func (*ArgoCDHelmImageUpdate) MarshalTo ¶ added in v0.5.0
func (m *ArgoCDHelmImageUpdate) MarshalTo(dAtA []byte) (int, error)
func (*ArgoCDHelmImageUpdate) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ArgoCDHelmImageUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArgoCDHelmImageUpdate) ProtoMessage ¶ added in v0.5.0
func (*ArgoCDHelmImageUpdate) ProtoMessage()
func (*ArgoCDHelmImageUpdate) Reset ¶ added in v0.5.0
func (m *ArgoCDHelmImageUpdate) Reset()
func (*ArgoCDHelmImageUpdate) Size ¶ added in v0.5.0
func (m *ArgoCDHelmImageUpdate) Size() (n int)
func (*ArgoCDHelmImageUpdate) String ¶ added in v0.5.0
func (this *ArgoCDHelmImageUpdate) String() string
func (*ArgoCDHelmImageUpdate) Unmarshal ¶ added in v0.5.0
func (m *ArgoCDHelmImageUpdate) Unmarshal(dAtA []byte) error
func (*ArgoCDHelmImageUpdate) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ArgoCDHelmImageUpdate) XXX_DiscardUnknown()
func (*ArgoCDHelmImageUpdate) XXX_Marshal ¶ added in v0.5.0
func (m *ArgoCDHelmImageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArgoCDHelmImageUpdate) XXX_Merge ¶ added in v0.5.0
func (m *ArgoCDHelmImageUpdate) XXX_Merge(src proto.Message)
func (*ArgoCDHelmImageUpdate) XXX_Size ¶ added in v0.5.0
func (m *ArgoCDHelmImageUpdate) XXX_Size() int
func (*ArgoCDHelmImageUpdate) XXX_Unmarshal ¶ added in v0.5.0
func (m *ArgoCDHelmImageUpdate) XXX_Unmarshal(b []byte) error
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 []ArgoCDKustomizeImageUpdate `json:"images" protobuf:"bytes,1,rep,name=images"` }
ArgoCDKustomize describes updates to an Argo CD Application source's Kustomize-specific attributes to incorporate newly observed Freight into a Stage.
func (*ArgoCDKustomize) DeepCopy ¶
func (in *ArgoCDKustomize) DeepCopy() *ArgoCDKustomize
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDKustomize.
func (*ArgoCDKustomize) DeepCopyInto ¶
func (in *ArgoCDKustomize) DeepCopyInto(out *ArgoCDKustomize)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDKustomize) Descriptor ¶ added in v0.5.0
func (*ArgoCDKustomize) Descriptor() ([]byte, []int)
func (*ArgoCDKustomize) Marshal ¶ added in v0.5.0
func (m *ArgoCDKustomize) Marshal() (dAtA []byte, err error)
func (*ArgoCDKustomize) MarshalTo ¶ added in v0.5.0
func (m *ArgoCDKustomize) MarshalTo(dAtA []byte) (int, error)
func (*ArgoCDKustomize) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ArgoCDKustomize) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArgoCDKustomize) ProtoMessage ¶ added in v0.5.0
func (*ArgoCDKustomize) ProtoMessage()
func (*ArgoCDKustomize) Reset ¶ added in v0.5.0
func (m *ArgoCDKustomize) Reset()
func (*ArgoCDKustomize) Size ¶ added in v0.5.0
func (m *ArgoCDKustomize) Size() (n int)
func (*ArgoCDKustomize) String ¶ added in v0.5.0
func (this *ArgoCDKustomize) String() string
func (*ArgoCDKustomize) Unmarshal ¶ added in v0.5.0
func (m *ArgoCDKustomize) Unmarshal(dAtA []byte) error
func (*ArgoCDKustomize) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ArgoCDKustomize) XXX_DiscardUnknown()
func (*ArgoCDKustomize) XXX_Marshal ¶ added in v0.5.0
func (m *ArgoCDKustomize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArgoCDKustomize) XXX_Merge ¶ added in v0.5.0
func (m *ArgoCDKustomize) XXX_Merge(src proto.Message)
func (*ArgoCDKustomize) XXX_Size ¶ added in v0.5.0
func (m *ArgoCDKustomize) XXX_Size() int
func (*ArgoCDKustomize) XXX_Unmarshal ¶ added in v0.5.0
func (m *ArgoCDKustomize) XXX_Unmarshal(b []byte) error
type ArgoCDKustomizeImageUpdate ¶ added in v0.3.0
type ArgoCDKustomizeImageUpdate struct { // Image specifies a container image (without tag). This is a required field. // // +kubebuilder:validation:MinLength=1 Image string `json:"image" protobuf:"bytes,1,opt,name=image"` // UseDigest specifies whether the image's digest should be used instead of // its tag. // // +kubebuilder:validation:Optional UseDigest bool `json:"useDigest" protobuf:"varint,2,opt,name=useDigest"` }
ArgoCDKustomizeImageUpdate describes how a specific image version can be incorporated into an Argo CD Application's Kustomize parameters.
func (*ArgoCDKustomizeImageUpdate) DeepCopy ¶ added in v0.3.0
func (in *ArgoCDKustomizeImageUpdate) DeepCopy() *ArgoCDKustomizeImageUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDKustomizeImageUpdate.
func (*ArgoCDKustomizeImageUpdate) DeepCopyInto ¶ added in v0.3.0
func (in *ArgoCDKustomizeImageUpdate) DeepCopyInto(out *ArgoCDKustomizeImageUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDKustomizeImageUpdate) Descriptor ¶ added in v0.5.0
func (*ArgoCDKustomizeImageUpdate) Descriptor() ([]byte, []int)
func (*ArgoCDKustomizeImageUpdate) Marshal ¶ added in v0.5.0
func (m *ArgoCDKustomizeImageUpdate) Marshal() (dAtA []byte, err error)
func (*ArgoCDKustomizeImageUpdate) MarshalTo ¶ added in v0.5.0
func (m *ArgoCDKustomizeImageUpdate) MarshalTo(dAtA []byte) (int, error)
func (*ArgoCDKustomizeImageUpdate) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ArgoCDKustomizeImageUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArgoCDKustomizeImageUpdate) ProtoMessage ¶ added in v0.5.0
func (*ArgoCDKustomizeImageUpdate) ProtoMessage()
func (*ArgoCDKustomizeImageUpdate) Reset ¶ added in v0.5.0
func (m *ArgoCDKustomizeImageUpdate) Reset()
func (*ArgoCDKustomizeImageUpdate) Size ¶ added in v0.5.0
func (m *ArgoCDKustomizeImageUpdate) Size() (n int)
func (*ArgoCDKustomizeImageUpdate) String ¶ added in v0.5.0
func (this *ArgoCDKustomizeImageUpdate) String() string
func (*ArgoCDKustomizeImageUpdate) Unmarshal ¶ added in v0.5.0
func (m *ArgoCDKustomizeImageUpdate) Unmarshal(dAtA []byte) error
func (*ArgoCDKustomizeImageUpdate) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ArgoCDKustomizeImageUpdate) XXX_DiscardUnknown()
func (*ArgoCDKustomizeImageUpdate) XXX_Marshal ¶ added in v0.5.0
func (m *ArgoCDKustomizeImageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArgoCDKustomizeImageUpdate) XXX_Merge ¶ added in v0.5.0
func (m *ArgoCDKustomizeImageUpdate) XXX_Merge(src proto.Message)
func (*ArgoCDKustomizeImageUpdate) XXX_Size ¶ added in v0.5.0
func (m *ArgoCDKustomizeImageUpdate) XXX_Size() int
func (*ArgoCDKustomizeImageUpdate) XXX_Unmarshal ¶ added in v0.5.0
func (m *ArgoCDKustomizeImageUpdate) XXX_Unmarshal(b []byte) error
type ArgoCDSourceUpdate ¶
type ArgoCDSourceUpdate struct { // RepoURL along with the Chart field identifies which of an Argo CD // Application's sources this update is intended for. Note: As of Argo CD 2.6, // Applications can use multiple sources. When the source to be updated // references a Helm chart repository, the values of the RepoURL and Chart // fields should exactly match the values of the fields of the same names in // the source. i.e. Do not match the values of these two fields to your // Warehouse; match them to the Application source you wish to update. This is // a required field. // // +kubebuilder:validation:MinLength=1 RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"` // Chart along with the RepoURL field identifies which of an Argo CD // Application's sources this update is intended for. Note: As of Argo CD 2.6, // Applications can use multiple sources. When the source to be updated // references a Helm chart repository, the values of the RepoURL and Chart // fields should exactly match the values of the fields of the same names in // the source. i.e. Do not match the values of these two fields to your // Warehouse; match them to the Application source you wish to update. // // +kubebuilder:validation:Optional Chart string `json:"chart,omitempty" protobuf:"bytes,2,opt,name=chart"` // 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 `json:"updateTargetRevision,omitempty" protobuf:"varint,3,opt,name=updateTargetRevision"` // Kustomize describes updates to the source's Kustomize-specific attributes. Kustomize *ArgoCDKustomize `json:"kustomize,omitempty" protobuf:"bytes,4,opt,name=kustomize"` // Helm describes updates to the source's Helm-specific attributes. Helm *ArgoCDHelm `json:"helm,omitempty" protobuf:"bytes,5,opt,name=helm"` }
ArgoCDSourceUpdate describes updates that should be applied to one of an Argo CD Application resource's sources.
func (*ArgoCDSourceUpdate) DeepCopy ¶
func (in *ArgoCDSourceUpdate) DeepCopy() *ArgoCDSourceUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDSourceUpdate.
func (*ArgoCDSourceUpdate) DeepCopyInto ¶
func (in *ArgoCDSourceUpdate) DeepCopyInto(out *ArgoCDSourceUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDSourceUpdate) Descriptor ¶ added in v0.5.0
func (*ArgoCDSourceUpdate) Descriptor() ([]byte, []int)
func (*ArgoCDSourceUpdate) Marshal ¶ added in v0.5.0
func (m *ArgoCDSourceUpdate) Marshal() (dAtA []byte, err error)
func (*ArgoCDSourceUpdate) MarshalTo ¶ added in v0.5.0
func (m *ArgoCDSourceUpdate) MarshalTo(dAtA []byte) (int, error)
func (*ArgoCDSourceUpdate) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ArgoCDSourceUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArgoCDSourceUpdate) ProtoMessage ¶ added in v0.5.0
func (*ArgoCDSourceUpdate) ProtoMessage()
func (*ArgoCDSourceUpdate) Reset ¶ added in v0.5.0
func (m *ArgoCDSourceUpdate) Reset()
func (*ArgoCDSourceUpdate) Size ¶ added in v0.5.0
func (m *ArgoCDSourceUpdate) Size() (n int)
func (*ArgoCDSourceUpdate) String ¶ added in v0.5.0
func (this *ArgoCDSourceUpdate) String() string
func (*ArgoCDSourceUpdate) Unmarshal ¶ added in v0.5.0
func (m *ArgoCDSourceUpdate) Unmarshal(dAtA []byte) error
func (*ArgoCDSourceUpdate) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ArgoCDSourceUpdate) XXX_DiscardUnknown()
func (*ArgoCDSourceUpdate) XXX_Marshal ¶ added in v0.5.0
func (m *ArgoCDSourceUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArgoCDSourceUpdate) XXX_Merge ¶ added in v0.5.0
func (m *ArgoCDSourceUpdate) XXX_Merge(src proto.Message)
func (*ArgoCDSourceUpdate) XXX_Size ¶ added in v0.5.0
func (m *ArgoCDSourceUpdate) XXX_Size() int
func (*ArgoCDSourceUpdate) XXX_Unmarshal ¶ added in v0.5.0
func (m *ArgoCDSourceUpdate) XXX_Unmarshal(b []byte) error
type Chart ¶
type Chart struct { // RepoURL specifies the URL of a Helm chart repository. Classic chart // repositories (using HTTP/S) can contain differently named charts. When this // field points to such a repository, the Name field will specify the name of // the chart within the repository. In the case of a repository within an OCI // registry, the URL implicitly points to a specific chart and the Name field // will be empty. RepoURL string `json:"repoURL,omitempty" protobuf:"bytes,1,opt,name=repoURL"` // Name specifies the name of the chart. Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"` // Version specifies a particular version of the chart. Version string `json:"version,omitempty" protobuf:"bytes,3,opt,name=version"` }
Chart describes a specific version of a Helm chart.
func (*Chart) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Chart.
func (*Chart) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Chart) Descriptor ¶ added in v0.5.0
func (*Chart) MarshalToSizedBuffer ¶ added in v0.5.0
func (*Chart) ProtoMessage ¶ added in v0.5.0
func (*Chart) ProtoMessage()
func (*Chart) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Chart) XXX_DiscardUnknown()
func (*Chart) XXX_Marshal ¶ added in v0.5.0
func (*Chart) XXX_Unmarshal ¶ added in v0.5.0
type ChartSubscription ¶
type ChartSubscription struct { // RepoURL specifies the URL of a Helm chart repository. It may be a classic // chart repository (using HTTP/S) OR a repository within an OCI registry. // Classic chart repositories can contain differently named charts. When this // field points to such a repository, the Name field MUST also be used // to specify the name of the desired chart within that repository. In the // case of a repository within an OCI registry, the URL implicitly points to // a specific chart and the Name field MUST NOT be used. The RepoURL field is // required. // // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Pattern=`^(((https?)|(oci))://)([\w\d\.\-]+)(:[\d]+)?(/.*)*$` RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"` // Name specifies the name of a Helm chart to subscribe to within a classic // chart repository specified by the RepoURL field. This field is required // when the RepoURL field points to a classic chart repository and MUST // otherwise be empty. Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"` // 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. // More info: https://github.com/masterminds/semver#checking-version-constraints // // +kubebuilder:validation:Optional SemverConstraint string `json:"semverConstraint,omitempty" protobuf:"bytes,3,opt,name=semverConstraint"` }
ChartSubscription defines a subscription to a Helm chart repository.
func (*ChartSubscription) DeepCopy ¶
func (in *ChartSubscription) DeepCopy() *ChartSubscription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartSubscription.
func (*ChartSubscription) DeepCopyInto ¶
func (in *ChartSubscription) DeepCopyInto(out *ChartSubscription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ChartSubscription) Descriptor ¶ added in v0.5.0
func (*ChartSubscription) Descriptor() ([]byte, []int)
func (*ChartSubscription) Marshal ¶ added in v0.5.0
func (m *ChartSubscription) Marshal() (dAtA []byte, err error)
func (*ChartSubscription) MarshalTo ¶ added in v0.5.0
func (m *ChartSubscription) MarshalTo(dAtA []byte) (int, error)
func (*ChartSubscription) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ChartSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChartSubscription) ProtoMessage ¶ added in v0.5.0
func (*ChartSubscription) ProtoMessage()
func (*ChartSubscription) Reset ¶ added in v0.5.0
func (m *ChartSubscription) Reset()
func (*ChartSubscription) Size ¶ added in v0.5.0
func (m *ChartSubscription) Size() (n int)
func (*ChartSubscription) String ¶ added in v0.5.0
func (this *ChartSubscription) String() string
func (*ChartSubscription) Unmarshal ¶ added in v0.5.0
func (m *ChartSubscription) Unmarshal(dAtA []byte) error
func (*ChartSubscription) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ChartSubscription) XXX_DiscardUnknown()
func (*ChartSubscription) XXX_Marshal ¶ added in v0.5.0
func (m *ChartSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChartSubscription) XXX_Merge ¶ added in v0.5.0
func (m *ChartSubscription) XXX_Merge(src proto.Message)
func (*ChartSubscription) XXX_Size ¶ added in v0.5.0
func (m *ChartSubscription) XXX_Size() int
func (*ChartSubscription) XXX_Unmarshal ¶ added in v0.5.0
func (m *ChartSubscription) XXX_Unmarshal(b []byte) error
type CommitSelectionStrategy ¶ added in v0.4.0
type CommitSelectionStrategy string
+kubebuilder:validation:Enum={Lexical,NewestFromBranch,NewestTag,SemVer}
const ( CommitSelectionStrategyLexical CommitSelectionStrategy = "Lexical" CommitSelectionStrategyNewestFromBranch CommitSelectionStrategy = "NewestFromBranch" CommitSelectionStrategyNewestTag CommitSelectionStrategy = "NewestTag" CommitSelectionStrategySemVer CommitSelectionStrategy = "SemVer" )
type Freight ¶
type Freight struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Alias is a human-friendly alias for a piece of Freight. This is an optional // field. A defaulting webhook will sync this field with the value of the // kargo.akuity.io/alias label. When the alias label is not present or differs // from the value of this field, the defaulting webhook will set the label to // the value of this field. If the alias label is present and this field is // empty, the defaulting webhook will set the value of this field to the value // of the alias label. If this field is empty and the alias label is not // present, the defaulting webhook will choose an available alias and assign // it to both the field and label. Alias string `json:"alias,omitempty" protobuf:"bytes,7,opt,name=alias"` // Warehouse is the name of the Warehouse that created this Freight. This is a // required field. TODO: It is not clear yet how this field should be set in // the case of user-defined Freight. // // +kubebuilder:validation:Required Warehouse string `json:"warehouse,omitempty" protobuf:"bytes,8,opt,name=warehouse"` // Commits describes specific Git repository commits. Commits []GitCommit `json:"commits,omitempty" protobuf:"bytes,3,rep,name=commits"` // Images describes specific versions of specific container images. Images []Image `json:"images,omitempty" protobuf:"bytes,4,rep,name=images"` // Charts describes specific versions of specific Helm charts. Charts []Chart `json:"charts,omitempty" protobuf:"bytes,5,rep,name=charts"` // Status describes the current status of this Freight. Status FreightStatus `json:"status,omitempty" protobuf:"bytes,6,opt,name=status"` }
Freight represents a collection of versioned artifacts.
func GetFreight ¶ added in v0.2.0
func GetFreight( ctx context.Context, c client.Client, namespacedName types.NamespacedName, ) (*Freight, error)
GetFreight returns a pointer to the Freight resource specified by the namespacedName argument. If no such resource is found, nil is returned instead.
func GetFreightByAlias ¶ added in v0.5.0
func GetFreightByAlias( ctx context.Context, c client.Client, project string, alias string, ) (*Freight, error)
GetFreightByAlias returns a pointer to the Freight resource specified by the project and alias arguments. If no such resource is found, nil is returned instead.
func GetFreightByNameOrAlias ¶ added in v0.5.0
func GetFreightByNameOrAlias( ctx context.Context, c client.Client, project string, name string, alias string, ) (*Freight, error)
GetFreightByNameOrAlias returns a pointer to the Freight resource specified by the project, and name OR alias arguments. If no such resource is found, nil is returned instead.
func (*Freight) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Freight.
func (*Freight) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Freight) DeepCopyObject ¶ added in v0.2.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Freight) Descriptor ¶ added in v0.5.0
func (*Freight) GenerateID ¶ added in v0.5.0
GenerateID deterministically calculates a piece of Freight's ID based on its contents and returns it.
func (*Freight) GetStatus ¶ added in v0.2.0
func (f *Freight) GetStatus() *FreightStatus
func (*Freight) MarshalToSizedBuffer ¶ added in v0.5.0
func (*Freight) ProtoMessage ¶ added in v0.5.0
func (*Freight) ProtoMessage()
func (*Freight) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Freight) XXX_DiscardUnknown()
func (*Freight) XXX_Marshal ¶ added in v0.5.0
func (*Freight) XXX_Unmarshal ¶ added in v0.5.0
type FreightList ¶ added in v0.2.0
type FreightList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Freight `json:"items" protobuf:"bytes,2,rep,name=items"` }
FreightList is a list of Freight resources.
func (*FreightList) DeepCopy ¶ added in v0.2.0
func (in *FreightList) DeepCopy() *FreightList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FreightList.
func (*FreightList) DeepCopyInto ¶ added in v0.2.0
func (in *FreightList) DeepCopyInto(out *FreightList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FreightList) DeepCopyObject ¶ added in v0.2.0
func (in *FreightList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FreightList) Descriptor ¶ added in v0.5.0
func (*FreightList) Descriptor() ([]byte, []int)
func (*FreightList) Marshal ¶ added in v0.5.0
func (m *FreightList) Marshal() (dAtA []byte, err error)
func (*FreightList) MarshalTo ¶ added in v0.5.0
func (m *FreightList) MarshalTo(dAtA []byte) (int, error)
func (*FreightList) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *FreightList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FreightList) ProtoMessage ¶ added in v0.5.0
func (*FreightList) ProtoMessage()
func (*FreightList) Reset ¶ added in v0.5.0
func (m *FreightList) Reset()
func (*FreightList) Size ¶ added in v0.5.0
func (m *FreightList) Size() (n int)
func (*FreightList) String ¶ added in v0.5.0
func (this *FreightList) String() string
func (*FreightList) Unmarshal ¶ added in v0.5.0
func (m *FreightList) Unmarshal(dAtA []byte) error
func (*FreightList) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *FreightList) XXX_DiscardUnknown()
func (*FreightList) XXX_Marshal ¶ added in v0.5.0
func (m *FreightList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FreightList) XXX_Merge ¶ added in v0.5.0
func (m *FreightList) XXX_Merge(src proto.Message)
func (*FreightList) XXX_Size ¶ added in v0.5.0
func (m *FreightList) XXX_Size() int
func (*FreightList) XXX_Unmarshal ¶ added in v0.5.0
func (m *FreightList) XXX_Unmarshal(b []byte) error
type FreightReference ¶ added in v0.4.0
type FreightReference struct { // Name is system-assigned identifier that is derived deterministically from // the contents of the Freight. i.e. Two pieces of Freight can be compared for // equality by comparing their Names. Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // Warehouse is the name of the Warehouse that created this Freight. Warehouse string `json:"warehouse,omitempty" protobuf:"bytes,6,opt,name=warehouse"` // Commits describes specific Git repository commits. Commits []GitCommit `json:"commits,omitempty" protobuf:"bytes,2,rep,name=commits"` // Images describes specific versions of specific container images. Images []Image `json:"images,omitempty" protobuf:"bytes,3,rep,name=images"` // Charts describes specific versions of specific Helm charts. Charts []Chart `json:"charts,omitempty" protobuf:"bytes,4,rep,name=charts"` // VerificationInfo is information about any verification process that was // associated with this Freight for this Stage. VerificationInfo *VerificationInfo `json:"verificationInfo,omitempty" protobuf:"bytes,5,opt,name=verificationInfo"` // VerificationHistory is a stack of recent VerificationInfo. By default, // the last ten VerificationInfo are stored. VerificationHistory VerificationInfoStack `json:"verificationHistory,omitempty" protobuf:"bytes,7,rep,name=verificationHistory"` }
FreightReference is a simplified representation of a piece of Freight -- not a root resource type.
func (*FreightReference) DeepCopy ¶ added in v0.4.0
func (in *FreightReference) DeepCopy() *FreightReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FreightReference.
func (*FreightReference) DeepCopyInto ¶ added in v0.4.0
func (in *FreightReference) DeepCopyInto(out *FreightReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FreightReference) Descriptor ¶ added in v0.5.0
func (*FreightReference) Descriptor() ([]byte, []int)
func (*FreightReference) Marshal ¶ added in v0.5.0
func (m *FreightReference) Marshal() (dAtA []byte, err error)
func (*FreightReference) MarshalTo ¶ added in v0.5.0
func (m *FreightReference) MarshalTo(dAtA []byte) (int, error)
func (*FreightReference) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *FreightReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FreightReference) ProtoMessage ¶ added in v0.5.0
func (*FreightReference) ProtoMessage()
func (*FreightReference) Reset ¶ added in v0.5.0
func (m *FreightReference) Reset()
func (*FreightReference) Size ¶ added in v0.5.0
func (m *FreightReference) Size() (n int)
func (*FreightReference) String ¶ added in v0.5.0
func (this *FreightReference) String() string
func (*FreightReference) Unmarshal ¶ added in v0.5.0
func (m *FreightReference) Unmarshal(dAtA []byte) error
func (*FreightReference) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *FreightReference) XXX_DiscardUnknown()
func (*FreightReference) XXX_Marshal ¶ added in v0.5.0
func (m *FreightReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FreightReference) XXX_Merge ¶ added in v0.5.0
func (m *FreightReference) XXX_Merge(src proto.Message)
func (*FreightReference) XXX_Size ¶ added in v0.5.0
func (m *FreightReference) XXX_Size() int
func (*FreightReference) XXX_Unmarshal ¶ added in v0.5.0
func (m *FreightReference) XXX_Unmarshal(b []byte) error
type FreightReferenceStack ¶ added in v0.4.0
type FreightReferenceStack []FreightReference
func (FreightReferenceStack) DeepCopy ¶ added in v0.4.0
func (in FreightReferenceStack) DeepCopy() FreightReferenceStack
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FreightReferenceStack.
func (FreightReferenceStack) DeepCopyInto ¶ added in v0.4.0
func (in FreightReferenceStack) DeepCopyInto(out *FreightReferenceStack)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FreightReferenceStack) UpdateOrPush ¶ added in v0.5.0
func (f *FreightReferenceStack) UpdateOrPush(freight ...FreightReference)
UpdateOrPush updates the FreightReference with the same name as the provided FreightReference or appends the provided FreightReference to the stack if no such FreightReference is found.
The order of existing items in the stack is preserved, and new items without a matching name are appended to the top of the stack. If the stack grows beyond 10 items, the bottom items are removed.
type FreightStatus ¶ added in v0.2.0
type FreightStatus struct { // VerifiedIn describes the Stages in which this Freight has been verified // through promotion and subsequent health checks. VerifiedIn map[string]VerifiedStage `` /* 140-byte string literal not displayed */ // ApprovedFor describes the Stages for which this Freight has been approved // preemptively/manually by a user. This is useful for hotfixes, where one // might wish to promote a piece of Freight to a given Stage without // transiting the entire pipeline. ApprovedFor map[string]ApprovedStage `` /* 142-byte string literal not displayed */ }
FreightStatus describes a piece of Freight's most recently observed state.
func (*FreightStatus) DeepCopy ¶ added in v0.2.0
func (in *FreightStatus) DeepCopy() *FreightStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FreightStatus.
func (*FreightStatus) DeepCopyInto ¶ added in v0.2.0
func (in *FreightStatus) DeepCopyInto(out *FreightStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FreightStatus) Descriptor ¶ added in v0.5.0
func (*FreightStatus) Descriptor() ([]byte, []int)
func (*FreightStatus) Marshal ¶ added in v0.5.0
func (m *FreightStatus) Marshal() (dAtA []byte, err error)
func (*FreightStatus) MarshalTo ¶ added in v0.5.0
func (m *FreightStatus) MarshalTo(dAtA []byte) (int, error)
func (*FreightStatus) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *FreightStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FreightStatus) ProtoMessage ¶ added in v0.5.0
func (*FreightStatus) ProtoMessage()
func (*FreightStatus) Reset ¶ added in v0.5.0
func (m *FreightStatus) Reset()
func (*FreightStatus) Size ¶ added in v0.5.0
func (m *FreightStatus) Size() (n int)
func (*FreightStatus) String ¶ added in v0.5.0
func (this *FreightStatus) String() string
func (*FreightStatus) Unmarshal ¶ added in v0.5.0
func (m *FreightStatus) Unmarshal(dAtA []byte) error
func (*FreightStatus) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *FreightStatus) XXX_DiscardUnknown()
func (*FreightStatus) XXX_Marshal ¶ added in v0.5.0
func (m *FreightStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FreightStatus) XXX_Merge ¶ added in v0.5.0
func (m *FreightStatus) XXX_Merge(src proto.Message)
func (*FreightStatus) XXX_Size ¶ added in v0.5.0
func (m *FreightStatus) XXX_Size() int
func (*FreightStatus) XXX_Unmarshal ¶ added in v0.5.0
func (m *FreightStatus) XXX_Unmarshal(b []byte) error
type GitCommit ¶
type GitCommit struct { // RepoURL is the URL of a Git repository. RepoURL string `json:"repoURL,omitempty" protobuf:"bytes,1,opt,name=repoURL"` // ID is the ID of a specific commit in the Git repository specified by // RepoURL. ID string `json:"id,omitempty" protobuf:"bytes,2,opt,name=id"` // Branch denotes the branch of the repository where this commit was found. Branch string `json:"branch,omitempty" protobuf:"bytes,3,opt,name=branch"` // Tag denotes a tag in the repository that matched selection criteria and // resolved to this commit. Tag string `json:"tag,omitempty" protobuf:"bytes,4,opt,name=tag"` // 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 Kargo Render 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 `json:"healthCheckCommit,omitempty" protobuf:"bytes,5,opt,name=healthCheckCommit"` // Message is the git commit message Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` // Author is the git commit author Author string `json:"author,omitempty" protobuf:"bytes,7,opt,name=author"` }
GitCommit describes a specific commit from a specific Git repository.
func (*GitCommit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitCommit.
func (*GitCommit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitCommit) Descriptor ¶ added in v0.5.0
func (*GitCommit) MarshalToSizedBuffer ¶ added in v0.5.0
func (*GitCommit) ProtoMessage ¶ added in v0.5.0
func (*GitCommit) ProtoMessage()
func (*GitCommit) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *GitCommit) XXX_DiscardUnknown()
func (*GitCommit) XXX_Marshal ¶ added in v0.5.0
func (*GitCommit) XXX_Unmarshal ¶ added in v0.5.0
type GitHubPullRequest ¶ added in v0.3.0
type GitHubPullRequest struct { }
func (*GitHubPullRequest) DeepCopy ¶ added in v0.3.0
func (in *GitHubPullRequest) DeepCopy() *GitHubPullRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHubPullRequest.
func (*GitHubPullRequest) DeepCopyInto ¶ added in v0.3.0
func (in *GitHubPullRequest) DeepCopyInto(out *GitHubPullRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitHubPullRequest) Descriptor ¶ added in v0.5.0
func (*GitHubPullRequest) Descriptor() ([]byte, []int)
func (*GitHubPullRequest) Marshal ¶ added in v0.5.0
func (m *GitHubPullRequest) Marshal() (dAtA []byte, err error)
func (*GitHubPullRequest) MarshalTo ¶ added in v0.5.0
func (m *GitHubPullRequest) MarshalTo(dAtA []byte) (int, error)
func (*GitHubPullRequest) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *GitHubPullRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GitHubPullRequest) ProtoMessage ¶ added in v0.5.0
func (*GitHubPullRequest) ProtoMessage()
func (*GitHubPullRequest) Reset ¶ added in v0.5.0
func (m *GitHubPullRequest) Reset()
func (*GitHubPullRequest) Size ¶ added in v0.5.0
func (m *GitHubPullRequest) Size() (n int)
func (*GitHubPullRequest) String ¶ added in v0.5.0
func (this *GitHubPullRequest) String() string
func (*GitHubPullRequest) Unmarshal ¶ added in v0.5.0
func (m *GitHubPullRequest) Unmarshal(dAtA []byte) error
func (*GitHubPullRequest) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *GitHubPullRequest) XXX_DiscardUnknown()
func (*GitHubPullRequest) XXX_Marshal ¶ added in v0.5.0
func (m *GitHubPullRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GitHubPullRequest) XXX_Merge ¶ added in v0.5.0
func (m *GitHubPullRequest) XXX_Merge(src proto.Message)
func (*GitHubPullRequest) XXX_Size ¶ added in v0.5.0
func (m *GitHubPullRequest) XXX_Size() int
func (*GitHubPullRequest) XXX_Unmarshal ¶ added in v0.5.0
func (m *GitHubPullRequest) XXX_Unmarshal(b []byte) error
type GitLabPullRequest ¶ added in v0.6.0
type GitLabPullRequest struct { }
func (*GitLabPullRequest) DeepCopy ¶ added in v0.6.0
func (in *GitLabPullRequest) DeepCopy() *GitLabPullRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLabPullRequest.
func (*GitLabPullRequest) DeepCopyInto ¶ added in v0.6.0
func (in *GitLabPullRequest) DeepCopyInto(out *GitLabPullRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitLabPullRequest) Descriptor ¶ added in v0.6.0
func (*GitLabPullRequest) Descriptor() ([]byte, []int)
func (*GitLabPullRequest) Marshal ¶ added in v0.6.0
func (m *GitLabPullRequest) Marshal() (dAtA []byte, err error)
func (*GitLabPullRequest) MarshalTo ¶ added in v0.6.0
func (m *GitLabPullRequest) MarshalTo(dAtA []byte) (int, error)
func (*GitLabPullRequest) MarshalToSizedBuffer ¶ added in v0.6.0
func (m *GitLabPullRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GitLabPullRequest) ProtoMessage ¶ added in v0.6.0
func (*GitLabPullRequest) ProtoMessage()
func (*GitLabPullRequest) Reset ¶ added in v0.6.0
func (m *GitLabPullRequest) Reset()
func (*GitLabPullRequest) Size ¶ added in v0.6.0
func (m *GitLabPullRequest) Size() (n int)
func (*GitLabPullRequest) String ¶ added in v0.6.0
func (this *GitLabPullRequest) String() string
func (*GitLabPullRequest) Unmarshal ¶ added in v0.6.0
func (m *GitLabPullRequest) Unmarshal(dAtA []byte) error
func (*GitLabPullRequest) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *GitLabPullRequest) XXX_DiscardUnknown()
func (*GitLabPullRequest) XXX_Marshal ¶ added in v0.6.0
func (m *GitLabPullRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GitLabPullRequest) XXX_Merge ¶ added in v0.6.0
func (m *GitLabPullRequest) XXX_Merge(src proto.Message)
func (*GitLabPullRequest) XXX_Size ¶ added in v0.6.0
func (m *GitLabPullRequest) XXX_Size() int
func (*GitLabPullRequest) XXX_Unmarshal ¶ added in v0.6.0
func (m *GitLabPullRequest) XXX_Unmarshal(b []byte) error
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+)*@)?\w+([\.-]\w+)*(:[\d]+)?(/.*)?$` RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"` // InsecureSkipTLSVerify specifies whether certificate verification errors // should be ignored when connecting to the repository. This should be enabled // only with great caution. InsecureSkipTLSVerify bool `json:"insecureSkipTLSVerify,omitempty" protobuf:"varint,2,opt,name=insecureSkipTLSVerify"` // 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. When not specified, the // ReadBranch is implicitly the repository's default branch AND in cases where // a Freight 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 `json:"readBranch,omitempty" protobuf:"bytes,3,opt,name=readBranch"` // 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 `json:"writeBranch" protobuf:"bytes,4,opt,name=writeBranch"` // PullRequest will generate a pull request instead of making the commit directly PullRequest *PullRequestPromotionMechanism `json:"pullRequest,omitempty" protobuf:"bytes,5,opt,name=pullRequest"` // Render describes how to use Kargo Render to incorporate Freight into the // Stage. This is mutually exclusive with the Kustomize and Helm fields. Render *KargoRenderPromotionMechanism `json:"render,omitempty" protobuf:"bytes,6,opt,name=render"` // Kustomize describes how to use Kustomize to incorporate Freight into the // Stage. This is mutually exclusive with the Render and Helm fields. Kustomize *KustomizePromotionMechanism `json:"kustomize,omitempty" protobuf:"bytes,7,opt,name=kustomize"` // Helm describes how to use Helm to incorporate Freight into the Stage. This // is mutually exclusive with the Render and Kustomize fields. Helm *HelmPromotionMechanism `json:"helm,omitempty" protobuf:"bytes,8,opt,name=helm"` }
GitRepoUpdate describes updates that should be applied to a Git repository (using various configuration management tools) to incorporate Freight into a Stage.
func (*GitRepoUpdate) DeepCopy ¶
func (in *GitRepoUpdate) DeepCopy() *GitRepoUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoUpdate.
func (*GitRepoUpdate) DeepCopyInto ¶
func (in *GitRepoUpdate) DeepCopyInto(out *GitRepoUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitRepoUpdate) Descriptor ¶ added in v0.5.0
func (*GitRepoUpdate) Descriptor() ([]byte, []int)
func (*GitRepoUpdate) Marshal ¶ added in v0.5.0
func (m *GitRepoUpdate) Marshal() (dAtA []byte, err error)
func (*GitRepoUpdate) MarshalTo ¶ added in v0.5.0
func (m *GitRepoUpdate) MarshalTo(dAtA []byte) (int, error)
func (*GitRepoUpdate) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *GitRepoUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GitRepoUpdate) ProtoMessage ¶ added in v0.5.0
func (*GitRepoUpdate) ProtoMessage()
func (*GitRepoUpdate) Reset ¶ added in v0.5.0
func (m *GitRepoUpdate) Reset()
func (*GitRepoUpdate) Size ¶ added in v0.5.0
func (m *GitRepoUpdate) Size() (n int)
func (*GitRepoUpdate) String ¶ added in v0.5.0
func (this *GitRepoUpdate) String() string
func (*GitRepoUpdate) Unmarshal ¶ added in v0.5.0
func (m *GitRepoUpdate) Unmarshal(dAtA []byte) error
func (*GitRepoUpdate) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *GitRepoUpdate) XXX_DiscardUnknown()
func (*GitRepoUpdate) XXX_Marshal ¶ added in v0.5.0
func (m *GitRepoUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GitRepoUpdate) XXX_Merge ¶ added in v0.5.0
func (m *GitRepoUpdate) XXX_Merge(src proto.Message)
func (*GitRepoUpdate) XXX_Size ¶ added in v0.5.0
func (m *GitRepoUpdate) XXX_Size() int
func (*GitRepoUpdate) XXX_Unmarshal ¶ added in v0.5.0
func (m *GitRepoUpdate) XXX_Unmarshal(b []byte) error
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+)*@)?\w+([\.-]\w+)*(:[\d]+)?(/.*)?$` RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"` // CommitSelectionStrategy specifies the rules for how to identify the newest // commit of interest in the repository specified by the RepoURL field. This // field is optional. When left unspecified, the field is implicitly treated // as if its value were "NewestFromBranch". // // +kubebuilder:default=NewestFromBranch CommitSelectionStrategy CommitSelectionStrategy `json:"commitSelectionStrategy,omitempty" protobuf:"bytes,2,opt,name=commitSelectionStrategy"` // Branch references a particular branch of the repository. The value in this // field only has any effect when the CommitSelectionStrategy is // NewestFromBranch or left unspecified (which is implicitly the same as // NewestFromBranch). This field is optional. When left unspecified, (and the // CommitSelectionStrategy is NewestFromBranch or unspecified), the // subscription is implicitly to the repository's default branch. // // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Pattern=`^\w+([-/]\w+)*$` Branch string `json:"branch,omitempty" protobuf:"bytes,3,opt,name=branch"` // SemverConstraint specifies constraints on what new tagged commits are // considered in determining the newest commit of interest. The value in this // field only has any effect when the CommitSelectionStrategy is SemVer. This // field is optional. When left unspecified, there will be no constraints, // which means the latest semantically tagged commit 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 `json:"semverConstraint,omitempty" protobuf:"bytes,4,opt,name=semverConstraint"` // AllowTags is a regular expression that can optionally be used to limit the // tags that are considered in determining the newest commit of interest. The // value in this field only has any effect when the CommitSelectionStrategy is // Lexical, NewestTag, or SemVer. This field is optional. // // +kubebuilder:validation:Optional AllowTags string `json:"allowTags,omitempty" protobuf:"bytes,5,opt,name=allowTags"` // IgnoreTags is a list of tags that must be ignored when determining the // newest commit of interest. No regular expressions or glob patterns are // supported yet. The value in this field only has any effect when the // CommitSelectionStrategy is Lexical, NewestTag, or SemVer. This field is // optional. // // +kubebuilder:validation:Optional IgnoreTags []string `json:"ignoreTags,omitempty" protobuf:"bytes,6,rep,name=ignoreTags"` // InsecureSkipTLSVerify specifies whether certificate verification errors // should be ignored when connecting to the repository. This should be enabled // only with great caution. InsecureSkipTLSVerify bool `json:"insecureSkipTLSVerify,omitempty" protobuf:"varint,7,opt,name=insecureSkipTLSVerify"` // IncludePaths is a list of selectors that designate paths in the repository // that should trigger the production of new Freight when changes are detected // therein. When specified, only changes in the identified paths will trigger // Freight production. When not specified, changes in any path will trigger // Freight production. Selectors may be defined using: // 1. Exact paths to files or directories (ex. "charts/foo") // 2. Glob patterns (prefix the pattern with "glob:"; ex. "glob:*.yaml") // 3. Regular expressions (prefix the pattern with "regex:" or "regexp:"; // ex. "regexp:^.*\.yaml$") // Paths selected by IncludePaths may be unselected by ExcludePaths. This // is a useful method for including a broad set of paths and then excluding a // subset of them. // +kubebuilder:validation:Optional IncludePaths []string `json:"includePaths,omitempty" protobuf:"bytes,8,rep,name=includePaths"` // ExcludePaths is a list of selectors that designate paths in the repository // that should NOT trigger the production of new Freight when changes are // detected therein. When specified, changes in the identified paths will not // trigger Freight production. When not specified, paths that should trigger // Freight production will be defined solely by IncludePaths. Selectors may be // defined using: // 1. Exact paths to files or directories (ex. "charts/foo") // 2. Glob patterns (prefix the pattern with "glob:"; ex. "glob:*.yaml") // 3. Regular expressions (prefix the pattern with "regex:" or "regexp:"; // ex. "regexp:^.*\.yaml$") // Paths selected by IncludePaths may be unselected by ExcludePaths. This // is a useful method for including a broad set of paths and then excluding a // subset of them. // +kubebuilder:validation:Optional ExcludePaths []string `json:"excludePaths,omitempty" protobuf:"bytes,9,rep,name=excludePaths"` }
GitSubscription defines a subscription to a Git repository.
func (*GitSubscription) DeepCopy ¶
func (in *GitSubscription) DeepCopy() *GitSubscription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitSubscription.
func (*GitSubscription) DeepCopyInto ¶
func (in *GitSubscription) DeepCopyInto(out *GitSubscription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitSubscription) Descriptor ¶ added in v0.5.0
func (*GitSubscription) Descriptor() ([]byte, []int)
func (*GitSubscription) Marshal ¶ added in v0.5.0
func (m *GitSubscription) Marshal() (dAtA []byte, err error)
func (*GitSubscription) MarshalTo ¶ added in v0.5.0
func (m *GitSubscription) MarshalTo(dAtA []byte) (int, error)
func (*GitSubscription) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *GitSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GitSubscription) ProtoMessage ¶ added in v0.5.0
func (*GitSubscription) ProtoMessage()
func (*GitSubscription) Reset ¶ added in v0.5.0
func (m *GitSubscription) Reset()
func (*GitSubscription) Size ¶ added in v0.5.0
func (m *GitSubscription) Size() (n int)
func (*GitSubscription) String ¶ added in v0.5.0
func (this *GitSubscription) String() string
func (*GitSubscription) Unmarshal ¶ added in v0.5.0
func (m *GitSubscription) Unmarshal(dAtA []byte) error
func (*GitSubscription) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *GitSubscription) XXX_DiscardUnknown()
func (*GitSubscription) XXX_Marshal ¶ added in v0.5.0
func (m *GitSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GitSubscription) XXX_Merge ¶ added in v0.5.0
func (m *GitSubscription) XXX_Merge(src proto.Message)
func (*GitSubscription) XXX_Size ¶ added in v0.5.0
func (m *GitSubscription) XXX_Size() int
func (*GitSubscription) XXX_Unmarshal ¶ added in v0.5.0
func (m *GitSubscription) XXX_Unmarshal(b []byte) error
type Health ¶
type Health struct { // Status describes the health of the Stage. Status HealthState `json:"status,omitempty" protobuf:"bytes,1,opt,name=status"` // 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 `json:"issues,omitempty" protobuf:"bytes,2,rep,name=issues"` // ArgoCDApps describes the current state of any related ArgoCD Applications. ArgoCDApps []ArgoCDAppStatus `json:"argoCDApps,omitempty" protobuf:"bytes,3,rep,name=argoCDApps"` }
Health describes the health of a Stage.
func (*Health) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Health.
func (*Health) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Health) Descriptor ¶ added in v0.5.0
func (*Health) MarshalToSizedBuffer ¶ added in v0.5.0
func (*Health) ProtoMessage ¶ added in v0.5.0
func (*Health) ProtoMessage()
func (*Health) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Health) XXX_DiscardUnknown()
func (*Health) XXX_Marshal ¶ added in v0.5.0
func (*Health) XXX_Unmarshal ¶ added in v0.5.0
type HealthState ¶
type HealthState string
const ( HealthStateHealthy HealthState = "Healthy" HealthStateUnhealthy HealthState = "Unhealthy" HealthStateProgressing HealthState = "Progressing" HealthStateUnknown HealthState = "Unknown" )
func (HealthState) Merge ¶
func (h HealthState) Merge(other HealthState) HealthState
Merge returns the more severe of two HealthStates.
type HelmChartDependencyUpdate ¶
type HelmChartDependencyUpdate struct { // Repository along with Name identifies a subchart of the umbrella chart at // ChartPath whose version should be updated. The values of both fields should // exactly match the values of the fields of the same names in a dependency // expressed in the Chart.yaml of the umbrella chart at ChartPath. i.e. Do not // match the values of these two fields to your Warehouse; match them to the // Chart.yaml. This is a required field. // // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Pattern=`^(((https?)|(oci))://)([\w\d\.\-]+)(:[\d]+)?(/.*)*$` Repository string `json:"repository" protobuf:"bytes,1,opt,name=repository"` // Name along with Repository identifies a subchart of the umbrella chart at // ChartPath whose version should be updated. The values of both fields should // exactly match the values of the fields of the same names in a dependency // expressed in the Chart.yaml of the umbrella chart at ChartPath. i.e. Do not // match the values of these two fields to your Warehouse; match them to the // Chart.yaml. This is a required field. // // +kubebuilder:validation:MinLength=1 Name string `json:"name" protobuf:"bytes,2,opt,name=name"` // ChartPath is the path to an umbrella chart. // // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Pattern=^[\w-\.]+(/[\w-\.]+)*$ ChartPath string `json:"chartPath" protobuf:"bytes,3,opt,name=chartPath"` }
HelmChartDependencyUpdate describes how a specific Helm chart that is used as a subchart of an umbrella chart can be updated.
func (*HelmChartDependencyUpdate) DeepCopy ¶
func (in *HelmChartDependencyUpdate) DeepCopy() *HelmChartDependencyUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartDependencyUpdate.
func (*HelmChartDependencyUpdate) DeepCopyInto ¶
func (in *HelmChartDependencyUpdate) DeepCopyInto(out *HelmChartDependencyUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmChartDependencyUpdate) Descriptor ¶ added in v0.5.0
func (*HelmChartDependencyUpdate) Descriptor() ([]byte, []int)
func (*HelmChartDependencyUpdate) Marshal ¶ added in v0.5.0
func (m *HelmChartDependencyUpdate) Marshal() (dAtA []byte, err error)
func (*HelmChartDependencyUpdate) MarshalTo ¶ added in v0.5.0
func (m *HelmChartDependencyUpdate) MarshalTo(dAtA []byte) (int, error)
func (*HelmChartDependencyUpdate) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *HelmChartDependencyUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HelmChartDependencyUpdate) ProtoMessage ¶ added in v0.5.0
func (*HelmChartDependencyUpdate) ProtoMessage()
func (*HelmChartDependencyUpdate) Reset ¶ added in v0.5.0
func (m *HelmChartDependencyUpdate) Reset()
func (*HelmChartDependencyUpdate) Size ¶ added in v0.5.0
func (m *HelmChartDependencyUpdate) Size() (n int)
func (*HelmChartDependencyUpdate) String ¶ added in v0.5.0
func (this *HelmChartDependencyUpdate) String() string
func (*HelmChartDependencyUpdate) Unmarshal ¶ added in v0.5.0
func (m *HelmChartDependencyUpdate) Unmarshal(dAtA []byte) error
func (*HelmChartDependencyUpdate) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *HelmChartDependencyUpdate) XXX_DiscardUnknown()
func (*HelmChartDependencyUpdate) XXX_Marshal ¶ added in v0.5.0
func (m *HelmChartDependencyUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HelmChartDependencyUpdate) XXX_Merge ¶ added in v0.5.0
func (m *HelmChartDependencyUpdate) XXX_Merge(src proto.Message)
func (*HelmChartDependencyUpdate) XXX_Size ¶ added in v0.5.0
func (m *HelmChartDependencyUpdate) XXX_Size() int
func (*HelmChartDependencyUpdate) XXX_Unmarshal ¶ added in v0.5.0
func (m *HelmChartDependencyUpdate) XXX_Unmarshal(b []byte) error
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+([\.-]\w+)*(:[\d]+)?/)?(\w+([\.-]\w+)*)(/\w+([\.-]\w+)*)*$` Image string `json:"image" protobuf:"bytes,1,opt,name=image"` // 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 `json:"valuesFilePath" protobuf:"bytes,2,opt,name=valuesFilePath"` // 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 `json:"key" protobuf:"bytes,3,opt,name=key"` // Value specifies the new value for the specified key in the specified Helm // values file. Valid values are: // // - ImageAndTag: Replaces the value of the specified key with // <image name>:<tag> // - Tag: Replaces the value of the specified key with just the new tag // - ImageAndDigest: Replaces the value of the specified key with // <image name>@<digest> // - Digest: Replaces the value of the specified key with just the new digest. // // This is a required field. Value ImageUpdateValueType `json:"value" protobuf:"bytes,4,opt,name=value"` }
HelmImageUpdate describes how a specific image version can be incorporated into a specific Helm values file.
func (*HelmImageUpdate) DeepCopy ¶
func (in *HelmImageUpdate) DeepCopy() *HelmImageUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmImageUpdate.
func (*HelmImageUpdate) DeepCopyInto ¶
func (in *HelmImageUpdate) DeepCopyInto(out *HelmImageUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmImageUpdate) Descriptor ¶ added in v0.5.0
func (*HelmImageUpdate) Descriptor() ([]byte, []int)
func (*HelmImageUpdate) Marshal ¶ added in v0.5.0
func (m *HelmImageUpdate) Marshal() (dAtA []byte, err error)
func (*HelmImageUpdate) MarshalTo ¶ added in v0.5.0
func (m *HelmImageUpdate) MarshalTo(dAtA []byte) (int, error)
func (*HelmImageUpdate) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *HelmImageUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HelmImageUpdate) ProtoMessage ¶ added in v0.5.0
func (*HelmImageUpdate) ProtoMessage()
func (*HelmImageUpdate) Reset ¶ added in v0.5.0
func (m *HelmImageUpdate) Reset()
func (*HelmImageUpdate) Size ¶ added in v0.5.0
func (m *HelmImageUpdate) Size() (n int)
func (*HelmImageUpdate) String ¶ added in v0.5.0
func (this *HelmImageUpdate) String() string
func (*HelmImageUpdate) Unmarshal ¶ added in v0.5.0
func (m *HelmImageUpdate) Unmarshal(dAtA []byte) error
func (*HelmImageUpdate) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *HelmImageUpdate) XXX_DiscardUnknown()
func (*HelmImageUpdate) XXX_Marshal ¶ added in v0.5.0
func (m *HelmImageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HelmImageUpdate) XXX_Merge ¶ added in v0.5.0
func (m *HelmImageUpdate) XXX_Merge(src proto.Message)
func (*HelmImageUpdate) XXX_Size ¶ added in v0.5.0
func (m *HelmImageUpdate) XXX_Size() int
func (*HelmImageUpdate) XXX_Unmarshal ¶ added in v0.5.0
func (m *HelmImageUpdate) XXX_Unmarshal(b []byte) error
type HelmPromotionMechanism ¶
type HelmPromotionMechanism struct { // Images describes how specific image versions can be incorporated into Helm // values files. Images []HelmImageUpdate `json:"images,omitempty" protobuf:"bytes,1,rep,name=images"` // Charts describes how specific chart versions can be incorporated into an // umbrella chart. Charts []HelmChartDependencyUpdate `json:"charts,omitempty" protobuf:"bytes,2,rep,name=charts"` }
HelmPromotionMechanism describes how to use Helm to incorporate Freight into a Stage.
func (*HelmPromotionMechanism) DeepCopy ¶
func (in *HelmPromotionMechanism) DeepCopy() *HelmPromotionMechanism
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmPromotionMechanism.
func (*HelmPromotionMechanism) DeepCopyInto ¶
func (in *HelmPromotionMechanism) DeepCopyInto(out *HelmPromotionMechanism)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmPromotionMechanism) Descriptor ¶ added in v0.5.0
func (*HelmPromotionMechanism) Descriptor() ([]byte, []int)
func (*HelmPromotionMechanism) Marshal ¶ added in v0.5.0
func (m *HelmPromotionMechanism) Marshal() (dAtA []byte, err error)
func (*HelmPromotionMechanism) MarshalTo ¶ added in v0.5.0
func (m *HelmPromotionMechanism) MarshalTo(dAtA []byte) (int, error)
func (*HelmPromotionMechanism) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *HelmPromotionMechanism) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HelmPromotionMechanism) ProtoMessage ¶ added in v0.5.0
func (*HelmPromotionMechanism) ProtoMessage()
func (*HelmPromotionMechanism) Reset ¶ added in v0.5.0
func (m *HelmPromotionMechanism) Reset()
func (*HelmPromotionMechanism) Size ¶ added in v0.5.0
func (m *HelmPromotionMechanism) Size() (n int)
func (*HelmPromotionMechanism) String ¶ added in v0.5.0
func (this *HelmPromotionMechanism) String() string
func (*HelmPromotionMechanism) Unmarshal ¶ added in v0.5.0
func (m *HelmPromotionMechanism) Unmarshal(dAtA []byte) error
func (*HelmPromotionMechanism) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *HelmPromotionMechanism) XXX_DiscardUnknown()
func (*HelmPromotionMechanism) XXX_Marshal ¶ added in v0.5.0
func (m *HelmPromotionMechanism) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HelmPromotionMechanism) XXX_Merge ¶ added in v0.5.0
func (m *HelmPromotionMechanism) XXX_Merge(src proto.Message)
func (*HelmPromotionMechanism) XXX_Size ¶ added in v0.5.0
func (m *HelmPromotionMechanism) XXX_Size() int
func (*HelmPromotionMechanism) XXX_Unmarshal ¶ added in v0.5.0
func (m *HelmPromotionMechanism) XXX_Unmarshal(b []byte) error
type Image ¶
type Image struct { // RepoURL describes the repository in which the image can be found. RepoURL string `json:"repoURL,omitempty" protobuf:"bytes,1,opt,name=repoURL"` // GitRepoURL specifies the URL of a Git repository that contains the source // code for the image repository referenced by the RepoURL field if Kargo was // able to infer it. GitRepoURL string `json:"gitRepoURL,omitempty" protobuf:"bytes,2,opt,name=gitRepoURL"` // Tag identifies a specific version of the image in the repository specified // by RepoURL. Tag string `json:"tag,omitempty" protobuf:"bytes,3,opt,name=tag"` // Digest identifies a specific version of the image in the repository // specified by RepoURL. This is a more precise identifier than Tag. Digest string `json:"digest,omitempty" protobuf:"bytes,4,opt,name=digest"` }
Image describes a specific version of a container image.
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Image) Descriptor ¶ added in v0.5.0
func (*Image) MarshalToSizedBuffer ¶ added in v0.5.0
func (*Image) ProtoMessage ¶ added in v0.5.0
func (*Image) ProtoMessage()
func (*Image) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Image) XXX_DiscardUnknown()
func (*Image) XXX_Marshal ¶ added in v0.5.0
func (*Image) XXX_Unmarshal ¶ added in v0.5.0
type ImageSelectionStrategy ¶ added in v0.4.0
type ImageSelectionStrategy string
+kubebuilder:validation:Enum={Digest,Lexical,NewestBuild,SemVer}
const ( ImageSelectionStrategyDigest ImageSelectionStrategy = "Digest" ImageSelectionStrategyLexical ImageSelectionStrategy = "Lexical" ImageSelectionStrategyNewestBuild ImageSelectionStrategy = "NewestBuild" ImageSelectionStrategySemVer ImageSelectionStrategy = "SemVer" )
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+([\.-]\w+)*(:[\d]+)?/)?(\w+([\.-]\w+)*)(/\w+([\.-]\w+)*)*$` RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"` // GitRepoURL optionally specifies the URL of a Git repository that contains // the source code for the image repository referenced by the RepoURL field. // When this is specified, Kargo MAY be able to infer and link to the exact // revision of that source code that was used to build the image. // // +kubebuilder:validation:Optional // +kubebuilder:validation:Pattern=`^https?://(\w+([\.-]\w+)*@)?\w+([\.-]\w+)*(:[\d]+)?(/.*)?$` GitRepoURL string `json:"gitRepoURL,omitempty" protobuf:"bytes,2,opt,name=gitRepoURL"` // ImageSelectionStrategy 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 ImageSelectionStrategy ImageSelectionStrategy `json:"imageSelectionStrategy,omitempty" protobuf:"bytes,3,opt,name=imageSelectionStrategy"` // SemverConstraint specifies constraints on what new image versions are // permissible. The value in this field only has any effect when the // ImageSelectionStrategy is SemVer or left unspecified (which is implicitly // the same as SemVer). This field is also optional. When left unspecified, // (and the ImageSelectionStrategy 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. // More info: https://github.com/masterminds/semver#checking-version-constraints // // +kubebuilder:validation:Optional SemverConstraint string `json:"semverConstraint,omitempty" protobuf:"bytes,4,opt,name=semverConstraint"` // 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 `json:"allowTags,omitempty" protobuf:"bytes,5,opt,name=allowTags"` // 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 `json:"ignoreTags,omitempty" protobuf:"bytes,6,rep,name=ignoreTags"` // 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 `json:"platform,omitempty" protobuf:"bytes,7,opt,name=platform"` // InsecureSkipTLSVerify specifies whether certificate verification errors // should be ignored when connecting to the repository. This should be enabled // only with great caution. InsecureSkipTLSVerify bool `json:"insecureSkipTLSVerify,omitempty" protobuf:"varint,8,opt,name=insecureSkipTLSVerify"` }
ImageSubscription defines a subscription to an image repository.
func (*ImageSubscription) DeepCopy ¶
func (in *ImageSubscription) DeepCopy() *ImageSubscription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSubscription.
func (*ImageSubscription) DeepCopyInto ¶
func (in *ImageSubscription) DeepCopyInto(out *ImageSubscription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageSubscription) Descriptor ¶ added in v0.5.0
func (*ImageSubscription) Descriptor() ([]byte, []int)
func (*ImageSubscription) Marshal ¶ added in v0.5.0
func (m *ImageSubscription) Marshal() (dAtA []byte, err error)
func (*ImageSubscription) MarshalTo ¶ added in v0.5.0
func (m *ImageSubscription) MarshalTo(dAtA []byte) (int, error)
func (*ImageSubscription) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ImageSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ImageSubscription) ProtoMessage ¶ added in v0.5.0
func (*ImageSubscription) ProtoMessage()
func (*ImageSubscription) Reset ¶ added in v0.5.0
func (m *ImageSubscription) Reset()
func (*ImageSubscription) Size ¶ added in v0.5.0
func (m *ImageSubscription) Size() (n int)
func (*ImageSubscription) String ¶ added in v0.5.0
func (this *ImageSubscription) String() string
func (*ImageSubscription) Unmarshal ¶ added in v0.5.0
func (m *ImageSubscription) Unmarshal(dAtA []byte) error
func (*ImageSubscription) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ImageSubscription) XXX_DiscardUnknown()
func (*ImageSubscription) XXX_Marshal ¶ added in v0.5.0
func (m *ImageSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImageSubscription) XXX_Merge ¶ added in v0.5.0
func (m *ImageSubscription) XXX_Merge(src proto.Message)
func (*ImageSubscription) XXX_Size ¶ added in v0.5.0
func (m *ImageSubscription) XXX_Size() int
func (*ImageSubscription) XXX_Unmarshal ¶ added in v0.5.0
func (m *ImageSubscription) XXX_Unmarshal(b []byte) error
type ImageUpdateValueType ¶
type ImageUpdateValueType string
+kubebuilder:validation:Enum={ImageAndTag,Tag,ImageAndDigest,Digest}
const ( ImageUpdateValueTypeImageAndTag ImageUpdateValueType = "ImageAndTag" ImageUpdateValueTypeTag ImageUpdateValueType = "Tag" ImageUpdateValueTypeImageAndDigest ImageUpdateValueType = "ImageAndDigest" ImageUpdateValueTypeDigest ImageUpdateValueType = "Digest" )
type KargoRenderImageUpdate ¶ added in v0.3.0
type KargoRenderImageUpdate struct { // Image specifies a container image (without tag). This is a required field. // // +kubebuilder:validation:MinLength=1 Image string `json:"image" protobuf:"bytes,1,opt,name=image"` // UseDigest specifies whether the image's digest should be used instead of // its tag. // // +kubebuilder:validation:Optional UseDigest bool `json:"useDigest" protobuf:"varint,2,opt,name=useDigest"` }
KargoRenderImageUpdate describes how an image can be incorporated into a Stage using Kargo Render.
func (*KargoRenderImageUpdate) DeepCopy ¶ added in v0.3.0
func (in *KargoRenderImageUpdate) DeepCopy() *KargoRenderImageUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KargoRenderImageUpdate.
func (*KargoRenderImageUpdate) DeepCopyInto ¶ added in v0.3.0
func (in *KargoRenderImageUpdate) DeepCopyInto(out *KargoRenderImageUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KargoRenderImageUpdate) Descriptor ¶ added in v0.5.0
func (*KargoRenderImageUpdate) Descriptor() ([]byte, []int)
func (*KargoRenderImageUpdate) Marshal ¶ added in v0.5.0
func (m *KargoRenderImageUpdate) Marshal() (dAtA []byte, err error)
func (*KargoRenderImageUpdate) MarshalTo ¶ added in v0.5.0
func (m *KargoRenderImageUpdate) MarshalTo(dAtA []byte) (int, error)
func (*KargoRenderImageUpdate) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *KargoRenderImageUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*KargoRenderImageUpdate) ProtoMessage ¶ added in v0.5.0
func (*KargoRenderImageUpdate) ProtoMessage()
func (*KargoRenderImageUpdate) Reset ¶ added in v0.5.0
func (m *KargoRenderImageUpdate) Reset()
func (*KargoRenderImageUpdate) Size ¶ added in v0.5.0
func (m *KargoRenderImageUpdate) Size() (n int)
func (*KargoRenderImageUpdate) String ¶ added in v0.5.0
func (this *KargoRenderImageUpdate) String() string
func (*KargoRenderImageUpdate) Unmarshal ¶ added in v0.5.0
func (m *KargoRenderImageUpdate) Unmarshal(dAtA []byte) error
func (*KargoRenderImageUpdate) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *KargoRenderImageUpdate) XXX_DiscardUnknown()
func (*KargoRenderImageUpdate) XXX_Marshal ¶ added in v0.5.0
func (m *KargoRenderImageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KargoRenderImageUpdate) XXX_Merge ¶ added in v0.5.0
func (m *KargoRenderImageUpdate) XXX_Merge(src proto.Message)
func (*KargoRenderImageUpdate) XXX_Size ¶ added in v0.5.0
func (m *KargoRenderImageUpdate) XXX_Size() int
func (*KargoRenderImageUpdate) XXX_Unmarshal ¶ added in v0.5.0
func (m *KargoRenderImageUpdate) XXX_Unmarshal(b []byte) error
type KargoRenderPromotionMechanism ¶ added in v0.2.0
type KargoRenderPromotionMechanism struct { // Images describes how images can be incorporated into a Stage using Kargo // Render. If this field is omitted, all images in the Freight being promoted // will be passed to Kargo Render in the form <image name>:<tag>. (e.g. Will // not use digests by default.) // // +kubebuilder:validation:Optional Images []KargoRenderImageUpdate `json:"images,omitempty" protobuf:"bytes,1,rep,name=images"` }
KargoRenderPromotionMechanism describes how to use Kargo Render to incorporate Freight into a Stage.
func (*KargoRenderPromotionMechanism) DeepCopy ¶ added in v0.2.0
func (in *KargoRenderPromotionMechanism) DeepCopy() *KargoRenderPromotionMechanism
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KargoRenderPromotionMechanism.
func (*KargoRenderPromotionMechanism) DeepCopyInto ¶ added in v0.2.0
func (in *KargoRenderPromotionMechanism) DeepCopyInto(out *KargoRenderPromotionMechanism)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KargoRenderPromotionMechanism) Descriptor ¶ added in v0.5.0
func (*KargoRenderPromotionMechanism) Descriptor() ([]byte, []int)
func (*KargoRenderPromotionMechanism) Marshal ¶ added in v0.5.0
func (m *KargoRenderPromotionMechanism) Marshal() (dAtA []byte, err error)
func (*KargoRenderPromotionMechanism) MarshalTo ¶ added in v0.5.0
func (m *KargoRenderPromotionMechanism) MarshalTo(dAtA []byte) (int, error)
func (*KargoRenderPromotionMechanism) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *KargoRenderPromotionMechanism) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*KargoRenderPromotionMechanism) ProtoMessage ¶ added in v0.5.0
func (*KargoRenderPromotionMechanism) ProtoMessage()
func (*KargoRenderPromotionMechanism) Reset ¶ added in v0.5.0
func (m *KargoRenderPromotionMechanism) Reset()
func (*KargoRenderPromotionMechanism) Size ¶ added in v0.5.0
func (m *KargoRenderPromotionMechanism) Size() (n int)
func (*KargoRenderPromotionMechanism) String ¶ added in v0.5.0
func (this *KargoRenderPromotionMechanism) String() string
func (*KargoRenderPromotionMechanism) Unmarshal ¶ added in v0.5.0
func (m *KargoRenderPromotionMechanism) Unmarshal(dAtA []byte) error
func (*KargoRenderPromotionMechanism) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *KargoRenderPromotionMechanism) XXX_DiscardUnknown()
func (*KargoRenderPromotionMechanism) XXX_Marshal ¶ added in v0.5.0
func (m *KargoRenderPromotionMechanism) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KargoRenderPromotionMechanism) XXX_Merge ¶ added in v0.5.0
func (m *KargoRenderPromotionMechanism) XXX_Merge(src proto.Message)
func (*KargoRenderPromotionMechanism) XXX_Size ¶ added in v0.5.0
func (m *KargoRenderPromotionMechanism) XXX_Size() int
func (*KargoRenderPromotionMechanism) XXX_Unmarshal ¶ added in v0.5.0
func (m *KargoRenderPromotionMechanism) XXX_Unmarshal(b []byte) error
type KustomizeImageUpdate ¶
type KustomizeImageUpdate struct { // Image specifies a container image (without tag). This is a required field. // // +kubebuilder:validation:MinLength=1 Image string `json:"image" protobuf:"bytes,1,opt,name=image"` // 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 `json:"path" protobuf:"bytes,2,opt,name=path"` // UseDigest specifies whether the image's digest should be used instead of // its tag. // // +kubebuilder:validation:Optional UseDigest bool `json:"useDigest" protobuf:"varint,3,opt,name=useDigest"` }
KustomizeImageUpdate describes how to run `kustomize edit set image` for a given image.
func (*KustomizeImageUpdate) DeepCopy ¶
func (in *KustomizeImageUpdate) DeepCopy() *KustomizeImageUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizeImageUpdate.
func (*KustomizeImageUpdate) DeepCopyInto ¶
func (in *KustomizeImageUpdate) DeepCopyInto(out *KustomizeImageUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KustomizeImageUpdate) Descriptor ¶ added in v0.5.0
func (*KustomizeImageUpdate) Descriptor() ([]byte, []int)
func (*KustomizeImageUpdate) Marshal ¶ added in v0.5.0
func (m *KustomizeImageUpdate) Marshal() (dAtA []byte, err error)
func (*KustomizeImageUpdate) MarshalTo ¶ added in v0.5.0
func (m *KustomizeImageUpdate) MarshalTo(dAtA []byte) (int, error)
func (*KustomizeImageUpdate) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *KustomizeImageUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*KustomizeImageUpdate) ProtoMessage ¶ added in v0.5.0
func (*KustomizeImageUpdate) ProtoMessage()
func (*KustomizeImageUpdate) Reset ¶ added in v0.5.0
func (m *KustomizeImageUpdate) Reset()
func (*KustomizeImageUpdate) Size ¶ added in v0.5.0
func (m *KustomizeImageUpdate) Size() (n int)
func (*KustomizeImageUpdate) String ¶ added in v0.5.0
func (this *KustomizeImageUpdate) String() string
func (*KustomizeImageUpdate) Unmarshal ¶ added in v0.5.0
func (m *KustomizeImageUpdate) Unmarshal(dAtA []byte) error
func (*KustomizeImageUpdate) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *KustomizeImageUpdate) XXX_DiscardUnknown()
func (*KustomizeImageUpdate) XXX_Marshal ¶ added in v0.5.0
func (m *KustomizeImageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KustomizeImageUpdate) XXX_Merge ¶ added in v0.5.0
func (m *KustomizeImageUpdate) XXX_Merge(src proto.Message)
func (*KustomizeImageUpdate) XXX_Size ¶ added in v0.5.0
func (m *KustomizeImageUpdate) XXX_Size() int
func (*KustomizeImageUpdate) XXX_Unmarshal ¶ added in v0.5.0
func (m *KustomizeImageUpdate) XXX_Unmarshal(b []byte) error
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 `json:"images" protobuf:"bytes,1,rep,name=images"` }
KustomizePromotionMechanism describes how to use Kustomize to incorporate Freight into a Stage.
func (*KustomizePromotionMechanism) DeepCopy ¶
func (in *KustomizePromotionMechanism) DeepCopy() *KustomizePromotionMechanism
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizePromotionMechanism.
func (*KustomizePromotionMechanism) DeepCopyInto ¶
func (in *KustomizePromotionMechanism) DeepCopyInto(out *KustomizePromotionMechanism)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KustomizePromotionMechanism) Descriptor ¶ added in v0.5.0
func (*KustomizePromotionMechanism) Descriptor() ([]byte, []int)
func (*KustomizePromotionMechanism) Marshal ¶ added in v0.5.0
func (m *KustomizePromotionMechanism) Marshal() (dAtA []byte, err error)
func (*KustomizePromotionMechanism) MarshalTo ¶ added in v0.5.0
func (m *KustomizePromotionMechanism) MarshalTo(dAtA []byte) (int, error)
func (*KustomizePromotionMechanism) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *KustomizePromotionMechanism) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*KustomizePromotionMechanism) ProtoMessage ¶ added in v0.5.0
func (*KustomizePromotionMechanism) ProtoMessage()
func (*KustomizePromotionMechanism) Reset ¶ added in v0.5.0
func (m *KustomizePromotionMechanism) Reset()
func (*KustomizePromotionMechanism) Size ¶ added in v0.5.0
func (m *KustomizePromotionMechanism) Size() (n int)
func (*KustomizePromotionMechanism) String ¶ added in v0.5.0
func (this *KustomizePromotionMechanism) String() string
func (*KustomizePromotionMechanism) Unmarshal ¶ added in v0.5.0
func (m *KustomizePromotionMechanism) Unmarshal(dAtA []byte) error
func (*KustomizePromotionMechanism) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *KustomizePromotionMechanism) XXX_DiscardUnknown()
func (*KustomizePromotionMechanism) XXX_Marshal ¶ added in v0.5.0
func (m *KustomizePromotionMechanism) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KustomizePromotionMechanism) XXX_Merge ¶ added in v0.5.0
func (m *KustomizePromotionMechanism) XXX_Merge(src proto.Message)
func (*KustomizePromotionMechanism) XXX_Size ¶ added in v0.5.0
func (m *KustomizePromotionMechanism) XXX_Size() int
func (*KustomizePromotionMechanism) XXX_Unmarshal ¶ added in v0.5.0
func (m *KustomizePromotionMechanism) XXX_Unmarshal(b []byte) error
type Project ¶ added in v0.4.0
type Project struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec describes a Project. Spec *ProjectSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status describes the Project's current status. Status ProjectStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Project is a resource type that reconciles to a specially labeled namespace and other TODO: TBD project-level resources.
func GetProject ¶ added in v0.4.0
GetProject returns a pointer to the cluster-scoped Project resource specified by the name argument. If no such resource is found, nil is returned instead.
func (*Project) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶ added in v0.4.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Project) Descriptor ¶ added in v0.5.0
func (*Project) GetStatus ¶ added in v0.4.0
func (p *Project) GetStatus() *ProjectStatus
func (*Project) MarshalToSizedBuffer ¶ added in v0.5.0
func (*Project) ProtoMessage ¶ added in v0.5.0
func (*Project) ProtoMessage()
func (*Project) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Project) XXX_DiscardUnknown()
func (*Project) XXX_Marshal ¶ added in v0.5.0
func (*Project) XXX_Unmarshal ¶ added in v0.5.0
type ProjectList ¶ added in v0.4.0
type ProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Project `json:"items" protobuf:"bytes,2,rep,name=items"` }
ProjectList is a list of Project resources.
func (*ProjectList) DeepCopy ¶ added in v0.4.0
func (in *ProjectList) DeepCopy() *ProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
func (*ProjectList) DeepCopyInto ¶ added in v0.4.0
func (in *ProjectList) DeepCopyInto(out *ProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectList) DeepCopyObject ¶ added in v0.4.0
func (in *ProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProjectList) Descriptor ¶ added in v0.5.0
func (*ProjectList) Descriptor() ([]byte, []int)
func (*ProjectList) Marshal ¶ added in v0.5.0
func (m *ProjectList) Marshal() (dAtA []byte, err error)
func (*ProjectList) MarshalTo ¶ added in v0.5.0
func (m *ProjectList) MarshalTo(dAtA []byte) (int, error)
func (*ProjectList) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ProjectList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProjectList) ProtoMessage ¶ added in v0.5.0
func (*ProjectList) ProtoMessage()
func (*ProjectList) Reset ¶ added in v0.5.0
func (m *ProjectList) Reset()
func (*ProjectList) Size ¶ added in v0.5.0
func (m *ProjectList) Size() (n int)
func (*ProjectList) String ¶ added in v0.5.0
func (this *ProjectList) String() string
func (*ProjectList) Unmarshal ¶ added in v0.5.0
func (m *ProjectList) Unmarshal(dAtA []byte) error
func (*ProjectList) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ProjectList) XXX_DiscardUnknown()
func (*ProjectList) XXX_Marshal ¶ added in v0.5.0
func (m *ProjectList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectList) XXX_Merge ¶ added in v0.5.0
func (m *ProjectList) XXX_Merge(src proto.Message)
func (*ProjectList) XXX_Size ¶ added in v0.5.0
func (m *ProjectList) XXX_Size() int
func (*ProjectList) XXX_Unmarshal ¶ added in v0.5.0
func (m *ProjectList) XXX_Unmarshal(b []byte) error
type ProjectPhase ¶ added in v0.4.0
type ProjectPhase string
const ( // ProjectPhaseInitializing denotes a Project that is not yet fully // initialized. ProjectPhaseInitializing ProjectPhase = "Initializing" // ProjectPhaseInitializationFailed denotes a Project while failed to // initialize properly. ProjectPhaseInitializationFailed ProjectPhase = "InitializationFailed" // ProjectPhaseReady denotes a Project that is fully initialized. ProjectPhaseReady ProjectPhase = "Ready" )
func (*ProjectPhase) IsTerminal ¶ added in v0.4.0
func (p *ProjectPhase) IsTerminal() bool
IsTerminal returns true if the ProjectPhase is a terminal one.
type ProjectSpec ¶ added in v0.4.0
type ProjectSpec struct { // PromotionPolicies defines policies governing the promotion of Freight to // specific Stages within this Project. PromotionPolicies []PromotionPolicy `json:"promotionPolicies,omitempty" protobuf:"bytes,1,rep,name=promotionPolicies"` }
ProjectSpec describes a Project.
func (*ProjectSpec) DeepCopy ¶ added in v0.4.0
func (in *ProjectSpec) DeepCopy() *ProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpec.
func (*ProjectSpec) DeepCopyInto ¶ added in v0.4.0
func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectSpec) Descriptor ¶ added in v0.5.0
func (*ProjectSpec) Descriptor() ([]byte, []int)
func (*ProjectSpec) Marshal ¶ added in v0.5.0
func (m *ProjectSpec) Marshal() (dAtA []byte, err error)
func (*ProjectSpec) MarshalTo ¶ added in v0.5.0
func (m *ProjectSpec) MarshalTo(dAtA []byte) (int, error)
func (*ProjectSpec) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ProjectSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProjectSpec) ProtoMessage ¶ added in v0.5.0
func (*ProjectSpec) ProtoMessage()
func (*ProjectSpec) Reset ¶ added in v0.5.0
func (m *ProjectSpec) Reset()
func (*ProjectSpec) Size ¶ added in v0.5.0
func (m *ProjectSpec) Size() (n int)
func (*ProjectSpec) String ¶ added in v0.5.0
func (this *ProjectSpec) String() string
func (*ProjectSpec) Unmarshal ¶ added in v0.5.0
func (m *ProjectSpec) Unmarshal(dAtA []byte) error
func (*ProjectSpec) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ProjectSpec) XXX_DiscardUnknown()
func (*ProjectSpec) XXX_Marshal ¶ added in v0.5.0
func (m *ProjectSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectSpec) XXX_Merge ¶ added in v0.5.0
func (m *ProjectSpec) XXX_Merge(src proto.Message)
func (*ProjectSpec) XXX_Size ¶ added in v0.5.0
func (m *ProjectSpec) XXX_Size() int
func (*ProjectSpec) XXX_Unmarshal ¶ added in v0.5.0
func (m *ProjectSpec) XXX_Unmarshal(b []byte) error
type ProjectStatus ¶ added in v0.4.0
type ProjectStatus struct { // Phase describes the Project's current phase. Phase ProjectPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase"` // Message is a display message about the Project, including any errors // preventing the Project from being reconciled. i.e. If the Phase field has a // value of CreationFailed, this field can be expected to explain why. Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` }
ProjectStatus describes a Project's current status.
func (*ProjectStatus) DeepCopy ¶ added in v0.4.0
func (in *ProjectStatus) DeepCopy() *ProjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectStatus.
func (*ProjectStatus) DeepCopyInto ¶ added in v0.4.0
func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectStatus) Descriptor ¶ added in v0.5.0
func (*ProjectStatus) Descriptor() ([]byte, []int)
func (*ProjectStatus) Marshal ¶ added in v0.5.0
func (m *ProjectStatus) Marshal() (dAtA []byte, err error)
func (*ProjectStatus) MarshalTo ¶ added in v0.5.0
func (m *ProjectStatus) MarshalTo(dAtA []byte) (int, error)
func (*ProjectStatus) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *ProjectStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProjectStatus) ProtoMessage ¶ added in v0.5.0
func (*ProjectStatus) ProtoMessage()
func (*ProjectStatus) Reset ¶ added in v0.5.0
func (m *ProjectStatus) Reset()
func (*ProjectStatus) Size ¶ added in v0.5.0
func (m *ProjectStatus) Size() (n int)
func (*ProjectStatus) String ¶ added in v0.5.0
func (this *ProjectStatus) String() string
func (*ProjectStatus) Unmarshal ¶ added in v0.5.0
func (m *ProjectStatus) Unmarshal(dAtA []byte) error
func (*ProjectStatus) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ProjectStatus) XXX_DiscardUnknown()
func (*ProjectStatus) XXX_Marshal ¶ added in v0.5.0
func (m *ProjectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectStatus) XXX_Merge ¶ added in v0.5.0
func (m *ProjectStatus) XXX_Merge(src proto.Message)
func (*ProjectStatus) XXX_Size ¶ added in v0.5.0
func (m *ProjectStatus) XXX_Size() int
func (*ProjectStatus) XXX_Unmarshal ¶ added in v0.5.0
func (m *ProjectStatus) XXX_Unmarshal(b []byte) error
type Promotion ¶
type Promotion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec describes the desired transition of a specific Stage into a specific // Freight. // // +kubebuilder:validation:Required Spec PromotionSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status describes the current state of the transition represented by this // Promotion. Status PromotionStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Promotion represents a request to transition a particular Stage into a particular Freight.
func GetPromotion ¶ added in v0.2.0
func GetPromotion( ctx context.Context, c client.Client, namespacedName types.NamespacedName, ) (*Promotion, error)
GetPromotion returns a pointer to the Promotion resource specified by the namespacedName argument. If no such resource is found, nil is returned instead.
func RefreshPromotion ¶ added in v0.3.0
func RefreshPromotion( ctx context.Context, c client.Client, namespacedName types.NamespacedName, ) (*Promotion, error)
RefreshPromotion forces reconciliation of a Promotion by setting an annotation on the Promotion, causing the controller to reconcile it. Currently, the annotation value is the timestamp of the request, but might in the future include additional metadata/context necessary for the request.
func (*Promotion) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Promotion.
func (*Promotion) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Promotion) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Promotion) Descriptor ¶ added in v0.5.0
func (*Promotion) GetStatus ¶
func (p *Promotion) GetStatus() *PromotionStatus
func (*Promotion) MarshalToSizedBuffer ¶ added in v0.5.0
func (*Promotion) ProtoMessage ¶ added in v0.5.0
func (*Promotion) ProtoMessage()
func (*Promotion) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Promotion) XXX_DiscardUnknown()
func (*Promotion) XXX_Marshal ¶ added in v0.5.0
func (*Promotion) XXX_Unmarshal ¶ added in v0.5.0
type PromotionInfo ¶
type PromotionInfo struct { // Name is the name of the Promotion Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Freight is the freight being promoted Freight FreightReference `json:"freight" protobuf:"bytes,2,opt,name=freight"` // Status is the (optional) status of the promotion Status *PromotionStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
func (*PromotionInfo) DeepCopy ¶
func (in *PromotionInfo) DeepCopy() *PromotionInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromotionInfo.
func (*PromotionInfo) DeepCopyInto ¶
func (in *PromotionInfo) DeepCopyInto(out *PromotionInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PromotionInfo) Descriptor ¶ added in v0.5.0
func (*PromotionInfo) Descriptor() ([]byte, []int)
func (*PromotionInfo) Marshal ¶ added in v0.5.0
func (m *PromotionInfo) Marshal() (dAtA []byte, err error)
func (*PromotionInfo) MarshalTo ¶ added in v0.5.0
func (m *PromotionInfo) MarshalTo(dAtA []byte) (int, error)
func (*PromotionInfo) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *PromotionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PromotionInfo) ProtoMessage ¶ added in v0.5.0
func (*PromotionInfo) ProtoMessage()
func (*PromotionInfo) Reset ¶ added in v0.5.0
func (m *PromotionInfo) Reset()
func (*PromotionInfo) Size ¶ added in v0.5.0
func (m *PromotionInfo) Size() (n int)
func (*PromotionInfo) String ¶ added in v0.5.0
func (this *PromotionInfo) String() string
func (*PromotionInfo) Unmarshal ¶ added in v0.5.0
func (m *PromotionInfo) Unmarshal(dAtA []byte) error
func (*PromotionInfo) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *PromotionInfo) XXX_DiscardUnknown()
func (*PromotionInfo) XXX_Marshal ¶ added in v0.5.0
func (m *PromotionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PromotionInfo) XXX_Merge ¶ added in v0.5.0
func (m *PromotionInfo) XXX_Merge(src proto.Message)
func (*PromotionInfo) XXX_Size ¶ added in v0.5.0
func (m *PromotionInfo) XXX_Size() int
func (*PromotionInfo) XXX_Unmarshal ¶ added in v0.5.0
func (m *PromotionInfo) XXX_Unmarshal(b []byte) error
type PromotionList ¶
type PromotionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Promotion `json:"items" protobuf:"bytes,2,rep,name=items"` }
PromotionList contains a list of Promotion
func (*PromotionList) DeepCopy ¶
func (in *PromotionList) DeepCopy() *PromotionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromotionList.
func (*PromotionList) DeepCopyInto ¶
func (in *PromotionList) DeepCopyInto(out *PromotionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PromotionList) DeepCopyObject ¶
func (in *PromotionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PromotionList) Descriptor ¶ added in v0.5.0
func (*PromotionList) Descriptor() ([]byte, []int)
func (*PromotionList) Marshal ¶ added in v0.5.0
func (m *PromotionList) Marshal() (dAtA []byte, err error)
func (*PromotionList) MarshalTo ¶ added in v0.5.0
func (m *PromotionList) MarshalTo(dAtA []byte) (int, error)
func (*PromotionList) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *PromotionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PromotionList) ProtoMessage ¶ added in v0.5.0
func (*PromotionList) ProtoMessage()
func (*PromotionList) Reset ¶ added in v0.5.0
func (m *PromotionList) Reset()
func (*PromotionList) Size ¶ added in v0.5.0
func (m *PromotionList) Size() (n int)
func (*PromotionList) String ¶ added in v0.5.0
func (this *PromotionList) String() string
func (*PromotionList) Unmarshal ¶ added in v0.5.0
func (m *PromotionList) Unmarshal(dAtA []byte) error
func (*PromotionList) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *PromotionList) XXX_DiscardUnknown()
func (*PromotionList) XXX_Marshal ¶ added in v0.5.0
func (m *PromotionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PromotionList) XXX_Merge ¶ added in v0.5.0
func (m *PromotionList) XXX_Merge(src proto.Message)
func (*PromotionList) XXX_Size ¶ added in v0.5.0
func (m *PromotionList) XXX_Size() int
func (*PromotionList) XXX_Unmarshal ¶ added in v0.5.0
func (m *PromotionList) XXX_Unmarshal(b []byte) error
type PromotionMechanisms ¶
type PromotionMechanisms struct { // GitRepoUpdates describes updates that should be applied to Git repositories // to incorporate Freight into the Stage. This field is optional, as such // actions are not required in all cases. GitRepoUpdates []GitRepoUpdate `json:"gitRepoUpdates,omitempty" protobuf:"bytes,1,rep,name=gitRepoUpdates"` // ArgoCDAppUpdates describes updates that should be applied to Argo CD // Application resources to incorporate Freight 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 `json:"argoCDAppUpdates,omitempty" protobuf:"bytes,2,rep,name=argoCDAppUpdates"` }
PromotionMechanisms describes how to incorporate Freight into a Stage.
func (*PromotionMechanisms) DeepCopy ¶
func (in *PromotionMechanisms) DeepCopy() *PromotionMechanisms
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromotionMechanisms.
func (*PromotionMechanisms) DeepCopyInto ¶
func (in *PromotionMechanisms) DeepCopyInto(out *PromotionMechanisms)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PromotionMechanisms) Descriptor ¶ added in v0.5.0
func (*PromotionMechanisms) Descriptor() ([]byte, []int)
func (*PromotionMechanisms) Marshal ¶ added in v0.5.0
func (m *PromotionMechanisms) Marshal() (dAtA []byte, err error)
func (*PromotionMechanisms) MarshalTo ¶ added in v0.5.0
func (m *PromotionMechanisms) MarshalTo(dAtA []byte) (int, error)
func (*PromotionMechanisms) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *PromotionMechanisms) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PromotionMechanisms) ProtoMessage ¶ added in v0.5.0
func (*PromotionMechanisms) ProtoMessage()
func (*PromotionMechanisms) Reset ¶ added in v0.5.0
func (m *PromotionMechanisms) Reset()
func (*PromotionMechanisms) Size ¶ added in v0.5.0
func (m *PromotionMechanisms) Size() (n int)
func (*PromotionMechanisms) String ¶ added in v0.5.0
func (this *PromotionMechanisms) String() string
func (*PromotionMechanisms) Unmarshal ¶ added in v0.5.0
func (m *PromotionMechanisms) Unmarshal(dAtA []byte) error
func (*PromotionMechanisms) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *PromotionMechanisms) XXX_DiscardUnknown()
func (*PromotionMechanisms) XXX_Marshal ¶ added in v0.5.0
func (m *PromotionMechanisms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PromotionMechanisms) XXX_Merge ¶ added in v0.5.0
func (m *PromotionMechanisms) XXX_Merge(src proto.Message)
func (*PromotionMechanisms) XXX_Size ¶ added in v0.5.0
func (m *PromotionMechanisms) XXX_Size() int
func (*PromotionMechanisms) XXX_Unmarshal ¶ added in v0.5.0
func (m *PromotionMechanisms) XXX_Unmarshal(b []byte) error
type PromotionPhase ¶
type PromotionPhase string
const ( // PromotionPhasePending denotes a Promotion that has not been executed yet. // i.e. It is currently waiting in a queue. Queues are stage-specific and // prioritized by Promotion creation time. PromotionPhasePending PromotionPhase = "Pending" // PromotionPhaseRunning denotes a Promotion that is actively being executed. // // TODO: "Active" is the operative word here. We are leaving room for the // possibility in the near future that an in-progress Promotion might be // paused/suspended pending some user action. PromotionPhaseRunning PromotionPhase = "Running" // PromotionPhaseSucceeded denotes a Promotion that has been successfully // executed. PromotionPhaseSucceeded PromotionPhase = "Succeeded" // PromotionPhaseFailed denotes a Promotion that has failed PromotionPhaseFailed PromotionPhase = "Failed" // PromotionPhaseErrored denotes a Promotion that has failed for technical // reasons. Further information about the failure can be found in the // Promotion's status. PromotionPhaseErrored PromotionPhase = "Errored" )
func (*PromotionPhase) IsTerminal ¶
func (p *PromotionPhase) IsTerminal() bool
IsTerminal returns true if the PromotionPhase is a terminal one.
type PromotionPolicy ¶
type PromotionPolicy struct { // +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 `json:"stage" protobuf:"bytes,1,opt,name=stage"` // AutoPromotionEnabled indicates whether new Freight can automatically be // promoted into the Stage referenced by the Stage field. Note: There are may // be other conditions also required for an auto-promotion to occur. This // field defaults to false, but is commonly set to true for Stages that // subscribe to Warehouses instead of other, upstream Stages. This allows // users to define Stages that are automatically updated as soon as new // artifacts are detected. AutoPromotionEnabled bool `json:"autoPromotionEnabled,omitempty" protobuf:"varint,2,opt,name=autoPromotionEnabled"` }
PromotionPolicy defines policies governing the promotion of Freight to a specific Stage.
func (*PromotionPolicy) DeepCopy ¶
func (in *PromotionPolicy) DeepCopy() *PromotionPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromotionPolicy.
func (*PromotionPolicy) DeepCopyInto ¶
func (in *PromotionPolicy) DeepCopyInto(out *PromotionPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PromotionPolicy) Descriptor ¶ added in v0.5.0
func (*PromotionPolicy) Descriptor() ([]byte, []int)
func (*PromotionPolicy) Marshal ¶ added in v0.5.0
func (m *PromotionPolicy) Marshal() (dAtA []byte, err error)
func (*PromotionPolicy) MarshalTo ¶ added in v0.5.0
func (m *PromotionPolicy) MarshalTo(dAtA []byte) (int, error)
func (*PromotionPolicy) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *PromotionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PromotionPolicy) ProtoMessage ¶ added in v0.5.0
func (*PromotionPolicy) ProtoMessage()
func (*PromotionPolicy) Reset ¶ added in v0.5.0
func (m *PromotionPolicy) Reset()
func (*PromotionPolicy) Size ¶ added in v0.5.0
func (m *PromotionPolicy) Size() (n int)
func (*PromotionPolicy) String ¶ added in v0.5.0
func (this *PromotionPolicy) String() string
func (*PromotionPolicy) Unmarshal ¶ added in v0.5.0
func (m *PromotionPolicy) Unmarshal(dAtA []byte) error
func (*PromotionPolicy) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *PromotionPolicy) XXX_DiscardUnknown()
func (*PromotionPolicy) XXX_Marshal ¶ added in v0.5.0
func (m *PromotionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PromotionPolicy) XXX_Merge ¶ added in v0.5.0
func (m *PromotionPolicy) XXX_Merge(src proto.Message)
func (*PromotionPolicy) XXX_Size ¶ added in v0.5.0
func (m *PromotionPolicy) XXX_Size() int
func (*PromotionPolicy) XXX_Unmarshal ¶ added in v0.5.0
func (m *PromotionPolicy) XXX_Unmarshal(b []byte) error
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. // // +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 `json:"stage" protobuf:"bytes,1,opt,name=stage"` // Freight specifies the piece of Freight to be promoted into the Stage // referenced by the Stage field. // // +kubebuilder:validation:MinLength=1 Freight string `json:"freight" protobuf:"bytes,2,opt,name=freight"` }
PromotionSpec describes the desired transition of a specific Stage into a specific Freight.
func (*PromotionSpec) DeepCopy ¶
func (in *PromotionSpec) DeepCopy() *PromotionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromotionSpec.
func (*PromotionSpec) DeepCopyInto ¶
func (in *PromotionSpec) DeepCopyInto(out *PromotionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PromotionSpec) Descriptor ¶ added in v0.5.0
func (*PromotionSpec) Descriptor() ([]byte, []int)
func (*PromotionSpec) Marshal ¶ added in v0.5.0
func (m *PromotionSpec) Marshal() (dAtA []byte, err error)
func (*PromotionSpec) MarshalTo ¶ added in v0.5.0
func (m *PromotionSpec) MarshalTo(dAtA []byte) (int, error)
func (*PromotionSpec) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *PromotionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PromotionSpec) ProtoMessage ¶ added in v0.5.0
func (*PromotionSpec) ProtoMessage()
func (*PromotionSpec) Reset ¶ added in v0.5.0
func (m *PromotionSpec) Reset()
func (*PromotionSpec) Size ¶ added in v0.5.0
func (m *PromotionSpec) Size() (n int)
func (*PromotionSpec) String ¶ added in v0.5.0
func (this *PromotionSpec) String() string
func (*PromotionSpec) Unmarshal ¶ added in v0.5.0
func (m *PromotionSpec) Unmarshal(dAtA []byte) error
func (*PromotionSpec) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *PromotionSpec) XXX_DiscardUnknown()
func (*PromotionSpec) XXX_Marshal ¶ added in v0.5.0
func (m *PromotionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PromotionSpec) XXX_Merge ¶ added in v0.5.0
func (m *PromotionSpec) XXX_Merge(src proto.Message)
func (*PromotionSpec) XXX_Size ¶ added in v0.5.0
func (m *PromotionSpec) XXX_Size() int
func (*PromotionSpec) XXX_Unmarshal ¶ added in v0.5.0
func (m *PromotionSpec) XXX_Unmarshal(b []byte) error
type PromotionStatus ¶
type PromotionStatus struct { // LastHandledRefresh holds the value of the most recent AnnotationKeyRefresh // annotation that was handled by the controller. This field can be used to // determine whether the request to refresh the resource has been handled. // +optional LastHandledRefresh string `json:"lastHandledRefresh,omitempty" protobuf:"bytes,4,opt,name=lastHandledRefresh"` // Phase describes where the Promotion currently is in its lifecycle. Phase PromotionPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase"` // Message is a display message about the promotion, including any errors // 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. Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` // Metadata holds arbitrary metadata set by promotion mechanisms // (e.g. for display purposes, or internal bookkeeping) Metadata map[string]string `` /* 136-byte string literal not displayed */ // Freight is the detail of the piece of freight that was referenced by this promotion. Freight *FreightReference `json:"freight,omitempty" protobuf:"bytes,5,opt,name=freight"` }
PromotionStatus describes the current state of the transition represented by a Promotion.
func (*PromotionStatus) DeepCopy ¶
func (in *PromotionStatus) DeepCopy() *PromotionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromotionStatus.
func (*PromotionStatus) DeepCopyInto ¶
func (in *PromotionStatus) DeepCopyInto(out *PromotionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PromotionStatus) Descriptor ¶ added in v0.5.0
func (*PromotionStatus) Descriptor() ([]byte, []int)
func (*PromotionStatus) Marshal ¶ added in v0.5.0
func (m *PromotionStatus) Marshal() (dAtA []byte, err error)
func (*PromotionStatus) MarshalTo ¶ added in v0.5.0
func (m *PromotionStatus) MarshalTo(dAtA []byte) (int, error)
func (*PromotionStatus) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *PromotionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PromotionStatus) ProtoMessage ¶ added in v0.5.0
func (*PromotionStatus) ProtoMessage()
func (*PromotionStatus) Reset ¶ added in v0.5.0
func (m *PromotionStatus) Reset()
func (*PromotionStatus) Size ¶ added in v0.5.0
func (m *PromotionStatus) Size() (n int)
func (*PromotionStatus) String ¶ added in v0.5.0
func (this *PromotionStatus) String() string
func (*PromotionStatus) Unmarshal ¶ added in v0.5.0
func (m *PromotionStatus) Unmarshal(dAtA []byte) error
func (*PromotionStatus) WithPhase ¶ added in v0.3.0
func (p *PromotionStatus) WithPhase(phase PromotionPhase) *PromotionStatus
WithPhase returns a copy of PromotionStatus with the given phase
func (*PromotionStatus) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *PromotionStatus) XXX_DiscardUnknown()
func (*PromotionStatus) XXX_Marshal ¶ added in v0.5.0
func (m *PromotionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PromotionStatus) XXX_Merge ¶ added in v0.5.0
func (m *PromotionStatus) XXX_Merge(src proto.Message)
func (*PromotionStatus) XXX_Size ¶ added in v0.5.0
func (m *PromotionStatus) XXX_Size() int
func (*PromotionStatus) XXX_Unmarshal ¶ added in v0.5.0
func (m *PromotionStatus) XXX_Unmarshal(b []byte) error
type PullRequestPromotionMechanism ¶ added in v0.3.0
type PullRequestPromotionMechanism struct { // GitHub indicates git provider is GitHub GitHub *GitHubPullRequest `json:"github,omitempty" protobuf:"bytes,1,opt,name=github"` // GitLab indicates git provider is GitLab GitLab *GitLabPullRequest `json:"gitlab,omitempty" protobuf:"bytes,2,opt,name=gitlab"` }
PullRequestPromotionMechanism describes how to generate a pull request against the write branch during promotion Attempts to infer the git provider from well-known git domains.
func (*PullRequestPromotionMechanism) DeepCopy ¶ added in v0.3.0
func (in *PullRequestPromotionMechanism) DeepCopy() *PullRequestPromotionMechanism
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestPromotionMechanism.
func (*PullRequestPromotionMechanism) DeepCopyInto ¶ added in v0.3.0
func (in *PullRequestPromotionMechanism) DeepCopyInto(out *PullRequestPromotionMechanism)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PullRequestPromotionMechanism) Descriptor ¶ added in v0.5.0
func (*PullRequestPromotionMechanism) Descriptor() ([]byte, []int)
func (*PullRequestPromotionMechanism) Marshal ¶ added in v0.5.0
func (m *PullRequestPromotionMechanism) Marshal() (dAtA []byte, err error)
func (*PullRequestPromotionMechanism) MarshalTo ¶ added in v0.5.0
func (m *PullRequestPromotionMechanism) MarshalTo(dAtA []byte) (int, error)
func (*PullRequestPromotionMechanism) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *PullRequestPromotionMechanism) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PullRequestPromotionMechanism) ProtoMessage ¶ added in v0.5.0
func (*PullRequestPromotionMechanism) ProtoMessage()
func (*PullRequestPromotionMechanism) Reset ¶ added in v0.5.0
func (m *PullRequestPromotionMechanism) Reset()
func (*PullRequestPromotionMechanism) Size ¶ added in v0.5.0
func (m *PullRequestPromotionMechanism) Size() (n int)
func (*PullRequestPromotionMechanism) String ¶ added in v0.5.0
func (this *PullRequestPromotionMechanism) String() string
func (*PullRequestPromotionMechanism) Unmarshal ¶ added in v0.5.0
func (m *PullRequestPromotionMechanism) Unmarshal(dAtA []byte) error
func (*PullRequestPromotionMechanism) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *PullRequestPromotionMechanism) XXX_DiscardUnknown()
func (*PullRequestPromotionMechanism) XXX_Marshal ¶ added in v0.5.0
func (m *PullRequestPromotionMechanism) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PullRequestPromotionMechanism) XXX_Merge ¶ added in v0.5.0
func (m *PullRequestPromotionMechanism) XXX_Merge(src proto.Message)
func (*PullRequestPromotionMechanism) XXX_Size ¶ added in v0.5.0
func (m *PullRequestPromotionMechanism) XXX_Size() int
func (*PullRequestPromotionMechanism) XXX_Unmarshal ¶ added in v0.5.0
func (m *PullRequestPromotionMechanism) XXX_Unmarshal(b []byte) error
type RepoSubscription ¶ added in v0.2.0
type RepoSubscription struct { // Git describes a subscriptions to a Git repository. Git *GitSubscription `json:"git,omitempty" protobuf:"bytes,1,opt,name=git"` // Image describes a subscription to container image repository. Image *ImageSubscription `json:"image,omitempty" protobuf:"bytes,2,opt,name=image"` // Chart describes a subscription to a Helm chart repository. Chart *ChartSubscription `json:"chart,omitempty" protobuf:"bytes,3,opt,name=chart"` }
RepoSubscription describes a subscription to ONE OF a Git repository, a container image repository, or a Helm chart repository.
func (*RepoSubscription) DeepCopy ¶ added in v0.2.0
func (in *RepoSubscription) DeepCopy() *RepoSubscription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoSubscription.
func (*RepoSubscription) DeepCopyInto ¶ added in v0.2.0
func (in *RepoSubscription) DeepCopyInto(out *RepoSubscription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepoSubscription) Descriptor ¶ added in v0.5.0
func (*RepoSubscription) Descriptor() ([]byte, []int)
func (*RepoSubscription) Marshal ¶ added in v0.5.0
func (m *RepoSubscription) Marshal() (dAtA []byte, err error)
func (*RepoSubscription) MarshalTo ¶ added in v0.5.0
func (m *RepoSubscription) MarshalTo(dAtA []byte) (int, error)
func (*RepoSubscription) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *RepoSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RepoSubscription) ProtoMessage ¶ added in v0.5.0
func (*RepoSubscription) ProtoMessage()
func (*RepoSubscription) Reset ¶ added in v0.5.0
func (m *RepoSubscription) Reset()
func (*RepoSubscription) Size ¶ added in v0.5.0
func (m *RepoSubscription) Size() (n int)
func (*RepoSubscription) String ¶ added in v0.5.0
func (this *RepoSubscription) String() string
func (*RepoSubscription) Unmarshal ¶ added in v0.5.0
func (m *RepoSubscription) Unmarshal(dAtA []byte) error
func (*RepoSubscription) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *RepoSubscription) XXX_DiscardUnknown()
func (*RepoSubscription) XXX_Marshal ¶ added in v0.5.0
func (m *RepoSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepoSubscription) XXX_Merge ¶ added in v0.5.0
func (m *RepoSubscription) XXX_Merge(src proto.Message)
func (*RepoSubscription) XXX_Size ¶ added in v0.5.0
func (m *RepoSubscription) XXX_Size() int
func (*RepoSubscription) XXX_Unmarshal ¶ added in v0.5.0
func (m *RepoSubscription) XXX_Unmarshal(b []byte) error
type Stage ¶
type Stage struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec describes sources of Freight used by the Stage and how to incorporate // Freight into the Stage. // // +kubebuilder:validation:Required Spec StageSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status describes the Stage's current and recent Freight, health, and more. Status StageStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Stage is the Kargo API's main type.
func GetStage ¶
func GetStage( ctx context.Context, c client.Client, namespacedName types.NamespacedName, ) (*Stage, error)
GetStage returns a pointer to the Stage resource specified by the namespacedName argument. If no such resource is found, nil is returned instead.
func RefreshStage ¶
func RefreshStage( ctx context.Context, c client.Client, namespacedName types.NamespacedName, ) (*Stage, error)
RefreshStage forces reconciliation of a Stage by setting an annotation on the Stage, causing the controller to reconcile it. Currently, the annotation value is the timestamp of the request, but might in the future include additional metadata/context necessary for the request.
func (*Stage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stage.
func (*Stage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Stage) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Stage) Descriptor ¶ added in v0.5.0
func (*Stage) GetStatus ¶
func (s *Stage) GetStatus() *StageStatus
func (*Stage) MarshalToSizedBuffer ¶ added in v0.5.0
func (*Stage) ProtoMessage ¶ added in v0.5.0
func (*Stage) ProtoMessage()
func (*Stage) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Stage) XXX_DiscardUnknown()
func (*Stage) XXX_Marshal ¶ added in v0.5.0
func (*Stage) XXX_Unmarshal ¶ added in v0.5.0
type StageList ¶
type StageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Stage `json:"items" protobuf:"bytes,2,rep,name=items"` }
StageList is a list of Stage resources.
func (*StageList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StageList.
func (*StageList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StageList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*StageList) Descriptor ¶ added in v0.5.0
func (*StageList) MarshalToSizedBuffer ¶ added in v0.5.0
func (*StageList) ProtoMessage ¶ added in v0.5.0
func (*StageList) ProtoMessage()
func (*StageList) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *StageList) XXX_DiscardUnknown()
func (*StageList) XXX_Marshal ¶ added in v0.5.0
func (*StageList) XXX_Unmarshal ¶ added in v0.5.0
type StagePhase ¶ added in v0.3.0
type StagePhase string
const ( // StagePhaseNotApplicable denotes a Stage that has no Freight. StagePhaseNotApplicable StagePhase = "NotApplicable" // StagePhaseSteady denotes a Stage that has Freight and is not currently // being promoted or verified. StagePhaseSteady StagePhase = "Steady" // StagePhasePromoting denotes a Stage that is currently being promoted. StagePhasePromoting StagePhase = "Promoting" // StagePhaseVerifying denotes a Stage that is currently being verified. StagePhaseVerifying StagePhase = "Verifying" )
type StageSpec ¶
type StageSpec struct { // Shard is the name of the shard that this Stage belongs to. This is an // optional field. If not specified, the Stage will belong to the default // shard. A defaulting webhook will sync the value of the // kargo.akuity.io/shard label with the value of this field. When this field // is empty, the webhook will ensure that label is absent. Shard string `json:"shard,omitempty" protobuf:"bytes,4,opt,name=shard"` // Subscriptions describes the Stage's sources of Freight. This is a required // field. // // +kubebuilder:validation:Required Subscriptions Subscriptions `json:"subscriptions" protobuf:"bytes,1,opt,name=subscriptions"` // PromotionMechanisms describes how to incorporate Freight into the Stage. // This is an optional field as it is sometimes useful to aggregates available // Freight from multiple upstream Stages without performing any actions. The // utility of this is to allow multiple downstream Stages to subscribe to a // single upstream Stage where they may otherwise have subscribed to multiple // upstream Stages. PromotionMechanisms *PromotionMechanisms `json:"promotionMechanisms,omitempty" protobuf:"bytes,2,opt,name=promotionMechanisms"` // Verification describes how to verify a Stage's current Freight is fit for // promotion downstream. Verification *Verification `json:"verification,omitempty" protobuf:"bytes,3,opt,name=verification"` }
StageSpec describes the sources of Freight used by a Stage and how to incorporate Freight into the Stage.
func (*StageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StageSpec.
func (*StageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StageSpec) Descriptor ¶ added in v0.5.0
func (*StageSpec) MarshalToSizedBuffer ¶ added in v0.5.0
func (*StageSpec) ProtoMessage ¶ added in v0.5.0
func (*StageSpec) ProtoMessage()
func (*StageSpec) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *StageSpec) XXX_DiscardUnknown()
func (*StageSpec) XXX_Marshal ¶ added in v0.5.0
func (*StageSpec) XXX_Unmarshal ¶ added in v0.5.0
type StageStatus ¶
type StageStatus struct { // LastHandledRefresh holds the value of the most recent AnnotationKeyRefresh // annotation that was handled by the controller. This field can be used to // determine whether the request to refresh the resource has been handled. // +optional LastHandledRefresh string `json:"lastHandledRefresh,omitempty" protobuf:"bytes,11,opt,name=lastHandledRefresh"` // Phase describes where the Stage currently is in its lifecycle. Phase StagePhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase"` // CurrentFreight is a simplified representation of the Stage's current // Freight describing what is currently deployed to the Stage. CurrentFreight *FreightReference `json:"currentFreight,omitempty" protobuf:"bytes,2,opt,name=currentFreight"` // History is a stack of recent Freight. By default, the last ten Freight are // stored. History FreightReferenceStack `json:"history,omitempty" protobuf:"bytes,3,rep,name=history"` // Health is the Stage's last observed health. Health *Health `json:"health,omitempty" protobuf:"bytes,8,opt,name=health"` // Message describes any errors that are preventing the Stage controller // from assessing Stage health or from finding new Freight. Message string `json:"message,omitempty" protobuf:"bytes,9,opt,name=message"` // ObservedGeneration represents the .metadata.generation that this Stage // status was reconciled against. ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,6,opt,name=observedGeneration"` // CurrentPromotion is a reference to the currently Running promotion. CurrentPromotion *PromotionInfo `json:"currentPromotion,omitempty" protobuf:"bytes,7,opt,name=currentPromotion"` // LastPromotion is a reference to the last completed promotion. LastPromotion *PromotionInfo `json:"lastPromotion,omitempty" protobuf:"bytes,10,opt,name=lastPromotion"` }
StageStatus describes a Stages's current and recent Freight, health, and more.
func (*StageStatus) DeepCopy ¶
func (in *StageStatus) DeepCopy() *StageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StageStatus.
func (*StageStatus) DeepCopyInto ¶
func (in *StageStatus) DeepCopyInto(out *StageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StageStatus) Descriptor ¶ added in v0.5.0
func (*StageStatus) Descriptor() ([]byte, []int)
func (*StageStatus) Marshal ¶ added in v0.5.0
func (m *StageStatus) Marshal() (dAtA []byte, err error)
func (*StageStatus) MarshalTo ¶ added in v0.5.0
func (m *StageStatus) MarshalTo(dAtA []byte) (int, error)
func (*StageStatus) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *StageStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StageStatus) ProtoMessage ¶ added in v0.5.0
func (*StageStatus) ProtoMessage()
func (*StageStatus) Reset ¶ added in v0.5.0
func (m *StageStatus) Reset()
func (*StageStatus) Size ¶ added in v0.5.0
func (m *StageStatus) Size() (n int)
func (*StageStatus) String ¶ added in v0.5.0
func (this *StageStatus) String() string
func (*StageStatus) Unmarshal ¶ added in v0.5.0
func (m *StageStatus) Unmarshal(dAtA []byte) error
func (*StageStatus) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *StageStatus) XXX_DiscardUnknown()
func (*StageStatus) XXX_Marshal ¶ added in v0.5.0
func (m *StageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StageStatus) XXX_Merge ¶ added in v0.5.0
func (m *StageStatus) XXX_Merge(src proto.Message)
func (*StageStatus) XXX_Size ¶ added in v0.5.0
func (m *StageStatus) XXX_Size() int
func (*StageStatus) XXX_Unmarshal ¶ added in v0.5.0
func (m *StageStatus) XXX_Unmarshal(b []byte) error
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 `json:"name" protobuf:"bytes,1,opt,name=name"` }
StageSubscription defines a subscription to Freight from another Stage.
func (*StageSubscription) DeepCopy ¶
func (in *StageSubscription) DeepCopy() *StageSubscription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StageSubscription.
func (*StageSubscription) DeepCopyInto ¶
func (in *StageSubscription) DeepCopyInto(out *StageSubscription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StageSubscription) Descriptor ¶ added in v0.5.0
func (*StageSubscription) Descriptor() ([]byte, []int)
func (*StageSubscription) Marshal ¶ added in v0.5.0
func (m *StageSubscription) Marshal() (dAtA []byte, err error)
func (*StageSubscription) MarshalTo ¶ added in v0.5.0
func (m *StageSubscription) MarshalTo(dAtA []byte) (int, error)
func (*StageSubscription) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *StageSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StageSubscription) ProtoMessage ¶ added in v0.5.0
func (*StageSubscription) ProtoMessage()
func (*StageSubscription) Reset ¶ added in v0.5.0
func (m *StageSubscription) Reset()
func (*StageSubscription) Size ¶ added in v0.5.0
func (m *StageSubscription) Size() (n int)
func (*StageSubscription) String ¶ added in v0.5.0
func (this *StageSubscription) String() string
func (*StageSubscription) Unmarshal ¶ added in v0.5.0
func (m *StageSubscription) Unmarshal(dAtA []byte) error
func (*StageSubscription) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *StageSubscription) XXX_DiscardUnknown()
func (*StageSubscription) XXX_Marshal ¶ added in v0.5.0
func (m *StageSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StageSubscription) XXX_Merge ¶ added in v0.5.0
func (m *StageSubscription) XXX_Merge(src proto.Message)
func (*StageSubscription) XXX_Size ¶ added in v0.5.0
func (m *StageSubscription) XXX_Size() int
func (*StageSubscription) XXX_Unmarshal ¶ added in v0.5.0
func (m *StageSubscription) XXX_Unmarshal(b []byte) error
type Subscriptions ¶
type Subscriptions struct { // Warehouse is a subscription to a Warehouse. This field is mutually // exclusive with the UpstreamStages field. Warehouse string `json:"warehouse,omitempty" protobuf:"bytes,1,opt,name=warehouse"` // UpstreamStages identifies other Stages as potential sources of Freight // for this Stage. This field is mutually exclusive with the Repos field. UpstreamStages []StageSubscription `json:"upstreamStages,omitempty" protobuf:"bytes,2,rep,name=upstreamStages"` }
Subscriptions describes a Stage's sources of Freight.
func (*Subscriptions) DeepCopy ¶
func (in *Subscriptions) DeepCopy() *Subscriptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subscriptions.
func (*Subscriptions) DeepCopyInto ¶
func (in *Subscriptions) DeepCopyInto(out *Subscriptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Subscriptions) Descriptor ¶ added in v0.5.0
func (*Subscriptions) Descriptor() ([]byte, []int)
func (*Subscriptions) Marshal ¶ added in v0.5.0
func (m *Subscriptions) Marshal() (dAtA []byte, err error)
func (*Subscriptions) MarshalTo ¶ added in v0.5.0
func (m *Subscriptions) MarshalTo(dAtA []byte) (int, error)
func (*Subscriptions) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *Subscriptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Subscriptions) ProtoMessage ¶ added in v0.5.0
func (*Subscriptions) ProtoMessage()
func (*Subscriptions) Reset ¶ added in v0.5.0
func (m *Subscriptions) Reset()
func (*Subscriptions) Size ¶ added in v0.5.0
func (m *Subscriptions) Size() (n int)
func (*Subscriptions) String ¶ added in v0.5.0
func (this *Subscriptions) String() string
func (*Subscriptions) Unmarshal ¶ added in v0.5.0
func (m *Subscriptions) Unmarshal(dAtA []byte) error
func (*Subscriptions) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Subscriptions) XXX_DiscardUnknown()
func (*Subscriptions) XXX_Marshal ¶ added in v0.5.0
func (m *Subscriptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Subscriptions) XXX_Merge ¶ added in v0.5.0
func (m *Subscriptions) XXX_Merge(src proto.Message)
func (*Subscriptions) XXX_Size ¶ added in v0.5.0
func (m *Subscriptions) XXX_Size() int
func (*Subscriptions) XXX_Unmarshal ¶ added in v0.5.0
func (m *Subscriptions) XXX_Unmarshal(b []byte) error
type Verification ¶ added in v0.3.0
type Verification struct { // AnalysisTemplates is a list of AnalysisTemplates from which AnalysisRuns // should be created to verify a Stage's current Freight is fit to be promoted // downstream. AnalysisTemplates []AnalysisTemplateReference `json:"analysisTemplates,omitempty" protobuf:"bytes,1,rep,name=analysisTemplates"` // AnalysisRunMetadata contains optional metadata that should be applied to // all AnalysisRuns. AnalysisRunMetadata *AnalysisRunMetadata `json:"analysisRunMetadata,omitempty" protobuf:"bytes,2,opt,name=analysisRunMetadata"` // Args lists arguments that should be added to all AnalysisRuns. Args []AnalysisRunArgument `json:"args,omitempty" protobuf:"bytes,3,rep,name=args"` }
Verification describes how to verify that a Promotion has been successful using Argo Rollouts AnalysisTemplates.
func (*Verification) DeepCopy ¶ added in v0.3.0
func (in *Verification) DeepCopy() *Verification
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Verification.
func (*Verification) DeepCopyInto ¶ added in v0.3.0
func (in *Verification) DeepCopyInto(out *Verification)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Verification) Descriptor ¶ added in v0.5.0
func (*Verification) Descriptor() ([]byte, []int)
func (*Verification) Marshal ¶ added in v0.5.0
func (m *Verification) Marshal() (dAtA []byte, err error)
func (*Verification) MarshalTo ¶ added in v0.5.0
func (m *Verification) MarshalTo(dAtA []byte) (int, error)
func (*Verification) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *Verification) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Verification) ProtoMessage ¶ added in v0.5.0
func (*Verification) ProtoMessage()
func (*Verification) Reset ¶ added in v0.5.0
func (m *Verification) Reset()
func (*Verification) Size ¶ added in v0.5.0
func (m *Verification) Size() (n int)
func (*Verification) String ¶ added in v0.5.0
func (this *Verification) String() string
func (*Verification) Unmarshal ¶ added in v0.5.0
func (m *Verification) Unmarshal(dAtA []byte) error
func (*Verification) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Verification) XXX_DiscardUnknown()
func (*Verification) XXX_Marshal ¶ added in v0.5.0
func (m *Verification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Verification) XXX_Merge ¶ added in v0.5.0
func (m *Verification) XXX_Merge(src proto.Message)
func (*Verification) XXX_Size ¶ added in v0.5.0
func (m *Verification) XXX_Size() int
func (*Verification) XXX_Unmarshal ¶ added in v0.5.0
func (m *Verification) XXX_Unmarshal(b []byte) error
type VerificationInfo ¶ added in v0.3.0
type VerificationInfo struct { // ID is the identifier of the Verification process. ID string `json:"id,omitempty" protobuf:"bytes,4,opt,name=id"` // Actor is the name of the entity that initiated or aborted the // Verification process. Actor string `json:"actor,omitempty" protobuf:"bytes,7,opt,name=actor"` // StartTime is the time at which the Verification process was started. StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,5,opt,name=startTime"` // Phase describes the current phase of the Verification process. Generally, // this will be a reflection of the underlying AnalysisRun's phase, however, // there are exceptions to this, such as in the case where an AnalysisRun // cannot be launched successfully. Phase VerificationPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase"` // Message may contain additional information about why the verification // process is in its current phase. Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` // AnalysisRun is a reference to the Argo Rollouts AnalysisRun that implements // the Verification process. AnalysisRun *AnalysisRunReference `json:"analysisRun,omitempty" protobuf:"bytes,3,opt,name=analysisRun"` // FinishTime is the time at which the Verification process finished. FinishTime *metav1.Time `json:"finishTime,omitempty" protobuf:"bytes,6,opt,name=finishTime"` }
VerificationInfo contains information about the currently running Verification process.
func (*VerificationInfo) DeepCopy ¶ added in v0.3.0
func (in *VerificationInfo) DeepCopy() *VerificationInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerificationInfo.
func (*VerificationInfo) DeepCopyInto ¶ added in v0.3.0
func (in *VerificationInfo) DeepCopyInto(out *VerificationInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerificationInfo) Descriptor ¶ added in v0.5.0
func (*VerificationInfo) Descriptor() ([]byte, []int)
func (*VerificationInfo) HasAnalysisRun ¶ added in v0.6.0
func (v *VerificationInfo) HasAnalysisRun() bool
HasAnalysisRun returns a bool indicating whether the VerificationInfo has an associated AnalysisRun.
func (*VerificationInfo) Marshal ¶ added in v0.5.0
func (m *VerificationInfo) Marshal() (dAtA []byte, err error)
func (*VerificationInfo) MarshalTo ¶ added in v0.5.0
func (m *VerificationInfo) MarshalTo(dAtA []byte) (int, error)
func (*VerificationInfo) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *VerificationInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VerificationInfo) ProtoMessage ¶ added in v0.5.0
func (*VerificationInfo) ProtoMessage()
func (*VerificationInfo) Reset ¶ added in v0.5.0
func (m *VerificationInfo) Reset()
func (*VerificationInfo) Size ¶ added in v0.5.0
func (m *VerificationInfo) Size() (n int)
func (*VerificationInfo) String ¶ added in v0.5.0
func (this *VerificationInfo) String() string
func (*VerificationInfo) Unmarshal ¶ added in v0.5.0
func (m *VerificationInfo) Unmarshal(dAtA []byte) error
func (*VerificationInfo) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *VerificationInfo) XXX_DiscardUnknown()
func (*VerificationInfo) XXX_Marshal ¶ added in v0.5.0
func (m *VerificationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerificationInfo) XXX_Merge ¶ added in v0.5.0
func (m *VerificationInfo) XXX_Merge(src proto.Message)
func (*VerificationInfo) XXX_Size ¶ added in v0.5.0
func (m *VerificationInfo) XXX_Size() int
func (*VerificationInfo) XXX_Unmarshal ¶ added in v0.5.0
func (m *VerificationInfo) XXX_Unmarshal(b []byte) error
type VerificationInfoStack ¶ added in v0.5.0
type VerificationInfoStack []VerificationInfo
func (*VerificationInfoStack) Current ¶ added in v0.6.0
func (v *VerificationInfoStack) Current() *VerificationInfo
Current returns the VerificationInfo at the top of the stack.
func (VerificationInfoStack) DeepCopy ¶ added in v0.5.0
func (in VerificationInfoStack) DeepCopy() VerificationInfoStack
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerificationInfoStack.
func (VerificationInfoStack) DeepCopyInto ¶ added in v0.5.0
func (in VerificationInfoStack) DeepCopyInto(out *VerificationInfoStack)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerificationInfoStack) UpdateOrPush ¶ added in v0.5.0
func (v *VerificationInfoStack) UpdateOrPush(info ...VerificationInfo)
UpdateOrPush updates the VerificationInfo with the same ID as the provided VerificationInfo or appends the provided VerificationInfo to the stack if no such VerificationInfo is found.
The order of existing items in the stack is preserved, and new items without a matching ID are appended to the top of the stack. If the stack grows beyond 10 items, the bottom items are removed.
type VerificationPhase ¶ added in v0.4.0
type VerificationPhase string
const ( // VerificationPhasePending denotes a verification process that has not yet // started. VerificationPhasePending VerificationPhase = "Pending" // VerificationPhaseRunning denotes a verification that is currently running. VerificationPhaseRunning VerificationPhase = "Running" // VerificationPhaseSuccessful denotes a verification process that has // completed successfully. VerificationPhaseSuccessful VerificationPhase = "Successful" // VerificationPhaseFailed denotes a verification process that has completed // with a failure. VerificationPhaseFailed VerificationPhase = "Failed" // VerificationPhaseError denotes a verification process that has completed // with an error. VerificationPhaseError VerificationPhase = "Error" // VerificationPhaseAborted denotes a verification process that has been // aborted. VerificationPhaseAborted VerificationPhase = "Aborted" // VerificationPhaseInconclusive denotes a verification process that has // completed with an inconclusive result. VerificationPhaseInconclusive VerificationPhase = "Inconclusive" )
func (*VerificationPhase) IsTerminal ¶ added in v0.4.0
func (v *VerificationPhase) IsTerminal() bool
IsTerminal returns true if the VerificationPhase is a terminal one.
type VerificationRequest ¶ added in v0.6.0
type VerificationRequest struct { // ID is the identifier of the VerificationInfo for which the request is // being made. ID string `json:"id,omitempty"` // Actor is the user who initiated the request. Actor string `json:"actor,omitempty"` // ControlPlane is a flag to indicate if the request has been initiated by // a control plane. ControlPlane bool `json:"controlPlane,omitempty"` }
VerificationRequest is a request payload with an optional actor field which can be used to annotate a Stage using the AnnotationKeyReverify or AnnotationKeyAbort annotations.
The ID field is used to specify the VerificationInfo to be re-verified or aborted. If the ID is empty, the request is considered invalid. The Actor field is optional and can be used to track the user who initiated the re-verification or abort request. The ControlPlane field is optional and indicates if the request was initiated by a control plane.
+protobuf=false +k8s:deepcopy-gen=false +k8s:openapi-gen=false
func AbortAnnotationValue ¶ added in v0.6.0
func AbortAnnotationValue(annotations map[string]string) (*VerificationRequest, bool)
AbortAnnotationValue returns the value of the AnnotationKeyAbort annotation which can be used to abort the verification of a Freight, and a boolean indicating whether the annotation was present.
If the value of the annotation is a valid JSON object, it is unmarshalled into a VerificationRequest struct. Otherwise, the value is treated as the ID of the verification to be aborted and set as the ID field of the returned VerificationRequest.
func ReverifyAnnotationValue ¶ added in v0.6.0
func ReverifyAnnotationValue(annotations map[string]string) (*VerificationRequest, bool)
ReverifyAnnotationValue returns the value of the AnnotationKeyReverify annotation, which can be used to determine whether the verification of a Freight should be rerun, and a boolean indicating whether the annotation was present.
If the value of the annotation is a valid JSON object, it is unmarshalled into a VerificationRequest struct. Otherwise, the value is treated as the ID of the verification to be reverified and set as the ID field of the returned VerificationRequest.
func (*VerificationRequest) Equals ¶ added in v0.6.0
func (r *VerificationRequest) Equals(other *VerificationRequest) bool
Equals returns true if the VerificationRequest is equal to the other VerificationRequest, false otherwise. Two VerificationRequests are equal if their ID, Actor, and ControlPlane fields are equal.
func (*VerificationRequest) ForID ¶ added in v0.6.0
func (r *VerificationRequest) ForID(id string) bool
ForID returns true if the VerificationRequest has the specified ID.
func (*VerificationRequest) HasID ¶ added in v0.6.0
func (r *VerificationRequest) HasID() bool
HasID returns true if the VerificationRequest has a non-empty ID.
func (*VerificationRequest) String ¶ added in v0.6.0
func (r *VerificationRequest) String() string
String returns the JSON string representation of the VerificationRequest, or an empty string if the VerificationRequest is nil or has an empty ID.
type VerifiedStage ¶ added in v0.3.0
type VerifiedStage struct{}
VerifiedStage describes a Stage in which Freight has been verified.
func (*VerifiedStage) DeepCopy ¶ added in v0.3.0
func (in *VerifiedStage) DeepCopy() *VerifiedStage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerifiedStage.
func (*VerifiedStage) DeepCopyInto ¶ added in v0.3.0
func (in *VerifiedStage) DeepCopyInto(out *VerifiedStage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerifiedStage) Descriptor ¶ added in v0.5.0
func (*VerifiedStage) Descriptor() ([]byte, []int)
func (*VerifiedStage) Marshal ¶ added in v0.5.0
func (m *VerifiedStage) Marshal() (dAtA []byte, err error)
func (*VerifiedStage) MarshalTo ¶ added in v0.5.0
func (m *VerifiedStage) MarshalTo(dAtA []byte) (int, error)
func (*VerifiedStage) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *VerifiedStage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VerifiedStage) ProtoMessage ¶ added in v0.5.0
func (*VerifiedStage) ProtoMessage()
func (*VerifiedStage) Reset ¶ added in v0.5.0
func (m *VerifiedStage) Reset()
func (*VerifiedStage) Size ¶ added in v0.5.0
func (m *VerifiedStage) Size() (n int)
func (*VerifiedStage) String ¶ added in v0.5.0
func (this *VerifiedStage) String() string
func (*VerifiedStage) Unmarshal ¶ added in v0.5.0
func (m *VerifiedStage) Unmarshal(dAtA []byte) error
func (*VerifiedStage) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *VerifiedStage) XXX_DiscardUnknown()
func (*VerifiedStage) XXX_Marshal ¶ added in v0.5.0
func (m *VerifiedStage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifiedStage) XXX_Merge ¶ added in v0.5.0
func (m *VerifiedStage) XXX_Merge(src proto.Message)
func (*VerifiedStage) XXX_Size ¶ added in v0.5.0
func (m *VerifiedStage) XXX_Size() int
func (*VerifiedStage) XXX_Unmarshal ¶ added in v0.5.0
func (m *VerifiedStage) XXX_Unmarshal(b []byte) error
type Warehouse ¶ added in v0.2.0
type Warehouse struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec describes sources of artifacts. // // +kubebuilder:validation:Required Spec WarehouseSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status describes the Warehouse's most recently observed state. Status WarehouseStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Warehouse is a source of Freight.
func GetWarehouse ¶ added in v0.2.0
func GetWarehouse( ctx context.Context, c client.Client, namespacedName types.NamespacedName, ) (*Warehouse, error)
GetWarehouse returns a pointer to the Warehouse resource specified by the namespacedName argument. If no such resource is found, nil is returned instead.
func RefreshWarehouse ¶ added in v0.2.0
func RefreshWarehouse( ctx context.Context, c client.Client, namespacedName types.NamespacedName, ) (*Warehouse, error)
RefreshWarehouse forces reconciliation of a Warehouse by setting an annotation on the Warehouse, causing the controller to reconcile it. Currently, the annotation value is the timestamp of the request, but might in the future include additional metadata/context necessary for the request.
func (*Warehouse) DeepCopy ¶ added in v0.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Warehouse.
func (*Warehouse) DeepCopyInto ¶ added in v0.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Warehouse) DeepCopyObject ¶ added in v0.2.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Warehouse) Descriptor ¶ added in v0.5.0
func (*Warehouse) GetStatus ¶ added in v0.2.0
func (w *Warehouse) GetStatus() *WarehouseStatus
func (*Warehouse) MarshalToSizedBuffer ¶ added in v0.5.0
func (*Warehouse) ProtoMessage ¶ added in v0.5.0
func (*Warehouse) ProtoMessage()
func (*Warehouse) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Warehouse) XXX_DiscardUnknown()
func (*Warehouse) XXX_Marshal ¶ added in v0.5.0
func (*Warehouse) XXX_Unmarshal ¶ added in v0.5.0
type WarehouseList ¶ added in v0.2.0
type WarehouseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Warehouse `json:"items" protobuf:"bytes,2,rep,name=items"` }
WarehouseList is a list of Warehouse resources.
func (*WarehouseList) DeepCopy ¶ added in v0.2.0
func (in *WarehouseList) DeepCopy() *WarehouseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WarehouseList.
func (*WarehouseList) DeepCopyInto ¶ added in v0.2.0
func (in *WarehouseList) DeepCopyInto(out *WarehouseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WarehouseList) DeepCopyObject ¶ added in v0.2.0
func (in *WarehouseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*WarehouseList) Descriptor ¶ added in v0.5.0
func (*WarehouseList) Descriptor() ([]byte, []int)
func (*WarehouseList) Marshal ¶ added in v0.5.0
func (m *WarehouseList) Marshal() (dAtA []byte, err error)
func (*WarehouseList) MarshalTo ¶ added in v0.5.0
func (m *WarehouseList) MarshalTo(dAtA []byte) (int, error)
func (*WarehouseList) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *WarehouseList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WarehouseList) ProtoMessage ¶ added in v0.5.0
func (*WarehouseList) ProtoMessage()
func (*WarehouseList) Reset ¶ added in v0.5.0
func (m *WarehouseList) Reset()
func (*WarehouseList) Size ¶ added in v0.5.0
func (m *WarehouseList) Size() (n int)
func (*WarehouseList) String ¶ added in v0.5.0
func (this *WarehouseList) String() string
func (*WarehouseList) Unmarshal ¶ added in v0.5.0
func (m *WarehouseList) Unmarshal(dAtA []byte) error
func (*WarehouseList) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *WarehouseList) XXX_DiscardUnknown()
func (*WarehouseList) XXX_Marshal ¶ added in v0.5.0
func (m *WarehouseList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WarehouseList) XXX_Merge ¶ added in v0.5.0
func (m *WarehouseList) XXX_Merge(src proto.Message)
func (*WarehouseList) XXX_Size ¶ added in v0.5.0
func (m *WarehouseList) XXX_Size() int
func (*WarehouseList) XXX_Unmarshal ¶ added in v0.5.0
func (m *WarehouseList) XXX_Unmarshal(b []byte) error
type WarehouseSpec ¶ added in v0.2.0
type WarehouseSpec struct { // Shard is the name of the shard that this Warehouse belongs to. This is an // optional field. If not specified, the Warehouse will belong to the default // shard. A defaulting webhook will sync this field with the value of the // kargo.akuity.io/shard label. When the shard label is not present or differs // from the value of this field, the defaulting webhook will set the label to // the value of this field. If the shard label is present and this field is // empty, the defaulting webhook will set the value of this field to the value // of the shard label. Shard string `json:"shard,omitempty" protobuf:"bytes,2,opt,name=shard"` // Subscriptions describes sources of artifacts to be included in Freight // produced by this Warehouse. // // +kubebuilder:validation:MinItems=1 Subscriptions []RepoSubscription `json:"subscriptions" protobuf:"bytes,1,rep,name=subscriptions"` }
WarehouseSpec describes sources of versioned artifacts to be included in Freight produced by this Warehouse.
func (*WarehouseSpec) DeepCopy ¶ added in v0.2.0
func (in *WarehouseSpec) DeepCopy() *WarehouseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WarehouseSpec.
func (*WarehouseSpec) DeepCopyInto ¶ added in v0.2.0
func (in *WarehouseSpec) DeepCopyInto(out *WarehouseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WarehouseSpec) Descriptor ¶ added in v0.5.0
func (*WarehouseSpec) Descriptor() ([]byte, []int)
func (*WarehouseSpec) Marshal ¶ added in v0.5.0
func (m *WarehouseSpec) Marshal() (dAtA []byte, err error)
func (*WarehouseSpec) MarshalTo ¶ added in v0.5.0
func (m *WarehouseSpec) MarshalTo(dAtA []byte) (int, error)
func (*WarehouseSpec) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *WarehouseSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WarehouseSpec) ProtoMessage ¶ added in v0.5.0
func (*WarehouseSpec) ProtoMessage()
func (*WarehouseSpec) Reset ¶ added in v0.5.0
func (m *WarehouseSpec) Reset()
func (*WarehouseSpec) Size ¶ added in v0.5.0
func (m *WarehouseSpec) Size() (n int)
func (*WarehouseSpec) String ¶ added in v0.5.0
func (this *WarehouseSpec) String() string
func (*WarehouseSpec) Unmarshal ¶ added in v0.5.0
func (m *WarehouseSpec) Unmarshal(dAtA []byte) error
func (*WarehouseSpec) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *WarehouseSpec) XXX_DiscardUnknown()
func (*WarehouseSpec) XXX_Marshal ¶ added in v0.5.0
func (m *WarehouseSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WarehouseSpec) XXX_Merge ¶ added in v0.5.0
func (m *WarehouseSpec) XXX_Merge(src proto.Message)
func (*WarehouseSpec) XXX_Size ¶ added in v0.5.0
func (m *WarehouseSpec) XXX_Size() int
func (*WarehouseSpec) XXX_Unmarshal ¶ added in v0.5.0
func (m *WarehouseSpec) XXX_Unmarshal(b []byte) error
type WarehouseStatus ¶ added in v0.2.0
type WarehouseStatus struct { // LastHandledRefresh holds the value of the most recent AnnotationKeyRefresh // annotation that was handled by the controller. This field can be used to // determine whether the request to refresh the resource has been handled. // +optional LastHandledRefresh string `json:"lastHandledRefresh,omitempty" protobuf:"bytes,6,opt,name=lastHandledRefresh"` // Message describes any errors that are preventing the Warehouse controller // from polling repositories to discover new Freight. Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"` // ObservedGeneration represents the .metadata.generation that this Warehouse // was reconciled against. ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,4,opt,name=observedGeneration"` // LastFreight refers to the last Freight produced by this Warehouse LastFreight *FreightReference `json:"lastFreight,omitempty" protobuf:"bytes,5,opt,name=lastFreight"` }
WarehouseStatus describes a Warehouse's most recently observed state.
func (*WarehouseStatus) DeepCopy ¶ added in v0.2.0
func (in *WarehouseStatus) DeepCopy() *WarehouseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WarehouseStatus.
func (*WarehouseStatus) DeepCopyInto ¶ added in v0.2.0
func (in *WarehouseStatus) DeepCopyInto(out *WarehouseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WarehouseStatus) Descriptor ¶ added in v0.5.0
func (*WarehouseStatus) Descriptor() ([]byte, []int)
func (*WarehouseStatus) Marshal ¶ added in v0.5.0
func (m *WarehouseStatus) Marshal() (dAtA []byte, err error)
func (*WarehouseStatus) MarshalTo ¶ added in v0.5.0
func (m *WarehouseStatus) MarshalTo(dAtA []byte) (int, error)
func (*WarehouseStatus) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *WarehouseStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WarehouseStatus) ProtoMessage ¶ added in v0.5.0
func (*WarehouseStatus) ProtoMessage()
func (*WarehouseStatus) Reset ¶ added in v0.5.0
func (m *WarehouseStatus) Reset()
func (*WarehouseStatus) Size ¶ added in v0.5.0
func (m *WarehouseStatus) Size() (n int)
func (*WarehouseStatus) String ¶ added in v0.5.0
func (this *WarehouseStatus) String() string
func (*WarehouseStatus) Unmarshal ¶ added in v0.5.0
func (m *WarehouseStatus) Unmarshal(dAtA []byte) error
func (*WarehouseStatus) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *WarehouseStatus) XXX_DiscardUnknown()
func (*WarehouseStatus) XXX_Marshal ¶ added in v0.5.0
func (m *WarehouseStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WarehouseStatus) XXX_Merge ¶ added in v0.5.0
func (m *WarehouseStatus) XXX_Merge(src proto.Message)
func (*WarehouseStatus) XXX_Size ¶ added in v0.5.0
func (m *WarehouseStatus) XXX_Size() int
func (*WarehouseStatus) XXX_Unmarshal ¶ added in v0.5.0
func (m *WarehouseStatus) XXX_Unmarshal(b []byte) error