client

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: MIT Imports: 19 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareCancelQueue added in v0.0.20

func PrepareCancelQueue(roundTripper *mhttp.MockRoundTripper, rootURL, user, passwd string)

PrepareCancelQueue only for test

func PrepareCommonPost added in v0.0.20

func PrepareCommonPost(request *http.Request, roundTripper *mhttp.MockRoundTripper, user, passwd, rootURL string)

PrepareCommonPost only for test

func PrepareFor500InstalledPluginList added in v0.0.20

func PrepareFor500InstalledPluginList(roundTripper *mhttp.MockRoundTripper, rootURL string) (
	request *http.Request, response *http.Response)

PrepareFor500InstalledPluginList only for test

func PrepareForCreatePipelineJob added in v0.0.20

func PrepareForCreatePipelineJob(roundTripper *mhttp.MockRoundTripper, rootURL, jobName, jobType, user, passwd string)

PrepareForCreatePipelineJob only for test

func PrepareForDeleteUser added in v0.0.20

func PrepareForDeleteUser(roundTripper *mhttp.MockRoundTripper, rootURL, userName, user, passwd string)

PrepareForDeleteUser only for test

func PrepareForEditUserDesc added in v0.0.20

func PrepareForEditUserDesc(roundTripper *mhttp.MockRoundTripper, rootURL, userName, description, user, passwd string)

PrepareForEditUserDesc only for test

func PrepareForEmptyAvaiablePluginList added in v0.0.20

func PrepareForEmptyAvaiablePluginList(roundTripper *mhttp.MockRoundTripper, rootURL string) (
	request *http.Request, response *http.Response)

PrepareForEmptyAvaiablePluginList only for test

func PrepareForEmptyInstalledPluginList added in v0.0.20

func PrepareForEmptyInstalledPluginList(roundTripper *mhttp.MockRoundTripper, rootURL string) (
	request *http.Request, response *http.Response)

PrepareForEmptyInstalledPluginList only for test

func PrepareForInstallPlugin added in v0.0.20

func PrepareForInstallPlugin(roundTripper *mhttp.MockRoundTripper, rootURL, pluginName, user, passwd string)

PrepareForInstallPlugin only for test

func PrepareForManyAvaiablePlugin added in v0.0.20

func PrepareForManyAvaiablePlugin(roundTripper *mhttp.MockRoundTripper, rootURL string) (
	request *http.Request, response *http.Response)

PrepareForManyAvaiablePlugin only for test

func PrepareForManyInstalledPlugins added in v0.0.20

func PrepareForManyInstalledPlugins(roundTripper *mhttp.MockRoundTripper, rootURL string) (
	request *http.Request, response *http.Response)

PrepareForManyInstalledPlugins only for test

func PrepareForNoAvailablePlugins added in v0.0.20

func PrepareForNoAvailablePlugins(roundTripper *mhttp.MockRoundTripper, rootURL string) (
	requestCenter *http.Request, responseCenter *http.Response)

PrepareForNoAvailablePlugins only for the test case

func PrepareForOneAvaiablePlugin added in v0.0.20

func PrepareForOneAvaiablePlugin(roundTripper *mhttp.MockRoundTripper, rootURL string) (
	request *http.Request, response *http.Response)

PrepareForOneAvaiablePlugin only for test

func PrepareForOneInstalledPlugin added in v0.0.20

func PrepareForOneInstalledPlugin(roundTripper *mhttp.MockRoundTripper, rootURL string) (
	request *http.Request, response *http.Response)

PrepareForOneInstalledPlugin only for test

func PrepareForPipelineJob added in v0.0.20

func PrepareForPipelineJob(roundTripper *mhttp.MockRoundTripper, rootURL, user, passwd string) (
	request *http.Request, response *http.Response)

PrepareForPipelineJob only for test

func PrepareForRequest500UpdateCenter added in v0.0.20

func PrepareForRequest500UpdateCenter(roundTripper *mhttp.MockRoundTripper, rootURL string) (
	requestCenter *http.Request, responseCenter *http.Response)

PrepareForRequest500UpdateCenter only for the test case

func PrepareForRequestUpdateCenter added in v0.0.20

func PrepareForRequestUpdateCenter(roundTripper *mhttp.MockRoundTripper, rootURL string) (
	requestCenter *http.Request, responseCenter *http.Response)

