providers

package
v0.1.62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractFromPath added in v0.1.39

func ExtractFromPath(p string) string

ExtractFromPath gets applications/app/services/ServiceWithApplication and we want to extract app/ServiceWithApplication

func LoadConfigurationsFromEnvFiles added in v0.1.62

func LoadConfigurationsFromEnvFiles(ctx context.Context, dir string) ([]*basev0.ConfigurationInformation, error)

Types

type ConfigurationInformationLoader added in v0.1.62

type ConfigurationInformationLoader interface {
	Load(ctx context.Context, env *configurations.Environment) ([]*basev0.Configuration, error)
}

type ConfigurationInformationLocalReader added in v0.1.62

type ConfigurationInformationLocalReader struct {
	// contains filtered or unexported fields
}

func NewConfigurationLocalReader added in v0.1.62

func NewConfigurationLocalReader(_ context.Context, project *configurations.Project) (*ConfigurationInformationLocalReader, error)

func (*ConfigurationInformationLocalReader) Load added in v0.1.62

type ConfigurationInformationManager added in v0.1.62

type ConfigurationInformationManager struct {
	// contains filtered or unexported fields
}

func NewConfigurationInformation added in v0.1.62

func NewConfigurationInformation(_ context.Context, project *configurations.Project) (*ConfigurationInformationManager, error)

func (*ConfigurationInformationManager) Expose added in v0.1.62

func (*ConfigurationInformationManager) GetConfigurations added in v0.1.62

func (c *ConfigurationInformationManager) GetConfigurations(ctx context.Context) ([]*basev0.Configuration, error)

func (*ConfigurationInformationManager) GetProjectConfiguration added in v0.1.62

func (c *ConfigurationInformationManager) GetProjectConfiguration(_ context.Context, name string) (*basev0.Configuration, error)

func (*ConfigurationInformationManager) GetServiceConfiguration added in v0.1.62

func (c *ConfigurationInformationManager) GetServiceConfiguration(_ context.Context, service *configurations.Service) (*basev0.Configuration, error)

func (*ConfigurationInformationManager) GetSharedServiceConfiguration added in v0.1.62

func (c *ConfigurationInformationManager) GetSharedServiceConfiguration(_ context.Context, unique string) ([]*basev0.Configuration, error)

func (*ConfigurationInformationManager) Load added in v0.1.62

func (*ConfigurationInformationManager) Restrict added in v0.1.62

func (*ConfigurationInformationManager) WithLoader added in v0.1.62

type ConfigurationInformationWrapper added in v0.1.62

type ConfigurationInformationWrapper struct {
	*basev0.ConfigurationInformation
}

type ConfigurationSource added in v0.1.62

type ConfigurationSource struct {
	ServiceWithApplication *configurations.ServiceWithApplication
	Name                   string
}

func FromService

func FromService(service *configurations.Service, dep string) (*ConfigurationSource, error)

FromService satisfies this format - Name - unique:Name

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL