Documentation
¶
Index ¶
- type ClusterService
- func (_m *ClusterService) Get(ctx context.Context, groupID string, clusterName string) (*mongodbatlas.Cluster, *mongodbatlas.Response, error)
- func (_m *ClusterService) GetAdvancedCluster(ctx context.Context, groupID string, clusterName string) (*mongodbatlas.AdvancedCluster, *mongodbatlas.Response, error)
- func (_m *ClusterService) List(ctx context.Context, groupID string, options *mongodbatlas.ListOptions) (*mongodbatlas.AdvancedClustersResponse, *mongodbatlas.Response, error)
- type DeploymentService
- type EarService
- type GroupProjectService
- func (_m *GroupProjectService) AddAllTeamsToProject(ctx context.Context, groupID string, teamRole *[]admin.TeamRole) (*admin.PaginatedTeamRole, *http.Response, error)
- func (_m *GroupProjectService) DeleteProjectLimit(ctx context.Context, limitName string, projectID string) (map[string]interface{}, *http.Response, error)
- func (_m *GroupProjectService) GetProjectSettings(ctx context.Context, groupID string) (*admin.GroupSettings, *http.Response, error)
- func (_m *GroupProjectService) ListClusters(ctx context.Context, groupID string) (*admin.PaginatedAdvancedClusterDescription, *http.Response, error)
- func (_m *GroupProjectService) ListProjectLimits(ctx context.Context, groupID string) ([]admin.DataFederationLimit, *http.Response, error)
- func (_m *GroupProjectService) ListProjectTeams(ctx context.Context, groupID string) (*admin.PaginatedTeamRole, *http.Response, error)
- func (_m *GroupProjectService) RemoveProjectTeam(ctx context.Context, groupID string, teamID string) (*http.Response, error)
- func (_m *GroupProjectService) ReturnAllIPAddresses(ctx context.Context, groupID string) (*admin.GroupIPAddresses, *http.Response, error)
- func (_m *GroupProjectService) SetProjectLimit(ctx context.Context, limitName string, groupID string, ...) (*admin.DataFederationLimit, *http.Response, error)
- func (_m *GroupProjectService) UpdateProject(ctx context.Context, groupID string, groupName *admin.GroupName) (*admin.Group, *http.Response, error)
- func (_m *GroupProjectService) UpdateTeamRoles(ctx context.Context, groupID string, teamID string, teamRole *admin.TeamRole) (*admin.PaginatedTeamRole, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterService ¶
ClusterService is an autogenerated mock type for the ClusterService type
func NewClusterService ¶
func NewClusterService(t interface {
mock.TestingT
Cleanup(func())
}) *ClusterService
NewClusterService creates a new instance of ClusterService. 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 (*ClusterService) Get ¶
func (_m *ClusterService) Get(ctx context.Context, groupID string, clusterName string) (*mongodbatlas.Cluster, *mongodbatlas.Response, error)
Get provides a mock function with given fields: ctx, groupID, clusterName
func (*ClusterService) GetAdvancedCluster ¶
func (_m *ClusterService) GetAdvancedCluster(ctx context.Context, groupID string, clusterName string) (*mongodbatlas.AdvancedCluster, *mongodbatlas.Response, error)
GetAdvancedCluster provides a mock function with given fields: ctx, groupID, clusterName
func (*ClusterService) List ¶
func (_m *ClusterService) List(ctx context.Context, groupID string, options *mongodbatlas.ListOptions) (*mongodbatlas.AdvancedClustersResponse, *mongodbatlas.Response, error)
List provides a mock function with given fields: ctx, groupID, options
type DeploymentService ¶
DeploymentService is an autogenerated mock type for the DeploymentService type
func NewDeploymentService ¶
func NewDeploymentService(t interface {
mock.TestingT
Cleanup(func())
}) *DeploymentService
NewDeploymentService creates a new instance of DeploymentService. 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 (*DeploymentService) GetAtlasSearchDeployment ¶
func (_m *DeploymentService) GetAtlasSearchDeployment(ctx context.Context, groupID string, clusterName string) (*admin.ApiSearchDeploymentResponse, *http.Response, error)
GetAtlasSearchDeployment provides a mock function with given fields: ctx, groupID, clusterName
type EarService ¶
EarService is an autogenerated mock type for the EarService type
func NewEarService ¶
func NewEarService(t interface {
mock.TestingT
Cleanup(func())
}) *EarService
NewEarService creates a new instance of EarService. 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 (*EarService) UpdateEncryptionAtRest ¶
func (_m *EarService) UpdateEncryptionAtRest(ctx context.Context, groupID string, encryptionAtRest *admin.EncryptionAtRest) (*admin.EncryptionAtRest, *http.Response, error)
UpdateEncryptionAtRest provides a mock function with given fields: ctx, groupID, encryptionAtRest
type GroupProjectService ¶
GroupProjectService is an autogenerated mock type for the GroupProjectService type
func NewGroupProjectService ¶
func NewGroupProjectService(t interface {
mock.TestingT
Cleanup(func())
}) *GroupProjectService
NewGroupProjectService creates a new instance of GroupProjectService. 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 (*GroupProjectService) AddAllTeamsToProject ¶
func (_m *GroupProjectService) AddAllTeamsToProject(ctx context.Context, groupID string, teamRole *[]admin.TeamRole) (*admin.PaginatedTeamRole, *http.Response, error)
AddAllTeamsToProject provides a mock function with given fields: ctx, groupID, teamRole
func (*GroupProjectService) DeleteProjectLimit ¶
func (_m *GroupProjectService) DeleteProjectLimit(ctx context.Context, limitName string, projectID string) (map[string]interface{}, *http.Response, error)
DeleteProjectLimit provides a mock function with given fields: ctx, limitName, projectID
func (*GroupProjectService) GetProjectSettings ¶
func (_m *GroupProjectService) GetProjectSettings(ctx context.Context, groupID string) (*admin.GroupSettings, *http.Response, error)
GetProjectSettings provides a mock function with given fields: ctx, groupID
func (*GroupProjectService) ListClusters ¶
func (_m *GroupProjectService) ListClusters(ctx context.Context, groupID string) (*admin.PaginatedAdvancedClusterDescription, *http.Response, error)
ListClusters provides a mock function with given fields: ctx, groupID
func (*GroupProjectService) ListProjectLimits ¶
func (_m *GroupProjectService) ListProjectLimits(ctx context.Context, groupID string) ([]admin.DataFederationLimit, *http.Response, error)
ListProjectLimits provides a mock function with given fields: ctx, groupID
func (*GroupProjectService) ListProjectTeams ¶
func (_m *GroupProjectService) ListProjectTeams(ctx context.Context, groupID string) (*admin.PaginatedTeamRole, *http.Response, error)
ListProjectTeams provides a mock function with given fields: ctx, groupID
func (*GroupProjectService) RemoveProjectTeam ¶
func (_m *GroupProjectService) RemoveProjectTeam(ctx context.Context, groupID string, teamID string) (*http.Response, error)
RemoveProjectTeam provides a mock function with given fields: ctx, groupID, teamID
func (*GroupProjectService) ReturnAllIPAddresses ¶
func (_m *GroupProjectService) ReturnAllIPAddresses(ctx context.Context, groupID string) (*admin.GroupIPAddresses, *http.Response, error)
ReturnAllIPAddresses provides a mock function with given fields: ctx, groupID
func (*GroupProjectService) SetProjectLimit ¶
func (_m *GroupProjectService) SetProjectLimit(ctx context.Context, limitName string, groupID string, dataFederationLimit *admin.DataFederationLimit) (*admin.DataFederationLimit, *http.Response, error)
SetProjectLimit provides a mock function with given fields: ctx, limitName, groupID, dataFederationLimit
func (*GroupProjectService) UpdateProject ¶
func (_m *GroupProjectService) UpdateProject(ctx context.Context, groupID string, groupName *admin.GroupName) (*admin.Group, *http.Response, error)
UpdateProject provides a mock function with given fields: ctx, groupID, groupName
func (*GroupProjectService) UpdateTeamRoles ¶
func (_m *GroupProjectService) UpdateTeamRoles(ctx context.Context, groupID string, teamID string, teamRole *admin.TeamRole) (*admin.PaginatedTeamRole, *http.Response, error)
UpdateTeamRoles provides a mock function with given fields: ctx, groupID, teamID, teamRole