Documentation
¶
Index ¶
- type ClusterManager
- func (_m *ClusterManager) CreateCluster(ctx context.Context, project string, logicalCloud string, c module.Cluster) (module.Cluster, error)
- func (_m *ClusterManager) DeleteCluster(ctx context.Context, project string, logicalCloud string, name string) error
- func (_m *ClusterManager) GetAllClusters(ctx context.Context, project string, logicalCloud string) ([]module.Cluster, error)
- func (_m *ClusterManager) GetCluster(ctx context.Context, project string, logicalCloud string, name string) (module.Cluster, error)
- func (_m *ClusterManager) GetClusterConfig(ctx context.Context, project string, logicalcloud string, name string) (string, error)
- func (_m *ClusterManager) UpdateCluster(ctx context.Context, project string, logicalCloud string, name string, ...) (module.Cluster, error)
- type KeyValueManager
- func (_m *KeyValueManager) CreateKVPair(ctx context.Context, project string, logicalCloud string, c module.KeyValue) (module.KeyValue, error)
- func (_m *KeyValueManager) DeleteKVPair(ctx context.Context, project string, logicalCloud string, name string) error
- func (_m *KeyValueManager) GetAllKVPairs(ctx context.Context, project string, logicalCloud string) ([]module.KeyValue, error)
- func (_m *KeyValueManager) GetKVPair(ctx context.Context, project string, logicalCloud string, name string) (module.KeyValue, error)
- func (_m *KeyValueManager) UpdateKVPair(ctx context.Context, project string, logicalCloud string, name string, ...) (module.KeyValue, error)
- type LogicalCloudManager
- func (_m *LogicalCloudManager) Create(ctx context.Context, project string, c module.LogicalCloud) (module.LogicalCloud, error)
- func (_m *LogicalCloudManager) Delete(ctx context.Context, project string, name string) error
- func (_m *LogicalCloudManager) GenericStatus(ctx context.Context, project string, name string, qStatusInstance string, ...) (status.StatusResult, error)
- func (_m *LogicalCloudManager) Get(ctx context.Context, project string, name string) (module.LogicalCloud, error)
- func (_m *LogicalCloudManager) GetAll(ctx context.Context, project string) ([]module.LogicalCloud, error)
- func (_m *LogicalCloudManager) GetState(ctx context.Context, p string, lc string) (state.StateInfo, error)
- func (_m *LogicalCloudManager) Status(ctx context.Context, p string, lc string, qStatusInstance string, qType string, ...) (status.LogicalCloudStatus, error)
- func (_m *LogicalCloudManager) StatusClusters(ctx context.Context, p string, lc string, qStatusInstance string) (status.LogicalCloudClustersStatus, error)
- func (_m *LogicalCloudManager) StatusResources(ctx context.Context, p string, lc string, qStatusInstance string, qType string, ...) (status.LogicalCloudResourcesStatus, error)
- func (_m *LogicalCloudManager) UpdateInstantiation(ctx context.Context, project string, name string, c module.LogicalCloud) (module.LogicalCloud, error)
- func (_m *LogicalCloudManager) UpdateLogicalCloud(ctx context.Context, project string, name string, c module.LogicalCloud) (module.LogicalCloud, error)
- type QuotaManager
- func (_m *QuotaManager) CreateQuota(ctx context.Context, project string, logicalCloud string, c module.Quota) (module.Quota, error)
- func (_m *QuotaManager) DeleteQuota(ctx context.Context, project string, logicalCloud string, name string) error
- func (_m *QuotaManager) GetAllQuotas(ctx context.Context, project string, logicalCloud string) ([]module.Quota, error)
- func (_m *QuotaManager) GetQuota(ctx context.Context, project string, logicalCloud string, name string) (module.Quota, error)
- func (_m *QuotaManager) UpdateQuota(ctx context.Context, project string, logicalCloud string, name string, ...) (module.Quota, error)
- type UserPermissionManager
- func (_m *UserPermissionManager) CreateUserPerm(ctx context.Context, project string, logicalCloud string, ...) (module.UserPermission, error)
- func (_m *UserPermissionManager) DeleteUserPerm(ctx context.Context, project string, logicalCloud string, name string) error
- func (_m *UserPermissionManager) GetAllUserPerms(ctx context.Context, project string, logicalCloud string) ([]module.UserPermission, error)
- func (_m *UserPermissionManager) GetUserPerm(ctx context.Context, project string, logicalCloud string, name string) (module.UserPermission, error)
- func (_m *UserPermissionManager) UpdateUserPerm(ctx context.Context, project string, logicalCloud string, name string, ...) (module.UserPermission, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterManager ¶
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
type KeyValueManager ¶
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
type LogicalCloudManager ¶
LogicalCloudManager is an autogenerated mock type for the LogicalCloudManager type
func (*LogicalCloudManager) Create ¶
func (_m *LogicalCloudManager) Create(ctx context.Context, project string, c module.LogicalCloud) (module.LogicalCloud, error)
Create provides a mock function with given fields: project, c
func (*LogicalCloudManager) Delete ¶
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 ¶
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
type UserPermissionManager ¶
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