Documentation ¶
Index ¶
- Constants
- func ComponentName(composite *v1alpha2.Composite, component *v1alpha2.Component) string
- func CopyComponent(source, destination *v1alpha2.Component)
- func CopyRoutingVs(source, destination *v1alpha3.VirtualService)
- func GatewayNameFromInstanceName(instance string) string
- func K8sServiceName(name string) string
- func MakeComponent(composite *v1alpha2.Composite, component *v1alpha2.Component) *v1alpha2.Component
- func MakeOriginalComponentK8sService(composite *v1alpha2.Composite, compName string, targetPorts []int) *corev1.Service
- func MakeRoutingVirtualService(composite *v1alpha2.Composite, compositeLister listers.CompositeLister, ...) (*v1alpha3.VirtualService, error)
- func MakeSecret(composite *v1alpha2.Composite, cfg config.Interface) (*corev1.Secret, error)
- func MakeTokenService(composite *v1alpha2.Composite) *v1alpha2.TokenService
- func RequireComponentUpdate(composite *v1alpha2.Composite, component *v1alpha2.Component) bool
- func RequireRoutingVsUpdate(composite *v1alpha2.Composite, vs *v1alpha3.VirtualService) bool
- func SecretName(composite *v1alpha2.Composite) string
- func StatusFromComponent(composite *v1alpha2.Composite, component *v1alpha2.Component)
- func StatusFromRoutingVs(composite *v1alpha2.Composite, vs *v1alpha3.VirtualService)
- func StatusFromSecret(composite *v1alpha2.Composite, secret *corev1.Secret)
- func StatusFromTokenService(composite *v1alpha2.Composite, tokenService *v1alpha2.TokenService)
- func TokenServiceName(composite *v1alpha2.Composite) string
- type CompositeSrcLabelBulder
Constants ¶
View Source
const (
HTTPProtocol = "HTTP"
)
Variables ¶
This section is empty.
Functions ¶
func ComponentName ¶
func CopyComponent ¶
func CopyRoutingVs ¶
func CopyRoutingVs(source, destination *v1alpha3.VirtualService)
func K8sServiceName ¶
func MakeComponent ¶
func MakeRoutingVirtualService ¶
func MakeRoutingVirtualService(composite *v1alpha2.Composite, compositeLister listers.CompositeLister, cellLister listers.CellLister) (*v1alpha3.VirtualService, error)
func MakeSecret ¶
func MakeTokenService ¶
func MakeTokenService(composite *v1alpha2.Composite) *v1alpha2.TokenService
func RequireComponentUpdate ¶
func RequireRoutingVsUpdate ¶
func RequireRoutingVsUpdate(composite *v1alpha2.Composite, vs *v1alpha3.VirtualService) bool
func SecretName ¶
func StatusFromComponent ¶
func StatusFromRoutingVs ¶
func StatusFromRoutingVs(composite *v1alpha2.Composite, vs *v1alpha3.VirtualService)
func StatusFromTokenService ¶
func StatusFromTokenService(composite *v1alpha2.Composite, tokenService *v1alpha2.TokenService)
func TokenServiceName ¶
Types ¶
type CompositeSrcLabelBulder ¶ added in v0.4.1
type CompositeSrcLabelBulder struct{}
Click to show internal directories.
Click to hide internal directories.