Documentation ¶
Index ¶
- func ApplyOne(ctx context.Context, apply apply.Applicator, clientset kubernetes.Interface, ...) error
- func CreateOrUpdateSecret(clientset kubernetes.Interface, secret *corev1.Secret) error
- func EnsureEndpoints(ep *corev1.Endpoints, clientSet kubernetes.Interface) error
- func EnsureHPA(new *autoscalingv2.HorizontalPodAutoscaler, clientSet kubernetes.Interface)
- func EnsureService(new *corev1.Service, clientSet kubernetes.Interface) error
- func UpgradeClaims(clientset *kubernetes.Clientset, as *v1.AppService, ...) error
- func UpgradeEndpoints(clientset kubernetes.Interface, as *v1.AppService, ...) error
- func UpgradeIngress(clientset kubernetes.Interface, as *v1.AppService, ...) error
- func UpgradeSecrets(clientset kubernetes.Interface, as *v1.AppService, old, new []*corev1.Secret, ...) error
- func UpgradeServiceMonitor(clientset *versioned.Clientset, as *v1.AppService, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyOne ¶
func ApplyOne(ctx context.Context, apply apply.Applicator, clientset kubernetes.Interface, app *v1.AppService) error
ApplyOne applies one rule.
func CreateOrUpdateSecret ¶
func CreateOrUpdateSecret(clientset kubernetes.Interface, secret *corev1.Secret) error
CreateOrUpdateSecret creates or updates secret.
func EnsureEndpoints ¶
func EnsureEndpoints(ep *corev1.Endpoints, clientSet kubernetes.Interface) error
EnsureEndpoints creates or updates endpoints.
func EnsureHPA ¶
func EnsureHPA(new *autoscalingv2.HorizontalPodAutoscaler, clientSet kubernetes.Interface)
EnsureHPA -
func EnsureService ¶
func EnsureService(new *corev1.Service, clientSet kubernetes.Interface) error
EnsureService ensure service:update or create service
func UpgradeClaims ¶
func UpgradeClaims(clientset *kubernetes.Clientset, as *v1.AppService, old, new []*corev1.PersistentVolumeClaim, handleErr func(msg string, err error) error) error
UpgradeClaims is used to update *corev1.PVC.
func UpgradeEndpoints ¶
func UpgradeEndpoints(clientset kubernetes.Interface, 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.Interface, as *v1.AppService, old, new []*networkingv1.Ingress, oldBeta, newBeta []*betav1.Ingress, handleErr func(msg string, err error) error) error
UpgradeIngress is used to update *networkingv1.Ingress.
func UpgradeSecrets ¶
func UpgradeSecrets(clientset kubernetes.Interface, as *v1.AppService, old, new []*corev1.Secret, handleErr func(msg string, err error) error) error
UpgradeSecrets is used to update *corev1.Secret.
func UpgradeServiceMonitor ¶
func UpgradeServiceMonitor( clientset *versioned.Clientset, as *v1.AppService, old, new []*monitorv1.ServiceMonitor, handleErr func(msg string, err error) error) error
UpgradeServiceMonitor -
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.