Documentation ¶
Overview ¶
nolint
nolint
Index ¶
- type LoadBalancer
- type NetworkLoadBalancerIterator
- func (it *NetworkLoadBalancerIterator) Error() error
- func (it *NetworkLoadBalancerIterator) Next() bool
- func (it *NetworkLoadBalancerIterator) Take(size int64) ([]*loadbalancer.NetworkLoadBalancer, error)
- func (it *NetworkLoadBalancerIterator) TakeAll() ([]*loadbalancer.NetworkLoadBalancer, error)
- func (it *NetworkLoadBalancerIterator) Value() *loadbalancer.NetworkLoadBalancer
- type NetworkLoadBalancerOperationsIterator
- func (it *NetworkLoadBalancerOperationsIterator) Error() error
- func (it *NetworkLoadBalancerOperationsIterator) Next() bool
- func (it *NetworkLoadBalancerOperationsIterator) Take(size int64) ([]*operation.Operation, error)
- func (it *NetworkLoadBalancerOperationsIterator) TakeAll() ([]*operation.Operation, error)
- func (it *NetworkLoadBalancerOperationsIterator) Value() *operation.Operation
- type NetworkLoadBalancerServiceClient
- func (c *NetworkLoadBalancerServiceClient) AddListener(ctx context.Context, in *loadbalancer.AddNetworkLoadBalancerListenerRequest, ...) (*operation.Operation, error)
- func (c *NetworkLoadBalancerServiceClient) AttachTargetGroup(ctx context.Context, ...) (*operation.Operation, error)
- func (c *NetworkLoadBalancerServiceClient) Create(ctx context.Context, in *loadbalancer.CreateNetworkLoadBalancerRequest, ...) (*operation.Operation, error)
- func (c *NetworkLoadBalancerServiceClient) Delete(ctx context.Context, in *loadbalancer.DeleteNetworkLoadBalancerRequest, ...) (*operation.Operation, error)
- func (c *NetworkLoadBalancerServiceClient) DetachTargetGroup(ctx context.Context, ...) (*operation.Operation, error)
- func (c *NetworkLoadBalancerServiceClient) Get(ctx context.Context, in *loadbalancer.GetNetworkLoadBalancerRequest, ...) (*loadbalancer.NetworkLoadBalancer, error)
- func (c *NetworkLoadBalancerServiceClient) GetTargetStates(ctx context.Context, in *loadbalancer.GetTargetStatesRequest, ...) (*loadbalancer.GetTargetStatesResponse, error)
- func (c *NetworkLoadBalancerServiceClient) List(ctx context.Context, in *loadbalancer.ListNetworkLoadBalancersRequest, ...) (*loadbalancer.ListNetworkLoadBalancersResponse, error)
- func (c *NetworkLoadBalancerServiceClient) ListOperations(ctx context.Context, in *loadbalancer.ListNetworkLoadBalancerOperationsRequest, ...) (*loadbalancer.ListNetworkLoadBalancerOperationsResponse, error)
- func (c *NetworkLoadBalancerServiceClient) NetworkLoadBalancerIterator(ctx context.Context, req *loadbalancer.ListNetworkLoadBalancersRequest, ...) *NetworkLoadBalancerIterator
- func (c *NetworkLoadBalancerServiceClient) NetworkLoadBalancerOperationsIterator(ctx context.Context, ...) *NetworkLoadBalancerOperationsIterator
- func (c *NetworkLoadBalancerServiceClient) RemoveListener(ctx context.Context, in *loadbalancer.RemoveNetworkLoadBalancerListenerRequest, ...) (*operation.Operation, error)
- func (c *NetworkLoadBalancerServiceClient) Start(ctx context.Context, in *loadbalancer.StartNetworkLoadBalancerRequest, ...) (*operation.Operation, error)
- func (c *NetworkLoadBalancerServiceClient) Stop(ctx context.Context, in *loadbalancer.StopNetworkLoadBalancerRequest, ...) (*operation.Operation, error)
- func (c *NetworkLoadBalancerServiceClient) Update(ctx context.Context, in *loadbalancer.UpdateNetworkLoadBalancerRequest, ...) (*operation.Operation, error)
- type TargetGroupIterator
- func (it *TargetGroupIterator) Error() error
- func (it *TargetGroupIterator) Next() bool
- func (it *TargetGroupIterator) Take(size int64) ([]*loadbalancer.TargetGroup, error)
- func (it *TargetGroupIterator) TakeAll() ([]*loadbalancer.TargetGroup, error)
- func (it *TargetGroupIterator) Value() *loadbalancer.TargetGroup
- type TargetGroupOperationsIterator
- func (it *TargetGroupOperationsIterator) Error() error
- func (it *TargetGroupOperationsIterator) Next() bool
- func (it *TargetGroupOperationsIterator) Take(size int64) ([]*operation.Operation, error)
- func (it *TargetGroupOperationsIterator) TakeAll() ([]*operation.Operation, error)
- func (it *TargetGroupOperationsIterator) Value() *operation.Operation
- type TargetGroupServiceClient
- func (c *TargetGroupServiceClient) AddTargets(ctx context.Context, in *loadbalancer.AddTargetsRequest, ...) (*operation.Operation, error)
- func (c *TargetGroupServiceClient) Create(ctx context.Context, in *loadbalancer.CreateTargetGroupRequest, ...) (*operation.Operation, error)
- func (c *TargetGroupServiceClient) Delete(ctx context.Context, in *loadbalancer.DeleteTargetGroupRequest, ...) (*operation.Operation, error)
- func (c *TargetGroupServiceClient) Get(ctx context.Context, in *loadbalancer.GetTargetGroupRequest, ...) (*loadbalancer.TargetGroup, error)
- func (c *TargetGroupServiceClient) List(ctx context.Context, in *loadbalancer.ListTargetGroupsRequest, ...) (*loadbalancer.ListTargetGroupsResponse, error)
- func (c *TargetGroupServiceClient) ListOperations(ctx context.Context, in *loadbalancer.ListTargetGroupOperationsRequest, ...) (*loadbalancer.ListTargetGroupOperationsResponse, error)
- func (c *TargetGroupServiceClient) RemoveTargets(ctx context.Context, in *loadbalancer.RemoveTargetsRequest, ...) (*operation.Operation, error)
- func (c *TargetGroupServiceClient) TargetGroupIterator(ctx context.Context, req *loadbalancer.ListTargetGroupsRequest, ...) *TargetGroupIterator
- func (c *TargetGroupServiceClient) TargetGroupOperationsIterator(ctx context.Context, req *loadbalancer.ListTargetGroupOperationsRequest, ...) *TargetGroupOperationsIterator
- func (c *TargetGroupServiceClient) Update(ctx context.Context, in *loadbalancer.UpdateTargetGroupRequest, ...) (*operation.Operation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadBalancer ¶
type LoadBalancer struct {
// contains filtered or unexported fields
}
LoadBalancer provides access to "loadbalancer" component of Yandex.Cloud
func NewLoadBalancer ¶
func NewLoadBalancer(g func(ctx context.Context) (*grpc.ClientConn, error)) *LoadBalancer
NewLoadBalancer creates instance of LoadBalancer
func (*LoadBalancer) NetworkLoadBalancer ¶
func (l *LoadBalancer) NetworkLoadBalancer() *NetworkLoadBalancerServiceClient
NetworkLoadBalancer gets NetworkLoadBalancerService client
func (*LoadBalancer) TargetGroup ¶
func (l *LoadBalancer) TargetGroup() *TargetGroupServiceClient
TargetGroup gets TargetGroupService client
type NetworkLoadBalancerIterator ¶
type NetworkLoadBalancerIterator struct {
// contains filtered or unexported fields
}
func (*NetworkLoadBalancerIterator) Error ¶
func (it *NetworkLoadBalancerIterator) Error() error
func (*NetworkLoadBalancerIterator) Next ¶
func (it *NetworkLoadBalancerIterator) Next() bool
func (*NetworkLoadBalancerIterator) Take ¶
func (it *NetworkLoadBalancerIterator) Take(size int64) ([]*loadbalancer.NetworkLoadBalancer, error)
func (*NetworkLoadBalancerIterator) TakeAll ¶
func (it *NetworkLoadBalancerIterator) TakeAll() ([]*loadbalancer.NetworkLoadBalancer, error)
func (*NetworkLoadBalancerIterator) Value ¶
func (it *NetworkLoadBalancerIterator) Value() *loadbalancer.NetworkLoadBalancer
type NetworkLoadBalancerOperationsIterator ¶
type NetworkLoadBalancerOperationsIterator struct {
// contains filtered or unexported fields
}
func (*NetworkLoadBalancerOperationsIterator) Error ¶
func (it *NetworkLoadBalancerOperationsIterator) Error() error
func (*NetworkLoadBalancerOperationsIterator) Next ¶
func (it *NetworkLoadBalancerOperationsIterator) Next() bool
func (*NetworkLoadBalancerOperationsIterator) Take ¶
func (it *NetworkLoadBalancerOperationsIterator) Take(size int64) ([]*operation.Operation, error)
func (*NetworkLoadBalancerOperationsIterator) TakeAll ¶
func (it *NetworkLoadBalancerOperationsIterator) TakeAll() ([]*operation.Operation, error)
func (*NetworkLoadBalancerOperationsIterator) Value ¶
func (it *NetworkLoadBalancerOperationsIterator) Value() *operation.Operation
type NetworkLoadBalancerServiceClient ¶
type NetworkLoadBalancerServiceClient struct {
// contains filtered or unexported fields
}
NetworkLoadBalancerServiceClient is a loadbalancer.NetworkLoadBalancerServiceClient with lazy GRPC connection initialization.
func (*NetworkLoadBalancerServiceClient) AddListener ¶
func (c *NetworkLoadBalancerServiceClient) AddListener(ctx context.Context, in *loadbalancer.AddNetworkLoadBalancerListenerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddListener implements loadbalancer.NetworkLoadBalancerServiceClient
func (*NetworkLoadBalancerServiceClient) AttachTargetGroup ¶
func (c *NetworkLoadBalancerServiceClient) AttachTargetGroup(ctx context.Context, in *loadbalancer.AttachNetworkLoadBalancerTargetGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AttachTargetGroup implements loadbalancer.NetworkLoadBalancerServiceClient
func (*NetworkLoadBalancerServiceClient) Create ¶
func (c *NetworkLoadBalancerServiceClient) Create(ctx context.Context, in *loadbalancer.CreateNetworkLoadBalancerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements loadbalancer.NetworkLoadBalancerServiceClient
func (*NetworkLoadBalancerServiceClient) Delete ¶
func (c *NetworkLoadBalancerServiceClient) Delete(ctx context.Context, in *loadbalancer.DeleteNetworkLoadBalancerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements loadbalancer.NetworkLoadBalancerServiceClient
func (*NetworkLoadBalancerServiceClient) DetachTargetGroup ¶
func (c *NetworkLoadBalancerServiceClient) DetachTargetGroup(ctx context.Context, in *loadbalancer.DetachNetworkLoadBalancerTargetGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DetachTargetGroup implements loadbalancer.NetworkLoadBalancerServiceClient
func (*NetworkLoadBalancerServiceClient) Get ¶
func (c *NetworkLoadBalancerServiceClient) Get(ctx context.Context, in *loadbalancer.GetNetworkLoadBalancerRequest, opts ...grpc.CallOption) (*loadbalancer.NetworkLoadBalancer, error)
Get implements loadbalancer.NetworkLoadBalancerServiceClient
func (*NetworkLoadBalancerServiceClient) GetTargetStates ¶
func (c *NetworkLoadBalancerServiceClient) GetTargetStates(ctx context.Context, in *loadbalancer.GetTargetStatesRequest, opts ...grpc.CallOption) (*loadbalancer.GetTargetStatesResponse, error)
GetTargetStates implements loadbalancer.NetworkLoadBalancerServiceClient
func (*NetworkLoadBalancerServiceClient) List ¶
func (c *NetworkLoadBalancerServiceClient) List(ctx context.Context, in *loadbalancer.ListNetworkLoadBalancersRequest, opts ...grpc.CallOption) (*loadbalancer.ListNetworkLoadBalancersResponse, error)
List implements loadbalancer.NetworkLoadBalancerServiceClient
func (*NetworkLoadBalancerServiceClient) ListOperations ¶
func (c *NetworkLoadBalancerServiceClient) ListOperations(ctx context.Context, in *loadbalancer.ListNetworkLoadBalancerOperationsRequest, opts ...grpc.CallOption) (*loadbalancer.ListNetworkLoadBalancerOperationsResponse, error)
ListOperations implements loadbalancer.NetworkLoadBalancerServiceClient
func (*NetworkLoadBalancerServiceClient) NetworkLoadBalancerIterator ¶
func (c *NetworkLoadBalancerServiceClient) NetworkLoadBalancerIterator(ctx context.Context, req *loadbalancer.ListNetworkLoadBalancersRequest, opts ...grpc.CallOption) *NetworkLoadBalancerIterator
func (*NetworkLoadBalancerServiceClient) NetworkLoadBalancerOperationsIterator ¶
func (c *NetworkLoadBalancerServiceClient) NetworkLoadBalancerOperationsIterator(ctx context.Context, req *loadbalancer.ListNetworkLoadBalancerOperationsRequest, opts ...grpc.CallOption) *NetworkLoadBalancerOperationsIterator
func (*NetworkLoadBalancerServiceClient) RemoveListener ¶
func (c *NetworkLoadBalancerServiceClient) RemoveListener(ctx context.Context, in *loadbalancer.RemoveNetworkLoadBalancerListenerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RemoveListener implements loadbalancer.NetworkLoadBalancerServiceClient
func (*NetworkLoadBalancerServiceClient) Start ¶
func (c *NetworkLoadBalancerServiceClient) Start(ctx context.Context, in *loadbalancer.StartNetworkLoadBalancerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Start implements loadbalancer.NetworkLoadBalancerServiceClient
func (*NetworkLoadBalancerServiceClient) Stop ¶
func (c *NetworkLoadBalancerServiceClient) Stop(ctx context.Context, in *loadbalancer.StopNetworkLoadBalancerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Stop implements loadbalancer.NetworkLoadBalancerServiceClient
func (*NetworkLoadBalancerServiceClient) Update ¶
func (c *NetworkLoadBalancerServiceClient) Update(ctx context.Context, in *loadbalancer.UpdateNetworkLoadBalancerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements loadbalancer.NetworkLoadBalancerServiceClient
type TargetGroupIterator ¶
type TargetGroupIterator struct {
// contains filtered or unexported fields
}
func (*TargetGroupIterator) Error ¶
func (it *TargetGroupIterator) Error() error
func (*TargetGroupIterator) Next ¶
func (it *TargetGroupIterator) Next() bool
func (*TargetGroupIterator) Take ¶
func (it *TargetGroupIterator) Take(size int64) ([]*loadbalancer.TargetGroup, error)
func (*TargetGroupIterator) TakeAll ¶
func (it *TargetGroupIterator) TakeAll() ([]*loadbalancer.TargetGroup, error)
func (*TargetGroupIterator) Value ¶
func (it *TargetGroupIterator) Value() *loadbalancer.TargetGroup
type TargetGroupOperationsIterator ¶
type TargetGroupOperationsIterator struct {
// contains filtered or unexported fields
}
func (*TargetGroupOperationsIterator) Error ¶
func (it *TargetGroupOperationsIterator) Error() error
func (*TargetGroupOperationsIterator) Next ¶
func (it *TargetGroupOperationsIterator) Next() bool
func (*TargetGroupOperationsIterator) Take ¶
func (it *TargetGroupOperationsIterator) Take(size int64) ([]*operation.Operation, error)
func (*TargetGroupOperationsIterator) TakeAll ¶
func (it *TargetGroupOperationsIterator) TakeAll() ([]*operation.Operation, error)
func (*TargetGroupOperationsIterator) Value ¶
func (it *TargetGroupOperationsIterator) Value() *operation.Operation
type TargetGroupServiceClient ¶
type TargetGroupServiceClient struct {
// contains filtered or unexported fields
}
TargetGroupServiceClient is a loadbalancer.TargetGroupServiceClient with lazy GRPC connection initialization.
func (*TargetGroupServiceClient) AddTargets ¶
func (c *TargetGroupServiceClient) AddTargets(ctx context.Context, in *loadbalancer.AddTargetsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddTargets implements loadbalancer.TargetGroupServiceClient
func (*TargetGroupServiceClient) Create ¶
func (c *TargetGroupServiceClient) Create(ctx context.Context, in *loadbalancer.CreateTargetGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements loadbalancer.TargetGroupServiceClient
func (*TargetGroupServiceClient) Delete ¶
func (c *TargetGroupServiceClient) Delete(ctx context.Context, in *loadbalancer.DeleteTargetGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements loadbalancer.TargetGroupServiceClient
func (*TargetGroupServiceClient) Get ¶
func (c *TargetGroupServiceClient) Get(ctx context.Context, in *loadbalancer.GetTargetGroupRequest, opts ...grpc.CallOption) (*loadbalancer.TargetGroup, error)
Get implements loadbalancer.TargetGroupServiceClient
func (*TargetGroupServiceClient) List ¶
func (c *TargetGroupServiceClient) List(ctx context.Context, in *loadbalancer.ListTargetGroupsRequest, opts ...grpc.CallOption) (*loadbalancer.ListTargetGroupsResponse, error)
List implements loadbalancer.TargetGroupServiceClient
func (*TargetGroupServiceClient) ListOperations ¶
func (c *TargetGroupServiceClient) ListOperations(ctx context.Context, in *loadbalancer.ListTargetGroupOperationsRequest, opts ...grpc.CallOption) (*loadbalancer.ListTargetGroupOperationsResponse, error)
ListOperations implements loadbalancer.TargetGroupServiceClient
func (*TargetGroupServiceClient) RemoveTargets ¶
func (c *TargetGroupServiceClient) RemoveTargets(ctx context.Context, in *loadbalancer.RemoveTargetsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RemoveTargets implements loadbalancer.TargetGroupServiceClient
func (*TargetGroupServiceClient) TargetGroupIterator ¶
func (c *TargetGroupServiceClient) TargetGroupIterator(ctx context.Context, req *loadbalancer.ListTargetGroupsRequest, opts ...grpc.CallOption) *TargetGroupIterator
func (*TargetGroupServiceClient) TargetGroupOperationsIterator ¶
func (c *TargetGroupServiceClient) TargetGroupOperationsIterator(ctx context.Context, req *loadbalancer.ListTargetGroupOperationsRequest, opts ...grpc.CallOption) *TargetGroupOperationsIterator
func (*TargetGroupServiceClient) Update ¶
func (c *TargetGroupServiceClient) Update(ctx context.Context, in *loadbalancer.UpdateTargetGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements loadbalancer.TargetGroupServiceClient