Documentation
¶
Index ¶
- func RunCreate(f *Factory, options *resource.FilenameOptions) error
- type Factory
- func (f *Factory) DefaultNamespace() (string, bool)
- func (f *Factory) DiscoveryClient() (discovery.DiscoveryInterface, error)
- func (f *Factory) UnstructuredClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error)
- func (f *Factory) UnstructuredObject() (meta.RESTMapper, runtime.ObjectTyper, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Factory ¶
type Factory struct { Namespace string EnforceNamespace bool // contains filtered or unexported fields }
func NewFactory ¶
func NewFactory(namespace string, enforce bool, clientConfig restclient.Config) *Factory
func (*Factory) DefaultNamespace ¶
func (*Factory) DiscoveryClient ¶
func (f *Factory) DiscoveryClient() (discovery.DiscoveryInterface, error)
func (*Factory) UnstructuredClientForMapping ¶
func (f *Factory) UnstructuredClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error)
func (*Factory) UnstructuredObject ¶
func (f *Factory) UnstructuredObject() (meta.RESTMapper, runtime.ObjectTyper, error)
Click to show internal directories.
Click to hide internal directories.