Versions in this module Expand all Collapse all v0 v0.7.1 Jul 25, 2023 v0.7.0 Jul 20, 2023 Changes in this version + const EntityNamespace + const EntityProject + const EntitySecret + const EntityTenant + const ProjectSchedulerHost + const ProjectStoragePathKey + const SecretNotifySlack + const SecretSchedulerAuth + const SecretStorageKey + type Namespace struct + func NewNamespace(name string, projName ProjectName, config map[string]string) (*Namespace, error) + func (n *Namespace) GetConfig(key string) (string, error) + func (n *Namespace) GetConfigs() map[string]string + func (n *Namespace) Name() NamespaceName + func (n *Namespace) ProjectName() ProjectName + type NamespaceName string + func NamespaceNameFrom(name string) (NamespaceName, error) + func (n NamespaceName) String() string + type PlainTextSecret struct + func NewPlainTextSecret(name, value string) (*PlainTextSecret, error) + func (p *PlainTextSecret) Name() SecretName + func (p *PlainTextSecret) Value() string + type PlainTextSecrets []*PlainTextSecret + func (p PlainTextSecrets) ToMap() map[string]string + type Project struct + func NewProject(name string, config map[string]string) (*Project, error) + func (p *Project) GetConfig(key string) (string, error) + func (p *Project) GetConfigs() map[string]string + func (p *Project) Name() ProjectName + type ProjectName string + func ProjectNameFrom(name string) (ProjectName, error) + func (pn ProjectName) String() string + type Secret struct + func NewSecret(name, encodedValue string, projName ProjectName, nsName string) (*Secret, error) + func (s *Secret) EncodedValue() string + func (s *Secret) Name() SecretName + func (s *Secret) NamespaceName() string + func (s *Secret) ProjectName() ProjectName + type SecretName string + func SecretNameFrom(name string) (SecretName, error) + func (sn SecretName) String() string + type Tenant struct + func NewTenant(projectName, namespaceName string) (Tenant, error) + func (t Tenant) IsInvalid() bool + func (t Tenant) NamespaceName() NamespaceName + func (t Tenant) ProjectName() ProjectName + type WithDetails struct + func NewTenantDetails(proj *Project, namespace *Namespace, secrets PlainTextSecrets) (*WithDetails, error) + func (w *WithDetails) GetConfig(key string) (string, error) + func (w *WithDetails) GetConfigs() map[string]string + func (w *WithDetails) Namespace() *Namespace + func (w *WithDetails) Project() *Project + func (w *WithDetails) SecretsMap() map[string]string + func (w *WithDetails) ToTenant() Tenant