Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
func FromComputeBackends ¶
func FromComputeBackends(b []*compute.Backend) []Backend
FromComputeBackends returns a list of Backends that make working with associated Instance Groups simpler. If zone is not nill, only backends with matching zones will be returned.
type BackendService ¶
type GoogleBackendServiceService ¶
type GoogleBackendServiceService struct {
// contains filtered or unexported fields
}
func NewGoogleBackendServiceService ¶
func NewGoogleBackendServiceService( project string, computeService *compute.Service, operationService operation.Service, logger boshlog.Logger, ) GoogleBackendServiceService
func (GoogleBackendServiceService) AddInstance ¶
func (i GoogleBackendServiceService) AddInstance(id, vmLink string) error
AddInstance will add an instance to a Backend Service. A Backend Service may have more than one backend/instance group associated with it. In that case, the instance will be added to each backend/instance group that is in the same zone as the instance.
func (GoogleBackendServiceService) RemoveInstance ¶
func (i GoogleBackendServiceService) RemoveInstance(vmLink string) error
RemoveInstance will remove an instance from all associated Backend Services.
Click to show internal directories.
Click to hide internal directories.