Documentation
¶
Index ¶
- type AzureClient
- type AzureClient_Expecter
- type AzureClient_QueryObjects_Call
- func (_c *AzureClient_QueryObjects_Call) Return(objects plugindata.List, err error) *AzureClient_QueryObjects_Call
- func (_c *AzureClient_QueryObjects_Call) Run(...) *AzureClient_QueryObjects_Call
- func (_c *AzureClient_QueryObjects_Call) RunAndReturn(run func(context.Context, string, url.Values, int) (plugindata.List, error)) *AzureClient_QueryObjects_Call
- type AzureOpenAIClient
- type AzureOpenAIClient_Expecter
- type AzureOpenAIClient_GetCompletions_Call
- func (_c *AzureOpenAIClient_GetCompletions_Call) Return(_a0 azopenai.GetCompletionsResponse, _a1 error) *AzureOpenAIClient_GetCompletions_Call
- func (_c *AzureOpenAIClient_GetCompletions_Call) Run(run func(ctx context.Context, body azopenai.CompletionsOptions, ...)) *AzureOpenAIClient_GetCompletions_Call
- func (_c *AzureOpenAIClient_GetCompletions_Call) RunAndReturn(...) *AzureOpenAIClient_GetCompletions_Call
- type MicrosoftGraphClient
- func (_m *MicrosoftGraphClient) EXPECT() *MicrosoftGraphClient_Expecter
- func (_m *MicrosoftGraphClient) QueryObject(ctx context.Context, endpoint string, queryParams url.Values) (plugindata.Data, error)
- func (_m *MicrosoftGraphClient) QueryObjects(ctx context.Context, endpoint string, queryParams url.Values, size int) (plugindata.List, error)
- type MicrosoftGraphClient_Expecter
- func (_e *MicrosoftGraphClient_Expecter) QueryObject(ctx interface{}, endpoint interface{}, queryParams interface{}) *MicrosoftGraphClient_QueryObject_Call
- func (_e *MicrosoftGraphClient_Expecter) QueryObjects(ctx interface{}, endpoint interface{}, queryParams interface{}, ...) *MicrosoftGraphClient_QueryObjects_Call
- type MicrosoftGraphClient_QueryObject_Call
- func (_c *MicrosoftGraphClient_QueryObject_Call) Return(object plugindata.Data, err error) *MicrosoftGraphClient_QueryObject_Call
- func (_c *MicrosoftGraphClient_QueryObject_Call) Run(run func(ctx context.Context, endpoint string, queryParams url.Values)) *MicrosoftGraphClient_QueryObject_Call
- func (_c *MicrosoftGraphClient_QueryObject_Call) RunAndReturn(run func(context.Context, string, url.Values) (plugindata.Data, error)) *MicrosoftGraphClient_QueryObject_Call
- type MicrosoftGraphClient_QueryObjects_Call
- func (_c *MicrosoftGraphClient_QueryObjects_Call) Return(objects plugindata.List, err error) *MicrosoftGraphClient_QueryObjects_Call
- func (_c *MicrosoftGraphClient_QueryObjects_Call) Run(...) *MicrosoftGraphClient_QueryObjects_Call
- func (_c *MicrosoftGraphClient_QueryObjects_Call) RunAndReturn(run func(context.Context, string, url.Values, int) (plugindata.List, error)) *MicrosoftGraphClient_QueryObjects_Call
- type MicrosoftSecurityClient
- func (_m *MicrosoftSecurityClient) EXPECT() *MicrosoftSecurityClient_Expecter
- func (_m *MicrosoftSecurityClient) QueryObject(ctx context.Context, endpoint string, queryParams url.Values) (plugindata.Data, error)
- func (_m *MicrosoftSecurityClient) QueryObjects(ctx context.Context, endpoint string, queryParams url.Values, size int) (plugindata.List, error)
- func (_m *MicrosoftSecurityClient) RunAdvancedQuery(ctx context.Context, query string) (plugindata.Data, error)
- type MicrosoftSecurityClient_Expecter
- func (_e *MicrosoftSecurityClient_Expecter) QueryObject(ctx interface{}, endpoint interface{}, queryParams interface{}) *MicrosoftSecurityClient_QueryObject_Call
- func (_e *MicrosoftSecurityClient_Expecter) QueryObjects(ctx interface{}, endpoint interface{}, queryParams interface{}, ...) *MicrosoftSecurityClient_QueryObjects_Call
- func (_e *MicrosoftSecurityClient_Expecter) RunAdvancedQuery(ctx interface{}, query interface{}) *MicrosoftSecurityClient_RunAdvancedQuery_Call
- type MicrosoftSecurityClient_QueryObject_Call
- func (_c *MicrosoftSecurityClient_QueryObject_Call) Return(object plugindata.Data, err error) *MicrosoftSecurityClient_QueryObject_Call
- func (_c *MicrosoftSecurityClient_QueryObject_Call) Run(run func(ctx context.Context, endpoint string, queryParams url.Values)) *MicrosoftSecurityClient_QueryObject_Call
- func (_c *MicrosoftSecurityClient_QueryObject_Call) RunAndReturn(run func(context.Context, string, url.Values) (plugindata.Data, error)) *MicrosoftSecurityClient_QueryObject_Call
- type MicrosoftSecurityClient_QueryObjects_Call
- func (_c *MicrosoftSecurityClient_QueryObjects_Call) Return(objects plugindata.List, err error) *MicrosoftSecurityClient_QueryObjects_Call
- func (_c *MicrosoftSecurityClient_QueryObjects_Call) Run(...) *MicrosoftSecurityClient_QueryObjects_Call
- func (_c *MicrosoftSecurityClient_QueryObjects_Call) RunAndReturn(run func(context.Context, string, url.Values, int) (plugindata.List, error)) *MicrosoftSecurityClient_QueryObjects_Call
- type MicrosoftSecurityClient_RunAdvancedQuery_Call
- func (_c *MicrosoftSecurityClient_RunAdvancedQuery_Call) Return(object plugindata.Data, err error) *MicrosoftSecurityClient_RunAdvancedQuery_Call
- func (_c *MicrosoftSecurityClient_RunAdvancedQuery_Call) Run(run func(ctx context.Context, query string)) *MicrosoftSecurityClient_RunAdvancedQuery_Call
- func (_c *MicrosoftSecurityClient_RunAdvancedQuery_Call) RunAndReturn(run func(context.Context, string) (plugindata.Data, error)) *MicrosoftSecurityClient_RunAdvancedQuery_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureClient ¶
AzureClient is an autogenerated mock type for the AzureClient type
func NewAzureClient ¶
func NewAzureClient(t interface {
mock.TestingT
Cleanup(func())
}) *AzureClient
NewAzureClient creates a new instance of AzureClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AzureClient) EXPECT ¶
func (_m *AzureClient) EXPECT() *AzureClient_Expecter
func (*AzureClient) QueryObjects ¶
func (_m *AzureClient) QueryObjects(ctx context.Context, endpoint string, queryParams url.Values, size int) (plugindata.List, error)
QueryObjects provides a mock function with given fields: ctx, endpoint, queryParams, size
type AzureClient_Expecter ¶
type AzureClient_Expecter struct {
// contains filtered or unexported fields
}
func (*AzureClient_Expecter) QueryObjects ¶
func (_e *AzureClient_Expecter) QueryObjects(ctx interface{}, endpoint interface{}, queryParams interface{}, size interface{}) *AzureClient_QueryObjects_Call
QueryObjects is a helper method to define mock.On call
- ctx context.Context
- endpoint string
- queryParams url.Values
- size int
type AzureClient_QueryObjects_Call ¶
AzureClient_QueryObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryObjects'
func (*AzureClient_QueryObjects_Call) Return ¶
func (_c *AzureClient_QueryObjects_Call) Return(objects plugindata.List, err error) *AzureClient_QueryObjects_Call
func (*AzureClient_QueryObjects_Call) Run ¶
func (_c *AzureClient_QueryObjects_Call) Run(run func(ctx context.Context, endpoint string, queryParams url.Values, size int)) *AzureClient_QueryObjects_Call
func (*AzureClient_QueryObjects_Call) RunAndReturn ¶
func (_c *AzureClient_QueryObjects_Call) RunAndReturn(run func(context.Context, string, url.Values, int) (plugindata.List, error)) *AzureClient_QueryObjects_Call
type AzureOpenAIClient ¶
AzureOpenAIClient is an autogenerated mock type for the AzureOpenAIClient type
func NewAzureOpenAIClient ¶
func NewAzureOpenAIClient(t interface {
mock.TestingT
Cleanup(func())
}) *AzureOpenAIClient
NewAzureOpenAIClient creates a new instance of AzureOpenAIClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AzureOpenAIClient) EXPECT ¶
func (_m *AzureOpenAIClient) EXPECT() *AzureOpenAIClient_Expecter
func (*AzureOpenAIClient) GetCompletions ¶
func (_m *AzureOpenAIClient) GetCompletions(ctx context.Context, body azopenai.CompletionsOptions, options *azopenai.GetCompletionsOptions) (azopenai.GetCompletionsResponse, error)
GetCompletions provides a mock function with given fields: ctx, body, options
type AzureOpenAIClient_Expecter ¶
type AzureOpenAIClient_Expecter struct {
// contains filtered or unexported fields
}
func (*AzureOpenAIClient_Expecter) GetCompletions ¶
func (_e *AzureOpenAIClient_Expecter) GetCompletions(ctx interface{}, body interface{}, options interface{}) *AzureOpenAIClient_GetCompletions_Call
GetCompletions is a helper method to define mock.On call
- ctx context.Context
- body azopenai.CompletionsOptions
- options *azopenai.GetCompletionsOptions
type AzureOpenAIClient_GetCompletions_Call ¶
AzureOpenAIClient_GetCompletions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCompletions'
func (*AzureOpenAIClient_GetCompletions_Call) Return ¶
func (_c *AzureOpenAIClient_GetCompletions_Call) Return(_a0 azopenai.GetCompletionsResponse, _a1 error) *AzureOpenAIClient_GetCompletions_Call
func (*AzureOpenAIClient_GetCompletions_Call) Run ¶
func (_c *AzureOpenAIClient_GetCompletions_Call) Run(run func(ctx context.Context, body azopenai.CompletionsOptions, options *azopenai.GetCompletionsOptions)) *AzureOpenAIClient_GetCompletions_Call
func (*AzureOpenAIClient_GetCompletions_Call) RunAndReturn ¶
func (_c *AzureOpenAIClient_GetCompletions_Call) RunAndReturn(run func(context.Context, azopenai.CompletionsOptions, *azopenai.GetCompletionsOptions) (azopenai.GetCompletionsResponse, error)) *AzureOpenAIClient_GetCompletions_Call
type MicrosoftGraphClient ¶
MicrosoftGraphClient is an autogenerated mock type for the MicrosoftGraphClient type
func NewMicrosoftGraphClient ¶
func NewMicrosoftGraphClient(t interface {
mock.TestingT
Cleanup(func())
}) *MicrosoftGraphClient
NewMicrosoftGraphClient creates a new instance of MicrosoftGraphClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MicrosoftGraphClient) EXPECT ¶
func (_m *MicrosoftGraphClient) EXPECT() *MicrosoftGraphClient_Expecter
func (*MicrosoftGraphClient) QueryObject ¶
func (_m *MicrosoftGraphClient) QueryObject(ctx context.Context, endpoint string, queryParams url.Values) (plugindata.Data, error)
QueryObject provides a mock function with given fields: ctx, endpoint, queryParams
func (*MicrosoftGraphClient) QueryObjects ¶
func (_m *MicrosoftGraphClient) QueryObjects(ctx context.Context, endpoint string, queryParams url.Values, size int) (plugindata.List, error)
QueryObjects provides a mock function with given fields: ctx, endpoint, queryParams, size
type MicrosoftGraphClient_Expecter ¶
type MicrosoftGraphClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MicrosoftGraphClient_Expecter) QueryObject ¶
func (_e *MicrosoftGraphClient_Expecter) QueryObject(ctx interface{}, endpoint interface{}, queryParams interface{}) *MicrosoftGraphClient_QueryObject_Call
QueryObject is a helper method to define mock.On call
- ctx context.Context
- endpoint string
- queryParams url.Values
func (*MicrosoftGraphClient_Expecter) QueryObjects ¶
func (_e *MicrosoftGraphClient_Expecter) QueryObjects(ctx interface{}, endpoint interface{}, queryParams interface{}, size interface{}) *MicrosoftGraphClient_QueryObjects_Call
QueryObjects is a helper method to define mock.On call
- ctx context.Context
- endpoint string
- queryParams url.Values
- size int
type MicrosoftGraphClient_QueryObject_Call ¶
MicrosoftGraphClient_QueryObject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryObject'
func (*MicrosoftGraphClient_QueryObject_Call) Return ¶
func (_c *MicrosoftGraphClient_QueryObject_Call) Return(object plugindata.Data, err error) *MicrosoftGraphClient_QueryObject_Call
func (*MicrosoftGraphClient_QueryObject_Call) Run ¶
func (_c *MicrosoftGraphClient_QueryObject_Call) Run(run func(ctx context.Context, endpoint string, queryParams url.Values)) *MicrosoftGraphClient_QueryObject_Call
func (*MicrosoftGraphClient_QueryObject_Call) RunAndReturn ¶
func (_c *MicrosoftGraphClient_QueryObject_Call) RunAndReturn(run func(context.Context, string, url.Values) (plugindata.Data, error)) *MicrosoftGraphClient_QueryObject_Call
type MicrosoftGraphClient_QueryObjects_Call ¶
MicrosoftGraphClient_QueryObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryObjects'
func (*MicrosoftGraphClient_QueryObjects_Call) Return ¶
func (_c *MicrosoftGraphClient_QueryObjects_Call) Return(objects plugindata.List, err error) *MicrosoftGraphClient_QueryObjects_Call
func (*MicrosoftGraphClient_QueryObjects_Call) Run ¶
func (_c *MicrosoftGraphClient_QueryObjects_Call) Run(run func(ctx context.Context, endpoint string, queryParams url.Values, size int)) *MicrosoftGraphClient_QueryObjects_Call
func (*MicrosoftGraphClient_QueryObjects_Call) RunAndReturn ¶
func (_c *MicrosoftGraphClient_QueryObjects_Call) RunAndReturn(run func(context.Context, string, url.Values, int) (plugindata.List, error)) *MicrosoftGraphClient_QueryObjects_Call
type MicrosoftSecurityClient ¶
MicrosoftSecurityClient is an autogenerated mock type for the MicrosoftSecurityClient type
func NewMicrosoftSecurityClient ¶
func NewMicrosoftSecurityClient(t interface {
mock.TestingT
Cleanup(func())
}) *MicrosoftSecurityClient
NewMicrosoftSecurityClient creates a new instance of MicrosoftSecurityClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MicrosoftSecurityClient) EXPECT ¶
func (_m *MicrosoftSecurityClient) EXPECT() *MicrosoftSecurityClient_Expecter
func (*MicrosoftSecurityClient) QueryObject ¶
func (_m *MicrosoftSecurityClient) QueryObject(ctx context.Context, endpoint string, queryParams url.Values) (plugindata.Data, error)
QueryObject provides a mock function with given fields: ctx, endpoint, queryParams
func (*MicrosoftSecurityClient) QueryObjects ¶
func (_m *MicrosoftSecurityClient) QueryObjects(ctx context.Context, endpoint string, queryParams url.Values, size int) (plugindata.List, error)
QueryObjects provides a mock function with given fields: ctx, endpoint, queryParams, size
func (*MicrosoftSecurityClient) RunAdvancedQuery ¶
func (_m *MicrosoftSecurityClient) RunAdvancedQuery(ctx context.Context, query string) (plugindata.Data, error)
RunAdvancedQuery provides a mock function with given fields: ctx, query
type MicrosoftSecurityClient_Expecter ¶
type MicrosoftSecurityClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MicrosoftSecurityClient_Expecter) QueryObject ¶
func (_e *MicrosoftSecurityClient_Expecter) QueryObject(ctx interface{}, endpoint interface{}, queryParams interface{}) *MicrosoftSecurityClient_QueryObject_Call
QueryObject is a helper method to define mock.On call
- ctx context.Context
- endpoint string
- queryParams url.Values
func (*MicrosoftSecurityClient_Expecter) QueryObjects ¶
func (_e *MicrosoftSecurityClient_Expecter) QueryObjects(ctx interface{}, endpoint interface{}, queryParams interface{}, size interface{}) *MicrosoftSecurityClient_QueryObjects_Call
QueryObjects is a helper method to define mock.On call
- ctx context.Context
- endpoint string
- queryParams url.Values
- size int
func (*MicrosoftSecurityClient_Expecter) RunAdvancedQuery ¶
func (_e *MicrosoftSecurityClient_Expecter) RunAdvancedQuery(ctx interface{}, query interface{}) *MicrosoftSecurityClient_RunAdvancedQuery_Call
RunAdvancedQuery is a helper method to define mock.On call
- ctx context.Context
- query string
type MicrosoftSecurityClient_QueryObject_Call ¶
MicrosoftSecurityClient_QueryObject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryObject'
func (*MicrosoftSecurityClient_QueryObject_Call) Return ¶
func (_c *MicrosoftSecurityClient_QueryObject_Call) Return(object plugindata.Data, err error) *MicrosoftSecurityClient_QueryObject_Call
func (*MicrosoftSecurityClient_QueryObject_Call) Run ¶
func (_c *MicrosoftSecurityClient_QueryObject_Call) Run(run func(ctx context.Context, endpoint string, queryParams url.Values)) *MicrosoftSecurityClient_QueryObject_Call
func (*MicrosoftSecurityClient_QueryObject_Call) RunAndReturn ¶
func (_c *MicrosoftSecurityClient_QueryObject_Call) RunAndReturn(run func(context.Context, string, url.Values) (plugindata.Data, error)) *MicrosoftSecurityClient_QueryObject_Call
type MicrosoftSecurityClient_QueryObjects_Call ¶
MicrosoftSecurityClient_QueryObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryObjects'
func (*MicrosoftSecurityClient_QueryObjects_Call) Return ¶
func (_c *MicrosoftSecurityClient_QueryObjects_Call) Return(objects plugindata.List, err error) *MicrosoftSecurityClient_QueryObjects_Call
func (*MicrosoftSecurityClient_QueryObjects_Call) Run ¶
func (_c *MicrosoftSecurityClient_QueryObjects_Call) Run(run func(ctx context.Context, endpoint string, queryParams url.Values, size int)) *MicrosoftSecurityClient_QueryObjects_Call
func (*MicrosoftSecurityClient_QueryObjects_Call) RunAndReturn ¶
func (_c *MicrosoftSecurityClient_QueryObjects_Call) RunAndReturn(run func(context.Context, string, url.Values, int) (plugindata.List, error)) *MicrosoftSecurityClient_QueryObjects_Call
type MicrosoftSecurityClient_RunAdvancedQuery_Call ¶
MicrosoftSecurityClient_RunAdvancedQuery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunAdvancedQuery'
func (*MicrosoftSecurityClient_RunAdvancedQuery_Call) Return ¶
func (_c *MicrosoftSecurityClient_RunAdvancedQuery_Call) Return(object plugindata.Data, err error) *MicrosoftSecurityClient_RunAdvancedQuery_Call
func (*MicrosoftSecurityClient_RunAdvancedQuery_Call) Run ¶
func (_c *MicrosoftSecurityClient_RunAdvancedQuery_Call) Run(run func(ctx context.Context, query string)) *MicrosoftSecurityClient_RunAdvancedQuery_Call
func (*MicrosoftSecurityClient_RunAdvancedQuery_Call) RunAndReturn ¶
func (_c *MicrosoftSecurityClient_RunAdvancedQuery_Call) RunAndReturn(run func(context.Context, string) (plugindata.Data, error)) *MicrosoftSecurityClient_RunAdvancedQuery_Call