resources

package
v0.0.0-...-91256e5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronJob

type CronJob struct {
	batchv1beta.CronJob
	Jobs map[string]*Job
}

func (CronJob) GenerateSonobuoyItem

func (c CronJob) GenerateSonobuoyItem() reports.SonobuoyResultsItem

type DaemonSet

type DaemonSet struct {
	appsv1.DaemonSet
	Pods map[string]*Pod
}

func (DaemonSet) GenerateSonobuoyItem

func (d DaemonSet) GenerateSonobuoyItem() reports.SonobuoyResultsItem

type Deployment

type Deployment struct {
	appsv1.Deployment
	ReplicaSets map[string]*ReplicaSet
}

func (Deployment) GenerateSonobuoyItem

func (d Deployment) GenerateSonobuoyItem() reports.SonobuoyResultsItem

type Job

type Job struct {
	batchv1.Job
	Pods map[string]*Pod
}

func (Job) GenerateSonobuoyItem

func (j Job) GenerateSonobuoyItem() reports.SonobuoyResultsItem

type Namespace

type Namespace struct {
	v1.Namespace
	// contains filtered or unexported fields
}

func GetNamespaces

func GetNamespaces(client *kubernetes.Clientset) []Namespace

func (Namespace) GenerateSonobuoyItem

func (n Namespace) GenerateSonobuoyItem() reports.SonobuoyResultsItem

type NamespacedWorkloads

type NamespacedWorkloads map[string]*WorkloadsTree

func GetWorkloads

func GetWorkloads(client *kubernetes.Clientset) (NamespacedWorkloads, error)

func (NamespacedWorkloads) GenerateSonobuoyItem

func (nw NamespacedWorkloads) GenerateSonobuoyItem() reports.SonobuoyResultsItem

type Namespaces

type Namespaces []Namespace

func (Namespaces) GenerateSonobuoyItem

func (n Namespaces) GenerateSonobuoyItem() reports.SonobuoyResultsItem

type Pod

type Pod struct {
	v1.Pod
}

func (Pod) GenerateSonobuoyItem

func (p Pod) GenerateSonobuoyItem() reports.SonobuoyResultsItem

type ReplicaSet

type ReplicaSet struct {
	appsv1.ReplicaSet
	Pods map[string]*Pod
}

func (ReplicaSet) GenerateSonobuoyItem

func (r ReplicaSet) GenerateSonobuoyItem() reports.SonobuoyResultsItem

type ReplicationController

type ReplicationController struct {
	v1.ReplicationController
	Pods map[string]*Pod
}

func (ReplicationController) GenerateSonobuoyItem

func (r ReplicationController) GenerateSonobuoyItem() reports.SonobuoyResultsItem

type StatefulSet

type StatefulSet struct {
	appsv1.StatefulSet
	Pods map[string]*Pod
}

func (StatefulSet) GenerateSonobuoyItem

func (s StatefulSet) GenerateSonobuoyItem() reports.SonobuoyResultsItem

type WorkloadsTree

type WorkloadsTree struct {
	Deployments            map[string]*Deployment
	ReplicaSets            map[string]*ReplicaSet
	ReplicationControllers map[string]*ReplicationController
	StatefulSets           map[string]*StatefulSet
	DaemonSets             map[string]*DaemonSet
	Jobs                   map[string]*Job
	CronJobs               map[string]*CronJob
	Pods                   map[string]*Pod
	// contains filtered or unexported fields
}

func NewWorkloadsTree

func NewWorkloadsTree(client *kubernetes.Clientset, namespace string) *WorkloadsTree

func (WorkloadsTree) GenerateSonobuoyItem

func (w WorkloadsTree) GenerateSonobuoyItem() reports.SonobuoyResultsItem

func (*WorkloadsTree) Populate

func (w *WorkloadsTree) Populate() error

Jump to

Keyboard shortcuts

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