Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRoleNotFound = errors.New("role not found")
)
Functions ¶
Types ¶
type Config ¶
type Config struct { Endpoint string `json:"endpoint"` AccessKeyId string `json:"accessKeyId"` SecretAccessKey string `json:"secretAccessKey"` UseSSL bool `json:"useSSL"` Configured bool `json:"is_configured"` }
func DefaultConfig ¶
func DefaultConfig() *Config
type Role ¶
type Role struct { // Policy is the policy the created user will have on the // Minio server Policy string `json:"policy"` UserNamePrefix string `json:"user_name_prefix"` // DefaultTTL is the TTL which will be applied to keys if no // TTL is requested DefaultTTL time.Duration `json:"default_ttl"` // MaxTTL is the maximum any TTL can be for this role MaxTTL time.Duration `json:"max_ttl"` }
A role stored in the storage backend
Click to show internal directories.
Click to hide internal directories.