job

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Copyright 2020 The Alibaba Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarsJobPersistController added in v0.2.0

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

func (*MarsJobPersistController) Reconcile added in v0.2.0

func (pc *MarsJobPersistController) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*MarsJobPersistController) SetupWithManager added in v0.2.0

func (pc *MarsJobPersistController) SetupWithManager(mgr ctrl.Manager) error

type PersistController

type PersistController interface {
	SetupWithManager(mgr ctrl.Manager) error
}

PersistController implementations

func NewJobPersistControllers

func NewJobPersistControllers(mgr ctrl.Manager, objStorage string, region string) (PersistController, error)

func NewMarsJobPersistController added in v0.2.0

func NewMarsJobPersistController(mgr ctrl.Manager, handler *jobPersistHandler) PersistController

func NewPytorchJobPersistController

func NewPytorchJobPersistController(mgr ctrl.Manager, handler *jobPersistHandler) PersistController

func NewTFJobPersistController

func NewTFJobPersistController(mgr ctrl.Manager, handler *jobPersistHandler) PersistController

func NewXDLJobPersistController

func NewXDLJobPersistController(mgr ctrl.Manager, handler *jobPersistHandler) PersistController

func NewXGBoostJobPersistController

func NewXGBoostJobPersistController(mgr ctrl.Manager, handler *jobPersistHandler) PersistController

type PytorchJobPersistController

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

func (*PytorchJobPersistController) Reconcile

func (pc *PytorchJobPersistController) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*PytorchJobPersistController) SetupWithManager

func (pc *PytorchJobPersistController) SetupWithManager(mgr ctrl.Manager) error

type TFJobPersistController

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

func (*TFJobPersistController) Reconcile

func (pc *TFJobPersistController) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*TFJobPersistController) SetupWithManager

func (pc *TFJobPersistController) SetupWithManager(mgr ctrl.Manager) error

type XDLJobPersistController

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

func (*XDLJobPersistController) Reconcile

func (pc *XDLJobPersistController) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*XDLJobPersistController) SetupWithManager

func (pc *XDLJobPersistController) SetupWithManager(mgr ctrl.Manager) error

type XGBoostJobPersistController

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

func (*XGBoostJobPersistController) Reconcile

func (pc *XGBoostJobPersistController) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*XGBoostJobPersistController) SetupWithManager

func (pc *XGBoostJobPersistController) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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