Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager
List returns a Pager which allows you to iterate over a collection of projects.
Types ¶
type CBRMasterdata ¶
type CBRMasterdata struct { CostObjectName string `json:"costObjectName,omitempty"` CostObjectType string `json:"costObjectType,omitempty"` CostObjectInherited bool `json:"costObjectInherited,omitempty"` BusinessCriticality string `json:"businessCriticality,omitempty"` RevenueRelevance string `json:"revenueRelevance,omitempty"` NumberOfEndusers int `json:"numberOfEndusers,omitempty"` PrimaryContactUserID string `json:"primaryContactUserID,omitempty"` PrimaryContactEmail string `json:"primaryContactEmail,omitempty"` OperatorUserID string `json:"operatorUserID,omitempty"` OperatorEmail string `json:"operatorEmail,omitempty"` InventoryRoleUserID string `json:"inventoryRoleUserID,omitempty"` InventoryRoleEmail string `json:"inventoryRoleEmail,omitempty"` InfrastructureCoordinatorUserID string `json:"infrastructureCoordinatorUserID,omitempty"` InfrastructureCoordinatorEmail string `json:"infrastructureCoordinatorEmail,omitempty"` ExternalCertifications ExternalCertifications `json:"externalCertifications,omitempty"` GPUEnabled bool `json:"gpuEnabled,omitempty"` ContainsPIIDPPHR bool `json:"containsPIIDPPHR,omitempty"` ContainsExternalCustomerData bool `json:"containsExternalCustomerData,omitempty"` }
CBRMasterdata represents the CBR masterdata of a Keystone project.
type ExternalCertifications ¶
type ExternalCertifications struct { ISO bool `json:"ISO,omitempty"` PCI bool `json:"PCI,omitempty"` SOC1 bool `json:"SOC1,omitempty"` SOC2 bool `json:"SOC2,omitempty"` C5 bool `json:"C5,omitempty"` SOX bool `json:"SOX,omitempty"` }
ExternalCertifications represents the external certifications of a Keystone project.
type GetResult ¶
type GetResult struct {
gophercloud.Result
}
GetResult represents the result of a get operation. Call its Extract method to interpret it as a Project.
func (GetResult) Extract ¶
Extract is a function that accepts a result and extracts a project resource.
func (GetResult) ExtractInto ¶
type ListOpts ¶
type ListOpts struct { // Limit will limit the number of results returned per page. Limit int `q:"limit"` // UUIDs will only return projects with the specified UUIDs. UUIDs []string `q:"uuids"` }
ListOpts is a structure that holds options for listing project masterdata.
func (ListOpts) ToProjectListQuery ¶
ToProjectListQuery formats a ListOpts into a query string.
type ListOptsBuilder ¶
ListOptsBuilder allows extensions to add additional parameters to the List request.
type Project ¶
type Project struct { Name string `json:"name,omitempty"` UUID string `json:"uuid"` Description string `json:"description,omitempty"` DomainName string `json:"domainName,omitempty"` DomainUUID string `json:"domainUUID,omitempty"` CBRMasterdata CBRMasterdata `json:"cbrMasterdata,omitempty"` Users []User `json:"users"` }
Project represents a Keystone project.