wait

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wait

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

Wait is used to poll a given systemd unit until its ready

func NewWaiter

func NewWaiter(systemdUnitName string, timeout, loggingSince time.Duration) *Wait

NewWaiter instantiate a Wait with the given parameter

func (*Wait) Wait

func (w *Wait) Wait() error

Wait for the systemd unit being ready

Jump to

Keyboard shortcuts

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