mocks

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInstanaAPI added in v0.2.0

type MockInstanaAPI struct {
	// contains filtered or unexported fields
}

MockInstanaAPI is a mock of InstanaAPI interface.

func NewMockInstanaAPI added in v0.2.0

func NewMockInstanaAPI(ctrl *gomock.Controller) *MockInstanaAPI

NewMockInstanaAPI creates a new mock instance.

func (*MockInstanaAPI) APITokens added in v1.0.0

func (m *MockInstanaAPI) APITokens() restapi.RestResource

APITokens mocks base method.

func (*MockInstanaAPI) AlertingChannels added in v0.8.0

func (m *MockInstanaAPI) AlertingChannels() restapi.RestResource

AlertingChannels mocks base method.

func (*MockInstanaAPI) AlertingChannelsDS added in v1.7.0

func (m *MockInstanaAPI) AlertingChannelsDS() restapi.ReadOnlyRestResource

AlertingChannelsDS mocks base method.

func (*MockInstanaAPI) AlertingConfigurations added in v0.8.0

func (m *MockInstanaAPI) AlertingConfigurations() restapi.RestResource

AlertingConfigurations mocks base method.

func (*MockInstanaAPI) ApplicationAlertConfigs added in v1.3.0

func (m *MockInstanaAPI) ApplicationAlertConfigs() restapi.RestResource

ApplicationAlertConfigs mocks base method.

func (*MockInstanaAPI) ApplicationConfigs added in v0.2.0

func (m *MockInstanaAPI) ApplicationConfigs() restapi.RestResource

ApplicationConfigs mocks base method.

func (*MockInstanaAPI) BuiltinEventSpecifications added in v0.11.0

func (m *MockInstanaAPI) BuiltinEventSpecifications() restapi.ReadOnlyRestResource

BuiltinEventSpecifications mocks base method.

func (*MockInstanaAPI) CustomDashboards added in v1.5.0

func (m *MockInstanaAPI) CustomDashboards() restapi.RestResource

CustomDashboards mocks base method.

func (*MockInstanaAPI) CustomEventSpecifications added in v0.2.0

func (m *MockInstanaAPI) CustomEventSpecifications() restapi.RestResource

CustomEventSpecifications mocks base method.

func (*MockInstanaAPI) EXPECT added in v0.2.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInstanaAPI) GlobalApplicationAlertConfigs added in v1.3.0

func (m *MockInstanaAPI) GlobalApplicationAlertConfigs() restapi.RestResource

GlobalApplicationAlertConfigs mocks base method.

func (*MockInstanaAPI) Groups added in v1.1.0

func (m *MockInstanaAPI) Groups() restapi.RestResource

Groups mocks base method.

func (*MockInstanaAPI) SliConfigs added in v0.10.0

func (m *MockInstanaAPI) SliConfigs() restapi.RestResource

SliConfigs mocks base method.

func (*MockInstanaAPI) SyntheticLocation added in v1.6.0

func (m *MockInstanaAPI) SyntheticLocation() restapi.ReadOnlyRestResource

SyntheticLocation mocks base method.

func (*MockInstanaAPI) SyntheticTest added in v1.6.0

func (m *MockInstanaAPI) SyntheticTest() restapi.RestResource

SyntheticTest mocks base method.

func (*MockInstanaAPI) WebsiteAlertConfig added in v1.4.0

func (m *MockInstanaAPI) WebsiteAlertConfig() restapi.RestResource

WebsiteAlertConfig mocks base method.

func (*MockInstanaAPI) WebsiteMonitoringConfig added in v0.10.0

func (m *MockInstanaAPI) WebsiteMonitoringConfig() restapi.RestResource

WebsiteMonitoringConfig mocks base method.

type MockInstanaAPIMockRecorder added in v0.2.0

type MockInstanaAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockInstanaAPIMockRecorder is the mock recorder for MockInstanaAPI.

func (*MockInstanaAPIMockRecorder) APITokens added in v1.0.0

func (mr *MockInstanaAPIMockRecorder) APITokens() *gomock.Call

APITokens indicates an expected call of APITokens.

func (*MockInstanaAPIMockRecorder) AlertingChannels added in v0.8.0

func (mr *MockInstanaAPIMockRecorder) AlertingChannels() *gomock.Call

AlertingChannels indicates an expected call of AlertingChannels.

func (*MockInstanaAPIMockRecorder) AlertingChannelsDS added in v1.9.0

func (mr *MockInstanaAPIMockRecorder) AlertingChannelsDS() *gomock.Call

