package
1.7.6
Repository: https://github.com/minio/console.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DifferenceArrays returns the elements in `a` that aren't in `b`.
Error receives an errors object and parse it against k8sErrors, returns the right errors code paired with a generic errors message.
ErrorWithContext :.
No description provided by the author
FileServerMiddleware serves files from the static folder.
GetAdminInfo invokes admin info and returns a parsed `UsageInfo` structure.
GetConsoleHTTPClient caches different http clients depending on the target endpoint while taking in consideration CA certs stored in ${HOME}/.console/certs/CAs and ${HOME}/.minio/certs/CAs If the target endpoint points to a loopback device, skip the TLS verification.
GetHostname gets console hostname set on env variable, default one or defined on run command.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetPort gets console por set on env variable or default one.
No description provided by the author
Get secure middleware env variable configurations.
AllowedHostsAreRegex determines, if the provided AllowedHosts slice contains valid regular expressions.
If BrowserXssFilter is true, adds the X-XSS-Protection header with the value `1; mode=block`.
ContentSecurityPolicy allows the Content-Security-Policy header value to be set with a custom value.
ContentSecurityPolicyReportOnly allows the Content-Security-Policy-Report-Only header value to be set with a custom value.
If ContentTypeNosniff is true, adds the X-Content-Type-Options header with the value `nosniff`.
FeaturePolicy allows the Feature-Policy header with the value to be set with a custom value.
STS header is only included when the connection is HTTPS.
If FrameDeny is set to true, adds the X-Frame-Options header with the value of `DENY`.
HostsProxyHeaders is a set of header keys that may hold a proxied hostname value for the request.
ReferrerPolicy allows the Referrer-Policy header with the value to be set with a custom value.
If STSIncludeSubdomains is set to true, the `includeSubdomains` will be appended to the Strict-Transport-Security header.
If STSPreload is set to true, the `preload` flag will be appended to the Strict-Transport-Security header.
STSSeconds is the max-age of the Strict-Transport-Security header.
TLSHost is the host name that is used to redirect HTTP requests to HTTPS.
If TLSTemporaryRedirect is true, the a 302 will be used while redirecting.
GetTLSPort gets console tls port set on env variable or default one.
If GetTLSRedirect is set to true, then only allow HTTPS requests.
IsElementInArray returns true if the string belongs to the slice.
No description provided by the author
No description provided by the author
NewServer creates a new api console server but does not configure it.
No description provided by the author
PrepareConsoleHTTPClient returns an http.Client with custom configurations need it by *credentials.STSAssumeRole custom configurations include the use of CA certificates.
PrepareSTSClientTransport :.
No description provided by the author
No description provided by the author
RejectS3Middleware will reject requests that have AWS S3 specific headers.
SetPolicy calls MinIO server to assign policy to a group or user.
UniqueKeys returns an array without duplicated keys.
No description provided by the author

# Constants

Policy evaluated constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
Constants for common configuration.
list of all console environment constants.
Constants for Secure middleware.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
Policy evaluated constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
list of all console environment constants.
No description provided by the author
Policy evaluated constants.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FlatSwaggerJSON embedded flattened version of the swagger document used at generation time.
GlobalMinIOConfig is the global application configuration passed in from the MinIO server.
GlobalPublicCerts has certificates Console will use to serve clients.
GlobalRootCAs is CA root certificates, a nil value means system certs pool will be used.
GlobalTLSCertsManager custom TLS Manager for SNI support.
GlobalTransport is common transport used for all HTTP calls, this is set via MinIO server to be the correct transport, however we still define some defaults here just in case.
Hostname console hostname avoid listening on 0.0.0.0 by default instead listen on all IPv4 and IPv6 - Hostname should be empty.
globally changeable logger styles.
globally changeable logger styles.
globally changeable logger styles.
No description provided by the author
Port console default port.
SwaggerJSON embedded version of the swagger document used at generation time.
TLSPort console tls port.
TLSRedirect console tls redirect rule.

# Structs

Interface implementation Define the structure of a minIO Client and define the functions that are actually used from minIO api.
No description provided by the author
No description provided by the author
No description provided by the author
Interface implementation.
No description provided by the author
Context captures all command line flags values.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Type for log requests.
No description provided by the author
No description provided by the author
MinIOConfig represents application configuration passed in from the MinIO server to the console.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Server for the console API.
No description provided by the author
Types for trace request.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

ConsoleCredentialsI interface with all functions to be implemented by mock when testing, it should include all needed consoleCredentials.Login api calls that are used within this project.
ConsoleWebsocket interface of a Websocket Client.
ConsoleWebsocketAdmin interface of a Websocket Client.
ConsoleWebSocketMClient interface of a Websocket Client.
MCClient interface with all functions to be implemented by mock when testing, it should include all mc/S3Client respective api calls that are used within this project.
MinioAdmin interface with all functions to be implemented by mock when testing, it should include all MinioAdmin respective api calls that are used within this project.
MinioClient interface with all functions to be implemented by mock when testing, it should include all MinioClient respective api calls that are used within this project.
WSConn interface with all functions to be implemented by mock when testing, it should include all websocket.Conn respective api calls that are used within this project.

# Type aliases

No description provided by the author