PrepareForRequestUpdateCenter only for the test case

func PrepareForUninstallPlugin added in v0.0.20

func PrepareForUninstallPlugin(roundTripper *mhttp.MockRoundTripper, rootURL, pluginName string) (
	request *http.Request, response *http.Response, requestCrumb *http.Request, responseCrumb *http.Response)

PrepareForUninstallPlugin only for test

func PrepareForUninstallPluginWith500 added in v0.0.20

func PrepareForUninstallPluginWith500(roundTripper *mhttp.MockRoundTripper, rootURL, pluginName string) (
	request *http.Request, response *http.Response, requestCrumb *http.Request, responseCrumb *http.Response)

PrepareForUninstallPluginWith500 only for test

func PrepareForUpdatePipelineJob added in v0.0.20

func PrepareForUpdatePipelineJob(roundTripper *mhttp.MockRoundTripper, rootURL, user, passwd string)

PrepareForUpdatePipelineJob only for test

func PrepareForUploadPlugin added in v0.0.20

func PrepareForUploadPlugin(roundTripper *mhttp.MockRoundTripper, rootURL string) (
	request *http.Request, response *http.Response, requestCrumb *http.Request, responseCrumb *http.Response)

PrepareForUploadPlugin only for test

func PrepareGetQueue added in v0.0.20

func PrepareGetQueue(roundTripper *mhttp.MockRoundTripper, rootURL, user, passwd string)

PrepareGetQueue only for test

func RequestCrumb added in v0.0.20

func RequestCrumb(roundTripper *mhttp.MockRoundTripper, rootURL string) (
	requestCrumb *http.Request, responseCrumb *http.Response)

RequestCrumb only for the test case

Types

type AgentLabel added in v0.0.18

type AgentLabel struct {
	Name string
}

AgentLabel represents the label of Jenkins agent

type AvailablePlugin added in v0.0.18

type AvailablePlugin struct {
	Plugin

	// for the available list
	Name      string
	Installed bool
	Website   string
	Title     string
}

AvailablePlugin represetns a available plugin

type AvailablePluginList added in v0.0.18

type AvailablePluginList struct {
	Data   []AvailablePlugin
	Status string
}

AvailablePluginList represents a list of available plugins

type Cause

type Cause struct {
	UpstreamURL      string
	UpstreamProject  string
	UpstreamBuild    int
	ShortDescription string
}

Cause represent the reason why job is triggered

type CauseAction

type CauseAction struct {
	Causes []Cause
}

CauseAction is the collection of causes

type CenterPlugin added in v0.0.20

type CenterPlugin struct {
	CompatibleWithInstalledVersion bool
	Excerpt                        string
	Installed                      InstalledPlugin
	MinimumJavaVersion             string
	Name                           string
	RequiredCore                   string
	SourceID                       string
	Title                          string
	URL                            string
	Version                        string
	Wiki                           string
}

CenterPlugin represents the all plugin from UpdateCenter

type CenterSite

type CenterSite struct {
	AvailablesPlugins  []CenterPlugin `json:"availables"`
	ConnectionCheckURL string         `json:"connectionCheckUrl"`
	DataTimestamp      int64          `json:"dataTimestamp"`
	HasUpdates         bool           `json:"hasUpdates"`
	ID                 string         `json:"id"`
	UpdatePlugins      []CenterPlugin `json:"updates"`
	URL                string         `json:"url"`
}

CenterSite represents the site of update center

type CoreClient added in v0.0.18

type CoreClient struct {
	JenkinsCore
}

CoreClient hold the client of Jenkins core

func (*CoreClient) Restart added in v0.0.18

func (q *CoreClient) Restart() (err error)

Restart will send the restart request

type DefaultParameterValue added in v0.0.18

type DefaultParameterValue struct {
	Description string
	Value       interface{}
}

DefaultParameterValue represents the default value for param

type InstallStates added in v0.0.18

type InstallStates struct {
	Data   InstallStatesData
	Status string
}

InstallStates is the installation states

type InstallStatesData added in v0.0.18

type InstallStatesData struct {
	Jobs  InstallStatesJob
	State string
}

InstallStatesData is the installation state data

type InstallStatesJob added in v0.0.18

