Documentation
¶
Index ¶
Constants ¶
View Source
const DependencyFolder = ".devspace/dependencies"
DependencyFolder is the dependency folder in the home directory of the user
Variables ¶
View Source
var DependencyFolderPath string
DependencyFolderPath will be filled during init
Functions ¶
This section is empty.
Types ¶
type BuildOptions ¶
type BuildOptions struct {
UpdateDependencies, SkipPush, ForceDeployDependencies, ForceBuild, Verbose bool
}
BuildOptions has all options for building all dependencies
type Dependency ¶
type Dependency struct {
ID string
LocalPath string
Config *latest.Config
GeneratedConfig *generated.Config
DependencyConfig *latest.DependencyConfig
DependencyCache *generated.Config
// contains filtered or unexported fields
}
Dependency holds the dependency config and has an id
func (*Dependency) Build ¶
func (d *Dependency) Build(skipPush, forceDependencies, forceBuild bool, log log.Logger) error
Build builds and pushes all defined images
type DeployOptions ¶
type DeployOptions struct {
UpdateDependencies, SkipPush, ForceDeployDependencies, SkipBuild, ForceBuild, ForceDeploy, Verbose bool
}
DeployOptions has all options for deploying all dependencies
type Manager ¶
type Manager interface {
UpdateAll() error
BuildAll(options BuildOptions) error
DeployAll(options DeployOptions) error
PurgeAll(verbose bool) error
}
Manager can update, build, deploy and purge dependencies.
type ResolverInterface ¶
type ResolverInterface interface {
Resolve(update bool) ([]*Dependency, error)
}
ResolverInterface defines the resolver interface that takes dependency configs and resolves them
func NewResolver ¶
func NewResolver(baseConfig *latest.Config, baseCache *generated.Config, client kubectl.Client, allowCyclic bool, configOptions *loader.ConfigOptions, log log.Logger) (ResolverInterface, error)
NewResolver creates a new resolver for resolving dependencies
Click to show internal directories.
Click to hide internal directories.