furanrpc

package
v2.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

View Source
const (
	FuranExecutor_StartBuild_FullMethodName     = "/furanrpc.FuranExecutor/StartBuild"
	FuranExecutor_GetBuildStatus_FullMethodName = "/furanrpc.FuranExecutor/GetBuildStatus"
	FuranExecutor_GetBuildEvents_FullMethodName = "/furanrpc.FuranExecutor/GetBuildEvents"
	FuranExecutor_MonitorBuild_FullMethodName   = "/furanrpc.FuranExecutor/MonitorBuild"
	FuranExecutor_CancelBuild_FullMethodName    = "/furanrpc.FuranExecutor/CancelBuild"
	FuranExecutor_ListBuilds_FullMethodName     = "/furanrpc.FuranExecutor/ListBuilds"
)

Variables

View Source
var (
	BuildState_name = map[int32]string{
		0: "UNKNOWN",
		1: "NOTSTARTED",
		2: "SKIPPED",
		3: "RUNNING",
		4: "FAILURE",
		5: "SUCCESS",
		6: "CANCEL_REQUESTED",
		7: "CANCELLED",
	}
	BuildState_value = map[string]int32{
		"UNKNOWN":          0,
		"NOTSTARTED":       1,
		"SKIPPED":          2,
		"RUNNING":          3,
		"FAILURE":          4,
		"SUCCESS":          5,
		"CANCEL_REQUESTED": 6,
		"CANCELLED":        7,
	}
)

Enum value maps for BuildState.

View Source
var (
	BuildCacheOpts_CacheType_name = map[int32]string{
		0: "UNKNOWN",
		1: "DISABLED",
		2: "S3",
		3: "INLINE",
	}
	BuildCacheOpts_CacheType_value = map[string]int32{
		"UNKNOWN":  0,
		"DISABLED": 1,
		"S3":       2,
		"INLINE":   3,
	}
)

Enum value maps for BuildCacheOpts_CacheType.

