Documentation ¶
Index ¶
- Constants
- func New(ctx context.Context, opts optypes.CreateOptions) (optypes.Operator, error)
- type Operator
- func (Operator) Exec(ctx context.Context, s string, options optypes.ExecOptions) error
- func (Operator) GetComponents(ctx context.Context, resource *model.ServiceResource) ([]*model.ServiceResource, error)
- func (Operator) GetEndpoints(ctx context.Context, resource *model.ServiceResource) ([]types.ServiceResourceEndpoint, error)
- func (Operator) GetKeys(ctx context.Context, resource *model.ServiceResource) (*types.ServiceResourceOperationKeys, error)
- func (Operator) GetStatus(ctx context.Context, resource *model.ServiceResource) (*status.Status, error)
- func (Operator) IsConnected(ctx context.Context) error
- func (Operator) Label(ctx context.Context, resource *model.ServiceResource, m map[string]string) error
- func (Operator) Log(ctx context.Context, s string, options optypes.LogOptions) error
- func (Operator) Type() optypes.Type
Constants ¶
View Source
const OperatorType = "Unknown"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Operator ¶
type Operator struct{}
func (Operator) GetComponents ¶
func (Operator) GetComponents( ctx context.Context, resource *model.ServiceResource, ) ([]*model.ServiceResource, error)
func (Operator) GetEndpoints ¶
func (Operator) GetEndpoints( ctx context.Context, resource *model.ServiceResource, ) ([]types.ServiceResourceEndpoint, error)
func (Operator) GetKeys ¶
func (Operator) GetKeys( ctx context.Context, resource *model.ServiceResource, ) (*types.ServiceResourceOperationKeys, error)
Click to show internal directories.
Click to hide internal directories.