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

Method SetStackPolicyRequest

pkg/mock/aws/cloud_formation_api.go:7742–7771  ·  view source on GitHub ↗

SetStackPolicyRequest provides a mock function with given fields: _a0

(_a0 *cloudformation.SetStackPolicyInput)

Source from the content-addressed store, hash-verified

7740
7741// SetStackPolicyRequest provides a mock function with given fields: _a0
7742func (_m *CloudFormationAPI) SetStackPolicyRequest(_a0 *cloudformation.SetStackPolicyInput) (*request.Request, *cloudformation.SetStackPolicyOutput) {
7743 ret := _m.Called(_a0)
7744
7745 if len(ret) == 0 {
7746 panic("no return value specified for SetStackPolicyRequest")
7747 }
7748
7749 var r0 *request.Request
7750 var r1 *cloudformation.SetStackPolicyOutput
7751 if rf, ok := ret.Get(0).(func(*cloudformation.SetStackPolicyInput) (*request.Request, *cloudformation.SetStackPolicyOutput)); ok {
7752 return rf(_a0)
7753 }
7754 if rf, ok := ret.Get(0).(func(*cloudformation.SetStackPolicyInput) *request.Request); ok {
7755 r0 = rf(_a0)
7756 } else {
7757 if ret.Get(0) != nil {
7758 r0 = ret.Get(0).(*request.Request)
7759 }
7760 }
7761
7762 if rf, ok := ret.Get(1).(func(*cloudformation.SetStackPolicyInput) *cloudformation.SetStackPolicyOutput); ok {
7763 r1 = rf(_a0)
7764 } else {
7765 if ret.Get(1) != nil {
7766 r1 = ret.Get(1).(*cloudformation.SetStackPolicyOutput)
7767 }
7768 }
7769
7770 return r0, r1
7771}
7772
7773// SetStackPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2
7774func (_m *CloudFormationAPI) SetStackPolicyWithContext(_a0 context.Context, _a1 *cloudformation.SetStackPolicyInput, _a2 ...request.Option) (*cloudformation.SetStackPolicyOutput, error) {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected