Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultEmailSecretName = "certforgot-useremail" DefaultKeyName = "certforgot-userkey" )
View Source
const ExistsQuery = "SELECT COUNT(*) FROM certforgot.state"
View Source
const (
FileName = "certforgot_state.yaml"
)
View Source
const GetQuery = "SELECT * FROM certforgot.state LIMIT 1"
View Source
const InsertQuery = "INSERT INTO certforgot.state VALUES (:id, :useremail, :userprivatekey);"
View Source
const UpdateQuery = "UPDATE certforgot.state SET useremail = :useremail, userprivatekey = :userprivatekey WHERE id = :id"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureBlobSource ¶
type AzureBlobSource struct {
// contains filtered or unexported fields
}
func NewAzureBlobSource ¶
func NewAzureBlobSource( client azure.BlobClient, ) (AzureBlobSource, error)
type AzureKeyVaultSource ¶
type AzureKeyVaultSource struct {
// contains filtered or unexported fields
}
func NewAzureKeyVaultSource ¶
func NewAzureKeyVaultSource( client azure.KeyVaultClient, config *AzureKeyVaultSourceConfig, ) (AzureKeyVaultSource, error)
func (AzureKeyVaultSource) Exists ¶
func (source AzureKeyVaultSource) Exists(ctx context.Context) (bool, error)
type LocalSource ¶
type LocalSource struct {
// contains filtered or unexported fields
}
func NewLocalSource ¶
func NewLocalSource(directory string) (LocalSource, error)
type SqlSource ¶
type SqlSource struct {
// contains filtered or unexported fields
}
func NewSqlSource ¶
Click to show internal directories.
Click to hide internal directories.