job

package
v0.0.0-...-bc276ce Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Namespace string
	Label     string
	Duration  time.Duration
}

func Flags

func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) *Config

type Service

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

func New

func New(config *Config, k8s *kubernetes.Clientset) Service

func (Service) Done

func (s Service) Done() <-chan struct{}

func (Service) Start

func (s Service) Start(ctx context.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