resolvers

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecisionLogFunc

type DecisionLogFunc func(*dl.Decision) error

type DecisionLogResolver

type DecisionLogResolver interface {
	DecisionLogFromContext(ctx context.Context, policyID, policyName, instanceLabel string) (DecisionLogFunc, error)
	GetDecisionLog(ctx context.Context, tenantID, policyID, policyName, instanceLabel string) (DecisionLogFunc, error)
}

type DirectoryResolver

type DirectoryResolver interface {
	GetDS(ctx context.Context) (ds2.DirectoryClient, error)
}

type RuntimeResolver

type RuntimeResolver interface {
	RuntimeFromContext(ctx context.Context, policyID, policyName, instanceLabel string) (*runtime.Runtime, error)
	GetRuntime(ctx context.Context, tenantID, policyID, policyName, instanceLabel string) (*runtime.Runtime, error)
	PeekRuntime(ctx context.Context, tenantID, policyID, policyName, instanceLabel string) (*runtime.Runtime, error)
	ReloadRuntime(ctx context.Context, tenantID, policyID, policyName, instanceLabel string) error
	ListRuntimes(ctx context.Context) (map[string]*runtime.Runtime, error)
	UnloadRuntime(ctx context.Context, tenantID, policyID, policyName, instanceLabel string)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL