kubernetes

package
v0.29.6 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 6 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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(
	binPath,
	workDir string,
	serverSide,
	skipNotFound,
	clientVersion bool,
	executor execx.Executor,
) *Client

func (*Client) ListNamespaceResources

func (c *Client) ListNamespaceResources(resName, ns string) ([]Resource, error)

func (*Client) ToolVersion

func (c *Client) ToolVersion() (string, error)

type Resource

type Resource struct {
	Name string `json:"name"`
	Kind string `json:"kind"`
}

Jump to

Keyboard shortcuts

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