client

package
v0.0.0-...-b1f728d Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 11 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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient() *Client

func (*Client) CreateUser

func (cl *Client) CreateUser(userName, password, role string) error

func (*Client) ListApps

func (cl *Client) ListApps(projectName string) (*responses.ListApp, error)

func (*Client) ListProjects

func (cl *Client) ListProjects() (*responses.ListProject, error)

func (*Client) ListUsers

func (cl *Client) ListUsers() (*responses.ListUser, error)

func (*Client) LoginUser

func (cl *Client) LoginUser(apiURL, userName, password string) (string, error)

func (*Client) RestartApp

func (cl *Client) RestartApp(projectName, appName string) error

Jump to

Keyboard shortcuts

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