Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(project ProjectConfig) error
Init a new project with a default "local" profile.
Types ¶
type Profile ¶
type Profile struct {
// contains filtered or unexported fields
}
func Load ¶
func Load( ctx context.Context, secretsRegistry *providers.Registry[configuration.Secrets], configRegistry *providers.Registry[configuration.Configuration], root string, profile string, ) (Profile, error)
Load a profile from the project.
func (*Profile) ConfigurationManager ¶
func (p *Profile) ConfigurationManager() *manager.Manager[configuration.Configuration]
func (*Profile) ProjectConfig ¶
func (p *Profile) ProjectConfig() ProjectConfig
ProjectConfig is static project-wide configuration shared by all profiles.
func (*Profile) SecretsManager ¶
func (p *Profile) SecretsManager() *manager.Manager[configuration.Secrets]
type ProjectConfig ¶
Click to show internal directories.
Click to hide internal directories.