sdkclients

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSConnectionClient

type AWSConnectionClient interface {
	aws_connections.AwsConnectionsV1Client
}

func NewAWSConnectionClient

func NewAWSConnectionClient(config config.Config) AWSConnectionClient

type AWSEnvironmentClient

type AWSEnvironmentClient interface {
	awsenvironments.AwsEnvironmentsV1Client
}

func NewAWSEnvironmentClient

func NewAWSEnvironmentClient(config config.Config) AWSEnvironmentClient

type AWSTemplatesClient

type AWSTemplatesClient interface {
	awstemplates.AwsTemplatesV1Client
}

func NewAWSTemplatesClient

func NewAWSTemplatesClient(config config.Config) AWSTemplatesClient

type AutoUserProvisioningRuleClient

type AutoUserProvisioningRuleClient interface {
	sdkAUPRules.AutoUserProvisioningRulesV1Client
}

func NewAutoUserProvisioningRuleClient

func NewAutoUserProvisioningRuleClient(config config.Config) AutoUserProvisioningRuleClient

type AutoUserProvisioningSettingClient

type AutoUserProvisioningSettingClient interface {
	sdkAUPSettings.AutoUserProvisioningSettingsV1Client
}

func NewAutoUserProvisioningSettingClient

func NewAutoUserProvisioningSettingClient(config config.Config) AutoUserProvisioningSettingClient

type DynamoDBTableClient added in v0.7.0

type DynamoDBTableClient interface {
	sdkDynamoDBTable.AwsDynamodbTablesV1Client
}

func NewDynamoDBTableClient added in v0.7.0

func NewDynamoDBTableClient(config config.Config) DynamoDBTableClient

type MockAWSConnectionClient

type MockAWSConnectionClient struct {
	mock.Mock
}

MockAWSConnectionClient is an autogenerated mock type for the AWSConnectionClient type

func NewMockAWSConnectionClient

func NewMockAWSConnectionClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAWSConnectionClient

NewMockAWSConnectionClient creates a new instance of MockAWSConnectionClient. 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 (*MockAWSConnectionClient) CreateAwsConnection

CreateAwsConnection provides a mock function with given fields: body

func (*MockAWSConnectionClient) DeleteAwsConnection

func (_m *MockAWSConnectionClient) DeleteAwsConnection(connectionId string) (interface{}, *apiutils.APIError)

DeleteAwsConnection provides a mock function with given fields: connectionId

func (*MockAWSConnectionClient) EXPECT

func (*MockAWSConnectionClient) ListAwsConnections

func (_m *MockAWSConnectionClient) ListAwsConnections(limit *int64, start *string, filter *string) (*models.ListAWSConnectionsResponse, *apiutils.APIError)

ListAwsConnections provides a mock function with given fields: limit, start, filter

func (*MockAWSConnectionClient) ReadAwsConnection

func (_m *MockAWSConnectionClient) ReadAwsConnection(connectionId string, returnExternalId *string) (*models.ReadAWSConnectionResponse, *apiutils.APIError)

ReadAwsConnection provides a mock function with given fields: connectionId, returnExternalId

func (*MockAWSConnectionClient) UpdateAwsConnection

UpdateAwsConnection provides a mock function with given fields: connectionId, body

type MockAWSConnectionClient_CreateAwsConnection_Call

type MockAWSConnectionClient_CreateAwsConnection_Call struct {
	*mock.Call
}

MockAWSConnectionClient_CreateAwsConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAwsConnection'

func (*MockAWSConnectionClient_CreateAwsConnection_Call) Run

type MockAWSConnectionClient_DeleteAwsConnection_Call

type MockAWSConnectionClient_DeleteAwsConnection_Call struct {
	*mock.Call
}

MockAWSConnectionClient_DeleteAwsConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAwsConnection'

func (*MockAWSConnectionClient_DeleteAwsConnection_Call) Return

func (*MockAWSConnectionClient_DeleteAwsConnection_Call) Run

func (*MockAWSConnectionClient_DeleteAwsConnection_Call) RunAndReturn

type MockAWSConnectionClient_Expecter

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

func (*MockAWSConnectionClient_Expecter) CreateAwsConnection

CreateAwsConnection is a helper method to define mock.On call

  • body *models.CreateAwsConnectionV1Request

func (*MockAWSConnectionClient_Expecter) DeleteAwsConnection

func (_e *MockAWSConnectionClient_Expecter) DeleteAwsConnection(connectionId interface{}) *MockAWSConnectionClient_DeleteAwsConnection_Call

DeleteAwsConnection is a helper method to define mock.On call

  • connectionId string

func (*MockAWSConnectionClient_Expecter) ListAwsConnections

func (_e *MockAWSConnectionClient_Expecter) ListAwsConnections(limit interface{}, start interface{}, filter interface{}) *MockAWSConnectionClient_ListAwsConnections_Call

ListAwsConnections is a helper method to define mock.On call

  • limit *int64
  • start *string
  • filter *string

func (*MockAWSConnectionClient_Expecter) ReadAwsConnection

func (_e *MockAWSConnectionClient_Expecter) ReadAwsConnection(connectionId interface{}, returnExternalId interface{}) *MockAWSConnectionClient_ReadAwsConnection_Call

ReadAwsConnection is a helper method to define mock.On call

  • connectionId string
  • returnExternalId *string

func (*MockAWSConnectionClient_Expecter) UpdateAwsConnection

func (_e *MockAWSConnectionClient_Expecter) UpdateAwsConnection(connectionId interface{}, body interface{}) *MockAWSConnectionClient_UpdateAwsConnection_Call

UpdateAwsConnection is a helper method to define mock.On call

  • connectionId string
  • body models.UpdateAwsConnectionV1Request

type MockAWSConnectionClient_ListAwsConnections_Call

type MockAWSConnectionClient_ListAwsConnections_Call struct {
	*mock.Call
}

MockAWSConnectionClient_ListAwsConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAwsConnections'

func (*MockAWSConnectionClient_ListAwsConnections_Call) Run

type MockAWSConnectionClient_ReadAwsConnection_Call

type MockAWSConnectionClient_ReadAwsConnection_Call struct {
	*mock.Call
}

MockAWSConnectionClient_ReadAwsConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAwsConnection'

func (*MockAWSConnectionClient_ReadAwsConnection_Call) Run

type MockAWSConnectionClient_UpdateAwsConnection_Call

type MockAWSConnectionClient_UpdateAwsConnection_Call struct {
	*mock.Call
}

MockAWSConnectionClient_UpdateAwsConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAwsConnection'

func (*MockAWSConnectionClient_UpdateAwsConnection_Call) Run

type MockAWSEnvironmentClient

type MockAWSEnvironmentClient struct {
	mock.Mock
}

MockAWSEnvironmentClient is an autogenerated mock type for the AWSEnvironmentClient type

func NewMockAWSEnvironmentClient

func NewMockAWSEnvironmentClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAWSEnvironmentClient

NewMockAWSEnvironmentClient creates a new instance of MockAWSEnvironmentClient. 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 (*MockAWSEnvironmentClient) EXPECT

func (*MockAWSEnvironmentClient) ListAwsEnvironments

func (_m *MockAWSEnvironmentClient) ListAwsEnvironments(limit *int64, start *string, filter *string, embed *string, lookbackDays *int64) (*models.ListAWSEnvironmentsResponse, *apiutils.APIError)

ListAwsEnvironments provides a mock function with given fields: limit, start, filter, embed, lookbackDays

func (*MockAWSEnvironmentClient) ReadAwsEnvironment

func (_m *MockAWSEnvironmentClient) ReadAwsEnvironment(environmentId string, embed *string, lookbackDays *int64) (*models.ReadAWSEnvironmentResponse, *apiutils.APIError)

ReadAwsEnvironment provides a mock function with given fields: environmentId, embed, lookbackDays

type MockAWSEnvironmentClient_Expecter

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

func (*MockAWSEnvironmentClient_Expecter) ListAwsEnvironments

func (_e *MockAWSEnvironmentClient_Expecter) ListAwsEnvironments(limit interface{}, start interface{}, filter interface{}, embed interface{}, lookbackDays interface{}) *MockAWSEnvironmentClient_ListAwsEnvironments_Call

ListAwsEnvironments is a helper method to define mock.On call

  • limit *int64
  • start *string
  • filter *string
  • embed *string
  • lookbackDays *int64

func (*MockAWSEnvironmentClient_Expecter) ReadAwsEnvironment

func (_e *MockAWSEnvironmentClient_Expecter) ReadAwsEnvironment(environmentId interface{}, embed interface{}, lookbackDays interface{}) *MockAWSEnvironmentClient_ReadAwsEnvironment_Call

ReadAwsEnvironment is a helper method to define mock.On call

  • environmentId string
  • embed *string
  • lookbackDays *int64

type MockAWSEnvironmentClient_ListAwsEnvironments_Call

type MockAWSEnvironmentClient_ListAwsEnvironments_Call struct {
	*mock.Call
}

MockAWSEnvironmentClient_ListAwsEnvironments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAwsEnvironments'

func (*MockAWSEnvironmentClient_ListAwsEnvironments_Call) Run

type MockAWSEnvironmentClient_ReadAwsEnvironment_Call

type MockAWSEnvironmentClient_ReadAwsEnvironment_Call struct {
	*mock.Call
}

MockAWSEnvironmentClient_ReadAwsEnvironment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAwsEnvironment'

func (*MockAWSEnvironmentClient_ReadAwsEnvironment_Call) Run

type MockAWSTemplatesClient

type MockAWSTemplatesClient struct {
	mock.Mock
}

MockAWSTemplatesClient is an autogenerated mock type for the AWSTemplatesClient type

func NewMockAWSTemplatesClient

func NewMockAWSTemplatesClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAWSTemplatesClient

NewMockAWSTemplatesClient creates a new instance of MockAWSTemplatesClient. 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 (*MockAWSTemplatesClient) CreateConnectionTemplate

