aslan

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*httpclient.Client
	// contains filtered or unexported fields
}

func New

func New() *Client

func (*Client) Build added in v1.9.9

func (c *Client) Build(header http.Header, qs url.Values) ([]byte, error)

func (*Client) CancelWorkflowTask

func (c *Client) CancelWorkflowTask(header http.Header, qs url.Values, id string, name string) (statusCode int, err error)

func (*Client) CreateProject

func (c *Client) CreateProject(header http.Header, qs url.Values, body []byte) ([]byte, error)

func (*Client) CreateWorkflowTask

func (c *Client) CreateWorkflowTask(header http.Header, qs url.Values, body []byte, workflowName string) ([]byte, error)

func (*Client) DeleteProject

func (c *Client) DeleteProject(header http.Header, qs url.Values, productName string) ([]byte, error)

func (*Client) Deploy added in v1.9.9

func (c *Client) Deploy(header http.Header, qs url.Values) ([]byte, error)

func (*Client) DownloadKubeConfig added in v1.7.1

func (c *Client) DownloadKubeConfig(header http.Header, qs url.Values) ([]byte, error)

func (*Client) GetArtifactByImage added in v1.8.0

func (c *Client) GetArtifactByImage(header http.Header, qs url.Values, image string) ([]byte, error)

func (*Client) GetArtifactInfo added in v1.8.0

func (c *Client) GetArtifactInfo(header http.Header, qs url.Values, id string) ([]byte, error)

func (*Client) GetDetailedWorkflowTask added in v1.8.0

func (c *Client) GetDetailedWorkflowTask(header http.Header, qs url.Values, taskID, name string) ([]byte, error)

func (*Client) ListAllWorkflows added in v1.9.9

func (c *Client) ListAllWorkflows(header http.Header, qs url.Values) ([]byte, error)

func (*Client) ListDelivery

func (c *Client) ListDelivery(header http.Header, qs url.Values, productName, workflowName, taskId, perPage, page string) ([]byte, error)

func (*Client) ListProjects

func (c *Client) ListProjects(header http.Header, qs url.Values) ([]byte, error)

func (*Client) ListTestWorkflows

func (c *Client) ListTestWorkflows(testName string, header http.Header, qs url.Values) ([]byte, error)

func (*Client) ListTestings added in v1.9.9

func (c *Client) ListTestings(header http.Header, qs url.Values) ([]byte, error)

func (*Client) ListWorkflowTask

func (c *Client) ListWorkflowTask(header http.Header, qs url.Values, commitId string) ([]byte, error)

func (*Client) ListWorkflows added in v1.7.1

func (c *Client) ListWorkflows(header http.Header, qs url.Values) ([]byte, error)

func (*Client) ListWorkflowsV3 added in v1.8.0

func (c *Client) ListWorkflowsV3(header http.Header, qs url.Values) ([]byte, error)

func (*Client) Overview added in v1.9.9

func (c *Client) Overview(header http.Header, qs url.Values) ([]byte, error)

func (*Client) RestartWorkflowTask

func (c *Client) RestartWorkflowTask(header http.Header, qs url.Values, id string, name string) (statusCode int, err error)

func (*Client) Test added in v1.9.9

func (c *Client) Test(header http.Header, qs url.Values) ([]byte, error)

func (*Client) UpdateProject

func (c *Client) UpdateProject(header http.Header, qs url.Values, body []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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