controller_v1

package
v1.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ErrTemplateSchemeNotSupported = "scheme %s is not supported yet"

Variables

View Source
var SupportedSchemeReconciler = map[string]ReconcilerSetupFunc{
	tensorflowv1.Kind: func(mgr manager.Manager) error {
		return tensorflowcontroller.NewReconciler(mgr).SetupWithManager(mgr)
	},
	pytorchv1.Kind: func(mgr manager.Manager) error {
		return pytorchcontroller.NewReconciler(mgr).SetupWithManager(mgr)
	},
	mxnetv1.Kind: func(mgr manager.Manager) error {
		return mxnetcontroller.NewReconciler(mgr).SetupWithManager(mgr)
	},
	xgboostv1.Kind: func(mgr manager.Manager) error {
		return xgboostcontroller.NewReconciler(mgr).SetupWithManager(mgr)
	},
}

Functions

This section is empty.

Types

type EnabledSchemes

type EnabledSchemes []string

func (*EnabledSchemes) Empty

func (es *EnabledSchemes) Empty() bool

func (*EnabledSchemes) FillAll

func (es *EnabledSchemes) FillAll()

func (*EnabledSchemes) Set

func (es *EnabledSchemes) Set(kind string) error

func (*EnabledSchemes) String

func (es *EnabledSchemes) String() string

type ReconcilerSetupFunc

type ReconcilerSetupFunc func(manager2 manager.Manager) error

Directories

Path Synopsis
Package tensorflow provides a Kubernetes controller for a TFJob resource.
Package tensorflow provides a Kubernetes controller for a TFJob resource.

Jump to

Keyboard shortcuts

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