jenkins

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadJenkinsfile

func ReadJenkinsfile(filePath string) (string, error)

Types

type Client

type Client struct {
	Host     string
	Username string
	APIToken string
	Crumb    string
	Insecure bool
	// contains filtered or unexported fields
}

func NewClient

func NewClient(host string, insecure bool, username string, apiToken string) *Client

func (*Client) FetchCrumb

func (c *Client) FetchCrumb() error

func (*Client) Validate

func (c *Client) Validate(jenkinsfile string) (string, error)

Jump to

Keyboard shortcuts

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