smartops

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventCaller

type EventCaller interface {
	Context() context.Context
	Type() uint32
	Application() string
	Project() string
}

type Instance

type Instance interface {
	Context() context.Context
	ContextCancel()

	Run(caller EventCaller) (uint32, error)
}

type SmartOpsCache

type SmartOpsCache interface {
	Close()
	Get(project, application, smartOpId string, ctx context.Context) (instance Instance, ok bool)
	Put(project, application, smartOpId string, ctx context.Context, instance Instance) error
}

type Util

type Util interface {
	GPU() bool
}

Util is the node utilities used by the smartOps

Jump to

Keyboard shortcuts

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