shared

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

Jump to

Keyboard shortcuts

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