v1alpha1

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromProjectHelmChartHandlerToHandler

func FromProjectHelmChartHandlerToHandler(sync ProjectHelmChartHandler) generic.Handler

func RegisterProjectHelmChartGeneratingHandler

func RegisterProjectHelmChartGeneratingHandler(ctx context.Context, controller ProjectHelmChartController, apply apply.Apply,
	condition condition.Cond, name string, handler ProjectHelmChartGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterProjectHelmChartStatusHandler

func RegisterProjectHelmChartStatusHandler(ctx context.Context, controller ProjectHelmChartController, condition condition.Cond, name string, handler ProjectHelmChartStatusHandler)

Types

type Interface

type Interface interface {
	ProjectHelmChart() ProjectHelmChartController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type ProjectHelmChartCache

type ProjectHelmChartCache interface {
	Get(namespace, name string) (*v1alpha1.ProjectHelmChart, error)
	List(namespace string, selector labels.Selector) ([]*v1alpha1.ProjectHelmChart, error)

	AddIndexer(indexName string, indexer ProjectHelmChartIndexer)
	GetByIndex(indexName, key string) ([]*v1alpha1.ProjectHelmChart, error)
}

type ProjectHelmChartClient

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

type ProjectHelmChartController

type ProjectHelmChartController interface {
	generic.ControllerMeta
	ProjectHelmChartClient

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

	Cache() ProjectHelmChartCache
}

func NewProjectHelmChartController

func NewProjectHelmChartController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ProjectHelmChartController

type ProjectHelmChartIndexer

type ProjectHelmChartIndexer func(obj *v1alpha1.ProjectHelmChart) ([]string, error)

Jump to

Keyboard shortcuts

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