View Source
var (
	// optional bool read_only = 1000;
	E_ReadOnly = &file_api_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var FuranExecutor_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "furanrpc.FuranExecutor",
	HandlerType: (*FuranExecutorServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "StartBuild",
			Handler:    _FuranExecutor_StartBuild_Handler,
		},
		{
			MethodName: "GetBuildStatus",
			Handler:    _FuranExecutor_GetBuildStatus_Handler,
		},
		{
			MethodName: "GetBuildEvents",
			Handler:    _FuranExecutor_GetBuildEvents_Handler,
		},
		{
			MethodName: "CancelBuild",
			Handler:    _FuranExecutor_CancelBuild_Handler,
		},
		{
			MethodName: "ListBuilds",
			Handler:    _FuranExecutor_ListBuilds_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "MonitorBuild",
			Handler:       _FuranExecutor_MonitorBuild_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api.proto",
}

FuranExecutor_ServiceDesc is the grpc.ServiceDesc for FuranExecutor service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterFuranExecutorServer

func RegisterFuranExecutorServer(s grpc.ServiceRegistrar, srv FuranExecutorServer)

Types

type BuildCacheOpts

type BuildCacheOpts struct {
	Type    BuildCacheOpts_CacheType `protobuf:"varint,1,opt,name=type,proto3,enum=furanrpc.BuildCacheOpts_CacheType" json:"type,omitempty"`
	MaxMode bool                     `protobuf:"varint,2,opt,name=max_mode,json=maxMode,proto3" json:"max_mode,omitempty"` // BuildKit cache "max mode" (default: false)
	// contains filtered or unexported fields
}

func (*BuildCacheOpts) Descriptor deprecated

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

Deprecated: Use BuildCacheOpts.ProtoReflect.Descriptor instead.

func (*BuildCacheOpts) GetMaxMode

func (x *BuildCacheOpts) GetMaxMode() bool

func (*BuildCacheOpts) GetType

func (*BuildCacheOpts) ProtoMessage

func (*BuildCacheOpts) ProtoMessage()

func (*BuildCacheOpts) ProtoReflect

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

func (*BuildCacheOpts) Reset

func (x *BuildCacheOpts) Reset()

func (*BuildCacheOpts) String

func (x *BuildCacheOpts) String() string

type BuildCacheOpts_CacheType

type BuildCacheOpts_CacheType int32
const (
	BuildCacheOpts_UNKNOWN  BuildCacheOpts_CacheType = 0
	BuildCacheOpts_DISABLED BuildCacheOpts_CacheType = 1
	BuildCacheOpts_S3       BuildCacheOpts_CacheType = 2 // manually cache to/from the S3 bucket configured server-side
	BuildCacheOpts_INLINE   BuildCacheOpts_CacheType = 3 // BuildKit OCI inline cache
)

func (BuildCacheOpts_CacheType) Descriptor

func (BuildCacheOpts_CacheType) Enum

func (BuildCacheOpts_CacheType) EnumDescriptor deprecated

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

Deprecated: Use BuildCacheOpts_CacheType.Descriptor instead.

func (BuildCacheOpts_CacheType) Number

func (BuildCacheOpts_CacheType) String

func (x BuildCacheOpts_CacheType) String() string

func (BuildCacheOpts_CacheType) Type

type BuildCancelRequest

type BuildCancelRequest struct {
	BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildCancelRequest) Descriptor deprecated

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

Deprecated: Use BuildCancelRequest.ProtoReflect.Descriptor instead.

func (*BuildCancelRequest) GetBuildId

func (x *BuildCancelRequest) GetBuildId() string

func (*BuildCancelRequest) ProtoMessage

func (*BuildCancelRequest) ProtoMessage()

func (*BuildCancelRequest) ProtoReflect

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

func (*BuildCancelRequest) Reset

func (x *BuildCancelRequest) Reset()

func (*BuildCancelRequest) String

func (x *BuildCancelRequest) String() string

type BuildCancelResponse

type BuildCancelResponse struct {
	BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildCancelResponse) Descriptor deprecated

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

Deprecated: Use BuildCancelResponse.ProtoReflect.Descriptor instead.

func (*BuildCancelResponse) GetBuildId

func (x *BuildCancelResponse) GetBuildId() string

func (*BuildCancelResponse) ProtoMessage

func (*BuildCancelResponse) ProtoMessage()

func (*BuildCancelResponse) ProtoReflect

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

func (*BuildCancelResponse) Reset

func (x *BuildCancelResponse) Reset()

func (*BuildCancelResponse) String

func (x *BuildCancelResponse) String() string

type BuildDefinition

type BuildDefinition struct {
	GithubRepo       string            `protobuf:"bytes,1,opt,name=github_repo,json=githubRepo,proto3" json:"github_repo,omitempty"`
	GithubCredential string            `protobuf:"bytes,2,opt,name=github_credential,json=githubCredential,proto3" json:"github_credential,omitempty"`
	DockerfilePath   string            `protobuf:"bytes,3,opt,name=dockerfile_path,json=dockerfilePath,proto3" json:"dockerfile_path,omitempty"` // must be a directory containing a file named "dockerfile" or "Dockerfile"
	Ref              string            `protobuf:"bytes,4,opt,name=ref,proto3" json:"ref,omitempty"`                                             // GitHub ref (sha/branch/tag)
	Tags             []string          `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	TagWithCommitSha bool              `protobuf:"varint,6,opt,name=tag_with_commit_sha,json=tagWithCommitSha,proto3" json:"tag_with_commit_sha,omitempty"`
	Args             map[string]string `` /* 149-byte string literal not displayed */
	CacheOptions     *BuildCacheOpts   `protobuf:"bytes,8,opt,name=cache_options,json=cacheOptions,proto3" json:"cache_options,omitempty"`
	Resources        *BuildResources   `protobuf:"bytes,9,opt,name=resources,proto3" json:"resources,omitempty"`                                  // Optional build resources for BuildKit
	DockerfileName   string            `protobuf:"bytes,10,opt,name=dockerfile_name,json=dockerfileName,proto3" json:"dockerfile_name,omitempty"` // Optional rename of dockerfile
	// contains filtered or unexported fields
}

func (*BuildDefinition) Descriptor deprecated

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

Deprecated: Use BuildDefinition.ProtoReflect.Descriptor instead.

func (*BuildDefinition) GetArgs

func (x *BuildDefinition) GetArgs() map[string]string

func (*BuildDefinition) GetCacheOptions

func (x *BuildDefinition) GetCacheOptions() *BuildCacheOpts

func (*BuildDefinition) GetDockerfileName added in v2.3.4

func (x *BuildDefinition) GetDockerfileName() string

func (*BuildDefinition) GetDockerfilePath

func (x *BuildDefinition) GetDockerfilePath() string

func (*BuildDefinition) GetGithubCredential

func (x *BuildDefinition) GetGithubCredential() string

func (*BuildDefinition) GetGithubRepo

func (x *BuildDefinition) GetGithubRepo() string

func (*BuildDefinition) GetRef

func (x *BuildDefinition) GetRef() string

func (*BuildDefinition) GetResources

func (x *BuildDefinition) GetResources() *BuildResources

func (*BuildDefinition) GetTagWithCommitSha

func (x *BuildDefinition) GetTagWithCommitSha() bool

func (*BuildDefinition) GetTags

func (x *BuildDefinition) GetTags() []string

func (*BuildDefinition) ProtoMessage

func (*BuildDefinition) ProtoMessage()

func (*BuildDefinition) ProtoReflect

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

func (*BuildDefinition) Reset

func (x *BuildDefinition) Reset()

func (*BuildDefinition) String

func (x *BuildDefinition) String() string

type BuildEvent

type BuildEvent struct {
	BuildId      string     `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	Message      string     `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	CurrentState BuildState `protobuf:"varint,3,opt,name=current_state,json=currentState,proto3,enum=furanrpc.BuildState" json:"current_state,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildEvent) Descriptor deprecated

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

Deprecated: Use BuildEvent.ProtoReflect.Descriptor instead.

func (*BuildEvent) GetBuildId

func (x *BuildEvent) GetBuildId() string

func (*BuildEvent) GetCurrentState

func (x *BuildEvent) GetCurrentState() BuildState

func (*BuildEvent) GetMessage

func (x *BuildEvent) GetMessage() string

func (*BuildEvent) ProtoMessage

func (*BuildEvent) ProtoMessage()

func (*BuildEvent) ProtoReflect

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

func (*BuildEvent) Reset

func (x *BuildEvent) Reset()

func (*BuildEvent) String

func (x *BuildEvent) String() string

type BuildEventsResponse

type BuildEventsResponse struct {
	BuildId      string     `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	CurrentState BuildState `protobuf:"varint,2,opt,name=current_state,json=currentState,proto3,enum=furanrpc.BuildState" json:"current_state,omitempty"`
	Messages     []string   `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildEventsResponse) Descriptor deprecated

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

Deprecated: Use BuildEventsResponse.ProtoReflect.Descriptor instead.

func (*BuildEventsResponse) GetBuildId

func (x *BuildEventsResponse) GetBuildId() string

func (*BuildEventsResponse) GetCurrentState

func (x *BuildEventsResponse) GetCurrentState() BuildState

func (*BuildEventsResponse) GetMessages

func (x *BuildEventsResponse) GetMessages() []string

func (*BuildEventsResponse) ProtoMessage

func (*BuildEventsResponse) ProtoMessage()

func (*BuildEventsResponse) ProtoReflect

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

func (*BuildEventsResponse) Reset

func (x *BuildEventsResponse) Reset()

func (*BuildEventsResponse) String

func (x *BuildEventsResponse) String() string

type BuildRequest

type BuildRequest struct {
	Build        *BuildDefinition `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
	Push         *PushDefinition  `protobuf:"bytes,2,opt,name=push,proto3" json:"push,omitempty"`
	SkipIfExists bool             `protobuf:"varint,3,opt,name=skip_if_exists,json=skipIfExists,proto3" json:"skip_if_exists,omitempty"` // all tags exist in all image repos
	// contains filtered or unexported fields
}

func (*BuildRequest) Descriptor deprecated

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

Deprecated: Use BuildRequest.ProtoReflect.Descriptor instead.

func (*BuildRequest) GetBuild

func (x *BuildRequest) GetBuild() *BuildDefinition

func (*BuildRequest) GetPush

func (x *BuildRequest) GetPush() *PushDefinition

func (*BuildRequest) GetSkipIfExists

func (x *BuildRequest) GetSkipIfExists() bool

func (*BuildRequest) ProtoMessage

func (*BuildRequest) ProtoMessage()

func (*BuildRequest) ProtoReflect

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

func (*BuildRequest) Reset

func (x *BuildRequest) Reset()

func (*BuildRequest) String

func (x *BuildRequest) String() string

type BuildRequestResponse

type BuildRequestResponse struct {
	BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildRequestResponse) Descriptor deprecated

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

Deprecated: Use BuildRequestResponse.ProtoReflect.Descriptor instead.

func (*BuildRequestResponse) GetBuildId

func (x *BuildRequestResponse) GetBuildId() string

func (*BuildRequestResponse) ProtoMessage

func (*BuildRequestResponse) ProtoMessage()

func (*BuildRequestResponse) ProtoReflect

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

func (*BuildRequestResponse) Reset

func (x *BuildRequestResponse) Reset()

func (*BuildRequestResponse) String

func (x *BuildRequestResponse) String() string

type BuildResources

type BuildResources struct {
	CpuRequest    string `protobuf:"bytes,1,opt,name=cpu_request,json=cpuRequest,proto3" json:"cpu_request,omitempty"`
	CpuLimit      string `protobuf:"bytes,2,opt,name=cpu_limit,json=cpuLimit,proto3" json:"cpu_limit,omitempty"`
	MemoryRequest string `protobuf:"bytes,3,opt,name=memory_request,json=memoryRequest,proto3" json:"memory_request,omitempty"`
	MemoryLimit   string `protobuf:"bytes,4,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
	// contains filtered or unexported fields
}

BuildResources specifies optional requests and limits for the BuildKit container. This uses the same syntax as k8s objects (ex: "2G", "100m"). If empty, reasonable defaults will be used. Use this only if a particular build needs significantly more resources and is failing due to OOM or CPU starvation. The server may reject excessively large values. Kubernetes may have difficulty scheduling build jobs with high resource requests, leading to build timeouts.

func (*BuildResources) Descriptor deprecated

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

Deprecated: Use BuildResources.ProtoReflect.Descriptor instead.

func (*BuildResources) GetCpuLimit

func (x *BuildResources) GetCpuLimit() string

func (*BuildResources) GetCpuRequest

func (x *BuildResources) GetCpuRequest() string

func (*BuildResources) GetMemoryLimit

func (x *BuildResources) GetMemoryLimit() string

func (*BuildResources) GetMemoryRequest

func (x *BuildResources) GetMemoryRequest() string

func (*BuildResources) ProtoMessage

func (*BuildResources) ProtoMessage()

func (*BuildResources) ProtoReflect

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

func (*BuildResources) Reset

func (x *BuildResources) Reset()

func (*BuildResources) String

func (x *BuildResources) String() string

type BuildState

type BuildState int32
const (
	BuildState_UNKNOWN          BuildState = 0
	BuildState_NOTSTARTED       BuildState = 1
	BuildState_SKIPPED          BuildState = 2
	BuildState_RUNNING          BuildState = 3
	BuildState_FAILURE          BuildState = 4
	BuildState_SUCCESS          BuildState = 5
	BuildState_CANCEL_REQUESTED BuildState = 6
	BuildState_CANCELLED        BuildState = 7
)

func (BuildState) Descriptor

func (BuildState) Descriptor() protoreflect.EnumDescriptor

func (BuildState) Enum

func (x BuildState) Enum() *BuildState

func (BuildState) EnumDescriptor deprecated

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

Deprecated: Use BuildState.Descriptor instead.

func (BuildState) Number

func (x BuildState) Number() protoreflect.EnumNumber

func (BuildState) String

func (x BuildState) String() string

func (BuildState) Type

type BuildStatusRequest

type BuildStatusRequest struct {
	BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildStatusRequest) Descriptor deprecated

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

Deprecated: Use BuildStatusRequest.ProtoReflect.Descriptor instead.

func (*BuildStatusRequest) GetBuildId

func (x *BuildStatusRequest) GetBuildId() string

func (*BuildStatusRequest) ProtoMessage

func (*BuildStatusRequest) ProtoMessage()

func (*BuildStatusRequest) ProtoReflect

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

func (*BuildStatusRequest) Reset

func (x *BuildStatusRequest) Reset()

func (*BuildStatusRequest) String

func (x *BuildStatusRequest) String() string

type BuildStatusResponse

type BuildStatusResponse struct {
	BuildId      string        `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	BuildRequest *BuildRequest `protobuf:"bytes,2,opt,name=build_request,json=buildRequest,proto3" json:"build_request,omitempty"`
	State        BuildState    `protobuf:"varint,3,opt,name=state,proto3,enum=furanrpc.BuildState" json:"state,omitempty"`
	Started      *Timestamp    `protobuf:"bytes,4,opt,name=started,proto3" json:"started,omitempty"`
	Completed    *Timestamp    `protobuf:"bytes,5,opt,name=completed,proto3" json:"completed,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildStatusResponse) Descriptor deprecated

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

Deprecated: Use BuildStatusResponse.ProtoReflect.Descriptor instead.

func (*BuildStatusResponse) GetBuildId

func (x *BuildStatusResponse) GetBuildId() string

func (*BuildStatusResponse) GetBuildRequest

func (x *BuildStatusResponse) GetBuildRequest() *BuildRequest

func (*BuildStatusResponse) GetCompleted

func (x *BuildStatusResponse) GetCompleted() *Timestamp

func (*BuildStatusResponse) GetStarted

func (x *BuildStatusResponse) GetStarted() *Timestamp

func (*BuildStatusResponse) GetState

func (x *BuildStatusResponse) GetState() BuildState

func (*BuildStatusResponse) ProtoMessage

func (*BuildStatusResponse) ProtoMessage()

func (*BuildStatusResponse) ProtoReflect

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

func (*BuildStatusResponse) Reset

func (x *BuildStatusResponse) Reset()

func (*BuildStatusResponse) String

func (x *BuildStatusResponse) String() string

type FuranExecutorClient

type FuranExecutorClient interface {
	StartBuild(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (*BuildRequestResponse, error)
	GetBuildStatus(ctx context.Context, in *BuildStatusRequest, opts ...grpc.CallOption) (*BuildStatusResponse, error)
	GetBuildEvents(ctx context.Context, in *BuildStatusRequest, opts ...grpc.CallOption) (*BuildEventsResponse, error)
	MonitorBuild(ctx context.Context, in *BuildStatusRequest, opts ...grpc.CallOption) (FuranExecutor_MonitorBuildClient, error)
	CancelBuild(ctx context.Context, in *BuildCancelRequest, opts ...grpc.CallOption) (*BuildCancelResponse, error)
	ListBuilds(ctx context.Context, in *ListBuildsRequest, opts ...grpc.CallOption) (*ListBuildsResponse, error)
}

FuranExecutorClient is the client API for FuranExecutor service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type FuranExecutorServer

FuranExecutorServer is the server API for FuranExecutor service. All implementations should embed UnimplementedFuranExecutorServer for forward compatibility

type FuranExecutor_MonitorBuildClient

type FuranExecutor_MonitorBuildClient interface {
	Recv() (*BuildEvent, error)
	grpc.ClientStream
}

type FuranExecutor_MonitorBuildServer

type FuranExecutor_MonitorBuildServer interface {
	Send(*BuildEvent) error
	grpc.ServerStream
}

type ListBuildsRequest

type ListBuildsRequest struct {
	WithGithubRepo  string     `protobuf:"bytes,1,opt,name=with_github_repo,json=withGithubRepo,proto3" json:"with_github_repo,omitempty"`
	WithGithubRef   string     `protobuf:"bytes,2,opt,name=with_github_ref,json=withGithubRef,proto3" json:"with_github_ref,omitempty"`
	WithImageRepo   string     `protobuf:"bytes,3,opt,name=with_image_repo,json=withImageRepo,proto3" json:"with_image_repo,omitempty"`
	WithBuildState  BuildState `` /* 131-byte string literal not displayed */
	CompletedAfter  *Timestamp `protobuf:"bytes,5,opt,name=completed_after,json=completedAfter,proto3" json:"completed_after,omitempty"`
	StartedAfter    *Timestamp `protobuf:"bytes,6,opt,name=started_after,json=startedAfter,proto3" json:"started_after,omitempty"`
	CompletedBefore *Timestamp `protobuf:"bytes,7,opt,name=completed_before,json=completedBefore,proto3" json:"completed_before,omitempty"`
	StartedBefore   *Timestamp `protobuf:"bytes,8,opt,name=started_before,json=startedBefore,proto3" json:"started_before,omitempty"`
	Limit           uint32     `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

ListBuildsRequest models a request to list builds. Each parameter is combined with an implicit logical AND. Example:

with_github_repo = "foo/bar"
AND
with_build_state = SUCCESS
AND
started_after = <1 week ago>
AND
completed_before = <24 hours ago>

func (*ListBuildsRequest) Descriptor deprecated

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

Deprecated: Use ListBuildsRequest.ProtoReflect.Descriptor instead.

func (*ListBuildsRequest) GetCompletedAfter

func (x *ListBuildsRequest) GetCompletedAfter() *Timestamp

func (*ListBuildsRequest) GetCompletedBefore

func (x *ListBuildsRequest) GetCompletedBefore() *Timestamp

func (*ListBuildsRequest) GetLimit

func (x *ListBuildsRequest) GetLimit() uint32

func (*ListBuildsRequest) GetStartedAfter

func (x *ListBuildsRequest) GetStartedAfter() *Timestamp

func (*ListBuildsRequest) GetStartedBefore

func (x *ListBuildsRequest) GetStartedBefore() *Timestamp

func (*ListBuildsRequest) GetWithBuildState

func (x *ListBuildsRequest) GetWithBuildState() BuildState

func (*ListBuildsRequest) GetWithGithubRef

func (x *ListBuildsRequest) GetWithGithubRef() string

func (*ListBuildsRequest) GetWithGithubRepo

func (x *ListBuildsRequest) GetWithGithubRepo() string

func (*ListBuildsRequest) GetWithImageRepo

func (x *ListBuildsRequest) GetWithImageRepo() string

func (*ListBuildsRequest) ProtoMessage

func (*ListBuildsRequest) ProtoMessage()

func (*ListBuildsRequest) ProtoReflect

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

func (*ListBuildsRequest) Reset

func (x *ListBuildsRequest) Reset()

func (*ListBuildsRequest) String

func (x *ListBuildsRequest) String() string

type ListBuildsResponse

type ListBuildsResponse struct {
	Builds []*BuildStatusResponse `protobuf:"bytes,1,rep,name=builds,proto3" json:"builds,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBuildsResponse) Descriptor deprecated

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

Deprecated: Use ListBuildsResponse.ProtoReflect.Descriptor instead.

func (*ListBuildsResponse) GetBuilds

func (x *ListBuildsResponse) GetBuilds() []*BuildStatusResponse

func (*ListBuildsResponse) ProtoMessage

func (*ListBuildsResponse) ProtoMessage()

func (*ListBuildsResponse) ProtoReflect

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

func (*ListBuildsResponse) Reset

func (x *ListBuildsResponse) Reset()

func (*ListBuildsResponse) String

func (x *ListBuildsResponse) String() string

type PushDefinition

type PushDefinition struct {
	Registries []*PushRegistryDefinition `protobuf:"bytes,1,rep,name=registries,proto3" json:"registries,omitempty"`
	// contains filtered or unexported fields
}

func (*PushDefinition) Descriptor deprecated

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

Deprecated: Use PushDefinition.ProtoReflect.Descriptor instead.

func (*PushDefinition) GetRegistries

func (x *PushDefinition) GetRegistries() []*PushRegistryDefinition

func (*PushDefinition) ProtoMessage

func (*PushDefinition) ProtoMessage()

func (*PushDefinition) ProtoReflect

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

func (*PushDefinition) Reset

func (x *PushDefinition) Reset()

func (*PushDefinition) String

func (x *PushDefinition) String() string

type PushRegistryDefinition

type PushRegistryDefinition struct {
	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// contains filtered or unexported fields
}

func (*PushRegistryDefinition) Descriptor deprecated

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

Deprecated: Use PushRegistryDefinition.ProtoReflect.Descriptor instead.

func (*PushRegistryDefinition) GetRepo

func (x *PushRegistryDefinition) GetRepo() string

func (*PushRegistryDefinition) ProtoMessage

func (*PushRegistryDefinition) ProtoMessage()

func (*PushRegistryDefinition) ProtoReflect

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

func (*PushRegistryDefinition) Reset

func (x *PushRegistryDefinition) Reset()

func (*PushRegistryDefinition) String

func (x *PushRegistryDefinition) String() string

type Timestamp

type Timestamp struct {

	// Represents seconds of UTC time since Unix epoch
	// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
	// 9999-12-31T23:59:59Z inclusive.
	Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	Nanos   int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
	// contains filtered or unexported fields
}

From https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/timestamp.proto

func (*Timestamp) Descriptor deprecated

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

Deprecated: Use Timestamp.ProtoReflect.Descriptor instead.

func (*Timestamp) GetNanos

func (x *Timestamp) GetNanos() int32

func (*Timestamp) GetSeconds

func (x *Timestamp) GetSeconds() int64

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) ProtoReflect

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

func (*Timestamp) Reset

func (x *Timestamp) Reset()

func (*Timestamp) String

func (x *Timestamp) String() string

type UnimplementedFuranExecutorServer

type UnimplementedFuranExecutorServer struct {
}

UnimplementedFuranExecutorServer should be embedded to have forward compatible implementations.

func (UnimplementedFuranExecutorServer) CancelBuild

func (UnimplementedFuranExecutorServer) GetBuildEvents

func (UnimplementedFuranExecutorServer) GetBuildStatus

func (UnimplementedFuranExecutorServer) ListBuilds

func (UnimplementedFuranExecutorServer) MonitorBuild

func (UnimplementedFuranExecutorServer) StartBuild

type UnsafeFuranExecutorServer

type UnsafeFuranExecutorServer interface {
	// contains filtered or unexported methods
}

UnsafeFuranExecutorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FuranExecutorServer will result in compilation errors.

Jump to

Keyboard shortcuts

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