Documentation ¶
Index ¶
- func ApplyOne(clientset *kubernetes.Clientset, app *v1.AppService) error
- func EnsureEndpoints(ep *corev1.Endpoints, clientSet kubernetes.Interface)
- func UpdateEndpoints(ep *corev1.Endpoints, clientSet *kubernetes.Clientset)
- func UpgradeEndpoints(clientset *kubernetes.Clientset, as *v1.AppService, ...) error
- func UpgradeIngress(clientset *kubernetes.Clientset, as *v1.AppService, ...) error
- func UpgradeSecrets(clientset *kubernetes.Clientset, as *v1.AppService, old, new []*corev1.Secret, ...) error
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)
EnsureEndpoints creates or updates endpoints.
func UpdateEndpoints ¶
func UpdateEndpoints(ep *corev1.Endpoints, clientSet *kubernetes.Clientset)
UpdateEndpoints uses clientset to update the given Endpoints.
func UpgradeEndpoints ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.