util

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringSlicesEqual added in v1.10.0

func StringSlicesEqual(l, r []string) bool

Types

type Stoppable

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

Stoppable implements the standard stop / shutdown logic

func (*Stoppable) Stop

func (s *Stoppable) Stop() error

Stop stops the controller.

func (*Stoppable) StopChannel

func (s *Stoppable) StopChannel() <-chan struct{}

StopChannel gets the stopChannel, initializing it if needed

func (*Stoppable) StopRequested

func (s *Stoppable) StopRequested() bool

Jump to

Keyboard shortcuts

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