f

package
v5.1.11-release+incomp... Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: LGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyOne

func ApplyOne(clientset *kubernetes.Clientset, app *v1.AppService) error

ApplyOne applies one rule.

func EnsureEndpoints

func EnsureEndpoints(ep *corev1.Endpoints, clientSet kubernetes.Interface) error

EnsureEndpoints creates or updates endpoints.

func EnsureHPA

func EnsureHPA(new *v2beta1.HorizontalPodAutoscaler, clientSet kubernetes.Interface)

EnsureHPA -

func EnsureService

func EnsureService(new *corev1.Service, clientSet kubernetes.Interface) error

EnsureService ensure service:update or create service

func UpgradeIngress

func UpgradeIngress(clientset *kubernetes.Clientset,
	as *v1.AppService,
	old, new []*extensions.Ingress,
	handleErr func(msg string, err error) error) error

UpgradeIngress is used to update *extensions.Ingress.

func UpgradeSecrets

func UpgradeSecrets(clientset *kubernetes.Clientset,
	as *v1.AppService, old, new []*corev1.Secret,
	handleErr func(msg string, err error) error) error

UpgradeSecrets is used to update *corev1.Secret.

Types

This section is empty.

Jump to

Keyboard shortcuts

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