watcher

package
v0.0.0-...-789d931 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocData

type AllocData struct {
	ID        string
	Node      string
	Job       string
	Task      string
	TaskGroup string
	Message   string
	EventAt   time.Time
}

func (AllocData) MarshalZerologObject

func (ad AllocData) MarshalZerologObject(e *zerolog.Event)

type Watcher

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

func NewAllocWatcher

func NewAllocWatcher(client *api.Client) Watcher

func (*Watcher) Run

func (w *Watcher) Run(msgChan chan AllocData)

Jump to

Keyboard shortcuts

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