compute

package
v0.0.0-...-417428f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

nolint

nolint

nolint

nolint

nolint

nolint

nolint

Index

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

func NewCompute(g func(ctx context.Context) (*grpc.ClientConn, error)) *Compute

NewCompute creates instance of Compute

func (*Compute) Disk

func (c *Compute) Disk() *DiskServiceClient

Disk gets DiskService client

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

func (*Compute) Zone

func (c *Compute) Zone() *ZoneServiceClient

Zone gets ZoneService 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

type DiskServiceClient

type DiskServiceClient struct {
	// contains filtered or unexported fields
}

DiskServiceClient is a compute.DiskServiceClient with lazy GRPC connection initialization.

func (*DiskServiceClient) Create

Create implements compute.DiskServiceClient

func (*DiskServiceClient) Delete

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

Get implements compute.DiskServiceClient

func (*DiskServiceClient) List

List implements compute.DiskServiceClient

func (*DiskServiceClient) ListOperations

ListOperations implements compute.DiskServiceClient

func (*DiskServiceClient) Update

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

Get implements compute.DiskTypeServiceClient

func (*DiskTypeServiceClient) List

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

type ImageServiceClient

type ImageServiceClient struct {
	// contains filtered or unexported fields
}

ImageServiceClient is a compute.ImageServiceClient with lazy GRPC connection initialization.

func (*ImageServiceClient) Create

Create implements compute.ImageServiceClient

func (*ImageServiceClient) Delete

Delete implements compute.ImageServiceClient

func (*ImageServiceClient) Get

Get implements compute.ImageServiceClient

func (*ImageServiceClient) GetLatestByFamily

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

List implements compute.ImageServiceClient

func (*ImageServiceClient) ListOperations

ListOperations implements compute.ImageServiceClient

func (*ImageServiceClient) Update

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

type InstanceServiceClient

type InstanceServiceClient struct {
	// contains filtered or unexported fields
}

InstanceServiceClient is a compute.InstanceServiceClient with lazy GRPC connection initialization.

func (*InstanceServiceClient) AddOneToOneNat

AddOneToOneNat implements compute.InstanceServiceClient

func (*InstanceServiceClient) AttachDisk

AttachDisk implements compute.InstanceServiceClient

func (*InstanceServiceClient) Create

Create implements compute.InstanceServiceClient

func (*InstanceServiceClient) Delete

Delete implements compute.InstanceServiceClient

func (*InstanceServiceClient) DetachDisk

DetachDisk implements compute.InstanceServiceClient

func (*InstanceServiceClient) Get

Get implements compute.InstanceServiceClient

func (*InstanceServiceClient) GetSerialPortOutput

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

List implements compute.InstanceServiceClient

func (*InstanceServiceClient) ListOperations

ListOperations implements compute.InstanceServiceClient

func (*InstanceServiceClient) RemoveOneToOneNat

RemoveOneToOneNat implements compute.InstanceServiceClient

func (*InstanceServiceClient) Restart

Restart implements compute.InstanceServiceClient

func (*InstanceServiceClient) Start

Start implements compute.InstanceServiceClient

func (*InstanceServiceClient) Stop

Stop implements compute.InstanceServiceClient

func (*InstanceServiceClient) Update

Update implements compute.InstanceServiceClient

func (*InstanceServiceClient) UpdateMetadata

UpdateMetadata implements compute.InstanceServiceClient

func (*InstanceServiceClient) UpdateNetworkInterface

UpdateNetworkInterface implements compute.InstanceServiceClient

type PlacementGroupInstancesIterator

type PlacementGroupInstancesIterator struct {
	// contains filtered or unexported fields
}

func (*PlacementGroupInstancesIterator) Error

func (*PlacementGroupInstancesIterator) Next

func (*PlacementGroupInstancesIterator) Value

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

type PlacementGroupOperationsIterator

type PlacementGroupOperationsIterator struct {
	// contains filtered or unexported fields
}

func (*PlacementGroupOperationsIterator) Error

func (*PlacementGroupOperationsIterator) Next

func (*PlacementGroupOperationsIterator) Value

type PlacementGroupServiceClient

type PlacementGroupServiceClient struct {
	// contains filtered or unexported fields
}

PlacementGroupServiceClient is a compute.PlacementGroupServiceClient with lazy GRPC connection initialization.

func (*PlacementGroupServiceClient) Create

Create implements compute.PlacementGroupServiceClient

func (*PlacementGroupServiceClient) Delete

Delete implements compute.PlacementGroupServiceClient

func (*PlacementGroupServiceClient) Get

Get implements compute.PlacementGroupServiceClient

func (*PlacementGroupServiceClient) List

List implements compute.PlacementGroupServiceClient

func (*PlacementGroupServiceClient) ListInstances

ListInstances implements compute.PlacementGroupServiceClient

func (*PlacementGroupServiceClient) ListOperations

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

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

type SnapshotServiceClient

type SnapshotServiceClient struct {
	// contains filtered or unexported fields
}

SnapshotServiceClient is a compute.SnapshotServiceClient with lazy GRPC connection initialization.

func (*SnapshotServiceClient) Create

Create implements compute.SnapshotServiceClient

func (*SnapshotServiceClient) Delete

Delete implements compute.SnapshotServiceClient

func (*SnapshotServiceClient) Get

Get implements compute.SnapshotServiceClient

func (*SnapshotServiceClient) List

List implements compute.SnapshotServiceClient

func (*SnapshotServiceClient) ListOperations

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

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

Get implements compute.ZoneServiceClient

func (*ZoneServiceClient) List

List implements compute.ZoneServiceClient

func (*ZoneServiceClient) ZoneIterator

func (c *ZoneServiceClient) ZoneIterator(ctx context.Context, opts ...grpc.CallOption) *ZoneIterator

Directories

Path Synopsis
nolint
nolint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL