v1alpha1

package
v0.0.0-...-0a6e306 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: Apache-2.0 Imports: 19 Imported by: 4

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the kargo v1alpha1 API group +kubebuilder:object:generate=true +groupName=kargo.akuity.io

Index

Constants

View Source
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"

	// AnnotationKeyAuthorizedStage is an annotation key that can be set on a
	// resource to indicate that a Stage is authorized to manage it. The value
	// of the annotation should be in the format of "<project>:<stage>".
	AnnotationKeyAuthorizedStage = "kargo.akuity.io/authorized-stage"

	// AnnotationKeyStage is an annotation key that can be set on a resource to
	// indicate that it is associated with a specific Stage. It compliments
	// LabelKeyStage, which may contain the same value but in a (hash-)shortened
	// form to fit within the Kubernetes label value length. The value of this
	// annotation is expected to be the full name of the Stage.
	AnnotationKeyStage = "kargo.akuity.io/stage"

	// AnnotationKeyPromotion is an annotation key that can be set on a
	// resource to indicate that it is related to a specific promotion.
	AnnotationKeyPromotion = "kargo.akuity.io/promotion"

	// AnnotationKeyArgoCDContext is an annotation key that is set on a Stage
	// to reference the last ArgoCD Applications that were part of a Promotion.
	AnnotationKeyArgoCDContext = "kargo.akuity.io/argocd-context"

	// AnnotationKeyMigrated is an annotation set on a resource that has
	// successfully undergone a migration to a new resource type or other
	// configuration change. This annotation is used to indicate that the
	// resource has been successfully migrated and that the controller should
	// not attempt to perform the migration again.
	//
	// The value of the annotation is a JSON object that maps migration types to
	// booleans indicating whether the migration has been performed.
	AnnotationKeyMigrated = "kargo.akuity.io/migrated"

	// AnnotationKeyKeepNamespace is an annotation key that can be set on Project
	// or Namespace to disable the automatic deletion of the namespace when
	// the Project is deleted. This is useful for cases where the namespace
	// contains resources that should not be deleted.
	AnnotationKeyKeepNamespace = "kargo.akuity.io/keep-namespace"

	// AnnotationValueTrue is the value used to indicate that an annotation
	// is set to true.
	AnnotationValueTrue = "true"
)
View Source
const (
	// ConditionTypeReady denotes that the resource is ready, i.e. it is
	// fully operational.
	//
	// The exact meaning of "ready" is specific to the resource type. For
	// example, a Warehouse resource may consider itself ready if it can
	// successfully connect to its upstream sources, has discovered
	// artifacts, and is not currently in the process of reconciling.
	//
	// This is an "oscillating", and "normal-true" or "positive polarity"
	// condition, meaning that the presence of the condition with a status
	// of "True" indicates that the resource is ready, and the status of
	// the condition may change over time as the resource transitions between
	// ready and not ready states.
	ConditionTypeReady = "Ready"

	// ConditionTypeReconciling denotes that the resource is currently being
	// reconciled.
	//
	// This condition is used to indicate that the controller is actively
	// working on the resource, and further changes to the resource can be
	// expected. The condition is removed when the controller has finished
	// reconciling the resource and no further changes are expected. Which
	// MAY take multiple reconciliation attempts.
	//
	// This is a "normal-false" or "negative polarity" condition, meaning
	// that the presence of the condition with a status of "True" indicates
	// that the resource is being reconciled, and the absence of the condition
	// or a status of "False" indicates that the resource is not being
	// reconciled.
	ConditionTypeReconciling = "Reconciling"

	// ConditionTypeStalled denotes that the reconciliation of the resource
	// has stalled.
	//
	// This condition is used to indicate that the controller has stopped
	// making progress on the resource, and further changes to the resource
	// are not expected until the reason for the stall is resolved, which
	// MAY require manual intervention. The condition is removed when the
	// controller has resumed making progress on the resource.
	//
	// This is a "normal-false" or "negative polarity" condition, meaning
	// that the presence of the condition with a status of "True" indicates
	// that the resource has stalled, and the absence of the condition or
	// a status of "False" indicates that the resource is operating as
	// expected.
	ConditionTypeStalled = "Stalled"

	// ConditionTypeHealthy denotes that the resource is healthy.
	//
	// The meaning of "healthy" is specific to the resource type. For example,
	// a Warehouse resource may consider itself healthy if it can successfully
	// connect to its upstream sources, while a Stage resource may consider
	// itself healthy if the underlying applications are running as expected.
	//
	// This is a "normal-true" or "positive polarity" condition, meaning that
	// the presence of the condition with a status of "True" indicates that
	// the resource is operating as expected.
	ConditionTypeHealthy = "Healthy"

	// ConditionTypePromoting denotes that Freight is currently being promoted
	// to a Stage.
	//
	// This is a "normal-false" or "negative polarity" condition, meaning
	// that the presence of the condition with a status of "True" indicates
	// that the Stage is being promoted, and the absence of the condition
	// or a status of "False" indicates that the resource is not being
	// promoted.
	ConditionTypePromoting = "Promoting"

	// ConditionTypeVerified denotes that the current Freight of a Stage has
	// been verified.
	//
	// This is a "normal-true" or "positive polarity" condition, meaning that
	// the presence of the condition with a status of "True" indicates that
	// the Freight has been verified, and the absence of the condition or a
	// status of "False" indicates that the Freight has not been verified.
	ConditionTypeVerified = "Verified"
)
View Source
const (
	AnnotationKeyEventPrefix                 = "event.kargo.akuity.io/"
	AnnotationKeyEventActor                  = AnnotationKeyEventPrefix + "actor"
	AnnotationKeyEventProject                = AnnotationKeyEventPrefix + "project"
	AnnotationKeyEventPromotionName          = AnnotationKeyEventPrefix + "promotion-name"
	AnnotationKeyEventPromotionCreateTime    = AnnotationKeyEventPrefix + "promotion-create-time"
	AnnotationKeyEventFreightAlias           = AnnotationKeyEventPrefix + "freight-alias"
	AnnotationKeyEventFreightName            = AnnotationKeyEventPrefix + "freight-name"
	AnnotationKeyEventFreightCreateTime      = AnnotationKeyEventPrefix + "freight-create-time"
	AnnotationKeyEventFreightCommits         = AnnotationKeyEventPrefix + "freight-commits"
	AnnotationKeyEventFreightImages          = AnnotationKeyEventPrefix + "freight-images"
	AnnotationKeyEventFreightCharts          = AnnotationKeyEventPrefix + "freight-charts"
	AnnotationKeyEventStageName              = AnnotationKeyEventPrefix + "stage-name"
	AnnotationKeyEventAnalysisRunName        = AnnotationKeyEventPrefix + "analysis-run-name"
	AnnotationKeyEventVerificationPending    = AnnotationKeyEventPrefix + "verification-pending"
	AnnotationKeyEventVerificationStartTime  = AnnotationKeyEventPrefix + "verification-start-time"
	AnnotationKeyEventVerificationFinishTime = AnnotationKeyEventPrefix + "verification-finish-time"
	AnnotationKeyEventApplications           = AnnotationKeyEventPrefix + "applications"
)
View Source
const (
	EventActorAdmin                = "admin"
	EventActorControllerPrefix     = "controller:"
	EventActorEmailPrefix          = "email:"
	EventActorSubjectPrefix        = "subject:"
	EventActorKubernetesUserPrefix = "kubernetes:"
	EventActorUnknown              = "unknown actor"
)
View Source
const (
	// LabelKeyAlias is used to identify the alias of a resource.
	// For example, Freight may have an alias that is easier to remember than
	// the computed name of the resource. For details about the behavior of
	// setting this label, refer to Freight.Alias.
	LabelKeyAlias = "kargo.akuity.io/alias"

	// LabelKeyCredentialType is used to identify the type of credential
	// a Secret contains. For example, a Git credential may be used to access a
	// private repository, while a Helm credential may be used to access a
	// private Helm chart repository.
	LabelKeyCredentialType = "kargo.akuity.io/cred-type" // nolint: gosec
	// LabelValueCredentialTypeGit is the value for Git credentials.
	// A Secret with this label value is expected to contain credentials for a
	// Git repository.
	LabelValueCredentialTypeGit = "git"
	// LabelValueCredentialTypeHelm is the value for Helm credentials.
	// A Secret with this label value is expected to contain credentials for a
	// Helm repository.
	LabelValueCredentialTypeHelm = "helm"
	// LabelValueCredentialTypeImage is the value for container image registry
	// credentials. A Secret with this label value is expected to contain
	// credentials for a container image registry.
	LabelValueCredentialTypeImage = "image"
	// LabelValueCredentialTypeGeneric is the value for generic credentials.
	// A Secret with this label can contain any type of credential, and is
	// allowed to be managed through the Kargo API.
	LabelValueCredentialTypeGeneric = "generic"

	// LabelKeyStage is used to identify the Stage that a resource is associated
	// with. For example, an AnalysisRun created for a specific Stage has this
	// label set to the name of the Stage.
	LabelKeyStage = "kargo.akuity.io/stage"
	// LabelKeyFreightCollection is used to identify the FreightCollection
	// that a resource is associated with. For example, an AnalysisRun created
	// for a specific collection of Freight has this label set to the ID of the
	// collection.
	LabelKeyFreightCollection = "kargo.akuity.io/freight-collection"
	// LabelKeyProject can be used to mark a namespace as a Project namespace
	// by setting the value to "true". This allows Kargo to adopt a namespace
	// that was created before the creation of the Project.
	LabelKeyProject = "kargo.akuity.io/project"
	// LabelKeyShard is used to identify the shard of a resource.
	LabelKeyShard = "kargo.akuity.io/shard"

	// LabelValueTrue is used to identify a label that has a value of "true".
	LabelValueTrue = "true"

	// FinalizerName is the name of the finalizer used by Kargo.
	FinalizerName = "kargo.akuity.io/finalizer"
)

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
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

This section is empty.

Types

type AbortAction

type AbortAction string

AbortAction is an action to take on a Promotion to abort it.

const (
	// AbortActionTerminate is an action to terminate the Promotion.
	// I.e. the Promotion will be marked as failed and the controller
	// will stop processing it.
	AbortActionTerminate AbortAction = "terminate"
)

type AbortPromotionRequest

type AbortPromotionRequest struct {
	// Action is the action to take on the Promotion to abort it.
	Action AbortAction `json:"action,omitempty" protobuf:"bytes,1,opt,name=action"`
	// Actor is the user who initiated the request.
	Actor string `json:"actor,omitempty" protobuf:"bytes,2,opt,name=actor"`
	// ControlPlane is a flag to indicate if the request has been initiated by
	// a control plane.
	ControlPlane bool `json:"controlPlane,omitempty" protobuf:"varint,3,opt,name=controlPlane"`
}

AbortPromotionRequest is a request payload with an optional actor field which can be used to annotate a Promotion using the AnnotationKeyAbort annotation.

+protobuf=false +k8s:deepcopy-gen=false +k8s:openapi-gen=false

func (*AbortPromotionRequest) Equals

Equals returns true if the AbortPromotionRequest is equal to the other AbortPromotionRequest, false otherwise. Two VerificationRequests are equal if their Action, Actor, and ControlPlane fields are equal.

func (*AbortPromotionRequest) String

func (r *AbortPromotionRequest) String() string

String returns the JSON string representation of the AbortPromotionRequest, or an empty string if the AbortPromotionRequest is nil or has an empty Action.

type AnalysisRunArgument

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

func (in *AnalysisRunArgument) DeepCopy() *AnalysisRunArgument

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

func (*AnalysisRunArgument) DeepCopyInto

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

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

func (*AnalysisRunArgument) Marshal

func (m *AnalysisRunArgument) Marshal() (dAtA []byte, err error)

func (*AnalysisRunArgument) MarshalTo

func (m *AnalysisRunArgument) MarshalTo(dAtA []byte) (int, error)

func (*AnalysisRunArgument) MarshalToSizedBuffer

func (m *AnalysisRunArgument) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnalysisRunArgument) ProtoMessage

func (*AnalysisRunArgument) ProtoMessage()

func (*AnalysisRunArgument) Reset

func (m *AnalysisRunArgument) Reset()

func (*AnalysisRunArgument) Size

func (m *AnalysisRunArgument) Size() (n int)

func (*AnalysisRunArgument) String

func (this *AnalysisRunArgument) String() string

func (*AnalysisRunArgument) Unmarshal

func (m *AnalysisRunArgument) Unmarshal(dAtA []byte) error

func (*AnalysisRunArgument) XXX_DiscardUnknown

func (m *AnalysisRunArgument) XXX_DiscardUnknown()

func (*AnalysisRunArgument) XXX_Marshal

func (m *AnalysisRunArgument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalysisRunArgument) XXX_Merge

func (m *AnalysisRunArgument) XXX_Merge(src proto.Message)

func (*AnalysisRunArgument) XXX_Size

func (m *AnalysisRunArgument) XXX_Size() int

func (*AnalysisRunArgument) XXX_Unmarshal

func (m *AnalysisRunArgument) XXX_Unmarshal(b []byte) error

type AnalysisRunMetadata

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

func (in *AnalysisRunMetadata) DeepCopy() *AnalysisRunMetadata

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

func (*AnalysisRunMetadata) DeepCopyInto

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

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

func (*AnalysisRunMetadata) Marshal

func (m *AnalysisRunMetadata) Marshal() (dAtA []byte, err error)

func (*AnalysisRunMetadata) MarshalTo

func (m *AnalysisRunMetadata) MarshalTo(dAtA []byte) (int, error)

func (*AnalysisRunMetadata) MarshalToSizedBuffer

func (m *AnalysisRunMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnalysisRunMetadata) ProtoMessage

func (*AnalysisRunMetadata) ProtoMessage()

func (*AnalysisRunMetadata) Reset

func (m *AnalysisRunMetadata) Reset()

func (*AnalysisRunMetadata) Size

func (m *AnalysisRunMetadata) Size() (n int)

func (*AnalysisRunMetadata) String

func (this *AnalysisRunMetadata) String() string

func (*AnalysisRunMetadata) Unmarshal

func (m *AnalysisRunMetadata) Unmarshal(dAtA []byte) error

func (*AnalysisRunMetadata) XXX_DiscardUnknown

func (m *AnalysisRunMetadata) XXX_DiscardUnknown()

func (*AnalysisRunMetadata) XXX_Marshal

func (m *AnalysisRunMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalysisRunMetadata) XXX_Merge

func (m *AnalysisRunMetadata) XXX_Merge(src proto.Message)

func (*AnalysisRunMetadata) XXX_Size

func (m *AnalysisRunMetadata) XXX_Size() int

func (*AnalysisRunMetadata) XXX_Unmarshal

func (m *AnalysisRunMetadata) XXX_Unmarshal(b []byte) error

type AnalysisRunReference

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

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

func (*AnalysisRunReference) DeepCopyInto

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

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

func (*AnalysisRunReference) Marshal

func (m *AnalysisRunReference) Marshal() (dAtA []byte, err error)

func (*AnalysisRunReference) MarshalTo

func (m *AnalysisRunReference) MarshalTo(dAtA []byte) (int, error)

func (*AnalysisRunReference) MarshalToSizedBuffer

func (m *AnalysisRunReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnalysisRunReference) ProtoMessage

func (*AnalysisRunReference) ProtoMessage()

func (*AnalysisRunReference) Reset

func (m *AnalysisRunReference) Reset()

func (*AnalysisRunReference) Size

func (m *AnalysisRunReference) Size() (n int)

func (*AnalysisRunReference) String

func (this *AnalysisRunReference) String() string

func (*AnalysisRunReference) Unmarshal

func (m *AnalysisRunReference) Unmarshal(dAtA []byte) error

func (*AnalysisRunReference) XXX_DiscardUnknown

func (m *AnalysisRunReference) XXX_DiscardUnknown()

func (*AnalysisRunReference) XXX_Marshal

func (m *AnalysisRunReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalysisRunReference) XXX_Merge

func (m *AnalysisRunReference) XXX_Merge(src proto.Message)

func (*AnalysisRunReference) XXX_Size

func (m *AnalysisRunReference) XXX_Size() int

func (*AnalysisRunReference) XXX_Unmarshal

func (m *AnalysisRunReference) XXX_Unmarshal(b []byte) error

type AnalysisTemplateReference

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"`
	// Kind is the type of the AnalysisTemplate. Can be either AnalysisTemplate or
	// ClusterAnalysisTemplate, default is AnalysisTemplate.
	//
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum=AnalysisTemplate;ClusterAnalysisTemplate
	Kind string `json:"kind,omitempty" protobuf:"bytes,2,opt,name=kind"`
}

AnalysisTemplateReference is a reference to an AnalysisTemplate.

func (*AnalysisTemplateReference) DeepCopy

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

func (*AnalysisTemplateReference) DeepCopyInto

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

func (*AnalysisTemplateReference) Descriptor

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

func (*AnalysisTemplateReference) Marshal

func (m *AnalysisTemplateReference) Marshal() (dAtA []byte, err error)

func (*AnalysisTemplateReference) MarshalTo

func (m *AnalysisTemplateReference) MarshalTo(dAtA []byte) (int, error)

func (*AnalysisTemplateReference) MarshalToSizedBuffer

func (m *AnalysisTemplateReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnalysisTemplateReference) ProtoMessage

func (*AnalysisTemplateReference) ProtoMessage()

func (*AnalysisTemplateReference) Reset

func (m *AnalysisTemplateReference) Reset()

func (*AnalysisTemplateReference) Size

func (m *AnalysisTemplateReference) Size() (n int)

func (*AnalysisTemplateReference) String

func (this *AnalysisTemplateReference) String() string

func (*AnalysisTemplateReference) Unmarshal

func (m *AnalysisTemplateReference) Unmarshal(dAtA []byte) error

func (*AnalysisTemplateReference) XXX_DiscardUnknown

func (m *AnalysisTemplateReference) XXX_DiscardUnknown()

func (*AnalysisTemplateReference) XXX_Marshal

func (m *AnalysisTemplateReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalysisTemplateReference) XXX_Merge

func (m *AnalysisTemplateReference) XXX_Merge(src proto.Message)

func (*AnalysisTemplateReference) XXX_Size

func (m *AnalysisTemplateReference) XXX_Size() int

func (*AnalysisTemplateReference) XXX_Unmarshal

func (m *AnalysisTemplateReference) XXX_Unmarshal(b []byte) error

type ApprovedStage

type ApprovedStage struct {
	// ApprovedAt is the time at which the Freight was approved for the Stage.
	ApprovedAt *metav1.Time `json:"approvedAt,omitempty" protobuf:"bytes,1,opt,name=approvedAt"`
}

ApprovedStage describes a Stage for which Freight has been (manually) approved.

func (*ApprovedStage) DeepCopy

func (in *ApprovedStage) DeepCopy() *ApprovedStage

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

func (*ApprovedStage) DeepCopyInto

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

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

func (*ApprovedStage) Marshal

func (m *ApprovedStage) Marshal() (dAtA []byte, err error)

func (*ApprovedStage) MarshalTo

func (m *ApprovedStage) MarshalTo(dAtA []byte) (int, error)

func (*ApprovedStage) MarshalToSizedBuffer

func (m *ApprovedStage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApprovedStage) ProtoMessage

func (*ApprovedStage) ProtoMessage()

func (*ApprovedStage) Reset

func (m *ApprovedStage) Reset()

func (*ApprovedStage) Size

func (m *ApprovedStage) Size() (n int)

func (*ApprovedStage) String

func (this *ApprovedStage) String() string

func (*ApprovedStage) Unmarshal

func (m *ApprovedStage) Unmarshal(dAtA []byte) error

func (*ApprovedStage) XXX_DiscardUnknown

func (m *ApprovedStage) XXX_DiscardUnknown()

func (*ApprovedStage) XXX_Marshal

func (m *ApprovedStage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApprovedStage) XXX_Merge

func (m *ApprovedStage) XXX_Merge(src proto.Message)

func (*ApprovedStage) XXX_Size

func (m *ApprovedStage) XXX_Size() int

func (*ApprovedStage) XXX_Unmarshal

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

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

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

func (*ArgoCDAppHealthStatus) Marshal

func (m *ArgoCDAppHealthStatus) Marshal() (dAtA []byte, err error)

func (*ArgoCDAppHealthStatus) MarshalTo

func (m *ArgoCDAppHealthStatus) MarshalTo(dAtA []byte) (int, error)

func (*ArgoCDAppHealthStatus) MarshalToSizedBuffer

func (m *ArgoCDAppHealthStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArgoCDAppHealthStatus) ProtoMessage

func (*ArgoCDAppHealthStatus) ProtoMessage()

func (*ArgoCDAppHealthStatus) Reset

func (m *ArgoCDAppHealthStatus) Reset()

func (*ArgoCDAppHealthStatus) Size

func (m *ArgoCDAppHealthStatus) Size() (n int)

func (*ArgoCDAppHealthStatus) String

func (this *ArgoCDAppHealthStatus) String() string

func (*ArgoCDAppHealthStatus) Unmarshal

func (m *ArgoCDAppHealthStatus) Unmarshal(dAtA []byte) error

func (*ArgoCDAppHealthStatus) XXX_DiscardUnknown

func (m *ArgoCDAppHealthStatus) XXX_DiscardUnknown()

func (*ArgoCDAppHealthStatus) XXX_Marshal

func (m *ArgoCDAppHealthStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArgoCDAppHealthStatus) XXX_Merge

func (m *ArgoCDAppHealthStatus) XXX_Merge(src proto.Message)

func (*ArgoCDAppHealthStatus) XXX_Size

func (m *ArgoCDAppHealthStatus) XXX_Size() int

func (*ArgoCDAppHealthStatus) XXX_Unmarshal

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

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

func (*ArgoCDAppStatus) Marshal

func (m *ArgoCDAppStatus) Marshal() (dAtA []byte, err error)

func (*ArgoCDAppStatus) MarshalTo

func (m *ArgoCDAppStatus) MarshalTo(dAtA []byte) (int, error)

func (*ArgoCDAppStatus) MarshalToSizedBuffer

func (m *ArgoCDAppStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArgoCDAppStatus) ProtoMessage

func (*ArgoCDAppStatus) ProtoMessage()

func (*ArgoCDAppStatus) Reset

func (m *ArgoCDAppStatus) Reset()

func (*ArgoCDAppStatus) Size

func (m *ArgoCDAppStatus) Size() (n int)

func (*ArgoCDAppStatus) String

func (this *ArgoCDAppStatus) String() string

func (*ArgoCDAppStatus) Unmarshal

func (m *ArgoCDAppStatus) Unmarshal(dAtA []byte) error

func (*ArgoCDAppStatus) XXX_DiscardUnknown

func (m *ArgoCDAppStatus) XXX_DiscardUnknown()

func (*ArgoCDAppStatus) XXX_Marshal

func (m *ArgoCDAppStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArgoCDAppStatus) XXX_Merge

func (m *ArgoCDAppStatus) XXX_Merge(src proto.Message)

func (*ArgoCDAppStatus) XXX_Size

func (m *ArgoCDAppStatus) XXX_Size() int

func (*ArgoCDAppStatus) XXX_Unmarshal

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

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

func (*ArgoCDAppSyncStatus) Marshal

func (m *ArgoCDAppSyncStatus) Marshal() (dAtA []byte, err error)

func (*ArgoCDAppSyncStatus) MarshalTo

func (m *ArgoCDAppSyncStatus) MarshalTo(dAtA []byte) (int, error)

func (*ArgoCDAppSyncStatus) MarshalToSizedBuffer

func (m *ArgoCDAppSyncStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArgoCDAppSyncStatus) ProtoMessage

func (*ArgoCDAppSyncStatus) ProtoMessage()

func (*ArgoCDAppSyncStatus) Reset

func (m *ArgoCDAppSyncStatus) Reset()

func (*ArgoCDAppSyncStatus) Size

func (m *ArgoCDAppSyncStatus) Size() (n int)

func (*ArgoCDAppSyncStatus) String

func (this *ArgoCDAppSyncStatus) String() string

func (*ArgoCDAppSyncStatus) Unmarshal

func (m *ArgoCDAppSyncStatus) Unmarshal(dAtA []byte) error

func (*ArgoCDAppSyncStatus) XXX_DiscardUnknown

func (m *ArgoCDAppSyncStatus) XXX_DiscardUnknown()

func (*ArgoCDAppSyncStatus) XXX_Marshal

func (m *ArgoCDAppSyncStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArgoCDAppSyncStatus) XXX_Merge

func (m *ArgoCDAppSyncStatus) XXX_Merge(src proto.Message)

func (*ArgoCDAppSyncStatus) XXX_Size

func (m *ArgoCDAppSyncStatus) XXX_Size() int

func (*ArgoCDAppSyncStatus) XXX_Unmarshal

func (m *ArgoCDAppSyncStatus) XXX_Unmarshal(b []byte) error

type ArtifactoryWebhookReceiverConfig

type ArtifactoryWebhookReceiverConfig struct {
	// SecretRef contains a reference to a Secret. For Project-scoped webhook
	// receivers, the referenced Secret must be in the same namespace as the
	// ProjectConfig.
	//
	// For cluster-scoped webhook receivers, the referenced Secret must be in the
	// designated "cluster Secrets" namespace.
	//
	// The Secret's data map is expected to contain a `secret-token` key whose
	// value is the shared secret used to authenticate the webhook requests sent
	// by JFrog Artifactory. For more information please refer to the JFrog
	// Artifactory documentation:
	//   https://jfrog.com/help/r/jfrog-platform-administration-documentation/webhooks
	//
	// +kubebuilder:validation:Required
	SecretRef corev1.LocalObjectReference `json:"secretRef" protobuf:"bytes,1,opt,name=secretRef"`
}

ArtifactoryWebhookReceiverConfig describes a webhook receiver that is compatible with JFrog Artifactory payloads.

func (*ArtifactoryWebhookReceiverConfig) DeepCopy

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

func (*ArtifactoryWebhookReceiverConfig) DeepCopyInto

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

func (*ArtifactoryWebhookReceiverConfig) Descriptor

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

func (*ArtifactoryWebhookReceiverConfig) Marshal

func (m *ArtifactoryWebhookReceiverConfig) Marshal() (dAtA []byte, err error)

func (*ArtifactoryWebhookReceiverConfig) MarshalTo

func (m *ArtifactoryWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactoryWebhookReceiverConfig) MarshalToSizedBuffer

func (m *ArtifactoryWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactoryWebhookReceiverConfig) ProtoMessage

func (*ArtifactoryWebhookReceiverConfig) ProtoMessage()

func (*ArtifactoryWebhookReceiverConfig) Reset

func (*ArtifactoryWebhookReceiverConfig) Size

func (m *ArtifactoryWebhookReceiverConfig) Size() (n int)

func (*ArtifactoryWebhookReceiverConfig) String

func (*ArtifactoryWebhookReceiverConfig) Unmarshal

func (m *ArtifactoryWebhookReceiverConfig) Unmarshal(dAtA []byte) error

func (*ArtifactoryWebhookReceiverConfig) XXX_DiscardUnknown

func (m *ArtifactoryWebhookReceiverConfig) XXX_DiscardUnknown()

func (*ArtifactoryWebhookReceiverConfig) XXX_Marshal

func (m *ArtifactoryWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactoryWebhookReceiverConfig) XXX_Merge

func (*ArtifactoryWebhookReceiverConfig) XXX_Size

func (m *ArtifactoryWebhookReceiverConfig) XXX_Size() int

func (*ArtifactoryWebhookReceiverConfig) XXX_Unmarshal

func (m *ArtifactoryWebhookReceiverConfig) XXX_Unmarshal(b []byte) error

type AzureWebhookReceiverConfig

type AzureWebhookReceiverConfig struct {
	// SecretRef contains a reference to a Secret. For Project-scoped webhook
	// receivers, the referenced Secret must be in the same namespace as the
	// ProjectConfig.
	//
	// For cluster-scoped webhook receivers, the referenced Secret must be in the
	// designated "cluster Secrets" namespace.
	//
	// The Secret's data map is expected to contain a `secret` key whose value
	// does NOT need to be shared directly with Azure when registering a webhook.
	// It is used only by Kargo to create a complex, hard-to-guess URL,
	// which implicitly serves as a shared secret. For more information about
	// Azure webhooks, please refer to the Azure documentation:
	//
	//  Azure Container Registry:
	//	https://learn.microsoft.com/en-us/azure/container-registry/container-registry-repositories
	//
	//  Azure DevOps:
	//	http://learn.microsoft.com/en-us/azure/devops/service-hooks/services/webhooks?view=azure-devops
	//
	// +kubebuilder:validation:Required
	SecretRef corev1.LocalObjectReference `json:"secretRef" protobuf:"bytes,1,opt,name=secretRef"`
}

AzureWebhookReceiverConfig describes a webhook receiver that is compatible with Azure Container Registry (ACR) and Azure DevOps payloads.

func (*AzureWebhookReceiverConfig) DeepCopy

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

func (*AzureWebhookReceiverConfig) DeepCopyInto

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

func (*AzureWebhookReceiverConfig) Descriptor

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

func (*AzureWebhookReceiverConfig) Marshal

func (m *AzureWebhookReceiverConfig) Marshal() (dAtA []byte, err error)

func (*AzureWebhookReceiverConfig) MarshalTo

func (m *AzureWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)

func (*AzureWebhookReceiverConfig) MarshalToSizedBuffer

func (m *AzureWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureWebhookReceiverConfig) ProtoMessage

func (*AzureWebhookReceiverConfig) ProtoMessage()

func (*AzureWebhookReceiverConfig) Reset

func (m *AzureWebhookReceiverConfig) Reset()

func (*AzureWebhookReceiverConfig) Size

func (m *AzureWebhookReceiverConfig) Size() (n int)

func (*AzureWebhookReceiverConfig) String

func (this *AzureWebhookReceiverConfig) String() string

func (*AzureWebhookReceiverConfig) Unmarshal

func (m *AzureWebhookReceiverConfig) Unmarshal(dAtA []byte) error

func (*AzureWebhookReceiverConfig) XXX_DiscardUnknown

func (m *AzureWebhookReceiverConfig) XXX_DiscardUnknown()

func (*AzureWebhookReceiverConfig) XXX_Marshal

func (m *AzureWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureWebhookReceiverConfig) XXX_Merge

func (m *AzureWebhookReceiverConfig) XXX_Merge(src proto.Message)

func (*AzureWebhookReceiverConfig) XXX_Size

func (m *AzureWebhookReceiverConfig) XXX_Size() int

func (*AzureWebhookReceiverConfig) XXX_Unmarshal

func (m *AzureWebhookReceiverConfig) XXX_Unmarshal(b []byte) error

type BitbucketWebhookReceiverConfig

type BitbucketWebhookReceiverConfig struct {
	// SecretRef contains a reference to a Secret. For Project-scoped webhook
	// receivers, the referenced Secret must be in the same namespace as the
	// ProjectConfig.
	//
	// For cluster-scoped webhook receivers, the referenced Secret must be in the
	// designated "cluster Secrets" namespace.
	//
	// The Secret's data map is expected to contain a `secret` key whose
	// value is the shared secret used to authenticate the webhook requests sent
	// by Bitbucket. For more information please refer to the Bitbucket
	// documentation:
	//   https://support.atlassian.com/bitbucket-cloud/docs/manage-webhooks/
	//
	// +kubebuilder:validation:Required
	SecretRef corev1.LocalObjectReference `json:"secretRef" protobuf:"bytes,1,opt,name=secretRef"`
}

BitbucketWebhookReceiverConfig describes a webhook receiver that is compatible with Bitbucket payloads.

func (*BitbucketWebhookReceiverConfig) DeepCopy

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

func (*BitbucketWebhookReceiverConfig) DeepCopyInto

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

func (*BitbucketWebhookReceiverConfig) Descriptor

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

func (*BitbucketWebhookReceiverConfig) Marshal

func (m *BitbucketWebhookReceiverConfig) Marshal() (dAtA []byte, err error)

func (*BitbucketWebhookReceiverConfig) MarshalTo

func (m *BitbucketWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)

func (*BitbucketWebhookReceiverConfig) MarshalToSizedBuffer

func (m *BitbucketWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BitbucketWebhookReceiverConfig) ProtoMessage

func (*BitbucketWebhookReceiverConfig) ProtoMessage()

func (*BitbucketWebhookReceiverConfig) Reset

func (m *BitbucketWebhookReceiverConfig) Reset()

func (*BitbucketWebhookReceiverConfig) Size

func (m *BitbucketWebhookReceiverConfig) Size() (n int)

func (*BitbucketWebhookReceiverConfig) String

func (this *BitbucketWebhookReceiverConfig) String() string

func (*BitbucketWebhookReceiverConfig) Unmarshal

func (m *BitbucketWebhookReceiverConfig) Unmarshal(dAtA []byte) error

func (*BitbucketWebhookReceiverConfig) XXX_DiscardUnknown

func (m *BitbucketWebhookReceiverConfig) XXX_DiscardUnknown()

func (*BitbucketWebhookReceiverConfig) XXX_Marshal

func (m *BitbucketWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BitbucketWebhookReceiverConfig) XXX_Merge

func (m *BitbucketWebhookReceiverConfig) XXX_Merge(src proto.Message)

func (*BitbucketWebhookReceiverConfig) XXX_Size

func (m *BitbucketWebhookReceiverConfig) XXX_Size() int

func (*BitbucketWebhookReceiverConfig) XXX_Unmarshal

func (m *BitbucketWebhookReceiverConfig) 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

func (in *Chart) DeepCopy() *Chart

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

func (*Chart) DeepCopyInto

func (in *Chart) DeepCopyInto(out *Chart)

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

func (*Chart) DeepEquals

func (c *Chart) DeepEquals(other *Chart) bool

DeepEquals returns a bool indicating whether the receiver deep-equals the provided Chart. I.e., all fields must be equal.

func (*Chart) Descriptor

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

func (*Chart) Marshal

func (m *Chart) Marshal() (dAtA []byte, err error)

func (*Chart) MarshalTo

func (m *Chart) MarshalTo(dAtA []byte) (int, error)

func (*Chart) MarshalToSizedBuffer

func (m *Chart) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Chart) ProtoMessage

func (*Chart) ProtoMessage()

func (*Chart) Reset

func (m *Chart) Reset()

func (*Chart) Size

func (m *Chart) Size() (n int)

func (*Chart) String

func (this *Chart) String() string

func (*Chart) Unmarshal

func (m *Chart) Unmarshal(dAtA []byte) error

func (*Chart) XXX_DiscardUnknown

func (m *Chart) XXX_DiscardUnknown()

func (*Chart) XXX_Marshal

func (m *Chart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Chart) XXX_Merge

func (m *Chart) XXX_Merge(src proto.Message)

func (*Chart) XXX_Size

func (m *Chart) XXX_Size() int

func (*Chart) XXX_Unmarshal

func (m *Chart) XXX_Unmarshal(b []byte) error

type ChartDiscoveryResult

type ChartDiscoveryResult struct {
	// RepoURL is the repository URL of the Helm chart, as specified in the
	// ChartSubscription.
	//
	// +kubebuilder:validation:MinLength=1
	RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"`
	// Name is the name of the Helm chart, as specified in the ChartSubscription.
	Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
	// SemverConstraint is the constraint for which versions were discovered.
	// This field is optional, and only populated if the ChartSubscription
	// specifies a SemverConstraint.
	SemverConstraint string `json:"semverConstraint,omitempty" protobuf:"bytes,3,opt,name=semverConstraint"`
	// Versions is a list of versions discovered by the Warehouse for the
	// ChartSubscription. An empty list indicates that the discovery operation was
	// successful, but no versions matching the ChartSubscription criteria were
	// found.
	//
	// +optional
	Versions []string `json:"versions" protobuf:"bytes,4,rep,name=versions"`
}

ChartDiscoveryResult represents the result of a chart discovery operation for a ChartSubscription.

func (*ChartDiscoveryResult) DeepCopy

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

func (*ChartDiscoveryResult) DeepCopyInto

func (in *ChartDiscoveryResult) DeepCopyInto(out *ChartDiscoveryResult)

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

func (*ChartDiscoveryResult) Descriptor

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

func (*ChartDiscoveryResult) Marshal

func (m *ChartDiscoveryResult) Marshal() (dAtA []byte, err error)

func (*ChartDiscoveryResult) MarshalTo

func (m *ChartDiscoveryResult) MarshalTo(dAtA []byte) (int, error)

func (*ChartDiscoveryResult) MarshalToSizedBuffer

func (m *ChartDiscoveryResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChartDiscoveryResult) ProtoMessage

func (*ChartDiscoveryResult) ProtoMessage()

func (*ChartDiscoveryResult) Reset

func (m *ChartDiscoveryResult) Reset()

func (*ChartDiscoveryResult) Size

func (m *ChartDiscoveryResult) Size() (n int)

func (*ChartDiscoveryResult) String

func (this *ChartDiscoveryResult) String() string

func (*ChartDiscoveryResult) Unmarshal

func (m *ChartDiscoveryResult) Unmarshal(dAtA []byte) error

func (*ChartDiscoveryResult) XXX_DiscardUnknown

func (m *ChartDiscoveryResult) XXX_DiscardUnknown()

func (*ChartDiscoveryResult) XXX_Marshal

func (m *ChartDiscoveryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChartDiscoveryResult) XXX_Merge

func (m *ChartDiscoveryResult) XXX_Merge(src proto.Message)

func (*ChartDiscoveryResult) XXX_Size

func (m *ChartDiscoveryResult) XXX_Size() int

func (*ChartDiscoveryResult) XXX_Unmarshal

func (m *ChartDiscoveryResult) XXX_Unmarshal(b []byte) error

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]+)?(/.*)*$`
	// +akuity:test-kubebuilder-pattern=HelmRepoURL
	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"`
	// DiscoveryLimit is an optional limit on the number of chart versions that
	// can be discovered for this subscription. The limit is applied after
	// filtering charts based on the SemverConstraint field.
	// When left unspecified, the field is implicitly treated as if its value
	// were "20". The upper limit for this field is 100.
	//
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=100
	// +kubebuilder:default=20
	DiscoveryLimit int32 `json:"discoveryLimit,omitempty" protobuf:"varint,4,opt,name=discoveryLimit"`
}

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

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

func (*ChartSubscription) Marshal

func (m *ChartSubscription) Marshal() (dAtA []byte, err error)

func (*ChartSubscription) MarshalTo

func (m *ChartSubscription) MarshalTo(dAtA []byte) (int, error)

func (*ChartSubscription) MarshalToSizedBuffer

func (m *ChartSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChartSubscription) ProtoMessage

func (*ChartSubscription) ProtoMessage()

func (*ChartSubscription) Reset

func (m *ChartSubscription) Reset()

func (*ChartSubscription) Size

func (m *ChartSubscription) Size() (n int)

func (*ChartSubscription) String

func (this *ChartSubscription) String() string

func (*ChartSubscription) Unmarshal

func (m *ChartSubscription) Unmarshal(dAtA []byte) error

func (*ChartSubscription) XXX_DiscardUnknown

func (m *ChartSubscription) XXX_DiscardUnknown()

func (*ChartSubscription) XXX_Marshal

func (m *ChartSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChartSubscription) XXX_Merge

func (m *ChartSubscription) XXX_Merge(src proto.Message)

func (*ChartSubscription) XXX_Size

func (m *ChartSubscription) XXX_Size() int

func (*ChartSubscription) XXX_Unmarshal

func (m *ChartSubscription) XXX_Unmarshal(b []byte) error

type ClusterConfig

type ClusterConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Spec describes the configuration of a cluster.
	Spec ClusterConfigSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// Status describes the current status of a ClusterConfig.
	Status ClusterConfigStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ClusterConfig is a resource type that describes cluster-level Kargo configuration.

func (*ClusterConfig) DeepCopy

func (in *ClusterConfig) DeepCopy() *ClusterConfig

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

func (*ClusterConfig) DeepCopyInto

func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig)

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

func (*ClusterConfig) DeepCopyObject

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

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

func (*ClusterConfig) Descriptor

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

func (*ClusterConfig) GetStatus

func (c *ClusterConfig) GetStatus() *ClusterConfigStatus

func (*ClusterConfig) Marshal

func (m *ClusterConfig) Marshal() (dAtA []byte, err error)

func (*ClusterConfig) MarshalTo

func (m *ClusterConfig) MarshalTo(dAtA []byte) (int, error)

func (*ClusterConfig) MarshalToSizedBuffer

func (m *ClusterConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterConfig) ProtoMessage

func (*ClusterConfig) ProtoMessage()

func (*ClusterConfig) Reset

func (m *ClusterConfig) Reset()

func (*ClusterConfig) Size

func (m *ClusterConfig) Size() (n int)

func (*ClusterConfig) String

func (this *ClusterConfig) String() string

func (*ClusterConfig) Unmarshal

func (m *ClusterConfig) Unmarshal(dAtA []byte) error

func (*ClusterConfig) XXX_DiscardUnknown

func (m *ClusterConfig) XXX_DiscardUnknown()

func (*ClusterConfig) XXX_Marshal

func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterConfig) XXX_Merge

func (m *ClusterConfig) XXX_Merge(src proto.Message)

func (*ClusterConfig) XXX_Size

func (m *ClusterConfig) XXX_Size() int

func (*ClusterConfig) XXX_Unmarshal

func (m *ClusterConfig) XXX_Unmarshal(b []byte) error

type ClusterConfigList

type ClusterConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []ClusterConfig `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ClusterConfigList contains a list of ClusterConfigs.

func (*ClusterConfigList) DeepCopy

func (in *ClusterConfigList) DeepCopy() *ClusterConfigList

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

func (*ClusterConfigList) DeepCopyInto

func (in *ClusterConfigList) DeepCopyInto(out *ClusterConfigList)

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

func (*ClusterConfigList) DeepCopyObject

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

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

func (*ClusterConfigList) Descriptor

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

func (*ClusterConfigList) Marshal

func (m *ClusterConfigList) Marshal() (dAtA []byte, err error)

func (*ClusterConfigList) MarshalTo

func (m *ClusterConfigList) MarshalTo(dAtA []byte) (int, error)

func (*ClusterConfigList) MarshalToSizedBuffer

func (m *ClusterConfigList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterConfigList) ProtoMessage

func (*ClusterConfigList) ProtoMessage()

func (*ClusterConfigList) Reset

func (m *ClusterConfigList) Reset()

func (*ClusterConfigList) Size

func (m *ClusterConfigList) Size() (n int)

func (*ClusterConfigList) String

func (this *ClusterConfigList) String() string

func (*ClusterConfigList) Unmarshal

func (m *ClusterConfigList) Unmarshal(dAtA []byte) error

func (*ClusterConfigList) XXX_DiscardUnknown

func (m *ClusterConfigList) XXX_DiscardUnknown()

func (*ClusterConfigList) XXX_Marshal

func (m *ClusterConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterConfigList) XXX_Merge

func (m *ClusterConfigList) XXX_Merge(src proto.Message)

func (*ClusterConfigList) XXX_Size

func (m *ClusterConfigList) XXX_Size() int

func (*ClusterConfigList) XXX_Unmarshal

func (m *ClusterConfigList) XXX_Unmarshal(b []byte) error

type ClusterConfigSpec

type ClusterConfigSpec struct {
	// WebhookReceivers describes cluster-scoped webhook receivers used for
	// processing events from various external platforms
	WebhookReceivers []WebhookReceiverConfig `json:"webhookReceivers,omitempty" protobuf:"bytes,1,rep,name=webhookReceivers"`
}

ClusterConfigSpec describes cluster-level Kargo configuration.

func (*ClusterConfigSpec) DeepCopy

func (in *ClusterConfigSpec) DeepCopy() *ClusterConfigSpec

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

func (*ClusterConfigSpec) DeepCopyInto

func (in *ClusterConfigSpec) DeepCopyInto(out *ClusterConfigSpec)

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

func (*ClusterConfigSpec) Descriptor

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

func (*ClusterConfigSpec) Marshal

func (m *ClusterConfigSpec) Marshal() (dAtA []byte, err error)

func (*ClusterConfigSpec) MarshalTo

func (m *ClusterConfigSpec) MarshalTo(dAtA []byte) (int, error)

func (*ClusterConfigSpec) MarshalToSizedBuffer

func (m *ClusterConfigSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterConfigSpec) ProtoMessage

func (*ClusterConfigSpec) ProtoMessage()

func (*ClusterConfigSpec) Reset

func (m *ClusterConfigSpec) Reset()

func (*ClusterConfigSpec) Size

func (m *ClusterConfigSpec) Size() (n int)

func (*ClusterConfigSpec) String

func (this *ClusterConfigSpec) String() string

func (*ClusterConfigSpec) Unmarshal

func (m *ClusterConfigSpec) Unmarshal(dAtA []byte) error

func (*ClusterConfigSpec) XXX_DiscardUnknown

func (m *ClusterConfigSpec) XXX_DiscardUnknown()

func (*ClusterConfigSpec) XXX_Marshal

func (m *ClusterConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterConfigSpec) XXX_Merge

func (m *ClusterConfigSpec) XXX_Merge(src proto.Message)

func (*ClusterConfigSpec) XXX_Size

func (m *ClusterConfigSpec) XXX_Size() int

func (*ClusterConfigSpec) XXX_Unmarshal

func (m *ClusterConfigSpec) XXX_Unmarshal(b []byte) error

type ClusterConfigStatus

type ClusterConfigStatus struct {
	// Conditions contains the last observations of the ClusterConfig's current
	// state.
	//
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchMergeKey:"type" patchStrategy:"merge" protobuf:"bytes,1,rep,name=conditions"`
	// ObservedGeneration represents the .metadata.generation that this
	// ClusterConfig was reconciled against.
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
	// 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"`
	// WebhookReceivers describes the status of cluster-scoped webhook receivers.
	WebhookReceivers []WebhookReceiverDetails `json:"webhookReceivers,omitempty" protobuf:"bytes,2,rep,name=webhookReceivers"`
}

ClusterConfigStatus describes the current status of a ClusterConfig.

func (*ClusterConfigStatus) DeepCopy

func (in *ClusterConfigStatus) DeepCopy() *ClusterConfigStatus

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

func (*ClusterConfigStatus) DeepCopyInto

func (in *ClusterConfigStatus) DeepCopyInto(out *ClusterConfigStatus)

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

func (*ClusterConfigStatus) Descriptor

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

func (*ClusterConfigStatus) GetConditions

func (c *ClusterConfigStatus) GetConditions() []metav1.Condition

GetConditions implements the conditions.Getter interface.

func (*ClusterConfigStatus) Marshal

func (m *ClusterConfigStatus) Marshal() (dAtA []byte, err error)

func (*ClusterConfigStatus) MarshalTo

func (m *ClusterConfigStatus) MarshalTo(dAtA []byte) (int, error)

func (*ClusterConfigStatus) MarshalToSizedBuffer

func (m *ClusterConfigStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterConfigStatus) ProtoMessage

func (*ClusterConfigStatus) ProtoMessage()

func (*ClusterConfigStatus) Reset

func (m *ClusterConfigStatus) Reset()

func (*ClusterConfigStatus) SetConditions

func (c *ClusterConfigStatus) SetConditions(conditions []metav1.Condition)

SetConditions implements the conditions.Setter interface.

func (*ClusterConfigStatus) Size

func (m *ClusterConfigStatus) Size() (n int)

func (*ClusterConfigStatus) String

func (this *ClusterConfigStatus) String() string

func (*ClusterConfigStatus) Unmarshal

func (m *ClusterConfigStatus) Unmarshal(dAtA []byte) error

func (*ClusterConfigStatus) XXX_DiscardUnknown

func (m *ClusterConfigStatus) XXX_DiscardUnknown()

func (*ClusterConfigStatus) XXX_Marshal

func (m *ClusterConfigStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterConfigStatus) XXX_Merge

func (m *ClusterConfigStatus) XXX_Merge(src proto.Message)

func (*ClusterConfigStatus) XXX_Size

func (m *ClusterConfigStatus) XXX_Size() int

func (*ClusterConfigStatus) XXX_Unmarshal

func (m *ClusterConfigStatus) XXX_Unmarshal(b []byte) error

type ClusterPromotionTask

type ClusterPromotionTask 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 PromotionTaskSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
}

func (*ClusterPromotionTask) DeepCopy

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

func (*ClusterPromotionTask) DeepCopyInto

func (in *ClusterPromotionTask) DeepCopyInto(out *ClusterPromotionTask)

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

func (*ClusterPromotionTask) DeepCopyObject

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

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

func (*ClusterPromotionTask) Descriptor

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

func (*ClusterPromotionTask) Marshal

func (m *ClusterPromotionTask) Marshal() (dAtA []byte, err error)

func (*ClusterPromotionTask) MarshalTo

func (m *ClusterPromotionTask) MarshalTo(dAtA []byte) (int, error)

func (*ClusterPromotionTask) MarshalToSizedBuffer

func (m *ClusterPromotionTask) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterPromotionTask) ProtoMessage

func (*ClusterPromotionTask) ProtoMessage()

func (*ClusterPromotionTask) Reset

func (m *ClusterPromotionTask) Reset()

func (*ClusterPromotionTask) Size

func (m *ClusterPromotionTask) Size() (n int)

func (*ClusterPromotionTask) String

func (this *ClusterPromotionTask) String() string

func (*ClusterPromotionTask) Unmarshal

func (m *ClusterPromotionTask) Unmarshal(dAtA []byte) error

func (*ClusterPromotionTask) XXX_DiscardUnknown

func (m *ClusterPromotionTask) XXX_DiscardUnknown()

func (*ClusterPromotionTask) XXX_Marshal

func (m *ClusterPromotionTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterPromotionTask) XXX_Merge

func (m *ClusterPromotionTask) XXX_Merge(src proto.Message)

func (*ClusterPromotionTask) XXX_Size

func (m *ClusterPromotionTask) XXX_Size() int

func (*ClusterPromotionTask) XXX_Unmarshal

func (m *ClusterPromotionTask) XXX_Unmarshal(b []byte) error

type ClusterPromotionTaskList

type ClusterPromotionTaskList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []ClusterPromotionTask `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ClusterPromotionTaskList contains a list of PromotionTasks.

func (*ClusterPromotionTaskList) DeepCopy

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

func (*ClusterPromotionTaskList) DeepCopyInto

func (in *ClusterPromotionTaskList) DeepCopyInto(out *ClusterPromotionTaskList)

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

func (*ClusterPromotionTaskList) DeepCopyObject

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

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

func (*ClusterPromotionTaskList) Descriptor

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

func (*ClusterPromotionTaskList) Marshal

func (m *ClusterPromotionTaskList) Marshal() (dAtA []byte, err error)

func (*ClusterPromotionTaskList) MarshalTo

func (m *ClusterPromotionTaskList) MarshalTo(dAtA []byte) (int, error)

func (*ClusterPromotionTaskList) MarshalToSizedBuffer

func (m *ClusterPromotionTaskList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterPromotionTaskList) ProtoMessage

func (*ClusterPromotionTaskList) ProtoMessage()

func (*ClusterPromotionTaskList) Reset

func (m *ClusterPromotionTaskList) Reset()

func (*ClusterPromotionTaskList) Size

func (m *ClusterPromotionTaskList) Size() (n int)

func (*ClusterPromotionTaskList) String

func (this *ClusterPromotionTaskList) String() string

func (*ClusterPromotionTaskList) Unmarshal

func (m *ClusterPromotionTaskList) Unmarshal(dAtA []byte) error

func (*ClusterPromotionTaskList) XXX_DiscardUnknown

func (m *ClusterPromotionTaskList) XXX_DiscardUnknown()

func (*ClusterPromotionTaskList) XXX_Marshal

func (m *ClusterPromotionTaskList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterPromotionTaskList) XXX_Merge

func (m *ClusterPromotionTaskList) XXX_Merge(src proto.Message)

func (*ClusterPromotionTaskList) XXX_Size

func (m *ClusterPromotionTaskList) XXX_Size() int

func (*ClusterPromotionTaskList) XXX_Unmarshal

func (m *ClusterPromotionTaskList) XXX_Unmarshal(b []byte) error

type CommitSelectionStrategy

type CommitSelectionStrategy string

+kubebuilder:validation:Enum={Lexical,NewestFromBranch,NewestTag,SemVer}

const (
	CommitSelectionStrategyLexical          CommitSelectionStrategy = "Lexical"
	CommitSelectionStrategyNewestFromBranch CommitSelectionStrategy = "NewestFromBranch"
	CommitSelectionStrategyNewestTag        CommitSelectionStrategy = "NewestTag"
	CommitSelectionStrategySemVer           CommitSelectionStrategy = "SemVer"
)

type CurrentStage

type CurrentStage struct {
	// Since is the time at which the Stage most recently started using the
	// Freight. This can be used to calculate how long the Freight has been in use
	// by the Stage.
	Since *metav1.Time `json:"since,omitempty" protobuf:"bytes,1,opt,name=since"`
}

CurrentStage reflects a Stage's current use of Freight.

func (*CurrentStage) DeepCopy

func (in *CurrentStage) DeepCopy() *CurrentStage

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

func (*CurrentStage) DeepCopyInto

func (in *CurrentStage) DeepCopyInto(out *CurrentStage)

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

func (*CurrentStage) Descriptor

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

func (*CurrentStage) Marshal

func (m *CurrentStage) Marshal() (dAtA []byte, err error)

func (*CurrentStage) MarshalTo

func (m *CurrentStage) MarshalTo(dAtA []byte) (int, error)

func (*CurrentStage) MarshalToSizedBuffer

func (m *CurrentStage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CurrentStage) ProtoMessage

func (*CurrentStage) ProtoMessage()

func (*CurrentStage) Reset

func (m *CurrentStage) Reset()

func (*CurrentStage) Size

func (m *CurrentStage) Size() (n int)

func (*CurrentStage) String

func (this *CurrentStage) String() string

func (*CurrentStage) Unmarshal

func (m *CurrentStage) Unmarshal(dAtA []byte) error

func (*CurrentStage) XXX_DiscardUnknown

func (m *CurrentStage) XXX_DiscardUnknown()

func (*CurrentStage) XXX_Marshal

func (m *CurrentStage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CurrentStage) XXX_Merge

func (m *CurrentStage) XXX_Merge(src proto.Message)

func (*CurrentStage) XXX_Size

func (m *CurrentStage) XXX_Size() int

func (*CurrentStage) XXX_Unmarshal

func (m *CurrentStage) XXX_Unmarshal(b []byte) error

type DiscoveredArtifacts

type DiscoveredArtifacts struct {
	// DiscoveredAt is the time at which the Warehouse discovered the artifacts.
	//
	// +optional
	DiscoveredAt metav1.Time `json:"discoveredAt" protobuf:"bytes,4,opt,name=discoveredAt"`
	// Git holds the commits discovered by the Warehouse for the Git
	// subscriptions.
	//
	// +optional
	Git []GitDiscoveryResult `json:"git,omitempty" protobuf:"bytes,1,rep,name=git"`
	// Images holds the image references discovered by the Warehouse for the
	// image subscriptions.
	//
	// +optional
	Images []ImageDiscoveryResult `json:"images,omitempty" protobuf:"bytes,2,rep,name=images"`
	// Charts holds the charts discovered by the Warehouse for the chart
	// subscriptions.
	//
	// +optional
	Charts []ChartDiscoveryResult `json:"charts,omitempty" protobuf:"bytes,3,rep,name=charts"`
}

DiscoveredArtifacts holds the artifacts discovered by the Warehouse for its subscriptions.

func (*DiscoveredArtifacts) DeepCopy

func (in *DiscoveredArtifacts) DeepCopy() *DiscoveredArtifacts

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

func (*DiscoveredArtifacts) DeepCopyInto

func (in *DiscoveredArtifacts) DeepCopyInto(out *DiscoveredArtifacts)

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

func (*DiscoveredArtifacts) Descriptor

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

func (*DiscoveredArtifacts) Marshal

func (m *DiscoveredArtifacts) Marshal() (dAtA []byte, err error)

func (*DiscoveredArtifacts) MarshalTo

func (m *DiscoveredArtifacts) MarshalTo(dAtA []byte) (int, error)

func (*DiscoveredArtifacts) MarshalToSizedBuffer

func (m *DiscoveredArtifacts) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DiscoveredArtifacts) ProtoMessage

func (*DiscoveredArtifacts) ProtoMessage()

func (*DiscoveredArtifacts) Reset

func (m *DiscoveredArtifacts) Reset()

func (*DiscoveredArtifacts) Size

func (m *DiscoveredArtifacts) Size() (n int)

func (*DiscoveredArtifacts) String

func (this *DiscoveredArtifacts) String() string

func (*DiscoveredArtifacts) Unmarshal

func (m *DiscoveredArtifacts) Unmarshal(dAtA []byte) error

func (*DiscoveredArtifacts) XXX_DiscardUnknown

func (m *DiscoveredArtifacts) XXX_DiscardUnknown()

func (*DiscoveredArtifacts) XXX_Marshal

func (m *DiscoveredArtifacts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiscoveredArtifacts) XXX_Merge

func (m *DiscoveredArtifacts) XXX_Merge(src proto.Message)

func (*DiscoveredArtifacts) XXX_Size

func (m *DiscoveredArtifacts) XXX_Size() int

func (*DiscoveredArtifacts) XXX_Unmarshal

func (m *DiscoveredArtifacts) XXX_Unmarshal(b []byte) error

type DiscoveredCommit

type DiscoveredCommit struct {
	// ID is the identifier of the commit. This typically is a SHA-1 hash.
	//
	// +kubebuilder:validation:MinLength=1
	ID string `json:"id,omitempty" protobuf:"bytes,1,opt,name=id"`
	// Branch is the branch in which the commit was found. This field is
	// optional, and populated based on the CommitSelectionStrategy of the
	// GitSubscription.
	Branch string `json:"branch,omitempty" protobuf:"bytes,2,opt,name=branch"`
	// Tag is the tag that resolved to this commit. This field is optional, and
	// populated based on the CommitSelectionStrategy of the GitSubscription.
	Tag string `json:"tag,omitempty" protobuf:"bytes,3,opt,name=tag"`
	// Subject is the subject of the commit (i.e. the first line of the commit
	// message).
	Subject string `json:"subject,omitempty" protobuf:"bytes,4,opt,name=subject"`
	// Author is the author of the commit.
	Author string `json:"author,omitempty" protobuf:"bytes,5,opt,name=author"`
	// Committer is the person who committed the commit.
	Committer string `json:"committer,omitempty" protobuf:"bytes,6,opt,name=committer"`
	// CreatorDate is the commit creation date as specified by the commit, or
	// the tagger date if the commit belongs to an annotated tag.
	CreatorDate *metav1.Time `json:"creatorDate,omitempty" protobuf:"bytes,7,opt,name=creatorDate"`
}

DiscoveredCommit represents a commit discovered by a Warehouse for a GitSubscription.

func (*DiscoveredCommit) DeepCopy

func (in *DiscoveredCommit) DeepCopy() *DiscoveredCommit

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

func (*DiscoveredCommit) DeepCopyInto

func (in *DiscoveredCommit) DeepCopyInto(out *DiscoveredCommit)

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

func (*DiscoveredCommit) Descriptor

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

func (*DiscoveredCommit) Marshal

func (m *DiscoveredCommit) Marshal() (dAtA []byte, err error)

func (*DiscoveredCommit) MarshalTo

func (m *DiscoveredCommit) MarshalTo(dAtA []byte) (int, error)

func (*DiscoveredCommit) MarshalToSizedBuffer

func (m *DiscoveredCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DiscoveredCommit) ProtoMessage

func (*DiscoveredCommit) ProtoMessage()

func (*DiscoveredCommit) Reset

func (m *DiscoveredCommit) Reset()

func (*DiscoveredCommit) Size

func (m *DiscoveredCommit) Size() (n int)

func (*DiscoveredCommit) String

func (this *DiscoveredCommit) String() string

func (*DiscoveredCommit) Unmarshal

func (m *DiscoveredCommit) Unmarshal(dAtA []byte) error

func (*DiscoveredCommit) XXX_DiscardUnknown

func (m *DiscoveredCommit) XXX_DiscardUnknown()

func (*DiscoveredCommit) XXX_Marshal

func (m *DiscoveredCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiscoveredCommit) XXX_Merge

func (m *DiscoveredCommit) XXX_Merge(src proto.Message)

func (*DiscoveredCommit) XXX_Size

func (m *DiscoveredCommit) XXX_Size() int

func (*DiscoveredCommit) XXX_Unmarshal

func (m *DiscoveredCommit) XXX_Unmarshal(b []byte) error

type DiscoveredImageReference

type DiscoveredImageReference struct {
	// Tag is the tag of the image.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=128
	// +kubebuilder:validation:Pattern=`^[\w.\-\_]+$`
	// +akuity:test-kubebuilder-pattern=Tag
	Tag string `json:"tag" protobuf:"bytes,1,opt,name=tag"`
	// Digest is the digest of the image.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`^[a-z0-9]+:[a-f0-9]+$`
	// +akuity:test-kubebuilder-pattern=Digest
	Digest string `json:"digest" protobuf:"bytes,2,opt,name=digest"`
	// Annotations is a map of key-value pairs that provide additional
	// information about the image.
	Annotations map[string]string `` /* 142-byte string literal not displayed */
	// CreatedAt is the time the image was created. This field is optional, and
	// not populated for every ImageSelectionStrategy.
	CreatedAt *metav1.Time `json:"createdAt,omitempty" protobuf:"bytes,4,opt,name=createdAt"`
}

DiscoveredImageReference represents an image reference discovered by a Warehouse for an ImageSubscription.

func (*DiscoveredImageReference) DeepCopy

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

func (*DiscoveredImageReference) DeepCopyInto

func (in *DiscoveredImageReference) DeepCopyInto(out *DiscoveredImageReference)

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

func (*DiscoveredImageReference) Descriptor

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

func (*DiscoveredImageReference) Marshal

func (m *DiscoveredImageReference) Marshal() (dAtA []byte, err error)

func (*DiscoveredImageReference) MarshalTo

func (m *DiscoveredImageReference) MarshalTo(dAtA []byte) (int, error)

func (*DiscoveredImageReference) MarshalToSizedBuffer

func (m *DiscoveredImageReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DiscoveredImageReference) ProtoMessage

func (*DiscoveredImageReference) ProtoMessage()

func (*DiscoveredImageReference) Reset

func (m *DiscoveredImageReference) Reset()

func (*DiscoveredImageReference) Size

func (m *DiscoveredImageReference) Size() (n int)

func (*DiscoveredImageReference) String

func (this *DiscoveredImageReference) String() string

func (*DiscoveredImageReference) Unmarshal

func (m *DiscoveredImageReference) Unmarshal(dAtA []byte) error

func (*DiscoveredImageReference) XXX_DiscardUnknown

func (m *DiscoveredImageReference) XXX_DiscardUnknown()

func (*DiscoveredImageReference) XXX_Marshal

func (m *DiscoveredImageReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiscoveredImageReference) XXX_Merge

func (m *DiscoveredImageReference) XXX_Merge(src proto.Message)

func (*DiscoveredImageReference) XXX_Size

func (m *DiscoveredImageReference) XXX_Size() int

func (*DiscoveredImageReference) XXX_Unmarshal

func (m *DiscoveredImageReference) XXX_Unmarshal(b []byte) error

type DockerHubWebhookReceiverConfig

type DockerHubWebhookReceiverConfig struct {
	// SecretRef contains a reference to a Secret. For Project-scoped webhook
	// receivers, the referenced Secret must be in the same namespace as the
	// ProjectConfig.
	//
	// The Secret's data map is expected to contain a `secret` key whose value
	// does NOT need to be shared directly with Docker Hub when registering a
	// webhook. It is used only by Kargo to create a complex, hard-to-guess URL,
	// which implicitly serves as a shared secret. For more information about
	// Docker Hub webhooks, please refer to the Docker documentation:
	//   https://docs.docker.com/docker-hub/webhooks/
	//
	// +kubebuilder:validation:Required
	SecretRef corev1.LocalObjectReference `json:"secretRef" protobuf:"bytes,1,opt,name=secretRef"`
}

DockerHubWebhookReceiverConfig describes a webhook receiver that is compatible with Docker Hub payloads.

func (*DockerHubWebhookReceiverConfig) DeepCopy

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

func (*DockerHubWebhookReceiverConfig) DeepCopyInto

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

func (*DockerHubWebhookReceiverConfig) Descriptor

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

func (*DockerHubWebhookReceiverConfig) Marshal

func (m *DockerHubWebhookReceiverConfig) Marshal() (dAtA []byte, err error)

func (*DockerHubWebhookReceiverConfig) MarshalTo

func (m *DockerHubWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)

func (*DockerHubWebhookReceiverConfig) MarshalToSizedBuffer

func (m *DockerHubWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DockerHubWebhookReceiverConfig) ProtoMessage

func (*DockerHubWebhookReceiverConfig) ProtoMessage()

func (*DockerHubWebhookReceiverConfig) Reset

func (m *DockerHubWebhookReceiverConfig) Reset()

func (*DockerHubWebhookReceiverConfig) Size

func (m *DockerHubWebhookReceiverConfig) Size() (n int)

func (*DockerHubWebhookReceiverConfig) String

func (this *DockerHubWebhookReceiverConfig) String() string

func (*DockerHubWebhookReceiverConfig) Unmarshal

func (m *DockerHubWebhookReceiverConfig) Unmarshal(dAtA []byte) error

func (*DockerHubWebhookReceiverConfig) XXX_DiscardUnknown

func (m *DockerHubWebhookReceiverConfig) XXX_DiscardUnknown()

func (*DockerHubWebhookReceiverConfig) XXX_Marshal

func (m *DockerHubWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DockerHubWebhookReceiverConfig) XXX_Merge

func (m *DockerHubWebhookReceiverConfig) XXX_Merge(src proto.Message)

func (*DockerHubWebhookReceiverConfig) XXX_Size

func (m *DockerHubWebhookReceiverConfig) XXX_Size() int

func (*DockerHubWebhookReceiverConfig) XXX_Unmarshal

func (m *DockerHubWebhookReceiverConfig) XXX_Unmarshal(b []byte) error

type EventType

type EventType string
const (
	EventTypePromotionCreated                EventType = "PromotionCreated"
	EventTypePromotionSucceeded              EventType = "PromotionSucceeded"
	EventTypePromotionFailed                 EventType = "PromotionFailed"
	EventTypePromotionErrored                EventType = "PromotionErrored"
	EventTypePromotionAborted                EventType = "PromotionAborted"
	EventTypeFreightApproved                 EventType = "FreightApproved"
	EventTypeFreightVerificationSucceeded    EventType = "FreightVerificationSucceeded"
	EventTypeFreightVerificationFailed       EventType = "FreightVerificationFailed"
	EventTypeFreightVerificationErrored      EventType = "FreightVerificationErrored"
	EventTypeFreightVerificationAborted      EventType = "FreightVerificationAborted"
	EventTypeFreightVerificationInconclusive EventType = "FreightVerificationInconclusive"
	EventTypeFreightVerificationUnknown      EventType = "FreightVerificationUnknown"
)

type ExpressionVariable

type ExpressionVariable struct {
	// Name is the name of the variable.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=^[a-zA-Z_]\w*$
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Value is the value of the variable. It is allowed to utilize expressions
	// in the value.
	// See https://docs.kargo.io/user-guide/reference-docs/expressions for details.
	Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
}

ExpressionVariable describes a single variable that may be referenced by expressions in the context of a ClusterPromotionTask, PromotionTask, Promotion, AnalysisRun arguments, or other objects that support expressions.

It is used to pass information to the expression evaluation engine, and to allow for dynamic evaluation of expressions based on the variable values.

func (*ExpressionVariable) DeepCopy

func (in *ExpressionVariable) DeepCopy() *ExpressionVariable

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

func (*ExpressionVariable) DeepCopyInto

func (in *ExpressionVariable) DeepCopyInto(out *ExpressionVariable)

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

func (*ExpressionVariable) Descriptor

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

func (*ExpressionVariable) Marshal

func (m *ExpressionVariable) Marshal() (dAtA []byte, err error)

func (*ExpressionVariable) MarshalTo

func (m *ExpressionVariable) MarshalTo(dAtA []byte) (int, error)

func (*ExpressionVariable) MarshalToSizedBuffer

func (m *ExpressionVariable) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExpressionVariable) ProtoMessage

func (*ExpressionVariable) ProtoMessage()

func (*ExpressionVariable) Reset

func (m *ExpressionVariable) Reset()

func (*ExpressionVariable) Size

func (m *ExpressionVariable) Size() (n int)

func (*ExpressionVariable) String

func (this *ExpressionVariable) String() string

func (*ExpressionVariable) Unmarshal

func (m *ExpressionVariable) Unmarshal(dAtA []byte) error

func (*ExpressionVariable) XXX_DiscardUnknown

func (m *ExpressionVariable) XXX_DiscardUnknown()

func (*ExpressionVariable) XXX_Marshal

func (m *ExpressionVariable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExpressionVariable) XXX_Merge

func (m *ExpressionVariable) XXX_Merge(src proto.Message)

func (*ExpressionVariable) XXX_Size

func (m *ExpressionVariable) XXX_Size() int

func (*ExpressionVariable) XXX_Unmarshal

func (m *ExpressionVariable) XXX_Unmarshal(b []byte) error

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"`
	// Origin describes a kind of Freight in terms of its origin.
	//
	// +kubebuilder:validation:Required
	Origin FreightOrigin `json:"origin,omitempty" protobuf:"bytes,9,opt,name=origin"`
	// 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 (*Freight) DeepCopy

func (in *Freight) DeepCopy() *Freight

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

func (*Freight) DeepCopyInto

func (in *Freight) DeepCopyInto(out *Freight)

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

func (*Freight) DeepCopyObject

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

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

func (*Freight) Descriptor

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

func (*Freight) GetLongestSoak

func (f *Freight) GetLongestSoak(stage string) time.Duration

GetLongestSoak returns the longest soak time for the Freight in the specified Stage if it's been verified in that Stage. If it has not, zero will be returned instead. If the Freight is currently in use by the specified Stage, the current soak time is calculated and compared to the longest completed soak time on record.

func (*Freight) GetStatus

func (f *Freight) GetStatus() *FreightStatus

func (*Freight) HasSoakedIn

func (f *Freight) HasSoakedIn(stage string, dur *metav1.Duration) bool

HasSoakedIn returns whether the Freight has soaked in the specified Stage for at least the specified duration. If the specified duration is nil, this method will return true.

func (*Freight) IsApprovedFor

func (f *Freight) IsApprovedFor(stage string) bool

IsApprovedFor returns whether the Freight has been approved for the specified Stage.

func (*Freight) IsCurrentlyIn

func (f *Freight) IsCurrentlyIn(stage string) bool

IsCurrentlyIn returns whether the Freight is currently in the specified Stage.

func (*Freight) IsVerifiedIn

func (f *Freight) IsVerifiedIn(stage string) bool

IsVerifiedIn returns whether the Freight has been verified in the specified Stage.

func (*Freight) Marshal

func (m *Freight) Marshal() (dAtA []byte, err error)

func (*Freight) MarshalTo

func (m *Freight) MarshalTo(dAtA []byte) (int, error)

func (*Freight) MarshalToSizedBuffer

func (m *Freight) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Freight) ProtoMessage

func (*Freight) ProtoMessage()

func (*Freight) Reset

func (m *Freight) Reset()

func (*Freight) Size

func (m *Freight) Size() (n int)

func (*Freight) String

func (this *Freight) String() string

func (*Freight) Unmarshal

func (m *Freight) Unmarshal(dAtA []byte) error

func (*Freight) XXX_DiscardUnknown

func (m *Freight) XXX_DiscardUnknown()

func (*Freight) XXX_Marshal

func (m *Freight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Freight) XXX_Merge

func (m *Freight) XXX_Merge(src proto.Message)

func (*Freight) XXX_Size

func (m *Freight) XXX_Size() int

func (*Freight) XXX_Unmarshal

func (m *Freight) XXX_Unmarshal(b []byte) error

type FreightAvailabilityStrategy

type FreightAvailabilityStrategy string

+kubebuilder:validation:Enum={All,OneOf,""}

const (
	FreightAvailabilityStrategyAll   FreightAvailabilityStrategy = "All"
	FreightAvailabilityStrategyOneOf FreightAvailabilityStrategy = "OneOf"
)

type FreightCollection

type FreightCollection struct {
	// ID is a unique and deterministically calculated identifier for the
	// FreightCollection. It is updated on each use of the UpdateOrPush method.
	ID string `json:"id" protobuf:"bytes,3,opt,name=id"`
	// Freight is a map of FreightReference objects, indexed by their Warehouse
	// origin.
	Freight map[string]FreightReference `` /* 130-byte string literal not displayed */
	// VerificationHistory is a stack of recent VerificationInfo. By default,
	// the last ten VerificationInfo are stored.
	VerificationHistory VerificationInfoStack `json:"verificationHistory,omitempty" protobuf:"bytes,2,rep,name=verificationHistory"`
}

FreightCollection is a collection of FreightReferences, each of which represents a piece of Freight that has been selected for deployment to a Stage.

func (*FreightCollection) DeepCopy

func (in *FreightCollection) DeepCopy() *FreightCollection

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

func (*FreightCollection) DeepCopyInto

func (in *FreightCollection) DeepCopyInto(out *FreightCollection)

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

func (*FreightCollection) Descriptor

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

func (*FreightCollection) HasNonTerminalVerification

func (f *FreightCollection) HasNonTerminalVerification() bool

HasNonTerminalVerification returns true if the FreightCollection has any verification which is not in a terminal state, indicating verification is still in progress.

func (*FreightCollection) Includes

func (f *FreightCollection) Includes(freightName string) bool

Includes returns true if the FreightCollection includes Freight with the specified name and false otherwise.

func (*FreightCollection) Marshal

func (m *FreightCollection) Marshal() (dAtA []byte, err error)

func (*FreightCollection) MarshalTo

func (m *FreightCollection) MarshalTo(dAtA []byte) (int, error)

func (*FreightCollection) MarshalToSizedBuffer

func (m *FreightCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FreightCollection) ProtoMessage

func (*FreightCollection) ProtoMessage()

func (*FreightCollection) References

func (f *FreightCollection) References() []FreightReference

References returns a slice of FreightReference objects from the FreightCollection. The slice is ordered by the origin of the FreightReference objects.

func (*FreightCollection) Reset

func (m *FreightCollection) Reset()

func (*FreightCollection) Size

func (m *FreightCollection) Size() (n int)

func (*FreightCollection) String

func (this *FreightCollection) String() string

func (*FreightCollection) Unmarshal

func (m *FreightCollection) Unmarshal(dAtA []byte) error

func (*FreightCollection) UpdateOrPush

func (f *FreightCollection) UpdateOrPush(freight ...FreightReference)

UpdateOrPush updates the entry in the FreightCollection based on the Warehouse name of the provided FreightReference. If no such entry exists, the provided FreightReference is appended to the FreightCollection. This function is not concurrency-safe.

func (*FreightCollection) XXX_DiscardUnknown

func (m *FreightCollection) XXX_DiscardUnknown()

func (*FreightCollection) XXX_Marshal

func (m *FreightCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FreightCollection) XXX_Merge

func (m *FreightCollection) XXX_Merge(src proto.Message)

func (*FreightCollection) XXX_Size

func (m *FreightCollection) XXX_Size() int

func (*FreightCollection) XXX_Unmarshal

func (m *FreightCollection) XXX_Unmarshal(b []byte) error

type FreightCreationPolicy

type FreightCreationPolicy string

FreightCreationPolicy defines how Freight is created by a Warehouse. +kubebuilder:validation:Enum={Automatic,Manual}

const (
	// FreightCreationPolicyAutomatic indicates that Freight is created automatically.
	FreightCreationPolicyAutomatic FreightCreationPolicy = "Automatic"
	// FreightCreationPolicyManual indicates that Freight is created manually.
	FreightCreationPolicyManual FreightCreationPolicy = "Manual"
)

type FreightHistory

type FreightHistory []*FreightCollection

FreightHistory is a linear list of FreightCollection items. The list is ordered by the time at which the FreightCollection was recorded, with the most recent (current) FreightCollection at the top of the list.

func (*FreightHistory) Current

func (f *FreightHistory) Current() *FreightCollection

Current returns the most recent (current) FreightCollection from the history.

func (FreightHistory) DeepCopy

func (in FreightHistory) DeepCopy() FreightHistory

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

func (FreightHistory) DeepCopyInto

func (in FreightHistory) DeepCopyInto(out *FreightHistory)

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

func (*FreightHistory) Record

func (f *FreightHistory) Record(freight ...*FreightCollection)

Record appends the provided FreightCollection as the most recent (current) FreightCollection in the history. I.e. The provided FreightCollection becomes the first item in the list. If the list grows beyond ten items, the bottom items are removed.

type FreightList

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

func (in *FreightList) DeepCopy() *FreightList

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

func (*FreightList) DeepCopyInto

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

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

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

func (*FreightList) Descriptor

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

func (*FreightList) Marshal

func (m *FreightList) Marshal() (dAtA []byte, err error)

func (*FreightList) MarshalTo

func (m *FreightList) MarshalTo(dAtA []byte) (int, error)

func (*FreightList) MarshalToSizedBuffer

func (m *FreightList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FreightList) ProtoMessage

func (*FreightList) ProtoMessage()

func (*FreightList) Reset

func (m *FreightList) Reset()

func (*FreightList) Size

func (m *FreightList) Size() (n int)

func (*FreightList) String

func (this *FreightList) String() string

func (*FreightList) Unmarshal

func (m *FreightList) Unmarshal(dAtA []byte) error

func (*FreightList) XXX_DiscardUnknown

func (m *FreightList) XXX_DiscardUnknown()

func (*FreightList) XXX_Marshal

func (m *FreightList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FreightList) XXX_Merge

func (m *FreightList) XXX_Merge(src proto.Message)

func (*FreightList) XXX_Size

func (m *FreightList) XXX_Size() int

func (*FreightList) XXX_Unmarshal

func (m *FreightList) XXX_Unmarshal(b []byte) error

type FreightOrigin

type FreightOrigin struct {
	// Kind is the kind of resource from which Freight may have originated. At
	// present, this can only be "Warehouse".
	//
	// +kubebuilder:validation:Required
	Kind FreightOriginKind `json:"kind" protobuf:"bytes,1,opt,name=kind"`
	// Name is the name of the resource of the kind indicated by the Kind field
	// from which Freight may originate.
	//
	// +kubebuilder:validation:Required
	Name string `json:"name" protobuf:"bytes,2,opt,name=name"`
}

FreightOrigin describes a kind of Freight in terms of where it may have originated.

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*FreightOrigin) DeepCopy

func (in *FreightOrigin) DeepCopy() *FreightOrigin

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

func (*FreightOrigin) DeepCopyInto

func (in *FreightOrigin) DeepCopyInto(out *FreightOrigin)

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

func (*FreightOrigin) Descriptor

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

func (*FreightOrigin) Equals

func (f *FreightOrigin) Equals(other *FreightOrigin) bool

func (*FreightOrigin) Marshal

func (m *FreightOrigin) Marshal() (dAtA []byte, err error)

func (*FreightOrigin) MarshalTo

func (m *FreightOrigin) MarshalTo(dAtA []byte) (int, error)

func (*FreightOrigin) MarshalToSizedBuffer

func (m *FreightOrigin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FreightOrigin) ProtoMessage

func (*FreightOrigin) ProtoMessage()

func (*FreightOrigin) Reset

func (m *FreightOrigin) Reset()

func (*FreightOrigin) Size

func (m *FreightOrigin) Size() (n int)

func (*FreightOrigin) String

func (f *FreightOrigin) String() string

func (*FreightOrigin) Unmarshal

func (m *FreightOrigin) Unmarshal(dAtA []byte) error

func (*FreightOrigin) XXX_DiscardUnknown

func (m *FreightOrigin) XXX_DiscardUnknown()

func (*FreightOrigin) XXX_Marshal

func (m *FreightOrigin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FreightOrigin) XXX_Merge

func (m *FreightOrigin) XXX_Merge(src proto.Message)

func (*FreightOrigin) XXX_Size

func (m *FreightOrigin) XXX_Size() int

func (*FreightOrigin) XXX_Unmarshal

func (m *FreightOrigin) XXX_Unmarshal(b []byte) error

type FreightOriginKind

type FreightOriginKind string

+kubebuilder:validation:Enum={Warehouse}

const FreightOriginKindWarehouse FreightOriginKind = "Warehouse"

type FreightReference

type FreightReference struct {
	// Name is a system-assigned identifier 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"`
	// Origin describes a kind of Freight in terms of its origin.
	Origin FreightOrigin `json:"origin,omitempty" protobuf:"bytes,8,opt,name=origin"`
	// 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"`
}

FreightReference is a simplified representation of a piece of Freight -- not a root resource type.

func (*FreightReference) DeepCopy

func (in *FreightReference) DeepCopy() *FreightReference

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

func (*FreightReference) DeepCopyInto

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

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

func (*FreightReference) Marshal

func (m *FreightReference) Marshal() (dAtA []byte, err error)

func (*FreightReference) MarshalTo

func (m *FreightReference) MarshalTo(dAtA []byte) (int, error)

func (*FreightReference) MarshalToSizedBuffer

func (m *FreightReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FreightReference) ProtoMessage

func (*FreightReference) ProtoMessage()

func (*FreightReference) Reset

func (m *FreightReference) Reset()

func (*FreightReference) Size

func (m *FreightReference) Size() (n int)

func (*FreightReference) String

func (this *FreightReference) String() string

func (*FreightReference) Unmarshal

func (m *FreightReference) Unmarshal(dAtA []byte) error

func (*FreightReference) XXX_DiscardUnknown

func (m *FreightReference) XXX_DiscardUnknown()

func (*FreightReference) XXX_Marshal

func (m *FreightReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FreightReference) XXX_Merge

func (m *FreightReference) XXX_Merge(src proto.Message)

func (*FreightReference) XXX_Size

func (m *FreightReference) XXX_Size() int

func (*FreightReference) XXX_Unmarshal

func (m *FreightReference) XXX_Unmarshal(b []byte) error

type FreightRequest

type FreightRequest struct {
	// Origin specifies from where the requested Freight must have originated.
	// This is a required field.
	//
	// +kubebuilder:validation:Required
	Origin FreightOrigin `json:"origin" protobuf:"bytes,1,opt,name=origin"`
	// Sources describes where the requested Freight may be obtained from. This is
	// a required field.
	Sources FreightSources `json:"sources" protobuf:"bytes,2,opt,name=sources"`
}

FreightRequest expresses a Stage's need for Freight having originated from a particular Warehouse.

func (*FreightRequest) DeepCopy

func (in *FreightRequest) DeepCopy() *FreightRequest

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

func (*FreightRequest) DeepCopyInto

func (in *FreightRequest) DeepCopyInto(out *FreightRequest)

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

func (*FreightRequest) Descriptor

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

func (*FreightRequest) Marshal

func (m *FreightRequest) Marshal() (dAtA []byte, err error)

func (*FreightRequest) MarshalTo

func (m *FreightRequest) MarshalTo(dAtA []byte) (int, error)

func (*FreightRequest) MarshalToSizedBuffer

func (m *FreightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FreightRequest) ProtoMessage

func (*FreightRequest) ProtoMessage()

func (*FreightRequest) Reset

func (m *FreightRequest) Reset()

func (*FreightRequest) Size

func (m *FreightRequest) Size() (n int)

func (*FreightRequest) String

func (this *FreightRequest) String() string

func (*FreightRequest) Unmarshal

func (m *FreightRequest) Unmarshal(dAtA []byte) error

func (*FreightRequest) XXX_DiscardUnknown

func (m *FreightRequest) XXX_DiscardUnknown()

func (*FreightRequest) XXX_Marshal

func (m *FreightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FreightRequest) XXX_Merge

func (m *FreightRequest) XXX_Merge(src proto.Message)

func (*FreightRequest) XXX_Size

func (m *FreightRequest) XXX_Size() int

func (*FreightRequest) XXX_Unmarshal

func (m *FreightRequest) XXX_Unmarshal(b []byte) error

type FreightSources

type FreightSources struct {
	// Direct indicates the requested Freight may be obtained directly from the
	// Warehouse from which it originated. If this field's value is false, then
	// the value of the Stages field must be non-empty. i.e. Between the two
	// fields, at least one source must be specified.
	Direct bool `json:"direct,omitempty" protobuf:"varint,1,opt,name=direct"`
	// Stages identifies other "upstream" Stages as potential sources of the
	// requested Freight. If this field's value is empty, then the value of the
	// Direct field must be true. i.e. Between the two fields, at least on source
	// must be specified.
	Stages []string `json:"stages,omitempty" protobuf:"bytes,2,rep,name=stages"`
	// RequiredSoakTime specifies a minimum duration for which the requested
	// Freight must have continuously occupied ("soaked in") in an upstream Stage
	// before becoming available for promotion to this Stage. This is an optional
	// field. If nil or zero, no soak time is required. Any soak time requirement
	// is in ADDITION to the requirement that Freight be verified in an upstream
	// Stage to become available for promotion to this Stage, although a manual
	// approval for promotion to this Stage will supersede any soak time
	// requirement.
	//
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Pattern=`^([0-9]+(\.[0-9]+)?(s|m|h))+$`
	// +akuity:test-kubebuilder-pattern=Duration
	RequiredSoakTime *metav1.Duration `json:"requiredSoakTime,omitempty" protobuf:"bytes,3,opt,name=requiredSoakTime"`
	// AvailabilityStrategy specifies the semantics for how requested Freight is
	// made available to the Stage. This field is optional. When left unspecified,
	// the field is implicitly treated as if its value were "OneOf".
	//
	// Accepted Values:
	//
	// - "All": Freight must be verified and, if applicable, soaked in all
	//   upstream Stages to be considered available for promotion.
	// - "OneOf": Freight must be verified and, if applicable, soaked in at least
	//    one upstream Stage to be considered available for promotion.
	// - "": Treated the same as "OneOf".
	//
	// +kubebuilder:validation:Optional
	AvailabilityStrategy FreightAvailabilityStrategy `json:"availabilityStrategy,omitempty" protobuf:"bytes,4,opt,name=availabilityStrategy"`
}

func (*FreightSources) DeepCopy

func (in *FreightSources) DeepCopy() *FreightSources

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

func (*FreightSources) DeepCopyInto

func (in *FreightSources) DeepCopyInto(out *FreightSources)

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

func (*FreightSources) Descriptor

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

func (*FreightSources) Marshal

func (m *FreightSources) Marshal() (dAtA []byte, err error)

func (*FreightSources) MarshalTo

func (m *FreightSources) MarshalTo(dAtA []byte) (int, error)

func (*FreightSources) MarshalToSizedBuffer

func (m *FreightSources) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FreightSources) ProtoMessage

func (*FreightSources) ProtoMessage()

func (*FreightSources) Reset

func (m *FreightSources) Reset()

func (*FreightSources) Size

func (m *FreightSources) Size() (n int)

func (*FreightSources) String

func (this *FreightSources) String() string

func (*FreightSources) Unmarshal

func (m *FreightSources) Unmarshal(dAtA []byte) error

func (*FreightSources) XXX_DiscardUnknown

func (m *FreightSources) XXX_DiscardUnknown()

func (*FreightSources) XXX_Marshal

func (m *FreightSources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FreightSources) XXX_Merge

func (m *FreightSources) XXX_Merge(src proto.Message)

func (*FreightSources) XXX_Size

func (m *FreightSources) XXX_Size() int

func (*FreightSources) XXX_Unmarshal

func (m *FreightSources) XXX_Unmarshal(b []byte) error

type FreightStatus

type FreightStatus struct {
	// CurrentlyIn describes the Stages in which this Freight is currently in use.
	CurrentlyIn map[string]CurrentStage `` /* 142-byte string literal not displayed */
	// 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 */
	// Metadata is a map of arbitrary metadata associated with the Freight.
	// This is useful for storing additional information about the Freight
	// or Promotion that can be shared across steps or stages.
	Metadata map[string]apiextensionsv1.JSON `` /* 136-byte string literal not displayed */
}

FreightStatus describes a piece of Freight's most recently observed state.

func (*FreightStatus) AddApprovedStage

func (f *FreightStatus) AddApprovedStage(stage string, approvedAt time.Time)

AddApprovedStage updates the Freight status to reflect that the Freight has been approved for the specified Stage.

func (*FreightStatus) AddCurrentStage

func (f *FreightStatus) AddCurrentStage(stage string, since time.Time)

AddCurrentStage updates the Freight status to reflect that the Freight is currently in the specified Stage.

func (*FreightStatus) AddVerifiedStage

func (f *FreightStatus) AddVerifiedStage(stage string, verifiedAt time.Time)

AddVerifiedStage updates the Freight status to reflect that the Freight has been verified in the specified Stage.

func (*FreightStatus) DeepCopy

func (in *FreightStatus) DeepCopy() *FreightStatus

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

func (*FreightStatus) DeepCopyInto

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

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

func (*FreightStatus) GetMetadata

func (f *FreightStatus) GetMetadata(key string, data any) (bool, error)

GetMetadata retrieves the data associated with the given key from Freight status Metadata

func (*FreightStatus) Marshal

func (m *FreightStatus) Marshal() (dAtA []byte, err error)

func (*FreightStatus) MarshalTo

func (m *FreightStatus) MarshalTo(dAtA []byte) (int, error)

func (*FreightStatus) MarshalToSizedBuffer

func (m *FreightStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FreightStatus) ProtoMessage

func (*FreightStatus) ProtoMessage()

func (*FreightStatus) RemoveCurrentStage

func (f *FreightStatus) RemoveCurrentStage(stage string)

RemoveCurrentStage updates the Freight status to reflect that the Freight is no longer in the specified Stage. If the Freight was verified in the specified Stage, the longest completed soak time will be updated if necessary.

func (*FreightStatus) Reset

func (m *FreightStatus) Reset()

func (*FreightStatus) Size

func (m *FreightStatus) Size() (n int)

func (*FreightStatus) String

func (this *FreightStatus) String() string

func (*FreightStatus) Unmarshal

func (m *FreightStatus) Unmarshal(dAtA []byte) error

func (*FreightStatus) UpsertMetadata

func (f *FreightStatus) UpsertMetadata(key string, data any) error

UpsertMetadata inserts or updates the given key in Freight status Metadata

func (*FreightStatus) XXX_DiscardUnknown

func (m *FreightStatus) XXX_DiscardUnknown()

func (*FreightStatus) XXX_Marshal

func (m *FreightStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FreightStatus) XXX_Merge

func (m *FreightStatus) XXX_Merge(src proto.Message)

func (*FreightStatus) XXX_Size

func (m *FreightStatus) XXX_Size() int

func (*FreightStatus) XXX_Unmarshal

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"`
	// Message is the message associated with the commit. At present, this only
	// contains the first line (subject) of the commit message.
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
	// Author is the author of the commit.
	Author string `json:"author,omitempty" protobuf:"bytes,7,opt,name=author"`
	// Committer is the person who committed the commit.
	Committer string `json:"committer,omitempty" protobuf:"bytes,8,opt,name=committer"`
}

GitCommit describes a specific commit from a specific Git repository.

func (*GitCommit) DeepCopy

func (in *GitCommit) DeepCopy() *GitCommit

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

func (*GitCommit) DeepCopyInto

func (in *GitCommit) DeepCopyInto(out *GitCommit)

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

func (*GitCommit) DeepEquals

func (g *GitCommit) DeepEquals(other *GitCommit) bool

DeepEquals returns a bool indicating whether the receiver deep-equals the provided GitCommit. I.e., all fields must be equal.

func (*GitCommit) Descriptor

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

func (*GitCommit) Equals

func (g *GitCommit) Equals(rhs *GitCommit) bool

Equals returns a bool indicating whether two GitCommits are equivalent.

func (*GitCommit) Marshal

func (m *GitCommit) Marshal() (dAtA []byte, err error)

func (*GitCommit) MarshalTo

func (m *GitCommit) MarshalTo(dAtA []byte) (int, error)

func (*GitCommit) MarshalToSizedBuffer

func (m *GitCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitCommit) ProtoMessage

func (*GitCommit) ProtoMessage()

func (*GitCommit) Reset

func (m *GitCommit) Reset()

func (*GitCommit) Size

func (m *GitCommit) Size() (n int)

func (*GitCommit) String

func (this *GitCommit) String() string

func (*GitCommit) Unmarshal

func (m *GitCommit) Unmarshal(dAtA []byte) error

func (*GitCommit) XXX_DiscardUnknown

func (m *GitCommit) XXX_DiscardUnknown()

func (*GitCommit) XXX_Marshal

func (m *GitCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitCommit) XXX_Merge

func (m *GitCommit) XXX_Merge(src proto.Message)

func (*GitCommit) XXX_Size

func (m *GitCommit) XXX_Size() int

func (*GitCommit) XXX_Unmarshal

func (m *GitCommit) XXX_Unmarshal(b []byte) error

type GitDiscoveryResult

type GitDiscoveryResult struct {
	// RepoURL is the repository URL of the GitSubscription.
	//
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`(?:^(ssh|https?)://(?:([\w-]+)(:(.+))?@)?([\w-]+(?:\.[\w-]+)*)(?::(\d{1,5}))?(/.*)$)|(?:^([\w-]+)@([\w+]+(?:\.[\w-]+)*):(/?.*))`
	// +akuity:test-kubebuilder-pattern=GitRepoURLPattern
	RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"`
	// Commits is a list of commits discovered by the Warehouse for the
	// GitSubscription. An empty list indicates that the discovery operation was
	// successful, but no commits matching the GitSubscription criteria were found.
	//
	// +optional
	Commits []DiscoveredCommit `json:"commits" protobuf:"bytes,2,rep,name=commits"`
}

GitDiscoveryResult represents the result of a Git discovery operation for a GitSubscription.

func (*GitDiscoveryResult) DeepCopy

func (in *GitDiscoveryResult) DeepCopy() *GitDiscoveryResult

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

func (*GitDiscoveryResult) DeepCopyInto

func (in *GitDiscoveryResult) DeepCopyInto(out *GitDiscoveryResult)

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

func (*GitDiscoveryResult) Descriptor

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

func (*GitDiscoveryResult) Marshal

func (m *GitDiscoveryResult) Marshal() (dAtA []byte, err error)

func (*GitDiscoveryResult) MarshalTo

func (m *GitDiscoveryResult) MarshalTo(dAtA []byte) (int, error)

func (*GitDiscoveryResult) MarshalToSizedBuffer

func (m *GitDiscoveryResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitDiscoveryResult) ProtoMessage

func (*GitDiscoveryResult) ProtoMessage()

func (*GitDiscoveryResult) Reset

func (m *GitDiscoveryResult) Reset()

func (*GitDiscoveryResult) Size

func (m *GitDiscoveryResult) Size() (n int)

func (*GitDiscoveryResult) String

func (this *GitDiscoveryResult) String() string

func (*GitDiscoveryResult) Unmarshal

func (m *GitDiscoveryResult) Unmarshal(dAtA []byte) error

func (*GitDiscoveryResult) XXX_DiscardUnknown

func (m *GitDiscoveryResult) XXX_DiscardUnknown()

func (*GitDiscoveryResult) XXX_Marshal

func (m *GitDiscoveryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitDiscoveryResult) XXX_Merge

func (m *GitDiscoveryResult) XXX_Merge(src proto.Message)

func (*GitDiscoveryResult) XXX_Size

func (m *GitDiscoveryResult) XXX_Size() int

func (*GitDiscoveryResult) XXX_Unmarshal

func (m *GitDiscoveryResult) XXX_Unmarshal(b []byte) error

type GitHubWebhookReceiverConfig

type GitHubWebhookReceiverConfig struct {
	// SecretRef contains a reference to a Secret. For Project-scoped webhook
	// receivers, the referenced Secret must be in the same namespace as the
	// ProjectConfig.
	//
	// For cluster-scoped webhook receivers, the referenced Secret must be in the
	// designated "cluster Secrets" namespace.
	//
	// The Secret's data map is expected to contain a `secret` key whose value is
	// the shared secret used to authenticate the webhook requests sent by GitHub.
	// For more information please refer to GitHub documentation:
	//   https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries
	//
	// +kubebuilder:validation:Required
	SecretRef corev1.LocalObjectReference `json:"secretRef" protobuf:"bytes,1,opt,name=secretRef"`
}

GitHubWebhookReceiverConfig describes a webhook receiver that is compatible with GitHub payloads.

func (*GitHubWebhookReceiverConfig) DeepCopy

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

func (*GitHubWebhookReceiverConfig) DeepCopyInto

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

func (*GitHubWebhookReceiverConfig) Descriptor

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

func (*GitHubWebhookReceiverConfig) Marshal

func (m *GitHubWebhookReceiverConfig) Marshal() (dAtA []byte, err error)

func (*GitHubWebhookReceiverConfig) MarshalTo

func (m *GitHubWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)

func (*GitHubWebhookReceiverConfig) MarshalToSizedBuffer

func (m *GitHubWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitHubWebhookReceiverConfig) ProtoMessage

func (*GitHubWebhookReceiverConfig) ProtoMessage()

func (*GitHubWebhookReceiverConfig) Reset

func (m *GitHubWebhookReceiverConfig) Reset()

func (*GitHubWebhookReceiverConfig) Size

func (m *GitHubWebhookReceiverConfig) Size() (n int)

func (*GitHubWebhookReceiverConfig) String

func (this *GitHubWebhookReceiverConfig) String() string

func (*GitHubWebhookReceiverConfig) Unmarshal

func (m *GitHubWebhookReceiverConfig) Unmarshal(dAtA []byte) error

func (*GitHubWebhookReceiverConfig) XXX_DiscardUnknown

func (m *GitHubWebhookReceiverConfig) XXX_DiscardUnknown()

func (*GitHubWebhookReceiverConfig) XXX_Marshal

func (m *GitHubWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitHubWebhookReceiverConfig) XXX_Merge

func (m *GitHubWebhookReceiverConfig) XXX_Merge(src proto.Message)

func (*GitHubWebhookReceiverConfig) XXX_Size

func (m *GitHubWebhookReceiverConfig) XXX_Size() int

func (*GitHubWebhookReceiverConfig) XXX_Unmarshal

func (m *GitHubWebhookReceiverConfig) XXX_Unmarshal(b []byte) error

type GitLabWebhookReceiverConfig

type GitLabWebhookReceiverConfig struct {
	// SecretRef contains a reference to a Secret. For Project-scoped webhook
	// receivers, the referenced Secret must be in the same namespace as the
	// ProjectConfig.
	//
	// For cluster-scoped webhook receivers, the referenced Secret must be in the
	// designated "cluster Secrets" namespace.
	//
	// The secret is expected to contain a `secret-token` key containing the
	// shared secret specified when registering the webhook in GitLab. For more
	// information about this token, please refer to the GitLab documentation:
	//   https://docs.gitlab.com/user/project/integrations/webhooks/
	//
	// +kubebuilder:validation:Required
	SecretRef corev1.LocalObjectReference `json:"secretRef" protobuf:"bytes,1,opt,name=secretRef"`
}

GitLabWebhookReceiverConfig describes a webhook receiver that is compatible with GitLab payloads.

func (*GitLabWebhookReceiverConfig) DeepCopy

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

func (*GitLabWebhookReceiverConfig) DeepCopyInto

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

func (*GitLabWebhookReceiverConfig) Descriptor

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

func (*GitLabWebhookReceiverConfig) Marshal

func (m *GitLabWebhookReceiverConfig) Marshal() (dAtA []byte, err error)

func (*GitLabWebhookReceiverConfig) MarshalTo

func (m *GitLabWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)

func (*GitLabWebhookReceiverConfig) MarshalToSizedBuffer

func (m *GitLabWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitLabWebhookReceiverConfig) ProtoMessage

func (*GitLabWebhookReceiverConfig) ProtoMessage()

func (*GitLabWebhookReceiverConfig) Reset

func (m *GitLabWebhookReceiverConfig) Reset()

func (*GitLabWebhookReceiverConfig) Size

func (m *GitLabWebhookReceiverConfig) Size() (n int)

func (*GitLabWebhookReceiverConfig) String

func (this *GitLabWebhookReceiverConfig) String() string

func (*GitLabWebhookReceiverConfig) Unmarshal

func (m *GitLabWebhookReceiverConfig) Unmarshal(dAtA []byte) error

func (*GitLabWebhookReceiverConfig) XXX_DiscardUnknown

func (m *GitLabWebhookReceiverConfig) XXX_DiscardUnknown()

func (*GitLabWebhookReceiverConfig) XXX_Marshal

func (m *GitLabWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitLabWebhookReceiverConfig) XXX_Merge

func (m *GitLabWebhookReceiverConfig) XXX_Merge(src proto.Message)

func (*GitLabWebhookReceiverConfig) XXX_Size

func (m *GitLabWebhookReceiverConfig) XXX_Size() int

func (*GitLabWebhookReceiverConfig) XXX_Unmarshal

func (m *GitLabWebhookReceiverConfig) 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=`(?:^(ssh|https?)://(?:([\w-]+)(:(.+))?@)?([\w-]+(?:\.[\w-]+)*)(?::(\d{1,5}))?(/.*)$)|(?:^([\w-]+)@([\w+]+(?:\.[\w-]+)*):(/?.*))`
	// +akuity:test-kubebuilder-pattern=GitRepoURLPattern
	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".
	//
	// Accepted values:
	//
	// - "NewestFromBranch": Selects the latest commit on the branch specified
	//   by the Branch field or the default branch if none is specified. This is
	//   the default strategy.
	//
	// - "SemVer": Selects the commit referenced by the semantically greatest
	//   tag. The SemverConstraint field can optionally be used to narrow the set
	//   of tags eligible for selection.
	//
	// - "Lexical": Selects the commit referenced by the lexicographically
	//   greatest tag. Useful when tags embed a _leading_ date or timestamp. The
	//   AllowTags and IgnoreTags fields can optionally be used to narrow the set
	//   of tags eligible for selection.
	//
	// - "NewestTag": Selects the commit referenced by the most recently created
	//   tag. The AllowTags and IgnoreTags fields can optionally be used to
	//   narrow the set of tags eligible for selection.
	//
	// +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:MaxLength=255
	// +kubebuilder:validation:Pattern=`^[a-zA-Z0-9]([a-zA-Z0-9._\/-]*[a-zA-Z0-9_-])?$`
	// +akuity:test-kubebuilder-pattern=Branch
	Branch string `json:"branch,omitempty" protobuf:"bytes,3,opt,name=branch"`
	// StrictSemvers specifies whether only "strict" semver tags should be
	// considered. A "strict" semver tag is one containing ALL of major, minor,
	// and patch version components. This is enabled by default, but only has any
	// effect when the CommitSelectionStrategy is SemVer. This should be disabled
	// cautiously, as it creates the potential for any tag containing numeric
	// characters only to be mistaken for a semver string containing the major
	// version number only.
	//
	// +kubebuilder:default=true
	StrictSemvers bool `json:"strictSemvers" protobuf:"varint,11,opt,name=strictSemvers"`
	// 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"`
	// ExpressionFilter is an expression that can optionally be used to limit
	// the commits or tags that are considered in determining the newest commit
	// of interest based on their metadata.
	//
	// For commit-based strategies (NewestFromBranch), the filter applies to
	// commits and has access to commit metadata variables.
	// For tag-based strategies (Lexical, NewestTag, SemVer), the filter applies
	// to tags and has access to tag metadata variables. The filter is applied
	// after AllowTags, IgnoreTags, and SemverConstraint fields.
	//
	// The expression should be a valid expr-lang expression that evaluates to
	// true or false. When the expression evaluates to true, the commit/tag is
	// included in the set that is considered. When the expression evaluates to
	// false, the commit/tag is excluded.
	//
	// Available variables depend on the CommitSelectionStrategy:
	//
	// For NewestFromBranch (commit filtering):
	//   - `id`: The ID (sha) of the commit.
	//   - `commitDate`: The commit date of the commit.
	//   - `author`: The author of the commit message, in the format "Name <email>".
	//   - `committer`: The person who committed the commit, in the format
	//	   "Name <email>".
	//   - `subject`: The subject (first line) of the commit message.
	//
	// For Lexical, NewestTag, SemVer (tag filtering):
	//   - `tag`: The name of the tag.
	//   - `id`: The ID (sha) of the commit associated with the tag.
	//   - `creatorDate`: The creation date of an annotated tag, or the commit
	//		date of a lightweight tag.
	//   - `author`: The author of the commit message associated with the tag,
	//	   in the format "Name <email>".
	//   - `committer`: The person who committed the commit associated with the
	//	   tag, in the format "Name <email>".
	//   - `subject`: The subject (first line) of the commit message associated
	//	   with the tag.
	//	 - `tagger`: The person who created the tag, in the format "Name <email>".
	//	   Only available for annotated tags.
	//	 - `annotation`: The subject (first line) of the tag annotation. Only
	//	   available for annotated tags.
	//
	// Refer to the expr-lang documentation for more details on syntax and
	// capabilities of the expression language: https://expr-lang.org.
	//
	// +kubebuilder:validation:Optional
	ExpressionFilter string `json:"expressionFilter,omitempty" protobuf:"bytes,12,opt,name=expressionFilter"`
	// 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"`
	// DiscoveryLimit is an optional limit on the number of commits that can be
	// discovered for this subscription. The limit is applied after filtering
	// commits based on the AllowTags and IgnoreTags fields.
	// When left unspecified, the field is implicitly treated as if its value
	// were "20". The upper limit for this field is 100.
	//
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=100
	// +kubebuilder:default=20
	DiscoveryLimit int32 `json:"discoveryLimit,omitempty" protobuf:"varint,10,opt,name=discoveryLimit"`
}

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

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

func (*GitSubscription) Marshal

func (m *GitSubscription) Marshal() (dAtA []byte, err error)

func (*GitSubscription) MarshalTo

func (m *GitSubscription) MarshalTo(dAtA []byte) (int, error)

func (*GitSubscription) MarshalToSizedBuffer

func (m *GitSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitSubscription) ProtoMessage

func (*GitSubscription) ProtoMessage()

func (*GitSubscription) Reset

func (m *GitSubscription) Reset()

func (*GitSubscription) Size

func (m *GitSubscription) Size() (n int)

func (*GitSubscription) String

func (this *GitSubscription) String() string

func (*GitSubscription) Unmarshal

func (m *GitSubscription) Unmarshal(dAtA []byte) error

func (*GitSubscription) XXX_DiscardUnknown

func (m *GitSubscription) XXX_DiscardUnknown()

func (*GitSubscription) XXX_Marshal

func (m *GitSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitSubscription) XXX_Merge

func (m *GitSubscription) XXX_Merge(src proto.Message)

func (*GitSubscription) XXX_Size

func (m *GitSubscription) XXX_Size() int

func (*GitSubscription) XXX_Unmarshal

func (m *GitSubscription) XXX_Unmarshal(b []byte) error

type GiteaWebhookReceiverConfig

type GiteaWebhookReceiverConfig struct {
	// SecretRef contains a reference to a Secret. For Project-scoped webhook
	// receivers, the referenced Secret must be in the same namespace as the
	// ProjectConfig.
	//
	// For cluster-scoped webhook receivers, the referenced Secret must be in the
	// designated "cluster Secrets" namespace.
	//
	// The Secret's data map is expected to contain a `secret` key whose value is
	// the shared secret used to authenticate the webhook requests sent by Gitea.
	// For more information please refer to the Gitea documentation:
	//   https://docs.gitea.io/en-us/webhooks/
	//
	// +kubebuilder:validation:Required
	SecretRef corev1.LocalObjectReference `json:"secretRef" protobuf:"bytes,1,opt,name=secretRef"`
}

GiteaWebhookReceiverConfig describes a webhook receiver that is compatible with Gitea payloads.

func (*GiteaWebhookReceiverConfig) DeepCopy

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

func (*GiteaWebhookReceiverConfig) DeepCopyInto

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

func (*GiteaWebhookReceiverConfig) Descriptor

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

func (*GiteaWebhookReceiverConfig) Marshal

func (m *GiteaWebhookReceiverConfig) Marshal() (dAtA []byte, err error)

func (*GiteaWebhookReceiverConfig) MarshalTo

func (m *GiteaWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)

func (*GiteaWebhookReceiverConfig) MarshalToSizedBuffer

func (m *GiteaWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GiteaWebhookReceiverConfig) ProtoMessage

func (*GiteaWebhookReceiverConfig) ProtoMessage()

func (*GiteaWebhookReceiverConfig) Reset

func (m *GiteaWebhookReceiverConfig) Reset()

func (*GiteaWebhookReceiverConfig) Size

func (m *GiteaWebhookReceiverConfig) Size() (n int)

func (*GiteaWebhookReceiverConfig) String

func (this *GiteaWebhookReceiverConfig) String() string

func (*GiteaWebhookReceiverConfig) Unmarshal

func (m *GiteaWebhookReceiverConfig) Unmarshal(dAtA []byte) error

func (*GiteaWebhookReceiverConfig) XXX_DiscardUnknown

func (m *GiteaWebhookReceiverConfig) XXX_DiscardUnknown()

func (*GiteaWebhookReceiverConfig) XXX_Marshal

func (m *GiteaWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GiteaWebhookReceiverConfig) XXX_Merge

func (m *GiteaWebhookReceiverConfig) XXX_Merge(src proto.Message)

func (*GiteaWebhookReceiverConfig) XXX_Size

func (m *GiteaWebhookReceiverConfig) XXX_Size() int

func (*GiteaWebhookReceiverConfig) XXX_Unmarshal

func (m *GiteaWebhookReceiverConfig) XXX_Unmarshal(b []byte) error

type HarborWebhookReceiverConfig

type HarborWebhookReceiverConfig struct {
	// SecretRef contains a reference to a Secret. For Project-scoped webhook
	// receivers, the referenced Secret must be in the same namespace as the
	// ProjectConfig.
	//
	// For cluster-scoped webhook receivers, the referenced Secret must be in the
	// designated "cluster Secrets" namespace.
	//
	// The secret is expected to contain an `auth-header` key containing the "auth
	// header" specified when registering the webhook in Harbor. For more
	// information, please refer to the Harbor documentation:
	//   https://goharbor.io/docs/main/working-with-projects/project-configuration/configure-webhooks/
	//
	// +kubebuilder:validation:Required
	SecretRef corev1.LocalObjectReference `json:"secretRef" protobuf:"bytes,1,opt,name=secretRef"`
}

HarborWebhookReceiverConfig describes a webhook receiver that is compatible with Harbor payloads.

func (*HarborWebhookReceiverConfig) DeepCopy

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

func (*HarborWebhookReceiverConfig) DeepCopyInto

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

func (*HarborWebhookReceiverConfig) Descriptor

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

func (*HarborWebhookReceiverConfig) Marshal

func (m *HarborWebhookReceiverConfig) Marshal() (dAtA []byte, err error)

func (*HarborWebhookReceiverConfig) MarshalTo

func (m *HarborWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)

func (*HarborWebhookReceiverConfig) MarshalToSizedBuffer

func (m *HarborWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HarborWebhookReceiverConfig) ProtoMessage

func (*HarborWebhookReceiverConfig) ProtoMessage()

func (*HarborWebhookReceiverConfig) Reset

func (m *HarborWebhookReceiverConfig) Reset()

func (*HarborWebhookReceiverConfig) Size

func (m *HarborWebhookReceiverConfig) Size() (n int)

func (*HarborWebhookReceiverConfig) String

func (this *HarborWebhookReceiverConfig) String() string

func (*HarborWebhookReceiverConfig) Unmarshal

func (m *HarborWebhookReceiverConfig) Unmarshal(dAtA []byte) error

func (*HarborWebhookReceiverConfig) XXX_DiscardUnknown

func (m *HarborWebhookReceiverConfig) XXX_DiscardUnknown()

func (*HarborWebhookReceiverConfig) XXX_Marshal

func (m *HarborWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HarborWebhookReceiverConfig) XXX_Merge

func (m *HarborWebhookReceiverConfig) XXX_Merge(src proto.Message)

func (*HarborWebhookReceiverConfig) XXX_Size

func (m *HarborWebhookReceiverConfig) XXX_Size() int

func (*HarborWebhookReceiverConfig) XXX_Unmarshal

func (m *HarborWebhookReceiverConfig) 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"`
	// Config is the opaque configuration of all health checks performed on this
	// Stage.
	Config *apiextensionsv1.JSON `json:"config,omitempty" protobuf:"bytes,4,opt,name=config"`
	// Output is the opaque output of all health checks performed on this Stage.
	Output *apiextensionsv1.JSON `json:"output,omitempty" protobuf:"bytes,5,opt,name=output"`
}

Health describes the health of a Stage.

func (*Health) DeepCopy

func (in *Health) DeepCopy() *Health

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

func (*Health) DeepCopyInto

func (in *Health) DeepCopyInto(out *Health)

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

func (*Health) Descriptor

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

func (*Health) Marshal

func (m *Health) Marshal() (dAtA []byte, err error)

func (*Health) MarshalTo

func (m *Health) MarshalTo(dAtA []byte) (int, error)

func (*Health) MarshalToSizedBuffer

func (m *Health) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Health) ProtoMessage

func (*Health) ProtoMessage()

func (*Health) Reset

func (m *Health) Reset()

func (*Health) Size

func (m *Health) Size() (n int)

func (*Health) String

func (this *Health) String() string

func (*Health) Unmarshal

func (m *Health) Unmarshal(dAtA []byte) error

func (*Health) XXX_DiscardUnknown

func (m *Health) XXX_DiscardUnknown()

func (*Health) XXX_Marshal

func (m *Health) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Health) XXX_Merge

func (m *Health) XXX_Merge(src proto.Message)

func (*Health) XXX_Size

func (m *Health) XXX_Size() int

func (*Health) XXX_Unmarshal

func (m *Health) XXX_Unmarshal(b []byte) error

type HealthCheckStep

type HealthCheckStep struct {
	// Uses identifies a runner that can execute this step.
	//
	// +kubebuilder:validation:MinLength=1
	Uses string `json:"uses" protobuf:"bytes,1,opt,name=uses"`

	// Config is the configuration for the directive.
	Config *apiextensionsv1.JSON `json:"config,omitempty" protobuf:"bytes,2,opt,name=config"`
}

HealthCheckStep describes a health check directive which can be executed by a Stage to verify the health of a Promotion result.

func (*HealthCheckStep) DeepCopy

func (in *HealthCheckStep) DeepCopy() *HealthCheckStep

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

func (*HealthCheckStep) DeepCopyInto

func (in *HealthCheckStep) DeepCopyInto(out *HealthCheckStep)

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

func (*HealthCheckStep) Descriptor

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

func (*HealthCheckStep) GetConfig

func (s *HealthCheckStep) GetConfig() map[string]any

GetConfig returns the Config field as unmarshalled YAML.

func (*HealthCheckStep) Marshal

func (m *HealthCheckStep) Marshal() (dAtA []byte, err error)

func (*HealthCheckStep) MarshalTo

func (m *HealthCheckStep) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheckStep) MarshalToSizedBuffer

func (m *HealthCheckStep) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HealthCheckStep) ProtoMessage

func (*HealthCheckStep) ProtoMessage()

func (*HealthCheckStep) Reset

func (m *HealthCheckStep) Reset()

func (*HealthCheckStep) Size

func (m *HealthCheckStep) Size() (n int)

func (*HealthCheckStep) String

func (this *HealthCheckStep) String() string

func (*HealthCheckStep) Unmarshal

func (m *HealthCheckStep) Unmarshal(dAtA []byte) error

func (*HealthCheckStep) XXX_DiscardUnknown

func (m *HealthCheckStep) XXX_DiscardUnknown()

func (*HealthCheckStep) XXX_Marshal

func (m *HealthCheckStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthCheckStep) XXX_Merge

func (m *HealthCheckStep) XXX_Merge(src proto.Message)

func (*HealthCheckStep) XXX_Size

func (m *HealthCheckStep) XXX_Size() int

func (*HealthCheckStep) XXX_Unmarshal

func (m *HealthCheckStep) XXX_Unmarshal(b []byte) error

type HealthState

type HealthState string
const (
	HealthStateHealthy       HealthState = "Healthy"
	HealthStateNotApplicable HealthState = "NotApplicable"
	HealthStateProgressing   HealthState = "Progressing"
	HealthStateUnknown       HealthState = "Unknown"
	HealthStateUnhealthy     HealthState = "Unhealthy"
)

func (HealthState) Merge

func (h HealthState) Merge(other HealthState) HealthState

Merge returns the more severe of two HealthStates.

type HealthStats

type HealthStats struct {
	// Healthy contains the number of resources that are explicitly healthy.
	Healthy int64 `json:"healthy,omitempty" protobuf:"varint,1,opt,name=healthy"`
}

HealthStats contains a summary of the collective health of some resource type.

func (*HealthStats) DeepCopy

func (in *HealthStats) DeepCopy() *HealthStats

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

func (*HealthStats) DeepCopyInto

func (in *HealthStats) DeepCopyInto(out *HealthStats)

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

func (*HealthStats) Descriptor

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

func (*HealthStats) Marshal

func (m *HealthStats) Marshal() (dAtA []byte, err error)

func (*HealthStats) MarshalTo

func (m *HealthStats) MarshalTo(dAtA []byte) (int, error)

func (*HealthStats) MarshalToSizedBuffer

func (m *HealthStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HealthStats) ProtoMessage

func (*HealthStats) ProtoMessage()

func (*HealthStats) Reset

func (m *HealthStats) Reset()

func (*HealthStats) Size

func (m *HealthStats) Size() (n int)

func (*HealthStats) String

func (this *HealthStats) String() string

func (*HealthStats) Unmarshal

func (m *HealthStats) Unmarshal(dAtA []byte) error

func (*HealthStats) XXX_DiscardUnknown

func (m *HealthStats) XXX_DiscardUnknown()

func (*HealthStats) XXX_Marshal

func (m *HealthStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthStats) XXX_Merge

func (m *HealthStats) XXX_Merge(src proto.Message)

func (*HealthStats) XXX_Size

func (m *HealthStats) XXX_Size() int

func (*HealthStats) XXX_Unmarshal

func (m *HealthStats) 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"`
	// 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"`
	// Annotations is a map of arbitrary metadata for the image.
	Annotations map[string]string `` /* 142-byte string literal not displayed */
}

Image describes a specific version of a container image.

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

func (*Image) DeepEquals

func (i *Image) DeepEquals(other *Image) bool

DeepEquals returns a bool indicating whether the receiver deep-equals the provided Image. I.e., all fields must be equal.

func (*Image) Descriptor

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

func (*Image) Marshal

func (m *Image) Marshal() (dAtA []byte, err error)

func (*Image) MarshalTo

func (m *Image) MarshalTo(dAtA []byte) (int, error)

func (*Image) MarshalToSizedBuffer

func (m *Image) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) Reset

func (m *Image) Reset()

func (*Image) Size

func (m *Image) Size() (n int)

func (*Image) String

func (this *Image) String() string

func (*Image) Unmarshal

func (m *Image) Unmarshal(dAtA []byte) error

func (*Image) XXX_DiscardUnknown

func (m *Image) XXX_DiscardUnknown()

func (*Image) XXX_Marshal

func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Image) XXX_Merge

func (m *Image) XXX_Merge(src proto.Message)

func (*Image) XXX_Size

func (m *Image) XXX_Size() int

func (*Image) XXX_Unmarshal

func (m *Image) XXX_Unmarshal(b []byte) error

type ImageDiscoveryResult

type ImageDiscoveryResult struct {
	// RepoURL is the repository URL of the image, as specified in the
	// ImageSubscription.
	//
	// +kubebuilder:validation:MinLength=1
	RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"`
	// Platform is the target platform constraint of the ImageSubscription
	// for which references were discovered. This field is optional, and
	// only populated if the ImageSubscription specifies a Platform.
	Platform string `json:"platform,omitempty" protobuf:"bytes,2,opt,name=platform"`
	// References is a list of image references discovered by the Warehouse for
	// the ImageSubscription. An empty list indicates that the discovery
	// operation was successful, but no images matching the ImageSubscription
	// criteria were found.
	//
	// +optional
	References []DiscoveredImageReference `json:"references" protobuf:"bytes,3,rep,name=references"`
}

ImageDiscoveryResult represents the result of an image discovery operation for an ImageSubscription.

func (*ImageDiscoveryResult) DeepCopy

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

func (*ImageDiscoveryResult) DeepCopyInto

func (in *ImageDiscoveryResult) DeepCopyInto(out *ImageDiscoveryResult)

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

func (*ImageDiscoveryResult) Descriptor

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

func (*ImageDiscoveryResult) Marshal

func (m *ImageDiscoveryResult) Marshal() (dAtA []byte, err error)

func (*ImageDiscoveryResult) MarshalTo

func (m *ImageDiscoveryResult) MarshalTo(dAtA []byte) (int, error)

func (*ImageDiscoveryResult) MarshalToSizedBuffer

func (m *ImageDiscoveryResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageDiscoveryResult) ProtoMessage

func (*ImageDiscoveryResult) ProtoMessage()

func (*ImageDiscoveryResult) Reset

func (m *ImageDiscoveryResult) Reset()

func (*ImageDiscoveryResult) Size

func (m *ImageDiscoveryResult) Size() (n int)

func (*ImageDiscoveryResult) String

func (this *ImageDiscoveryResult) String() string

func (*ImageDiscoveryResult) Unmarshal

func (m *ImageDiscoveryResult) Unmarshal(dAtA []byte) error

func (*ImageDiscoveryResult) XXX_DiscardUnknown

func (m *ImageDiscoveryResult) XXX_DiscardUnknown()

func (*ImageDiscoveryResult) XXX_Marshal

func (m *ImageDiscoveryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageDiscoveryResult) XXX_Merge

func (m *ImageDiscoveryResult) XXX_Merge(src proto.Message)

func (*ImageDiscoveryResult) XXX_Size

func (m *ImageDiscoveryResult) XXX_Size() int

func (*ImageDiscoveryResult) XXX_Unmarshal

func (m *ImageDiscoveryResult) XXX_Unmarshal(b []byte) error

type ImageSelectionStrategy

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+)*)*$`
	// +akuity:test-kubebuilder-pattern=ImageRepoURL
	RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"`
	// 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".
	//
	// Accepted values:
	//
	// - "Digest": Selects the image currently referenced by the tag specified
	//   (unintuitively) by the SemverConstraint field.
	//
	// - "Lexical": Selects the image referenced by the lexicographically greatest
	//   tag. Useful when tags embed a leading date or timestamp. The AllowTags
	//   and IgnoreTags fields can optionally be used to narrow the set of tags
	//   eligible for selection.
	//
	// - "NewestBuild": Selects the image that was most recently pushed to the
	//   repository. The AllowTags and IgnoreTags fields can optionally be used
	//   to narrow the set of tags eligible for selection. This is the least
	//   efficient and is likely to cause rate limiting affecting this Warehouse
	//   and possibly others. This strategy should be avoided.
	//
	// - "SemVer": Selects the image with the semantically greatest tag. The
	//   AllowTags and IgnoreTags fields can optionally be used to narrow the set
	//   of tags eligible for selection.
	//
	// +kubebuilder:default=SemVer
	ImageSelectionStrategy ImageSelectionStrategy `json:"imageSelectionStrategy,omitempty" protobuf:"bytes,3,opt,name=imageSelectionStrategy"`
	// StrictSemvers specifies whether only "strict" semver tags should be
	// considered. A "strict" semver tag is one containing ALL of major, minor,
	// and patch version components. This is enabled by default, but only has any
	// effect when the ImageSelectionStrategy is SemVer. This should be disabled
	// cautiously, as it is not uncommon to tag container images with short Git
	// commit hashes, which have the potential to contain numeric characters only
	// and could be mistaken for a semver string containing the major version
	// number only.
	//
	// +kubebuilder:default=true
	StrictSemvers bool `json:"strictSemvers" protobuf:"varint,10,opt,name=strictSemvers"`
	// 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.
	// More info: https://github.com/masterminds/semver#checking-version-constraints
	//
	// Deprecated: Use Constraint instead. This field will be removed in v1.9.0
	//
	// +kubebuilder:validation:Optional
	SemverConstraint string `json:"semverConstraint,omitempty" protobuf:"bytes,4,opt,name=semverConstraint"`
	// Constraint specifies constraints on what new image versions are
	// permissible. Acceptable values for this field vary contextually by
	// ImageSelectionStrategy. The field is optional and is ignored by some
	// strategies. When non-empty, the value in this field takes precedence over
	// the value of the deprecated SemverConstraint field.
	//
	// +kubebuilder:validation:Optional
	Constraint string `json:"constraint,omitempty" protobuf:"bytes,11,opt,name=constraint"`
	// 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"`
	// DiscoveryLimit is an optional limit on the number of image references
	// that can be discovered for this subscription. The limit is applied after
	// filtering images based on the AllowTags and IgnoreTags fields.
	// When left unspecified, the field is implicitly treated as if its value
	// were "20". The upper limit for this field is 100.
	//
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=100
	// +kubebuilder:default=20
	DiscoveryLimit int32 `json:"discoveryLimit,omitempty" protobuf:"varint,9,opt,name=discoveryLimit"`
}

ImageSubscription defines a subscription to an image repository.

+kubebuilder:validation:XValidation:message="semverConstraint and constraint fields are mutually exclusive",rule="!(has(self.semverConstraint) && has(self.constraint))" +kubebuilder:validation:XValidation:message="If imageSelectionStrategy is Digest, either constraint or semverConstraint must be set",rule="!(self.imageSelectionStrategy == 'Digest') || has(self.constraint) || has(self.semverConstraint)"

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

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

func (*ImageSubscription) Marshal

func (m *ImageSubscription) Marshal() (dAtA []byte, err error)

func (*ImageSubscription) MarshalTo

func (m *ImageSubscription) MarshalTo(dAtA []byte) (int, error)

func (*ImageSubscription) MarshalToSizedBuffer

func (m *ImageSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageSubscription) ProtoMessage

func (*ImageSubscription) ProtoMessage()

func (*ImageSubscription) Reset

func (m *ImageSubscription) Reset()

func (*ImageSubscription) Size

func (m *ImageSubscription) Size() (n int)

func (*ImageSubscription) String

func (this *ImageSubscription) String() string

func (*ImageSubscription) Unmarshal

func (m *ImageSubscription) Unmarshal(dAtA []byte) error

func (*ImageSubscription) XXX_DiscardUnknown

func (m *ImageSubscription) XXX_DiscardUnknown()

func (*ImageSubscription) XXX_Marshal

func (m *ImageSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageSubscription) XXX_Merge

func (m *ImageSubscription) XXX_Merge(src proto.Message)

func (*ImageSubscription) XXX_Size

func (m *ImageSubscription) XXX_Size() int

func (*ImageSubscription) XXX_Unmarshal

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 Project

type Project struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// 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 (*Project) DeepCopy

func (in *Project) DeepCopy() *Project

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

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

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

func (*Project) DeepCopyObject

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

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

func (*Project) Descriptor

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

func (*Project) GetStatus

func (p *Project) GetStatus() *ProjectStatus

func (*Project) Marshal

func (m *Project) Marshal() (dAtA []byte, err error)

func (*Project) MarshalTo

func (m *Project) MarshalTo(dAtA []byte) (int, error)

func (*Project) MarshalToSizedBuffer

func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) Reset

func (m *Project) Reset()

func (*Project) Size

func (m *Project) Size() (n int)

func (*Project) String

func (this *Project) String() string

func (*Project) Unmarshal

func (m *Project) Unmarshal(dAtA []byte) error

func (*Project) XXX_DiscardUnknown

func (m *Project) XXX_DiscardUnknown()

func (*Project) XXX_Marshal

func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Project) XXX_Merge

func (m *Project) XXX_Merge(src proto.Message)

func (*Project) XXX_Size

func (m *Project) XXX_Size() int

func (*Project) XXX_Unmarshal

func (m *Project) XXX_Unmarshal(b []byte) error

type ProjectConfig

type ProjectConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Spec describes the configuration of a Project.
	Spec ProjectConfigSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// Status describes the current status of a ProjectConfig.
	Status ProjectConfigStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ProjectConfig is a resource type that describes the configuration of a Project.

func (*ProjectConfig) DeepCopy

func (in *ProjectConfig) DeepCopy() *ProjectConfig

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

func (*ProjectConfig) DeepCopyInto

func (in *ProjectConfig) DeepCopyInto(out *ProjectConfig)

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

func (*ProjectConfig) DeepCopyObject

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

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

func (*ProjectConfig) Descriptor

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

func (*ProjectConfig) GetStatus

func (p *ProjectConfig) GetStatus() *ProjectConfigStatus

func (*ProjectConfig) Marshal

func (m *ProjectConfig) Marshal() (dAtA []byte, err error)

func (*ProjectConfig) MarshalTo

func (m *ProjectConfig) MarshalTo(dAtA []byte) (int, error)

func (*ProjectConfig) MarshalToSizedBuffer

func (m *ProjectConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectConfig) ProtoMessage

func (*ProjectConfig) ProtoMessage()

func (*ProjectConfig) Reset

func (m *ProjectConfig) Reset()

func (*ProjectConfig) Size

func (m *ProjectConfig) Size() (n int)

func (*ProjectConfig) String

func (this *ProjectConfig) String() string

func (*ProjectConfig) Unmarshal

func (m *ProjectConfig) Unmarshal(dAtA []byte) error

func (*ProjectConfig) XXX_DiscardUnknown

func (m *ProjectConfig) XXX_DiscardUnknown()

func (*ProjectConfig) XXX_Marshal

func (m *ProjectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectConfig) XXX_Merge

func (m *ProjectConfig) XXX_Merge(src proto.Message)

func (*ProjectConfig) XXX_Size

func (m *ProjectConfig) XXX_Size() int

func (*ProjectConfig) XXX_Unmarshal

func (m *ProjectConfig) XXX_Unmarshal(b []byte) error

type ProjectConfigList

type ProjectConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []ProjectConfig `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ProjectConfigList is a list of ProjectConfig resources.

func (*ProjectConfigList) DeepCopy

func (in *ProjectConfigList) DeepCopy() *ProjectConfigList

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

func (*ProjectConfigList) DeepCopyInto

func (in *ProjectConfigList) DeepCopyInto(out *ProjectConfigList)

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

func (*ProjectConfigList) DeepCopyObject

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

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

func (*ProjectConfigList) Descriptor

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

func (*ProjectConfigList) Marshal

func (m *ProjectConfigList) Marshal() (dAtA []byte, err error)

func (*ProjectConfigList) MarshalTo

func (m *ProjectConfigList) MarshalTo(dAtA []byte) (int, error)

func (*ProjectConfigList) MarshalToSizedBuffer

func (m *ProjectConfigList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectConfigList) ProtoMessage

func (*ProjectConfigList) ProtoMessage()

func (*ProjectConfigList) Reset

func (m *ProjectConfigList) Reset()

func (*ProjectConfigList) Size

func (m *ProjectConfigList) Size() (n int)

func (*ProjectConfigList) String

func (this *ProjectConfigList) String() string

func (*ProjectConfigList) Unmarshal

func (m *ProjectConfigList) Unmarshal(dAtA []byte) error

func (*ProjectConfigList) XXX_DiscardUnknown

func (m *ProjectConfigList) XXX_DiscardUnknown()

func (*ProjectConfigList) XXX_Marshal

func (m *ProjectConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectConfigList) XXX_Merge

func (m *ProjectConfigList) XXX_Merge(src proto.Message)

func (*ProjectConfigList) XXX_Size

func (m *ProjectConfigList) XXX_Size() int

func (*ProjectConfigList) XXX_Unmarshal

func (m *ProjectConfigList) XXX_Unmarshal(b []byte) error

type ProjectConfigSpec

type ProjectConfigSpec struct {
	// PromotionPolicies defines policies governing the promotion of Freight to
	// specific Stages within the Project.
	PromotionPolicies []PromotionPolicy `json:"promotionPolicies,omitempty" protobuf:"bytes,1,rep,name=promotionPolicies"`
	// WebhookReceivers describes Project-specific webhook receivers used for
	// processing events from various external platforms
	WebhookReceivers []WebhookReceiverConfig `json:"webhookReceivers,omitempty" protobuf:"bytes,2,rep,name=webhookReceivers"`
}

ProjectConfigSpec describes the configuration of a Project.

func (*ProjectConfigSpec) DeepCopy

func (in *ProjectConfigSpec) DeepCopy() *ProjectConfigSpec

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

func (*ProjectConfigSpec) DeepCopyInto

func (in *ProjectConfigSpec) DeepCopyInto(out *ProjectConfigSpec)

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

func (*ProjectConfigSpec) Descriptor

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

func (*ProjectConfigSpec) Marshal

func (m *ProjectConfigSpec) Marshal() (dAtA []byte, err error)

func (*ProjectConfigSpec) MarshalTo

func (m *ProjectConfigSpec) MarshalTo(dAtA []byte) (int, error)

func (*ProjectConfigSpec) MarshalToSizedBuffer

func (m *ProjectConfigSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectConfigSpec) ProtoMessage

func (*ProjectConfigSpec) ProtoMessage()

func (*ProjectConfigSpec) Reset

func (m *ProjectConfigSpec) Reset()

func (*ProjectConfigSpec) Size

func (m *ProjectConfigSpec) Size() (n int)

func (*ProjectConfigSpec) String

func (this *ProjectConfigSpec) String() string

func (*ProjectConfigSpec) Unmarshal

func (m *ProjectConfigSpec) Unmarshal(dAtA []byte) error

func (*ProjectConfigSpec) XXX_DiscardUnknown

func (m *ProjectConfigSpec) XXX_DiscardUnknown()

func (*ProjectConfigSpec) XXX_Marshal

func (m *ProjectConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectConfigSpec) XXX_Merge

func (m *ProjectConfigSpec) XXX_Merge(src proto.Message)

func (*ProjectConfigSpec) XXX_Size

func (m *ProjectConfigSpec) XXX_Size() int

func (*ProjectConfigSpec) XXX_Unmarshal

func (m *ProjectConfigSpec) XXX_Unmarshal(b []byte) error

type ProjectConfigStatus

type ProjectConfigStatus struct {
	// Conditions contains the last observations of the Project Config's current
	// state.
	//
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchMergeKey:"type" patchStrategy:"merge" protobuf:"bytes,1,rep,name=conditions"`
	// ObservedGeneration represents the .metadata.generation that this
	// ProjectConfig was reconciled against.
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
	// 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"`
	// WebhookReceivers describes the status of Project-specific webhook
	// receivers.
	WebhookReceivers []WebhookReceiverDetails `json:"webhookReceivers,omitempty" protobuf:"bytes,2,rep,name=webhookReceivers"`
}

ProjectConfigStatus describes the current status of a ProjectConfig.

func (*ProjectConfigStatus) DeepCopy

func (in *ProjectConfigStatus) DeepCopy() *ProjectConfigStatus

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

func (*ProjectConfigStatus) DeepCopyInto

func (in *ProjectConfigStatus) DeepCopyInto(out *ProjectConfigStatus)

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

func (*ProjectConfigStatus) Descriptor

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

func (*ProjectConfigStatus) GetConditions

func (p *ProjectConfigStatus) GetConditions() []metav1.Condition

GetConditions implements the conditions.Getter interface.

func (*ProjectConfigStatus) Marshal

func (m *ProjectConfigStatus) Marshal() (dAtA []byte, err error)

func (*ProjectConfigStatus) MarshalTo

func (m *ProjectConfigStatus) MarshalTo(dAtA []byte) (int, error)

func (*ProjectConfigStatus) MarshalToSizedBuffer

func (m *ProjectConfigStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectConfigStatus) ProtoMessage

func (*ProjectConfigStatus) ProtoMessage()

func (*ProjectConfigStatus) Reset

func (m *ProjectConfigStatus) Reset()

func (*ProjectConfigStatus) SetConditions

func (p *ProjectConfigStatus) SetConditions(conditions []metav1.Condition)

SetConditions implements the conditions.Setter interface.

func (*ProjectConfigStatus) Size

func (m *ProjectConfigStatus) Size() (n int)

func (*ProjectConfigStatus) String

func (this *ProjectConfigStatus) String() string

func (*ProjectConfigStatus) Unmarshal

func (m *ProjectConfigStatus) Unmarshal(dAtA []byte) error

func (*ProjectConfigStatus) XXX_DiscardUnknown

func (m *ProjectConfigStatus) XXX_DiscardUnknown()

func (*ProjectConfigStatus) XXX_Marshal

func (m *ProjectConfigStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectConfigStatus) XXX_Merge

func (m *ProjectConfigStatus) XXX_Merge(src proto.Message)

func (*ProjectConfigStatus) XXX_Size

func (m *ProjectConfigStatus) XXX_Size() int

func (*ProjectConfigStatus) XXX_Unmarshal

func (m *ProjectConfigStatus) XXX_Unmarshal(b []byte) error

type ProjectList

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

func (in *ProjectList) DeepCopy() *ProjectList

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

func (*ProjectList) DeepCopyInto

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

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

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

func (*ProjectList) Descriptor

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

func (*ProjectList) Marshal

func (m *ProjectList) Marshal() (dAtA []byte, err error)

func (*ProjectList) MarshalTo

func (m *ProjectList) MarshalTo(dAtA []byte) (int, error)

func (*ProjectList) MarshalToSizedBuffer

func (m *ProjectList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectList) ProtoMessage

func (*ProjectList) ProtoMessage()

func (*ProjectList) Reset

func (m *ProjectList) Reset()

func (*ProjectList) Size

func (m *ProjectList) Size() (n int)

func (*ProjectList) String

func (this *ProjectList) String() string

func (*ProjectList) Unmarshal

func (m *ProjectList) Unmarshal(dAtA []byte) error

func (*ProjectList) XXX_DiscardUnknown

func (m *ProjectList) XXX_DiscardUnknown()

func (*ProjectList) XXX_Marshal

func (m *ProjectList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectList) XXX_Merge

func (m *ProjectList) XXX_Merge(src proto.Message)

func (*ProjectList) XXX_Size

func (m *ProjectList) XXX_Size() int

func (*ProjectList) XXX_Unmarshal

