Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvGoogleAuthJSON = "GOOGLE_AUTH_JSON" EnvGoogleApplicationCredentials = "GOOGLE_APPLICATION_CREDENTIALS" EnvAccount = "RESIZER_ACCOUNT" EnvBucket = "RESIZER_BUCKET" EnvConnections = "RESIZER_CONNECTIONS" EnvDSN = "RESIZER_DSN" EnvHost = "RESIZER_HOST" EnvPort = "RESIZER_PORT" EnvPrefix = "RESIZER_PREFIX" EnvVerbose = "RESIZER_VERBOSE" FlagAccount = "account" FlagBucket = "bucket" FlagConnections = "connections" FlagDSN = "dsn" FlagHost = "host" FlagPort = "port" FlagPrefix = "prefix" FlagVerbose = "verbose" )
Variables ¶
View Source
var ( Envs = []string{ EnvGoogleApplicationCredentials, EnvAccount, EnvBucket, EnvConnections, EnvDSN, EnvHost, EnvPort, EnvPrefix, EnvVerbose, } Flags = []string{ FlagAccount, FlagAccount, FlagBucket, FlagConnections, FlagDSN, FlagHost, FlagPort, FlagPrefix, FlagVerbose, } EnvFlagMap = map[string]string{} )
Functions ¶
This section is empty.
Types ¶
type Options ¶
type ServiceAccount ¶
type ServiceAccount struct { Path string `json:"-"` ClientEmail string `json:"client_email"` PrivateKey string `json:"private_key"` ProjectID string `json:"project_id"` }
func (*ServiceAccount) Set ¶
func (a *ServiceAccount) Set(path string) error
func (*ServiceAccount) String ¶
func (a *ServiceAccount) String() string
func (*ServiceAccount) UnmarshalJSON ¶
func (a *ServiceAccount) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.