Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RuntimeService ¶
Types ¶
type Authorizer ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(app string, operations *runtimeoperation.Manager, authorizer Authorizer, executor runtimeoperation.Executor) (*Handler, error)
type ServiceTokenVerifier ¶
type ServiceTokenVerifier struct {
// contains filtered or unexported fields
}
func NewServiceTokenVerifier ¶
func NewServiceTokenVerifier(path string) (*ServiceTokenVerifier, error)
type StaticAuthorizer ¶
type StaticAuthorizer struct {
// contains filtered or unexported fields
}
func NewStaticAuthorizer ¶
func NewStaticAuthorizer(app, path string) (*StaticAuthorizer, error)
func (*StaticAuthorizer) AuthorizeRuntimeOperation ¶
func (a *StaticAuthorizer) AuthorizeRuntimeOperation(app, service, capability, operation string) error
func (*StaticAuthorizer) Capabilities ¶
func (a *StaticAuthorizer) Capabilities() map[string][]string
func (*StaticAuthorizer) CapabilitiesForService ¶
func (a *StaticAuthorizer) CapabilitiesForService(service string) map[string][]string
Click to show internal directories.
Click to hide internal directories.