Documentation ¶
Index ¶
- Variables
- func BuildClientCmd(kubeconfig, context string, ...) clientcmd.ClientConfig
- func BuildClientConfig(kubeconfig, context string) (*rest.Config, error)
- func DefaultRestConfig(kubeconfig, context string, fns ...func(config *rest.Config)) (*rest.Config, error)
- func NewClientConfigForRestConfig(restConfig *rest.Config) clientcmd.ClientConfig
- func SetRestDefaults(config *rest.Config) *rest.Config
- type CLIClient
- type Client
- type ClientOption
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DubboScheme = dubboScheme() DubboCodec = serializer.NewCodecFactory(DubboScheme) )
Functions ¶
func BuildClientCmd ¶
func BuildClientCmd(kubeconfig, context string, overrides ...func(configOverrides *clientcmd.ConfigOverrides)) clientcmd.ClientConfig
func DefaultRestConfig ¶
func NewClientConfigForRestConfig ¶
func NewClientConfigForRestConfig(restConfig *rest.Config) clientcmd.ClientConfig
Types ¶
type CLIClient ¶
type CLIClient interface { Client DynamicClientFor(gvk schema.GroupVersionKind, obj *unstructured.Unstructured, namespace string) (dynamic.ResourceInterface, error) }
func NewCLIClient ¶
func NewCLIClient(clientCfg clientcmd.ClientConfig, opts ...ClientOption) (CLIClient, error)
type ClientOption ¶
func WithRevision ¶
func WithRevision(revision string) ClientOption
Click to show internal directories.
Click to hide internal directories.