type InstallStatesJob struct {
	InstallStatus   string
	Name            string
	RequiresRestart string
	Title           string
	Version         string
}

InstallStatesJob is the installation state job

type InstallationJob added in v0.0.18

type InstallationJob struct {
	UpdateCenterJob

	Name   string
	Status InstallationJobStatus
}

InstallationJob represents the installation job

type InstallationJobStatus added in v0.0.18

type InstallationJobStatus struct {
	Success bool
	Type    string
}

InstallationJobStatus represents the installation job status

type InstalledPlugin added in v0.0.18

type InstalledPlugin struct {
	Plugin

	Enable             bool
	ShortName          string
	LongName           string
	Version            string
	URL                string
	HasUpdate          bool
	Pinned             bool
	RequiredCoreVesion string
	MinimumJavaVersion string
	SupportDynamicLoad string
	BackVersion        string
}

InstalledPlugin represent the installed plugin from Jenkins

type InstalledPluginList added in v0.0.18

type InstalledPluginList struct {
	Plugins []InstalledPlugin
}

InstalledPluginList represent a list of plugins

type JenkinsCore

type JenkinsCore struct {
	JenkinsCrumb
	URL       string
	UserName  string
	Token     string
	Proxy     string
	ProxyAuth string

	Debug        bool
	Output       io.Writer
	RoundTripper http.RoundTripper
}

JenkinsCore core informations of Jenkins

func (*JenkinsCore) AuthHandle

func (j *JenkinsCore) AuthHandle(request *http.Request) (err error)

AuthHandle takes care of the auth

func (*JenkinsCore) CrumbHandle

func (j *JenkinsCore) CrumbHandle(request *http.Request) error

CrumbHandle handle crum with http request

func (*JenkinsCore) ErrorHandle added in v0.0.20

func (j *JenkinsCore) ErrorHandle(statusCode int, data []byte) (err error)

ErrorHandle handles the error cases

func (*JenkinsCore) GetClient added in v0.0.10

func (j *JenkinsCore) GetClient() (client *http.Client)

GetClient get the default http Jenkins client

func (*JenkinsCore) GetCrumb

func (j *JenkinsCore) GetCrumb() (crumbIssuer *JenkinsCrumb, err error)

GetCrumb get the crumb from Jenkins

func (*JenkinsCore) ProxyHandle added in v0.0.18

func (j *JenkinsCore) ProxyHandle(request *http.Request)

ProxyHandle takes care of the proxy setting

func (*JenkinsCore) Request added in v0.0.20

func (j *JenkinsCore) Request(method, api string, headers map[string]string, payload io.Reader) (
	statusCode int, data []byte, err error)

Request make a common request

func (*JenkinsCore) RequestWithData added in v0.0.20

func (j *JenkinsCore) RequestWithData(method, api string, headers map[string]string,
	payload io.Reader, successCode int, obj interface{}) (err error)

RequestWithData requests the api and parse the data into an interface

func (*JenkinsCore) RequestWithoutData added in v0.0.20

func (j *JenkinsCore) RequestWithoutData(method, api string, headers map[string]string,
	payload io.Reader, successCode int) (statusCode int, err error)

RequestWithoutData requests the api without handling data

type JenkinsCrumb

type JenkinsCrumb struct {
	CrumbRequestField string
	Crumb             string
}

JenkinsCrumb crumb for Jenkins

type JenkinsStatus added in v0.0.18

type JenkinsStatus struct {
	AssignedLabels  []AgentLabel
	Description     string
	Jobs            []Job
	Mode            string
	NodeDescription string
	NodeName        string
	NumExecutors    int
	PrimaryView     View
	QuietingDown    bool
	SlaveAgentPort  int
	UseCrumbs       bool
	UseSecurity     bool
	Views           []View
	Version         string
}

JenkinsStatus holds the status of Jenkins

type JenkinsStatusClient added in v0.0.18

type JenkinsStatusClient struct {
	JenkinsCore
}

JenkinsStatusClient use to connect with Jenkins status

func (*JenkinsStatusClient) Get added in v0.0.18

func (q *JenkinsStatusClient) Get() (status *JenkinsStatus, err error)

Get returns status of Jenkins

type Job added in v0.0.10

