client

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 13 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrFormatError is returned when a secret doesn't meet the specification.
	ErrFormatError = errors.New("secret incorrectly formatted")
)

Functions

This section is empty.

Types

type Client

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

Client wraps up the raw OpenAPI client with things to make it useable e.g. authorization and TLS.

func New

func New(client client.Client, namespace string) *Client

New creates a new client.

func (*Client) AddFlags

func (c *Client) AddFlags(f *pflag.FlagSet)

AddFlags adds the options to the CLI flags.

func (*Client) Client

Client returns a new OpenAPI client that can be used to access the API.

Jump to

Keyboard shortcuts

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