Documentation ¶
Index ¶
- func GetAllRemoteDependencies(appContext *context.AppContext) map[string]types.RemoteDependency
- func GetBuiltLocalAppDependencies(appContext *context.AppContext) map[string]*LocalAppDependency
- func GetBuiltLocalServiceDependencies(serviceConfig types.ServiceConfig, appContext *context.AppContext) map[string]*LocalAppDependency
- func UpdateAppConfig(appDir string, serviceRole string, appConfig types.AppConfig) error
- type LocalAppDependency
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllRemoteDependencies ¶ added in v0.33.3
func GetAllRemoteDependencies(appContext *context.AppContext) map[string]types.RemoteDependency
GetAllRemoteDependencies returns all remote dependencies
func GetBuiltLocalAppDependencies ¶ added in v0.32.0
func GetBuiltLocalAppDependencies(appContext *context.AppContext) map[string]*LocalAppDependency
GetBuiltLocalAppDependencies returns the LocalAppDependency objects for application dependencies only
func GetBuiltLocalServiceDependencies ¶ added in v0.32.0
func GetBuiltLocalServiceDependencies(serviceConfig types.ServiceConfig, appContext *context.AppContext) map[string]*LocalAppDependency
GetBuiltLocalServiceDependencies returns the dependencies for a single service
Types ¶
type LocalAppDependency ¶ added in v0.32.0
type LocalAppDependency struct {
// contains filtered or unexported fields
}
LocalAppDependency contains methods that return config information about a local dependency
func NewLocalAppDependency ¶ added in v0.32.0
func NewLocalAppDependency(dependencyName string, dependency types.LocalDependency, appContext *context.AppContext) *LocalAppDependency
NewLocalAppDependency returns a LocalAppDependency
func (*LocalAppDependency) GetDockerConfig ¶ added in v0.32.0
func (g *LocalAppDependency) GetDockerConfig() (types.DockerConfig, error)
GetDockerConfig returns docker configuration and an error if any
func (*LocalAppDependency) GetServiceEnvVariables ¶ added in v0.32.0
func (g *LocalAppDependency) GetServiceEnvVariables() map[string]string
GetServiceEnvVariables returns the environment variables that need to be passed to services that use it
func (*LocalAppDependency) GetVolumeNames ¶ added in v0.32.0
func (g *LocalAppDependency) GetVolumeNames() []string
GetVolumeNames returns the named volumes used by this dependency
Click to show internal directories.
Click to hide internal directories.