vo

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type About added in v0.0.7

type About struct {
	Base

	Name      string `json:"name"`
	Module    string `json:"module"`
	Title     string `json:"title"`
	Version   string `json:"version"`
	Revision  int    `json:"revision"`
	Copyright string `json:"copyright"`
	Profile   string `json:"profile"`
	User      string `json:"user"`
	Home      string `json:"home"`
	OS        string `json:"os"`
	Arch      string `json:"arch"`
}

About ...

type Auth

type Auth struct {
	Base

	UserName   string
	UserSecret string
	Mechanism  string

	Authorized bool
}

Auth 身份认证VO

type Base

type Base struct {
	vo.BaseVO
}

Base 所有VO的基本结构

type Example

type Example struct {
	Base

	Examples []*dto.Example `json:"examples"`
}

Example ...

type Executable

type Executable struct {
	Base

	Executables []*dto.Executable `json:"executables"`
}

type ExecutableImport

type ExecutableImport struct {
	Base

	Action      ExecutableImportAction `json:"action"`
	Executables []*dto.Executable      `json:"executables"`
}

ExecutableImport ...

type ExecutableImportAction

type ExecutableImportAction string

ExecutableImportAction 表示导入应用程序的动作

const (
	ExecutableImportActionFind   ExecutableImportAction = "find"
	ExecutableImportActionLocate ExecutableImportAction = "locate"
	ExecutableImportActionSave   ExecutableImportAction = "save"
)

定义导入应用程序的动作

func (ExecutableImportAction) String

func (value ExecutableImportAction) String() string

type FileQuery added in v0.0.7

type FileQuery struct {
	Base

	BaseURL    string                `json:"base"` // 'file:///' or 'repository:///'
	Repository dxo.LocalRepositoryID `json:"repository"`

	Branch string `json:"branch"` // the git branch name
	Commit string `json:"commit"` // the git commit id
	Tag    string `json:"tag"`    // the git tag name
	Path   string `json:"path"`   // the path for filesystem or worktree

	Self dto.File `json:"self"`

	Items []*dto.File `json:"items"`
}

FileQuery ...

type Intent

type Intent struct {
	Base

	Intents []*dto.Intent `json:"intents"`
}

Intent ...

type IntentTemplate

type IntentTemplate struct {
	Base

	Templates []*dto.IntentTemplate `json:"intent_templates"`
}

IntentTemplate ...

type LocalRepository

type LocalRepository struct {
	Base

	Repositories []*dto.LocalRepository `json:"local_repositories"`
}

LocalRepository 仓库VO

type MainRepository

type MainRepository struct {
	Base

	Repository *dto.MainRepository `json:"main_repository"`
}

MainRepository 仓库VO

type Media

type Media struct {
	Base

	Mediae []*dto.Media `json:"mediae"`
}

Media ...

type Platform

type Platform struct {
	Base

	Platform *dto.Platform `json:"platform"`
}

Platform ...

type Profile

type Profile struct {
	Base

	Platform *dto.Platform `json:"platform"`
	Profile  *dto.Profile  `json:"profile"`
}

Profile ...

type Project

type Project struct {
	Base

	Projects []*dto.Project `json:"projects"`
}

Project ...

type ProjectImport

type ProjectImport struct {
	Base

	Action   ProjectImportAction `json:"action"`
	Projects []*dto.Project      `json:"projects"`
}

ProjectImport ... 用于导入项目

type ProjectImportAction

type ProjectImportAction string

ProjectImportAction 表示导入仓库的动作

const (
	ProjectImportActionFind   ProjectImportAction = "find"
	ProjectImportActionLocate ProjectImportAction = "locate"
	ProjectImportActionSave   ProjectImportAction = "save"
)

定义导入仓库的动作

func (ProjectImportAction) String

func (value ProjectImportAction) String() string

type RemoteRepository

type RemoteRepository struct {
	Base

	Repositories []*dto.RemoteRepository `json:"remote_repositories"`
}

RemoteRepository 仓库VO

type RepositoryImport

type RepositoryImport struct {
	Base

	Action RepositoryImportAction `json:"action"`
	Items  []*dto.LocalRepository `json:"local_repositories"`
}

RepositoryImport ... 用于导入仓库

type RepositoryImportAction

type RepositoryImportAction string

RepositoryImportAction 表示导入仓库的动作

const (
	RepositoryImportActionFind   RepositoryImportAction = "find"
	RepositoryImportActionLocate RepositoryImportAction = "locate"
	RepositoryImportActionSave   RepositoryImportAction = "save"
)

定义导入仓库的动作

func (RepositoryImportAction) String

func (value RepositoryImportAction) String() string

type User

type User struct {
	Base

	Users []*dto.User `json:"users"`
}

User ...

Jump to

Keyboard shortcuts

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