fakebuildpb

package
v0.0.0-...-7f005ae Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package fakebuildpb contains protos with inputs and outputs of fakebuild.

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_infra_experimental_swarming_fakebuild_fakebuildpb_params_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ChildBuilds

type ChildBuilds struct {
	Children int64            `protobuf:"varint,1,opt,name=children,proto3" json:"children,omitempty"` // how many children to schedule.
	Builder  *proto.BuilderID `protobuf:"bytes,2,opt,name=builder,proto3" json:"builder,omitempty"`    // builder to schedule the child builds on.
	// how many children should be scheduled in a batch.
	// Must be in the range of (0, children], all other values will be treated
	// as batch_size = children.
	BatchSize       int64 `protobuf:"varint,3,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
	SleepMinSec     int64 `protobuf:"varint,4,opt,name=sleep_min_sec,json=sleepMinSec,proto3" json:"sleep_min_sec,omitempty"` // how long to sleep after a batch, min
	SleepMaxSec     int64 `protobuf:"varint,5,opt,name=sleep_max_sec,json=sleepMaxSec,proto3" json:"sleep_max_sec,omitempty"` // how long to sleep after a batch, max
	WaitForChildren bool  `protobuf:"varint,6,opt,name=wait_for_children,json=waitForChildren,proto3" json:"wait_for_children,omitempty"`
	// contains filtered or unexported fields
}

func (*ChildBuilds) Descriptor deprecated

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

Deprecated: Use ChildBuilds.ProtoReflect.Descriptor instead.

func (*ChildBuilds) GetBatchSize

func (x *ChildBuilds) GetBatchSize() int64

func (*ChildBuilds) GetBuilder

func (x *ChildBuilds) GetBuilder() *proto.BuilderID

func (*ChildBuilds) GetChildren

func (x *ChildBuilds) GetChildren() int64

func (*ChildBuilds) GetSleepMaxSec

func (x *ChildBuilds) GetSleepMaxSec() int64

func (*ChildBuilds) GetSleepMinSec

func (x *ChildBuilds) GetSleepMinSec() int64

func (*ChildBuilds) GetWaitForChildren

func (x *ChildBuilds) GetWaitForChildren() bool

func (*ChildBuilds) ProtoMessage

func (*ChildBuilds) ProtoMessage()

func (*ChildBuilds) ProtoReflect

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

func (*ChildBuilds) Reset

func (x *ChildBuilds) Reset()

func (*ChildBuilds) String

func (x *ChildBuilds) String() string

type Inputs

type Inputs struct {
	Steps        int64         `protobuf:"varint,1,opt,name=steps,proto3" json:"steps,omitempty"`                                  // how many steps to emit
	SleepMinSec  int64         `protobuf:"varint,2,opt,name=sleep_min_sec,json=sleepMinSec,proto3" json:"sleep_min_sec,omitempty"` // how long to sleep in each step, min
	SleepMaxSec  int64         `protobuf:"varint,3,opt,name=sleep_max_sec,json=sleepMaxSec,proto3" json:"sleep_max_sec,omitempty"` // how long to sleep in each step, max
	ChildBuilds  *ChildBuilds  `protobuf:"bytes,4,opt,name=child_builds,json=childBuilds,proto3" json:"child_builds,omitempty"`    // steps to schedule child builds.
	SearchBuilds *SearchBuilds `protobuf:"bytes,5,opt,name=search_builds,json=searchBuilds,proto3" json:"search_builds,omitempty"` // steps to search builds.
	// contains filtered or unexported fields
}

func (*Inputs) Descriptor deprecated

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

Deprecated: Use Inputs.ProtoReflect.Descriptor instead.

func (*Inputs) GetChildBuilds

func (x *Inputs) GetChildBuilds() *ChildBuilds

func (*Inputs) GetSearchBuilds

func (x *Inputs) GetSearchBuilds() *SearchBuilds

func (*Inputs) GetSleepMaxSec

func (x *Inputs) GetSleepMaxSec() int64

func (*Inputs) GetSleepMinSec

func (x *Inputs) GetSleepMinSec() int64

func (*Inputs) GetSteps

func (x *Inputs) GetSteps() int64

func (*Inputs) ProtoMessage

func (*Inputs) ProtoMessage()

func (*Inputs) ProtoReflect

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

func (*Inputs) Reset

func (x *Inputs) Reset()

func (*Inputs) String

func (x *Inputs) String() string

type SearchBuilds

type SearchBuilds struct {
	Steps       int64 `protobuf:"varint,1,opt,name=steps,proto3" json:"steps,omitempty"`                                  // how many steps to emit
	SleepMinSec int64 `protobuf:"varint,2,opt,name=sleep_min_sec,json=sleepMinSec,proto3" json:"sleep_min_sec,omitempty"` // how long to sleep in each step, min
	SleepMaxSec int64 `protobuf:"varint,3,opt,name=sleep_max_sec,json=sleepMaxSec,proto3" json:"sleep_max_sec,omitempty"` // how long to sleep in each step, max
	// contains filtered or unexported fields
}

func (*SearchBuilds) Descriptor deprecated

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

Deprecated: Use SearchBuilds.ProtoReflect.Descriptor instead.

func (*SearchBuilds) GetSleepMaxSec

func (x *SearchBuilds) GetSleepMaxSec() int64

func (*SearchBuilds) GetSleepMinSec

func (x *SearchBuilds) GetSleepMinSec() int64

func (*SearchBuilds) GetSteps

func (x *SearchBuilds) GetSteps() int64

func (*SearchBuilds) ProtoMessage

func (*SearchBuilds) ProtoMessage()

func (*SearchBuilds) ProtoReflect

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

func (*SearchBuilds) Reset

func (x *SearchBuilds) Reset()

func (*SearchBuilds) String

func (x *SearchBuilds) String() string

Jump to

Keyboard shortcuts

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