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) error
- func (o Operator) GetComponents(ctx context.Context, component *model.ResourceComponent) ([]*model.ResourceComponent, error)
- func (o Operator) GetKeys(ctx context.Context, component *model.ResourceComponent) (*types.ResourceComponentOperationKeys, error)
- func (o Operator) GetStatus(ctx context.Context, resource *model.ResourceComponent) (*status.Status, error)
- func (o Operator) ID() string
- func (o Operator) IsConnected(ctx context.Context) error
- func (o Operator) Label(ctx context.Context, component *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 = "Google"
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, component *model.ResourceComponent, ) ([]*model.ResourceComponent, error)
func (Operator) GetKeys ¶
func (o Operator) GetKeys( ctx context.Context, component *model.ResourceComponent, ) (*types.ResourceComponentOperationKeys, error)
Click to show internal directories.
Click to hide internal directories.