vpc

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

nolint

nolint

nolint

nolint

nolint

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressBySubnetIterator added in v0.32.0

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

func (*AddressBySubnetIterator) Error added in v0.32.0

func (it *AddressBySubnetIterator) Error() error

func (*AddressBySubnetIterator) Next added in v0.32.0

func (it *AddressBySubnetIterator) Next() bool

func (*AddressBySubnetIterator) Take added in v0.32.0

func (it *AddressBySubnetIterator) Take(size int64) ([]*vpc.Address, error)

func (*AddressBySubnetIterator) TakeAll added in v0.32.0

func (it *AddressBySubnetIterator) TakeAll() ([]*vpc.Address, error)

func (*AddressBySubnetIterator) Value added in v0.32.0

func (it *AddressBySubnetIterator) Value() *vpc.Address

type AddressIterator

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

func (*AddressIterator) Error

func (it *AddressIterator) Error() error

func (*AddressIterator) Next

func (it *AddressIterator) Next() bool

func (*AddressIterator) Take

func (it *AddressIterator) Take(size int64) ([]*vpc.Address, error)

func (*AddressIterator) TakeAll

func (it *AddressIterator) TakeAll() ([]*vpc.Address, error)

func (*AddressIterator) Value

func (it *AddressIterator) Value() *vpc.Address

type AddressOperationsIterator

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

func (*AddressOperationsIterator) Error

func (it *AddressOperationsIterator) Error() error

func (*AddressOperationsIterator) Next

func (it *AddressOperationsIterator) Next() bool

func (*AddressOperationsIterator) Take

func (*AddressOperationsIterator) TakeAll

func (it *AddressOperationsIterator) TakeAll() ([]*operation.Operation, error)

func (*AddressOperationsIterator) Value

type AddressServiceClient

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

AddressServiceClient is a vpc.AddressServiceClient with lazy GRPC connection initialization.

func (*AddressServiceClient) AddressBySubnetIterator added in v0.32.0

func (*AddressServiceClient) AddressIterator

func (*AddressServiceClient) AddressOperationsIterator

func (*AddressServiceClient) Create

Create implements vpc.AddressServiceClient

func (*AddressServiceClient) Delete

Delete implements vpc.AddressServiceClient

func (*AddressServiceClient) Get

Get implements vpc.AddressServiceClient

func (*AddressServiceClient) GetByValue

GetByValue implements vpc.AddressServiceClient

func (*AddressServiceClient) List

List implements vpc.AddressServiceClient

func (*AddressServiceClient) ListBySubnet added in v0.32.0

ListBySubnet implements vpc.AddressServiceClient

func (*AddressServiceClient) ListOperations

ListOperations implements vpc.AddressServiceClient

func (*AddressServiceClient) Move

Move implements vpc.AddressServiceClient

func (*AddressServiceClient) Update

Update implements vpc.AddressServiceClient

type GatewayIterator

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

func (*GatewayIterator) Error

func (it *GatewayIterator) Error() error

func (*GatewayIterator) Next

func (it *GatewayIterator) Next() bool

func (*GatewayIterator) Take

func (it *GatewayIterator) Take(size int64) ([]*vpc.Gateway, error)

func (*GatewayIterator) TakeAll

func (it *GatewayIterator) TakeAll() ([]*vpc.Gateway, error)

func (*GatewayIterator) Value

func (it *GatewayIterator) Value() *vpc.Gateway

type GatewayOperationsIterator

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

func (*GatewayOperationsIterator) Error

func (it *GatewayOperationsIterator) Error() error

func (*GatewayOperationsIterator) Next

func (it *GatewayOperationsIterator) Next() bool

func (*GatewayOperationsIterator) Take

func (*GatewayOperationsIterator) TakeAll

func (it *GatewayOperationsIterator) TakeAll() ([]*operation.Operation, error)

func (*GatewayOperationsIterator) Value

type GatewayServiceClient

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

GatewayServiceClient is a vpc.GatewayServiceClient with lazy GRPC connection initialization.

func (*GatewayServiceClient) Create

Create implements vpc.GatewayServiceClient

func (*GatewayServiceClient) Delete

Delete implements vpc.GatewayServiceClient

func (*GatewayServiceClient) GatewayIterator

func (*GatewayServiceClient) GatewayOperationsIterator

