rainbond: github.com/goodrain/rainbond/worker/appm/f Index | Files

package f

import "github.com/goodrain/rainbond/worker/appm/f"

Index

Package Files

function.go

func ApplyOne Uses

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

ApplyOne applies one rule.

func EnsureEndpoints Uses

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

EnsureEndpoints creates or updates endpoints.

func EnsureHPA Uses

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

EnsureHPA -

func EnsureService Uses

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

EnsureService ensure service

func UpgradeEndpoints Uses

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

UpgradeEndpoints is used to update *corev1.Endpoints.

func UpgradeIngress Uses

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 Uses

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.

Package f imports 9 packages (graph) and is imported by 3 packages. Updated 2019-12-05. Refresh now. Tools for package owners.