Documentation ¶
Index ¶
- Constants
- func New(ctx context.Context, opts optypes.CreateOptions) (optypes.Operator, error)
- type Operator
- func (o Operator) Burst() int
- func (o Operator) Exec(ctx context.Context, s string, options optypes.ExecOptions) (err error)
- func (o Operator) GetComponents(ctx context.Context, resource *model.ResourceComponent) ([]*model.ResourceComponent, error)
- func (o Operator) GetKeys(ctx context.Context, resource *model.ResourceComponent) (*types.ResourceComponentOperationKeys, error)
- func (o Operator) GetStatus(_ context.Context, resource *model.ResourceComponent) (*status.Status, error)
- func (o Operator) ID() string
- func (o Operator) IsConnected(_ context.Context) error
- func (o Operator) Label(ctx context.Context, resource *model.ResourceComponent, m map[string]string) error
- func (o Operator) Log(ctx context.Context, s string, options optypes.LogOptions) error
- func (o Operator) Type() optypes.Type
Constants ¶
View Source
const OperatorType = "Alibaba"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
func (Operator) GetComponents ¶
func (o Operator) GetComponents( ctx context.Context, resource *model.ResourceComponent, ) ([]*model.ResourceComponent, error)
func (Operator) GetKeys ¶
func (o Operator) GetKeys( ctx context.Context, resource *model.ResourceComponent, ) (*types.ResourceComponentOperationKeys, error)
Click to show internal directories.
Click to hide internal directories.