func (*GatewayServiceClient) Get

Get implements vpc.GatewayServiceClient

func (*GatewayServiceClient) List

List implements vpc.GatewayServiceClient

func (*GatewayServiceClient) ListOperations

ListOperations implements vpc.GatewayServiceClient

func (*GatewayServiceClient) Move

Move implements vpc.GatewayServiceClient

func (*GatewayServiceClient) Update

Update implements vpc.GatewayServiceClient

type NetworkIterator

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

func (*NetworkIterator) Error

func (it *NetworkIterator) Error() error

func (*NetworkIterator) Next

func (it *NetworkIterator) Next() bool

func (*NetworkIterator) Take

func (it *NetworkIterator) Take(size int64) ([]*vpc.Network, error)

func (*NetworkIterator) TakeAll

func (it *NetworkIterator) TakeAll() ([]*vpc.Network, error)

func (*NetworkIterator) Value

func (it *NetworkIterator) Value() *vpc.Network

type NetworkOperationsIterator

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

func (*NetworkOperationsIterator) Error

func (it *NetworkOperationsIterator) Error() error

func (*NetworkOperationsIterator) Next

func (it *NetworkOperationsIterator) Next() bool

func (*NetworkOperationsIterator) Take

func (*NetworkOperationsIterator) TakeAll

func (it *NetworkOperationsIterator) TakeAll() ([]*operation.Operation, error)

func (*NetworkOperationsIterator) Value

type NetworkRouteTablesIterator

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

func (*NetworkRouteTablesIterator) Error

func (it *NetworkRouteTablesIterator) Error() error

func (*NetworkRouteTablesIterator) Next

func (it *NetworkRouteTablesIterator) Next() bool

func (*NetworkRouteTablesIterator) Take

func (it *NetworkRouteTablesIterator) Take(size int64) ([]*vpc.RouteTable, error)

func (*NetworkRouteTablesIterator) TakeAll

func (it *NetworkRouteTablesIterator) TakeAll() ([]*vpc.RouteTable, error)

func (*NetworkRouteTablesIterator) Value

type NetworkSecurityGroupsIterator

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

func (*NetworkSecurityGroupsIterator) Error

func (*NetworkSecurityGroupsIterator) Next

func (*NetworkSecurityGroupsIterator) Take

func (*NetworkSecurityGroupsIterator) TakeAll

func (*NetworkSecurityGroupsIterator) Value

type NetworkServiceClient

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

NetworkServiceClient is a vpc.NetworkServiceClient with lazy GRPC connection initialization.

func (*NetworkServiceClient) Create

Create implements vpc.NetworkServiceClient

func (*NetworkServiceClient) Delete

Delete implements vpc.NetworkServiceClient

func (*NetworkServiceClient) Get

Get implements vpc.NetworkServiceClient

func (*NetworkServiceClient) List

List implements vpc.NetworkServiceClient

func (*NetworkServiceClient) ListOperations

ListOperations implements vpc.NetworkServiceClient

func (*NetworkServiceClient) ListRouteTables

ListRouteTables implements vpc.NetworkServiceClient

func (*NetworkServiceClient) ListSecurityGroups

ListSecurityGroups implements vpc.NetworkServiceClient

func (*NetworkServiceClient) ListSubnets

ListSubnets implements vpc.NetworkServiceClient

func (*NetworkServiceClient) Move

Move implements vpc.NetworkServiceClient

func (*NetworkServiceClient) NetworkIterator

func (*NetworkServiceClient) NetworkOperationsIterator

func (*NetworkServiceClient) NetworkRouteTablesIterator

func (*NetworkServiceClient) NetworkSecurityGroupsIterator

func (*NetworkServiceClient) NetworkSubnetsIterator

func (*NetworkServiceClient) Update

Update implements vpc.NetworkServiceClient

type NetworkSubnetsIterator

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

func (*NetworkSubnetsIterator) Error

func (it *NetworkSubnetsIterator) Error() error

func (*NetworkSubnetsIterator) Next

func (it *NetworkSubnetsIterator) Next() bool

func (*NetworkSubnetsIterator) Take

func (it *NetworkSubnetsIterator) Take(size int64) ([]*vpc.Subnet, error)

func (*NetworkSubnetsIterator) TakeAll

func (it *NetworkSubnetsIterator) TakeAll() ([]*vpc.Subnet, error)