func (m *ProjectList) XXX_Unmarshal(b []byte) error

type ProjectStats

type ProjectStats struct {
	// Warehouses contains a summary of the collective state of the Project's
	// Warehouses.
	Warehouses WarehouseStats `json:"warehouses,omitempty" protobuf:"bytes,1,opt,name=warehouses"`
	// Stages contains a summary of the collective state of the Project's Stages.
	Stages StageStats `json:"stages,omitempty" protobuf:"bytes,2,opt,name=stages"`
}

ProjectStats contains a summary of the collective state of a Project's constituent resources.

func (*ProjectStats) DeepCopy

func (in *ProjectStats) DeepCopy() *ProjectStats

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

func (*ProjectStats) DeepCopyInto

func (in *ProjectStats) DeepCopyInto(out *ProjectStats)

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

func (*ProjectStats) Descriptor

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

func (*ProjectStats) Marshal

func (m *ProjectStats) Marshal() (dAtA []byte, err error)

func (*ProjectStats) MarshalTo

func (m *ProjectStats) MarshalTo(dAtA []byte) (int, error)

func (*ProjectStats) MarshalToSizedBuffer

func (m *ProjectStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectStats) ProtoMessage

func (*ProjectStats) ProtoMessage()

func (*ProjectStats) Reset

func (m *ProjectStats) Reset()

func (*ProjectStats) Size

func (m *ProjectStats) Size() (n int)

func (*ProjectStats) String

func (this *ProjectStats) String() string

func (*ProjectStats) Unmarshal

func (m *ProjectStats) Unmarshal(dAtA []byte) error

func (*ProjectStats) XXX_DiscardUnknown

func (m *ProjectStats) XXX_DiscardUnknown()

func (*ProjectStats) XXX_Marshal

func (m *ProjectStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectStats) XXX_Merge

func (m *ProjectStats) XXX_Merge(src proto.Message)

func (*ProjectStats) XXX_Size

func (m *ProjectStats) XXX_Size() int

func (*ProjectStats) XXX_Unmarshal

func (m *ProjectStats) XXX_Unmarshal(b []byte) error

type ProjectStatus

type ProjectStatus struct {
	// Conditions contains the last observations of the Project's current
	// state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchMergeKey:"type" patchStrategy:"merge" protobuf:"bytes,3,rep,name=conditions"`
	// Stats contains a summary of the collective state of a Project's
	// constituent resources.
	Stats *ProjectStats `json:"stats,omitempty" protobuf:"bytes,4,opt,name=stats"`
}

ProjectStatus describes a Project's current status.

func (*ProjectStatus) DeepCopy

func (in *ProjectStatus) DeepCopy() *ProjectStatus

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

func (*ProjectStatus) DeepCopyInto

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

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

func (*ProjectStatus) GetConditions

func (w *ProjectStatus) GetConditions() []metav1.Condition

GetConditions implements the conditions.Getter interface.

func (*ProjectStatus) Marshal

func (m *ProjectStatus) Marshal() (dAtA []byte, err error)

func (*ProjectStatus) MarshalTo

func (m *ProjectStatus) MarshalTo(dAtA []byte) (int, error)

func (*ProjectStatus) MarshalToSizedBuffer

func (m *ProjectStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectStatus) ProtoMessage

func (*ProjectStatus) ProtoMessage()

func (*ProjectStatus) Reset

func (m *ProjectStatus) Reset()

func (*ProjectStatus) SetConditions

func (w *ProjectStatus) SetConditions(conditions []metav1.Condition)

SetConditions implements the conditions.Setter interface.

func (*ProjectStatus) Size

func (m *ProjectStatus) Size() (n int)

func (*ProjectStatus) String

func (this *ProjectStatus) String() string

func (*ProjectStatus) Unmarshal

func (m *ProjectStatus) Unmarshal(dAtA []byte) error

func (*ProjectStatus) XXX_DiscardUnknown

func (m *ProjectStatus) XXX_DiscardUnknown()

func (*ProjectStatus) XXX_Marshal

func (m *ProjectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectStatus) XXX_Merge

func (m *ProjectStatus) XXX_Merge(src proto.Message)

func (*ProjectStatus) XXX_Size

func (m *ProjectStatus) XXX_Size() int

func (*ProjectStatus) XXX_Unmarshal

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 (*Promotion) DeepCopy

func (in *Promotion) DeepCopy() *Promotion

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

func (*Promotion) DeepCopyInto

func (in *Promotion) DeepCopyInto(out *Promotion)

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

func (*Promotion) DeepCopyObject

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

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

func (*Promotion) Descriptor

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

func (*Promotion) GetStatus

func (p *Promotion) GetStatus() *PromotionStatus

func (*Promotion) Marshal

func (m *Promotion) Marshal() (dAtA []byte, err error)

func (*Promotion) MarshalTo

func (m *Promotion) MarshalTo(dAtA []byte) (int, error)

func (*Promotion) MarshalToSizedBuffer

func (m *Promotion) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Promotion) ProtoMessage

func (*Promotion) ProtoMessage()

func (*Promotion) Reset

func (m *Promotion) Reset()

func (*Promotion) Size

func (m *Promotion) Size() (n int)

func (*Promotion) String

func (this *Promotion) String() string

func (*Promotion) Unmarshal

func (m *Promotion) Unmarshal(dAtA []byte) error

func (*Promotion) XXX_DiscardUnknown

func (m *Promotion) XXX_DiscardUnknown()

func (*Promotion) XXX_Marshal

func (m *Promotion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Promotion) XXX_Merge

func (m *Promotion) XXX_Merge(src proto.Message)

func (*Promotion) XXX_Size

func (m *Promotion) XXX_Size() int

func (*Promotion) XXX_Unmarshal

func (m *Promotion) 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

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

func (*PromotionList) Marshal

func (m *PromotionList) Marshal() (dAtA []byte, err error)

func (*PromotionList) MarshalTo

func (m *PromotionList) MarshalTo(dAtA []byte) (int, error)

func (*PromotionList) MarshalToSizedBuffer

func (m *PromotionList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionList) ProtoMessage

func (*PromotionList) ProtoMessage()

func (*PromotionList) Reset

func (m *PromotionList) Reset()

func (*PromotionList) Size

func (m *PromotionList) Size() (n int)

func (*PromotionList) String

func (this *PromotionList) String() string

func (*PromotionList) Unmarshal

func (m *PromotionList) Unmarshal(dAtA []byte) error

func (*PromotionList) XXX_DiscardUnknown

func (m *PromotionList) XXX_DiscardUnknown()

func (*PromotionList) XXX_Marshal

func (m *PromotionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionList) XXX_Merge

func (m *PromotionList) XXX_Merge(src proto.Message)

func (*PromotionList) XXX_Size

func (m *PromotionList) XXX_Size() int

func (*PromotionList) XXX_Unmarshal

func (m *PromotionList) 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, usually for
	// non-technical reasons.
	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"
	// PromotionPhaseAborted denotes a Promotion that has been aborted by a
	// user.
	PromotionPhaseAborted PromotionPhase = "Aborted"
)

func (*PromotionPhase) IsTerminal

func (p *PromotionPhase) IsTerminal() bool

IsTerminal returns true if the PromotionPhase is a terminal one.

type PromotionPolicy

type PromotionPolicy struct {
	// Stage is the name of the Stage to which this policy applies.
	//
	// Deprecated: Use StageSelector instead.
	//
	// +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,omitempty" protobuf:"bytes,1,opt,name=stage"`
	// StageSelector is a selector that matches the Stage resource to which
	// this policy applies.
	StageSelector *PromotionPolicySelector `json:"stageSelector,omitempty" protobuf:"bytes,3,opt,name=stageSelector"`
	// 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.

+kubebuilder:validation:XValidation:message="PromotionPolicy must have exactly one of stage or stageSelector set",rule="has(self.stage) ? !has(self.stageSelector) : has(self.stageSelector)"

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

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

func (*PromotionPolicy) Marshal

func (m *PromotionPolicy) Marshal() (dAtA []byte, err error)

func (*PromotionPolicy) MarshalTo

func (m *PromotionPolicy) MarshalTo(dAtA []byte) (int, error)

func (*PromotionPolicy) MarshalToSizedBuffer

func (m *PromotionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionPolicy) ProtoMessage

func (*PromotionPolicy) ProtoMessage()

func (*PromotionPolicy) Reset

func (m *PromotionPolicy) Reset()

func (*PromotionPolicy) Size

func (m *PromotionPolicy) Size() (n int)

func (*PromotionPolicy) String

func (this *PromotionPolicy) String() string

func (*PromotionPolicy) Unmarshal

func (m *PromotionPolicy) Unmarshal(dAtA []byte) error

func (*PromotionPolicy) XXX_DiscardUnknown

func (m *PromotionPolicy) XXX_DiscardUnknown()

func (*PromotionPolicy) XXX_Marshal

func (m *PromotionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionPolicy) XXX_Merge

func (m *PromotionPolicy) XXX_Merge(src proto.Message)

func (*PromotionPolicy) XXX_Size

func (m *PromotionPolicy) XXX_Size() int

func (*PromotionPolicy) XXX_Unmarshal

func (m *PromotionPolicy) XXX_Unmarshal(b []byte) error

type PromotionPolicySelector

type PromotionPolicySelector struct {
	// Name is the name of the resource to which this policy applies.
	//
	// It can be an exact name, a regex pattern (with prefix "regex:"), or a
	// glob pattern (with prefix "glob:").
	//
	// When both Name and LabelSelector are specified, the Name is ANDed with
	// the LabelSelector. I.e., the resource must match both the Name and
	// LabelSelector to be selected by this policy.
	//
	// NOTE: Using a specific exact name is the most secure option. Pattern
	// matching via regex or glob can be exploited by users with permissions to
	// match promotion policies that weren't intended to apply to their
	// resources. For example, a user could create a resource with a name
	// deliberately crafted to match the pattern, potentially bypassing intended
	// promotion controls.
	//
	// +optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// LabelSelector is a selector that matches the resource to which this policy
	// applies.
	//
	// When both Name and LabelSelector are specified, the Name is ANDed with
	// the LabelSelector. I.e., the resource must match both the Name and
	// LabelSelector to be selected by this policy.
	//
	// NOTE: Using label selectors introduces security risks as users with
	// appropriate permissions could create new resources with labels that match
	// the selector, potentially enabling unauthorized auto-promotion.
	// For sensitive environments, exact Name matching provides tighter control.
	*metav1.LabelSelector `json:",inline" protobuf:"bytes,2,opt,name=labelSelector"`
}

PromotionPolicySelector is a selector that matches the resource to which this policy applies. It can be used to match a specific resource by name or to match a set of resources by label.

func (*PromotionPolicySelector) DeepCopy

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

func (*PromotionPolicySelector) DeepCopyInto

func (in *PromotionPolicySelector) DeepCopyInto(out *PromotionPolicySelector)

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

func (*PromotionPolicySelector) Descriptor

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

func (*PromotionPolicySelector) Marshal

func (m *PromotionPolicySelector) Marshal() (dAtA []byte, err error)

func (*PromotionPolicySelector) MarshalTo

func (m *PromotionPolicySelector) MarshalTo(dAtA []byte) (int, error)

func (*PromotionPolicySelector) MarshalToSizedBuffer

func (m *PromotionPolicySelector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionPolicySelector) ProtoMessage

func (*PromotionPolicySelector) ProtoMessage()

func (*PromotionPolicySelector) Reset

func (m *PromotionPolicySelector) Reset()

func (*PromotionPolicySelector) Size

func (m *PromotionPolicySelector) Size() (n int)

func (*PromotionPolicySelector) String

func (this *PromotionPolicySelector) String() string

func (*PromotionPolicySelector) Unmarshal

func (m *PromotionPolicySelector) Unmarshal(dAtA []byte) error

func (*PromotionPolicySelector) XXX_DiscardUnknown

func (m *PromotionPolicySelector) XXX_DiscardUnknown()

func (*PromotionPolicySelector) XXX_Marshal

func (m *PromotionPolicySelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionPolicySelector) XXX_Merge

func (m *PromotionPolicySelector) XXX_Merge(src proto.Message)

func (*PromotionPolicySelector) XXX_Size

func (m *PromotionPolicySelector) XXX_Size() int

func (*PromotionPolicySelector) XXX_Unmarshal

func (m *PromotionPolicySelector) XXX_Unmarshal(b []byte) error

type PromotionReference

type PromotionReference 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,omitempty" 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"`
	// FinishedAt is the time at which the Promotion was completed.
	FinishedAt *metav1.Time `json:"finishedAt,omitempty" protobuf:"bytes,4,opt,name=finishedAt"`
}

PromotionReference contains the relevant information about a Promotion as observed by a Stage.

func (*PromotionReference) DeepCopy

func (in *PromotionReference) DeepCopy() *PromotionReference

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

func (*PromotionReference) DeepCopyInto

func (in *PromotionReference) DeepCopyInto(out *PromotionReference)

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

func (*PromotionReference) Descriptor

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

func (*PromotionReference) GetHealthChecks

func (r *PromotionReference) GetHealthChecks() []HealthCheckStep

GetHealthChecks returns the list of health checks for the PromotionReference.

func (*PromotionReference) Marshal

func (m *PromotionReference) Marshal() (dAtA []byte, err error)

func (*PromotionReference) MarshalTo

func (m *PromotionReference) MarshalTo(dAtA []byte) (int, error)

func (*PromotionReference) MarshalToSizedBuffer

func (m *PromotionReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionReference) ProtoMessage

func (*PromotionReference) ProtoMessage()

func (*PromotionReference) Reset

func (m *PromotionReference) Reset()

func (*PromotionReference) Size

func (m *PromotionReference) Size() (n int)

func (*PromotionReference) String

func (this *PromotionReference) String() string

func (*PromotionReference) Unmarshal

func (m *PromotionReference) Unmarshal(dAtA []byte) error

func (*PromotionReference) XXX_DiscardUnknown

func (m *PromotionReference) XXX_DiscardUnknown()

func (*PromotionReference) XXX_Marshal

func (m *PromotionReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionReference) XXX_Merge

func (m *PromotionReference) XXX_Merge(src proto.Message)

func (*PromotionReference) XXX_Size

func (m *PromotionReference) XXX_Size() int

func (*PromotionReference) XXX_Unmarshal

func (m *PromotionReference) 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:Required
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=253
	// +kubebuilder:validation:Pattern=`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
	// +akuity:test-kubebuilder-pattern=KubernetesName
	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:Required
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=253
	// +kubebuilder:validation:Pattern=`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
	// +akuity:test-kubebuilder-pattern=KubernetesName
	Freight string `json:"freight" protobuf:"bytes,2,opt,name=freight"`
	// Vars is a list of variables that can be referenced by expressions in
	// promotion steps.
	Vars []ExpressionVariable `json:"vars,omitempty" protobuf:"bytes,4,rep,name=vars"`
	// Steps specifies the directives to be executed as part of this Promotion.
	// The order in which the directives are executed is the order in which they
	// are listed in this field.
	//
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:items:XValidation:message="Promotion step must have uses set and must not reference a task",rule="has(self.uses) && !has(self.task)"
	Steps []PromotionStep `json:"steps" protobuf:"bytes,3,rep,name=steps"`
}

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

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

func (*PromotionSpec) Marshal

func (m *PromotionSpec) Marshal() (dAtA []byte, err error)

func (*PromotionSpec) MarshalTo

func (m *PromotionSpec) MarshalTo(dAtA []byte) (int, error)

func (*PromotionSpec) MarshalToSizedBuffer

func (m *PromotionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionSpec) ProtoMessage

func (*PromotionSpec) ProtoMessage()

func (*PromotionSpec) Reset

func (m *PromotionSpec) Reset()

func (*PromotionSpec) Size

func (m *PromotionSpec) Size() (n int)

func (*PromotionSpec) String

func (this *PromotionSpec) String() string

func (*PromotionSpec) Unmarshal

func (m *PromotionSpec) Unmarshal(dAtA []byte) error

func (*PromotionSpec) XXX_DiscardUnknown

func (m *PromotionSpec) XXX_DiscardUnknown()

func (*PromotionSpec) XXX_Marshal

func (m *PromotionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionSpec) XXX_Merge

func (m *PromotionSpec) XXX_Merge(src proto.Message)

func (*PromotionSpec) XXX_Size

func (m *PromotionSpec) XXX_Size() int

func (*PromotionSpec) XXX_Unmarshal

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"`
	// 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"`
	// FreightCollection contains the details of the piece of Freight referenced
	// by this Promotion as well as any additional Freight that is carried over
	// from the target Stage's current state.
	FreightCollection *FreightCollection `json:"freightCollection,omitempty" protobuf:"bytes,7,opt,name=freightCollection"`
	// HealthChecks contains the health check directives to be executed after
	// the Promotion has completed.
	HealthChecks []HealthCheckStep `json:"healthChecks,omitempty" protobuf:"bytes,8,rep,name=healthChecks"`
	// StartedAt is the time when the promotion started.
	StartedAt *metav1.Time `json:"startedAt,omitempty" protobuf:"bytes,12,opt,name=startedAt"`
	// FinishedAt is the time when the promotion was completed.
	FinishedAt *metav1.Time `json:"finishedAt,omitempty" protobuf:"bytes,6,opt,name=finishedAt"`
	// CurrentStep is the index of the current promotion step being executed. This
	// permits steps that have already run successfully to be skipped on
	// subsequent reconciliations attempts.
	CurrentStep int64 `json:"currentStep,omitempty" protobuf:"varint,9,opt,name=currentStep"`
	// StepExecutionMetadata tracks metadata pertaining to the execution
	// of individual promotion steps.
	StepExecutionMetadata StepExecutionMetadataList `json:"stepExecutionMetadata,omitempty" protobuf:"bytes,11,rep,name=stepExecutionMetadata"`
	// State stores the state of the promotion process between reconciliation
	// attempts.
	State *apiextensionsv1.JSON `json:"state,omitempty" protobuf:"bytes,10,opt,name=state"`
}

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

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

func (*PromotionStatus) GetState

func (s *PromotionStatus) GetState() map[string]any

GetState returns the State field as unmarshalled YAML.

func (*PromotionStatus) Marshal

func (m *PromotionStatus) Marshal() (dAtA []byte, err error)

func (*PromotionStatus) MarshalTo

func (m *PromotionStatus) MarshalTo(dAtA []byte) (int, error)

func (*PromotionStatus) MarshalToSizedBuffer

func (m *PromotionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionStatus) ProtoMessage

func (*PromotionStatus) ProtoMessage()

func (*PromotionStatus) Reset

func (m *PromotionStatus) Reset()

func (*PromotionStatus) Size

func (m *PromotionStatus) Size() (n int)

func (*PromotionStatus) String

func (this *PromotionStatus) String() string

func (*PromotionStatus) Unmarshal

func (m *PromotionStatus) Unmarshal(dAtA []byte) error

func (*PromotionStatus) WithPhase

func (s *PromotionStatus) WithPhase(phase PromotionPhase) *PromotionStatus

WithPhase returns a copy of PromotionStatus with the given phase

func (*PromotionStatus) XXX_DiscardUnknown

func (m *PromotionStatus) XXX_DiscardUnknown()

func (*PromotionStatus) XXX_Marshal

func (m *PromotionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionStatus) XXX_Merge

func (m *PromotionStatus) XXX_Merge(src proto.Message)

func (*PromotionStatus) XXX_Size

func (m *PromotionStatus) XXX_Size() int

func (*PromotionStatus) XXX_Unmarshal

func (m *PromotionStatus) XXX_Unmarshal(b []byte) error

type PromotionStep

type PromotionStep struct {
	// Uses identifies a runner that can execute this step.
	//
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:MinLength=1
	Uses string `json:"uses,omitempty" protobuf:"bytes,1,opt,name=uses"`
	// Task is a reference to a PromotionTask that should be inflated into a
	// Promotion when it is built from a PromotionTemplate.
	Task *PromotionTaskReference `json:"task,omitempty" protobuf:"bytes,5,opt,name=task"`
	// As is the alias this step can be referred to as.
	As string `json:"as,omitempty" protobuf:"bytes,2,opt,name=as"`
	// If is an optional expression that, if present, must evaluate to a boolean
	// value. If the expression evaluates to false, the step will be skipped.
	// If the expression does not evaluate to a boolean value, the step will be
	// considered to have failed.
	If string `json:"if,omitempty" protobuf:"bytes,7,opt,name=if"`
	// ContinueOnError is a boolean value that, if set to true, will cause the
	// Promotion to continue executing the next step even if this step fails. It
	// also will not permit this failure to impact the overall status of the
	// Promotion.
	ContinueOnError bool `json:"continueOnError,omitempty" protobuf:"varint,8,opt,name=continueOnError"`
	// Retry is the retry policy for this step.
	Retry *PromotionStepRetry `json:"retry,omitempty" protobuf:"bytes,4,opt,name=retry"`
	// Vars is a list of variables that can be referenced by expressions in
	// the step's Config. The values override the values specified in the
	// PromotionSpec.
	Vars []ExpressionVariable `json:"vars,omitempty" protobuf:"bytes,6,rep,name=vars"`
	// Config is opaque configuration for the PromotionStep that is understood
	// only by each PromotionStep's implementation. It is legal to utilize
	// expressions in defining values at any level of this block.
	// See https://docs.kargo.io/user-guide/reference-docs/expressions for details.
	Config *apiextensionsv1.JSON `json:"config,omitempty" protobuf:"bytes,3,opt,name=config"`
}

PromotionStep describes a directive to be executed as part of a Promotion.

func (*PromotionStep) DeepCopy

func (in *PromotionStep) DeepCopy() *PromotionStep

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

func (*PromotionStep) DeepCopyInto

func (in *PromotionStep) DeepCopyInto(out *PromotionStep)

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

func (*PromotionStep) Descriptor

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

func (*PromotionStep) GetAlias

func (s *PromotionStep) GetAlias(i int) string

GetAlias returns the As field, or a default value in the form of "step-<i>" or "task-<i>" if the As field is empty. The index i is provided as an argument to this method and should be the index of the PromotionStep in the list it belongs to.

func (*PromotionStep) Marshal

func (m *PromotionStep) Marshal() (dAtA []byte, err error)

func (*PromotionStep) MarshalTo

func (m *PromotionStep) MarshalTo(dAtA []byte) (int, error)

func (*PromotionStep) MarshalToSizedBuffer

func (m *PromotionStep) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionStep) ProtoMessage

func (*PromotionStep) ProtoMessage()

func (*PromotionStep) Reset

func (m *PromotionStep) Reset()

func (*PromotionStep) Size

func (m *PromotionStep) Size() (n int)

func (*PromotionStep) String

func (this *PromotionStep) String() string

func (*PromotionStep) Unmarshal

func (m *PromotionStep) Unmarshal(dAtA []byte) error

func (*PromotionStep) XXX_DiscardUnknown

func (m *PromotionStep) XXX_DiscardUnknown()

func (*PromotionStep) XXX_Marshal

func (m *PromotionStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionStep) XXX_Merge

func (m *PromotionStep) XXX_Merge(src proto.Message)

func (*PromotionStep) XXX_Size

func (m *PromotionStep) XXX_Size() int

func (*PromotionStep) XXX_Unmarshal

func (m *PromotionStep) XXX_Unmarshal(b []byte) error

type PromotionStepRetry

type PromotionStepRetry struct {
	// Timeout is the soft maximum interval in which a step that returns a Running
	// status (which typically indicates it's waiting for something to happen)
	// may be retried.
	//
	// The maximum is a soft one because the check for whether the interval has
	// elapsed occurs AFTER the step has run. This effectively means a step may
	// run ONCE beyond the close of the interval.
	//
	// If this field is set to nil, the effective default will be a step-specific
	// one. If no step-specific default exists (i.e. is also nil), the effective
	// default will be the system-wide default of 0.
	//
	// A value of 0 will cause the step to be retried indefinitely unless the
	// ErrorThreshold is reached.
	Timeout *metav1.Duration `json:"timeout,omitempty" protobuf:"bytes,1,opt,name=timeout"`
	// ErrorThreshold is the number of consecutive times the step must fail (for
	// any reason) before retries are abandoned and the entire Promotion is marked
	// as failed.
	//
	// If this field is set to 0, the effective default will be a step-specific
	// one. If no step-specific default exists (i.e. is also 0), the effective
	// default will be the system-wide default of 1.
	//
	// A value of 1 will cause the Promotion to be marked as failed after just
	// a single failure; i.e. no retries will be attempted.
	//
	// There is no option to specify an infinite number of retries using a value
	// such as -1.
	//
	// In a future release, Kargo is likely to become capable of distinguishing
	// between recoverable and non-recoverable step failures. At that time, it is
	// planned that unrecoverable failures will not be subject to this threshold
	// and will immediately cause the Promotion to be marked as failed without
	// further condition.
	ErrorThreshold uint32 `json:"errorThreshold,omitempty" protobuf:"varint,2,opt,name=errorThreshold"`
}

PromotionStepRetry describes the retry policy for a PromotionStep.

func (*PromotionStepRetry) DeepCopy

func (in *PromotionStepRetry) DeepCopy() *PromotionStepRetry

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

func (*PromotionStepRetry) DeepCopyInto

func (in *PromotionStepRetry) DeepCopyInto(out *PromotionStepRetry)

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

func (*PromotionStepRetry) Descriptor

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

func (*PromotionStepRetry) GetErrorThreshold

func (r *PromotionStepRetry) GetErrorThreshold(fallback uint32) uint32

GetErrorThreshold returns the ErrorThreshold field with the given fallback value.

func (*PromotionStepRetry) GetTimeout

func (r *PromotionStepRetry) GetTimeout(fallback *time.Duration) *time.Duration

GetTimeout returns the Timeout field with the given fallback value.

func (*PromotionStepRetry) Marshal

func (m *PromotionStepRetry) Marshal() (dAtA []byte, err error)

func (*PromotionStepRetry) MarshalTo

func (m *PromotionStepRetry) MarshalTo(dAtA []byte) (int, error)

func (*PromotionStepRetry) MarshalToSizedBuffer

func (m *PromotionStepRetry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionStepRetry) ProtoMessage

func (*PromotionStepRetry) ProtoMessage()

func (*PromotionStepRetry) Reset

func (m *PromotionStepRetry) Reset()

func (*PromotionStepRetry) Size

func (m *PromotionStepRetry) Size() (n int)

func (*PromotionStepRetry) String

func (this *PromotionStepRetry) String() string

func (*PromotionStepRetry) Unmarshal

func (m *PromotionStepRetry) Unmarshal(dAtA []byte) error

func (*PromotionStepRetry) XXX_DiscardUnknown

func (m *PromotionStepRetry) XXX_DiscardUnknown()

func (*PromotionStepRetry) XXX_Marshal

func (m *PromotionStepRetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionStepRetry) XXX_Merge

func (m *PromotionStepRetry) XXX_Merge(src proto.Message)

func (*PromotionStepRetry) XXX_Size

func (m *PromotionStepRetry) XXX_Size() int

func (*PromotionStepRetry) XXX_Unmarshal

func (m *PromotionStepRetry) XXX_Unmarshal(b []byte) error

type PromotionStepStatus

