Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentDumper ¶
type AgentDumper interface { // DumpFlows should create files that contains flows under the basedir. DumpFlows(basedir string) error // DumpHostNetworkInfo should create files that contains host network // information under the basedir. Host network information should include // links, routes, addresses and etc. DumpHostNetworkInfo(basedir string) error // DumpLog should create files that contains container logs of the agent // Pod under the basedir. DumpLog(basedir string) error // DumpAgentInfo should create a file that contains AgentInfo of the agent Pod // under the basedir. DumpAgentInfo(basedir string) error // DumpNetworkPolicyResources should create files that contains networkpolicy // resources on the agent Pod under the base dir. DumpNetworkPolicyResources(basedir string) error }
AgentDumper is the interface for dumping runtime information of the agent. Its functions should only work in an agent Pod or a Windows Node which has an agent installed.
func NewAgentDumper ¶
func NewAgentDumper(fs afero.Fs, executor exec.Interface, client ovsctl.OVSCtlClient) AgentDumper
type ControllerDumper ¶
type ControllerDumper interface { // DumpLog should create files that contains container logs of the controller // Pod under the basedir. DumpLog(basedir string) error // DumpControllerInfo should create a file that contains ControllerInfo of // the controller Pod under the basedir. DumpControllerInfo(basedir string) error // DumpNetworkPolicyResources should create files that contains networkpolicy // resources on the controller Pod under the base dir. DumpNetworkPolicyResources(basedir string) error }
ControllerDumper is the interface for dumping runtime information of the controller. Its functions should only work in the controller Pod.
func NewControllerDumper ¶
func NewControllerDumper(fs afero.Fs, executor exec.Interface) ControllerDumper
Click to show internal directories.
Click to hide internal directories.