Documentation
¶
Index ¶
- func ConfigFor(inConfig *rest.Config) *rest.Config
- func New(c rest.Interface) dynamic.Interface
- func NewForConfig(inConfig *rest.Config) (dynamic.Interface, error)
- func NewForConfigAndClient(inConfig *rest.Config, h *http.Client) (dynamic.Interface, error)
- func NewForConfigOrDie(c *rest.Config) dynamic.Interface
- type DynamicClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigFor ¶
ConfigFor returns a copy of the provided config with the appropriate dynamic client defaults set.
func NewForConfig ¶
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 ¶
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.
Types ¶
type DynamicClient ¶
type DynamicClient struct {
// contains filtered or unexported fields
}
func (*DynamicClient) Resource ¶
func (c *DynamicClient) Resource(resource schema.GroupVersionResource) dynamic.NamespaceableResourceInterface
Click to show internal directories.
Click to hide internal directories.