Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResourceVerber ¶
func NewResourceVerber(client, extensionsClient, appsClient, batchClient, betaBatchClient, autoscalingClient, storageClient RESTClient) clientapi.ResourceVerber
NewResourceVerber creates a new resource verber that uses the given client for performing operations.
Types ¶
type DynamicClient ¶
type DynamicClient struct {
// contains filtered or unexported fields
}
func NewDynamicClient ¶
func NewDynamicClient(config *rest.Config) (*DynamicClient, error)
func (*DynamicClient) Update ¶
func (c *DynamicClient) Update(ctx context.Context, namespace string, obj runtime.Object) (*unstructured.Unstructured, error)
type GenericConfig ¶
type GenericConfig struct { CacheDir string // contains filtered or unexported fields }
func NewGenericConfig ¶
func NewGenericConfig(kubeConfig string) (*GenericConfig, error)
func (*GenericConfig) ToDiscoveryClient ¶
func (f *GenericConfig) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
func (*GenericConfig) ToRESTConfig ¶
func (f *GenericConfig) ToRESTConfig() (*rest.Config, error)
func (*GenericConfig) ToRESTMapper ¶
func (f *GenericConfig) ToRESTMapper() (meta.RESTMapper, error)
ToRESTMapper returns a mapper.
func (*GenericConfig) ToRawKubeConfigLoader ¶
func (f *GenericConfig) ToRawKubeConfigLoader() clientcmd.ClientConfig
type RESTClient ¶
type RESTClient interface { Delete() *restclient.Request Put() *restclient.Request Get() *restclient.Request }
RESTClient is an interface for REST operations used in this file.
Click to show internal directories.
Click to hide internal directories.