k8s

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8SClient

type K8SClient interface {
	Create(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error)
	Get(ctx context.Context, name string, options metav1.GetOptions) (*v1alpha1.Operation, error)
	Update(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error)
}

K8SClient missing godoc

type Scheduler

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

Scheduler missing godoc

func NewScheduler

func NewScheduler(kcli K8SClient) *Scheduler

NewScheduler missing godoc

func (*Scheduler) Schedule

func (s *Scheduler) Schedule(ctx context.Context, op *operation.Operation) (string, error)

Schedule missing godoc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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