context

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	context.Context
	options.MirrorOptions
	DestClient   *clientv3.Client
	SourceClient *clientv3.Client
	MirrorFilter *layer2.Filter
	Transformers map[string]value.Transformer
}

func NewMirrorContext

func NewMirrorContext(o *options.MirrorOptions) (*Context, error)

func (*Context) GetTransformer

func (ctx *Context) GetTransformer(key string) value.Transformer

func (*Context) SetTransformer

func (ctx *Context) SetTransformer(gr schema.GroupResource, transformer value.Transformer)

Jump to

Keyboard shortcuts

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