func (*NetworkSubnetsIterator) Value

func (it *NetworkSubnetsIterator) Value() *vpc.Subnet

type RouteTableIterator

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

func (*RouteTableIterator) Error

func (it *RouteTableIterator) Error() error

func (*RouteTableIterator) Next

func (it *RouteTableIterator) Next() bool

func (*RouteTableIterator) Take

func (it *RouteTableIterator) Take(size int64) ([]*vpc.RouteTable, error)

func (*RouteTableIterator) TakeAll

func (it *RouteTableIterator) TakeAll() ([]*vpc.RouteTable, error)

func (*RouteTableIterator) Value

func (it *RouteTableIterator) Value() *vpc.RouteTable

type RouteTableOperationsIterator

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

func (*RouteTableOperationsIterator) Error

func (it *RouteTableOperationsIterator) Error() error

func (*RouteTableOperationsIterator) Next

func (*RouteTableOperationsIterator) Take

func (*RouteTableOperationsIterator) TakeAll

func (*RouteTableOperationsIterator) Value

type RouteTableServiceClient

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

RouteTableServiceClient is a vpc.RouteTableServiceClient with lazy GRPC connection initialization.

func (*RouteTableServiceClient) Create

Create implements vpc.RouteTableServiceClient

func (*RouteTableServiceClient) Delete

Delete implements vpc.RouteTableServiceClient

func (*RouteTableServiceClient) Get

Get implements vpc.RouteTableServiceClient

func (*RouteTableServiceClient) List

List implements vpc.RouteTableServiceClient

func (*RouteTableServiceClient) ListOperations

ListOperations implements vpc.RouteTableServiceClient

func (*RouteTableServiceClient) Move

Move implements vpc.RouteTableServiceClient

func (*RouteTableServiceClient) RouteTableIterator

func (*RouteTableServiceClient) RouteTableOperationsIterator

func (*RouteTableServiceClient) Update

Update implements vpc.RouteTableServiceClient

type SecurityGroupIterator

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

func (*SecurityGroupIterator) Error

func (it *SecurityGroupIterator) Error() error

func (*SecurityGroupIterator) Next

func (it *SecurityGroupIterator) Next() bool

func (*SecurityGroupIterator) Take

func (it *SecurityGroupIterator) Take(size int64) ([]*vpc.SecurityGroup, error)

func (*SecurityGroupIterator) TakeAll

func (it *SecurityGroupIterator) TakeAll() ([]*vpc.SecurityGroup, error)

func (*SecurityGroupIterator) Value

type SecurityGroupOperationsIterator

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

func (*SecurityGroupOperationsIterator) Error

func (*SecurityGroupOperationsIterator) Next

func (*SecurityGroupOperationsIterator) Take

func (*SecurityGroupOperationsIterator) TakeAll

func (*SecurityGroupOperationsIterator) Value

type SecurityGroupServiceClient

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

SecurityGroupServiceClient is a vpc.SecurityGroupServiceClient with lazy GRPC connection initialization.

func (*SecurityGroupServiceClient) Create

Create implements vpc.SecurityGroupServiceClient

func (*SecurityGroupServiceClient) Delete

Delete implements vpc.SecurityGroupServiceClient

func (*SecurityGroupServiceClient) Get

Get implements vpc.SecurityGroupServiceClient

func (*SecurityGroupServiceClient) List

List implements vpc.SecurityGroupServiceClient

func (*SecurityGroupServiceClient) ListOperations

ListOperations implements vpc.SecurityGroupServiceClient

func (*SecurityGroupServiceClient) Move

Move implements vpc.SecurityGroupServiceClient

func (*SecurityGroupServiceClient) SecurityGroupIterator

func (*SecurityGroupServiceClient) SecurityGroupOperationsIterator

func (*SecurityGroupServiceClient) Update

Update implements vpc.SecurityGroupServiceClient

func (*SecurityGroupServiceClient) UpdateRule

UpdateRule implements vpc.SecurityGroupServiceClient

func (*SecurityGroupServiceClient) UpdateRules

UpdateRules implements vpc.SecurityGroupServiceClient

type SubnetIterator

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

func (*SubnetIterator) Error

func (it *SubnetIterator) Error() error

func (*SubnetIterator) Next

func (it *SubnetIterator) Next() bool

func (*SubnetIterator) Take

