Documentation
¶
Index ¶
- Constants
- Variables
- func CheckNetworkPlane(networkPlane string) error
- func CheckVnicType(vnicType string) error
- func Close(resp *http.Response) error
- func ConnectToDocker0(containerID string) error
- func Get(url, token string) (*http.Response, error)
- func OseGet(url, token string) (*http.Response, error)
- func ReadAll(resp *http.Response) ([]byte, error)
- type OseClient
- func (self *OseClient) Get(url, token string) (int, []byte, error)
- func (self *OseClient) GetNodeInfo(nodeIP string) (*jason.Object, error)
- func (self *OseClient) GetNodeList(url string) ([]*jason.Object, error)
- func (self *OseClient) GetPod(podNs, podName string) (int, *jason.Object, error)
- func (self *OseClient) GetPodInfo(url string) (int, *jason.Object, error)
- func (self *OseClient) GetPodList(url string) ([]*jason.Object, error)
- func (self *OseClient) GetPodsOfNode(nodeID string) ([]*jason.Object, error)
- type OsePod
- type PortAttr
Constants ¶
View Source
const MaxRetryTimesForHTTPReq int = 6
Variables ¶
View Source
var CloseFunc func(resp *http.Response) (err error)
View Source
var GetFunc func(url, token string) (resp *http.Response, err error)
View Source
var ReadAllFunc func(resp *http.Response) (body []byte, err error)
Functions ¶
func CheckNetworkPlane ¶
func CheckVnicType ¶
func ConnectToDocker0 ¶
Types ¶
type OseClient ¶
func (*OseClient) GetNodeInfo ¶
func (*OseClient) GetNodeList ¶
func (*OseClient) GetPodInfo ¶
func (*OseClient) GetPodList ¶
Click to show internal directories.
Click to hide internal directories.