Documentation
¶
Overview ¶
Package variable holds shared types and helpers for the variables subcommands.
Index ¶
- type Service
- func (s Service) Create(ctx context.Context, name, value string) (*apiclient.Variable, error)
- func (s Service) Delete(ctx context.Context, name string) error
- func (s Service) Get(ctx context.Context, name string) (*apiclient.Variable, error)
- func (s Service) ListPage(ctx context.Context, page, limit int) (*apiclient.PaginatedVariables, error)
- func (s Service) Update(ctx context.Context, name, value string) (*apiclient.Variable, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service performs authenticated Volcano variable workflows.
func NewService ¶
func NewService(deps cliruntime.Deps) Service
NewService returns a variable service.
Click to show internal directories.
Click to hide internal directories.