Documentation ¶
Index ¶
- func GetWorker(client client.Client, identifier string) (workerpools.IWorkerPool, error)
- func GetWorkerPools(client client.Client) ([]*workerpools.WorkerPoolListResult, error)
- func ViewRun(opts *ViewOptions, contributeDetails ContributeDetailsCallback) error
- type ContributeDetailsCallback
- type GetWorkerPoolCallback
- type GetWorkerPoolsCallback
- type GetWorkerPoolsOptions
- type ViewFlags
- type ViewOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWorker ¶
func GetWorker(client client.Client, identifier string) (workerpools.IWorkerPool, error)
func GetWorkerPools ¶
func GetWorkerPools(client client.Client) ([]*workerpools.WorkerPoolListResult, error)
func ViewRun ¶
func ViewRun(opts *ViewOptions, contributeDetails ContributeDetailsCallback) error
Types ¶
type ContributeDetailsCallback ¶
type ContributeDetailsCallback func(opts *ViewOptions, workerPool workerpools.IWorkerPool) ([]*output.DataRow, error)
type GetWorkerPoolCallback ¶
type GetWorkerPoolCallback func(identifer string) (workerpools.IWorkerPool, error)
type GetWorkerPoolsCallback ¶
type GetWorkerPoolsCallback func() ([]*workerpools.WorkerPoolListResult, error)
type GetWorkerPoolsOptions ¶
type GetWorkerPoolsOptions struct { GetWorkerPoolsCallback GetWorkerPoolCallback }
func NewGetWorkerPoolsOptions ¶
func NewGetWorkerPoolsOptions(dependencies *cmd.Dependencies) *GetWorkerPoolsOptions
type ViewFlags ¶
type ViewFlags struct {
*machinescommon.WebFlags
}
func NewViewFlags ¶
func NewViewFlags() *ViewFlags
type ViewOptions ¶
type ViewOptions struct { *cmd.Dependencies IdOrName string *ViewFlags }
func NewViewOptions ¶
func NewViewOptions(viewFlags *ViewFlags, dependencies *cmd.Dependencies, args []string) *ViewOptions
Click to show internal directories.
Click to hide internal directories.