Documentation ¶
Index ¶
- func NewController(l log.Logger, ytc yt.Client, root ypath.Path, cluster string, ...) strawberry.Controller
- type Controller
- func (c *Controller) DescribeOptions(parsedSpeclet any) []strawberry.OptionGroupDescriptor
- func (c Controller) Family() string
- func (c *Controller) GetOpBriefAttributes(parsedSpeclet any) map[string]any
- func (c Controller) ParseSpeclet(specletYson yson.RawValue) (any, error)
- func (c Controller) Prepare(ctx context.Context, oplet *strawberry.Oplet) (spec map[string]any, description map[string]any, annotations map[string]any, ...)
- func (c *Controller) Root() ypath.Path
- func (c *Controller) UpdateState() (changed bool, err error)
- type Speclet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
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) 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)
Click to show internal directories.
Click to hide internal directories.