Documentation ¶
Index ¶
- Constants
- func LogLevelDecodeFunc() mapstructure.DecodeHookFuncType
- type Auth
- type AuthJWT
- type Client
- type ClientDocker
- type ClientMailjet
- type ClientMinio
- type ClientMongo
- type ClientPostgres
- type ClientSMTP
- type Cluster
- type ClusterType
- type Config
- type Email
- type EmailType
- type OAuth
- type OAuthClientCredentials
- type Registry
- type Repository
- type RepositoryStore
- type RepositoryStoreSecret
- type RepositoryStoreSecretMongoDB
- type Telemetry
Constants ¶
View Source
const ( EmailTypeNoEmail = "" EmailTypeMailjet = "mailjet" EmailTypeSMTP = "smtp" )
Variables ¶
This section is empty.
Functions ¶
func LogLevelDecodeFunc ¶
func LogLevelDecodeFunc() mapstructure.DecodeHookFuncType
Types ¶
type Client ¶
type Client struct { Postgres ClientPostgres `mapstructure:"postgres"` Mongo ClientMongo `mapstructure:"mongo"` Minio ClientMinio `mapstructure:"minio"` Docker ClientDocker `mapstructure:"docker"` Mailjet ClientMailjet `mapstructure:"mailjet"` SMTP ClientSMTP `mapstructure:"smtp"` }
type ClientDocker ¶
type ClientDocker struct {
Host string `mapstructure:"host"`
}
type ClientMailjet ¶
type ClientMinio ¶
type ClientMongo ¶
type ClientPostgres ¶
type ClientSMTP ¶
type Cluster ¶
type Cluster struct {
Type ClusterType `mapstructure:"type"`
}
type ClusterType ¶
type ClusterType string
const ( ClusterTypeDocker ClusterType = "docker" ClusterTypeKubernetes ClusterType = "k8s" )
type Config ¶
type Config struct { Port int `mapstructure:"port"` PublicURL string `mapstructure:"public_url"` Telemetry Telemetry `mapstructure:"telemetry"` Auth Auth `mapstructure:"auth"` Client Client `mapstructure:"client"` Repository Repository `mapstructure:"repository"` OAuth OAuth `mapstructure:"oauth"` Cluster Cluster `mapstructure:"cluster"` Email Email `mapstructure:"email"` Registry Registry `mapstructure:"registry"` }
type OAuth ¶
type OAuth struct { Google OAuthClientCredentials `mapstructure:"google"` Github OAuthClientCredentials `mapstructure:"github"` Facebook OAuthClientCredentials `mapstructure:"facebook"` }
type OAuthClientCredentials ¶
type Repository ¶
type Repository struct { Storage RepositoryStore `mapstructure:"storage"` Capsule RepositoryStore `mapstructure:"capsule"` Database RepositoryStore `mapstructure:"database"` ServiceAccount RepositoryStore `mapstructure:"service_account"` Group RepositoryStore `mapstructure:"group"` Project RepositoryStore `mapstructure:"project"` Secret RepositoryStoreSecret `mapstructure:"secret"` Session RepositoryStore `mapstructure:"session"` User RepositoryStore `mapstructure:"user"` VerificationCode RepositoryStore `mapstructure:"verification_code"` }
type RepositoryStore ¶
type RepositoryStore struct {
Store string `mapstructure:"store"`
}
type RepositoryStoreSecret ¶
type RepositoryStoreSecret struct { Store string `mapstructure:"store"` MongoDB RepositoryStoreSecretMongoDB `mapstructure:"mongodb"` }
type RepositoryStoreSecretMongoDB ¶
type RepositoryStoreSecretMongoDB struct {
Key string `mapstructure:"key"`
}
Click to show internal directories.
Click to hide internal directories.