Documentation
¶
Index ¶
- Constants
- func IndexByServiceNamespace(obj interface{}) ([]string, error)
- func NewController(config *rest.Config, ...) (*controller, error)
- func ServiceNamespaceAnnotationValue(ns, name string) string
- func ServiceNamespaceFromAnnotation(value string) (ns string, name string, err error)
- type CommitFunc
- type Resource
Constants ¶
View Source
const (
ByServiceNamespace = "byServiceNamespace"
)
Variables ¶
This section is empty.
Functions ¶
func IndexByServiceNamespace ¶
func NewController ¶
func NewController( config *rest.Config, serviceNamespaceInformer bindinformers.ServiceNamespaceInformer, clusterBindingInformer bindinformers.ClusterBindingInformer, serviceExportInformer bindinformers.ServiceExportInformer, namespaceInformer coreinformers.NamespaceInformer, roleInformer rbacinformers.RoleInformer, roleBindingInformer rbacinformers.RoleBindingInformer, ) (*controller, error)
NewController returns a new controller for ServiceNamespaces.
Types ¶
type CommitFunc ¶ added in v0.0.6
type Resource ¶ added in v0.0.6
type Resource = committer.Resource[*kubebindv1alpha1.ServiceNamespaceSpec, *kubebindv1alpha1.ServiceNamespaceStatus]
Click to show internal directories.
Click to hide internal directories.