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 kcpclient.Interface, ...) (*controller, error)
- type APIExport
- type APIExportSpec
- type APIExportStatus
- type CommitFunc
- type Resource
Constants ¶
View Source
const (
DefaultIdentitySecretNamespace = "kcp-system"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateIdentitySecret ¶
func NewController ¶
func NewController( kcpClusterClient kcpclient.Interface, apiExportInformer apisinformers.APIExportInformer, clusterWorkspaceShardInformer tenancyinformers.ClusterWorkspaceShardInformer, kubeClusterClient kubernetesclient.Interface, namespaceInformer coreinformers.NamespaceInformer, secretInformer coreinformers.SecretInformer, ) (*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 Resource ¶ added in v0.8.0
type Resource = committer.Resource[*APIExportSpec, *APIExportStatus]
Click to show internal directories.
Click to hide internal directories.