v1

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromHelmChartConfigHandlerToHandler added in v0.7.0

func FromHelmChartConfigHandlerToHandler(sync HelmChartConfigHandler) generic.Handler

func FromHelmChartHandlerToHandler

func FromHelmChartHandlerToHandler(sync HelmChartHandler) generic.Handler

func RegisterHelmChartGeneratingHandler added in v0.3.0

func RegisterHelmChartGeneratingHandler(ctx context.Context, controller HelmChartController, apply apply.Apply,
	condition condition.Cond, name string, handler HelmChartGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterHelmChartStatusHandler added in v0.3.0

func RegisterHelmChartStatusHandler(ctx context.Context, controller HelmChartController, condition condition.Cond, name string, handler HelmChartStatusHandler)

func UpdateHelmChartConfigDeepCopyOnChange added in v0.7.0

func UpdateHelmChartConfigDeepCopyOnChange(client HelmChartConfigClient, obj *v1.HelmChartConfig, handler func(obj *v1.HelmChartConfig) (*v1.HelmChartConfig, error)) (*v1.HelmChartConfig, error)

func UpdateHelmChartDeepCopyOnChange added in v0.3.0

func UpdateHelmChartDeepCopyOnChange(client HelmChartClient, obj *v1.HelmChart, handler func(obj *v1.HelmChart) (*v1.HelmChart, error)) (*v1.HelmChart, error)

Types

type HelmChartCache

type HelmChartCache interface {
	Get(namespace, name string) (*v1.HelmChart, error)
	List(namespace string, selector labels.Selector) ([]*v1.HelmChart, error)

	AddIndexer(indexName string, indexer HelmChartIndexer)
	GetByIndex(indexName, key string) ([]*v1.HelmChart, error)
}

type HelmChartClient

type HelmChartClient interface {
	Create(*v1.HelmChart) (*v1.HelmChart, error)
	Update(*v1.HelmChart) (*v1.HelmChart, error)
	UpdateStatus(*v1.HelmChart) (*v1.HelmChart, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1.HelmChart, error)
	List(namespace string, opts metav1.ListOptions) (*v1.HelmChartList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.HelmChart, err error)
}

type HelmChartConfigCache added in v0.7.0

type HelmChartConfigCache interface {
	Get(namespace, name string) (*v1.HelmChartConfig, error)
	List(namespace string, selector labels.Selector) ([]*v1.HelmChartConfig, error)

	AddIndexer(indexName string, indexer HelmChartConfigIndexer)
	GetByIndex(indexName, key string) ([]*v1.HelmChartConfig, error)
}

type HelmChartConfigClient added in v0.7.0

type HelmChartConfigClient interface {
	Create(*v1.HelmChartConfig) (*v1.HelmChartConfig, error)
	Update(*v1.HelmChartConfig) (*v1.HelmChartConfig, error)

	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1.HelmChartConfig, error)
	List(namespace string, opts metav1.ListOptions) (*v1.HelmChartConfigList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.HelmChartConfig, err error)
}

type HelmChartConfigController added in v0.7.0

type HelmChartConfigController interface {
	generic.ControllerMeta
	HelmChartConfigClient

	OnChange(ctx context.Context, name string, sync HelmChartConfigHandler)
	OnRemove(ctx context.Context, name string, sync HelmChartConfigHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() HelmChartConfigCache
}

func NewHelmChartConfigController added in v0.7.0

func NewHelmChartConfigController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.HelmChartConfigsGetter, informer informers.HelmChartConfigInformer) HelmChartConfigController

type HelmChartConfigHandler added in v0.7.0

type HelmChartConfigHandler func(string, *v1.HelmChartConfig) (*v1.HelmChartConfig, error)

type HelmChartConfigIndexer added in v0.7.0

type HelmChartConfigIndexer func(obj *v1.HelmChartConfig) ([]string, error)

type HelmChartController

type HelmChartController interface {
	generic.ControllerMeta
	HelmChartClient

	OnChange(ctx context.Context, name string, sync HelmChartHandler)
	OnRemove(ctx context.Context, name string, sync HelmChartHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() HelmChartCache
}

func NewHelmChartController

func NewHelmChartController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.HelmChartsGetter, informer informers.HelmChartInformer) HelmChartController

type HelmChartGeneratingHandler added in v0.3.0

type HelmChartGeneratingHandler func(obj *v1.HelmChart, status v1.HelmChartStatus) ([]runtime.Object, v1.HelmChartStatus, error)

type HelmChartHandler

type HelmChartHandler func(string, *v1.HelmChart) (*v1.HelmChart, error)

type HelmChartIndexer

type HelmChartIndexer func(obj *v1.HelmChart) ([]string, error)

type HelmChartStatusHandler added in v0.3.0

type HelmChartStatusHandler func(obj *v1.HelmChart, status v1.HelmChartStatus) (v1.HelmChartStatus, error)

type Interface

type Interface interface {
	HelmChart() HelmChartController
	HelmChartConfig() HelmChartConfigController
}

func New

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

Jump to

Keyboard shortcuts

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