Documentation ¶
Index ¶
- Constants
- type AppTemplate
- type Event
- type Operator
- func (op *Operator) DeployApp(ctx context.Context, app AppTemplate, replace bool, watcher *Watcher) error
- func (op *Operator) RedeployAll(ctx context.Context, ns string, should func(*unstructured.Unstructured) bool, ...) error
- func (op *Operator) RedeployApp(ctx context.Context, app AppTemplate, watcher *Watcher) error
- type Watcher
Constants ¶
View Source
const ( StatePending = iota StateDeploying StateReplicasUpdated StateReplicasReady StateInterrupted )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppTemplate ¶
type AppTemplate interface { GetNs() string GetDeploymentName() string GenerateObjects() ([]*unstructured.Unstructured, error) }
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
func (*Operator) RedeployAll ¶
func (op *Operator) RedeployAll(ctx context.Context, ns string, should func(*unstructured.Unstructured) bool, watcher *Watcher) error
func (*Operator) RedeployApp ¶
Click to show internal directories.
Click to hide internal directories.