Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "KLCPermit"
)
Name is the name of the plugin used in the plugin registry and configurations.
Variables ¶
This section is empty.
Functions ¶
func GetCRDName ¶
Types ¶
type KeptnState ¶
type KeptnState string
const ( StateRunning KeptnState = "Running" StateSucceeded KeptnState = "Succeeded" StateFailed KeptnState = "Failed" StateUnknown KeptnState = "Unknown" StatePending KeptnState = "Pending" )
type Permit ¶
type Permit struct {
// contains filtered or unexported fields
}
Permit is a plugin that implements a wait for pre-deployment checks
type WorkloadManager ¶
type WorkloadManager struct {
// contains filtered or unexported fields
}
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.