MCPcopy Index your code
hub / github.com/eksctl-io/eksctl / UpdateNodeGroupStack

Method UpdateNodeGroupStack

pkg/cfn/manager/api.go:434–443  ·  view source on GitHub ↗

UpdateNodeGroupStack updates the nodegroup stack with the specified template

(ctx context.Context, nodeGroupName, template string, wait bool)

Source from the content-addressed store, hash-verified

432
433// UpdateNodeGroupStack updates the nodegroup stack with the specified template
434func (c *StackCollection) UpdateNodeGroupStack(ctx context.Context, nodeGroupName, template string, wait bool) error {
435 stackName := c.makeNodeGroupStackName(nodeGroupName)
436 return c.UpdateStack(ctx, UpdateStackOptions{
437 StackName: stackName,
438 ChangeSetName: c.MakeChangeSetName("update-nodegroup"),
439 Description: "updating nodegroup stack",
440 TemplateData: TemplateBody(template),
441 Wait: wait,
442 })
443}
444
445// ListStacksMatching gets all of CloudFormation stacks with names matching nameRegex.
446func (c *StackCollection) ListStacksMatching(ctx context.Context, nameRegex string, statusFilters ...types.StackStatus) ([]*Stack, error) {

Callers

nothing calls this directly

Calls 4

UpdateStackMethod · 0.95
MakeChangeSetNameMethod · 0.95
TemplateBodyTypeAlias · 0.85

Tested by

no test coverage detected