CreateConnectionTemplate provides a mock function with given fields: body

func (*MockAWSTemplatesClient) EXPECT

func (*MockAWSTemplatesClient) ReadConnectionTemplates

func (_m *MockAWSTemplatesClient) ReadConnectionTemplates() (*models.ReadAWSTemplatesV2Response, *apiutils.APIError)

ReadConnectionTemplates provides a mock function with given fields:

type MockAWSTemplatesClient_CreateConnectionTemplate_Call

type MockAWSTemplatesClient_CreateConnectionTemplate_Call struct {
	*mock.Call
}

MockAWSTemplatesClient_CreateConnectionTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateConnectionTemplate'

func (*MockAWSTemplatesClient_CreateConnectionTemplate_Call) Run

type MockAWSTemplatesClient_Expecter

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

func (*MockAWSTemplatesClient_Expecter) CreateConnectionTemplate

func (_e *MockAWSTemplatesClient_Expecter) CreateConnectionTemplate(body interface{}) *MockAWSTemplatesClient_CreateConnectionTemplate_Call

CreateConnectionTemplate is a helper method to define mock.On call

  • body *models.CreateConnectionTemplateV1Request

func (*MockAWSTemplatesClient_Expecter) ReadConnectionTemplates

ReadConnectionTemplates is a helper method to define mock.On call

type MockAWSTemplatesClient_ReadConnectionTemplates_Call

type MockAWSTemplatesClient_ReadConnectionTemplates_Call struct {
	*mock.Call
}

MockAWSTemplatesClient_ReadConnectionTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadConnectionTemplates'

func (*MockAWSTemplatesClient_ReadConnectionTemplates_Call) Run

func (*MockAWSTemplatesClient_ReadConnectionTemplates_Call) RunAndReturn

type MockAutoUserProvisioningRuleClient

type MockAutoUserProvisioningRuleClient struct {
	mock.Mock
}

MockAutoUserProvisioningRuleClient is an autogenerated mock type for the AutoUserProvisioningRuleClient type

func NewMockAutoUserProvisioningRuleClient

func NewMockAutoUserProvisioningRuleClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAutoUserProvisioningRuleClient

NewMockAutoUserProvisioningRuleClient creates a new instance of MockAutoUserProvisioningRuleClient. 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 (*MockAutoUserProvisioningRuleClient) CreateAutoUserProvisioningRule

CreateAutoUserProvisioningRule provides a mock function with given fields: body

func (*MockAutoUserProvisioningRuleClient) DeleteAutoUserProvisioningRule

func (_m *MockAutoUserProvisioningRuleClient) DeleteAutoUserProvisioningRule(ruleId string) (interface{}, *apiutils.APIError)

DeleteAutoUserProvisioningRule provides a mock function with given fields: ruleId

func (*MockAutoUserProvisioningRuleClient) EXPECT

func (*MockAutoUserProvisioningRuleClient) ListAutoUserProvisioningRules

func (_m *MockAutoUserProvisioningRuleClient) ListAutoUserProvisioningRules(limit *int64, start *string, filter *string) (*models.ListAutoUserProvisioningRulesResponse, *apiutils.APIError)

ListAutoUserProvisioningRules provides a mock function with given fields: limit, start, filter

func (*MockAutoUserProvisioningRuleClient) ReadAutoUserProvisioningRule

ReadAutoUserProvisioningRule provides a mock function with given fields: ruleId

func (*MockAutoUserProvisioningRuleClient) UpdateAutoUserProvisioningRule

UpdateAutoUserProvisioningRule provides a mock function with given fields: ruleId, body

type MockAutoUserProvisioningRuleClient_CreateAutoUserProvisioningRule_Call

type MockAutoUserProvisioningRuleClient_CreateAutoUserProvisioningRule_Call struct {
	*mock.Call
}

MockAutoUserProvisioningRuleClient_CreateAutoUserProvisioningRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAutoUserProvisioningRule'

type MockAutoUserProvisioningRuleClient_DeleteAutoUserProvisioningRule_Call

type MockAutoUserProvisioningRuleClient_DeleteAutoUserProvisioningRule_Call struct {
	*mock.Call
}

MockAutoUserProvisioningRuleClient_DeleteAutoUserProvisioningRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAutoUserProvisioningRule'

func (*MockAutoUserProvisioningRuleClient_DeleteAutoUserProvisioningRule_Call) Return

func (*MockAutoUserProvisioningRuleClient_DeleteAutoUserProvisioningRule_Call) Run

func (*MockAutoUserProvisioningRuleClient_DeleteAutoUserProvisioningRule_Call) RunAndReturn

type MockAutoUserProvisioningRuleClient_Expecter

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

func (*MockAutoUserProvisioningRuleClient_Expecter) CreateAutoUserProvisioningRule

CreateAutoUserProvisioningRule is a helper method to define mock.On call

  • body *models.CreateAutoUserProvisioningRuleV1Request

func (*MockAutoUserProvisioningRuleClient_Expecter) DeleteAutoUserProvisioningRule

DeleteAutoUserProvisioningRule is a helper method to define mock.On call

  • ruleId string

func (*MockAutoUserProvisioningRuleClient_Expecter) ListAutoUserProvisioningRules

func (_e *MockAutoUserProvisioningRuleClient_Expecter) ListAutoUserProvisioningRules(limit interface{}, start interface{}, filter interface{}) *MockAutoUserProvisioningRuleClient_ListAutoUserProvisioningRules_Call

ListAutoUserProvisioningRules is a helper method to define mock.On call

  • limit *int64
  • start *string
  • filter *string

func (*MockAutoUserProvisioningRuleClient_Expecter) ReadAutoUserProvisioningRule

ReadAutoUserProvisioningRule is a helper method to define mock.On call

  • ruleId string

func (*MockAutoUserProvisioningRuleClient_Expecter) UpdateAutoUserProvisioningRule

func (_e *MockAutoUserProvisioningRuleClient_Expecter) UpdateAutoUserProvisioningRule(ruleId interface{}, body interface{}) *MockAutoUserProvisioningRuleClient_UpdateAutoUserProvisioningRule_Call

UpdateAutoUserProvisioningRule is a helper method to define mock.On call

  • ruleId string
  • body *models.UpdateAutoUserProvisioningRuleV1Request

type MockAutoUserProvisioningRuleClient_ListAutoUserProvisioningRules_Call

type MockAutoUserProvisioningRuleClient_ListAutoUserProvisioningRules_Call struct {
	*mock.Call
}

MockAutoUserProvisioningRuleClient_ListAutoUserProvisioningRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAutoUserProvisioningRules'

func (*MockAutoUserProvisioningRuleClient_ListAutoUserProvisioningRules_Call) Run

type MockAutoUserProvisioningRuleClient_ReadAutoUserProvisioningRule_Call

type MockAutoUserProvisioningRuleClient_ReadAutoUserProvisioningRule_Call struct {
	*mock.Call
}

MockAutoUserProvisioningRuleClient_ReadAutoUserProvisioningRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAutoUserProvisioningRule'

func (*MockAutoUserProvisioningRuleClient_ReadAutoUserProvisioningRule_Call) Run

type MockAutoUserProvisioningRuleClient_UpdateAutoUserProvisioningRule_Call

type MockAutoUserProvisioningRuleClient_UpdateAutoUserProvisioningRule_Call struct {
	*mock.Call
}

MockAutoUserProvisioningRuleClient_UpdateAutoUserProvisioningRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAutoUserProvisioningRule'

type MockAutoUserProvisioningSettingClient

type MockAutoUserProvisioningSettingClient struct {
	mock.Mock
}

MockAutoUserProvisioningSettingClient is an autogenerated mock type for the AutoUserProvisioningSettingClient type

func NewMockAutoUserProvisioningSettingClient

func NewMockAutoUserProvisioningSettingClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAutoUserProvisioningSettingClient

NewMockAutoUserProvisioningSettingClient creates a new instance of MockAutoUserProvisioningSettingClient. 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 (*MockAutoUserProvisioningSettingClient) EXPECT

func (*MockAutoUserProvisioningSettingClient) ReadAutoUserProvisioningSetting

ReadAutoUserProvisioningSetting provides a mock function with given fields:

func (*MockAutoUserProvisioningSettingClient) UpdateAutoUserProvisioningSetting

UpdateAutoUserProvisioningSetting provides a mock function with given fields: body

type MockAutoUserProvisioningSettingClient_Expecter

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

func (*MockAutoUserProvisioningSettingClient_Expecter) ReadAutoUserProvisioningSetting

ReadAutoUserProvisioningSetting is a helper method to define mock.On call

func (*MockAutoUserProvisioningSettingClient_Expecter) UpdateAutoUserProvisioningSetting

UpdateAutoUserProvisioningSetting is a helper method to define mock.On call

  • body *models.UpdateAutoUserProvisioningSettingV1Request

type MockAutoUserProvisioningSettingClient_ReadAutoUserProvisioningSetting_Call

type MockAutoUserProvisioningSettingClient_ReadAutoUserProvisioningSetting_Call struct {
	*mock.Call
}

MockAutoUserProvisioningSettingClient_ReadAutoUserProvisioningSetting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAutoUserProvisioningSetting'

func (*MockAutoUserProvisioningSettingClient_ReadAutoUserProvisioningSetting_Call) Run

type MockAutoUserProvisioningSettingClient_UpdateAutoUserProvisioningSetting_Call

type MockAutoUserProvisioningSettingClient_UpdateAutoUserProvisioningSetting_Call struct {
	*mock.Call
}

MockAutoUserProvisioningSettingClient_UpdateAutoUserProvisioningSetting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAutoUserProvisioningSetting'

type MockDynamoDBTableClient added in v0.7.0

type MockDynamoDBTableClient struct {
	mock.Mock
}

MockDynamoDBTableClient is an autogenerated mock type for the DynamoDBTableClient type

func NewMockDynamoDBTableClient added in v0.7.0

func NewMockDynamoDBTableClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDynamoDBTableClient

NewMockDynamoDBTableClient creates a new instance of MockDynamoDBTableClient. 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 (*MockDynamoDBTableClient) EXPECT added in v0.7.0

func (*MockDynamoDBTableClient) ListAwsDynamodbTables added in v0.7.0

func (_m *MockDynamoDBTableClient) ListAwsDynamodbTables(limit *int64, start *string, filter *string, embed *string, lookbackDays *int64) (*models.ListDynamoDBTableResponse, *apiutils.APIError)

ListAwsDynamodbTables provides a mock function with given fields: limit, start, filter, embed, lookbackDays

func (*MockDynamoDBTableClient) ReadAwsDynamodbTable added in v0.7.0

func (_m *MockDynamoDBTableClient) ReadAwsDynamodbTable(tableId string, lookbackDays *int64, embed *string) (*models.ReadDynamoDBTableResponse, *apiutils.APIError)

ReadAwsDynamodbTable provides a mock function with given fields: tableId, lookbackDays, embed

type MockDynamoDBTableClient_Expecter added in v0.7.0

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

func (*MockDynamoDBTableClient_Expecter) ListAwsDynamodbTables added in v0.7.0

func (_e *MockDynamoDBTableClient_Expecter) ListAwsDynamodbTables(limit interface{}, start interface{}, filter interface{}, embed interface{}, lookbackDays interface{}) *MockDynamoDBTableClient_ListAwsDynamodbTables_Call

ListAwsDynamodbTables is a helper method to define mock.On call

  • limit *int64
  • start *string
  • filter *string
  • embed *string
  • lookbackDays *int64

func (*MockDynamoDBTableClient_Expecter) ReadAwsDynamodbTable added in v0.7.0

func (_e *MockDynamoDBTableClient_Expecter) ReadAwsDynamodbTable(tableId interface{}, lookbackDays interface{}, embed interface{}) *MockDynamoDBTableClient_ReadAwsDynamodbTable_Call

ReadAwsDynamodbTable is a helper method to define mock.On call

  • tableId string
  • lookbackDays *int64
  • embed *string

type MockDynamoDBTableClient_ListAwsDynamodbTables_Call added in v0.7.0

type MockDynamoDBTableClient_ListAwsDynamodbTables_Call struct {
	*mock.Call
}

MockDynamoDBTableClient_ListAwsDynamodbTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAwsDynamodbTables'

func (*MockDynamoDBTableClient_ListAwsDynamodbTables_Call) Return added in v0.7.0

func (*MockDynamoDBTableClient_ListAwsDynamodbTables_Call) Run added in v0.7.0

func (*MockDynamoDBTableClient_ListAwsDynamodbTables_Call) RunAndReturn added in v0.7.0

type MockDynamoDBTableClient_ReadAwsDynamodbTable_Call added in v0.7.0

type MockDynamoDBTableClient_ReadAwsDynamodbTable_Call struct {
	*mock.Call
}

MockDynamoDBTableClient_ReadAwsDynamodbTable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAwsDynamodbTable'

func (*MockDynamoDBTableClient_ReadAwsDynamodbTable_Call) Return added in v0.7.0

func (*MockDynamoDBTableClient_ReadAwsDynamodbTable_Call) Run added in v0.7.0

func (*MockDynamoDBTableClient_ReadAwsDynamodbTable_Call) RunAndReturn added in v0.7.0

type MockOrganizationalUnitClient

type MockOrganizationalUnitClient struct {
	mock.Mock
}

MockOrganizationalUnitClient is an autogenerated mock type for the OrganizationalUnitClient type

func NewMockOrganizationalUnitClient

func NewMockOrganizationalUnitClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockOrganizationalUnitClient

NewMockOrganizationalUnitClient creates a new instance of MockOrganizationalUnitClient. 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 (*MockOrganizationalUnitClient) CreateOrganizationalUnit

CreateOrganizationalUnit provides a mock function with given fields: embed, body

func (*MockOrganizationalUnitClient) DeleteOrganizationalUnit

DeleteOrganizationalUnit provides a mock function with given fields: id, embed

func (*MockOrganizationalUnitClient) EXPECT

func (*MockOrganizationalUnitClient) ListOrganizationalUnits

func (_m *MockOrganizationalUnitClient) ListOrganizationalUnits(limit *int64, start *string, filter *string) (*models.ListOrganizationalUnitsResponse, *apiutils.APIError)

ListOrganizationalUnits provides a mock function with given fields: limit, start, filter

func (*MockOrganizationalUnitClient) PatchOrganizationalUnit

PatchOrganizationalUnit provides a mock function with given fields: id, embed, body

func (*MockOrganizationalUnitClient) ReadOrganizationalUnit

ReadOrganizationalUnit provides a mock function with given fields: id, embed

type MockOrganizationalUnitClient_CreateOrganizationalUnit_Call

type MockOrganizationalUnitClient_CreateOrganizationalUnit_Call struct {
	*mock.Call
}

MockOrganizationalUnitClient_CreateOrganizationalUnit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOrganizationalUnit'

func (*MockOrganizationalUnitClient_CreateOrganizationalUnit_Call) Run

type MockOrganizationalUnitClient_DeleteOrganizationalUnit_Call

type MockOrganizationalUnitClient_DeleteOrganizationalUnit_Call struct {
	*mock.Call
}

MockOrganizationalUnitClient_DeleteOrganizationalUnit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteOrganizationalUnit'

func (*MockOrganizationalUnitClient_DeleteOrganizationalUnit_Call) Run

type MockOrganizationalUnitClient_Expecter

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

func (*MockOrganizationalUnitClient_Expecter) CreateOrganizationalUnit

func (_e *MockOrganizationalUnitClient_Expecter) CreateOrganizationalUnit(embed interface{}, body interface{}) *MockOrganizationalUnitClient_CreateOrganizationalUnit_Call

CreateOrganizationalUnit is a helper method to define mock.On call

  • embed *string
  • body *models.CreateOrganizationalUnitV2Request

func (*MockOrganizationalUnitClient_Expecter) DeleteOrganizationalUnit

func (_e *MockOrganizationalUnitClient_Expecter) DeleteOrganizationalUnit(id interface{}, embed interface{}) *MockOrganizationalUnitClient_DeleteOrganizationalUnit_Call

DeleteOrganizationalUnit is a helper method to define mock.On call

  • id string
  • embed *string

func (*MockOrganizationalUnitClient_Expecter) ListOrganizationalUnits

func (_e *MockOrganizationalUnitClient_Expecter) ListOrganizationalUnits(limit interface{}, start interface{}, filter interface{}) *MockOrganizationalUnitClient_ListOrganizationalUnits_Call

ListOrganizationalUnits is a helper method to define mock.On call

  • limit *int64
  • start *string
  • filter *string

func (*MockOrganizationalUnitClient_Expecter) PatchOrganizationalUnit

func (_e *MockOrganizationalUnitClient_Expecter) PatchOrganizationalUnit(id interface{}, embed interface{}, body interface{}) *MockOrganizationalUnitClient_PatchOrganizationalUnit_Call

PatchOrganizationalUnit is a helper method to define mock.On call

  • id string
  • embed *string
  • body *models.PatchOrganizationalUnitV2Request

func (*MockOrganizationalUnitClient_Expecter) ReadOrganizationalUnit

func (_e *MockOrganizationalUnitClient_Expecter) ReadOrganizationalUnit(id interface{}, embed interface{}) *MockOrganizationalUnitClient_ReadOrganizationalUnit_Call

ReadOrganizationalUnit is a helper method to define mock.On call

  • id string
  • embed *string

type MockOrganizationalUnitClient_ListOrganizationalUnits_Call

type MockOrganizationalUnitClient_ListOrganizationalUnits_Call struct {
	*mock.Call
}

MockOrganizationalUnitClient_ListOrganizationalUnits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOrganizationalUnits'

func (*MockOrganizationalUnitClient_ListOrganizationalUnits_Call) Run

type MockOrganizationalUnitClient_PatchOrganizationalUnit_Call

type MockOrganizationalUnitClient_PatchOrganizationalUnit_Call struct {
	*mock.Call
}

MockOrganizationalUnitClient_PatchOrganizationalUnit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PatchOrganizationalUnit'

func (*MockOrganizationalUnitClient_PatchOrganizationalUnit_Call) Run

type MockOrganizationalUnitClient_ReadOrganizationalUnit_Call

type MockOrganizationalUnitClient_ReadOrganizationalUnit_Call struct {
	*mock.Call
}

MockOrganizationalUnitClient_ReadOrganizationalUnit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadOrganizationalUnit'

func (*MockOrganizationalUnitClient_ReadOrganizationalUnit_Call) Run

type MockPolicyAssignmentClient

type MockPolicyAssignmentClient struct {
	mock.Mock
}

MockPolicyAssignmentClient is an autogenerated mock type for the PolicyAssignmentClient type

func NewMockPolicyAssignmentClient

func NewMockPolicyAssignmentClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPolicyAssignmentClient

NewMockPolicyAssignmentClient creates a new instance of MockPolicyAssignmentClient. 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 (*MockPolicyAssignmentClient) EXPECT

func (*MockPolicyAssignmentClient) SetPolicyAssignments

SetPolicyAssignments provides a mock function with given fields: body

type MockPolicyAssignmentClient_Expecter

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

func (*MockPolicyAssignmentClient_Expecter) SetPolicyAssignments

SetPolicyAssignments is a helper method to define mock.On call

  • body *models.SetPolicyAssignmentsV1Request

type MockPolicyAssignmentClient_SetPolicyAssignments_Call

type MockPolicyAssignmentClient_SetPolicyAssignments_Call struct {
	*mock.Call
}

MockPolicyAssignmentClient_SetPolicyAssignments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPolicyAssignments'

func (*MockPolicyAssignmentClient_SetPolicyAssignments_Call) Run