type Job struct {
	Type            string `json:"_class"`
	Builds          []JobBuild
	Color           string
	ConcurrentBuild bool
	Name            string
	NextBuildNumber int
	URL             string
	Buildable       bool

	Property []ParametersDefinitionProperty
}

Job represents a job

type JobBuild added in v0.0.10

type JobBuild struct {
	SimpleJobBuild
	Building          bool
	Description       string
	DisplayName       string
	Duration          int64
	EstimatedDuration int64
	FullDisplayName   string
	ID                string
	KeepLog           bool
	QueueID           int
	Result            string
	Timestamp         int64
	PreviousBuild     SimpleJobBuild
	NextBuild         SimpleJobBuild
}

JobBuild represents a job build

type JobCategory added in v0.0.18

type JobCategory struct {
	Description string
	ID          string
	Items       []JobCategoryItem
	MinToShow   int
	Name        string
	Order       int
}

JobCategory represents a job category

type JobCategoryItem added in v0.0.18

type JobCategoryItem struct {
	Description string
	DisplayName string
	Order       int
	Class       string
}

JobCategoryItem represents a job category item

type JobClient added in v0.0.10

type JobClient struct {
	JenkinsCore
}

JobClient is client for operate jobs

func (*JobClient) Build added in v0.0.10

func (q *JobClient) Build(jobName string) (err error)

Build trigger a job

func (*JobClient) BuildWithParams added in v0.0.18

func (q *JobClient) BuildWithParams(jobName string, parameters []ParameterDefinition) (err error)

BuildWithParams build a job which has params

func (*JobClient) Create added in v0.0.18

func (q *JobClient) Create(jobName string, jobType string) (err error)

Create can create a job

func (*JobClient) Delete added in v0.0.18

func (q *JobClient) Delete(jobName string) (err error)

Delete will delete a job by name

func (*JobClient) GetBuild added in v0.0.18

func (q *JobClient) GetBuild(jobName string, id int) (job *JobBuild, err error)

GetBuild get build information of a job

func (*JobClient) GetHistory added in v0.0.10

func (q *JobClient) GetHistory(name string) (builds []JobBuild, err error)

GetHistory returns the build history of a job

func (*JobClient) GetJob added in v0.0.10

func (q *JobClient) GetJob(name string) (job *Job, err error)

GetJob returns the job info

func (*JobClient) GetJobTypeCategories added in v0.0.18

func (q *JobClient) GetJobTypeCategories() (jobCategories []JobCategory, err error)

GetJobTypeCategories returns all categories of jobs

func (*JobClient) GetPipeline added in v0.0.18

func (q *JobClient) GetPipeline(name string) (pipeline *Pipeline, err error)

GetPipeline return the pipeline object

func (*JobClient) Log added in v0.0.10

func (q *JobClient) Log(jobName string, history int, start int64) (jobLog JobLog, err error)

Log get the log of a job

func (*JobClient) Search added in v0.0.10

func (q *JobClient) Search(keyword string, max int) (status *SearchResult, err error)

Search find a set of jobs by name

func (*JobClient) StopJob added in v0.0.18

func (q *JobClient) StopJob(jobName string, num int) (err error)

StopJob stops a job build

func (*JobClient) UpdatePipeline added in v0.0.18

func (q *JobClient) UpdatePipeline(name, script string) (err error)

UpdatePipeline updates the pipeline script

type JobLog added in v0.0.10

type JobLog struct {
	HasMore   bool
	NextStart int64
	Text      string
}

JobLog holds the log text

type JobQueue

type JobQueue struct {
	Items []QueueItem
}

JobQueue represent the job queue

type ParameterDefinition added in v0.0.18

type ParameterDefinition struct {
	Description           string
	Name                  string `json:"name"`
	Type                  string
	Value                 string `json:"value"`
	DefaultParameterValue DefaultParameterValue
}

ParameterDefinition holds the parameter definition

type ParametersDefinitionProperty added in v0.0.18

type ParametersDefinitionProperty struct {
	ParameterDefinitions []ParameterDefinition
}

ParametersDefinitionProperty holds the param definition property

type Pipeline added in v0.0.18

type Pipeline struct {
	Script  string
	Sandbox bool
}

Pipeline represents a pipeline

type Plugin

type Plugin struct {
	Active       bool
	Enabled      bool
	Bundled      bool
	Downgradable bool
	Deleted      bool
}

Plugin represents a plugin of Jenkins

