fleet

package
v0.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 NewFactoryFromConfig

func NewFactoryFromConfig(config *rest.Config) (*Factory, error)

func NewFactoryFromConfigOrDie

func NewFactoryFromConfigOrDie(config *rest.Config) *Factory

func NewFactoryFromConfigWithNamespace

func NewFactoryFromConfigWithNamespace(config *rest.Config, namespace string) (*Factory, error)

func NewFactoryFromConfigWithOptions

func NewFactoryFromConfigWithOptions(config *rest.Config, opts *FactoryOptions) (*Factory, error)

func (*Factory) Controllers

func (c *Factory) Controllers() map[schema.GroupVersionKind]*generic.Controller

func (*Factory) Fleet

func (c *Factory) Fleet() Interface

func (*Factory) SetThreadiness

func (c *Factory) SetThreadiness(gvk schema.GroupVersionKind, threadiness int)

func (*Factory) Start

func (c *Factory) Start(ctx context.Context, defaultThreadiness int) error

func (*Factory) Sync

func (c *Factory) Sync(ctx context.Context) error

type FactoryOptions

type FactoryOptions struct {
	Namespace string
	Resync    time.Duration
}

type Interface

type Interface interface {
	V1alpha1() v1alpha1.Interface
}

func New

func New(controllerManager *generic.ControllerManager, informers informers.Interface,
	client clientset.Interface) Interface

New returns a new Interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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