k8s

package
v0.0.0-...-2393e24 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 4 Imported by: 2

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

func (it *ClusterIterator) Take(size int64) ([]*k8s.Cluster, error)

func (*ClusterIterator) TakeAll

func (it *ClusterIterator) TakeAll() ([]*k8s.Cluster, error)

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

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 (*ClusterOperationsIterator) TakeAll

func (it *ClusterOperationsIterator) TakeAll() ([]*operation.Operation, error)

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 (*ClusterServiceClient) ClusterNodeGroupsIterator

func (*ClusterServiceClient) ClusterNodesIterator

func (*ClusterServiceClient) 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) 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 (*NodeGroupOperationsIterator) TakeAll

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 (*NodeGroupServiceClient) NodeGroupNodesIterator

func (*NodeGroupServiceClient) 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) 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

List implements k8s.VersionServiceClient

func (*VersionServiceClient) VersionIterator

Directories

Path Synopsis
nolint
nolint

Jump to

Keyboard shortcuts

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