Documentation ¶
Index ¶
- func BytesToResult(data []byte) (*types.Result, error)
- func CreateNetNS(name string) error
- func DestroyNetNS(name string) error
- func PodNetNSPath(name string) string
- func ReadConfiguration(configsDir string) (*libcni.NetworkConfig, error)
- func ResultToBytes(result *types.Result) ([]byte, error)
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNetNS ¶
func DestroyNetNS ¶
func PodNetNSPath ¶
func ReadConfiguration ¶
func ReadConfiguration(configsDir string) (*libcni.NetworkConfig, error)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddSandboxToNetwork ¶
func (*Client) RemoveSandboxFromNetwork ¶
Click to show internal directories.
Click to hide internal directories.