controllers

package
v0.33.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrClientNotInitialized = errors.New("controller client not initialized")

Functions

This section is empty.

Types

type ControllerBuilder added in v0.18.12

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

func NewControllerBuilder added in v0.18.12

func NewControllerBuilder(tscm *TiltServerControllerManager, controllers []Controller) *ControllerBuilder

func (*ControllerBuilder) OnChange added in v0.18.12

func (*ControllerBuilder) SetUp added in v0.18.12

func (c *ControllerBuilder) SetUp(ctx context.Context, st store.RStore) error

func (*ControllerBuilder) TearDown added in v0.19.0

func (c *ControllerBuilder) TearDown(ctx context.Context)

type DeferredClient added in v0.19.0

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

func ProvideDeferredClient added in v0.19.0

func ProvideDeferredClient() *DeferredClient

func (*DeferredClient) Create added in v0.19.0

func (*DeferredClient) Delete added in v0.19.0

func (*DeferredClient) DeleteAllOf added in v0.19.0

func (*DeferredClient) Get added in v0.19.0

func (*DeferredClient) GroupVersionKindFor added in v0.33.0

func (d *DeferredClient) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)

func (*DeferredClient) IsObjectNamespaced added in v0.33.0

func (d *DeferredClient) IsObjectNamespaced(obj runtime.Object) (bool, error)

func (*DeferredClient) List added in v0.19.0

func (*DeferredClient) Patch added in v0.19.0

func (*DeferredClient) RESTMapper added in v0.19.0

func (d *DeferredClient) RESTMapper() meta.RESTMapper

func (*DeferredClient) Scheme added in v0.19.0

func (d *DeferredClient) Scheme() *runtime.Scheme

func (*DeferredClient) Status added in v0.19.0

func (*DeferredClient) SubResource added in v0.32.0

func (d *DeferredClient) SubResource(subResource string) ctrlclient.SubResourceClient

func (*DeferredClient) Update added in v0.19.0

type TiltServerControllerManager

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

func NewTiltServerControllerManager

func NewTiltServerControllerManager(config *server.APIServerConfig, scheme *runtime.Scheme, deferredClient *DeferredClient, uncachedObjects UncachedObjects) (*TiltServerControllerManager, error)

func (*TiltServerControllerManager) GetClient added in v0.18.12

func (*TiltServerControllerManager) GetManager added in v0.18.12

func (m *TiltServerControllerManager) GetManager() ctrl.Manager

func (*TiltServerControllerManager) OnChange

OnChange is a no-op but used to get initialized in upper along with the API server

func (*TiltServerControllerManager) SetUp

func (*TiltServerControllerManager) TearDown

type UncachedObjects added in v0.20.7

type UncachedObjects []ctrlclient.Object

func ProvideUncachedObjects added in v0.20.7

func ProvideUncachedObjects() UncachedObjects

Jump to

Keyboard shortcuts

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