Documentation ¶
Overview ¶
nolint
nolint
nolint
Index ¶
- type Network
- type NetworkConnectionIterator
- func (it *NetworkConnectionIterator) Error() error
- func (it *NetworkConnectionIterator) Next() bool
- func (it *NetworkConnectionIterator) Take(size int64) ([]*network.NetworkConnection, error)
- func (it *NetworkConnectionIterator) TakeAll() ([]*network.NetworkConnection, error)
- func (it *NetworkConnectionIterator) Value() *network.NetworkConnection
- type NetworkConnectionServiceClient
- func (c *NetworkConnectionServiceClient) Create(ctx context.Context, in *network.CreateNetworkConnectionRequest, ...) (*doublecloud.Operation, error)
- func (c *NetworkConnectionServiceClient) Delete(ctx context.Context, in *network.DeleteNetworkConnectionRequest, ...) (*doublecloud.Operation, error)
- func (c *NetworkConnectionServiceClient) Get(ctx context.Context, in *network.GetNetworkConnectionRequest, ...) (*network.NetworkConnection, error)
- func (c *NetworkConnectionServiceClient) List(ctx context.Context, in *network.ListNetworkConnectionsRequest, ...) (*network.ListNetworkConnectionsResponse, error)
- func (c *NetworkConnectionServiceClient) NetworkConnectionIterator(ctx context.Context, req *network.ListNetworkConnectionsRequest, ...) *NetworkConnectionIterator
- type NetworkIterator
- type NetworkServiceClient
- func (c *NetworkServiceClient) Create(ctx context.Context, in *network.CreateNetworkRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
- func (c *NetworkServiceClient) Delete(ctx context.Context, in *network.DeleteNetworkRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
- func (c *NetworkServiceClient) Get(ctx context.Context, in *network.GetNetworkRequest, opts ...grpc.CallOption) (*network.Network, error)
- func (c *NetworkServiceClient) Import(ctx context.Context, in *network.ImportNetworkRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
- func (c *NetworkServiceClient) List(ctx context.Context, in *network.ListNetworksRequest, opts ...grpc.CallOption) (*network.ListNetworksResponse, error)
- func (c *NetworkServiceClient) NetworkIterator(ctx context.Context, req *network.ListNetworksRequest, opts ...grpc.CallOption) *NetworkIterator
- type OperationIterator
- type OperationServiceClient
- func (c *OperationServiceClient) Get(ctx context.Context, in *network.GetOperationRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
- func (c *OperationServiceClient) List(ctx context.Context, in *network.ListOperationsRequest, ...) (*network.ListOperationsResponse, error)
- func (c *OperationServiceClient) OperationIterator(ctx context.Context, req *network.ListOperationsRequest, ...) *OperationIterator
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 ¶
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 (it *NetworkConnectionIterator) Take(size int64) ([]*network.NetworkConnection, error)
func (*NetworkConnectionIterator) TakeAll ¶
func (it *NetworkConnectionIterator) TakeAll() ([]*network.NetworkConnection, error)
func (*NetworkConnectionIterator) Value ¶
func (it *NetworkConnectionIterator) Value() *network.NetworkConnection
type NetworkConnectionServiceClient ¶
type NetworkConnectionServiceClient struct {
// contains filtered or unexported fields
}
NetworkConnectionServiceClient is a network.NetworkConnectionServiceClient with lazy GRPC connection initialization.
func (*NetworkConnectionServiceClient) Create ¶
func (c *NetworkConnectionServiceClient) Create(ctx context.Context, in *network.CreateNetworkConnectionRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Create implements network.NetworkConnectionServiceClient
func (*NetworkConnectionServiceClient) Delete ¶
func (c *NetworkConnectionServiceClient) Delete(ctx context.Context, in *network.DeleteNetworkConnectionRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Delete implements network.NetworkConnectionServiceClient
func (*NetworkConnectionServiceClient) Get ¶
func (c *NetworkConnectionServiceClient) Get(ctx context.Context, in *network.GetNetworkConnectionRequest, opts ...grpc.CallOption) (*network.NetworkConnection, error)
Get implements network.NetworkConnectionServiceClient
func (*NetworkConnectionServiceClient) List ¶
func (c *NetworkConnectionServiceClient) List(ctx context.Context, in *network.ListNetworkConnectionsRequest, opts ...grpc.CallOption) (*network.ListNetworkConnectionsResponse, error)
List implements network.NetworkConnectionServiceClient
func (*NetworkConnectionServiceClient) NetworkConnectionIterator ¶
func (c *NetworkConnectionServiceClient) NetworkConnectionIterator(ctx context.Context, req *network.ListNetworkConnectionsRequest, opts ...grpc.CallOption) *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) 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 ¶
func (c *NetworkServiceClient) Create(ctx context.Context, in *network.CreateNetworkRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Create implements network.NetworkServiceClient
func (*NetworkServiceClient) Delete ¶
func (c *NetworkServiceClient) Delete(ctx context.Context, in *network.DeleteNetworkRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Delete implements network.NetworkServiceClient
func (*NetworkServiceClient) Get ¶
func (c *NetworkServiceClient) Get(ctx context.Context, in *network.GetNetworkRequest, opts ...grpc.CallOption) (*network.Network, error)
Get implements network.NetworkServiceClient
func (*NetworkServiceClient) Import ¶
func (c *NetworkServiceClient) Import(ctx context.Context, in *network.ImportNetworkRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Import implements network.NetworkServiceClient
func (*NetworkServiceClient) List ¶
func (c *NetworkServiceClient) List(ctx context.Context, in *network.ListNetworksRequest, opts ...grpc.CallOption) (*network.ListNetworksResponse, error)
List implements network.NetworkServiceClient
func (*NetworkServiceClient) NetworkIterator ¶
func (c *NetworkServiceClient) NetworkIterator(ctx context.Context, req *network.ListNetworksRequest, opts ...grpc.CallOption) *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 ¶
func (it *OperationIterator) Value() *doublecloud.Operation
type OperationServiceClient ¶
type OperationServiceClient struct {
// contains filtered or unexported fields
}
OperationServiceClient is a network.OperationServiceClient with lazy GRPC connection initialization.
func (*OperationServiceClient) Get ¶
func (c *OperationServiceClient) Get(ctx context.Context, in *network.GetOperationRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Get implements network.OperationServiceClient
func (*OperationServiceClient) List ¶
func (c *OperationServiceClient) List(ctx context.Context, in *network.ListOperationsRequest, opts ...grpc.CallOption) (*network.ListOperationsResponse, error)
List implements network.OperationServiceClient
func (*OperationServiceClient) OperationIterator ¶
func (c *OperationServiceClient) OperationIterator(ctx context.Context, req *network.ListOperationsRequest, opts ...grpc.CallOption) *OperationIterator