mocks

package
v0.0.0-...-bb2f907 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterManager

type ClusterManager struct {
	mock.Mock
}

ClusterManager is an autogenerated mock type for the ClusterManager type

func (*ClusterManager) CreateCluster

func (_m *ClusterManager) CreateCluster(ctx context.Context, project string, logicalCloud string, c module.Cluster) (module.Cluster, error)

CreateCluster provides a mock function with given fields: project, logicalCloud, c

func (*ClusterManager) DeleteCluster

func (_m *ClusterManager) DeleteCluster(ctx context.Context, project string, logicalCloud string, name string) error

DeleteCluster provides a mock function with given fields: project, logicalCloud, name

func (*ClusterManager) GetAllClusters

func (_m *ClusterManager) GetAllClusters(ctx context.Context, project string, logicalCloud string) ([]module.Cluster, error)

GetAllClusters provides a mock function with given fields: project, logicalCloud

func (*ClusterManager) GetCluster

func (_m *ClusterManager) GetCluster(ctx context.Context, project string, logicalCloud string, name string) (module.Cluster, error)

GetCluster provides a mock function with given fields: project, logicalCloud, name

func (*ClusterManager) GetClusterConfig

func (_m *ClusterManager) GetClusterConfig(ctx context.Context, project string, logicalcloud string, name string) (string, error)

GetClusterConfig provides a mock function with given fields: project, logicalcloud, name

func (*ClusterManager) UpdateCluster

func (_m *ClusterManager) UpdateCluster(ctx context.Context, project string, logicalCloud string, name string, c module.Cluster) (module.Cluster, error)

UpdateCluster provides a mock function with given fields: project, logicalCloud, name, c

type KeyValueManager

type KeyValueManager struct {
	mock.Mock
}

KeyValueManager is an autogenerated mock type for the KeyValueManager type

func (*KeyValueManager) CreateKVPair

func (_m *KeyValueManager) CreateKVPair(ctx context.Context, project string, logicalCloud string, c module.KeyValue) (module.KeyValue, error)

CreateKVPair provides a mock function with given fields: project, logicalCloud, c

func (*KeyValueManager) DeleteKVPair

func (_m *KeyValueManager) DeleteKVPair(ctx context.Context, project string, logicalCloud string, name string) error

DeleteKVPair provides a mock function with given fields: project, logicalCloud, name

func (*KeyValueManager) GetAllKVPairs

func (_m *KeyValueManager) GetAllKVPairs(ctx context.Context, project string, logicalCloud string) ([]module.KeyValue, error)

GetAllKVPairs provides a mock function with given fields: project, logicalCloud

func (*KeyValueManager) GetKVPair

func (_m *KeyValueManager) GetKVPair(ctx context.Context, project string, logicalCloud string, name string) (module.KeyValue, error)

GetKVPair provides a mock function with given fields: project, logicalCloud, name

func (*KeyValueManager) UpdateKVPair

func (_m *KeyValueManager) UpdateKVPair(ctx context.Context, project string, logicalCloud string, name string, c module.KeyValue) (module.KeyValue, error)

UpdateKVPair provides a mock function with given fields: project, logicalCloud, name, c

type LogicalCloudManager

type LogicalCloudManager struct {
	mock.Mock
}

LogicalCloudManager is an autogenerated mock type for the LogicalCloudManager type

func (*LogicalCloudManager) Create

Create provides a mock function with given fields: project, c

func (*LogicalCloudManager) Delete

func (_m *LogicalCloudManager) Delete(ctx context.Context, project string, name string) error

Delete provides a mock function with given fields: project, name

func (*LogicalCloudManager) GenericStatus

func (_m *LogicalCloudManager) GenericStatus(ctx context.Context, project string, name string, qStatusInstance string, qType string, qOutput string, fClusters []string, fResources []string) (status.StatusResult, error)

GenericStatus provides a mock function with given fields: project, name, qStatusInstance, qType, qOutput, fClusters, fResources

func (*LogicalCloudManager) Get

func (_m *LogicalCloudManager) Get(ctx context.Context, project string, name string) (module.LogicalCloud, error)

Get provides a mock function with given fields: project, name

func (*LogicalCloudManager) GetAll

func (_m *LogicalCloudManager) GetAll(ctx context.Context, project string) ([]module.LogicalCloud, error)

GetAll provides a mock function with given fields: project

func (*LogicalCloudManager) GetState

func (_m *LogicalCloudManager) GetState(ctx context.Context, p string, lc string) (state.StateInfo, error)

GetState provides a mock function with given fields: p, lc

