Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct { SupportBundle *supportBundleREST Download *downloadREST Mode string }
Storage contains REST resources for support bundle, including status query and download.
func NewStorage ¶
func NewStorage(mode string, client ovsctl.OVSCtlClient) Storage
NewStorage creates a support bundle storage. The mode should be either agent or controller. If the mode is agent, the client argument should not be nil.
Click to show internal directories.
Click to hide internal directories.