pe

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

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
}

Client for the PE API

func NewClient

func NewClient(hostURL string, token string, tlsConfig *tls.Config) *Client

NewClient access the PE API via TLS

func (*Client) Environments

func (c *Client) Environments() ([]string, error)

Environments gets the list of environments from the PE API (GET /api/environments)

Jump to

Keyboard shortcuts

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