util

package
Version: v1.22.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: Apache-2.0 Imports: 3 Imported by: 176

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