Documentation ¶
Index ¶
- func AddLabel(orgID string, key string, value string, isInternal bool, conn *sdk.Connection) (*v1.Label, error)
- func DeleteLabel(orgID string, key string, conn *sdk.Connection) error
- func GetOrganization(orgID string, conn *sdk.Connection) (*v1.Organization, error)
- func GetOrganizations(key string, searchStr string, limit int, fetchLabels bool, ...) ([]*v1.Organization, error)
- func ValidateOrganization(orgID string, conn *sdk.Connection) error
- type Organization
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteLabel ¶
func DeleteLabel(orgID string, key string, conn *sdk.Connection) error
func GetOrganization ¶
func GetOrganization(orgID string, conn *sdk.Connection) (*v1.Organization, error)
func GetOrganizations ¶
func ValidateOrganization ¶
func ValidateOrganization(orgID string, conn *sdk.Connection) error
Types ¶
type Organization ¶
type Organization struct { types.Meta Name string `json:"name"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` EbsAccountID string `json:"ebs_account_id"` ExternalID string `json:"external_id"` Subscriptions []subscription.Subscription `json:"subscriptions,omitempty"` Quota []quota.Quota `json:"quota,omitempty"` Labels label.LabelsList `json:"labels,omitempty"` Capabilities capability.CapabilityList `json:"capabilities,omitempty"` ResourceQuota []resourcequota.ResourceQuota `json:"resource_quota,omitempty"` }
func PresentOrganization ¶
func PresentOrganization(organization *v1.Organization, subscriptions []*v1.Subscription, quotaCostList []*v1.QuotaCost, resourceQuotaList []*v1.ResourceQuota) Organization
Click to show internal directories.
Click to hide internal directories.