Help us shape the future of Go! Take the 2026 Go Developer Survey

queuefetcher

package
v0.20.13 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeckhouseQueue

type DeckhouseQueue struct {
	Header  string
	Tasks   []DeckhouseQueueTask
	Summary []string
}

type DeckhouseQueueFetcher

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

func New

func New(kubeCl kubernetes.Interface, restConfig *rest.Config) *DeckhouseQueueFetcher

func (*DeckhouseQueueFetcher) GetQueue

GetQueue fetches and processes queue from Deckhouse leader

type DeckhouseQueueTask

type DeckhouseQueueTask struct {
	Index int
	Text  string
}

type QueueFetcher

type QueueFetcher interface {
	GetQueue(ctx context.Context) (DeckhouseQueue, error)
}

QueueFetcher encapsulates access to a queue

Jump to

Keyboard shortcuts

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