Versions in this module Expand all Collapse all v0 v0.2.21 Aug 13, 2021 v0.2.20 Aug 10, 2021 v0.2.19 Jul 28, 2021 v0.2.18 Jul 20, 2021 v0.2.17 Jul 16, 2021 v0.2.16 Jul 9, 2021 v0.2.15 Jul 2, 2021 v0.2.14 Jun 28, 2021 v0.2.13 Jun 22, 2021 v0.2.12 Jun 1, 2021 v0.2.11 May 24, 2021 v0.2.10 May 23, 2021 v0.2.9 May 5, 2021 v0.2.8 Apr 23, 2021 v0.2.7 Apr 12, 2021 v0.2.6 Apr 7, 2021 Changes in this version + type Cluster struct + Active bool + AgentInstallationStage int + CdArgoSetup bool + ClusterName string + Config map[string]string + Id int + K8sVersion string + PPassword string + PTlsClientCert string + PTlsClientKey string + PUserName string + PrometheusEndpoint string + ServerUrl string + type ClusterAccounts struct + Account string + Active bool + Cluster Cluster + ClusterId int + Config string + Default bool + Id int + type ClusterAccountsRepository interface + FindAll func() ([]ClusterAccounts, error) + FindById func(id int) (*ClusterAccounts, error) + FindOne func(clusterName string) (*ClusterAccounts, error) + FindOneByEnvironment func(clusterName string) (*ClusterAccounts, error) + Save func(account *ClusterAccounts) error + Update func(account *ClusterAccounts) error + type ClusterAccountsRepositoryImpl struct + func NewClusterAccountsRepositoryImpl(dbConnection *pg.DB) *ClusterAccountsRepositoryImpl + func (repositoryImpl ClusterAccountsRepositoryImpl) FindAll() ([]ClusterAccounts, error) + func (repositoryImpl ClusterAccountsRepositoryImpl) FindById(id int) (*ClusterAccounts, error) + func (repositoryImpl ClusterAccountsRepositoryImpl) FindOne(clusterName string) (*ClusterAccounts, error) + func (repositoryImpl ClusterAccountsRepositoryImpl) FindOneByEnvironment(environment string) (*ClusterAccounts, error) + func (repositoryImpl ClusterAccountsRepositoryImpl) Save(account *ClusterAccounts) error + func (repositoryImpl ClusterAccountsRepositoryImpl) Update(account *ClusterAccounts) error + type ClusterHelmConfig struct + Active bool + Cluster Cluster + ClusterId int + Id int + TillerCert string + TillerKey string + TillerUrl string + type ClusterHelmConfigRepository interface + FindOneByEnvironment func(environment string) (*ClusterHelmConfig, error) + Save func(clusterHelmConfig *ClusterHelmConfig) error + type ClusterHelmConfigRepositoryImpl struct + func NewClusterHelmConfigRepositoryImpl(dbConnection *pg.DB) *ClusterHelmConfigRepositoryImpl + func (impl ClusterHelmConfigRepositoryImpl) FindOneByEnvironment(environment string) (*ClusterHelmConfig, error) + func (impl ClusterHelmConfigRepositoryImpl) Save(clusterHelmConfig *ClusterHelmConfig) error + type ClusterRepository interface + Delete func(model *Cluster) error + FindAll func() ([]Cluster, error) + FindAllActive func() ([]Cluster, error) + FindById func(id int) (*Cluster, error) + FindByIds func(id []int) ([]Cluster, error) + FindOne func(clusterName string) (*Cluster, error) + FindOneActive func(clusterName string) (*Cluster, error) + Save func(model *Cluster) error + Update func(model *Cluster) error + type ClusterRepositoryImpl struct + func NewClusterRepositoryImpl(dbConnection *pg.DB, logger *zap.SugaredLogger) *ClusterRepositoryImpl + func (impl ClusterRepositoryImpl) Delete(model *Cluster) error + func (impl ClusterRepositoryImpl) FindAll() ([]Cluster, error) + func (impl ClusterRepositoryImpl) FindAllActive() ([]Cluster, error) + func (impl ClusterRepositoryImpl) FindById(id int) (*Cluster, error) + func (impl ClusterRepositoryImpl) FindByIds(id []int) ([]Cluster, error) + func (impl ClusterRepositoryImpl) FindOne(clusterName string) (*Cluster, error) + func (impl ClusterRepositoryImpl) FindOneActive(clusterName string) (*Cluster, error) + func (impl ClusterRepositoryImpl) Save(model *Cluster) error + func (impl ClusterRepositoryImpl) Update(model *Cluster) error + type Environment struct + Active bool + Cluster *Cluster + ClusterId int + Default bool + GrafanaDatasourceId int + Id int + Name string + Namespace string + type EnvironmentRepository interface + Create func(mappings *Environment) error + FindAll func() ([]Environment, error) + FindAllActive func() ([]Environment, error) + FindByClusterId func(clusterId int) ([]*Environment, error) + FindById func(id int) (*Environment, error) + FindByIds func(ids []*int) ([]*Environment, error) + FindByName func(name string) (*Environment, error) + FindByNamespaceAndClusterName func(namespaces string, clusterName string) (*Environment, error) + FindOne func(environment string) (*Environment, error) + Update func(mappings *Environment) error + type EnvironmentRepositoryImpl struct + func NewEnvironmentRepositoryImpl(dbConnection *pg.DB) *EnvironmentRepositoryImpl + func (repo EnvironmentRepositoryImpl) FindByIds(ids []*int) ([]*Environment, error) + func (repositoryImpl EnvironmentRepositoryImpl) Create(mappings *Environment) error + func (repositoryImpl EnvironmentRepositoryImpl) FindAll() ([]Environment, error) + func (repositoryImpl EnvironmentRepositoryImpl) FindAllActive() ([]Environment, error) + func (repositoryImpl EnvironmentRepositoryImpl) FindByClusterId(clusterId int) ([]*Environment, error) + func (repositoryImpl EnvironmentRepositoryImpl) FindById(id int) (*Environment, error) + func (repositoryImpl EnvironmentRepositoryImpl) FindByName(name string) (*Environment, error) + func (repositoryImpl EnvironmentRepositoryImpl) FindByNamespaceAndClusterName(namespaces string, clusterName string) (*Environment, error) + func (repositoryImpl EnvironmentRepositoryImpl) FindOne(environment string) (*Environment, error) + func (repositoryImpl EnvironmentRepositoryImpl) Update(mappings *Environment) error