Documentation ¶
Index ¶
- Constants
- func GenerateIdentitySecret(ctx context.Context, ns string, apiExportName string) (*corev1.Secret, error)
- func IdentityHash(secret *corev1.Secret) (string, error)
- func NewController(kcpClusterClient kcpclientset.ClusterInterface, ...) (*controller, error)
- type APIExport
- type APIExportSpec
- type APIExportStatus
- type CommitFunc
- type Patcher
- type Resource
Constants ¶
View Source
const ( ControllerName = "kcp-apiexport" DefaultIdentitySecretNamespace = "kcp-system" )
Variables ¶
This section is empty.
Functions ¶
func GenerateIdentitySecret ¶
func NewController ¶
func NewController( kcpClusterClient kcpclientset.ClusterInterface, apiExportInformer apisv1alpha1informers.APIExportClusterInformer, clusterWorkspaceShardInformer tenancyv1alpha1informers.ClusterWorkspaceShardClusterInformer, kubeClusterClient kcpkubernetesclientset.ClusterInterface, namespaceInformer kcpcorev1informers.NamespaceClusterInformer, secretInformer kcpcorev1informers.SecretClusterInformer, apiBindingInformer apisv1alpha1informers.APIBindingClusterInformer, ) (*controller, error)
NewController returns a new controller for APIExports.
Types ¶
type APIExport ¶ added in v0.8.0
type APIExport = apisv1alpha1.APIExport
type APIExportSpec ¶ added in v0.8.0
type APIExportSpec = apisv1alpha1.APIExportSpec
type APIExportStatus ¶ added in v0.8.0
type APIExportStatus = apisv1alpha1.APIExportStatus
type CommitFunc ¶ added in v0.8.0
type Patcher ¶ added in v0.10.0
type Patcher = apisv1alpha1client.APIExportInterface
type Resource ¶ added in v0.8.0
type Resource = committer.Resource[*APIExportSpec, *APIExportStatus]
Click to show internal directories.
Click to hide internal directories.