artifact

package
v0.0.0-...-b63aa1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	//
	//所属应用Id
	AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId" form:"appId"`
	//
	//所属集群Id
	ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId" form:"clusterId"`
	//
	//创建者
	Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator" form:"creator"`
	//
	//创建时间
	Ctime string `protobuf:"bytes,4,opt,name=ctime,proto3" json:"ctime" form:"ctime"`
	//
	//设备Id
	DeviceId string `protobuf:"bytes,5,opt,name=deviceId,proto3" json:"deviceId" form:"deviceId"`
	//
	//设备IP
	DeviceIp string `protobuf:"bytes,6,opt,name=deviceIp,proto3" json:"deviceIp" form:"deviceIp"`
	//
	//安装路径
	InstallPath string `protobuf:"bytes,7,opt,name=installPath,proto3" json:"installPath" form:"installPath"`
	//
	//安装时间
	InstallTime string `protobuf:"bytes,8,opt,name=installTime,proto3" json:"installTime" form:"installTime"`
	//
	//实例Id
	InstanceId string `protobuf:"bytes,9,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"`
	//
	//最近一次操作时间
	LastOperation string `protobuf:"bytes,10,opt,name=lastOperation,proto3" json:"lastOperation" form:"lastOperation"`
	//
	//修改时间
	Mtime string `protobuf:"bytes,11,opt,name=mtime,proto3" json:"mtime" form:"mtime"`
	//
	//组织Id
	Org int32 `protobuf:"varint,12,opt,name=org,proto3" json:"org" form:"org"`
	//
	//所属程序包Id
	PackageId string `protobuf:"bytes,13,opt,name=packageId,proto3" json:"packageId" form:"packageId"`
	//
	//所属包名称
	PackageName string `protobuf:"bytes,14,opt,name=packageName,proto3" json:"packageName" form:"packageName"`
	//
	//包类型
	PackageType string `protobuf:"bytes,15,opt,name=packageType,proto3" json:"packageType" form:"packageType"`
	//
	//更新时间
	UpdateTime string `protobuf:"bytes,16,opt,name=updateTime,proto3" json:"updateTime" form:"updateTime"`
	//
	//所属版本Id
	VersionId string `protobuf:"bytes,17,opt,name=versionId,proto3" json:"versionId" form:"versionId"`
	//
	//所属版本名
	VersionName          string   `protobuf:"bytes,18,opt,name=versionName,proto3" json:"versionName" form:"versionName"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

程序包实例

func (*Instance) Descriptor

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

func (*Instance) GetAppId

func (m *Instance) GetAppId() string

func (*Instance) GetClusterId

func (m *Instance) GetClusterId() string

func (*Instance) GetCreator

func (m *Instance) GetCreator() string

func (*Instance) GetCtime

func (m *Instance) GetCtime() string

func (*Instance) GetDeviceId

func (m *Instance) GetDeviceId() string

func (*Instance) GetDeviceIp

func (m *Instance) GetDeviceIp() string

func (*Instance) GetInstallPath

func (m *Instance) GetInstallPath() string

func (*Instance) GetInstallTime

func (m *Instance) GetInstallTime() string

func (*Instance) GetInstanceId

func (m *Instance) GetInstanceId() string

func (*Instance) GetLastOperation

func (m *Instance) GetLastOperation() string

func (*Instance) GetMtime

func (m *Instance) GetMtime() string

func (*Instance) GetOrg

func (m *Instance) GetOrg() int32

func (*Instance) GetPackageId

func (m *Instance) GetPackageId() string

func (*Instance) GetPackageName

func (m *Instance) GetPackageName() string

func (*Instance) GetPackageType

func (m *Instance) GetPackageType() string

func (*Instance) GetUpdateTime

func (m *Instance) GetUpdateTime() string

func (*Instance) GetVersionId

func (m *Instance) GetVersionId() string

func (*Instance) GetVersionName

func (m *Instance) GetVersionName() string

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) Reset

func (m *Instance) Reset()

func (*Instance) String

func (m *Instance) String() string

func (*Instance) Validate

func (this *Instance) Validate() error

func (*Instance) XXX_DiscardUnknown

func (m *Instance) XXX_DiscardUnknown()

func (*Instance) XXX_Marshal

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

func (*Instance) XXX_Merge

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

func (*Instance) XXX_Size

func (m *Instance) XXX_Size() int

func (*Instance) XXX_Unmarshal

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

type Package

type Package struct {
	//
	//包Id
	PackageId string `protobuf:"bytes,1,opt,name=packageId,proto3" json:"packageId" form:"packageId"`
	//
	//包名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"`
	//
	//版本类型 1 程序包,  2 配置包,  4 文件包
	Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type" form:"type"`
	//
	//包分类
	CId int32 `protobuf:"varint,4,opt,name=cId,proto3" json:"cId" form:"cId"`
	//
	//包文件源
	Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source" form:"source"`
	//
	//repoId
	RepoId string `protobuf:"bytes,6,opt,name=repoId,proto3" json:"repoId" form:"repoId"`
	//
	//repoPath
	RepoPath string `protobuf:"bytes,7,opt,name=repoPath,proto3" json:"repoPath" form:"repoPath"`
	//
	//备注说明
	Memo string `protobuf:"bytes,8,opt,name=memo,proto3" json:"memo" form:"memo"`
	//
	//创建者
	Creator string `protobuf:"bytes,9,opt,name=creator,proto3" json:"creator" form:"creator"`
	//
	//客户唯一编号
	Org int32 `protobuf:"varint,10,opt,name=org,proto3" json:"org" form:"org"`
	//
	//包分类标签
	Category string `protobuf:"bytes,11,opt,name=category,proto3" json:"category" form:"category"`
	//
	//包图标
	Icon string `protobuf:"bytes,12,opt,name=icon,proto3" json:"icon" form:"icon"`
	//
	//包图标样式(颜色)
	Style string `protobuf:"bytes,13,opt,name=style,proto3" json:"style" form:"style"`
	//
	//ctime
	Ctime string `protobuf:"bytes,14,opt,name=ctime,proto3" json:"ctime" form:"ctime"`
	//
	//mtime
	Mtime string `protobuf:"bytes,15,opt,name=mtime,proto3" json:"mtime" form:"mtime"`
	//
	//authUsers
	AuthUsers string `protobuf:"bytes,16,opt,name=authUsers,proto3" json:"authUsers" form:"authUsers"`
	//
	//安装路径
	InstallPath string `protobuf:"bytes,17,opt,name=installPath,proto3" json:"installPath" form:"installPath"`
	//
	//平台
	Platform             string   `protobuf:"bytes,18,opt,name=platform,proto3" json:"platform" form:"platform"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

包模型

func (*Package) Descriptor

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

func (*Package) GetAuthUsers

func (m *Package) GetAuthUsers() string

func (*Package) GetCId

func (m *Package) GetCId() int32

func (*Package) GetCategory

func (m *Package) GetCategory() string

func (*Package) GetCreator

func (m *Package) GetCreator() string

func (*Package) GetCtime

func (m *Package) GetCtime() string

func (*Package) GetIcon

func (m *Package) GetIcon() string

func (*Package) GetInstallPath

func (m *Package) GetInstallPath() string

func (*Package) GetMemo

func (m *Package) GetMemo() string

func (*Package) GetMtime

func (m *Package) GetMtime() string

func (*Package) GetName

func (m *Package) GetName() string

func (*Package) GetOrg

func (m *Package) GetOrg() int32

func (*Package) GetPackageId

func (m *Package) GetPackageId() string

func (*Package) GetPlatform

func (m *Package) GetPlatform() string

func (*Package) GetRepoId

func (m *Package) GetRepoId() string

func (*Package) GetRepoPath

func (m *Package) GetRepoPath() string

func (*Package) GetSource

func (m *Package) GetSource() string

func (*Package) GetStyle

func (m *Package) GetStyle() string

func (*Package) GetType

func (m *Package) GetType() int32

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) Reset

func (m *Package) Reset()

func (*Package) String

func (m *Package) String() string

func (*Package) Validate

func (this *Package) Validate() error

func (*Package) XXX_DiscardUnknown

func (m *Package) XXX_DiscardUnknown()

func (*Package) XXX_Marshal

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

func (*Package) XXX_Merge

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

func (*Package) XXX_Size

func (m *Package) XXX_Size() int

func (*Package) XXX_Unmarshal

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

type PackageExt

type PackageExt struct {
	//
	//最新版本信息
	LastVersionInfo *PackageExt_LastVersionInfo `protobuf:"bytes,1,opt,name=lastVersionInfo,proto3" json:"lastVersionInfo" form:"lastVersionInfo"`
	//
	//包实例数量
	InstanceCount        int32    `protobuf:"varint,2,opt,name=instanceCount,proto3" json:"instanceCount" form:"instanceCount"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