func (it *SubnetIterator) Take(size int64) ([]*vpc.Subnet, error)

func (*SubnetIterator) TakeAll

func (it *SubnetIterator) TakeAll() ([]*vpc.Subnet, error)

func (*SubnetIterator) Value

func (it *SubnetIterator) Value() *vpc.Subnet

type SubnetOperationsIterator

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

func (*SubnetOperationsIterator) Error

func (it *SubnetOperationsIterator) Error() error

func (*SubnetOperationsIterator) Next

func (it *SubnetOperationsIterator) Next() bool

func (*SubnetOperationsIterator) Take

func (*SubnetOperationsIterator) TakeAll

func (it *SubnetOperationsIterator) TakeAll() ([]*operation.Operation, error)

func (*SubnetOperationsIterator) Value

type SubnetServiceClient

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

SubnetServiceClient is a vpc.SubnetServiceClient with lazy GRPC connection initialization.

func (*SubnetServiceClient) AddCidrBlocks

AddCidrBlocks implements vpc.SubnetServiceClient

func (*SubnetServiceClient) Create

Create implements vpc.SubnetServiceClient

func (*SubnetServiceClient) Delete

Delete implements vpc.SubnetServiceClient

func (*SubnetServiceClient) Get

Get implements vpc.SubnetServiceClient

func (*SubnetServiceClient) List

List implements vpc.SubnetServiceClient

func (*SubnetServiceClient) ListOperations

ListOperations implements vpc.SubnetServiceClient

func (*SubnetServiceClient) ListUsedAddresses

ListUsedAddresses implements vpc.SubnetServiceClient

func (*SubnetServiceClient) Move

Move implements vpc.SubnetServiceClient

func (*SubnetServiceClient) Relocate

Relocate implements vpc.SubnetServiceClient

func (*SubnetServiceClient) RemoveCidrBlocks

RemoveCidrBlocks implements vpc.SubnetServiceClient

func (*SubnetServiceClient) SubnetIterator

func (c *SubnetServiceClient) SubnetIterator(ctx context.Context, req *vpc.ListSubnetsRequest, opts ...grpc.CallOption) *SubnetIterator

func (*SubnetServiceClient) SubnetOperationsIterator

func (*SubnetServiceClient) SubnetUsedAddressesIterator

func (c *SubnetServiceClient) SubnetUsedAddressesIterator(ctx context.Context, req *vpc.ListUsedAddressesRequest, opts ...grpc.CallOption) *SubnetUsedAddressesIterator

func (*SubnetServiceClient) Update

Update implements vpc.SubnetServiceClient

type SubnetUsedAddressesIterator

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

func (*SubnetUsedAddressesIterator) Error

func (it *SubnetUsedAddressesIterator) Error() error

func (*SubnetUsedAddressesIterator) Next

func (it *SubnetUsedAddressesIterator) Next() bool

func (*SubnetUsedAddressesIterator) Take

func (it *SubnetUsedAddressesIterator) Take(size int64) ([]*vpc.UsedAddress, error)

func (*SubnetUsedAddressesIterator) TakeAll

func (it *SubnetUsedAddressesIterator) TakeAll() ([]*vpc.UsedAddress, error)

func (*SubnetUsedAddressesIterator) Value

type VPC

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

VPC provides access to "vpc" component of Yandex.Cloud

func NewVPC

func NewVPC(g func(ctx context.Context) (*grpc.ClientConn, error)) *VPC

NewVPC creates instance of VPC

func (*VPC) Address

func (v *VPC) Address() *AddressServiceClient

Address gets AddressService client

func (*VPC) Gateway

func (v *VPC) Gateway() *GatewayServiceClient

Gateway gets GatewayService client

func (*VPC) Network

func (v *VPC) Network() *NetworkServiceClient

Network gets NetworkService client

func (*VPC) RouteTable

func (v *VPC) RouteTable() *RouteTableServiceClient

RouteTable gets RouteTableService client

func (*VPC) SecurityGroup

func (v *VPC) SecurityGroup() *SecurityGroupServiceClient

SecurityGroup gets SecurityGroupService client

func (*VPC) Subnet

func (v *VPC) Subnet() *SubnetServiceClient

Subnet gets SubnetService client

Directories

Path Synopsis
nolint
nolint

Jump to

Keyboard shortcuts

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