resources

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CrdEnvironment = "Environment"
	CrdFunction    = "Function"
	CrdPackage     = "Packages"

	CrdHttpTrigger         = "HTTPTrigger"
	CrdKubeWatcher         = "KubeWatcher"
	CrdMessageQueueTrigger = "MessageQueue"
	CrdTimeTrigger         = "TimeTrigger"

	CrdCanaryConfig = "CanaryConfig"
)
View Source
const (
	KubernetesService    = "Service"
	KubernetesDeployment = "Deployment"
	KubernetesPod        = "Pod"
	KubernetesHPA        = "HPA"
	KubernetesNode       = "Node"
	KubernetesDaemonSet  = "DaemonSet"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CrdDumper

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

func (CrdDumper) Dump

func (res CrdDumper) Dump(ctx context.Context, dumpDir string)

type FissionVersion

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

func (FissionVersion) Dump

func (res FissionVersion) Dump(ctx context.Context, dumpDir string)

type KubernetesObjectDumper

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

Kubernetes Object Dumper

func (KubernetesObjectDumper) Dump

func (res KubernetesObjectDumper) Dump(ctx context.Context, dumpDir string)

type KubernetesPodLogDumper

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

func (KubernetesPodLogDumper) Dump

func (res KubernetesPodLogDumper) Dump(ctx context.Context, dumpDir string)

type KubernetesVersion

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

Kubernetes Version

func (KubernetesVersion) Dump

func (res KubernetesVersion) Dump(ctx context.Context, dumpDir string)

type Resource

type Resource interface {
	Dump(context.Context, string)
}

func NewCrdDumper

func NewCrdDumper(client cmd.Client, crdType string) Resource

func NewFissionVersion

func NewFissionVersion(client cmd.Client, input cli.Input) Resource

func NewKubernetesObjectDumper

func NewKubernetesObjectDumper(clientset kubernetes.Interface, objType string, selector string) Resource

func NewKubernetesPodLogDumper

func NewKubernetesPodLogDumper(clientset kubernetes.Interface, selector string) Resource

func NewKubernetesVersion

func NewKubernetesVersion(clientset kubernetes.Interface) Resource

Jump to

Keyboard shortcuts

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