AlertingChannels indicates an expected call of AlertingChannels.

func (*MockInstanaAPIMockRecorder) AlertingConfigurations added in v0.8.0

func (mr *MockInstanaAPIMockRecorder) AlertingConfigurations() *gomock.Call

AlertingConfigurations indicates an expected call of AlertingConfigurations.

func (*MockInstanaAPIMockRecorder) ApplicationAlertConfigs added in v1.3.0

func (mr *MockInstanaAPIMockRecorder) ApplicationAlertConfigs() *gomock.Call

ApplicationAlertConfigs indicates an expected call of ApplicationAlertConfigs.

func (*MockInstanaAPIMockRecorder) ApplicationConfigs added in v0.2.0

func (mr *MockInstanaAPIMockRecorder) ApplicationConfigs() *gomock.Call

ApplicationConfigs indicates an expected call of ApplicationConfigs.

func (*MockInstanaAPIMockRecorder) BuiltinEventSpecifications added in v0.11.0

func (mr *MockInstanaAPIMockRecorder) BuiltinEventSpecifications() *gomock.Call

BuiltinEventSpecifications indicates an expected call of BuiltinEventSpecifications.

func (*MockInstanaAPIMockRecorder) CustomDashboards added in v1.5.0

func (mr *MockInstanaAPIMockRecorder) CustomDashboards() *gomock.Call

CustomDashboards indicates an expected call of CustomDashboards.

func (*MockInstanaAPIMockRecorder) CustomEventSpecifications added in v0.2.0

func (mr *MockInstanaAPIMockRecorder) CustomEventSpecifications() *gomock.Call

CustomEventSpecifications indicates an expected call of CustomEventSpecifications.

func (*MockInstanaAPIMockRecorder) GlobalApplicationAlertConfigs added in v1.3.0

func (mr *MockInstanaAPIMockRecorder) GlobalApplicationAlertConfigs() *gomock.Call

GlobalApplicationAlertConfigs indicates an expected call of GlobalApplicationAlertConfigs.

func (*MockInstanaAPIMockRecorder) Groups added in v1.1.0

func (mr *MockInstanaAPIMockRecorder) Groups() *gomock.Call

Groups indicates an expected call of Groups.

func (*MockInstanaAPIMockRecorder) SliConfigs added in v0.10.0

func (mr *MockInstanaAPIMockRecorder) SliConfigs() *gomock.Call

SliConfigs indicates an expected call of SliConfigs.

func (*MockInstanaAPIMockRecorder) SyntheticLocation added in v1.6.0

func (mr *MockInstanaAPIMockRecorder) SyntheticLocation() *gomock.Call

SyntheticLocation indicates an expected call of SyntheticLocation.

func (*MockInstanaAPIMockRecorder) SyntheticTest added in v1.6.0

func (mr *MockInstanaAPIMockRecorder) SyntheticTest() *gomock.Call

SyntheticTest indicates an expected call of SyntheticTest.

func (*MockInstanaAPIMockRecorder) WebsiteAlertConfig added in v1.4.0

func (mr *MockInstanaAPIMockRecorder) WebsiteAlertConfig() *gomock.Call

WebsiteAlertConfig indicates an expected call of WebsiteAlertConfig.

func (*MockInstanaAPIMockRecorder) WebsiteMonitoringConfig added in v0.10.0

func (mr *MockInstanaAPIMockRecorder) WebsiteMonitoringConfig() *gomock.Call

WebsiteMonitoringConfig indicates an expected call of WebsiteMonitoringConfig.

type MockInstanaDataObject

type MockInstanaDataObject struct {
	// contains filtered or unexported fields
}

MockInstanaDataObject is a mock of InstanaDataObject interface

func NewMockInstanaDataObject

func NewMockInstanaDataObject(ctrl *gomock.Controller) *MockInstanaDataObject

NewMockInstanaDataObject creates a new mock instance

func (*MockInstanaDataObject) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockInstanaDataObject) GetIDForResourcePath added in v1.0.0

func (m *MockInstanaDataObject) GetIDForResourcePath() string

GetIDForResourcePath mocks base method

func (*MockInstanaDataObject) Validate

func (m *MockInstanaDataObject) Validate() error

Validate mocks base method

type MockInstanaDataObjectMockRecorder

type MockInstanaDataObjectMockRecorder struct {
	// contains filtered or unexported fields
}

MockInstanaDataObjectMockRecorder is the mock recorder for MockInstanaDataObject

func (*MockInstanaDataObjectMockRecorder) GetIDForResourcePath added in v1.0.0

