MCPcopy Create free account
hub / github.com/eksctl-io/eksctl / HasClusterStackFromList

Method HasClusterStackFromList

pkg/cfn/manager/api.go:673–676  ·  view source on GitHub ↗
(ctx context.Context, clusterStackNames []string, clusterName string)

Source from the content-addressed store, hash-verified

671}
672
673func (c *StackCollection) HasClusterStackFromList(ctx context.Context, clusterStackNames []string, clusterName string) (bool, error) {
674 stack, err := c.getClusterStackFromList(ctx, clusterStackNames, clusterName)
675 return stack != nil, err
676}
677
678func (c *StackCollection) getClusterStackFromList(ctx context.Context, clusterStackNames []string, clusterName string) (*Stack, error) {
679 clusterStackName := c.MakeClusterStackName()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected