client

package
v0.0.0-...-0e73642 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: Apache-2.0 Imports: 10 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 {
	BaseURL string
	// contains filtered or unexported fields
}

func NewHttpClient

func NewHttpClient(backendUrl string) *Client

func (*Client) AddBackend

func (c *Client) AddBackend(options types.BackendAddOptions) error

func (*Client) AddCertificate

func (c *Client) AddCertificate(certificates []string) error

func (*Client) AddCustomCertificate

func (c *Client) AddCustomCertificate(certificate string, pem []byte) error

func (*Client) AddFrontend

func (c *Client) AddFrontend(options types.FrontendAddOptions) error

func (*Client) DeleteBackend

func (c *Client) DeleteBackend(options types.BackendDeleteOptions) error

func (*Client) DeleteCustomCertificate

func (c *Client) DeleteCustomCertificate(certificate string) error

func (*Client) DeleteFrontend

func (c *Client) DeleteFrontend(options types.FrontendDeleteOptions) error

func (*Client) ListBackends

func (c *Client) ListBackends(options types.BackendListOptions) (r types.BackendListOptionsResponse, err error)

func (*Client) ListFrontends

func (c *Client) ListFrontends(options types.FrontendListOptions) (r types.FrontendListOptionsResponse, err error)

func (*Client) RenewCertificate

func (c *Client) RenewCertificate(certificate string) error

Jump to

Keyboard shortcuts

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