Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FrameProjectInfo = ProjectInfo{ // contains filtered or unexported fields } TestProjectInfo = ProjectInfo{ // contains filtered or unexported fields } DefaultUserProjectInfo = ProjectInfo{ // contains filtered or unexported fields } )
tenant const variables
Functions ¶
This section is empty.
Types ¶
type ProjectInfo ¶
type ProjectInfo struct {
// contains filtered or unexported fields
}
ProjectInfo is the tenant/project information which is consistent with cloud service provider
func NewProjectInfo ¶
func NewProjectInfo(tenant string, project string) ProjectInfo
NewProjectInfo return an immutable ProjectInfo
func (ProjectInfo) UniqueID ¶
func (p ProjectInfo) UniqueID() string
UniqueID get the unique id for project Theoretically, ProjectID is global uniqueness and can used as the identifier We offer this method here to hide the implementation of getting a unique ID
Click to show internal directories.
Click to hide internal directories.