Documentation ¶
Index ¶
- Constants
- type CrdDumper
- type FissionVersion
- type KubernetesObjectDumper
- type KubernetesPodLogDumper
- type KubernetesVersion
- type Resource
- func NewCrdDumper(client *client.Client, crdType string) Resource
- func NewFissionVersion(client *client.Client) Resource
- func NewKubernetesObjectDumper(clientset *kubernetes.Clientset, objType string, selector string) Resource
- func NewKubernetesPodLogDumper(clientset *kubernetes.Clientset, selector string) Resource
- func NewKubernetesVersion(clientset *kubernetes.Clientset) Resource
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 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 NewFissionVersion ¶
func NewKubernetesObjectDumper ¶
func NewKubernetesObjectDumper(clientset *kubernetes.Clientset, objType string, selector string) Resource
func NewKubernetesPodLogDumper ¶
func NewKubernetesPodLogDumper(clientset *kubernetes.Clientset, selector string) Resource
func NewKubernetesVersion ¶
func NewKubernetesVersion(clientset *kubernetes.Clientset) Resource
Click to show internal directories.
Click to hide internal directories.