cmdb_extend

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppDependency

type AppDependency struct {
	//
	//应用简称
	Abbreviation string `protobuf:"bytes,1,opt,name=abbreviation,proto3" json:"abbreviation" form:"abbreviation"`
	//
	//应用名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"`
	//
	//模型ID
	ObjectId string `protobuf:"bytes,3,opt,name=object_id,json=objectId,proto3" json:"object_id" form:"object_id"`
	//
	//实例ID
	InstanceId string `protobuf:"bytes,4,opt,name=instance_id,json=instanceId,proto3" json:"instance_id" form:"instance_id"`
	//
	//应用层级
	XHierarchy int32 `protobuf:"varint,5,opt,name=_hierarchy,json=Hierarchy,proto3" json:"_hierarchy" form:"_hierarchy"`
	//
	//依赖服务
	DependServices       []*AppDependency_DependServices `protobuf:"bytes,6,rep,name=depend_services,json=dependServices,proto3" json:"depend_services" form:"depend_services"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

应用依赖

func (*AppDependency) Descriptor

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

func (*AppDependency) GetAbbreviation

func (m *AppDependency) GetAbbreviation() string

func (*AppDependency) GetDependServices

func (m *AppDependency) GetDependServices() []*AppDependency_DependServices

func (*AppDependency) GetInstanceId

func (m *AppDependency) GetInstanceId() string

func (*AppDependency) GetName

func (m *AppDependency) GetName() string

func (*AppDependency) GetObjectId

func (m *AppDependency) GetObjectId() string

func (*AppDependency) GetXHierarchy

func (m *AppDependency) GetXHierarchy() int32

func (*AppDependency) ProtoMessage

func (*AppDependency) ProtoMessage()

func (*AppDependency) Reset

func (m *AppDependency) Reset()

func (*AppDependency) String

func (m *AppDependency) String() string

func (*AppDependency) Validate

func (this *AppDependency) Validate() error

func (*AppDependency) XXX_DiscardUnknown

func (m *AppDependency) XXX_DiscardUnknown()

func (*AppDependency) XXX_Marshal

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

func (*AppDependency) XXX_Merge

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

func (*AppDependency) XXX_Size

func (m *AppDependency) XXX_Size() int

func (*AppDependency) XXX_Unmarshal

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

type AppDependency_DependServices

type AppDependency_DependServices struct {
	//
	//模型ID
	ObjectId string `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id" form:"object_id"`
	//
	//实例ID
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id" form:"instance_id"`
	//
	//名称
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AppDependency_DependServices) Descriptor

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

func (*AppDependency_DependServices) GetInstanceId

func (m *AppDependency_DependServices) GetInstanceId() string

func (*AppDependency_DependServices) GetName

func (m *AppDependency_DependServices) GetName() string

func (*AppDependency_DependServices) GetObjectId

func (m *AppDependency_DependServices) GetObjectId() string

func (*AppDependency_DependServices) ProtoMessage

func (*AppDependency_DependServices) ProtoMessage()

func (*AppDependency_DependServices) Reset

func (m *AppDependency_DependServices) Reset()

func (*AppDependency_DependServices) String

func (*AppDependency_DependServices) Validate

func (this *AppDependency_DependServices) Validate() error

func (*AppDependency_DependServices) XXX_DiscardUnknown

func (m *AppDependency_DependServices) XXX_DiscardUnknown()

func (*AppDependency_DependServices) XXX_Marshal

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

func (*AppDependency_DependServices) XXX_Merge

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

func (*AppDependency_DependServices) XXX_Size

func (m *AppDependency_DependServices) XXX_Size() int

func (*AppDependency_DependServices) XXX_Unmarshal

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

type AppPackage

