resources

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPProtocol = "HTTP"
)

Variables

This section is empty.

Functions

func Annotate added in v0.3.0

func Annotate(vs *v1alpha3.VirtualService, name string, value string)

func BuildVirtualServiceiedConfig added in v0.3.0

func BuildVirtualServiceiedConfig(vs *v1alpha3.VirtualService) *v1alpha3.VirtualService

func ComponentName added in v0.4.0

func ComponentName(cell *v1alpha2.Cell, component *v1alpha2.Component) string

func CopyComponent added in v0.4.0

func CopyComponent(source, destination *v1alpha2.Component)

func CopyGateway added in v0.4.0

func CopyGateway(source, destination *v1alpha2.Gateway)

func CopyNetworkPolicy added in v0.4.0

func CopyNetworkPolicy(source, destination *networkv1.NetworkPolicy)

func CopyRoutingVs added in v0.4.0

func CopyRoutingVs(source, destination *v1alpha3.VirtualService)

func CopyTokenService added in v0.4.0

func CopyTokenService(source, destination *v1alpha2.TokenService)

func EnvoyFilterName

func EnvoyFilterName(cell *v1alpha2.Cell) string

func GatewayK8sServiceName added in v0.3.0

func GatewayK8sServiceName(gwName string) string

func GatewayName

func GatewayName(cell *v1alpha2.Cell) string

func GatewayNameFromInstanceName added in v0.3.0

func GatewayNameFromInstanceName(instance string) string

func MakeComponent added in v0.4.0

func MakeComponent(cell *v1alpha2.Cell, component *v1alpha2.Component) *v1alpha2.Component

func MakeGateway added in v0.4.0

func MakeGateway(cell *v1alpha2.Cell) *v1alpha2.Gateway

func MakeNetworkPolicy added in v0.4.0

func MakeNetworkPolicy(cell *v1alpha2.Cell) *networkv1.NetworkPolicy

func MakeRoutingVirtualService added in v0.4.0

func MakeRoutingVirtualService(cell *v1alpha2.Cell, cellLister listers.CellLister, compositeLister listers.CompositeLister) (*v1alpha3.VirtualService, error)

func MakeSecret added in v0.4.0

func MakeSecret(cell *v1alpha2.Cell, cfg config.Interface) (*corev1.Secret, error)

func MakeTokenService added in v0.4.0

func MakeTokenService(cell *v1alpha2.Cell) *v1alpha2.TokenService

func NetworkPolicyName

func NetworkPolicyName(cell *v1alpha2.Cell) string

func RequireComponentUpdate added in v0.4.0

func RequireComponentUpdate(cell *v1alpha2.Cell, component *v1alpha2.Component) bool

func RequireGatewayUpdate added in v0.4.0

func RequireGatewayUpdate(cell *v1alpha2.Cell, gateway *v1alpha2.Gateway) bool

func RequireNetworkPolicyUpdate added in v0.4.0

func RequireNetworkPolicyUpdate(cell *v1alpha2.Cell, networkPolicy *networkv1.NetworkPolicy) bool

func RequireRoutingVsUpdate added in v0.4.0

func RequireRoutingVsUpdate(cell *v1alpha2.Cell, vs *v1alpha3.VirtualService) bool

func RequireTokenServiceUpdate added in v0.4.0

func RequireTokenServiceUpdate(cell *v1alpha2.Cell, tokenService *v1alpha2.TokenService) bool

func SecretName added in v0.2.0

func SecretName(cell *v1alpha2.Cell) string

func StatusFromComponent added in v0.4.0

func StatusFromComponent(cell *v1alpha2.Cell, component *v1alpha2.Component)

func StatusFromGateway added in v0.4.0

func StatusFromGateway(cell *v1alpha2.Cell, gateway *v1alpha2.Gateway)

func StatusFromNetworkPolicy added in v0.4.0

func StatusFromNetworkPolicy(cell *v1alpha2.Cell, networkPolicy *networkv1.NetworkPolicy)

func StatusFromRoutingVs added in v0.4.0

func StatusFromRoutingVs(cell *v1alpha2.Cell, vs *v1alpha3.VirtualService)

func StatusFromSecret added in v0.4.0

func StatusFromSecret(cell *v1alpha2.Cell, secret *corev1.Secret)

func StatusFromTokenService added in v0.4.0

func StatusFromTokenService(cell *v1alpha2.Cell, tokenService *v1alpha2.TokenService)

func TokenServiceName

func TokenServiceName(cell *v1alpha2.Cell) string

Types

type CellSrcLabelBulder added in v0.4.1

type CellSrcLabelBulder struct{}

func (CellSrcLabelBulder) Get added in v0.4.1

func (labelBuilder CellSrcLabelBulder) Get(instance string) map[string]string

Jump to

Keyboard shortcuts

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