Documentation
¶
Index ¶
- func NewS3StorageListValue(p *[]S3Storage, val []S3Storage, separator string) *s3StorageListValue
- type AbsolutePath
- type Address
- type Auth0Tenant
- type Bool
- type CIDRList
- type CORSOrigins
- type Dir
- type Email
- type Exec
- type File
- type Int
- type Int64
- type MustDir
- type Port
- type S3Storage
- type S3StorageAuth
- type String
- type StringList
- type StringMapString
- type TenantList
- type Time
- type URL
- type Uint64
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewS3StorageListValue ¶ added in v16.12.0
Types ¶
type AbsolutePath ¶
type AbsolutePath string
func NewAbsolutePath ¶
func NewAbsolutePath(p *string, val string) *AbsolutePath
func (*AbsolutePath) IsEmpty ¶
func (s *AbsolutePath) IsEmpty() bool
func (*AbsolutePath) Set ¶
func (s *AbsolutePath) Set(val string) error
func (*AbsolutePath) String ¶
func (s *AbsolutePath) String() string
func (*AbsolutePath) Validate ¶
func (s *AbsolutePath) Validate() error
type Auth0Tenant ¶
type Auth0Tenant struct {
Domain string `json:"domain"`
Audience string `json:"audience"`
ClientID string `json:"clientid"`
Users []string `json:"users"`
}
func (*Auth0Tenant) String ¶ added in v16.12.0
func (a *Auth0Tenant) String() string
type CORSOrigins ¶
type CORSOrigins struct {
// contains filtered or unexported fields
}
func NewCORSOrigins ¶
func NewCORSOrigins(p *[]string, val []string, separator string) *CORSOrigins
func (*CORSOrigins) IsEmpty ¶
func (s *CORSOrigins) IsEmpty() bool
func (*CORSOrigins) Set ¶
func (s *CORSOrigins) Set(val string) error
func (*CORSOrigins) String ¶
func (s *CORSOrigins) String() string
func (*CORSOrigins) Validate ¶
func (s *CORSOrigins) Validate() error
type MustDir ¶
type MustDir struct {
// contains filtered or unexported fields
}
func NewMustDir ¶
func NewMustDir(p *string, val string, fs fs.Filesystem) *MustDir
type S3Storage ¶ added in v16.12.0
type S3Storage struct {
Name string `json:"name"`
Mountpoint string `json:"mountpoint"`
Auth S3StorageAuth `json:"auth"`
Endpoint string `json:"endpoint"`
AccessKeyID string `json:"access_key_id"`
SecretAccessKey string `json:"secret_access_key"`
Bucket string `json:"bucket"`
Region string `json:"region"`
UseSSL bool `json:"use_ssl"`
}
type S3StorageAuth ¶ added in v16.13.0
type StringList ¶
type StringList struct {
// contains filtered or unexported fields
}
func NewStringList ¶
func NewStringList(p *[]string, val []string, separator string) *StringList
func (*StringList) IsEmpty ¶
func (s *StringList) IsEmpty() bool
func (*StringList) Set ¶
func (s *StringList) Set(val string) error
func (*StringList) String ¶
func (s *StringList) String() string
func (*StringList) Validate ¶
func (s *StringList) Validate() error
type StringMapString ¶
type StringMapString struct {
// contains filtered or unexported fields
}
func NewStringMapString ¶
func NewStringMapString(p *map[string]string, val map[string]string) *StringMapString
func (*StringMapString) IsEmpty ¶
func (s *StringMapString) IsEmpty() bool
func (*StringMapString) Set ¶
func (s *StringMapString) Set(val string) error
func (*StringMapString) String ¶
func (s *StringMapString) String() string
func (*StringMapString) Validate ¶
func (s *StringMapString) Validate() error
type TenantList ¶
type TenantList struct {
// contains filtered or unexported fields
}
func NewTenantList ¶
func NewTenantList(p *[]Auth0Tenant, val []Auth0Tenant, separator string) *TenantList
func (*TenantList) IsEmpty ¶
func (s *TenantList) IsEmpty() bool
func (*TenantList) Set ¶
func (s *TenantList) Set(val string) error
Set allows to set a tenant list in two formats: - a separator separated list of bas64 encoded Auth0Tenant JSON objects - a separator separated list of Auth0Tenant in URL representation: auth0://[clientid]@[domain]?aud=[audience]&user=...&user=...
func (*TenantList) String ¶
func (s *TenantList) String() string
func (*TenantList) Validate ¶
func (s *TenantList) Validate() error
type Value ¶
type Value interface {
// String returns a string representation of the value.
String() string
// Set a new value for the value. Returns an
// error if the given string representation can't
// be transformed to the value. Returns nil
// if the new value has been set.
Set(string) error
// Validate the value. The returned error will
// indicate what is wrong with the current value.
// Returns nil if the value is OK.
Validate() error
// IsEmpty returns whether the value represents an empty
// representation for that value.
IsEmpty() bool
}
Click to show internal directories.
Click to hide internal directories.