clusterclient

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MPL-2.0 Imports: 4 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 cluster resource service API.

func (*Client) ManageV1alpha1ClusterResourceServiceCreate

func (c *Client) ManageV1alpha1ClusterResourceServiceCreate(
	request *clustermodel.VmwareTanzuManageV1alpha1ClusterRequest,
) (*clustermodel.VmwareTanzuManageV1alpha1ClusterResponse, error)

ManageV1alpha1ClusterResourceServiceCreate creates a cluster.

func (*Client) ManageV1alpha1ClusterResourceServiceDelete

func (c *Client) ManageV1alpha1ClusterResourceServiceDelete(
	fn *clustermodel.VmwareTanzuManageV1alpha1ClusterFullName, force string,
) error

ManageV1alpha1ClusterResourceServiceDelete deletes a cluster.

func (*Client) ManageV1alpha1ClusterResourceServiceGet

ManageV1alpha1ClusterResourceServiceGet gets a cluster.

func (*Client) ManageV1alpha1ClusterResourceServiceUpdate

func (c *Client) ManageV1alpha1ClusterResourceServiceUpdate(
	request *clustermodel.VmwareTanzuManageV1alpha1ClusterRequest,
) (*clustermodel.VmwareTanzuManageV1alpha1ClusterResponse, error)

ManageV1alpha1ClusterResourceServiceUpdate updates a cluster.

type ClientService

type ClientService interface {
	ManageV1alpha1ClusterResourceServiceCreate(request *clustermodel.VmwareTanzuManageV1alpha1ClusterRequest) (*clustermodel.VmwareTanzuManageV1alpha1ClusterResponse, error)

	ManageV1alpha1ClusterResourceServiceDelete(fn *clustermodel.VmwareTanzuManageV1alpha1ClusterFullName, force string) error

	ManageV1alpha1ClusterResourceServiceGet(fn *clustermodel.VmwareTanzuManageV1alpha1ClusterFullName) (*clustermodel.VmwareTanzuManageV1alpha1ClusterGetClusterResponse, error)

	ManageV1alpha1ClusterResourceServiceUpdate(request *clustermodel.VmwareTanzuManageV1alpha1ClusterRequest) (*clustermodel.VmwareTanzuManageV1alpha1ClusterResponse, error)
}

ClientService is the interface for Client methods.

func New

func New(transport *transport.Client) ClientService

New creates a new cluster resource service API client.

Jump to

Keyboard shortcuts

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