type AppPackage struct {
	//
	//包名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
	//
	//包ID
	PackageId string `protobuf:"bytes,2,opt,name=packageId,proto3" json:"packageId" form:"packageId"`
	//
	//安装路径
	InstallPath string `protobuf:"bytes,3,opt,name=installPath,proto3" json:"installPath" form:"installPath"`
	//
	//是否主程序包
	IsMaster string `protobuf:"bytes,4,opt,name=isMaster,proto3" json:"isMaster" form:"isMaster"`
	//
	//系统类型
	Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform" form:"platform"`
	//
	//升级前停止
	PreStop int32 `protobuf:"varint,6,opt,name=preStop,proto3" json:"preStop" form:"preStop"`
	//
	//强制升级
	ForceUpdate int32 `protobuf:"varint,7,opt,name=forceUpdate,proto3" json:"forceUpdate" form:"forceUpdate"`
	//
	//升级后重启
	PostRestart int32 `protobuf:"varint,8,opt,name=postRestart,proto3" json:"postRestart" form:"postRestart"`
	//
	//安装完成自动启动
	AutoStart int32 `protobuf:"varint,9,opt,name=autoStart,proto3" json:"autoStart" form:"autoStart"`
	//
	//目标版本
	TargetVersion string `protobuf:"bytes,10,opt,name=targetVersion,proto3" json:"targetVersion" form:"targetVersion"`
	//
	//发布后检查
	UserCheck int32 `protobuf:"varint,11,opt,name=userCheck,proto3" json:"userCheck" form:"userCheck"`
	//
	//全量升级
	FullUpdate           int32    `protobuf:"varint,12,opt,name=fullUpdate,proto3" json:"fullUpdate" form:"fullUpdate"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

应用程序包

func (*AppPackage) Descriptor

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

func (*AppPackage) GetAutoStart

func (m *AppPackage) GetAutoStart() int32

func (*AppPackage) GetForceUpdate

func (m *AppPackage) GetForceUpdate() int32

func (*AppPackage) GetFullUpdate

func (m *AppPackage) GetFullUpdate() int32

func (*AppPackage) GetInstallPath

func (m *AppPackage) GetInstallPath() string

func (*AppPackage) GetIsMaster

func (m *AppPackage) GetIsMaster() string

func (*AppPackage) GetName

func (m *AppPackage) GetName() string

func (*AppPackage) GetPackageId

func (m *AppPackage) GetPackageId() string

func (*AppPackage) GetPlatform

func (m *AppPackage) GetPlatform() string

func (*AppPackage) GetPostRestart

func (m *AppPackage) GetPostRestart() int32

func (*AppPackage) GetPreStop

func (m *AppPackage) GetPreStop() int32

func (*AppPackage) GetTargetVersion

func (m *AppPackage) GetTargetVersion() string

func (*AppPackage) GetUserCheck

func (m *AppPackage) GetUserCheck() int32

func (*AppPackage) ProtoMessage

func (*AppPackage) ProtoMessage()

func (*AppPackage) Reset

func (m *AppPackage) Reset()

func (*AppPackage) String

func (m *AppPackage) String() string

func (*AppPackage) Validate

func (this *AppPackage) Validate() error

func (*AppPackage) XXX_DiscardUnknown

func (m *AppPackage) XXX_DiscardUnknown()

func (*AppPackage) XXX_Marshal

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

func (*AppPackage) XXX_Merge

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

func (*AppPackage) XXX_Size

func (m *AppPackage) XXX_Size() int

func (*AppPackage) XXX_Unmarshal

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

type AppPipeline

type AppPipeline struct {
	//
	//名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
	//
	//分类
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category" form:"category"`
	//
	//流水线Id
	FlowId string `protobuf:"bytes,3,opt,name=flowId,proto3" json:"flowId" form:"flowId"`
	//
	//流水线版本
	FlowVersion int32 `protobuf:"varint,4,opt,name=flowVersion,proto3" json:"flowVersion" form:"flowVersion"`
	//
	//模板Id
	TemplateId string `protobuf:"bytes,5,opt,name=templateId,proto3" json:"templateId" form:"templateId"`
	//
	//模板版本
	TemplateVersion int32 `protobuf:"varint,6,opt,name=templateVersion,proto3" json:"templateVersion" form:"templateVersion"`
	//
	//通知人
	Subscribers []string `protobuf:"bytes,7,rep,name=subscribers,proto3" json:"subscribers" form:"subscribers"`
	//
	//通知规则(WARNING/ALL)
	SubscribedChannel string `protobuf:"bytes,8,opt,name=subscribedChannel,proto3" json:"subscribedChannel" form:"subscribedChannel"`
	//
	//钩子触发规则, {"gitlabHooks":{"enabled":true},"subversionHooks":{"enabled":false}}
	Rules *types.Struct `protobuf:"bytes,9,opt,name=rules,proto3" json:"rules" form:"rules"`
	//
	//元数据, {"type":"development","desc":"xxx","appId":"5cc18b157f868"}
	Metadata             *types.Struct `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata" form:"metadata"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

流水线

func (*AppPipeline) Descriptor

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

func (*AppPipeline) GetCategory

func (m *AppPipeline) GetCategory() string

func (*AppPipeline) GetFlowId

func (m *AppPipeline) GetFlowId() string

func (*AppPipeline) GetFlowVersion

func (m *AppPipeline) GetFlowVersion() int32

func (*AppPipeline) GetMetadata

func (m *AppPipeline) GetMetadata() *types.Struct

func (*AppPipeline) GetName

func (m *AppPipeline) GetName() string

func (*AppPipeline) GetRules

func (m *AppPipeline) GetRules() *types.Struct

func (*AppPipeline) GetSubscribedChannel

func (m *AppPipeline) GetSubscribedChannel() string

func (*AppPipeline) GetSubscribers

func (m *AppPipeline) GetSubscribers() []string

func (*AppPipeline) GetTemplateId

func (m *AppPipeline) GetTemplateId() string

func (*AppPipeline) GetTemplateVersion

func (m *AppPipeline) GetTemplateVersion() int32

func (*AppPipeline) ProtoMessage

func (*AppPipeline) ProtoMessage()

func (*AppPipeline) Reset

func (m *AppPipeline) Reset()

func (*AppPipeline) String

func (m *AppPipeline) String() string

func (*AppPipeline) Validate

func (this *AppPipeline) Validate() error

func (*AppPipeline) XXX_DiscardUnknown

func (m *AppPipeline) XXX_DiscardUnknown()

func (*AppPipeline) XXX_Marshal

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

func (*AppPipeline) XXX_Merge

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

func (*AppPipeline) XXX_Size

func (m *AppPipeline) XXX_Size() int

func (*AppPipeline) XXX_Unmarshal

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

type ClusterPackage

type ClusterPackage struct {
	//
	//包名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
	//
	//包ID
	PackageId string `protobuf:"bytes,2,opt,name=packageId,proto3" json:"packageId" form:"packageId"`
	//
	//安装路径
	InstallPath string `protobuf:"bytes,3,opt,name=installPath,proto3" json:"installPath" form:"installPath"`
	//
	//目标版本
	TargetVersion string `protobuf:"bytes,4,opt,name=targetVersion,proto3" json:"targetVersion" form:"targetVersion"`
	//
	//配置组合id
	CombinationId        string   `protobuf:"bytes,5,opt,name=combinationId,proto3" json:"combinationId" form:"combinationId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

集群程序包

func (*ClusterPackage) Descriptor

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

func (*ClusterPackage) GetCombinationId

func (m *ClusterPackage) GetCombinationId() string

func (*ClusterPackage) GetInstallPath

func (m *ClusterPackage) GetInstallPath() string

func (*ClusterPackage) GetName

func (m *ClusterPackage) GetName() string

func (*ClusterPackage) GetPackageId

func (m *ClusterPackage) GetPackageId() string

func (*ClusterPackage) GetTargetVersion

func (m *ClusterPackage) GetTargetVersion() string

func (*ClusterPackage) ProtoMessage

func (*ClusterPackage) ProtoMessage()

func (*ClusterPackage) Reset

func (m *ClusterPackage) Reset()

func (*ClusterPackage) String

func (m *ClusterPackage) String() string

func (*ClusterPackage) Validate

func (this *ClusterPackage) Validate() error

func (*ClusterPackage) XXX_DiscardUnknown

func (m *ClusterPackage) XXX_DiscardUnknown()

func (*ClusterPackage) XXX_Marshal

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

func (*ClusterPackage) XXX_Merge

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

func (*ClusterPackage) XXX_Size

func (m *ClusterPackage) XXX_Size() int

func (*ClusterPackage) XXX_Unmarshal

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

type IdcrackUnitDevice

type IdcrackUnitDevice struct {
	//
	//实例ID
	InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"`
	//
	//设备
	Device               *IdcrackUnitDevice_Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device" form:"device"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

机柜U位设备

func (*IdcrackUnitDevice) Descriptor

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

func (*IdcrackUnitDevice) GetDevice

func (*IdcrackUnitDevice) GetInstanceId

func (m *IdcrackUnitDevice) GetInstanceId() string

func (*IdcrackUnitDevice) ProtoMessage

func (*IdcrackUnitDevice) ProtoMessage()

func (*IdcrackUnitDevice) Reset

func (m *IdcrackUnitDevice) Reset()

func (*IdcrackUnitDevice) String

func (m *IdcrackUnitDevice) String() string

func (*IdcrackUnitDevice) Validate

func (this *IdcrackUnitDevice) Validate() error

func (*IdcrackUnitDevice) XXX_DiscardUnknown

func (m *IdcrackUnitDevice) XXX_DiscardUnknown()

func (*IdcrackUnitDevice) XXX_Marshal

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

func (*IdcrackUnitDevice) XXX_Merge

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

func (*IdcrackUnitDevice) XXX_Size

func (m *IdcrackUnitDevice) XXX_Size() int

func (*IdcrackUnitDevice) XXX_Unmarshal

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

type IdcrackUnitDevice_Device

type IdcrackUnitDevice_Device struct {
	//
	//实例ID
	InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"`
	//
	//模型ID
	ObjectId string `protobuf:"bytes,2,opt,name=objectId,proto3" json:"objectId" form:"objectId"`
	//
	//开始U位
	XStartU              int32    `protobuf:"varint,3,opt,name=_startU,json=StartU,proto3" json:"_startU" form:"_startU"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IdcrackUnitDevice_Device) Descriptor

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

func (*IdcrackUnitDevice_Device) GetInstanceId

func (m *IdcrackUnitDevice_Device) GetInstanceId() string

func (*IdcrackUnitDevice_Device) GetObjectId

func (m *IdcrackUnitDevice_Device) GetObjectId() string

func (*IdcrackUnitDevice_Device) GetXStartU

func (m *IdcrackUnitDevice_Device) GetXStartU() int32

func (*IdcrackUnitDevice_Device) ProtoMessage

func (*IdcrackUnitDevice_Device) ProtoMessage()

func (*IdcrackUnitDevice_Device) Reset

func (m *IdcrackUnitDevice_Device) Reset()

func (*IdcrackUnitDevice_Device) String

func (m *IdcrackUnitDevice_Device) String() string

func (*IdcrackUnitDevice_Device) Validate

func (this *IdcrackUnitDevice_Device) Validate() error

func (*IdcrackUnitDevice_Device) XXX_DiscardUnknown

func (m *IdcrackUnitDevice_Device) XXX_DiscardUnknown()

func (*IdcrackUnitDevice_Device) XXX_Marshal

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

func (*IdcrackUnitDevice_Device) XXX_Merge

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

func (*IdcrackUnitDevice_Device) XXX_Size

func (m *IdcrackUnitDevice_Device) XXX_Size() int

func (*IdcrackUnitDevice_Device) XXX_Unmarshal

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

type IdcrackUnitInfo

type IdcrackUnitInfo struct {
	//
	//实例ID
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id" form:"instance_id"`
	//
	//u位数
	Unum int32 `protobuf:"varint,2,opt,name=unum,proto3" json:"unum" form:"unum"`
	//
	//机柜名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"`
	//
	//u位信息
	UnitInfo             *types.Struct `protobuf:"bytes,4,opt,name=unitInfo,proto3" json:"unitInfo" form:"unitInfo"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

机柜U位信息

func (*IdcrackUnitInfo) Descriptor

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

func (*IdcrackUnitInfo) GetInstanceId

func (m *IdcrackUnitInfo) GetInstanceId() string

func (*IdcrackUnitInfo) GetName

func (m *IdcrackUnitInfo) GetName() string

func (*IdcrackUnitInfo) GetUnitInfo

func (m *IdcrackUnitInfo) GetUnitInfo() *types.Struct

func (*IdcrackUnitInfo) GetUnum

func (m *IdcrackUnitInfo) GetUnum() int32

func (*IdcrackUnitInfo) ProtoMessage

func (*IdcrackUnitInfo) ProtoMessage()

func (*IdcrackUnitInfo) Reset

func (m *IdcrackUnitInfo) Reset()

func (*IdcrackUnitInfo) String

func (m *IdcrackUnitInfo) String() string

func (*IdcrackUnitInfo) Validate

func (this *IdcrackUnitInfo) Validate() error

func (*IdcrackUnitInfo) XXX_DiscardUnknown

func (m *IdcrackUnitInfo) XXX_DiscardUnknown()

func (*IdcrackUnitInfo) XXX_Marshal

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

func (*IdcrackUnitInfo) XXX_Merge

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

func (*IdcrackUnitInfo) XXX_Size

func (m *IdcrackUnitInfo) XXX_Size() int

func (*IdcrackUnitInfo) XXX_Unmarshal

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

type SubsystemDependency

type SubsystemDependency struct {
	//
	//系统简称
	Abbreviation string `protobuf:"bytes,1,opt,name=abbreviation,proto3" json:"abbreviation" form:"abbreviation"`
	//
	//系统名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"`
	//
	//模型ID
	ObjectId string `protobuf:"bytes,3,opt,name=object_id,json=objectId,proto3" json:"object_id" form:"object_id"`
	//
	//实例ID
	InstanceId string `protobuf:"bytes,4,opt,name=instance_id,json=instanceId,proto3" json:"instance_id" form:"instance_id"`
	//
	//应用依赖
	Components []*AppDependency `protobuf:"bytes,5,rep,name=components,proto3" json:"components" form:"components"`
	//
	//关联系统
	ConnectSubsystems    []*SubsystemDependency_ConnectSubsystems `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

子系统依赖

func (*SubsystemDependency) Descriptor

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

func (*SubsystemDependency) GetAbbreviation

func (m *SubsystemDependency) GetAbbreviation() string

func (*SubsystemDependency) GetComponents

func (m *SubsystemDependency) GetComponents() []*AppDependency

func (*SubsystemDependency) GetConnectSubsystems

func (m *SubsystemDependency) GetConnectSubsystems() []*SubsystemDependency_ConnectSubsystems

func (*SubsystemDependency) GetInstanceId

func (m *SubsystemDependency) GetInstanceId() string

func (*SubsystemDependency) GetName

func (m *SubsystemDependency) GetName() string

func (*SubsystemDependency) GetObjectId

func (m *SubsystemDependency) GetObjectId() string

func (*SubsystemDependency) ProtoMessage

func (*SubsystemDependency) ProtoMessage()

func (*SubsystemDependency) Reset

func (m *SubsystemDependency) Reset()

func (*SubsystemDependency) String

func (m *SubsystemDependency) String() string

func (*SubsystemDependency) Validate

func (this *SubsystemDependency) Validate() error

func (*SubsystemDependency) XXX_DiscardUnknown

func (m *SubsystemDependency) XXX_DiscardUnknown()

func (*SubsystemDependency) XXX_Marshal

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

func (*SubsystemDependency) XXX_Merge

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

func (*SubsystemDependency) XXX_Size

func (m *SubsystemDependency) XXX_Size() int

func (*SubsystemDependency) XXX_Unmarshal

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

type SubsystemDependency_ConnectSubsystems

type SubsystemDependency_ConnectSubsystems struct {
	//
	//系统简称
	Abbreviation string `protobuf:"bytes,1,opt,name=abbreviation,proto3" json:"abbreviation" form:"abbreviation"`
	//
	//模型ID
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id" form:"object_id"`
	//
	//实例ID
	InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id" form:"instance_id"`
	//
	//名称
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name" form:"name"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SubsystemDependency_ConnectSubsystems) Descriptor

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

func (*SubsystemDependency_ConnectSubsystems) GetAbbreviation

func (m *SubsystemDependency_ConnectSubsystems) GetAbbreviation() string

func (*SubsystemDependency_ConnectSubsystems) GetInstanceId

func (m *SubsystemDependency_ConnectSubsystems) GetInstanceId() string

func (*SubsystemDependency_ConnectSubsystems) GetName

func (*SubsystemDependency_ConnectSubsystems) GetObjectId

func (*SubsystemDependency_ConnectSubsystems) ProtoMessage

func (*SubsystemDependency_ConnectSubsystems) ProtoMessage()

func (*SubsystemDependency_ConnectSubsystems) Reset

func (*SubsystemDependency_ConnectSubsystems) String

func (*SubsystemDependency_ConnectSubsystems) Validate

func (*SubsystemDependency_ConnectSubsystems) XXX_DiscardUnknown

func (m *SubsystemDependency_ConnectSubsystems) XXX_DiscardUnknown()

func (*SubsystemDependency_ConnectSubsystems) XXX_Marshal

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

func (*SubsystemDependency_ConnectSubsystems) XXX_Merge

func (*SubsystemDependency_ConnectSubsystems) XXX_Size

func (*SubsystemDependency_ConnectSubsystems) XXX_Unmarshal

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

type SystemDependency

type SystemDependency struct {
	//
	//系统简称
	Abbreviation string `protobuf:"bytes,1,opt,name=abbreviation,proto3" json:"abbreviation" form:"abbreviation"`
	//
	//系统名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"`
	//
	//模型ID
	ObjectId string `protobuf:"bytes,3,opt,name=object_id,json=objectId,proto3" json:"object_id" form:"object_id"`
	//
	//实例ID
	InstanceId string `protobuf:"bytes,4,opt,name=instance_id,json=instanceId,proto3" json:"instance_id" form:"instance_id"`
	//
	//子系统依赖
	Subsystems           []*SubsystemDependency `protobuf:"bytes,5,rep,name=subsystems,proto3" json:"subsystems" form:"subsystems"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

系统依赖

func (*SystemDependency) Descriptor

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

func (*SystemDependency) GetAbbreviation

func (m *SystemDependency) GetAbbreviation() string

func (*SystemDependency) GetInstanceId

func (m *SystemDependency) GetInstanceId() string

func (*SystemDependency) GetName

func (m *SystemDependency) GetName() string

func (*SystemDependency) GetObjectId

func (m *SystemDependency) GetObjectId() string

func (*SystemDependency) GetSubsystems

func (m *SystemDependency) GetSubsystems() []*SubsystemDependency

func (*SystemDependency) ProtoMessage

func (*SystemDependency) ProtoMessage()

func (*SystemDependency) Reset

func (m *SystemDependency) Reset()

func (*SystemDependency) String

func (m *SystemDependency) String() string

func (*SystemDependency) Validate

func (this *SystemDependency) Validate() error

func (*SystemDependency) XXX_DiscardUnknown

func (m *SystemDependency) XXX_DiscardUnknown()

func (*SystemDependency) XXX_Marshal

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

func (*SystemDependency) XXX_Merge

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

func (*SystemDependency) XXX_Size

func (m *SystemDependency) XXX_Size() int

func (*SystemDependency) XXX_Unmarshal

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

type Toolkit

type Toolkit struct {
	//
	//任意门Id
	InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"`
	//
	//id,兼容老接口
	XId *types.Struct `protobuf:"bytes,2,opt,name=_id,json=Id,proto3" json:"_id" form:"_id"`
	//
	//名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"`
	//
	//类型
	Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type" form:"type"`
	//
	//样式
	Style *Toolkit_Style `protobuf:"bytes,5,opt,name=style,proto3" json:"style" form:"style"`
	//
	//流程/工具等信息, {"flowId": "xxx", "params": []}
	Metadata *types.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata" form:"metadata"`
	//
	//跳过参数二次确认
	IgnoreSecondCheck    bool     `protobuf:"varint,7,opt,name=ignoreSecondCheck,proto3" json:"ignoreSecondCheck" form:"ignoreSecondCheck"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

任意门

func (*Toolkit) Descriptor

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

func (*Toolkit) GetIgnoreSecondCheck

func (m *Toolkit) GetIgnoreSecondCheck() bool

func (*Toolkit) GetInstanceId

func (m *Toolkit) GetInstanceId() string

func (*Toolkit) GetMetadata

func (m *Toolkit) GetMetadata() *types.Struct

func (*Toolkit) GetName

func (m *Toolkit) GetName() string

func (*Toolkit) GetStyle

func (m *Toolkit) GetStyle() *Toolkit_Style

func (*Toolkit) GetType

func (m *Toolkit) GetType() string

func (*Toolkit) GetXId

func (m *Toolkit) GetXId() *types.Struct

func (*Toolkit) ProtoMessage

func (*Toolkit) ProtoMessage()

func (*Toolkit) Reset

func (m *Toolkit) Reset()

func (*Toolkit) String

func (m *Toolkit) String() string

func (*Toolkit) Validate

func (this *Toolkit) Validate() error

func (*Toolkit) XXX_DiscardUnknown

func (m *Toolkit) XXX_DiscardUnknown()

func (*Toolkit) XXX_Marshal

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

func (*Toolkit) XXX_Merge

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

func (*Toolkit) XXX_Size

func (m *Toolkit) XXX_Size() int

func (*Toolkit) XXX_Unmarshal

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

type Toolkit_Style

type Toolkit_Style struct {
	//
	//颜色
	Color string `protobuf:"bytes,1,opt,name=color,proto3" json:"color" form:"color"`
	//
	//图标
	Icon                 string   `protobuf:"bytes,2,opt,name=icon,proto3" json:"icon" form:"icon"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Toolkit_Style) Descriptor

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

func (*Toolkit_Style) GetColor

func (m *Toolkit_Style) GetColor() string

func (*Toolkit_Style) GetIcon

func (m *Toolkit_Style) GetIcon() string

func (*Toolkit_Style) ProtoMessage

func (*Toolkit_Style) ProtoMessage()

func (*Toolkit_Style) Reset

func (m *Toolkit_Style) Reset()

func (*Toolkit_Style) String

func (m *Toolkit_Style) String() string

func (*Toolkit_Style) Validate

func (this *Toolkit_Style) Validate() error

func (*Toolkit_Style) XXX_DiscardUnknown

func (m *Toolkit_Style) XXX_DiscardUnknown()

func (*Toolkit_Style) XXX_Marshal

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

func (*Toolkit_Style) XXX_Merge

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

func (*Toolkit_Style) XXX_Size

func (m *Toolkit_Style) XXX_Size() int

func (*Toolkit_Style) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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