Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateClusterRole() error
- func (c *Client) CreateConfiguration(namespace string) (string, error)
- func (c *Client) CreateIfNotExistClusterRole() error
- func (c *Client) CreateIfNotExistServiceAccountClusterRoleBinding(namespace string) error
- func (c *Client) CreateNamespace(namespace string) error
- func (c *Client) CreateRole(namespace string) error
- func (c *Client) CreateServiceAccount(namespace string) error
- func (c *Client) CreateServiceAccountClusterRoleBinding(namespace string) error
- func (c *Client) CreateServiceAccountRoleBinding(namespace string) error
- func (c *Client) DeleteClusterRole() error
- func (c *Client) DeleteNamespace(namespace string) error
- func (c *Client) DeleteRole(namespace string) error
- func (c *Client) DeleteServiceAccount(namespace string) error
- func (c *Client) DeleteServiceAccountClusterRoleBinding(namespace string) error
- func (c *Client) DeleteServiceAccountRoleBinding(namespace string) error
- func (c *Client) GetCertificate(namespace string) (string, error)
- func (c *Client) GetCertificateB64(namespace string) (string, error)
- func (c *Client) GetEndpoint() string
- func (c *Client) GetToken(namespace string) (string, error)
- func (c *Client) ListNamespaces() (*corev1.NamespaceList, error)
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 (*Client) CreateClusterRole ¶
func (*Client) CreateConfiguration ¶
func (*Client) CreateIfNotExistClusterRole ¶
func (*Client) CreateIfNotExistServiceAccountClusterRoleBinding ¶
func (*Client) CreateNamespace ¶
func (*Client) CreateRole ¶
func (*Client) CreateServiceAccount ¶
func (*Client) CreateServiceAccountClusterRoleBinding ¶
func (*Client) CreateServiceAccountRoleBinding ¶
func (*Client) DeleteClusterRole ¶
func (*Client) DeleteNamespace ¶
func (*Client) DeleteRole ¶
func (*Client) DeleteServiceAccount ¶
func (*Client) DeleteServiceAccountClusterRoleBinding ¶
func (*Client) DeleteServiceAccountRoleBinding ¶
func (*Client) GetCertificateB64 ¶
func (*Client) GetEndpoint ¶
func (*Client) ListNamespaces ¶
func (c *Client) ListNamespaces() (*corev1.NamespaceList, error)
Click to show internal directories.
Click to hide internal directories.