server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOptions

type AddOptions struct {
	jenkinsutil.JenkinsOptions

	JenkinsService jenkinsutil.JenkinsServer
}

AddOptions contains the command line arguments for this command

func NewCmdAdd

func NewCmdAdd() (*cobra.Command, *AddOptions)

NewCmdAdd creates the new command

func (*AddOptions) Run

func (o *AddOptions) Run() error

Run implements the command

type DeleteOptions

type DeleteOptions struct {
	jenkinsutil.JenkinsOptions

	Name string
}

DeleteOptions contains the command line arguments for this command

func NewCmdDelete

func NewCmdDelete() (*cobra.Command, *DeleteOptions)

NewCmdDelete creates the new command

func (*DeleteOptions) Run

func (o *DeleteOptions) Run() error

Run implements the command

type JobsOptions

type JobsOptions struct {
	jenkinsutil.JenkinsOptions

	JenkinsSelector jenkinsutil.JenkinsSelectorOptions

	Filter string
}

JobsOptions contains the command line arguments for this command

func NewCmdJobs

func NewCmdJobs() (*cobra.Command, *JobsOptions)

NewCmdJobs creates the new command

func (*JobsOptions) Run

func (o *JobsOptions) Run() error

Run implements the command

type ListOptions

type ListOptions struct {
	jenkinsutil.JenkinsOptions

	JenkinsSelector jenkinsutil.JenkinsSelectorOptions

	Results ListResults
}

ListOptions contains the command line arguments for this command

func NewCmdList

func NewCmdList() (*cobra.Command, *ListOptions)

NewCmdList creates the new command

func (*ListOptions) Run

func (o *ListOptions) Run() error

Run implements the command

type ListResults

type ListResults struct {
	Names   []string
	Servers map[string]*jenkinsutil.JenkinsServer
}

ListResults the results of the operation

Jump to

Keyboard shortcuts

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