func (mr *MockInstanaDataObjectMockRecorder) GetIDForResourcePath() *gomock.Call

GetIDForResourcePath indicates an expected call of GetIDForResourcePath

func (*MockInstanaDataObjectMockRecorder) Validate

Validate indicates an expected call of Validate

type MockJSONUnmarshaller added in v0.11.0

type MockJSONUnmarshaller struct {
	// contains filtered or unexported fields
}

MockJSONUnmarshaller is a mock of JSONUnmarshaller interface

func NewMockJSONUnmarshaller added in v0.11.0

func NewMockJSONUnmarshaller(ctrl *gomock.Controller) *MockJSONUnmarshaller

NewMockJSONUnmarshaller creates a new mock instance

func (*MockJSONUnmarshaller) EXPECT added in v0.11.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockJSONUnmarshaller) Unmarshal added in v0.11.0

func (m *MockJSONUnmarshaller) Unmarshal(data []byte) (interface{}, error)

Unmarshal mocks base method

type MockJSONUnmarshallerMockRecorder added in v0.11.0

type MockJSONUnmarshallerMockRecorder struct {
	// contains filtered or unexported fields
}

MockJSONUnmarshallerMockRecorder is the mock recorder for MockJSONUnmarshaller

func (*MockJSONUnmarshallerMockRecorder) Unmarshal added in v0.11.0

func (mr *MockJSONUnmarshallerMockRecorder) Unmarshal(data interface{}) *gomock.Call

Unmarshal indicates an expected call of Unmarshal

type MockReadOnlyRestResource added in v0.11.0

type MockReadOnlyRestResource struct {
	// contains filtered or unexported fields
}

MockReadOnlyRestResource is a mock of ReadOnlyRestResource interface

func NewMockReadOnlyRestResource added in v0.11.0

func NewMockReadOnlyRestResource(ctrl *gomock.Controller) *MockReadOnlyRestResource

NewMockReadOnlyRestResource creates a new mock instance

func (*MockReadOnlyRestResource) EXPECT added in v0.11.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockReadOnlyRestResource) GetAll added in v0.11.0

GetAll mocks base method

func (*MockReadOnlyRestResource) GetOne added in v0.11.0

GetOne mocks base method

type MockReadOnlyRestResourceMockRecorder added in v0.11.0

type MockReadOnlyRestResourceMockRecorder struct {
	// contains filtered or unexported fields
}

MockReadOnlyRestResourceMockRecorder is the mock recorder for MockReadOnlyRestResource

func (*MockReadOnlyRestResourceMockRecorder) GetAll added in v0.11.0

GetAll indicates an expected call of GetAll

func (*MockReadOnlyRestResourceMockRecorder) GetOne added in v0.11.0

func (mr *MockReadOnlyRestResourceMockRecorder) GetOne(id interface{}) *gomock.Call

GetOne indicates an expected call of GetOne

type MockResourceNameFormatter added in v0.4.0

type MockResourceNameFormatter struct {
	// contains filtered or unexported fields
}

MockResourceNameFormatter is a mock of ResourceNameFormatter interface

func NewMockResourceNameFormatter added in v0.4.0

func NewMockResourceNameFormatter(ctrl *gomock.Controller) *MockResourceNameFormatter

NewMockResourceNameFormatter creates a new mock instance

func (*MockResourceNameFormatter) EXPECT added in v0.4.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockResourceNameFormatter) Format added in v0.4.0

func (m *MockResourceNameFormatter) Format(name string) string

Format mocks base method

func (*MockResourceNameFormatter) UndoFormat added in v0.4.0

func (m *MockResourceNameFormatter) UndoFormat(name string) string

UndoFormat mocks base method

type MockResourceNameFormatterMockRecorder added in v0.4.0

type MockResourceNameFormatterMockRecorder struct {
	// contains filtered or unexported fields
}

MockResourceNameFormatterMockRecorder is the mock recorder for MockResourceNameFormatter

func (*MockResourceNameFormatterMockRecorder) Format added in v0.4.0

func (mr *MockResourceNameFormatterMockRecorder) Format(name interface{}) *gomock.Call

Format indicates an expected call of Format

func (*MockResourceNameFormatterMockRecorder) UndoFormat added in v0.4.0

func (mr *MockResourceNameFormatterMockRecorder) UndoFormat(name interface{}) *gomock.Call

UndoFormat indicates an expected call of UndoFormat

type MockRestClient

type MockRestClient struct {
	// contains filtered or unexported fields
}

