permissionclaimlabel

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "kcp-permissionclaimlabel"
)
View Source
const (
	ResourceControllerName = "kcp-resource-permissionclaimlabel"
)

Variables

This section is empty.

Functions

func NewController

func NewController(
	kcpClusterClient kcpclientset.ClusterInterface,
	dynamicClusterClient kcpdynamic.ClusterInterface,
	dynamicDiscoverySharedInformerFactory *informer.DiscoveringDynamicSharedInformerFactory,
	apiBindingInformer apisv1alpha1informers.APIBindingClusterInformer,
	apiExportInformer, globalAPIExportInformer apisv1alpha1informers.APIExportClusterInformer,
) (*controller, error)

NewController returns a new controller for handling permission claims for an APIBinding. it will own the AppliedPermissionClaims and will own the accepted permission claim condition.

func NewResourceController

func NewResourceController(
	kcpClusterClient kcpclientset.ClusterInterface,
	dynamicClusterClient kcpdynamic.ClusterInterface,
	dynamicDiscoverySharedInformerFactory *informer.DiscoveringDynamicSharedInformerFactory,
	apiBindingInformer apisv1alpha1informers.APIBindingClusterInformer,
	apiExportInformer, globalAPIExportInformer apisv1alpha1informers.APIExportClusterInformer,
) (*resourceController, error)

NewController returns a new controller for labeling resources for accepted permission claims.

Types

type APIBinding added in v0.11.0

type APIBinding = apisv1alpha1.APIBinding

type APIBindingSpec added in v0.11.0

type APIBindingSpec = apisv1alpha1.APIBindingSpec

type APIBindingStatus added in v0.11.0

type APIBindingStatus = apisv1alpha1.APIBindingStatus

type CommitFunc added in v0.11.0

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

type Patcher added in v0.11.0

type Resource added in v0.11.0

Jump to

Keyboard shortcuts

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