servicenamespace

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitFunc added in v0.0.6

type CommitFunc = func(context.Context, *Resource, *Resource) error

type Controller added in v0.0.11

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

Controller reconciles ServiceNamespaces by creating a Namespace for each, and deleting it if the APIServiceNamespace is deleted.

func NewController

func NewController(
	config *rest.Config,
	scope kubebindv1alpha1.Scope,
	serviceNamespaceInformer bindinformers.APIServiceNamespaceInformer,
	clusterBindingInformer bindinformers.ClusterBindingInformer,
	serviceExportInformer bindinformers.APIServiceExportInformer,
	namespaceInformer coreinformers.NamespaceInformer,
	roleInformer rbacinformers.RoleInformer,
	roleBindingInformer rbacinformers.RoleBindingInformer,
) (*Controller, error)

NewController returns a new controller for ServiceNamespaces.

func (*Controller) Start added in v0.0.11

func (c *Controller) Start(ctx context.Context, numThreads int)

Start starts the controller, which stops when ctx.Done() is closed.

Jump to

Keyboard shortcuts

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