Documentation ¶
Overview ¶
Package interfacesfakes is a generated GoMock package.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeNewRelicAlertsClient
- func (fake *FakeNewRelicAlertsClient) CreateChannel(arg1 alerts.Channel) (*alerts.Channel, error)
- func (fake *FakeNewRelicAlertsClient) CreateChannelArgsForCall(i int) alerts.Channel
- func (fake *FakeNewRelicAlertsClient) CreateChannelCallCount() int
- func (fake *FakeNewRelicAlertsClient) CreateChannelCalls(stub func(alerts.Channel) (*alerts.Channel, error))
- func (fake *FakeNewRelicAlertsClient) CreateChannelReturns(result1 *alerts.Channel, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreateChannelReturnsOnCall(i int, result1 *alerts.Channel, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreateCondition(arg1 int, arg2 alerts.Condition) (*alerts.Condition, error)
- func (fake *FakeNewRelicAlertsClient) CreateConditionArgsForCall(i int) (int, alerts.Condition)
- func (fake *FakeNewRelicAlertsClient) CreateConditionCallCount() int
- func (fake *FakeNewRelicAlertsClient) CreateConditionCalls(stub func(int, alerts.Condition) (*alerts.Condition, error))
- func (fake *FakeNewRelicAlertsClient) CreateConditionReturns(result1 *alerts.Condition, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreateConditionReturnsOnCall(i int, result1 *alerts.Condition, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlCondition(arg1 int, arg2 alerts.NrqlCondition) (*alerts.NrqlCondition, error)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionArgsForCall(i int) (int, alerts.NrqlCondition)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutation(arg1 int, arg2 string, arg3 alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationArgsForCall(i int) (int, string, alerts.NrqlConditionInput)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationCallCount() int
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationCalls(...)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationReturns(result1 *alerts.NrqlAlertCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationReturnsOnCall(i int, result1 *alerts.NrqlAlertCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionCallCount() int
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionCalls(stub func(int, alerts.NrqlCondition) (*alerts.NrqlCondition, error))
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionReturns(result1 *alerts.NrqlCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionReturnsOnCall(i int, result1 *alerts.NrqlCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutation(arg1 int, arg2 string, arg3 alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationArgsForCall(i int) (int, string, alerts.NrqlConditionInput)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationCallCount() int
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationCalls(...)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationReturns(result1 *alerts.NrqlAlertCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationReturnsOnCall(i int, result1 *alerts.NrqlAlertCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreatePolicy(arg1 alerts.Policy) (*alerts.Policy, error)
- func (fake *FakeNewRelicAlertsClient) CreatePolicyArgsForCall(i int) alerts.Policy
- func (fake *FakeNewRelicAlertsClient) CreatePolicyCallCount() int
- func (fake *FakeNewRelicAlertsClient) CreatePolicyCalls(stub func(alerts.Policy) (*alerts.Policy, error))
- func (fake *FakeNewRelicAlertsClient) CreatePolicyMutation(arg1 int, arg2 alerts.AlertsPolicyInput) (*alerts.AlertsPolicy, error)
- func (fake *FakeNewRelicAlertsClient) CreatePolicyMutationArgsForCall(i int) (int, alerts.AlertsPolicyInput)
- func (fake *FakeNewRelicAlertsClient) CreatePolicyMutationCallCount() int
- func (fake *FakeNewRelicAlertsClient) CreatePolicyMutationCalls(stub func(int, alerts.AlertsPolicyInput) (*alerts.AlertsPolicy, error))
- func (fake *FakeNewRelicAlertsClient) CreatePolicyMutationReturns(result1 *alerts.AlertsPolicy, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreatePolicyMutationReturnsOnCall(i int, result1 *alerts.AlertsPolicy, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreatePolicyReturns(result1 *alerts.Policy, result2 error)
- func (fake *FakeNewRelicAlertsClient) CreatePolicyReturnsOnCall(i int, result1 *alerts.Policy, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeleteChannel(arg1 int) (*alerts.Channel, error)
- func (fake *FakeNewRelicAlertsClient) DeleteChannelArgsForCall(i int) int
- func (fake *FakeNewRelicAlertsClient) DeleteChannelCallCount() int
- func (fake *FakeNewRelicAlertsClient) DeleteChannelCalls(stub func(int) (*alerts.Channel, error))
- func (fake *FakeNewRelicAlertsClient) DeleteChannelReturns(result1 *alerts.Channel, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeleteChannelReturnsOnCall(i int, result1 *alerts.Channel, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeleteCondition(arg1 int) (*alerts.Condition, error)
- func (fake *FakeNewRelicAlertsClient) DeleteConditionArgsForCall(i int) int
- func (fake *FakeNewRelicAlertsClient) DeleteConditionCallCount() int
- func (fake *FakeNewRelicAlertsClient) DeleteConditionCalls(stub func(int) (*alerts.Condition, error))
- func (fake *FakeNewRelicAlertsClient) DeleteConditionMutation(arg1 int, arg2 string) (string, error)
- func (fake *FakeNewRelicAlertsClient) DeleteConditionMutationArgsForCall(i int) (int, string)
- func (fake *FakeNewRelicAlertsClient) DeleteConditionMutationCallCount() int
- func (fake *FakeNewRelicAlertsClient) DeleteConditionMutationCalls(stub func(int, string) (string, error))
- func (fake *FakeNewRelicAlertsClient) DeleteConditionMutationReturns(result1 string, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeleteConditionMutationReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeleteConditionReturns(result1 *alerts.Condition, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeleteConditionReturnsOnCall(i int, result1 *alerts.Condition, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeleteNrqlCondition(arg1 int) (*alerts.NrqlCondition, error)
- func (fake *FakeNewRelicAlertsClient) DeleteNrqlConditionArgsForCall(i int) int
- func (fake *FakeNewRelicAlertsClient) DeleteNrqlConditionCallCount() int
- func (fake *FakeNewRelicAlertsClient) DeleteNrqlConditionCalls(stub func(int) (*alerts.NrqlCondition, error))
- func (fake *FakeNewRelicAlertsClient) DeleteNrqlConditionReturns(result1 *alerts.NrqlCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeleteNrqlConditionReturnsOnCall(i int, result1 *alerts.NrqlCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeletePolicy(arg1 int) (*alerts.Policy, error)
- func (fake *FakeNewRelicAlertsClient) DeletePolicyArgsForCall(i int) int
- func (fake *FakeNewRelicAlertsClient) DeletePolicyCallCount() int
- func (fake *FakeNewRelicAlertsClient) DeletePolicyCalls(stub func(int) (*alerts.Policy, error))
- func (fake *FakeNewRelicAlertsClient) DeletePolicyChannel(arg1 int, arg2 int) (*alerts.Channel, error)
- func (fake *FakeNewRelicAlertsClient) DeletePolicyChannelArgsForCall(i int) (int, int)
- func (fake *FakeNewRelicAlertsClient) DeletePolicyChannelCallCount() int
- func (fake *FakeNewRelicAlertsClient) DeletePolicyChannelCalls(stub func(int, int) (*alerts.Channel, error))
- func (fake *FakeNewRelicAlertsClient) DeletePolicyChannelReturns(result1 *alerts.Channel, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeletePolicyChannelReturnsOnCall(i int, result1 *alerts.Channel, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeletePolicyMutation(arg1 int, arg2 string) (*alerts.AlertsPolicy, error)
- func (fake *FakeNewRelicAlertsClient) DeletePolicyMutationArgsForCall(i int) (int, string)
- func (fake *FakeNewRelicAlertsClient) DeletePolicyMutationCallCount() int
- func (fake *FakeNewRelicAlertsClient) DeletePolicyMutationCalls(stub func(int, string) (*alerts.AlertsPolicy, error))
- func (fake *FakeNewRelicAlertsClient) DeletePolicyMutationReturns(result1 *alerts.AlertsPolicy, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeletePolicyMutationReturnsOnCall(i int, result1 *alerts.AlertsPolicy, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeletePolicyReturns(result1 *alerts.Policy, result2 error)
- func (fake *FakeNewRelicAlertsClient) DeletePolicyReturnsOnCall(i int, result1 *alerts.Policy, result2 error)
- func (fake *FakeNewRelicAlertsClient) GetNrqlConditionQuery(arg1 int, arg2 string) (*alerts.NrqlAlertCondition, error)
- func (fake *FakeNewRelicAlertsClient) GetNrqlConditionQueryArgsForCall(i int) (int, string)
- func (fake *FakeNewRelicAlertsClient) GetNrqlConditionQueryCallCount() int
- func (fake *FakeNewRelicAlertsClient) GetNrqlConditionQueryCalls(stub func(int, string) (*alerts.NrqlAlertCondition, error))
- func (fake *FakeNewRelicAlertsClient) GetNrqlConditionQueryReturns(result1 *alerts.NrqlAlertCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) GetNrqlConditionQueryReturnsOnCall(i int, result1 *alerts.NrqlAlertCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) GetPolicy(arg1 int) (*alerts.Policy, error)
- func (fake *FakeNewRelicAlertsClient) GetPolicyArgsForCall(i int) int
- func (fake *FakeNewRelicAlertsClient) GetPolicyCallCount() int
- func (fake *FakeNewRelicAlertsClient) GetPolicyCalls(stub func(int) (*alerts.Policy, error))
- func (fake *FakeNewRelicAlertsClient) GetPolicyReturns(result1 *alerts.Policy, result2 error)
- func (fake *FakeNewRelicAlertsClient) GetPolicyReturnsOnCall(i int, result1 *alerts.Policy, result2 error)
- func (fake *FakeNewRelicAlertsClient) Invocations() map[string][][]interface{}
- func (fake *FakeNewRelicAlertsClient) ListChannels() ([]*alerts.Channel, error)
- func (fake *FakeNewRelicAlertsClient) ListChannelsCallCount() int
- func (fake *FakeNewRelicAlertsClient) ListChannelsCalls(stub func() ([]*alerts.Channel, error))
- func (fake *FakeNewRelicAlertsClient) ListChannelsReturns(result1 []*alerts.Channel, result2 error)
- func (fake *FakeNewRelicAlertsClient) ListChannelsReturnsOnCall(i int, result1 []*alerts.Channel, result2 error)
- func (fake *FakeNewRelicAlertsClient) ListConditions(arg1 int) ([]*alerts.Condition, error)
- func (fake *FakeNewRelicAlertsClient) ListConditionsArgsForCall(i int) int
- func (fake *FakeNewRelicAlertsClient) ListConditionsCallCount() int
- func (fake *FakeNewRelicAlertsClient) ListConditionsCalls(stub func(int) ([]*alerts.Condition, error))
- func (fake *FakeNewRelicAlertsClient) ListConditionsReturns(result1 []*alerts.Condition, result2 error)
- func (fake *FakeNewRelicAlertsClient) ListConditionsReturnsOnCall(i int, result1 []*alerts.Condition, result2 error)
- func (fake *FakeNewRelicAlertsClient) ListNrqlConditions(arg1 int) ([]*alerts.NrqlCondition, error)
- func (fake *FakeNewRelicAlertsClient) ListNrqlConditionsArgsForCall(i int) int
- func (fake *FakeNewRelicAlertsClient) ListNrqlConditionsCallCount() int
- func (fake *FakeNewRelicAlertsClient) ListNrqlConditionsCalls(stub func(int) ([]*alerts.NrqlCondition, error))
- func (fake *FakeNewRelicAlertsClient) ListNrqlConditionsReturns(result1 []*alerts.NrqlCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) ListNrqlConditionsReturnsOnCall(i int, result1 []*alerts.NrqlCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) ListPolicies(arg1 *alerts.ListPoliciesParams) ([]alerts.Policy, error)
- func (fake *FakeNewRelicAlertsClient) ListPoliciesArgsForCall(i int) *alerts.ListPoliciesParams
- func (fake *FakeNewRelicAlertsClient) ListPoliciesCallCount() int
- func (fake *FakeNewRelicAlertsClient) ListPoliciesCalls(stub func(*alerts.ListPoliciesParams) ([]alerts.Policy, error))
- func (fake *FakeNewRelicAlertsClient) ListPoliciesReturns(result1 []alerts.Policy, result2 error)
- func (fake *FakeNewRelicAlertsClient) ListPoliciesReturnsOnCall(i int, result1 []alerts.Policy, result2 error)
- func (fake *FakeNewRelicAlertsClient) QueryPolicy(arg1 int, arg2 string) (*alerts.AlertsPolicy, error)
- func (fake *FakeNewRelicAlertsClient) QueryPolicyArgsForCall(i int) (int, string)
- func (fake *FakeNewRelicAlertsClient) QueryPolicyCallCount() int
- func (fake *FakeNewRelicAlertsClient) QueryPolicyCalls(stub func(int, string) (*alerts.AlertsPolicy, error))
- func (fake *FakeNewRelicAlertsClient) QueryPolicyReturns(result1 *alerts.AlertsPolicy, result2 error)
- func (fake *FakeNewRelicAlertsClient) QueryPolicyReturnsOnCall(i int, result1 *alerts.AlertsPolicy, result2 error)
- func (fake *FakeNewRelicAlertsClient) QueryPolicySearch(arg1 int, arg2 alerts.AlertsPoliciesSearchCriteriaInput) ([]*alerts.AlertsPolicy, error)
- func (fake *FakeNewRelicAlertsClient) QueryPolicySearchArgsForCall(i int) (int, alerts.AlertsPoliciesSearchCriteriaInput)
- func (fake *FakeNewRelicAlertsClient) QueryPolicySearchCallCount() int
- func (fake *FakeNewRelicAlertsClient) QueryPolicySearchCalls(...)
- func (fake *FakeNewRelicAlertsClient) QueryPolicySearchReturns(result1 []*alerts.AlertsPolicy, result2 error)
- func (fake *FakeNewRelicAlertsClient) QueryPolicySearchReturnsOnCall(i int, result1 []*alerts.AlertsPolicy, result2 error)
- func (fake *FakeNewRelicAlertsClient) SearchNrqlConditionsQuery(arg1 int, arg2 alerts.NrqlConditionsSearchCriteria) ([]*alerts.NrqlAlertCondition, error)
- func (fake *FakeNewRelicAlertsClient) SearchNrqlConditionsQueryArgsForCall(i int) (int, alerts.NrqlConditionsSearchCriteria)
- func (fake *FakeNewRelicAlertsClient) SearchNrqlConditionsQueryCallCount() int
- func (fake *FakeNewRelicAlertsClient) SearchNrqlConditionsQueryCalls(...)
- func (fake *FakeNewRelicAlertsClient) SearchNrqlConditionsQueryReturns(result1 []*alerts.NrqlAlertCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) SearchNrqlConditionsQueryReturnsOnCall(i int, result1 []*alerts.NrqlAlertCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdateCondition(arg1 alerts.Condition) (*alerts.Condition, error)
- func (fake *FakeNewRelicAlertsClient) UpdateConditionArgsForCall(i int) alerts.Condition
- func (fake *FakeNewRelicAlertsClient) UpdateConditionCallCount() int
- func (fake *FakeNewRelicAlertsClient) UpdateConditionCalls(stub func(alerts.Condition) (*alerts.Condition, error))
- func (fake *FakeNewRelicAlertsClient) UpdateConditionReturns(result1 *alerts.Condition, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdateConditionReturnsOnCall(i int, result1 *alerts.Condition, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlCondition(arg1 alerts.NrqlCondition) (*alerts.NrqlCondition, error)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionArgsForCall(i int) alerts.NrqlCondition
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutation(arg1 int, arg2 string, arg3 alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationArgsForCall(i int) (int, string, alerts.NrqlConditionInput)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationCallCount() int
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationCalls(...)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationReturns(result1 *alerts.NrqlAlertCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationReturnsOnCall(i int, result1 *alerts.NrqlAlertCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionCallCount() int
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionCalls(stub func(alerts.NrqlCondition) (*alerts.NrqlCondition, error))
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionReturns(result1 *alerts.NrqlCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionReturnsOnCall(i int, result1 *alerts.NrqlCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutation(arg1 int, arg2 string, arg3 alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationArgsForCall(i int) (int, string, alerts.NrqlConditionInput)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationCallCount() int
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationCalls(...)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationReturns(result1 *alerts.NrqlAlertCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationReturnsOnCall(i int, result1 *alerts.NrqlAlertCondition, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdatePolicy(arg1 alerts.Policy) (*alerts.Policy, error)
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyArgsForCall(i int) alerts.Policy
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyCallCount() int
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyCalls(stub func(alerts.Policy) (*alerts.Policy, error))
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyChannels(arg1 int, arg2 []int) (*alerts.PolicyChannels, error)
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyChannelsArgsForCall(i int) (int, []int)
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyChannelsCallCount() int
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyChannelsCalls(stub func(int, []int) (*alerts.PolicyChannels, error))
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyChannelsReturns(result1 *alerts.PolicyChannels, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyChannelsReturnsOnCall(i int, result1 *alerts.PolicyChannels, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyMutation(arg1 int, arg2 string, arg3 alerts.AlertsPolicyUpdateInput) (*alerts.AlertsPolicy, error)
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyMutationArgsForCall(i int) (int, string, alerts.AlertsPolicyUpdateInput)
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyMutationCallCount() int
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyMutationCalls(...)
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyMutationReturns(result1 *alerts.AlertsPolicy, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyMutationReturnsOnCall(i int, result1 *alerts.AlertsPolicy, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyReturns(result1 *alerts.Policy, result2 error)
- func (fake *FakeNewRelicAlertsClient) UpdatePolicyReturnsOnCall(i int, result1 *alerts.Policy, result2 error)
- type MockClient
- func (m *MockClient) Create(arg0 context.Context, arg1 runtime.Object, arg2 ...client.CreateOption) error
- func (m *MockClient) Delete(arg0 context.Context, arg1 runtime.Object, arg2 ...client.DeleteOption) error
- func (m *MockClient) DeleteAllOf(arg0 context.Context, arg1 runtime.Object, arg2 ...client.DeleteAllOfOption) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(arg0 context.Context, arg1 types.NamespacedName, arg2 runtime.Object) error
- func (m *MockClient) List(arg0 context.Context, arg1 runtime.Object, arg2 ...client.ListOption) error
- func (m *MockClient) Patch(arg0 context.Context, arg1 runtime.Object, arg2 client.Patch, ...) error
- func (m *MockClient) Status() client.StatusWriter
- func (m *MockClient) Update(arg0 context.Context, arg1 runtime.Object, arg2 ...client.UpdateOption) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteAllOf(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Status() *gomock.Call
- func (mr *MockClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNewRelicAlertsClient ¶
type FakeNewRelicAlertsClient struct { CreateChannelStub func(alerts.Channel) (*alerts.Channel, error) CreateConditionStub func(int, alerts.Condition) (*alerts.Condition, error) CreateNrqlConditionStub func(int, alerts.NrqlCondition) (*alerts.NrqlCondition, error) CreateNrqlConditionBaselineMutationStub func(int, string, alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error) CreateNrqlConditionStaticMutationStub func(int, string, alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error) CreatePolicyStub func(alerts.Policy) (*alerts.Policy, error) CreatePolicyMutationStub func(int, alerts.AlertsPolicyInput) (*alerts.AlertsPolicy, error) DeleteChannelStub func(int) (*alerts.Channel, error) DeleteConditionStub func(int) (*alerts.Condition, error) DeleteConditionMutationStub func(int, string) (string, error) DeleteNrqlConditionStub func(int) (*alerts.NrqlCondition, error) DeletePolicyStub func(int) (*alerts.Policy, error) DeletePolicyChannelStub func(int, int) (*alerts.Channel, error) DeletePolicyMutationStub func(int, string) (*alerts.AlertsPolicy, error) GetNrqlConditionQueryStub func(int, string) (*alerts.NrqlAlertCondition, error) GetPolicyStub func(int) (*alerts.Policy, error) ListChannelsStub func() ([]*alerts.Channel, error) ListConditionsStub func(int) ([]*alerts.Condition, error) ListNrqlConditionsStub func(int) ([]*alerts.NrqlCondition, error) ListPoliciesStub func(*alerts.ListPoliciesParams) ([]alerts.Policy, error) QueryPolicyStub func(int, string) (*alerts.AlertsPolicy, error) QueryPolicySearchStub func(int, alerts.AlertsPoliciesSearchCriteriaInput) ([]*alerts.AlertsPolicy, error) SearchNrqlConditionsQueryStub func(int, alerts.NrqlConditionsSearchCriteria) ([]*alerts.NrqlAlertCondition, error) UpdateConditionStub func(alerts.Condition) (*alerts.Condition, error) UpdateNrqlConditionStub func(alerts.NrqlCondition) (*alerts.NrqlCondition, error) UpdateNrqlConditionBaselineMutationStub func(int, string, alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error) UpdateNrqlConditionStaticMutationStub func(int, string, alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error) UpdatePolicyStub func(alerts.Policy) (*alerts.Policy, error) UpdatePolicyChannelsStub func(int, []int) (*alerts.PolicyChannels, error) UpdatePolicyMutationStub func(int, string, alerts.AlertsPolicyUpdateInput) (*alerts.AlertsPolicy, error) // contains filtered or unexported fields }
func (*FakeNewRelicAlertsClient) CreateChannel ¶ added in v0.0.3
func (*FakeNewRelicAlertsClient) CreateChannelArgsForCall ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) CreateChannelArgsForCall(i int) alerts.Channel
func (*FakeNewRelicAlertsClient) CreateChannelCallCount ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) CreateChannelCallCount() int
func (*FakeNewRelicAlertsClient) CreateChannelCalls ¶ added in v0.0.3
func (*FakeNewRelicAlertsClient) CreateChannelReturns ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) CreateChannelReturns(result1 *alerts.Channel, result2 error)
func (*FakeNewRelicAlertsClient) CreateChannelReturnsOnCall ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) CreateChannelReturnsOnCall(i int, result1 *alerts.Channel, result2 error)
func (*FakeNewRelicAlertsClient) CreateCondition ¶
func (*FakeNewRelicAlertsClient) CreateConditionArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) CreateConditionArgsForCall(i int) (int, alerts.Condition)
func (*FakeNewRelicAlertsClient) CreateConditionCallCount ¶
func (fake *FakeNewRelicAlertsClient) CreateConditionCallCount() int
func (*FakeNewRelicAlertsClient) CreateConditionCalls ¶
func (*FakeNewRelicAlertsClient) CreateConditionReturns ¶
func (fake *FakeNewRelicAlertsClient) CreateConditionReturns(result1 *alerts.Condition, result2 error)
func (*FakeNewRelicAlertsClient) CreateConditionReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) CreateConditionReturnsOnCall(i int, result1 *alerts.Condition, result2 error)
func (*FakeNewRelicAlertsClient) CreateNrqlCondition ¶
func (fake *FakeNewRelicAlertsClient) CreateNrqlCondition(arg1 int, arg2 alerts.NrqlCondition) (*alerts.NrqlCondition, error)
func (*FakeNewRelicAlertsClient) CreateNrqlConditionArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionArgsForCall(i int) (int, alerts.NrqlCondition)
func (*FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutation ¶ added in v0.0.8
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutation(arg1 int, arg2 string, arg3 alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error)
func (*FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationArgsForCall ¶ added in v0.0.8
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationArgsForCall(i int) (int, string, alerts.NrqlConditionInput)
func (*FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationCallCount ¶ added in v0.0.8
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationCallCount() int
func (*FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationCalls ¶ added in v0.0.8
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationCalls(stub func(int, string, alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error))
func (*FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationReturns ¶ added in v0.0.8
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationReturns(result1 *alerts.NrqlAlertCondition, result2 error)
func (*FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationReturnsOnCall ¶ added in v0.0.8
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionBaselineMutationReturnsOnCall(i int, result1 *alerts.NrqlAlertCondition, result2 error)
func (*FakeNewRelicAlertsClient) CreateNrqlConditionCallCount ¶
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionCallCount() int
func (*FakeNewRelicAlertsClient) CreateNrqlConditionCalls ¶
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionCalls(stub func(int, alerts.NrqlCondition) (*alerts.NrqlCondition, error))
func (*FakeNewRelicAlertsClient) CreateNrqlConditionReturns ¶
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionReturns(result1 *alerts.NrqlCondition, result2 error)
func (*FakeNewRelicAlertsClient) CreateNrqlConditionReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionReturnsOnCall(i int, result1 *alerts.NrqlCondition, result2 error)
func (*FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutation ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutation(arg1 int, arg2 string, arg3 alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error)
func (*FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationArgsForCall ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationArgsForCall(i int) (int, string, alerts.NrqlConditionInput)
func (*FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationCallCount ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationCallCount() int
func (*FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationCalls ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationCalls(stub func(int, string, alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error))
func (*FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationReturns ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationReturns(result1 *alerts.NrqlAlertCondition, result2 error)
func (*FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationReturnsOnCall ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) CreateNrqlConditionStaticMutationReturnsOnCall(i int, result1 *alerts.NrqlAlertCondition, result2 error)
func (*FakeNewRelicAlertsClient) CreatePolicy ¶
func (*FakeNewRelicAlertsClient) CreatePolicyArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) CreatePolicyArgsForCall(i int) alerts.Policy
func (*FakeNewRelicAlertsClient) CreatePolicyCallCount ¶
func (fake *FakeNewRelicAlertsClient) CreatePolicyCallCount() int
func (*FakeNewRelicAlertsClient) CreatePolicyCalls ¶
func (*FakeNewRelicAlertsClient) CreatePolicyMutation ¶
func (fake *FakeNewRelicAlertsClient) CreatePolicyMutation(arg1 int, arg2 alerts.AlertsPolicyInput) (*alerts.AlertsPolicy, error)
func (*FakeNewRelicAlertsClient) CreatePolicyMutationArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) CreatePolicyMutationArgsForCall(i int) (int, alerts.AlertsPolicyInput)
func (*FakeNewRelicAlertsClient) CreatePolicyMutationCallCount ¶
func (fake *FakeNewRelicAlertsClient) CreatePolicyMutationCallCount() int
func (*FakeNewRelicAlertsClient) CreatePolicyMutationCalls ¶
func (fake *FakeNewRelicAlertsClient) CreatePolicyMutationCalls(stub func(int, alerts.AlertsPolicyInput) (*alerts.AlertsPolicy, error))
func (*FakeNewRelicAlertsClient) CreatePolicyMutationReturns ¶
func (fake *FakeNewRelicAlertsClient) CreatePolicyMutationReturns(result1 *alerts.AlertsPolicy, result2 error)
func (*FakeNewRelicAlertsClient) CreatePolicyMutationReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) CreatePolicyMutationReturnsOnCall(i int, result1 *alerts.AlertsPolicy, result2 error)
func (*FakeNewRelicAlertsClient) CreatePolicyReturns ¶
func (fake *FakeNewRelicAlertsClient) CreatePolicyReturns(result1 *alerts.Policy, result2 error)
func (*FakeNewRelicAlertsClient) CreatePolicyReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) CreatePolicyReturnsOnCall(i int, result1 *alerts.Policy, result2 error)
func (*FakeNewRelicAlertsClient) DeleteChannel ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) DeleteChannel(arg1 int) (*alerts.Channel, error)
func (*FakeNewRelicAlertsClient) DeleteChannelArgsForCall ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) DeleteChannelArgsForCall(i int) int
func (*FakeNewRelicAlertsClient) DeleteChannelCallCount ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) DeleteChannelCallCount() int
func (*FakeNewRelicAlertsClient) DeleteChannelCalls ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) DeleteChannelCalls(stub func(int) (*alerts.Channel, error))
func (*FakeNewRelicAlertsClient) DeleteChannelReturns ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) DeleteChannelReturns(result1 *alerts.Channel, result2 error)
func (*FakeNewRelicAlertsClient) DeleteChannelReturnsOnCall ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) DeleteChannelReturnsOnCall(i int, result1 *alerts.Channel, result2 error)
func (*FakeNewRelicAlertsClient) DeleteCondition ¶
func (fake *FakeNewRelicAlertsClient) DeleteCondition(arg1 int) (*alerts.Condition, error)
func (*FakeNewRelicAlertsClient) DeleteConditionArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) DeleteConditionArgsForCall(i int) int
func (*FakeNewRelicAlertsClient) DeleteConditionCallCount ¶
func (fake *FakeNewRelicAlertsClient) DeleteConditionCallCount() int
func (*FakeNewRelicAlertsClient) DeleteConditionCalls ¶
func (fake *FakeNewRelicAlertsClient) DeleteConditionCalls(stub func(int) (*alerts.Condition, error))
func (*FakeNewRelicAlertsClient) DeleteConditionMutation ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) DeleteConditionMutation(arg1 int, arg2 string) (string, error)
func (*FakeNewRelicAlertsClient) DeleteConditionMutationArgsForCall ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) DeleteConditionMutationArgsForCall(i int) (int, string)
func (*FakeNewRelicAlertsClient) DeleteConditionMutationCallCount ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) DeleteConditionMutationCallCount() int
func (*FakeNewRelicAlertsClient) DeleteConditionMutationCalls ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) DeleteConditionMutationCalls(stub func(int, string) (string, error))
func (*FakeNewRelicAlertsClient) DeleteConditionMutationReturns ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) DeleteConditionMutationReturns(result1 string, result2 error)
func (*FakeNewRelicAlertsClient) DeleteConditionMutationReturnsOnCall ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) DeleteConditionMutationReturnsOnCall(i int, result1 string, result2 error)
func (*FakeNewRelicAlertsClient) DeleteConditionReturns ¶
func (fake *FakeNewRelicAlertsClient) DeleteConditionReturns(result1 *alerts.Condition, result2 error)
func (*FakeNewRelicAlertsClient) DeleteConditionReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) DeleteConditionReturnsOnCall(i int, result1 *alerts.Condition, result2 error)
func (*FakeNewRelicAlertsClient) DeleteNrqlCondition ¶
func (fake *FakeNewRelicAlertsClient) DeleteNrqlCondition(arg1 int) (*alerts.NrqlCondition, error)
func (*FakeNewRelicAlertsClient) DeleteNrqlConditionArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) DeleteNrqlConditionArgsForCall(i int) int
func (*FakeNewRelicAlertsClient) DeleteNrqlConditionCallCount ¶
func (fake *FakeNewRelicAlertsClient) DeleteNrqlConditionCallCount() int
func (*FakeNewRelicAlertsClient) DeleteNrqlConditionCalls ¶
func (fake *FakeNewRelicAlertsClient) DeleteNrqlConditionCalls(stub func(int) (*alerts.NrqlCondition, error))
func (*FakeNewRelicAlertsClient) DeleteNrqlConditionReturns ¶
func (fake *FakeNewRelicAlertsClient) DeleteNrqlConditionReturns(result1 *alerts.NrqlCondition, result2 error)
func (*FakeNewRelicAlertsClient) DeleteNrqlConditionReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) DeleteNrqlConditionReturnsOnCall(i int, result1 *alerts.NrqlCondition, result2 error)
func (*FakeNewRelicAlertsClient) DeletePolicy ¶
func (fake *FakeNewRelicAlertsClient) DeletePolicy(arg1 int) (*alerts.Policy, error)
func (*FakeNewRelicAlertsClient) DeletePolicyArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) DeletePolicyArgsForCall(i int) int
func (*FakeNewRelicAlertsClient) DeletePolicyCallCount ¶
func (fake *FakeNewRelicAlertsClient) DeletePolicyCallCount() int
func (*FakeNewRelicAlertsClient) DeletePolicyCalls ¶
func (fake *FakeNewRelicAlertsClient) DeletePolicyCalls(stub func(int) (*alerts.Policy, error))
func (*FakeNewRelicAlertsClient) DeletePolicyChannel ¶ added in v0.0.3
func (*FakeNewRelicAlertsClient) DeletePolicyChannelArgsForCall ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) DeletePolicyChannelArgsForCall(i int) (int, int)
func (*FakeNewRelicAlertsClient) DeletePolicyChannelCallCount ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) DeletePolicyChannelCallCount() int
func (*FakeNewRelicAlertsClient) DeletePolicyChannelCalls ¶ added in v0.0.3
func (*FakeNewRelicAlertsClient) DeletePolicyChannelReturns ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) DeletePolicyChannelReturns(result1 *alerts.Channel, result2 error)
func (*FakeNewRelicAlertsClient) DeletePolicyChannelReturnsOnCall ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) DeletePolicyChannelReturnsOnCall(i int, result1 *alerts.Channel, result2 error)
func (*FakeNewRelicAlertsClient) DeletePolicyMutation ¶
func (fake *FakeNewRelicAlertsClient) DeletePolicyMutation(arg1 int, arg2 string) (*alerts.AlertsPolicy, error)
func (*FakeNewRelicAlertsClient) DeletePolicyMutationArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) DeletePolicyMutationArgsForCall(i int) (int, string)
func (*FakeNewRelicAlertsClient) DeletePolicyMutationCallCount ¶
func (fake *FakeNewRelicAlertsClient) DeletePolicyMutationCallCount() int
func (*FakeNewRelicAlertsClient) DeletePolicyMutationCalls ¶
func (fake *FakeNewRelicAlertsClient) DeletePolicyMutationCalls(stub func(int, string) (*alerts.AlertsPolicy, error))
func (*FakeNewRelicAlertsClient) DeletePolicyMutationReturns ¶
func (fake *FakeNewRelicAlertsClient) DeletePolicyMutationReturns(result1 *alerts.AlertsPolicy, result2 error)
func (*FakeNewRelicAlertsClient) DeletePolicyMutationReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) DeletePolicyMutationReturnsOnCall(i int, result1 *alerts.AlertsPolicy, result2 error)
func (*FakeNewRelicAlertsClient) DeletePolicyReturns ¶
func (fake *FakeNewRelicAlertsClient) DeletePolicyReturns(result1 *alerts.Policy, result2 error)
func (*FakeNewRelicAlertsClient) DeletePolicyReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) DeletePolicyReturnsOnCall(i int, result1 *alerts.Policy, result2 error)
func (*FakeNewRelicAlertsClient) GetNrqlConditionQuery ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) GetNrqlConditionQuery(arg1 int, arg2 string) (*alerts.NrqlAlertCondition, error)
func (*FakeNewRelicAlertsClient) GetNrqlConditionQueryArgsForCall ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) GetNrqlConditionQueryArgsForCall(i int) (int, string)
func (*FakeNewRelicAlertsClient) GetNrqlConditionQueryCallCount ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) GetNrqlConditionQueryCallCount() int
func (*FakeNewRelicAlertsClient) GetNrqlConditionQueryCalls ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) GetNrqlConditionQueryCalls(stub func(int, string) (*alerts.NrqlAlertCondition, error))
func (*FakeNewRelicAlertsClient) GetNrqlConditionQueryReturns ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) GetNrqlConditionQueryReturns(result1 *alerts.NrqlAlertCondition, result2 error)
func (*FakeNewRelicAlertsClient) GetNrqlConditionQueryReturnsOnCall ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) GetNrqlConditionQueryReturnsOnCall(i int, result1 *alerts.NrqlAlertCondition, result2 error)
func (*FakeNewRelicAlertsClient) GetPolicy ¶
func (fake *FakeNewRelicAlertsClient) GetPolicy(arg1 int) (*alerts.Policy, error)
func (*FakeNewRelicAlertsClient) GetPolicyArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) GetPolicyArgsForCall(i int) int
func (*FakeNewRelicAlertsClient) GetPolicyCallCount ¶
func (fake *FakeNewRelicAlertsClient) GetPolicyCallCount() int
func (*FakeNewRelicAlertsClient) GetPolicyCalls ¶
func (fake *FakeNewRelicAlertsClient) GetPolicyCalls(stub func(int) (*alerts.Policy, error))
func (*FakeNewRelicAlertsClient) GetPolicyReturns ¶
func (fake *FakeNewRelicAlertsClient) GetPolicyReturns(result1 *alerts.Policy, result2 error)
func (*FakeNewRelicAlertsClient) GetPolicyReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) GetPolicyReturnsOnCall(i int, result1 *alerts.Policy, result2 error)
func (*FakeNewRelicAlertsClient) Invocations ¶
func (fake *FakeNewRelicAlertsClient) Invocations() map[string][][]interface{}
func (*FakeNewRelicAlertsClient) ListChannels ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) ListChannels() ([]*alerts.Channel, error)
func (*FakeNewRelicAlertsClient) ListChannelsCallCount ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) ListChannelsCallCount() int
func (*FakeNewRelicAlertsClient) ListChannelsCalls ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) ListChannelsCalls(stub func() ([]*alerts.Channel, error))
func (*FakeNewRelicAlertsClient) ListChannelsReturns ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) ListChannelsReturns(result1 []*alerts.Channel, result2 error)
func (*FakeNewRelicAlertsClient) ListChannelsReturnsOnCall ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) ListChannelsReturnsOnCall(i int, result1 []*alerts.Channel, result2 error)
func (*FakeNewRelicAlertsClient) ListConditions ¶
func (fake *FakeNewRelicAlertsClient) ListConditions(arg1 int) ([]*alerts.Condition, error)
func (*FakeNewRelicAlertsClient) ListConditionsArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) ListConditionsArgsForCall(i int) int
func (*FakeNewRelicAlertsClient) ListConditionsCallCount ¶
func (fake *FakeNewRelicAlertsClient) ListConditionsCallCount() int
func (*FakeNewRelicAlertsClient) ListConditionsCalls ¶
func (fake *FakeNewRelicAlertsClient) ListConditionsCalls(stub func(int) ([]*alerts.Condition, error))
func (*FakeNewRelicAlertsClient) ListConditionsReturns ¶
func (fake *FakeNewRelicAlertsClient) ListConditionsReturns(result1 []*alerts.Condition, result2 error)
func (*FakeNewRelicAlertsClient) ListConditionsReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) ListConditionsReturnsOnCall(i int, result1 []*alerts.Condition, result2 error)
func (*FakeNewRelicAlertsClient) ListNrqlConditions ¶
func (fake *FakeNewRelicAlertsClient) ListNrqlConditions(arg1 int) ([]*alerts.NrqlCondition, error)
func (*FakeNewRelicAlertsClient) ListNrqlConditionsArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) ListNrqlConditionsArgsForCall(i int) int
func (*FakeNewRelicAlertsClient) ListNrqlConditionsCallCount ¶
func (fake *FakeNewRelicAlertsClient) ListNrqlConditionsCallCount() int
func (*FakeNewRelicAlertsClient) ListNrqlConditionsCalls ¶
func (fake *FakeNewRelicAlertsClient) ListNrqlConditionsCalls(stub func(int) ([]*alerts.NrqlCondition, error))
func (*FakeNewRelicAlertsClient) ListNrqlConditionsReturns ¶
func (fake *FakeNewRelicAlertsClient) ListNrqlConditionsReturns(result1 []*alerts.NrqlCondition, result2 error)
func (*FakeNewRelicAlertsClient) ListNrqlConditionsReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) ListNrqlConditionsReturnsOnCall(i int, result1 []*alerts.NrqlCondition, result2 error)
func (*FakeNewRelicAlertsClient) ListPolicies ¶
func (fake *FakeNewRelicAlertsClient) ListPolicies(arg1 *alerts.ListPoliciesParams) ([]alerts.Policy, error)
func (*FakeNewRelicAlertsClient) ListPoliciesArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) ListPoliciesArgsForCall(i int) *alerts.ListPoliciesParams
func (*FakeNewRelicAlertsClient) ListPoliciesCallCount ¶
func (fake *FakeNewRelicAlertsClient) ListPoliciesCallCount() int
func (*FakeNewRelicAlertsClient) ListPoliciesCalls ¶
func (fake *FakeNewRelicAlertsClient) ListPoliciesCalls(stub func(*alerts.ListPoliciesParams) ([]alerts.Policy, error))
func (*FakeNewRelicAlertsClient) ListPoliciesReturns ¶
func (fake *FakeNewRelicAlertsClient) ListPoliciesReturns(result1 []alerts.Policy, result2 error)
func (*FakeNewRelicAlertsClient) ListPoliciesReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) ListPoliciesReturnsOnCall(i int, result1 []alerts.Policy, result2 error)
func (*FakeNewRelicAlertsClient) QueryPolicy ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) QueryPolicy(arg1 int, arg2 string) (*alerts.AlertsPolicy, error)
func (*FakeNewRelicAlertsClient) QueryPolicyArgsForCall ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) QueryPolicyArgsForCall(i int) (int, string)
func (*FakeNewRelicAlertsClient) QueryPolicyCallCount ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) QueryPolicyCallCount() int
func (*FakeNewRelicAlertsClient) QueryPolicyCalls ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) QueryPolicyCalls(stub func(int, string) (*alerts.AlertsPolicy, error))
func (*FakeNewRelicAlertsClient) QueryPolicyReturns ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) QueryPolicyReturns(result1 *alerts.AlertsPolicy, result2 error)
func (*FakeNewRelicAlertsClient) QueryPolicyReturnsOnCall ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) QueryPolicyReturnsOnCall(i int, result1 *alerts.AlertsPolicy, result2 error)
func (*FakeNewRelicAlertsClient) QueryPolicySearch ¶
func (fake *FakeNewRelicAlertsClient) QueryPolicySearch(arg1 int, arg2 alerts.AlertsPoliciesSearchCriteriaInput) ([]*alerts.AlertsPolicy, error)
func (*FakeNewRelicAlertsClient) QueryPolicySearchArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) QueryPolicySearchArgsForCall(i int) (int, alerts.AlertsPoliciesSearchCriteriaInput)
func (*FakeNewRelicAlertsClient) QueryPolicySearchCallCount ¶
func (fake *FakeNewRelicAlertsClient) QueryPolicySearchCallCount() int
func (*FakeNewRelicAlertsClient) QueryPolicySearchCalls ¶
func (fake *FakeNewRelicAlertsClient) QueryPolicySearchCalls(stub func(int, alerts.AlertsPoliciesSearchCriteriaInput) ([]*alerts.AlertsPolicy, error))
func (*FakeNewRelicAlertsClient) QueryPolicySearchReturns ¶
func (fake *FakeNewRelicAlertsClient) QueryPolicySearchReturns(result1 []*alerts.AlertsPolicy, result2 error)
func (*FakeNewRelicAlertsClient) QueryPolicySearchReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) QueryPolicySearchReturnsOnCall(i int, result1 []*alerts.AlertsPolicy, result2 error)
func (*FakeNewRelicAlertsClient) SearchNrqlConditionsQuery ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) SearchNrqlConditionsQuery(arg1 int, arg2 alerts.NrqlConditionsSearchCriteria) ([]*alerts.NrqlAlertCondition, error)
func (*FakeNewRelicAlertsClient) SearchNrqlConditionsQueryArgsForCall ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) SearchNrqlConditionsQueryArgsForCall(i int) (int, alerts.NrqlConditionsSearchCriteria)
func (*FakeNewRelicAlertsClient) SearchNrqlConditionsQueryCallCount ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) SearchNrqlConditionsQueryCallCount() int
func (*FakeNewRelicAlertsClient) SearchNrqlConditionsQueryCalls ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) SearchNrqlConditionsQueryCalls(stub func(int, alerts.NrqlConditionsSearchCriteria) ([]*alerts.NrqlAlertCondition, error))
func (*FakeNewRelicAlertsClient) SearchNrqlConditionsQueryReturns ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) SearchNrqlConditionsQueryReturns(result1 []*alerts.NrqlAlertCondition, result2 error)
func (*FakeNewRelicAlertsClient) SearchNrqlConditionsQueryReturnsOnCall ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) SearchNrqlConditionsQueryReturnsOnCall(i int, result1 []*alerts.NrqlAlertCondition, result2 error)
func (*FakeNewRelicAlertsClient) UpdateCondition ¶
func (*FakeNewRelicAlertsClient) UpdateConditionArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) UpdateConditionArgsForCall(i int) alerts.Condition
func (*FakeNewRelicAlertsClient) UpdateConditionCallCount ¶
func (fake *FakeNewRelicAlertsClient) UpdateConditionCallCount() int
func (*FakeNewRelicAlertsClient) UpdateConditionCalls ¶
func (*FakeNewRelicAlertsClient) UpdateConditionReturns ¶
func (fake *FakeNewRelicAlertsClient) UpdateConditionReturns(result1 *alerts.Condition, result2 error)
func (*FakeNewRelicAlertsClient) UpdateConditionReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) UpdateConditionReturnsOnCall(i int, result1 *alerts.Condition, result2 error)
func (*FakeNewRelicAlertsClient) UpdateNrqlCondition ¶
func (fake *FakeNewRelicAlertsClient) UpdateNrqlCondition(arg1 alerts.NrqlCondition) (*alerts.NrqlCondition, error)
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionArgsForCall(i int) alerts.NrqlCondition
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutation ¶ added in v0.0.8
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutation(arg1 int, arg2 string, arg3 alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error)
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationArgsForCall ¶ added in v0.0.8
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationArgsForCall(i int) (int, string, alerts.NrqlConditionInput)
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationCallCount ¶ added in v0.0.8
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationCallCount() int
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationCalls ¶ added in v0.0.8
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationCalls(stub func(int, string, alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error))
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationReturns ¶ added in v0.0.8
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationReturns(result1 *alerts.NrqlAlertCondition, result2 error)
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationReturnsOnCall ¶ added in v0.0.8
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionBaselineMutationReturnsOnCall(i int, result1 *alerts.NrqlAlertCondition, result2 error)
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionCallCount ¶
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionCallCount() int
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionCalls ¶
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionCalls(stub func(alerts.NrqlCondition) (*alerts.NrqlCondition, error))
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionReturns ¶
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionReturns(result1 *alerts.NrqlCondition, result2 error)
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionReturnsOnCall(i int, result1 *alerts.NrqlCondition, result2 error)
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutation ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutation(arg1 int, arg2 string, arg3 alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error)
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationArgsForCall ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationArgsForCall(i int) (int, string, alerts.NrqlConditionInput)
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationCallCount ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationCallCount() int
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationCalls ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationCalls(stub func(int, string, alerts.NrqlConditionInput) (*alerts.NrqlAlertCondition, error))
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationReturns ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationReturns(result1 *alerts.NrqlAlertCondition, result2 error)
func (*FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationReturnsOnCall ¶ added in v0.0.2
func (fake *FakeNewRelicAlertsClient) UpdateNrqlConditionStaticMutationReturnsOnCall(i int, result1 *alerts.NrqlAlertCondition, result2 error)
func (*FakeNewRelicAlertsClient) UpdatePolicy ¶
func (*FakeNewRelicAlertsClient) UpdatePolicyArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) UpdatePolicyArgsForCall(i int) alerts.Policy
func (*FakeNewRelicAlertsClient) UpdatePolicyCallCount ¶
func (fake *FakeNewRelicAlertsClient) UpdatePolicyCallCount() int
func (*FakeNewRelicAlertsClient) UpdatePolicyCalls ¶
func (*FakeNewRelicAlertsClient) UpdatePolicyChannels ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) UpdatePolicyChannels(arg1 int, arg2 []int) (*alerts.PolicyChannels, error)
func (*FakeNewRelicAlertsClient) UpdatePolicyChannelsArgsForCall ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) UpdatePolicyChannelsArgsForCall(i int) (int, []int)
func (*FakeNewRelicAlertsClient) UpdatePolicyChannelsCallCount ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) UpdatePolicyChannelsCallCount() int
func (*FakeNewRelicAlertsClient) UpdatePolicyChannelsCalls ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) UpdatePolicyChannelsCalls(stub func(int, []int) (*alerts.PolicyChannels, error))
func (*FakeNewRelicAlertsClient) UpdatePolicyChannelsReturns ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) UpdatePolicyChannelsReturns(result1 *alerts.PolicyChannels, result2 error)
func (*FakeNewRelicAlertsClient) UpdatePolicyChannelsReturnsOnCall ¶ added in v0.0.3
func (fake *FakeNewRelicAlertsClient) UpdatePolicyChannelsReturnsOnCall(i int, result1 *alerts.PolicyChannels, result2 error)
func (*FakeNewRelicAlertsClient) UpdatePolicyMutation ¶
func (fake *FakeNewRelicAlertsClient) UpdatePolicyMutation(arg1 int, arg2 string, arg3 alerts.AlertsPolicyUpdateInput) (*alerts.AlertsPolicy, error)
func (*FakeNewRelicAlertsClient) UpdatePolicyMutationArgsForCall ¶
func (fake *FakeNewRelicAlertsClient) UpdatePolicyMutationArgsForCall(i int) (int, string, alerts.AlertsPolicyUpdateInput)
func (*FakeNewRelicAlertsClient) UpdatePolicyMutationCallCount ¶
func (fake *FakeNewRelicAlertsClient) UpdatePolicyMutationCallCount() int
func (*FakeNewRelicAlertsClient) UpdatePolicyMutationCalls ¶
func (fake *FakeNewRelicAlertsClient) UpdatePolicyMutationCalls(stub func(int, string, alerts.AlertsPolicyUpdateInput) (*alerts.AlertsPolicy, error))
func (*FakeNewRelicAlertsClient) UpdatePolicyMutationReturns ¶
func (fake *FakeNewRelicAlertsClient) UpdatePolicyMutationReturns(result1 *alerts.AlertsPolicy, result2 error)
func (*FakeNewRelicAlertsClient) UpdatePolicyMutationReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) UpdatePolicyMutationReturnsOnCall(i int, result1 *alerts.AlertsPolicy, result2 error)
func (*FakeNewRelicAlertsClient) UpdatePolicyReturns ¶
func (fake *FakeNewRelicAlertsClient) UpdatePolicyReturns(result1 *alerts.Policy, result2 error)
func (*FakeNewRelicAlertsClient) UpdatePolicyReturnsOnCall ¶
func (fake *FakeNewRelicAlertsClient) UpdatePolicyReturnsOnCall(i int, result1 *alerts.Policy, result2 error)
type MockClient ¶ added in v0.0.5
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶ added in v0.0.5
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) Create ¶ added in v0.0.5
func (m *MockClient) Create(arg0 context.Context, arg1 runtime.Object, arg2 ...client.CreateOption) error
Create mocks base method
func (*MockClient) Delete ¶ added in v0.0.5
func (m *MockClient) Delete(arg0 context.Context, arg1 runtime.Object, arg2 ...client.DeleteOption) error
Delete mocks base method
func (*MockClient) DeleteAllOf ¶ added in v0.0.5
func (m *MockClient) DeleteAllOf(arg0 context.Context, arg1 runtime.Object, arg2 ...client.DeleteAllOfOption) error
DeleteAllOf mocks base method
func (*MockClient) EXPECT ¶ added in v0.0.5
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) Get ¶ added in v0.0.5
func (m *MockClient) Get(arg0 context.Context, arg1 types.NamespacedName, arg2 runtime.Object) error
Get mocks base method
func (*MockClient) List ¶ added in v0.0.5
func (m *MockClient) List(arg0 context.Context, arg1 runtime.Object, arg2 ...client.ListOption) error
List mocks base method
func (*MockClient) Patch ¶ added in v0.0.5
func (m *MockClient) Patch(arg0 context.Context, arg1 runtime.Object, arg2 client.Patch, arg3 ...client.PatchOption) error
Patch mocks base method
func (*MockClient) Status ¶ added in v0.0.5
func (m *MockClient) Status() client.StatusWriter
Status mocks base method
func (*MockClient) Update ¶ added in v0.0.5
func (m *MockClient) Update(arg0 context.Context, arg1 runtime.Object, arg2 ...client.UpdateOption) error
Update mocks base method
type MockClientMockRecorder ¶ added in v0.0.5
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Create ¶ added in v0.0.5
func (mr *MockClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockClientMockRecorder) Delete ¶ added in v0.0.5
func (mr *MockClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockClientMockRecorder) DeleteAllOf ¶ added in v0.0.5
func (mr *MockClientMockRecorder) DeleteAllOf(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteAllOf indicates an expected call of DeleteAllOf
func (*MockClientMockRecorder) Get ¶ added in v0.0.5
func (mr *MockClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockClientMockRecorder) List ¶ added in v0.0.5
func (mr *MockClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
List indicates an expected call of List
func (*MockClientMockRecorder) Patch ¶ added in v0.0.5
func (mr *MockClientMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch
func (*MockClientMockRecorder) Status ¶ added in v0.0.5
func (mr *MockClientMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status
func (*MockClientMockRecorder) Update ¶ added in v0.0.5
func (mr *MockClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update