Documentation ¶
Index ¶
Constants ¶
View Source
const AppAnnotation = "keptn.sh/app"
View Source
const ContainerNameAnnotation = "keptn.sh/container"
View Source
const K8sRecommendedAppAnnotations = "app.kubernetes.io/part-of"
View Source
const K8sRecommendedVersionAnnotations = "app.kubernetes.io/version"
View Source
const K8sRecommendedWorkloadAnnotations = "app.kubernetes.io/name"
View Source
const MaxK8sObjectLength = 253
View Source
const MinKeptnNameLen = 80
View Source
const (
PluginName = "KLCPermit"
)
PluginName is the name of the plugin used in the plugin registry and configurations.
View Source
const VersionAnnotation = "keptn.sh/version"
View Source
const WorkloadAnnotation = "keptn.sh/workload"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeptnState ¶
type KeptnState string
const ( StateProgressing KeptnState = "Progressing" StateSucceeded KeptnState = "Succeeded" StateFailed KeptnState = "Failed" StateUnknown KeptnState = "Unknown" StatePending KeptnState = "Pending" StateDeprecated KeptnState = "Deprecated" )
type Permit ¶
type Permit struct {
// contains filtered or unexported fields
}
Permit is a plugin that waits for pre-deployment checks to be successfully finished
type WorkloadManager ¶
func NewWorkloadManager ¶
func NewWorkloadManager(d dynamic.Interface) *WorkloadManager
func (*WorkloadManager) GetCRD ¶
func (sMgr *WorkloadManager) GetCRD(ctx context.Context, namespace string, name string) (*unstructured.Unstructured, error)
GetCRD returns unstructured to avoid tight coupling with the CRD resource
Click to show internal directories.
Click to hide internal directories.