Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectGetResponse ¶
type ProjectGetResponse struct {
ProjectID string `json:"projectId"`
ContainerID string `json:"containerId"`
LifecycleState string `json:"lifecycleState"`
Scope string `json:"scope"`
Name string `json:"name"`
CreateTime string `json:"createTime"`
Labels ProjectsLabels `json:"labels"`
Parent ProjectsParent
}
ProjectGetResponse is the generic api response struct
type ProjectService ¶
ProjectService is the service that handles CRUD functionality for STACKIT projects
func (*ProjectService) Get ¶
func (svc *ProjectService) Get(ctx context.Context, projectID string) (res ProjectGetResponse, err error)
Get returns the project by id See also https://api.stackit.schwarz/resource-management/openapi.v1.html#operation/get-projects-projectId
type ProjectsLabels ¶
type ProjectsLabels struct {
BillingReference string `json:"billingReference"`
}
ProjectsLabels is the labels response
type ProjectsParent ¶
ProjectsParent is the parent entity response
Click to show internal directories.
Click to hide internal directories.