Documentation ¶
Index ¶
- type ConfigurationRepo
- type CredentialRepo
- func (c CredentialRepo) AllOf(fsType configuration.ForeignSystemType) ([]configuration.Credential, error)
- func (c CredentialRepo) Delete(name string, fsType configuration.ForeignSystemType) error
- func (c CredentialRepo) Exists(name string, fsType configuration.ForeignSystemType) (bool, error)
- func (c CredentialRepo) Get(name string, fsType configuration.ForeignSystemType) (configuration.Credential, error)
- func (c CredentialRepo) Set(cred configuration.Credential) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationRepo ¶
type ConfigurationRepo struct {
// contains filtered or unexported fields
}
func NewConfigurationRepo ¶
func NewConfigurationRepo(prod bool) (*ConfigurationRepo, error)
func (*ConfigurationRepo) ConnectDatabase ¶
func (cr *ConfigurationRepo) ConnectDatabase(store database.Storer, db *database.Database)
func (*ConfigurationRepo) Get ¶
func (cr *ConfigurationRepo) Get() configuration.Configuration
func (*ConfigurationRepo) Set ¶
func (cr *ConfigurationRepo) Set(config configuration.Configuration)
type CredentialRepo ¶
type CredentialRepo struct {
// contains filtered or unexported fields
}
func NewCredentialRepo ¶
func NewCredentialRepo(store database.Storer, db *database.Database) *CredentialRepo
func (CredentialRepo) AllOf ¶
func (c CredentialRepo) AllOf(fsType configuration.ForeignSystemType) ([]configuration.Credential, error)
func (CredentialRepo) Delete ¶
func (c CredentialRepo) Delete(name string, fsType configuration.ForeignSystemType) error
func (CredentialRepo) Exists ¶
func (c CredentialRepo) Exists(name string, fsType configuration.ForeignSystemType) (bool, error)
func (CredentialRepo) Get ¶
func (c CredentialRepo) Get(name string, fsType configuration.ForeignSystemType) (configuration.Credential, error)
func (CredentialRepo) Set ¶
func (c CredentialRepo) Set(cred configuration.Credential) error
Click to show internal directories.
Click to hide internal directories.