MCPcopy
hub / github.com/eksctl-io/eksctl / CreateStack

Method CreateStack

pkg/cfn/manager/fakes/fake_stack_manager.go:1018–1040  ·  view source on GitHub ↗
(arg1 context.Context, arg2 string, arg3 builder.ResourceSetReader, arg4 map[string]string, arg5 map[string]string, arg6 chan error)

Source from the content-addressed store, hash-verified

1016}
1017
1018func (fake *FakeStackManager) CreateStack(arg1 context.Context, arg2 string, arg3 builder.ResourceSetReader, arg4 map[string]string, arg5 map[string]string, arg6 chan error) error {
1019 fake.createStackMutex.Lock()
1020 ret, specificReturn := fake.createStackReturnsOnCall[len(fake.createStackArgsForCall)]
1021 fake.createStackArgsForCall = append(fake.createStackArgsForCall, struct {
1022 arg1 context.Context
1023 arg2 string
1024 arg3 builder.ResourceSetReader
1025 arg4 map[string]string
1026 arg5 map[string]string
1027 arg6 chan error
1028 }{arg1, arg2, arg3, arg4, arg5, arg6})
1029 stub := fake.CreateStackStub
1030 fakeReturns := fake.createStackReturns
1031 fake.recordInvocation("CreateStack", []interface{}{arg1, arg2, arg3, arg4, arg5, arg6})
1032 fake.createStackMutex.Unlock()
1033 if stub != nil {
1034 return stub(arg1, arg2, arg3, arg4, arg5, arg6)
1035 }
1036 if specificReturn {
1037 return ret.result1
1038 }
1039 return fakeReturns.result1
1040}
1041
1042func (fake *FakeStackManager) CreateStackCallCount() int {
1043 fake.createStackMutex.RLock()

Callers

nothing calls this directly

Calls 2

recordInvocationMethod · 0.95
UnlockMethod · 0.65

Tested by

no test coverage detected