kubernetes

package
v0.0.0-...-540bb61 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const LocalBinDir = "/usr/bin/arangodb_operator"

Variables

This section is empty.

Functions

func AgencyDump

func AgencyDump() shared.Factory

func Deployments

func Deployments() shared.Factory

func Events

func Events() shared.Factory

func ListObjects

func ListObjects[L k8sutil.ListContinue, T meta.Object](ctx context.Context, k k8sutil.ListAPI[L], extract func(result L) []T) ([]T, error)

func NewDeploymentAgencyInfo

func NewDeploymentAgencyInfo(out chan<- shared.File, name string, handler ArangoOperatorExecFunc)

func Pods

func Pods() shared.Factory

func Secrets

func Secrets() shared.Factory

func Services

func Services() shared.Factory

Types

type ArangoOperatorExecFunc

type ArangoOperatorExecFunc func(args ...string) ([]byte, []byte, error)

type ObjectList

type ObjectList[T meta.Object] map[types.UID]T

func MapObjects

func MapObjects[L k8sutil.ListContinue, T meta.Object](ctx context.Context, k k8sutil.ListAPI[L], extract func(result L) []T) (ObjectList[T], error)

func (ObjectList[T]) AsList

func (d ObjectList[T]) AsList() []T

Jump to

Keyboard shortcuts

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