Documentation ¶
Index ¶
Constants ¶
View Source
const AllNamespaces = "ALL"
AllNamespaces means user can access all namespaces
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NSParser ¶
NSParser define interface for namespace parser
func NewNSParser ¶
NewNSParser create NSParser instance according to configration file. The configuration file should be in format: type: typename paras:
pname1: pvalue1 pname2: pvalue2
only ibm-cs type of parser is implemented for now
type Type ¶
type Type string
Type defines type of namespace parser
const NSParserTypeCS Type = "ibm-cs-iam"
NSParserTypeCS this namespace parser gets namespaces by querying IBM Common Service IAM service
const NSParserTypeNSList Type = "ns-list"
NSParserTypeNSList use this kind of namespace parser, user can configure namespace list in configuration file
Click to show internal directories.
Click to hide internal directories.