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

Method CreateStackSet

pkg/mock/aws/cloud_formation_api.go:875–902  ·  view source on GitHub ↗

CreateStackSet provides a mock function with given fields: _a0

(_a0 *cloudformation.CreateStackSetInput)

Source from the content-addressed store, hash-verified

873
874// CreateStackSet provides a mock function with given fields: _a0
875func (_m *CloudFormationAPI) CreateStackSet(_a0 *cloudformation.CreateStackSetInput) (*cloudformation.CreateStackSetOutput, error) {
876 ret := _m.Called(_a0)
877
878 if len(ret) == 0 {
879 panic("no return value specified for CreateStackSet")
880 }
881
882 var r0 *cloudformation.CreateStackSetOutput
883 var r1 error
884 if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackSetInput) (*cloudformation.CreateStackSetOutput, error)); ok {
885 return rf(_a0)
886 }
887 if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackSetInput) *cloudformation.CreateStackSetOutput); ok {
888 r0 = rf(_a0)
889 } else {
890 if ret.Get(0) != nil {
891 r0 = ret.Get(0).(*cloudformation.CreateStackSetOutput)
892 }
893 }
894
895 if rf, ok := ret.Get(1).(func(*cloudformation.CreateStackSetInput) error); ok {
896 r1 = rf(_a0)
897 } else {
898 r1 = ret.Error(1)
899 }
900
901 return r0, r1
902}
903
904// CreateStackSetRequest provides a mock function with given fields: _a0
905func (_m *CloudFormationAPI) CreateStackSetRequest(_a0 *cloudformation.CreateStackSetInput) (*request.Request, *cloudformation.CreateStackSetOutput) {

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected