kubernetes

package
v0.3.30 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Client        kubernetes.Interface
	CtrlClient    ctrl.Client
	Config        *rest.Config
	ServerVersion *version.Info
}

func NewClient

func NewClient(kubecontext string, kubeconfig string) (*Client, error)

func (*Client) GetClient

func (c *Client) GetClient() kubernetes.Interface

func (*Client) GetConfig added in v0.2.1

func (c *Client) GetConfig() *rest.Config

func (*Client) GetCtrlClient added in v0.3.23

func (c *Client) GetCtrlClient() ctrl.Client

type K8sApiReference added in v0.3.6

type K8sApiReference struct {
	ApiVersion    schema.GroupVersion
	Kind          string
	OpenapiSchema *openapi_v2.Document
}

func (*K8sApiReference) GetApiDocV2 added in v0.3.6

func (k *K8sApiReference) GetApiDocV2(field string) string

Jump to

Keyboard shortcuts

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