sleep

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(l log.Logger, ytc yt.Client, root ypath.Path, cluster string, config yson.RawValue) strawberry.Controller

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func (*Controller) DescribeOptions added in v0.0.4

func (c *Controller) DescribeOptions(parsedSpeclet any) []strawberry.OptionGroupDescriptor

func (Controller) Family

func (c Controller) Family() string

func (*Controller) GetOpBriefAttributes added in v0.0.4

func (c *Controller) GetOpBriefAttributes(parsedSpeclet any) map[string]any

func (Controller) ParseSpeclet

func (c Controller) ParseSpeclet(specletYson yson.RawValue) (any, error)

func (Controller) Prepare

func (c Controller) Prepare(ctx context.Context, oplet *strawberry.Oplet) (
	spec map[string]any, description map[string]any, annotations map[string]any, err error)

func (*Controller) Root added in v0.0.4

func (c *Controller) Root() ypath.Path

func (*Controller) UpdateState added in v0.0.3

func (c *Controller) UpdateState() (changed bool, err error)

type Speclet

type Speclet struct {
	TestOption *int64 `yson:"test_option"`
}

Jump to

Keyboard shortcuts

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