MockRestClient is a mock of RestClient interface.

func NewMockRestClient

func NewMockRestClient(ctrl *gomock.Controller) *MockRestClient

NewMockRestClient creates a new mock instance.

func (*MockRestClient) Delete

func (m *MockRestClient) Delete(resourceID, resourceBasePath string) error

Delete mocks base method.

func (*MockRestClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRestClient) Get added in v0.11.0

func (m *MockRestClient) Get(resourcePath string) ([]byte, error)

Get mocks base method.

func (*MockRestClient) GetOne

func (m *MockRestClient) GetOne(id, resourcePath string) ([]byte, error)

GetOne mocks base method.

func (*MockRestClient) Post added in v1.0.0

func (m *MockRestClient) Post(data restapi.InstanaDataObject, resourcePath string) ([]byte, error)

Post mocks base method.

func (*MockRestClient) PostByQuery added in v0.10.0

func (m *MockRestClient) PostByQuery(resourcePath string, queryParams map[string]string) ([]byte, error)

PostByQuery mocks base method.

func (*MockRestClient) PostWithID added in v1.3.0

func (m *MockRestClient) PostWithID(data restapi.InstanaDataObject, resourcePath string) ([]byte, error)

PostWithID mocks base method.

func (*MockRestClient) Put

func (m *MockRestClient) Put(data restapi.InstanaDataObject, resourcePath string) ([]byte, error)

Put mocks base method.

func (*MockRestClient) PutByQuery added in v0.10.0

func (m *MockRestClient) PutByQuery(resourcePath, is string, queryParams map[string]string) ([]byte, error)

PutByQuery mocks base method.

type MockRestClientMockRecorder

type MockRestClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockRestClientMockRecorder is the mock recorder for MockRestClient.

func (*MockRestClientMockRecorder) Delete

func (mr *MockRestClientMockRecorder) Delete(resourceID, resourceBasePath interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRestClientMockRecorder) Get added in v0.11.0

func (mr *MockRestClientMockRecorder) Get(resourcePath interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockRestClientMockRecorder) GetOne

func (mr *MockRestClientMockRecorder) GetOne(id, resourcePath interface{}) *gomock.Call

GetOne indicates an expected call of GetOne.

func (*MockRestClientMockRecorder) Post added in v1.0.0

func (mr *MockRestClientMockRecorder) Post(data, resourcePath interface{}) *gomock.Call

Post indicates an expected call of Post.

func (*MockRestClientMockRecorder) PostByQuery added in v0.10.0

func (mr *MockRestClientMockRecorder) PostByQuery(resourcePath, queryParams interface{}) *gomock.Call

PostByQuery indicates an expected call of PostByQuery.

func (*MockRestClientMockRecorder) PostWithID added in v1.3.0

func (mr *MockRestClientMockRecorder) PostWithID(data, resourcePath interface{}) *gomock.Call

PostWithID indicates an expected call of PostWithID.

func (*MockRestClientMockRecorder) Put

func (mr *MockRestClientMockRecorder) Put(data, resourcePath interface{}) *gomock.Call

Put indicates an expected call of Put.

func (*MockRestClientMockRecorder) PutByQuery added in v0.10.0

func (mr *MockRestClientMockRecorder) PutByQuery(resourcePath, is, queryParams interface{}) *gomock.Call

PutByQuery indicates an expected call of PutByQuery.

type MockRestResource added in v0.8.0

type MockRestResource struct {
	// contains filtered or unexported fields
}

MockRestResource is a mock of RestResource interface

func NewMockRestResource added in v0.8.0

func NewMockRestResource(ctrl *gomock.Controller) *MockRestResource

NewMockRestResource creates a new mock instance

func (*MockRestResource) Create added in v0.10.0

Create mocks base method

func (*MockRestResource) Delete added in v0.8.0

Delete mocks base method

func (*MockRestResource) DeleteByID added in v0.8.0

func (m *MockRestResource) DeleteByID(id string) error

DeleteByID mocks base method

func (*MockRestResource) EXPECT added in v0.8.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRestResource) GetOne added in v0.8.0

GetOne mocks base method

func (*MockRestResource) Update added in v0.10.0

Update mocks base method

type MockRestResourceMockRecorder added in v0.8.0

type MockRestResourceMockRecorder struct {
	// contains filtered or unexported fields
}

MockRestResourceMockRecorder is the mock recorder for MockRestResource

func (*MockRestResourceMockRecorder) Create added in v0.10.0

