Documentation
¶
Index ¶
- func GetClusterScope(clusterScope string) (scope string, err error)
- func GetOrganizationScope(organizationScope string) (scope string, err error)
- func GetTemplateScope(templateScope string) (scope string, err error)
- func GetUserScope(userScope string) (scope string, err error)
- func ParseAddr(addr string) (host string, port int32)
- func SanitizeUsername(username string) (name string)
- func ToClusterScope(scope string) string
- func ToOrganizationScope(scope string) string
- func ToTemplateScope(scope string) string
- func ToUserScope(scope string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterScope ¶
GetClusterScope returns cluster scope from url
func GetOrganizationScope ¶
GetOrganizationScope returns organization scope from url
func GetTemplateScope ¶
GetTemplateScope returns template scope from url
func GetUserScope ¶
GetUserScope returns user scope from url
func SanitizeUsername ¶
SanitizeUsername sanitizes username as a k8s name
func ToClusterScope ¶
ToClusterScope converts scope into cluster scope
func ToOrganizationScope ¶
ToOrganizationScope converts scope into organization scope
func ToTemplateScope ¶
ToTemplateScope converts scope into template scope
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.