unknown

package
v0.5.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 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) Burst added in v0.3.1

func (op Operator) Burst() int

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.ResourceComponent,
) ([]*model.ResourceComponent, error)

func (Operator) GetKeys

func (Operator) GetStatus

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

func (Operator) ID added in v0.3.1

func (op Operator) ID() string

func (Operator) IsConnected

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

func (Operator) Label

func (Operator) Label(ctx context.Context, resource *model.ResourceComponent, 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