func (mr *MockRestResourceMockRecorder) Create(data interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockRestResourceMockRecorder) Delete added in v0.8.0

func (mr *MockRestResourceMockRecorder) Delete(data interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockRestResourceMockRecorder) DeleteByID added in v0.8.0

func (mr *MockRestResourceMockRecorder) DeleteByID(id interface{}) *gomock.Call

DeleteByID indicates an expected call of DeleteByID

func (*MockRestResourceMockRecorder) GetOne added in v0.8.0

func (mr *MockRestResourceMockRecorder) GetOne(id interface{}) *gomock.Call

GetOne indicates an expected call of GetOne

func (*MockRestResourceMockRecorder) Update added in v0.10.0

func (mr *MockRestResourceMockRecorder) Update(data interface{}) *gomock.Call

Update indicates an expected call of Update

type MockTagFilterExpressionElement added in v1.1.0

type MockTagFilterExpressionElement struct {
	// contains filtered or unexported fields
}

MockTagFilterExpressionElement is a mock of TagFilterExpressionElement interface

func NewMockTagFilterExpressionElement added in v1.1.0

func NewMockTagFilterExpressionElement(ctrl *gomock.Controller) *MockTagFilterExpressionElement

NewMockTagFilterExpressionElement creates a new mock instance

func (*MockTagFilterExpressionElement) EXPECT added in v1.1.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTagFilterExpressionElement) GetType added in v1.1.0

GetType mocks base method

func (*MockTagFilterExpressionElement) Validate added in v1.1.0

func (m *MockTagFilterExpressionElement) Validate() error

Validate mocks base method

type MockTagFilterExpressionElementMockRecorder added in v1.1.0

type MockTagFilterExpressionElementMockRecorder struct {
	// contains filtered or unexported fields
}

MockTagFilterExpressionElementMockRecorder is the mock recorder for MockTagFilterExpressionElement

func (*MockTagFilterExpressionElementMockRecorder) GetType added in v1.1.0

GetType indicates an expected call of GetType

func (*MockTagFilterExpressionElementMockRecorder) Validate added in v1.1.0

Validate indicates an expected call of Validate

type MockTerraformResource added in v0.8.0

type MockTerraformResource struct {
	// contains filtered or unexported fields
}

MockTerraformResource is a mock of TerraformResource interface

func NewMockTerraformResource added in v0.8.0

func NewMockTerraformResource(ctrl *gomock.Controller) *MockTerraformResource

NewMockTerraformResource creates a new mock instance

func (*MockTerraformResource) Create added in v0.8.0

func (m *MockTerraformResource) Create(d *schema.ResourceData, meta interface{}) error

Create mocks base method

func (*MockTerraformResource) Delete added in v0.8.0

func (m *MockTerraformResource) Delete(d *schema.ResourceData, meta interface{}) error

Delete mocks base method

func (*MockTerraformResource) EXPECT added in v0.8.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTerraformResource) Read added in v0.8.0

func (m *MockTerraformResource) Read(d *schema.ResourceData, meta interface{}) error

Read mocks base method

func (*MockTerraformResource) ToSchemaResource added in v0.8.0

func (m *MockTerraformResource) ToSchemaResource() *schema.Resource

ToSchemaResource mocks base method

func (*MockTerraformResource) Update added in v0.8.0

func (m *MockTerraformResource) Update(d *schema.ResourceData, meta interface{}) error

Update mocks base method

type MockTerraformResourceMockRecorder added in v0.8.0

type MockTerraformResourceMockRecorder struct {
	// contains filtered or unexported fields
}

MockTerraformResourceMockRecorder is the mock recorder for MockTerraformResource

func (*MockTerraformResourceMockRecorder) Create added in v0.8.0

func (mr *MockTerraformResourceMockRecorder) Create(d, meta interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockTerraformResourceMockRecorder) Delete added in v0.8.0

func (mr *MockTerraformResourceMockRecorder) Delete(d, meta interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockTerraformResourceMockRecorder) Read added in v0.8.0

func (mr *MockTerraformResourceMockRecorder) Read(d, meta interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockTerraformResourceMockRecorder) ToSchemaResource added in v0.8.0

func (mr *MockTerraformResourceMockRecorder) ToSchemaResource() *gomock.Call

ToSchemaResource indicates an expected call of ToSchemaResource

func (*MockTerraformResourceMockRecorder) Update added in v0.8.0

func (mr *MockTerraformResourceMockRecorder) Update(d, meta interface{}) *gomock.Call

Update indicates an expected call of Update

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL