Documentation ¶
Index ¶
- type AutoDiscoveryInstance
- func (*AutoDiscoveryInstance) Descriptor() ([]byte, []int)
- func (m *AutoDiscoveryInstance) GetHostname() string
- func (m *AutoDiscoveryInstance) GetInstanceId() string
- func (m *AutoDiscoveryInstance) GetName() string
- func (m *AutoDiscoveryInstance) GetXObjectId() string
- func (*AutoDiscoveryInstance) ProtoMessage()
- func (m *AutoDiscoveryInstance) Reset()
- func (m *AutoDiscoveryInstance) String() string
- func (this *AutoDiscoveryInstance) Validate() error
- func (m *AutoDiscoveryInstance) XXX_DiscardUnknown()
- func (m *AutoDiscoveryInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AutoDiscoveryInstance) XXX_Merge(src proto.Message)
- func (m *AutoDiscoveryInstance) XXX_Size() int
- func (m *AutoDiscoveryInstance) XXX_Unmarshal(b []byte) error
- type ClusterInfo
- func (*ClusterInfo) Descriptor() ([]byte, []int)
- func (m *ClusterInfo) GetClusterId() string
- func (m *ClusterInfo) GetName() string
- func (m *ClusterInfo) GetType() string
- func (*ClusterInfo) ProtoMessage()
- func (m *ClusterInfo) Reset()
- func (m *ClusterInfo) String() string
- func (this *ClusterInfo) Validate() error
- func (m *ClusterInfo) XXX_DiscardUnknown()
- func (m *ClusterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterInfo) XXX_Merge(src proto.Message)
- func (m *ClusterInfo) XXX_Size() int
- func (m *ClusterInfo) XXX_Unmarshal(b []byte) error
- type CmdbObject
- func (*CmdbObject) Descriptor() ([]byte, []int)
- func (m *CmdbObject) GetAttrList() []*ObjectAttr
- func (m *CmdbObject) GetCategory() string
- func (m *CmdbObject) GetCreator() string
- func (m *CmdbObject) GetCtime() string
- func (m *CmdbObject) GetDeleteAuthorizers() []string
- func (m *CmdbObject) GetIcon() string
- func (m *CmdbObject) GetIsAbstract() bool
- func (m *CmdbObject) GetMemo() string
- func (m *CmdbObject) GetModifier() string
- func (m *CmdbObject) GetMtime() string
- func (m *CmdbObject) GetName() string
- func (m *CmdbObject) GetObjectId() string
- func (m *CmdbObject) GetParentObjectId() string
- func (m *CmdbObject) GetProtected() bool
- func (m *CmdbObject) GetRelationGroups() []*ObjectRelationGroup
- func (m *CmdbObject) GetRelationList() []*ObjectRelation
- func (m *CmdbObject) GetSystem() string
- func (m *CmdbObject) GetUpdateAuthorizers() []string
- func (m *CmdbObject) GetView() *ObjectView
- func (m *CmdbObject) GetWordIndexDenied() bool
- func (m *CmdbObject) GetXTs() int32
- func (m *CmdbObject) GetXVersion() int32
- func (*CmdbObject) ProtoMessage()
- func (m *CmdbObject) Reset()
- func (m *CmdbObject) String() string
- func (this *CmdbObject) Validate() error
- func (m *CmdbObject) XXX_DiscardUnknown()
- func (m *CmdbObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CmdbObject) XXX_Merge(src proto.Message)
- func (m *CmdbObject) XXX_Size() int
- func (m *CmdbObject) XXX_Unmarshal(b []byte) error
- type FailInstance
- func (*FailInstance) Descriptor() ([]byte, []int)
- func (m *FailInstance) GetInstanceId() string
- func (m *FailInstance) GetName() string
- func (m *FailInstance) GetXObjectId() string
- func (*FailInstance) ProtoMessage()
- func (m *FailInstance) Reset()
- func (m *FailInstance) String() string
- func (this *FailInstance) Validate() error
- func (m *FailInstance) XXX_DiscardUnknown()
- func (m *FailInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FailInstance) XXX_Merge(src proto.Message)
- func (m *FailInstance) XXX_Size() int
- func (m *FailInstance) XXX_Unmarshal(b []byte) error
- type ImportResult
- func (*ImportResult) Descriptor() ([]byte, []int)
- func (m *ImportResult) GetAttrListResult() []*ImportStatus
- func (m *ImportResult) GetCategory() string
- func (m *ImportResult) GetCode() int32
- func (m *ImportResult) GetInfoResult() []*ImportStatus
- func (m *ImportResult) GetIsCreate() bool
- func (m *ImportResult) GetMemo() string
- func (m *ImportResult) GetMessage() string
- func (m *ImportResult) GetName() string
- func (m *ImportResult) GetObjectId() string
- func (m *ImportResult) GetProtected() bool
- func (m *ImportResult) GetRelationGroupResult() []*ImportStatus
- func (m *ImportResult) GetRelationListResult() []*ImportStatus
- func (m *ImportResult) GetSystem() string
- func (*ImportResult) ProtoMessage()
- func (m *ImportResult) Reset()
- func (m *ImportResult) String() string
- func (this *ImportResult) Validate() error
- func (m *ImportResult) XXX_DiscardUnknown()
- func (m *ImportResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImportResult) XXX_Merge(src proto.Message)
- func (m *ImportResult) XXX_Size() int
- func (m *ImportResult) XXX_Unmarshal(b []byte) error
- type ImportStatus
- func (*ImportStatus) Descriptor() ([]byte, []int)
- func (m *ImportStatus) GetCode() int32
- func (m *ImportStatus) GetId() string
- func (m *ImportStatus) GetMessage() string
- func (m *ImportStatus) GetName() string
- func (*ImportStatus) ProtoMessage()
- func (m *ImportStatus) Reset()
- func (m *ImportStatus) String() string
- func (this *ImportStatus) Validate() error
- func (m *ImportStatus) XXX_DiscardUnknown()
- func (m *ImportStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImportStatus) XXX_Merge(src proto.Message)
- func (m *ImportStatus) XXX_Size() int
- func (m *ImportStatus) XXX_Unmarshal(b []byte) error
- type InstanceQueryStrategy
- func (*InstanceQueryStrategy) Descriptor() ([]byte, []int)
- func (m *InstanceQueryStrategy) GetCreator() string
- func (m *InstanceQueryStrategy) GetCtime() string
- func (m *InstanceQueryStrategy) GetId() string
- func (m *InstanceQueryStrategy) GetInstanceType() string
- func (m *InstanceQueryStrategy) GetName() string
- func (m *InstanceQueryStrategy) GetObjectId() string
- func (m *InstanceQueryStrategy) GetQuery() *types.Struct
- func (m *InstanceQueryStrategy) GetType() string
- func (*InstanceQueryStrategy) ProtoMessage()
- func (m *InstanceQueryStrategy) Reset()
- func (m *InstanceQueryStrategy) String() string
- func (this *InstanceQueryStrategy) Validate() error
- func (m *InstanceQueryStrategy) XXX_DiscardUnknown()
- func (m *InstanceQueryStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstanceQueryStrategy) XXX_Merge(src proto.Message)
- func (m *InstanceQueryStrategy) XXX_Size() int
- func (m *InstanceQueryStrategy) XXX_Unmarshal(b []byte) error
- type InstanceRelationPair
- func (*InstanceRelationPair) Descriptor() ([]byte, []int)
- func (m *InstanceRelationPair) GetLeftInstanceId() string
- func (m *InstanceRelationPair) GetRightInstanceId() string
- func (*InstanceRelationPair) ProtoMessage()
- func (m *InstanceRelationPair) Reset()
- func (m *InstanceRelationPair) String() string
- func (this *InstanceRelationPair) Validate() error
- func (m *InstanceRelationPair) XXX_DiscardUnknown()
- func (m *InstanceRelationPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstanceRelationPair) XXX_Merge(src proto.Message)
- func (m *InstanceRelationPair) XXX_Size() int
- func (m *InstanceRelationPair) XXX_Unmarshal(b []byte) error
- type InstanceRelationRequest
- func (*InstanceRelationRequest) Descriptor() ([]byte, []int)
- func (m *InstanceRelationRequest) GetInstanceIds() []string
- func (m *InstanceRelationRequest) GetRelatedInstanceIds() []string
- func (*InstanceRelationRequest) ProtoMessage()
- func (m *InstanceRelationRequest) Reset()
- func (m *InstanceRelationRequest) String() string
- func (this *InstanceRelationRequest) Validate() error
- func (m *InstanceRelationRequest) XXX_DiscardUnknown()
- func (m *InstanceRelationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstanceRelationRequest) XXX_Merge(src proto.Message)
- func (m *InstanceRelationRequest) XXX_Size() int
- func (m *InstanceRelationRequest) XXX_Unmarshal(b []byte) error
- type InstanceTreeChildNode
- func (*InstanceTreeChildNode) Descriptor() ([]byte, []int)
- func (m *InstanceTreeChildNode) GetChild() []*InstanceTreeChildNode
- func (m *InstanceTreeChildNode) GetFields() *types.Struct
- func (m *InstanceTreeChildNode) GetIgnoreSingle() bool
- func (m *InstanceTreeChildNode) GetRelationFieldId() string
- func (*InstanceTreeChildNode) ProtoMessage()
- func (m *InstanceTreeChildNode) Reset()
- func (m *InstanceTreeChildNode) String() string
- func (this *InstanceTreeChildNode) Validate() error
- func (m *InstanceTreeChildNode) XXX_DiscardUnknown()
- func (m *InstanceTreeChildNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstanceTreeChildNode) XXX_Merge(src proto.Message)
- func (m *InstanceTreeChildNode) XXX_Size() int
- func (m *InstanceTreeChildNode) XXX_Unmarshal(b []byte) error
- type InstanceTreeRootNode
- func (*InstanceTreeRootNode) Descriptor() ([]byte, []int)
- func (m *InstanceTreeRootNode) GetChild() []*InstanceTreeChildNode
- func (m *InstanceTreeRootNode) GetFields() *types.Struct
- func (m *InstanceTreeRootNode) GetObjectId() string
- func (m *InstanceTreeRootNode) GetQuery() *types.Struct
- func (*InstanceTreeRootNode) ProtoMessage()
- func (m *InstanceTreeRootNode) Reset()
- func (m *InstanceTreeRootNode) String() string
- func (this *InstanceTreeRootNode) Validate() error
- func (m *InstanceTreeRootNode) XXX_DiscardUnknown()
- func (m *InstanceTreeRootNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstanceTreeRootNode) XXX_Merge(src proto.Message)
- func (m *InstanceTreeRootNode) XXX_Size() int
- func (m *InstanceTreeRootNode) XXX_Unmarshal(b []byte) error
- type ObjectAttr
- func (*ObjectAttr) Descriptor() ([]byte, []int)
- func (m *ObjectAttr) GetCustom() string
- func (m *ObjectAttr) GetDescription() string
- func (m *ObjectAttr) GetId() string
- func (m *ObjectAttr) GetIsInherit() bool
- func (m *ObjectAttr) GetName() string
- func (m *ObjectAttr) GetProtected() bool
- func (m *ObjectAttr) GetReadonly() string
- func (m *ObjectAttr) GetRequired() string
- func (m *ObjectAttr) GetTag() []string
- func (m *ObjectAttr) GetTips() string
- func (m *ObjectAttr) GetUnique() string
- func (m *ObjectAttr) GetValue() *ObjectAttrValue
- func (m *ObjectAttr) GetWordIndexDenied() bool
- func (*ObjectAttr) ProtoMessage()
- func (m *ObjectAttr) Reset()
- func (m *ObjectAttr) String() string
- func (this *ObjectAttr) Validate() error
- func (m *ObjectAttr) XXX_DiscardUnknown()
- func (m *ObjectAttr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectAttr) XXX_Merge(src proto.Message)
- func (m *ObjectAttr) XXX_Size() int
- func (m *ObjectAttr) XXX_Unmarshal(b []byte) error
- type ObjectAttrValue
- func (*ObjectAttrValue) Descriptor() ([]byte, []int)
- func (m *ObjectAttrValue) GetDefault() *types.Value
- func (m *ObjectAttrValue) GetDefaultType() string
- func (m *ObjectAttrValue) GetMode() string
- func (m *ObjectAttrValue) GetPrefix() string
- func (m *ObjectAttrValue) GetRegex() *types.Value
- func (m *ObjectAttrValue) GetSeriesNumberLength() int32
- func (m *ObjectAttrValue) GetStartValue() int32
- func (m *ObjectAttrValue) GetStructDefine() []*ObjectAttrValueStruct
- func (m *ObjectAttrValue) GetType() string
- func (*ObjectAttrValue) ProtoMessage()
- func (m *ObjectAttrValue) Reset()
- func (m *ObjectAttrValue) String() string
- func (this *ObjectAttrValue) Validate() error
- func (m *ObjectAttrValue) XXX_DiscardUnknown()
- func (m *ObjectAttrValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectAttrValue) XXX_Merge(src proto.Message)
- func (m *ObjectAttrValue) XXX_Size() int
- func (m *ObjectAttrValue) XXX_Unmarshal(b []byte) error
- type ObjectAttrValueStruct
- func (*ObjectAttrValueStruct) Descriptor() ([]byte, []int)
- func (m *ObjectAttrValueStruct) GetId() string
- func (m *ObjectAttrValueStruct) GetName() string
- func (m *ObjectAttrValueStruct) GetProtected() bool
- func (m *ObjectAttrValueStruct) GetRegex() *types.Value
- func (m *ObjectAttrValueStruct) GetType() string
- func (*ObjectAttrValueStruct) ProtoMessage()
- func (m *ObjectAttrValueStruct) Reset()
- func (m *ObjectAttrValueStruct) String() string
- func (this *ObjectAttrValueStruct) Validate() error
- func (m *ObjectAttrValueStruct) XXX_DiscardUnknown()
- func (m *ObjectAttrValueStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectAttrValueStruct) XXX_Merge(src proto.Message)
- func (m *ObjectAttrValueStruct) XXX_Size() int
- func (m *ObjectAttrValueStruct) XXX_Unmarshal(b []byte) error
- type ObjectImport
- func (*ObjectImport) Descriptor() ([]byte, []int)
- func (m *ObjectImport) GetAttrList() []*ObjectImport_AttrList
- func (m *ObjectImport) GetCategory() string
- func (m *ObjectImport) GetIcon() string
- func (m *ObjectImport) GetMemo() string
- func (m *ObjectImport) GetName() string
- func (m *ObjectImport) GetObjectId() string
- func (m *ObjectImport) GetRelationGroups() []*ObjectImport_RelationGroups
- func (m *ObjectImport) GetRelationList() []*ObjectImport_RelationList
- func (*ObjectImport) ProtoMessage()
- func (m *ObjectImport) Reset()
- func (m *ObjectImport) String() string
- func (this *ObjectImport) Validate() error
- func (m *ObjectImport) XXX_DiscardUnknown()
- func (m *ObjectImport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectImport) XXX_Merge(src proto.Message)
- func (m *ObjectImport) XXX_Size() int
- func (m *ObjectImport) XXX_Unmarshal(b []byte) error
- type ObjectImport_AttrList
- func (*ObjectImport_AttrList) Descriptor() ([]byte, []int)
- func (m *ObjectImport_AttrList) GetDescription() string
- func (m *ObjectImport_AttrList) GetId() string
- func (m *ObjectImport_AttrList) GetName() string
- func (m *ObjectImport_AttrList) GetReadonly() string
- func (m *ObjectImport_AttrList) GetRequired() string
- func (m *ObjectImport_AttrList) GetTag() []string
- func (m *ObjectImport_AttrList) GetTips() string
- func (m *ObjectImport_AttrList) GetUnique() string
- func (m *ObjectImport_AttrList) GetValue() *ObjectAttrValue
- func (*ObjectImport_AttrList) ProtoMessage()
- func (m *ObjectImport_AttrList) Reset()
- func (m *ObjectImport_AttrList) String() string
- func (this *ObjectImport_AttrList) Validate() error
- func (m *ObjectImport_AttrList) XXX_DiscardUnknown()
- func (m *ObjectImport_AttrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectImport_AttrList) XXX_Merge(src proto.Message)
- func (m *ObjectImport_AttrList) XXX_Size() int
- func (m *ObjectImport_AttrList) XXX_Unmarshal(b []byte) error
- type ObjectImport_RelationGroups
- func (*ObjectImport_RelationGroups) Descriptor() ([]byte, []int)
- func (m *ObjectImport_RelationGroups) GetId() string
- func (m *ObjectImport_RelationGroups) GetName() string
- func (*ObjectImport_RelationGroups) ProtoMessage()
- func (m *ObjectImport_RelationGroups) Reset()
- func (m *ObjectImport_RelationGroups) String() string
- func (this *ObjectImport_RelationGroups) Validate() error
- func (m *ObjectImport_RelationGroups) XXX_DiscardUnknown()
- func (m *ObjectImport_RelationGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectImport_RelationGroups) XXX_Merge(src proto.Message)
- func (m *ObjectImport_RelationGroups) XXX_Size() int
- func (m *ObjectImport_RelationGroups) XXX_Unmarshal(b []byte) error
- type ObjectImport_RelationList
- func (*ObjectImport_RelationList) Descriptor() ([]byte, []int)
- func (m *ObjectImport_RelationList) GetLeftDescription() string
- func (m *ObjectImport_RelationList) GetLeftGroups() []string
- func (m *ObjectImport_RelationList) GetLeftId() string
- func (m *ObjectImport_RelationList) GetLeftMax() int32
- func (m *ObjectImport_RelationList) GetLeftMin() int32
- func (m *ObjectImport_RelationList) GetLeftObjectId() string
- func (m *ObjectImport_RelationList) GetLeftTags() []string
- func (m *ObjectImport_RelationList) GetName() string
- func (m *ObjectImport_RelationList) GetRightDescription() string
- func (m *ObjectImport_RelationList) GetRightGroups() []string
- func (m *ObjectImport_RelationList) GetRightId() string
- func (m *ObjectImport_RelationList) GetRightMax() int32
- func (m *ObjectImport_RelationList) GetRightMin() int32
- func (m *ObjectImport_RelationList) GetRightObjectId() string
- func (m *ObjectImport_RelationList) GetRightTags() []string
- func (*ObjectImport_RelationList) ProtoMessage()
- func (m *ObjectImport_RelationList) Reset()
- func (m *ObjectImport_RelationList) String() string
- func (this *ObjectImport_RelationList) Validate() error
- func (m *ObjectImport_RelationList) XXX_DiscardUnknown()
- func (m *ObjectImport_RelationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectImport_RelationList) XXX_Merge(src proto.Message)
- func (m *ObjectImport_RelationList) XXX_Size() int
- func (m *ObjectImport_RelationList) XXX_Unmarshal(b []byte) error
- type ObjectRelation
- func (*ObjectRelation) Descriptor() ([]byte, []int)
- func (m *ObjectRelation) GetCreator() string
- func (m *ObjectRelation) GetCtime() string
- func (m *ObjectRelation) GetIsInherit() bool
- func (m *ObjectRelation) GetLeftDescription() string
- func (m *ObjectRelation) GetLeftGroups() []string
- func (m *ObjectRelation) GetLeftId() string
- func (m *ObjectRelation) GetLeftMax() int32
- func (m *ObjectRelation) GetLeftMin() int32
- func (m *ObjectRelation) GetLeftName() string
- func (m *ObjectRelation) GetLeftObjectId() string
- func (m *ObjectRelation) GetLeftTags() []string
- func (m *ObjectRelation) GetName() string
- func (m *ObjectRelation) GetProtected() bool
- func (m *ObjectRelation) GetRelationId() string
- func (m *ObjectRelation) GetRightDescription() string
- func (m *ObjectRelation) GetRightGroups() []string
- func (m *ObjectRelation) GetRightId() string
- func (m *ObjectRelation) GetRightMax() int32
- func (m *ObjectRelation) GetRightMin() int32
- func (m *ObjectRelation) GetRightName() string
- func (m *ObjectRelation) GetRightObjectId() string
- func (m *ObjectRelation) GetRightTags() []string
- func (m *ObjectRelation) GetXTs() int32
- func (m *ObjectRelation) GetXVersion() int32
- func (*ObjectRelation) ProtoMessage()
- func (m *ObjectRelation) Reset()
- func (m *ObjectRelation) String() string
- func (this *ObjectRelation) Validate() error
- func (m *ObjectRelation) XXX_DiscardUnknown()
- func (m *ObjectRelation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectRelation) XXX_Merge(src proto.Message)
- func (m *ObjectRelation) XXX_Size() int
- func (m *ObjectRelation) XXX_Unmarshal(b []byte) error
- type ObjectRelationGroup
- func (*ObjectRelationGroup) Descriptor() ([]byte, []int)
- func (m *ObjectRelationGroup) GetId() string
- func (m *ObjectRelationGroup) GetName() string
- func (m *ObjectRelationGroup) GetProtected() bool
- func (*ObjectRelationGroup) ProtoMessage()
- func (m *ObjectRelationGroup) Reset()
- func (m *ObjectRelationGroup) String() string
- func (this *ObjectRelationGroup) Validate() error
- func (m *ObjectRelationGroup) XXX_DiscardUnknown()
- func (m *ObjectRelationGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectRelationGroup) XXX_Merge(src proto.Message)
- func (m *ObjectRelationGroup) XXX_Size() int
- func (m *ObjectRelationGroup) XXX_Unmarshal(b []byte) error
- type ObjectView
- func (*ObjectView) Descriptor() ([]byte, []int)
- func (m *ObjectView) GetAttrAuthorizers() *types.Struct
- func (m *ObjectView) GetAttrOrder() []string
- func (m *ObjectView) GetHideColumns() []string
- func (m *ObjectView) GetRelationView() *types.Value
- func (m *ObjectView) GetShowHideAttrs() bool
- func (m *ObjectView) GetShowKey() []string
- func (m *ObjectView) GetVisible() bool
- func (*ObjectView) ProtoMessage()
- func (m *ObjectView) Reset()
- func (m *ObjectView) String() string
- func (this *ObjectView) Validate() error
- func (m *ObjectView) XXX_DiscardUnknown()
- func (m *ObjectView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectView) XXX_Merge(src proto.Message)
- func (m *ObjectView) XXX_Size() int
- func (m *ObjectView) XXX_Unmarshal(b []byte) error
- type RelationQueryStrategyV2
- func (*RelationQueryStrategyV2) Descriptor() ([]byte, []int)
- func (m *RelationQueryStrategyV2) GetByPath() string
- func (m *RelationQueryStrategyV2) GetCreator() string
- func (m *RelationQueryStrategyV2) GetCtime() string
- func (m *RelationQueryStrategyV2) GetId() string
- func (m *RelationQueryStrategyV2) GetName() string
- func (m *RelationQueryStrategyV2) GetObjectId() string
- func (m *RelationQueryStrategyV2) GetPathList() []*types.Struct
- func (m *RelationQueryStrategyV2) GetType() string
- func (*RelationQueryStrategyV2) ProtoMessage()
- func (m *RelationQueryStrategyV2) Reset()
- func (m *RelationQueryStrategyV2) String() string
- func (this *RelationQueryStrategyV2) Validate() error
- func (m *RelationQueryStrategyV2) XXX_DiscardUnknown()
- func (m *RelationQueryStrategyV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelationQueryStrategyV2) XXX_Merge(src proto.Message)
- func (m *RelationQueryStrategyV2) XXX_Size() int
- func (m *RelationQueryStrategyV2) XXX_Unmarshal(b []byte) error
- type StrategyPathNode
- func (*StrategyPathNode) Descriptor() ([]byte, []int)
- func (m *StrategyPathNode) GetFields() []*StrategyPathNode_Fields
- func (m *StrategyPathNode) GetObjectId() string
- func (m *StrategyPathNode) GetQuery() *types.Struct
- func (m *StrategyPathNode) GetRelationDescription() string
- func (m *StrategyPathNode) GetRelationId() string
- func (m *StrategyPathNode) GetRelationSideId() string
- func (*StrategyPathNode) ProtoMessage()
- func (m *StrategyPathNode) Reset()
- func (m *StrategyPathNode) String() string
- func (this *StrategyPathNode) Validate() error
- func (m *StrategyPathNode) XXX_DiscardUnknown()
- func (m *StrategyPathNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StrategyPathNode) XXX_Merge(src proto.Message)
- func (m *StrategyPathNode) XXX_Size() int
- func (m *StrategyPathNode) XXX_Unmarshal(b []byte) error
- type StrategyPathNode_Fields
- func (*StrategyPathNode_Fields) Descriptor() ([]byte, []int)
- func (m *StrategyPathNode_Fields) GetAliasId() string
- func (m *StrategyPathNode_Fields) GetId() string
- func (*StrategyPathNode_Fields) ProtoMessage()
- func (m *StrategyPathNode_Fields) Reset()
- func (m *StrategyPathNode_Fields) String() string
- func (this *StrategyPathNode_Fields) Validate() error
- func (m *StrategyPathNode_Fields) XXX_DiscardUnknown()
- func (m *StrategyPathNode_Fields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StrategyPathNode_Fields) XXX_Merge(src proto.Message)
- func (m *StrategyPathNode_Fields) XXX_Size() int
- func (m *StrategyPathNode_Fields) XXX_Unmarshal(b []byte) error
- type TFLockInfo
- func (*TFLockInfo) Descriptor() ([]byte, []int)
- func (m *TFLockInfo) GetCreated() string
- func (m *TFLockInfo) GetID() string
- func (m *TFLockInfo) GetInfo() string
- func (m *TFLockInfo) GetOperation() string
- func (m *TFLockInfo) GetPath() string
- func (m *TFLockInfo) GetVersion() string
- func (m *TFLockInfo) GetWho() string
- func (*TFLockInfo) ProtoMessage()
- func (m *TFLockInfo) Reset()
- func (m *TFLockInfo) String() string
- func (this *TFLockInfo) Validate() error
- func (m *TFLockInfo) XXX_DiscardUnknown()
- func (m *TFLockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TFLockInfo) XXX_Merge(src proto.Message)
- func (m *TFLockInfo) XXX_Size() int
- func (m *TFLockInfo) XXX_Unmarshal(b []byte) error
- type TFStateV4
- func (*TFStateV4) Descriptor() ([]byte, []int)
- func (m *TFStateV4) GetLineage() string
- func (m *TFStateV4) GetOutputs() *types.Struct
- func (m *TFStateV4) GetResources() []*TFStateV4_Resources
- func (m *TFStateV4) GetSerial() int32
- func (m *TFStateV4) GetTerraformVersion() string
- func (m *TFStateV4) GetVersion() int32
- func (*TFStateV4) ProtoMessage()
- func (m *TFStateV4) Reset()
- func (m *TFStateV4) String() string
- func (this *TFStateV4) Validate() error
- func (m *TFStateV4) XXX_DiscardUnknown()
- func (m *TFStateV4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TFStateV4) XXX_Merge(src proto.Message)
- func (m *TFStateV4) XXX_Size() int
- func (m *TFStateV4) XXX_Unmarshal(b []byte) error
- type TFStateV4_Resources
- func (*TFStateV4_Resources) Descriptor() ([]byte, []int)
- func (m *TFStateV4_Resources) GetInstances() []*types.Struct
- func (m *TFStateV4_Resources) GetMode() string
- func (m *TFStateV4_Resources) GetName() string
- func (m *TFStateV4_Resources) GetProvider() string
- func (m *TFStateV4_Resources) GetType() string
- func (*TFStateV4_Resources) ProtoMessage()
- func (m *TFStateV4_Resources) Reset()
- func (m *TFStateV4_Resources) String() string
- func (this *TFStateV4_Resources) Validate() error
- func (m *TFStateV4_Resources) XXX_DiscardUnknown()
- func (m *TFStateV4_Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TFStateV4_Resources) XXX_Merge(src proto.Message)
- func (m *TFStateV4_Resources) XXX_Size() int
- func (m *TFStateV4_Resources) XXX_Unmarshal(b []byte) error
- type TraverseChildNode
- func (*TraverseChildNode) Descriptor() ([]byte, []int)
- func (m *TraverseChildNode) GetChild() []*TraverseChildNode
- func (m *TraverseChildNode) GetDepth() int32
- func (m *TraverseChildNode) GetFields() *types.Struct
- func (m *TraverseChildNode) GetParentOut() string
- func (m *TraverseChildNode) GetQuery() *types.Struct
- func (*TraverseChildNode) ProtoMessage()
- func (m *TraverseChildNode) Reset()
- func (m *TraverseChildNode) String() string
- func (this *TraverseChildNode) Validate() error
- func (m *TraverseChildNode) XXX_DiscardUnknown()
- func (m *TraverseChildNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TraverseChildNode) XXX_Merge(src proto.Message)
- func (m *TraverseChildNode) XXX_Size() int
- func (m *TraverseChildNode) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetCode() string
- func (m *User) GetInstanceId() string
- func (m *User) GetName() string
- func (m *User) GetNickname() string
- func (m *User) GetState() string
- func (m *User) GetUserEmail() string
- func (m *User) GetUserMemo() string
- func (m *User) GetUserPhone() string
- func (m *User) GetUserTel() string
- func (m *User) GetUserType() string
- func (m *User) GetUserWechat() string
- func (m *User) GetWeworkUserid() string
- func (m *User) GetXIsAutoDescovery() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (this *User) Validate() error
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoDiscoveryInstance ¶
type AutoDiscoveryInstance struct { // //左侧实例id InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //右侧实例id XObjectId string `protobuf:"bytes,2,opt,name=_object_id,json=ObjectId,proto3" json:"_object_id" form:"_object_id"` // //[废弃字段] 实例名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"` // //[废弃字段] 主机实例名称 Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname" form:"hostname"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
关系自动发现接口响应 - 关联的实例详情
func (*AutoDiscoveryInstance) Descriptor ¶
func (*AutoDiscoveryInstance) Descriptor() ([]byte, []int)
func (*AutoDiscoveryInstance) GetHostname ¶
func (m *AutoDiscoveryInstance) GetHostname() string
func (*AutoDiscoveryInstance) GetInstanceId ¶
func (m *AutoDiscoveryInstance) GetInstanceId() string
func (*AutoDiscoveryInstance) GetName ¶
func (m *AutoDiscoveryInstance) GetName() string
func (*AutoDiscoveryInstance) GetXObjectId ¶
func (m *AutoDiscoveryInstance) GetXObjectId() string
func (*AutoDiscoveryInstance) ProtoMessage ¶
func (*AutoDiscoveryInstance) ProtoMessage()
func (*AutoDiscoveryInstance) Reset ¶
func (m *AutoDiscoveryInstance) Reset()
func (*AutoDiscoveryInstance) String ¶
func (m *AutoDiscoveryInstance) String() string
func (*AutoDiscoveryInstance) Validate ¶
func (this *AutoDiscoveryInstance) Validate() error
func (*AutoDiscoveryInstance) XXX_DiscardUnknown ¶
func (m *AutoDiscoveryInstance) XXX_DiscardUnknown()
func (*AutoDiscoveryInstance) XXX_Marshal ¶
func (m *AutoDiscoveryInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AutoDiscoveryInstance) XXX_Merge ¶
func (m *AutoDiscoveryInstance) XXX_Merge(src proto.Message)
func (*AutoDiscoveryInstance) XXX_Size ¶
func (m *AutoDiscoveryInstance) XXX_Size() int
func (*AutoDiscoveryInstance) XXX_Unmarshal ¶
func (m *AutoDiscoveryInstance) XXX_Unmarshal(b []byte) error
type ClusterInfo ¶
type ClusterInfo struct { // //集群Id ClusterId string `protobuf:"bytes,1,opt,name=clusterId,proto3" json:"clusterId" form:"clusterId"` // //类型 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"` // //名称 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 (*ClusterInfo) Descriptor ¶
func (*ClusterInfo) Descriptor() ([]byte, []int)
func (*ClusterInfo) GetClusterId ¶
func (m *ClusterInfo) GetClusterId() string
func (*ClusterInfo) GetName ¶
func (m *ClusterInfo) GetName() string
func (*ClusterInfo) GetType ¶
func (m *ClusterInfo) GetType() string
func (*ClusterInfo) ProtoMessage ¶
func (*ClusterInfo) ProtoMessage()
func (*ClusterInfo) Reset ¶
func (m *ClusterInfo) Reset()
func (*ClusterInfo) String ¶
func (m *ClusterInfo) String() string
func (*ClusterInfo) Validate ¶
func (this *ClusterInfo) Validate() error
func (*ClusterInfo) XXX_DiscardUnknown ¶
func (m *ClusterInfo) XXX_DiscardUnknown()
func (*ClusterInfo) XXX_Marshal ¶
func (m *ClusterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterInfo) XXX_Merge ¶
func (m *ClusterInfo) XXX_Merge(src proto.Message)
func (*ClusterInfo) XXX_Size ¶
func (m *ClusterInfo) XXX_Size() int
func (*ClusterInfo) XXX_Unmarshal ¶
func (m *ClusterInfo) XXX_Unmarshal(b []byte) error
type CmdbObject ¶
type CmdbObject struct { // //名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //objectId ObjectId string `protobuf:"bytes,2,opt,name=objectId,proto3" json:"objectId" form:"objectId"` // //备注 Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo" form:"memo"` // //属性列表 AttrList []*ObjectAttr `protobuf:"bytes,4,rep,name=attrList,proto3" json:"attrList" form:"attrList"` // //关系列表 RelationList []*ObjectRelation `protobuf:"bytes,5,rep,name=relation_list,json=relationList,proto3" json:"relation_list" form:"relation_list"` // //关系分组 RelationGroups []*ObjectRelationGroup `protobuf:"bytes,6,rep,name=relation_groups,json=relationGroups,proto3" json:"relation_groups" form:"relation_groups"` // //视图设置 View *ObjectView `protobuf:"bytes,7,opt,name=view,proto3" json:"view" form:"view"` // //true 内置模型,false 用户自定义模型 Protected bool `protobuf:"varint,8,opt,name=protected,proto3" json:"protected" form:"protected"` // //当为 true 时,不纳入全文搜索 WordIndexDenied bool `protobuf:"varint,9,opt,name=wordIndexDenied,proto3" json:"wordIndexDenied" form:"wordIndexDenied"` // //分类 Category string `protobuf:"bytes,10,opt,name=category,proto3" json:"category" form:"category"` // //模型图标 Icon string `protobuf:"bytes,11,opt,name=icon,proto3" json:"icon" form:"icon"` // //模型所属小产品,有值则会在界面隐藏该模型 System string `protobuf:"bytes,12,opt,name=system,proto3" json:"system" form:"system"` // //创建时间 Ctime string `protobuf:"bytes,13,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //修改时间 Mtime string `protobuf:"bytes,14,opt,name=mtime,proto3" json:"mtime" form:"mtime"` // //创建者 Creator string `protobuf:"bytes,15,opt,name=creator,proto3" json:"creator" form:"creator"` // //修改者 Modifier string `protobuf:"bytes,16,opt,name=modifier,proto3" json:"modifier" form:"modifier"` // //创建时间的时间截 XTs int32 `protobuf:"varint,17,opt,name=_ts,json=Ts,proto3" json:"_ts" form:"_ts"` // //模型版本 XVersion int32 `protobuf:"varint,18,opt,name=_version,json=Version,proto3" json:"_version" form:"_version"` // //编辑权限白名单 UpdateAuthorizers []string `protobuf:"bytes,19,rep,name=updateAuthorizers,proto3" json:"updateAuthorizers" form:"updateAuthorizers"` // //删除权限白名单 DeleteAuthorizers []string `protobuf:"bytes,20,rep,name=deleteAuthorizers,proto3" json:"deleteAuthorizers" form:"deleteAuthorizers"` // //是否是抽象模型(父模型) IsAbstract bool `protobuf:"varint,21,opt,name=isAbstract,proto3" json:"isAbstract" form:"isAbstract"` // //所属父模型 ParentObjectId string `protobuf:"bytes,22,opt,name=parentObjectId,proto3" json:"parentObjectId" form:"parentObjectId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
模型
func (*CmdbObject) Descriptor ¶
func (*CmdbObject) Descriptor() ([]byte, []int)
func (*CmdbObject) GetAttrList ¶
func (m *CmdbObject) GetAttrList() []*ObjectAttr
func (*CmdbObject) GetCategory ¶
func (m *CmdbObject) GetCategory() string
func (*CmdbObject) GetCreator ¶
func (m *CmdbObject) GetCreator() string
func (*CmdbObject) GetCtime ¶
func (m *CmdbObject) GetCtime() string
func (*CmdbObject) GetDeleteAuthorizers ¶
func (m *CmdbObject) GetDeleteAuthorizers() []string
func (*CmdbObject) GetIcon ¶
func (m *CmdbObject) GetIcon() string
func (*CmdbObject) GetIsAbstract ¶
func (m *CmdbObject) GetIsAbstract() bool
func (*CmdbObject) GetMemo ¶
func (m *CmdbObject) GetMemo() string
func (*CmdbObject) GetModifier ¶
func (m *CmdbObject) GetModifier() string
func (*CmdbObject) GetMtime ¶
func (m *CmdbObject) GetMtime() string
func (*CmdbObject) GetName ¶
func (m *CmdbObject) GetName() string
func (*CmdbObject) GetObjectId ¶
func (m *CmdbObject) GetObjectId() string
func (*CmdbObject) GetParentObjectId ¶
func (m *CmdbObject) GetParentObjectId() string
func (*CmdbObject) GetProtected ¶
func (m *CmdbObject) GetProtected() bool
func (*CmdbObject) GetRelationGroups ¶
func (m *CmdbObject) GetRelationGroups() []*ObjectRelationGroup
func (*CmdbObject) GetRelationList ¶
func (m *CmdbObject) GetRelationList() []*ObjectRelation
func (*CmdbObject) GetSystem ¶
func (m *CmdbObject) GetSystem() string
func (*CmdbObject) GetUpdateAuthorizers ¶
func (m *CmdbObject) GetUpdateAuthorizers() []string
func (*CmdbObject) GetView ¶
func (m *CmdbObject) GetView() *ObjectView
func (*CmdbObject) GetWordIndexDenied ¶
func (m *CmdbObject) GetWordIndexDenied() bool
func (*CmdbObject) GetXTs ¶
func (m *CmdbObject) GetXTs() int32
func (*CmdbObject) GetXVersion ¶
func (m *CmdbObject) GetXVersion() int32
func (*CmdbObject) ProtoMessage ¶
func (*CmdbObject) ProtoMessage()
func (*CmdbObject) Reset ¶
func (m *CmdbObject) Reset()
func (*CmdbObject) String ¶
func (m *CmdbObject) String() string
func (*CmdbObject) Validate ¶
func (this *CmdbObject) Validate() error
func (*CmdbObject) XXX_DiscardUnknown ¶
func (m *CmdbObject) XXX_DiscardUnknown()
func (*CmdbObject) XXX_Marshal ¶
func (m *CmdbObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CmdbObject) XXX_Merge ¶
func (m *CmdbObject) XXX_Merge(src proto.Message)
func (*CmdbObject) XXX_Size ¶
func (m *CmdbObject) XXX_Size() int
func (*CmdbObject) XXX_Unmarshal ¶
func (m *CmdbObject) XXX_Unmarshal(b []byte) error
type FailInstance ¶
type FailInstance struct { // //实例ID InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //资源模型ID XObjectId string `protobuf:"bytes,2,opt,name=_object_id,json=ObjectId,proto3" json:"_object_id" form:"_object_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 (*FailInstance) Descriptor ¶
func (*FailInstance) Descriptor() ([]byte, []int)
func (*FailInstance) GetInstanceId ¶
func (m *FailInstance) GetInstanceId() string
func (*FailInstance) GetName ¶
func (m *FailInstance) GetName() string
func (*FailInstance) GetXObjectId ¶
func (m *FailInstance) GetXObjectId() string
func (*FailInstance) ProtoMessage ¶
func (*FailInstance) ProtoMessage()
func (*FailInstance) Reset ¶
func (m *FailInstance) Reset()
func (*FailInstance) String ¶
func (m *FailInstance) String() string
func (*FailInstance) Validate ¶
func (this *FailInstance) Validate() error
func (*FailInstance) XXX_DiscardUnknown ¶
func (m *FailInstance) XXX_DiscardUnknown()
func (*FailInstance) XXX_Marshal ¶
func (m *FailInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FailInstance) XXX_Merge ¶
func (m *FailInstance) XXX_Merge(src proto.Message)
func (*FailInstance) XXX_Size ¶
func (m *FailInstance) XXX_Size() int
func (*FailInstance) XXX_Unmarshal ¶
func (m *FailInstance) XXX_Unmarshal(b []byte) error
type ImportResult ¶
type ImportResult struct { // //模型的实例ID列表 ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId" form:"objectId"` // //模型名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //分类, 点分表示二级分类 Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category" form:"category"` // //说明 Memo string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo" form:"memo"` // //true代表是核心模型,是受保护的模型,不允许被删除 Protected bool `protobuf:"varint,5,opt,name=protected,proto3" json:"protected" form:"protected"` // //模型所属小产品,有值则会在界面隐藏该模型 System string `protobuf:"bytes,6,opt,name=system,proto3" json:"system" form:"system"` // //状态码 Code int32 `protobuf:"varint,7,opt,name=code,proto3" json:"code" form:"code"` // //导入信息 Message string `protobuf:"bytes,8,opt,name=message,proto3" json:"message" form:"message"` // //基础信息导入结果 InfoResult []*ImportStatus `protobuf:"bytes,9,rep,name=info_result,json=infoResult,proto3" json:"info_result" form:"info_result"` // //关系分组导入结果 RelationGroupResult []*ImportStatus `` /* 140-byte string literal not displayed */ // //属性导入结果 AttrListResult []*ImportStatus `protobuf:"bytes,11,rep,name=attr_list_result,json=attrListResult,proto3" json:"attr_list_result" form:"attr_list_result"` // //关系导入结果 RelationListResult []*ImportStatus `` /* 136-byte string literal not displayed */ // //是否新建模型 IsCreate bool `protobuf:"varint,13,opt,name=is_create,json=isCreate,proto3" json:"is_create" form:"is_create"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ImportResult
func (*ImportResult) Descriptor ¶
func (*ImportResult) Descriptor() ([]byte, []int)
func (*ImportResult) GetAttrListResult ¶
func (m *ImportResult) GetAttrListResult() []*ImportStatus
func (*ImportResult) GetCategory ¶
func (m *ImportResult) GetCategory() string
func (*ImportResult) GetCode ¶
func (m *ImportResult) GetCode() int32
func (*ImportResult) GetInfoResult ¶
func (m *ImportResult) GetInfoResult() []*ImportStatus
func (*ImportResult) GetIsCreate ¶
func (m *ImportResult) GetIsCreate() bool
func (*ImportResult) GetMemo ¶
func (m *ImportResult) GetMemo() string
func (*ImportResult) GetMessage ¶
func (m *ImportResult) GetMessage() string
func (*ImportResult) GetName ¶
func (m *ImportResult) GetName() string
func (*ImportResult) GetObjectId ¶
func (m *ImportResult) GetObjectId() string
func (*ImportResult) GetProtected ¶
func (m *ImportResult) GetProtected() bool
func (*ImportResult) GetRelationGroupResult ¶
func (m *ImportResult) GetRelationGroupResult() []*ImportStatus
func (*ImportResult) GetRelationListResult ¶
func (m *ImportResult) GetRelationListResult() []*ImportStatus
func (*ImportResult) GetSystem ¶
func (m *ImportResult) GetSystem() string
func (*ImportResult) ProtoMessage ¶
func (*ImportResult) ProtoMessage()
func (*ImportResult) Reset ¶
func (m *ImportResult) Reset()
func (*ImportResult) String ¶
func (m *ImportResult) String() string
func (*ImportResult) Validate ¶
func (this *ImportResult) Validate() error
func (*ImportResult) XXX_DiscardUnknown ¶
func (m *ImportResult) XXX_DiscardUnknown()
func (*ImportResult) XXX_Marshal ¶
func (m *ImportResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportResult) XXX_Merge ¶
func (m *ImportResult) XXX_Merge(src proto.Message)
func (*ImportResult) XXX_Size ¶
func (m *ImportResult) XXX_Size() int
func (*ImportResult) XXX_Unmarshal ¶
func (m *ImportResult) XXX_Unmarshal(b []byte) error
type ImportStatus ¶
type ImportStatus struct { // //ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //状态码 Code int32 `protobuf:"varint,3,opt,name=code,proto3" json:"code" form:"code"` // //描述 Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message" form:"message"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ImportStatus
func (*ImportStatus) Descriptor ¶
func (*ImportStatus) Descriptor() ([]byte, []int)
func (*ImportStatus) GetCode ¶
func (m *ImportStatus) GetCode() int32
func (*ImportStatus) GetId ¶
func (m *ImportStatus) GetId() string
func (*ImportStatus) GetMessage ¶
func (m *ImportStatus) GetMessage() string
func (*ImportStatus) GetName ¶
func (m *ImportStatus) GetName() string
func (*ImportStatus) ProtoMessage ¶
func (*ImportStatus) ProtoMessage()
func (*ImportStatus) Reset ¶
func (m *ImportStatus) Reset()
func (*ImportStatus) String ¶
func (m *ImportStatus) String() string
func (*ImportStatus) Validate ¶
func (this *ImportStatus) Validate() error
func (*ImportStatus) XXX_DiscardUnknown ¶
func (m *ImportStatus) XXX_DiscardUnknown()
func (*ImportStatus) XXX_Marshal ¶
func (m *ImportStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportStatus) XXX_Merge ¶
func (m *ImportStatus) XXX_Merge(src proto.Message)
func (*ImportStatus) XXX_Size ¶
func (m *ImportStatus) XXX_Size() int
func (*ImportStatus) XXX_Unmarshal ¶
func (m *ImportStatus) XXX_Unmarshal(b []byte) error
type InstanceQueryStrategy ¶
type InstanceQueryStrategy struct { // //策略ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //策略名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //策略所属模型id ObjectId string `protobuf:"bytes,3,opt,name=objectId,proto3" json:"objectId" form:"objectId"` // //策略类型(org 或者 user) Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type" form:"type"` // //策略对应的实例类型(instance 或者 relation) InstanceType string `protobuf:"bytes,5,opt,name=instance_type,json=instanceType,proto3" json:"instance_type" form:"instance_type"` // //策略内容(包含查询条件和返回的字段,供前端使用,后台逻辑暂时不做校验) Query *types.Struct `protobuf:"bytes,6,opt,name=query,proto3" json:"query" form:"query"` // //创建时间 Ctime string `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //创建用户 Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator" form:"creator"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
实例查询策略
func (*InstanceQueryStrategy) Descriptor ¶
func (*InstanceQueryStrategy) Descriptor() ([]byte, []int)
func (*InstanceQueryStrategy) GetCreator ¶
func (m *InstanceQueryStrategy) GetCreator() string
func (*InstanceQueryStrategy) GetCtime ¶
func (m *InstanceQueryStrategy) GetCtime() string
func (*InstanceQueryStrategy) GetId ¶
func (m *InstanceQueryStrategy) GetId() string
func (*InstanceQueryStrategy) GetInstanceType ¶
func (m *InstanceQueryStrategy) GetInstanceType() string
func (*InstanceQueryStrategy) GetName ¶
func (m *InstanceQueryStrategy) GetName() string
func (*InstanceQueryStrategy) GetObjectId ¶
func (m *InstanceQueryStrategy) GetObjectId() string
func (*InstanceQueryStrategy) GetQuery ¶
func (m *InstanceQueryStrategy) GetQuery() *types.Struct
func (*InstanceQueryStrategy) GetType ¶
func (m *InstanceQueryStrategy) GetType() string
func (*InstanceQueryStrategy) ProtoMessage ¶
func (*InstanceQueryStrategy) ProtoMessage()
func (*InstanceQueryStrategy) Reset ¶
func (m *InstanceQueryStrategy) Reset()
func (*InstanceQueryStrategy) String ¶
func (m *InstanceQueryStrategy) String() string
func (*InstanceQueryStrategy) Validate ¶
func (this *InstanceQueryStrategy) Validate() error
func (*InstanceQueryStrategy) XXX_DiscardUnknown ¶
func (m *InstanceQueryStrategy) XXX_DiscardUnknown()
func (*InstanceQueryStrategy) XXX_Marshal ¶
func (m *InstanceQueryStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstanceQueryStrategy) XXX_Merge ¶
func (m *InstanceQueryStrategy) XXX_Merge(src proto.Message)
func (*InstanceQueryStrategy) XXX_Size ¶
func (m *InstanceQueryStrategy) XXX_Size() int
func (*InstanceQueryStrategy) XXX_Unmarshal ¶
func (m *InstanceQueryStrategy) XXX_Unmarshal(b []byte) error
type InstanceRelationPair ¶
type InstanceRelationPair struct { // //左端实例ID LeftInstanceId string `protobuf:"bytes,1,opt,name=left_instance_id,json=leftInstanceId,proto3" json:"left_instance_id" form:"left_instance_id"` // //右端实例ID RightInstanceId string `protobuf:"bytes,2,opt,name=right_instance_id,json=rightInstanceId,proto3" json:"right_instance_id" form:"right_instance_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
实例关系结联
func (*InstanceRelationPair) Descriptor ¶
func (*InstanceRelationPair) Descriptor() ([]byte, []int)
func (*InstanceRelationPair) GetLeftInstanceId ¶
func (m *InstanceRelationPair) GetLeftInstanceId() string
func (*InstanceRelationPair) GetRightInstanceId ¶
func (m *InstanceRelationPair) GetRightInstanceId() string
func (*InstanceRelationPair) ProtoMessage ¶
func (*InstanceRelationPair) ProtoMessage()
func (*InstanceRelationPair) Reset ¶
func (m *InstanceRelationPair) Reset()
func (*InstanceRelationPair) String ¶
func (m *InstanceRelationPair) String() string
func (*InstanceRelationPair) Validate ¶
func (this *InstanceRelationPair) Validate() error
func (*InstanceRelationPair) XXX_DiscardUnknown ¶
func (m *InstanceRelationPair) XXX_DiscardUnknown()
func (*InstanceRelationPair) XXX_Marshal ¶
func (m *InstanceRelationPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstanceRelationPair) XXX_Merge ¶
func (m *InstanceRelationPair) XXX_Merge(src proto.Message)
func (*InstanceRelationPair) XXX_Size ¶
func (m *InstanceRelationPair) XXX_Size() int
func (*InstanceRelationPair) XXX_Unmarshal ¶
func (m *InstanceRelationPair) XXX_Unmarshal(b []byte) error
type InstanceRelationRequest ¶
type InstanceRelationRequest struct { // //模型的实例ID列表 InstanceIds []string `protobuf:"bytes,1,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:"-"` }
InstanceRelationRequest
func (*InstanceRelationRequest) Descriptor ¶
func (*InstanceRelationRequest) Descriptor() ([]byte, []int)
func (*InstanceRelationRequest) GetInstanceIds ¶
func (m *InstanceRelationRequest) GetInstanceIds() []string
func (*InstanceRelationRequest) GetRelatedInstanceIds ¶
func (m *InstanceRelationRequest) GetRelatedInstanceIds() []string
func (*InstanceRelationRequest) ProtoMessage ¶
func (*InstanceRelationRequest) ProtoMessage()
func (*InstanceRelationRequest) Reset ¶
func (m *InstanceRelationRequest) Reset()
func (*InstanceRelationRequest) String ¶
func (m *InstanceRelationRequest) String() string
func (*InstanceRelationRequest) Validate ¶
func (this *InstanceRelationRequest) Validate() error
func (*InstanceRelationRequest) XXX_DiscardUnknown ¶
func (m *InstanceRelationRequest) XXX_DiscardUnknown()
func (*InstanceRelationRequest) XXX_Marshal ¶
func (m *InstanceRelationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstanceRelationRequest) XXX_Merge ¶
func (m *InstanceRelationRequest) XXX_Merge(src proto.Message)
func (*InstanceRelationRequest) XXX_Size ¶
func (m *InstanceRelationRequest) XXX_Size() int
func (*InstanceRelationRequest) XXX_Unmarshal ¶
func (m *InstanceRelationRequest) XXX_Unmarshal(b []byte) error
type InstanceTreeChildNode ¶
type InstanceTreeChildNode struct { // //关系字段ID RelationFieldId string `protobuf:"bytes,1,opt,name=relation_field_id,json=relationFieldId,proto3" json:"relation_field_id" form:"relation_field_id"` // //过滤的字段列表, 留空代表返回所有字段(true: 表示指定获取字段, false: 表示指定不获取的字段) Fields *types.Struct `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields" form:"fields"` // //忽略与父级无关联实例, 默认false IgnoreSingle bool `protobuf:"varint,3,opt,name=ignore_single,json=ignoreSingle,proto3" json:"ignore_single" form:"ignore_single"` // //子节点列表 Child []*InstanceTreeChildNode `protobuf:"bytes,4,rep,name=child,proto3" json:"child" form:"child"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
树子节点定义
func (*InstanceTreeChildNode) Descriptor ¶
func (*InstanceTreeChildNode) Descriptor() ([]byte, []int)
func (*InstanceTreeChildNode) GetChild ¶
func (m *InstanceTreeChildNode) GetChild() []*InstanceTreeChildNode
func (*InstanceTreeChildNode) GetFields ¶
func (m *InstanceTreeChildNode) GetFields() *types.Struct
func (*InstanceTreeChildNode) GetIgnoreSingle ¶
func (m *InstanceTreeChildNode) GetIgnoreSingle() bool
func (*InstanceTreeChildNode) GetRelationFieldId ¶
func (m *InstanceTreeChildNode) GetRelationFieldId() string
func (*InstanceTreeChildNode) ProtoMessage ¶
func (*InstanceTreeChildNode) ProtoMessage()
func (*InstanceTreeChildNode) Reset ¶
func (m *InstanceTreeChildNode) Reset()
func (*InstanceTreeChildNode) String ¶
func (m *InstanceTreeChildNode) String() string
func (*InstanceTreeChildNode) Validate ¶
func (this *InstanceTreeChildNode) Validate() error
func (*InstanceTreeChildNode) XXX_DiscardUnknown ¶
func (m *InstanceTreeChildNode) XXX_DiscardUnknown()
func (*InstanceTreeChildNode) XXX_Marshal ¶
func (m *InstanceTreeChildNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstanceTreeChildNode) XXX_Merge ¶
func (m *InstanceTreeChildNode) XXX_Merge(src proto.Message)
func (*InstanceTreeChildNode) XXX_Size ¶
func (m *InstanceTreeChildNode) XXX_Size() int
func (*InstanceTreeChildNode) XXX_Unmarshal ¶
func (m *InstanceTreeChildNode) XXX_Unmarshal(b []byte) error
type InstanceTreeRootNode ¶
type InstanceTreeRootNode struct { // //模型ID ObjectId string `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id" form:"object_id"` // //查询条件, 实例树搜索接口此参数无效 Query *types.Struct `protobuf:"bytes,2,opt,name=query,proto3" json:"query" form:"query"` // //过滤的字段列表, 留空代表返回所有字段(true: 表示指定获取字段, false: 表示指定不获取的字段) Fields *types.Struct `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields" form:"fields"` // //子节点列表 Child []*InstanceTreeChildNode `protobuf:"bytes,4,rep,name=child,proto3" json:"child" form:"child"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
树根节点定义
func (*InstanceTreeRootNode) Descriptor ¶
func (*InstanceTreeRootNode) Descriptor() ([]byte, []int)
func (*InstanceTreeRootNode) GetChild ¶
func (m *InstanceTreeRootNode) GetChild() []*InstanceTreeChildNode
func (*InstanceTreeRootNode) GetFields ¶
func (m *InstanceTreeRootNode) GetFields() *types.Struct
func (*InstanceTreeRootNode) GetObjectId ¶
func (m *InstanceTreeRootNode) GetObjectId() string
func (*InstanceTreeRootNode) GetQuery ¶
func (m *InstanceTreeRootNode) GetQuery() *types.Struct
func (*InstanceTreeRootNode) ProtoMessage ¶
func (*InstanceTreeRootNode) ProtoMessage()
func (*InstanceTreeRootNode) Reset ¶
func (m *InstanceTreeRootNode) Reset()
func (*InstanceTreeRootNode) String ¶
func (m *InstanceTreeRootNode) String() string
func (*InstanceTreeRootNode) Validate ¶
func (this *InstanceTreeRootNode) Validate() error
func (*InstanceTreeRootNode) XXX_DiscardUnknown ¶
func (m *InstanceTreeRootNode) XXX_DiscardUnknown()
func (*InstanceTreeRootNode) XXX_Marshal ¶
func (m *InstanceTreeRootNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstanceTreeRootNode) XXX_Merge ¶
func (m *InstanceTreeRootNode) XXX_Merge(src proto.Message)
func (*InstanceTreeRootNode) XXX_Size ¶
func (m *InstanceTreeRootNode) XXX_Size() int
func (*InstanceTreeRootNode) XXX_Unmarshal ¶
func (m *InstanceTreeRootNode) XXX_Unmarshal(b []byte) error
type ObjectAttr ¶
type ObjectAttr struct { // //属性ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //属性名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //true 内置属性,false 用户自定义属性 Protected bool `protobuf:"varint,3,opt,name=protected,proto3" json:"protected" form:"protected"` // //DEPRECATED! 'true' 用户自定义属性,'false' 内置属性 Custom string `protobuf:"bytes,4,opt,name=custom,proto3" json:"custom" form:"custom"` // //'true' 只读属性,'false' 可写属性 Readonly string `protobuf:"bytes,5,opt,name=readonly,proto3" json:"readonly" form:"readonly"` // //'true' 必填属性,'false' 非必填属性 Required string `protobuf:"bytes,6,opt,name=required,proto3" json:"required" form:"required"` // //'true' 唯一属性 Unique string `protobuf:"bytes,7,opt,name=unique,proto3" json:"unique" form:"unique"` // //属性分类 Tag []string `protobuf:"bytes,8,rep,name=tag,proto3" json:"tag" form:"tag"` // //属性值类型,不同类型有不同字段 Value *ObjectAttrValue `protobuf:"bytes,9,opt,name=value,proto3" json:"value" form:"value"` // //不纳入全文搜索 WordIndexDenied bool `protobuf:"varint,10,opt,name=wordIndexDenied,proto3" json:"wordIndexDenied" form:"wordIndexDenied"` // //属性的描述 Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description" form:"description"` // //属性的提示 Tips string `protobuf:"bytes,12,opt,name=tips,proto3" json:"tips" form:"tips"` // //是否继承自父模型 IsInherit bool `protobuf:"varint,13,opt,name=isInherit,proto3" json:"isInherit" form:"isInherit"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
模型属性
func (*ObjectAttr) Descriptor ¶
func (*ObjectAttr) Descriptor() ([]byte, []int)
func (*ObjectAttr) GetCustom ¶
func (m *ObjectAttr) GetCustom() string
func (*ObjectAttr) GetDescription ¶
func (m *ObjectAttr) GetDescription() string
func (*ObjectAttr) GetId ¶
func (m *ObjectAttr) GetId() string
func (*ObjectAttr) GetIsInherit ¶
func (m *ObjectAttr) GetIsInherit() bool
func (*ObjectAttr) GetName ¶
func (m *ObjectAttr) GetName() string
func (*ObjectAttr) GetProtected ¶
func (m *ObjectAttr) GetProtected() bool
func (*ObjectAttr) GetReadonly ¶
func (m *ObjectAttr) GetReadonly() string
func (*ObjectAttr) GetRequired ¶
func (m *ObjectAttr) GetRequired() string
func (*ObjectAttr) GetTag ¶
func (m *ObjectAttr) GetTag() []string
func (*ObjectAttr) GetTips ¶
func (m *ObjectAttr) GetTips() string
func (*ObjectAttr) GetUnique ¶
func (m *ObjectAttr) GetUnique() string
func (*ObjectAttr) GetValue ¶
func (m *ObjectAttr) GetValue() *ObjectAttrValue
func (*ObjectAttr) GetWordIndexDenied ¶
func (m *ObjectAttr) GetWordIndexDenied() bool
func (*ObjectAttr) ProtoMessage ¶
func (*ObjectAttr) ProtoMessage()
func (*ObjectAttr) Reset ¶
func (m *ObjectAttr) Reset()
func (*ObjectAttr) String ¶
func (m *ObjectAttr) String() string
func (*ObjectAttr) Validate ¶
func (this *ObjectAttr) Validate() error
func (*ObjectAttr) XXX_DiscardUnknown ¶
func (m *ObjectAttr) XXX_DiscardUnknown()
func (*ObjectAttr) XXX_Marshal ¶
func (m *ObjectAttr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectAttr) XXX_Merge ¶
func (m *ObjectAttr) XXX_Merge(src proto.Message)
func (*ObjectAttr) XXX_Size ¶
func (m *ObjectAttr) XXX_Size() int
func (*ObjectAttr) XXX_Unmarshal ¶
func (m *ObjectAttr) XXX_Unmarshal(b []byte) error
type ObjectAttrValue ¶
type ObjectAttrValue struct { // //数据类型, FK与FKs已废弃 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type" form:"type"` // //type是enum时是枚举值数组, struct和structs没有regex, 其他的type时是正则表达式 Regex *types.Value `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex" form:"regex"` // //默认值类型( value: 具体的值, function:可执行函数, auto-increment-id:自增ID, series-number:定长序列号) DefaultType string `protobuf:"bytes,3,opt,name=default_type,json=defaultType,proto3" json:"default_type" form:"default_type"` // //默认值 Default *types.Value `protobuf:"bytes,4,opt,name=default,proto3" json:"default" form:"default"` // //结构体字段定义: 当type 为 struct 和 structs 时候为必填 StructDefine []*ObjectAttrValueStruct `protobuf:"bytes,5,rep,name=struct_define,json=structDefine,proto3" json:"struct_define" form:"struct_define"` // //字符串模式定义: 多行文本和普通字符串 Mode string `protobuf:"bytes,6,opt,name=mode,proto3" json:"mode" form:"mode"` // //自增ID和流水号的前缀: 当default_type 是series-number和 auto-increment-id时候为必填 Prefix string `protobuf:"bytes,7,opt,name=prefix,proto3" json:"prefix" form:"prefix"` // //自增ID和流水号的起始值 StartValue int32 `protobuf:"varint,8,opt,name=start_value,json=startValue,proto3" json:"start_value" form:"start_value"` // //流水号的固定长度 SeriesNumberLength int32 `` /* 136-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
模型属性类型
func (*ObjectAttrValue) Descriptor ¶
func (*ObjectAttrValue) Descriptor() ([]byte, []int)
func (*ObjectAttrValue) GetDefault ¶
func (m *ObjectAttrValue) GetDefault() *types.Value
func (*ObjectAttrValue) GetDefaultType ¶
func (m *ObjectAttrValue) GetDefaultType() string
func (*ObjectAttrValue) GetMode ¶
func (m *ObjectAttrValue) GetMode() string
func (*ObjectAttrValue) GetPrefix ¶
func (m *ObjectAttrValue) GetPrefix() string
func (*ObjectAttrValue) GetRegex ¶
func (m *ObjectAttrValue) GetRegex() *types.Value
func (*ObjectAttrValue) GetSeriesNumberLength ¶
func (m *ObjectAttrValue) GetSeriesNumberLength() int32
func (*ObjectAttrValue) GetStartValue ¶
func (m *ObjectAttrValue) GetStartValue() int32
func (*ObjectAttrValue) GetStructDefine ¶
func (m *ObjectAttrValue) GetStructDefine() []*ObjectAttrValueStruct
func (*ObjectAttrValue) GetType ¶
func (m *ObjectAttrValue) GetType() string
func (*ObjectAttrValue) ProtoMessage ¶
func (*ObjectAttrValue) ProtoMessage()
func (*ObjectAttrValue) Reset ¶
func (m *ObjectAttrValue) Reset()
func (*ObjectAttrValue) String ¶
func (m *ObjectAttrValue) String() string
func (*ObjectAttrValue) Validate ¶
func (this *ObjectAttrValue) Validate() error
func (*ObjectAttrValue) XXX_DiscardUnknown ¶
func (m *ObjectAttrValue) XXX_DiscardUnknown()
func (*ObjectAttrValue) XXX_Marshal ¶
func (m *ObjectAttrValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectAttrValue) XXX_Merge ¶
func (m *ObjectAttrValue) XXX_Merge(src proto.Message)
func (*ObjectAttrValue) XXX_Size ¶
func (m *ObjectAttrValue) XXX_Size() int
func (*ObjectAttrValue) XXX_Unmarshal ¶
func (m *ObjectAttrValue) XXX_Unmarshal(b []byte) error
type ObjectAttrValueStruct ¶
type ObjectAttrValueStruct struct { // //结构体字段ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //结构体字段名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //数据类型 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type" form:"type"` // //仅仅在type是enum时有值,并且是字符串数组 Regex *types.Value `protobuf:"bytes,4,opt,name=regex,proto3" json:"regex" form:"regex"` // //是否是内置属性: 核心定义的内置属性默认都是核心属性, 核心属性不允许被删除、不允许修改约束 Protected bool `protobuf:"varint,5,opt,name=protected,proto3" json:"protected" form:"protected"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
模型属性类型
func (*ObjectAttrValueStruct) Descriptor ¶
func (*ObjectAttrValueStruct) Descriptor() ([]byte, []int)
func (*ObjectAttrValueStruct) GetId ¶
func (m *ObjectAttrValueStruct) GetId() string
func (*ObjectAttrValueStruct) GetName ¶
func (m *ObjectAttrValueStruct) GetName() string
func (*ObjectAttrValueStruct) GetProtected ¶
func (m *ObjectAttrValueStruct) GetProtected() bool
func (*ObjectAttrValueStruct) GetRegex ¶
func (m *ObjectAttrValueStruct) GetRegex() *types.Value
func (*ObjectAttrValueStruct) GetType ¶
func (m *ObjectAttrValueStruct) GetType() string
func (*ObjectAttrValueStruct) ProtoMessage ¶
func (*ObjectAttrValueStruct) ProtoMessage()
func (*ObjectAttrValueStruct) Reset ¶
func (m *ObjectAttrValueStruct) Reset()
func (*ObjectAttrValueStruct) String ¶
func (m *ObjectAttrValueStruct) String() string
func (*ObjectAttrValueStruct) Validate ¶
func (this *ObjectAttrValueStruct) Validate() error
func (*ObjectAttrValueStruct) XXX_DiscardUnknown ¶
func (m *ObjectAttrValueStruct) XXX_DiscardUnknown()
func (*ObjectAttrValueStruct) XXX_Marshal ¶
func (m *ObjectAttrValueStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectAttrValueStruct) XXX_Merge ¶
func (m *ObjectAttrValueStruct) XXX_Merge(src proto.Message)
func (*ObjectAttrValueStruct) XXX_Size ¶
func (m *ObjectAttrValueStruct) XXX_Size() int
func (*ObjectAttrValueStruct) XXX_Unmarshal ¶
func (m *ObjectAttrValueStruct) XXX_Unmarshal(b []byte) error
type ObjectImport ¶
type ObjectImport struct { // //ID ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId" form:"objectId"` // //名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //图标 Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon" form:"icon"` // //分类, 点分表示二级分类 Category string `protobuf:"bytes,4,opt,name=category,proto3" json:"category" form:"category"` // //说明 Memo string `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo" form:"memo"` // //属性列表 AttrList []*ObjectImport_AttrList `protobuf:"bytes,6,rep,name=attrList,proto3" json:"attrList" form:"attrList"` // //关系分组列表 RelationGroups []*ObjectImport_RelationGroups `protobuf:"bytes,7,rep,name=relation_groups,json=relationGroups,proto3" json:"relation_groups" form:"relation_groups"` // //关系列表 RelationList []*ObjectImport_RelationList `protobuf:"bytes,8,rep,name=relation_list,json=relationList,proto3" json:"relation_list" form:"relation_list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
导入模型的message
func (*ObjectImport) Descriptor ¶
func (*ObjectImport) Descriptor() ([]byte, []int)
func (*ObjectImport) GetAttrList ¶
func (m *ObjectImport) GetAttrList() []*ObjectImport_AttrList
func (*ObjectImport) GetCategory ¶
func (m *ObjectImport) GetCategory() string
func (*ObjectImport) GetIcon ¶
func (m *ObjectImport) GetIcon() string
func (*ObjectImport) GetMemo ¶
func (m *ObjectImport) GetMemo() string
func (*ObjectImport) GetName ¶
func (m *ObjectImport) GetName() string
func (*ObjectImport) GetObjectId ¶
func (m *ObjectImport) GetObjectId() string
func (*ObjectImport) GetRelationGroups ¶
func (m *ObjectImport) GetRelationGroups() []*ObjectImport_RelationGroups
func (*ObjectImport) GetRelationList ¶
func (m *ObjectImport) GetRelationList() []*ObjectImport_RelationList
func (*ObjectImport) ProtoMessage ¶
func (*ObjectImport) ProtoMessage()
func (*ObjectImport) Reset ¶
func (m *ObjectImport) Reset()
func (*ObjectImport) String ¶
func (m *ObjectImport) String() string
func (*ObjectImport) Validate ¶
func (this *ObjectImport) Validate() error
func (*ObjectImport) XXX_DiscardUnknown ¶
func (m *ObjectImport) XXX_DiscardUnknown()
func (*ObjectImport) XXX_Marshal ¶
func (m *ObjectImport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectImport) XXX_Merge ¶
func (m *ObjectImport) XXX_Merge(src proto.Message)
func (*ObjectImport) XXX_Size ¶
func (m *ObjectImport) XXX_Size() int
func (*ObjectImport) XXX_Unmarshal ¶
func (m *ObjectImport) XXX_Unmarshal(b []byte) error
type ObjectImport_AttrList ¶
type ObjectImport_AttrList struct { // //属性ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //属性名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //'true' 唯一属性 Unique string `protobuf:"bytes,3,opt,name=unique,proto3" json:"unique" form:"unique"` // //'true' 只读属性,'false' 可写属性 Readonly string `protobuf:"bytes,4,opt,name=readonly,proto3" json:"readonly" form:"readonly"` // //'true' 必填属性,'false' 非必填属性 Required string `protobuf:"bytes,5,opt,name=required,proto3" json:"required" form:"required"` // //属性分类 Tag []string `protobuf:"bytes,6,rep,name=tag,proto3" json:"tag" form:"tag"` // //属性的描述 Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description" form:"description"` // //属性的提示 Tips string `protobuf:"bytes,8,opt,name=tips,proto3" json:"tips" form:"tips"` // //属性值类型,不同类型有不同字段 Value *ObjectAttrValue `protobuf:"bytes,9,opt,name=value,proto3" json:"value" form:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ObjectImport_AttrList) Descriptor ¶
func (*ObjectImport_AttrList) Descriptor() ([]byte, []int)
func (*ObjectImport_AttrList) GetDescription ¶
func (m *ObjectImport_AttrList) GetDescription() string
func (*ObjectImport_AttrList) GetId ¶
func (m *ObjectImport_AttrList) GetId() string
func (*ObjectImport_AttrList) GetName ¶
func (m *ObjectImport_AttrList) GetName() string
func (*ObjectImport_AttrList) GetReadonly ¶
func (m *ObjectImport_AttrList) GetReadonly() string
func (*ObjectImport_AttrList) GetRequired ¶
func (m *ObjectImport_AttrList) GetRequired() string
func (*ObjectImport_AttrList) GetTag ¶
func (m *ObjectImport_AttrList) GetTag() []string
func (*ObjectImport_AttrList) GetTips ¶
func (m *ObjectImport_AttrList) GetTips() string
func (*ObjectImport_AttrList) GetUnique ¶
func (m *ObjectImport_AttrList) GetUnique() string
func (*ObjectImport_AttrList) GetValue ¶
func (m *ObjectImport_AttrList) GetValue() *ObjectAttrValue
func (*ObjectImport_AttrList) ProtoMessage ¶
func (*ObjectImport_AttrList) ProtoMessage()
func (*ObjectImport_AttrList) Reset ¶
func (m *ObjectImport_AttrList) Reset()
func (*ObjectImport_AttrList) String ¶
func (m *ObjectImport_AttrList) String() string
func (*ObjectImport_AttrList) Validate ¶
func (this *ObjectImport_AttrList) Validate() error
func (*ObjectImport_AttrList) XXX_DiscardUnknown ¶
func (m *ObjectImport_AttrList) XXX_DiscardUnknown()
func (*ObjectImport_AttrList) XXX_Marshal ¶
func (m *ObjectImport_AttrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectImport_AttrList) XXX_Merge ¶
func (m *ObjectImport_AttrList) XXX_Merge(src proto.Message)
func (*ObjectImport_AttrList) XXX_Size ¶
func (m *ObjectImport_AttrList) XXX_Size() int
func (*ObjectImport_AttrList) XXX_Unmarshal ¶
func (m *ObjectImport_AttrList) XXX_Unmarshal(b []byte) error
type ObjectImport_RelationGroups ¶
type ObjectImport_RelationGroups struct { // //分组ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //分组名称 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 (*ObjectImport_RelationGroups) Descriptor ¶
func (*ObjectImport_RelationGroups) Descriptor() ([]byte, []int)
func (*ObjectImport_RelationGroups) GetId ¶
func (m *ObjectImport_RelationGroups) GetId() string
func (*ObjectImport_RelationGroups) GetName ¶
func (m *ObjectImport_RelationGroups) GetName() string
func (*ObjectImport_RelationGroups) ProtoMessage ¶
func (*ObjectImport_RelationGroups) ProtoMessage()
func (*ObjectImport_RelationGroups) Reset ¶
func (m *ObjectImport_RelationGroups) Reset()
func (*ObjectImport_RelationGroups) String ¶
func (m *ObjectImport_RelationGroups) String() string
func (*ObjectImport_RelationGroups) Validate ¶
func (this *ObjectImport_RelationGroups) Validate() error
func (*ObjectImport_RelationGroups) XXX_DiscardUnknown ¶
func (m *ObjectImport_RelationGroups) XXX_DiscardUnknown()
func (*ObjectImport_RelationGroups) XXX_Marshal ¶
func (m *ObjectImport_RelationGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectImport_RelationGroups) XXX_Merge ¶
func (m *ObjectImport_RelationGroups) XXX_Merge(src proto.Message)
func (*ObjectImport_RelationGroups) XXX_Size ¶
func (m *ObjectImport_RelationGroups) XXX_Size() int
func (*ObjectImport_RelationGroups) XXX_Unmarshal ¶
func (m *ObjectImport_RelationGroups) XXX_Unmarshal(b []byte) error
type ObjectImport_RelationList ¶
type ObjectImport_RelationList struct { // //关系名称, 不是必填, 而且在引入了 left_description 和 right_description 之后这个字段几乎处于废弃状态 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //关系左端的模型ID LeftObjectId string `protobuf:"bytes,2,opt,name=left_object_id,json=leftObjectId,proto3" json:"left_object_id" form:"left_object_id"` // //关系左端模型中表达右端模型实例的别名字段: 比如应用的负责人需要在应用的实例中表达出一个字段; 对已有模型添加关系时这个ID需要加下划线前缀避免冲突 LeftId string `protobuf:"bytes,3,opt,name=left_id,json=leftId,proto3" json:"left_id" form:"left_id"` // //是与 left_id 相反的含义, 但仅用于前端展示 (p.s.: 关系左端模型的描述) LeftDescription string `protobuf:"bytes,4,opt,name=left_description,json=leftDescription,proto3" json:"left_description" form:"left_description"` // //关系左端的资源模型实例至少包含多少数量的关系: 目前来说这个字段是过度设计的字段, 一般填0就好了 LeftMin int32 `protobuf:"varint,5,opt,name=left_min,json=leftMin,proto3" json:"left_min" form:"left_min"` // //关系左端的资源模型实例最多包含多少数量的关系: 有数据库级别的索引支持, 一般情况填1 或者 -1, -1表示无限多 LeftMax int32 `protobuf:"varint,6,opt,name=left_max,json=leftMax,proto3" json:"left_max" form:"left_max"` // //关系在左端模型的哪些分组里 LeftGroups []string `protobuf:"bytes,7,rep,name=left_groups,json=leftGroups,proto3" json:"left_groups" form:"left_groups"` // //关系左端标签 LeftTags []string `protobuf:"bytes,8,rep,name=left_tags,json=leftTags,proto3" json:"left_tags" form:"left_tags"` // //关系右端的模型ID RightObjectId string `protobuf:"bytes,9,opt,name=right_object_id,json=rightObjectId,proto3" json:"right_object_id" form:"right_object_id"` // //关系右端模型中表达左端模型实例的别名字段: 比如应用的负责人需要在应用的实例中表达出一个字段; 对已有模型添加关系时这个ID需要加下划线前缀避免冲突 RightId string `protobuf:"bytes,10,opt,name=right_id,json=rightId,proto3" json:"right_id" form:"right_id"` // //是与 right_id 相反的含义, 但仅用于前端展示 (p.s.: 关系右端模型的描述) RightDescription string `protobuf:"bytes,11,opt,name=right_description,json=rightDescription,proto3" json:"right_description" form:"right_description"` // //关系右端的资源模型实例至少包含多少数量的关系: 目前来说这个字段是过度设计的字段, 一般填 0 就好了 RightMin int32 `protobuf:"varint,12,opt,name=right_min,json=rightMin,proto3" json:"right_min" form:"right_min"` // //关系右端的资源模型实例最多包含多少数量的关系: 有数据库级别的索引支持, 一般情况填 1 或者 -1, -1表示无限多 RightMax int32 `protobuf:"varint,13,opt,name=right_max,json=rightMax,proto3" json:"right_max" form:"right_max"` // //关系在右端模型的哪些分组里 RightGroups []string `protobuf:"bytes,14,rep,name=right_groups,json=rightGroups,proto3" json:"right_groups" form:"right_groups"` // //关系右端标签 RightTags []string `protobuf:"bytes,15,rep,name=right_tags,json=rightTags,proto3" json:"right_tags" form:"right_tags"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ObjectImport_RelationList) Descriptor ¶
func (*ObjectImport_RelationList) Descriptor() ([]byte, []int)
func (*ObjectImport_RelationList) GetLeftDescription ¶
func (m *ObjectImport_RelationList) GetLeftDescription() string
func (*ObjectImport_RelationList) GetLeftGroups ¶
func (m *ObjectImport_RelationList) GetLeftGroups() []string
func (*ObjectImport_RelationList) GetLeftId ¶
func (m *ObjectImport_RelationList) GetLeftId() string
func (*ObjectImport_RelationList) GetLeftMax ¶
func (m *ObjectImport_RelationList) GetLeftMax() int32
func (*ObjectImport_RelationList) GetLeftMin ¶
func (m *ObjectImport_RelationList) GetLeftMin() int32
func (*ObjectImport_RelationList) GetLeftObjectId ¶
func (m *ObjectImport_RelationList) GetLeftObjectId() string
func (*ObjectImport_RelationList) GetLeftTags ¶
func (m *ObjectImport_RelationList) GetLeftTags() []string
func (*ObjectImport_RelationList) GetName ¶
func (m *ObjectImport_RelationList) GetName() string
func (*ObjectImport_RelationList) GetRightDescription ¶
func (m *ObjectImport_RelationList) GetRightDescription() string
func (*ObjectImport_RelationList) GetRightGroups ¶
func (m *ObjectImport_RelationList) GetRightGroups() []string
func (*ObjectImport_RelationList) GetRightId ¶
func (m *ObjectImport_RelationList) GetRightId() string
func (*ObjectImport_RelationList) GetRightMax ¶
func (m *ObjectImport_RelationList) GetRightMax() int32
func (*ObjectImport_RelationList) GetRightMin ¶
func (m *ObjectImport_RelationList) GetRightMin() int32
func (*ObjectImport_RelationList) GetRightObjectId ¶
func (m *ObjectImport_RelationList) GetRightObjectId() string
func (*ObjectImport_RelationList) GetRightTags ¶
func (m *ObjectImport_RelationList) GetRightTags() []string
func (*ObjectImport_RelationList) ProtoMessage ¶
func (*ObjectImport_RelationList) ProtoMessage()
func (*ObjectImport_RelationList) Reset ¶
func (m *ObjectImport_RelationList) Reset()
func (*ObjectImport_RelationList) String ¶
func (m *ObjectImport_RelationList) String() string
func (*ObjectImport_RelationList) Validate ¶
func (this *ObjectImport_RelationList) Validate() error
func (*ObjectImport_RelationList) XXX_DiscardUnknown ¶
func (m *ObjectImport_RelationList) XXX_DiscardUnknown()
func (*ObjectImport_RelationList) XXX_Marshal ¶
func (m *ObjectImport_RelationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectImport_RelationList) XXX_Merge ¶
func (m *ObjectImport_RelationList) XXX_Merge(src proto.Message)
func (*ObjectImport_RelationList) XXX_Size ¶
func (m *ObjectImport_RelationList) XXX_Size() int
func (*ObjectImport_RelationList) XXX_Unmarshal ¶
func (m *ObjectImport_RelationList) XXX_Unmarshal(b []byte) error
type ObjectRelation ¶
type ObjectRelation struct { // //关系名称, 不是必填, 而且在引入了 left_description 和 right_description 之后这个字段几乎处于废弃状态 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //true 内置关系 Protected bool `protobuf:"varint,2,opt,name=protected,proto3" json:"protected" form:"protected"` // //必须全局唯一: 新添加的关系ID字段建议增加下划线前缀 RelationId string `protobuf:"bytes,3,opt,name=relation_id,json=relationId,proto3" json:"relation_id" form:"relation_id"` // //关系右端模型中表达左端模型实例的别名字段: 比如应用的负责人需要在应用的实例中表达出一个字段; 对已有模型添加关系时这个ID需要加下划线前缀避免冲突 RightId string `protobuf:"bytes,4,opt,name=right_id,json=rightId,proto3" json:"right_id" form:"right_id"` // //是与 right_id 对应的含义, 但仅用于前端展示 RightName string `protobuf:"bytes,5,opt,name=right_name,json=rightName,proto3" json:"right_name" form:"right_name"` // //是与 right_id 相反的含义, 但仅用于前端展示 (p.s.: 关系右端模型的描述) RightDescription string `protobuf:"bytes,6,opt,name=right_description,json=rightDescription,proto3" json:"right_description" form:"right_description"` // //关系在右端模型的哪些分组里 RightGroups []string `protobuf:"bytes,7,rep,name=right_groups,json=rightGroups,proto3" json:"right_groups" form:"right_groups"` // //关系右端标签 RightTags []string `protobuf:"bytes,8,rep,name=right_tags,json=rightTags,proto3" json:"right_tags" form:"right_tags"` // //关系右端的资源模型实例最多包含多少数量的关系: 有数据库级别的索引支持, 一般情况填 1 或者 -1, -1表示无限多 RightMax int32 `protobuf:"varint,9,opt,name=right_max,json=rightMax,proto3" json:"right_max" form:"right_max"` // //关系右端的资源模型实例至少包含多少数量的关系: 目前来说这个字段是过度设计的字段, 一般填 0 就好了 RightMin int32 `protobuf:"varint,10,opt,name=right_min,json=rightMin,proto3" json:"right_min" form:"right_min"` // //关系右端的模型ID RightObjectId string `protobuf:"bytes,11,opt,name=right_object_id,json=rightObjectId,proto3" json:"right_object_id" form:"right_object_id"` // //关系左端模型中表达右端模型实例的别名字段: 比如应用的负责人需要在应用的实例中表达出一个字段; 对已有模型添加关系时这个ID需要加下划线前缀避免冲突 LeftId string `protobuf:"bytes,12,opt,name=left_id,json=leftId,proto3" json:"left_id" form:"left_id"` // //是与 left_id 对应的含义, 但仅用于前端展示 LeftName string `protobuf:"bytes,13,opt,name=left_name,json=leftName,proto3" json:"left_name" form:"left_name"` // //是与 left_id 相反的含义, 但仅用于前端展示 (p.s.: 关系左端模型的描述) LeftDescription string `protobuf:"bytes,14,opt,name=left_description,json=leftDescription,proto3" json:"left_description" form:"left_description"` // //关系在左端模型的哪些分组里 LeftGroups []string `protobuf:"bytes,15,rep,name=left_groups,json=leftGroups,proto3" json:"left_groups" form:"left_groups"` // //关系左端标签 LeftTags []string `protobuf:"bytes,16,rep,name=left_tags,json=leftTags,proto3" json:"left_tags" form:"left_tags"` // //关系左端的资源模型实例最多包含多少数量的关系: 有数据库级别的索引支持, 一般情况填1 或者 -1, -1表示无限多 LeftMax int32 `protobuf:"varint,17,opt,name=left_max,json=leftMax,proto3" json:"left_max" form:"left_max"` // //关系左端的资源模型实例至少包含多少数量的关系: 目前来说这个字段是过度设计的字段, 一般填0就好了 LeftMin int32 `protobuf:"varint,18,opt,name=left_min,json=leftMin,proto3" json:"left_min" form:"left_min"` // //关系左端的模型ID LeftObjectId string `protobuf:"bytes,19,opt,name=left_object_id,json=leftObjectId,proto3" json:"left_object_id" form:"left_object_id"` // //创建者 Creator string `protobuf:"bytes,20,opt,name=creator,proto3" json:"creator" form:"creator"` // //创建时间 Ctime string `protobuf:"bytes,21,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //创建时间的时间截 XTs int32 `protobuf:"varint,22,opt,name=_ts,json=Ts,proto3" json:"_ts" form:"_ts"` // //版本 XVersion int32 `protobuf:"varint,23,opt,name=_version,json=Version,proto3" json:"_version" form:"_version"` // //是否继承自父模型 IsInherit bool `protobuf:"varint,24,opt,name=isInherit,proto3" json:"isInherit" form:"isInherit"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
模型关系
func (*ObjectRelation) Descriptor ¶
func (*ObjectRelation) Descriptor() ([]byte, []int)
func (*ObjectRelation) GetCreator ¶
func (m *ObjectRelation) GetCreator() string
func (*ObjectRelation) GetCtime ¶
func (m *ObjectRelation) GetCtime() string
func (*ObjectRelation) GetIsInherit ¶
func (m *ObjectRelation) GetIsInherit() bool
func (*ObjectRelation) GetLeftDescription ¶
func (m *ObjectRelation) GetLeftDescription() string
func (*ObjectRelation) GetLeftGroups ¶
func (m *ObjectRelation) GetLeftGroups() []string
func (*ObjectRelation) GetLeftId ¶
func (m *ObjectRelation) GetLeftId() string
func (*ObjectRelation) GetLeftMax ¶
func (m *ObjectRelation) GetLeftMax() int32
func (*ObjectRelation) GetLeftMin ¶
func (m *ObjectRelation) GetLeftMin() int32
func (*ObjectRelation) GetLeftName ¶
func (m *ObjectRelation) GetLeftName() string
func (*ObjectRelation) GetLeftObjectId ¶
func (m *ObjectRelation) GetLeftObjectId() string
func (*ObjectRelation) GetLeftTags ¶
func (m *ObjectRelation) GetLeftTags() []string
func (*ObjectRelation) GetName ¶
func (m *ObjectRelation) GetName() string
func (*ObjectRelation) GetProtected ¶
func (m *ObjectRelation) GetProtected() bool
func (*ObjectRelation) GetRelationId ¶
func (m *ObjectRelation) GetRelationId() string
func (*ObjectRelation) GetRightDescription ¶
func (m *ObjectRelation) GetRightDescription() string
func (*ObjectRelation) GetRightGroups ¶
func (m *ObjectRelation) GetRightGroups() []string
func (*ObjectRelation) GetRightId ¶
func (m *ObjectRelation) GetRightId() string
func (*ObjectRelation) GetRightMax ¶
func (m *ObjectRelation) GetRightMax() int32
func (*ObjectRelation) GetRightMin ¶
func (m *ObjectRelation) GetRightMin() int32
func (*ObjectRelation) GetRightName ¶
func (m *ObjectRelation) GetRightName() string
func (*ObjectRelation) GetRightObjectId ¶
func (m *ObjectRelation) GetRightObjectId() string
func (*ObjectRelation) GetRightTags ¶
func (m *ObjectRelation) GetRightTags() []string
func (*ObjectRelation) GetXTs ¶
func (m *ObjectRelation) GetXTs() int32
func (*ObjectRelation) GetXVersion ¶
func (m *ObjectRelation) GetXVersion() int32
func (*ObjectRelation) ProtoMessage ¶
func (*ObjectRelation) ProtoMessage()
func (*ObjectRelation) Reset ¶
func (m *ObjectRelation) Reset()
func (*ObjectRelation) String ¶
func (m *ObjectRelation) String() string
func (*ObjectRelation) Validate ¶
func (this *ObjectRelation) Validate() error
func (*ObjectRelation) XXX_DiscardUnknown ¶
func (m *ObjectRelation) XXX_DiscardUnknown()
func (*ObjectRelation) XXX_Marshal ¶
func (m *ObjectRelation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectRelation) XXX_Merge ¶
func (m *ObjectRelation) XXX_Merge(src proto.Message)
func (*ObjectRelation) XXX_Size ¶
func (m *ObjectRelation) XXX_Size() int
func (*ObjectRelation) XXX_Unmarshal ¶
func (m *ObjectRelation) XXX_Unmarshal(b []byte) error
type ObjectRelationGroup ¶
type ObjectRelationGroup struct { // //分组ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //分组名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //true 表示内置关系分组 Protected bool `protobuf:"varint,3,opt,name=protected,proto3" json:"protected" form:"protected"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
模型关系分组
func (*ObjectRelationGroup) Descriptor ¶
func (*ObjectRelationGroup) Descriptor() ([]byte, []int)
func (*ObjectRelationGroup) GetId ¶
func (m *ObjectRelationGroup) GetId() string
func (*ObjectRelationGroup) GetName ¶
func (m *ObjectRelationGroup) GetName() string
func (*ObjectRelationGroup) GetProtected ¶
func (m *ObjectRelationGroup) GetProtected() bool
func (*ObjectRelationGroup) ProtoMessage ¶
func (*ObjectRelationGroup) ProtoMessage()
func (*ObjectRelationGroup) Reset ¶
func (m *ObjectRelationGroup) Reset()
func (*ObjectRelationGroup) String ¶
func (m *ObjectRelationGroup) String() string
func (*ObjectRelationGroup) Validate ¶
func (this *ObjectRelationGroup) Validate() error
func (*ObjectRelationGroup) XXX_DiscardUnknown ¶
func (m *ObjectRelationGroup) XXX_DiscardUnknown()
func (*ObjectRelationGroup) XXX_Marshal ¶
func (m *ObjectRelationGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectRelationGroup) XXX_Merge ¶
func (m *ObjectRelationGroup) XXX_Merge(src proto.Message)
func (*ObjectRelationGroup) XXX_Size ¶
func (m *ObjectRelationGroup) XXX_Size() int
func (*ObjectRelationGroup) XXX_Unmarshal ¶
func (m *ObjectRelationGroup) XXX_Unmarshal(b []byte) error
type ObjectView ¶
type ObjectView struct { // //是否可见 Visible bool `protobuf:"varint,1,opt,name=visible,proto3" json:"visible" form:"visible"` // //展示隐藏的属性 ShowHideAttrs bool `protobuf:"varint,2,opt,name=showHideAttrs,proto3" json:"showHideAttrs" form:"showHideAttrs"` // //设置隐藏属性,e.g.: ['appId', '_updatable'] HideColumns []string `protobuf:"bytes,3,rep,name=hide_columns,json=hideColumns,proto3" json:"hide_columns" form:"hide_columns"` // //定义如何展示关系,e.g.: { business: ['name'], tester: ['name'] }, 当relation_view为空时,会返回一个空数组 RelationView *types.Value `protobuf:"bytes,4,opt,name=relation_view,json=relationView,proto3" json:"relation_view" form:"relation_view"` // //展示时的属性顺序 AttrOrder []string `protobuf:"bytes,5,rep,name=attr_order,json=attrOrder,proto3" json:"attr_order" form:"attr_order"` // //模型属性列表,用来组成显示实例别名 ShowKey []string `protobuf:"bytes,6,rep,name=show_key,json=showKey,proto3" json:"show_key" form:"show_key"` // //属性/关系可见用户(组),e.g:{business: {'authorizers':[user]}} AttrAuthorizers *types.Struct `protobuf:"bytes,7,opt,name=attr_authorizers,json=attrAuthorizers,proto3" json:"attr_authorizers" form:"attr_authorizers"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
模型视图设置
func (*ObjectView) Descriptor ¶
func (*ObjectView) Descriptor() ([]byte, []int)
func (*ObjectView) GetAttrAuthorizers ¶
func (m *ObjectView) GetAttrAuthorizers() *types.Struct
func (*ObjectView) GetAttrOrder ¶
func (m *ObjectView) GetAttrOrder() []string
func (*ObjectView) GetHideColumns ¶
func (m *ObjectView) GetHideColumns() []string
func (*ObjectView) GetRelationView ¶
func (m *ObjectView) GetRelationView() *types.Value
func (*ObjectView) GetShowHideAttrs ¶
func (m *ObjectView) GetShowHideAttrs() bool
func (*ObjectView) GetShowKey ¶
func (m *ObjectView) GetShowKey() []string
func (*ObjectView) GetVisible ¶
func (m *ObjectView) GetVisible() bool
func (*ObjectView) ProtoMessage ¶
func (*ObjectView) ProtoMessage()
func (*ObjectView) Reset ¶
func (m *ObjectView) Reset()
func (*ObjectView) String ¶
func (m *ObjectView) String() string
func (*ObjectView) Validate ¶
func (this *ObjectView) Validate() error
func (*ObjectView) XXX_DiscardUnknown ¶
func (m *ObjectView) XXX_DiscardUnknown()
func (*ObjectView) XXX_Marshal ¶
func (m *ObjectView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectView) XXX_Merge ¶
func (m *ObjectView) XXX_Merge(src proto.Message)
func (*ObjectView) XXX_Size ¶
func (m *ObjectView) XXX_Size() int
func (*ObjectView) XXX_Unmarshal ¶
func (m *ObjectView) XXX_Unmarshal(b []byte) error
type RelationQueryStrategyV2 ¶
type RelationQueryStrategyV2 struct { // //策略ID(可以自定义, 不给定后台会默认生成) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //v3(精确查询)或v4(全量查询字段) ByPath string `protobuf:"bytes,2,opt,name=byPath,proto3" json:"byPath" form:"byPath"` // //策略名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"` // //策略类型(org 或者 user) Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type" form:"type"` // //策略内容(包含查询条件和返回的字段, 不指定返回的字段则默认返回name字段, alias ${objectId}.name) PathList []*types.Struct `protobuf:"bytes,5,rep,name=path_list,json=pathList,proto3" json:"path_list" form:"path_list"` // //策略所属模型id ObjectId string `protobuf:"bytes,6,opt,name=object_id,json=objectId,proto3" json:"object_id" form:"object_id"` // //创建时间 Ctime string `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //创建用户 Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator" form:"creator"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
模型关系查询策略v2
func (*RelationQueryStrategyV2) Descriptor ¶
func (*RelationQueryStrategyV2) Descriptor() ([]byte, []int)
func (*RelationQueryStrategyV2) GetByPath ¶
func (m *RelationQueryStrategyV2) GetByPath() string
func (*RelationQueryStrategyV2) GetCreator ¶
func (m *RelationQueryStrategyV2) GetCreator() string
func (*RelationQueryStrategyV2) GetCtime ¶
func (m *RelationQueryStrategyV2) GetCtime() string
func (*RelationQueryStrategyV2) GetId ¶
func (m *RelationQueryStrategyV2) GetId() string
func (*RelationQueryStrategyV2) GetName ¶
func (m *RelationQueryStrategyV2) GetName() string
func (*RelationQueryStrategyV2) GetObjectId ¶
func (m *RelationQueryStrategyV2) GetObjectId() string
func (*RelationQueryStrategyV2) GetPathList ¶
func (m *RelationQueryStrategyV2) GetPathList() []*types.Struct
func (*RelationQueryStrategyV2) GetType ¶
func (m *RelationQueryStrategyV2) GetType() string
func (*RelationQueryStrategyV2) ProtoMessage ¶
func (*RelationQueryStrategyV2) ProtoMessage()
func (*RelationQueryStrategyV2) Reset ¶
func (m *RelationQueryStrategyV2) Reset()
func (*RelationQueryStrategyV2) String ¶
func (m *RelationQueryStrategyV2) String() string
func (*RelationQueryStrategyV2) Validate ¶
func (this *RelationQueryStrategyV2) Validate() error
func (*RelationQueryStrategyV2) XXX_DiscardUnknown ¶
func (m *RelationQueryStrategyV2) XXX_DiscardUnknown()
func (*RelationQueryStrategyV2) XXX_Marshal ¶
func (m *RelationQueryStrategyV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelationQueryStrategyV2) XXX_Merge ¶
func (m *RelationQueryStrategyV2) XXX_Merge(src proto.Message)
func (*RelationQueryStrategyV2) XXX_Size ¶
func (m *RelationQueryStrategyV2) XXX_Size() int
func (*RelationQueryStrategyV2) XXX_Unmarshal ¶
func (m *RelationQueryStrategyV2) XXX_Unmarshal(b []byte) error
type StrategyPathNode ¶
type StrategyPathNode struct { // //节点模型ID ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId" form:"objectId"` // //节点查询条件 Query *types.Struct `protobuf:"bytes,2,opt,name=query,proto3" json:"query" form:"query"` // //节点查询返回字段 Fields []*StrategyPathNode_Fields `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields" form:"fields"` // //描述 RelationDescription string `protobuf:"bytes,4,opt,name=relationDescription,proto3" json:"relationDescription" form:"relationDescription"` // //关系id RelationId string `protobuf:"bytes,5,opt,name=relation_id,json=relationId,proto3" json:"relation_id" form:"relation_id"` // //关系对端id RelationSideId string `protobuf:"bytes,6,opt,name=relation_side_id,json=relationSideId,proto3" json:"relation_side_id" form:"relation_side_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询策略路径节点,路径为点-边-点结构,因此偶数节点objectId等数据为空,奇数点relation_id等数据为空
func (*StrategyPathNode) Descriptor ¶
func (*StrategyPathNode) Descriptor() ([]byte, []int)
func (*StrategyPathNode) GetFields ¶
func (m *StrategyPathNode) GetFields() []*StrategyPathNode_Fields
func (*StrategyPathNode) GetObjectId ¶
func (m *StrategyPathNode) GetObjectId() string
func (*StrategyPathNode) GetQuery ¶
func (m *StrategyPathNode) GetQuery() *types.Struct
func (*StrategyPathNode) GetRelationDescription ¶
func (m *StrategyPathNode) GetRelationDescription() string
func (*StrategyPathNode) GetRelationId ¶
func (m *StrategyPathNode) GetRelationId() string
func (*StrategyPathNode) GetRelationSideId ¶
func (m *StrategyPathNode) GetRelationSideId() string
func (*StrategyPathNode) ProtoMessage ¶
func (*StrategyPathNode) ProtoMessage()
func (*StrategyPathNode) Reset ¶
func (m *StrategyPathNode) Reset()
func (*StrategyPathNode) String ¶
func (m *StrategyPathNode) String() string
func (*StrategyPathNode) Validate ¶
func (this *StrategyPathNode) Validate() error
func (*StrategyPathNode) XXX_DiscardUnknown ¶
func (m *StrategyPathNode) XXX_DiscardUnknown()
func (*StrategyPathNode) XXX_Marshal ¶
func (m *StrategyPathNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StrategyPathNode) XXX_Merge ¶
func (m *StrategyPathNode) XXX_Merge(src proto.Message)
func (*StrategyPathNode) XXX_Size ¶
func (m *StrategyPathNode) XXX_Size() int
func (*StrategyPathNode) XXX_Unmarshal ¶
func (m *StrategyPathNode) XXX_Unmarshal(b []byte) error
type StrategyPathNode_Fields ¶
type StrategyPathNode_Fields struct { // //字段id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //字段映射id AliasId string `protobuf:"bytes,2,opt,name=alias_id,json=aliasId,proto3" json:"alias_id" form:"alias_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StrategyPathNode_Fields) Descriptor ¶
func (*StrategyPathNode_Fields) Descriptor() ([]byte, []int)
func (*StrategyPathNode_Fields) GetAliasId ¶
func (m *StrategyPathNode_Fields) GetAliasId() string
func (*StrategyPathNode_Fields) GetId ¶
func (m *StrategyPathNode_Fields) GetId() string
func (*StrategyPathNode_Fields) ProtoMessage ¶
func (*StrategyPathNode_Fields) ProtoMessage()
func (*StrategyPathNode_Fields) Reset ¶
func (m *StrategyPathNode_Fields) Reset()
func (*StrategyPathNode_Fields) String ¶
func (m *StrategyPathNode_Fields) String() string
func (*StrategyPathNode_Fields) Validate ¶
func (this *StrategyPathNode_Fields) Validate() error
func (*StrategyPathNode_Fields) XXX_DiscardUnknown ¶
func (m *StrategyPathNode_Fields) XXX_DiscardUnknown()
func (*StrategyPathNode_Fields) XXX_Marshal ¶
func (m *StrategyPathNode_Fields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StrategyPathNode_Fields) XXX_Merge ¶
func (m *StrategyPathNode_Fields) XXX_Merge(src proto.Message)
func (*StrategyPathNode_Fields) XXX_Size ¶
func (m *StrategyPathNode_Fields) XXX_Size() int
func (*StrategyPathNode_Fields) XXX_Unmarshal ¶
func (m *StrategyPathNode_Fields) XXX_Unmarshal(b []byte) error
type TFLockInfo ¶
type TFLockInfo struct { // //锁Id,随机生成 ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID" form:"ID"` // //Terraform operation, provided by the caller. Operation string `protobuf:"bytes,2,opt,name=Operation,proto3" json:"Operation" form:"Operation"` // //Extra information to store with the lock, provided by the caller. Info string `protobuf:"bytes,3,opt,name=Info,proto3" json:"Info" form:"Info"` // //user@hostname when available Who string `protobuf:"bytes,4,opt,name=Who,proto3" json:"Who" form:"Who"` // //Terraform version Version string `protobuf:"bytes,5,opt,name=Version,proto3" json:"Version" form:"Version"` // //Time that the lock was taken. Created string `protobuf:"bytes,6,opt,name=Created,proto3" json:"Created" form:"Created"` // //Path to the state file when applicable. Set by the Lock implementation. Path string `protobuf:"bytes,7,opt,name=Path,proto3" json:"Path" form:"Path"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
terrafrom锁信息
func (*TFLockInfo) Descriptor ¶
func (*TFLockInfo) Descriptor() ([]byte, []int)
func (*TFLockInfo) GetCreated ¶
func (m *TFLockInfo) GetCreated() string
func (*TFLockInfo) GetID ¶
func (m *TFLockInfo) GetID() string
func (*TFLockInfo) GetInfo ¶
func (m *TFLockInfo) GetInfo() string
func (*TFLockInfo) GetOperation ¶
func (m *TFLockInfo) GetOperation() string
func (*TFLockInfo) GetPath ¶
func (m *TFLockInfo) GetPath() string
func (*TFLockInfo) GetVersion ¶
func (m *TFLockInfo) GetVersion() string
func (*TFLockInfo) GetWho ¶
func (m *TFLockInfo) GetWho() string
func (*TFLockInfo) ProtoMessage ¶
func (*TFLockInfo) ProtoMessage()
func (*TFLockInfo) Reset ¶
func (m *TFLockInfo) Reset()
func (*TFLockInfo) String ¶
func (m *TFLockInfo) String() string
func (*TFLockInfo) Validate ¶
func (this *TFLockInfo) Validate() error
func (*TFLockInfo) XXX_DiscardUnknown ¶
func (m *TFLockInfo) XXX_DiscardUnknown()
func (*TFLockInfo) XXX_Marshal ¶
func (m *TFLockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TFLockInfo) XXX_Merge ¶
func (m *TFLockInfo) XXX_Merge(src proto.Message)
func (*TFLockInfo) XXX_Size ¶
func (m *TFLockInfo) XXX_Size() int
func (*TFLockInfo) XXX_Unmarshal ¶
func (m *TFLockInfo) XXX_Unmarshal(b []byte) error
type TFStateV4 ¶
type TFStateV4 struct { // //version Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version" form:"version"` // //terraform_version TerraformVersion string `protobuf:"bytes,2,opt,name=terraform_version,json=terraformVersion,proto3" json:"terraform_version" form:"terraform_version"` // //serial Serial int32 `protobuf:"varint,3,opt,name=serial,proto3" json:"serial" form:"serial"` // //lineage Lineage string `protobuf:"bytes,4,opt,name=lineage,proto3" json:"lineage" form:"lineage"` // //outputs Outputs *types.Struct `protobuf:"bytes,5,opt,name=outputs,proto3" json:"outputs" form:"outputs"` // //resources Resources []*TFStateV4_Resources `protobuf:"bytes,6,rep,name=resources,proto3" json:"resources" form:"resources"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
terrafrom state信息 v4
func (*TFStateV4) Descriptor ¶
func (*TFStateV4) GetLineage ¶
func (*TFStateV4) GetOutputs ¶
func (*TFStateV4) GetResources ¶
func (m *TFStateV4) GetResources() []*TFStateV4_Resources
func (*TFStateV4) GetTerraformVersion ¶
func (*TFStateV4) GetVersion ¶
func (*TFStateV4) ProtoMessage ¶
func (*TFStateV4) ProtoMessage()
func (*TFStateV4) XXX_DiscardUnknown ¶
func (m *TFStateV4) XXX_DiscardUnknown()
func (*TFStateV4) XXX_Marshal ¶
func (*TFStateV4) XXX_Unmarshal ¶
type TFStateV4_Resources ¶
type TFStateV4_Resources struct { // //mode,eg:managed Mode string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode" form:"mode"` // //type,eg:kubernetes_namespace Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"` // //name,eg:example Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"` // //provider,eg:provider.kubernetes Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider" form:"provider"` // //instances Instances []*types.Struct `protobuf:"bytes,5,rep,name=instances,proto3" json:"instances" form:"instances"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TFStateV4_Resources) Descriptor ¶
func (*TFStateV4_Resources) Descriptor() ([]byte, []int)
func (*TFStateV4_Resources) GetInstances ¶
func (m *TFStateV4_Resources) GetInstances() []*types.Struct
func (*TFStateV4_Resources) GetMode ¶
func (m *TFStateV4_Resources) GetMode() string
func (*TFStateV4_Resources) GetName ¶
func (m *TFStateV4_Resources) GetName() string
func (*TFStateV4_Resources) GetProvider ¶
func (m *TFStateV4_Resources) GetProvider() string
func (*TFStateV4_Resources) GetType ¶
func (m *TFStateV4_Resources) GetType() string
func (*TFStateV4_Resources) ProtoMessage ¶
func (*TFStateV4_Resources) ProtoMessage()
func (*TFStateV4_Resources) Reset ¶
func (m *TFStateV4_Resources) Reset()
func (*TFStateV4_Resources) String ¶
func (m *TFStateV4_Resources) String() string
func (*TFStateV4_Resources) Validate ¶
func (this *TFStateV4_Resources) Validate() error
func (*TFStateV4_Resources) XXX_DiscardUnknown ¶
func (m *TFStateV4_Resources) XXX_DiscardUnknown()
func (*TFStateV4_Resources) XXX_Marshal ¶
func (m *TFStateV4_Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TFStateV4_Resources) XXX_Merge ¶
func (m *TFStateV4_Resources) XXX_Merge(src proto.Message)
func (*TFStateV4_Resources) XXX_Size ¶
func (m *TFStateV4_Resources) XXX_Size() int
func (*TFStateV4_Resources) XXX_Unmarshal ¶
func (m *TFStateV4_Resources) XXX_Unmarshal(b []byte) error
type TraverseChildNode ¶
type TraverseChildNode struct { // //父节点指向当前节点的关系字段, 比如 APP的 owner, CLUSTER 的 deviceList ParentOut string `protobuf:"bytes,1,opt,name=parentOut,proto3" json:"parentOut" form:"parentOut"` // //当前图所有实例的过滤条件 (过滤条件不仅支持属性的过滤,也支持关系字段的过滤) Query *types.Struct `protobuf:"bytes,2,opt,name=query,proto3" json:"query" form:"query"` // //指定返回此关系指向模型的fields Fields *types.Struct `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields" form:"fields"` // //自递归深度 -1表示不限深度 Depth int32 `protobuf:"varint,4,opt,name=depth,proto3" json:"depth" form:"depth"` // //子节点列表 Child []*TraverseChildNode `protobuf:"bytes,5,rep,name=child,proto3" json:"child" form:"child"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TraverseChildNode
func (*TraverseChildNode) Descriptor ¶
func (*TraverseChildNode) Descriptor() ([]byte, []int)
func (*TraverseChildNode) GetChild ¶
func (m *TraverseChildNode) GetChild() []*TraverseChildNode
func (*TraverseChildNode) GetDepth ¶
func (m *TraverseChildNode) GetDepth() int32
func (*TraverseChildNode) GetFields ¶
func (m *TraverseChildNode) GetFields() *types.Struct
func (*TraverseChildNode) GetParentOut ¶
func (m *TraverseChildNode) GetParentOut() string
func (*TraverseChildNode) GetQuery ¶
func (m *TraverseChildNode) GetQuery() *types.Struct
func (*TraverseChildNode) ProtoMessage ¶
func (*TraverseChildNode) ProtoMessage()
func (*TraverseChildNode) Reset ¶
func (m *TraverseChildNode) Reset()
func (*TraverseChildNode) String ¶
func (m *TraverseChildNode) String() string
func (*TraverseChildNode) Validate ¶
func (this *TraverseChildNode) Validate() error
func (*TraverseChildNode) XXX_DiscardUnknown ¶
func (m *TraverseChildNode) XXX_DiscardUnknown()
func (*TraverseChildNode) XXX_Marshal ¶
func (m *TraverseChildNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TraverseChildNode) XXX_Merge ¶
func (m *TraverseChildNode) XXX_Merge(src proto.Message)
func (*TraverseChildNode) XXX_Size ¶
func (m *TraverseChildNode) XXX_Size() int
func (*TraverseChildNode) XXX_Unmarshal ¶
func (m *TraverseChildNode) XXX_Unmarshal(b []byte) error
type User ¶
type User 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"` // //名称 Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname" form:"nickname"` // //邮箱 UserEmail string `protobuf:"bytes,4,opt,name=user_email,json=userEmail,proto3" json:"user_email" form:"user_email"` // //电话号码 UserTel string `protobuf:"bytes,5,opt,name=user_tel,json=userTel,proto3" json:"user_tel" form:"user_tel"` // //企业微信账号 WeworkUserid string `protobuf:"bytes,6,opt,name=wework_userid,json=weworkUserid,proto3" json:"wework_userid" form:"wework_userid"` // //状态 State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state" form:"state"` // //备注 UserMemo string `protobuf:"bytes,8,opt,name=user_memo,json=userMemo,proto3" json:"user_memo" form:"user_memo"` // //自动发现用户 XIsAutoDescovery string `` /* 126-byte string literal not displayed */ // //员工姓名 Code string `protobuf:"bytes,10,opt,name=code,proto3" json:"code" form:"code"` // //用户手机 UserPhone string `protobuf:"bytes,11,opt,name=user_phone,json=userPhone,proto3" json:"user_phone" form:"user_phone"` // //用户类型 UserType string `protobuf:"bytes,12,opt,name=user_type,json=userType,proto3" json:"user_type" form:"user_type"` // //微信 UserWechat string `protobuf:"bytes,13,opt,name=user_wechat,json=userWechat,proto3" json:"user_wechat" form:"user_wechat"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
用户信息
func (*User) Descriptor ¶
func (*User) GetInstanceId ¶
func (*User) GetNickname ¶
func (*User) GetUserEmail ¶
func (*User) GetUserMemo ¶
func (*User) GetUserPhone ¶
func (*User) GetUserTel ¶
func (*User) GetUserType ¶
func (*User) GetUserWechat ¶
func (*User) GetWeworkUserid ¶
func (*User) GetXIsAutoDescovery ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
Source Files ¶
- auto_discovery_instance.pb.go
- auto_discovery_instance.validator.pb.go
- cluster_info.pb.go
- cluster_info.validator.pb.go
- cmdb_object.pb.go
- cmdb_object.validator.pb.go
- fail_instance.pb.go
- fail_instance.validator.pb.go
- import_result.pb.go
- import_result.validator.pb.go
- import_status.pb.go
- import_status.validator.pb.go
- instance_query_strategy.pb.go
- instance_query_strategy.validator.pb.go
- instance_relation_pair.pb.go
- instance_relation_pair.validator.pb.go
- instance_relation_request.pb.go
- instance_relation_request.validator.pb.go
- instance_tree_child_node.pb.go
- instance_tree_child_node.validator.pb.go
- instance_tree_root_node.pb.go
- instance_tree_root_node.validator.pb.go
- object_attr.pb.go
- object_attr.validator.pb.go
- object_attr_value.pb.go
- object_attr_value.validator.pb.go
- object_attr_value_struct.pb.go
- object_attr_value_struct.validator.pb.go
- object_import.pb.go
- object_import.validator.pb.go
- object_relation.pb.go
- object_relation.validator.pb.go
- object_relation_group.pb.go
- object_relation_group.validator.pb.go
- object_view.pb.go
- object_view.validator.pb.go
- relation_query_strategy_v2.pb.go
- relation_query_strategy_v2.validator.pb.go
- strategy_path_node.pb.go
- strategy_path_node.validator.pb.go
- tf_lock_info.pb.go
- tf_lock_info.validator.pb.go
- tf_state_v4.pb.go
- tf_state_v4.validator.pb.go
- traverse_child_node.pb.go
- traverse_child_node.validator.pb.go
- user.pb.go
- user.validator.pb.go
Click to show internal directories.
Click to hide internal directories.