aws

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentityStoreSyncer

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

func NewIdentityStoreSyncer

func NewIdentityStoreSyncer() *IdentityStoreSyncer

func (*IdentityStoreSyncer) GetIdentityStoreMetaData

func (s *IdentityStoreSyncer) GetIdentityStoreMetaData(ctx context.Context, configParams *config.ConfigMap) (*is.MetaData, error)

func (*IdentityStoreSyncer) SyncIdentityStore

func (s *IdentityStoreSyncer) SyncIdentityStore(ctx context.Context, identityHandler wrappers.IdentityStoreIdentityHandler, configMap *config.ConfigMap) error

type MockdataUsageRepository

type MockdataUsageRepository struct {
	mock.Mock
}

MockdataUsageRepository is an autogenerated mock type for the dataUsageRepository type

func NewMockdataUsageRepository

func NewMockdataUsageRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockdataUsageRepository

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

func (*MockdataUsageRepository) GetFile

func (_m *MockdataUsageRepository) GetFile(ctx context.Context, bucket string, key string, region string) (io.ReadCloser, error)

GetFile provides a mock function with given fields: ctx, bucket, key, region

func (*MockdataUsageRepository) ListFiles

func (_m *MockdataUsageRepository) ListFiles(ctx context.Context, bucket string, prefix *string) ([]model.AwsS3Entity, error)

ListFiles provides a mock function with given fields: ctx, bucket, prefix

type MockdataUsageRepository_Expecter

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

func (*MockdataUsageRepository_Expecter) GetFile

func (_e *MockdataUsageRepository_Expecter) GetFile(ctx interface{}, bucket interface{}, key interface{}, region interface{}) *MockdataUsageRepository_GetFile_Call

GetFile is a helper method to define mock.On call

  • ctx context.Context
  • bucket string
  • key string
  • region string

func (*MockdataUsageRepository_Expecter) ListFiles

func (_e *MockdataUsageRepository_Expecter) ListFiles(ctx interface{}, bucket interface{}, prefix interface{}) *MockdataUsageRepository_ListFiles_Call

ListFiles is a helper method to define mock.On call

  • ctx context.Context
  • bucket string
  • prefix *string

type MockdataUsageRepository_GetFile_Call

type MockdataUsageRepository_GetFile_Call struct {
	*mock.Call
}

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

func (*MockdataUsageRepository_GetFile_Call) Return

func (*MockdataUsageRepository_GetFile_Call) Run

func (*MockdataUsageRepository_GetFile_Call) RunAndReturn

type MockdataUsageRepository_ListFiles_Call

type MockdataUsageRepository_ListFiles_Call struct {
	*mock.Call
}

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

func (*MockdataUsageRepository_ListFiles_Call) Return

func (*MockdataUsageRepository_ListFiles_Call) Run

func (*MockdataUsageRepository_ListFiles_Call) RunAndReturn

type MockidentityStoreRepository

type MockidentityStoreRepository struct {
	mock.Mock
}

MockidentityStoreRepository is an autogenerated mock type for the identityStoreRepository type

func NewMockidentityStoreRepository

func NewMockidentityStoreRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockidentityStoreRepository

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

func (*MockidentityStoreRepository) GetGroups

GetGroups provides a mock function with given fields: ctx

func (*MockidentityStoreRepository) GetUsers

func (_m *MockidentityStoreRepository) GetUsers(ctx context.Context, withDetails bool) ([]model.UserEntity, error)

GetUsers provides a mock function with given fields: ctx, withDetails

type MockidentityStoreRepository_Expecter

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

func (*MockidentityStoreRepository_Expecter) GetGroups

GetGroups is a helper method to define mock.On call

  • ctx context.Context

func (*MockidentityStoreRepository_Expecter) GetUsers

func (_e *MockidentityStoreRepository_Expecter) GetUsers(ctx interface{}, withDetails interface{}) *MockidentityStoreRepository_GetUsers_Call

GetUsers is a helper method to define mock.On call

  • ctx context.Context
  • withDetails bool

type MockidentityStoreRepository_GetGroups_Call

type MockidentityStoreRepository_GetGroups_Call struct {
	*mock.Call
}

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

func (*MockidentityStoreRepository_GetGroups_Call) Return

func (*MockidentityStoreRepository_GetGroups_Call) Run

func (*MockidentityStoreRepository_GetGroups_Call) RunAndReturn

type MockidentityStoreRepository_GetUsers_Call

type MockidentityStoreRepository_GetUsers_Call struct {
	*mock.Call
}

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

func (*MockidentityStoreRepository_GetUsers_Call) Return

func (*MockidentityStoreRepository_GetUsers_Call) Run

func (*MockidentityStoreRepository_GetUsers_Call) RunAndReturn

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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