type PluginAPI added in v0.0.18

type PluginAPI struct {
	// contains filtered or unexported fields
}

PluginAPI represetns a plugin API

func (*PluginAPI) DownloadPlugins added in v0.0.18

func (d *PluginAPI) DownloadPlugins(names []string)

DownloadPlugins will download those plugins from update center

func (*PluginAPI) ShowTrend added in v0.0.18

func (d *PluginAPI) ShowTrend(name string)

ShowTrend show the trend of plugins

type PluginDependency added in v0.0.18

type PluginDependency struct {
	Name     string `json:"name"`
	Implied  bool   `json:"implied"`
	Optional bool   `json:"optional"`
	Title    string `json:"title"`
	Version  string `json:"version"`
}

PluginDependency represents a plugin dependency

type PluginInfo added in v0.0.18

type PluginInfo struct {
	BuildDate         string             `json:"buildDate"`
	Dependencies      []PluginDependency `json:"dependencies"`
	Excerpt           string             `json:"excerpt"`
	FirstRelease      string             `json:"firstRelease"`
	Gav               string             `json:"gav"`
	Name              string             `json:"name"`
	PreviousTimestamp string             `json:"previousTimestamp"`
	PreviousVersion   string             `json:"previousVersion"`
	ReleaseTimestamp  string             `json:"releaseTimestamp"`
	RequireCore       string             `json:"RequireCore"`
	Title             string             `json:"title"`
	URL               string             `json:"url"`
	Version           string             `json:"version"`

	Stats PluginInfoStats
}

PluginInfo hold the info of a plugin

type PluginInfoStats added in v0.0.18

type PluginInfoStats struct {
	CurrentInstalls                   int
	Installations                     []PluginInstallationInfo
	InstallationsPerVersion           []PluginInstallationInfo
	InstallationsPercentage           []PluginInstallationInfo
	InstallationsPercentagePerVersion []PluginInstallationInfo
	Trend                             int
}

PluginInfoStats is the plugin info stats

type PluginInstallationInfo added in v0.0.18

type PluginInstallationInfo struct {
	Timestamp  int64
	Total      int
	Version    string
	Percentage float64
}

PluginInstallationInfo represents the plugin installation info

type PluginManager

type PluginManager struct {
	JenkinsCore

	ShowProgress bool
}

PluginManager is the client of plugin manager

func (*PluginManager) CheckUpdate

func (p *PluginManager) CheckUpdate(handle func(*http.Response))

CheckUpdate fetch the lastest plugins from update center site

func (*PluginManager) GetAvailablePlugins added in v0.0.18

func (p *PluginManager) GetAvailablePlugins() (pluginList *AvailablePluginList, err error)

GetAvailablePlugins get the aviable plugins from Jenkins

func (*PluginManager) GetPlugins

func (p *PluginManager) GetPlugins() (pluginList *InstalledPluginList, err error)

GetPlugins get installed plugins

func (*PluginManager) InstallPlugin

func (p *PluginManager) InstallPlugin(names []string) (err error)

InstallPlugin install a plugin by name

func (*PluginManager) UninstallPlugin

func (p *PluginManager) UninstallPlugin(name string) (err error)

UninstallPlugin uninstall a plugin by name

func (*PluginManager) Upload added in v0.0.18

func (p *PluginManager) Upload(pluginFile string) (err error)

Upload will upload a file from local filesystem into Jenkins

type QueueClient

type QueueClient struct {
	JenkinsCore
}

QueueClient is the client of queue

func (*QueueClient) Cancel added in v0.0.20

func (q *QueueClient) Cancel(id int) (err error)

Cancel will cancel a job from the queue

func (*QueueClient) Get

func (q *QueueClient) Get() (status *JobQueue, err error)

Get returns the job queue

type QueueItem

type QueueItem struct {
	Blocked                    bool
	Buildable                  bool
	ID                         int
	Params                     string
	Pending                    bool
	Stuck                      bool
	URL                        string
	Why                        string
	BuildableStartMilliseconds int64
	InQueueSince               int64
	Actions                    []CauseAction
}

QueueItem is the item of job queue

type RequestMatcher added in v0.0.20

type RequestMatcher struct {
	// contains filtered or unexported fields
}

RequestMatcher to match the http request