func (*LogicalCloudManager) Status

func (_m *LogicalCloudManager) Status(ctx context.Context, p string, lc string, qStatusInstance string, qType string, qOutput string, fClusters []string, fResources []string) (status.LogicalCloudStatus, error)

Status provides a mock function with given fields: p, lc, qStatusInstance, qType, qOutput, fClusters, fResources

func (*LogicalCloudManager) StatusClusters

func (_m *LogicalCloudManager) StatusClusters(ctx context.Context, p string, lc string, qStatusInstance string) (status.LogicalCloudClustersStatus, error)

StatusClusters provides a mock function with given fields: p, lc, qStatusInstance

func (*LogicalCloudManager) StatusResources

func (_m *LogicalCloudManager) StatusResources(ctx context.Context, p string, lc string, qStatusInstance string, qType string, fClusters []string) (status.LogicalCloudResourcesStatus, error)

StatusResources provides a mock function with given fields: p, lc, qStatusInstance, qType, fClusters

func (*LogicalCloudManager) UpdateInstantiation

func (_m *LogicalCloudManager) UpdateInstantiation(ctx context.Context, project string, name string, c module.LogicalCloud) (module.LogicalCloud, error)

UpdateInstantiation provides a mock function with given fields: project, name, c

func (*LogicalCloudManager) UpdateLogicalCloud

func (_m *LogicalCloudManager) UpdateLogicalCloud(ctx context.Context, project string, name string, c module.LogicalCloud) (module.LogicalCloud, error)

UpdateLogicalCloud provides a mock function with given fields: project, name, c

type QuotaManager

type QuotaManager struct {
	mock.Mock
}

QuotaManager is an autogenerated mock type for the QuotaManager type

func (*QuotaManager) CreateQuota

func (_m *QuotaManager) CreateQuota(ctx context.Context, project string, logicalCloud string, c module.Quota) (module.Quota, error)

CreateQuota provides a mock function with given fields: project, logicalCloud, c

func (*QuotaManager) DeleteQuota

func (_m *QuotaManager) DeleteQuota(ctx context.Context, project string, logicalCloud string, name string) error

DeleteQuota provides a mock function with given fields: project, logicalCloud, name

func (*QuotaManager) GetAllQuotas

func (_m *QuotaManager) GetAllQuotas(ctx context.Context, project string, logicalCloud string) ([]module.Quota, error)

GetAllQuotas provides a mock function with given fields: project, logicalCloud

func (*QuotaManager) GetQuota

func (_m *QuotaManager) GetQuota(ctx context.Context, project string, logicalCloud string, name string) (module.Quota, error)

GetQuota provides a mock function with given fields: project, logicalCloud, name

func (*QuotaManager) UpdateQuota

func (_m *QuotaManager) UpdateQuota(ctx context.Context, project string, logicalCloud string, name string, c module.Quota) (module.Quota, error)

UpdateQuota provides a mock function with given fields: project, logicalCloud, name, c

type UserPermissionManager

type UserPermissionManager struct {
	mock.Mock
}

UserPermissionManager is an autogenerated mock type for the UserPermissionManager type

func (*UserPermissionManager) CreateUserPerm

func (_m *UserPermissionManager) CreateUserPerm(ctx context.Context, project string, logicalCloud string, c module.UserPermission) (module.UserPermission, error)

CreateUserPerm provides a mock function with given fields: project, logicalCloud, c

func (*UserPermissionManager) DeleteUserPerm

func (_m *UserPermissionManager) DeleteUserPerm(ctx context.Context, project string, logicalCloud string, name string) error

DeleteUserPerm provides a mock function with given fields: project, logicalCloud, name

func (*UserPermissionManager) GetAllUserPerms

func (_m *UserPermissionManager) GetAllUserPerms(ctx context.Context, project string, logicalCloud string) ([]module.UserPermission, error)

GetAllUserPerms provides a mock function with given fields: project, logicalCloud

func (*UserPermissionManager) GetUserPerm

func (_m *UserPermissionManager) GetUserPerm(ctx context.Context, project string, logicalCloud string, name string) (module.UserPermission, error)

GetUserPerm provides a mock function with given fields: project, logicalCloud, name

func (*UserPermissionManager) UpdateUserPerm

func (_m *UserPermissionManager) UpdateUserPerm(ctx context.Context, project string, logicalCloud string, name string, c module.UserPermission) (module.UserPermission, error)

UpdateUserPerm provides a mock function with given fields: project, logicalCloud, name, c

Jump to

Keyboard shortcuts

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