network

package
v0.0.0-...-8bc9604 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint

nolint

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

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

Network provides access to "network" service of DoubleCloud

func NewNetwork

func NewNetwork(g func(ctx context.Context) (*grpc.ClientConn, error)) *Network

NewNetwork creates instance of Network

func (*Network) Network

func (n *Network) Network() *NetworkServiceClient

Network gets NetworkService client

func (*Network) NetworkConnection

func (n *Network) NetworkConnection() *NetworkConnectionServiceClient

NetworkConnection gets NetworkConnectionService client

func (*Network) Operation

func (n *Network) Operation() *OperationServiceClient

Operation gets OperationService client

type NetworkConnectionIterator

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

func (*NetworkConnectionIterator) Error

func (it *NetworkConnectionIterator) Error() error

func (*NetworkConnectionIterator) Next

func (it *NetworkConnectionIterator) Next() bool

func (*NetworkConnectionIterator) Take

func (*NetworkConnectionIterator) TakeAll

func (*NetworkConnectionIterator) Value

type NetworkConnectionServiceClient

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

NetworkConnectionServiceClient is a network.NetworkConnectionServiceClient with lazy GRPC connection initialization.

func (*NetworkConnectionServiceClient) Create

Create implements network.NetworkConnectionServiceClient

func (*NetworkConnectionServiceClient) Delete

Delete implements network.NetworkConnectionServiceClient

func (*NetworkConnectionServiceClient) Get

Get implements network.NetworkConnectionServiceClient

func (*NetworkConnectionServiceClient) List

List implements network.NetworkConnectionServiceClient

func (*NetworkConnectionServiceClient) NetworkConnectionIterator

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) ([]*network.Network, error)

func (*NetworkIterator) TakeAll

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

func (*NetworkIterator) Value

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

type NetworkServiceClient

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

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

func (*NetworkServiceClient) Create

Create implements network.NetworkServiceClient

func (*NetworkServiceClient) Delete

Delete implements network.NetworkServiceClient

func (*NetworkServiceClient) Get

Get implements network.NetworkServiceClient

func (*NetworkServiceClient) Import

Import implements network.NetworkServiceClient

func (*NetworkServiceClient) List

List implements network.NetworkServiceClient

func (*NetworkServiceClient) NetworkIterator

type OperationIterator

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

func (*OperationIterator) Error

func (it *OperationIterator) Error() error

func (*OperationIterator) Next

func (it *OperationIterator) Next() bool

func (*OperationIterator) Take

func (it *OperationIterator) Take(size int64) ([]*doublecloud.Operation, error)

func (*OperationIterator) TakeAll

func (it *OperationIterator) TakeAll() ([]*doublecloud.Operation, error)

func (*OperationIterator) Value

type OperationServiceClient

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

OperationServiceClient is a network.OperationServiceClient with lazy GRPC connection initialization.

func (*OperationServiceClient) Get

Get implements network.OperationServiceClient

func (*OperationServiceClient) List

List implements network.OperationServiceClient

func (*OperationServiceClient) OperationIterator

Jump to

Keyboard shortcuts

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