istio: istio.io/istio/galley/pkg/config/processor/transforms/serviceentry/converter Index | Files

package converter

import "istio.io/istio/galley/pkg/config/processor/transforms/serviceentry/converter"

Index

Package Files

instance.go

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 10 packages (graph) and is imported by 1 packages. Updated 2019-10-16. Refresh now. Tools for package owners.