mpi

package
v0.0.0-...-d8b821e Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackend

func NewBackend(
	kubeClient kubernetes.Interface,
	kubeflowClient clientset.Interface,
	serviceAccountLister corelister.ServiceAccountLister,
	roleLister rbaclister.RoleLister,
	roleBindingLister rbaclister.RoleBindingLister,
	configMapLister corelister.ConfigMapLister,
	jobLister batchlister.JobLister,
	statefulSetLister appslister.StatefulSetLister,
	recorder record.EventRecorder,
) backends.Backend

NewBackend is constructor for Backend

Types

type Backend

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

Backend is responsible for syncing ChainerJob with backend:mpi

func (*Backend) SyncChainerJob

func (b *Backend) SyncChainerJob(chjob *apisv1alpha1.ChainerJob) error

SyncChainerJob is main function to sync ChainerJob with "backend: mpi"

Jump to

Keyboard shortcuts

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