kube

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*kube.Client
	// contains filtered or unexported fields
}

Client is a thin wrapper around helm.kube

func New

func New(getter genericclioptions.RESTClientGetter, config *rest.Config) *Client

New creates a new Client.

func (*Client) Build

func (c *Client) Build(reader io.Reader, validate bool) (kube.ResourceList, error)

Build validates for Kubernetes objects and returns resource Infos from a io.Reader.

func (*Client) Create

func (c *Client) Create(resources kube.ResourceList) (*kube.Result, error)

Create plan to support replace.... hold on...

func (*Client) IsReachable added in v0.9.5

func (c *Client) IsReachable() error

Jump to

Keyboard shortcuts

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