impl

package
v0.0.0-...-6c41ede Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InsertResourceSQL = `` /* 224-byte string literal not displayed */

	InsertDescribeSQL = `` /* 135-byte string literal not displayed */

)

Variables

This section is empty.

Functions

This section is empty.

Types

type HostServiceImpl

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

func NewHostServiceImpl

func NewHostServiceImpl() *HostServiceImpl

func (*HostServiceImpl) Config

func (i *HostServiceImpl) Config()

Config 其作用是将实例注册进来

func (*HostServiceImpl) CreateHost

func (i *HostServiceImpl) CreateHost(ctx context.Context, ins *host.Host) (*host.Host, error)

func (*HostServiceImpl) DeleteHost

func (i *HostServiceImpl) DeleteHost(ctx context.Context, req *host.DeleteHostRequest) (*host.Host, error)

func (*HostServiceImpl) DescribeHost

func (i *HostServiceImpl) DescribeHost(ctx context.Context, req *host.DescribeHostRequest) (*host.Host, error)

func (*HostServiceImpl) Name

func (i *HostServiceImpl) Name() string

Name 服务的名称

func (*HostServiceImpl) QueryHost

func (i *HostServiceImpl) QueryHost(ctx context.Context, req *host.QueryHostRequest) (*host.HostSet, error)

func (*HostServiceImpl) UpdateHost

func (i *HostServiceImpl) UpdateHost(ctx context.Context, req *host.UpdateHostRequest) (*host.Host, error)

Jump to

Keyboard shortcuts

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