network

package
v3.7.0-0.162.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CheckExternalNetworkName = "CheckExternalNetwork"
)
View Source
const (
	CheckNodeNetworkName = "CheckNodeNetwork"
)
View Source
const (
	CheckPodNetworkName = "CheckPodNetwork"
)
View Source
const (
	CheckServiceNetworkName = "CheckServiceNetwork"
)
View Source
const (
	CollectNetworkInfoName = "CollectNetworkInfo"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckExternalNetwork

type CheckExternalNetwork struct {
}

CheckExternalNetwork is a Diagnostic to check accessibility of external network within a pod

func (CheckExternalNetwork) CanRun

func (d CheckExternalNetwork) CanRun() (bool, error)

CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.

func (CheckExternalNetwork) Check

Check is part of the Diagnostic interface; it runs the actual diagnostic logic

func (CheckExternalNetwork) Description

func (d CheckExternalNetwork) Description() string

Description is part of the Diagnostic interface and just returns the diagnostic description.

func (CheckExternalNetwork) Name

func (d CheckExternalNetwork) Name() string

Name is part of the Diagnostic interface and just returns name.

type CheckNodeNetwork

type CheckNodeNetwork struct {
	KubeClient kclientset.Interface
}

CheckNodeNetwork is a Diagnostic to check that pods in the cluster can access its own node

func (CheckNodeNetwork) CanRun

func (d CheckNodeNetwork) CanRun() (bool, error)

CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.

func (CheckNodeNetwork) Check

Check is part of the Diagnostic interface; it runs the actual diagnostic logic

func (CheckNodeNetwork) Description

func (d CheckNodeNetwork) Description() string

Description is part of the Diagnostic interface and just returns the diagnostic description.

func (CheckNodeNetwork) Name

func (d CheckNodeNetwork) Name() string

Name is part of the Diagnostic interface and just returns name.

type CheckPodNetwork

type CheckPodNetwork struct {
	KubeClient           kclientset.Interface
	NetNamespacesClient  networktypedclient.NetNamespacesGetter
	ClusterNetworkClient networktypedclient.ClusterNetworksGetter
	// contains filtered or unexported fields
}

CheckPodNetwork is a Diagnostic to check communication between pods in the cluster.

func (CheckPodNetwork) CanRun

func (d CheckPodNetwork) CanRun() (bool, error)

CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.

func (CheckPodNetwork) Check

Check is part of the Diagnostic interface; it runs the actual diagnostic logic

func (CheckPodNetwork) Description

func (d CheckPodNetwork) Description() string

Description is part of the Diagnostic interface and just returns the diagnostic description.

func (CheckPodNetwork) Name

func (d CheckPodNetwork) Name() string

Name is part of the Diagnostic interface and just returns name.

type CheckServiceNetwork

type CheckServiceNetwork struct {
	KubeClient           kclientset.Interface
	NetNamespacesClient  networktypedclient.NetNamespacesGetter
	ClusterNetworkClient networktypedclient.ClusterNetworksGetter
	// contains filtered or unexported fields
}

CheckServiceNetwork is a Diagnostic to check communication between services in the cluster.

func (CheckServiceNetwork) CanRun

func (d CheckServiceNetwork) CanRun() (bool, error)

CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.

func (CheckServiceNetwork) Check

Check is part of the Diagnostic interface; it runs the actual diagnostic logic

func (CheckServiceNetwork) Description

func (d CheckServiceNetwork) Description() string

Description is part of the Diagnostic interface and just returns the diagnostic description.

func (CheckServiceNetwork) Name

func (d CheckServiceNetwork) Name() string

Name is part of the Diagnostic interface and just returns name.

type CollectNetworkInfo

type CollectNetworkInfo struct {
	KubeClient kclientset.Interface
}

CollectNetworkInfo is a Diagnostic to collect network information in the cluster.

func (CollectNetworkInfo) CanRun

func (d CollectNetworkInfo) CanRun() (bool, error)

CanRun is part of the Diagnostic interface; it determines if the conditions are right to run this diagnostic.

func (CollectNetworkInfo) Check

Check is part of the Diagnostic interface; it runs the actual diagnostic logic

func (CollectNetworkInfo) Description

func (d CollectNetworkInfo) Description() string

Description is part of the Diagnostic interface and just returns the diagnostic description.

func (CollectNetworkInfo) Name

func (d CollectNetworkInfo) Name() string

Name is part of the Diagnostic interface and just returns name.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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