cmd

package
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version of the program, set via ldflags by godel during build
	Version = "unspecified"
)

Functions

func Execute

func Execute() int

Execute runs the application and returns the exit code.

func InitServerWithClients added in v0.62.0

func InitServerWithClients(ctx context.Context, info witchcraft.InitInfo, allClient AllClient) (*extender.SparkSchedulerExtender, error)

InitServerWithClients is exported for end to end testing

func New

func New() *witchcraft.Server

New creates and returns a witchcraft Server.

Types

type AllClient added in v0.62.0

type AllClient struct {
	APIExtensionsClient  apiextensionsclientset.Interface
	SparkSchedulerClient clientset.Interface
	KubeClient           kubernetes.Interface
}

AllClient holds all the k8s clients used

func GetClients added in v0.62.0

func GetClients(ctx context.Context, install config.Install) (AllClient, error)

GetClients creates AllClient given the passed in install config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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