instance_relation

package
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: 12 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 AppendRequest

type AppendRequest struct {
	//
	//模型Id
	ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId" form:"objectId"`
	//
	//关系sideId
	RelationSideId string `protobuf:"bytes,2,opt,name=relationSideId,proto3" json:"relationSideId" form:"relationSideId"`
	//
	//模型的实例ID列表
	InstanceIds []string `protobuf:"bytes,3,rep,name=instance_ids,json=instanceIds,proto3" json:"instance_ids" form:"instance_ids"`
	//
	//关联的实例ID列表
	RelatedInstanceIds   []string `` /* 135-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Append请求

func (*AppendRequest) Descriptor

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

func (*AppendRequest) GetInstanceIds

func (m *AppendRequest) GetInstanceIds() []string

func (*AppendRequest) GetObjectId

func (m *AppendRequest) GetObjectId() string

func (*AppendRequest) GetRelatedInstanceIds

func (m *AppendRequest) GetRelatedInstanceIds() []string

func (*AppendRequest) GetRelationSideId

func (m *AppendRequest) GetRelationSideId() string

func (*AppendRequest) ProtoMessage

func (*AppendRequest) ProtoMessage()

func (*AppendRequest) Reset

func (m *AppendRequest) Reset()

func (*AppendRequest) String

func (m *AppendRequest) String() string

func (*AppendRequest) Validate

func (this *AppendRequest) Validate() error

func (*AppendRequest) XXX_DiscardUnknown

func (m *AppendRequest) XXX_DiscardUnknown()

func (*AppendRequest) XXX_Marshal

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

func (*AppendRequest) XXX_Merge

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

func (*AppendRequest) XXX_Size

func (m *AppendRequest) XXX_Size() int

func (*AppendRequest) XXX_Unmarshal

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

type AppendResponseWrapper

type AppendResponseWrapper 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:"-"`
}

AppendApi返回

func (*AppendResponseWrapper) Descriptor

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

func (*AppendResponseWrapper) GetCode

func (m *AppendResponseWrapper) GetCode() int32

func (*AppendResponseWrapper) GetCodeExplain

func (m *AppendResponseWrapper) GetCodeExplain() string

func (*AppendResponseWrapper) GetData

func (m *AppendResponseWrapper) GetData() *types.Empty

func (*AppendResponseWrapper) GetError

func (m *AppendResponseWrapper) GetError() string

func (*AppendResponseWrapper) ProtoMessage

func (*AppendResponseWrapper) ProtoMessage()

func (*AppendResponseWrapper) Reset

func (m *AppendResponseWrapper) Reset()

func (*AppendResponseWrapper) String

func (m *AppendResponseWrapper) String() string

func (*AppendResponseWrapper) Validate

func (this *AppendResponseWrapper) Validate() error

func (*AppendResponseWrapper) XXX_DiscardUnknown

func (m *AppendResponseWrapper) XXX_DiscardUnknown()

func (*AppendResponseWrapper) XXX_Marshal

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

func (*AppendResponseWrapper) XXX_Merge

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

func (*AppendResponseWrapper) XXX_Size

func (m *AppendResponseWrapper) XXX_Size() int

func (*AppendResponseWrapper) XXX_Unmarshal

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

type Client

Client is the client API for instance_relation 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 CountRelationInstanceRequest

type CountRelationInstanceRequest struct {
	//
	//关系Id
	RelationId           string   `protobuf:"bytes,1,opt,name=relationId,proto3" json:"relationId" form:"relationId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CountRelationInstance请求

func (*CountRelationInstanceRequest) Descriptor

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

func (*CountRelationInstanceRequest) GetRelationId

func (m *CountRelationInstanceRequest) GetRelationId() string

func (*CountRelationInstanceRequest) ProtoMessage

func (*CountRelationInstanceRequest) ProtoMessage()

func (*CountRelationInstanceRequest) Reset

func (m *CountRelationInstanceRequest) Reset()

func (*CountRelationInstanceRequest) String

func (*CountRelationInstanceRequest) Validate

func (this *CountRelationInstanceRequest) Validate() error

func (*CountRelationInstanceRequest) XXX_DiscardUnknown

func (m *CountRelationInstanceRequest) XXX_DiscardUnknown()

func (*CountRelationInstanceRequest) XXX_Marshal

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

func (*CountRelationInstanceRequest) XXX_Merge

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

func (*CountRelationInstanceRequest) XXX_Size

func (m *CountRelationInstanceRequest) XXX_Size() int

func (*CountRelationInstanceRequest) XXX_Unmarshal

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

type CountRelationInstanceResponse

type CountRelationInstanceResponse struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//错误信息
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回消息
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message" form:"message"`
	//
	//总数
	Data                 int32    `protobuf:"varint,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CountRelationInstance返回

func (*CountRelationInstanceResponse) Descriptor

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

func (*CountRelationInstanceResponse) GetCode

func (m *CountRelationInstanceResponse) GetCode() int32

func (*CountRelationInstanceResponse) GetData

func (m *CountRelationInstanceResponse) GetData() int32

func (*CountRelationInstanceResponse) GetError

func (m *CountRelationInstanceResponse) GetError() string

func (*CountRelationInstanceResponse) GetMessage

func (m *CountRelationInstanceResponse) GetMessage() string

func (*CountRelationInstanceResponse) ProtoMessage

func (*CountRelationInstanceResponse) ProtoMessage()

func (*CountRelationInstanceResponse) Reset

func (m *CountRelationInstanceResponse) Reset()

func (*CountRelationInstanceResponse) String

func (*CountRelationInstanceResponse) Validate

func (this *CountRelationInstanceResponse) Validate() error

func (*CountRelationInstanceResponse) XXX_DiscardUnknown

func (m *CountRelationInstanceResponse) XXX_DiscardUnknown()

func (*CountRelationInstanceResponse) XXX_Marshal

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

func (*CountRelationInstanceResponse) XXX_Merge

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

func (*CountRelationInstanceResponse) XXX_Size

func (m *CountRelationInstanceResponse) XXX_Size() int

func (*CountRelationInstanceResponse) XXX_Unmarshal

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

type CountRelationInstanceResponseWrapper

type CountRelationInstanceResponseWrapper 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                 *CountRelationInstanceResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

CountRelationInstanceApi返回

func (*CountRelationInstanceResponseWrapper) Descriptor

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

func (*CountRelationInstanceResponseWrapper) GetCode

func (*CountRelationInstanceResponseWrapper) GetCodeExplain

func (m *CountRelationInstanceResponseWrapper) GetCodeExplain() string

func (*CountRelationInstanceResponseWrapper) GetData

func (*CountRelationInstanceResponseWrapper) GetError

func (*CountRelationInstanceResponseWrapper) ProtoMessage

func (*CountRelationInstanceResponseWrapper) ProtoMessage()

func (*CountRelationInstanceResponseWrapper) Reset

func (*CountRelationInstanceResponseWrapper) String

func (*CountRelationInstanceResponseWrapper) Validate

func (*CountRelationInstanceResponseWrapper) XXX_DiscardUnknown

func (m *CountRelationInstanceResponseWrapper) XXX_DiscardUnknown()

func (*CountRelationInstanceResponseWrapper) XXX_Marshal

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

func (*CountRelationInstanceResponseWrapper) XXX_Merge

func (*CountRelationInstanceResponseWrapper) XXX_Size

func (*CountRelationInstanceResponseWrapper) XXX_Unmarshal

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

type DiscoveryRequest

type DiscoveryRequest struct {
	//
	//关系Id
	RelationId string `protobuf:"bytes,1,opt,name=relationId,proto3" json:"relationId" form:"relationId"`
	//
	//发现实例的字段列表
	Match []*DiscoveryRequest_Match `protobuf:"bytes,2,rep,name=match,proto3" json:"match" form:"match"`
	//
	//发现实例的数据列表
	Data []*DiscoveryRequest_Data `protobuf:"bytes,3,rep,name=data,proto3" json:"data" form:"data"`
	//
	//精确匹配(true: 只允许1:1关系,false: 允许1:n关系,默认true)
	Strict               bool     `protobuf:"varint,4,opt,name=strict,proto3" json:"strict" form:"strict"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Discovery请求

func (*DiscoveryRequest) Descriptor

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

func (*DiscoveryRequest) GetData

func (m *DiscoveryRequest) GetData() []*DiscoveryRequest_Data

func (*DiscoveryRequest) GetMatch

func (m *DiscoveryRequest) GetMatch() []*DiscoveryRequest_Match

func (*DiscoveryRequest) GetRelationId

func (m *DiscoveryRequest) GetRelationId() string

func (*DiscoveryRequest) GetStrict

func (m *DiscoveryRequest) GetStrict() bool

func (*DiscoveryRequest) ProtoMessage

func (*DiscoveryRequest) ProtoMessage()

func (*DiscoveryRequest) Reset

func (m *DiscoveryRequest) Reset()

func (*DiscoveryRequest) String

func (m *DiscoveryRequest) String() string

func (*DiscoveryRequest) Validate

func (this *DiscoveryRequest) Validate() error

func (*DiscoveryRequest) XXX_DiscardUnknown

func (m *DiscoveryRequest) XXX_DiscardUnknown()

func (*DiscoveryRequest) XXX_Marshal

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

func (*DiscoveryRequest) XXX_Merge

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

func (*DiscoveryRequest) XXX_Size

func (m *DiscoveryRequest) XXX_Size() int

func (*DiscoveryRequest) XXX_Unmarshal

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

type DiscoveryRequest_Data

type DiscoveryRequest_Data struct {
	//
	//左侧匹配的实例数据
	LeftInstance *types.Struct `protobuf:"bytes,1,opt,name=left_instance,json=leftInstance,proto3" json:"left_instance" form:"left_instance"`
	//
	//右侧匹配的实例数据
	RightInstance        *types.Struct `protobuf:"bytes,2,opt,name=right_instance,json=rightInstance,proto3" json:"right_instance" form:"right_instance"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*DiscoveryRequest_Data) Descriptor

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

func (*DiscoveryRequest_Data) GetLeftInstance

func (m *DiscoveryRequest_Data) GetLeftInstance() *types.Struct

func (*DiscoveryRequest_Data) GetRightInstance

func (m *DiscoveryRequest_Data) GetRightInstance() *types.Struct

func (*DiscoveryRequest_Data) ProtoMessage

func (*DiscoveryRequest_Data) ProtoMessage()

func (*DiscoveryRequest_Data) Reset

func (m *DiscoveryRequest_Data) Reset()

func (*DiscoveryRequest_Data) String

func (m *DiscoveryRequest_Data) String() string

func (*DiscoveryRequest_Data) Validate

func (this *DiscoveryRequest_Data) Validate() error

func (*DiscoveryRequest_Data) XXX_DiscardUnknown

func (m *DiscoveryRequest_Data) XXX_DiscardUnknown()

func (*DiscoveryRequest_Data) XXX_Marshal

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

func (*DiscoveryRequest_Data) XXX_Merge

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

func (*DiscoveryRequest_Data) XXX_Size

func (m *DiscoveryRequest_Data) XXX_Size() int

func (*DiscoveryRequest_Data) XXX_Unmarshal

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

type DiscoveryRequest_Match

type DiscoveryRequest_Match struct {
	//
	//左侧实例匹配字段列表
	LeftMatch []string `protobuf:"bytes,1,rep,name=left_match,json=leftMatch,proto3" json:"left_match" form:"left_match"`
	//
	//右侧实例匹配字段列表
	RightMatch           []string `protobuf:"bytes,2,rep,name=right_match,json=rightMatch,proto3" json:"right_match" form:"right_match"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DiscoveryRequest_Match) Descriptor

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

func (*DiscoveryRequest_Match) GetLeftMatch

func (m *DiscoveryRequest_Match) GetLeftMatch() []string

func (*DiscoveryRequest_Match) GetRightMatch

func (m *DiscoveryRequest_Match) GetRightMatch() []string

func (*DiscoveryRequest_Match) ProtoMessage

func (*DiscoveryRequest_Match) ProtoMessage()

func (*DiscoveryRequest_Match) Reset

func (m *DiscoveryRequest_Match) Reset()

func (*DiscoveryRequest_Match) String

func (m *DiscoveryRequest_Match) String() string

func (*DiscoveryRequest_Match) Validate

func (this *DiscoveryRequest_Match) Validate() error

func (*DiscoveryRequest_Match) XXX_DiscardUnknown

func (m *DiscoveryRequest_Match) XXX_DiscardUnknown()

func (*DiscoveryRequest_Match) XXX_Marshal

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

func (*DiscoveryRequest_Match) XXX_Merge

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

func (*DiscoveryRequest_Match) XXX_Size

func (m *DiscoveryRequest_Match) XXX_Size() int

func (*DiscoveryRequest_Match) XXX_Unmarshal

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

type DiscoveryResponse

type DiscoveryResponse struct {
	//
	//状态码(0:成功,非0:失败)
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//[废弃字段] 关联的实例关系id
	MatchRelationInstanceIds []string `` /* 162-byte string literal not displayed */
	//
	//左侧实例详情
	LeftInstance *cmdb.AutoDiscoveryInstance `protobuf:"bytes,3,opt,name=left_instance,json=leftInstance,proto3" json:"left_instance" form:"left_instance"`
	//
	//右侧实例详情
	RightInstance        *cmdb.AutoDiscoveryInstance `protobuf:"bytes,4,opt,name=right_instance,json=rightInstance,proto3" json:"right_instance" form:"right_instance"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Discovery返回

func (*DiscoveryResponse) Descriptor

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

func (*DiscoveryResponse) GetCode

func (m *DiscoveryResponse) GetCode() int32

func (*DiscoveryResponse) GetLeftInstance

func (m *DiscoveryResponse) GetLeftInstance() *cmdb.AutoDiscoveryInstance

func (*DiscoveryResponse) GetMatchRelationInstanceIds

func (m *DiscoveryResponse) GetMatchRelationInstanceIds() []string

func (*DiscoveryResponse) GetRightInstance

func (m *DiscoveryResponse) GetRightInstance() *cmdb.AutoDiscoveryInstance

func (*DiscoveryResponse) ProtoMessage

func (*DiscoveryResponse) ProtoMessage()

func (*DiscoveryResponse) Reset

func (m *DiscoveryResponse) Reset()

func (*DiscoveryResponse) String

func (m *DiscoveryResponse) String() string

func (*DiscoveryResponse) Validate

func (this *DiscoveryResponse) Validate() error

func (*DiscoveryResponse) XXX_DiscardUnknown

func (m *DiscoveryResponse) XXX_DiscardUnknown()

func (*DiscoveryResponse) XXX_Marshal

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

func (*DiscoveryResponse) XXX_Merge

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

func (*DiscoveryResponse) XXX_Size

func (m *DiscoveryResponse) XXX_Size() int

func (*DiscoveryResponse) XXX_Unmarshal

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

type DiscoveryResponseWrapper

type DiscoveryResponseWrapper 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                 []*DiscoveryResponse `protobuf:"bytes,4,rep,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

DiscoveryApi返回

func (*DiscoveryResponseWrapper) Descriptor

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

func (*DiscoveryResponseWrapper) GetCode

func (m *DiscoveryResponseWrapper) GetCode() int32

func (*DiscoveryResponseWrapper) GetCodeExplain

func (m *DiscoveryResponseWrapper) GetCodeExplain() string

func (*DiscoveryResponseWrapper) GetData

func (*DiscoveryResponseWrapper) GetError

func (m *DiscoveryResponseWrapper) GetError() string

func (*DiscoveryResponseWrapper) ProtoMessage

func (*DiscoveryResponseWrapper) ProtoMessage()

func (*DiscoveryResponseWrapper) Reset

func (m *DiscoveryResponseWrapper) Reset()

func (*DiscoveryResponseWrapper) String

func (m *DiscoveryResponseWrapper) String() string

func (*DiscoveryResponseWrapper) Validate

func (this *DiscoveryResponseWrapper) Validate() error

func (*DiscoveryResponseWrapper) XXX_DiscardUnknown

func (m *DiscoveryResponseWrapper) XXX_DiscardUnknown()

func (*DiscoveryResponseWrapper) XXX_Marshal

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

func (*DiscoveryResponseWrapper) XXX_Merge

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

func (*DiscoveryResponseWrapper) XXX_Size

func (m *DiscoveryResponseWrapper) XXX_Size() int

func (*DiscoveryResponseWrapper) XXX_Unmarshal

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

type DiscoveryV2Request

type DiscoveryV2Request struct {
	//
	//关系Id
	RelationId string `protobuf:"bytes,1,opt,name=relationId,proto3" json:"relationId" form:"relationId"`
	//
	//发现实例的字段列表
	Match *DiscoveryV2Request_Match `protobuf:"bytes,2,opt,name=match,proto3" json:"match" form:"match"`
	//
	//发现实例的数据列表
	Data []*DiscoveryV2Request_Data `protobuf:"bytes,3,rep,name=data,proto3" json:"data" form:"data"`
	//
	//精确匹配(true: 只允许1:1关系,false: 允许1:n关系,默认true)
	Strict bool `protobuf:"varint,4,opt,name=strict,proto3" json:"strict" form:"strict"`
	//
	//操作类型
	Operation string `protobuf:"bytes,5,opt,name=operation,proto3" json:"operation" form:"operation"`
	//
	//采集关系主sideId,operation为set时必填,根据关系此边来设置关系
	MainSideId           string   `protobuf:"bytes,6,opt,name=mainSideId,proto3" json:"mainSideId" form:"mainSideId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DiscoveryV2请求

func (*DiscoveryV2Request) Descriptor

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

func (*DiscoveryV2Request) GetData

func (*DiscoveryV2Request) GetMainSideId

func (m *DiscoveryV2Request) GetMainSideId() string

func (*DiscoveryV2Request) GetMatch

func (*DiscoveryV2Request) GetOperation

func (m *DiscoveryV2Request) GetOperation() string

func (*DiscoveryV2Request) GetRelationId

func (m *DiscoveryV2Request) GetRelationId() string

func (*DiscoveryV2Request) GetStrict

func (m *DiscoveryV2Request) GetStrict() bool

func (*DiscoveryV2Request) ProtoMessage

func (*DiscoveryV2Request) ProtoMessage()

func (*DiscoveryV2Request) Reset

func (m *DiscoveryV2Request) Reset()

func (*DiscoveryV2Request) String

func (m *DiscoveryV2Request) String() string

func (*DiscoveryV2Request) Validate

func (this *DiscoveryV2Request) Validate() error

func (*DiscoveryV2Request) XXX_DiscardUnknown

func (m *DiscoveryV2Request) XXX_DiscardUnknown()

func (*DiscoveryV2Request) XXX_Marshal

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

func (*DiscoveryV2Request) XXX_Merge

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

func (*DiscoveryV2Request) XXX_Size

func (m *DiscoveryV2Request) XXX_Size() int

func (*DiscoveryV2Request) XXX_Unmarshal

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

type DiscoveryV2Request_Data

type DiscoveryV2Request_Data struct {
	//
	//左侧匹配的实例数据
	LeftInstance *types.Struct `protobuf:"bytes,1,opt,name=left_instance,json=leftInstance,proto3" json:"left_instance" form:"left_instance"`
	//
	//右侧匹配的实例数据
	RightInstance        *types.Struct `protobuf:"bytes,2,opt,name=right_instance,json=rightInstance,proto3" json:"right_instance" form:"right_instance"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*DiscoveryV2Request_Data) Descriptor

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

func (*DiscoveryV2Request_Data) GetLeftInstance

func (m *DiscoveryV2Request_Data) GetLeftInstance() *types.Struct

func (*DiscoveryV2Request_Data) GetRightInstance

func (m *DiscoveryV2Request_Data) GetRightInstance() *types.Struct

func (*DiscoveryV2Request_Data) ProtoMessage

func (*DiscoveryV2Request_Data) ProtoMessage()

func (*DiscoveryV2Request_Data) Reset

func (m *DiscoveryV2Request_Data) Reset()

func (*DiscoveryV2Request_Data) String

func (m *DiscoveryV2Request_Data) String() string

func (*DiscoveryV2Request_Data) Validate

func (this *DiscoveryV2Request_Data) Validate() error

func (*DiscoveryV2Request_Data) XXX_DiscardUnknown

func (m *DiscoveryV2Request_Data) XXX_DiscardUnknown()

func (*DiscoveryV2Request_Data) XXX_Marshal

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

func (*DiscoveryV2Request_Data) XXX_Merge

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

func (*DiscoveryV2Request_Data) XXX_Size

func (m *DiscoveryV2Request_Data) XXX_Size() int

func (*DiscoveryV2Request_Data) XXX_Unmarshal

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

type DiscoveryV2Request_Match

type DiscoveryV2Request_Match struct {
	//
	//左侧实例匹配字段列表
	LeftMatch []string `protobuf:"bytes,1,rep,name=left_match,json=leftMatch,proto3" json:"left_match" form:"left_match"`
	//
	//右侧实例匹配字段列表
	RightMatch           []string `protobuf:"bytes,2,rep,name=right_match,json=rightMatch,proto3" json:"right_match" form:"right_match"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DiscoveryV2Request_Match) Descriptor

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

func (*DiscoveryV2Request_Match) GetLeftMatch

func (m *DiscoveryV2Request_Match) GetLeftMatch() []string

func (*DiscoveryV2Request_Match) GetRightMatch

func (m *DiscoveryV2Request_Match) GetRightMatch() []string

func (*DiscoveryV2Request_Match) ProtoMessage

func (*DiscoveryV2Request_Match) ProtoMessage()

func (*DiscoveryV2Request_Match) Reset

func (m *DiscoveryV2Request_Match) Reset()

func (*DiscoveryV2Request_Match) String

func (m *DiscoveryV2Request_Match) String() string

func (*DiscoveryV2Request_Match) Validate

func (this *DiscoveryV2Request_Match) Validate() error

func (*DiscoveryV2Request_Match) XXX_DiscardUnknown

func (m *DiscoveryV2Request_Match) XXX_DiscardUnknown()

func (*DiscoveryV2Request_Match) XXX_Marshal

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

func (*DiscoveryV2Request_Match) XXX_Merge

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

func (*DiscoveryV2Request_Match) XXX_Size

func (m *DiscoveryV2Request_Match) XXX_Size() int

func (*DiscoveryV2Request_Match) XXX_Unmarshal

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

type DiscoveryV2Response

type DiscoveryV2Response struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//错误信息
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回信息
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message" form:"message"`
	//
	//数据
	Data                 []*DiscoveryV2Response_Data `protobuf:"bytes,4,rep,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

DiscoveryV2返回

func (*DiscoveryV2Response) Descriptor

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

func (*DiscoveryV2Response) GetCode

func (m *DiscoveryV2Response) GetCode() int32

func (*DiscoveryV2Response) GetData

func (*DiscoveryV2Response) GetError

func (m *DiscoveryV2Response) GetError() string

func (*DiscoveryV2Response) GetMessage

func (m *DiscoveryV2Response) GetMessage() string

func (*DiscoveryV2Response) ProtoMessage

func (*DiscoveryV2Response) ProtoMessage()

func (*DiscoveryV2Response) Reset

func (m *DiscoveryV2Response) Reset()

func (*DiscoveryV2Response) String

func (m *DiscoveryV2Response) String() string

func (*DiscoveryV2Response) Validate

func (this *DiscoveryV2Response) Validate() error

func (*DiscoveryV2Response) XXX_DiscardUnknown

func (m *DiscoveryV2Response) XXX_DiscardUnknown()

func (*DiscoveryV2Response) XXX_Marshal

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

func (*DiscoveryV2Response) XXX_Merge

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

func (*DiscoveryV2Response) XXX_Size

func (m *DiscoveryV2Response) XXX_Size() int

func (*DiscoveryV2Response) XXX_Unmarshal

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

type DiscoveryV2ResponseWrapper

type DiscoveryV2ResponseWrapper 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                 *DiscoveryV2Response `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

DiscoveryV2Api返回

func (*DiscoveryV2ResponseWrapper) Descriptor

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

func (*DiscoveryV2ResponseWrapper) GetCode

func (m *DiscoveryV2ResponseWrapper) GetCode() int32

func (*DiscoveryV2ResponseWrapper) GetCodeExplain

func (m *DiscoveryV2ResponseWrapper) GetCodeExplain() string

func (*DiscoveryV2ResponseWrapper) GetData

func (*DiscoveryV2ResponseWrapper) GetError

func (m *DiscoveryV2ResponseWrapper) GetError() string

func (*DiscoveryV2ResponseWrapper) ProtoMessage

func (*DiscoveryV2ResponseWrapper) ProtoMessage()

func (*DiscoveryV2ResponseWrapper) Reset

func (m *DiscoveryV2ResponseWrapper) Reset()

func (*DiscoveryV2ResponseWrapper) String

func (m *DiscoveryV2ResponseWrapper) String() string

func (*DiscoveryV2ResponseWrapper) Validate

func (this *DiscoveryV2ResponseWrapper) Validate() error

func (*DiscoveryV2ResponseWrapper) XXX_DiscardUnknown

func (m *DiscoveryV2ResponseWrapper) XXX_DiscardUnknown()

func (*DiscoveryV2ResponseWrapper) XXX_Marshal

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

func (*DiscoveryV2ResponseWrapper) XXX_Merge

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

func (*DiscoveryV2ResponseWrapper) XXX_Size

func (m *DiscoveryV2ResponseWrapper) XXX_Size() int

func (*DiscoveryV2ResponseWrapper) XXX_Unmarshal

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

type DiscoveryV2Response_Data

type DiscoveryV2Response_Data struct {
	//
	//状态码(0:成功,非0:失败)
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//状态描述
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message" form:"message"`
	//
	//关系左端模型ID
	LeftObjectId string `protobuf:"bytes,3,opt,name=left_object_id,json=leftObjectId,proto3" json:"left_object_id" form:"left_object_id"`
	//
	//关系右端模型ID
	RightObjectId string `protobuf:"bytes,4,opt,name=right_object_id,json=rightObjectId,proto3" json:"right_object_id" form:"right_object_id"`
	//
	//创建实例关系成功列表
	ConnectSuccess []*cmdb.InstanceRelationPair `protobuf:"bytes,5,rep,name=connect_success,json=connectSuccess,proto3" json:"connect_success" form:"connect_success"`
	//
	//创建实例关系失败列表
	ConnectFail []*cmdb.InstanceRelationPair `protobuf:"bytes,6,rep,name=connect_fail,json=connectFail,proto3" json:"connect_fail" form:"connect_fail"`
	//
	//删除实例关系成功列表
	DisconnectSuccess []*cmdb.InstanceRelationPair `` /* 128-byte string literal not displayed */
	//
	//删除实例关系失败列表
	DisconnectFail       []*cmdb.InstanceRelationPair `protobuf:"bytes,8,rep,name=disconnect_fail,json=disconnectFail,proto3" json:"disconnect_fail" form:"disconnect_fail"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*DiscoveryV2Response_Data) Descriptor

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

func (*DiscoveryV2Response_Data) GetCode

func (m *DiscoveryV2Response_Data) GetCode() int32

func (*DiscoveryV2Response_Data) GetConnectFail

func (m *DiscoveryV2Response_Data) GetConnectFail() []*cmdb.InstanceRelationPair

func (*DiscoveryV2Response_Data) GetConnectSuccess

func (m *DiscoveryV2Response_Data) GetConnectSuccess() []*cmdb.InstanceRelationPair

func (*DiscoveryV2Response_Data) GetDisconnectFail

func (m *DiscoveryV2Response_Data) GetDisconnectFail() []*cmdb.InstanceRelationPair

func (*DiscoveryV2Response_Data) GetDisconnectSuccess

func (m *DiscoveryV2Response_Data) GetDisconnectSuccess() []*cmdb.InstanceRelationPair

func (*DiscoveryV2Response_Data) GetLeftObjectId

func (m *DiscoveryV2Response_Data) GetLeftObjectId() string

func (*DiscoveryV2Response_Data) GetMessage

func (m *DiscoveryV2Response_Data) GetMessage() string

func (*DiscoveryV2Response_Data) GetRightObjectId

func (m *DiscoveryV2Response_Data) GetRightObjectId() string

func (*DiscoveryV2Response_Data) ProtoMessage

func (*DiscoveryV2Response_Data) ProtoMessage()

func (*DiscoveryV2Response_Data) Reset

func (m *DiscoveryV2Response_Data) Reset()

func (*DiscoveryV2Response_Data) String

func (m *DiscoveryV2Response_Data) String() string

func (*DiscoveryV2Response_Data) Validate

func (this *DiscoveryV2Response_Data) Validate() error

func (*DiscoveryV2Response_Data) XXX_DiscardUnknown

func (m *DiscoveryV2Response_Data) XXX_DiscardUnknown()

func (*DiscoveryV2Response_Data) XXX_Marshal

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

func (*DiscoveryV2Response_Data) XXX_Merge

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

func (*DiscoveryV2Response_Data) XXX_Size

func (m *DiscoveryV2Response_Data) XXX_Size() int

func (*DiscoveryV2Response_Data) XXX_Unmarshal

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

type InstanceRelationSnapshotRequest

type InstanceRelationSnapshotRequest struct {
	//
	//关系ID
	RelationId string `protobuf:"bytes,1,opt,name=relation_id,json=relationId,proto3" json:"relation_id" form:"relation_id"`
	//
	//关系实例ID 关系id+左右实例ID
	RelationInstanceId string `` /* 135-byte string literal not displayed */
	//
	//操作时间
	XTs                  int32    `protobuf:"varint,3,opt,name=_ts,json=Ts,proto3" json:"_ts" form:"_ts"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

InstanceRelationSnapshot请求

func (*InstanceRelationSnapshotRequest) Descriptor

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

func (*InstanceRelationSnapshotRequest) GetRelationId

func (m *InstanceRelationSnapshotRequest) GetRelationId() string

func (*InstanceRelationSnapshotRequest) GetRelationInstanceId

func (m *InstanceRelationSnapshotRequest) GetRelationInstanceId() string

func (*InstanceRelationSnapshotRequest) GetXTs

func (*InstanceRelationSnapshotRequest) ProtoMessage

func (*InstanceRelationSnapshotRequest) ProtoMessage()

func (*InstanceRelationSnapshotRequest) Reset

func (*InstanceRelationSnapshotRequest) String

func (*InstanceRelationSnapshotRequest) Validate

func (this *InstanceRelationSnapshotRequest) Validate() error

func (*InstanceRelationSnapshotRequest) XXX_DiscardUnknown

func (m *InstanceRelationSnapshotRequest) XXX_DiscardUnknown()

func (*InstanceRelationSnapshotRequest) XXX_Marshal

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

func (*InstanceRelationSnapshotRequest) XXX_Merge

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

func (*InstanceRelationSnapshotRequest) XXX_Size

func (m *InstanceRelationSnapshotRequest) XXX_Size() int

func (*InstanceRelationSnapshotRequest) XXX_Unmarshal

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

type InstanceRelationSnapshotResponse

type InstanceRelationSnapshotResponse struct {
	//
	//快照ID
	XId string `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id" form:"_id"`
	//
	//左端实例数据
	XLeftInstance *InstanceRelationSnapshotResponse_XLeftInstance `protobuf:"bytes,2,opt,name=_left_instance,json=LeftInstance,proto3" json:"_left_instance" form:"_left_instance"`
	//
	//操作类型
	XOperation string `protobuf:"bytes,3,opt,name=_operation,json=Operation,proto3" json:"_operation" form:"_operation"`
	//
	//操作用户
	XOperator string `protobuf:"bytes,4,opt,name=_operator,json=Operator,proto3" json:"_operator" form:"_operator"`
	//
	//关系ID
	XRelationId string `protobuf:"bytes,5,opt,name=_relation_id,json=RelationId,proto3" json:"_relation_id" form:"_relation_id"`
	//
	//右端实例数据
	XRightInstance *InstanceRelationSnapshotResponse_XRightInstance `protobuf:"bytes,6,opt,name=_right_instance,json=RightInstance,proto3" json:"_right_instance" form:"_right_instance"`
	//
	//操作时间
	XTs int32 `protobuf:"varint,7,opt,name=_ts,json=Ts,proto3" json:"_ts" form:"_ts"`
	//
	//版本号
	XVersion int32 `protobuf:"varint,8,opt,name=_version,json=Version,proto3" json:"_version" form:"_version"`
	//
	//左端实例ID
	LeftInstanceId string `protobuf:"bytes,9,opt,name=left_instance_id,json=leftInstanceId,proto3" json:"left_instance_id" form:"left_instance_id"`
	//
	//右端实例ID
	RightInstanceId string `protobuf:"bytes,10,opt,name=right_instance_id,json=rightInstanceId,proto3" json:"right_instance_id" form:"right_instance_id"`
	//
	//关系实例ID
	RelationInstanceId   string   `` /* 136-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

InstanceRelationSnapshot返回

func (*InstanceRelationSnapshotResponse) Descriptor

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

func (*InstanceRelationSnapshotResponse) GetLeftInstanceId

func (m *InstanceRelationSnapshotResponse) GetLeftInstanceId() string

func (*InstanceRelationSnapshotResponse) GetRelationInstanceId

func (m *InstanceRelationSnapshotResponse) GetRelationInstanceId() string

func (*InstanceRelationSnapshotResponse) GetRightInstanceId

func (m *InstanceRelationSnapshotResponse) GetRightInstanceId() string

func (*InstanceRelationSnapshotResponse) GetXId

func (*InstanceRelationSnapshotResponse) GetXLeftInstance

func (*InstanceRelationSnapshotResponse) GetXOperation

func (m *InstanceRelationSnapshotResponse) GetXOperation() string

func (*InstanceRelationSnapshotResponse) GetXOperator

func (m *InstanceRelationSnapshotResponse) GetXOperator() string

func (*InstanceRelationSnapshotResponse) GetXRelationId

func (m *InstanceRelationSnapshotResponse) GetXRelationId() string

func (*InstanceRelationSnapshotResponse) GetXRightInstance

func (*InstanceRelationSnapshotResponse) GetXTs

func (*InstanceRelationSnapshotResponse) GetXVersion

func (m *InstanceRelationSnapshotResponse) GetXVersion() int32

func (*InstanceRelationSnapshotResponse) ProtoMessage

func (*InstanceRelationSnapshotResponse) ProtoMessage()

func (*InstanceRelationSnapshotResponse) Reset

func (*InstanceRelationSnapshotResponse) String

func (*InstanceRelationSnapshotResponse) Validate

func (this *InstanceRelationSnapshotResponse) Validate() error

func (*InstanceRelationSnapshotResponse) XXX_DiscardUnknown

func (m *InstanceRelationSnapshotResponse) XXX_DiscardUnknown()

func (*InstanceRelationSnapshotResponse) XXX_Marshal

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

func (*InstanceRelationSnapshotResponse) XXX_Merge

func (*InstanceRelationSnapshotResponse) XXX_Size

func (m *InstanceRelationSnapshotResponse) XXX_Size() int

func (*InstanceRelationSnapshotResponse) XXX_Unmarshal

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

type InstanceRelationSnapshotResponseWrapper

type InstanceRelationSnapshotResponseWrapper 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                 *InstanceRelationSnapshotResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

InstanceRelationSnapshotApi返回

func (*InstanceRelationSnapshotResponseWrapper) Descriptor

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

func (*InstanceRelationSnapshotResponseWrapper) GetCode

func (*InstanceRelationSnapshotResponseWrapper) GetCodeExplain

func (m *InstanceRelationSnapshotResponseWrapper) GetCodeExplain() string

func (*InstanceRelationSnapshotResponseWrapper) GetData

func (*InstanceRelationSnapshotResponseWrapper) GetError

func (*InstanceRelationSnapshotResponseWrapper) ProtoMessage

func (*InstanceRelationSnapshotResponseWrapper) Reset

func (*InstanceRelationSnapshotResponseWrapper) String

func (*InstanceRelationSnapshotResponseWrapper) Validate

func (*InstanceRelationSnapshotResponseWrapper) XXX_DiscardUnknown

func (m *InstanceRelationSnapshotResponseWrapper) XXX_DiscardUnknown()

func (*InstanceRelationSnapshotResponseWrapper) XXX_Marshal

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

func (*InstanceRelationSnapshotResponseWrapper) XXX_Merge

func (*InstanceRelationSnapshotResponseWrapper) XXX_Size

func (*InstanceRelationSnapshotResponseWrapper) XXX_Unmarshal

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

type InstanceRelationSnapshotResponse_XLeftInstance

type InstanceRelationSnapshotResponse_XLeftInstance struct {
	//
	//实例ID
	InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"`
	//
	//主机名
	Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname" form:"hostname"`
	//
	//实例名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"`
	//
	//模型ID
	XObjectId string `protobuf:"bytes,4,opt,name=_object_id,json=ObjectId,proto3" json:"_object_id" form:"_object_id"`
	//
	//实例版本号
	XVersion             int32    `protobuf:"varint,5,opt,name=_version,json=Version,proto3" json:"_version" form:"_version"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InstanceRelationSnapshotResponse_XLeftInstance) Descriptor

func (*InstanceRelationSnapshotResponse_XLeftInstance) GetHostname

func (*InstanceRelationSnapshotResponse_XLeftInstance) GetInstanceId

func (*InstanceRelationSnapshotResponse_XLeftInstance) GetName

func (*InstanceRelationSnapshotResponse_XLeftInstance) GetXObjectId

func (*InstanceRelationSnapshotResponse_XLeftInstance) GetXVersion

func (*InstanceRelationSnapshotResponse_XLeftInstance) ProtoMessage

func (*InstanceRelationSnapshotResponse_XLeftInstance) Reset

func (*InstanceRelationSnapshotResponse_XLeftInstance) String

func (*InstanceRelationSnapshotResponse_XLeftInstance) Validate

func (*InstanceRelationSnapshotResponse_XLeftInstance) XXX_DiscardUnknown

func (m *InstanceRelationSnapshotResponse_XLeftInstance) XXX_DiscardUnknown()

func (*InstanceRelationSnapshotResponse_XLeftInstance) XXX_Marshal

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

func (*InstanceRelationSnapshotResponse_XLeftInstance) XXX_Merge

func (*InstanceRelationSnapshotResponse_XLeftInstance) XXX_Size

func (*InstanceRelationSnapshotResponse_XLeftInstance) XXX_Unmarshal

type InstanceRelationSnapshotResponse_XRightInstance

type InstanceRelationSnapshotResponse_XRightInstance struct {
	//
	//实例ID
	InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"`
	//
	//主机名
	Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname" form:"hostname"`
	//
	//实例名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"`
	//
	//模型ID
	XObjectId string `protobuf:"bytes,4,opt,name=_object_id,json=ObjectId,proto3" json:"_object_id" form:"_object_id"`
	//
	//实例版本号
	XVersion             int32    `protobuf:"varint,5,opt,name=_version,json=Version,proto3" json:"_version" form:"_version"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InstanceRelationSnapshotResponse_XRightInstance) Descriptor

func (*InstanceRelationSnapshotResponse_XRightInstance) GetHostname

func (*InstanceRelationSnapshotResponse_XRightInstance) GetInstanceId

func (*InstanceRelationSnapshotResponse_XRightInstance) GetName

func (*InstanceRelationSnapshotResponse_XRightInstance) GetXObjectId

func (*InstanceRelationSnapshotResponse_XRightInstance) GetXVersion

func (*InstanceRelationSnapshotResponse_XRightInstance) ProtoMessage

func (*InstanceRelationSnapshotResponse_XRightInstance) Reset

func (*InstanceRelationSnapshotResponse_XRightInstance) String

func (*InstanceRelationSnapshotResponse_XRightInstance) Validate

func (*InstanceRelationSnapshotResponse_XRightInstance) XXX_DiscardUnknown

func (m *InstanceRelationSnapshotResponse_XRightInstance) XXX_DiscardUnknown()

func (*InstanceRelationSnapshotResponse_XRightInstance) XXX_Marshal

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

func (*InstanceRelationSnapshotResponse_XRightInstance) XXX_Merge

func (*InstanceRelationSnapshotResponse_XRightInstance) XXX_Size

func (*InstanceRelationSnapshotResponse_XRightInstance) XXX_Unmarshal

type RemoveRequest

type RemoveRequest struct {
	//
	//模型Id
	ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId" form:"objectId"`
	//
	//关系sideId
	RelationSideId string `protobuf:"bytes,2,opt,name=relationSideId,proto3" json:"relationSideId" form:"relationSideId"`
	//
	//模型的实例ID列表
	InstanceIds []string `protobuf:"bytes,3,rep,name=instance_ids,json=instanceIds,proto3" json:"instance_ids" form:"instance_ids"`
	//
	//关联的实例ID列表
	RelatedInstanceIds   []string `` /* 135-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Remove请求

func (*RemoveRequest) Descriptor

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

func (*RemoveRequest) GetInstanceIds

func (m *RemoveRequest) GetInstanceIds() []string

func (*RemoveRequest) GetObjectId

func (m *RemoveRequest) GetObjectId() string

func (*RemoveRequest) GetRelatedInstanceIds

func (m *RemoveRequest) GetRelatedInstanceIds() []string

func (*RemoveRequest) GetRelationSideId

func (m *RemoveRequest) GetRelationSideId() string

func (*RemoveRequest) ProtoMessage

func (*RemoveRequest) ProtoMessage()

func (*RemoveRequest) Reset

func (m *RemoveRequest) Reset()

func (*RemoveRequest) String

func (m *RemoveRequest) String() string

func (*RemoveRequest) Validate

func (this *RemoveRequest) Validate() error

func (*RemoveRequest) XXX_DiscardUnknown

func (m *RemoveRequest) XXX_DiscardUnknown()

func (*RemoveRequest) XXX_Marshal

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

func (*RemoveRequest) XXX_Merge

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

func (*RemoveRequest) XXX_Size

func (m *RemoveRequest) XXX_Size() int

func (*RemoveRequest) XXX_Unmarshal

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

type RemoveResponseWrapper

type RemoveResponseWrapper 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:"-"`
}

RemoveApi返回

func (*RemoveResponseWrapper) Descriptor

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

func (*RemoveResponseWrapper) GetCode

func (m *RemoveResponseWrapper) GetCode() int32

func (*RemoveResponseWrapper) GetCodeExplain

func (m *RemoveResponseWrapper) GetCodeExplain() string

func (*RemoveResponseWrapper) GetData

func (m *RemoveResponseWrapper) GetData() *types.Empty

func (*RemoveResponseWrapper) GetError

func (m *RemoveResponseWrapper) GetError() string

func (*RemoveResponseWrapper) ProtoMessage

func (*RemoveResponseWrapper) ProtoMessage()

func (*RemoveResponseWrapper) Reset

func (m *RemoveResponseWrapper) Reset()

func (*RemoveResponseWrapper) String

func (m *RemoveResponseWrapper) String() string

func (*RemoveResponseWrapper) Validate

func (this *RemoveResponseWrapper) Validate() error

func (*RemoveResponseWrapper) XXX_DiscardUnknown

func (m *RemoveResponseWrapper) XXX_DiscardUnknown()

func (*RemoveResponseWrapper) XXX_Marshal

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

func (*RemoveResponseWrapper) XXX_Merge

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

func (*RemoveResponseWrapper) XXX_Size

func (m *RemoveResponseWrapper) XXX_Size() int

func (*RemoveResponseWrapper) XXX_Unmarshal

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

type Service

Service is the server API for instance_relation service.

type SetRequest

type SetRequest struct {
	//
	//模型Id
	ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId" form:"objectId"`
	//
	//关系sideId
	RelationSideId string `protobuf:"bytes,2,opt,name=relationSideId,proto3" json:"relationSideId" form:"relationSideId"`
	//
	//模型的实例ID列表
	InstanceIds []string `protobuf:"bytes,3,rep,name=instance_ids,json=instanceIds,proto3" json:"instance_ids" form:"instance_ids"`
	//
	//关联的实例ID列表
	RelatedInstanceIds   []string `` /* 135-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Set请求

func (*SetRequest) Descriptor

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

func (*SetRequest) GetInstanceIds

func (m *SetRequest) GetInstanceIds() []string

func (*SetRequest) GetObjectId

func (m *SetRequest) GetObjectId() string

func (*SetRequest) GetRelatedInstanceIds

func (m *SetRequest) GetRelatedInstanceIds() []string

func (*SetRequest) GetRelationSideId

func (m *SetRequest) GetRelationSideId() string

func (*SetRequest) ProtoMessage

func (*SetRequest) ProtoMessage()

func (*SetRequest) Reset

func (m *SetRequest) Reset()

func (*SetRequest) String

func (m *SetRequest) String() string

func (*SetRequest) Validate

func (this *SetRequest) Validate() error

func (*SetRequest) XXX_DiscardUnknown

func (m *SetRequest) XXX_DiscardUnknown()

func (*SetRequest) XXX_Marshal

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

func (*SetRequest) XXX_Merge

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

func (*SetRequest) XXX_Size

func (m *SetRequest) XXX_Size() int

func (*SetRequest) XXX_Unmarshal

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

type SetResponseWrapper

type SetResponseWrapper 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:"-"`
}

SetApi返回

func (*SetResponseWrapper) Descriptor

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

func (*SetResponseWrapper) GetCode

func (m *SetResponseWrapper) GetCode() int32

func (*SetResponseWrapper) GetCodeExplain

func (m *SetResponseWrapper) GetCodeExplain() string

func (*SetResponseWrapper) GetData

func (m *SetResponseWrapper) GetData() *types.Empty

func (*SetResponseWrapper) GetError

func (m *SetResponseWrapper) GetError() string

func (*SetResponseWrapper) ProtoMessage

func (*SetResponseWrapper) ProtoMessage()

func (*SetResponseWrapper) Reset

func (m *SetResponseWrapper) Reset()

func (*SetResponseWrapper) String

func (m *SetResponseWrapper) String() string

func (*SetResponseWrapper) Validate

func (this *SetResponseWrapper) Validate() error

func (*SetResponseWrapper) XXX_DiscardUnknown

func (m *SetResponseWrapper) XXX_DiscardUnknown()

func (*SetResponseWrapper) XXX_Marshal

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

func (*SetResponseWrapper) XXX_Merge

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

func (*SetResponseWrapper) XXX_Size

func (m *SetResponseWrapper) XXX_Size() int

func (*SetResponseWrapper) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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