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

Method CreateStackInstances

pkg/mock/aws/cloud_formation_api.go:744–771  ·  view source on GitHub ↗

CreateStackInstances provides a mock function with given fields: _a0

(_a0 *cloudformation.CreateStackInstancesInput)

Source from the content-addressed store, hash-verified

742
743// CreateStackInstances provides a mock function with given fields: _a0
744func (_m *CloudFormationAPI) CreateStackInstances(_a0 *cloudformation.CreateStackInstancesInput) (*cloudformation.CreateStackInstancesOutput, error) {
745 ret := _m.Called(_a0)
746
747 if len(ret) == 0 {
748 panic("no return value specified for CreateStackInstances")
749 }
750
751 var r0 *cloudformation.CreateStackInstancesOutput
752 var r1 error
753 if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackInstancesInput) (*cloudformation.CreateStackInstancesOutput, error)); ok {
754 return rf(_a0)
755 }
756 if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackInstancesInput) *cloudformation.CreateStackInstancesOutput); ok {
757 r0 = rf(_a0)
758 } else {
759 if ret.Get(0) != nil {
760 r0 = ret.Get(0).(*cloudformation.CreateStackInstancesOutput)
761 }
762 }
763
764 if rf, ok := ret.Get(1).(func(*cloudformation.CreateStackInstancesInput) error); ok {
765 r1 = rf(_a0)
766 } else {
767 r1 = ret.Error(1)
768 }
769
770 return r0, r1
771}
772
773// CreateStackInstancesRequest provides a mock function with given fields: _a0
774func (_m *CloudFormationAPI) CreateStackInstancesRequest(_a0 *cloudformation.CreateStackInstancesInput) (*request.Request, *cloudformation.CreateStackInstancesOutput) {

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected