Documentation ¶
Index ¶
- Constants
- func AddDependentServicesIfNotPresent(ctx context.Context, s *model.Stack, svcsToDeploy []string, ...) []string
- func Destroy(ctx context.Context, s *model.Stack, removeVolumes bool, timeout time.Duration) error
- func DisplayNotSupportedFieldsWarnings(warnings []string)
- func DisplaySanitizedServicesWarnings(previousToNewNameMap map[string]string)
- func DisplayVolumeMountWarnings(warnings []string)
- func DisplayWarnings(s *model.Stack)
- func ListEndpoints(ctx context.Context, stack *model.Stack) error
- func ValidateDefinedServices(s *model.Stack, servicesToDeploy []string) error
- type DeployOptions
- type Divert
- type Stack
Constants ¶
View Source
const ( NameField = "name" YamlField = "yaml" ComposeField = "compose" )
Variables ¶
This section is empty.
Functions ¶
func AddDependentServicesIfNotPresent ¶
func AddDependentServicesIfNotPresent(ctx context.Context, s *model.Stack, svcsToDeploy []string, c kubernetes.Interface) []string
AddDependentServicesIfNotPresent adds dependands services to deploy
func DisplayNotSupportedFieldsWarnings ¶
func DisplayNotSupportedFieldsWarnings(warnings []string)
func DisplayVolumeMountWarnings ¶
func DisplayVolumeMountWarnings(warnings []string)
func DisplayWarnings ¶
Types ¶
type DeployOptions ¶
type DeployOptions struct { Name string Namespace string Progress string StackPaths []string ServicesToDeploy []string Timeout time.Duration ForceBuild bool Wait bool NoCache bool InsidePipeline bool }
DeployOptions represents the different options available for stack commands
type Stack ¶
type Stack struct { K8sClient kubernetes.Interface Config *rest.Config AnalyticsTracker buildTrackerInterface Insights buildTrackerInterface IoCtrl *io.Controller Divert Divert }
Stack is the executor of stack commands
Click to show internal directories.
Click to hide internal directories.