code: func (_m *APIClient) SecretCreate(ctx context.Context, secret swarm.SecretSpec) (types.SecretCreateResponse, error) {
  	ret := _m.Called(ctx, secret)
  
  	var r0 types.SecretCreateResponse
  	if rf, ok := ret.Get(0).(func(context.Context, swarm.SecretSpec) types.SecretCreateResponse); ok {
  		r0 = rf(ctx, secret)
  	} else {
  		r0 = ret.Get(0).(types.SecretCreateResponse)
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(context.Context, swarm.SecretSpec) error); ok {
  		r1 = rf(ctx, secret)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // SecretCreate provides a mock function with given fields: ctx, secret