Documentation
¶
Overview ¶
Copyright © 2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: BSD-2-Clause
Copyright © 2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: BSD-2-Clause
Copyright © 2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: BSD-2-Clause
Copyright © 2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: BSD-2-Clause
Index ¶
Constants ¶
View Source
const RequestContextKeyUsername = RequestContextKey("username")
Variables ¶
This section is empty.
Functions ¶
func GetSystemRequestContext ¶
func GetTestRequestContext ¶
Types ¶
type AuthorizationManager ¶
type AuthorizationManager interface {
Allowed(ctx gocontext.Context, op model.Operation, namespacePath string) error
}
func GetTestAuthzManager ¶
func GetTestAuthzManager() AuthorizationManager
type ModuleInitContext ¶
type ModuleInitContext struct {
Config *config.Config
DataStore vds.DataStoreAdapter
VirtualKeyStore *vks.VirtualKeyStore
AuthzManager AuthorizationManager
}
func NewModuleInitContext ¶
func NewModuleInitContext(config *config.Config, dsAdapter vds.DataStoreAdapter, vKeyStore *vks.VirtualKeyStore, authzManager AuthorizationManager) *ModuleInitContext
type RequestContextKey ¶
type RequestContextKey string
Click to show internal directories.
Click to hide internal directories.