resolvers

package
v0.32.23 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectoryResolver

type DirectoryResolver interface {
	GetDS(ctx context.Context) (dsr3.ReaderClient, error)
}

type Resolvers added in v0.0.8

type Resolvers struct {
	// contains filtered or unexported fields
}

func New added in v0.0.8

func New() *Resolvers

func (*Resolvers) GetDirectoryResolver added in v0.0.8

func (s *Resolvers) GetDirectoryResolver() DirectoryResolver

func (*Resolvers) GetRuntimeResolver added in v0.0.8

func (s *Resolvers) GetRuntimeResolver() RuntimeResolver

func (*Resolvers) SetDirectoryResolver added in v0.0.8

func (s *Resolvers) SetDirectoryResolver(resolver DirectoryResolver)

func (*Resolvers) SetRuntimeResolver added in v0.0.8

func (s *Resolvers) SetRuntimeResolver(resolver RuntimeResolver)

type RuntimeResolver

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

Jump to

Keyboard shortcuts

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