patch

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePatch

func GeneratePatch(meta Meta) ([]byte, error)

Types

type InitMeta

type InitMeta struct {
	ContainerImage     string
	Ports              string
	EgressIgnoredPorts string
	IgnoredIPs         string
	CpuRequests        string
	MemoryRequests     string
}

type Meta

type Meta struct {
	AppendInit            bool
	AppendSidecar         bool
	AppendImagePullSecret bool
	HasImagePullSecret    bool
	InjectFSGroup         bool
	Init                  InitMeta
	Sidecar               SidecarMeta
	PodMetadata           metav1.ObjectMeta
}

type SidecarMeta

type SidecarMeta struct {
	ContainerImage       string
	MeshName             string
	VirtualNodeName      string
	Preview              string
	LogLevel             string
	Region               string
	CpuRequests          string
	MemoryRequests       string
	EnableJaegerTracing  bool
	JaegerAddress        string
	JaegerPort           string
	EnableDatadogTracing bool
	DatadogAddress       string
	DatadogPort          string
	InjectXraySidecar    bool
	EnableStatsTags      bool
	EnableStatsD         bool
}

Jump to

Keyboard shortcuts

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