internal

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoFormatSpecified = errors.New("no format has been specified. Use -o to specify a format")

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(dryRun bool, namespace, secretName, format, key string, data []byte, logger *zap.Logger) (*Client, error)

NewClient will bootstrap a new kubernetes Client with all necessary additional information.

func (*Client) Create

func (c *Client) Create() error

Create either creates a new secret on the cluster or just prints the configuration in YAML or JSON if dry-run has been enabled

Jump to

Keyboard shortcuts

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