Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
pkg
|
|
registration/hub/addon
package addon contains the hub-side controllers for updating addon status and rotating the addon certificate.
|
package addon contains the hub-side controllers for updating addon status and rotating the addon certificate. |
registration/hub/clusterrole
package clusterrole contains the hub-side reconciler for the ManagedCluster necessary clusterrole resource.
|
package clusterrole contains the hub-side reconciler for the ManagedCluster necessary clusterrole resource. |
registration/hub/csr
package csr contains the hub-side reconciler for auto approving the renewal CertificateSigningRequests for an accepted managed cluster
|
package csr contains the hub-side reconciler for auto approving the renewal CertificateSigningRequests for an accepted managed cluster |
registration/hub/gc
package gc contains the hub-side reconciler to cleanup finalizer on role/rolebinding in cluster namespace when ManagedCluster is being deleted.
|
package gc contains the hub-side reconciler to cleanup finalizer on role/rolebinding in cluster namespace when ManagedCluster is being deleted. |
registration/hub/lease
package lease contains the hub-side controller for checking an accepted spoke cluster whether is available
|
package lease contains the hub-side controller for checking an accepted spoke cluster whether is available |
registration/hub/managedcluster
package managedcluster contains the hub-side reconciler for the ManagedCluster resource.
|
package managedcluster contains the hub-side reconciler for the ManagedCluster resource. |
registration/hub/user
Package user contains common definition works for kubernetes certificates
|
Package user contains common definition works for kubernetes certificates |
registration/spoke
package spoke and its subpackages contain the controllers that make up the spoke agent.
|
package spoke and its subpackages contain the controllers that make up the spoke agent. |
registration/spoke/addon
package addon contains the managed cluster side controllers for updating addon status and registering addon on the hub cluster.
|
package addon contains the managed cluster side controllers for updating addon status and registering addon on the hub cluster. |
registration/spoke/managedcluster
package managedcluster contains the spoke cluster side reconciler for the SpokeCluster resource.
|
package managedcluster contains the spoke cluster side reconciler for the SpokeCluster resource. |
registration/webhook
package webhook contains the managed cluster admission hooks to mutate and validate the ManagedCluster create and update operations
|
package webhook contains the managed cluster admission hooks to mutate and validate the ManagedCluster create and update operations |
work/spoke/auth/cache
Package cache implements a ManifestWork Executor Validator with caching capabilities.
|
Package cache implements a ManifestWork Executor Validator with caching capabilities. |
work/webhook
package webhook contains the manifestwork admission hook to validate the ManifestWork create and update operations
|
package webhook contains the manifestwork admission hook to validate the ManifestWork create and update operations |
test
|
|
integration/operator
Package integration provides integration tests for open-cluster-management operator, the test cases include - deploy/update/remove the cluster manager - deploy/update/remove the klusterlet
|
Package integration provides integration tests for open-cluster-management operator, the test cases include - deploy/update/remove the cluster manager - deploy/update/remove the klusterlet |
integration/registration
Package integration provides integration tests for open-cluster-management registration, the test cases include - managed cluster joining process - managed cluster health check - registration agent rotate its certificate after its certificate is expired - registration agent recovery from invalid bootstrap kubeconfig - registration agent recovery from invalid hub kubeconfig
|
Package integration provides integration tests for open-cluster-management registration, the test cases include - managed cluster joining process - managed cluster health check - registration agent rotate its certificate after its certificate is expired - registration agent recovery from invalid bootstrap kubeconfig - registration agent recovery from invalid hub kubeconfig |
integration/work
Package integration provides integration tests for open-cluster-management work, the test cases include - create work - update work - delete work
|
Package integration provides integration tests for open-cluster-management work, the test cases include - create work - update work - delete work |
Click to show internal directories.
Click to hide internal directories.