Documentation ¶
Index ¶
- func ApplyCoreModule(ctx context.Context, opts ModuleOpts) error
- func CoreDefaultClaims() map[string]interface{}
- func List(ctx context.Context, restConfig *rest.Config) ([]unstructured.Unstructured, error)
- func WaitUntilModuleCoreIsReady(ctx context.Context, restConfig *rest.Config) error
- func WaitUntilReady(ctx context.Context, restConfig *rest.Config, name string) error
- type Condition
- type ConditionReason
- type ConditionType
- type ConditionedStatus
- type ModuleOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyCoreModule ¶
func ApplyCoreModule(ctx context.Context, opts ModuleOpts) error
func CoreDefaultClaims ¶
func CoreDefaultClaims() map[string]interface{}
func List ¶
func List(ctx context.Context, restConfig *rest.Config) ([]unstructured.Unstructured, error)
Types ¶
type Condition ¶
type Condition struct { // Type of this condition. At most one of each condition type may apply to // a resource at any point in time. Type ConditionType `json:"type"` // Status of this condition; is it currently True, False, or Unknown? Status corev1.ConditionStatus `json:"status"` // LastTransitionTime is the last time this condition transitioned from one // status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime"` // A Reason for this condition's last transition from one status to another. Reason ConditionReason `json:"reason"` // A Message containing details about this condition's last transition from // one status to another, if any. Message string `json:"message,omitempty"` }
A Condition that may apply to a resource.
type ConditionReason ¶
type ConditionReason string
A ConditionReason represents the reason a resource is in a condition.
type ConditionType ¶
type ConditionType string
A ConditionType represents a condition a resource could be in.
const ( // A TypeReady indicates whether a resource is ready. TypeReady ConditionType = "Ready" )
Condition types.
type ConditionedStatus ¶
type ConditionedStatus struct { // Conditions of the resource. Conditions []Condition `json:"conditions,omitempty"` }
A ConditionedStatus reflects the observed status of a resource. Only one condition of each type may exist.
type ModuleOpts ¶
Click to show internal directories.
Click to hide internal directories.