Documentation ¶
Index ¶
- func ACL(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
- func GenTLSConfig() (*tls.Config, error)
- func GetAdminCertSignatures() []string
- func GetCertPool(cafile string) (*x509.CertPool, error)
- func GetUserCertSignatures() []string
- func InitCertSignatures() (err error)
- func NewCertSignatures(admin bool) (signatures []string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ACL ¶
func ACL(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
ACL is handler for api server to pass acl of a request
func GetAdminCertSignatures ¶
func GetAdminCertSignatures() []string
GetAdminCertSignatures Get the list of Certification Signature
func GetCertPool ¶
GetCertPool Get Certification pool
func GetUserCertSignatures ¶
func GetUserCertSignatures() []string
GetUserCertSignatures Get the list of Certification Signature
func InitCertSignatures ¶
func InitCertSignatures() (err error)
InitCertSignatures Initialize the list of Certification Signature Should be called once.
func NewCertSignatures ¶
NewCertSignatures Generate a list of Certification Signature
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.