Documentation ¶
Index ¶
Constants ¶
View Source
const ( GitRepoKind = sourcev1beta2.GitRepositoryKind HelmRepoKind = sourcev1beta2.HelmRepositoryKind OCIRepoKind = sourcev1beta2.OCIRepositoryKind KustomizationKind = kustomizev1beta2.KustomizationKind HelmReleaseKind = helmv2b1.HelmReleaseKind ApplicationLabel = "apps.kurator.dev/app-name" ApplicationKind = "Application" ApplicationFinalizer = "apps.kurator.dev" )
View Source
const ( ClusterKind = "Cluster" AttachedClusterKind = "AttachedCluster" )
View Source
const ( FleetKind = "Fleet" FleetFinalizer = "fleet.kurator.dev" )
View Source
const ( MonitoringNamespace = "monitoring" PrometheusThanosServiceName = "prometheus-prometheus-thanos" NoneClusterIP = "None" )
View Source
const ( FleetNameLabel = "fleet.kurator.dev/name" FleetPluginName = "fleet.kurator.dev/plugin" ManagedByLabel = "app.kubernetes.io/managed-by" ManagedByFleetManager = "fleet-manager" )
View Source
const FleetLabel = "fleet.kurator.dev/fleet-name"
View Source
const FleetWorkerClusterRoleBindingName = "fleet-worker"
View Source
const KarmadaCtlImage = "ghcr.io/kurator-dev/karmadactl:v0.1.0"
View Source
const RequeueAfter = 5 * time.Second
View Source
const ServiceAccountName = "fleet-manager-worker"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationManager ¶ added in v0.4.0
ApplicationManager reconciles an Application object
func (*ApplicationManager) SetupWithManager ¶ added in v0.4.0
func (a *ApplicationManager) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type ClusterInterface ¶ added in v0.4.0
type ClusterInterface interface { IsReady() bool GetObject() client.Object GetSecretName() string GetSecretKey() string }
TODO: rename to FleetCluster?
type ClusterKey ¶ added in v0.4.0
type FleetManager ¶
FleetManager reconciles a Cluster object
func (*FleetManager) SetupWithManager ¶
func (f *FleetManager) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.