client

package
v0.17.19 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 14 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 {
	*resty.Client
}

func NewClient

func NewClient(host string, secret string) *Client

func (*Client) Deploy

func (c *Client) Deploy(name, confPath string) (*Resp, error)

func (*Client) Rollback

func (c *Client) Rollback() (*Resp, error)

type Resp

type Resp struct {
	Msg string
}

Jump to

Keyboard shortcuts

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