Documentation ¶
Index ¶
- Variables
- type Data
- type IDL
- func (p *IDL) GetCommitHash() (v string)
- func (p *IDL) GetCreateTime() (v string)
- func (p *IDL) GetId() (v int64)
- func (p *IDL) GetIdlRepositoryId() (v int64)
- func (p *IDL) GetImportIdls() (v []*ImportIDL)
- func (p *IDL) GetIsDeleted() (v bool)
- func (p *IDL) GetLastSyncTime() (v string)
- func (p *IDL) GetMainIdlPath() (v string)
- func (p *IDL) GetServiceName() (v string)
- func (p *IDL) GetServiceRepositoryId() (v int64)
- func (p *IDL) GetStatus() (v int32)
- func (p *IDL) GetUpdateTime() (v string)
- func (p *IDL) InitDefault()
- func (p *IDL) SetCommitHash(val string)
- func (p *IDL) SetCreateTime(val string)
- func (p *IDL) SetId(val int64)
- func (p *IDL) SetIdlRepositoryId(val int64)
- func (p *IDL) SetImportIdls(val []*ImportIDL)
- func (p *IDL) SetIsDeleted(val bool)
- func (p *IDL) SetLastSyncTime(val string)
- func (p *IDL) SetMainIdlPath(val string)
- func (p *IDL) SetServiceName(val string)
- func (p *IDL) SetServiceRepositoryId(val int64)
- func (p *IDL) SetStatus(val int32)
- func (p *IDL) SetUpdateTime(val string)
- func (p *IDL) String() string
- type IDLWithRepositoryInfo
- func (p *IDLWithRepositoryInfo) GetCommitHash() (v string)
- func (p *IDLWithRepositoryInfo) GetCreateTime() (v string)
- func (p *IDLWithRepositoryInfo) GetId() (v int64)
- func (p *IDLWithRepositoryInfo) GetIdlRepository() (v *Repository)
- func (p *IDLWithRepositoryInfo) GetIdlRepositoryId() (v int64)
- func (p *IDLWithRepositoryInfo) GetImportIdls() (v []*ImportIDL)
- func (p *IDLWithRepositoryInfo) GetIsDeleted() (v bool)
- func (p *IDLWithRepositoryInfo) GetLastSyncTime() (v string)
- func (p *IDLWithRepositoryInfo) GetMainIdlPath() (v string)
- func (p *IDLWithRepositoryInfo) GetServiceName() (v string)
- func (p *IDLWithRepositoryInfo) GetServiceRepository() (v *Repository)
- func (p *IDLWithRepositoryInfo) GetServiceRepositoryId() (v int64)
- func (p *IDLWithRepositoryInfo) GetStatus() (v int32)
- func (p *IDLWithRepositoryInfo) GetUpdateTime() (v string)
- func (p *IDLWithRepositoryInfo) InitDefault()
- func (p *IDLWithRepositoryInfo) IsSetIdlRepository() bool
- func (p *IDLWithRepositoryInfo) IsSetServiceRepository() bool
- func (p *IDLWithRepositoryInfo) SetCommitHash(val string)
- func (p *IDLWithRepositoryInfo) SetCreateTime(val string)
- func (p *IDLWithRepositoryInfo) SetId(val int64)
- func (p *IDLWithRepositoryInfo) SetIdlRepository(val *Repository)
- func (p *IDLWithRepositoryInfo) SetIdlRepositoryId(val int64)
- func (p *IDLWithRepositoryInfo) SetImportIdls(val []*ImportIDL)
- func (p *IDLWithRepositoryInfo) SetIsDeleted(val bool)
- func (p *IDLWithRepositoryInfo) SetLastSyncTime(val string)
- func (p *IDLWithRepositoryInfo) SetMainIdlPath(val string)
- func (p *IDLWithRepositoryInfo) SetServiceName(val string)
- func (p *IDLWithRepositoryInfo) SetServiceRepository(val *Repository)
- func (p *IDLWithRepositoryInfo) SetServiceRepositoryId(val int64)
- func (p *IDLWithRepositoryInfo) SetStatus(val int32)
- func (p *IDLWithRepositoryInfo) SetUpdateTime(val string)
- func (p *IDLWithRepositoryInfo) String() string
- type ImportIDL
- type Repository
- func (p *Repository) GetCreateTime() (v string)
- func (p *Repository) GetId() (v int64)
- func (p *Repository) GetIsDeleted() (v bool)
- func (p *Repository) GetLastSyncTime() (v string)
- func (p *Repository) GetLastUpdateTime() (v string)
- func (p *Repository) GetRepositoryBranch() (v string)
- func (p *Repository) GetRepositoryDomain() (v string)
- func (p *Repository) GetRepositoryName() (v string)
- func (p *Repository) GetRepositoryOwner() (v string)
- func (p *Repository) GetRepositoryType() (v int32)
- func (p *Repository) GetStatus() (v int32)
- func (p *Repository) GetStoreType() (v int32)
- func (p *Repository) GetTokenId() (v int64)
- func (p *Repository) GetUpdateTime() (v string)
- func (p *Repository) InitDefault()
- func (p *Repository) SetCreateTime(val string)
- func (p *Repository) SetId(val int64)
- func (p *Repository) SetIsDeleted(val bool)
- func (p *Repository) SetLastSyncTime(val string)
- func (p *Repository) SetLastUpdateTime(val string)
- func (p *Repository) SetRepositoryBranch(val string)
- func (p *Repository) SetRepositoryDomain(val string)
- func (p *Repository) SetRepositoryName(val string)
- func (p *Repository) SetRepositoryOwner(val string)
- func (p *Repository) SetRepositoryType(val int32)
- func (p *Repository) SetStatus(val int32)
- func (p *Repository) SetStoreType(val int32)
- func (p *Repository) SetTokenId(val int64)
- func (p *Repository) SetUpdateTime(val string)
- func (p *Repository) String() string
- type SyncIdlData
- type Task
- func (p *Task) GetData() (v *Data)
- func (p *Task) GetId() (v string)
- func (p *Task) GetScheduleTime() (v string)
- func (p *Task) GetType() (v Type)
- func (p *Task) InitDefault()
- func (p *Task) IsSetData() bool
- func (p *Task) SetData(val *Data)
- func (p *Task) SetId(val string)
- func (p *Task) SetScheduleTime(val string)
- func (p *Task) SetType(val Type)
- func (p *Task) String() string
- type Template
- func (p *Template) GetCreateTime() (v string)
- func (p *Template) GetId() (v int64)
- func (p *Template) GetIsDeleted() (v bool)
- func (p *Template) GetName() (v string)
- func (p *Template) GetType() (v int32)
- func (p *Template) GetUpdateTime() (v string)
- func (p *Template) InitDefault()
- func (p *Template) SetCreateTime(val string)
- func (p *Template) SetId(val int64)
- func (p *Template) SetIsDeleted(val bool)
- func (p *Template) SetName(val string)
- func (p *Template) SetType(val int32)
- func (p *Template) SetUpdateTime(val string)
- func (p *Template) String() string
- type TemplateItem
- func (p *TemplateItem) GetContent() (v string)
- func (p *TemplateItem) GetCreateTime() (v string)
- func (p *TemplateItem) GetId() (v int64)
- func (p *TemplateItem) GetIsDeleted() (v bool)
- func (p *TemplateItem) GetName() (v string)
- func (p *TemplateItem) GetTemplateId() (v int64)
- func (p *TemplateItem) GetUpdateTime() (v string)
- func (p *TemplateItem) InitDefault()
- func (p *TemplateItem) SetContent(val string)
- func (p *TemplateItem) SetCreateTime(val string)
- func (p *TemplateItem) SetId(val int64)
- func (p *TemplateItem) SetIsDeleted(val bool)
- func (p *TemplateItem) SetName(val string)
- func (p *TemplateItem) SetTemplateId(val int64)
- func (p *TemplateItem) SetUpdateTime(val string)
- func (p *TemplateItem) String() string
- type TemplateWithItemInfo
- func (p *TemplateWithItemInfo) GetItems() (v []*TemplateItem)
- func (p *TemplateWithItemInfo) GetTemplate() (v *Template)
- func (p *TemplateWithItemInfo) InitDefault()
- func (p *TemplateWithItemInfo) IsSetTemplate() bool
- func (p *TemplateWithItemInfo) SetItems(val []*TemplateItem)
- func (p *TemplateWithItemInfo) SetTemplate(val *Template)
- func (p *TemplateWithItemInfo) String() string
- type Token
- func (p *Token) GetCreateTime() (v string)
- func (p *Token) GetExpirationTime() (v string)
- func (p *Token) GetId() (v int64)
- func (p *Token) GetIsDeleted() (v bool)
- func (p *Token) GetOwner() (v string)
- func (p *Token) GetOwnerId() (v int64)
- func (p *Token) GetRepositoryDomain() (v string)
- func (p *Token) GetRepositoryType() (v int32)
- func (p *Token) GetStatus() (v int32)
- func (p *Token) GetToken() (v string)
- func (p *Token) GetTokenType() (v int32)
- func (p *Token) GetUpdateTime() (v string)
- func (p *Token) InitDefault()
- func (p *Token) SetCreateTime(val string)
- func (p *Token) SetExpirationTime(val string)
- func (p *Token) SetId(val int64)
- func (p *Token) SetIsDeleted(val bool)
- func (p *Token) SetOwner(val string)
- func (p *Token) SetOwnerId(val int64)
- func (p *Token) SetRepositoryDomain(val string)
- func (p *Token) SetRepositoryType(val int32)
- func (p *Token) SetStatus(val int32)
- func (p *Token) SetToken(val string)
- func (p *Token) SetTokenType(val int32)
- func (p *Token) SetUpdateTime(val string)
- func (p *Token) String() string
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct {
SyncIdlData *SyncIdlData `thrift:"syncIdlData,1,optional" frugal:"1,optional,SyncIdlData" json:"syncIdlData,omitempty"`
}
var Task_Data_DEFAULT *Data
func (*Data) CountSetFieldsData ¶
func (*Data) GetSyncIdlData ¶
func (p *Data) GetSyncIdlData() (v *SyncIdlData)
func (*Data) InitDefault ¶
func (p *Data) InitDefault()
func (*Data) IsSetSyncIdlData ¶
func (*Data) SetSyncIdlData ¶
func (p *Data) SetSyncIdlData(val *SyncIdlData)
type IDL ¶
type IDL struct { // idl record id Id int64 `thrift:"id,1" frugal:"1,default,i64" form:"id" json:"id" query:"id"` // repository id where stores the idl IdlRepositoryId int64 `` /* 127-byte string literal not displayed */ // repository id where stores the service ServiceRepositoryId int64 `` /* 143-byte string literal not displayed */ // repo ref path of idl MainIdlPath string `thrift:"main_idl_path,4" frugal:"4,default,string" form:"main_idl_path" json:"main_idl_path" query:"main_idl_path"` // idl file commit hash CommitHash string `thrift:"commit_hash,5" frugal:"5,default,string" form:"commit_hash" json:"commit_hash" query:"commit_hash"` ImportIdls []*ImportIDL `thrift:"import_idls,6" frugal:"6,default,list<ImportIDL>" form:"import_idls" json:"import_idls" query:"import_idls"` // service name ServiceName string `thrift:"service_name,7" frugal:"7,default,string" form:"service_name" json:"service_name" query:"service_name"` // idl last sync time LastSyncTime string `thrift:"last_sync_time,8" frugal:"8,default,string" form:"last_sync_time" json:"last_sync_time" query:"last_sync_time"` // idl status Status int32 `thrift:"status,9" frugal:"9,default,i32" form:"status" json:"status" query:"status"` IsDeleted bool `thrift:"is_deleted,10" frugal:"10,default,bool" form:"is_deleted" json:"is_deleted" query:"is_deleted"` CreateTime string `thrift:"create_time,11" frugal:"11,default,string" form:"create_time" json:"create_time" query:"create_time"` UpdateTime string `thrift:"update_time,12" frugal:"12,default,string" form:"update_time" json:"update_time" query:"update_time"` }
func (*IDL) GetCommitHash ¶
func (*IDL) GetCreateTime ¶
func (*IDL) GetIdlRepositoryId ¶
func (*IDL) GetImportIdls ¶
func (*IDL) GetIsDeleted ¶
func (*IDL) GetLastSyncTime ¶
func (*IDL) GetMainIdlPath ¶
func (*IDL) GetServiceName ¶
func (*IDL) GetServiceRepositoryId ¶
func (*IDL) GetUpdateTime ¶
func (*IDL) InitDefault ¶
func (p *IDL) InitDefault()
func (*IDL) SetCommitHash ¶
func (*IDL) SetCreateTime ¶
func (*IDL) SetIdlRepositoryId ¶
func (*IDL) SetImportIdls ¶
func (*IDL) SetIsDeleted ¶
func (*IDL) SetLastSyncTime ¶
func (*IDL) SetMainIdlPath ¶
func (*IDL) SetServiceName ¶
func (*IDL) SetServiceRepositoryId ¶
func (*IDL) SetUpdateTime ¶
type IDLWithRepositoryInfo ¶
type IDLWithRepositoryInfo struct { // idl record id Id int64 `thrift:"id,1" frugal:"1,default,i64" form:"id" json:"id" query:"id"` // repository id where stores the idl IdlRepositoryId int64 `` /* 127-byte string literal not displayed */ // idl repository info IdlRepository *Repository `thrift:"idl_repository,3" frugal:"3,default,Repository" form:"idl_repository" json:"idl_repository" query:"idl_repository"` // repository id where stores the service ServiceRepositoryId int64 `` /* 143-byte string literal not displayed */ // service repository info ServiceRepository *Repository `` /* 138-byte string literal not displayed */ // repo ref path of idl MainIdlPath string `thrift:"main_idl_path,6" frugal:"6,default,string" form:"main_idl_path" json:"main_idl_path" query:"main_idl_path"` // idl file commit hash CommitHash string `thrift:"commit_hash,7" frugal:"7,default,string" form:"commit_hash" json:"commit_hash" query:"commit_hash"` ImportIdls []*ImportIDL `thrift:"import_idls,8" frugal:"8,default,list<ImportIDL>" form:"import_idls" json:"import_idls" query:"import_idls"` // service name ServiceName string `thrift:"service_name,9" frugal:"9,default,string" form:"service_name" json:"service_name" query:"service_name"` // idl last sync time LastSyncTime string `thrift:"last_sync_time,10" frugal:"10,default,string" form:"last_sync_time" json:"last_sync_time" query:"last_sync_time"` // idl status Status int32 `thrift:"status,11" frugal:"11,default,i32" form:"status" json:"status" query:"status"` IsDeleted bool `thrift:"is_deleted,12" frugal:"12,default,bool" form:"is_deleted" json:"is_deleted" query:"is_deleted"` CreateTime string `thrift:"create_time,13" frugal:"13,default,string" form:"create_time" json:"create_time" query:"create_time"` UpdateTime string `thrift:"update_time,14" frugal:"14,default,string" form:"update_time" json:"update_time" query:"update_time"` }
func NewIDLWithRepositoryInfo ¶
func NewIDLWithRepositoryInfo() *IDLWithRepositoryInfo
func (*IDLWithRepositoryInfo) GetCommitHash ¶
func (p *IDLWithRepositoryInfo) GetCommitHash() (v string)
func (*IDLWithRepositoryInfo) GetCreateTime ¶
func (p *IDLWithRepositoryInfo) GetCreateTime() (v string)
func (*IDLWithRepositoryInfo) GetId ¶
func (p *IDLWithRepositoryInfo) GetId() (v int64)
func (*IDLWithRepositoryInfo) GetIdlRepository ¶
func (p *IDLWithRepositoryInfo) GetIdlRepository() (v *Repository)
func (*IDLWithRepositoryInfo) GetIdlRepositoryId ¶
func (p *IDLWithRepositoryInfo) GetIdlRepositoryId() (v int64)
func (*IDLWithRepositoryInfo) GetImportIdls ¶
func (p *IDLWithRepositoryInfo) GetImportIdls() (v []*ImportIDL)
func (*IDLWithRepositoryInfo) GetIsDeleted ¶
func (p *IDLWithRepositoryInfo) GetIsDeleted() (v bool)
func (*IDLWithRepositoryInfo) GetLastSyncTime ¶
func (p *IDLWithRepositoryInfo) GetLastSyncTime() (v string)
func (*IDLWithRepositoryInfo) GetMainIdlPath ¶
func (p *IDLWithRepositoryInfo) GetMainIdlPath() (v string)
func (*IDLWithRepositoryInfo) GetServiceName ¶
func (p *IDLWithRepositoryInfo) GetServiceName() (v string)
func (*IDLWithRepositoryInfo) GetServiceRepository ¶
func (p *IDLWithRepositoryInfo) GetServiceRepository() (v *Repository)
func (*IDLWithRepositoryInfo) GetServiceRepositoryId ¶
func (p *IDLWithRepositoryInfo) GetServiceRepositoryId() (v int64)
func (*IDLWithRepositoryInfo) GetStatus ¶
func (p *IDLWithRepositoryInfo) GetStatus() (v int32)
func (*IDLWithRepositoryInfo) GetUpdateTime ¶
func (p *IDLWithRepositoryInfo) GetUpdateTime() (v string)
func (*IDLWithRepositoryInfo) InitDefault ¶
func (p *IDLWithRepositoryInfo) InitDefault()
func (*IDLWithRepositoryInfo) IsSetIdlRepository ¶
func (p *IDLWithRepositoryInfo) IsSetIdlRepository() bool
func (*IDLWithRepositoryInfo) IsSetServiceRepository ¶
func (p *IDLWithRepositoryInfo) IsSetServiceRepository() bool
func (*IDLWithRepositoryInfo) SetCommitHash ¶
func (p *IDLWithRepositoryInfo) SetCommitHash(val string)
func (*IDLWithRepositoryInfo) SetCreateTime ¶
func (p *IDLWithRepositoryInfo) SetCreateTime(val string)
func (*IDLWithRepositoryInfo) SetId ¶
func (p *IDLWithRepositoryInfo) SetId(val int64)
func (*IDLWithRepositoryInfo) SetIdlRepository ¶
func (p *IDLWithRepositoryInfo) SetIdlRepository(val *Repository)
func (*IDLWithRepositoryInfo) SetIdlRepositoryId ¶
func (p *IDLWithRepositoryInfo) SetIdlRepositoryId(val int64)
func (*IDLWithRepositoryInfo) SetImportIdls ¶
func (p *IDLWithRepositoryInfo) SetImportIdls(val []*ImportIDL)
func (*IDLWithRepositoryInfo) SetIsDeleted ¶
func (p *IDLWithRepositoryInfo) SetIsDeleted(val bool)
func (*IDLWithRepositoryInfo) SetLastSyncTime ¶
func (p *IDLWithRepositoryInfo) SetLastSyncTime(val string)
func (*IDLWithRepositoryInfo) SetMainIdlPath ¶
func (p *IDLWithRepositoryInfo) SetMainIdlPath(val string)
func (*IDLWithRepositoryInfo) SetServiceName ¶
func (p *IDLWithRepositoryInfo) SetServiceName(val string)
func (*IDLWithRepositoryInfo) SetServiceRepository ¶
func (p *IDLWithRepositoryInfo) SetServiceRepository(val *Repository)
func (*IDLWithRepositoryInfo) SetServiceRepositoryId ¶
func (p *IDLWithRepositoryInfo) SetServiceRepositoryId(val int64)
func (*IDLWithRepositoryInfo) SetStatus ¶
func (p *IDLWithRepositoryInfo) SetStatus(val int32)
func (*IDLWithRepositoryInfo) SetUpdateTime ¶
func (p *IDLWithRepositoryInfo) SetUpdateTime(val string)
func (*IDLWithRepositoryInfo) String ¶
func (p *IDLWithRepositoryInfo) String() string
type ImportIDL ¶
type ImportIDL struct { IdlPath string `thrift:"idl_path,1" frugal:"1,default,string" form:"idl_path" json:"idl_path" query:"idl_path"` CommitHash string `thrift:"commit_hash,2" frugal:"2,default,string" form:"commit_hash" json:"commit_hash" query:"commit_hash"` }
func NewImportIDL ¶
func NewImportIDL() *ImportIDL
func (*ImportIDL) GetCommitHash ¶
func (*ImportIDL) GetIdlPath ¶
func (*ImportIDL) InitDefault ¶
func (p *ImportIDL) InitDefault()
func (*ImportIDL) SetCommitHash ¶
func (*ImportIDL) SetIdlPath ¶
type Repository ¶
type Repository struct { // repository record id Id int64 `thrift:"id,1" frugal:"1,default,i64" form:"id" json:"id" query:"id"` // repository type (1: gitlab, 2: github) RepositoryType int32 `thrift:"repository_type,2" frugal:"2,default,i32" form:"repository_type" json:"repository_type" query:"repository_type"` // repository domain RepositoryDomain string `` /* 130-byte string literal not displayed */ // repository owner RepositoryOwner string `` /* 126-byte string literal not displayed */ // repository name RepositoryName string `thrift:"repository_name,5" frugal:"5,default,string" form:"repository_name" json:"repository_name" query:"repository_name"` // repository branch RepositoryBranch string `` /* 130-byte string literal not displayed */ // repository store type (1: stores idl file, 2: stores service code) StoreType int32 `thrift:"store_type,7" frugal:"7,default,i32" form:"store_type" json:"store_type" query:"store_type"` // token id which repo currently using TokenId int64 `thrift:"token_id,8" frugal:"8,default,i64" form:"token_id" json:"token_id" query:"token_id"` // repository status (need sync or not) Status int32 `thrift:"status,9" frugal:"9,default,i32" form:"status" json:"status" query:"status"` // repo file last update time LastUpdateTime string `` /* 128-byte string literal not displayed */ // repo last sync time LastSyncTime string `thrift:"last_sync_time,11" frugal:"11,default,string" form:"last_sync_time" json:"last_sync_time" query:"last_sync_time"` IsDeleted bool `thrift:"is_deleted,12" frugal:"12,default,bool" form:"is_deleted" json:"is_deleted" query:"is_deleted"` CreateTime string `thrift:"create_time,13" frugal:"13,default,string" form:"create_time" json:"create_time" query:"create_time"` UpdateTime string `thrift:"update_time,14" frugal:"14,default,string" form:"update_time" json:"update_time" query:"update_time"` }
var IDLWithRepositoryInfo_IdlRepository_DEFAULT *Repository
var IDLWithRepositoryInfo_ServiceRepository_DEFAULT *Repository
func NewRepository ¶
func NewRepository() *Repository
func (*Repository) GetCreateTime ¶
func (p *Repository) GetCreateTime() (v string)
func (*Repository) GetId ¶
func (p *Repository) GetId() (v int64)
func (*Repository) GetIsDeleted ¶
func (p *Repository) GetIsDeleted() (v bool)
func (*Repository) GetLastSyncTime ¶
func (p *Repository) GetLastSyncTime() (v string)
func (*Repository) GetLastUpdateTime ¶
func (p *Repository) GetLastUpdateTime() (v string)
func (*Repository) GetRepositoryBranch ¶
func (p *Repository) GetRepositoryBranch() (v string)
func (*Repository) GetRepositoryDomain ¶
func (p *Repository) GetRepositoryDomain() (v string)
func (*Repository) GetRepositoryName ¶
func (p *Repository) GetRepositoryName() (v string)
func (*Repository) GetRepositoryOwner ¶
func (p *Repository) GetRepositoryOwner() (v string)
func (*Repository) GetRepositoryType ¶
func (p *Repository) GetRepositoryType() (v int32)
func (*Repository) GetStatus ¶
func (p *Repository) GetStatus() (v int32)
func (*Repository) GetStoreType ¶
func (p *Repository) GetStoreType() (v int32)
func (*Repository) GetTokenId ¶
func (p *Repository) GetTokenId() (v int64)
func (*Repository) GetUpdateTime ¶
func (p *Repository) GetUpdateTime() (v string)
func (*Repository) InitDefault ¶
func (p *Repository) InitDefault()
func (*Repository) SetCreateTime ¶
func (p *Repository) SetCreateTime(val string)
func (*Repository) SetId ¶
func (p *Repository) SetId(val int64)
func (*Repository) SetIsDeleted ¶
func (p *Repository) SetIsDeleted(val bool)
func (*Repository) SetLastSyncTime ¶
func (p *Repository) SetLastSyncTime(val string)
func (*Repository) SetLastUpdateTime ¶
func (p *Repository) SetLastUpdateTime(val string)
func (*Repository) SetRepositoryBranch ¶
func (p *Repository) SetRepositoryBranch(val string)
func (*Repository) SetRepositoryDomain ¶
func (p *Repository) SetRepositoryDomain(val string)
func (*Repository) SetRepositoryName ¶
func (p *Repository) SetRepositoryName(val string)
func (*Repository) SetRepositoryOwner ¶
func (p *Repository) SetRepositoryOwner(val string)
func (*Repository) SetRepositoryType ¶
func (p *Repository) SetRepositoryType(val int32)
func (*Repository) SetStatus ¶
func (p *Repository) SetStatus(val int32)
func (*Repository) SetStoreType ¶
func (p *Repository) SetStoreType(val int32)
func (*Repository) SetTokenId ¶
func (p *Repository) SetTokenId(val int64)
func (*Repository) SetUpdateTime ¶
func (p *Repository) SetUpdateTime(val string)
func (*Repository) String ¶
func (p *Repository) String() string
type SyncIdlData ¶
type SyncIdlData struct {
IdlId int64 `thrift:"IdlId,1" frugal:"1,default,i64" json:"IdlId"`
}
var Data_SyncIdlData_DEFAULT *SyncIdlData
func NewSyncIdlData ¶
func NewSyncIdlData() *SyncIdlData
func (*SyncIdlData) GetIdlId ¶
func (p *SyncIdlData) GetIdlId() (v int64)
func (*SyncIdlData) InitDefault ¶
func (p *SyncIdlData) InitDefault()
func (*SyncIdlData) SetIdlId ¶
func (p *SyncIdlData) SetIdlId(val int64)
func (*SyncIdlData) String ¶
func (p *SyncIdlData) String() string
type Task ¶
type Task struct { Id string `thrift:"Id,1" frugal:"1,default,string" json:"Id"` Type Type `thrift:"Type,2" frugal:"2,default,Type" json:"Type"` ScheduleTime string `thrift:"ScheduleTime,3" frugal:"3,default,string" json:"ScheduleTime"` Data *Data `thrift:"Data,4" frugal:"4,default,Data" json:"Data"` }
func (*Task) GetScheduleTime ¶
func (*Task) InitDefault ¶
func (p *Task) InitDefault()
func (*Task) SetScheduleTime ¶
type Template ¶
type Template struct { Id int64 `thrift:"id,1" frugal:"1,default,i64" form:"id" json:"id" query:"id"` Name string `thrift:"name,2" frugal:"2,default,string" form:"name" json:"name" query:"name"` // 1: hz, 2: kitex Type int32 `thrift:"type,3" frugal:"3,default,i32" form:"type" json:"type" query:"type"` IsDeleted bool `thrift:"is_deleted,4" frugal:"4,default,bool" form:"is_deleted" json:"is_deleted" query:"is_deleted"` CreateTime string `thrift:"create_time,5" frugal:"5,default,string" form:"create_time" json:"create_time" query:"create_time"` UpdateTime string `thrift:"update_time,6" frugal:"6,default,string" form:"update_time" json:"update_time" query:"update_time"` }
var TemplateWithItemInfo_Template_DEFAULT *Template
func NewTemplate ¶
func NewTemplate() *Template
func (*Template) GetCreateTime ¶
func (*Template) GetIsDeleted ¶
func (*Template) GetUpdateTime ¶
func (*Template) InitDefault ¶
func (p *Template) InitDefault()
func (*Template) SetCreateTime ¶
func (*Template) SetIsDeleted ¶
func (*Template) SetUpdateTime ¶
type TemplateItem ¶
type TemplateItem struct { Id int64 `thrift:"id,1" frugal:"1,default,i64" form:"id" json:"id" query:"id"` TemplateId int64 `thrift:"template_id,2" frugal:"2,default,i64" form:"template_id" json:"template_id" query:"template_id"` Name string `thrift:"name,3" frugal:"3,default,string" form:"name" json:"name" query:"name"` Content string `thrift:"content,4" frugal:"4,default,string" form:"content" json:"content" query:"content"` IsDeleted bool `thrift:"is_deleted,5" frugal:"5,default,bool" form:"is_deleted" json:"is_deleted" query:"is_deleted"` CreateTime string `thrift:"create_time,6" frugal:"6,default,string" form:"create_time" json:"create_time" query:"create_time"` UpdateTime string `thrift:"update_time,7" frugal:"7,default,string" form:"update_time" json:"update_time" query:"update_time"` }
func NewTemplateItem ¶
func NewTemplateItem() *TemplateItem
func (*TemplateItem) GetContent ¶
func (p *TemplateItem) GetContent() (v string)
func (*TemplateItem) GetCreateTime ¶
func (p *TemplateItem) GetCreateTime() (v string)
func (*TemplateItem) GetId ¶
func (p *TemplateItem) GetId() (v int64)
func (*TemplateItem) GetIsDeleted ¶
func (p *TemplateItem) GetIsDeleted() (v bool)
func (*TemplateItem) GetName ¶
func (p *TemplateItem) GetName() (v string)
func (*TemplateItem) GetTemplateId ¶
func (p *TemplateItem) GetTemplateId() (v int64)
func (*TemplateItem) GetUpdateTime ¶
func (p *TemplateItem) GetUpdateTime() (v string)
func (*TemplateItem) InitDefault ¶
func (p *TemplateItem) InitDefault()
func (*TemplateItem) SetContent ¶
func (p *TemplateItem) SetContent(val string)
func (*TemplateItem) SetCreateTime ¶
func (p *TemplateItem) SetCreateTime(val string)
func (*TemplateItem) SetId ¶
func (p *TemplateItem) SetId(val int64)
func (*TemplateItem) SetIsDeleted ¶
func (p *TemplateItem) SetIsDeleted(val bool)
func (*TemplateItem) SetName ¶
func (p *TemplateItem) SetName(val string)
func (*TemplateItem) SetTemplateId ¶
func (p *TemplateItem) SetTemplateId(val int64)
func (*TemplateItem) SetUpdateTime ¶
func (p *TemplateItem) SetUpdateTime(val string)
func (*TemplateItem) String ¶
func (p *TemplateItem) String() string
type TemplateWithItemInfo ¶
type TemplateWithItemInfo struct { Template *Template `thrift:"template,1" frugal:"1,default,Template" form:"template" json:"template" query:"template"` Items []*TemplateItem `thrift:"items,2" frugal:"2,default,list<TemplateItem>" form:"items" json:"items" query:"items"` }
func NewTemplateWithItemInfo ¶
func NewTemplateWithItemInfo() *TemplateWithItemInfo
func (*TemplateWithItemInfo) GetItems ¶
func (p *TemplateWithItemInfo) GetItems() (v []*TemplateItem)
func (*TemplateWithItemInfo) GetTemplate ¶
func (p *TemplateWithItemInfo) GetTemplate() (v *Template)
func (*TemplateWithItemInfo) InitDefault ¶
func (p *TemplateWithItemInfo) InitDefault()
func (*TemplateWithItemInfo) IsSetTemplate ¶
func (p *TemplateWithItemInfo) IsSetTemplate() bool
func (*TemplateWithItemInfo) SetItems ¶
func (p *TemplateWithItemInfo) SetItems(val []*TemplateItem)
func (*TemplateWithItemInfo) SetTemplate ¶
func (p *TemplateWithItemInfo) SetTemplate(val *Template)
func (*TemplateWithItemInfo) String ¶
func (p *TemplateWithItemInfo) String() string
type Token ¶
type Token struct { // id Id int64 `thrift:"id,1" frugal:"1,default,i64" form:"id" json:"id" query:"id"` // repository type (1: gitlab, 2: github) RepositoryType int32 `thrift:"repository_type,2" frugal:"2,default,i32" form:"repository_type" json:"repository_type" query:"repository_type"` // repository api domain RepositoryDomain string `` /* 130-byte string literal not displayed */ // token owner Owner string `thrift:"owner,4" frugal:"4,default,string" form:"owner" json:"owner" query:"owner"` // token owner id OwnerId int64 `thrift:"owner_id,5" frugal:"5,default,i64" form:"owner_id" json:"owner_id" query:"owner_id"` // token type (1: personal, 2: organization) TokenType int32 `thrift:"token_type,6" frugal:"6,default,i32" form:"token_type" json:"token_type" query:"token_type"` // repository token Token string `thrift:"token,7" frugal:"7,default,string" form:"token" json:"token" query:"token"` // token status (1: expired, 2: valid) Status int32 `thrift:"status,8" frugal:"8,default,i32" form:"status" json:"status" query:"status"` // token expiration time ExpirationTime string `thrift:"expiration_time,9" frugal:"9,default,string" form:"expiration_time" json:"expiration_time" query:"expiration_time"` // is deleted IsDeleted bool `thrift:"is_deleted,10" frugal:"10,default,bool" form:"is_deleted" json:"is_deleted" query:"is_deleted"` // create time CreateTime string `thrift:"create_time,11" frugal:"11,default,string" form:"create_time" json:"create_time" query:"create_time"` // update time UpdateTime string `thrift:"update_time,12" frugal:"12,default,string" form:"update_time" json:"update_time" query:"update_time"` }
func (*Token) GetCreateTime ¶
func (*Token) GetExpirationTime ¶
func (*Token) GetIsDeleted ¶
func (*Token) GetOwnerId ¶
func (*Token) GetRepositoryDomain ¶
func (*Token) GetRepositoryType ¶
func (*Token) GetTokenType ¶
func (*Token) GetUpdateTime ¶
func (*Token) InitDefault ¶
func (p *Token) InitDefault()
func (*Token) SetCreateTime ¶
func (*Token) SetExpirationTime ¶
func (*Token) SetIsDeleted ¶
func (*Token) SetOwnerId ¶
func (*Token) SetRepositoryDomain ¶
func (*Token) SetRepositoryType ¶
func (*Token) SetTokenType ¶
func (*Token) SetUpdateTime ¶
Click to show internal directories.
Click to hide internal directories.