kubernetes

package
v0.0.0-...-ab50414 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package kubernetes implements an Application backend that uses a Kubernetes informer to keep track of resources, and an appclientset to manipulate Application resources on the cluster.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesBackend

type KubernetesBackend struct {
	// contains filtered or unexported fields
}

func NewKubernetesBackend

func NewKubernetesBackend(appClient appclientset.Interface, namespace string, informer *appinformer.AppInformer, usePatch bool) *KubernetesBackend

func (*KubernetesBackend) Create

func (*KubernetesBackend) Delete

func (be *KubernetesBackend) Delete(ctx context.Context, name string, namespace string) error

func (*KubernetesBackend) Get

func (be *KubernetesBackend) Get(ctx context.Context, name string, namespace string) (*v1alpha1.Application, error)

func (*KubernetesBackend) List

func (*KubernetesBackend) Patch

func (be *KubernetesBackend) Patch(ctx context.Context, name string, namespace string, patch []byte) (*v1alpha1.Application, error)

func (*KubernetesBackend) StartInformer

func (be *KubernetesBackend) StartInformer(ctx context.Context)

func (*KubernetesBackend) SupportsPatch

func (be *KubernetesBackend) SupportsPatch() bool

func (*KubernetesBackend) Update

Jump to

Keyboard shortcuts

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