aslan

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 6 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) 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) ([]byte, error)

func (*Client) DeleteProject

func (c *Client) DeleteProject(header http.Header, qs url.Values, productName string) ([]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) ListWorkflowTask

func (c *Client) ListWorkflowTask(header http.Header, qs url.Values, commitId string) ([]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) 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