Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project struct { OrgID string ID string Name string RegionUsageRestrictions string WithDefaultAlertsSettings bool Tags []tag.Tag }
func NewProject ¶
func NewProject(project *akov2.AtlasProject, orgID string) *Project
type ProjectAPI ¶
type ProjectAPI struct {
// contains filtered or unexported fields
}
func NewProjectAPIService ¶
func NewProjectAPIService(sdk admin.ProjectsApi) *ProjectAPI
func (*ProjectAPI) CreateProject ¶
func (a *ProjectAPI) CreateProject(ctx context.Context, project *Project) error
func (*ProjectAPI) DeleteProject ¶
func (a *ProjectAPI) DeleteProject(ctx context.Context, project *Project) error
func (*ProjectAPI) GetProjectByName ¶
Click to show internal directories.
Click to hide internal directories.