inject

package
v1.7.1-0...-23dd39d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WithCache

type WithCache struct {
	Cache cache.Cache
}

WithCache contains an instance of `cache.Cache`.

func (*WithCache) InjectCache

func (w *WithCache) InjectCache(cache cache.Cache) error

InjectCache implements `inject.InjectCache`.

type WithClient

type WithClient struct {
	Client client.Client
}

WithClient contains an instance of `client.Client`.

func (*WithClient) InjectClient

func (w *WithClient) InjectClient(c client.Client) error

InjectClient implements `inject.InjectClient`.

type WithContext

type WithContext struct {
	Context context.Context
}

WithContext contains a `context.Context`.

func (*WithContext) InjectStopChannel

func (w *WithContext) InjectStopChannel(stopChan <-chan struct{}) error

InjectStopChannel implements `inject.InjectStopChannel`.

type WithStopChannel

type WithStopChannel struct {
	StopChannel <-chan struct{}
}

WithStopChannel contains a stop channel.

func (*WithStopChannel) InjectStopChannel

func (w *WithStopChannel) InjectStopChannel(stopChan <-chan struct{}) error

InjectStopChannel implements `inject.InjectStopChannel`.

Jump to

Keyboard shortcuts

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