unknown

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const OperatorType = "Unknown"

Variables

This section is empty.

Functions

func New

New returns types.Operator with the given options.

Types

type Operator

type Operator struct{}

func (Operator) Exec

func (Operator) Exec(ctx context.Context, s string, options optypes.ExecOptions) error

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) GetStatus

func (Operator) GetStatus(ctx context.Context, resource *model.ServiceResource) (*status.Status, error)

func (Operator) IsConnected

func (Operator) IsConnected(ctx context.Context) error

func (Operator) Label

func (Operator) Label(ctx context.Context, resource *model.ServiceResource, m map[string]string) error

func (Operator) Log

func (Operator) Log(ctx context.Context, s string, options optypes.LogOptions) error

func (Operator) Type

func (Operator) Type() optypes.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL