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

Method DetectStackSetDrift

pkg/mock/aws/cloud_formation_api.go:3955–3982  ·  view source on GitHub ↗

DetectStackSetDrift provides a mock function with given fields: _a0

(_a0 *cloudformation.DetectStackSetDriftInput)

Source from the content-addressed store, hash-verified

3953
3954// DetectStackSetDrift provides a mock function with given fields: _a0
3955func (_m *CloudFormationAPI) DetectStackSetDrift(_a0 *cloudformation.DetectStackSetDriftInput) (*cloudformation.DetectStackSetDriftOutput, error) {
3956 ret := _m.Called(_a0)
3957
3958 if len(ret) == 0 {
3959 panic("no return value specified for DetectStackSetDrift")
3960 }
3961
3962 var r0 *cloudformation.DetectStackSetDriftOutput
3963 var r1 error
3964 if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackSetDriftInput) (*cloudformation.DetectStackSetDriftOutput, error)); ok {
3965 return rf(_a0)
3966 }
3967 if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackSetDriftInput) *cloudformation.DetectStackSetDriftOutput); ok {
3968 r0 = rf(_a0)
3969 } else {
3970 if ret.Get(0) != nil {
3971 r0 = ret.Get(0).(*cloudformation.DetectStackSetDriftOutput)
3972 }
3973 }
3974
3975 if rf, ok := ret.Get(1).(func(*cloudformation.DetectStackSetDriftInput) error); ok {
3976 r1 = rf(_a0)
3977 } else {
3978 r1 = ret.Error(1)
3979 }
3980
3981 return r0, r1
3982}
3983
3984// DetectStackSetDriftRequest provides a mock function with given fields: _a0
3985func (_m *CloudFormationAPI) DetectStackSetDriftRequest(_a0 *cloudformation.DetectStackSetDriftInput) (*request.Request, *cloudformation.DetectStackSetDriftOutput) {

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected