istio: Index | Files

package converter

import ""


Package Files


type Instance Uses

type Instance struct {
    // contains filtered or unexported fields

Instance of the converter.

func New Uses

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

New creates a new instance of the converter.

func (*Instance) Convert Uses

func (i *Instance) Convert(service *resource.Entry, endpoints *resource.Entry, outMeta *resource.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.

Package converter imports 14 packages (graph) and is imported by 1 packages. Updated 2019-12-11. Refresh now. Tools for package owners.