service

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Echo

type Echo interface {
	// EchoObj echoes the received object.
	EchoObj(prefix string, obj runtime.Object)
	// EchoS echoes the received string.
	EchoS(prefix string, s string)
}

Echo is simple echo service.

type SimpleEcho

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

SimpleEcho echoes the received object name.

func NewSimpleEcho

func NewSimpleEcho(logger log.Logger) *SimpleEcho

NewSimpleEcho returns a new SimpleEcho.

func (*SimpleEcho) EchoObj

func (s *SimpleEcho) EchoObj(prefix string, obj runtime.Object)

EchoObj satisfies service.Echo interface.

func (*SimpleEcho) EchoS

func (s *SimpleEcho) EchoS(prefix string, str string)

EchoS satisfies service.Echo interface.

Jump to

Keyboard shortcuts

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