Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrganizationResponse ¶
type OrganizationResponse struct { Name string `json:"name"` ContainerID string `json:"containerId"` OrganizationID string `json:"organizationId"` LifecycleState string `json:"lifecycleState"` CreationTime string `json:"creationTime"` UpdateTime string `json:"updateTime"` Labels map[string]string `json:"labels"` }
OrganizationResponse is the structure representing the response for organization from the API
type OrganizationsService ¶
OrganizationsService is the service that handles CRUD functionality for STACKIT organizations
func New ¶
func New(c common.Client) *OrganizationsService
New returns a new handler for the service
func (*OrganizationsService) Get ¶
func (svc *OrganizationsService) Get(ctx context.Context, containerID string) (res OrganizationResponse, err error)
Get returns the organization by container id See also https://api.stackit.schwarz/resource-management/openapi.v2.html#operation/get-organizations-containerId
Click to show internal directories.
Click to hide internal directories.