Documentation ¶
Index ¶
- type Factory
- func NewFactory(clientset clientset.Interface, informerFactory informers.SharedInformerFactory) *Factory
- func NewFactoryFromConfig(config *rest.Config) (*Factory, error)
- func NewFactoryFromConfigOrDie(config *rest.Config) *Factory
- func NewFactoryFromConfigWithNamespace(config *rest.Config, namespace string) (*Factory, error)
- func NewFactoryFromConfigWithOptions(config *rest.Config, opts *FactoryOptions) (*Factory, error)
- func (c *Factory) Controllers() map[schema.GroupVersionKind]*generic.Controller
- func (c *Factory) Core() Interface
- func (c *Factory) SetThreadiness(gvk schema.GroupVersionKind, threadiness int)
- func (c *Factory) Start(ctx context.Context, defaultThreadiness int) error
- func (c *Factory) Sync(ctx context.Context) error
- type FactoryOptions
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(clientset clientset.Interface, informerFactory informers.SharedInformerFactory) *Factory
func NewFactoryFromConfigWithOptions ¶ added in v0.6.0
func NewFactoryFromConfigWithOptions(config *rest.Config, opts *FactoryOptions) (*Factory, error)
func (*Factory) Controllers ¶ added in v0.4.0
func (c *Factory) Controllers() map[schema.GroupVersionKind]*generic.Controller
func (*Factory) SetThreadiness ¶
func (c *Factory) SetThreadiness(gvk schema.GroupVersionKind, threadiness int)
type FactoryOptions ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.