converter

package
v0.0.0-...-1a56975 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

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

Instance of the converter.

func New

func New(domain string, pods pod.Cache) *Instance

New creates a new instance of the converter.

func (*Instance) Convert

func (i *Instance) Convert(service *resource.Entry, endpoints *resource.Entry, outMeta *mcp.Metadata,
	out *networking.ServiceEntry) error

Convert applies the conversion function from k8s Service and Endpoints to ServiceEntry. The ServiceEntry is passed as an argument (out) in order to enable object reuse in the future.

Jump to

Keyboard shortcuts

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