client

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 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, options *Options) *Client

New creates a new client.

func (*Client) Client

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

type Options added in v0.1.7

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

func (*Options) AddFlags added in v0.1.7

func (o *Options) AddFlags(f *pflag.FlagSet)

AddFlags adds the options to the CLI flags.

Jump to

Keyboard shortcuts

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