Documentation ¶
Index ¶
- func CheckLicenseExists(configMap *corev1.ConfigMap, license string) bool
- func GetNextLicenseKeySuffix(data map[string]string) int
- func InterfaceToInt64(value interface{}) (int64, error)
- func ReadConfigFromConfigMap(expectName string, configMap *corev1.ConfigMap) (cloud.Config, error)
- func RegisterAndStart(data RegisterAndStartData) error
- func SubmitLicense(ctx context.Context, client cl.Client, cluster corev1.Secret) error
- func SubmitNotificationWithUser(ctx context.Context, client cl.Client, logger logr.Logger, target string, ...)
- func SubmitNotificationWithUserCategory(ctx context.Context, client cl.Client, logger logr.Logger, ...)
- type RegisterAndStartCallBack
- type RegisterAndStartData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNextLicenseKeySuffix ¶
func InterfaceToInt64 ¶
func ReadConfigFromConfigMap ¶
func RegisterAndStart ¶
func RegisterAndStart(data RegisterAndStartData) error
func SubmitLicense ¶
Types ¶
type RegisterAndStartCallBack ¶
type RegisterAndStartCallBack func(data RegisterAndStartData) error
type RegisterAndStartData ¶
type RegisterAndStartData struct { Users cloud.UserCategory FreeLicense cloud.License // contains filtered or unexported fields }
func NewRegisterAndStartData ¶
func (*RegisterAndStartData) Register ¶
func (rd *RegisterAndStartData) Register() error
func (*RegisterAndStartData) StartCloudModule ¶
func (rd *RegisterAndStartData) StartCloudModule() error
func (*RegisterAndStartData) StartLauncher ¶
func (rd *RegisterAndStartData) StartLauncher() error
Click to show internal directories.
Click to hide internal directories.