This section is empty.


View Source
var File_go_chromium_org_luci_cv_internal_config_configcron_tasks_proto protoreflect.FileDescriptor


func SubmitRefreshTasks

func SubmitRefreshTasks(ctx context.Context) error

    SubmitRefreshTasks submits tasks that update config for LUCI projects or disable projects that do not have CV config in LUCI Config.

    It's expected to be called by a cron.


    type RefreshProjectConfigTask

    type RefreshProjectConfigTask struct {
    	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
    	Disable bool   `protobuf:"varint,2,opt,name=disable,proto3" json:"disable,omitempty"`
    	// contains filtered or unexported fields

      RefreshProjectConfigTask is used to import latest CV config for a LUCI Project from LUCI Config or disable a LUCI Project if `disable` is true.

      Queue: "refresh-project-config".

      func (*RefreshProjectConfigTask) Descriptor

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

        Deprecated: Use RefreshProjectConfigTask.ProtoReflect.Descriptor instead.

        func (*RefreshProjectConfigTask) GetDisable

        func (x *RefreshProjectConfigTask) GetDisable() bool

        func (*RefreshProjectConfigTask) GetProject

        func (x *RefreshProjectConfigTask) GetProject() string

        func (*RefreshProjectConfigTask) ProtoMessage

        func (*RefreshProjectConfigTask) ProtoMessage()

        func (*RefreshProjectConfigTask) ProtoReflect

        func (x *RefreshProjectConfigTask) ProtoReflect() protoreflect.Message

        func (*RefreshProjectConfigTask) Reset

        func (x *RefreshProjectConfigTask) Reset()

        func (*RefreshProjectConfigTask) String

        func (x *RefreshProjectConfigTask) String() string