tanzukubernetesclusterclient

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*transport.Client
}

Client for tanzu kubernetes cluster resource service API.

func (*Client) KubeConfigResourceServiceGet

KubeConfigResourceServiceGet gets a cluster's kubeconfig.

func (*Client) TanzuKubernetesClusterNodePoolResourceServiceCreate

TanzuKubernetesClusterNodePoolResourceServiceCreate creates a tanzu kubernetes cluster node pool.

func (*Client) TanzuKubernetesClusterNodePoolResourceServiceDelete

TanzuKubernetesClusterNodePoolResourceServiceDelete deletes a tanzu kubernetes cluster node pool.

func (*Client) TanzuKubernetesClusterNodePoolResourceServiceGet

TanzuKubernetesClusterNodePoolResourceServiceGet gets a tanzu kubernetes cluster node pool.

func (*Client) TanzuKubernetesClusterNodePoolResourceServiceList

TanzuKubernetesClusterNodePoolResourceServiceList lists a tanzu kubernetes cluster node pools.

func (*Client) TanzuKubernetesClusterNodePoolResourceServiceUpdate

TanzuKubernetesClusterNodePoolResourceServiceUpdate updates overwrite a tanzu kubernetes cluster node pool.

func (*Client) TanzuKubernetesClusterResourceServiceCreate

TanzuKubernetesClusterResourceServiceCreate creates a tanzu kubernetes cluster.

func (*Client) TanzuKubernetesClusterResourceServiceDelete

func (c *Client) TanzuKubernetesClusterResourceServiceDelete(fn *tkcmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterFullName, force bool) error

TanzuKubernetesClusterResourceServiceDelete deletes a tanzu kubernetes cluster.

func (*Client) TanzuKubernetesClusterResourceServiceGet

TanzuKubernetesClusterResourceServiceGet gets a tanzu kubernetes cluster.

func (*Client) TanzuKubernetesClusterResourceServiceUpdate

TanzuKubernetesClusterResourceServiceUpdate updates overwrite a tanzu kubernetes cluster.

type ClientService

type ClientService interface {

	// Cluster API.
	TanzuKubernetesClusterResourceServiceCreate(req *tkcmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterData) (*tkcmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterData, error)

	TanzuKubernetesClusterResourceServiceDelete(fn *tkcmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterFullName, force bool) error

	TanzuKubernetesClusterResourceServiceGet(fn *tkcmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterFullName) (*tkcmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterData, error)

	TanzuKubernetesClusterResourceServiceUpdate(req *tkcmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterData) (*tkcmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterData, error)

	// Node Pools API.
	TanzuKubernetesClusterNodePoolResourceServiceCreate(req *tkcnodepoolmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNodepoolData) (*tkcnodepoolmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNodepoolData, error)

	TanzuKubernetesClusterNodePoolResourceServiceDelete(fn *tkcnodepoolmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNodepoolFullName) error

	TanzuKubernetesClusterNodePoolResourceServiceGet(fn *tkcnodepoolmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNodepoolFullName) (*tkcnodepoolmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNodepoolData, error)

	TanzuKubernetesClusterNodePoolResourceServiceList(clusterFn *tkcmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterFullName) (*tkcnodepoolmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNodepoolListNodepoolsData, error)

	TanzuKubernetesClusterNodePoolResourceServiceUpdate(req *tkcnodepoolmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNodepoolData) (*tkcnodepoolmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNodepoolData, error)

	// KubeConfig API.
	KubeConfigResourceServiceGet(clusterFn *tkcmodels.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterFullName) (*kubeconfigmodels.VmwareTanzuManageV1alpha1ClusterKubeconfigResponse, error)
}

ClientService is the interface for Client methods.

func New

func New(transport *transport.Client) ClientService

New creates a new tanzu kubernetes cluster resource service API client.

Jump to

Keyboard shortcuts

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