dynamic

package
v0.0.0-...-0416c83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFor

func ConfigFor(inConfig *rest.Config) *rest.Config

ConfigFor returns a copy of the provided config with the appropriate dynamic client defaults set.

func New

New creates a new DynamicClient for the given RESTClient.

func NewForConfig

func NewForConfig(inConfig *rest.Config) (dynamic.Interface, error)

NewForConfig creates a new dynamic client or returns an error. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(inConfig *rest.Config, h *http.Client) (dynamic.Interface, error)

NewForConfigAndClient creates a new dynamic client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) dynamic.Interface

NewForConfigOrDie creates a new Interface for the given config and panics if there is an error in the config.

Types

type DynamicClient

type DynamicClient struct {
	// contains filtered or unexported fields
}

func (*DynamicClient) Resource

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL