Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the kargo v1alpha1 API group +kubebuilder:object:generate=true +groupName=kargo.akuity.io
Index ¶
- Constants
- Variables
- type AbortAction
- type AbortPromotionRequest
- type AnalysisRunArgument
- func (in *AnalysisRunArgument) DeepCopy() *AnalysisRunArgument
- func (in *AnalysisRunArgument) DeepCopyInto(out *AnalysisRunArgument)
- func (*AnalysisRunArgument) Descriptor() ([]byte, []int)
- func (m *AnalysisRunArgument) Marshal() (dAtA []byte, err error)
- func (m *AnalysisRunArgument) MarshalTo(dAtA []byte) (int, error)
- func (m *AnalysisRunArgument) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnalysisRunArgument) ProtoMessage()
- func (m *AnalysisRunArgument) Reset()
- func (m *AnalysisRunArgument) Size() (n int)
- func (this *AnalysisRunArgument) String() string
- func (m *AnalysisRunArgument) Unmarshal(dAtA []byte) error
- func (m *AnalysisRunArgument) XXX_DiscardUnknown()
- func (m *AnalysisRunArgument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnalysisRunArgument) XXX_Merge(src proto.Message)
- func (m *AnalysisRunArgument) XXX_Size() int
- func (m *AnalysisRunArgument) XXX_Unmarshal(b []byte) error
- type AnalysisRunMetadata
- func (in *AnalysisRunMetadata) DeepCopy() *AnalysisRunMetadata
- func (in *AnalysisRunMetadata) DeepCopyInto(out *AnalysisRunMetadata)
- func (*AnalysisRunMetadata) Descriptor() ([]byte, []int)
- func (m *AnalysisRunMetadata) Marshal() (dAtA []byte, err error)
- func (m *AnalysisRunMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *AnalysisRunMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnalysisRunMetadata) ProtoMessage()
- func (m *AnalysisRunMetadata) Reset()
- func (m *AnalysisRunMetadata) Size() (n int)
- func (this *AnalysisRunMetadata) String() string
- func (m *AnalysisRunMetadata) Unmarshal(dAtA []byte) error
- func (m *AnalysisRunMetadata) XXX_DiscardUnknown()
- func (m *AnalysisRunMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnalysisRunMetadata) XXX_Merge(src proto.Message)
- func (m *AnalysisRunMetadata) XXX_Size() int
- func (m *AnalysisRunMetadata) XXX_Unmarshal(b []byte) error
- type AnalysisRunReference
- func (in *AnalysisRunReference) DeepCopy() *AnalysisRunReference
- func (in *AnalysisRunReference) DeepCopyInto(out *AnalysisRunReference)
- func (*AnalysisRunReference) Descriptor() ([]byte, []int)
- func (m *AnalysisRunReference) Marshal() (dAtA []byte, err error)
- func (m *AnalysisRunReference) MarshalTo(dAtA []byte) (int, error)
- func (m *AnalysisRunReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnalysisRunReference) ProtoMessage()
- func (m *AnalysisRunReference) Reset()
- func (m *AnalysisRunReference) Size() (n int)
- func (this *AnalysisRunReference) String() string
- func (m *AnalysisRunReference) Unmarshal(dAtA []byte) error
- func (m *AnalysisRunReference) XXX_DiscardUnknown()
- func (m *AnalysisRunReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnalysisRunReference) XXX_Merge(src proto.Message)
- func (m *AnalysisRunReference) XXX_Size() int
- func (m *AnalysisRunReference) XXX_Unmarshal(b []byte) error
- type AnalysisTemplateReference
- func (in *AnalysisTemplateReference) DeepCopy() *AnalysisTemplateReference
- func (in *AnalysisTemplateReference) DeepCopyInto(out *AnalysisTemplateReference)
- func (*AnalysisTemplateReference) Descriptor() ([]byte, []int)
- func (m *AnalysisTemplateReference) Marshal() (dAtA []byte, err error)
- func (m *AnalysisTemplateReference) MarshalTo(dAtA []byte) (int, error)
- func (m *AnalysisTemplateReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnalysisTemplateReference) ProtoMessage()
- func (m *AnalysisTemplateReference) Reset()
- func (m *AnalysisTemplateReference) Size() (n int)
- func (this *AnalysisTemplateReference) String() string
- func (m *AnalysisTemplateReference) Unmarshal(dAtA []byte) error
- func (m *AnalysisTemplateReference) XXX_DiscardUnknown()
- func (m *AnalysisTemplateReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnalysisTemplateReference) XXX_Merge(src proto.Message)
- func (m *AnalysisTemplateReference) XXX_Size() int
- func (m *AnalysisTemplateReference) XXX_Unmarshal(b []byte) error
- type ApprovedStage
- func (in *ApprovedStage) DeepCopy() *ApprovedStage
- func (in *ApprovedStage) DeepCopyInto(out *ApprovedStage)
- func (*ApprovedStage) Descriptor() ([]byte, []int)
- func (m *ApprovedStage) Marshal() (dAtA []byte, err error)
- func (m *ApprovedStage) MarshalTo(dAtA []byte) (int, error)
- func (m *ApprovedStage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ApprovedStage) ProtoMessage()
- func (m *ApprovedStage) Reset()
- func (m *ApprovedStage) Size() (n int)
- func (this *ApprovedStage) String() string
- func (m *ApprovedStage) Unmarshal(dAtA []byte) error
- func (m *ApprovedStage) XXX_DiscardUnknown()
- func (m *ApprovedStage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApprovedStage) XXX_Merge(src proto.Message)
- func (m *ApprovedStage) XXX_Size() int
- func (m *ApprovedStage) XXX_Unmarshal(b []byte) error
- type ArgoCDAppHealthState
- type ArgoCDAppHealthStatus
- func (in *ArgoCDAppHealthStatus) DeepCopy() *ArgoCDAppHealthStatus
- func (in *ArgoCDAppHealthStatus) DeepCopyInto(out *ArgoCDAppHealthStatus)
- func (*ArgoCDAppHealthStatus) Descriptor() ([]byte, []int)
- func (m *ArgoCDAppHealthStatus) Marshal() (dAtA []byte, err error)
- func (m *ArgoCDAppHealthStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ArgoCDAppHealthStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArgoCDAppHealthStatus) ProtoMessage()
- func (m *ArgoCDAppHealthStatus) Reset()
- func (m *ArgoCDAppHealthStatus) Size() (n int)
- func (this *ArgoCDAppHealthStatus) String() string
- func (m *ArgoCDAppHealthStatus) Unmarshal(dAtA []byte) error
- func (m *ArgoCDAppHealthStatus) XXX_DiscardUnknown()
- func (m *ArgoCDAppHealthStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArgoCDAppHealthStatus) XXX_Merge(src proto.Message)
- func (m *ArgoCDAppHealthStatus) XXX_Size() int
- func (m *ArgoCDAppHealthStatus) XXX_Unmarshal(b []byte) error
- type ArgoCDAppStatus
- func (in *ArgoCDAppStatus) DeepCopy() *ArgoCDAppStatus
- func (in *ArgoCDAppStatus) DeepCopyInto(out *ArgoCDAppStatus)
- func (*ArgoCDAppStatus) Descriptor() ([]byte, []int)
- func (m *ArgoCDAppStatus) Marshal() (dAtA []byte, err error)
- func (m *ArgoCDAppStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ArgoCDAppStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArgoCDAppStatus) ProtoMessage()
- func (m *ArgoCDAppStatus) Reset()
- func (m *ArgoCDAppStatus) Size() (n int)
- func (this *ArgoCDAppStatus) String() string
- func (m *ArgoCDAppStatus) Unmarshal(dAtA []byte) error
- func (m *ArgoCDAppStatus) XXX_DiscardUnknown()
- func (m *ArgoCDAppStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArgoCDAppStatus) XXX_Merge(src proto.Message)
- func (m *ArgoCDAppStatus) XXX_Size() int
- func (m *ArgoCDAppStatus) XXX_Unmarshal(b []byte) error
- type ArgoCDAppSyncState
- type ArgoCDAppSyncStatus
- func (in *ArgoCDAppSyncStatus) DeepCopy() *ArgoCDAppSyncStatus
- func (in *ArgoCDAppSyncStatus) DeepCopyInto(out *ArgoCDAppSyncStatus)
- func (*ArgoCDAppSyncStatus) Descriptor() ([]byte, []int)
- func (m *ArgoCDAppSyncStatus) Marshal() (dAtA []byte, err error)
- func (m *ArgoCDAppSyncStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ArgoCDAppSyncStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArgoCDAppSyncStatus) ProtoMessage()
- func (m *ArgoCDAppSyncStatus) Reset()
- func (m *ArgoCDAppSyncStatus) Size() (n int)
- func (this *ArgoCDAppSyncStatus) String() string
- func (m *ArgoCDAppSyncStatus) Unmarshal(dAtA []byte) error
- func (m *ArgoCDAppSyncStatus) XXX_DiscardUnknown()
- func (m *ArgoCDAppSyncStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArgoCDAppSyncStatus) XXX_Merge(src proto.Message)
- func (m *ArgoCDAppSyncStatus) XXX_Size() int
- func (m *ArgoCDAppSyncStatus) XXX_Unmarshal(b []byte) error
- type ArtifactReference
- func (in *ArtifactReference) DeepCopy() *ArtifactReference
- func (in *ArtifactReference) DeepCopyInto(out *ArtifactReference)
- func (g *ArtifactReference) DeepEquals(other *ArtifactReference) bool
- func (*ArtifactReference) Descriptor() ([]byte, []int)
- func (m *ArtifactReference) Marshal() (dAtA []byte, err error)
- func (m *ArtifactReference) MarshalTo(dAtA []byte) (int, error)
- func (m *ArtifactReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArtifactReference) ProtoMessage()
- func (m *ArtifactReference) Reset()
- func (m *ArtifactReference) Size() (n int)
- func (this *ArtifactReference) String() string
- func (m *ArtifactReference) Unmarshal(dAtA []byte) error
- func (m *ArtifactReference) XXX_DiscardUnknown()
- func (m *ArtifactReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArtifactReference) XXX_Merge(src proto.Message)
- func (m *ArtifactReference) XXX_Size() int
- func (m *ArtifactReference) XXX_Unmarshal(b []byte) error
- type ArtifactoryWebhookReceiverConfig
- func (in *ArtifactoryWebhookReceiverConfig) DeepCopy() *ArtifactoryWebhookReceiverConfig
- func (in *ArtifactoryWebhookReceiverConfig) DeepCopyInto(out *ArtifactoryWebhookReceiverConfig)
- func (*ArtifactoryWebhookReceiverConfig) Descriptor() ([]byte, []int)
- func (m *ArtifactoryWebhookReceiverConfig) Marshal() (dAtA []byte, err error)
- func (m *ArtifactoryWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ArtifactoryWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArtifactoryWebhookReceiverConfig) ProtoMessage()
- func (m *ArtifactoryWebhookReceiverConfig) Reset()
- func (m *ArtifactoryWebhookReceiverConfig) Size() (n int)
- func (this *ArtifactoryWebhookReceiverConfig) String() string
- func (m *ArtifactoryWebhookReceiverConfig) Unmarshal(dAtA []byte) error
- func (m *ArtifactoryWebhookReceiverConfig) XXX_DiscardUnknown()
- func (m *ArtifactoryWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArtifactoryWebhookReceiverConfig) XXX_Merge(src proto.Message)
- func (m *ArtifactoryWebhookReceiverConfig) XXX_Size() int
- func (m *ArtifactoryWebhookReceiverConfig) XXX_Unmarshal(b []byte) error
- type AutoPromotionHold
- func (in *AutoPromotionHold) DeepCopy() *AutoPromotionHold
- func (in *AutoPromotionHold) DeepCopyInto(out *AutoPromotionHold)
- func (*AutoPromotionHold) Descriptor() ([]byte, []int)
- func (m *AutoPromotionHold) Marshal() (dAtA []byte, err error)
- func (m *AutoPromotionHold) MarshalTo(dAtA []byte) (int, error)
- func (m *AutoPromotionHold) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AutoPromotionHold) ProtoMessage()
- func (m *AutoPromotionHold) Reset()
- func (m *AutoPromotionHold) Size() (n int)
- func (this *AutoPromotionHold) String() string
- func (m *AutoPromotionHold) Unmarshal(dAtA []byte) error
- func (m *AutoPromotionHold) XXX_DiscardUnknown()
- func (m *AutoPromotionHold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AutoPromotionHold) XXX_Merge(src proto.Message)
- func (m *AutoPromotionHold) XXX_Size() int
- func (m *AutoPromotionHold) XXX_Unmarshal(b []byte) error
- type AutoPromotionOptions
- func (in *AutoPromotionOptions) DeepCopy() *AutoPromotionOptions
- func (in *AutoPromotionOptions) DeepCopyInto(out *AutoPromotionOptions)
- func (*AutoPromotionOptions) Descriptor() ([]byte, []int)
- func (m *AutoPromotionOptions) Marshal() (dAtA []byte, err error)
- func (m *AutoPromotionOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *AutoPromotionOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AutoPromotionOptions) ProtoMessage()
- func (m *AutoPromotionOptions) Reset()
- func (m *AutoPromotionOptions) Size() (n int)
- func (this *AutoPromotionOptions) String() string
- func (m *AutoPromotionOptions) Unmarshal(dAtA []byte) error
- func (m *AutoPromotionOptions) XXX_DiscardUnknown()
- func (m *AutoPromotionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AutoPromotionOptions) XXX_Merge(src proto.Message)
- func (m *AutoPromotionOptions) XXX_Size() int
- func (m *AutoPromotionOptions) XXX_Unmarshal(b []byte) error
- type AutoPromotionSelectionPolicy
- type AutoRollbackConfig
- func (in *AutoRollbackConfig) DeepCopy() *AutoRollbackConfig
- func (in *AutoRollbackConfig) DeepCopyInto(out *AutoRollbackConfig)
- func (*AutoRollbackConfig) Descriptor() ([]byte, []int)
- func (m *AutoRollbackConfig) Marshal() (dAtA []byte, err error)
- func (m *AutoRollbackConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *AutoRollbackConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AutoRollbackConfig) ProtoMessage()
- func (m *AutoRollbackConfig) Reset()
- func (m *AutoRollbackConfig) Size() (n int)
- func (this *AutoRollbackConfig) String() string
- func (m *AutoRollbackConfig) Unmarshal(dAtA []byte) error
- func (m *AutoRollbackConfig) XXX_DiscardUnknown()
- func (m *AutoRollbackConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AutoRollbackConfig) XXX_Merge(src proto.Message)
- func (m *AutoRollbackConfig) XXX_Size() int
- func (m *AutoRollbackConfig) XXX_Unmarshal(b []byte) error
- type AzureWebhookReceiverConfig
- func (in *AzureWebhookReceiverConfig) DeepCopy() *AzureWebhookReceiverConfig
- func (in *AzureWebhookReceiverConfig) DeepCopyInto(out *AzureWebhookReceiverConfig)
- func (*AzureWebhookReceiverConfig) Descriptor() ([]byte, []int)
- func (m *AzureWebhookReceiverConfig) Marshal() (dAtA []byte, err error)
- func (m *AzureWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *AzureWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AzureWebhookReceiverConfig) ProtoMessage()
- func (m *AzureWebhookReceiverConfig) Reset()
- func (m *AzureWebhookReceiverConfig) Size() (n int)
- func (this *AzureWebhookReceiverConfig) String() string
- func (m *AzureWebhookReceiverConfig) Unmarshal(dAtA []byte) error
- func (m *AzureWebhookReceiverConfig) XXX_DiscardUnknown()
- func (m *AzureWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AzureWebhookReceiverConfig) XXX_Merge(src proto.Message)
- func (m *AzureWebhookReceiverConfig) XXX_Size() int
- func (m *AzureWebhookReceiverConfig) XXX_Unmarshal(b []byte) error
- type BitbucketWebhookReceiverConfig
- func (in *BitbucketWebhookReceiverConfig) DeepCopy() *BitbucketWebhookReceiverConfig
- func (in *BitbucketWebhookReceiverConfig) DeepCopyInto(out *BitbucketWebhookReceiverConfig)
- func (*BitbucketWebhookReceiverConfig) Descriptor() ([]byte, []int)
- func (m *BitbucketWebhookReceiverConfig) Marshal() (dAtA []byte, err error)
- func (m *BitbucketWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *BitbucketWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BitbucketWebhookReceiverConfig) ProtoMessage()
- func (m *BitbucketWebhookReceiverConfig) Reset()
- func (m *BitbucketWebhookReceiverConfig) Size() (n int)
- func (this *BitbucketWebhookReceiverConfig) String() string
- func (m *BitbucketWebhookReceiverConfig) Unmarshal(dAtA []byte) error
- func (m *BitbucketWebhookReceiverConfig) XXX_DiscardUnknown()
- func (m *BitbucketWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BitbucketWebhookReceiverConfig) XXX_Merge(src proto.Message)
- func (m *BitbucketWebhookReceiverConfig) XXX_Size() int
- func (m *BitbucketWebhookReceiverConfig) XXX_Unmarshal(b []byte) error
- type Chart
- func (in *Chart) DeepCopy() *Chart
- func (in *Chart) DeepCopyInto(out *Chart)
- func (c *Chart) DeepEquals(other *Chart) bool
- func (*Chart) Descriptor() ([]byte, []int)
- func (m *Chart) Marshal() (dAtA []byte, err error)
- func (m *Chart) MarshalTo(dAtA []byte) (int, error)
- func (m *Chart) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Chart) ProtoMessage()
- func (m *Chart) Reset()
- func (m *Chart) Size() (n int)
- func (this *Chart) String() string
- func (m *Chart) Unmarshal(dAtA []byte) error
- func (m *Chart) XXX_DiscardUnknown()
- func (m *Chart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Chart) XXX_Merge(src proto.Message)
- func (m *Chart) XXX_Size() int
- func (m *Chart) XXX_Unmarshal(b []byte) error
- type ChartDiscoveryResult
- func (in *ChartDiscoveryResult) DeepCopy() *ChartDiscoveryResult
- func (in *ChartDiscoveryResult) DeepCopyInto(out *ChartDiscoveryResult)
- func (*ChartDiscoveryResult) Descriptor() ([]byte, []int)
- func (m *ChartDiscoveryResult) Marshal() (dAtA []byte, err error)
- func (m *ChartDiscoveryResult) MarshalTo(dAtA []byte) (int, error)
- func (m *ChartDiscoveryResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChartDiscoveryResult) ProtoMessage()
- func (m *ChartDiscoveryResult) Reset()
- func (m *ChartDiscoveryResult) Size() (n int)
- func (this *ChartDiscoveryResult) String() string
- func (m *ChartDiscoveryResult) Unmarshal(dAtA []byte) error
- func (m *ChartDiscoveryResult) XXX_DiscardUnknown()
- func (m *ChartDiscoveryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChartDiscoveryResult) XXX_Merge(src proto.Message)
- func (m *ChartDiscoveryResult) XXX_Size() int
- func (m *ChartDiscoveryResult) XXX_Unmarshal(b []byte) error
- type ChartSubscription
- func (in *ChartSubscription) DeepCopy() *ChartSubscription
- func (in *ChartSubscription) DeepCopyInto(out *ChartSubscription)
- func (*ChartSubscription) Descriptor() ([]byte, []int)
- func (m *ChartSubscription) Marshal() (dAtA []byte, err error)
- func (m *ChartSubscription) MarshalTo(dAtA []byte) (int, error)
- func (m *ChartSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChartSubscription) ProtoMessage()
- func (m *ChartSubscription) Reset()
- func (m *ChartSubscription) Size() (n int)
- func (this *ChartSubscription) String() string
- func (m *ChartSubscription) Unmarshal(dAtA []byte) error
- func (m *ChartSubscription) XXX_DiscardUnknown()
- func (m *ChartSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChartSubscription) XXX_Merge(src proto.Message)
- func (m *ChartSubscription) XXX_Size() int
- func (m *ChartSubscription) XXX_Unmarshal(b []byte) error
- type ClusterConfig
- func (in *ClusterConfig) DeepCopy() *ClusterConfig
- func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig)
- func (in *ClusterConfig) DeepCopyObject() runtime.Object
- func (*ClusterConfig) Descriptor() ([]byte, []int)
- func (c *ClusterConfig) GetStatus() *ClusterConfigStatus
- func (m *ClusterConfig) Marshal() (dAtA []byte, err error)
- func (m *ClusterConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterConfig) ProtoMessage()
- func (m *ClusterConfig) Reset()
- func (m *ClusterConfig) Size() (n int)
- func (this *ClusterConfig) String() string
- func (m *ClusterConfig) Unmarshal(dAtA []byte) error
- func (m *ClusterConfig) XXX_DiscardUnknown()
- func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterConfig) XXX_Merge(src proto.Message)
- func (m *ClusterConfig) XXX_Size() int
- func (m *ClusterConfig) XXX_Unmarshal(b []byte) error
- type ClusterConfigList
- func (in *ClusterConfigList) DeepCopy() *ClusterConfigList
- func (in *ClusterConfigList) DeepCopyInto(out *ClusterConfigList)
- func (in *ClusterConfigList) DeepCopyObject() runtime.Object
- func (*ClusterConfigList) Descriptor() ([]byte, []int)
- func (m *ClusterConfigList) Marshal() (dAtA []byte, err error)
- func (m *ClusterConfigList) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterConfigList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterConfigList) ProtoMessage()
- func (m *ClusterConfigList) Reset()
- func (m *ClusterConfigList) Size() (n int)
- func (this *ClusterConfigList) String() string
- func (m *ClusterConfigList) Unmarshal(dAtA []byte) error
- func (m *ClusterConfigList) XXX_DiscardUnknown()
- func (m *ClusterConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterConfigList) XXX_Merge(src proto.Message)
- func (m *ClusterConfigList) XXX_Size() int
- func (m *ClusterConfigList) XXX_Unmarshal(b []byte) error
- type ClusterConfigSpec
- func (in *ClusterConfigSpec) DeepCopy() *ClusterConfigSpec
- func (in *ClusterConfigSpec) DeepCopyInto(out *ClusterConfigSpec)
- func (*ClusterConfigSpec) Descriptor() ([]byte, []int)
- func (m *ClusterConfigSpec) Marshal() (dAtA []byte, err error)
- func (m *ClusterConfigSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterConfigSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterConfigSpec) ProtoMessage()
- func (m *ClusterConfigSpec) Reset()
- func (m *ClusterConfigSpec) Size() (n int)
- func (this *ClusterConfigSpec) String() string
- func (m *ClusterConfigSpec) Unmarshal(dAtA []byte) error
- func (m *ClusterConfigSpec) XXX_DiscardUnknown()
- func (m *ClusterConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterConfigSpec) XXX_Merge(src proto.Message)
- func (m *ClusterConfigSpec) XXX_Size() int
- func (m *ClusterConfigSpec) XXX_Unmarshal(b []byte) error
- type ClusterConfigStatus
- func (in *ClusterConfigStatus) DeepCopy() *ClusterConfigStatus
- func (in *ClusterConfigStatus) DeepCopyInto(out *ClusterConfigStatus)
- func (*ClusterConfigStatus) Descriptor() ([]byte, []int)
- func (c *ClusterConfigStatus) GetConditions() []metav1.Condition
- func (m *ClusterConfigStatus) Marshal() (dAtA []byte, err error)
- func (m *ClusterConfigStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterConfigStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterConfigStatus) ProtoMessage()
- func (m *ClusterConfigStatus) Reset()
- func (c *ClusterConfigStatus) SetConditions(conditions []metav1.Condition)
- func (m *ClusterConfigStatus) Size() (n int)
- func (this *ClusterConfigStatus) String() string
- func (m *ClusterConfigStatus) Unmarshal(dAtA []byte) error
- func (m *ClusterConfigStatus) XXX_DiscardUnknown()
- func (m *ClusterConfigStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterConfigStatus) XXX_Merge(src proto.Message)
- func (m *ClusterConfigStatus) XXX_Size() int
- func (m *ClusterConfigStatus) XXX_Unmarshal(b []byte) error
- type ClusterPromotionTask
- func (in *ClusterPromotionTask) DeepCopy() *ClusterPromotionTask
- func (in *ClusterPromotionTask) DeepCopyInto(out *ClusterPromotionTask)
- func (in *ClusterPromotionTask) DeepCopyObject() runtime.Object
- func (*ClusterPromotionTask) Descriptor() ([]byte, []int)
- func (m *ClusterPromotionTask) Marshal() (dAtA []byte, err error)
- func (m *ClusterPromotionTask) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterPromotionTask) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterPromotionTask) ProtoMessage()
- func (m *ClusterPromotionTask) Reset()
- func (m *ClusterPromotionTask) Size() (n int)
- func (this *ClusterPromotionTask) String() string
- func (m *ClusterPromotionTask) Unmarshal(dAtA []byte) error
- func (m *ClusterPromotionTask) XXX_DiscardUnknown()
- func (m *ClusterPromotionTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterPromotionTask) XXX_Merge(src proto.Message)
- func (m *ClusterPromotionTask) XXX_Size() int
- func (m *ClusterPromotionTask) XXX_Unmarshal(b []byte) error
- type ClusterPromotionTaskList
- func (in *ClusterPromotionTaskList) DeepCopy() *ClusterPromotionTaskList
- func (in *ClusterPromotionTaskList) DeepCopyInto(out *ClusterPromotionTaskList)
- func (in *ClusterPromotionTaskList) DeepCopyObject() runtime.Object
- func (*ClusterPromotionTaskList) Descriptor() ([]byte, []int)
- func (m *ClusterPromotionTaskList) Marshal() (dAtA []byte, err error)
- func (m *ClusterPromotionTaskList) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterPromotionTaskList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterPromotionTaskList) ProtoMessage()
- func (m *ClusterPromotionTaskList) Reset()
- func (m *ClusterPromotionTaskList) Size() (n int)
- func (this *ClusterPromotionTaskList) String() string
- func (m *ClusterPromotionTaskList) Unmarshal(dAtA []byte) error
- func (m *ClusterPromotionTaskList) XXX_DiscardUnknown()
- func (m *ClusterPromotionTaskList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterPromotionTaskList) XXX_Merge(src proto.Message)
- func (m *ClusterPromotionTaskList) XXX_Size() int
- func (m *ClusterPromotionTaskList) XXX_Unmarshal(b []byte) error
- type CommitSelectionStrategy
- type CurrentStage
- func (in *CurrentStage) DeepCopy() *CurrentStage
- func (in *CurrentStage) DeepCopyInto(out *CurrentStage)
- func (*CurrentStage) Descriptor() ([]byte, []int)
- func (m *CurrentStage) Marshal() (dAtA []byte, err error)
- func (m *CurrentStage) MarshalTo(dAtA []byte) (int, error)
- func (m *CurrentStage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CurrentStage) ProtoMessage()
- func (m *CurrentStage) Reset()
- func (m *CurrentStage) Size() (n int)
- func (this *CurrentStage) String() string
- func (m *CurrentStage) Unmarshal(dAtA []byte) error
- func (m *CurrentStage) XXX_DiscardUnknown()
- func (m *CurrentStage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CurrentStage) XXX_Merge(src proto.Message)
- func (m *CurrentStage) XXX_Size() int
- func (m *CurrentStage) XXX_Unmarshal(b []byte) error
- type DeepLink
- func (in *DeepLink) DeepCopy() *DeepLink
- func (in *DeepLink) DeepCopyInto(out *DeepLink)
- func (*DeepLink) Descriptor() ([]byte, []int)
- func (m *DeepLink) Marshal() (dAtA []byte, err error)
- func (m *DeepLink) MarshalTo(dAtA []byte) (int, error)
- func (m *DeepLink) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeepLink) ProtoMessage()
- func (m *DeepLink) Reset()
- func (m *DeepLink) Size() (n int)
- func (this *DeepLink) String() string
- func (m *DeepLink) Unmarshal(dAtA []byte) error
- func (m *DeepLink) XXX_DiscardUnknown()
- func (m *DeepLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeepLink) XXX_Merge(src proto.Message)
- func (m *DeepLink) XXX_Size() int
- func (m *DeepLink) XXX_Unmarshal(b []byte) error
- type DiscoveredArtifacts
- func (in *DiscoveredArtifacts) DeepCopy() *DiscoveredArtifacts
- func (in *DiscoveredArtifacts) DeepCopyInto(out *DiscoveredArtifacts)
- func (*DiscoveredArtifacts) Descriptor() ([]byte, []int)
- func (m *DiscoveredArtifacts) Marshal() (dAtA []byte, err error)
- func (m *DiscoveredArtifacts) MarshalTo(dAtA []byte) (int, error)
- func (m *DiscoveredArtifacts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DiscoveredArtifacts) ProtoMessage()
- func (m *DiscoveredArtifacts) Reset()
- func (m *DiscoveredArtifacts) Size() (n int)
- func (this *DiscoveredArtifacts) String() string
- func (m *DiscoveredArtifacts) Unmarshal(dAtA []byte) error
- func (m *DiscoveredArtifacts) XXX_DiscardUnknown()
- func (m *DiscoveredArtifacts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscoveredArtifacts) XXX_Merge(src proto.Message)
- func (m *DiscoveredArtifacts) XXX_Size() int
- func (m *DiscoveredArtifacts) XXX_Unmarshal(b []byte) error
- type DiscoveredCommit
- func (in *DiscoveredCommit) DeepCopy() *DiscoveredCommit
- func (in *DiscoveredCommit) DeepCopyInto(out *DiscoveredCommit)
- func (*DiscoveredCommit) Descriptor() ([]byte, []int)
- func (m *DiscoveredCommit) Marshal() (dAtA []byte, err error)
- func (m *DiscoveredCommit) MarshalTo(dAtA []byte) (int, error)
- func (m *DiscoveredCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DiscoveredCommit) ProtoMessage()
- func (m *DiscoveredCommit) Reset()
- func (m *DiscoveredCommit) Size() (n int)
- func (this *DiscoveredCommit) String() string
- func (m *DiscoveredCommit) Unmarshal(dAtA []byte) error
- func (m *DiscoveredCommit) XXX_DiscardUnknown()
- func (m *DiscoveredCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscoveredCommit) XXX_Merge(src proto.Message)
- func (m *DiscoveredCommit) XXX_Size() int
- func (m *DiscoveredCommit) XXX_Unmarshal(b []byte) error
- type DiscoveredImageReference
- func (in *DiscoveredImageReference) DeepCopy() *DiscoveredImageReference
- func (in *DiscoveredImageReference) DeepCopyInto(out *DiscoveredImageReference)
- func (*DiscoveredImageReference) Descriptor() ([]byte, []int)
- func (m *DiscoveredImageReference) Marshal() (dAtA []byte, err error)
- func (m *DiscoveredImageReference) MarshalTo(dAtA []byte) (int, error)
- func (m *DiscoveredImageReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DiscoveredImageReference) ProtoMessage()
- func (m *DiscoveredImageReference) Reset()
- func (m *DiscoveredImageReference) Size() (n int)
- func (this *DiscoveredImageReference) String() string
- func (m *DiscoveredImageReference) Unmarshal(dAtA []byte) error
- func (m *DiscoveredImageReference) XXX_DiscardUnknown()
- func (m *DiscoveredImageReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscoveredImageReference) XXX_Merge(src proto.Message)
- func (m *DiscoveredImageReference) XXX_Size() int
- func (m *DiscoveredImageReference) XXX_Unmarshal(b []byte) error
- type DiscoveredRef
- func (in *DiscoveredRef) DeepCopy() *DiscoveredRef
- func (in *DiscoveredRef) DeepCopyInto(out *DiscoveredRef)
- func (*DiscoveredRef) Descriptor() ([]byte, []int)
- func (m *DiscoveredRef) Marshal() (dAtA []byte, err error)
- func (m *DiscoveredRef) MarshalTo(dAtA []byte) (int, error)
- func (m *DiscoveredRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DiscoveredRef) ProtoMessage()
- func (m *DiscoveredRef) Reset()
- func (m *DiscoveredRef) Size() (n int)
- func (this *DiscoveredRef) String() string
- func (m *DiscoveredRef) Unmarshal(dAtA []byte) error
- func (m *DiscoveredRef) XXX_DiscardUnknown()
- func (m *DiscoveredRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscoveredRef) XXX_Merge(src proto.Message)
- func (m *DiscoveredRef) XXX_Size() int
- func (m *DiscoveredRef) XXX_Unmarshal(b []byte) error
- type DiscoveryResult
- func (in *DiscoveryResult) DeepCopy() *DiscoveryResult
- func (in *DiscoveryResult) DeepCopyInto(out *DiscoveryResult)
- func (*DiscoveryResult) Descriptor() ([]byte, []int)
- func (m *DiscoveryResult) Marshal() (dAtA []byte, err error)
- func (m *DiscoveryResult) MarshalTo(dAtA []byte) (int, error)
- func (m *DiscoveryResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DiscoveryResult) ProtoMessage()
- func (m *DiscoveryResult) Reset()
- func (m *DiscoveryResult) Size() (n int)
- func (this *DiscoveryResult) String() string
- func (m *DiscoveryResult) Unmarshal(dAtA []byte) error
- func (m *DiscoveryResult) XXX_DiscardUnknown()
- func (m *DiscoveryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscoveryResult) XXX_Merge(src proto.Message)
- func (m *DiscoveryResult) XXX_Size() int
- func (m *DiscoveryResult) XXX_Unmarshal(b []byte) error
- type DockerHubWebhookReceiverConfig
- func (in *DockerHubWebhookReceiverConfig) DeepCopy() *DockerHubWebhookReceiverConfig
- func (in *DockerHubWebhookReceiverConfig) DeepCopyInto(out *DockerHubWebhookReceiverConfig)
- func (*DockerHubWebhookReceiverConfig) Descriptor() ([]byte, []int)
- func (m *DockerHubWebhookReceiverConfig) Marshal() (dAtA []byte, err error)
- func (m *DockerHubWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *DockerHubWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DockerHubWebhookReceiverConfig) ProtoMessage()
- func (m *DockerHubWebhookReceiverConfig) Reset()
- func (m *DockerHubWebhookReceiverConfig) Size() (n int)
- func (this *DockerHubWebhookReceiverConfig) String() string
- func (m *DockerHubWebhookReceiverConfig) Unmarshal(dAtA []byte) error
- func (m *DockerHubWebhookReceiverConfig) XXX_DiscardUnknown()
- func (m *DockerHubWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DockerHubWebhookReceiverConfig) XXX_Merge(src proto.Message)
- func (m *DockerHubWebhookReceiverConfig) XXX_Size() int
- func (m *DockerHubWebhookReceiverConfig) XXX_Unmarshal(b []byte) error
- type EventType
- type ExpressionVariable
- func (in *ExpressionVariable) DeepCopy() *ExpressionVariable
- func (in *ExpressionVariable) DeepCopyInto(out *ExpressionVariable)
- func (*ExpressionVariable) Descriptor() ([]byte, []int)
- func (m *ExpressionVariable) Marshal() (dAtA []byte, err error)
- func (m *ExpressionVariable) MarshalTo(dAtA []byte) (int, error)
- func (m *ExpressionVariable) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExpressionVariable) ProtoMessage()
- func (m *ExpressionVariable) Reset()
- func (m *ExpressionVariable) Size() (n int)
- func (this *ExpressionVariable) String() string
- func (m *ExpressionVariable) Unmarshal(dAtA []byte) error
- func (m *ExpressionVariable) XXX_DiscardUnknown()
- func (m *ExpressionVariable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExpressionVariable) XXX_Merge(src proto.Message)
- func (m *ExpressionVariable) XXX_Size() int
- func (m *ExpressionVariable) XXX_Unmarshal(b []byte) error
- type Freight
- func (in *Freight) DeepCopy() *Freight
- func (in *Freight) DeepCopyInto(out *Freight)
- func (in *Freight) DeepCopyObject() runtime.Object
- func (*Freight) Descriptor() ([]byte, []int)
- func (f *Freight) EffectiveDiscoveredAt() time.Time
- func (f *Freight) GetLongestSoak(stage string) time.Duration
- func (f *Freight) GetStatus() *FreightStatus
- func (f *Freight) HasSoakedIn(stage string, dur *metav1.Duration) bool
- func (f *Freight) IsApprovedFor(stage string) bool
- func (f *Freight) IsCurrentlyIn(stage string) bool
- func (f *Freight) IsVerifiedIn(stage string) bool
- func (m *Freight) Marshal() (dAtA []byte, err error)
- func (m *Freight) MarshalTo(dAtA []byte) (int, error)
- func (m *Freight) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Freight) ProtoMessage()
- func (m *Freight) Reset()
- func (m *Freight) Size() (n int)
- func (this *Freight) String() string
- func (m *Freight) Unmarshal(dAtA []byte) error
- func (m *Freight) XXX_DiscardUnknown()
- func (m *Freight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Freight) XXX_Merge(src proto.Message)
- func (m *Freight) XXX_Size() int
- func (m *Freight) XXX_Unmarshal(b []byte) error
- type FreightAvailabilityStrategy
- type FreightCollection
- func (in *FreightCollection) DeepCopy() *FreightCollection
- func (in *FreightCollection) DeepCopyInto(out *FreightCollection)
- func (*FreightCollection) Descriptor() ([]byte, []int)
- func (f *FreightCollection) HasNonTerminalVerification() bool
- func (f *FreightCollection) Includes(freightName string) bool
- func (m *FreightCollection) Marshal() (dAtA []byte, err error)
- func (m *FreightCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *FreightCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FreightCollection) ProtoMessage()
- func (f *FreightCollection) References() []FreightReference
- func (m *FreightCollection) Reset()
- func (m *FreightCollection) Size() (n int)
- func (this *FreightCollection) String() string
- func (m *FreightCollection) Unmarshal(dAtA []byte) error
- func (f *FreightCollection) UpdateOrPush(freight ...FreightReference)
- func (m *FreightCollection) XXX_DiscardUnknown()
- func (m *FreightCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreightCollection) XXX_Merge(src proto.Message)
- func (m *FreightCollection) XXX_Size() int
- func (m *FreightCollection) XXX_Unmarshal(b []byte) error
- type FreightCreationCriteria
- func (in *FreightCreationCriteria) DeepCopy() *FreightCreationCriteria
- func (in *FreightCreationCriteria) DeepCopyInto(out *FreightCreationCriteria)
- func (*FreightCreationCriteria) Descriptor() ([]byte, []int)
- func (m *FreightCreationCriteria) Marshal() (dAtA []byte, err error)
- func (m *FreightCreationCriteria) MarshalTo(dAtA []byte) (int, error)
- func (m *FreightCreationCriteria) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FreightCreationCriteria) ProtoMessage()
- func (m *FreightCreationCriteria) Reset()
- func (m *FreightCreationCriteria) Size() (n int)
- func (this *FreightCreationCriteria) String() string
- func (m *FreightCreationCriteria) Unmarshal(dAtA []byte) error
- func (m *FreightCreationCriteria) XXX_DiscardUnknown()
- func (m *FreightCreationCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreightCreationCriteria) XXX_Merge(src proto.Message)
- func (m *FreightCreationCriteria) XXX_Size() int
- func (m *FreightCreationCriteria) XXX_Unmarshal(b []byte) error
- type FreightCreationPolicy
- type FreightHistory
- type FreightList
- func (in *FreightList) DeepCopy() *FreightList
- func (in *FreightList) DeepCopyInto(out *FreightList)
- func (in *FreightList) DeepCopyObject() runtime.Object
- func (*FreightList) Descriptor() ([]byte, []int)
- func (m *FreightList) Marshal() (dAtA []byte, err error)
- func (m *FreightList) MarshalTo(dAtA []byte) (int, error)
- func (m *FreightList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FreightList) ProtoMessage()
- func (m *FreightList) Reset()
- func (m *FreightList) Size() (n int)
- func (this *FreightList) String() string
- func (m *FreightList) Unmarshal(dAtA []byte) error
- func (m *FreightList) XXX_DiscardUnknown()
- func (m *FreightList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreightList) XXX_Merge(src proto.Message)
- func (m *FreightList) XXX_Size() int
- func (m *FreightList) XXX_Unmarshal(b []byte) error
- type FreightOrigin
- func (in *FreightOrigin) DeepCopy() *FreightOrigin
- func (in *FreightOrigin) DeepCopyInto(out *FreightOrigin)
- func (*FreightOrigin) Descriptor() ([]byte, []int)
- func (f *FreightOrigin) Equals(other *FreightOrigin) bool
- func (m *FreightOrigin) Marshal() (dAtA []byte, err error)
- func (m *FreightOrigin) MarshalTo(dAtA []byte) (int, error)
- func (m *FreightOrigin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FreightOrigin) ProtoMessage()
- func (m *FreightOrigin) Reset()
- func (m *FreightOrigin) Size() (n int)
- func (f *FreightOrigin) String() string
- func (m *FreightOrigin) Unmarshal(dAtA []byte) error
- func (m *FreightOrigin) XXX_DiscardUnknown()
- func (m *FreightOrigin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreightOrigin) XXX_Merge(src proto.Message)
- func (m *FreightOrigin) XXX_Size() int
- func (m *FreightOrigin) XXX_Unmarshal(b []byte) error
- type FreightOriginKind
- type FreightReference
- func (in *FreightReference) DeepCopy() *FreightReference
- func (in *FreightReference) DeepCopyInto(out *FreightReference)
- func (*FreightReference) Descriptor() ([]byte, []int)
- func (m *FreightReference) Marshal() (dAtA []byte, err error)
- func (m *FreightReference) MarshalTo(dAtA []byte) (int, error)
- func (m *FreightReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FreightReference) ProtoMessage()
- func (m *FreightReference) Reset()
- func (m *FreightReference) Size() (n int)
- func (this *FreightReference) String() string
- func (m *FreightReference) Unmarshal(dAtA []byte) error
- func (m *FreightReference) XXX_DiscardUnknown()
- func (m *FreightReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreightReference) XXX_Merge(src proto.Message)
- func (m *FreightReference) XXX_Size() int
- func (m *FreightReference) XXX_Unmarshal(b []byte) error
- type FreightRequest
- func (in *FreightRequest) DeepCopy() *FreightRequest
- func (in *FreightRequest) DeepCopyInto(out *FreightRequest)
- func (*FreightRequest) Descriptor() ([]byte, []int)
- func (m *FreightRequest) Marshal() (dAtA []byte, err error)
- func (m *FreightRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *FreightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FreightRequest) ProtoMessage()
- func (m *FreightRequest) Reset()
- func (m *FreightRequest) Size() (n int)
- func (this *FreightRequest) String() string
- func (m *FreightRequest) Unmarshal(dAtA []byte) error
- func (m *FreightRequest) XXX_DiscardUnknown()
- func (m *FreightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreightRequest) XXX_Merge(src proto.Message)
- func (m *FreightRequest) XXX_Size() int
- func (m *FreightRequest) XXX_Unmarshal(b []byte) error
- type FreightSources
- func (in *FreightSources) DeepCopy() *FreightSources
- func (in *FreightSources) DeepCopyInto(out *FreightSources)
- func (*FreightSources) Descriptor() ([]byte, []int)
- func (m *FreightSources) Marshal() (dAtA []byte, err error)
- func (m *FreightSources) MarshalTo(dAtA []byte) (int, error)
- func (m *FreightSources) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FreightSources) ProtoMessage()
- func (m *FreightSources) Reset()
- func (m *FreightSources) Size() (n int)
- func (this *FreightSources) String() string
- func (m *FreightSources) Unmarshal(dAtA []byte) error
- func (m *FreightSources) XXX_DiscardUnknown()
- func (m *FreightSources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreightSources) XXX_Merge(src proto.Message)
- func (m *FreightSources) XXX_Size() int
- func (m *FreightSources) XXX_Unmarshal(b []byte) error
- type FreightStatus
- func (f *FreightStatus) AddApprovedStage(stage string, approvedAt time.Time)
- func (f *FreightStatus) AddCurrentStage(stage string, since time.Time)
- func (f *FreightStatus) AddVerifiedStage(stage string, verifiedAt time.Time)
- func (in *FreightStatus) DeepCopy() *FreightStatus
- func (in *FreightStatus) DeepCopyInto(out *FreightStatus)
- func (*FreightStatus) Descriptor() ([]byte, []int)
- func (f *FreightStatus) GetMetadata(key string, data any) (bool, error)
- func (m *FreightStatus) Marshal() (dAtA []byte, err error)
- func (m *FreightStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *FreightStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FreightStatus) ProtoMessage()
- func (f *FreightStatus) RemoveCurrentStage(stage string)
- func (m *FreightStatus) Reset()
- func (m *FreightStatus) Size() (n int)
- func (this *FreightStatus) String() string
- func (m *FreightStatus) Unmarshal(dAtA []byte) error
- func (f *FreightStatus) UpsertMetadata(key string, data any) error
- func (m *FreightStatus) XXX_DiscardUnknown()
- func (m *FreightStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreightStatus) XXX_Merge(src proto.Message)
- func (m *FreightStatus) XXX_Size() int
- func (m *FreightStatus) XXX_Unmarshal(b []byte) error
- type GenericWebhookAction
- func (in *GenericWebhookAction) DeepCopy() *GenericWebhookAction
- func (in *GenericWebhookAction) DeepCopyInto(out *GenericWebhookAction)
- func (*GenericWebhookAction) Descriptor() ([]byte, []int)
- func (m *GenericWebhookAction) Marshal() (dAtA []byte, err error)
- func (m *GenericWebhookAction) MarshalTo(dAtA []byte) (int, error)
- func (m *GenericWebhookAction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenericWebhookAction) ProtoMessage()
- func (m *GenericWebhookAction) Reset()
- func (m *GenericWebhookAction) Size() (n int)
- func (this *GenericWebhookAction) String() string
- func (m *GenericWebhookAction) Unmarshal(dAtA []byte) error
- func (m *GenericWebhookAction) XXX_DiscardUnknown()
- func (m *GenericWebhookAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenericWebhookAction) XXX_Merge(src proto.Message)
- func (m *GenericWebhookAction) XXX_Size() int
- func (m *GenericWebhookAction) XXX_Unmarshal(b []byte) error
- type GenericWebhookActionType
- type GenericWebhookReceiverConfig
- func (in *GenericWebhookReceiverConfig) DeepCopy() *GenericWebhookReceiverConfig
- func (in *GenericWebhookReceiverConfig) DeepCopyInto(out *GenericWebhookReceiverConfig)
- func (*GenericWebhookReceiverConfig) Descriptor() ([]byte, []int)
- func (m *GenericWebhookReceiverConfig) Marshal() (dAtA []byte, err error)
- func (m *GenericWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *GenericWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenericWebhookReceiverConfig) ProtoMessage()
- func (m *GenericWebhookReceiverConfig) Reset()
- func (m *GenericWebhookReceiverConfig) Size() (n int)
- func (this *GenericWebhookReceiverConfig) String() string
- func (m *GenericWebhookReceiverConfig) Unmarshal(dAtA []byte) error
- func (m *GenericWebhookReceiverConfig) XXX_DiscardUnknown()
- func (m *GenericWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenericWebhookReceiverConfig) XXX_Merge(src proto.Message)
- func (m *GenericWebhookReceiverConfig) XXX_Size() int
- func (m *GenericWebhookReceiverConfig) XXX_Unmarshal(b []byte) error
- type GenericWebhookTargetKind
- type GenericWebhookTargetSelectionCriteria
- func (in *GenericWebhookTargetSelectionCriteria) DeepCopy() *GenericWebhookTargetSelectionCriteria
- func (in *GenericWebhookTargetSelectionCriteria) DeepCopyInto(out *GenericWebhookTargetSelectionCriteria)
- func (*GenericWebhookTargetSelectionCriteria) Descriptor() ([]byte, []int)
- func (m *GenericWebhookTargetSelectionCriteria) Marshal() (dAtA []byte, err error)
- func (m *GenericWebhookTargetSelectionCriteria) MarshalTo(dAtA []byte) (int, error)
- func (m *GenericWebhookTargetSelectionCriteria) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenericWebhookTargetSelectionCriteria) ProtoMessage()
- func (m *GenericWebhookTargetSelectionCriteria) Reset()
- func (m *GenericWebhookTargetSelectionCriteria) Size() (n int)
- func (this *GenericWebhookTargetSelectionCriteria) String() string
- func (m *GenericWebhookTargetSelectionCriteria) Unmarshal(dAtA []byte) error
- func (m *GenericWebhookTargetSelectionCriteria) XXX_DiscardUnknown()
- func (m *GenericWebhookTargetSelectionCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenericWebhookTargetSelectionCriteria) XXX_Merge(src proto.Message)
- func (m *GenericWebhookTargetSelectionCriteria) XXX_Size() int
- func (m *GenericWebhookTargetSelectionCriteria) XXX_Unmarshal(b []byte) error
- type GitClientConfig
- func (in *GitClientConfig) DeepCopy() *GitClientConfig
- func (in *GitClientConfig) DeepCopyInto(out *GitClientConfig)
- func (*GitClientConfig) Descriptor() ([]byte, []int)
- func (m *GitClientConfig) Marshal() (dAtA []byte, err error)
- func (m *GitClientConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *GitClientConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GitClientConfig) ProtoMessage()
- func (m *GitClientConfig) Reset()
- func (m *GitClientConfig) Size() (n int)
- func (this *GitClientConfig) String() string
- func (m *GitClientConfig) Unmarshal(dAtA []byte) error
- func (m *GitClientConfig) XXX_DiscardUnknown()
- func (m *GitClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitClientConfig) XXX_Merge(src proto.Message)
- func (m *GitClientConfig) XXX_Size() int
- func (m *GitClientConfig) XXX_Unmarshal(b []byte) error
- type GitCommit
- func (in *GitCommit) DeepCopy() *GitCommit
- func (in *GitCommit) DeepCopyInto(out *GitCommit)
- func (g *GitCommit) DeepEquals(other *GitCommit) bool
- func (*GitCommit) Descriptor() ([]byte, []int)
- func (g *GitCommit) Equals(rhs *GitCommit) bool
- func (m *GitCommit) Marshal() (dAtA []byte, err error)
- func (m *GitCommit) MarshalTo(dAtA []byte) (int, error)
- func (m *GitCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GitCommit) ProtoMessage()
- func (m *GitCommit) Reset()
- func (m *GitCommit) Size() (n int)
- func (this *GitCommit) String() string
- func (m *GitCommit) Unmarshal(dAtA []byte) error
- func (m *GitCommit) XXX_DiscardUnknown()
- func (m *GitCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitCommit) XXX_Merge(src proto.Message)
- func (m *GitCommit) XXX_Size() int
- func (m *GitCommit) XXX_Unmarshal(b []byte) error
- type GitDiscoveryRefs
- func (in *GitDiscoveryRefs) DeepCopy() *GitDiscoveryRefs
- func (in *GitDiscoveryRefs) DeepCopyInto(out *GitDiscoveryRefs)
- func (*GitDiscoveryRefs) Descriptor() ([]byte, []int)
- func (m *GitDiscoveryRefs) Marshal() (dAtA []byte, err error)
- func (m *GitDiscoveryRefs) MarshalTo(dAtA []byte) (int, error)
- func (m *GitDiscoveryRefs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GitDiscoveryRefs) ProtoMessage()
- func (m *GitDiscoveryRefs) Reset()
- func (m *GitDiscoveryRefs) Size() (n int)
- func (this *GitDiscoveryRefs) String() string
- func (m *GitDiscoveryRefs) Unmarshal(dAtA []byte) error
- func (m *GitDiscoveryRefs) XXX_DiscardUnknown()
- func (m *GitDiscoveryRefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitDiscoveryRefs) XXX_Merge(src proto.Message)
- func (m *GitDiscoveryRefs) XXX_Size() int
- func (m *GitDiscoveryRefs) XXX_Unmarshal(b []byte) error
- type GitDiscoveryResult
- func (in *GitDiscoveryResult) DeepCopy() *GitDiscoveryResult
- func (in *GitDiscoveryResult) DeepCopyInto(out *GitDiscoveryResult)
- func (*GitDiscoveryResult) Descriptor() ([]byte, []int)
- func (m *GitDiscoveryResult) Marshal() (dAtA []byte, err error)
- func (m *GitDiscoveryResult) MarshalTo(dAtA []byte) (int, error)
- func (m *GitDiscoveryResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GitDiscoveryResult) ProtoMessage()
- func (m *GitDiscoveryResult) Reset()
- func (m *GitDiscoveryResult) Size() (n int)
- func (this *GitDiscoveryResult) String() string
- func (m *GitDiscoveryResult) Unmarshal(dAtA []byte) error
- func (m *GitDiscoveryResult) XXX_DiscardUnknown()
- func (m *GitDiscoveryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitDiscoveryResult) XXX_Merge(src proto.Message)
- func (m *GitDiscoveryResult) XXX_Size() int
- func (m *GitDiscoveryResult) XXX_Unmarshal(b []byte) error
- type GitHubWebhookReceiverConfig
- func (in *GitHubWebhookReceiverConfig) DeepCopy() *GitHubWebhookReceiverConfig
- func (in *GitHubWebhookReceiverConfig) DeepCopyInto(out *GitHubWebhookReceiverConfig)
- func (*GitHubWebhookReceiverConfig) Descriptor() ([]byte, []int)
- func (m *GitHubWebhookReceiverConfig) Marshal() (dAtA []byte, err error)
- func (m *GitHubWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *GitHubWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GitHubWebhookReceiverConfig) ProtoMessage()
- func (m *GitHubWebhookReceiverConfig) Reset()
- func (m *GitHubWebhookReceiverConfig) Size() (n int)
- func (this *GitHubWebhookReceiverConfig) String() string
- func (m *GitHubWebhookReceiverConfig) Unmarshal(dAtA []byte) error
- func (m *GitHubWebhookReceiverConfig) XXX_DiscardUnknown()
- func (m *GitHubWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitHubWebhookReceiverConfig) XXX_Merge(src proto.Message)
- func (m *GitHubWebhookReceiverConfig) XXX_Size() int
- func (m *GitHubWebhookReceiverConfig) XXX_Unmarshal(b []byte) error
- type GitLabWebhookReceiverConfig
- func (in *GitLabWebhookReceiverConfig) DeepCopy() *GitLabWebhookReceiverConfig
- func (in *GitLabWebhookReceiverConfig) DeepCopyInto(out *GitLabWebhookReceiverConfig)
- func (*GitLabWebhookReceiverConfig) Descriptor() ([]byte, []int)
- func (m *GitLabWebhookReceiverConfig) Marshal() (dAtA []byte, err error)
- func (m *GitLabWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *GitLabWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GitLabWebhookReceiverConfig) ProtoMessage()
- func (m *GitLabWebhookReceiverConfig) Reset()
- func (m *GitLabWebhookReceiverConfig) Size() (n int)
- func (this *GitLabWebhookReceiverConfig) String() string
- func (m *GitLabWebhookReceiverConfig) Unmarshal(dAtA []byte) error
- func (m *GitLabWebhookReceiverConfig) XXX_DiscardUnknown()
- func (m *GitLabWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitLabWebhookReceiverConfig) XXX_Merge(src proto.Message)
- func (m *GitLabWebhookReceiverConfig) XXX_Size() int
- func (m *GitLabWebhookReceiverConfig) XXX_Unmarshal(b []byte) error
- type GitSubscription
- func (in *GitSubscription) DeepCopy() *GitSubscription
- func (in *GitSubscription) DeepCopyInto(out *GitSubscription)
- func (*GitSubscription) Descriptor() ([]byte, []int)
- func (m *GitSubscription) Marshal() (dAtA []byte, err error)
- func (m *GitSubscription) MarshalTo(dAtA []byte) (int, error)
- func (m *GitSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GitSubscription) ProtoMessage()
- func (m *GitSubscription) Reset()
- func (m *GitSubscription) Size() (n int)
- func (this *GitSubscription) String() string
- func (m *GitSubscription) Unmarshal(dAtA []byte) error
- func (m *GitSubscription) XXX_DiscardUnknown()
- func (m *GitSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitSubscription) XXX_Merge(src proto.Message)
- func (m *GitSubscription) XXX_Size() int
- func (m *GitSubscription) XXX_Unmarshal(b []byte) error
- type GiteaWebhookReceiverConfig
- func (in *GiteaWebhookReceiverConfig) DeepCopy() *GiteaWebhookReceiverConfig
- func (in *GiteaWebhookReceiverConfig) DeepCopyInto(out *GiteaWebhookReceiverConfig)
- func (*GiteaWebhookReceiverConfig) Descriptor() ([]byte, []int)
- func (m *GiteaWebhookReceiverConfig) Marshal() (dAtA []byte, err error)
- func (m *GiteaWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *GiteaWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GiteaWebhookReceiverConfig) ProtoMessage()
- func (m *GiteaWebhookReceiverConfig) Reset()
- func (m *GiteaWebhookReceiverConfig) Size() (n int)
- func (this *GiteaWebhookReceiverConfig) String() string
- func (m *GiteaWebhookReceiverConfig) Unmarshal(dAtA []byte) error
- func (m *GiteaWebhookReceiverConfig) XXX_DiscardUnknown()
- func (m *GiteaWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GiteaWebhookReceiverConfig) XXX_Merge(src proto.Message)
- func (m *GiteaWebhookReceiverConfig) XXX_Size() int
- func (m *GiteaWebhookReceiverConfig) XXX_Unmarshal(b []byte) error
- type HarborWebhookReceiverConfig
- func (in *HarborWebhookReceiverConfig) DeepCopy() *HarborWebhookReceiverConfig
- func (in *HarborWebhookReceiverConfig) DeepCopyInto(out *HarborWebhookReceiverConfig)
- func (*HarborWebhookReceiverConfig) Descriptor() ([]byte, []int)
- func (m *HarborWebhookReceiverConfig) Marshal() (dAtA []byte, err error)
- func (m *HarborWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *HarborWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HarborWebhookReceiverConfig) ProtoMessage()
- func (m *HarborWebhookReceiverConfig) Reset()
- func (m *HarborWebhookReceiverConfig) Size() (n int)
- func (this *HarborWebhookReceiverConfig) String() string
- func (m *HarborWebhookReceiverConfig) Unmarshal(dAtA []byte) error
- func (m *HarborWebhookReceiverConfig) XXX_DiscardUnknown()
- func (m *HarborWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HarborWebhookReceiverConfig) XXX_Merge(src proto.Message)
- func (m *HarborWebhookReceiverConfig) XXX_Size() int
- func (m *HarborWebhookReceiverConfig) XXX_Unmarshal(b []byte) error
- type Health
- func (in *Health) DeepCopy() *Health
- func (in *Health) DeepCopyInto(out *Health)
- func (*Health) Descriptor() ([]byte, []int)
- func (m *Health) Marshal() (dAtA []byte, err error)
- func (m *Health) MarshalTo(dAtA []byte) (int, error)
- func (m *Health) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Health) ProtoMessage()
- func (m *Health) Reset()
- func (m *Health) Size() (n int)
- func (this *Health) String() string
- func (m *Health) Unmarshal(dAtA []byte) error
- func (m *Health) XXX_DiscardUnknown()
- func (m *Health) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Health) XXX_Merge(src proto.Message)
- func (m *Health) XXX_Size() int
- func (m *Health) XXX_Unmarshal(b []byte) error
- type HealthCheckStep
- func (in *HealthCheckStep) DeepCopy() *HealthCheckStep
- func (in *HealthCheckStep) DeepCopyInto(out *HealthCheckStep)
- func (*HealthCheckStep) Descriptor() ([]byte, []int)
- func (s *HealthCheckStep) GetConfig() map[string]any
- func (m *HealthCheckStep) Marshal() (dAtA []byte, err error)
- func (m *HealthCheckStep) MarshalTo(dAtA []byte) (int, error)
- func (m *HealthCheckStep) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HealthCheckStep) ProtoMessage()
- func (m *HealthCheckStep) Reset()
- func (m *HealthCheckStep) Size() (n int)
- func (this *HealthCheckStep) String() string
- func (m *HealthCheckStep) Unmarshal(dAtA []byte) error
- func (m *HealthCheckStep) XXX_DiscardUnknown()
- func (m *HealthCheckStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HealthCheckStep) XXX_Merge(src proto.Message)
- func (m *HealthCheckStep) XXX_Size() int
- func (m *HealthCheckStep) XXX_Unmarshal(b []byte) error
- type HealthState
- type HealthStats
- func (in *HealthStats) DeepCopy() *HealthStats
- func (in *HealthStats) DeepCopyInto(out *HealthStats)
- func (*HealthStats) Descriptor() ([]byte, []int)
- func (m *HealthStats) Marshal() (dAtA []byte, err error)
- func (m *HealthStats) MarshalTo(dAtA []byte) (int, error)
- func (m *HealthStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HealthStats) ProtoMessage()
- func (m *HealthStats) Reset()
- func (m *HealthStats) Size() (n int)
- func (this *HealthStats) String() string
- func (m *HealthStats) Unmarshal(dAtA []byte) error
- func (m *HealthStats) XXX_DiscardUnknown()
- func (m *HealthStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HealthStats) XXX_Merge(src proto.Message)
- func (m *HealthStats) XXX_Size() int
- func (m *HealthStats) XXX_Unmarshal(b []byte) error
- type Image
- func (in *Image) DeepCopy() *Image
- func (in *Image) DeepCopyInto(out *Image)
- func (i *Image) DeepEquals(other *Image) bool
- func (*Image) Descriptor() ([]byte, []int)
- func (m *Image) Marshal() (dAtA []byte, err error)
- func (m *Image) MarshalTo(dAtA []byte) (int, error)
- func (m *Image) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) Size() (n int)
- func (this *Image) String() string
- func (m *Image) Unmarshal(dAtA []byte) error
- func (m *Image) XXX_DiscardUnknown()
- func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Image) XXX_Merge(src proto.Message)
- func (m *Image) XXX_Size() int
- func (m *Image) XXX_Unmarshal(b []byte) error
- type ImageDiscoveryResult
- func (in *ImageDiscoveryResult) DeepCopy() *ImageDiscoveryResult
- func (in *ImageDiscoveryResult) DeepCopyInto(out *ImageDiscoveryResult)
- func (*ImageDiscoveryResult) Descriptor() ([]byte, []int)
- func (m *ImageDiscoveryResult) Marshal() (dAtA []byte, err error)
- func (m *ImageDiscoveryResult) MarshalTo(dAtA []byte) (int, error)
- func (m *ImageDiscoveryResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ImageDiscoveryResult) ProtoMessage()
- func (m *ImageDiscoveryResult) Reset()
- func (m *ImageDiscoveryResult) Size() (n int)
- func (this *ImageDiscoveryResult) String() string
- func (m *ImageDiscoveryResult) Unmarshal(dAtA []byte) error
- func (m *ImageDiscoveryResult) XXX_DiscardUnknown()
- func (m *ImageDiscoveryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImageDiscoveryResult) XXX_Merge(src proto.Message)
- func (m *ImageDiscoveryResult) XXX_Size() int
- func (m *ImageDiscoveryResult) XXX_Unmarshal(b []byte) error
- type ImageSelectionStrategy
- type ImageSubscription
- func (in *ImageSubscription) DeepCopy() *ImageSubscription
- func (in *ImageSubscription) DeepCopyInto(out *ImageSubscription)
- func (*ImageSubscription) Descriptor() ([]byte, []int)
- func (m *ImageSubscription) Marshal() (dAtA []byte, err error)
- func (m *ImageSubscription) MarshalTo(dAtA []byte) (int, error)
- func (m *ImageSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ImageSubscription) ProtoMessage()
- func (m *ImageSubscription) Reset()
- func (m *ImageSubscription) Size() (n int)
- func (this *ImageSubscription) String() string
- func (m *ImageSubscription) Unmarshal(dAtA []byte) error
- func (m *ImageSubscription) XXX_DiscardUnknown()
- func (m *ImageSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImageSubscription) XXX_Merge(src proto.Message)
- func (m *ImageSubscription) XXX_Size() int
- func (m *ImageSubscription) XXX_Unmarshal(b []byte) error
- type ImageUpdateValueType
- type IndexSelector
- func (in *IndexSelector) DeepCopy() *IndexSelector
- func (in *IndexSelector) DeepCopyInto(out *IndexSelector)
- func (*IndexSelector) Descriptor() ([]byte, []int)
- func (m *IndexSelector) Marshal() (dAtA []byte, err error)
- func (m *IndexSelector) MarshalTo(dAtA []byte) (int, error)
- func (m *IndexSelector) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IndexSelector) ProtoMessage()
- func (m *IndexSelector) Reset()
- func (m *IndexSelector) Size() (n int)
- func (this *IndexSelector) String() string
- func (m *IndexSelector) Unmarshal(dAtA []byte) error
- func (m *IndexSelector) XXX_DiscardUnknown()
- func (m *IndexSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IndexSelector) XXX_Merge(src proto.Message)
- func (m *IndexSelector) XXX_Size() int
- func (m *IndexSelector) XXX_Unmarshal(b []byte) error
- type IndexSelectorOperator
- type IndexSelectorRequirement
- func (in *IndexSelectorRequirement) DeepCopy() *IndexSelectorRequirement
- func (in *IndexSelectorRequirement) DeepCopyInto(out *IndexSelectorRequirement)
- func (*IndexSelectorRequirement) Descriptor() ([]byte, []int)
- func (m *IndexSelectorRequirement) Marshal() (dAtA []byte, err error)
- func (m *IndexSelectorRequirement) MarshalTo(dAtA []byte) (int, error)
- func (m *IndexSelectorRequirement) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IndexSelectorRequirement) ProtoMessage()
- func (m *IndexSelectorRequirement) Reset()
- func (m *IndexSelectorRequirement) Size() (n int)
- func (this *IndexSelectorRequirement) String() string
- func (m *IndexSelectorRequirement) Unmarshal(dAtA []byte) error
- func (m *IndexSelectorRequirement) XXX_DiscardUnknown()
- func (m *IndexSelectorRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IndexSelectorRequirement) XXX_Merge(src proto.Message)
- func (m *IndexSelectorRequirement) XXX_Size() int
- func (m *IndexSelectorRequirement) XXX_Unmarshal(b []byte) error
- type Project
- func (in *Project) DeepCopy() *Project
- func (in *Project) DeepCopyInto(out *Project)
- func (in *Project) DeepCopyObject() runtime.Object
- func (*Project) Descriptor() ([]byte, []int)
- func (p *Project) GetStatus() *ProjectStatus
- func (m *Project) Marshal() (dAtA []byte, err error)
- func (m *Project) MarshalTo(dAtA []byte) (int, error)
- func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Project) ProtoMessage()
- func (m *Project) Reset()
- func (m *Project) Size() (n int)
- func (this *Project) String() string
- func (m *Project) Unmarshal(dAtA []byte) error
- func (m *Project) XXX_DiscardUnknown()
- func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Project) XXX_Merge(src proto.Message)
- func (m *Project) XXX_Size() int
- func (m *Project) XXX_Unmarshal(b []byte) error
- type ProjectConfig
- func (in *ProjectConfig) DeepCopy() *ProjectConfig
- func (in *ProjectConfig) DeepCopyInto(out *ProjectConfig)
- func (in *ProjectConfig) DeepCopyObject() runtime.Object
- func (*ProjectConfig) Descriptor() ([]byte, []int)
- func (p *ProjectConfig) GetStatus() *ProjectConfigStatus
- func (m *ProjectConfig) Marshal() (dAtA []byte, err error)
- func (m *ProjectConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectConfig) ProtoMessage()
- func (m *ProjectConfig) Reset()
- func (m *ProjectConfig) Size() (n int)
- func (this *ProjectConfig) String() string
- func (m *ProjectConfig) Unmarshal(dAtA []byte) error
- func (m *ProjectConfig) XXX_DiscardUnknown()
- func (m *ProjectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectConfig) XXX_Merge(src proto.Message)
- func (m *ProjectConfig) XXX_Size() int
- func (m *ProjectConfig) XXX_Unmarshal(b []byte) error
- type ProjectConfigList
- func (in *ProjectConfigList) DeepCopy() *ProjectConfigList
- func (in *ProjectConfigList) DeepCopyInto(out *ProjectConfigList)
- func (in *ProjectConfigList) DeepCopyObject() runtime.Object
- func (*ProjectConfigList) Descriptor() ([]byte, []int)
- func (m *ProjectConfigList) Marshal() (dAtA []byte, err error)
- func (m *ProjectConfigList) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectConfigList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectConfigList) ProtoMessage()
- func (m *ProjectConfigList) Reset()
- func (m *ProjectConfigList) Size() (n int)
- func (this *ProjectConfigList) String() string
- func (m *ProjectConfigList) Unmarshal(dAtA []byte) error
- func (m *ProjectConfigList) XXX_DiscardUnknown()
- func (m *ProjectConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectConfigList) XXX_Merge(src proto.Message)
- func (m *ProjectConfigList) XXX_Size() int
- func (m *ProjectConfigList) XXX_Unmarshal(b []byte) error
- type ProjectConfigSpec
- func (in *ProjectConfigSpec) DeepCopy() *ProjectConfigSpec
- func (in *ProjectConfigSpec) DeepCopyInto(out *ProjectConfigSpec)
- func (*ProjectConfigSpec) Descriptor() ([]byte, []int)
- func (m *ProjectConfigSpec) Marshal() (dAtA []byte, err error)
- func (m *ProjectConfigSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectConfigSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectConfigSpec) ProtoMessage()
- func (m *ProjectConfigSpec) Reset()
- func (m *ProjectConfigSpec) Size() (n int)
- func (this *ProjectConfigSpec) String() string
- func (m *ProjectConfigSpec) Unmarshal(dAtA []byte) error
- func (m *ProjectConfigSpec) XXX_DiscardUnknown()
- func (m *ProjectConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectConfigSpec) XXX_Merge(src proto.Message)
- func (m *ProjectConfigSpec) XXX_Size() int
- func (m *ProjectConfigSpec) XXX_Unmarshal(b []byte) error
- type ProjectConfigStatus
- func (in *ProjectConfigStatus) DeepCopy() *ProjectConfigStatus
- func (in *ProjectConfigStatus) DeepCopyInto(out *ProjectConfigStatus)
- func (*ProjectConfigStatus) Descriptor() ([]byte, []int)
- func (p *ProjectConfigStatus) GetConditions() []metav1.Condition
- func (m *ProjectConfigStatus) Marshal() (dAtA []byte, err error)
- func (m *ProjectConfigStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectConfigStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectConfigStatus) ProtoMessage()
- func (m *ProjectConfigStatus) Reset()
- func (p *ProjectConfigStatus) SetConditions(conditions []metav1.Condition)
- func (m *ProjectConfigStatus) Size() (n int)
- func (this *ProjectConfigStatus) String() string
- func (m *ProjectConfigStatus) Unmarshal(dAtA []byte) error
- func (m *ProjectConfigStatus) XXX_DiscardUnknown()
- func (m *ProjectConfigStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectConfigStatus) XXX_Merge(src proto.Message)
- func (m *ProjectConfigStatus) XXX_Size() int
- func (m *ProjectConfigStatus) XXX_Unmarshal(b []byte) error
- type ProjectList
- func (in *ProjectList) DeepCopy() *ProjectList
- func (in *ProjectList) DeepCopyInto(out *ProjectList)
- func (in *ProjectList) DeepCopyObject() runtime.Object
- func (*ProjectList) Descriptor() ([]byte, []int)
- func (m *ProjectList) Marshal() (dAtA []byte, err error)
- func (m *ProjectList) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectList) ProtoMessage()
- func (m *ProjectList) Reset()
- func (m *ProjectList) Size() (n int)
- func (this *ProjectList) String() string
- func (m *ProjectList) Unmarshal(dAtA []byte) error
- func (m *ProjectList) XXX_DiscardUnknown()
- func (m *ProjectList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectList) XXX_Merge(src proto.Message)
- func (m *ProjectList) XXX_Size() int
- func (m *ProjectList) XXX_Unmarshal(b []byte) error
- type ProjectStats
- func (in *ProjectStats) DeepCopy() *ProjectStats
- func (in *ProjectStats) DeepCopyInto(out *ProjectStats)
- func (*ProjectStats) Descriptor() ([]byte, []int)
- func (m *ProjectStats) Marshal() (dAtA []byte, err error)
- func (m *ProjectStats) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectStats) ProtoMessage()
- func (m *ProjectStats) Reset()
- func (m *ProjectStats) Size() (n int)
- func (this *ProjectStats) String() string
- func (m *ProjectStats) Unmarshal(dAtA []byte) error
- func (m *ProjectStats) XXX_DiscardUnknown()
- func (m *ProjectStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectStats) XXX_Merge(src proto.Message)
- func (m *ProjectStats) XXX_Size() int
- func (m *ProjectStats) XXX_Unmarshal(b []byte) error
- type ProjectStatus
- func (in *ProjectStatus) DeepCopy() *ProjectStatus
- func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)
- func (*ProjectStatus) Descriptor() ([]byte, []int)
- func (w *ProjectStatus) GetConditions() []metav1.Condition
- func (m *ProjectStatus) Marshal() (dAtA []byte, err error)
- func (m *ProjectStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectStatus) ProtoMessage()
- func (m *ProjectStatus) Reset()
- func (w *ProjectStatus) SetConditions(conditions []metav1.Condition)
- func (m *ProjectStatus) Size() (n int)
- func (this *ProjectStatus) String() string
- func (m *ProjectStatus) Unmarshal(dAtA []byte) error
- func (m *ProjectStatus) XXX_DiscardUnknown()
- func (m *ProjectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectStatus) XXX_Merge(src proto.Message)
- func (m *ProjectStatus) XXX_Size() int
- func (m *ProjectStatus) XXX_Unmarshal(b []byte) error
- type Promotion
- func (in *Promotion) DeepCopy() *Promotion
- func (in *Promotion) DeepCopyInto(out *Promotion)
- func (in *Promotion) DeepCopyObject() runtime.Object
- func (*Promotion) Descriptor() ([]byte, []int)
- func (p *Promotion) GetStatus() *PromotionStatus
- func (m *Promotion) Marshal() (dAtA []byte, err error)
- func (m *Promotion) MarshalTo(dAtA []byte) (int, error)
- func (m *Promotion) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Promotion) ProtoMessage()
- func (m *Promotion) Reset()
- func (m *Promotion) Size() (n int)
- func (this *Promotion) String() string
- func (m *Promotion) Unmarshal(dAtA []byte) error
- func (m *Promotion) XXX_DiscardUnknown()
- func (m *Promotion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Promotion) XXX_Merge(src proto.Message)
- func (m *Promotion) XXX_Size() int
- func (m *Promotion) XXX_Unmarshal(b []byte) error
- type PromotionList
- func (in *PromotionList) DeepCopy() *PromotionList
- func (in *PromotionList) DeepCopyInto(out *PromotionList)
- func (in *PromotionList) DeepCopyObject() runtime.Object
- func (*PromotionList) Descriptor() ([]byte, []int)
- func (m *PromotionList) Marshal() (dAtA []byte, err error)
- func (m *PromotionList) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionList) ProtoMessage()
- func (m *PromotionList) Reset()
- func (m *PromotionList) Size() (n int)
- func (this *PromotionList) String() string
- func (m *PromotionList) Unmarshal(dAtA []byte) error
- func (m *PromotionList) XXX_DiscardUnknown()
- func (m *PromotionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionList) XXX_Merge(src proto.Message)
- func (m *PromotionList) XXX_Size() int
- func (m *PromotionList) XXX_Unmarshal(b []byte) error
- type PromotionPhase
- type PromotionPolicy
- func (in *PromotionPolicy) DeepCopy() *PromotionPolicy
- func (in *PromotionPolicy) DeepCopyInto(out *PromotionPolicy)
- func (*PromotionPolicy) Descriptor() ([]byte, []int)
- func (m *PromotionPolicy) Marshal() (dAtA []byte, err error)
- func (m *PromotionPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionPolicy) ProtoMessage()
- func (m *PromotionPolicy) Reset()
- func (m *PromotionPolicy) Size() (n int)
- func (this *PromotionPolicy) String() string
- func (m *PromotionPolicy) Unmarshal(dAtA []byte) error
- func (m *PromotionPolicy) XXX_DiscardUnknown()
- func (m *PromotionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionPolicy) XXX_Merge(src proto.Message)
- func (m *PromotionPolicy) XXX_Size() int
- func (m *PromotionPolicy) XXX_Unmarshal(b []byte) error
- type PromotionPolicySelector
- func (in *PromotionPolicySelector) DeepCopy() *PromotionPolicySelector
- func (in *PromotionPolicySelector) DeepCopyInto(out *PromotionPolicySelector)
- func (*PromotionPolicySelector) Descriptor() ([]byte, []int)
- func (m *PromotionPolicySelector) Marshal() (dAtA []byte, err error)
- func (m *PromotionPolicySelector) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionPolicySelector) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionPolicySelector) ProtoMessage()
- func (m *PromotionPolicySelector) Reset()
- func (m *PromotionPolicySelector) Size() (n int)
- func (this *PromotionPolicySelector) String() string
- func (m *PromotionPolicySelector) Unmarshal(dAtA []byte) error
- func (m *PromotionPolicySelector) XXX_DiscardUnknown()
- func (m *PromotionPolicySelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionPolicySelector) XXX_Merge(src proto.Message)
- func (m *PromotionPolicySelector) XXX_Size() int
- func (m *PromotionPolicySelector) XXX_Unmarshal(b []byte) error
- type PromotionReference
- func (in *PromotionReference) DeepCopy() *PromotionReference
- func (in *PromotionReference) DeepCopyInto(out *PromotionReference)
- func (*PromotionReference) Descriptor() ([]byte, []int)
- func (r *PromotionReference) GetHealthChecks() []HealthCheckStep
- func (m *PromotionReference) Marshal() (dAtA []byte, err error)
- func (m *PromotionReference) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionReference) ProtoMessage()
- func (m *PromotionReference) Reset()
- func (m *PromotionReference) Size() (n int)
- func (this *PromotionReference) String() string
- func (m *PromotionReference) Unmarshal(dAtA []byte) error
- func (m *PromotionReference) XXX_DiscardUnknown()
- func (m *PromotionReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionReference) XXX_Merge(src proto.Message)
- func (m *PromotionReference) XXX_Size() int
- func (m *PromotionReference) XXX_Unmarshal(b []byte) error
- type PromotionSpec
- func (in *PromotionSpec) DeepCopy() *PromotionSpec
- func (in *PromotionSpec) DeepCopyInto(out *PromotionSpec)
- func (*PromotionSpec) Descriptor() ([]byte, []int)
- func (m *PromotionSpec) Marshal() (dAtA []byte, err error)
- func (m *PromotionSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionSpec) ProtoMessage()
- func (m *PromotionSpec) Reset()
- func (m *PromotionSpec) Size() (n int)
- func (this *PromotionSpec) String() string
- func (m *PromotionSpec) Unmarshal(dAtA []byte) error
- func (m *PromotionSpec) XXX_DiscardUnknown()
- func (m *PromotionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionSpec) XXX_Merge(src proto.Message)
- func (m *PromotionSpec) XXX_Size() int
- func (m *PromotionSpec) XXX_Unmarshal(b []byte) error
- type PromotionStatus
- func (in *PromotionStatus) DeepCopy() *PromotionStatus
- func (in *PromotionStatus) DeepCopyInto(out *PromotionStatus)
- func (*PromotionStatus) Descriptor() ([]byte, []int)
- func (s *PromotionStatus) GetState() map[string]any
- func (m *PromotionStatus) Marshal() (dAtA []byte, err error)
- func (m *PromotionStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionStatus) ProtoMessage()
- func (m *PromotionStatus) Reset()
- func (m *PromotionStatus) Size() (n int)
- func (this *PromotionStatus) String() string
- func (m *PromotionStatus) Unmarshal(dAtA []byte) error
- func (s *PromotionStatus) WithPhase(phase PromotionPhase) *PromotionStatus
- func (m *PromotionStatus) XXX_DiscardUnknown()
- func (m *PromotionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionStatus) XXX_Merge(src proto.Message)
- func (m *PromotionStatus) XXX_Size() int
- func (m *PromotionStatus) XXX_Unmarshal(b []byte) error
- type PromotionStep
- func (in *PromotionStep) DeepCopy() *PromotionStep
- func (in *PromotionStep) DeepCopyInto(out *PromotionStep)
- func (*PromotionStep) Descriptor() ([]byte, []int)
- func (s *PromotionStep) GetAlias(i int) string
- func (m *PromotionStep) Marshal() (dAtA []byte, err error)
- func (m *PromotionStep) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionStep) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionStep) ProtoMessage()
- func (m *PromotionStep) Reset()
- func (m *PromotionStep) Size() (n int)
- func (this *PromotionStep) String() string
- func (m *PromotionStep) Unmarshal(dAtA []byte) error
- func (m *PromotionStep) XXX_DiscardUnknown()
- func (m *PromotionStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionStep) XXX_Merge(src proto.Message)
- func (m *PromotionStep) XXX_Size() int
- func (m *PromotionStep) XXX_Unmarshal(b []byte) error
- type PromotionStepRetry
- func (in *PromotionStepRetry) DeepCopy() *PromotionStepRetry
- func (in *PromotionStepRetry) DeepCopyInto(out *PromotionStepRetry)
- func (*PromotionStepRetry) Descriptor() ([]byte, []int)
- func (r *PromotionStepRetry) GetErrorThreshold(fallback uint32) uint32
- func (r *PromotionStepRetry) GetTimeout(fallback time.Duration) time.Duration
- func (m *PromotionStepRetry) Marshal() (dAtA []byte, err error)
- func (m *PromotionStepRetry) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionStepRetry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionStepRetry) ProtoMessage()
- func (m *PromotionStepRetry) Reset()
- func (m *PromotionStepRetry) Size() (n int)
- func (this *PromotionStepRetry) String() string
- func (m *PromotionStepRetry) Unmarshal(dAtA []byte) error
- func (m *PromotionStepRetry) XXX_DiscardUnknown()
- func (m *PromotionStepRetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionStepRetry) XXX_Merge(src proto.Message)
- func (m *PromotionStepRetry) XXX_Size() int
- func (m *PromotionStepRetry) XXX_Unmarshal(b []byte) error
- type PromotionStepStatus
- type PromotionTask
- func (in *PromotionTask) DeepCopy() *PromotionTask
- func (in *PromotionTask) DeepCopyInto(out *PromotionTask)
- func (in *PromotionTask) DeepCopyObject() runtime.Object
- func (*PromotionTask) Descriptor() ([]byte, []int)
- func (m *PromotionTask) Marshal() (dAtA []byte, err error)
- func (m *PromotionTask) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionTask) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionTask) ProtoMessage()
- func (m *PromotionTask) Reset()
- func (m *PromotionTask) Size() (n int)
- func (this *PromotionTask) String() string
- func (m *PromotionTask) Unmarshal(dAtA []byte) error
- func (m *PromotionTask) XXX_DiscardUnknown()
- func (m *PromotionTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionTask) XXX_Merge(src proto.Message)
- func (m *PromotionTask) XXX_Size() int
- func (m *PromotionTask) XXX_Unmarshal(b []byte) error
- type PromotionTaskList
- func (in *PromotionTaskList) DeepCopy() *PromotionTaskList
- func (in *PromotionTaskList) DeepCopyInto(out *PromotionTaskList)
- func (in *PromotionTaskList) DeepCopyObject() runtime.Object
- func (*PromotionTaskList) Descriptor() ([]byte, []int)
- func (m *PromotionTaskList) Marshal() (dAtA []byte, err error)
- func (m *PromotionTaskList) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionTaskList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionTaskList) ProtoMessage()
- func (m *PromotionTaskList) Reset()
- func (m *PromotionTaskList) Size() (n int)
- func (this *PromotionTaskList) String() string
- func (m *PromotionTaskList) Unmarshal(dAtA []byte) error
- func (m *PromotionTaskList) XXX_DiscardUnknown()
- func (m *PromotionTaskList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionTaskList) XXX_Merge(src proto.Message)
- func (m *PromotionTaskList) XXX_Size() int
- func (m *PromotionTaskList) XXX_Unmarshal(b []byte) error
- type PromotionTaskReference
- func (in *PromotionTaskReference) DeepCopy() *PromotionTaskReference
- func (in *PromotionTaskReference) DeepCopyInto(out *PromotionTaskReference)
- func (*PromotionTaskReference) Descriptor() ([]byte, []int)
- func (m *PromotionTaskReference) Marshal() (dAtA []byte, err error)
- func (m *PromotionTaskReference) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionTaskReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionTaskReference) ProtoMessage()
- func (m *PromotionTaskReference) Reset()
- func (m *PromotionTaskReference) Size() (n int)
- func (this *PromotionTaskReference) String() string
- func (m *PromotionTaskReference) Unmarshal(dAtA []byte) error
- func (m *PromotionTaskReference) XXX_DiscardUnknown()
- func (m *PromotionTaskReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionTaskReference) XXX_Merge(src proto.Message)
- func (m *PromotionTaskReference) XXX_Size() int
- func (m *PromotionTaskReference) XXX_Unmarshal(b []byte) error
- type PromotionTaskSpec
- func (in *PromotionTaskSpec) DeepCopy() *PromotionTaskSpec
- func (in *PromotionTaskSpec) DeepCopyInto(out *PromotionTaskSpec)
- func (*PromotionTaskSpec) Descriptor() ([]byte, []int)
- func (m *PromotionTaskSpec) Marshal() (dAtA []byte, err error)
- func (m *PromotionTaskSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionTaskSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionTaskSpec) ProtoMessage()
- func (m *PromotionTaskSpec) Reset()
- func (m *PromotionTaskSpec) Size() (n int)
- func (this *PromotionTaskSpec) String() string
- func (m *PromotionTaskSpec) Unmarshal(dAtA []byte) error
- func (m *PromotionTaskSpec) XXX_DiscardUnknown()
- func (m *PromotionTaskSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionTaskSpec) XXX_Merge(src proto.Message)
- func (m *PromotionTaskSpec) XXX_Size() int
- func (m *PromotionTaskSpec) XXX_Unmarshal(b []byte) error
- type PromotionTemplate
- func (in *PromotionTemplate) DeepCopy() *PromotionTemplate
- func (in *PromotionTemplate) DeepCopyInto(out *PromotionTemplate)
- func (*PromotionTemplate) Descriptor() ([]byte, []int)
- func (m *PromotionTemplate) Marshal() (dAtA []byte, err error)
- func (m *PromotionTemplate) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionTemplate) ProtoMessage()
- func (m *PromotionTemplate) Reset()
- func (m *PromotionTemplate) Size() (n int)
- func (this *PromotionTemplate) String() string
- func (m *PromotionTemplate) Unmarshal(dAtA []byte) error
- func (m *PromotionTemplate) XXX_DiscardUnknown()
- func (m *PromotionTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionTemplate) XXX_Merge(src proto.Message)
- func (m *PromotionTemplate) XXX_Size() int
- func (m *PromotionTemplate) XXX_Unmarshal(b []byte) error
- type PromotionTemplateSpec
- func (in *PromotionTemplateSpec) DeepCopy() *PromotionTemplateSpec
- func (in *PromotionTemplateSpec) DeepCopyInto(out *PromotionTemplateSpec)
- func (*PromotionTemplateSpec) Descriptor() ([]byte, []int)
- func (m *PromotionTemplateSpec) Marshal() (dAtA []byte, err error)
- func (m *PromotionTemplateSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *PromotionTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PromotionTemplateSpec) ProtoMessage()
- func (m *PromotionTemplateSpec) Reset()
- func (m *PromotionTemplateSpec) Size() (n int)
- func (this *PromotionTemplateSpec) String() string
- func (m *PromotionTemplateSpec) Unmarshal(dAtA []byte) error
- func (m *PromotionTemplateSpec) XXX_DiscardUnknown()
- func (m *PromotionTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PromotionTemplateSpec) XXX_Merge(src proto.Message)
- func (m *PromotionTemplateSpec) XXX_Size() int
- func (m *PromotionTemplateSpec) XXX_Unmarshal(b []byte) error
- type QuayWebhookReceiverConfig
- func (in *QuayWebhookReceiverConfig) DeepCopy() *QuayWebhookReceiverConfig
- func (in *QuayWebhookReceiverConfig) DeepCopyInto(out *QuayWebhookReceiverConfig)
- func (*QuayWebhookReceiverConfig) Descriptor() ([]byte, []int)
- func (m *QuayWebhookReceiverConfig) Marshal() (dAtA []byte, err error)
- func (m *QuayWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *QuayWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuayWebhookReceiverConfig) ProtoMessage()
- func (m *QuayWebhookReceiverConfig) Reset()
- func (m *QuayWebhookReceiverConfig) Size() (n int)
- func (this *QuayWebhookReceiverConfig) String() string
- func (m *QuayWebhookReceiverConfig) Unmarshal(dAtA []byte) error
- func (m *QuayWebhookReceiverConfig) XXX_DiscardUnknown()
- func (m *QuayWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuayWebhookReceiverConfig) XXX_Merge(src proto.Message)
- func (m *QuayWebhookReceiverConfig) XXX_Size() int
- func (m *QuayWebhookReceiverConfig) XXX_Unmarshal(b []byte) error
- type RepoSubscription
- func (in *RepoSubscription) DeepCopy() *RepoSubscription
- func (in *RepoSubscription) DeepCopyInto(out *RepoSubscription)
- func (*RepoSubscription) Descriptor() ([]byte, []int)
- func (m *RepoSubscription) Marshal() (dAtA []byte, err error)
- func (m *RepoSubscription) MarshalTo(dAtA []byte) (int, error)
- func (m *RepoSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RepoSubscription) ProtoMessage()
- func (m *RepoSubscription) Reset()
- func (m *RepoSubscription) Size() (n int)
- func (this *RepoSubscription) String() string
- func (m *RepoSubscription) Unmarshal(dAtA []byte) error
- func (m *RepoSubscription) XXX_DiscardUnknown()
- func (m *RepoSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepoSubscription) XXX_Merge(src proto.Message)
- func (m *RepoSubscription) XXX_Size() int
- func (m *RepoSubscription) XXX_Unmarshal(b []byte) error
- type Stage
- func (in *Stage) DeepCopy() *Stage
- func (in *Stage) DeepCopyInto(out *Stage)
- func (in *Stage) DeepCopyObject() runtime.Object
- func (*Stage) Descriptor() ([]byte, []int)
- func (s *Stage) GetStatus() *StageStatus
- func (s *Stage) IsControlFlow() bool
- func (s *Stage) IsFreightAvailable(freight *Freight) bool
- func (m *Stage) Marshal() (dAtA []byte, err error)
- func (m *Stage) MarshalTo(dAtA []byte) (int, error)
- func (m *Stage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Stage) ProtoMessage()
- func (s *Stage) RequestsFreightFromOrigin(origin FreightOrigin) bool
- func (m *Stage) Reset()
- func (m *Stage) Size() (n int)
- func (this *Stage) String() string
- func (m *Stage) Unmarshal(dAtA []byte) error
- func (m *Stage) XXX_DiscardUnknown()
- func (m *Stage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stage) XXX_Merge(src proto.Message)
- func (m *Stage) XXX_Size() int
- func (m *Stage) XXX_Unmarshal(b []byte) error
- type StageList
- func (in *StageList) DeepCopy() *StageList
- func (in *StageList) DeepCopyInto(out *StageList)
- func (in *StageList) DeepCopyObject() runtime.Object
- func (*StageList) Descriptor() ([]byte, []int)
- func (m *StageList) Marshal() (dAtA []byte, err error)
- func (m *StageList) MarshalTo(dAtA []byte) (int, error)
- func (m *StageList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StageList) ProtoMessage()
- func (m *StageList) Reset()
- func (m *StageList) Size() (n int)
- func (this *StageList) String() string
- func (m *StageList) Unmarshal(dAtA []byte) error
- func (m *StageList) XXX_DiscardUnknown()
- func (m *StageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StageList) XXX_Merge(src proto.Message)
- func (m *StageList) XXX_Size() int
- func (m *StageList) XXX_Unmarshal(b []byte) error
- type StageSpec
- func (in *StageSpec) DeepCopy() *StageSpec
- func (in *StageSpec) DeepCopyInto(out *StageSpec)
- func (*StageSpec) Descriptor() ([]byte, []int)
- func (m *StageSpec) Marshal() (dAtA []byte, err error)
- func (m *StageSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *StageSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StageSpec) ProtoMessage()
- func (m *StageSpec) Reset()
- func (m *StageSpec) Size() (n int)
- func (this *StageSpec) String() string
- func (m *StageSpec) Unmarshal(dAtA []byte) error
- func (m *StageSpec) XXX_DiscardUnknown()
- func (m *StageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StageSpec) XXX_Merge(src proto.Message)
- func (m *StageSpec) XXX_Size() int
- func (m *StageSpec) XXX_Unmarshal(b []byte) error
- type StageStats
- func (in *StageStats) DeepCopy() *StageStats
- func (in *StageStats) DeepCopyInto(out *StageStats)
- func (*StageStats) Descriptor() ([]byte, []int)
- func (m *StageStats) Marshal() (dAtA []byte, err error)
- func (m *StageStats) MarshalTo(dAtA []byte) (int, error)
- func (m *StageStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StageStats) ProtoMessage()
- func (m *StageStats) Reset()
- func (m *StageStats) Size() (n int)
- func (this *StageStats) String() string
- func (m *StageStats) Unmarshal(dAtA []byte) error
- func (m *StageStats) XXX_DiscardUnknown()
- func (m *StageStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StageStats) XXX_Merge(src proto.Message)
- func (m *StageStats) XXX_Size() int
- func (m *StageStats) XXX_Unmarshal(b []byte) error
- type StageStatus
- func (in *StageStatus) DeepCopy() *StageStatus
- func (in *StageStatus) DeepCopyInto(out *StageStatus)
- func (*StageStatus) Descriptor() ([]byte, []int)
- func (w *StageStatus) GetConditions() []metav1.Condition
- func (s *StageStatus) GetMetadata(key string, data any) (bool, error)
- func (m *StageStatus) Marshal() (dAtA []byte, err error)
- func (m *StageStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *StageStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StageStatus) ProtoMessage()
- func (m *StageStatus) Reset()
- func (w *StageStatus) SetConditions(conditions []metav1.Condition)
- func (m *StageStatus) Size() (n int)
- func (this *StageStatus) String() string
- func (m *StageStatus) Unmarshal(dAtA []byte) error
- func (s *StageStatus) UpsertMetadata(key string, data any) error
- func (m *StageStatus) XXX_DiscardUnknown()
- func (m *StageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StageStatus) XXX_Merge(src proto.Message)
- func (m *StageStatus) XXX_Size() int
- func (m *StageStatus) XXX_Unmarshal(b []byte) error
- type StepExecutionMetadata
- func (in *StepExecutionMetadata) DeepCopy() *StepExecutionMetadata
- func (in *StepExecutionMetadata) DeepCopyInto(out *StepExecutionMetadata)
- func (*StepExecutionMetadata) Descriptor() ([]byte, []int)
- func (m *StepExecutionMetadata) Marshal() (dAtA []byte, err error)
- func (m *StepExecutionMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *StepExecutionMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StepExecutionMetadata) ProtoMessage()
- func (m *StepExecutionMetadata) Reset()
- func (m *StepExecutionMetadata) Size() (n int)
- func (this *StepExecutionMetadata) String() string
- func (m *StepExecutionMetadata) Unmarshal(dAtA []byte) error
- func (m *StepExecutionMetadata) XXX_DiscardUnknown()
- func (m *StepExecutionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StepExecutionMetadata) XXX_Merge(src proto.Message)
- func (m *StepExecutionMetadata) XXX_Size() int
- func (m *StepExecutionMetadata) XXX_Unmarshal(b []byte) error
- type StepExecutionMetadataList
- type Subscription
- func (in *Subscription) DeepCopy() *Subscription
- func (in *Subscription) DeepCopyInto(out *Subscription)
- func (*Subscription) Descriptor() ([]byte, []int)
- func (m *Subscription) Marshal() (dAtA []byte, err error)
- func (m *Subscription) MarshalTo(dAtA []byte) (int, error)
- func (m *Subscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Subscription) ProtoMessage()
- func (m *Subscription) Reset()
- func (m *Subscription) Size() (n int)
- func (this *Subscription) String() string
- func (m *Subscription) Unmarshal(dAtA []byte) error
- func (m *Subscription) XXX_DiscardUnknown()
- func (m *Subscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Subscription) XXX_Merge(src proto.Message)
- func (m *Subscription) XXX_Size() int
- func (m *Subscription) XXX_Unmarshal(b []byte) error
- type Target
- func (in *Target) DeepCopy() *Target
- func (in *Target) DeepCopyInto(out *Target)
- func (in *Target) DeepCopyObject() runtime.Object
- func (*Target) Descriptor() ([]byte, []int)
- func (t *Target) GetStatus() *TargetStatus
- func (m *Target) Marshal() (dAtA []byte, err error)
- func (m *Target) MarshalTo(dAtA []byte) (int, error)
- func (m *Target) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Target) ProtoMessage()
- func (m *Target) Reset()
- func (m *Target) Size() (n int)
- func (this *Target) String() string
- func (m *Target) Unmarshal(dAtA []byte) error
- func (m *Target) XXX_DiscardUnknown()
- func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Target) XXX_Merge(src proto.Message)
- func (m *Target) XXX_Size() int
- func (m *Target) XXX_Unmarshal(b []byte) error
- type TargetList
- func (in *TargetList) DeepCopy() *TargetList
- func (in *TargetList) DeepCopyInto(out *TargetList)
- func (in *TargetList) DeepCopyObject() runtime.Object
- func (*TargetList) Descriptor() ([]byte, []int)
- func (m *TargetList) Marshal() (dAtA []byte, err error)
- func (m *TargetList) MarshalTo(dAtA []byte) (int, error)
- func (m *TargetList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TargetList) ProtoMessage()
- func (m *TargetList) Reset()
- func (m *TargetList) Size() (n int)
- func (this *TargetList) String() string
- func (m *TargetList) Unmarshal(dAtA []byte) error
- func (m *TargetList) XXX_DiscardUnknown()
- func (m *TargetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TargetList) XXX_Merge(src proto.Message)
- func (m *TargetList) XXX_Size() int
- func (m *TargetList) XXX_Unmarshal(b []byte) error
- type TargetOwnership
- func (in *TargetOwnership) DeepCopy() *TargetOwnership
- func (in *TargetOwnership) DeepCopyInto(out *TargetOwnership)
- func (*TargetOwnership) Descriptor() ([]byte, []int)
- func (m *TargetOwnership) Marshal() (dAtA []byte, err error)
- func (m *TargetOwnership) MarshalTo(dAtA []byte) (int, error)
- func (m *TargetOwnership) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TargetOwnership) ProtoMessage()
- func (m *TargetOwnership) Reset()
- func (m *TargetOwnership) Size() (n int)
- func (this *TargetOwnership) String() string
- func (m *TargetOwnership) Unmarshal(dAtA []byte) error
- func (m *TargetOwnership) XXX_DiscardUnknown()
- func (m *TargetOwnership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TargetOwnership) XXX_Merge(src proto.Message)
- func (m *TargetOwnership) XXX_Size() int
- func (m *TargetOwnership) XXX_Unmarshal(b []byte) error
- type TargetSpec
- func (in *TargetSpec) DeepCopy() *TargetSpec
- func (in *TargetSpec) DeepCopyInto(out *TargetSpec)
- func (*TargetSpec) Descriptor() ([]byte, []int)
- func (m *TargetSpec) Marshal() (dAtA []byte, err error)
- func (m *TargetSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *TargetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TargetSpec) ProtoMessage()
- func (m *TargetSpec) Reset()
- func (m *TargetSpec) Size() (n int)
- func (this *TargetSpec) String() string
- func (m *TargetSpec) Unmarshal(dAtA []byte) error
- func (m *TargetSpec) XXX_DiscardUnknown()
- func (m *TargetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TargetSpec) XXX_Merge(src proto.Message)
- func (m *TargetSpec) XXX_Size() int
- func (m *TargetSpec) XXX_Unmarshal(b []byte) error
- type TargetStatus
- func (in *TargetStatus) DeepCopy() *TargetStatus
- func (in *TargetStatus) DeepCopyInto(out *TargetStatus)
- func (*TargetStatus) Descriptor() ([]byte, []int)
- func (t *TargetStatus) GetConditions() []metav1.Condition
- func (m *TargetStatus) Marshal() (dAtA []byte, err error)
- func (m *TargetStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *TargetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TargetStatus) ProtoMessage()
- func (m *TargetStatus) Reset()
- func (t *TargetStatus) SetConditions(conditions []metav1.Condition)
- func (m *TargetStatus) Size() (n int)
- func (this *TargetStatus) String() string
- func (m *TargetStatus) Unmarshal(dAtA []byte) error
- func (m *TargetStatus) XXX_DiscardUnknown()
- func (m *TargetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TargetStatus) XXX_Merge(src proto.Message)
- func (m *TargetStatus) XXX_Size() int
- func (m *TargetStatus) XXX_Unmarshal(b []byte) error
- type Verification
- func (in *Verification) DeepCopy() *Verification
- func (in *Verification) DeepCopyInto(out *Verification)
- func (*Verification) Descriptor() ([]byte, []int)
- func (m *Verification) Marshal() (dAtA []byte, err error)
- func (m *Verification) MarshalTo(dAtA []byte) (int, error)
- func (m *Verification) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Verification) ProtoMessage()
- func (m *Verification) Reset()
- func (m *Verification) Size() (n int)
- func (this *Verification) String() string
- func (m *Verification) Unmarshal(dAtA []byte) error
- func (m *Verification) XXX_DiscardUnknown()
- func (m *Verification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Verification) XXX_Merge(src proto.Message)
- func (m *Verification) XXX_Size() int
- func (m *Verification) XXX_Unmarshal(b []byte) error
- type VerificationInfo
- func (in *VerificationInfo) DeepCopy() *VerificationInfo
- func (in *VerificationInfo) DeepCopyInto(out *VerificationInfo)
- func (*VerificationInfo) Descriptor() ([]byte, []int)
- func (v *VerificationInfo) HasAnalysisRun() bool
- func (m *VerificationInfo) Marshal() (dAtA []byte, err error)
- func (m *VerificationInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *VerificationInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VerificationInfo) ProtoMessage()
- func (m *VerificationInfo) Reset()
- func (m *VerificationInfo) Size() (n int)
- func (this *VerificationInfo) String() string
- func (m *VerificationInfo) Unmarshal(dAtA []byte) error
- func (m *VerificationInfo) XXX_DiscardUnknown()
- func (m *VerificationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerificationInfo) XXX_Merge(src proto.Message)
- func (m *VerificationInfo) XXX_Size() int
- func (m *VerificationInfo) XXX_Unmarshal(b []byte) error
- type VerificationInfoStack
- type VerificationPhase
- type VerificationRequest
- type VerifiedStage
- func (in *VerifiedStage) DeepCopy() *VerifiedStage
- func (in *VerifiedStage) DeepCopyInto(out *VerifiedStage)
- func (*VerifiedStage) Descriptor() ([]byte, []int)
- func (m *VerifiedStage) Marshal() (dAtA []byte, err error)
- func (m *VerifiedStage) MarshalTo(dAtA []byte) (int, error)
- func (m *VerifiedStage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VerifiedStage) ProtoMessage()
- func (m *VerifiedStage) Reset()
- func (m *VerifiedStage) Size() (n int)
- func (this *VerifiedStage) String() string
- func (m *VerifiedStage) Unmarshal(dAtA []byte) error
- func (m *VerifiedStage) XXX_DiscardUnknown()
- func (m *VerifiedStage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifiedStage) XXX_Merge(src proto.Message)
- func (m *VerifiedStage) XXX_Size() int
- func (m *VerifiedStage) XXX_Unmarshal(b []byte) error
- type Warehouse
- func (in *Warehouse) DeepCopy() *Warehouse
- func (in *Warehouse) DeepCopyInto(out *Warehouse)
- func (in *Warehouse) DeepCopyObject() runtime.Object
- func (*Warehouse) Descriptor() ([]byte, []int)
- func (w *Warehouse) GetInterval(minInterval time.Duration) time.Duration
- func (w *Warehouse) GetStatus() *WarehouseStatus
- func (m *Warehouse) Marshal() (dAtA []byte, err error)
- func (m *Warehouse) MarshalTo(dAtA []byte) (int, error)
- func (m *Warehouse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Warehouse) ProtoMessage()
- func (m *Warehouse) Reset()
- func (m *Warehouse) Size() (n int)
- func (this *Warehouse) String() string
- func (m *Warehouse) Unmarshal(dAtA []byte) error
- func (m *Warehouse) XXX_DiscardUnknown()
- func (m *Warehouse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Warehouse) XXX_Merge(src proto.Message)
- func (m *Warehouse) XXX_Size() int
- func (m *Warehouse) XXX_Unmarshal(b []byte) error
- type WarehouseList
- func (in *WarehouseList) DeepCopy() *WarehouseList
- func (in *WarehouseList) DeepCopyInto(out *WarehouseList)
- func (in *WarehouseList) DeepCopyObject() runtime.Object
- func (*WarehouseList) Descriptor() ([]byte, []int)
- func (m *WarehouseList) Marshal() (dAtA []byte, err error)
- func (m *WarehouseList) MarshalTo(dAtA []byte) (int, error)
- func (m *WarehouseList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WarehouseList) ProtoMessage()
- func (m *WarehouseList) Reset()
- func (m *WarehouseList) Size() (n int)
- func (this *WarehouseList) String() string
- func (m *WarehouseList) Unmarshal(dAtA []byte) error
- func (m *WarehouseList) XXX_DiscardUnknown()
- func (m *WarehouseList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WarehouseList) XXX_Merge(src proto.Message)
- func (m *WarehouseList) XXX_Size() int
- func (m *WarehouseList) XXX_Unmarshal(b []byte) error
- type WarehouseSpec
- func (in *WarehouseSpec) DeepCopy() *WarehouseSpec
- func (in *WarehouseSpec) DeepCopyInto(out *WarehouseSpec)
- func (*WarehouseSpec) Descriptor() ([]byte, []int)
- func (m *WarehouseSpec) Marshal() (dAtA []byte, err error)
- func (w WarehouseSpec) MarshalJSON() ([]byte, error)
- func (m *WarehouseSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *WarehouseSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WarehouseSpec) ProtoMessage()
- func (m *WarehouseSpec) Reset()
- func (m *WarehouseSpec) Size() (n int)
- func (this *WarehouseSpec) String() string
- func (m *WarehouseSpec) Unmarshal(dAtA []byte) error
- func (w *WarehouseSpec) UnmarshalJSON(data []byte) error
- func (m *WarehouseSpec) XXX_DiscardUnknown()
- func (m *WarehouseSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WarehouseSpec) XXX_Merge(src proto.Message)
- func (m *WarehouseSpec) XXX_Size() int
- func (m *WarehouseSpec) XXX_Unmarshal(b []byte) error
- type WarehouseStats
- func (in *WarehouseStats) DeepCopy() *WarehouseStats
- func (in *WarehouseStats) DeepCopyInto(out *WarehouseStats)
- func (*WarehouseStats) Descriptor() ([]byte, []int)
- func (m *WarehouseStats) Marshal() (dAtA []byte, err error)
- func (m *WarehouseStats) MarshalTo(dAtA []byte) (int, error)
- func (m *WarehouseStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WarehouseStats) ProtoMessage()
- func (m *WarehouseStats) Reset()
- func (m *WarehouseStats) Size() (n int)
- func (this *WarehouseStats) String() string
- func (m *WarehouseStats) Unmarshal(dAtA []byte) error
- func (m *WarehouseStats) XXX_DiscardUnknown()
- func (m *WarehouseStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WarehouseStats) XXX_Merge(src proto.Message)
- func (m *WarehouseStats) XXX_Size() int
- func (m *WarehouseStats) XXX_Unmarshal(b []byte) error
- type WarehouseStatus
- func (in *WarehouseStatus) DeepCopy() *WarehouseStatus
- func (in *WarehouseStatus) DeepCopyInto(out *WarehouseStatus)
- func (*WarehouseStatus) Descriptor() ([]byte, []int)
- func (w *WarehouseStatus) GetConditions() []metav1.Condition
- func (m *WarehouseStatus) Marshal() (dAtA []byte, err error)
- func (m *WarehouseStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *WarehouseStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WarehouseStatus) ProtoMessage()
- func (m *WarehouseStatus) Reset()
- func (w *WarehouseStatus) SetConditions(conditions []metav1.Condition)
- func (m *WarehouseStatus) Size() (n int)
- func (this *WarehouseStatus) String() string
- func (m *WarehouseStatus) Unmarshal(dAtA []byte) error
- func (m *WarehouseStatus) XXX_DiscardUnknown()
- func (m *WarehouseStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WarehouseStatus) XXX_Merge(src proto.Message)
- func (m *WarehouseStatus) XXX_Size() int
- func (m *WarehouseStatus) XXX_Unmarshal(b []byte) error
- type WebhookReceiverConfig
- func (in *WebhookReceiverConfig) DeepCopy() *WebhookReceiverConfig
- func (in *WebhookReceiverConfig) DeepCopyInto(out *WebhookReceiverConfig)
- func (*WebhookReceiverConfig) Descriptor() ([]byte, []int)
- func (m *WebhookReceiverConfig) Marshal() (dAtA []byte, err error)
- func (m *WebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *WebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WebhookReceiverConfig) ProtoMessage()
- func (m *WebhookReceiverConfig) Reset()
- func (m *WebhookReceiverConfig) Size() (n int)
- func (this *WebhookReceiverConfig) String() string
- func (m *WebhookReceiverConfig) Unmarshal(dAtA []byte) error
- func (m *WebhookReceiverConfig) XXX_DiscardUnknown()
- func (m *WebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WebhookReceiverConfig) XXX_Merge(src proto.Message)
- func (m *WebhookReceiverConfig) XXX_Size() int
- func (m *WebhookReceiverConfig) XXX_Unmarshal(b []byte) error
- type WebhookReceiverDetails
- func (in *WebhookReceiverDetails) DeepCopy() *WebhookReceiverDetails
- func (in *WebhookReceiverDetails) DeepCopyInto(out *WebhookReceiverDetails)
- func (*WebhookReceiverDetails) Descriptor() ([]byte, []int)
- func (m *WebhookReceiverDetails) Marshal() (dAtA []byte, err error)
- func (m *WebhookReceiverDetails) MarshalTo(dAtA []byte) (int, error)
- func (m *WebhookReceiverDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WebhookReceiverDetails) ProtoMessage()
- func (m *WebhookReceiverDetails) Reset()
- func (m *WebhookReceiverDetails) Size() (n int)
- func (this *WebhookReceiverDetails) String() string
- func (m *WebhookReceiverDetails) Unmarshal(dAtA []byte) error
- func (m *WebhookReceiverDetails) XXX_DiscardUnknown()
- func (m *WebhookReceiverDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WebhookReceiverDetails) XXX_Merge(src proto.Message)
- func (m *WebhookReceiverDetails) XXX_Size() int
- func (m *WebhookReceiverDetails) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // AnnotationKeyCreateActor is an annotation key that can be injected to a // resource by the Kargo control plane to indicate the actor that created // the resource. AnnotationKeyCreateActor = "kargo.akuity.io/create-actor" // AnnotationKeyAutoPromotionHold is an annotation key set on a Promotion // when the promoted Freight is not the current auto-promotion candidate for // that origin. The Stage controller uses this to establish an auto-promotion // hold for the origin. The value is the canonical origin key (e.g. // "Warehouse/foo"). AnnotationKeyAutoPromotionHold = "kargo.akuity.io/auto-promotion-hold" // AnnotationKeyAutoPromotionResume is an annotation key set on a // Promotion when the promoted Freight is the current auto-promotion candidate // for that origin. The Stage controller uses a succeeded Promotion with this // annotation to clear an active hold for the origin. The value is the // canonical origin key (e.g. "Warehouse/foo"). AnnotationKeyAutoPromotionResume = "kargo.akuity.io/auto-promotion-resume" // 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 one or more Stages are authorized to manage it. // The value of the annotation is a comma-separated list of // "<project>:<stage>" entries. A single "<project>:<stage>" value is also // valid and authorizes exactly one 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" // AnnotationKeyRollback is an annotation key that can be set on a Promotion // to indicate that it was created as a rollback to a previously verified // piece of Freight. AnnotationKeyRollback = "kargo.akuity.io/rollback" // AnnotationKeyGitHubTokenScope is the key for an annotation that can // optionally be added to any Secret resources that represents a GitHub App // installation in order to limit the scope of the installation access tokens // that are issued as-needed to specific Kargo Projects. // // If present, the annotation's value must be a string representation of a // JSON object mapping Project names to lists of allowed scopes (repository // names). // // For example to limit tokens issued to Project kargo-demo-1 to scopes repo-a // and repo-b only and limit tokens issued to kargo-demo-2 to scope repo-c // only: // // `{"kargo-demo-1": ["repo-a", "repo-b"], "kargo-demo-2": ["repo-c"]}` // // ALL OTHER PROJECTS WOULD EFFECTIVELY BE UNABLE TO OBTAIN AN INSTALLATION // TOKEN AT ALL. // // This annotation has an effect only when present. i.e. If not present, the // scopes available to every Project are unconstrained. If the annotation is // present, with an invalid value (not well-formed JSON), NO Project will be // able to obtain an installation token. // // #nosec G101 -- This is not a credential, just an annotation key name. AnnotationKeyGitHubTokenScope = "kargo.akuity.io/github-token-scopes" // AnnotationKeyReplicateTo is an annotation key that can be set on a resource // in the shared resources namespace to indicate that it should be replicated // to other namespaces. The only supported value is "*", which replicates the // to all Project namespaces. AnnotationKeyReplicateTo = "kargo.akuity.io/replicate-to" // AnnotationValueReplicateToAll is the annotation value for // AnnotationKeyReplicateTo that causes a resource to be replicated to all // Project namespaces. AnnotationValueReplicateToAll = "*" // AnnotationKeyReplicatedAt is set on replicated resources to record the // UTC timestamp of the most recent replication. AnnotationKeyReplicatedAt = "kargo.akuity.io/replicated-at" )
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" // ConditionTypeFreightCreationCriteriaSatisfied denotes that the criteria for // creating Freight from discovered artifacts in a Warehouse have been // satisfied. // // This is a "normal-true" or "positive polarity" condition, meaning that // the presence of the condition with a status of "True" indicates that // the criteria have been satisfied, and the absence of the condition or // a status of "False" indicates that the criteria have not been satisfied. ConditionTypeFreightCreationCriteriaSatisfied = "FreightCreationCriteriaSatisfied" // ConditionTypeFreightCreated denotes that new Freight has been automatically // created from discovered artifacts. // // This is a "normal-true" or "positive polarity" condition, meaning that // the presence of the condition with a status of "True" indicates that // the criteria have been satisfied, and the absence of the condition or // a status of "False" indicates that no new Freight was created. ConditionTypeFreightCreated = "FreightCreated" )
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" AnnotationKeyEventFreightWarehouseName = AnnotationKeyEventPrefix + "freight-warehouse-name" AnnotationKeyEventFreightCommits = AnnotationKeyEventPrefix + "freight-commits" AnnotationKeyEventFreightImages = AnnotationKeyEventPrefix + "freight-images" AnnotationKeyEventFreightCharts = AnnotationKeyEventPrefix + "freight-charts" AnnotationKeyEventFreightArtifacts = AnnotationKeyEventPrefix + "freight-artifacts" 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" )
const ( EventActorAdmin = "admin" EventActorControllerPrefix = "controller:" EventActorEmailPrefix = "email:" EventActorSubjectPrefix = "subject:" EventActorKubernetesUserPrefix = "kubernetes:" EventActorUnknown = "unknown actor" )
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" // LabelKeyController is used to identify the controller associated with a // resource. This is only used for heartbeat leases at the moment, but it // could be used more broadly in the future. LabelKeyController = "kargo.akuity.io/controller" // 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" // LabelKeyReplicatedFrom is a label key set on replicated resources to // identify the name of the source resource in the shared resources namespace. LabelKeyReplicatedFrom = "kargo.akuity.io/replicated-from" // LabelKeyReplicatedSHA is a label key set on replicated resources to record // the 16-character truncated SHA-256 hash of the source resource's data at // the time it was last replicated. This is used to optimize whether updates // to replicated resources are needed. LabelKeyReplicatedSHA = "kargo.akuity.io/replicated-sha" )
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{ Group: "kargo.akuity.io", Version: "v1alpha1", } // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
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 ¶
func (r *AbortPromotionRequest) Equals(other *AbortPromotionRequest) bool
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 ¶
func (in *AnalysisRunReference) DeepCopy() *AnalysisRunReference
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 ¶
func (in *AnalysisTemplateReference) DeepCopy() *AnalysisTemplateReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisTemplateReference.
func (*AnalysisTemplateReference) DeepCopyInto ¶
func (in *AnalysisTemplateReference) DeepCopyInto(out *AnalysisTemplateReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AnalysisTemplateReference) Descriptor ¶
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) 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 ¶
func (in *ArgoCDAppHealthStatus) DeepCopy() *ArgoCDAppHealthStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDAppHealthStatus.
func (*ArgoCDAppHealthStatus) DeepCopyInto ¶
func (in *ArgoCDAppHealthStatus) DeepCopyInto(out *ArgoCDAppHealthStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDAppHealthStatus) Descriptor ¶
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) 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 ArtifactReference ¶
type ArtifactReference struct {
// ArtifactType specifies the type of artifact this is. Often, but not always,
// it will be the media type (MIME type) of the artifact referenced by this
// ArtifactReference.
//
// +kubebuilder:validation:MinLength=1
ArtifactType string `json:"artifactType,omitempty" protobuf:"bytes,1,opt,name=artifactType"`
// SubscriptionName is the name of the Subscription that discovered this
// artifact.
//
// +kubebuilder:validation:MinLength=1
SubscriptionName string `json:"subscriptionName" protobuf:"bytes,2,opt,name=subscriptionName"`
// Version identifies a specific revision of this artifact.
//
// +kubebuilder:validation:MinLength=1
Version string `json:"version" protobuf:"bytes,3,opt,name=version"`
// Metadata is a JSON object containing a mostly opaque collection of artifact
// attributes. (It must be an object. It may not be a list or a scalar value.)
// "Mostly" because Kargo may understand how to interpret some documented,
// well-known, top-level keys. Those aside, this metadata is only understood
// by a corresponding Subscriber implementation that created it.
//
// +optional
Metadata *apiextensionsv1.JSON `json:"metadata,omitempty" protobuf:"bytes,4,opt,name=metadata"`
}
ArtifactReference is a reference to a specific version of an artifact.
func (*ArtifactReference) DeepCopy ¶
func (in *ArtifactReference) DeepCopy() *ArtifactReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactReference.
func (*ArtifactReference) DeepCopyInto ¶
func (in *ArtifactReference) DeepCopyInto(out *ArtifactReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArtifactReference) DeepEquals ¶
func (g *ArtifactReference) DeepEquals( other *ArtifactReference, ) bool
DeepEquals returns a bool indicating whether the receiver deep-equals the provided ArtifactReference. I.e., all relevant fields must be equal.
func (*ArtifactReference) Descriptor ¶
func (*ArtifactReference) Descriptor() ([]byte, []int)
func (*ArtifactReference) Marshal ¶
func (m *ArtifactReference) Marshal() (dAtA []byte, err error)
func (*ArtifactReference) MarshalTo ¶
func (m *ArtifactReference) MarshalTo(dAtA []byte) (int, error)
func (*ArtifactReference) MarshalToSizedBuffer ¶
func (m *ArtifactReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArtifactReference) ProtoMessage ¶
func (*ArtifactReference) ProtoMessage()
func (*ArtifactReference) Reset ¶
func (m *ArtifactReference) Reset()
func (*ArtifactReference) Size ¶
func (m *ArtifactReference) Size() (n int)
func (*ArtifactReference) String ¶
func (this *ArtifactReference) String() string
func (*ArtifactReference) Unmarshal ¶
func (m *ArtifactReference) Unmarshal(dAtA []byte) error
func (*ArtifactReference) XXX_DiscardUnknown ¶
func (m *ArtifactReference) XXX_DiscardUnknown()
func (*ArtifactReference) XXX_Marshal ¶
func (m *ArtifactReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArtifactReference) XXX_Merge ¶
func (m *ArtifactReference) XXX_Merge(src proto.Message)
func (*ArtifactReference) XXX_Size ¶
func (m *ArtifactReference) XXX_Size() int
func (*ArtifactReference) XXX_Unmarshal ¶
func (m *ArtifactReference) 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 "system resources" 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"`
// VirtualRepoName is the name of an Artifactory virtual repository.
//
// When unspecified, the Artifactory webhook receiver depends on the value of
// the webhook payload's `data.repo_key` field when inferring the URL of the
// repository from which the webhook originated, which will always be an
// Artifactory "local repository." In cases where a Warehouse subscribes to
// such a repository indirectly via a "virtual repository," there will be a
// discrepancy between the inferred (local) repository URL and the URL
// actually used by the subscription, which can prevent the receiver from
// identifying such a Warehouse as one in need of refreshing. When specified,
// the value of the VirtualRepoName field supersedes the value of the webhook
// payload's `data.repo_key` field to compensate for that discrepancy.
//
// In practice, when using virtual repositories, a separate Artifactory
// webhook receiver should be configured for each, but one such receiver can
// handle inbound webhooks from any number of local repositories that are
// aggregated by that virtual repository. For example, if a virtual repository
// `proj-virtual` aggregates container images from all of the `proj`
// Artifactory project's local image repositories, with a single webhook
// configured to post to a single receiver configured for the `proj-virtual`
// virtual repository, an image pushed to
// `example.frog.io/proj-<local-repo-name>/<path>/image`, will cause that
// receiver to refresh all Warehouses subscribed to
// `example.frog.io/proj-virtual/<path>/image`.
//
// +optional
VirtualRepoName string `json:"virtualRepoName,omitempty" protobuf:"bytes,2,opt,name=virtualRepoName"`
}
ArtifactoryWebhookReceiverConfig describes a webhook receiver that is compatible with JFrog Artifactory payloads.
func (*ArtifactoryWebhookReceiverConfig) DeepCopy ¶
func (in *ArtifactoryWebhookReceiverConfig) DeepCopy() *ArtifactoryWebhookReceiverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactoryWebhookReceiverConfig.
func (*ArtifactoryWebhookReceiverConfig) DeepCopyInto ¶
func (in *ArtifactoryWebhookReceiverConfig) DeepCopyInto(out *ArtifactoryWebhookReceiverConfig)
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 (m *ArtifactoryWebhookReceiverConfig) Reset()
func (*ArtifactoryWebhookReceiverConfig) Size ¶
func (m *ArtifactoryWebhookReceiverConfig) Size() (n int)
func (*ArtifactoryWebhookReceiverConfig) String ¶
func (this *ArtifactoryWebhookReceiverConfig) String() 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 (m *ArtifactoryWebhookReceiverConfig) XXX_Merge(src proto.Message)
func (*ArtifactoryWebhookReceiverConfig) XXX_Size ¶
func (m *ArtifactoryWebhookReceiverConfig) XXX_Size() int
func (*ArtifactoryWebhookReceiverConfig) XXX_Unmarshal ¶
func (m *ArtifactoryWebhookReceiverConfig) XXX_Unmarshal(b []byte) error
type AutoPromotionHold ¶
type AutoPromotionHold struct {
// FreightName is the name of the Freight selected when the hold was created.
FreightName string `json:"freightName" protobuf:"bytes,1,opt,name=freightName"`
// Origin describes the FreightOrigin pinned by this hold. It matches the
// enclosing map key.
Origin FreightOrigin `json:"origin" protobuf:"bytes,2,opt,name=origin"`
// PromotionName is the name of the Promotion that established this hold.
// Stored here as a paper trail that survives Promotion garbage collection.
PromotionName string `json:"promotionName,omitempty" protobuf:"bytes,3,opt,name=promotionName"`
// Actor identifies the user who triggered the hold.
Actor string `json:"actor,omitempty" protobuf:"bytes,4,opt,name=actor"`
// CreatedAt is the creation timestamp of the Promotion that established this
// hold.
CreatedAt *metav1.Time `json:"createdAt,omitempty" protobuf:"bytes,5,opt,name=createdAt"`
}
AutoPromotionHold is a value in the AutoPromotionHolds map. It records the details of the Promotion that established the hold.
func (*AutoPromotionHold) DeepCopy ¶
func (in *AutoPromotionHold) DeepCopy() *AutoPromotionHold
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoPromotionHold.
func (*AutoPromotionHold) DeepCopyInto ¶
func (in *AutoPromotionHold) DeepCopyInto(out *AutoPromotionHold)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AutoPromotionHold) Descriptor ¶
func (*AutoPromotionHold) Descriptor() ([]byte, []int)
func (*AutoPromotionHold) Marshal ¶
func (m *AutoPromotionHold) Marshal() (dAtA []byte, err error)
func (*AutoPromotionHold) MarshalTo ¶
func (m *AutoPromotionHold) MarshalTo(dAtA []byte) (int, error)
func (*AutoPromotionHold) MarshalToSizedBuffer ¶
func (m *AutoPromotionHold) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AutoPromotionHold) ProtoMessage ¶
func (*AutoPromotionHold) ProtoMessage()
func (*AutoPromotionHold) Reset ¶
func (m *AutoPromotionHold) Reset()
func (*AutoPromotionHold) Size ¶
func (m *AutoPromotionHold) Size() (n int)
func (*AutoPromotionHold) String ¶
func (this *AutoPromotionHold) String() string
func (*AutoPromotionHold) Unmarshal ¶
func (m *AutoPromotionHold) Unmarshal(dAtA []byte) error
func (*AutoPromotionHold) XXX_DiscardUnknown ¶
func (m *AutoPromotionHold) XXX_DiscardUnknown()
func (*AutoPromotionHold) XXX_Marshal ¶
func (m *AutoPromotionHold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AutoPromotionHold) XXX_Merge ¶
func (m *AutoPromotionHold) XXX_Merge(src proto.Message)
func (*AutoPromotionHold) XXX_Size ¶
func (m *AutoPromotionHold) XXX_Size() int
func (*AutoPromotionHold) XXX_Unmarshal ¶
func (m *AutoPromotionHold) XXX_Unmarshal(b []byte) error
type AutoPromotionOptions ¶
type AutoPromotionOptions struct {
// SelectionPolicy specifies the rules for identifying new Freight that is
// eligible for auto-promotion to this Stage. This field is optional. When
// left unspecified, the field is implicitly treated as if its value were
// "NewestFreight".
//
// Accepted Values:
//
// - "NewestFreight": The newest Freight that is available to the Stage is
// eligible for auto-promotion.
//
// - "MatchUpstream": Only the Freight currently used immediately upstream
// from this Stage is eligible for auto-promotion. This policy may only
// be applied when the Stage has exactly one upstream Stage.
SelectionPolicy AutoPromotionSelectionPolicy `json:"selectionPolicy,omitempty" protobuf:"bytes,1,opt,name=selectionPolicy"`
}
AutoPromotionOptions specifies options pertaining to auto-promotion.
func (*AutoPromotionOptions) DeepCopy ¶
func (in *AutoPromotionOptions) DeepCopy() *AutoPromotionOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoPromotionOptions.
func (*AutoPromotionOptions) DeepCopyInto ¶
func (in *AutoPromotionOptions) DeepCopyInto(out *AutoPromotionOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AutoPromotionOptions) Descriptor ¶
func (*AutoPromotionOptions) Descriptor() ([]byte, []int)
func (*AutoPromotionOptions) Marshal ¶
func (m *AutoPromotionOptions) Marshal() (dAtA []byte, err error)
func (*AutoPromotionOptions) MarshalTo ¶
func (m *AutoPromotionOptions) MarshalTo(dAtA []byte) (int, error)
func (*AutoPromotionOptions) MarshalToSizedBuffer ¶
func (m *AutoPromotionOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AutoPromotionOptions) ProtoMessage ¶
func (*AutoPromotionOptions) ProtoMessage()
func (*AutoPromotionOptions) Reset ¶
func (m *AutoPromotionOptions) Reset()
func (*AutoPromotionOptions) Size ¶
func (m *AutoPromotionOptions) Size() (n int)
func (*AutoPromotionOptions) String ¶
func (this *AutoPromotionOptions) String() string
func (*AutoPromotionOptions) Unmarshal ¶
func (m *AutoPromotionOptions) Unmarshal(dAtA []byte) error
func (*AutoPromotionOptions) XXX_DiscardUnknown ¶
func (m *AutoPromotionOptions) XXX_DiscardUnknown()
func (*AutoPromotionOptions) XXX_Marshal ¶
func (m *AutoPromotionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AutoPromotionOptions) XXX_Merge ¶
func (m *AutoPromotionOptions) XXX_Merge(src proto.Message)
func (*AutoPromotionOptions) XXX_Size ¶
func (m *AutoPromotionOptions) XXX_Size() int
func (*AutoPromotionOptions) XXX_Unmarshal ¶
func (m *AutoPromotionOptions) XXX_Unmarshal(b []byte) error
type AutoPromotionSelectionPolicy ¶
type AutoPromotionSelectionPolicy string
AutoPromotionSelectionPolicy specifies the rules for identifying new Freight that is eligible for auto-promotion to this Stage.
+kubebuilder:validation:Enum={NewestFreight,MatchUpstream}
const ( // AutoPromotionSelectionPolicyNewestFreight represents an auto-promotion // selection policy in which the newest Freight that is available to the Stage // is eligible for auto-promotion. AutoPromotionSelectionPolicyNewestFreight AutoPromotionSelectionPolicy = "NewestFreight" // AutoPromotionSelectionPolicyMatchUpstream represents an auto-promotion // selection policy in which only the Freight currently used immediately // upstream from this Stage is eligible for auto-promotion. This policy may // only be applied when the Stage has exactly one upstream Stage. AutoPromotionSelectionPolicyMatchUpstream AutoPromotionSelectionPolicy = "MatchUpstream" )
type AutoRollbackConfig ¶
type AutoRollbackConfig struct {
// OnPromotion is the list of terminal Promotion phases that should trigger
// an automated rollback. Only Failed and Errored are accepted. Note that
// unsuccessful promotions (as opposed to unsuccessful verifications) may not
// necessarily indicate a problem with the Freight, since promotions might fail
// due to transient issues with the deployment itself (network, credential
// expirations, etc...). Defaults to [].
//
// +optional
// +listType=set
// +kubebuilder:validation:MaxItems=2
// +kubebuilder:validation:XValidation:message="onPromotion[0] must be Failed or Errored",rule="self.size() == 0 || self[0] == 'Failed' || self[0] == 'Errored'"
// +kubebuilder:validation:XValidation:message="onPromotion[1] must be Failed or Errored",rule="self.size() <= 1 || self[1] == 'Failed' || self[1] == 'Errored'"
OnPromotion []PromotionPhase `json:"onPromotion,omitempty" protobuf:"bytes,1,rep,name=onPromotion"`
// OnVerification is the list of terminal verification phases that should
// trigger an automated rollback. Only Failed and Error are accepted (note:
// "Error", not "Errored" as in onPromotion). When absent or empty,
// defaults to [Failed].
//
// +optional
// +listType=set
// +kubebuilder:validation:MaxItems=2
// +kubebuilder:validation:XValidation:message="onVerification[0] must be Failed or Error",rule="self.size() == 0 || self[0] == 'Failed' || self[0] == 'Error'"
// +kubebuilder:validation:XValidation:message="onVerification[1] must be Failed or Error",rule="self.size() <= 1 || self[1] == 'Failed' || self[1] == 'Error'"
OnVerification []VerificationPhase `json:"onVerification,omitempty" protobuf:"bytes,2,rep,name=onVerification"`
}
AutoRollbackConfig describes the conditions under which a Stage should automatically roll back to the last known-good (verified) Freight.
func (*AutoRollbackConfig) DeepCopy ¶
func (in *AutoRollbackConfig) DeepCopy() *AutoRollbackConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoRollbackConfig.
func (*AutoRollbackConfig) DeepCopyInto ¶
func (in *AutoRollbackConfig) DeepCopyInto(out *AutoRollbackConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AutoRollbackConfig) Descriptor ¶
func (*AutoRollbackConfig) Descriptor() ([]byte, []int)
func (*AutoRollbackConfig) Marshal ¶
func (m *AutoRollbackConfig) Marshal() (dAtA []byte, err error)
func (*AutoRollbackConfig) MarshalTo ¶
func (m *AutoRollbackConfig) MarshalTo(dAtA []byte) (int, error)
func (*AutoRollbackConfig) MarshalToSizedBuffer ¶
func (m *AutoRollbackConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AutoRollbackConfig) ProtoMessage ¶
func (*AutoRollbackConfig) ProtoMessage()
func (*AutoRollbackConfig) Reset ¶
func (m *AutoRollbackConfig) Reset()
func (*AutoRollbackConfig) Size ¶
func (m *AutoRollbackConfig) Size() (n int)
func (*AutoRollbackConfig) String ¶
func (this *AutoRollbackConfig) String() string
func (*AutoRollbackConfig) Unmarshal ¶
func (m *AutoRollbackConfig) Unmarshal(dAtA []byte) error
func (*AutoRollbackConfig) XXX_DiscardUnknown ¶
func (m *AutoRollbackConfig) XXX_DiscardUnknown()
func (*AutoRollbackConfig) XXX_Marshal ¶
func (m *AutoRollbackConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AutoRollbackConfig) XXX_Merge ¶
func (m *AutoRollbackConfig) XXX_Merge(src proto.Message)
func (*AutoRollbackConfig) XXX_Size ¶
func (m *AutoRollbackConfig) XXX_Size() int
func (*AutoRollbackConfig) XXX_Unmarshal ¶
func (m *AutoRollbackConfig) 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 "system resources" 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 ¶
func (in *AzureWebhookReceiverConfig) DeepCopy() *AzureWebhookReceiverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureWebhookReceiverConfig.
func (*AzureWebhookReceiverConfig) DeepCopyInto ¶
func (in *AzureWebhookReceiverConfig) DeepCopyInto(out *AzureWebhookReceiverConfig)
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 "system resources" 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 ¶
func (in *BitbucketWebhookReceiverConfig) DeepCopy() *BitbucketWebhookReceiverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketWebhookReceiverConfig.
func (*BitbucketWebhookReceiverConfig) DeepCopyInto ¶
func (in *BitbucketWebhookReceiverConfig) DeepCopyInto(out *BitbucketWebhookReceiverConfig)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Chart.
func (*Chart) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Chart) DeepEquals ¶
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) ProtoMessage ¶
func (*Chart) ProtoMessage()
func (*Chart) XXX_DiscardUnknown ¶
func (m *Chart) XXX_DiscardUnknown()
func (*Chart) XXX_Marshal ¶
func (*Chart) XXX_Unmarshal ¶
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 ¶
func (in *ChartDiscoveryResult) DeepCopy() *ChartDiscoveryResult
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 {
// 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. The upper limit for this field is 100.
DiscoveryLimit int64 `json:"discoveryLimit,omitempty"`
// 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"`
// 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"`
// 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. This field is
// required.
RepoURL string `json:"repoURL"`
// SemverConstraint specifies constraints on what new chart versions are permissible. 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.
SemverConstraint string `json:"semverConstraint,omitempty"`
}
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) 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"`
// GitClient describes cluster-level configuration for Kargo's Git client,
// including committer identity and an optional signing key. If set, these
// values take precedence over any configuration provided at install time
// via the Helm chart.
// +optional
GitClient *GitClientConfig `json:"gitClient,omitempty" protobuf:"bytes,2,opt,name=gitClient"`
// FreightLinks defines deep links shown when viewing any Freight resource
// across all projects in the cluster. Project-level FreightLinks defined
// in ProjectConfig are shown in addition to these.
//
// +optional
FreightLinks []DeepLink `json:"freightLinks,omitempty" protobuf:"bytes,3,rep,name=freightLinks"`
// StageLinks defines deep links shown when viewing any Stage resource
// across all projects in the cluster. Project-level StageLinks defined in
// ProjectConfig are shown in addition to these.
//
// +optional
StageLinks []DeepLink `json:"stageLinks,omitempty" protobuf:"bytes,4,rep,name=stageLinks"`
}
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 ¶
func (in *ClusterPromotionTask) DeepCopy() *ClusterPromotionTask
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 ¶
func (in *ClusterPromotionTaskList) DeepCopy() *ClusterPromotionTaskList
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
CommitSelectionStrategy specifies the rules for how to identify the newest commit of interest in the repository specified by the RepoURL field.
const ( CommitSelectionStrategyLexical CommitSelectionStrategy = "Lexical" CommitSelectionStrategySemVer CommitSelectionStrategy = "SemVer" CommitSelectionStrategyNewestFromBranch CommitSelectionStrategy = "NewestFromBranch" CommitSelectionStrategyNewestTag CommitSelectionStrategy = "NewestTag" )
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) 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 DeepLink ¶
type DeepLink struct {
// Title is the display label for the link.
//
// +kubebuilder:validation:MinLength=1
Title string `json:"title" protobuf:"bytes,1,opt,name=title"`
// URL is an expression that resolves to the link's href.
//
// +kubebuilder:validation:MinLength=1
URL string `json:"url" protobuf:"bytes,2,opt,name=url"`
// Description is an optional human-readable summary shown alongside the
// link.
//
// +optional
Description string `json:"description,omitempty" protobuf:"bytes,3,opt,name=description"`
// If is an optional expression condition. When set, the link is only shown
// when the expression evaluates to true.
//
// +optional
If string `json:"if,omitempty" protobuf:"bytes,4,opt,name=if"`
}
DeepLink defines a configurable external link that is rendered in the UI when viewing a Freight or Stage resource. The URL is an expression evaluated against the resource. The optional If field is an expression condition; when set, the link is only shown when the expression evaluates to true.
func (*DeepLink) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeepLink.
func (*DeepLink) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeepLink) Descriptor ¶
func (*DeepLink) MarshalToSizedBuffer ¶
func (*DeepLink) ProtoMessage ¶
func (*DeepLink) ProtoMessage()
func (*DeepLink) XXX_DiscardUnknown ¶
func (m *DeepLink) XXX_DiscardUnknown()
func (*DeepLink) XXX_Marshal ¶
func (*DeepLink) XXX_Unmarshal ¶
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"`
// Results holds the artifact references discovered by the Warehouse.
//
// +optional
Results []DiscoveryResult `json:"results,omitempty" protobuf:"bytes,5,rep,name=results"`
}
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) 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 ¶
func (in *DiscoveredImageReference) DeepCopy() *DiscoveredImageReference
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 DiscoveredRef ¶
type DiscoveredRef struct {
// Name is the short name of the ref (e.g. a tag name such as "v1.2.3"),
// without its "refs/tags/" or "refs/heads/" prefix.
//
// +kubebuilder:validation:MinLength=1
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
// ID is the identifier of the object the ref points to, typically a SHA-1
// hash. For an annotated tag this is the tag object's ID, not the commit it
// dereferences to, because the value is obtained via git ls-remote --refs.
// This is immaterial to its sole use -- change detection -- since the value
// moves whenever the ref is re-pointed and is only ever compared against
// other values obtained the same way.
//
// +kubebuilder:validation:MinLength=1
ID string `json:"id" protobuf:"bytes,2,opt,name=id"`
}
DiscoveredRef pairs a Git ref name with the ID of the object it resolves to.
func (*DiscoveredRef) DeepCopy ¶
func (in *DiscoveredRef) DeepCopy() *DiscoveredRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveredRef.
func (*DiscoveredRef) DeepCopyInto ¶
func (in *DiscoveredRef) DeepCopyInto(out *DiscoveredRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DiscoveredRef) Descriptor ¶
func (*DiscoveredRef) Descriptor() ([]byte, []int)
func (*DiscoveredRef) Marshal ¶
func (m *DiscoveredRef) Marshal() (dAtA []byte, err error)
func (*DiscoveredRef) MarshalToSizedBuffer ¶
func (m *DiscoveredRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DiscoveredRef) ProtoMessage ¶
func (*DiscoveredRef) ProtoMessage()
func (*DiscoveredRef) Reset ¶
func (m *DiscoveredRef) Reset()
func (*DiscoveredRef) Size ¶
func (m *DiscoveredRef) Size() (n int)
func (*DiscoveredRef) String ¶
func (this *DiscoveredRef) String() string
func (*DiscoveredRef) Unmarshal ¶
func (m *DiscoveredRef) Unmarshal(dAtA []byte) error
func (*DiscoveredRef) XXX_DiscardUnknown ¶
func (m *DiscoveredRef) XXX_DiscardUnknown()
func (*DiscoveredRef) XXX_Marshal ¶
func (m *DiscoveredRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscoveredRef) XXX_Merge ¶
func (m *DiscoveredRef) XXX_Merge(src proto.Message)
func (*DiscoveredRef) XXX_Size ¶
func (m *DiscoveredRef) XXX_Size() int
func (*DiscoveredRef) XXX_Unmarshal ¶
func (m *DiscoveredRef) XXX_Unmarshal(b []byte) error
type DiscoveryResult ¶
type DiscoveryResult struct {
// SubscriptionName is the name of the Subscription that discovered these
// results.
//
// +kubebuilder:validation:MinLength=1
SubscriptionName string `json:"name" protobuf:"bytes,3,opt,name=name"`
// ArtifactReferences is a list of references to specific versions of an
// artifact.
//
// +optional
ArtifactReferences []ArtifactReference `json:"artifactReferences" protobuf:"bytes,2,rep,name=artifactReferences"`
}
DiscoveryResult represents the result of an artifact discovery operation for some subscription.
func (*DiscoveryResult) DeepCopy ¶
func (in *DiscoveryResult) DeepCopy() *DiscoveryResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryResult.
func (*DiscoveryResult) DeepCopyInto ¶
func (in *DiscoveryResult) DeepCopyInto(out *DiscoveryResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DiscoveryResult) Descriptor ¶
func (*DiscoveryResult) Descriptor() ([]byte, []int)
func (*DiscoveryResult) Marshal ¶
func (m *DiscoveryResult) Marshal() (dAtA []byte, err error)
func (*DiscoveryResult) MarshalToSizedBuffer ¶
func (m *DiscoveryResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DiscoveryResult) ProtoMessage ¶
func (*DiscoveryResult) ProtoMessage()
func (*DiscoveryResult) Reset ¶
func (m *DiscoveryResult) Reset()
func (*DiscoveryResult) Size ¶
func (m *DiscoveryResult) Size() (n int)
func (*DiscoveryResult) String ¶
func (this *DiscoveryResult) String() string
func (*DiscoveryResult) Unmarshal ¶
func (m *DiscoveryResult) Unmarshal(dAtA []byte) error
func (*DiscoveryResult) XXX_DiscardUnknown ¶
func (m *DiscoveryResult) XXX_DiscardUnknown()
func (*DiscoveryResult) XXX_Marshal ¶
func (m *DiscoveryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscoveryResult) XXX_Merge ¶
func (m *DiscoveryResult) XXX_Merge(src proto.Message)
func (*DiscoveryResult) XXX_Size ¶
func (m *DiscoveryResult) XXX_Size() int
func (*DiscoveryResult) XXX_Unmarshal ¶
func (m *DiscoveryResult) 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 ¶
func (in *DockerHubWebhookReceiverConfig) DeepCopy() *DockerHubWebhookReceiverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerHubWebhookReceiverConfig.
func (*DockerHubWebhookReceiverConfig) DeepCopyInto ¶
func (in *DockerHubWebhookReceiverConfig) DeepCopyInto(out *DockerHubWebhookReceiverConfig)
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" EventTypeFreightCreated EventType = "FreightCreated" 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"`
// DiscoveredAt is the time at which this Freight was discovered/created.
// A defaulting webhook initializes this to the creation time of the Freight.
//
// +optional
DiscoveredAt *metav1.Time `json:"discoveredAt,omitempty" protobuf:"bytes,11,opt,name=discoveredAt"`
// 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"`
// Artifacts describes specific versions of artifacts other
// than Git repository commits, container images, and Helm charts.
Artifacts []ArtifactReference `json:"artifacts,omitempty" protobuf:"bytes,10,rep,name=artifacts"`
// 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Freight.
func (*Freight) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Freight) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Freight) Descriptor ¶
func (*Freight) EffectiveDiscoveredAt ¶
EffectiveDiscoveredAt returns DiscoveredAt if set, falling back to CreationTimestamp. Use this instead of CreationTimestamp directly whenever the intent is to know when the Freight was first discovered.
func (*Freight) GetLongestSoak ¶
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 ¶
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 ¶
IsApprovedFor returns whether the Freight has been approved for the specified Stage.
func (*Freight) IsCurrentlyIn ¶
IsCurrentlyIn returns whether the Freight is currently in the specified Stage.
func (*Freight) IsVerifiedIn ¶
IsVerifiedIn returns whether the Freight has been verified in the specified Stage.
func (*Freight) MarshalToSizedBuffer ¶
func (*Freight) ProtoMessage ¶
func (*Freight) ProtoMessage()
func (*Freight) XXX_DiscardUnknown ¶
func (m *Freight) XXX_DiscardUnknown()
func (*Freight) XXX_Marshal ¶
func (*Freight) XXX_Unmarshal ¶
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 FreightCreationCriteria ¶
type FreightCreationCriteria struct {
// Expression is an expr-lang expression that must evaluate to true for
// Freight to be created automatically from new artifacts following discovery.
Expression string `json:"expression,omitempty" protobuf:"bytes,1,opt,name=expression"`
}
FreightCreationCriteria defines criteria that must be satisfied for Freight to be created automatically from new artifacts following discovery.
func (*FreightCreationCriteria) DeepCopy ¶
func (in *FreightCreationCriteria) DeepCopy() *FreightCreationCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FreightCreationCriteria.
func (*FreightCreationCriteria) DeepCopyInto ¶
func (in *FreightCreationCriteria) DeepCopyInto(out *FreightCreationCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FreightCreationCriteria) Descriptor ¶
func (*FreightCreationCriteria) Descriptor() ([]byte, []int)
func (*FreightCreationCriteria) Marshal ¶
func (m *FreightCreationCriteria) Marshal() (dAtA []byte, err error)
func (*FreightCreationCriteria) MarshalTo ¶
func (m *FreightCreationCriteria) MarshalTo(dAtA []byte) (int, error)
func (*FreightCreationCriteria) MarshalToSizedBuffer ¶
func (m *FreightCreationCriteria) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FreightCreationCriteria) ProtoMessage ¶
func (*FreightCreationCriteria) ProtoMessage()
func (*FreightCreationCriteria) Reset ¶
func (m *FreightCreationCriteria) Reset()
func (*FreightCreationCriteria) Size ¶
func (m *FreightCreationCriteria) Size() (n int)
func (*FreightCreationCriteria) String ¶
func (this *FreightCreationCriteria) String() string
func (*FreightCreationCriteria) Unmarshal ¶
func (m *FreightCreationCriteria) Unmarshal(dAtA []byte) error
func (*FreightCreationCriteria) XXX_DiscardUnknown ¶
func (m *FreightCreationCriteria) XXX_DiscardUnknown()
func (*FreightCreationCriteria) XXX_Marshal ¶
func (m *FreightCreationCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FreightCreationCriteria) XXX_Merge ¶
func (m *FreightCreationCriteria) XXX_Merge(src proto.Message)
func (*FreightCreationCriteria) XXX_Size ¶
func (m *FreightCreationCriteria) XXX_Size() int
func (*FreightCreationCriteria) XXX_Unmarshal ¶
func (m *FreightCreationCriteria) 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) 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 ParseFreightOrigin ¶
func ParseFreightOrigin(str string) (FreightOrigin, error)
ParseFreightOrigin parses a string representation of a FreightOrigin in "Kind/name" form and rejects empty parts or unsupported origin kinds.
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) 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"`
// Artifacts describes specific versions of artifacts other
// than Git repository commits, container images, and Helm charts.
Artifacts []ArtifactReference `json:"artifacts,omitempty" protobuf:"bytes,9,rep,name=artifacts"`
}
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) 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) 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"`
// AutoPromotionOptions specifies options pertaining to auto-promotion. These
// settings have no effect if auto-promotion is not enabled for this Stage at
// the ProjectConfig level.
AutoPromotionOptions *AutoPromotionOptions `json:"autoPromotionOptions,omitempty" protobuf:"bytes,5,opt,name=autoPromotionOptions"`
}
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) 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) 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 GenericWebhookAction ¶
type GenericWebhookAction struct {
// ActionType indicates the type of action to be performed. `Refresh` is the
// only currently supported action.
//
// +kubebuilder:validation:Enum=Refresh;
ActionType GenericWebhookActionType `json:"action" protobuf:"bytes,1,opt,name=action"`
// WhenExpression defines criteria that a request must meet to run this
// action.
//
// +optional
WhenExpression string `json:"whenExpression,omitempty" protobuf:"bytes,2,opt,name=whenExpression"`
// Parameters contains additional, action-specific parameters. Values may be
// static or extracted from the request using expressions.
//
// +optional
Parameters map[string]string `` /* 140-byte string literal not displayed */
// TargetSelectionCriteria is a list of selection criteria for the resources on which the
// action should be performed.
//
// +kubebuilder:validation:MinItems=1
TargetSelectionCriteria []GenericWebhookTargetSelectionCriteria `json:"targetSelectionCriteria,omitempty" protobuf:"bytes,4,rep,name=targets"`
}
GenericWebhookAction describes an action to be performed on a resource and the conditions under which it should be performed.
func (*GenericWebhookAction) DeepCopy ¶
func (in *GenericWebhookAction) DeepCopy() *GenericWebhookAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericWebhookAction.
func (*GenericWebhookAction) DeepCopyInto ¶
func (in *GenericWebhookAction) DeepCopyInto(out *GenericWebhookAction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GenericWebhookAction) Descriptor ¶
func (*GenericWebhookAction) Descriptor() ([]byte, []int)
func (*GenericWebhookAction) Marshal ¶
func (m *GenericWebhookAction) Marshal() (dAtA []byte, err error)
func (*GenericWebhookAction) MarshalTo ¶
func (m *GenericWebhookAction) MarshalTo(dAtA []byte) (int, error)
func (*GenericWebhookAction) MarshalToSizedBuffer ¶
func (m *GenericWebhookAction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenericWebhookAction) ProtoMessage ¶
func (*GenericWebhookAction) ProtoMessage()
func (*GenericWebhookAction) Reset ¶
func (m *GenericWebhookAction) Reset()
func (*GenericWebhookAction) Size ¶
func (m *GenericWebhookAction) Size() (n int)
func (*GenericWebhookAction) String ¶
func (this *GenericWebhookAction) String() string
func (*GenericWebhookAction) Unmarshal ¶
func (m *GenericWebhookAction) Unmarshal(dAtA []byte) error
func (*GenericWebhookAction) XXX_DiscardUnknown ¶
func (m *GenericWebhookAction) XXX_DiscardUnknown()
func (*GenericWebhookAction) XXX_Marshal ¶
func (m *GenericWebhookAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenericWebhookAction) XXX_Merge ¶
func (m *GenericWebhookAction) XXX_Merge(src proto.Message)
func (*GenericWebhookAction) XXX_Size ¶
func (m *GenericWebhookAction) XXX_Size() int
func (*GenericWebhookAction) XXX_Unmarshal ¶
func (m *GenericWebhookAction) XXX_Unmarshal(b []byte) error
type GenericWebhookActionType ¶
type GenericWebhookActionType string
GenericWebhookActionType represents the type of action to be performed on a resource.
const ( // GenericWebhookActionTypeRefresh indicates a request to refresh the resource. GenericWebhookActionTypeRefresh GenericWebhookActionType = "Refresh" )
type GenericWebhookReceiverConfig ¶
type GenericWebhookReceiverConfig 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 "system resources" namespace.
//
// The Secret's data map is expected to contain a `secret` key whose value
// does NOT need to be shared directly with the sender. It is used only by
// Kargo to create a complex, hard-to-guess URL, which implicitly serves as a
// shared secret.
//
// +kubebuilder:validation:Required
SecretRef corev1.LocalObjectReference `json:"secretRef" protobuf:"bytes,1,opt,name=secretRef"`
// Actions is a list of actions to be performed when a webhook event is received.
//
// +kubebuilder:validation:MinItems=1
Actions []GenericWebhookAction `json:"actions,omitempty" protobuf:"bytes,2,rep,name=actions"`
}
GenericWebhookReceiverConfig describes a generic webhook receiver that can be configured to respond to any arbitrary POST by applying user-defined actions on user-defined sets of resources selected by name, labels and/or values in pre-built indices. Both types of selectors support using values extracted from the request by means of expressions. Currently, refreshing resources is the only supported action and Warehouse is the only supported kind. "Refreshing" means immediately enqueuing the target resource for reconciliation by its controller. The practical effect of refreshing a Warehouses is triggering its artifact discovery process.
func (*GenericWebhookReceiverConfig) DeepCopy ¶
func (in *GenericWebhookReceiverConfig) DeepCopy() *GenericWebhookReceiverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericWebhookReceiverConfig.
func (*GenericWebhookReceiverConfig) DeepCopyInto ¶
func (in *GenericWebhookReceiverConfig) DeepCopyInto(out *GenericWebhookReceiverConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GenericWebhookReceiverConfig) Descriptor ¶
func (*GenericWebhookReceiverConfig) Descriptor() ([]byte, []int)
func (*GenericWebhookReceiverConfig) Marshal ¶
func (m *GenericWebhookReceiverConfig) Marshal() (dAtA []byte, err error)
func (*GenericWebhookReceiverConfig) MarshalTo ¶
func (m *GenericWebhookReceiverConfig) MarshalTo(dAtA []byte) (int, error)
func (*GenericWebhookReceiverConfig) MarshalToSizedBuffer ¶
func (m *GenericWebhookReceiverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenericWebhookReceiverConfig) ProtoMessage ¶
func (*GenericWebhookReceiverConfig) ProtoMessage()
func (*GenericWebhookReceiverConfig) Reset ¶
func (m *GenericWebhookReceiverConfig) Reset()
func (*GenericWebhookReceiverConfig) Size ¶
func (m *GenericWebhookReceiverConfig) Size() (n int)
func (*GenericWebhookReceiverConfig) String ¶
func (this *GenericWebhookReceiverConfig) String() string
func (*GenericWebhookReceiverConfig) Unmarshal ¶
func (m *GenericWebhookReceiverConfig) Unmarshal(dAtA []byte) error
func (*GenericWebhookReceiverConfig) XXX_DiscardUnknown ¶
func (m *GenericWebhookReceiverConfig) XXX_DiscardUnknown()
func (*GenericWebhookReceiverConfig) XXX_Marshal ¶
func (m *GenericWebhookReceiverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenericWebhookReceiverConfig) XXX_Merge ¶
func (m *GenericWebhookReceiverConfig) XXX_Merge(src proto.Message)
func (*GenericWebhookReceiverConfig) XXX_Size ¶
func (m *GenericWebhookReceiverConfig) XXX_Size() int
func (*GenericWebhookReceiverConfig) XXX_Unmarshal ¶
func (m *GenericWebhookReceiverConfig) XXX_Unmarshal(b []byte) error
type GenericWebhookTargetKind ¶
type GenericWebhookTargetKind string
GenericWebhookTargetKind represents the kind of a target resource.
const ( GenericWebhookTargetKindWarehouse GenericWebhookTargetKind = "Warehouse" GenericWebhookTargetKindPromotion GenericWebhookTargetKind = "Promotion" )
type GenericWebhookTargetSelectionCriteria ¶
type GenericWebhookTargetSelectionCriteria struct {
// Kind is the kind of the target resource.
//
// +kubebuilder:validation:Enum=Warehouse;
Kind GenericWebhookTargetKind `json:"kind" protobuf:"bytes,1,opt,name=kind"`
// Name is the name of the target resource. If LabelSelector and/or IndexSelectors
// are also specified, the results are the combined (logical AND) of the criteria.
//
// +optional
Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
// LabelSelector is a label selector to identify the target resources.
// If used with IndexSelector and/or Name, the results are the combined (logical AND) of all the criteria.
//
// +optional
LabelSelector metav1.LabelSelector `json:"labelSelector,omitempty" protobuf:"bytes,3,opt,name=labelSelector"`
// IndexSelector is a selector used to identify cached target resources by cache key.
// If used with LabelSelector and/or Name, the results are the combined (logical AND) of all the criteria.
//
// +optional
IndexSelector IndexSelector `json:"indexSelector,omitempty" protobuf:"bytes,4,opt,name=indexSelector"`
}
GenericWebhookTargetSelectionCriteria describes selection criteria for resources to which some action is to be applied. Name, LabelSelector, and IndexSelector are all optional however, at least one must be specified. When multiple criteria are specified, the results are the combined (logical AND) of the criteria.
func (*GenericWebhookTargetSelectionCriteria) DeepCopy ¶
func (in *GenericWebhookTargetSelectionCriteria) DeepCopy() *GenericWebhookTargetSelectionCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericWebhookTargetSelectionCriteria.
func (*GenericWebhookTargetSelectionCriteria) DeepCopyInto ¶
func (in *GenericWebhookTargetSelectionCriteria) DeepCopyInto(out *GenericWebhookTargetSelectionCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GenericWebhookTargetSelectionCriteria) Descriptor ¶
func (*GenericWebhookTargetSelectionCriteria) Descriptor() ([]byte, []int)
func (*GenericWebhookTargetSelectionCriteria) Marshal ¶
func (m *GenericWebhookTargetSelectionCriteria) Marshal() (dAtA []byte, err error)
func (*GenericWebhookTargetSelectionCriteria) MarshalTo ¶
func (m *GenericWebhookTargetSelectionCriteria) MarshalTo(dAtA []byte) (int, error)
func (*GenericWebhookTargetSelectionCriteria) MarshalToSizedBuffer ¶
func (m *GenericWebhookTargetSelectionCriteria) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenericWebhookTargetSelectionCriteria) ProtoMessage ¶
func (*GenericWebhookTargetSelectionCriteria) ProtoMessage()
func (*GenericWebhookTargetSelectionCriteria) Reset ¶
func (m *GenericWebhookTargetSelectionCriteria) Reset()
func (*GenericWebhookTargetSelectionCriteria) Size ¶
func (m *GenericWebhookTargetSelectionCriteria) Size() (n int)
func (*GenericWebhookTargetSelectionCriteria) String ¶
func (this *GenericWebhookTargetSelectionCriteria) String() string
func (*GenericWebhookTargetSelectionCriteria) Unmarshal ¶
func (m *GenericWebhookTargetSelectionCriteria) Unmarshal(dAtA []byte) error
func (*GenericWebhookTargetSelectionCriteria) XXX_DiscardUnknown ¶
func (m *GenericWebhookTargetSelectionCriteria) XXX_DiscardUnknown()
func (*GenericWebhookTargetSelectionCriteria) XXX_Marshal ¶
func (m *GenericWebhookTargetSelectionCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenericWebhookTargetSelectionCriteria) XXX_Merge ¶
func (m *GenericWebhookTargetSelectionCriteria) XXX_Merge(src proto.Message)
func (*GenericWebhookTargetSelectionCriteria) XXX_Size ¶
func (m *GenericWebhookTargetSelectionCriteria) XXX_Size() int
func (*GenericWebhookTargetSelectionCriteria) XXX_Unmarshal ¶
func (m *GenericWebhookTargetSelectionCriteria) XXX_Unmarshal(b []byte) error
type GitClientConfig ¶
type GitClientConfig struct {
// Name is the name used for Git commits made by Kargo.
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
// Email is the email address used for Git commits made by Kargo.
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:Format="email"
Email string `json:"email" protobuf:"bytes,2,opt,name=email"`
// SigningKeySecret references a Secret in the system namespace containing
// a GPG signing key for commit signing. The Secret must contain a data
// key named "signingKey" with the GPG private key material.
// +optional
SigningKeySecret *corev1.LocalObjectReference `json:"signingKeySecret,omitempty" protobuf:"bytes,3,opt,name=signingKeySecret"`
}
GitClientConfig describes cluster-level configuration for Kargo's Git client.
func (*GitClientConfig) DeepCopy ¶
func (in *GitClientConfig) DeepCopy() *GitClientConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitClientConfig.
func (*GitClientConfig) DeepCopyInto ¶
func (in *GitClientConfig) DeepCopyInto(out *GitClientConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitClientConfig) Descriptor ¶
func (*GitClientConfig) Descriptor() ([]byte, []int)
func (*GitClientConfig) Marshal ¶
func (m *GitClientConfig) Marshal() (dAtA []byte, err error)
func (*GitClientConfig) MarshalToSizedBuffer ¶
func (m *GitClientConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GitClientConfig) ProtoMessage ¶
func (*GitClientConfig) ProtoMessage()
func (*GitClientConfig) Reset ¶
func (m *GitClientConfig) Reset()
func (*GitClientConfig) Size ¶
func (m *GitClientConfig) Size() (n int)
func (*GitClientConfig) String ¶
func (this *GitClientConfig) String() string
func (*GitClientConfig) Unmarshal ¶
func (m *GitClientConfig) Unmarshal(dAtA []byte) error
func (*GitClientConfig) XXX_DiscardUnknown ¶
func (m *GitClientConfig) XXX_DiscardUnknown()
func (*GitClientConfig) XXX_Marshal ¶
func (m *GitClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GitClientConfig) XXX_Merge ¶
func (m *GitClientConfig) XXX_Merge(src proto.Message)
func (*GitClientConfig) XXX_Size ¶
func (m *GitClientConfig) XXX_Size() int
func (*GitClientConfig) XXX_Unmarshal ¶
func (m *GitClientConfig) 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitCommit.
func (*GitCommit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitCommit) DeepEquals ¶
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) MarshalToSizedBuffer ¶
func (*GitCommit) ProtoMessage ¶
func (*GitCommit) ProtoMessage()
func (*GitCommit) XXX_DiscardUnknown ¶
func (m *GitCommit) XXX_DiscardUnknown()
func (*GitCommit) XXX_Marshal ¶
func (*GitCommit) XXX_Unmarshal ¶
type GitDiscoveryRefs ¶
type GitDiscoveryRefs struct {
// BranchHead is the unfiltered commit ID at the tip of the subscribed branch.
// It is populated for branch-based selection strategies (NewestFromBranch).
// Because it records the branch tip before any path filtering, an unchanged
// value guarantees the path-filtered selection cannot have changed either.
//
// +optional
BranchHead string `json:"branchHead,omitempty" protobuf:"bytes,1,opt,name=branchHead"`
// Tags is the set of tags that satisfied the GitSubscription's name-based
// filters (semver and/or regex), paired with the commit IDs they reference,
// sorted by tag name for a stable comparison. It is populated for tag-based
// selection strategies (NewestTag, SemVer, Lexical). Path filtering is
// applied later, during selection, and does not affect this set.
//
// +optional
Tags []DiscoveredRef `json:"tags,omitempty" protobuf:"bytes,2,rep,name=tags"`
}
GitDiscoveryRefs records the raw remote ref state relevant to a GitSubscription's commit selection strategy at the time of discovery. Exactly one of its fields is populated, according to whether the strategy selects from a branch or from tags.
func (*GitDiscoveryRefs) DeepCopy ¶
func (in *GitDiscoveryRefs) DeepCopy() *GitDiscoveryRefs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitDiscoveryRefs.
func (*GitDiscoveryRefs) DeepCopyInto ¶
func (in *GitDiscoveryRefs) DeepCopyInto(out *GitDiscoveryRefs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitDiscoveryRefs) Descriptor ¶
func (*GitDiscoveryRefs) Descriptor() ([]byte, []int)
func (*GitDiscoveryRefs) Marshal ¶
func (m *GitDiscoveryRefs) Marshal() (dAtA []byte, err error)
func (*GitDiscoveryRefs) MarshalToSizedBuffer ¶
func (m *GitDiscoveryRefs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GitDiscoveryRefs) ProtoMessage ¶
func (*GitDiscoveryRefs) ProtoMessage()
func (*GitDiscoveryRefs) Reset ¶
func (m *GitDiscoveryRefs) Reset()
func (*GitDiscoveryRefs) Size ¶
func (m *GitDiscoveryRefs) Size() (n int)
func (*GitDiscoveryRefs) String ¶
func (this *GitDiscoveryRefs) String() string
func (*GitDiscoveryRefs) Unmarshal ¶
func (m *GitDiscoveryRefs) Unmarshal(dAtA []byte) error
func (*GitDiscoveryRefs) XXX_DiscardUnknown ¶
func (m *GitDiscoveryRefs) XXX_DiscardUnknown()
func (*GitDiscoveryRefs) XXX_Marshal ¶
func (m *GitDiscoveryRefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GitDiscoveryRefs) XXX_Merge ¶
func (m *GitDiscoveryRefs) XXX_Merge(src proto.Message)
func (*GitDiscoveryRefs) XXX_Size ¶
func (m *GitDiscoveryRefs) XXX_Size() int
func (*GitDiscoveryRefs) XXX_Unmarshal ¶
func (m *GitDiscoveryRefs) XXX_Unmarshal(b []byte) error
type GitDiscoveryResult ¶
type GitDiscoveryResult struct {
// RepoURL is the repository URL of the GitSubscription.
//
// TODO(v1.13.0): Remove SSH/SCP-style URL support from this pattern.
//
// +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"`
// ObservedRefs records the raw remote ref state observed at the most recent
// successful discovery, after name-based filtering but before path filtering
// or commit selection. The Warehouse uses it to short-circuit discovery: at
// the start of a reconcile, a single git ls-remote call yields the current
// ref state, and if it matches this field, nothing relevant has moved and the
// previously selected Commits remain valid -- so an expensive clone and
// history walk can be skipped entirely. This field is optional; when absent
// (e.g. on a Warehouse that predates this feature), discovery falls through to
// a full clone and repopulates it.
//
// +optional
ObservedRefs *GitDiscoveryRefs `json:"observedRefs,omitempty" protobuf:"bytes,3,opt,name=observedRefs"`
}
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 "system resources" 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 ¶
func (in *GitHubWebhookReceiverConfig) DeepCopy() *GitHubWebhookReceiverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHubWebhookReceiverConfig.
func (*GitHubWebhookReceiverConfig) DeepCopyInto ¶
func (in *GitHubWebhookReceiverConfig) DeepCopyInto(out *GitHubWebhookReceiverConfig)
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 "system resources" 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 ¶
func (in *GitLabWebhookReceiverConfig) DeepCopy() *GitLabWebhookReceiverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLabWebhookReceiverConfig.
func (*GitLabWebhookReceiverConfig) DeepCopyInto ¶
func (in *GitLabWebhookReceiverConfig) DeepCopyInto(out *GitLabWebhookReceiverConfig)
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 {
// AllowTags is a regular expression that can optionally be used to limit the tags that are
// considered in determining the newest commit of interest. Deprecated: Use allowTagsRegexes
// instead.
AllowTags string `json:"allowTags,omitempty"`
// AllowTagsRegexes is a list of regular expressions that can optionally be used to limit
// the tags that are considered. Only has effect when CommitSelectionStrategy is Lexical,
// NewestTag, or SemVer.
AllowTagsRegexes []string `json:"allowTagsRegexes,omitempty"`
// Blobless enables blobless cloning (--filter=blob:none) for this subscription. When true,
// git clones will defer blob downloads until checkout, significantly reducing clone time
// and disk usage for large repositories. The server must support partial clones; if it does
// not, the clone will fail.
Blobless *bool `json:"blobless,omitempty"`
// Branch references a particular branch of the repository. Only has effect when
// CommitSelectionStrategy is NewestFromBranch or unspecified. When left unspecified, the
// subscription is implicitly to the repository's default branch. Must be a valid branch
// name.
Branch string `json:"branch,omitempty"`
// CommitSelectionStrategy specifies the rules for how to identify the newest commit of
// interest in the repository specified by the RepoURL field.
CommitSelectionStrategy CommitSelectionStrategy `json:"commitSelectionStrategy,omitempty"`
// DiscoveryLimit is an optional limit on the number of commits that can be discovered for
// this subscription. The upper limit is 100.
DiscoveryLimit int64 `json:"discoveryLimit,omitempty"`
// 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.
ExcludePaths []string `json:"excludePaths,omitempty"`
// 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.
ExpressionFilter string `json:"expressionFilter,omitempty"`
// IgnoreTags is a list of tags that must be ignored when determining the newest commit of
// interest. Deprecated: Use ignoreTagsRegexes instead.
IgnoreTags []string `json:"ignoreTags,omitempty"`
// IgnoreTagsRegexes is a list of regular expressions that can optionally be used to exclude
// tags from consideration. Only has effect when CommitSelectionStrategy is Lexical,
// NewestTag, or SemVer.
IgnoreTagsRegexes []string `json:"ignoreTagsRegexes,omitempty"`
// 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.
IncludePaths []string `json:"includePaths,omitempty"`
// 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"`
// URL is the repository's URL. This is a required field. Deprecated: Support for SSH URLs
// (ssh:// and SCP-style git@host:path) is deprecated as of v1.10.0 and will be removed in
// v1.13.0. Use HTTPS URLs instead.
RepoURL string `json:"repoURL"`
// SemverConstraint specifies constraints on what new tagged commits are considered in
// determining the newest commit of interest. Only has effect when CommitSelectionStrategy
// is SemVer.
SemverConstraint string `json:"semverConstraint,omitempty"`
// An optional date (RFC 3339) that limits commit discovery to commits at or after this
// date. When specified, discovery stops upon reaching a commit older than this date. When
// left unspecified, there is no cutoff.
Since *metav1.Time `json:"since,omitempty"`
// StrictSemvers specifies whether only "strict" semver tags should be considered. A
// "strict" semver tag contains ALL of major, minor, and patch version components. Only has
// effect when CommitSelectionStrategy is SemVer.
StrictSemvers *bool `json:"strictSemvers,omitempty"`
}
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) 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 "system resources" 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 ¶
func (in *GiteaWebhookReceiverConfig) DeepCopy() *GiteaWebhookReceiverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GiteaWebhookReceiverConfig.
func (*GiteaWebhookReceiverConfig) DeepCopyInto ¶
func (in *GiteaWebhookReceiverConfig) DeepCopyInto(out *GiteaWebhookReceiverConfig)
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 "system resources" 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 ¶
func (in *HarborWebhookReceiverConfig) DeepCopy() *HarborWebhookReceiverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborWebhookReceiverConfig.
func (*HarborWebhookReceiverConfig) DeepCopyInto ¶
func (in *HarborWebhookReceiverConfig) DeepCopyInto(out *HarborWebhookReceiverConfig)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Health.
func (*Health) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Health) Descriptor ¶
func (*Health) MarshalToSizedBuffer ¶
func (*Health) ProtoMessage ¶
func (*Health) ProtoMessage()
func (*Health) XXX_DiscardUnknown ¶
func (m *Health) XXX_DiscardUnknown()
func (*Health) XXX_Marshal ¶
func (*Health) XXX_Unmarshal ¶
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) 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) 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Image) DeepEquals ¶
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) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) XXX_DiscardUnknown ¶
func (m *Image) XXX_DiscardUnknown()
func (*Image) XXX_Marshal ¶
func (*Image) XXX_Unmarshal ¶
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 ¶
func (in *ImageDiscoveryResult) DeepCopy() *ImageDiscoveryResult
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
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", "Lexical", "NewestBuild", "SemVer".
const ( ImageSelectionStrategyDigest ImageSelectionStrategy = "Digest" ImageSelectionStrategyLexical ImageSelectionStrategy = "Lexical" ImageSelectionStrategySemVer ImageSelectionStrategy = "SemVer" ImageSelectionStrategyNewestBuild ImageSelectionStrategy = "NewestBuild" )
type ImageSubscription ¶
type ImageSubscription struct {
// 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. Deprecated: Use allowTagsRegexes instead. Beginning in v1.11.0, artifact
// discovery will FAIL if this field is non-empty. This field will be removed in v1.13.0.
AllowTags string `json:"allowTags,omitempty"`
// AllowTagsRegexes is a list of regular expressions that can optionally be used to limit
// the image tags that are considered in determining the newest revision of an image. This
// field is optional.
AllowTagsRegexes []string `json:"allowTagsRegexes,omitempty"`
// CacheByTag specifies whether to cache image metadata by tag. This can improve performance
// but may lead to stale data if mutable tags are used.
CacheByTag bool `json:"cacheByTag,omitempty"`
// Constraint specifies ImageSelectionStrategy-specific constraints on what new image
// revisions are permissible. Acceptable values for this field vary contextually by
// ImageSelectionStrategy. The field is optional for some strategies. Others either require
// it or ignore it. For strategies that treat this field as optional, specifying no value
// means "no constraints."
Constraint string `json:"constraint,omitempty"`
// 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 AllowTagsRegexes and IgnoreTagsRegexes fields. When left unspecified, the field is
// implicitly treated as if its value were "20". The upper limit for this field is 100.
DiscoveryLimit int64 `json:"discoveryLimit,omitempty"`
// IgnoreTags is a list of tags that must be ignored when determining the newest version of
// an image. No regular expressions or glob patterns are supported yet. This field is
// optional. Deprecated: Use ignoreTagsRegexes instead. Beginning in v1.11.0, artifact
// discovery will FAIL if this field is non-empty. This field will be removed in v1.13.0.
IgnoreTags []string `json:"ignoreTags,omitempty"`
// IgnoreTagsRegexes is a list of regular expressions that can optionally be used to exclude
// tags from consideration when determining the newest revision of an image. This field is
// optional.
IgnoreTagsRegexes []string `json:"ignoreTagsRegexes,omitempty"`
// 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",
// "Lexical", "NewestBuild", "SemVer".
ImageSelectionStrategy ImageSelectionStrategy `json:"imageSelectionStrategy,omitempty"`
// 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"`
// 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 will run on a
// Kubernetes node with a different OS/architecture than the Kargo controller.
Platform string `json:"platform,omitempty"`
// 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.
RepoURL string `json:"repoURL"`
// 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 could be mistaken for a semver string containing the
// major version number only.
StrictSemvers *bool `json:"strictSemvers,omitempty"`
}
ImageSubscription defines a subscription to a container image repository.
func (*ImageSubscription) DeepCopy ¶
func (in *ImageSubscription) DeepCopy() *ImageSubscription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSubscription.
func (*ImageSubscription) DeepCopyInto ¶
func (in *ImageSubscription) DeepCopyInto(out *ImageSubscription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageSubscription) Descriptor ¶
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 IndexSelector ¶
type IndexSelector struct {
// MatchIndices is a list of index selector requirements.
//
// +kubebuilder:validation:MinItems=1
MatchIndices []IndexSelectorRequirement `json:"matchIndices,omitempty" protobuf:"bytes,1,rep,name=matchIndices"`
}
IndexSelector defines selection criteria that match resources on the basis of values in pre-built, well-known indices.
func (*IndexSelector) DeepCopy ¶
func (in *IndexSelector) DeepCopy() *IndexSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexSelector.
func (*IndexSelector) DeepCopyInto ¶
func (in *IndexSelector) DeepCopyInto(out *IndexSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IndexSelector) Descriptor ¶
func (*IndexSelector) Descriptor() ([]byte, []int)
func (*IndexSelector) Marshal ¶
func (m *IndexSelector) Marshal() (dAtA []byte, err error)
func (*IndexSelector) MarshalToSizedBuffer ¶
func (m *IndexSelector) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IndexSelector) ProtoMessage ¶
func (*IndexSelector) ProtoMessage()
func (*IndexSelector) Reset ¶
func (m *IndexSelector) Reset()
func (*IndexSelector) Size ¶
func (m *IndexSelector) Size() (n int)
func (*IndexSelector) String ¶
func (this *IndexSelector) String() string
func (*IndexSelector) Unmarshal ¶
func (m *IndexSelector) Unmarshal(dAtA []byte) error
func (*IndexSelector) XXX_DiscardUnknown ¶
func (m *IndexSelector) XXX_DiscardUnknown()
func (*IndexSelector) XXX_Marshal ¶
func (m *IndexSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IndexSelector) XXX_Merge ¶
func (m *IndexSelector) XXX_Merge(src proto.Message)
func (*IndexSelector) XXX_Size ¶
func (m *IndexSelector) XXX_Size() int
func (*IndexSelector) XXX_Unmarshal ¶
func (m *IndexSelector) XXX_Unmarshal(b []byte) error
type IndexSelectorOperator ¶
type IndexSelectorOperator string
IndexSelectorOperator represents a set of operators that can be used in an index selector requirement.
const ( IndexSelectorOperatorEqual IndexSelectorOperator = "Equals" IndexSelectorOperatorNotEqual IndexSelectorOperator = "NotEquals" )
type IndexSelectorRequirement ¶
type IndexSelectorRequirement struct {
// Key is the key of the index.
//
// +kubebuilder:validation:Enum=subscribedURLs;receiverPaths
Key string `json:"key" protobuf:"bytes,1,opt,name=key"`
// Operator indicates the operation that should be used to evaluate
// whether the selection requirement is satisfied.
//
// kubebuilder:validation:Enum=Equal;NotEqual;
Operator IndexSelectorOperator `json:"operator" protobuf:"bytes,2,opt,name=operator"`
// Value can be a static string or an expression that will be evaluated.
//
// kubebuilder:validation:Required
Value string `json:"value" protobuf:"bytes,3,opt,name=value"`
}
IndexSelectorRequirement encapsulates a requirement used to select indexes based on specific criteria.
func (*IndexSelectorRequirement) DeepCopy ¶
func (in *IndexSelectorRequirement) DeepCopy() *IndexSelectorRequirement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexSelectorRequirement.
func (*IndexSelectorRequirement) DeepCopyInto ¶
func (in *IndexSelectorRequirement) DeepCopyInto(out *IndexSelectorRequirement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IndexSelectorRequirement) Descriptor ¶
func (*IndexSelectorRequirement) Descriptor() ([]byte, []int)
func (*IndexSelectorRequirement) Marshal ¶
func (m *IndexSelectorRequirement) Marshal() (dAtA []byte, err error)
func (*IndexSelectorRequirement) MarshalTo ¶
func (m *IndexSelectorRequirement) MarshalTo(dAtA []byte) (int, error)
func (*IndexSelectorRequirement) MarshalToSizedBuffer ¶
func (m *IndexSelectorRequirement) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IndexSelectorRequirement) ProtoMessage ¶
func (*IndexSelectorRequirement) ProtoMessage()
func (*IndexSelectorRequirement) Reset ¶
func (m *IndexSelectorRequirement) Reset()
func (*IndexSelectorRequirement) Size ¶
func (m *IndexSelectorRequirement) Size() (n int)
func (*IndexSelectorRequirement) String ¶
func (this *IndexSelectorRequirement) String() string
func (*IndexSelectorRequirement) Unmarshal ¶
func (m *IndexSelectorRequirement) Unmarshal(dAtA []byte) error
func (*IndexSelectorRequirement) XXX_DiscardUnknown ¶
func (m *IndexSelectorRequirement) XXX_DiscardUnknown()
func (*IndexSelectorRequirement) XXX_Marshal ¶
func (m *IndexSelectorRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IndexSelectorRequirement) XXX_Merge ¶
func (m *IndexSelectorRequirement) XXX_Merge(src proto.Message)
func (*IndexSelectorRequirement) XXX_Size ¶
func (m *IndexSelectorRequirement) XXX_Size() int
func (*IndexSelectorRequirement) XXX_Unmarshal ¶
func (m *IndexSelectorRequirement) XXX_Unmarshal(b []byte) error
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Project) Descriptor ¶
func (*Project) GetStatus ¶
func (p *Project) GetStatus() *ProjectStatus
func (*Project) MarshalToSizedBuffer ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) XXX_DiscardUnknown ¶
func (m *Project) XXX_DiscardUnknown()
func (*Project) XXX_Marshal ¶
func (*Project) XXX_Unmarshal ¶
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) 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"`
// FreightLinks defines deep links shown when viewing Freight resources
// within this project. These are shown in addition to any cluster-level
// FreightLinks defined in ClusterConfig.
//
// +optional
FreightLinks []DeepLink `json:"freightLinks,omitempty" protobuf:"bytes,3,rep,name=freightLinks"`
// StageLinks defines deep links shown when viewing Stage resources within
// this project. These are shown in addition to any cluster-level
// StageLinks defined in ClusterConfig.
//
// +optional
StageLinks []DeepLink `json:"stageLinks,omitempty" protobuf:"bytes,4,rep,name=stageLinks"`
}
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) 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) 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) 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Promotion.
func (*Promotion) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Promotion) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Promotion) Descriptor ¶
func (*Promotion) GetStatus ¶
func (p *Promotion) GetStatus() *PromotionStatus
func (*Promotion) MarshalToSizedBuffer ¶
func (*Promotion) ProtoMessage ¶
func (*Promotion) ProtoMessage()
func (*Promotion) XXX_DiscardUnknown ¶
func (m *Promotion) XXX_DiscardUnknown()
func (*Promotion) XXX_Marshal ¶
func (*Promotion) XXX_Unmarshal ¶
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) 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
PromotionPhase is a high-level summary of the current state of a Promotion.
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"`
// AutoRollback describes the conditions under which this Stage should
// automatically roll back to the last known-good (verified) Freight. When
// nil, auto-rollback is disabled.
//
// Kargo Enterprise only: This field is ignored in Kargo OSS.
AutoRollback *AutoRollbackConfig `json:"autoRollback,omitempty" protobuf:"bytes,4,opt,name=autoRollback"`
}
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) 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 ¶
func (in *PromotionPolicySelector) DeepCopy() *PromotionPolicySelector
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.
// Exactly one of Freight or Origin must be set.
//
// +kubebuilder:validation:Optional
// +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,omitempty" protobuf:"bytes,2,opt,name=freight"`
// Origin, when set, identifies the FreightOrigin whose auto-promotion
// candidate should be promoted. The mutating webhook resolves this to the
// candidate Freight for that origin and fills Freight before the Promotion
// is persisted. Exactly one of Freight or Origin must be set.
//
// +kubebuilder:validation:Optional
Origin *FreightOrigin `json:"origin,omitempty" protobuf:"bytes,14,opt,name=origin"`
// Target optionally names the Target, within the Promotion's own Project
// (namespace), that this Promotion promotes Freight to. Targets allow a
// single Stage to govern -- and promote Freight to -- multiple destinations.
// When set, the named Target must be one that the referenced Stage governs,
// i.e. one selected by the Stage's targetSelectors.
//
// When empty (the default), the Promotion promotes to the Stage itself. This
// preserves the behavior of Promotions created before Targets existed:
// classic Stages -- those without targetSelectors -- govern no Targets, so
// their Promotions leave this field empty.
//
// +kubebuilder:validation:Optional
// +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
Target string `json:"target,omitempty" protobuf:"bytes,5,opt,name=target"`
// 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.
+kubebuilder:validation:XValidation:message="exactly one of freight or origin must be set",rule="has(self.freight) != has(self.origin)"
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) 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) 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) 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
PromotionStepStatus is a high-level summary of the current state of a PromotionStep.
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.
func (PromotionStepStatus) Valid ¶
func (s PromotionStepStatus) Valid() bool
Valid returns true if the PromotionStepStatus is valid. It checks against the known PromotionStepStatus constants.
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) 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 ¶
func (in *PromotionTaskReference) DeepCopy() *PromotionTaskReference
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 ¶
func (in *PromotionTemplateSpec) DeepCopy() *PromotionTemplateSpec
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 "system resources" 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 ¶
func (in *QuayWebhookReceiverConfig) DeepCopy() *QuayWebhookReceiverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuayWebhookReceiverConfig.
func (*QuayWebhookReceiverConfig) DeepCopyInto ¶
func (in *QuayWebhookReceiverConfig) DeepCopyInto(out *QuayWebhookReceiverConfig)
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"`
// Subscription describes a subscription to something that is not a Git, container
// image, or Helm chart repository.
Subscription *Subscription `json:"subscription,omitempty" protobuf:"bytes,4,opt,name=subscription"`
}
RepoSubscription describes a subscription to ONE OF a Git repository, a container image repository, a Helm chart repository, or something else.
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) 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stage.
func (*Stage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Stage) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Stage) Descriptor ¶
func (*Stage) GetStatus ¶
func (s *Stage) GetStatus() *StageStatus
func (*Stage) IsControlFlow ¶
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 ¶
IsFreightAvailable answers whether the specified Freight is available to the Stage.
func (*Stage) ProtoMessage ¶
func (*Stage) ProtoMessage()
func (*Stage) RequestsFreightFromOrigin ¶
func (s *Stage) RequestsFreightFromOrigin(origin FreightOrigin) bool
RequestsFreightFromOrigin returns whether any of the Stage's Freight requests name the specified origin.
func (*Stage) XXX_DiscardUnknown ¶
func (m *Stage) XXX_DiscardUnknown()
func (*Stage) XXX_Marshal ¶
func (*Stage) XXX_Unmarshal ¶
type StageList ¶
type StageList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Items []Stage `json:"items" protobuf:"bytes,2,rep,name=items"`
}
StageList is a list of Stage resources.
func (*StageList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StageList.
func (*StageList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StageList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*StageList) Descriptor ¶
func (*StageList) MarshalToSizedBuffer ¶
func (*StageList) ProtoMessage ¶
func (*StageList) ProtoMessage()
func (*StageList) XXX_DiscardUnknown ¶
func (m *StageList) XXX_DiscardUnknown()
func (*StageList) XXX_Marshal ¶
func (*StageList) XXX_Unmarshal ¶
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"`
// TargetSelectors select the Targets that this Stage governs and promotes
// Freight to, matching Targets by their labels within the Stage's own
// Project. A Target is selected when it matches any selector in this list.
// A Stage may govern any number of Targets this way.
//
// When this field is nil (the default), the Stage operates in classic mode:
// it governs a single implicit "stage-self" Target that the controller
// creates and maintains on the Stage's behalf. This preserves the behavior
// of Stages authored before Targets existed. An empty selector in a non-empty
// list selects all Targets in the Project.
//
// +optional
TargetSelectors []metav1.LabelSelector `json:"targetSelectors,omitempty" protobuf:"bytes,8,rep,name=targetSelectors"`
}
StageSpec describes the sources of Freight used by a Stage and how to incorporate Freight into the Stage.
func (*StageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StageSpec.
func (*StageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StageSpec) Descriptor ¶
func (*StageSpec) MarshalToSizedBuffer ¶
func (*StageSpec) ProtoMessage ¶
func (*StageSpec) ProtoMessage()
func (*StageSpec) XXX_DiscardUnknown ¶
func (m *StageSpec) XXX_DiscardUnknown()
func (*StageSpec) XXX_Marshal ¶
func (*StageSpec) XXX_Unmarshal ¶
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) 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"`
// Metadata is a map of arbitrary metadata associated with the Stage.
// This is useful for storing additional information about the Stage
// that can be shared across promotions, verifications, or other processes.
Metadata map[string]apiextensionsv1.JSON `` /* 137-byte string literal not displayed */
// AutoPromotionHolds records active auto-promotion holds for this Stage. A
// hold is established when a Promotion selects Freight other than the
// auto-promotion candidate for that origin, pausing auto-promotion for that
// origin until explicitly released. Auto-promotions themselves never
// establish holds. Keys are string representations of FreightOrigins (e.g.
// "Warehouse/my-warehouse"); values describe the Promotion that established
// the hold.
AutoPromotionHolds map[string]AutoPromotionHold `` /* 157-byte string literal not displayed */
}
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) GetMetadata ¶
func (s *StageStatus) GetMetadata(key string, data any) (bool, error)
GetMetadata retrieves the data associated with the given key from Stage status Metadata
func (*StageStatus) Marshal ¶
func (m *StageStatus) Marshal() (dAtA []byte, err 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) UpsertMetadata ¶
func (s *StageStatus) UpsertMetadata(key string, data any) error
UpsertMetadata inserts or updates the given key in Stage status Metadata
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 ¶
func (in *StepExecutionMetadata) DeepCopy() *StepExecutionMetadata
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 ¶
func (in StepExecutionMetadataList) DeepCopy() StepExecutionMetadataList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepExecutionMetadataList.
func (StepExecutionMetadataList) DeepCopyInto ¶
func (in StepExecutionMetadataList) DeepCopyInto(out *StepExecutionMetadataList)
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 Subscription ¶
type Subscription struct {
// SubscriptionType specifies the kind of subscription this is.
//
// +kubebuilder:validation:MinLength=1
SubscriptionType string `json:"subscriptionType" protobuf:"bytes,1,opt,name=subscriptionType"`
// Name is a unique (with respect to a Warehouse) name used for identifying
// this subscription.
//
// +kubebuilder:validation:MinLength=1
Name string `json:"name" protobuf:"bytes,2,opt,name=name"`
// Config is a JSON object containing opaque configuration for this
// subscription. (It must be an object. It may not be a list or a scalar
// value.) This is only understood by a corresponding Subscriber
// implementation for the ArtifactType.
//
// +optional
Config *apiextensionsv1.JSON `json:"config,omitempty" protobuf:"bytes,3,opt,name=config"`
// DiscoveryLimit is an optional limit on the number of artifacts that can
// be discovered for this subscription.
//
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=100
// +kubebuilder:default=20
DiscoveryLimit int32 `json:"discoveryLimit,omitempty" protobuf:"varint,4,opt,name=discoveryLimit"`
}
Subscription represents a subscription to some kind of artifact repository.
func (*Subscription) DeepCopy ¶
func (in *Subscription) DeepCopy() *Subscription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subscription.
func (*Subscription) DeepCopyInto ¶
func (in *Subscription) DeepCopyInto(out *Subscription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Subscription) Descriptor ¶
func (*Subscription) Descriptor() ([]byte, []int)
func (*Subscription) Marshal ¶
func (m *Subscription) Marshal() (dAtA []byte, err error)
func (*Subscription) MarshalToSizedBuffer ¶
func (m *Subscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Subscription) ProtoMessage ¶
func (*Subscription) ProtoMessage()
func (*Subscription) Reset ¶
func (m *Subscription) Reset()
func (*Subscription) Size ¶
func (m *Subscription) Size() (n int)
func (*Subscription) String ¶
func (this *Subscription) String() string
func (*Subscription) Unmarshal ¶
func (m *Subscription) Unmarshal(dAtA []byte) error
func (*Subscription) XXX_DiscardUnknown ¶
func (m *Subscription) XXX_DiscardUnknown()
func (*Subscription) XXX_Marshal ¶
func (m *Subscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Subscription) XXX_Merge ¶
func (m *Subscription) XXX_Merge(src proto.Message)
func (*Subscription) XXX_Size ¶
func (m *Subscription) XXX_Size() int
func (*Subscription) XXX_Unmarshal ¶
func (m *Subscription) XXX_Unmarshal(b []byte) error
type Target ¶
type Target struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Spec describes the Target.
Spec TargetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
// Status describes the current status of the Target.
Status TargetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}
Target represents a single destination -- a cluster, for instance -- that Stages promote Freight to. A Target is purely descriptive: it holds target-specific values consumed by the promotion steps of Stages that govern it and records which Stages those are. It defines no promotion steps and no Freight sources of its own and therefore cannot effect any promotion itself.
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Target) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Target) Descriptor ¶
func (*Target) GetStatus ¶
func (t *Target) GetStatus() *TargetStatus
func (*Target) MarshalToSizedBuffer ¶
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) XXX_DiscardUnknown ¶
func (m *Target) XXX_DiscardUnknown()
func (*Target) XXX_Marshal ¶
func (*Target) XXX_Unmarshal ¶
type TargetList ¶
type TargetList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
Items []Target `json:"items" protobuf:"bytes,2,rep,name=items"`
}
TargetList is a list of Target resources.
func (*TargetList) DeepCopy ¶
func (in *TargetList) DeepCopy() *TargetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetList.
func (*TargetList) DeepCopyInto ¶
func (in *TargetList) DeepCopyInto(out *TargetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetList) DeepCopyObject ¶
func (in *TargetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TargetList) Descriptor ¶
func (*TargetList) Descriptor() ([]byte, []int)
func (*TargetList) Marshal ¶
func (m *TargetList) Marshal() (dAtA []byte, err error)
func (*TargetList) MarshalToSizedBuffer ¶
func (m *TargetList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TargetList) ProtoMessage ¶
func (*TargetList) ProtoMessage()
func (*TargetList) Reset ¶
func (m *TargetList) Reset()
func (*TargetList) Size ¶
func (m *TargetList) Size() (n int)
func (*TargetList) String ¶
func (this *TargetList) String() string
func (*TargetList) Unmarshal ¶
func (m *TargetList) Unmarshal(dAtA []byte) error
func (*TargetList) XXX_DiscardUnknown ¶
func (m *TargetList) XXX_DiscardUnknown()
func (*TargetList) XXX_Marshal ¶
func (m *TargetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TargetList) XXX_Merge ¶
func (m *TargetList) XXX_Merge(src proto.Message)
func (*TargetList) XXX_Size ¶
func (m *TargetList) XXX_Size() int
func (*TargetList) XXX_Unmarshal ¶
func (m *TargetList) XXX_Unmarshal(b []byte) error
type TargetOwnership ¶
type TargetOwnership struct {
// Stage is the name of the governing Stage.
Stage string `json:"stage,omitempty" protobuf:"bytes,1,opt,name=stage"`
// Origin is the origin of the Freight that the governing Stage promotes to
// this Target.
Origin FreightOrigin `json:"origin,omitempty" protobuf:"bytes,2,opt,name=origin"`
// CurrentFreight is the name of the Freight from Origin most recently
// promoted to this Target by the governing Stage.
CurrentFreight string `json:"currentFreight,omitempty" protobuf:"bytes,3,opt,name=currentFreight"`
}
TargetOwnership records one Stage's governance of a Target with respect to Freight from a single origin.
func (*TargetOwnership) DeepCopy ¶
func (in *TargetOwnership) DeepCopy() *TargetOwnership
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetOwnership.
func (*TargetOwnership) DeepCopyInto ¶
func (in *TargetOwnership) DeepCopyInto(out *TargetOwnership)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetOwnership) Descriptor ¶
func (*TargetOwnership) Descriptor() ([]byte, []int)
func (*TargetOwnership) Marshal ¶
func (m *TargetOwnership) Marshal() (dAtA []byte, err error)
func (*TargetOwnership) MarshalToSizedBuffer ¶
func (m *TargetOwnership) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TargetOwnership) ProtoMessage ¶
func (*TargetOwnership) ProtoMessage()
func (*TargetOwnership) Reset ¶
func (m *TargetOwnership) Reset()
func (*TargetOwnership) Size ¶
func (m *TargetOwnership) Size() (n int)
func (*TargetOwnership) String ¶
func (this *TargetOwnership) String() string
func (*TargetOwnership) Unmarshal ¶
func (m *TargetOwnership) Unmarshal(dAtA []byte) error
func (*TargetOwnership) XXX_DiscardUnknown ¶
func (m *TargetOwnership) XXX_DiscardUnknown()
func (*TargetOwnership) XXX_Marshal ¶
func (m *TargetOwnership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TargetOwnership) XXX_Merge ¶
func (m *TargetOwnership) XXX_Merge(src proto.Message)
func (*TargetOwnership) XXX_Size ¶
func (m *TargetOwnership) XXX_Size() int
func (*TargetOwnership) XXX_Unmarshal ¶
func (m *TargetOwnership) XXX_Unmarshal(b []byte) error
type TargetSpec ¶
type TargetSpec struct {
// Params is a map of arbitrary, target-specific values. Values may be any
// valid JSON -- including nested objects and arrays -- so promotion steps
// can reference deeply nested data. Promotion steps of Stages that govern
// this Target may reference these values by key in their expressions (for
// example, target.params.branch or target.params.cluster.region).
//
// +optional
Params map[string]apiextensionsv1.JSON `` /* 132-byte string literal not displayed */
}
TargetSpec describes a Target.
func (*TargetSpec) DeepCopy ¶
func (in *TargetSpec) DeepCopy() *TargetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSpec.
func (*TargetSpec) DeepCopyInto ¶
func (in *TargetSpec) DeepCopyInto(out *TargetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetSpec) Descriptor ¶
func (*TargetSpec) Descriptor() ([]byte, []int)
func (*TargetSpec) Marshal ¶
func (m *TargetSpec) Marshal() (dAtA []byte, err error)
func (*TargetSpec) MarshalToSizedBuffer ¶
func (m *TargetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TargetSpec) ProtoMessage ¶
func (*TargetSpec) ProtoMessage()
func (*TargetSpec) Reset ¶
func (m *TargetSpec) Reset()
func (*TargetSpec) Size ¶
func (m *TargetSpec) Size() (n int)
func (*TargetSpec) String ¶
func (this *TargetSpec) String() string
func (*TargetSpec) Unmarshal ¶
func (m *TargetSpec) Unmarshal(dAtA []byte) error
func (*TargetSpec) XXX_DiscardUnknown ¶
func (m *TargetSpec) XXX_DiscardUnknown()
func (*TargetSpec) XXX_Marshal ¶
func (m *TargetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TargetSpec) XXX_Merge ¶
func (m *TargetSpec) XXX_Merge(src proto.Message)
func (*TargetSpec) XXX_Size ¶
func (m *TargetSpec) XXX_Size() int
func (*TargetSpec) XXX_Unmarshal ¶
func (m *TargetSpec) XXX_Unmarshal(b []byte) error
type TargetStatus ¶
type TargetStatus struct {
// Conditions contains the last observations of the Target'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"`
// OwnedBy describes the Stages that currently govern this Target, with one
// entry per (Stage, Freight origin) pair.
OwnedBy []TargetOwnership `json:"ownedBy,omitempty" protobuf:"bytes,2,rep,name=ownedBy"`
}
TargetStatus describes the current status of a Target.
func (*TargetStatus) DeepCopy ¶
func (in *TargetStatus) DeepCopy() *TargetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetStatus.
func (*TargetStatus) DeepCopyInto ¶
func (in *TargetStatus) DeepCopyInto(out *TargetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetStatus) Descriptor ¶
func (*TargetStatus) Descriptor() ([]byte, []int)
func (*TargetStatus) GetConditions ¶
func (t *TargetStatus) GetConditions() []metav1.Condition
GetConditions implements the conditions.Getter interface.
func (*TargetStatus) Marshal ¶
func (m *TargetStatus) Marshal() (dAtA []byte, err error)
func (*TargetStatus) MarshalToSizedBuffer ¶
func (m *TargetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TargetStatus) ProtoMessage ¶
func (*TargetStatus) ProtoMessage()
func (*TargetStatus) Reset ¶
func (m *TargetStatus) Reset()
func (*TargetStatus) SetConditions ¶
func (t *TargetStatus) SetConditions(conditions []metav1.Condition)
SetConditions implements the conditions.Setter interface.
func (*TargetStatus) Size ¶
func (m *TargetStatus) Size() (n int)
func (*TargetStatus) String ¶
func (this *TargetStatus) String() string
func (*TargetStatus) Unmarshal ¶
func (m *TargetStatus) Unmarshal(dAtA []byte) error
func (*TargetStatus) XXX_DiscardUnknown ¶
func (m *TargetStatus) XXX_DiscardUnknown()
func (*TargetStatus) XXX_Marshal ¶
func (m *TargetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TargetStatus) XXX_Merge ¶
func (m *TargetStatus) XXX_Merge(src proto.Message)
func (*TargetStatus) XXX_Size ¶
func (m *TargetStatus) XXX_Size() int
func (*TargetStatus) XXX_Unmarshal ¶
func (m *TargetStatus) XXX_Unmarshal(b []byte) error
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) 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) 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 ¶
func (v *VerificationInfoStack) Current() *VerificationInfo
Current returns the VerificationInfo at the top of the stack.
func (VerificationInfoStack) DeepCopy ¶
func (in VerificationInfoStack) DeepCopy() VerificationInfoStack
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) 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Warehouse.
func (*Warehouse) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Warehouse) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Warehouse) Descriptor ¶
func (*Warehouse) GetInterval ¶
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) MarshalToSizedBuffer ¶
func (*Warehouse) ProtoMessage ¶
func (*Warehouse) ProtoMessage()
func (*Warehouse) XXX_DiscardUnknown ¶
func (m *Warehouse) XXX_DiscardUnknown()
func (*Warehouse) XXX_Marshal ¶
func (*Warehouse) XXX_Unmarshal ¶
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) 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 []apiextensionsv1.JSON `json:"subscriptions" protobuf:"bytes,1,rep,name=subscriptions"`
// InternalSubscriptions is an internal, typed representation of the
// Subscriptions field. When a WarehouseSpec is unmarshaled, this field is
// populated from the JSON in the Subscriptions field. When a WarehouseSpec is
// marshaled, the contents of this field are marshaled into JSON and used to
// populate the Subscriptions field.
//
// Note(krancour): The existence of this field is a short-term workaround that
// has allowed the Subscriptions field to become raw JSON without forcing us
// to immediately refactor all existing code that depends on typed
// RepoSubscription objects. THIS FIELD MAY BE REMOVED WITHOUT NOTICE IN A
// FUTURE RELEASE.
//
// +kubebuilder:validation:Optional
InternalSubscriptions []RepoSubscription `json:"-" protobuf:"-"`
// FreightCreationCriteria defines criteria that must be satisfied for Freight
// to be created automatically from new artifacts following discovery. This
// field has no effect when the FreightCreationPolicy is `Manual`.
//
// +kubebuilder:validation:Optional
FreightCreationCriteria *FreightCreationCriteria `json:"freightCreationCriteria,omitempty" protobuf:"bytes,5,opt,name=freightCreationCriteria"`
}
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) MarshalJSON ¶
func (w WarehouseSpec) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WarehouseSpec to JSON, converting the InternalSubscriptions slice into JSON in the Subscriptions field. For Subscription objects, the Kind field is used as the top-level key.
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) UnmarshalJSON ¶
func (w *WarehouseSpec) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals the JSON data into WarehouseSpec, converting the JSON from the Subscriptions field into typed RepoSubscription objects in InternalSubscriptions. Any JSON object with a top-level key other than "git", "image", or "chart" is unpacked into a (generic) Subscription with the key as the ArtifactType.
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) 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) 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"`
// Generic contains the configuration for a generic webhook receiver.
Generic *GenericWebhookReceiverConfig `json:"generic,omitempty" protobuf:"bytes,11,opt,name=generic"`
}
WebhookReceiverConfig describes the configuration for a single webhook receiver.
func (*WebhookReceiverConfig) DeepCopy ¶
func (in *WebhookReceiverConfig) DeepCopy() *WebhookReceiverConfig
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 ¶
func (in *WebhookReceiverDetails) DeepCopy() *WebhookReceiverDetails
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
Source Files
¶
- annotations.go
- cluster_config_types.go
- cluster_promotion_task_types.go
- conditions.go
- event.go
- expression_types.go
- freight_types.go
- generated.pb.go
- groupversion_info.go
- labels.go
- project_config_types.go
- project_types.go
- promotion_task_types.go
- promotion_types.go
- request.go
- stage_types.go
- target_types.go
- warehouse_types.go
- zz_generated.deepcopy.go
- zz_subscription_types.go