Documentation ¶
Index ¶
- type GoogleInstanceGroupService
- func (i GoogleInstanceGroupService) AddInstance(id string, vmLink string) error
- func (i GoogleInstanceGroupService) Find(id string, zone string) (InstanceGroup, bool, error)
- func (i GoogleInstanceGroupService) FindByInstance(vmLink string, zone string) (string, bool, error)
- func (i GoogleInstanceGroupService) List(zone string) ([]InstanceGroup, error)
- func (i GoogleInstanceGroupService) ListInstances(id string, zone string) ([]string, error)
- func (i GoogleInstanceGroupService) RemoveInstance(id string, vmLink string) error
- type InstanceGroup
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleInstanceGroupService ¶
type GoogleInstanceGroupService struct {
// contains filtered or unexported fields
}
func NewGoogleInstanceGroupService ¶
func NewGoogleInstanceGroupService( project string, computeService *compute.Service, operationService operation.Service, logger boshlog.Logger, ) GoogleInstanceGroupService
func (GoogleInstanceGroupService) AddInstance ¶
func (i GoogleInstanceGroupService) AddInstance(id string, vmLink string) error
func (GoogleInstanceGroupService) Find ¶
func (i GoogleInstanceGroupService) Find(id string, zone string) (InstanceGroup, bool, error)
func (GoogleInstanceGroupService) FindByInstance ¶
func (GoogleInstanceGroupService) List ¶
func (i GoogleInstanceGroupService) List(zone string) ([]InstanceGroup, error)
func (GoogleInstanceGroupService) ListInstances ¶
func (i GoogleInstanceGroupService) ListInstances(id string, zone string) ([]string, error)
func (GoogleInstanceGroupService) RemoveInstance ¶
func (i GoogleInstanceGroupService) RemoveInstance(id string, vmLink string) error
type InstanceGroup ¶
type Service ¶
type Service interface { AddInstance(id string, vmLink string) error Find(id string, region string) (InstanceGroup, bool, error) FindByInstance(vmLink string, zone string) (string, bool, error) List(zone string) ([]InstanceGroup, error) ListInstances(id string, zone string) ([]string, error) RemoveInstance(id string, vmLink string) error }
Source Files ¶
- google_instance_group_service.go
- google_instance_group_service_add_instance.go
- google_instance_group_service_find.go
- google_instance_group_service_find_by_instance.go
- google_instance_group_service_list.go
- google_instance_group_service_list_instances.go
- google_instance_group_service_remove_instance.go
- instance_group.go
- instance_group_service.go
Click to show internal directories.
Click to hide internal directories.