resourcemanager

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptimusResourceManager

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

func NewOptimusResourceManager

func NewOptimusResourceManager(resourceManagerConfig config.ResourceManager) (*OptimusResourceManager, error)

NewOptimusResourceManager initializes job spec repository for Optimus neighbor

func (*OptimusResourceManager) GetOptimusUpstreams

func (o *OptimusResourceManager) GetOptimusUpstreams(ctx context.Context, unresolvedDependency *job.Upstream) ([]*job.Upstream, error)

type ResourceManager

type ResourceManager interface {
	GetOptimusUpstreams(ctx context.Context, unresolvedDependency *job.Upstream) ([]*job.Upstream, error)
}

ResourceManager is repository for external job spec

Jump to

Keyboard shortcuts

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