包模型

func (*PackageExt) Descriptor

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

func (*PackageExt) GetInstanceCount

func (m *PackageExt) GetInstanceCount() int32

func (*PackageExt) GetLastVersionInfo

func (m *PackageExt) GetLastVersionInfo() *PackageExt_LastVersionInfo

func (*PackageExt) ProtoMessage

func (*PackageExt) ProtoMessage()

func (*PackageExt) Reset

func (m *PackageExt) Reset()

func (*PackageExt) String

func (m *PackageExt) String() string

func (*PackageExt) Validate

func (this *PackageExt) Validate() error

func (*PackageExt) XXX_DiscardUnknown

func (m *PackageExt) XXX_DiscardUnknown()

func (*PackageExt) XXX_Marshal

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

func (*PackageExt) XXX_Merge

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

func (*PackageExt) XXX_Size

func (m *PackageExt) XXX_Size() int

func (*PackageExt) XXX_Unmarshal

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

type PackageExt_LastVersionInfo

type PackageExt_LastVersionInfo struct {
	//
	//创建时间
	Ctime string `protobuf:"bytes,1,opt,name=ctime,proto3" json:"ctime" form:"ctime"`
	//
	//版本类型 1 开发, 3 测试, 7 预发布, 15 生产
	EnvType int32 `protobuf:"varint,2,opt,name=env_type,json=envType,proto3" json:"env_type" form:"env_type"`
	//
	//包名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"`
	//
	//版本Id
	VersionId            string   `protobuf:"bytes,4,opt,name=versionId,proto3" json:"versionId" form:"versionId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PackageExt_LastVersionInfo) Descriptor

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

func (*PackageExt_LastVersionInfo) GetCtime

func (m *PackageExt_LastVersionInfo) GetCtime() string

func (*PackageExt_LastVersionInfo) GetEnvType

func (m *PackageExt_LastVersionInfo) GetEnvType() int32

func (*PackageExt_LastVersionInfo) GetName

func (m *PackageExt_LastVersionInfo) GetName() string

func (*PackageExt_LastVersionInfo) GetVersionId

func (m *PackageExt_LastVersionInfo) GetVersionId() string

func (*PackageExt_LastVersionInfo) ProtoMessage

func (*PackageExt_LastVersionInfo) ProtoMessage()

func (*PackageExt_LastVersionInfo) Reset

func (m *PackageExt_LastVersionInfo) Reset()

func (*PackageExt_LastVersionInfo) String

func (m *PackageExt_LastVersionInfo) String() string

func (*PackageExt_LastVersionInfo) Validate

func (this *PackageExt_LastVersionInfo) Validate() error

func (*PackageExt_LastVersionInfo) XXX_DiscardUnknown

func (m *PackageExt_LastVersionInfo) XXX_DiscardUnknown()

func (*PackageExt_LastVersionInfo) XXX_Marshal

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

func (*PackageExt_LastVersionInfo) XXX_Merge

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

func (*PackageExt_LastVersionInfo) XXX_Size

func (m *PackageExt_LastVersionInfo) XXX_Size() int

func (*PackageExt_LastVersionInfo) XXX_Unmarshal

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

type Version

type Version struct {
	//
	//包名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
	//
	//版本Id
	VersionId string `protobuf:"bytes,2,opt,name=versionId,proto3" json:"versionId" form:"versionId"`
	//
	//程序包Id
	PackageId string `protobuf:"bytes,3,opt,name=packageId,proto3" json:"packageId" form:"packageId"`
	//
	//组织id
	Org int32 `protobuf:"varint,4,opt,name=org,proto3" json:"org" form:"org"`
	//
	//基础Docker镜像Id
	BaseImageId string `protobuf:"bytes,5,opt,name=baseImageId,proto3" json:"baseImageId" form:"baseImageId"`
	//
	//基线版本名
	BaseVersionName string `protobuf:"bytes,6,opt,name=baseVersionName,proto3" json:"baseVersionName" form:"baseVersionName"`
	//
	//创建者
	Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator" form:"creator"`
	//
	//版本类型 1 开发, 3 测试, 7 预发布, 15 生产
	EnvType int32 `protobuf:"varint,8,opt,name=env_type,json=envType,proto3" json:"env_type" form:"env_type"`
	//
	//版本备注
	Memo string `protobuf:"bytes,9,opt,name=memo,proto3" json:"memo" form:"memo"`
	//
	//创建时间
	Ctime string `protobuf:"bytes,10,opt,name=ctime,proto3" json:"ctime" form:"ctime"`
	//
	//修改时间
	Mtime string `protobuf:"bytes,11,opt,name=mtime,proto3" json:"mtime" form:"mtime"`
	//
	//包文件的md5检验值
	Sign string `protobuf:"bytes,12,opt,name=sign,proto3" json:"sign" form:"sign"`
	//
	//关联的svn库版本,已废弃
	RepoVersion string `protobuf:"bytes,13,opt,name=repoVersion,proto3" json:"repoVersion" form:"repoVersion"`
	//
	//包存储源信息,如"{"host":"deployrepo.easyops-only.com","ensName":"logic.deploy.repo.archive"}"
	Source string `protobuf:"bytes,14,opt,name=source,proto3" json:"source" form:"source"`
	//
	//包存储服务版本
	SourceType string `protobuf:"bytes,15,opt,name=sourceType,proto3" json:"sourceType" form:"sourceType"`
	//
	//工作区基础版本Id
	WorkspaceBaseId string `protobuf:"bytes,16,opt,name=workspaceBaseId,proto3" json:"workspaceBaseId" form:"workspaceBaseId"`
	//
	//版本的进程及启停、安装、升级脚本, package.conf.yaml
	Conf                 string   `protobuf:"bytes,17,opt,name=conf,proto3" json:"conf" form:"conf"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

程序包版本

func (*Version) Descriptor

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

func (*Version) GetBaseImageId

func (m *Version) GetBaseImageId() string

func (*Version) GetBaseVersionName

func (m *Version) GetBaseVersionName() string

func (*Version) GetConf

func (m *Version) GetConf() string

func (*Version) GetCreator

func (m *Version) GetCreator() string

func (*Version) GetCtime

func (m *Version) GetCtime() string

func (*Version) GetEnvType

func (m *Version) GetEnvType() int32

func (*Version) GetMemo

func (m *Version) GetMemo() string

func (*Version) GetMtime

func (m *Version) GetMtime() string

func (*Version) GetName

func (m *Version) GetName() string

func (*Version) GetOrg

func (m *Version) GetOrg() int32

func (*Version) GetPackageId

func (m *Version) GetPackageId() string

func (*Version) GetRepoVersion

func (m *Version) GetRepoVersion() string

func (*Version) GetSign

func (m *Version) GetSign() string

func (*Version) GetSource

func (m *Version) GetSource() string

func (*Version) GetSourceType

func (m *Version) GetSourceType() string

func (*Version) GetVersionId

func (m *Version) GetVersionId() string

func (*Version) GetWorkspaceBaseId

func (m *Version) GetWorkspaceBaseId() string

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) Reset

func (m *Version) Reset()

func (*Version) String

func (m *Version) String() string

func (*Version) Validate

func (this *Version) Validate() error

func (*Version) XXX_DiscardUnknown

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal

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

func (*Version) XXX_Merge

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

func (*Version) XXX_Size

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal

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

type WhitePermissionUser

type WhitePermissionUser struct {
	//
	//拥有更新权限用户
	UpdateAuthorizers []string `protobuf:"bytes,1,rep,name=updateAuthorizers,proto3" json:"updateAuthorizers" form:"updateAuthorizers"`
	//
	//拥有删除权限用户
	DeleteAuthorizers []string `protobuf:"bytes,2,rep,name=deleteAuthorizers,proto3" json:"deleteAuthorizers" form:"deleteAuthorizers"`
	//
	//拥有查看权限用户
	ReadAuthorizers      []string `protobuf:"bytes,3,rep,name=readAuthorizers,proto3" json:"readAuthorizers" form:"readAuthorizers"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

白名单权限用户

func (*WhitePermissionUser) Descriptor

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

func (*WhitePermissionUser) GetDeleteAuthorizers

func (m *WhitePermissionUser) GetDeleteAuthorizers() []string

func (*WhitePermissionUser) GetReadAuthorizers

func (m *WhitePermissionUser) GetReadAuthorizers() []string

func (*WhitePermissionUser) GetUpdateAuthorizers

func (m *WhitePermissionUser) GetUpdateAuthorizers() []string

func (*WhitePermissionUser) ProtoMessage

func (*WhitePermissionUser) ProtoMessage()

func (*WhitePermissionUser) Reset

func (m *WhitePermissionUser) Reset()

func (*WhitePermissionUser) String

func (m *WhitePermissionUser) String() string

func (*WhitePermissionUser) Validate

func (this *WhitePermissionUser) Validate() error

func (*WhitePermissionUser) XXX_DiscardUnknown

func (m *WhitePermissionUser) XXX_DiscardUnknown()

func (*WhitePermissionUser) XXX_Marshal

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

func (*WhitePermissionUser) XXX_Merge

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

func (*WhitePermissionUser) XXX_Size

func (m *WhitePermissionUser) XXX_Size() int

func (*WhitePermissionUser) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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