Documentation
¶
Index ¶
- func FromExecutionHandlerToHandler(sync ExecutionHandler) generic.Handler
- func FromExecutionRunHandlerToHandler(sync ExecutionRunHandler) generic.Handler
- func FromModuleHandlerToHandler(sync ModuleHandler) generic.Handler
- type ExecutionCache
- type ExecutionClient
- type ExecutionController
- type ExecutionHandler
- type ExecutionIndexer
- type ExecutionRunCache
- type ExecutionRunClient
- type ExecutionRunController
- type ExecutionRunHandler
- type ExecutionRunIndexer
- type Interface
- type ModuleCache
- type ModuleClient
- type ModuleController
- type ModuleHandler
- type ModuleIndexer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromExecutionHandlerToHandler ¶
func FromExecutionHandlerToHandler(sync ExecutionHandler) generic.Handler
func FromExecutionRunHandlerToHandler ¶
func FromExecutionRunHandlerToHandler(sync ExecutionRunHandler) generic.Handler
func FromModuleHandlerToHandler ¶
func FromModuleHandlerToHandler(sync ModuleHandler) generic.Handler
Types ¶
type ExecutionCache ¶
type ExecutionClient ¶
type ExecutionClient interface { Create(*v1.Execution) (*v1.Execution, error) Update(*v1.Execution) (*v1.Execution, error) UpdateStatus(*v1.Execution) (*v1.Execution, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.Execution, error) List(namespace string, opts metav1.ListOptions) (*v1.ExecutionList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Execution, err error) }
type ExecutionController ¶
type ExecutionController interface { ExecutionClient OnChange(ctx context.Context, name string, sync ExecutionHandler) OnRemove(ctx context.Context, name string, sync ExecutionHandler) Enqueue(namespace, name string) Cache() ExecutionCache Informer() cache.SharedIndexInformer GroupVersionKind() schema.GroupVersionKind AddGenericHandler(ctx context.Context, name string, handler generic.Handler) AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler) Updater() generic.Updater }
func NewExecutionController ¶
func NewExecutionController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.ExecutionsGetter, informer informers.ExecutionInformer) ExecutionController
type ExecutionHandler ¶
func UpdateExecutionOnChange ¶
func UpdateExecutionOnChange(updater generic.Updater, handler ExecutionHandler) ExecutionHandler
type ExecutionRunCache ¶
type ExecutionRunCache interface { Get(namespace, name string) (*v1.ExecutionRun, error) List(namespace string, selector labels.Selector) ([]*v1.ExecutionRun, error) AddIndexer(indexName string, indexer ExecutionRunIndexer) GetByIndex(indexName, key string) ([]*v1.ExecutionRun, error) }
type ExecutionRunClient ¶
type ExecutionRunClient interface { Create(*v1.ExecutionRun) (*v1.ExecutionRun, error) Update(*v1.ExecutionRun) (*v1.ExecutionRun, error) UpdateStatus(*v1.ExecutionRun) (*v1.ExecutionRun, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.ExecutionRun, error) List(namespace string, opts metav1.ListOptions) (*v1.ExecutionRunList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ExecutionRun, err error) }
type ExecutionRunController ¶
type ExecutionRunController interface { ExecutionRunClient OnChange(ctx context.Context, name string, sync ExecutionRunHandler) OnRemove(ctx context.Context, name string, sync ExecutionRunHandler) Enqueue(namespace, name string) Cache() ExecutionRunCache Informer() cache.SharedIndexInformer GroupVersionKind() schema.GroupVersionKind AddGenericHandler(ctx context.Context, name string, handler generic.Handler) AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler) Updater() generic.Updater }
func NewExecutionRunController ¶
func NewExecutionRunController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.ExecutionRunsGetter, informer informers.ExecutionRunInformer) ExecutionRunController
type ExecutionRunHandler ¶
type ExecutionRunHandler func(string, *v1.ExecutionRun) (*v1.ExecutionRun, error)
func UpdateExecutionRunOnChange ¶
func UpdateExecutionRunOnChange(updater generic.Updater, handler ExecutionRunHandler) ExecutionRunHandler
type ExecutionRunIndexer ¶
type ExecutionRunIndexer func(obj *v1.ExecutionRun) ([]string, error)
type Interface ¶
type Interface interface { Execution() ExecutionController ExecutionRun() ExecutionRunController Module() ModuleController }
func New ¶
func New(controllerManager *generic.ControllerManager, client clientset.TerraformcontrollerV1Interface, informers informers.Interface) Interface
type ModuleCache ¶
type ModuleClient ¶
type ModuleClient interface { Create(*v1.Module) (*v1.Module, error) Update(*v1.Module) (*v1.Module, error) UpdateStatus(*v1.Module) (*v1.Module, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.Module, error) List(namespace string, opts metav1.ListOptions) (*v1.ModuleList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Module, err error) }
type ModuleController ¶
type ModuleController interface { ModuleClient OnChange(ctx context.Context, name string, sync ModuleHandler) OnRemove(ctx context.Context, name string, sync ModuleHandler) Enqueue(namespace, name string) Cache() ModuleCache Informer() cache.SharedIndexInformer GroupVersionKind() schema.GroupVersionKind AddGenericHandler(ctx context.Context, name string, handler generic.Handler) AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler) Updater() generic.Updater }
func NewModuleController ¶
func NewModuleController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.ModulesGetter, informer informers.ModuleInformer) ModuleController
type ModuleHandler ¶
func UpdateModuleOnChange ¶
func UpdateModuleOnChange(updater generic.Updater, handler ModuleHandler) ModuleHandler
Click to show internal directories.
Click to hide internal directories.