client

package
v0.0.0-...-779f022 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashiCupsClient

func HashiCupsClient(host, username, password *string) (*hashicups.Client, error)

Types

type Client

type Client struct {
	HttpClient *http.Client
	Method     string
	URL        string
	Body       io.Reader
	Headers    *map[string]string
	Req        *http.Request
	Workflows  *action.Workflows
}

func GitHubNewClient

func GitHubNewClient(pat string) *Client

func (*Client) DoRequest

func (c *Client) DoRequest() (*http.Response, error)

func (*Client) GetGitWorkflows

func (c *Client) GetGitWorkflows() error

func (*Client) NewRequest

func (c *Client) NewRequest() (*http.Request, error)

Jump to

Keyboard shortcuts

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