Documentation
¶
Index ¶
- func GetBuiltLocalAppDependencies(appContext *context.AppContext) map[string]LocalAppDependency
- func GetBuiltLocalServiceDependencies(serviceConfig types.ServiceConfig, appContext *context.AppContext) map[string]LocalAppDependency
- func GetBuiltRemoteAppDependencies(appContext *context.AppContext) map[string]RemoteAppDependency
- func GetBuiltRemoteDependencies(appContext *context.AppContext) map[string]RemoteAppDependency
- func GetBuiltRemoteServiceDependencies(serviceConfig types.ServiceConfig, appContext *context.AppContext) map[string]RemoteAppDependency
- func UpdateAppConfig(appDir string, serviceRole string, appConfig types.AppConfig) error
- type LocalAppDependency
- type RemoteAppDependency
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
func GetBuiltRemoteAppDependencies ¶ added in v0.32.0
func GetBuiltRemoteAppDependencies(appContext *context.AppContext) map[string]RemoteAppDependency
GetBuiltRemoteAppDependencies returns the RemoteAppDependency objects for the application dependencies only
func GetBuiltRemoteDependencies ¶ added in v0.32.0
func GetBuiltRemoteDependencies(appContext *context.AppContext) map[string]RemoteAppDependency
GetBuiltRemoteDependencies returns the RemoteAppDependency objects for the application and service prod dependencies of the entire application
func GetBuiltRemoteServiceDependencies ¶ added in v0.32.0
func GetBuiltRemoteServiceDependencies(serviceConfig types.ServiceConfig, appContext *context.AppContext) map[string]RemoteAppDependency
GetBuiltRemoteServiceDependencies returns the dependencies for a single service
Types ¶
type LocalAppDependency ¶ added in v0.32.0
type LocalAppDependency interface {
GetDockerConfig() (types.DockerConfig, error)
GetServiceEnvVariables() map[string]string
GetVolumeNames() []string
}
LocalAppDependency contains methods that return config information about a dev dependency
func NewLocalAppDependency ¶ added in v0.32.0
func NewLocalAppDependency(dependencyName string, dependency types.LocalDependency, appContext *context.AppContext) LocalAppDependency
NewLocalAppDependency returns a LocalAppDependency
type RemoteAppDependency ¶ added in v0.32.0
type RemoteAppDependency interface {
HasDockerConfig() bool
GetDockerConfig() (types.DockerConfig, error)
GetDeploymentConfig() (map[string]string, error)
GetDeploymentServiceEnvVariables(secrets types.Secrets) map[string]string
GetDeploymentVariables() (map[string]string, error)
}
RemoteAppDependency contains methods that return config information about a dependency
func NewRemoteAppDependency ¶ added in v0.32.0
func NewRemoteAppDependency(dependencyName string, dependency types.RemoteDependency, appContext *context.AppContext) RemoteAppDependency
NewRemoteAppDependency returns an AppProductionDependency