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: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPProtocol = "HTTP"
)

Variables

This section is empty.

Functions

func ComponentName

func ComponentName(composite *v1alpha2.Composite, component *v1alpha2.Component) string

func CopyComponent

func CopyComponent(source, destination *v1alpha2.Component)

func CopyRoutingVs

func CopyRoutingVs(source, destination *v1alpha3.VirtualService)

func GatewayNameFromInstanceName

func GatewayNameFromInstanceName(instance string) string

func K8sServiceName

func K8sServiceName(name string) string

func MakeComponent

func MakeComponent(composite *v1alpha2.Composite, component *v1alpha2.Component) *v1alpha2.Component

func MakeOriginalComponentK8sService

func MakeOriginalComponentK8sService(composite *v1alpha2.Composite, compName string, targetPorts []int) *corev1.Service

func MakeRoutingVirtualService

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

func MakeSecret

func MakeSecret(composite *v1alpha2.Composite, cfg config.Interface) (*corev1.Secret, error)

func MakeTokenService

func MakeTokenService(composite *v1alpha2.Composite) *v1alpha2.TokenService

func RequireComponentUpdate

func RequireComponentUpdate(composite *v1alpha2.Composite, component *v1alpha2.Component) bool

func RequireRoutingVsUpdate

func RequireRoutingVsUpdate(composite *v1alpha2.Composite, vs *v1alpha3.VirtualService) bool

func SecretName

func SecretName(composite *v1alpha2.Composite) string

func StatusFromComponent

func StatusFromComponent(composite *v1alpha2.Composite, component *v1alpha2.Component)

func StatusFromRoutingVs

func StatusFromRoutingVs(composite *v1alpha2.Composite, vs *v1alpha3.VirtualService)

func StatusFromSecret

func StatusFromSecret(composite *v1alpha2.Composite, secret *corev1.Secret)

func StatusFromTokenService

func StatusFromTokenService(composite *v1alpha2.Composite, tokenService *v1alpha2.TokenService)

func TokenServiceName

func TokenServiceName(composite *v1alpha2.Composite) string

Types

type CompositeSrcLabelBulder added in v0.4.1

type CompositeSrcLabelBulder struct{}

func (CompositeSrcLabelBulder) Get added in v0.4.1

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

Jump to

Keyboard shortcuts

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