envoy

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Envoy = "envoy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultEnvoyServiceMesh

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

func NewEnvoyServiceMesh

func NewEnvoyServiceMesh(options *Options) (*DefaultEnvoyServiceMesh, error)

func (*DefaultEnvoyServiceMesh) BootstrapSystemResources

func (sm *DefaultEnvoyServiceMesh) BootstrapSystemResources(resources *bootstrapper.SystemResources)

func (*DefaultEnvoyServiceMesh) EgressPorts

func (sm *DefaultEnvoyServiceMesh) EgressPorts(service *latticev1.Service) (*EnvoyEgressPorts, error)

func (*DefaultEnvoyServiceMesh) HasServiceIP

func (sm *DefaultEnvoyServiceMesh) HasServiceIP(address *latticev1.Address) (string, error)

func (*DefaultEnvoyServiceMesh) IsDeploymentSpecUpdated

func (sm *DefaultEnvoyServiceMesh) IsDeploymentSpecUpdated(
	service *latticev1.Service,
	current, desired, untransformed *appsv1.DeploymentSpec,
) (bool, string, *appsv1.DeploymentSpec)

func (*DefaultEnvoyServiceMesh) ReleaseServiceIP

func (sm *DefaultEnvoyServiceMesh) ReleaseServiceIP(address *latticev1.Address) (map[string]string, error)

func (*DefaultEnvoyServiceMesh) ServiceAddressAnnotations

func (sm *DefaultEnvoyServiceMesh) ServiceAddressAnnotations(
	address *latticev1.Address) (map[string]string, error)

func (*DefaultEnvoyServiceMesh) ServiceAnnotations

func (sm *DefaultEnvoyServiceMesh) ServiceAnnotations(service *latticev1.Service) (map[string]string, error)

func (*DefaultEnvoyServiceMesh) ServiceIP

func (sm *DefaultEnvoyServiceMesh) ServiceIP(
	service *latticev1.Service, address *latticev1.Address) (string, map[string]string, error)

func (*DefaultEnvoyServiceMesh) ServiceMeshPort

func (sm *DefaultEnvoyServiceMesh) ServiceMeshPort(service *latticev1.Service, port int32) (int32, error)

func (*DefaultEnvoyServiceMesh) ServiceMeshPorts

func (sm *DefaultEnvoyServiceMesh) ServiceMeshPorts(service *latticev1.Service) (map[int32]int32, error)

func (*DefaultEnvoyServiceMesh) ServicePort

func (sm *DefaultEnvoyServiceMesh) ServicePort(service *latticev1.Service, port int32) (int32, error)

func (*DefaultEnvoyServiceMesh) ServicePorts

func (sm *DefaultEnvoyServiceMesh) ServicePorts(service *latticev1.Service) (map[int32]int32, error)

func (*DefaultEnvoyServiceMesh) TransformServicePodTemplateSpec

func (sm *DefaultEnvoyServiceMesh) TransformServicePodTemplateSpec(
	service *latticev1.Service,
	spec *corev1.PodTemplateSpec,
) (*corev1.PodTemplateSpec, error)

type DefaultEnvoySystemBootstrapper

type DefaultEnvoySystemBootstrapper struct {
	*noop.DefaultBootstrapper
}

type EnvoyEgressPorts

type EnvoyEgressPorts struct {
	HTTP int32 `json:"http"`
	TCP  int32 `json:"tcp"`
}

type Options

type Options struct {
	PrepareImage      string
	Image             string
	RedirectCIDRBlock net.IPNet
	XDSAPIPort        int32
}

func Flags

func Flags() (cli.Flags, *Options)

func NewOptions

func NewOptions(staticOptions *Options, dynamicConfig *latticev1.ConfigServiceMeshEnvoy) (*Options, error)

type SystemBootstrapperOptions

type SystemBootstrapperOptions struct {
}

func ParseSystemBootstrapperFlags

func ParseSystemBootstrapperFlags(vars []string) *SystemBootstrapperOptions

func SystemBootstrapperFlags

func SystemBootstrapperFlags() (cli.Flags, *SystemBootstrapperOptions)

Directories

Path Synopsis
xdsapi
v2

Jump to

Keyboard shortcuts

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