type MockPolicyDefinitionClient

type MockPolicyDefinitionClient struct {
	mock.Mock
}

MockPolicyDefinitionClient is an autogenerated mock type for the PolicyDefinitionClient type

func NewMockPolicyDefinitionClient

func NewMockPolicyDefinitionClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPolicyDefinitionClient

NewMockPolicyDefinitionClient creates a new instance of MockPolicyDefinitionClient. 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 (*MockPolicyDefinitionClient) CreatePolicyDefinition

CreatePolicyDefinition provides a mock function with given fields: body

func (*MockPolicyDefinitionClient) DeletePolicyDefinition

func (_m *MockPolicyDefinitionClient) DeletePolicyDefinition(policyId string) (*models.DeletePolicyResponse, *apiutils.APIError)

DeletePolicyDefinition provides a mock function with given fields: policyId

func (*MockPolicyDefinitionClient) EXPECT

func (*MockPolicyDefinitionClient) ListPolicyDefinitions

func (_m *MockPolicyDefinitionClient) ListPolicyDefinitions(filter *string, embed *string) (*models.ListPoliciesResponse, *apiutils.APIError)

ListPolicyDefinitions provides a mock function with given fields: filter, embed

func (*MockPolicyDefinitionClient) ReadPolicyDefinition

func (_m *MockPolicyDefinitionClient) ReadPolicyDefinition(policyId string, embed *string) (*models.ReadPolicyResponse, *apiutils.APIError)

ReadPolicyDefinition provides a mock function with given fields: policyId, embed

func (*MockPolicyDefinitionClient) UpdatePolicyDefinition

UpdatePolicyDefinition provides a mock function with given fields: policyId, embed, body

type MockPolicyDefinitionClient_CreatePolicyDefinition_Call

type MockPolicyDefinitionClient_CreatePolicyDefinition_Call struct {
	*mock.Call
}

MockPolicyDefinitionClient_CreatePolicyDefinition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePolicyDefinition'

func (*MockPolicyDefinitionClient_CreatePolicyDefinition_Call) Run

type MockPolicyDefinitionClient_DeletePolicyDefinition_Call

type MockPolicyDefinitionClient_DeletePolicyDefinition_Call struct {
	*mock.Call
}

MockPolicyDefinitionClient_DeletePolicyDefinition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePolicyDefinition'

func (*MockPolicyDefinitionClient_DeletePolicyDefinition_Call) Run

func (*MockPolicyDefinitionClient_DeletePolicyDefinition_Call) RunAndReturn

type MockPolicyDefinitionClient_Expecter

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

func (*MockPolicyDefinitionClient_Expecter) CreatePolicyDefinition

CreatePolicyDefinition is a helper method to define mock.On call

  • body *models.CreatePolicyDefinitionV1Request

func (*MockPolicyDefinitionClient_Expecter) DeletePolicyDefinition

func (_e *MockPolicyDefinitionClient_Expecter) DeletePolicyDefinition(policyId interface{}) *MockPolicyDefinitionClient_DeletePolicyDefinition_Call

DeletePolicyDefinition is a helper method to define mock.On call

  • policyId string

func (*MockPolicyDefinitionClient_Expecter) ListPolicyDefinitions

func (_e *MockPolicyDefinitionClient_Expecter) ListPolicyDefinitions(filter interface{}, embed interface{}) *MockPolicyDefinitionClient_ListPolicyDefinitions_Call

ListPolicyDefinitions is a helper method to define mock.On call

  • filter *string
  • embed *string

func (*MockPolicyDefinitionClient_Expecter) ReadPolicyDefinition

func (_e *MockPolicyDefinitionClient_Expecter) ReadPolicyDefinition(policyId interface{}, embed interface{}) *MockPolicyDefinitionClient_ReadPolicyDefinition_Call

ReadPolicyDefinition is a helper method to define mock.On call

  • policyId string
  • embed *string

func (*MockPolicyDefinitionClient_Expecter) UpdatePolicyDefinition

func (_e *MockPolicyDefinitionClient_Expecter) UpdatePolicyDefinition(policyId interface{}, embed interface{}, body interface{}) *MockPolicyDefinitionClient_UpdatePolicyDefinition_Call

UpdatePolicyDefinition is a helper method to define mock.On call

  • policyId string
  • embed *string
  • body *models.UpdatePolicyDefinitionV1Request

type MockPolicyDefinitionClient_ListPolicyDefinitions_Call

type MockPolicyDefinitionClient_ListPolicyDefinitions_Call struct {
	*mock.Call
}

MockPolicyDefinitionClient_ListPolicyDefinitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPolicyDefinitions'

func (*MockPolicyDefinitionClient_ListPolicyDefinitions_Call) Run

func (*MockPolicyDefinitionClient_ListPolicyDefinitions_Call) RunAndReturn

type MockPolicyDefinitionClient_ReadPolicyDefinition_Call

type MockPolicyDefinitionClient_ReadPolicyDefinition_Call struct {
	*mock.Call
}

MockPolicyDefinitionClient_ReadPolicyDefinition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadPolicyDefinition'

func (*MockPolicyDefinitionClient_ReadPolicyDefinition_Call) Run

func (*MockPolicyDefinitionClient_ReadPolicyDefinition_Call) RunAndReturn

type MockPolicyDefinitionClient_UpdatePolicyDefinition_Call

type MockPolicyDefinitionClient_UpdatePolicyDefinition_Call struct {
	*mock.Call
}

MockPolicyDefinitionClient_UpdatePolicyDefinition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePolicyDefinition'

func (*MockPolicyDefinitionClient_UpdatePolicyDefinition_Call) Run

type MockPolicyRuleClient

type MockPolicyRuleClient struct {
	mock.Mock
}

MockPolicyRuleClient is an autogenerated mock type for the PolicyRuleClient type

func NewMockPolicyRuleClient

func NewMockPolicyRuleClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPolicyRuleClient

NewMockPolicyRuleClient creates a new instance of MockPolicyRuleClient. 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 (*MockPolicyRuleClient) CreatePolicyRule

CreatePolicyRule provides a mock function with given fields: body

func (*MockPolicyRuleClient) DeletePolicyRule

func (_m *MockPolicyRuleClient) DeletePolicyRule(ruleId string) (*models.DeleteRuleResponse, *apiutils.APIError)

DeletePolicyRule provides a mock function with given fields: ruleId

func (*MockPolicyRuleClient) EXPECT

func (*MockPolicyRuleClient) ListPolicyRules

func (_m *MockPolicyRuleClient) ListPolicyRules(limit *int64, start *string, organizationalUnitId *string, sort *string, filter *string) (*models.ListRulesResponse, *apiutils.APIError)

ListPolicyRules provides a mock function with given fields: limit, start, organizationalUnitId, sort, filter

func (*MockPolicyRuleClient) ReadPolicyRule

func (_m *MockPolicyRuleClient) ReadPolicyRule(ruleId string) (*models.ReadRuleResponse, *apiutils.APIError)

ReadPolicyRule provides a mock function with given fields: ruleId

func (*MockPolicyRuleClient) UpdatePolicyRule

UpdatePolicyRule provides a mock function with given fields: ruleId, body

type MockPolicyRuleClient_CreatePolicyRule_Call

type MockPolicyRuleClient_CreatePolicyRule_Call struct {
	*mock.Call
}

MockPolicyRuleClient_CreatePolicyRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePolicyRule'

func (*MockPolicyRuleClient_CreatePolicyRule_Call) Return

func (*MockPolicyRuleClient_CreatePolicyRule_Call) Run

type MockPolicyRuleClient_DeletePolicyRule_Call

type MockPolicyRuleClient_DeletePolicyRule_Call struct {
	*mock.Call
}

MockPolicyRuleClient_DeletePolicyRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePolicyRule'

func (*MockPolicyRuleClient_DeletePolicyRule_Call) Return

func (*MockPolicyRuleClient_DeletePolicyRule_Call) Run

func (*MockPolicyRuleClient_DeletePolicyRule_Call) RunAndReturn

type MockPolicyRuleClient_Expecter

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

func (*MockPolicyRuleClient_Expecter) CreatePolicyRule

func (_e *MockPolicyRuleClient_Expecter) CreatePolicyRule(body interface{}) *MockPolicyRuleClient_CreatePolicyRule_Call

CreatePolicyRule is a helper method to define mock.On call

  • body *models.CreatePolicyRuleV1Request

func (*MockPolicyRuleClient_Expecter) DeletePolicyRule

func (_e *MockPolicyRuleClient_Expecter) DeletePolicyRule(ruleId interface{}) *MockPolicyRuleClient_DeletePolicyRule_Call

DeletePolicyRule is a helper method to define mock.On call

  • ruleId string

func (*MockPolicyRuleClient_Expecter) ListPolicyRules

func (_e *MockPolicyRuleClient_Expecter) ListPolicyRules(limit interface{}, start interface{}, organizationalUnitId interface{}, sort interface{}, filter interface{}) *MockPolicyRuleClient_ListPolicyRules_Call

ListPolicyRules is a helper method to define mock.On call

  • limit *int64
  • start *string
  • organizationalUnitId *string
  • sort *string
  • filter *string

func (*MockPolicyRuleClient_Expecter) ReadPolicyRule

func (_e *MockPolicyRuleClient_Expecter) ReadPolicyRule(ruleId interface{}) *MockPolicyRuleClient_ReadPolicyRule_Call

ReadPolicyRule is a helper method to define mock.On call

  • ruleId string

func (*MockPolicyRuleClient_Expecter) UpdatePolicyRule

func (_e *MockPolicyRuleClient_Expecter) UpdatePolicyRule(ruleId interface{}, body interface{}) *MockPolicyRuleClient_UpdatePolicyRule_Call

UpdatePolicyRule is a helper method to define mock.On call

  • ruleId string
  • body *models.UpdatePolicyRuleV1Request

