k8s

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareAndUpdateStructField

func CompareAndUpdateStructField(o any, path []string, setValue string) (string, bool, error)

Types

type Client

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

func NewClient

func NewClient(opts ...NewClientOpt) (*Client, error)

func (*Client) GetSecret

func (c *Client) GetSecret(ctx context.Context, namespace, name string) (string, error)

func (*Client) SetResourceKeyValue

func (c *Client) SetResourceKeyValue(ctx context.Context, path core.K8sResourcePath, updateValue string) error

type NewClientOpt

type NewClientOpt func(*Client)

func WithConfig

func WithConfig(config *rest.Config) NewClientOpt

Jump to

Keyboard shortcuts

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