type PromotionStepStatus string
const (
	// PromotionStepStatusRunning denotes a PromotionStep that is currently
	// "running." This does not necessarily indicate that the step is ACTIVELY
	// running, but rather that it has not yet completed. It may, for instance, be
	// waiting on some external event to occur and will check again on the next
	// reconciliation attempt.
	PromotionStepStatusRunning PromotionStepStatus = "Running"
	// PromotionStepStatusSucceeded denotes a PromotionStep that has completed
	// successfully.
	PromotionStepStatusSucceeded PromotionStepStatus = "Succeeded"
	// PromotionStepStatusFailed denotes a PromotionStep that has failed, usually
	// for non-technical reasons.
	PromotionStepStatusFailed PromotionStepStatus = "Failed"
	// PromotionStepStatusErrored denotes a Promotion that has failed for technical
	// reasons. Further information about the failure can be found in the
	// Promotion's status.
	PromotionStepStatusErrored PromotionStepStatus = "Errored"
	// PromotionStepStatusAborted denotes a PromotionStep that was aborted because
	// the Promotion to which it belongs was aborted.
	PromotionStepStatusAborted PromotionStepStatus = "Aborted"
	// PromotionStepStatusSkipped denotes a PromotionStep that was skipped for any
	// reason and immediately yielded execution to the next PromotionStep.
	PromotionStepStatusSkipped PromotionStepStatus = "Skipped"
)

func (PromotionStepStatus) Compare

func (s PromotionStepStatus) Compare(other PromotionStepStatus) int

Compare compares the severity of the current PromotionStepStatus with another. It returns -1 if the current status is less severe than the other, 0 if the two statuses are equally severe, or 1 if the current status is more severe than the other.

type PromotionTask

type PromotionTask struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec describes the composition of a PromotionTask, including the
	// variables available to the task and the steps.
	//
	// +kubebuilder:validation:Required
	Spec PromotionTaskSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
}

func (*PromotionTask) DeepCopy

func (in *PromotionTask) DeepCopy() *PromotionTask

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

func (*PromotionTask) DeepCopyInto

func (in *PromotionTask) DeepCopyInto(out *PromotionTask)

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

func (*PromotionTask) DeepCopyObject

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

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

func (*PromotionTask) Descriptor

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

func (*PromotionTask) Marshal

func (m *PromotionTask) Marshal() (dAtA []byte, err error)

func (*PromotionTask) MarshalTo

func (m *PromotionTask) MarshalTo(dAtA []byte) (int, error)

func (*PromotionTask) MarshalToSizedBuffer

func (m *PromotionTask) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionTask) ProtoMessage

func (*PromotionTask) ProtoMessage()

func (*PromotionTask) Reset

func (m *PromotionTask) Reset()

func (*PromotionTask) Size

func (m *PromotionTask) Size() (n int)

func (*PromotionTask) String

func (this *PromotionTask) String() string

func (*PromotionTask) Unmarshal

func (m *PromotionTask) Unmarshal(dAtA []byte) error

func (*PromotionTask) XXX_DiscardUnknown

func (m *PromotionTask) XXX_DiscardUnknown()

func (*PromotionTask) XXX_Marshal

func (m *PromotionTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionTask) XXX_Merge

func (m *PromotionTask) XXX_Merge(src proto.Message)

func (*PromotionTask) XXX_Size

func (m *PromotionTask) XXX_Size() int

func (*PromotionTask) XXX_Unmarshal

func (m *PromotionTask) XXX_Unmarshal(b []byte) error

type PromotionTaskList

type PromotionTaskList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []PromotionTask `json:"items" protobuf:"bytes,2,rep,name=items"`
}

PromotionTaskList contains a list of PromotionTasks.

func (*PromotionTaskList) DeepCopy

func (in *PromotionTaskList) DeepCopy() *PromotionTaskList

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

func (*PromotionTaskList) DeepCopyInto

func (in *PromotionTaskList) DeepCopyInto(out *PromotionTaskList)

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

func (*PromotionTaskList) DeepCopyObject

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

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

func (*PromotionTaskList) Descriptor

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

func (*PromotionTaskList) Marshal

func (m *PromotionTaskList) Marshal() (dAtA []byte, err error)

func (*PromotionTaskList) MarshalTo

func (m *PromotionTaskList) MarshalTo(dAtA []byte) (int, error)

func (*PromotionTaskList) MarshalToSizedBuffer

func (m *PromotionTaskList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionTaskList) ProtoMessage

func (*PromotionTaskList) ProtoMessage()

func (*PromotionTaskList) Reset

func (m *PromotionTaskList) Reset()

func (*PromotionTaskList) Size

func (m *PromotionTaskList) Size() (n int)

func (*PromotionTaskList) String

func (this *PromotionTaskList) String() string

func (*PromotionTaskList) Unmarshal

func (m *PromotionTaskList) Unmarshal(dAtA []byte) error

func (*PromotionTaskList) XXX_DiscardUnknown

func (m *PromotionTaskList) XXX_DiscardUnknown()

func (*PromotionTaskList) XXX_Marshal

func (m *PromotionTaskList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionTaskList) XXX_Merge

func (m *PromotionTaskList) XXX_Merge(src proto.Message)

func (*PromotionTaskList) XXX_Size

func (m *PromotionTaskList) XXX_Size() int

func (*PromotionTaskList) XXX_Unmarshal

func (m *PromotionTaskList) XXX_Unmarshal(b []byte) error

type PromotionTaskReference

type PromotionTaskReference struct {
	// Name is the name of the (Cluster)PromotionTask.
	//
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=253
	// +kubebuilder:validation:Pattern=`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
	// +akuity:test-kubebuilder-pattern=KubernetesName
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// Kind is the type of the PromotionTask. Can be either PromotionTask or
	// ClusterPromotionTask, default is PromotionTask.
	//
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum=PromotionTask;ClusterPromotionTask
	Kind string `json:"kind,omitempty" protobuf:"bytes,2,opt,name=kind"`
}

PromotionTaskReference describes a reference to a PromotionTask.

func (*PromotionTaskReference) DeepCopy

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

func (*PromotionTaskReference) DeepCopyInto

func (in *PromotionTaskReference) DeepCopyInto(out *PromotionTaskReference)

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

func (*PromotionTaskReference) Descriptor

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

func (*PromotionTaskReference) Marshal

func (m *PromotionTaskReference) Marshal() (dAtA []byte, err error)

func (*PromotionTaskReference) MarshalTo

func (m *PromotionTaskReference) MarshalTo(dAtA []byte) (int, error)

func (*PromotionTaskReference) MarshalToSizedBuffer

func (m *PromotionTaskReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionTaskReference) ProtoMessage

func (*PromotionTaskReference) ProtoMessage()

func (*PromotionTaskReference) Reset

func (m *PromotionTaskReference) Reset()

func (*PromotionTaskReference) Size

func (m *PromotionTaskReference) Size() (n int)

func (*PromotionTaskReference) String

func (this *PromotionTaskReference) String() string

func (*PromotionTaskReference) Unmarshal

func (m *PromotionTaskReference) Unmarshal(dAtA []byte) error

func (*PromotionTaskReference) XXX_DiscardUnknown

func (m *PromotionTaskReference) XXX_DiscardUnknown()

func (*PromotionTaskReference) XXX_Marshal

func (m *PromotionTaskReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionTaskReference) XXX_Merge

func (m *PromotionTaskReference) XXX_Merge(src proto.Message)

func (*PromotionTaskReference) XXX_Size

func (m *PromotionTaskReference) XXX_Size() int

func (*PromotionTaskReference) XXX_Unmarshal

func (m *PromotionTaskReference) XXX_Unmarshal(b []byte) error

type PromotionTaskSpec

type PromotionTaskSpec struct {
	// Vars specifies the variables available to the PromotionTask. The
	// values of these variables are the default values that can be
	// overridden by the step referencing the task.
	Vars []ExpressionVariable `json:"vars,omitempty" protobuf:"bytes,1,rep,name=vars"`
	// Steps specifies the directives to be executed as part of this
	// PromotionTask. The steps as defined here are inflated into a
	// Promotion when it is built from a PromotionTemplate.
	//
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:items:XValidation:message="PromotionTask step must have uses set and must not reference another task",rule="has(self.uses) && !has(self.task)"
	Steps []PromotionStep `json:"steps" protobuf:"bytes,2,rep,name=steps"`
}

func (*PromotionTaskSpec) DeepCopy

func (in *PromotionTaskSpec) DeepCopy() *PromotionTaskSpec

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

func (*PromotionTaskSpec) DeepCopyInto

func (in *PromotionTaskSpec) DeepCopyInto(out *PromotionTaskSpec)

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

func (*PromotionTaskSpec) Descriptor

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

func (*PromotionTaskSpec) Marshal

func (m *PromotionTaskSpec) Marshal() (dAtA []byte, err error)

func (*PromotionTaskSpec) MarshalTo

func (m *PromotionTaskSpec) MarshalTo(dAtA []byte) (int, error)

func (*PromotionTaskSpec) MarshalToSizedBuffer

func (m *PromotionTaskSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionTaskSpec) ProtoMessage

func (*PromotionTaskSpec) ProtoMessage()

func (*PromotionTaskSpec) Reset

func (m *PromotionTaskSpec) Reset()

func (*PromotionTaskSpec) Size

func (m *PromotionTaskSpec) Size() (n int)

func (*PromotionTaskSpec) String

func (this *PromotionTaskSpec) String() string

func (*PromotionTaskSpec) Unmarshal

func (m *PromotionTaskSpec) Unmarshal(dAtA []byte) error

func (*PromotionTaskSpec) XXX_DiscardUnknown

func (m *PromotionTaskSpec) XXX_DiscardUnknown()

func (*PromotionTaskSpec) XXX_Marshal

func (m *PromotionTaskSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionTaskSpec) XXX_Merge

func (m *PromotionTaskSpec) XXX_Merge(src proto.Message)

func (*PromotionTaskSpec) XXX_Size

func (m *PromotionTaskSpec) XXX_Size() int

func (*PromotionTaskSpec) XXX_Unmarshal

func (m *PromotionTaskSpec) XXX_Unmarshal(b []byte) error

type PromotionTemplate

type PromotionTemplate struct {
	Spec PromotionTemplateSpec `json:"spec" protobuf:"bytes,1,opt,name=spec"`
}

PromotionTemplate defines a template for a Promotion that can be used to incorporate Freight into a Stage.

func (*PromotionTemplate) DeepCopy

func (in *PromotionTemplate) DeepCopy() *PromotionTemplate

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

func (*PromotionTemplate) DeepCopyInto

func (in *PromotionTemplate) DeepCopyInto(out *PromotionTemplate)

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

func (*PromotionTemplate) Descriptor

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

func (*PromotionTemplate) Marshal

func (m *PromotionTemplate) Marshal() (dAtA []byte, err error)

func (*PromotionTemplate) MarshalTo

func (m *PromotionTemplate) MarshalTo(dAtA []byte) (int, error)

func (*PromotionTemplate) MarshalToSizedBuffer

func (m *PromotionTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionTemplate) ProtoMessage

func (*PromotionTemplate) ProtoMessage()

func (*PromotionTemplate) Reset

func (m *PromotionTemplate) Reset()

func (*PromotionTemplate) Size

func (m *PromotionTemplate) Size() (n int)

func (*PromotionTemplate) String

func (this *PromotionTemplate) String() string

func (*PromotionTemplate) Unmarshal

func (m *PromotionTemplate) Unmarshal(dAtA []byte) error

func (*PromotionTemplate) XXX_DiscardUnknown

func (m *PromotionTemplate) XXX_DiscardUnknown()

func (*PromotionTemplate) XXX_Marshal

func (m *PromotionTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionTemplate) XXX_Merge

func (m *PromotionTemplate) XXX_Merge(src proto.Message)

func (*PromotionTemplate) XXX_Size

func (m *PromotionTemplate) XXX_Size() int

func (*PromotionTemplate) XXX_Unmarshal

func (m *PromotionTemplate) XXX_Unmarshal(b []byte) error

type PromotionTemplateSpec

type PromotionTemplateSpec struct {
	// Vars is a list of variables that can be referenced by expressions in
	// promotion steps.
	Vars []ExpressionVariable `json:"vars,omitempty" protobuf:"bytes,2,rep,name=vars"`
	// Steps specifies the directives to be executed as part of a Promotion.
	// The order in which the directives are executed is the order in which they
	// are listed in this field.
	//
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:items:XValidation:message="PromotionTemplate step must have exactly one of uses or task set",rule="(has(self.uses) ? !has(self.task) : has(self.task))"
	// +kubebuilder:validation:items:XValidation:message="PromotionTemplate step referencing a task cannot set continueOnError",rule="!has(self.task) || !has(self.continueOnError)"
	// +kubebuilder:validation:items:XValidation:message="PromotionTemplate step referencing a task cannot set retry",rule="!has(self.task) || !has(self.retry)"
	Steps []PromotionStep `json:"steps,omitempty" protobuf:"bytes,1,rep,name=steps"`
}

PromotionTemplateSpec describes the (partial) specification of a Promotion for a Stage. This is a template that can be used to create a Promotion for a Stage.

func (*PromotionTemplateSpec) DeepCopy

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

func (*PromotionTemplateSpec) DeepCopyInto

func (in *PromotionTemplateSpec) DeepCopyInto(out *PromotionTemplateSpec)

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

func (*PromotionTemplateSpec) Descriptor

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

func (*PromotionTemplateSpec) Marshal

func (m *PromotionTemplateSpec) Marshal() (dAtA []byte, err error)

func (*PromotionTemplateSpec) MarshalTo

func (m *PromotionTemplateSpec) MarshalTo(dAtA []byte) (int, error)

func (*PromotionTemplateSpec) MarshalToSizedBuffer

func (m *PromotionTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PromotionTemplateSpec) ProtoMessage

func (*PromotionTemplateSpec) ProtoMessage()

func (*PromotionTemplateSpec) Reset

func (m *PromotionTemplateSpec) Reset()

func (*PromotionTemplateSpec) Size

func (m *PromotionTemplateSpec) Size() (n int)

func (*PromotionTemplateSpec) String

func (this *PromotionTemplateSpec) String() string

func (*PromotionTemplateSpec) Unmarshal

func (m *PromotionTemplateSpec) Unmarshal(dAtA []byte) error

func (*PromotionTemplateSpec) XXX_DiscardUnknown

func (m *PromotionTemplateSpec) XXX_DiscardUnknown()

func (*PromotionTemplateSpec) XXX_Marshal

func (m *PromotionTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PromotionTemplateSpec) XXX_Merge

func (m *PromotionTemplateSpec) XXX_Merge(src proto.Message)

func (*PromotionTemplateSpec) XXX_Size

func (m *PromotionTemplateSpec) XXX_Size() int

func (*PromotionTemplateSpec) XXX_Unmarshal

func (m *PromotionTemplateSpec) XXX_Unmarshal(b []byte) error

type QuayWebhookReceiverConfig

type QuayWebhookReceiverConfig struct {
	// SecretRef contains a reference to a Secret. For Project-scoped webhook
	// receivers, the referenced Secret must be in the same namespace as the
	// ProjectConfig.
	//
	// For cluster-scoped webhook receivers, the referenced Secret must be in the
	// designated "cluster Secrets" namespace.
	//
	// The Secret's data map is expected to contain a `secret` key whose value
	// does NOT need to be shared directly with Quay when registering a
	// webhook. It is used only by Kargo to create a complex, hard-to-guess URL,
	// which implicitly serves as a shared secret. For more information about
	// Quay webhooks, please refer to the Quay documentation:
	//   https://docs.quay.io/guides/notifications.html
	//
	// +kubebuilder:validation:Required
	SecretRef corev1.LocalObjectReference `json:"secretRef" protobuf:"bytes,1,opt,name=secretRef"`
}

QuayWebhookReceiverConfig describes a webhook receiver that is compatible with Quay.io payloads.

func (*QuayWebhookReceiverConfig) DeepCopy

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

func (*QuayWebhookReceiverConfig) DeepCopyInto

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

func (*QuayWebhookReceiverConfig) Descriptor

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

func (*QuayWebhookReceiverConfig) Marshal

func (m *QuayWebhookReceiverConfig) Marshal() (dAtA []byte, err error)

func (*QuayWebhookReceiverConfig) MarshalTo

func (m *QuayWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)

func (*QuayWebhookReceiverConfig) MarshalToSizedBuffer

func (m *QuayWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuayWebhookReceiverConfig) ProtoMessage

func (*QuayWebhookReceiverConfig) ProtoMessage()

func (*QuayWebhookReceiverConfig) Reset

func (m *QuayWebhookReceiverConfig) Reset()

func (*QuayWebhookReceiverConfig) Size

func (m *QuayWebhookReceiverConfig) Size() (n int)

func (*QuayWebhookReceiverConfig) String

func (this *QuayWebhookReceiverConfig) String() string

func (*QuayWebhookReceiverConfig) Unmarshal

func (m *QuayWebhookReceiverConfig) Unmarshal(dAtA []byte) error

func (*QuayWebhookReceiverConfig) XXX_DiscardUnknown

func (m *QuayWebhookReceiverConfig) XXX_DiscardUnknown()

func (*QuayWebhookReceiverConfig) XXX_Marshal

func (m *QuayWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuayWebhookReceiverConfig) XXX_Merge

func (m *QuayWebhookReceiverConfig) XXX_Merge(src proto.Message)

func (*QuayWebhookReceiverConfig) XXX_Size

func (m *QuayWebhookReceiverConfig) XXX_Size() int

func (*QuayWebhookReceiverConfig) XXX_Unmarshal

func (m *QuayWebhookReceiverConfig) XXX_Unmarshal(b []byte) error

type RepoSubscription

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

func (in *RepoSubscription) DeepCopy() *RepoSubscription

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

func (*RepoSubscription) DeepCopyInto

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

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

func (*RepoSubscription) Marshal

func (m *RepoSubscription) Marshal() (dAtA []byte, err error)

func (*RepoSubscription) MarshalTo

func (m *RepoSubscription) MarshalTo(dAtA []byte) (int, error)

func (*RepoSubscription) MarshalToSizedBuffer

func (m *RepoSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RepoSubscription) ProtoMessage

func (*RepoSubscription) ProtoMessage()

func (*RepoSubscription) Reset

func (m *RepoSubscription) Reset()

func (*RepoSubscription) Size

func (m *RepoSubscription) Size() (n int)

func (*RepoSubscription) String

func (this *RepoSubscription) String() string

func (*RepoSubscription) Unmarshal

func (m *RepoSubscription) Unmarshal(dAtA []byte) error

func (*RepoSubscription) XXX_DiscardUnknown

func (m *RepoSubscription) XXX_DiscardUnknown()

func (*RepoSubscription) XXX_Marshal

func (m *RepoSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoSubscription) XXX_Merge

func (m *RepoSubscription) XXX_Merge(src proto.Message)

func (*RepoSubscription) XXX_Size

func (m *RepoSubscription) XXX_Size() int

func (*RepoSubscription) XXX_Unmarshal

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 (*Stage) DeepCopy

func (in *Stage) DeepCopy() *Stage

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

func (*Stage) DeepCopyInto

func (in *Stage) DeepCopyInto(out *Stage)

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

func (*Stage) DeepCopyObject

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

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

func (*Stage) Descriptor

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

func (*Stage) GetStatus

func (s *Stage) GetStatus() *StageStatus

func (*Stage) IsControlFlow

func (s *Stage) IsControlFlow() bool

IsControlFlow returns true if the Stage is a control flow Stage. A control flow Stage is one that does not incorporate Freight into itself, but rather orchestrates the promotion of Freight from one or more upstream Stages to one or more downstream Stages.

func (*Stage) IsFreightAvailable

func (s *Stage) IsFreightAvailable(freight *Freight) bool

IsFreightAvailable answers whether the specified Freight is available to the Stage.

func (*Stage) Marshal

func (m *Stage) Marshal() (dAtA []byte, err error)

func (*Stage) MarshalTo

func (m *Stage) MarshalTo(dAtA []byte) (int, error)

func (*Stage) MarshalToSizedBuffer

func (m *Stage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Stage) ProtoMessage

func (*Stage) ProtoMessage()

func (*Stage) Reset

func (m *Stage) Reset()

func (*Stage) Size

func (m *Stage) Size() (n int)

func (*Stage) String

func (this *Stage) String() string

func (*Stage) Unmarshal

func (m *Stage) Unmarshal(dAtA []byte) error

func (*Stage) XXX_DiscardUnknown

func (m *Stage) XXX_DiscardUnknown()

func (*Stage) XXX_Marshal

func (m *Stage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Stage) XXX_Merge

func (m *Stage) XXX_Merge(src proto.Message)

func (*Stage) XXX_Size

func (m *Stage) XXX_Size() int

func (*Stage) XXX_Unmarshal

func (m *Stage) XXX_Unmarshal(b []byte) error

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

func (in *StageList) DeepCopy() *StageList

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

func (*StageList) DeepCopyInto

func (in *StageList) DeepCopyInto(out *StageList)

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

func (*StageList) DeepCopyObject

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

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

func (*StageList) Descriptor

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

func (*StageList) Marshal

func (m *StageList) Marshal() (dAtA []byte, err error)

func (*StageList) MarshalTo

func (m *StageList) MarshalTo(dAtA []byte) (int, error)

func (*StageList) MarshalToSizedBuffer

func (m *StageList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StageList) ProtoMessage

func (*StageList) ProtoMessage()

func (*StageList) Reset

func (m *StageList) Reset()

func (*StageList) Size

func (m *StageList) Size() (n int)

func (*StageList) String

func (this *StageList) String() string

func (*StageList) Unmarshal

func (m *StageList) Unmarshal(dAtA []byte) error

func (*StageList) XXX_DiscardUnknown

func (m *StageList) XXX_DiscardUnknown()

func (*StageList) XXX_Marshal

func (m *StageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StageList) XXX_Merge

func (m *StageList) XXX_Merge(src proto.Message)

func (*StageList) XXX_Size

func (m *StageList) XXX_Size() int

func (*StageList) XXX_Unmarshal

func (m *StageList) XXX_Unmarshal(b []byte) error

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"`
	// Vars is a list of variables that can be referenced anywhere in the
	// StageSpec that supports expressions. For example, the PromotionTemplate
	// and arguments of the Verification.
	Vars []ExpressionVariable `json:"vars,omitempty" protobuf:"bytes,7,rep,name=vars"`
	// RequestedFreight expresses the Stage's need for certain pieces of Freight,
	// each having originated from a particular Warehouse. This list must be
	// non-empty. In the common case, a Stage will request Freight having
	// originated from just one specific Warehouse. In advanced cases, requesting
	// Freight from multiple Warehouses provides a method of advancing new
	// artifacts of different types through parallel pipelines at different
	// speeds. This can be useful, for instance, if a Stage is home to multiple
	// microservices that are independently versioned.
	//
	// +kubebuilder:validation:MinItems=1
	RequestedFreight []FreightRequest `json:"requestedFreight" protobuf:"bytes,5,rep,name=requestedFreight"`
	// PromotionTemplate describes how to incorporate Freight into the Stage
	// using a Promotion.
	PromotionTemplate *PromotionTemplate `json:"promotionTemplate,omitempty" protobuf:"bytes,6,opt,name=promotionTemplate"`
	// 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

func (in *StageSpec) DeepCopy() *StageSpec

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

func (*StageSpec) DeepCopyInto

func (in *StageSpec) DeepCopyInto(out *StageSpec)

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

func (*StageSpec) Descriptor

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

func (*StageSpec) Marshal

func (m *StageSpec) Marshal() (dAtA []byte, err error)

func (*StageSpec) MarshalTo

func (m *StageSpec) MarshalTo(dAtA []byte) (int, error)

func (*StageSpec) MarshalToSizedBuffer

func (m *StageSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StageSpec) ProtoMessage

func (*StageSpec) ProtoMessage()

func (*StageSpec) Reset

func (m *StageSpec) Reset()

func (*StageSpec) Size

func (m *StageSpec) Size() (n int)

func (*StageSpec) String

func (this *StageSpec) String() string

func (*StageSpec) Unmarshal

func (m *StageSpec) Unmarshal(dAtA []byte) error

func (*StageSpec) XXX_DiscardUnknown

func (m *StageSpec) XXX_DiscardUnknown()

func (*StageSpec) XXX_Marshal

func (m *StageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StageSpec) XXX_Merge

func (m *StageSpec) XXX_Merge(src proto.Message)

func (*StageSpec) XXX_Size

func (m *StageSpec) XXX_Size() int

func (*StageSpec) XXX_Unmarshal

func (m *StageSpec) XXX_Unmarshal(b []byte) error

type StageStats

type StageStats struct {
	// Count contains the total number of Stages in the Project.
	Count int64 `json:"count,omitempty" protobuf:"varint,2,opt,name=count"`
	// Health contains a summary of the collective health of a Project's Stages.
	Health HealthStats `json:"health,omitempty" protobuf:"bytes,1,opt,name=health"`
}

StageStats contains a summary of the collective state of a Project's Stages.

func (*StageStats) DeepCopy

func (in *StageStats) DeepCopy() *StageStats

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

func (*StageStats) DeepCopyInto

func (in *StageStats) DeepCopyInto(out *StageStats)

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

func (*StageStats) Descriptor

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

func (*StageStats) Marshal

func (m *StageStats) Marshal() (dAtA []byte, err error)

func (*StageStats) MarshalTo

func (m *StageStats) MarshalTo(dAtA []byte) (int, error)

func (*StageStats) MarshalToSizedBuffer

func (m *StageStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StageStats) ProtoMessage

func (*StageStats) ProtoMessage()

func (*StageStats) Reset

func (m *StageStats) Reset()

func (*StageStats) Size

func (m *StageStats) Size() (n int)

func (*StageStats) String

func (this *StageStats) String() string

func (*StageStats) Unmarshal

func (m *StageStats) Unmarshal(dAtA []byte) error

func (*StageStats) XXX_DiscardUnknown

func (m *StageStats) XXX_DiscardUnknown()

func (*StageStats) XXX_Marshal

func (m *StageStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StageStats) XXX_Merge

func (m *StageStats) XXX_Merge(src proto.Message)

func (*StageStats) XXX_Size

func (m *StageStats) XXX_Size() int

func (*StageStats) XXX_Unmarshal

func (m *StageStats) XXX_Unmarshal(b []byte) error

type StageStatus

type StageStatus struct {
	// Conditions contains the last observations of the Stage's current
	// state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchMergeKey:"type" patchStrategy:"merge" protobuf:"bytes,13,rep,name=conditions"`
	// 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"`
	// FreightHistory is a list of recent Freight selections that were deployed
	// to the Stage. By default, the last ten Freight selections are stored.
	// The first item in the list is the most recent Freight selection and
	// currently deployed to the Stage, subsequent items are older selections.
	FreightHistory FreightHistory `` /* 148-byte string literal not displayed */
	// FreightSummary is human-readable text maintained by the controller that
	// summarizes what Freight is currently deployed to the Stage. For Stages that
	// request a single piece of Freight AND the request has been fulfilled, this
	// field will simply contain the name of the Freight. For Stages that request
	// a single piece of Freight AND the request has NOT been fulfilled, or for
	// Stages that request multiple pieces of Freight, this field will contain a
	// summary of fulfilled/requested Freight. The existence of this field is a
	// workaround for kubectl limitations so that this complex but valuable
	// information can be displayed in a column in response to `kubectl get
	// stages`.
	FreightSummary string `json:"freightSummary,omitempty" protobuf:"bytes,12,opt,name=freightSummary"`
	// Health is the Stage's last observed health.
	Health *Health `json:"health,omitempty" protobuf:"bytes,8,opt,name=health"`
	// 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 *PromotionReference `json:"currentPromotion,omitempty" protobuf:"bytes,7,opt,name=currentPromotion"`
	// LastPromotion is a reference to the last completed promotion.
	LastPromotion *PromotionReference `json:"lastPromotion,omitempty" protobuf:"bytes,10,opt,name=lastPromotion"`
	// AutoPromotionEnabled indicates whether automatic promotion is enabled
	// for the Stage based on the ProjectConfig.
	AutoPromotionEnabled bool `json:"autoPromotionEnabled,omitempty" protobuf:"varint,14,opt,name=autoPromotionEnabled"`
}

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

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

func (*StageStatus) GetConditions

func (w *StageStatus) GetConditions() []metav1.Condition

GetConditions implements the conditions.Getter interface.