type MockPolicyRuleClient_ListPolicyRules_Call

type MockPolicyRuleClient_ListPolicyRules_Call struct {
	*mock.Call
}

MockPolicyRuleClient_ListPolicyRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPolicyRules'

func (*MockPolicyRuleClient_ListPolicyRules_Call) Return

func (*MockPolicyRuleClient_ListPolicyRules_Call) Run

func (_c *MockPolicyRuleClient_ListPolicyRules_Call) Run(run func(limit *int64, start *string, organizationalUnitId *string, sort *string, filter *string)) *MockPolicyRuleClient_ListPolicyRules_Call

func (*MockPolicyRuleClient_ListPolicyRules_Call) RunAndReturn

type MockPolicyRuleClient_ReadPolicyRule_Call

type MockPolicyRuleClient_ReadPolicyRule_Call struct {
	*mock.Call
}

MockPolicyRuleClient_ReadPolicyRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadPolicyRule'

func (*MockPolicyRuleClient_ReadPolicyRule_Call) Return

func (*MockPolicyRuleClient_ReadPolicyRule_Call) Run

func (*MockPolicyRuleClient_ReadPolicyRule_Call) RunAndReturn

type MockPolicyRuleClient_UpdatePolicyRule_Call

type MockPolicyRuleClient_UpdatePolicyRule_Call struct {
	*mock.Call
}

MockPolicyRuleClient_UpdatePolicyRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePolicyRule'

func (*MockPolicyRuleClient_UpdatePolicyRule_Call) Return

func (*MockPolicyRuleClient_UpdatePolicyRule_Call) Run

type MockPostProcessAWSConnectionClient

type MockPostProcessAWSConnectionClient struct {
	mock.Mock
}

MockPostProcessAWSConnectionClient is an autogenerated mock type for the PostProcessAWSConnectionClient type

func NewMockPostProcessAWSConnectionClient

func NewMockPostProcessAWSConnectionClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPostProcessAWSConnectionClient

NewMockPostProcessAWSConnectionClient creates a new instance of MockPostProcessAWSConnectionClient. 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 (*MockPostProcessAWSConnectionClient) EXPECT

func (*MockPostProcessAWSConnectionClient) PostProcessAwsConnection

func (_m *MockPostProcessAWSConnectionClient) PostProcessAwsConnection(body *models.PostProcessAwsConnectionV1Request) (interface{}, *apiutils.APIError)

PostProcessAwsConnection provides a mock function with given fields: body

type MockPostProcessAWSConnectionClient_Expecter

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

func (*MockPostProcessAWSConnectionClient_Expecter) PostProcessAwsConnection

PostProcessAwsConnection is a helper method to define mock.On call

  • body *models.PostProcessAwsConnectionV1Request

type MockPostProcessAWSConnectionClient_PostProcessAwsConnection_Call

type MockPostProcessAWSConnectionClient_PostProcessAwsConnection_Call struct {
	*mock.Call
}

MockPostProcessAWSConnectionClient_PostProcessAwsConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostProcessAwsConnection'

func (*MockPostProcessAWSConnectionClient_PostProcessAwsConnection_Call) Return

func (*MockPostProcessAWSConnectionClient_PostProcessAwsConnection_Call) RunAndReturn

type MockPostProcessKMSClient

type MockPostProcessKMSClient struct {
	mock.Mock
}

MockPostProcessKMSClient is an autogenerated mock type for the PostProcessKMSClient type

func NewMockPostProcessKMSClient

func NewMockPostProcessKMSClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPostProcessKMSClient

NewMockPostProcessKMSClient creates a new instance of MockPostProcessKMSClient. 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 (*MockPostProcessKMSClient) EXPECT

func (*MockPostProcessKMSClient) PostProcessKms

func (_m *MockPostProcessKMSClient) PostProcessKms(body *models.PostProcessKmsV1Request) (interface{}, *apiutils.APIError)

PostProcessKms provides a mock function with given fields: body

type MockPostProcessKMSClient_Expecter

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

func (*MockPostProcessKMSClient_Expecter) PostProcessKms

PostProcessKms is a helper method to define mock.On call

  • body *models.PostProcessKmsV1Request

type MockPostProcessKMSClient_PostProcessKms_Call

type MockPostProcessKMSClient_PostProcessKms_Call struct {
	*mock.Call
}

MockPostProcessKMSClient_PostProcessKms_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostProcessKms'

func (*MockPostProcessKMSClient_PostProcessKms_Call) Return

func (*MockPostProcessKMSClient_PostProcessKms_Call) Run

func (*MockPostProcessKMSClient_PostProcessKms_Call) RunAndReturn

type MockProtectionGroupClient

type MockProtectionGroupClient struct {
	mock.Mock
}

MockProtectionGroupClient is an autogenerated mock type for the ProtectionGroupClient type

func NewMockProtectionGroupClient

func NewMockProtectionGroupClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockProtectionGroupClient

NewMockProtectionGroupClient creates a new instance of MockProtectionGroupClient. 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 (*MockProtectionGroupClient) AddBucketProtectionGroup

AddBucketProtectionGroup provides a mock function with given fields: groupId, body

func (*MockProtectionGroupClient) CreateProtectionGroup

CreateProtectionGroup provides a mock function with given fields: body

func (*MockProtectionGroupClient) DeleteBucketProtectionGroup

func (_m *MockProtectionGroupClient) DeleteBucketProtectionGroup(groupId string, bucketId string) (*models.DeleteBucketFromProtectionGroupResponse, *apiutils.APIError)

DeleteBucketProtectionGroup provides a mock function with given fields: groupId, bucketId

func (*MockProtectionGroupClient) DeleteProtectionGroup

func (_m *MockProtectionGroupClient) DeleteProtectionGroup(groupId string) (interface{}, *apiutils.APIError)

DeleteProtectionGroup provides a mock function with given fields: groupId

func (*MockProtectionGroupClient) EXPECT

func (*MockProtectionGroupClient) ListProtectionGroups

func (_m *MockProtectionGroupClient) ListProtectionGroups(limit *int64, start *string, filter *string, lookbackDays *int64) (*models.ListProtectionGroupsResponse, *apiutils.APIError)

ListProtectionGroups provides a mock function with given fields: limit, start, filter, lookbackDays

func (*MockProtectionGroupClient) ReadProtectionGroup

func (_m *MockProtectionGroupClient) ReadProtectionGroup(groupId string, lookbackDays *int64) (*models.ReadProtectionGroupResponse, *apiutils.APIError)

ReadProtectionGroup provides a mock function with given fields: groupId, lookbackDays

func (*MockProtectionGroupClient) UpdateProtectionGroup

UpdateProtectionGroup provides a mock function with given fields: groupId, body

type MockProtectionGroupClient_AddBucketProtectionGroup_Call

type MockProtectionGroupClient_AddBucketProtectionGroup_Call struct {
	*mock.Call
}

MockProtectionGroupClient_AddBucketProtectionGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBucketProtectionGroup'

func (*MockProtectionGroupClient_AddBucketProtectionGroup_Call) Run

type MockProtectionGroupClient_CreateProtectionGroup_Call

type MockProtectionGroupClient_CreateProtectionGroup_Call struct {
	*mock.Call
}

MockProtectionGroupClient_CreateProtectionGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateProtectionGroup'

func (*MockProtectionGroupClient_CreateProtectionGroup_Call) Run

type MockProtectionGroupClient_DeleteBucketProtectionGroup_Call

type MockProtectionGroupClient_DeleteBucketProtectionGroup_Call struct {
	*mock.Call
}

MockProtectionGroupClient_DeleteBucketProtectionGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteBucketProtectionGroup'

func (*MockProtectionGroupClient_DeleteBucketProtectionGroup_Call) Run

type MockProtectionGroupClient_DeleteProtectionGroup_Call

type MockProtectionGroupClient_DeleteProtectionGroup_Call struct {
	*mock.Call
}

MockProtectionGroupClient_DeleteProtectionGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteProtectionGroup'

func (*MockProtectionGroupClient_DeleteProtectionGroup_Call) Return

func (*MockProtectionGroupClient_DeleteProtectionGroup_Call) Run

func (*MockProtectionGroupClient_DeleteProtectionGroup_Call) RunAndReturn

type MockProtectionGroupClient_Expecter

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

func (*MockProtectionGroupClient_Expecter) AddBucketProtectionGroup

func (_e *MockProtectionGroupClient_Expecter) AddBucketProtectionGroup(groupId interface{}, body interface{}) *MockProtectionGroupClient_AddBucketProtectionGroup_Call

AddBucketProtectionGroup is a helper method to define mock.On call

  • groupId string
  • body models.AddBucketProtectionGroupV1Request

func (*MockProtectionGroupClient_Expecter) CreateProtectionGroup

CreateProtectionGroup is a helper method to define mock.On call

  • body models.CreateProtectionGroupV1Request

func (*MockProtectionGroupClient_Expecter) DeleteBucketProtectionGroup

func (_e *MockProtectionGroupClient_Expecter) DeleteBucketProtectionGroup(groupId interface{}, bucketId interface{}) *MockProtectionGroupClient_DeleteBucketProtectionGroup_Call

DeleteBucketProtectionGroup is a helper method to define mock.On call

  • groupId string
  • bucketId string

func (*MockProtectionGroupClient_Expecter) DeleteProtectionGroup

func (_e *MockProtectionGroupClient_Expecter) DeleteProtectionGroup(groupId interface{}) *MockProtectionGroupClient_DeleteProtectionGroup_Call

DeleteProtectionGroup is a helper method to define mock.On call

  • groupId string

func (*MockProtectionGroupClient_Expecter) ListProtectionGroups

func (_e *MockProtectionGroupClient_Expecter) ListProtectionGroups(limit interface{}, start interface{}, filter interface{}, lookbackDays interface{}) *MockProtectionGroupClient_ListProtectionGroups_Call

