client

package
v6.6.5 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 15 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 {
	CloudClient        *cloudv6.APIClient
	AuthClient         *sdkgoauth.APIClient
	CertManagerClient  *certmanager.APIClient
	PostgresClient     *postgres.APIClient
	MongoClient        *mongo.APIClient
	DataplatformClient *dataplatform.APIClient
	RegistryClient     *registry.APIClient
	DnsClient          *dns.APIClient
}

func Get

func Get() (*Client, error)

Get a client and possibly fail

func Must

func Must() *Client

Must gets the client obj or fatally dies

func NewTestClient

func NewTestClient(name, pwd, token, hostUrl string) (*Client, error)

NewTestClient - function used only for tests. Bypasses the singleton check, not recommended for normal use. TO BE REMOVED ONCE TESTS ARE REFACTORED

Jump to

Keyboard shortcuts

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