Documentation ¶
Index ¶
- func LoadProviderFromEnvFiles(ctx context.Context, project *configurations.Project, ...) ([]*basev0.ProviderInformation, error)
- type InfoSource
- type Provider
- func (provider *Provider) AddProjectProviderInformation(ctx context.Context, name string, data map[string]string) error
- func (provider *Provider) GetProjectProviderInformation(ctx context.Context, name string) (*basev0.ProviderInformation, error)
- func (provider *Provider) GetProviderInformation(ctx context.Context, service *configurations.Service) ([]*basev0.ProviderInformation, error)
- func (provider *Provider) GetSharedProviderInformation(_ context.Context, service *configurations.Service) ([]*basev0.ProviderInformation, error)
- func (provider *Provider) Share(ctx context.Context, infos []*basev0.ProviderInformation)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadProviderFromEnvFiles ¶
func LoadProviderFromEnvFiles(ctx context.Context, project *configurations.Project, env *configurations.Environment) ([]*basev0.ProviderInformation, error)
Types ¶
type InfoSource ¶
type InfoSource struct { *configurations.ServiceWithApplication Name string }
func FromService ¶
func FromService(service *configurations.Service, dep string) (*InfoSource, error)
FromService satisfies this format: - Name - unique:Name
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) AddProjectProviderInformation ¶
func (*Provider) GetProjectProviderInformation ¶
func (*Provider) GetProviderInformation ¶
func (provider *Provider) GetProviderInformation(ctx context.Context, service *configurations.Service) ([]*basev0.ProviderInformation, error)
func (*Provider) GetSharedProviderInformation ¶
func (provider *Provider) GetSharedProviderInformation(_ context.Context, service *configurations.Service) ([]*basev0.ProviderInformation, error)
Click to show internal directories.
Click to hide internal directories.