rainbond: github.com/goodrain/rainbond/builder/model Index | Files

package model

import "github.com/goodrain/rainbond/builder/model"

Index

Package Files

model.go

type BuildPluginTaskBody Uses

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 Uses

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 Uses

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 Uses

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

ImageName ImageName

Package model is imported by 4 packages. Updated 2018-12-17. Refresh now. Tools for package owners.