Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfig ¶
func GetConfig(context string) clientcmd.ClientConfig
GetConfig returns a kubernetes client config for a given context.
Types ¶
type Client ¶
type Client struct { cmdutil.Factory // SchemaCacheDir is the path for loading cached schema. SchemaCacheDir string }
Client represents a client capable of communicating with the Kubernetes API.
func (*Client) ApproveCSR ¶
func (c *Client) ApproveCSR(req *certificates.CertificateSigningRequest) *certificates.CertificateSigningRequest
func (*Client) CheckNamespace ¶
func (*Client) CreateCSR ¶
func (c *Client) CreateCSR(req *certificates.CertificateSigningRequest)
func (*Client) CreateSecret ¶
Click to show internal directories.
Click to hide internal directories.