initializer

package
v0.0.0-...-965667f Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SparkPodInitializer

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

SparkPodInitializer watches uninitialized Spark driver and executor pods and modifies pod specs based on certain annotations on the pods. For example, it is responsible for mounting user-specified secrets and ConfigMaps into the driver and executor pods.

func New

func New(kubeClient clientset.Interface) *SparkPodInitializer

New creates a new instance of Initializer.

func (*SparkPodInitializer) Run

func (ic *SparkPodInitializer) Run(workers int, stopCh <-chan struct{}, errCh chan<- error)

Run runs the initializer controller.

Jump to

Keyboard shortcuts

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