Documentation ¶
Overview ¶
Package avi defines client to connect to the avi server
Index ¶
Constants ¶
View Source
const AviSessionTimeout = 60
AviSessionTimeout is timeout for avi session
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { VerifyAccount(params *avi_models.AviControllerParams) (bool, error) GetClouds() ([]*avi_models.AviCloud, error) GetServiceEngineGroups() ([]*avi_models.AviServiceEngineGroup, error) GetVipNetworks() ([]*avi_models.AviVipNetwork, error) GetCloudByName(name string) (*models.Cloud, error) GetServiceEngineGroupByName(name string) (*models.ServiceEngineGroup, error) GetVipNetworkByName(name string) (*models.Network, error) }
Client defines methods to access AVI controller via its REST API
type MiniCloudClient ¶
type MiniCloudClient interface { GetAll(options ...session.ApiOptionsParams) ([]*models.Cloud, error) GetByName(name string, options ...session.ApiOptionsParams) (*models.Cloud, error) }
MiniCloudClient defines a subset of the methods implemented by Cloud
type MiniNetworkClient ¶
type MiniNetworkClient interface { GetAll(options ...session.ApiOptionsParams) ([]*models.Network, error) GetByName(name string, options ...session.ApiOptionsParams) (*models.Network, error) }
MiniNetworkClient defines a subset of the methods implemented by Network
type MiniServiceEngineGroupClient ¶
type MiniServiceEngineGroupClient interface { GetAll(options ...session.ApiOptionsParams) ([]*models.ServiceEngineGroup, error) GetByName(name string, options ...session.ApiOptionsParams) (*models.ServiceEngineGroup, error) }
MiniServiceEngineGroupClient defines a subset of the methods implemented by Cloud
Click to show internal directories.
Click to hide internal directories.