model

package
v5.1.1-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildPluginTaskBody

type BuildPluginTaskBody struct {
	VersionID     string `json:"version_id"`
	TenantID      string `json:"tenant_id"`
	PluginID      string `json:"plugin_id"`
	Operator      string `json:"operator"`
	Repo          string `json:"repo"`
	GitURL        string `json:"git_url"`
	ImageURL      string `json:"image_url"`
	EventID       string `json:"event_id"`
	DeployVersion string `json:"deploy_version"`
	Kind          string `json:"kind"`
	PluginCMD     string `json:"plugin_cmd"`
	PluginCPU     int    `json:"plugin_cpu"`
	PluginMemory  int    `json:"plugin_memory"`
	ImageInfo     struct {
		HubURL      string `json:"hub_url"`
		HubUser     string `json:"hub_user"`
		HubPassword string `json:"hub_password"`
		Namespace   string `json:"namespace"`
		IsTrust     bool   `json:"is_trust,omitempty"`
	} `json:"image_info,omitempty"`
}

BuildPluginTaskBody BuildPluginTaskBody

type BuildPluginVersion

type BuildPluginVersion struct {
	SourceImage string `json:"source_image"`
	InnerImage  string `json:"inner_image"`
	CreateTime  string `json:"create_time"`
	Repo        string `json:"repo"`
}

BuildPluginVersion BuildPluginVersion

type CodeCheckResult

type CodeCheckResult struct {
	ServiceID    string `json:"service_id"`
	Condition    string `json:"condition"`
	CheckType    string `json:"check_type"`
	GitURL       string `json:"git_url"`
	CodeVersion  string `json:"code_version"`
	GitProjectId string `json:"git_project_id"`
	CodeFrom     string `json:"code_from"`
	URLRepos     string `json:"url_repos"`

	DockerFileReady bool              `json:"docker_file_ready,omitempty"`
	InnerPort       string            `json:"inner_port,omitempty"`
	VolumeMountPath string            `json:"volume_mount_path,omitempty"`
	BuildImageName  string            `json:"image,omitempty"`
	PortList        map[string]string `json:"port_list,omitempty"`
	VolumeList      []string          `json:"volume_list,omitempty"`
}

CodeCheckResult CodeCheckResult

type ImageName

type ImageName struct {
	Host      string `json:"host"`
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	Tag       string `json:"tag"`
}

ImageName ImageName

Jump to

Keyboard shortcuts

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