MCPcopy Create free account
hub / github.com/convox/rack / CreateStackWithContext

Method CreateStackWithContext

pkg/mock/aws/cloud_formation_api.go:974–1008  ·  view source on GitHub ↗

CreateStackWithContext provides a mock function with given fields: _a0, _a1, _a2

(_a0 context.Context, _a1 *cloudformation.CreateStackInput, _a2 ...request.Option)

Source from the content-addressed store, hash-verified

972
973// CreateStackWithContext provides a mock function with given fields: _a0, _a1, _a2
974func (_m *CloudFormationAPI) CreateStackWithContext(_a0 context.Context, _a1 *cloudformation.CreateStackInput, _a2 ...request.Option) (*cloudformation.CreateStackOutput, error) {
975 _va := make([]interface{}, len(_a2))
976 for _i := range _a2 {
977 _va[_i] = _a2[_i]
978 }
979 var _ca []interface{}
980 _ca = append(_ca, _a0, _a1)
981 _ca = append(_ca, _va...)
982 ret := _m.Called(_ca...)
983
984 if len(ret) == 0 {
985 panic("no return value specified for CreateStackWithContext")
986 }
987
988 var r0 *cloudformation.CreateStackOutput
989 var r1 error
990 if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateStackInput, ...request.Option) (*cloudformation.CreateStackOutput, error)); ok {
991 return rf(_a0, _a1, _a2...)
992 }
993 if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateStackInput, ...request.Option) *cloudformation.CreateStackOutput); ok {
994 r0 = rf(_a0, _a1, _a2...)
995 } else {
996 if ret.Get(0) != nil {
997 r0 = ret.Get(0).(*cloudformation.CreateStackOutput)
998 }
999 }
1000
1001 if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.CreateStackInput, ...request.Option) error); ok {
1002 r1 = rf(_a0, _a1, _a2...)
1003 } else {
1004 r1 = ret.Error(1)
1005 }
1006
1007 return r0, r1
1008}
1009
1010// DeactivateOrganizationsAccess provides a mock function with given fields: _a0
1011func (_m *CloudFormationAPI) DeactivateOrganizationsAccess(_a0 *cloudformation.DeactivateOrganizationsAccessInput) (*cloudformation.DeactivateOrganizationsAccessOutput, error) {

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected