Documentation
¶
Index ¶
- type Operator
- func (o *Operator) DeployApp(appID string, sequence int64) (deployed bool, deployError error)
- func (o *Operator) GetClusterID() string
- func (o *Operator) GoDeployApp(appID string, sequence int64) error
- func (o *Operator) Shutdown()
- func (o *Operator) Start() error
- func (o *Operator) UndeployApp(a *apptypes.App, d *downstreamtypes.Downstream, isRestore bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶ added in v1.84.0
type Operator struct {
// contains filtered or unexported fields
}
func Init ¶ added in v1.84.0
func Init(client client.ClientInterface, store store.Store, clusterToken string, k8sClientset kubernetes.Interface) *Operator
func MustGetOperator ¶ added in v1.84.0
func MustGetOperator() *Operator
func (*Operator) DeployApp ¶ added in v1.84.0
DeployApp deploys the given app and sequence. It returns an error if the deployment fails.
func (*Operator) GetClusterID ¶ added in v1.124.11
func (*Operator) GoDeployApp ¶ added in v1.128.1
GoDeployApp starts a deployment for the given app and sequence. It returns an error if the deployment fails to start. It does not wait for the deployment to complete.
func (*Operator) UndeployApp ¶ added in v1.95.0
func (o *Operator) UndeployApp(a *apptypes.App, d *downstreamtypes.Downstream, isRestore bool) error
Click to show internal directories.
Click to hide internal directories.