utils

package
v0.0.0-...-ceb1bbd Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterManagerClient

type ClusterManagerClient struct {
	Client pbsvcspace.ClusterManageClient
}

func NewClusterManagerClient

func NewClusterManagerClient(conn *grpcwrap.ClientConn) (c ClusterManagerClient, err error)

func (ClusterManagerClient) GetEngineInfo

func (e ClusterManagerClient) GetEngineInfo(ctx context.Context, spaceId string, clusterId string) (url string, version string, err error)

type ResourceClient

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

func NewResourceClient

func NewResourceClient(conn *grpcwrap.ClientConn) (c ResourceClient, err error)

func (*ResourceClient) GetFileById

func (s *ResourceClient) GetFileById(ctx context.Context, id string) (name string, url string, err error)

type UdfClient

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

func NewUdfClient

func NewUdfClient(conn *grpcwrap.ClientConn) (c UdfClient, err error)

func (*UdfClient) DescribeUdfInfo

func (s *UdfClient) DescribeUdfInfo(ctx context.Context, ID string) (udfLanguage pbmodel.UDF_Language, name string, code string, fileId string, err error)

Jump to

Keyboard shortcuts

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