Documentation ¶
Index ¶
- type API
- func (a *API) AssignPrivateIpAddressesVM(ctx context.Context, subnetID, interfaceName string, addresses int) error
- func (a *API) AssignPrivateIpAddressesVMSS(ctx context.Context, vmName, vmssName, subnetID, interfaceName string, ...) error
- func (a *API) GetInstances(ctx context.Context, subnets ipamTypes.SubnetMap) (*ipamTypes.InstanceMap, error)
- func (a *API) GetVpcsAndSubnets(ctx context.Context) (ipamTypes.VirtualNetworkMap, ipamTypes.SubnetMap, error)
- func (a *API) SetDelay(op Operation, delay time.Duration)
- func (a *API) SetLimiter(limit float64, burst int)
- func (a *API) SetMockError(op Operation, err error)
- func (a *API) UpdateInstances(instances *ipamTypes.InstanceMap)
- func (a *API) UpdateSubnets(subnets []*ipamTypes.Subnet)
- type Operation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) AssignPrivateIpAddressesVM ¶
func (*API) AssignPrivateIpAddressesVMSS ¶
func (*API) GetInstances ¶
func (*API) GetVpcsAndSubnets ¶
func (*API) SetDelay ¶
SetDelay specifies the delay which should be simulated for an individual Azure API operation
func (*API) SetLimiter ¶
SetLimiter adds a rate limiter to all simulated API calls
func (*API) SetMockError ¶
SetMockError modifies the mock API to return an error for a particular operation
func (*API) UpdateInstances ¶
func (a *API) UpdateInstances(instances *ipamTypes.InstanceMap)
func (*API) UpdateSubnets ¶
Click to show internal directories.
Click to hide internal directories.