client

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiError

type ApiError struct {
	Title string
	Msg   string
}

func (*ApiError) String

func (e *ApiError) String() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

func Make

func Make(apiKey string, baseUrl string, debug bool, key, cert, cacert string, insecure bool) (*Client, error)

func MakeFromEnv

func MakeFromEnv() (*Client, error)

func (*Client) ActivateDebug

func (client *Client) ActivateDebug()

func (*Client) Apply

func (client *Client) Apply(resource *resource.Resource, dryMode bool) (string, error)

func (*Client) Delete

func (client *Client) Delete(kind *schema.Kind, parentPathValue []string, name string) error

func (*Client) Describe

func (client *Client) Describe(kind *schema.Kind, parentPathValue []string, name string) error

func (*Client) Get

func (client *Client) Get(kind *schema.Kind, parentPathValue []string) error

func (*Client) GetKinds

func (client *Client) GetKinds() schema.KindCatalog

func (*Client) GetOpenApi

func (client *Client) GetOpenApi() ([]byte, error)

func (*Client) IgnoreUntrustedCertificate

func (c *Client) IgnoreUntrustedCertificate()

type UpsertResponse

type UpsertResponse struct {
	UpsertResult string
}

Jump to

Keyboard shortcuts

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