ListProtectionGroups is a helper method to define mock.On call

  • limit *int64
  • start *string
  • filter *string
  • lookbackDays *int64

func (*MockProtectionGroupClient_Expecter) ReadProtectionGroup

func (_e *MockProtectionGroupClient_Expecter) ReadProtectionGroup(groupId interface{}, lookbackDays interface{}) *MockProtectionGroupClient_ReadProtectionGroup_Call

ReadProtectionGroup is a helper method to define mock.On call

  • groupId string
  • lookbackDays *int64

func (*MockProtectionGroupClient_Expecter) UpdateProtectionGroup

func (_e *MockProtectionGroupClient_Expecter) UpdateProtectionGroup(groupId interface{}, body interface{}) *MockProtectionGroupClient_UpdateProtectionGroup_Call

UpdateProtectionGroup is a helper method to define mock.On call

  • groupId string
  • body *models.UpdateProtectionGroupV1Request

type MockProtectionGroupClient_ListProtectionGroups_Call

type MockProtectionGroupClient_ListProtectionGroups_Call struct {
	*mock.Call
}

MockProtectionGroupClient_ListProtectionGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListProtectionGroups'

func (*MockProtectionGroupClient_ListProtectionGroups_Call) Run

type MockProtectionGroupClient_ReadProtectionGroup_Call

type MockProtectionGroupClient_ReadProtectionGroup_Call struct {
	*mock.Call
}

MockProtectionGroupClient_ReadProtectionGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadProtectionGroup'

func (*MockProtectionGroupClient_ReadProtectionGroup_Call) Run

type MockProtectionGroupClient_UpdateProtectionGroup_Call

type MockProtectionGroupClient_UpdateProtectionGroup_Call struct {
	*mock.Call
}

MockProtectionGroupClient_UpdateProtectionGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateProtectionGroup'

func (*MockProtectionGroupClient_UpdateProtectionGroup_Call) Run

type MockProtectionGroupS3AssetsClient added in v0.9.0

type MockProtectionGroupS3AssetsClient struct {
	mock.Mock
}

MockProtectionGroupS3AssetsClient is an autogenerated mock type for the ProtectionGroupS3AssetsClient type

func NewMockProtectionGroupS3AssetsClient added in v0.9.0

func NewMockProtectionGroupS3AssetsClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockProtectionGroupS3AssetsClient

NewMockProtectionGroupS3AssetsClient creates a new instance of MockProtectionGroupS3AssetsClient. 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 (*MockProtectionGroupS3AssetsClient) EXPECT added in v0.9.0

func (*MockProtectionGroupS3AssetsClient) ListProtectionGroupS3Assets added in v0.9.0

func (_m *MockProtectionGroupS3AssetsClient) ListProtectionGroupS3Assets(limit *int64, start *string, filter *string, lookbackDays *int64) (*models.ListProtectionGroupS3AssetsResponse, *apiutils.APIError)

ListProtectionGroupS3Assets provides a mock function with given fields: limit, start, filter, lookbackDays

func (*MockProtectionGroupS3AssetsClient) ReadProtectionGroupS3Asset added in v0.9.0

func (_m *MockProtectionGroupS3AssetsClient) ReadProtectionGroupS3Asset(protectionGroupS3AssetId string, lookbackDays *int64) (*models.ReadProtectionGroupS3AssetResponse, *apiutils.APIError)

ReadProtectionGroupS3Asset provides a mock function with given fields: protectionGroupS3AssetId, lookbackDays

func (*MockProtectionGroupS3AssetsClient) ReadProtectionGroupS3AssetContinuousBackupStats added in v0.9.0

func (_m *MockProtectionGroupS3AssetsClient) ReadProtectionGroupS3AssetContinuousBackupStats(protectionGroupS3AssetId string, bucketName *string, bucketId *string, beginTimestamp string, endTimestamp string, interval *string) (*models.ReadProtectionGroupS3AssetContinuousBackupStatsResponse, *apiutils.APIError)

ReadProtectionGroupS3AssetContinuousBackupStats provides a mock function with given fields: protectionGroupS3AssetId, bucketName, bucketId, beginTimestamp, endTimestamp, interval

type MockProtectionGroupS3AssetsClient_Expecter added in v0.9.0

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

func (*MockProtectionGroupS3AssetsClient_Expecter) ListProtectionGroupS3Assets added in v0.9.0

func (_e *MockProtectionGroupS3AssetsClient_Expecter) ListProtectionGroupS3Assets(limit interface{}, start interface{}, filter interface{}, lookbackDays interface{}) *MockProtectionGroupS3AssetsClient_ListProtectionGroupS3Assets_Call

ListProtectionGroupS3Assets is a helper method to define mock.On call

  • limit *int64
  • start *string
  • filter *string
  • lookbackDays *int64

func (*MockProtectionGroupS3AssetsClient_Expecter) ReadProtectionGroupS3Asset added in v0.9.0

func (_e *MockProtectionGroupS3AssetsClient_Expecter) ReadProtectionGroupS3Asset(protectionGroupS3AssetId interface{}, lookbackDays interface{}) *MockProtectionGroupS3AssetsClient_ReadProtectionGroupS3Asset_Call

ReadProtectionGroupS3Asset is a helper method to define mock.On call

  • protectionGroupS3AssetId string
  • lookbackDays *int64

func (*MockProtectionGroupS3AssetsClient_Expecter) ReadProtectionGroupS3AssetContinuousBackupStats added in v0.9.0

func (_e *MockProtectionGroupS3AssetsClient_Expecter) ReadProtectionGroupS3AssetContinuousBackupStats(protectionGroupS3AssetId interface{}, bucketName interface{}, bucketId interface{}, beginTimestamp interface{}, endTimestamp interface{}, interval interface{}) *MockProtectionGroupS3AssetsClient_ReadProtectionGroupS3AssetContinuousBackupStats_Call

ReadProtectionGroupS3AssetContinuousBackupStats is a helper method to define mock.On call

  • protectionGroupS3AssetId string
  • bucketName *string
  • bucketId *string
  • beginTimestamp string
  • endTimestamp string
  • interval *string

type MockProtectionGroupS3AssetsClient_ListProtectionGroupS3Assets_Call added in v0.9.0

type MockProtectionGroupS3AssetsClient_ListProtectionGroupS3Assets_Call struct {
	*mock.Call
}

MockProtectionGroupS3AssetsClient_ListProtectionGroupS3Assets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListProtectionGroupS3Assets'

func (*MockProtectionGroupS3AssetsClient_ListProtectionGroupS3Assets_Call) Run added in v0.9.0

func (*MockProtectionGroupS3AssetsClient_ListProtectionGroupS3Assets_Call) RunAndReturn added in v0.9.0

type MockProtectionGroupS3AssetsClient_ReadProtectionGroupS3AssetContinuousBackupStats_Call added in v0.9.0

type MockProtectionGroupS3AssetsClient_ReadProtectionGroupS3AssetContinuousBackupStats_Call struct {
	*mock.Call
}

MockProtectionGroupS3AssetsClient_ReadProtectionGroupS3AssetContinuousBackupStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadProtectionGroupS3AssetContinuousBackupStats'

func (*MockProtectionGroupS3AssetsClient_ReadProtectionGroupS3AssetContinuousBackupStats_Call) Run added in v0.9.0

type MockProtectionGroupS3AssetsClient_ReadProtectionGroupS3Asset_Call added in v0.9.0

type MockProtectionGroupS3AssetsClient_ReadProtectionGroupS3Asset_Call struct {
	*mock.Call
}

MockProtectionGroupS3AssetsClient_ReadProtectionGroupS3Asset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadProtectionGroupS3Asset'

func (*MockProtectionGroupS3AssetsClient_ReadProtectionGroupS3Asset_Call) Return added in v0.9.0

func (*MockProtectionGroupS3AssetsClient_ReadProtectionGroupS3Asset_Call) Run added in v0.9.0

func (*MockProtectionGroupS3AssetsClient_ReadProtectionGroupS3Asset_Call) RunAndReturn added in v0.9.0

type MockRoleClient

type MockRoleClient struct {
	mock.Mock
}

MockRoleClient is an autogenerated mock type for the RoleClient type

func NewMockRoleClient

func NewMockRoleClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRoleClient

NewMockRoleClient creates a new instance of MockRoleClient. 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 (*MockRoleClient) EXPECT

func (*MockRoleClient) ListRoles

ListRoles provides a mock function with given fields:

func (*MockRoleClient) ReadRole

func (_m *MockRoleClient) ReadRole(roleId string) (*models.ReadRoleResponse, *apiutils.APIError)

ReadRole provides a mock function with given fields: roleId

type MockRoleClient_Expecter

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

func (*MockRoleClient_Expecter) ListRoles

ListRoles is a helper method to define mock.On call

func (*MockRoleClient_Expecter) ReadRole

func (_e *MockRoleClient_Expecter) ReadRole(roleId interface{}) *MockRoleClient_ReadRole_Call

ReadRole is a helper method to define mock.On call

  • roleId string

type MockRoleClient_ListRoles_Call

type MockRoleClient_ListRoles_Call struct {
	*mock.Call
}

MockRoleClient_ListRoles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRoles'

func (*MockRoleClient_ListRoles_Call) Return

func (*MockRoleClient_ListRoles_Call) Run

func (*MockRoleClient_ListRoles_Call) RunAndReturn

type MockRoleClient_ReadRole_Call

type MockRoleClient_ReadRole_Call struct {
	*mock.Call
}

MockRoleClient_ReadRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadRole'

func (*MockRoleClient_ReadRole_Call) Return

func (*MockRoleClient_ReadRole_Call) Run

func (*MockRoleClient_ReadRole_Call) RunAndReturn

type MockS3BucketClient added in v0.6.2

type MockS3BucketClient struct {
	mock.Mock
}

MockS3BucketClient is an autogenerated mock type for the S3BucketClient type

func NewMockS3BucketClient added in v0.6.2

