build: golang.org/x/build/cmd/relui/protos Index | Files

package protos

import "golang.org/x/build/cmd/relui/protos"

Index

Package Files

protos.go relui.pb.go

Variables

var TaskStatus_name = map[int32]string{
    0:  "TASK_STATUS_UNKNOWN",
    1:  "TASK_STATUS_CREATED",
    2:  "TASK_STATUS_STARTED",
}
var TaskStatus_value = map[string]int32{
    "TASK_STATUS_UNKNOWN": 0,
    "TASK_STATUS_CREATED": 1,
    "TASK_STATUS_STARTED": 2,
}

type BuildableTask Uses

type BuildableTask struct {
    // name is a unique name for a task, such as fetch_go_source. The name must be unique across
    // all workflow configurations.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // depends_on is the name of a task this task depends on. Artifacts from the depends_on task will be available
    // to this task.
    DependsOn string `protobuf:"bytes,2,opt,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"`
    // task_status is the current status of a task.
    Status TaskStatus `protobuf:"varint,3,opt,name=status,proto3,enum=protos.TaskStatus" json:"status,omitempty"`
    // artifact_url is an optional URL to an artifact published by this task.
    ArtifactUrl string `protobuf:"bytes,4,opt,name=artifact_url,json=artifactUrl,proto3" json:"artifact_url,omitempty"`
    // git_source is an optional configuration for which git source to fetch.
    GitSource *GitSource `protobuf:"bytes,5,opt,name=git_source,json=gitSource,proto3" json:"git_source,omitempty"`
    // task_type is a unique type for a task, such as FetchGerritSource. Types are used by task runners to identify
    // how to execute a task.
    TaskType             string   `protobuf:"bytes,6,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*BuildableTask) Descriptor Uses

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

func (*BuildableTask) GetArtifactUrl Uses

func (m *BuildableTask) GetArtifactUrl() string

func (*BuildableTask) GetDependsOn Uses

func (m *BuildableTask) GetDependsOn() string

func (*BuildableTask) GetGitSource Uses

func (m *BuildableTask) GetGitSource() *GitSource

func (*BuildableTask) GetName Uses

func (m *BuildableTask) GetName() string

func (*BuildableTask) GetStatus Uses

func (m *BuildableTask) GetStatus() TaskStatus

func (*BuildableTask) GetTaskType Uses

func (m *BuildableTask) GetTaskType() string

func (*BuildableTask) ProtoMessage Uses

func (*BuildableTask) ProtoMessage()

func (*BuildableTask) Reset Uses

func (m *BuildableTask) Reset()

func (*BuildableTask) String Uses

func (m *BuildableTask) String() string

func (*BuildableTask) XXX_DiscardUnknown Uses

func (m *BuildableTask) XXX_DiscardUnknown()

func (*BuildableTask) XXX_Marshal Uses

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

func (*BuildableTask) XXX_Merge Uses

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

func (*BuildableTask) XXX_Size Uses

func (m *BuildableTask) XXX_Size() int

func (*BuildableTask) XXX_Unmarshal Uses

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

type GitSource Uses

type GitSource struct {
    Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
    Ref                  string   `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*GitSource) Descriptor Uses

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

func (*GitSource) GetRef Uses

func (m *GitSource) GetRef() string

func (*GitSource) GetUrl Uses

func (m *GitSource) GetUrl() string

func (*GitSource) ProtoMessage Uses

func (*GitSource) ProtoMessage()

func (*GitSource) Reset Uses

func (m *GitSource) Reset()

func (*GitSource) String Uses

func (m *GitSource) String() string

func (*GitSource) XXX_DiscardUnknown Uses

func (m *GitSource) XXX_DiscardUnknown()

func (*GitSource) XXX_Marshal Uses

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

func (*GitSource) XXX_Merge Uses

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

func (*GitSource) XXX_Size Uses

func (m *GitSource) XXX_Size() int

func (*GitSource) XXX_Unmarshal Uses

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

type LocalStorage Uses

type LocalStorage struct {
    // workflows are a list of user-created workflows.
    Workflows            []*Workflow `protobuf:"bytes,1,rep,name=workflows,proto3" json:"workflows,omitempty"`
    XXX_NoUnkeyedLiteral struct{}    `json:"-"`
    XXX_unrecognized     []byte      `json:"-"`
    XXX_sizecache        int32       `json:"-"`
}

LocalStorage is the persisted data of relui. It is used in development mode for saving application state.

func (*LocalStorage) Descriptor Uses

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

func (*LocalStorage) GetWorkflows Uses

func (m *LocalStorage) GetWorkflows() []*Workflow

func (*LocalStorage) ProtoMessage Uses

func (*LocalStorage) ProtoMessage()

func (*LocalStorage) Reset Uses

func (m *LocalStorage) Reset()

func (*LocalStorage) String Uses

func (m *LocalStorage) String() string

func (*LocalStorage) XXX_DiscardUnknown Uses

func (m *LocalStorage) XXX_DiscardUnknown()

func (*LocalStorage) XXX_Marshal Uses

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

func (*LocalStorage) XXX_Merge Uses

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

func (*LocalStorage) XXX_Size Uses

func (m *LocalStorage) XXX_Size() int

func (*LocalStorage) XXX_Unmarshal Uses

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

type TaskStatus Uses

type TaskStatus int32
const (
    TaskStatus_TASK_STATUS_UNKNOWN TaskStatus = 0
    TaskStatus_TASK_STATUS_CREATED TaskStatus = 1
    TaskStatus_TASK_STATUS_STARTED TaskStatus = 2
)

func (TaskStatus) EnumDescriptor Uses

func (TaskStatus) EnumDescriptor() ([]byte, []int)

func (TaskStatus) String Uses

func (x TaskStatus) String() string

type Workflow Uses

type Workflow struct {
    // name is a unique name for a workflow, such as local_go_release. The name must be unique across
    // all workflow configurations.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // buildable_asks is a list of tasks to be performed by the workflow.
    BuildableTasks []*BuildableTask `protobuf:"bytes,2,rep,name=buildable_tasks,json=buildableTasks,proto3" json:"buildable_tasks,omitempty"`
    // params are parameters provided when creating a workflow.
    Params               map[string]string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

func (*Workflow) Descriptor Uses

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

func (*Workflow) GetBuildableTasks Uses

func (m *Workflow) GetBuildableTasks() []*BuildableTask

func (*Workflow) GetName Uses

func (m *Workflow) GetName() string

func (*Workflow) GetParams Uses

func (m *Workflow) GetParams() map[string]string

func (*Workflow) ProtoMessage Uses

func (*Workflow) ProtoMessage()

func (*Workflow) Reset Uses

func (m *Workflow) Reset()

func (*Workflow) String Uses

func (m *Workflow) String() string

func (*Workflow) XXX_DiscardUnknown Uses

func (m *Workflow) XXX_DiscardUnknown()

func (*Workflow) XXX_Marshal Uses

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

func (*Workflow) XXX_Merge Uses

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

func (*Workflow) XXX_Size Uses

func (m *Workflow) XXX_Size() int

func (*Workflow) XXX_Unmarshal Uses

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

Package protos imports 3 packages (graph) and is imported by 1 packages. Updated 2020-08-15. Refresh now. Tools for package owners.