Versions in this module Expand all Collapse all v0 v0.7.7 Jul 14, 2021 Changes in this version + const Allow + const ConsoleHostname + const ConsoleImageDefaultVersion + const ConsoleLogQueryAuthToken + const ConsoleLogQueryURL + const ConsoleMinIORegion + const ConsoleMinIOServer + const ConsoleOperatorConsoleImage + const ConsoleOperatorSAToken + const ConsolePort + const ConsoleProductionMode + const ConsoleSecureAllowedHosts + const ConsoleSecureAllowedHostsAreRegex + const ConsoleSecureBrowserXSSFilter + const ConsoleSecureContentSecurityPolicy + const ConsoleSecureContentSecurityPolicyReportOnly + const ConsoleSecureContentTypeNoSniff + const ConsoleSecureExpectCTHeader + const ConsoleSecureFeaturePolicy + const ConsoleSecureForceSTSHeader + const ConsoleSecureFrameDeny + const ConsoleSecureHostsProxyHeaders + const ConsoleSecurePublicKey + const ConsoleSecureReferrerPolicy + const ConsoleSecureSTSIncludeSubdomains + const ConsoleSecureSTSPreload + const ConsoleSecureSTSSeconds + const ConsoleSecureTLSHost + const ConsoleSecureTLSRedirect + const ConsoleSecureTLSTemporaryRedirect + const ConsoleSubnetLicense + const ConsoleTLSHostname + const ConsoleTLSPort + const Deny + const KESImageVersion + const LogSearchQueryAuthToken + const OperatorSubnetLicenseSecretName + const PrometheusJobID + const PrometheusURL + const Unknown + const XFS + var ErrorGenericNotFound = errors.New("not found") + var FlatSwaggerJSON json.RawMessage + var GlobalPublicCerts []*x509.Certificate + var GlobalRootCAs *x509.CertPool + var GlobalTLSCertsManager *xcerts.Manager + var Hostname = "" + var LicenseKey = "" + var LogError = logError + var LogInfo = logInfo + var Port = "9090" + var SessionDuration = 45 * time.Minute + var SwaggerJSON json.RawMessage + var TLSPort = "9443" + var TLSRedirect = "on" + func AuthenticationMiddleware(next http.Handler) http.Handler + func DifferenceArrays(a, b []string) []string + func ExpireSessionCookie() http.Cookie + func FileExists(filename string) bool + func FileServerMiddleware(next http.Handler) http.Handler + func GetConsoleSTSClient() *http.Client + func GetHostname() string + func GetParityInfo(nodes int64, disksPerNode int64) (models.ParityResponse, error) + func GetPort() int + func GetSubnetLicense() string + func GetTLSHostname() string + func GetTLSPort() int + func GetTLSRedirect() string + func GetTenantServiceURL(mi *miniov2.Tenant) (svcURL string) + func IsElementInArray(a []string, b string) bool + func NewAdminClient(url, accessKey, secretKey, sessionToken string) (*madmin.AdminClient, *probe.Error) + func NewAdminClientWithInsecure(url, accessKey, secretKey, sessionToken string, insecure bool) (*madmin.AdminClient, *probe.Error) + func NewSessionCookieForConsole(token string) http.Cookie + func PrepareSTSClient(insecure bool) *http.Client + func RandomCharString(n int) string + func RandomCharStringWithAlphabet(n int, alphabet string) string + func RefreshLicense() error + func UniqueKeys(a []string) []string + type ConsoleCredentialsI interface + Expire func() + Get func() (credentials.Value, error) + GetAccountAccessKey func() string + GetActions func() []string + type ConsoleWebsocket interface + type ConsoleWebsocketAdmin interface + type Context struct + HTTPPort int + HTTPSPort int + Host string + TLSCertificate string + TLSKey string + TLSRedirect string + TLSca string + func (c *Context) Load(ctx *cli.Context) error + type DataResult struct + Metric map[string]string + Values []interface{} + type GridPos struct + H int32 + W int32 + X int32 + Y int32 + type K8sClientI interface + type LabelResponse struct + Data []string + Status string + type LabelResults struct + Label string + Response LabelResponse + type MCClient interface + type Metric struct + GridPos GridPos + ID int32 + MaxDataPoints int32 + Options MetricOptions + Targets []Target + Title string + Type string + type MetricOptions struct + ReduceOptions ReduceOptions + type MinioAdmin interface + type MinioClient interface + type OperatorClientI interface + TenantDelete func(ctx context.Context, namespace string, instanceName string, ...) error + TenantGet func(ctx context.Context, namespace string, instanceName string, ...) (*miniov2.Tenant, error) + TenantList func(ctx context.Context, namespace string, opts metav1.ListOptions) (*miniov2.TenantList, error) + TenantPatch func(ctx context.Context, namespace string, instanceName string, pt types.PatchType, ...) (*miniov2.Tenant, error) + TenantUpdate func(ctx context.Context, tenant *miniov2.Tenant, opts metav1.UpdateOptions) (*miniov2.Tenant, error) + type PromResp struct + Data PromRespData + Status string + type PromRespData struct + Result []DataResult + ResultType string + type ReduceOptions struct + Calcs []string + type RemoteBucketResult struct + Error string + OriginBucket string + TargetBucket string + type Server struct + CleanupTimeout time.Duration + EnabledListeners []string + GracefulTimeout time.Duration + Host string + KeepAlive time.Duration + ListenLimit int + MaxHeaderSize flagext.ByteSize + Port int + ReadTimeout time.Duration + SocketPath flags.Filename + TLSCACertificate flags.Filename + TLSCertificate flags.Filename + TLSCertificateKey flags.Filename + TLSHost string + TLSKeepAlive time.Duration + TLSListenLimit int + TLSPort int + TLSReadTimeout time.Duration + TLSWriteTimeout time.Duration + WriteTimeout time.Duration + func NewServer(api *operations.ConsoleAPI) *Server + func (s *Server) ConfigureAPI() + func (s *Server) ConfigureFlags() + func (s *Server) Fatalf(f string, args ...interface{}) + func (s *Server) GetHandler() http.Handler + func (s *Server) HTTPListener() (net.Listener, error) + func (s *Server) Listen() error + func (s *Server) Logf(f string, args ...interface{}) + func (s *Server) Serve() (err error) + func (s *Server) SetAPI(api *operations.ConsoleAPI) + func (s *Server) SetHandler(handler http.Handler) + func (s *Server) Shutdown() error + func (s *Server) TLSListener() (net.Listener, error) + func (s *Server) UnixListener() (net.Listener, error) + type Target struct + Expr string + Interval string + LegendFormat string + Step int32 + type TraceRequest struct + type VersionState string + const VersionEnable + const VersionSuspend + type WSConn interface + type Widget struct + Title string + Type string + type WidgetLabel struct + Name string