Documentation
¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type GetBusinessTreeListRequest
- func (*GetBusinessTreeListRequest) Descriptor() ([]byte, []int)
- func (m *GetBusinessTreeListRequest) GetIds() string
- func (*GetBusinessTreeListRequest) ProtoMessage()
- func (m *GetBusinessTreeListRequest) Reset()
- func (m *GetBusinessTreeListRequest) String() string
- func (this *GetBusinessTreeListRequest) Validate() error
- func (m *GetBusinessTreeListRequest) XXX_DiscardUnknown()
- func (m *GetBusinessTreeListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBusinessTreeListRequest) XXX_Merge(src proto.Message)
- func (m *GetBusinessTreeListRequest) XXX_Size() int
- func (m *GetBusinessTreeListRequest) XXX_Unmarshal(b []byte) error
- type GetBusinessTreeListResponse
- func (*GetBusinessTreeListResponse) Descriptor() ([]byte, []int)
- func (m *GetBusinessTreeListResponse) GetInstanceId() string
- func (m *GetBusinessTreeListResponse) GetName() string
- func (m *GetBusinessTreeListResponse) GetParents() []*GetBusinessTreeListResponse_Parents
- func (*GetBusinessTreeListResponse) ProtoMessage()
- func (m *GetBusinessTreeListResponse) Reset()
- func (m *GetBusinessTreeListResponse) String() string
- func (this *GetBusinessTreeListResponse) Validate() error
- func (m *GetBusinessTreeListResponse) XXX_DiscardUnknown()
- func (m *GetBusinessTreeListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBusinessTreeListResponse) XXX_Merge(src proto.Message)
- func (m *GetBusinessTreeListResponse) XXX_Size() int
- func (m *GetBusinessTreeListResponse) XXX_Unmarshal(b []byte) error
- type GetBusinessTreeListResponseWrapper
- func (*GetBusinessTreeListResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetBusinessTreeListResponseWrapper) GetCode() int32
- func (m *GetBusinessTreeListResponseWrapper) GetCodeExplain() string
- func (m *GetBusinessTreeListResponseWrapper) GetData() []*GetBusinessTreeListResponse
- func (m *GetBusinessTreeListResponseWrapper) GetError() string
- func (*GetBusinessTreeListResponseWrapper) ProtoMessage()
- func (m *GetBusinessTreeListResponseWrapper) Reset()
- func (m *GetBusinessTreeListResponseWrapper) String() string
- func (this *GetBusinessTreeListResponseWrapper) Validate() error
- func (m *GetBusinessTreeListResponseWrapper) XXX_DiscardUnknown()
- func (m *GetBusinessTreeListResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBusinessTreeListResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetBusinessTreeListResponseWrapper) XXX_Size() int
- func (m *GetBusinessTreeListResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetBusinessTreeListResponse_Parents
- func (*GetBusinessTreeListResponse_Parents) Descriptor() ([]byte, []int)
- func (m *GetBusinessTreeListResponse_Parents) GetInstanceId() string
- func (m *GetBusinessTreeListResponse_Parents) GetName() string
- func (*GetBusinessTreeListResponse_Parents) ProtoMessage()
- func (m *GetBusinessTreeListResponse_Parents) Reset()
- func (m *GetBusinessTreeListResponse_Parents) String() string
- func (this *GetBusinessTreeListResponse_Parents) Validate() error
- func (m *GetBusinessTreeListResponse_Parents) XXX_DiscardUnknown()
- func (m *GetBusinessTreeListResponse_Parents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBusinessTreeListResponse_Parents) XXX_Merge(src proto.Message)
- func (m *GetBusinessTreeListResponse_Parents) XXX_Size() int
- func (m *GetBusinessTreeListResponse_Parents) XXX_Unmarshal(b []byte) error
- type SearchAppInSystemRequest
- func (*SearchAppInSystemRequest) Descriptor() ([]byte, []int)
- func (m *SearchAppInSystemRequest) GetFields() *types.Struct
- func (m *SearchAppInSystemRequest) GetIncludeSubSystems() bool
- func (m *SearchAppInSystemRequest) GetOnlyMyInstance() bool
- func (m *SearchAppInSystemRequest) GetOnlyRelationView() bool
- func (m *SearchAppInSystemRequest) GetPage() int32
- func (m *SearchAppInSystemRequest) GetPageSize() int32
- func (m *SearchAppInSystemRequest) GetPermission() []string
- func (m *SearchAppInSystemRequest) GetQuery() *types.Struct
- func (m *SearchAppInSystemRequest) GetSort() *types.Struct
- func (m *SearchAppInSystemRequest) GetSystemInstanceId() string
- func (*SearchAppInSystemRequest) ProtoMessage()
- func (m *SearchAppInSystemRequest) Reset()
- func (m *SearchAppInSystemRequest) String() string
- func (this *SearchAppInSystemRequest) Validate() error
- func (m *SearchAppInSystemRequest) XXX_DiscardUnknown()
- func (m *SearchAppInSystemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchAppInSystemRequest) XXX_Merge(src proto.Message)
- func (m *SearchAppInSystemRequest) XXX_Size() int
- func (m *SearchAppInSystemRequest) XXX_Unmarshal(b []byte) error
- type SearchAppInSystemResponse
- func (*SearchAppInSystemResponse) Descriptor() ([]byte, []int)
- func (m *SearchAppInSystemResponse) GetList() []*types.Struct
- func (m *SearchAppInSystemResponse) GetPage() int32
- func (m *SearchAppInSystemResponse) GetPageSize() int32
- func (m *SearchAppInSystemResponse) GetTotal() int32
- func (*SearchAppInSystemResponse) ProtoMessage()
- func (m *SearchAppInSystemResponse) Reset()
- func (m *SearchAppInSystemResponse) String() string
- func (this *SearchAppInSystemResponse) Validate() error
- func (m *SearchAppInSystemResponse) XXX_DiscardUnknown()
- func (m *SearchAppInSystemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchAppInSystemResponse) XXX_Merge(src proto.Message)
- func (m *SearchAppInSystemResponse) XXX_Size() int
- func (m *SearchAppInSystemResponse) XXX_Unmarshal(b []byte) error
- type SearchAppInSystemResponseWrapper
- func (*SearchAppInSystemResponseWrapper) Descriptor() ([]byte, []int)
- func (m *SearchAppInSystemResponseWrapper) GetCode() int32
- func (m *SearchAppInSystemResponseWrapper) GetCodeExplain() string
- func (m *SearchAppInSystemResponseWrapper) GetData() *SearchAppInSystemResponse
- func (m *SearchAppInSystemResponseWrapper) GetError() string
- func (*SearchAppInSystemResponseWrapper) ProtoMessage()
- func (m *SearchAppInSystemResponseWrapper) Reset()
- func (m *SearchAppInSystemResponseWrapper) String() string
- func (this *SearchAppInSystemResponseWrapper) Validate() error
- func (m *SearchAppInSystemResponseWrapper) XXX_DiscardUnknown()
- func (m *SearchAppInSystemResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchAppInSystemResponseWrapper) XXX_Merge(src proto.Message)
- func (m *SearchAppInSystemResponseWrapper) XXX_Size() int
- func (m *SearchAppInSystemResponseWrapper) XXX_Unmarshal(b []byte) error
- type SearchSubSystemRequest
- func (*SearchSubSystemRequest) Descriptor() ([]byte, []int)
- func (m *SearchSubSystemRequest) GetFields() *types.Struct
- func (m *SearchSubSystemRequest) GetOnlyMyInstance() bool
- func (m *SearchSubSystemRequest) GetOnlyRelationView() bool
- func (m *SearchSubSystemRequest) GetPage() int32
- func (m *SearchSubSystemRequest) GetPageSize() int32
- func (m *SearchSubSystemRequest) GetPermission() []string
- func (m *SearchSubSystemRequest) GetQuery() *types.Struct
- func (m *SearchSubSystemRequest) GetSort() *types.Struct
- func (m *SearchSubSystemRequest) GetSystemInstanceId() string
- func (*SearchSubSystemRequest) ProtoMessage()
- func (m *SearchSubSystemRequest) Reset()
- func (m *SearchSubSystemRequest) String() string
- func (this *SearchSubSystemRequest) Validate() error
- func (m *SearchSubSystemRequest) XXX_DiscardUnknown()
- func (m *SearchSubSystemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchSubSystemRequest) XXX_Merge(src proto.Message)
- func (m *SearchSubSystemRequest) XXX_Size() int
- func (m *SearchSubSystemRequest) XXX_Unmarshal(b []byte) error
- type SearchSubSystemResponse
- func (*SearchSubSystemResponse) Descriptor() ([]byte, []int)
- func (m *SearchSubSystemResponse) GetList() []*types.Struct
- func (m *SearchSubSystemResponse) GetPage() int32
- func (m *SearchSubSystemResponse) GetPageSize() int32
- func (m *SearchSubSystemResponse) GetTotal() int32
- func (*SearchSubSystemResponse) ProtoMessage()
- func (m *SearchSubSystemResponse) Reset()
- func (m *SearchSubSystemResponse) String() string
- func (this *SearchSubSystemResponse) Validate() error
- func (m *SearchSubSystemResponse) XXX_DiscardUnknown()
- func (m *SearchSubSystemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchSubSystemResponse) XXX_Merge(src proto.Message)
- func (m *SearchSubSystemResponse) XXX_Size() int
- func (m *SearchSubSystemResponse) XXX_Unmarshal(b []byte) error
- type SearchSubSystemResponseWrapper
- func (*SearchSubSystemResponseWrapper) Descriptor() ([]byte, []int)
- func (m *SearchSubSystemResponseWrapper) GetCode() int32
- func (m *SearchSubSystemResponseWrapper) GetCodeExplain() string
- func (m *SearchSubSystemResponseWrapper) GetData() *SearchSubSystemResponse
- func (m *SearchSubSystemResponseWrapper) GetError() string
- func (*SearchSubSystemResponseWrapper) ProtoMessage()
- func (m *SearchSubSystemResponseWrapper) Reset()
- func (m *SearchSubSystemResponseWrapper) String() string
- func (this *SearchSubSystemResponseWrapper) Validate() error
- func (m *SearchSubSystemResponseWrapper) XXX_DiscardUnknown()
- func (m *SearchSubSystemResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchSubSystemResponseWrapper) XXX_Merge(src proto.Message)
- func (m *SearchSubSystemResponseWrapper) XXX_Size() int
- func (m *SearchSubSystemResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
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 { SearchAppInSystem(ctx context.Context, in *SearchAppInSystemRequest) (*SearchAppInSystemResponse, error) SearchSubSystem(ctx context.Context, in *SearchSubSystemRequest) (*SearchSubSystemResponse, error) }
Client is the client API for business_instance 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 GetBusinessTreeListRequest ¶
type GetBusinessTreeListRequest struct { // //实例Id列表使用逗号分隔 Ids string `protobuf:"bytes,1,opt,name=ids,proto3" json:"ids" form:"ids"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetBusinessTreeList请求
func (*GetBusinessTreeListRequest) Descriptor ¶
func (*GetBusinessTreeListRequest) Descriptor() ([]byte, []int)
func (*GetBusinessTreeListRequest) GetIds ¶
func (m *GetBusinessTreeListRequest) GetIds() string
func (*GetBusinessTreeListRequest) ProtoMessage ¶
func (*GetBusinessTreeListRequest) ProtoMessage()
func (*GetBusinessTreeListRequest) Reset ¶
func (m *GetBusinessTreeListRequest) Reset()
func (*GetBusinessTreeListRequest) String ¶
func (m *GetBusinessTreeListRequest) String() string
func (*GetBusinessTreeListRequest) Validate ¶
func (this *GetBusinessTreeListRequest) Validate() error
func (*GetBusinessTreeListRequest) XXX_DiscardUnknown ¶
func (m *GetBusinessTreeListRequest) XXX_DiscardUnknown()
func (*GetBusinessTreeListRequest) XXX_Marshal ¶
func (m *GetBusinessTreeListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBusinessTreeListRequest) XXX_Merge ¶
func (m *GetBusinessTreeListRequest) XXX_Merge(src proto.Message)
func (*GetBusinessTreeListRequest) XXX_Size ¶
func (m *GetBusinessTreeListRequest) XXX_Size() int
func (*GetBusinessTreeListRequest) XXX_Unmarshal ¶
func (m *GetBusinessTreeListRequest) XXX_Unmarshal(b []byte) error
type GetBusinessTreeListResponse ¶
type GetBusinessTreeListResponse struct { // //实例Id InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //业务名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //第一个为根节点,最后一个为该业务的父节点, 例如 parents=[根节点...,父节点的父节点, 父节点] Parents []*GetBusinessTreeListResponse_Parents `protobuf:"bytes,3,rep,name=parents,proto3" json:"parents" form:"parents"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetBusinessTreeList返回
func (*GetBusinessTreeListResponse) Descriptor ¶
func (*GetBusinessTreeListResponse) Descriptor() ([]byte, []int)
func (*GetBusinessTreeListResponse) GetInstanceId ¶
func (m *GetBusinessTreeListResponse) GetInstanceId() string
func (*GetBusinessTreeListResponse) GetName ¶
func (m *GetBusinessTreeListResponse) GetName() string
func (*GetBusinessTreeListResponse) GetParents ¶
func (m *GetBusinessTreeListResponse) GetParents() []*GetBusinessTreeListResponse_Parents
func (*GetBusinessTreeListResponse) ProtoMessage ¶
func (*GetBusinessTreeListResponse) ProtoMessage()
func (*GetBusinessTreeListResponse) Reset ¶
func (m *GetBusinessTreeListResponse) Reset()
func (*GetBusinessTreeListResponse) String ¶
func (m *GetBusinessTreeListResponse) String() string
func (*GetBusinessTreeListResponse) Validate ¶
func (this *GetBusinessTreeListResponse) Validate() error
func (*GetBusinessTreeListResponse) XXX_DiscardUnknown ¶
func (m *GetBusinessTreeListResponse) XXX_DiscardUnknown()
func (*GetBusinessTreeListResponse) XXX_Marshal ¶
func (m *GetBusinessTreeListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBusinessTreeListResponse) XXX_Merge ¶
func (m *GetBusinessTreeListResponse) XXX_Merge(src proto.Message)
func (*GetBusinessTreeListResponse) XXX_Size ¶
func (m *GetBusinessTreeListResponse) XXX_Size() int
func (*GetBusinessTreeListResponse) XXX_Unmarshal ¶
func (m *GetBusinessTreeListResponse) XXX_Unmarshal(b []byte) error
type GetBusinessTreeListResponseWrapper ¶
type GetBusinessTreeListResponseWrapper 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 []*GetBusinessTreeListResponse `protobuf:"bytes,4,rep,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetBusinessTreeListApi返回
func (*GetBusinessTreeListResponseWrapper) Descriptor ¶
func (*GetBusinessTreeListResponseWrapper) Descriptor() ([]byte, []int)
func (*GetBusinessTreeListResponseWrapper) GetCode ¶
func (m *GetBusinessTreeListResponseWrapper) GetCode() int32
func (*GetBusinessTreeListResponseWrapper) GetCodeExplain ¶
func (m *GetBusinessTreeListResponseWrapper) GetCodeExplain() string
func (*GetBusinessTreeListResponseWrapper) GetData ¶
func (m *GetBusinessTreeListResponseWrapper) GetData() []*GetBusinessTreeListResponse
func (*GetBusinessTreeListResponseWrapper) GetError ¶
func (m *GetBusinessTreeListResponseWrapper) GetError() string
func (*GetBusinessTreeListResponseWrapper) ProtoMessage ¶
func (*GetBusinessTreeListResponseWrapper) ProtoMessage()
func (*GetBusinessTreeListResponseWrapper) Reset ¶
func (m *GetBusinessTreeListResponseWrapper) Reset()
func (*GetBusinessTreeListResponseWrapper) String ¶
func (m *GetBusinessTreeListResponseWrapper) String() string
func (*GetBusinessTreeListResponseWrapper) Validate ¶
func (this *GetBusinessTreeListResponseWrapper) Validate() error
func (*GetBusinessTreeListResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetBusinessTreeListResponseWrapper) XXX_DiscardUnknown()
func (*GetBusinessTreeListResponseWrapper) XXX_Marshal ¶
func (m *GetBusinessTreeListResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBusinessTreeListResponseWrapper) XXX_Merge ¶
func (m *GetBusinessTreeListResponseWrapper) XXX_Merge(src proto.Message)
func (*GetBusinessTreeListResponseWrapper) XXX_Size ¶
func (m *GetBusinessTreeListResponseWrapper) XXX_Size() int
func (*GetBusinessTreeListResponseWrapper) XXX_Unmarshal ¶
func (m *GetBusinessTreeListResponseWrapper) XXX_Unmarshal(b []byte) error
type GetBusinessTreeListResponse_Parents ¶
type GetBusinessTreeListResponse_Parents struct { // //实例Id InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //业务名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBusinessTreeListResponse_Parents) Descriptor ¶
func (*GetBusinessTreeListResponse_Parents) Descriptor() ([]byte, []int)
func (*GetBusinessTreeListResponse_Parents) GetInstanceId ¶
func (m *GetBusinessTreeListResponse_Parents) GetInstanceId() string
func (*GetBusinessTreeListResponse_Parents) GetName ¶
func (m *GetBusinessTreeListResponse_Parents) GetName() string
func (*GetBusinessTreeListResponse_Parents) ProtoMessage ¶
func (*GetBusinessTreeListResponse_Parents) ProtoMessage()
func (*GetBusinessTreeListResponse_Parents) Reset ¶
func (m *GetBusinessTreeListResponse_Parents) Reset()
func (*GetBusinessTreeListResponse_Parents) String ¶
func (m *GetBusinessTreeListResponse_Parents) String() string
func (*GetBusinessTreeListResponse_Parents) Validate ¶
func (this *GetBusinessTreeListResponse_Parents) Validate() error
func (*GetBusinessTreeListResponse_Parents) XXX_DiscardUnknown ¶
func (m *GetBusinessTreeListResponse_Parents) XXX_DiscardUnknown()
func (*GetBusinessTreeListResponse_Parents) XXX_Marshal ¶
func (m *GetBusinessTreeListResponse_Parents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBusinessTreeListResponse_Parents) XXX_Merge ¶
func (m *GetBusinessTreeListResponse_Parents) XXX_Merge(src proto.Message)
func (*GetBusinessTreeListResponse_Parents) XXX_Size ¶
func (m *GetBusinessTreeListResponse_Parents) XXX_Size() int
func (*GetBusinessTreeListResponse_Parents) XXX_Unmarshal ¶
func (m *GetBusinessTreeListResponse_Parents) XXX_Unmarshal(b []byte) error
type SearchAppInSystemRequest ¶
type SearchAppInSystemRequest struct { // //系统的实例ID SystemInstanceId string `protobuf:"bytes,1,opt,name=systemInstanceId,proto3" json:"systemInstanceId" form:"systemInstanceId"` // //页码 Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //查询条件,与[实例搜索接口]的query字段说明一致 Query *types.Struct `protobuf:"bytes,4,opt,name=query,proto3" json:"query" form:"query"` // //过滤的字段列表, 留空代表返回所有字段(true: 表示指定获取字段, false: 表示指定不获取的字段)(支持关系数据的二级jsonPath格式的指定字段如clusters.name) Fields *types.Struct `protobuf:"bytes,5,opt,name=fields,proto3" json:"fields" form:"fields"` // //按字段排序, 留空默认按照实例ID降序排序(1表示升序, -1表示降序) Sort *types.Struct `protobuf:"bytes,6,opt,name=sort,proto3" json:"sort" form:"sort"` // //按照权限过滤(通用实例都有`read`, `update`, `delete`权限控制, 主机实例在通用实例权限基础上有额外的`operate`权限, 应用实例在通用实例权限基础上有额外的`developClusterOperate`, `testClusterOperate`, `prereleaseClusterOperate`, `productionClusterOperate`权限) Permission []string `protobuf:"bytes,7,rep,name=permission,proto3" json:"permission" form:"permission"` // //对于关联的实例数据是否只获取relation_view中指定的属性, 这个字段为true时, 会覆盖fields字段中指定的二级字段设置 OnlyRelationView bool `` /* 128-byte string literal not displayed */ // //是否只获取与自己有关的那部分数据, 默认为false OnlyMyInstance bool `protobuf:"varint,9,opt,name=only_my_instance,json=onlyMyInstance,proto3" json:"only_my_instance" form:"only_my_instance"` // //是否包含子系统以及子系统的子系统的应用 IncludeSubSystems bool `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SearchAppInSystem请求
func (*SearchAppInSystemRequest) Descriptor ¶
func (*SearchAppInSystemRequest) Descriptor() ([]byte, []int)
func (*SearchAppInSystemRequest) GetFields ¶
func (m *SearchAppInSystemRequest) GetFields() *types.Struct
func (*SearchAppInSystemRequest) GetIncludeSubSystems ¶
func (m *SearchAppInSystemRequest) GetIncludeSubSystems() bool
func (*SearchAppInSystemRequest) GetOnlyMyInstance ¶
func (m *SearchAppInSystemRequest) GetOnlyMyInstance() bool
func (*SearchAppInSystemRequest) GetOnlyRelationView ¶
func (m *SearchAppInSystemRequest) GetOnlyRelationView() bool
func (*SearchAppInSystemRequest) GetPage ¶
func (m *SearchAppInSystemRequest) GetPage() int32
func (*SearchAppInSystemRequest) GetPageSize ¶
func (m *SearchAppInSystemRequest) GetPageSize() int32
func (*SearchAppInSystemRequest) GetPermission ¶
func (m *SearchAppInSystemRequest) GetPermission() []string
func (*SearchAppInSystemRequest) GetQuery ¶
func (m *SearchAppInSystemRequest) GetQuery() *types.Struct
func (*SearchAppInSystemRequest) GetSort ¶
func (m *SearchAppInSystemRequest) GetSort() *types.Struct
func (*SearchAppInSystemRequest) GetSystemInstanceId ¶
func (m *SearchAppInSystemRequest) GetSystemInstanceId() string
func (*SearchAppInSystemRequest) ProtoMessage ¶
func (*SearchAppInSystemRequest) ProtoMessage()
func (*SearchAppInSystemRequest) Reset ¶
func (m *SearchAppInSystemRequest) Reset()
func (*SearchAppInSystemRequest) String ¶
func (m *SearchAppInSystemRequest) String() string
func (*SearchAppInSystemRequest) Validate ¶
func (this *SearchAppInSystemRequest) Validate() error
func (*SearchAppInSystemRequest) XXX_DiscardUnknown ¶
func (m *SearchAppInSystemRequest) XXX_DiscardUnknown()
func (*SearchAppInSystemRequest) XXX_Marshal ¶
func (m *SearchAppInSystemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchAppInSystemRequest) XXX_Merge ¶
func (m *SearchAppInSystemRequest) XXX_Merge(src proto.Message)
func (*SearchAppInSystemRequest) XXX_Size ¶
func (m *SearchAppInSystemRequest) XXX_Size() int
func (*SearchAppInSystemRequest) XXX_Unmarshal ¶
func (m *SearchAppInSystemRequest) XXX_Unmarshal(b []byte) error
type SearchAppInSystemResponse ¶
type SearchAppInSystemResponse struct { // //total Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total" form:"total"` // //page Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page" form:"page"` // //page_size PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //实例列表 List []*types.Struct `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SearchAppInSystem返回
func (*SearchAppInSystemResponse) Descriptor ¶
func (*SearchAppInSystemResponse) Descriptor() ([]byte, []int)
func (*SearchAppInSystemResponse) GetList ¶
func (m *SearchAppInSystemResponse) GetList() []*types.Struct
func (*SearchAppInSystemResponse) GetPage ¶
func (m *SearchAppInSystemResponse) GetPage() int32
func (*SearchAppInSystemResponse) GetPageSize ¶
func (m *SearchAppInSystemResponse) GetPageSize() int32
func (*SearchAppInSystemResponse) GetTotal ¶
func (m *SearchAppInSystemResponse) GetTotal() int32
func (*SearchAppInSystemResponse) ProtoMessage ¶
func (*SearchAppInSystemResponse) ProtoMessage()
func (*SearchAppInSystemResponse) Reset ¶
func (m *SearchAppInSystemResponse) Reset()
func (*SearchAppInSystemResponse) String ¶
func (m *SearchAppInSystemResponse) String() string
func (*SearchAppInSystemResponse) Validate ¶
func (this *SearchAppInSystemResponse) Validate() error
func (*SearchAppInSystemResponse) XXX_DiscardUnknown ¶
func (m *SearchAppInSystemResponse) XXX_DiscardUnknown()
func (*SearchAppInSystemResponse) XXX_Marshal ¶
func (m *SearchAppInSystemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchAppInSystemResponse) XXX_Merge ¶
func (m *SearchAppInSystemResponse) XXX_Merge(src proto.Message)
func (*SearchAppInSystemResponse) XXX_Size ¶
func (m *SearchAppInSystemResponse) XXX_Size() int
func (*SearchAppInSystemResponse) XXX_Unmarshal ¶
func (m *SearchAppInSystemResponse) XXX_Unmarshal(b []byte) error
type SearchAppInSystemResponseWrapper ¶
type SearchAppInSystemResponseWrapper 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 *SearchAppInSystemResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SearchAppInSystemApi返回
func (*SearchAppInSystemResponseWrapper) Descriptor ¶
func (*SearchAppInSystemResponseWrapper) Descriptor() ([]byte, []int)
func (*SearchAppInSystemResponseWrapper) GetCode ¶
func (m *SearchAppInSystemResponseWrapper) GetCode() int32
func (*SearchAppInSystemResponseWrapper) GetCodeExplain ¶
func (m *SearchAppInSystemResponseWrapper) GetCodeExplain() string
func (*SearchAppInSystemResponseWrapper) GetData ¶
func (m *SearchAppInSystemResponseWrapper) GetData() *SearchAppInSystemResponse
func (*SearchAppInSystemResponseWrapper) GetError ¶
func (m *SearchAppInSystemResponseWrapper) GetError() string
func (*SearchAppInSystemResponseWrapper) ProtoMessage ¶
func (*SearchAppInSystemResponseWrapper) ProtoMessage()
func (*SearchAppInSystemResponseWrapper) Reset ¶
func (m *SearchAppInSystemResponseWrapper) Reset()
func (*SearchAppInSystemResponseWrapper) String ¶
func (m *SearchAppInSystemResponseWrapper) String() string
func (*SearchAppInSystemResponseWrapper) Validate ¶
func (this *SearchAppInSystemResponseWrapper) Validate() error
func (*SearchAppInSystemResponseWrapper) XXX_DiscardUnknown ¶
func (m *SearchAppInSystemResponseWrapper) XXX_DiscardUnknown()
func (*SearchAppInSystemResponseWrapper) XXX_Marshal ¶
func (m *SearchAppInSystemResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchAppInSystemResponseWrapper) XXX_Merge ¶
func (m *SearchAppInSystemResponseWrapper) XXX_Merge(src proto.Message)
func (*SearchAppInSystemResponseWrapper) XXX_Size ¶
func (m *SearchAppInSystemResponseWrapper) XXX_Size() int
func (*SearchAppInSystemResponseWrapper) XXX_Unmarshal ¶
func (m *SearchAppInSystemResponseWrapper) XXX_Unmarshal(b []byte) error
type SearchSubSystemRequest ¶
type SearchSubSystemRequest struct { // //系统的实例ID SystemInstanceId string `protobuf:"bytes,1,opt,name=systemInstanceId,proto3" json:"systemInstanceId" form:"systemInstanceId"` // //页码 Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //查询条件,与[实例搜索接口]的query字段说明一致 Query *types.Struct `protobuf:"bytes,4,opt,name=query,proto3" json:"query" form:"query"` // //过滤的字段列表, 留空代表返回所有字段(true: 表示指定获取字段, false: 表示指定不获取的字段)(支持关系数据的二级jsonPath格式的指定字段如clusters.name) Fields *types.Struct `protobuf:"bytes,5,opt,name=fields,proto3" json:"fields" form:"fields"` // //按字段排序, 留空默认按照实例ID降序排序(1表示升序, -1表示降序) Sort *types.Struct `protobuf:"bytes,6,opt,name=sort,proto3" json:"sort" form:"sort"` // //按照权限过滤(通用实例都有`read`, `update`, `delete`权限控制, 主机实例在通用实例权限基础上有额外的`operate`权限, 应用实例在通用实例权限基础上有额外的`developClusterOperate`, `testClusterOperate`, `prereleaseClusterOperate`, `productionClusterOperate`权限) Permission []string `protobuf:"bytes,7,rep,name=permission,proto3" json:"permission" form:"permission"` // //对于关联的实例数据是否只获取relation_view中指定的属性, 这个字段为true时, 会覆盖fields字段中指定的二级字段设置 OnlyRelationView bool `` /* 128-byte string literal not displayed */ // //是否只获取与自己有关的那部分数据, 默认为false OnlyMyInstance bool `protobuf:"varint,9,opt,name=only_my_instance,json=onlyMyInstance,proto3" json:"only_my_instance" form:"only_my_instance"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SearchSubSystem请求
func (*SearchSubSystemRequest) Descriptor ¶
func (*SearchSubSystemRequest) Descriptor() ([]byte, []int)
func (*SearchSubSystemRequest) GetFields ¶
func (m *SearchSubSystemRequest) GetFields() *types.Struct
func (*SearchSubSystemRequest) GetOnlyMyInstance ¶
func (m *SearchSubSystemRequest) GetOnlyMyInstance() bool
func (*SearchSubSystemRequest) GetOnlyRelationView ¶
func (m *SearchSubSystemRequest) GetOnlyRelationView() bool
func (*SearchSubSystemRequest) GetPage ¶
func (m *SearchSubSystemRequest) GetPage() int32
func (*SearchSubSystemRequest) GetPageSize ¶
func (m *SearchSubSystemRequest) GetPageSize() int32
func (*SearchSubSystemRequest) GetPermission ¶
func (m *SearchSubSystemRequest) GetPermission() []string
func (*SearchSubSystemRequest) GetQuery ¶
func (m *SearchSubSystemRequest) GetQuery() *types.Struct
func (*SearchSubSystemRequest) GetSort ¶
func (m *SearchSubSystemRequest) GetSort() *types.Struct
func (*SearchSubSystemRequest) GetSystemInstanceId ¶
func (m *SearchSubSystemRequest) GetSystemInstanceId() string
func (*SearchSubSystemRequest) ProtoMessage ¶
func (*SearchSubSystemRequest) ProtoMessage()
func (*SearchSubSystemRequest) Reset ¶
func (m *SearchSubSystemRequest) Reset()
func (*SearchSubSystemRequest) String ¶
func (m *SearchSubSystemRequest) String() string
func (*SearchSubSystemRequest) Validate ¶
func (this *SearchSubSystemRequest) Validate() error
func (*SearchSubSystemRequest) XXX_DiscardUnknown ¶
func (m *SearchSubSystemRequest) XXX_DiscardUnknown()
func (*SearchSubSystemRequest) XXX_Marshal ¶
func (m *SearchSubSystemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchSubSystemRequest) XXX_Merge ¶
func (m *SearchSubSystemRequest) XXX_Merge(src proto.Message)
func (*SearchSubSystemRequest) XXX_Size ¶
func (m *SearchSubSystemRequest) XXX_Size() int
func (*SearchSubSystemRequest) XXX_Unmarshal ¶
func (m *SearchSubSystemRequest) XXX_Unmarshal(b []byte) error
type SearchSubSystemResponse ¶
type SearchSubSystemResponse struct { // //total Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total" form:"total"` // //page Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page" form:"page"` // //page_size PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //实例列表 List []*types.Struct `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SearchSubSystem返回
func (*SearchSubSystemResponse) Descriptor ¶
func (*SearchSubSystemResponse) Descriptor() ([]byte, []int)
func (*SearchSubSystemResponse) GetList ¶
func (m *SearchSubSystemResponse) GetList() []*types.Struct
func (*SearchSubSystemResponse) GetPage ¶
func (m *SearchSubSystemResponse) GetPage() int32
func (*SearchSubSystemResponse) GetPageSize ¶
func (m *SearchSubSystemResponse) GetPageSize() int32
func (*SearchSubSystemResponse) GetTotal ¶
func (m *SearchSubSystemResponse) GetTotal() int32
func (*SearchSubSystemResponse) ProtoMessage ¶
func (*SearchSubSystemResponse) ProtoMessage()
func (*SearchSubSystemResponse) Reset ¶
func (m *SearchSubSystemResponse) Reset()
func (*SearchSubSystemResponse) String ¶
func (m *SearchSubSystemResponse) String() string
func (*SearchSubSystemResponse) Validate ¶
func (this *SearchSubSystemResponse) Validate() error
func (*SearchSubSystemResponse) XXX_DiscardUnknown ¶
func (m *SearchSubSystemResponse) XXX_DiscardUnknown()
func (*SearchSubSystemResponse) XXX_Marshal ¶
func (m *SearchSubSystemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchSubSystemResponse) XXX_Merge ¶
func (m *SearchSubSystemResponse) XXX_Merge(src proto.Message)
func (*SearchSubSystemResponse) XXX_Size ¶
func (m *SearchSubSystemResponse) XXX_Size() int
func (*SearchSubSystemResponse) XXX_Unmarshal ¶
func (m *SearchSubSystemResponse) XXX_Unmarshal(b []byte) error
type SearchSubSystemResponseWrapper ¶
type SearchSubSystemResponseWrapper 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 *SearchSubSystemResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SearchSubSystemApi返回
func (*SearchSubSystemResponseWrapper) Descriptor ¶
func (*SearchSubSystemResponseWrapper) Descriptor() ([]byte, []int)
func (*SearchSubSystemResponseWrapper) GetCode ¶
func (m *SearchSubSystemResponseWrapper) GetCode() int32
func (*SearchSubSystemResponseWrapper) GetCodeExplain ¶
func (m *SearchSubSystemResponseWrapper) GetCodeExplain() string
func (*SearchSubSystemResponseWrapper) GetData ¶
func (m *SearchSubSystemResponseWrapper) GetData() *SearchSubSystemResponse
func (*SearchSubSystemResponseWrapper) GetError ¶
func (m *SearchSubSystemResponseWrapper) GetError() string
func (*SearchSubSystemResponseWrapper) ProtoMessage ¶
func (*SearchSubSystemResponseWrapper) ProtoMessage()
func (*SearchSubSystemResponseWrapper) Reset ¶
func (m *SearchSubSystemResponseWrapper) Reset()
func (*SearchSubSystemResponseWrapper) String ¶
func (m *SearchSubSystemResponseWrapper) String() string
func (*SearchSubSystemResponseWrapper) Validate ¶
func (this *SearchSubSystemResponseWrapper) Validate() error
func (*SearchSubSystemResponseWrapper) XXX_DiscardUnknown ¶
func (m *SearchSubSystemResponseWrapper) XXX_DiscardUnknown()
func (*SearchSubSystemResponseWrapper) XXX_Marshal ¶
func (m *SearchSubSystemResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchSubSystemResponseWrapper) XXX_Merge ¶
func (m *SearchSubSystemResponseWrapper) XXX_Merge(src proto.Message)
func (*SearchSubSystemResponseWrapper) XXX_Size ¶
func (m *SearchSubSystemResponseWrapper) XXX_Size() int
func (*SearchSubSystemResponseWrapper) XXX_Unmarshal ¶
func (m *SearchSubSystemResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { SearchAppInSystem(context.Context, *SearchAppInSystemRequest) (*SearchAppInSystemResponse, error) SearchSubSystem(context.Context, *SearchSubSystemRequest) (*SearchSubSystemResponse, error) }
Service is the server API for business_instance service.
Click to show internal directories.
Click to hide internal directories.