Documentation ¶
Index ¶
- func GetSQLiteConnection(dbPath string) *gorm.DB
- type ApiKeyStore
- func (a *ApiKeyStore) Delete(apiKey *apikey.ApiKey) error
- func (a *ApiKeyStore) Find(key string) (*apikey.ApiKey, error)
- func (a *ApiKeyStore) FindByName(name string) (*apikey.ApiKey, error)
- func (a *ApiKeyStore) List() ([]*apikey.ApiKey, error)
- func (a *ApiKeyStore) Save(apiKey *apikey.ApiKey) error
- type ContainerRegistryStore
- func (s *ContainerRegistryStore) Delete(cr *containerregistry.ContainerRegistry) error
- func (s *ContainerRegistryStore) Find(server string) (*containerregistry.ContainerRegistry, error)
- func (s *ContainerRegistryStore) List() ([]*containerregistry.ContainerRegistry, error)
- func (s *ContainerRegistryStore) Save(cr *containerregistry.ContainerRegistry) error
- type GitProviderConfigStore
- func (p *GitProviderConfigStore) Delete(gitProvider *gitprovider.GitProviderConfig) error
- func (p *GitProviderConfigStore) Find(id string) (*gitprovider.GitProviderConfig, error)
- func (p *GitProviderConfigStore) List() ([]*gitprovider.GitProviderConfig, error)
- func (p *GitProviderConfigStore) Save(gitProvider *gitprovider.GitProviderConfig) error
- type ProviderTargetStore
- func (s *ProviderTargetStore) Delete(target *provider.ProviderTarget) error
- func (s *ProviderTargetStore) Find(targetName string) (*provider.ProviderTarget, error)
- func (s *ProviderTargetStore) List() ([]*provider.ProviderTarget, error)
- func (s *ProviderTargetStore) Save(target *provider.ProviderTarget) error
- type WorkspaceStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSQLiteConnection ¶
Types ¶
type ApiKeyStore ¶
type ApiKeyStore struct {
// contains filtered or unexported fields
}
func NewApiKeyStore ¶
func NewApiKeyStore(db *gorm.DB) (*ApiKeyStore, error)
func (*ApiKeyStore) FindByName ¶
func (a *ApiKeyStore) FindByName(name string) (*apikey.ApiKey, error)
type ContainerRegistryStore ¶ added in v0.13.0
type ContainerRegistryStore struct {
// contains filtered or unexported fields
}
func NewContainerRegistryStore ¶ added in v0.13.0
func NewContainerRegistryStore(db *gorm.DB) (*ContainerRegistryStore, error)
func (*ContainerRegistryStore) Delete ¶ added in v0.13.0
func (s *ContainerRegistryStore) Delete(cr *containerregistry.ContainerRegistry) error
func (*ContainerRegistryStore) Find ¶ added in v0.13.0
func (s *ContainerRegistryStore) Find(server string) (*containerregistry.ContainerRegistry, error)
func (*ContainerRegistryStore) List ¶ added in v0.13.0
func (s *ContainerRegistryStore) List() ([]*containerregistry.ContainerRegistry, error)
func (*ContainerRegistryStore) Save ¶ added in v0.13.0
func (s *ContainerRegistryStore) Save(cr *containerregistry.ContainerRegistry) error
type GitProviderConfigStore ¶
type GitProviderConfigStore struct {
// contains filtered or unexported fields
}
func NewGitProviderConfigStore ¶
func NewGitProviderConfigStore(db *gorm.DB) (*GitProviderConfigStore, error)
func (*GitProviderConfigStore) Delete ¶
func (p *GitProviderConfigStore) Delete(gitProvider *gitprovider.GitProviderConfig) error
func (*GitProviderConfigStore) Find ¶
func (p *GitProviderConfigStore) Find(id string) (*gitprovider.GitProviderConfig, error)
func (*GitProviderConfigStore) List ¶
func (p *GitProviderConfigStore) List() ([]*gitprovider.GitProviderConfig, error)
func (*GitProviderConfigStore) Save ¶
func (p *GitProviderConfigStore) Save(gitProvider *gitprovider.GitProviderConfig) error
type ProviderTargetStore ¶
type ProviderTargetStore struct {
// contains filtered or unexported fields
}
func NewProviderTargetStore ¶
func NewProviderTargetStore(db *gorm.DB) (*ProviderTargetStore, error)
func (*ProviderTargetStore) Delete ¶
func (s *ProviderTargetStore) Delete(target *provider.ProviderTarget) error
func (*ProviderTargetStore) Find ¶
func (s *ProviderTargetStore) Find(targetName string) (*provider.ProviderTarget, error)
func (*ProviderTargetStore) List ¶
func (s *ProviderTargetStore) List() ([]*provider.ProviderTarget, error)
func (*ProviderTargetStore) Save ¶
func (s *ProviderTargetStore) Save(target *provider.ProviderTarget) error
type WorkspaceStore ¶
type WorkspaceStore struct {
// contains filtered or unexported fields
}
func NewWorkspaceStore ¶
func NewWorkspaceStore(db *gorm.DB) (*WorkspaceStore, error)
func (*WorkspaceStore) Delete ¶
func (w *WorkspaceStore) Delete(workspace *workspace.Workspace) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.