func (*StageStatus) Marshal

func (m *StageStatus) Marshal() (dAtA []byte, err error)

func (*StageStatus) MarshalTo

func (m *StageStatus) MarshalTo(dAtA []byte) (int, error)

func (*StageStatus) MarshalToSizedBuffer

func (m *StageStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StageStatus) ProtoMessage

func (*StageStatus) ProtoMessage()

func (*StageStatus) Reset

func (m *StageStatus) Reset()

func (*StageStatus) SetConditions

func (w *StageStatus) SetConditions(conditions []metav1.Condition)

SetConditions implements the conditions.Setter interface.

func (*StageStatus) Size

func (m *StageStatus) Size() (n int)

func (*StageStatus) String

func (this *StageStatus) String() string

func (*StageStatus) Unmarshal

func (m *StageStatus) Unmarshal(dAtA []byte) error

func (*StageStatus) XXX_DiscardUnknown

func (m *StageStatus) XXX_DiscardUnknown()

func (*StageStatus) XXX_Marshal

func (m *StageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StageStatus) XXX_Merge

func (m *StageStatus) XXX_Merge(src proto.Message)

func (*StageStatus) XXX_Size

func (m *StageStatus) XXX_Size() int

func (*StageStatus) XXX_Unmarshal

func (m *StageStatus) XXX_Unmarshal(b []byte) error

type StepExecutionMetadata

type StepExecutionMetadata struct {
	// Alias is the alias of the step.
	Alias string `json:"alias,omitempty" protobuf:"bytes,1,opt,name=alias"`
	// StartedAt is the time at which the first attempt to execute the step
	// began.
	StartedAt *metav1.Time `json:"startedAt,omitempty" protobuf:"bytes,2,opt,name=startedAt"`
	// FinishedAt is the time at which the final attempt to execute the step
	// completed.
	FinishedAt *metav1.Time `json:"finishedAt,omitempty" protobuf:"bytes,3,opt,name=finishedAt"`
	// ErrorCount tracks consecutive failed attempts to execute the step.
	ErrorCount uint32 `json:"errorCount,omitempty" protobuf:"varint,4,opt,name=errorCount"`
	// Status is the high-level outcome of the step.
	Status PromotionStepStatus `json:"status,omitempty" protobuf:"bytes,5,opt,name=status"`
	// Message is a display message about the step, including any errors.
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
	// ContinueOnError is a boolean value that, if set to true, will cause the
	// Promotion to continue executing the next step even if this step fails. It
	// also will not permit this failure to impact the overall status of the
	// Promotion.
	ContinueOnError bool `json:"continueOnError,omitempty" protobuf:"varint,7,opt,name=continueOnError"`
}

StepExecutionMetadata tracks metadata pertaining to the execution of a promotion step.

func (*StepExecutionMetadata) DeepCopy

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

func (*StepExecutionMetadata) DeepCopyInto

func (in *StepExecutionMetadata) DeepCopyInto(out *StepExecutionMetadata)

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

func (*StepExecutionMetadata) Descriptor

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

func (*StepExecutionMetadata) Marshal

func (m *StepExecutionMetadata) Marshal() (dAtA []byte, err error)

func (*StepExecutionMetadata) MarshalTo

func (m *StepExecutionMetadata) MarshalTo(dAtA []byte) (int, error)

func (*StepExecutionMetadata) MarshalToSizedBuffer

func (m *StepExecutionMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StepExecutionMetadata) ProtoMessage

func (*StepExecutionMetadata) ProtoMessage()

func (*StepExecutionMetadata) Reset

func (m *StepExecutionMetadata) Reset()

func (*StepExecutionMetadata) Size

func (m *StepExecutionMetadata) Size() (n int)

func (*StepExecutionMetadata) String

func (this *StepExecutionMetadata) String() string

func (*StepExecutionMetadata) Unmarshal

func (m *StepExecutionMetadata) Unmarshal(dAtA []byte) error

func (*StepExecutionMetadata) XXX_DiscardUnknown

func (m *StepExecutionMetadata) XXX_DiscardUnknown()

func (*StepExecutionMetadata) XXX_Marshal

func (m *StepExecutionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StepExecutionMetadata) XXX_Merge

func (m *StepExecutionMetadata) XXX_Merge(src proto.Message)

func (*StepExecutionMetadata) XXX_Size

func (m *StepExecutionMetadata) XXX_Size() int

func (*StepExecutionMetadata) XXX_Unmarshal

func (m *StepExecutionMetadata) XXX_Unmarshal(b []byte) error

type StepExecutionMetadataList

type StepExecutionMetadataList []StepExecutionMetadata

StepExecutionMetadataList is a list of StepExecutionMetadata.

func (StepExecutionMetadataList) DeepCopy

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

func (StepExecutionMetadataList) DeepCopyInto

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

func (StepExecutionMetadataList) HasFailures

func (s StepExecutionMetadataList) HasFailures() bool

HasFailures returns true if any of the StepExecutionMetadata in the list have a status of PromotionStepStatusErrored or PromotionStepStatusFailed.

type Verification

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

func (in *Verification) DeepCopy() *Verification

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

func (*Verification) DeepCopyInto

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

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

func (*Verification) Marshal

func (m *Verification) Marshal() (dAtA []byte, err error)

func (*Verification) MarshalTo

func (m *Verification) MarshalTo(dAtA []byte) (int, error)

func (*Verification) MarshalToSizedBuffer

func (m *Verification) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Verification) ProtoMessage

func (*Verification) ProtoMessage()

func (*Verification) Reset

func (m *Verification) Reset()

func (*Verification) Size

func (m *Verification) Size() (n int)

func (*Verification) String

func (this *Verification) String() string

func (*Verification) Unmarshal

func (m *Verification) Unmarshal(dAtA []byte) error

func (*Verification) XXX_DiscardUnknown

func (m *Verification) XXX_DiscardUnknown()

func (*Verification) XXX_Marshal

func (m *Verification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Verification) XXX_Merge

func (m *Verification) XXX_Merge(src proto.Message)

func (*Verification) XXX_Size

func (m *Verification) XXX_Size() int

func (*Verification) XXX_Unmarshal

func (m *Verification) XXX_Unmarshal(b []byte) error

type VerificationInfo

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 the details of an instance of a Verification process.

func (*VerificationInfo) DeepCopy

func (in *VerificationInfo) DeepCopy() *VerificationInfo

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

func (*VerificationInfo) DeepCopyInto

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

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

func (*VerificationInfo) HasAnalysisRun

func (v *VerificationInfo) HasAnalysisRun() bool

HasAnalysisRun returns a bool indicating whether the VerificationInfo has an associated AnalysisRun.

func (*VerificationInfo) Marshal

func (m *VerificationInfo) Marshal() (dAtA []byte, err error)

func (*VerificationInfo) MarshalTo

func (m *VerificationInfo) MarshalTo(dAtA []byte) (int, error)

func (*VerificationInfo) MarshalToSizedBuffer

func (m *VerificationInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerificationInfo) ProtoMessage

func (*VerificationInfo) ProtoMessage()

func (*VerificationInfo) Reset

func (m *VerificationInfo) Reset()

func (*VerificationInfo) Size

func (m *VerificationInfo) Size() (n int)

func (*VerificationInfo) String

func (this *VerificationInfo) String() string

func (*VerificationInfo) Unmarshal

func (m *VerificationInfo) Unmarshal(dAtA []byte) error

func (*VerificationInfo) XXX_DiscardUnknown

func (m *VerificationInfo) XXX_DiscardUnknown()

func (*VerificationInfo) XXX_Marshal

func (m *VerificationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerificationInfo) XXX_Merge

func (m *VerificationInfo) XXX_Merge(src proto.Message)

func (*VerificationInfo) XXX_Size

func (m *VerificationInfo) XXX_Size() int

func (*VerificationInfo) XXX_Unmarshal

func (m *VerificationInfo) XXX_Unmarshal(b []byte) error

type VerificationInfoStack

type VerificationInfoStack []VerificationInfo

func (*VerificationInfoStack) Current

Current returns the VerificationInfo at the top of the stack.

func (VerificationInfoStack) DeepCopy

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

func (VerificationInfoStack) DeepCopyInto

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

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

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

func (v *VerificationPhase) IsTerminal() bool

IsTerminal returns true if the VerificationPhase is a terminal one.

type VerificationRequest

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 (*VerificationRequest) Equals

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

func (r *VerificationRequest) ForID(id string) bool

ForID returns true if the VerificationRequest has the specified ID.

func (*VerificationRequest) HasID

func (r *VerificationRequest) HasID() bool

HasID returns true if the VerificationRequest has a non-empty ID.

func (*VerificationRequest) String

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

type VerifiedStage struct {
	// VerifiedAt is the time at which the Freight was verified in the Stage.
	VerifiedAt *metav1.Time `json:"verifiedAt,omitempty" protobuf:"bytes,1,opt,name=verifiedAt"`
	// LongestCompletedSoak represents the longest definite time interval wherein
	// the Freight was in CONTINUOUS use by the Stage. This value is updated as
	// Freight EXITS the Stage. If the Freight is currently in use by the Stage,
	// the time elapsed since the Freight ENTERED the Stage is its current soak
	// time, which may exceed the value of this field.
	LongestCompletedSoak *metav1.Duration `json:"longestSoak,omitempty" protobuf:"bytes,2,opt,name=longestSoak"`
}

VerifiedStage describes a Stage in which Freight has been verified.

func (*VerifiedStage) DeepCopy

func (in *VerifiedStage) DeepCopy() *VerifiedStage

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

func (*VerifiedStage) DeepCopyInto

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

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

func (*VerifiedStage) Marshal

func (m *VerifiedStage) Marshal() (dAtA []byte, err error)

func (*VerifiedStage) MarshalTo

func (m *VerifiedStage) MarshalTo(dAtA []byte) (int, error)

func (*VerifiedStage) MarshalToSizedBuffer

func (m *VerifiedStage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifiedStage) ProtoMessage

func (*VerifiedStage) ProtoMessage()

func (*VerifiedStage) Reset

func (m *VerifiedStage) Reset()

func (*VerifiedStage) Size

func (m *VerifiedStage) Size() (n int)

func (*VerifiedStage) String

func (this *VerifiedStage) String() string

func (*VerifiedStage) Unmarshal

func (m *VerifiedStage) Unmarshal(dAtA []byte) error

func (*VerifiedStage) XXX_DiscardUnknown

func (m *VerifiedStage) XXX_DiscardUnknown()

func (*VerifiedStage) XXX_Marshal

func (m *VerifiedStage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifiedStage) XXX_Merge

func (m *VerifiedStage) XXX_Merge(src proto.Message)

func (*VerifiedStage) XXX_Size

func (m *VerifiedStage) XXX_Size() int

func (*VerifiedStage) XXX_Unmarshal

func (m *VerifiedStage) XXX_Unmarshal(b []byte) error

type Warehouse

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 (*Warehouse) DeepCopy

func (in *Warehouse) DeepCopy() *Warehouse

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

func (*Warehouse) DeepCopyInto

func (in *Warehouse) DeepCopyInto(out *Warehouse)

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

func (*Warehouse) DeepCopyObject

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

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

func (*Warehouse) Descriptor

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

func (*Warehouse) GetInterval

func (w *Warehouse) GetInterval(minInterval time.Duration) time.Duration

GetInterval calculates and returns interval time remaining until the next requeue should occur. If the interval has passed, it returns a short duration to ensure the Warehouse is requeued promptly.

func (*Warehouse) GetStatus

func (w *Warehouse) GetStatus() *WarehouseStatus

func (*Warehouse) Marshal

func (m *Warehouse) Marshal() (dAtA []byte, err error)

func (*Warehouse) MarshalTo

func (m *Warehouse) MarshalTo(dAtA []byte) (int, error)

func (*Warehouse) MarshalToSizedBuffer

func (m *Warehouse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Warehouse) ProtoMessage

func (*Warehouse) ProtoMessage()

func (*Warehouse) Reset

func (m *Warehouse) Reset()

func (*Warehouse) Size

func (m *Warehouse) Size() (n int)

func (*Warehouse) String

func (this *Warehouse) String() string

func (*Warehouse) Unmarshal

func (m *Warehouse) Unmarshal(dAtA []byte) error

func (*Warehouse) XXX_DiscardUnknown

func (m *Warehouse) XXX_DiscardUnknown()

func (*Warehouse) XXX_Marshal

func (m *Warehouse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Warehouse) XXX_Merge

func (m *Warehouse) XXX_Merge(src proto.Message)

func (*Warehouse) XXX_Size

func (m *Warehouse) XXX_Size() int

func (*Warehouse) XXX_Unmarshal

func (m *Warehouse) XXX_Unmarshal(b []byte) error

type WarehouseList

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

func (in *WarehouseList) DeepCopy() *WarehouseList

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

func (*WarehouseList) DeepCopyInto

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

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

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

func (*WarehouseList) Descriptor

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

func (*WarehouseList) Marshal

func (m *WarehouseList) Marshal() (dAtA []byte, err error)

func (*WarehouseList) MarshalTo

func (m *WarehouseList) MarshalTo(dAtA []byte) (int, error)

func (*WarehouseList) MarshalToSizedBuffer

func (m *WarehouseList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WarehouseList) ProtoMessage

func (*WarehouseList) ProtoMessage()

func (*WarehouseList) Reset

func (m *WarehouseList) Reset()

func (*WarehouseList) Size

func (m *WarehouseList) Size() (n int)

func (*WarehouseList) String

func (this *WarehouseList) String() string

func (*WarehouseList) Unmarshal

func (m *WarehouseList) Unmarshal(dAtA []byte) error

func (*WarehouseList) XXX_DiscardUnknown

func (m *WarehouseList) XXX_DiscardUnknown()

func (*WarehouseList) XXX_Marshal

func (m *WarehouseList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WarehouseList) XXX_Merge

func (m *WarehouseList) XXX_Merge(src proto.Message)

func (*WarehouseList) XXX_Size

func (m *WarehouseList) XXX_Size() int

func (*WarehouseList) XXX_Unmarshal

func (m *WarehouseList) XXX_Unmarshal(b []byte) error

type WarehouseSpec

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"`
	// Interval is the reconciliation interval for this Warehouse. On each
	// reconciliation, the Warehouse will discover new artifacts and optionally
	// produce new Freight. This field is optional. When left unspecified, the
	// field is implicitly treated as if its value were "5m0s".
	//
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Pattern=`^([0-9]+(\.[0-9]+)?(s|m|h))+$`
	// +kubebuilder:default="5m0s"
	// +akuity:test-kubebuilder-pattern=Duration
	Interval metav1.Duration `json:"interval" protobuf:"bytes,4,opt,name=interval"`
	// FreightCreationPolicy describes how Freight is created by this Warehouse.
	// This field is optional. When left unspecified, the field is implicitly
	// treated as if its value were "Automatic".
	//
	// Accepted values:
	//
	// - "Automatic": New Freight is created automatically when any new artifact
	//   is discovered.
	// - "Manual": New Freight is never created automatically.
	//
	// +kubebuilder:default=Automatic
	// +kubebuilder:validation:Optional
	FreightCreationPolicy FreightCreationPolicy `json:"freightCreationPolicy" protobuf:"bytes,3,opt,name=freightCreationPolicy"`
	// 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

func (in *WarehouseSpec) DeepCopy() *WarehouseSpec

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

func (*WarehouseSpec) DeepCopyInto

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

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

func (*WarehouseSpec) Marshal

func (m *WarehouseSpec) Marshal() (dAtA []byte, err error)

func (*WarehouseSpec) MarshalTo

func (m *WarehouseSpec) MarshalTo(dAtA []byte) (int, error)

func (*WarehouseSpec) MarshalToSizedBuffer

func (m *WarehouseSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WarehouseSpec) ProtoMessage

func (*WarehouseSpec) ProtoMessage()

func (*WarehouseSpec) Reset

func (m *WarehouseSpec) Reset()

func (*WarehouseSpec) Size

func (m *WarehouseSpec) Size() (n int)

func (*WarehouseSpec) String

func (this *WarehouseSpec) String() string

func (*WarehouseSpec) Unmarshal

func (m *WarehouseSpec) Unmarshal(dAtA []byte) error

func (*WarehouseSpec) XXX_DiscardUnknown

func (m *WarehouseSpec) XXX_DiscardUnknown()

func (*WarehouseSpec) XXX_Marshal

func (m *WarehouseSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WarehouseSpec) XXX_Merge

func (m *WarehouseSpec) XXX_Merge(src proto.Message)

func (*WarehouseSpec) XXX_Size

func (m *WarehouseSpec) XXX_Size() int

func (*WarehouseSpec) XXX_Unmarshal

func (m *WarehouseSpec) XXX_Unmarshal(b []byte) error

type WarehouseStats

type WarehouseStats struct {
	// Count contains the total number of Warehouses in the Project.
	Count int64 `json:"count,omitempty" protobuf:"varint,2,opt,name=count"`
	// Health contains a summary of the collective health of a Project's
	// Warehouses.
	Health HealthStats `json:"health,omitempty" protobuf:"bytes,1,opt,name=health"`
}

WarehouseStats contains a summary of the collective state of a Project's Warehouses.

func (*WarehouseStats) DeepCopy

func (in *WarehouseStats) DeepCopy() *WarehouseStats

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

func (*WarehouseStats) DeepCopyInto

func (in *WarehouseStats) DeepCopyInto(out *WarehouseStats)

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

func (*WarehouseStats) Descriptor

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

func (*WarehouseStats) Marshal

func (m *WarehouseStats) Marshal() (dAtA []byte, err error)

func (*WarehouseStats) MarshalTo

func (m *WarehouseStats) MarshalTo(dAtA []byte) (int, error)

func (*WarehouseStats) MarshalToSizedBuffer

func (m *WarehouseStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WarehouseStats) ProtoMessage

func (*WarehouseStats) ProtoMessage()

func (*WarehouseStats) Reset

func (m *WarehouseStats) Reset()

func (*WarehouseStats) Size

func (m *WarehouseStats) Size() (n int)

func (*WarehouseStats) String

func (this *WarehouseStats) String() string

func (*WarehouseStats) Unmarshal

func (m *WarehouseStats) Unmarshal(dAtA []byte) error

func (*WarehouseStats) XXX_DiscardUnknown

func (m *WarehouseStats) XXX_DiscardUnknown()

func (*WarehouseStats) XXX_Marshal

func (m *WarehouseStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WarehouseStats) XXX_Merge

func (m *WarehouseStats) XXX_Merge(src proto.Message)

func (*WarehouseStats) XXX_Size

func (m *WarehouseStats) XXX_Size() int

func (*WarehouseStats) XXX_Unmarshal

func (m *WarehouseStats) XXX_Unmarshal(b []byte) error

type WarehouseStatus

type WarehouseStatus struct {
	// Conditions contains the last observations of the Warehouse's current
	// state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchMergeKey:"type" patchStrategy:"merge" protobuf:"bytes,9,rep,name=conditions"`
	// 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"`
	// ObservedGeneration represents the .metadata.generation that this Warehouse
	// was reconciled against.
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,4,opt,name=observedGeneration"`
	// LastFreightID is a reference to the system-assigned identifier (name) of
	// the most recent Freight produced by the Warehouse.
	LastFreightID string `json:"lastFreightID,omitempty" protobuf:"bytes,8,opt,name=lastFreightID"`
	// DiscoveredArtifacts holds the artifacts discovered by the Warehouse.
	DiscoveredArtifacts *DiscoveredArtifacts `json:"discoveredArtifacts,omitempty" protobuf:"bytes,7,opt,name=discoveredArtifacts"`
}

WarehouseStatus describes a Warehouse's most recently observed state.

func (*WarehouseStatus) DeepCopy

func (in *WarehouseStatus) DeepCopy() *WarehouseStatus

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

func (*WarehouseStatus) DeepCopyInto

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

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

func (*WarehouseStatus) GetConditions

func (w *WarehouseStatus) GetConditions() []metav1.Condition

GetConditions implements the conditions.Getter interface.

func (*WarehouseStatus) Marshal

func (m *WarehouseStatus) Marshal() (dAtA []byte, err error)

func (*WarehouseStatus) MarshalTo

func (m *WarehouseStatus) MarshalTo(dAtA []byte) (int, error)

func (*WarehouseStatus) MarshalToSizedBuffer

func (m *WarehouseStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WarehouseStatus) ProtoMessage

func (*WarehouseStatus) ProtoMessage()

func (*WarehouseStatus) Reset

func (m *WarehouseStatus) Reset()

func (*WarehouseStatus) SetConditions

func (w *WarehouseStatus) SetConditions(conditions []metav1.Condition)

SetConditions implements the conditions.Setter interface.

func (*WarehouseStatus) Size

func (m *WarehouseStatus) Size() (n int)

func (*WarehouseStatus) String

func (this *WarehouseStatus) String() string

func (*WarehouseStatus) Unmarshal

func (m *WarehouseStatus) Unmarshal(dAtA []byte) error

func (*WarehouseStatus) XXX_DiscardUnknown

func (m *WarehouseStatus) XXX_DiscardUnknown()

func (*WarehouseStatus) XXX_Marshal

func (m *WarehouseStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WarehouseStatus) XXX_Merge

func (m *WarehouseStatus) XXX_Merge(src proto.Message)

func (*WarehouseStatus) XXX_Size

func (m *WarehouseStatus) XXX_Size() int

func (*WarehouseStatus) XXX_Unmarshal

func (m *WarehouseStatus) XXX_Unmarshal(b []byte) error

type WebhookReceiverConfig

type WebhookReceiverConfig struct {
	// Name is the name of the webhook receiver.
	//
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=253
	// +kubebuilder:validation:Pattern=`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
	// +akuity:test-kubebuilder-pattern=KubernetesName
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Bitbucket contains the configuration for a webhook receiver that is
	// compatible with Bitbucket payloads.
	Bitbucket *BitbucketWebhookReceiverConfig `json:"bitbucket,omitempty" protobuf:"bytes,5,opt,name=bitbucket"`
	// DockerHub contains the configuration for a webhook receiver that is
	// compatible with DockerHub payloads.
	DockerHub *DockerHubWebhookReceiverConfig `json:"dockerhub,omitempty" protobuf:"bytes,6,opt,name=dockerhub"`
	// GitHub contains the configuration for a webhook receiver that is compatible
	// with GitHub payloads.
	GitHub *GitHubWebhookReceiverConfig `json:"github,omitempty" protobuf:"bytes,2,opt,name=github"`
	// GitLab contains the configuration for a webhook receiver that is compatible
	// with GitLab payloads.
	GitLab *GitLabWebhookReceiverConfig `json:"gitlab,omitempty" protobuf:"bytes,3,opt,name=gitlab"`
	// Harbor contains the configuration for a webhook receiver that is compatible
	// with Harbor payloads.
	Harbor *HarborWebhookReceiverConfig `json:"harbor,omitempty" protobuf:"bytes,10,opt,name=harbor"`
	// Quay contains the configuration for a webhook receiver that is compatible
	// with Quay payloads.
	Quay *QuayWebhookReceiverConfig `json:"quay,omitempty" protobuf:"bytes,4,opt,name=quay"`
	// Artifactory contains the configuration for a webhook receiver that is
	// compatible with JFrog Artifactory payloads.
	Artifactory *ArtifactoryWebhookReceiverConfig `json:"artifactory,omitempty" protobuf:"bytes,9,opt,name=artifactory"`
	// Azure contains the configuration for a webhook receiver that is compatible
	// with Azure Container Registry (ACR) and Azure DevOps payloads.
	Azure *AzureWebhookReceiverConfig `json:"azure,omitempty" protobuf:"bytes,8,opt,name=azure"`
	// Gitea contains the configuration for a webhook receiver that is compatible
	// with Gitea payloads.
	Gitea *GiteaWebhookReceiverConfig `json:"gitea,omitempty" protobuf:"bytes,7,opt,name=gitea"`
}

WebhookReceiverConfig describes the configuration for a single webhook receiver.

func (*WebhookReceiverConfig) DeepCopy

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

func (*WebhookReceiverConfig) DeepCopyInto

func (in *WebhookReceiverConfig) DeepCopyInto(out *WebhookReceiverConfig)

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

func (*WebhookReceiverConfig) Descriptor

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

func (*WebhookReceiverConfig) Marshal

func (m *WebhookReceiverConfig) Marshal() (dAtA []byte, err error)

func (*WebhookReceiverConfig) MarshalTo

func (m *WebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)

func (*WebhookReceiverConfig) MarshalToSizedBuffer

func (m *WebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WebhookReceiverConfig) ProtoMessage

func (*WebhookReceiverConfig) ProtoMessage()

func (*WebhookReceiverConfig) Reset

func (m *WebhookReceiverConfig) Reset()

func (*WebhookReceiverConfig) Size

func (m *WebhookReceiverConfig) Size() (n int)

func (*WebhookReceiverConfig) String

func (this *WebhookReceiverConfig) String() string

func (*WebhookReceiverConfig) Unmarshal

func (m *WebhookReceiverConfig) Unmarshal(dAtA []byte) error

func (*WebhookReceiverConfig) XXX_DiscardUnknown

func (m *WebhookReceiverConfig) XXX_DiscardUnknown()

func (*WebhookReceiverConfig) XXX_Marshal

func (m *WebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WebhookReceiverConfig) XXX_Merge

func (m *WebhookReceiverConfig) XXX_Merge(src proto.Message)

func (*WebhookReceiverConfig) XXX_Size

func (m *WebhookReceiverConfig) XXX_Size() int

func (*WebhookReceiverConfig) XXX_Unmarshal

func (m *WebhookReceiverConfig) XXX_Unmarshal(b []byte) error

type WebhookReceiverDetails

type WebhookReceiverDetails struct {
	// Name is the name of the webhook receiver.
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// Path is the path to the receiver's webhook endpoint.
	Path string `json:"path,omitempty" protobuf:"bytes,3,opt,name=path"`
	// URL includes the full address of the receiver's webhook endpoint.
	URL string `json:"url,omitempty" protobuf:"bytes,4,opt,name=url"`
}

WebhookReceiverDetails encapsulates the details of a webhook receiver.

func (*WebhookReceiverDetails) DeepCopy

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

func (*WebhookReceiverDetails) DeepCopyInto

func (in *WebhookReceiverDetails) DeepCopyInto(out *WebhookReceiverDetails)

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

func (*WebhookReceiverDetails) Descriptor

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

func (*WebhookReceiverDetails) Marshal

func (m *WebhookReceiverDetails) Marshal() (dAtA []byte, err error)

func (*WebhookReceiverDetails) MarshalTo

func (m *WebhookReceiverDetails) MarshalTo(dAtA []byte) (int, error)

func (*WebhookReceiverDetails) MarshalToSizedBuffer

func (m *WebhookReceiverDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WebhookReceiverDetails) ProtoMessage

func (*WebhookReceiverDetails) ProtoMessage()

func (*WebhookReceiverDetails) Reset

func (m *WebhookReceiverDetails) Reset()

func (*WebhookReceiverDetails) Size

func (m *WebhookReceiverDetails) Size() (n int)

func (*WebhookReceiverDetails) String

func (this *WebhookReceiverDetails) String() string

func (*WebhookReceiverDetails) Unmarshal

func (m *WebhookReceiverDetails) Unmarshal(dAtA []byte) error

func (*WebhookReceiverDetails) XXX_DiscardUnknown

func (m *WebhookReceiverDetails) XXX_DiscardUnknown()

func (*WebhookReceiverDetails) XXX_Marshal

func (m *WebhookReceiverDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WebhookReceiverDetails) XXX_Merge

func (m *WebhookReceiverDetails) XXX_Merge(src proto.Message)

func (*WebhookReceiverDetails) XXX_Size

func (m *WebhookReceiverDetails) XXX_Size() int

func (*WebhookReceiverDetails) XXX_Unmarshal

func (m *WebhookReceiverDetails) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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