k8sclient

package
v0.0.0-...-a9f80de Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 17 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 interface {
	clientset.Interface
}

func New

func New(clusterName string) (Client, error)

NewAuthClient creates a new EKS authenticated clientset.

type ClientConfig

type ClientConfig struct {
	Client      *clientcmdapi.Config
	ClusterName string
	ContextName string
	// contains filtered or unexported fields
}

func (*ClientConfig) NewClientSet

func (c *ClientConfig) NewClientSet() (*clientset.Clientset, error)

func (*ClientConfig) NewClientSetWithEmbeddedToken

func (c *ClientConfig) NewClientSetWithEmbeddedToken() (*clientset.Clientset, error)

func (*ClientConfig) WithEmbeddedToken

func (c *ClientConfig) WithEmbeddedToken() (*ClientConfig, error)

type ClusterConfig

type ClusterConfig struct {
	ClusterName              string
	MasterEndpoint           string
	CertificateAuthorityData string
	Session                  *session.Session
}

func (*ClusterConfig) NewClientConfig

func (c *ClusterConfig) NewClientConfig() (*ClientConfig, error)

type CoreV1Interface

type CoreV1Interface interface {
	v1g.CoreV1Interface
}

type NodeInterface

type NodeInterface interface {
	v1g.NodeInterface
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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