Documentation
¶
Index ¶
- func Apply(ctx context.Context, rcg genericclioptions.RESTClientGetter, ...) (string, error)
- func KubeClient(rcg genericclioptions.RESTClientGetter, opts *runclient.Options) (client.Client, error)
- func KubeConfig(rcg genericclioptions.RESTClientGetter, opts *client.Options) (*rest.Config, error)
- func NewScheme() *apiruntime.Scheme
- type ClusterConfig
- type SecretConfig
- type TLSClientConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(ctx context.Context, rcg genericclioptions.RESTClientGetter, opts *runclient.Options, resources []byte) (string, error)
func KubeClient ¶
func KubeClient(rcg genericclioptions.RESTClientGetter, opts *runclient.Options) (client.Client, error)
func KubeConfig ¶
func KubeConfig(rcg genericclioptions.RESTClientGetter, opts *client.Options) (*rest.Config, error)
func NewScheme ¶
func NewScheme() *apiruntime.Scheme
Types ¶
type ClusterConfig ¶ added in v0.9.0
type ClusterConfig struct { ExternalAddress string InternalAddress string Name string Server string TLSClientConfig TLSClientConfig }
type SecretConfig ¶ added in v0.9.0
type SecretConfig struct {
TLSClientConfig TLSClientConfig `json:"tlsClientConfig"`
}
Click to show internal directories.
Click to hide internal directories.