Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultSocketPath = "/run/tetrapod/cni.sock"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetExtraPodCIDRs ¶
func (c *Client) GetExtraPodCIDRs(namespace, name string) (*controlplanev1alpha1.CIDRClaimList, error)
func (*Client) GetPodCIDRs ¶
func (c *Client) GetPodCIDRs() (*controlplanev1alpha1.CIDRClaimList, error)
type GetExtraPodCIDRsArgs ¶
type GetExtraPodCIDRsArgs struct {
Namespace, Name string
}
type GetPodCIDRsArgs ¶
type GetPodCIDRsArgs struct { }
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) GetExtraPodCIDRs ¶
func (h *Handler) GetExtraPodCIDRs(args *GetExtraPodCIDRsArgs, cidrClaims *controlplanev1alpha1.CIDRClaimList) error
func (*Handler) GetPodCIDRs ¶
func (h *Handler) GetPodCIDRs(args *GetPodCIDRsArgs, cidrClaims *controlplanev1alpha1.CIDRClaimList) error
Click to show internal directories.
Click to hide internal directories.