noop

package
v2.15.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package noop runs no-op built-in Agent for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoOp

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

NoOp is built-in Agent for testing.

func New

func New() *NoOp

New creates new NoOp.

func (*NoOp) Changes

func (n *NoOp) Changes() <-chan agents.Change

Changes returns channel that should be read until it is closed.

func (*NoOp) Run

func (n *NoOp) Run(ctx context.Context)

Run is doing nothing until ctx is canceled.

Jump to

Keyboard shortcuts

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