Documentation ¶
Overview ¶
nolint
nolint
nolint
Index ¶
- type ClusterIterator
- type ClusterNodeGroupsIterator
- func (it *ClusterNodeGroupsIterator) Error() error
- func (it *ClusterNodeGroupsIterator) Next() bool
- func (it *ClusterNodeGroupsIterator) Take(size int64) ([]*k8s.NodeGroup, error)
- func (it *ClusterNodeGroupsIterator) TakeAll() ([]*k8s.NodeGroup, error)
- func (it *ClusterNodeGroupsIterator) Value() *k8s.NodeGroup
- type ClusterNodesIterator
- type ClusterOperationsIterator
- func (it *ClusterOperationsIterator) Error() error
- func (it *ClusterOperationsIterator) Next() bool
- func (it *ClusterOperationsIterator) Take(size int64) ([]*operation.Operation, error)
- func (it *ClusterOperationsIterator) TakeAll() ([]*operation.Operation, error)
- func (it *ClusterOperationsIterator) Value() *operation.Operation
- type ClusterServiceClient
- func (c *ClusterServiceClient) ClusterIterator(ctx context.Context, req *k8s.ListClustersRequest, opts ...grpc.CallOption) *ClusterIterator
- func (c *ClusterServiceClient) ClusterNodeGroupsIterator(ctx context.Context, req *k8s.ListClusterNodeGroupsRequest, ...) *ClusterNodeGroupsIterator
- func (c *ClusterServiceClient) ClusterNodesIterator(ctx context.Context, req *k8s.ListClusterNodesRequest, opts ...grpc.CallOption) *ClusterNodesIterator
- func (c *ClusterServiceClient) ClusterOperationsIterator(ctx context.Context, req *k8s.ListClusterOperationsRequest, ...) *ClusterOperationsIterator
- func (c *ClusterServiceClient) Create(ctx context.Context, in *k8s.CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Delete(ctx context.Context, in *k8s.DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Get(ctx context.Context, in *k8s.GetClusterRequest, opts ...grpc.CallOption) (*k8s.Cluster, error)
- func (c *ClusterServiceClient) List(ctx context.Context, in *k8s.ListClustersRequest, opts ...grpc.CallOption) (*k8s.ListClustersResponse, error)
- func (c *ClusterServiceClient) ListNodeGroups(ctx context.Context, in *k8s.ListClusterNodeGroupsRequest, ...) (*k8s.ListClusterNodeGroupsResponse, error)
- func (c *ClusterServiceClient) ListNodes(ctx context.Context, in *k8s.ListClusterNodesRequest, opts ...grpc.CallOption) (*k8s.ListClusterNodesResponse, error)
- func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *k8s.ListClusterOperationsRequest, ...) (*k8s.ListClusterOperationsResponse, error)
- func (c *ClusterServiceClient) Start(ctx context.Context, in *k8s.StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Stop(ctx context.Context, in *k8s.StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Update(ctx context.Context, in *k8s.UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- type Kubernetes
- type NodeGroupIterator
- type NodeGroupNodesIterator
- type NodeGroupOperationsIterator
- func (it *NodeGroupOperationsIterator) Error() error
- func (it *NodeGroupOperationsIterator) Next() bool
- func (it *NodeGroupOperationsIterator) Take(size int64) ([]*operation.Operation, error)
- func (it *NodeGroupOperationsIterator) TakeAll() ([]*operation.Operation, error)
- func (it *NodeGroupOperationsIterator) Value() *operation.Operation
- type NodeGroupServiceClient
- func (c *NodeGroupServiceClient) Create(ctx context.Context, in *k8s.CreateNodeGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *NodeGroupServiceClient) Delete(ctx context.Context, in *k8s.DeleteNodeGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *NodeGroupServiceClient) Get(ctx context.Context, in *k8s.GetNodeGroupRequest, opts ...grpc.CallOption) (*k8s.NodeGroup, error)
- func (c *NodeGroupServiceClient) List(ctx context.Context, in *k8s.ListNodeGroupsRequest, opts ...grpc.CallOption) (*k8s.ListNodeGroupsResponse, error)
- func (c *NodeGroupServiceClient) ListNodes(ctx context.Context, in *k8s.ListNodeGroupNodesRequest, ...) (*k8s.ListNodeGroupNodesResponse, error)
- func (c *NodeGroupServiceClient) ListOperations(ctx context.Context, in *k8s.ListNodeGroupOperationsRequest, ...) (*k8s.ListNodeGroupOperationsResponse, error)
- func (c *NodeGroupServiceClient) NodeGroupIterator(ctx context.Context, req *k8s.ListNodeGroupsRequest, opts ...grpc.CallOption) *NodeGroupIterator
- func (c *NodeGroupServiceClient) NodeGroupNodesIterator(ctx context.Context, req *k8s.ListNodeGroupNodesRequest, ...) *NodeGroupNodesIterator
- func (c *NodeGroupServiceClient) NodeGroupOperationsIterator(ctx context.Context, req *k8s.ListNodeGroupOperationsRequest, ...) *NodeGroupOperationsIterator
- func (c *NodeGroupServiceClient) Update(ctx context.Context, in *k8s.UpdateNodeGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- type VersionIterator
- type VersionServiceClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterIterator ¶
type ClusterIterator struct {
// contains filtered or unexported fields
}
func (*ClusterIterator) Error ¶
func (it *ClusterIterator) Error() error
func (*ClusterIterator) Next ¶
func (it *ClusterIterator) Next() bool
func (*ClusterIterator) Value ¶
func (it *ClusterIterator) Value() *k8s.Cluster
type ClusterNodeGroupsIterator ¶
type ClusterNodeGroupsIterator struct {
// contains filtered or unexported fields
}
func (*ClusterNodeGroupsIterator) Error ¶
func (it *ClusterNodeGroupsIterator) Error() error
func (*ClusterNodeGroupsIterator) Next ¶
func (it *ClusterNodeGroupsIterator) Next() bool
func (*ClusterNodeGroupsIterator) Take ¶
func (it *ClusterNodeGroupsIterator) Take(size int64) ([]*k8s.NodeGroup, error)
func (*ClusterNodeGroupsIterator) TakeAll ¶
func (it *ClusterNodeGroupsIterator) TakeAll() ([]*k8s.NodeGroup, error)
func (*ClusterNodeGroupsIterator) Value ¶
func (it *ClusterNodeGroupsIterator) Value() *k8s.NodeGroup
type ClusterNodesIterator ¶
type ClusterNodesIterator struct {
// contains filtered or unexported fields
}
func (*ClusterNodesIterator) Error ¶
func (it *ClusterNodesIterator) Error() error
func (*ClusterNodesIterator) Next ¶
func (it *ClusterNodesIterator) Next() bool
func (*ClusterNodesIterator) Take ¶
func (it *ClusterNodesIterator) Take(size int64) ([]*k8s.Node, error)
func (*ClusterNodesIterator) TakeAll ¶
func (it *ClusterNodesIterator) TakeAll() ([]*k8s.Node, error)
func (*ClusterNodesIterator) Value ¶
func (it *ClusterNodesIterator) Value() *k8s.Node
type ClusterOperationsIterator ¶
type ClusterOperationsIterator struct {
// contains filtered or unexported fields
}
func (*ClusterOperationsIterator) Error ¶
func (it *ClusterOperationsIterator) Error() error
func (*ClusterOperationsIterator) Next ¶
func (it *ClusterOperationsIterator) Next() bool
func (*ClusterOperationsIterator) Take ¶
func (it *ClusterOperationsIterator) Take(size int64) ([]*operation.Operation, error)
func (*ClusterOperationsIterator) TakeAll ¶
func (it *ClusterOperationsIterator) TakeAll() ([]*operation.Operation, error)
func (*ClusterOperationsIterator) Value ¶
func (it *ClusterOperationsIterator) Value() *operation.Operation
type ClusterServiceClient ¶
type ClusterServiceClient struct {
// contains filtered or unexported fields
}
ClusterServiceClient is a k8s.ClusterServiceClient with lazy GRPC connection initialization.
func (*ClusterServiceClient) ClusterIterator ¶
func (c *ClusterServiceClient) ClusterIterator(ctx context.Context, req *k8s.ListClustersRequest, opts ...grpc.CallOption) *ClusterIterator
func (*ClusterServiceClient) ClusterNodeGroupsIterator ¶
func (c *ClusterServiceClient) ClusterNodeGroupsIterator(ctx context.Context, req *k8s.ListClusterNodeGroupsRequest, opts ...grpc.CallOption) *ClusterNodeGroupsIterator
func (*ClusterServiceClient) ClusterNodesIterator ¶
func (c *ClusterServiceClient) ClusterNodesIterator(ctx context.Context, req *k8s.ListClusterNodesRequest, opts ...grpc.CallOption) *ClusterNodesIterator
func (*ClusterServiceClient) ClusterOperationsIterator ¶
func (c *ClusterServiceClient) ClusterOperationsIterator(ctx context.Context, req *k8s.ListClusterOperationsRequest, opts ...grpc.CallOption) *ClusterOperationsIterator
func (*ClusterServiceClient) Create ¶
func (c *ClusterServiceClient) Create(ctx context.Context, in *k8s.CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements k8s.ClusterServiceClient
func (*ClusterServiceClient) Delete ¶
func (c *ClusterServiceClient) Delete(ctx context.Context, in *k8s.DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements k8s.ClusterServiceClient
func (*ClusterServiceClient) Get ¶
func (c *ClusterServiceClient) Get(ctx context.Context, in *k8s.GetClusterRequest, opts ...grpc.CallOption) (*k8s.Cluster, error)
Get implements k8s.ClusterServiceClient
func (*ClusterServiceClient) List ¶
func (c *ClusterServiceClient) List(ctx context.Context, in *k8s.ListClustersRequest, opts ...grpc.CallOption) (*k8s.ListClustersResponse, error)
List implements k8s.ClusterServiceClient
func (*ClusterServiceClient) ListNodeGroups ¶
func (c *ClusterServiceClient) ListNodeGroups(ctx context.Context, in *k8s.ListClusterNodeGroupsRequest, opts ...grpc.CallOption) (*k8s.ListClusterNodeGroupsResponse, error)
ListNodeGroups implements k8s.ClusterServiceClient
func (*ClusterServiceClient) ListNodes ¶
func (c *ClusterServiceClient) ListNodes(ctx context.Context, in *k8s.ListClusterNodesRequest, opts ...grpc.CallOption) (*k8s.ListClusterNodesResponse, error)
ListNodes implements k8s.ClusterServiceClient
func (*ClusterServiceClient) ListOperations ¶
func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *k8s.ListClusterOperationsRequest, opts ...grpc.CallOption) (*k8s.ListClusterOperationsResponse, error)
ListOperations implements k8s.ClusterServiceClient
func (*ClusterServiceClient) Start ¶
func (c *ClusterServiceClient) Start(ctx context.Context, in *k8s.StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Start implements k8s.ClusterServiceClient
func (*ClusterServiceClient) Stop ¶
func (c *ClusterServiceClient) Stop(ctx context.Context, in *k8s.StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Stop implements k8s.ClusterServiceClient
func (*ClusterServiceClient) Update ¶
func (c *ClusterServiceClient) Update(ctx context.Context, in *k8s.UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements k8s.ClusterServiceClient
type Kubernetes ¶
type Kubernetes struct {
// contains filtered or unexported fields
}
Kubernetes provides access to "k8s" component of Yandex.Cloud
func NewKubernetes ¶
func NewKubernetes(g func(ctx context.Context) (*grpc.ClientConn, error)) *Kubernetes
NewKubernetes creates instance of Kubernetes
func (*Kubernetes) Cluster ¶
func (k *Kubernetes) Cluster() *ClusterServiceClient
Cluster gets ClusterService client
func (*Kubernetes) NodeGroup ¶
func (k *Kubernetes) NodeGroup() *NodeGroupServiceClient
NodeGroup gets NodeGroupService client
func (*Kubernetes) Version ¶
func (k *Kubernetes) Version() *VersionServiceClient
Version gets VersionService client
type NodeGroupIterator ¶
type NodeGroupIterator struct {
// contains filtered or unexported fields
}
func (*NodeGroupIterator) Error ¶
func (it *NodeGroupIterator) Error() error
func (*NodeGroupIterator) Next ¶
func (it *NodeGroupIterator) Next() bool
func (*NodeGroupIterator) Take ¶
func (it *NodeGroupIterator) Take(size int64) ([]*k8s.NodeGroup, error)
func (*NodeGroupIterator) TakeAll ¶
func (it *NodeGroupIterator) TakeAll() ([]*k8s.NodeGroup, error)
func (*NodeGroupIterator) Value ¶
func (it *NodeGroupIterator) Value() *k8s.NodeGroup
type NodeGroupNodesIterator ¶
type NodeGroupNodesIterator struct {
// contains filtered or unexported fields
}
func (*NodeGroupNodesIterator) Error ¶
func (it *NodeGroupNodesIterator) Error() error
func (*NodeGroupNodesIterator) Next ¶
func (it *NodeGroupNodesIterator) Next() bool
func (*NodeGroupNodesIterator) Take ¶
func (it *NodeGroupNodesIterator) Take(size int64) ([]*k8s.Node, error)
func (*NodeGroupNodesIterator) TakeAll ¶
func (it *NodeGroupNodesIterator) TakeAll() ([]*k8s.Node, error)
func (*NodeGroupNodesIterator) Value ¶
func (it *NodeGroupNodesIterator) Value() *k8s.Node
type NodeGroupOperationsIterator ¶
type NodeGroupOperationsIterator struct {
// contains filtered or unexported fields
}
func (*NodeGroupOperationsIterator) Error ¶
func (it *NodeGroupOperationsIterator) Error() error
func (*NodeGroupOperationsIterator) Next ¶
func (it *NodeGroupOperationsIterator) Next() bool
func (*NodeGroupOperationsIterator) Take ¶
func (it *NodeGroupOperationsIterator) Take(size int64) ([]*operation.Operation, error)
func (*NodeGroupOperationsIterator) TakeAll ¶
func (it *NodeGroupOperationsIterator) TakeAll() ([]*operation.Operation, error)
func (*NodeGroupOperationsIterator) Value ¶
func (it *NodeGroupOperationsIterator) Value() *operation.Operation
type NodeGroupServiceClient ¶
type NodeGroupServiceClient struct {
// contains filtered or unexported fields
}
NodeGroupServiceClient is a k8s.NodeGroupServiceClient with lazy GRPC connection initialization.
func (*NodeGroupServiceClient) Create ¶
func (c *NodeGroupServiceClient) Create(ctx context.Context, in *k8s.CreateNodeGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements k8s.NodeGroupServiceClient
func (*NodeGroupServiceClient) Delete ¶
func (c *NodeGroupServiceClient) Delete(ctx context.Context, in *k8s.DeleteNodeGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements k8s.NodeGroupServiceClient
func (*NodeGroupServiceClient) Get ¶
func (c *NodeGroupServiceClient) Get(ctx context.Context, in *k8s.GetNodeGroupRequest, opts ...grpc.CallOption) (*k8s.NodeGroup, error)
Get implements k8s.NodeGroupServiceClient
func (*NodeGroupServiceClient) List ¶
func (c *NodeGroupServiceClient) List(ctx context.Context, in *k8s.ListNodeGroupsRequest, opts ...grpc.CallOption) (*k8s.ListNodeGroupsResponse, error)
List implements k8s.NodeGroupServiceClient
func (*NodeGroupServiceClient) ListNodes ¶
func (c *NodeGroupServiceClient) ListNodes(ctx context.Context, in *k8s.ListNodeGroupNodesRequest, opts ...grpc.CallOption) (*k8s.ListNodeGroupNodesResponse, error)
ListNodes implements k8s.NodeGroupServiceClient
func (*NodeGroupServiceClient) ListOperations ¶
func (c *NodeGroupServiceClient) ListOperations(ctx context.Context, in *k8s.ListNodeGroupOperationsRequest, opts ...grpc.CallOption) (*k8s.ListNodeGroupOperationsResponse, error)
ListOperations implements k8s.NodeGroupServiceClient
func (*NodeGroupServiceClient) NodeGroupIterator ¶
func (c *NodeGroupServiceClient) NodeGroupIterator(ctx context.Context, req *k8s.ListNodeGroupsRequest, opts ...grpc.CallOption) *NodeGroupIterator
func (*NodeGroupServiceClient) NodeGroupNodesIterator ¶
func (c *NodeGroupServiceClient) NodeGroupNodesIterator(ctx context.Context, req *k8s.ListNodeGroupNodesRequest, opts ...grpc.CallOption) *NodeGroupNodesIterator
func (*NodeGroupServiceClient) NodeGroupOperationsIterator ¶
func (c *NodeGroupServiceClient) NodeGroupOperationsIterator(ctx context.Context, req *k8s.ListNodeGroupOperationsRequest, opts ...grpc.CallOption) *NodeGroupOperationsIterator
func (*NodeGroupServiceClient) Update ¶
func (c *NodeGroupServiceClient) Update(ctx context.Context, in *k8s.UpdateNodeGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements k8s.NodeGroupServiceClient
type VersionIterator ¶
type VersionIterator struct {
// contains filtered or unexported fields
}
func (*VersionIterator) Error ¶
func (it *VersionIterator) Error() error
func (*VersionIterator) Next ¶
func (it *VersionIterator) Next() bool
func (*VersionIterator) Take ¶
func (it *VersionIterator) Take(size int64) ([]*k8s.AvailableVersions, error)
func (*VersionIterator) TakeAll ¶
func (it *VersionIterator) TakeAll() ([]*k8s.AvailableVersions, error)
func (*VersionIterator) Value ¶
func (it *VersionIterator) Value() *k8s.AvailableVersions
type VersionServiceClient ¶
type VersionServiceClient struct {
// contains filtered or unexported fields
}
VersionServiceClient is a k8s.VersionServiceClient with lazy GRPC connection initialization.
func (*VersionServiceClient) List ¶
func (c *VersionServiceClient) List(ctx context.Context, in *k8s.ListVersionsRequest, opts ...grpc.CallOption) (*k8s.ListVersionsResponse, error)
List implements k8s.VersionServiceClient
func (*VersionServiceClient) VersionIterator ¶
func (c *VersionServiceClient) VersionIterator(ctx context.Context, req *k8s.ListVersionsRequest, opts ...grpc.CallOption) *VersionIterator