Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownOrchestrator ¶
type DownOrchestrator struct {
*Orchestrator
FS afero.Fs
}
func NewDownOrchestrator ¶
func NewDownOrchestrator(sm *model.StateManager, fs afero.Fs, outputPath string) *DownOrchestrator
func (*DownOrchestrator) RunDownCommand ¶
func (do *DownOrchestrator) RunDownCommand(ctx context.Context, request DownRequest, maxConcurrency int) error
type DownRequest ¶
type InfraGenerator ¶
func NewInfraGenerator ¶
func NewInfraGenerator(fs afero.Fs) (*InfraGenerator, error)
type InfraRequest ¶
type InfraRequest struct {
engine.SolveRequest
OutputDir string
}
type Orchestrator ¶
type Orchestrator struct {
StateManager *model.StateManager
FS afero.Fs
OutputDirectory string
// contains filtered or unexported fields
}
Orchestrator is the base orchestrator for the K2 platform
func NewOrchestrator ¶
func NewOrchestrator(sm *model.StateManager, fs afero.Fs, outputPath string) *Orchestrator
func (*Orchestrator) FinalizeState ¶
func (o *Orchestrator) FinalizeState(ctx context.Context)
func (*Orchestrator) InfraGenerator ¶
func (o *Orchestrator) InfraGenerator() (*InfraGenerator, error)
type UpOrchestrator ¶
type UpOrchestrator struct {
*Orchestrator
LanguageHostClient pb.KlothoServiceClient
StackStateManager *stack.StateManager
ConstructEvaluator *constructs.ConstructEvaluator
}
func NewUpOrchestrator ¶
func NewUpOrchestrator( sm *model.StateManager, languageHostClient pb.KlothoServiceClient, fs afero.Fs, outputPath string, ) (*UpOrchestrator, error)
func (*UpOrchestrator) EvaluateConstruct ¶
func (*UpOrchestrator) RunUpCommand ¶
func (uo *UpOrchestrator) RunUpCommand( ctx context.Context, ir *model.ApplicationEnvironment, dryRun model.DryRun, sem *semaphore.Weighted, ) error
Click to show internal directories.
Click to hide internal directories.