runner

package
v1.0.0-beta3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(params Params) (*models.RunnerOverview, error)

List gets the list of runners

func Resync

func Resync(params ResyncParams) error

Resync forces indexer to immediately resynchronize the search index and cache for a given runner.

func ResyncAll

ResyncAll asynchronously resynchronizes the search index for all runners.

func Search(params SearchParams) (*models.RunnerOverview, error)

Search searches all the runners using Query DSL

func Show

func Show(params ShowParams) (*models.RunnerInfo, error)

Show returns information about a specific runner

Types

type Params

type Params struct {
	*api.API
}

Params is the generic set of parameters used for any runner call

func (Params) Validate

func (params Params) Validate() error

Validate checks the parameters

type ResyncParams

type ResyncParams struct {
	Params
	ID string
}

ResyncParams is consumed by Resync

func (ResyncParams) Validate

func (params ResyncParams) Validate() error

Validate ensures the parameters are usable by the consuming function.

type SearchParams

type SearchParams struct {
	Params
	Request models.SearchRequest
}

SearchParams contains parameters used to search runner's data using Query DSL

func (SearchParams) Validate

func (params SearchParams) Validate() error

Validate is the implementation for the ecctl.Validator interface

type ShowParams

type ShowParams struct {
	Params
	ID string
}

ShowParams is the set of parameters required for

func (ShowParams) Validate

func (params ShowParams) Validate() error

Validate checks the parameters

Jump to

Keyboard shortcuts

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