resources

package
v1.17.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

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

	CrdHttpTrigger         = "HTTPTrigger"
	CrdKubeWatcher         = "KubeWatcher"
	CrdMessageQueueTrigger = "MessageQueue"
	CrdTimeTrigger         = "TimeTrigger"
)
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(dumpDir string)

type FissionVersion

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

func (FissionVersion) Dump

func (res FissionVersion) Dump(dumpDir string)

type KubernetesObjectDumper

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

Kubernetes Object Dumper

func (KubernetesObjectDumper) Dump

func (res KubernetesObjectDumper) Dump(dumpDir string)

type KubernetesPodLogDumper

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

func (KubernetesPodLogDumper) Dump

func (res KubernetesPodLogDumper) Dump(dumpDir string)

type KubernetesVersion

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

Kubernetes Version

func (KubernetesVersion) Dump

func (res KubernetesVersion) Dump(dumpDir string)

type Resource

type Resource interface {
	Dump(string)
}

func NewCrdDumper

func NewCrdDumper(client client.Interface, crdType string) Resource

func NewFissionVersion

func NewFissionVersion(client client.Interface) 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