func NewMockS3BucketClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockS3BucketClient

NewMockS3BucketClient creates a new instance of MockS3BucketClient. 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 (*MockS3BucketClient) EXPECT added in v0.6.2

func (*MockS3BucketClient) ListAwsS3Buckets added in v0.6.2

func (_m *MockS3BucketClient) ListAwsS3Buckets(limit *int64, start *string, filter *string) (*models.ListBucketsResponse, *apiutils.APIError)

ListAwsS3Buckets provides a mock function with given fields: limit, start, filter

func (*MockS3BucketClient) ReadAwsS3Bucket added in v0.6.2

func (_m *MockS3BucketClient) ReadAwsS3Bucket(bucketId string) (*models.ReadBucketResponse, *apiutils.APIError)

ReadAwsS3Bucket provides a mock function with given fields: bucketId

func (*MockS3BucketClient) SetBucketProperties added in v0.6.2

SetBucketProperties provides a mock function with given fields: bucketId, body

type MockS3BucketClient_Expecter added in v0.6.2

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

func (*MockS3BucketClient_Expecter) ListAwsS3Buckets added in v0.6.2

func (_e *MockS3BucketClient_Expecter) ListAwsS3Buckets(limit interface{}, start interface{}, filter interface{}) *MockS3BucketClient_ListAwsS3Buckets_Call

ListAwsS3Buckets is a helper method to define mock.On call

  • limit *int64
  • start *string
  • filter *string

func (*MockS3BucketClient_Expecter) ReadAwsS3Bucket added in v0.6.2

func (_e *MockS3BucketClient_Expecter) ReadAwsS3Bucket(bucketId interface{}) *MockS3BucketClient_ReadAwsS3Bucket_Call

ReadAwsS3Bucket is a helper method to define mock.On call

  • bucketId string

func (*MockS3BucketClient_Expecter) SetBucketProperties added in v0.6.2

func (_e *MockS3BucketClient_Expecter) SetBucketProperties(bucketId interface{}, body interface{}) *MockS3BucketClient_SetBucketProperties_Call

SetBucketProperties is a helper method to define mock.On call

  • bucketId string
  • body *models.SetBucketPropertiesV1Request

type MockS3BucketClient_ListAwsS3Buckets_Call added in v0.6.2

type MockS3BucketClient_ListAwsS3Buckets_Call struct {
	*mock.Call
}

MockS3BucketClient_ListAwsS3Buckets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAwsS3Buckets'

func (*MockS3BucketClient_ListAwsS3Buckets_Call) Return added in v0.6.2

func (*MockS3BucketClient_ListAwsS3Buckets_Call) Run added in v0.6.2

func (*MockS3BucketClient_ListAwsS3Buckets_Call) RunAndReturn added in v0.6.2

type MockS3BucketClient_ReadAwsS3Bucket_Call added in v0.6.2

type MockS3BucketClient_ReadAwsS3Bucket_Call struct {
	*mock.Call
}

MockS3BucketClient_ReadAwsS3Bucket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAwsS3Bucket'

func (*MockS3BucketClient_ReadAwsS3Bucket_Call) Return added in v0.6.2

func (*MockS3BucketClient_ReadAwsS3Bucket_Call) Run added in v0.6.2

func (*MockS3BucketClient_ReadAwsS3Bucket_Call) RunAndReturn added in v0.6.2

type MockS3BucketClient_SetBucketProperties_Call added in v0.6.2

type MockS3BucketClient_SetBucketProperties_Call struct {
	*mock.Call
}

MockS3BucketClient_SetBucketProperties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetBucketProperties'

func (*MockS3BucketClient_SetBucketProperties_Call) Return added in v0.6.2

func (*MockS3BucketClient_SetBucketProperties_Call) Run added in v0.6.2

type MockTaskClient

type MockTaskClient struct {
	mock.Mock
}

MockTaskClient is an autogenerated mock type for the TaskClient type

func NewMockTaskClient

func NewMockTaskClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockTaskClient

NewMockTaskClient creates a new instance of MockTaskClient. 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 (*MockTaskClient) EXPECT

func (*MockTaskClient) ListTasks

func (_m *MockTaskClient) ListTasks(limit *int64, start *string, filter *string) (*models.ListTasksResponse, *apiutils.APIError)

ListTasks provides a mock function with given fields: limit, start, filter

func (*MockTaskClient) ReadTask

func (_m *MockTaskClient) ReadTask(taskId string) (*models.ReadTaskResponse, *apiutils.APIError)

ReadTask provides a mock function with given fields: taskId

func (*MockTaskClient) UpdateTask

UpdateTask provides a mock function with given fields: taskId, body

type MockTaskClient_Expecter

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

func (*MockTaskClient_Expecter) ListTasks

func (_e *MockTaskClient_Expecter) ListTasks(limit interface{}, start interface{}, filter interface{}) *MockTaskClient_ListTasks_Call

ListTasks is a helper method to define mock.On call

  • limit *int64
  • start *string
  • filter *string

func (*MockTaskClient_Expecter) ReadTask

func (_e *MockTaskClient_Expecter) ReadTask(taskId interface{}) *MockTaskClient_ReadTask_Call

ReadTask is a helper method to define mock.On call

  • taskId string

func (*MockTaskClient_Expecter) UpdateTask

func (_e *MockTaskClient_Expecter) UpdateTask(taskId interface{}, body interface{}) *MockTaskClient_UpdateTask_Call

UpdateTask is a helper method to define mock.On call

  • taskId string
  • body *models.UpdateTaskV1Request

type MockTaskClient_ListTasks_Call

type MockTaskClient_ListTasks_Call struct {
	*mock.Call
}

MockTaskClient_ListTasks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTasks'

func (*MockTaskClient_ListTasks_Call) Return

func (*MockTaskClient_ListTasks_Call) Run

func (_c *MockTaskClient_ListTasks_Call) Run(run func(limit *int64, start *string, filter *string)) *MockTaskClient_ListTasks_Call

func (*MockTaskClient_ListTasks_Call) RunAndReturn

type MockTaskClient_ReadTask_Call

type MockTaskClient_ReadTask_Call struct {
	*mock.Call
}

MockTaskClient_ReadTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadTask'

func (*MockTaskClient_ReadTask_Call) Return

func (*MockTaskClient_ReadTask_Call) Run

func (*MockTaskClient_ReadTask_Call) RunAndReturn

type MockTaskClient_UpdateTask_Call

type MockTaskClient_UpdateTask_Call struct {
	*mock.Call
}

MockTaskClient_UpdateTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTask'

func (*MockTaskClient_UpdateTask_Call) Return

func (*MockTaskClient_UpdateTask_Call) Run

type MockUserClient

type MockUserClient struct {
	mock.Mock
}

MockUserClient is an autogenerated mock type for the UserClient type

func NewMockUserClient

func NewMockUserClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockUserClient

NewMockUserClient creates a new instance of MockUserClient. 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 (*MockUserClient) ChangePassword

ChangePassword provides a mock function with given fields: body

func (*MockUserClient) CreateUser

CreateUser provides a mock function with given fields: body

func (*MockUserClient) DeleteUser

func (_m *MockUserClient) DeleteUser(userId int64) (interface{}, *apiutils.APIError)

DeleteUser provides a mock function with given fields: userId

func (*MockUserClient) EXPECT

func (*MockUserClient) ListUsers

func (_m *MockUserClient) ListUsers(limit *int64, start *string, filter *string) (*models.ListUsersResponse, *apiutils.APIError)

ListUsers provides a mock function with given fields: limit, start, filter

func (*MockUserClient) ReadUser

func (_m *MockUserClient) ReadUser(userId int64) (*models.ReadUserResponse, *apiutils.APIError)

ReadUser provides a mock function with given fields: userId

func (*MockUserClient) UpdateUser

UpdateUser provides a mock function with given fields: userId, body

func (*MockUserClient) UpdateUserProfile

UpdateUserProfile provides a mock function with given fields: body

type MockUserClient_ChangePassword_Call

type MockUserClient_ChangePassword_Call struct {
	*mock.Call
}

MockUserClient_ChangePassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChangePassword'

func (*MockUserClient_ChangePassword_Call) Return

func (*MockUserClient_ChangePassword_Call) Run

type MockUserClient_CreateUser_Call

type MockUserClient_CreateUser_Call struct {
	*mock.Call
}

MockUserClient_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser'

func (*MockUserClient_CreateUser_Call) Return

func (*MockUserClient_CreateUser_Call) Run

type MockUserClient_DeleteUser_Call

type MockUserClient_DeleteUser_Call struct {
	*mock.Call
}

MockUserClient_DeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUser'

func (*MockUserClient_DeleteUser_Call) Return

func (*MockUserClient_DeleteUser_Call) Run

func (*MockUserClient_DeleteUser_Call) RunAndReturn

func (_c *MockUserClient_DeleteUser_Call) RunAndReturn(run func(int64) (interface{}, *apiutils.APIError)) *MockUserClient_DeleteUser_Call

type MockUserClient_Expecter

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

func (*MockUserClient_Expecter) ChangePassword

func (_e *MockUserClient_Expecter) ChangePassword(body interface{}) *MockUserClient_ChangePassword_Call

ChangePassword is a helper method to define mock.On call

  • body *models.ChangePasswordV2Request

func (*MockUserClient_Expecter) CreateUser

func (_e *MockUserClient_Expecter) CreateUser(body interface{}) *MockUserClient_CreateUser_Call

CreateUser is a helper method to define mock.On call

  • body *models.CreateUserV2Request

func (*MockUserClient_Expecter) DeleteUser

func (_e *MockUserClient_Expecter) DeleteUser(userId interface{}) *MockUserClient_DeleteUser_Call

DeleteUser is a helper method to define mock.On call

  • userId int64

func (*MockUserClient_Expecter) ListUsers

func (_e *MockUserClient_Expecter) ListUsers(limit interface{}, start interface{}, filter interface{}) *MockUserClient_ListUsers_Call

