kubernetes

package
v0.0.0-...-da48874 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: Apache-2.0 Imports: 14 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 {
	C k.Interface
	// contains filtered or unexported fields
}

func NewClient

func NewClient(f *factory.Factory, config *r.Config) (*Client, error)

func (*Client) List

func (in *Client) List(resources []schema.GroupVersionResource, options metav1.ListOptions) ([]unstructured.Unstructured, error)

func (*Client) Logs

func (in *Client) Logs(namespace string, name string, writer io.Writer) error

func (*Client) LogsForContainer

func (in *Client) LogsForContainer(namespace string, name string, container string, writer io.Writer) error

func (*Client) ServerResources

func (in *Client) ServerResources() ([]schema.GroupVersionResource, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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