Documentation ¶
Index ¶
- Constants
- func NewController(kcpClusterClient kcpclientset.ClusterInterface, ...) (*controller, error)
- func NewResourceController(kcpClusterClient kcpclientset.ClusterInterface, ...) (*resourceController, error)
- type APIBinding
- type APIBindingSpec
- type APIBindingStatus
- type CommitFunc
- type Patcher
- type Resource
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 Patcher ¶ added in v0.11.0
type Patcher = apisv1alpha1client.APIBindingInterface
type Resource ¶ added in v0.11.0
type Resource = committer.Resource[*APIBindingSpec, *APIBindingStatus]
Click to show internal directories.
Click to hide internal directories.