ListUsers is a helper method to define mock.On call

  • limit *int64
  • start *string
  • filter *string

func (*MockUserClient_Expecter) ReadUser

func (_e *MockUserClient_Expecter) ReadUser(userId interface{}) *MockUserClient_ReadUser_Call

ReadUser is a helper method to define mock.On call

  • userId int64

func (*MockUserClient_Expecter) UpdateUser

func (_e *MockUserClient_Expecter) UpdateUser(userId interface{}, body interface{}) *MockUserClient_UpdateUser_Call

UpdateUser is a helper method to define mock.On call

  • userId int64
  • body *models.UpdateUserV2Request

func (*MockUserClient_Expecter) UpdateUserProfile

func (_e *MockUserClient_Expecter) UpdateUserProfile(body interface{}) *MockUserClient_UpdateUserProfile_Call

UpdateUserProfile is a helper method to define mock.On call

  • body *models.UpdateUserProfileV2Request

type MockUserClient_ListUsers_Call

type MockUserClient_ListUsers_Call struct {
	*mock.Call
}

MockUserClient_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers'

func (*MockUserClient_ListUsers_Call) Return

func (*MockUserClient_ListUsers_Call) Run

func (_c *MockUserClient_ListUsers_Call) Run(run func(limit *int64, start *string, filter *string)) *MockUserClient_ListUsers_Call

func (*MockUserClient_ListUsers_Call) RunAndReturn

type MockUserClient_ReadUser_Call

type MockUserClient_ReadUser_Call struct {
	*mock.Call
}

MockUserClient_ReadUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadUser'

func (*MockUserClient_ReadUser_Call) Return

func (*MockUserClient_ReadUser_Call) Run

func (*MockUserClient_ReadUser_Call) RunAndReturn

type MockUserClient_UpdateUserProfile_Call

type MockUserClient_UpdateUserProfile_Call struct {
	*mock.Call
}

MockUserClient_UpdateUserProfile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUserProfile'

func (*MockUserClient_UpdateUserProfile_Call) Return

func (*MockUserClient_UpdateUserProfile_Call) Run

type MockUserClient_UpdateUser_Call

type MockUserClient_UpdateUser_Call struct {
	*mock.Call
}

MockUserClient_UpdateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUser'

func (*MockUserClient_UpdateUser_Call) Return

func (*MockUserClient_UpdateUser_Call) Run

type MockWalletClient

type MockWalletClient struct {
	mock.Mock
}

MockWalletClient is an autogenerated mock type for the WalletClient type

func NewMockWalletClient

func NewMockWalletClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockWalletClient

NewMockWalletClient creates a new instance of MockWalletClient. 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 (*MockWalletClient) CreateWallet

CreateWallet provides a mock function with given fields: body

func (*MockWalletClient) DeleteWallet

func (_m *MockWalletClient) DeleteWallet(walletId string) (interface{}, *apiutils.APIError)

DeleteWallet provides a mock function with given fields: walletId

func (*MockWalletClient) EXPECT

func (*MockWalletClient) ListWallets

func (_m *MockWalletClient) ListWallets(limit *int64, start *string) (*models.ListWalletsResponse, *apiutils.APIError)

ListWallets provides a mock function with given fields: limit, start

func (*MockWalletClient) ReadWallet

func (_m *MockWalletClient) ReadWallet(walletId string) (*models.ReadWalletResponse, *apiutils.APIError)

ReadWallet provides a mock function with given fields: walletId

func (*MockWalletClient) RefreshWallet

func (_m *MockWalletClient) RefreshWallet(walletId string) (*models.RefreshWalletResponse, *apiutils.APIError)

RefreshWallet provides a mock function with given fields: walletId

type MockWalletClient_CreateWallet_Call

type MockWalletClient_CreateWallet_Call struct {
	*mock.Call
}

MockWalletClient_CreateWallet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateWallet'

func (*MockWalletClient_CreateWallet_Call) Return

func (*MockWalletClient_CreateWallet_Call) Run

type MockWalletClient_DeleteWallet_Call

type MockWalletClient_DeleteWallet_Call struct {
	*mock.Call
}

MockWalletClient_DeleteWallet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteWallet'

func (*MockWalletClient_DeleteWallet_Call) Return

func (*MockWalletClient_DeleteWallet_Call) Run

func (*MockWalletClient_DeleteWallet_Call) RunAndReturn

type MockWalletClient_Expecter

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

func (*MockWalletClient_Expecter) CreateWallet

func (_e *MockWalletClient_Expecter) CreateWallet(body interface{}) *MockWalletClient_CreateWallet_Call

CreateWallet is a helper method to define mock.On call

  • body *models.CreateWalletV1Request

func (*MockWalletClient_Expecter) DeleteWallet

func (_e *MockWalletClient_Expecter) DeleteWallet(walletId interface{}) *MockWalletClient_DeleteWallet_Call

DeleteWallet is a helper method to define mock.On call

  • walletId string

func (*MockWalletClient_Expecter) ListWallets

func (_e *MockWalletClient_Expecter) ListWallets(limit interface{}, start interface{}) *MockWalletClient_ListWallets_Call

ListWallets is a helper method to define mock.On call

  • limit *int64
  • start *string

func (*MockWalletClient_Expecter) ReadWallet

func (_e *MockWalletClient_Expecter) ReadWallet(walletId interface{}) *MockWalletClient_ReadWallet_Call

ReadWallet is a helper method to define mock.On call

  • walletId string

func (*MockWalletClient_Expecter) RefreshWallet

func (_e *MockWalletClient_Expecter) RefreshWallet(walletId interface{}) *MockWalletClient_RefreshWallet_Call

RefreshWallet is a helper method to define mock.On call

  • walletId string

type MockWalletClient_ListWallets_Call

type MockWalletClient_ListWallets_Call struct {
	*mock.Call
}

MockWalletClient_ListWallets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWallets'

func (*MockWalletClient_ListWallets_Call) Return

func (*MockWalletClient_ListWallets_Call) Run

func (*MockWalletClient_ListWallets_Call) RunAndReturn

type MockWalletClient_ReadWallet_Call

type MockWalletClient_ReadWallet_Call struct {
	*mock.Call
}

MockWalletClient_ReadWallet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadWallet'

func (*MockWalletClient_ReadWallet_Call) Return

func (*MockWalletClient_ReadWallet_Call) Run

func (*MockWalletClient_ReadWallet_Call) RunAndReturn

type MockWalletClient_RefreshWallet_Call

type MockWalletClient_RefreshWallet_Call struct {
	*mock.Call
}

MockWalletClient_RefreshWallet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshWallet'

func (*MockWalletClient_RefreshWallet_Call) Return

func (*MockWalletClient_RefreshWallet_Call) Run

func (*MockWalletClient_RefreshWallet_Call) RunAndReturn

type OrganizationalUnitClient

type OrganizationalUnitClient interface {
	organizationalunits.OrganizationalUnitsV2Client
}

func NewOrganizationalUnitClient

func NewOrganizationalUnitClient(config config.Config) OrganizationalUnitClient

type PolicyAssignmentClient

type PolicyAssignmentClient interface {
	sdkpolicyassignments.PolicyAssignmentsV1Client
}

func NewPolicyAssignmentClient

func NewPolicyAssignmentClient(config sdkconfig.Config) PolicyAssignmentClient

type PolicyDefinitionClient

type PolicyDefinitionClient interface {
	sdkPolicyDefinitions.PolicyDefinitionsV1Client
}

func NewPolicyDefinitionClient

func NewPolicyDefinitionClient(config config.Config) PolicyDefinitionClient

type PolicyRuleClient

type PolicyRuleClient interface {
	sdkPolicyRules.PolicyRulesV1Client
}

func NewPolicyRuleClient

func NewPolicyRuleClient(config config.Config) PolicyRuleClient

type PostProcessAWSConnectionClient

type PostProcessAWSConnectionClient interface {
	sdkPostProcessConn.PostProcessAwsConnectionV1Client
}

func NewPostProcessAWSConnectionClient

func NewPostProcessAWSConnectionClient(config config.Config) PostProcessAWSConnectionClient

type PostProcessKMSClient

type PostProcessKMSClient interface {
	sdkPostProcessKms.PostProcessKmsV1Client
}

func NewPostProcessKMSClient

func NewPostProcessKMSClient(config config.Config) PostProcessKMSClient

type ProtectionGroupClient

type ProtectionGroupClient interface {
	sdkProtectionGroups.ProtectionGroupsV1Client
}

func NewProtectionGroupClient

func NewProtectionGroupClient(config config.Config) ProtectionGroupClient

type ProtectionGroupS3AssetsClient added in v0.9.0

type ProtectionGroupS3AssetsClient interface {
	sdkProtectionGroupS3Assets.ProtectionGroupsS3AssetsV1Client
}

func NewProtectionGroupS3AssetsClient added in v0.9.0

func NewProtectionGroupS3AssetsClient(config config.Config) ProtectionGroupS3AssetsClient

type RoleClient

type RoleClient interface {
	sdkRoles.RolesV1Client
}

func NewRoleClient

func NewRoleClient(config config.Config) RoleClient

type S3BucketClient added in v0.6.2

type S3BucketClient interface {
	sdkS3Buckets.AwsS3BucketsV1Client
}

func NewS3BucketClient added in v0.6.2

func NewS3BucketClient(config config.Config) S3BucketClient

type TaskClient

type TaskClient interface {
	sdkTasks.TasksV1Client
}

func NewTaskClient

func NewTaskClient(config config.Config) TaskClient

type UserClient

type UserClient interface {
	users.UsersV2Client
}

func NewUserClient

func NewUserClient(config config.Config) UserClient

type WalletClient

type WalletClient interface {
	wallets.WalletsV1Client
}

func NewWalletClient

func NewWalletClient(config config.Config) WalletClient

Jump to

Keyboard shortcuts

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