k8s

package
v0.0.0-...-417428f Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT 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 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) Value

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) 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) Value

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, folderId string, opts ...grpc.CallOption) *ClusterIterator

func (*ClusterServiceClient) ClusterNodeGroupsIterator

func (c *ClusterServiceClient) ClusterNodeGroupsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterNodeGroupsIterator

func (*ClusterServiceClient) ClusterNodesIterator

func (c *ClusterServiceClient) ClusterNodesIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterNodesIterator

func (*ClusterServiceClient) ClusterOperationsIterator

func (c *ClusterServiceClient) ClusterOperationsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterOperationsIterator

func (*ClusterServiceClient) Create

Create implements k8s.ClusterServiceClient

func (*ClusterServiceClient) Delete

Delete implements k8s.ClusterServiceClient

func (*ClusterServiceClient) Get

Get implements k8s.ClusterServiceClient

func (*ClusterServiceClient) List

List implements k8s.ClusterServiceClient

func (*ClusterServiceClient) ListNodeGroups

ListNodeGroups implements k8s.ClusterServiceClient

func (*ClusterServiceClient) ListNodes

ListNodes implements k8s.ClusterServiceClient

func (*ClusterServiceClient) ListOperations

ListOperations implements k8s.ClusterServiceClient

func (*ClusterServiceClient) Start

Start implements k8s.ClusterServiceClient

func (*ClusterServiceClient) Stop

Stop implements k8s.ClusterServiceClient

func (*ClusterServiceClient) Update

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) 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) 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) Value

type NodeGroupServiceClient

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

NodeGroupServiceClient is a k8s.NodeGroupServiceClient with lazy GRPC connection initialization.

func (*NodeGroupServiceClient) Create

Create implements k8s.NodeGroupServiceClient

func (*NodeGroupServiceClient) Delete

Delete implements k8s.NodeGroupServiceClient

func (*NodeGroupServiceClient) Get

Get implements k8s.NodeGroupServiceClient

func (*NodeGroupServiceClient) List

List implements k8s.NodeGroupServiceClient

func (*NodeGroupServiceClient) ListNodes

ListNodes implements k8s.NodeGroupServiceClient

func (*NodeGroupServiceClient) ListOperations

ListOperations implements k8s.NodeGroupServiceClient

func (*NodeGroupServiceClient) NodeGroupIterator

func (c *NodeGroupServiceClient) NodeGroupIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *NodeGroupIterator

func (*NodeGroupServiceClient) NodeGroupNodesIterator

func (c *NodeGroupServiceClient) NodeGroupNodesIterator(ctx context.Context, nodeGroupId string, opts ...grpc.CallOption) *NodeGroupNodesIterator

func (*NodeGroupServiceClient) NodeGroupOperationsIterator

func (c *NodeGroupServiceClient) NodeGroupOperationsIterator(ctx context.Context, nodeGroupId string, opts ...grpc.CallOption) *NodeGroupOperationsIterator

func (*NodeGroupServiceClient) Update

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) 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

List implements k8s.VersionServiceClient

func (*VersionServiceClient) VersionIterator

func (c *VersionServiceClient) VersionIterator(ctx context.Context, opts ...grpc.CallOption) *VersionIterator

Jump to

Keyboard shortcuts

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