resourcegroup

package
Version: v0.0.0-...-b63aa1a Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(s giraffe_micro.Server, srv Service)

Types

type Client

type Client interface {
	DeleteResourceGroup(ctx context.Context, in *DeleteResourceGroupRequest) (*types.Empty, error)
}

Client is the client API for resourcegroup service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClient

func NewClient(c giraffe_micro.Client) Client

type DeleteResourceGroupRequest

type DeleteResourceGroupRequest struct {
	//
	//要删除的实例 id
	InstanceId           string   `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeleteResourceGroup请求

func (*DeleteResourceGroupRequest) Descriptor

func (*DeleteResourceGroupRequest) Descriptor() ([]byte, []int)

func (*DeleteResourceGroupRequest) GetInstanceId

func (m *DeleteResourceGroupRequest) GetInstanceId() string

func (*DeleteResourceGroupRequest) ProtoMessage

func (*DeleteResourceGroupRequest) ProtoMessage()

func (*DeleteResourceGroupRequest) Reset

func (m *DeleteResourceGroupRequest) Reset()

func (*DeleteResourceGroupRequest) String

func (m *DeleteResourceGroupRequest) String() string

func (*DeleteResourceGroupRequest) Validate

func (this *DeleteResourceGroupRequest) Validate() error

func (*DeleteResourceGroupRequest) XXX_DiscardUnknown

func (m *DeleteResourceGroupRequest) XXX_DiscardUnknown()

func (*DeleteResourceGroupRequest) XXX_Marshal

func (m *DeleteResourceGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteResourceGroupRequest) XXX_Merge

func (m *DeleteResourceGroupRequest) XXX_Merge(src proto.Message)

func (*DeleteResourceGroupRequest) XXX_Size

func (m *DeleteResourceGroupRequest) XXX_Size() int

func (*DeleteResourceGroupRequest) XXX_Unmarshal

func (m *DeleteResourceGroupRequest) XXX_Unmarshal(b []byte) error

type DeleteResourceGroupResponseWrapper

type DeleteResourceGroupResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

DeleteResourceGroupApi返回

func (*DeleteResourceGroupResponseWrapper) Descriptor

func (*DeleteResourceGroupResponseWrapper) Descriptor() ([]byte, []int)

func (*DeleteResourceGroupResponseWrapper) GetCode

func (*DeleteResourceGroupResponseWrapper) GetCodeExplain

func (m *DeleteResourceGroupResponseWrapper) GetCodeExplain() string

func (*DeleteResourceGroupResponseWrapper) GetData

func (*DeleteResourceGroupResponseWrapper) GetError

func (*DeleteResourceGroupResponseWrapper) ProtoMessage

func (*DeleteResourceGroupResponseWrapper) ProtoMessage()

func (*DeleteResourceGroupResponseWrapper) Reset

func (*DeleteResourceGroupResponseWrapper) String

func (*DeleteResourceGroupResponseWrapper) Validate

func (this *DeleteResourceGroupResponseWrapper) Validate() error

func (*DeleteResourceGroupResponseWrapper) XXX_DiscardUnknown

func (m *DeleteResourceGroupResponseWrapper) XXX_DiscardUnknown()

func (*DeleteResourceGroupResponseWrapper) XXX_Marshal

func (m *DeleteResourceGroupResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteResourceGroupResponseWrapper) XXX_Merge

func (*DeleteResourceGroupResponseWrapper) XXX_Size

func (*DeleteResourceGroupResponseWrapper) XXX_Unmarshal

func (m *DeleteResourceGroupResponseWrapper) XXX_Unmarshal(b []byte) error

type Service

type Service interface {
	DeleteResourceGroup(context.Context, *DeleteResourceGroupRequest) (*types.Empty, error)
}

Service is the server API for resourcegroup service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL