Versions in this module Expand all Collapse all v0 v0.0.1 Jan 31, 2023 Changes in this version + const ConsoleSubnetURL + var OfflinePublicKeys = []string + func GenerateRegToken(clusterRegInfo mc.ClusterRegistrationInfo) (string, error) + func GetAPIKey(client http.ClientI, token string) (string, error) + func GetClusterRegInfo(admInfo madmin.InfoMessage) mc.ClusterRegistrationInfo + func GetLicenseInfoFromJWT(license string, publicKeys []string) (*licverifier.LicenseInfo, error) + func GetOrganizations(client http.ClientI, token string) ([]*models.SubnetOrganization, error) + func ParseLicense(client http.ClientI, license string) (*licverifier.LicenseInfo, error) + type LicenseTokenConfig struct + APIKey string + License string + Proxy string + func Register(client http.ClientI, admInfo madmin.InfoMessage, ...) (*LicenseTokenConfig, error) + type LoginResp struct + AccessToken string + MfaToken string + func Login(client http.ClientI, username, password string) (*LoginResp, error) + func LoginWithMFA(client http.ClientI, username, mfaToken, otp string) (*LoginResp, error) + type MfaReq struct + OTP string + Token string + Username string