auth

package
v0.0.0-...-8265115 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthClient

func NewAuthClient(config *ClusterConfig) (*clientset.Clientset, error)

NewAuthClient creates a new EKS authenticated clientset.

Types

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)

Jump to

Keyboard shortcuts

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