Documentation ¶
Overview ¶
nolint
nolint
nolint
nolint
nolint
nolint
nolint
Index ¶
- type Compute
- func (c *Compute) Disk() *DiskServiceClient
- func (c *Compute) DiskType() *DiskTypeServiceClient
- func (c *Compute) Image() *ImageServiceClient
- func (c *Compute) Instance() *InstanceServiceClient
- func (c *Compute) PlacementGroup() *PlacementGroupServiceClient
- func (c *Compute) Snapshot() *SnapshotServiceClient
- func (c *Compute) Zone() *ZoneServiceClient
- type DiskIterator
- type DiskOperationsIterator
- type DiskServiceClient
- func (c *DiskServiceClient) Create(ctx context.Context, in *compute.CreateDiskRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DiskServiceClient) Delete(ctx context.Context, in *compute.DeleteDiskRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DiskServiceClient) DiskIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *DiskIterator
- func (c *DiskServiceClient) DiskOperationsIterator(ctx context.Context, diskId string, opts ...grpc.CallOption) *DiskOperationsIterator
- func (c *DiskServiceClient) Get(ctx context.Context, in *compute.GetDiskRequest, opts ...grpc.CallOption) (*compute.Disk, error)
- func (c *DiskServiceClient) List(ctx context.Context, in *compute.ListDisksRequest, opts ...grpc.CallOption) (*compute.ListDisksResponse, error)
- func (c *DiskServiceClient) ListOperations(ctx context.Context, in *compute.ListDiskOperationsRequest, ...) (*compute.ListDiskOperationsResponse, error)
- func (c *DiskServiceClient) Update(ctx context.Context, in *compute.UpdateDiskRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- type DiskTypeIterator
- type DiskTypeServiceClient
- func (c *DiskTypeServiceClient) DiskTypeIterator(ctx context.Context, opts ...grpc.CallOption) *DiskTypeIterator
- func (c *DiskTypeServiceClient) Get(ctx context.Context, in *compute.GetDiskTypeRequest, opts ...grpc.CallOption) (*compute.DiskType, error)
- func (c *DiskTypeServiceClient) List(ctx context.Context, in *compute.ListDiskTypesRequest, opts ...grpc.CallOption) (*compute.ListDiskTypesResponse, error)
- type ImageIterator
- type ImageOperationsIterator
- type ImageServiceClient
- func (c *ImageServiceClient) Create(ctx context.Context, in *compute.CreateImageRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ImageServiceClient) Delete(ctx context.Context, in *compute.DeleteImageRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ImageServiceClient) Get(ctx context.Context, in *compute.GetImageRequest, opts ...grpc.CallOption) (*compute.Image, error)
- func (c *ImageServiceClient) GetLatestByFamily(ctx context.Context, in *compute.GetImageLatestByFamilyRequest, ...) (*compute.Image, error)
- func (c *ImageServiceClient) ImageIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *ImageIterator
- func (c *ImageServiceClient) ImageOperationsIterator(ctx context.Context, imageId string, opts ...grpc.CallOption) *ImageOperationsIterator
- func (c *ImageServiceClient) List(ctx context.Context, in *compute.ListImagesRequest, opts ...grpc.CallOption) (*compute.ListImagesResponse, error)
- func (c *ImageServiceClient) ListOperations(ctx context.Context, in *compute.ListImageOperationsRequest, ...) (*compute.ListImageOperationsResponse, error)
- func (c *ImageServiceClient) Update(ctx context.Context, in *compute.UpdateImageRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- type InstanceIterator
- type InstanceOperationsIterator
- type InstanceServiceClient
- func (c *InstanceServiceClient) AddOneToOneNat(ctx context.Context, in *compute.AddInstanceOneToOneNatRequest, ...) (*operation.Operation, error)
- func (c *InstanceServiceClient) AttachDisk(ctx context.Context, in *compute.AttachInstanceDiskRequest, ...) (*operation.Operation, error)
- func (c *InstanceServiceClient) Create(ctx context.Context, in *compute.CreateInstanceRequest, ...) (*operation.Operation, error)
- func (c *InstanceServiceClient) Delete(ctx context.Context, in *compute.DeleteInstanceRequest, ...) (*operation.Operation, error)
- func (c *InstanceServiceClient) DetachDisk(ctx context.Context, in *compute.DetachInstanceDiskRequest, ...) (*operation.Operation, error)
- func (c *InstanceServiceClient) Get(ctx context.Context, in *compute.GetInstanceRequest, opts ...grpc.CallOption) (*compute.Instance, error)
- func (c *InstanceServiceClient) GetSerialPortOutput(ctx context.Context, in *compute.GetInstanceSerialPortOutputRequest, ...) (*compute.GetInstanceSerialPortOutputResponse, error)
- func (c *InstanceServiceClient) InstanceIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *InstanceIterator
- func (c *InstanceServiceClient) InstanceOperationsIterator(ctx context.Context, instanceId string, opts ...grpc.CallOption) *InstanceOperationsIterator
- func (c *InstanceServiceClient) List(ctx context.Context, in *compute.ListInstancesRequest, opts ...grpc.CallOption) (*compute.ListInstancesResponse, error)
- func (c *InstanceServiceClient) ListOperations(ctx context.Context, in *compute.ListInstanceOperationsRequest, ...) (*compute.ListInstanceOperationsResponse, error)
- func (c *InstanceServiceClient) RemoveOneToOneNat(ctx context.Context, in *compute.RemoveInstanceOneToOneNatRequest, ...) (*operation.Operation, error)
- func (c *InstanceServiceClient) Restart(ctx context.Context, in *compute.RestartInstanceRequest, ...) (*operation.Operation, error)
- func (c *InstanceServiceClient) Start(ctx context.Context, in *compute.StartInstanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *InstanceServiceClient) Stop(ctx context.Context, in *compute.StopInstanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *InstanceServiceClient) Update(ctx context.Context, in *compute.UpdateInstanceRequest, ...) (*operation.Operation, error)
- func (c *InstanceServiceClient) UpdateMetadata(ctx context.Context, in *compute.UpdateInstanceMetadataRequest, ...) (*operation.Operation, error)
- func (c *InstanceServiceClient) UpdateNetworkInterface(ctx context.Context, in *compute.UpdateInstanceNetworkInterfaceRequest, ...) (*operation.Operation, error)
- type PlacementGroupInstancesIterator
- type PlacementGroupIterator
- type PlacementGroupOperationsIterator
- type PlacementGroupServiceClient
- func (c *PlacementGroupServiceClient) Create(ctx context.Context, in *compute.CreatePlacementGroupRequest, ...) (*operation.Operation, error)
- func (c *PlacementGroupServiceClient) Delete(ctx context.Context, in *compute.DeletePlacementGroupRequest, ...) (*operation.Operation, error)
- func (c *PlacementGroupServiceClient) Get(ctx context.Context, in *compute.GetPlacementGroupRequest, ...) (*compute.PlacementGroup, error)
- func (c *PlacementGroupServiceClient) List(ctx context.Context, in *compute.ListPlacementGroupsRequest, ...) (*compute.ListPlacementGroupsResponse, error)
- func (c *PlacementGroupServiceClient) ListInstances(ctx context.Context, in *compute.ListPlacementGroupInstancesRequest, ...) (*compute.ListPlacementGroupInstancesResponse, error)
- func (c *PlacementGroupServiceClient) ListOperations(ctx context.Context, in *compute.ListPlacementGroupOperationsRequest, ...) (*compute.ListPlacementGroupOperationsResponse, error)
- func (c *PlacementGroupServiceClient) PlacementGroupInstancesIterator(ctx context.Context, placementGroupId string, opts ...grpc.CallOption) *PlacementGroupInstancesIterator
- func (c *PlacementGroupServiceClient) PlacementGroupIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *PlacementGroupIterator
- func (c *PlacementGroupServiceClient) PlacementGroupOperationsIterator(ctx context.Context, placementGroupId string, opts ...grpc.CallOption) *PlacementGroupOperationsIterator
- func (c *PlacementGroupServiceClient) Update(ctx context.Context, in *compute.UpdatePlacementGroupRequest, ...) (*operation.Operation, error)
- type SnapshotIterator
- type SnapshotOperationsIterator
- type SnapshotServiceClient
- func (c *SnapshotServiceClient) Create(ctx context.Context, in *compute.CreateSnapshotRequest, ...) (*operation.Operation, error)
- func (c *SnapshotServiceClient) Delete(ctx context.Context, in *compute.DeleteSnapshotRequest, ...) (*operation.Operation, error)
- func (c *SnapshotServiceClient) Get(ctx context.Context, in *compute.GetSnapshotRequest, opts ...grpc.CallOption) (*compute.Snapshot, error)
- func (c *SnapshotServiceClient) List(ctx context.Context, in *compute.ListSnapshotsRequest, opts ...grpc.CallOption) (*compute.ListSnapshotsResponse, error)
- func (c *SnapshotServiceClient) ListOperations(ctx context.Context, in *compute.ListSnapshotOperationsRequest, ...) (*compute.ListSnapshotOperationsResponse, error)
- func (c *SnapshotServiceClient) SnapshotIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *SnapshotIterator
- func (c *SnapshotServiceClient) SnapshotOperationsIterator(ctx context.Context, snapshotId string, opts ...grpc.CallOption) *SnapshotOperationsIterator
- func (c *SnapshotServiceClient) Update(ctx context.Context, in *compute.UpdateSnapshotRequest, ...) (*operation.Operation, error)
- type ZoneIterator
- type ZoneServiceClient
- func (c *ZoneServiceClient) Get(ctx context.Context, in *compute.GetZoneRequest, opts ...grpc.CallOption) (*compute.Zone, error)
- func (c *ZoneServiceClient) List(ctx context.Context, in *compute.ListZonesRequest, opts ...grpc.CallOption) (*compute.ListZonesResponse, error)
- func (c *ZoneServiceClient) ZoneIterator(ctx context.Context, opts ...grpc.CallOption) *ZoneIterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compute ¶
type Compute struct {
// contains filtered or unexported fields
}
Compute provides access to "compute" component of Yandex.Cloud
func NewCompute ¶
NewCompute creates instance of Compute
func (*Compute) DiskType ¶
func (c *Compute) DiskType() *DiskTypeServiceClient
DiskType gets DiskTypeService client
func (*Compute) Image ¶
func (c *Compute) Image() *ImageServiceClient
Image gets ImageService client
func (*Compute) Instance ¶
func (c *Compute) Instance() *InstanceServiceClient
Instance gets InstanceService client
func (*Compute) PlacementGroup ¶
func (c *Compute) PlacementGroup() *PlacementGroupServiceClient
PlacementGroup gets PlacementGroupService client
func (*Compute) Snapshot ¶
func (c *Compute) Snapshot() *SnapshotServiceClient
Snapshot gets SnapshotService client
type DiskIterator ¶
type DiskIterator struct {
// contains filtered or unexported fields
}
func (*DiskIterator) Error ¶
func (it *DiskIterator) Error() error
func (*DiskIterator) Next ¶
func (it *DiskIterator) Next() bool
func (*DiskIterator) Value ¶
func (it *DiskIterator) Value() *compute.Disk
type DiskOperationsIterator ¶
type DiskOperationsIterator struct {
// contains filtered or unexported fields
}
func (*DiskOperationsIterator) Error ¶
func (it *DiskOperationsIterator) Error() error
func (*DiskOperationsIterator) Next ¶
func (it *DiskOperationsIterator) Next() bool
func (*DiskOperationsIterator) Value ¶
func (it *DiskOperationsIterator) Value() *operation.Operation
type DiskServiceClient ¶
type DiskServiceClient struct {
// contains filtered or unexported fields
}
DiskServiceClient is a compute.DiskServiceClient with lazy GRPC connection initialization.
func (*DiskServiceClient) Create ¶
func (c *DiskServiceClient) Create(ctx context.Context, in *compute.CreateDiskRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements compute.DiskServiceClient
func (*DiskServiceClient) Delete ¶
func (c *DiskServiceClient) Delete(ctx context.Context, in *compute.DeleteDiskRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements compute.DiskServiceClient
func (*DiskServiceClient) DiskIterator ¶
func (c *DiskServiceClient) DiskIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *DiskIterator
func (*DiskServiceClient) DiskOperationsIterator ¶
func (c *DiskServiceClient) DiskOperationsIterator(ctx context.Context, diskId string, opts ...grpc.CallOption) *DiskOperationsIterator
func (*DiskServiceClient) Get ¶
func (c *DiskServiceClient) Get(ctx context.Context, in *compute.GetDiskRequest, opts ...grpc.CallOption) (*compute.Disk, error)
Get implements compute.DiskServiceClient
func (*DiskServiceClient) List ¶
func (c *DiskServiceClient) List(ctx context.Context, in *compute.ListDisksRequest, opts ...grpc.CallOption) (*compute.ListDisksResponse, error)
List implements compute.DiskServiceClient
func (*DiskServiceClient) ListOperations ¶
func (c *DiskServiceClient) ListOperations(ctx context.Context, in *compute.ListDiskOperationsRequest, opts ...grpc.CallOption) (*compute.ListDiskOperationsResponse, error)
ListOperations implements compute.DiskServiceClient
func (*DiskServiceClient) Update ¶
func (c *DiskServiceClient) Update(ctx context.Context, in *compute.UpdateDiskRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements compute.DiskServiceClient
type DiskTypeIterator ¶
type DiskTypeIterator struct {
// contains filtered or unexported fields
}
func (*DiskTypeIterator) Error ¶
func (it *DiskTypeIterator) Error() error
func (*DiskTypeIterator) Next ¶
func (it *DiskTypeIterator) Next() bool
func (*DiskTypeIterator) Value ¶
func (it *DiskTypeIterator) Value() *compute.DiskType
type DiskTypeServiceClient ¶
type DiskTypeServiceClient struct {
// contains filtered or unexported fields
}
DiskTypeServiceClient is a compute.DiskTypeServiceClient with lazy GRPC connection initialization.
func (*DiskTypeServiceClient) DiskTypeIterator ¶
func (c *DiskTypeServiceClient) DiskTypeIterator(ctx context.Context, opts ...grpc.CallOption) *DiskTypeIterator
func (*DiskTypeServiceClient) Get ¶
func (c *DiskTypeServiceClient) Get(ctx context.Context, in *compute.GetDiskTypeRequest, opts ...grpc.CallOption) (*compute.DiskType, error)
Get implements compute.DiskTypeServiceClient
func (*DiskTypeServiceClient) List ¶
func (c *DiskTypeServiceClient) List(ctx context.Context, in *compute.ListDiskTypesRequest, opts ...grpc.CallOption) (*compute.ListDiskTypesResponse, error)
List implements compute.DiskTypeServiceClient
type ImageIterator ¶
type ImageIterator struct {
// contains filtered or unexported fields
}
func (*ImageIterator) Error ¶
func (it *ImageIterator) Error() error
func (*ImageIterator) Next ¶
func (it *ImageIterator) Next() bool
func (*ImageIterator) Value ¶
func (it *ImageIterator) Value() *compute.Image
type ImageOperationsIterator ¶
type ImageOperationsIterator struct {
// contains filtered or unexported fields
}
func (*ImageOperationsIterator) Error ¶
func (it *ImageOperationsIterator) Error() error
func (*ImageOperationsIterator) Next ¶
func (it *ImageOperationsIterator) Next() bool
func (*ImageOperationsIterator) Value ¶
func (it *ImageOperationsIterator) Value() *operation.Operation
type ImageServiceClient ¶
type ImageServiceClient struct {
// contains filtered or unexported fields
}
ImageServiceClient is a compute.ImageServiceClient with lazy GRPC connection initialization.
func (*ImageServiceClient) Create ¶
func (c *ImageServiceClient) Create(ctx context.Context, in *compute.CreateImageRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements compute.ImageServiceClient
func (*ImageServiceClient) Delete ¶
func (c *ImageServiceClient) Delete(ctx context.Context, in *compute.DeleteImageRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements compute.ImageServiceClient
func (*ImageServiceClient) Get ¶
func (c *ImageServiceClient) Get(ctx context.Context, in *compute.GetImageRequest, opts ...grpc.CallOption) (*compute.Image, error)
Get implements compute.ImageServiceClient
func (*ImageServiceClient) GetLatestByFamily ¶
func (c *ImageServiceClient) GetLatestByFamily(ctx context.Context, in *compute.GetImageLatestByFamilyRequest, opts ...grpc.CallOption) (*compute.Image, error)
GetLatestByFamily implements compute.ImageServiceClient
func (*ImageServiceClient) ImageIterator ¶
func (c *ImageServiceClient) ImageIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *ImageIterator
func (*ImageServiceClient) ImageOperationsIterator ¶
func (c *ImageServiceClient) ImageOperationsIterator(ctx context.Context, imageId string, opts ...grpc.CallOption) *ImageOperationsIterator
func (*ImageServiceClient) List ¶
func (c *ImageServiceClient) List(ctx context.Context, in *compute.ListImagesRequest, opts ...grpc.CallOption) (*compute.ListImagesResponse, error)
List implements compute.ImageServiceClient
func (*ImageServiceClient) ListOperations ¶
func (c *ImageServiceClient) ListOperations(ctx context.Context, in *compute.ListImageOperationsRequest, opts ...grpc.CallOption) (*compute.ListImageOperationsResponse, error)
ListOperations implements compute.ImageServiceClient
func (*ImageServiceClient) Update ¶
func (c *ImageServiceClient) Update(ctx context.Context, in *compute.UpdateImageRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements compute.ImageServiceClient
type InstanceIterator ¶
type InstanceIterator struct {
// contains filtered or unexported fields
}
func (*InstanceIterator) Error ¶
func (it *InstanceIterator) Error() error
func (*InstanceIterator) Next ¶
func (it *InstanceIterator) Next() bool
func (*InstanceIterator) Value ¶
func (it *InstanceIterator) Value() *compute.Instance
type InstanceOperationsIterator ¶
type InstanceOperationsIterator struct {
// contains filtered or unexported fields
}
func (*InstanceOperationsIterator) Error ¶
func (it *InstanceOperationsIterator) Error() error
func (*InstanceOperationsIterator) Next ¶
func (it *InstanceOperationsIterator) Next() bool
func (*InstanceOperationsIterator) Value ¶
func (it *InstanceOperationsIterator) Value() *operation.Operation
type InstanceServiceClient ¶
type InstanceServiceClient struct {
// contains filtered or unexported fields
}
InstanceServiceClient is a compute.InstanceServiceClient with lazy GRPC connection initialization.
func (*InstanceServiceClient) AddOneToOneNat ¶
func (c *InstanceServiceClient) AddOneToOneNat(ctx context.Context, in *compute.AddInstanceOneToOneNatRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddOneToOneNat implements compute.InstanceServiceClient
func (*InstanceServiceClient) AttachDisk ¶
func (c *InstanceServiceClient) AttachDisk(ctx context.Context, in *compute.AttachInstanceDiskRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AttachDisk implements compute.InstanceServiceClient
func (*InstanceServiceClient) Create ¶
func (c *InstanceServiceClient) Create(ctx context.Context, in *compute.CreateInstanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements compute.InstanceServiceClient
func (*InstanceServiceClient) Delete ¶
func (c *InstanceServiceClient) Delete(ctx context.Context, in *compute.DeleteInstanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements compute.InstanceServiceClient
func (*InstanceServiceClient) DetachDisk ¶
func (c *InstanceServiceClient) DetachDisk(ctx context.Context, in *compute.DetachInstanceDiskRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DetachDisk implements compute.InstanceServiceClient
func (*InstanceServiceClient) Get ¶
func (c *InstanceServiceClient) Get(ctx context.Context, in *compute.GetInstanceRequest, opts ...grpc.CallOption) (*compute.Instance, error)
Get implements compute.InstanceServiceClient
func (*InstanceServiceClient) GetSerialPortOutput ¶
func (c *InstanceServiceClient) GetSerialPortOutput(ctx context.Context, in *compute.GetInstanceSerialPortOutputRequest, opts ...grpc.CallOption) (*compute.GetInstanceSerialPortOutputResponse, error)
GetSerialPortOutput implements compute.InstanceServiceClient
func (*InstanceServiceClient) InstanceIterator ¶
func (c *InstanceServiceClient) InstanceIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *InstanceIterator
func (*InstanceServiceClient) InstanceOperationsIterator ¶
func (c *InstanceServiceClient) InstanceOperationsIterator(ctx context.Context, instanceId string, opts ...grpc.CallOption) *InstanceOperationsIterator
func (*InstanceServiceClient) List ¶
func (c *InstanceServiceClient) List(ctx context.Context, in *compute.ListInstancesRequest, opts ...grpc.CallOption) (*compute.ListInstancesResponse, error)
List implements compute.InstanceServiceClient
func (*InstanceServiceClient) ListOperations ¶
func (c *InstanceServiceClient) ListOperations(ctx context.Context, in *compute.ListInstanceOperationsRequest, opts ...grpc.CallOption) (*compute.ListInstanceOperationsResponse, error)
ListOperations implements compute.InstanceServiceClient
func (*InstanceServiceClient) RemoveOneToOneNat ¶
func (c *InstanceServiceClient) RemoveOneToOneNat(ctx context.Context, in *compute.RemoveInstanceOneToOneNatRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RemoveOneToOneNat implements compute.InstanceServiceClient
func (*InstanceServiceClient) Restart ¶
func (c *InstanceServiceClient) Restart(ctx context.Context, in *compute.RestartInstanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Restart implements compute.InstanceServiceClient
func (*InstanceServiceClient) Start ¶
func (c *InstanceServiceClient) Start(ctx context.Context, in *compute.StartInstanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Start implements compute.InstanceServiceClient
func (*InstanceServiceClient) Stop ¶
func (c *InstanceServiceClient) Stop(ctx context.Context, in *compute.StopInstanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Stop implements compute.InstanceServiceClient
func (*InstanceServiceClient) Update ¶
func (c *InstanceServiceClient) Update(ctx context.Context, in *compute.UpdateInstanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements compute.InstanceServiceClient
func (*InstanceServiceClient) UpdateMetadata ¶
func (c *InstanceServiceClient) UpdateMetadata(ctx context.Context, in *compute.UpdateInstanceMetadataRequest, opts ...grpc.CallOption) (*operation.Operation, error)
UpdateMetadata implements compute.InstanceServiceClient
func (*InstanceServiceClient) UpdateNetworkInterface ¶
func (c *InstanceServiceClient) UpdateNetworkInterface(ctx context.Context, in *compute.UpdateInstanceNetworkInterfaceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
UpdateNetworkInterface implements compute.InstanceServiceClient
type PlacementGroupInstancesIterator ¶
type PlacementGroupInstancesIterator struct {
// contains filtered or unexported fields
}
func (*PlacementGroupInstancesIterator) Error ¶
func (it *PlacementGroupInstancesIterator) Error() error
func (*PlacementGroupInstancesIterator) Next ¶
func (it *PlacementGroupInstancesIterator) Next() bool
func (*PlacementGroupInstancesIterator) Value ¶
func (it *PlacementGroupInstancesIterator) Value() *compute.Instance
type PlacementGroupIterator ¶
type PlacementGroupIterator struct {
// contains filtered or unexported fields
}
func (*PlacementGroupIterator) Error ¶
func (it *PlacementGroupIterator) Error() error
func (*PlacementGroupIterator) Next ¶
func (it *PlacementGroupIterator) Next() bool
func (*PlacementGroupIterator) Value ¶
func (it *PlacementGroupIterator) Value() *compute.PlacementGroup
type PlacementGroupOperationsIterator ¶
type PlacementGroupOperationsIterator struct {
// contains filtered or unexported fields
}
func (*PlacementGroupOperationsIterator) Error ¶
func (it *PlacementGroupOperationsIterator) Error() error
func (*PlacementGroupOperationsIterator) Next ¶
func (it *PlacementGroupOperationsIterator) Next() bool
func (*PlacementGroupOperationsIterator) Value ¶
func (it *PlacementGroupOperationsIterator) Value() *operation.Operation
type PlacementGroupServiceClient ¶
type PlacementGroupServiceClient struct {
// contains filtered or unexported fields
}
PlacementGroupServiceClient is a compute.PlacementGroupServiceClient with lazy GRPC connection initialization.
func (*PlacementGroupServiceClient) Create ¶
func (c *PlacementGroupServiceClient) Create(ctx context.Context, in *compute.CreatePlacementGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements compute.PlacementGroupServiceClient
func (*PlacementGroupServiceClient) Delete ¶
func (c *PlacementGroupServiceClient) Delete(ctx context.Context, in *compute.DeletePlacementGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements compute.PlacementGroupServiceClient
func (*PlacementGroupServiceClient) Get ¶
func (c *PlacementGroupServiceClient) Get(ctx context.Context, in *compute.GetPlacementGroupRequest, opts ...grpc.CallOption) (*compute.PlacementGroup, error)
Get implements compute.PlacementGroupServiceClient
func (*PlacementGroupServiceClient) List ¶
func (c *PlacementGroupServiceClient) List(ctx context.Context, in *compute.ListPlacementGroupsRequest, opts ...grpc.CallOption) (*compute.ListPlacementGroupsResponse, error)
List implements compute.PlacementGroupServiceClient
func (*PlacementGroupServiceClient) ListInstances ¶
func (c *PlacementGroupServiceClient) ListInstances(ctx context.Context, in *compute.ListPlacementGroupInstancesRequest, opts ...grpc.CallOption) (*compute.ListPlacementGroupInstancesResponse, error)
ListInstances implements compute.PlacementGroupServiceClient
func (*PlacementGroupServiceClient) ListOperations ¶
func (c *PlacementGroupServiceClient) ListOperations(ctx context.Context, in *compute.ListPlacementGroupOperationsRequest, opts ...grpc.CallOption) (*compute.ListPlacementGroupOperationsResponse, error)
ListOperations implements compute.PlacementGroupServiceClient
func (*PlacementGroupServiceClient) PlacementGroupInstancesIterator ¶
func (c *PlacementGroupServiceClient) PlacementGroupInstancesIterator(ctx context.Context, placementGroupId string, opts ...grpc.CallOption) *PlacementGroupInstancesIterator
func (*PlacementGroupServiceClient) PlacementGroupIterator ¶
func (c *PlacementGroupServiceClient) PlacementGroupIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *PlacementGroupIterator
func (*PlacementGroupServiceClient) PlacementGroupOperationsIterator ¶
func (c *PlacementGroupServiceClient) PlacementGroupOperationsIterator(ctx context.Context, placementGroupId string, opts ...grpc.CallOption) *PlacementGroupOperationsIterator
func (*PlacementGroupServiceClient) Update ¶
func (c *PlacementGroupServiceClient) Update(ctx context.Context, in *compute.UpdatePlacementGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements compute.PlacementGroupServiceClient
type SnapshotIterator ¶
type SnapshotIterator struct {
// contains filtered or unexported fields
}
func (*SnapshotIterator) Error ¶
func (it *SnapshotIterator) Error() error
func (*SnapshotIterator) Next ¶
func (it *SnapshotIterator) Next() bool
func (*SnapshotIterator) Value ¶
func (it *SnapshotIterator) Value() *compute.Snapshot
type SnapshotOperationsIterator ¶
type SnapshotOperationsIterator struct {
// contains filtered or unexported fields
}
func (*SnapshotOperationsIterator) Error ¶
func (it *SnapshotOperationsIterator) Error() error
func (*SnapshotOperationsIterator) Next ¶
func (it *SnapshotOperationsIterator) Next() bool
func (*SnapshotOperationsIterator) Value ¶
func (it *SnapshotOperationsIterator) Value() *operation.Operation
type SnapshotServiceClient ¶
type SnapshotServiceClient struct {
// contains filtered or unexported fields
}
SnapshotServiceClient is a compute.SnapshotServiceClient with lazy GRPC connection initialization.
func (*SnapshotServiceClient) Create ¶
func (c *SnapshotServiceClient) Create(ctx context.Context, in *compute.CreateSnapshotRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements compute.SnapshotServiceClient
func (*SnapshotServiceClient) Delete ¶
func (c *SnapshotServiceClient) Delete(ctx context.Context, in *compute.DeleteSnapshotRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements compute.SnapshotServiceClient
func (*SnapshotServiceClient) Get ¶
func (c *SnapshotServiceClient) Get(ctx context.Context, in *compute.GetSnapshotRequest, opts ...grpc.CallOption) (*compute.Snapshot, error)
Get implements compute.SnapshotServiceClient
func (*SnapshotServiceClient) List ¶
func (c *SnapshotServiceClient) List(ctx context.Context, in *compute.ListSnapshotsRequest, opts ...grpc.CallOption) (*compute.ListSnapshotsResponse, error)
List implements compute.SnapshotServiceClient
func (*SnapshotServiceClient) ListOperations ¶
func (c *SnapshotServiceClient) ListOperations(ctx context.Context, in *compute.ListSnapshotOperationsRequest, opts ...grpc.CallOption) (*compute.ListSnapshotOperationsResponse, error)
ListOperations implements compute.SnapshotServiceClient
func (*SnapshotServiceClient) SnapshotIterator ¶
func (c *SnapshotServiceClient) SnapshotIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *SnapshotIterator
func (*SnapshotServiceClient) SnapshotOperationsIterator ¶
func (c *SnapshotServiceClient) SnapshotOperationsIterator(ctx context.Context, snapshotId string, opts ...grpc.CallOption) *SnapshotOperationsIterator
func (*SnapshotServiceClient) Update ¶
func (c *SnapshotServiceClient) Update(ctx context.Context, in *compute.UpdateSnapshotRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements compute.SnapshotServiceClient
type ZoneIterator ¶
type ZoneIterator struct {
// contains filtered or unexported fields
}
func (*ZoneIterator) Error ¶
func (it *ZoneIterator) Error() error
func (*ZoneIterator) Next ¶
func (it *ZoneIterator) Next() bool
func (*ZoneIterator) Value ¶
func (it *ZoneIterator) Value() *compute.Zone
type ZoneServiceClient ¶
type ZoneServiceClient struct {
// contains filtered or unexported fields
}
ZoneServiceClient is a compute.ZoneServiceClient with lazy GRPC connection initialization.
func (*ZoneServiceClient) Get ¶
func (c *ZoneServiceClient) Get(ctx context.Context, in *compute.GetZoneRequest, opts ...grpc.CallOption) (*compute.Zone, error)
Get implements compute.ZoneServiceClient
func (*ZoneServiceClient) List ¶
func (c *ZoneServiceClient) List(ctx context.Context, in *compute.ListZonesRequest, opts ...grpc.CallOption) (*compute.ListZonesResponse, error)
List implements compute.ZoneServiceClient
func (*ZoneServiceClient) ZoneIterator ¶
func (c *ZoneServiceClient) ZoneIterator(ctx context.Context, opts ...grpc.CallOption) *ZoneIterator