func NewRequestMatcher added in v0.0.20

func NewRequestMatcher(request *http.Request) *RequestMatcher

NewRequestMatcher create a request matcher will match request method and request path

func NewVerboseRequestMatcher added in v0.0.20

func NewVerboseRequestMatcher(request *http.Request) *RequestMatcher

NewVerboseRequestMatcher create a verbose request matcher will match request method and request path

func (*RequestMatcher) Matches added in v0.0.20

func (request *RequestMatcher) Matches(x interface{}) bool

Matches returns a matcher with given function

func (*RequestMatcher) String added in v0.0.20

func (*RequestMatcher) String() string

String returns the text of current object

func (*RequestMatcher) WithQuery added in v0.0.20

func (request *RequestMatcher) WithQuery() *RequestMatcher

WithQuery returns a matcher with query

type SearchResult added in v0.0.10

type SearchResult struct {
	Suggestions []SearchResultItem
}

SearchResult holds the result items

type SearchResultItem added in v0.0.10

type SearchResultItem struct {
	Name string
}

SearchResultItem hold the result item

type SimpleJobBuild added in v0.0.18

type SimpleJobBuild struct {
	Number int
	URL    string
}

SimpleJobBuild represents a simple job build

type Token added in v0.0.18

type Token struct {
	Status string
	Data   TokenData
}

Token is the token of user

type TokenData added in v0.0.18

type TokenData struct {
	TokenName  string
	TokenUUID  string
	TokenValue string
}

TokenData represents the token

type UpdateCenter

type UpdateCenter struct {
	Availables                   []Plugin
	Jobs                         []InstallationJob
	RestartRequiredForCompletion bool
	Sites                        []CenterSite
}

UpdateCenter represents the update center of Jenkins

type UpdateCenterJob

type UpdateCenterJob struct {
	ErrorMessage string
	ID           int `json:"id"`
	Type         string
}

UpdateCenterJob represents the job for updateCenter which execute a task

type UpdateCenterManager

type UpdateCenterManager struct {
	JenkinsCore
}

UpdateCenterManager manages the UpdateCenter

func (*UpdateCenterManager) DownloadJenkins added in v0.0.20

func (u *UpdateCenterManager) DownloadJenkins(lts bool, output string) (err error)

DownloadJenkins download Jenkins

func (*UpdateCenterManager) GetSite added in v0.0.20

func (u *UpdateCenterManager) GetSite() (site *CenterSite, err error)

GetSite is get Available Plugins and Updated Plugins from UpdateCenter

func (*UpdateCenterManager) Status

func (u *UpdateCenterManager) Status() (status *UpdateCenter, err error)

Status returns the status of Jenkins

func (*UpdateCenterManager) Upgrade added in v0.0.19

func (u *UpdateCenterManager) Upgrade() (err error)

Upgrade the Jenkins core

type User added in v0.0.18

type User struct {
	AbsoluteURL string `json:"absoluteUrl"`
	Description string
	FullName    string `json:"fullname"`
	ID          string
}

User for Jenkins

type UserClient added in v0.0.18

type UserClient struct {
	JenkinsCore
}

UserClient for connect the user

func (*UserClient) Create added in v0.0.18

func (q *UserClient) Create(username string) (user *UserForCreate, err error)

Create will create a user in Jenkins

func (*UserClient) CreateToken added in v0.0.18

func (q *UserClient) CreateToken(newTokenName string) (status *Token, err error)

CreateToken create a token in Jenkins

func (*UserClient) Delete added in v0.0.18

func (q *UserClient) Delete(username string) (err error)

Delete will remove a user from Jenkins

func (*UserClient) EditDesc added in v0.0.18

func (q *UserClient) EditDesc(description string) (err error)

EditDesc update the description of a user

func (*UserClient) Get added in v0.0.18

func (q *UserClient) Get() (status *User, err error)

Get returns a user's detail

type UserForCreate added in v0.0.18

type UserForCreate struct {
	User      `json:",inline"`
	Username  string `json:"username"`
	Password1 string `json:"password1"`
	Password2 string `json:"password2"`
	Email     string `json:"email"`
}

UserForCreate is the data for creatig a user

type View added in v0.0.18

type View struct {
	Name string
	URL  string
}

View represents the view of Jenkins

Jump to

Keyboard shortcuts

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