Documentation ¶
Index ¶
Constants ¶
View Source
const ( Docker = "docker" Swarm = "swarm" Kubernetes = "kubernetes" None = "none" )
Variables ¶
View Source
var ErrInvalidPlatform = errors.New("invalid platform specified")
Functions ¶
This section is empty.
Types ¶
type Platform ¶
type Platform interface { DeployWorkers(ctx context.Context, info worker.Info) error RemoveWorkers(ctx context.Context, info worker.Info) error }
Platform is an interface that allows ScoreTrak to deploy/remove the worker containers on a given environment like docker, docker swarm, or kubernetes.
func NewPlatform ¶
func NewPlatform(config platforming.Config) (Platform, error)
Click to show internal directories.
Click to hide internal directories.