Documentation ¶
Index ¶
- type Client
- func (client *Client) CreateOrUpdateNC(ncRequest cns.CreateNetworkContainerRequest) error
- func (client *Client) DeleteNC(req cns.DeleteNetworkContainerRequest) error
- func (client *Client) GetNC(req cns.GetNetworkContainerRequest) (cns.GetNetworkContainerResponse, error)
- func (client *Client) ReconcileNCState(ncRequest *cns.CreateNetworkContainerRequest, ...) error
- func (client *Client) UpdateIPAMPoolMonitor(scalar v1alpha.Scaler, spec v1alpha.NodeNetworkConfigSpec)
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) DeleteNC ¶ added in v1.4.1
func (client *Client) DeleteNC(req cns.DeleteNetworkContainerRequest) error
func (*Client) GetNC ¶ added in v1.4.1
func (client *Client) GetNC(req cns.GetNetworkContainerRequest) (cns.GetNetworkContainerResponse, error)
func (*Client) ReconcileNCState ¶ added in v1.1.7
func (client *Client) ReconcileNCState(ncRequest *cns.CreateNetworkContainerRequest, podInfoByIP map[string]cns.PodInfo, scalar v1alpha.Scaler, spec v1alpha.NodeNetworkConfigSpec) error
ReconcileNCState initializes cns state
func (*Client) UpdateIPAMPoolMonitor ¶ added in v1.4.1
func (client *Client) UpdateIPAMPoolMonitor(scalar v1alpha.Scaler, spec v1alpha.NodeNetworkConfigSpec)
UpdateIPAMPoolMonitor updates IPAM pool monitor.
Click to show internal directories.
Click to hide internal directories.