Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
RestService *restserver.HTTPRestService
}
Client implements APIClient interface. Used to update CNS state
func (*Client) CreateOrUpdateNC ¶ added in v1.1.6
func (client *Client) CreateOrUpdateNC(ncRequest *cns.CreateNetworkContainerRequest) error
CreateOrUpdateNC updates cns state
func (*Client) InitCNSState ¶ added in v1.1.6
func (client *Client) InitCNSState(ncRequest *cns.CreateNetworkContainerRequest, podInfoByIP map[string]*cns.KubernetesPodInfo) error
InitCNSState initializes cns state
Click to show internal directories.
Click to hide internal directories.