kubespace

package
v0.0.0-...-ef806f2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 13 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(kubeconf string) (*Client, error)

func (*Client) CreateClusterRole

func (c *Client) CreateClusterRole() error

func (*Client) CreateConfiguration

func (c *Client) CreateConfiguration(namespace string) (string, error)

func (*Client) CreateIfNotExistClusterRole

func (c *Client) CreateIfNotExistClusterRole() error

func (*Client) CreateIfNotExistServiceAccountClusterRoleBinding

func (c *Client) CreateIfNotExistServiceAccountClusterRoleBinding(namespace string) error

func (*Client) CreateNamespace

func (c *Client) CreateNamespace(namespace string) error

func (*Client) CreateRole

func (c *Client) CreateRole(namespace string) error

func (*Client) CreateServiceAccount

func (c *Client) CreateServiceAccount(namespace string) error

func (*Client) CreateServiceAccountClusterRoleBinding

func (c *Client) CreateServiceAccountClusterRoleBinding(namespace string) error

func (*Client) CreateServiceAccountRoleBinding

func (c *Client) CreateServiceAccountRoleBinding(namespace string) error

func (*Client) DeleteClusterRole

func (c *Client) DeleteClusterRole() error

func (*Client) DeleteNamespace

func (c *Client) DeleteNamespace(namespace string) error

func (*Client) DeleteRole

func (c *Client) DeleteRole(namespace string) error

func (*Client) DeleteServiceAccount

func (c *Client) DeleteServiceAccount(namespace string) error

func (*Client) DeleteServiceAccountClusterRoleBinding

func (c *Client) DeleteServiceAccountClusterRoleBinding(namespace string) error

func (*Client) DeleteServiceAccountRoleBinding

func (c *Client) DeleteServiceAccountRoleBinding(namespace string) error

func (*Client) GetCertificate

func (c *Client) GetCertificate(namespace string) (string, error)

func (*Client) GetCertificateB64

func (c *Client) GetCertificateB64(namespace string) (string, error)

func (*Client) GetEndpoint

func (c *Client) GetEndpoint() string

func (*Client) GetToken

func (c *Client) GetToken(namespace string) (string, error)

func (*Client) ListNamespaces

func (c *Client) ListNamespaces() (*corev1.NamespaceList, error)

Jump to

Keyboard shortcuts

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