Documentation ¶
Index ¶
- Variables
- func AgentManifest(ctx context.Context, systemNamespace, controllerNamespace string, ...) error
- func AgentToken(ctx context.Context, controllerNamespace string, client *client.Client, ...) ([]runtime.Object, error)
- func GetCAFromConfig(rawConfig clientcmdapi.Config) ([]byte, error)
- func GetHostFromConfig(rawConfig clientcmdapi.Config) (string, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoHostInConfig = errors.New("failed to find cluster server parameter")
)
Functions ¶
func AgentManifest ¶
func AgentToken ¶ added in v0.2.0
func GetCAFromConfig ¶ added in v0.3.0
func GetCAFromConfig(rawConfig clientcmdapi.Config) ([]byte, error)
func GetHostFromConfig ¶ added in v0.3.0
func GetHostFromConfig(rawConfig clientcmdapi.Config) (string, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.