Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusHealthy = 0.0 StatusDisconnected = 1.0 )
Variables ¶
This section is empty.
Functions ¶
func InitScheme ¶
func ParseServiceAccountUsername ¶ added in v1.3.0
ParseServiceAccountUsername parses a Kubernetes username and extracts the ServiceAccount namespace and name if it's a ServiceAccount. ServiceAccount usernames follow the format: system:serviceaccount:NAMESPACE:NAME
Types ¶
type SveltosClusterReconciler ¶
type SveltosClusterReconciler struct {
client.Client
rest.Config
Scheme *runtime.Scheme
ConcurrentReconciles int
ShardKey string // when set, only clusters matching the ShardKey will be reconciled
}
SveltosClusterReconciler reconciles a SveltosCluster object
func (*SveltosClusterReconciler) SetupWithManager ¶
func (r *SveltosClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SveltosLicenseReconciler ¶ added in v1.0.0
SveltosLicenseReconciler reconciles a SveltosLicense object
func (*SveltosLicenseReconciler) SetupWithManager ¶ added in v1.0.0
func (r *SveltosLicenseReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.