Documentation ¶
Overview ¶
Package machinery contains general-purpose utilities used for integrating functionality between multiple packages.
Index ¶
- func ConfigureStorageBackend(ctx context.Context, cfg *v1beta1.StorageSpec) (storage.Backend, error)
- func LoadAuthProviders(ctx context.Context, objects meta.ObjectList)
- func LoadDocuments[T JsonDocument](documents []T) (meta.ObjectList, error)
- func LoadPlugins(loader *plugins.PluginLoader, conf v1beta1.PluginsSpec, ...) int
- func SetupNoauthServer(ctx context.Context, lg logger.ExtendedSugaredLogger, ap *v1beta1.AuthProvider)
- func SubjectAccessCapableStore(client management.ManagementClient) storage.SubjectAccessCapableStore
- type JsonDocument
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureStorageBackend ¶
func LoadAuthProviders ¶
func LoadAuthProviders(ctx context.Context, objects meta.ObjectList)
func LoadDocuments ¶
func LoadDocuments[T JsonDocument](documents []T) (meta.ObjectList, error)
func LoadPlugins ¶
func LoadPlugins(loader *plugins.PluginLoader, conf v1beta1.PluginsSpec, reattach ...*plugin.ReattachConfig) int
func SetupNoauthServer ¶
func SetupNoauthServer( ctx context.Context, lg logger.ExtendedSugaredLogger, ap *v1beta1.AuthProvider, )
func SubjectAccessCapableStore ¶
func SubjectAccessCapableStore(client management.ManagementClient) storage.SubjectAccessCapableStore
Types ¶
type JsonDocument ¶
type JsonDocument interface {
GetJson() []byte
}
Click to show internal directories.
Click to hide internal directories.