proto

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Runtime_Resolve_FullMethodName    = "/bass.Runtime/Resolve"
	Runtime_Run_FullMethodName        = "/bass.Runtime/Run"
	Runtime_Read_FullMethodName       = "/bass.Runtime/Read"
	Runtime_Export_FullMethodName     = "/bass.Runtime/Export"
	Runtime_Publish_FullMethodName    = "/bass.Runtime/Publish"
	Runtime_ExportPath_FullMethodName = "/bass.Runtime/ExportPath"
)

Variables

View Source
var (
	ConcurrencyMode_name = map[int32]string{
		0: "CONCURRENCY_MODE_SHARED",
		1: "CONCURRENCY_MODE_PRIVATE",
		2: "CONCURRENCY_MODE_LOCKED",
	}
	ConcurrencyMode_value = map[string]int32{
		"CONCURRENCY_MODE_SHARED":  0,
		"CONCURRENCY_MODE_PRIVATE": 1,
		"CONCURRENCY_MODE_LOCKED":  2,
	}
)

Enum value maps for ConcurrencyMode.

View Source
var File_progress_proto protoreflect.FileDescriptor
View Source
var File_runtime_proto protoreflect.FileDescriptor
View Source
var Runtime_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "bass.Runtime",
	HandlerType: (*RuntimeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Resolve",
			Handler:    _Runtime_Resolve_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Run",
			Handler:       _Runtime_Run_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Read",
			Handler:       _Runtime_Read_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Export",
			Handler:       _Runtime_Export_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Publish",
			Handler:       _Runtime_Publish_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ExportPath",
			Handler:       _Runtime_ExportPath_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "runtime.proto",
}

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

Functions

func RegisterRuntimeServer

func RegisterRuntimeServer(s grpc.ServiceRegistrar, srv RuntimeServer)

Types

type Array

type Array struct {
	Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Array) Descriptor deprecated

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

Deprecated: Use Array.ProtoReflect.Descriptor instead.

func (*Array) GetValues

func (x *Array) GetValues() []*Value

func (*Array) ProtoMessage

func (*Array) ProtoMessage()

func (*Array) ProtoReflect

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

func (*Array) Reset

func (x *Array) Reset()

func (*Array) String

func (x *Array) String() string

type Binding

type Binding struct {
	Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Value  *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Binding) Descriptor deprecated

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

Deprecated: Use Binding.ProtoReflect.Descriptor instead.

func (*Binding) GetSymbol

func (x *Binding) GetSymbol() string

func (*Binding) GetValue

func (x *Binding) GetValue() *Value

func (*Binding) ProtoMessage

func (*Binding) ProtoMessage()

func (*Binding) ProtoReflect

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

func (*Binding) Reset

func (x *Binding) Reset()

func (*Binding) String

func (x *Binding) String() string

type Bool

type Bool struct {
	Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Bool) Descriptor deprecated

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

Deprecated: Use Bool.ProtoReflect.Descriptor instead.

func (*Bool) GetValue

func (x *Bool) GetValue() bool

func (*Bool) ProtoMessage

func (*Bool) ProtoMessage()

func (*Bool) ProtoReflect

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

func (*Bool) Reset

func (x *Bool) Reset()

func (*Bool) String

func (x *Bool) String() string

type BuildArg added in v0.12.0

type BuildArg struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildArg) Descriptor deprecated added in v0.12.0

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

Deprecated: Use BuildArg.ProtoReflect.Descriptor instead.

func (*BuildArg) GetName added in v0.12.0

func (x *BuildArg) GetName() string

func (*BuildArg) GetValue added in v0.12.0

func (x *BuildArg) GetValue() string

func (*BuildArg) ProtoMessage added in v0.12.0

func (*BuildArg) ProtoMessage()

func (*BuildArg) ProtoReflect added in v0.12.0

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

func (*BuildArg) Reset added in v0.12.0

func (x *BuildArg) Reset()

func (*BuildArg) String added in v0.12.0

func (x *BuildArg) String() string

type CachePath

type CachePath struct {
	Id          string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Path        *FilesystemPath `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Concurrency ConcurrencyMode `protobuf:"varint,3,opt,name=concurrency,proto3,enum=bass.ConcurrencyMode" json:"concurrency,omitempty"`
	// contains filtered or unexported fields
}

func (*CachePath) Descriptor deprecated

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

Deprecated: Use CachePath.ProtoReflect.Descriptor instead.

func (*CachePath) GetConcurrency added in v0.12.0

func (x *CachePath) GetConcurrency() ConcurrencyMode

func (*CachePath) GetId

func (x *CachePath) GetId() string

func (*CachePath) GetPath

func (x *CachePath) GetPath() *FilesystemPath

func (*CachePath) ProtoMessage

func (*CachePath) ProtoMessage()

func (*CachePath) ProtoReflect

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

func (*CachePath) Reset

func (x *CachePath) Reset()

func (*CachePath) String

func (x *CachePath) String() string

type CommandPath

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

func (*CommandPath) Descriptor deprecated

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

Deprecated: Use CommandPath.ProtoReflect.Descriptor instead.

func (*CommandPath) GetName

func (x *CommandPath) GetName() string

func (*CommandPath) ProtoMessage

func (*CommandPath) ProtoMessage()

func (*CommandPath) ProtoReflect

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

func (*CommandPath) Reset

func (x *CommandPath) Reset()

func (*CommandPath) String

func (x *CommandPath) String() string

type ConcurrencyMode added in v0.12.0

type ConcurrencyMode int32
const (
	ConcurrencyMode_CONCURRENCY_MODE_SHARED  ConcurrencyMode = 0
	ConcurrencyMode_CONCURRENCY_MODE_PRIVATE ConcurrencyMode = 1
	ConcurrencyMode_CONCURRENCY_MODE_LOCKED  ConcurrencyMode = 2
)

func (ConcurrencyMode) Descriptor added in v0.12.0

func (ConcurrencyMode) Enum added in v0.12.0

func (x ConcurrencyMode) Enum() *ConcurrencyMode

func (ConcurrencyMode) EnumDescriptor deprecated added in v0.12.0

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

Deprecated: Use ConcurrencyMode.Descriptor instead.

func (ConcurrencyMode) Number added in v0.12.0

func (ConcurrencyMode) String added in v0.12.0

func (x ConcurrencyMode) String() string

func (ConcurrencyMode) Type added in v0.12.0

type DirPath

type DirPath struct {
	Path    string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Include []string `protobuf:"bytes,2,rep,name=include,proto3" json:"include,omitempty"`
	Exclude []string `protobuf:"bytes,3,rep,name=exclude,proto3" json:"exclude,omitempty"`
	// contains filtered or unexported fields
}

func (*DirPath) Descriptor deprecated

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

Deprecated: Use DirPath.ProtoReflect.Descriptor instead.

func (*DirPath) GetExclude added in v0.12.0

func (x *DirPath) GetExclude() []string

func (*DirPath) GetInclude added in v0.12.0

func (x *DirPath) GetInclude() []string

func (*DirPath) GetPath

func (x *DirPath) GetPath() string

func (*DirPath) ProtoMessage

func (*DirPath) ProtoMessage()

func (*DirPath) ProtoReflect

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

func (*DirPath) Reset

func (x *DirPath) Reset()

func (*DirPath) String

func (x *DirPath) String() string

type ExportResponse added in v0.12.0

type ExportResponse struct {

	// Types that are assignable to Inner:
	//
	//	*ExportResponse_Progress
	//	*ExportResponse_Data
	Inner isExportResponse_Inner `protobuf_oneof:"inner"`
	// contains filtered or unexported fields
}

func (*ExportResponse) Descriptor deprecated added in v0.12.0

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

Deprecated: Use ExportResponse.ProtoReflect.Descriptor instead.

func (*ExportResponse) GetData added in v0.12.0

func (x *ExportResponse) GetData() []byte

func (*ExportResponse) GetInner added in v0.12.0

func (m *ExportResponse) GetInner() isExportResponse_Inner

func (*ExportResponse) GetProgress added in v0.12.0

func (x *ExportResponse) GetProgress() *Progress

func (*ExportResponse) ProtoMessage added in v0.12.0

func (*ExportResponse) ProtoMessage()

func (*ExportResponse) ProtoReflect added in v0.12.0

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

func (*ExportResponse) Reset added in v0.12.0

func (x *ExportResponse) Reset()

func (*ExportResponse) String added in v0.12.0

func (x *ExportResponse) String() string

type ExportResponse_Data added in v0.12.0

type ExportResponse_Data struct {
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}

type ExportResponse_Progress added in v0.12.0

type ExportResponse_Progress struct {
	Progress *Progress `protobuf:"bytes,1,opt,name=progress,proto3,oneof"`
}

type FilePath

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

func (*FilePath) Descriptor deprecated

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

Deprecated: Use FilePath.ProtoReflect.Descriptor instead.

func (*FilePath) GetPath

func (x *FilePath) GetPath() string

func (*FilePath) ProtoMessage

func (*FilePath) ProtoMessage()

func (*FilePath) ProtoReflect

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

func (*FilePath) Reset

func (x *FilePath) Reset()

func (*FilePath) String

func (x *FilePath) String() string

type FilesystemPath

type FilesystemPath struct {

	// Types that are assignable to Path:
	//
	//	*FilesystemPath_File
	//	*FilesystemPath_Dir
	Path isFilesystemPath_Path `protobuf_oneof:"path"`
	// contains filtered or unexported fields
}

func (*FilesystemPath) Descriptor deprecated

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

Deprecated: Use FilesystemPath.ProtoReflect.Descriptor instead.

func (*FilesystemPath) GetDir

func (x *FilesystemPath) GetDir() *DirPath

func (*FilesystemPath) GetFile

func (x *FilesystemPath) GetFile() *FilePath

func (*FilesystemPath) GetPath

func (m *FilesystemPath) GetPath() isFilesystemPath_Path

func (*FilesystemPath) ProtoMessage

func (*FilesystemPath) ProtoMessage()

func (*FilesystemPath) ProtoReflect

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

func (*FilesystemPath) Reset

func (x *FilesystemPath) Reset()

func (*FilesystemPath) String

func (x *FilesystemPath) String() string

type FilesystemPath_Dir

type FilesystemPath_Dir struct {
	Dir *DirPath `protobuf:"bytes,2,opt,name=dir,proto3,oneof"`
}

type FilesystemPath_File

type FilesystemPath_File struct {
	File *FilePath `protobuf:"bytes,1,opt,name=file,proto3,oneof"`
}

type HostPath

type HostPath struct {
	Context string          `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	Path    *FilesystemPath `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*HostPath) Descriptor deprecated

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

Deprecated: Use HostPath.ProtoReflect.Descriptor instead.

func (*HostPath) GetContext

func (x *HostPath) GetContext() string

func (*HostPath) GetPath

func (x *HostPath) GetPath() *FilesystemPath

func (*HostPath) ProtoMessage

func (*HostPath) ProtoMessage()

func (*HostPath) ProtoReflect

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

func (*HostPath) Reset

func (x *HostPath) Reset()

func (*HostPath) String

func (x *HostPath) String() string

type ImageArchive added in v0.10.0

type ImageArchive struct {
	Platform *Platform `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
	// ThunkPath file = 2;
	File *ImageBuildInput `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"`
	Tag  *string          `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageArchive) Descriptor deprecated added in v0.10.0

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

Deprecated: Use ImageArchive.ProtoReflect.Descriptor instead.

func (*ImageArchive) GetFile added in v0.10.0

func (x *ImageArchive) GetFile() *ImageBuildInput

func (*ImageArchive) GetPlatform added in v0.10.0

func (x *ImageArchive) GetPlatform() *Platform

func (*ImageArchive) GetTag added in v0.10.0

func (x *ImageArchive) GetTag() string

func (*ImageArchive) ProtoMessage added in v0.10.0

func (*ImageArchive) ProtoMessage()

func (*ImageArchive) ProtoReflect added in v0.10.0

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

func (*ImageArchive) Reset added in v0.10.0

func (x *ImageArchive) Reset()

func (*ImageArchive) String added in v0.10.0

func (x *ImageArchive) String() string

type ImageBuildInput added in v0.12.0

type ImageBuildInput struct {

	// Types that are assignable to Input:
	//
	//	*ImageBuildInput_Thunk
	//	*ImageBuildInput_Host
	//	*ImageBuildInput_Logical
	Input isImageBuildInput_Input `protobuf_oneof:"input"`
	// contains filtered or unexported fields
}

func (*ImageBuildInput) Descriptor deprecated added in v0.12.0

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

Deprecated: Use ImageBuildInput.ProtoReflect.Descriptor instead.

func (*ImageBuildInput) GetHost added in v0.12.0

func (x *ImageBuildInput) GetHost() *HostPath

func (*ImageBuildInput) GetInput added in v0.12.0

func (m *ImageBuildInput) GetInput() isImageBuildInput_Input

func (*ImageBuildInput) GetLogical added in v0.12.0

func (x *ImageBuildInput) GetLogical() *LogicalPath

func (*ImageBuildInput) GetThunk added in v0.12.0

func (x *ImageBuildInput) GetThunk() *ThunkPath

func (*ImageBuildInput) ProtoMessage added in v0.12.0

func (*ImageBuildInput) ProtoMessage()

func (*ImageBuildInput) ProtoReflect added in v0.12.0

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

func (*ImageBuildInput) Reset added in v0.12.0

func (x *ImageBuildInput) Reset()

func (*ImageBuildInput) String added in v0.12.0

func (x *ImageBuildInput) String() string

type ImageBuildInput_Host added in v0.12.0

type ImageBuildInput_Host struct {
	Host *HostPath `protobuf:"bytes,2,opt,name=host,proto3,oneof"`
}

type ImageBuildInput_Logical added in v0.12.0

type ImageBuildInput_Logical struct {
	Logical *LogicalPath `protobuf:"bytes,3,opt,name=logical,proto3,oneof"`
}

type ImageBuildInput_Thunk added in v0.12.0

type ImageBuildInput_Thunk struct {
	Thunk *ThunkPath `protobuf:"bytes,1,opt,name=thunk,proto3,oneof"`
}

type ImageDockerBuild added in v0.12.0

type ImageDockerBuild struct {
	Platform   *Platform        `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
	Context    *ImageBuildInput `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
	Dockerfile *string          `protobuf:"bytes,3,opt,name=dockerfile,proto3,oneof" json:"dockerfile,omitempty"`
	Target     *string          `protobuf:"bytes,4,opt,name=target,proto3,oneof" json:"target,omitempty"`
	Args       []*BuildArg      `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageDockerBuild) Descriptor deprecated added in v0.12.0

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

Deprecated: Use ImageDockerBuild.ProtoReflect.Descriptor instead.

func (*ImageDockerBuild) GetArgs added in v0.12.0

func (x *ImageDockerBuild) GetArgs() []*BuildArg

func (*ImageDockerBuild) GetContext added in v0.12.0

func (x *ImageDockerBuild) GetContext() *ImageBuildInput

func (*ImageDockerBuild) GetDockerfile added in v0.12.0

func (x *ImageDockerBuild) GetDockerfile() string

func (*ImageDockerBuild) GetPlatform added in v0.12.0

func (x *ImageDockerBuild) GetPlatform() *Platform

func (*ImageDockerBuild) GetTarget added in v0.12.0

func (x *ImageDockerBuild) GetTarget() string

func (*ImageDockerBuild) ProtoMessage added in v0.12.0

func (*ImageDockerBuild) ProtoMessage()

func (*ImageDockerBuild) ProtoReflect added in v0.12.0

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

func (*ImageDockerBuild) Reset added in v0.12.0

func (x *ImageDockerBuild) Reset()

func (*ImageDockerBuild) String added in v0.12.0

func (x *ImageDockerBuild) String() string

type ImageRef added in v0.10.0

type ImageRef struct {
	Platform *Platform `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
	// Types that are assignable to Source:
	//
	//	*ImageRef_Repository
	//	*ImageRef_File
	//	*ImageRef_Addr
	Source isImageRef_Source `protobuf_oneof:"source"`
	Tag    *string           `protobuf:"bytes,4,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
	Digest *string           `protobuf:"bytes,5,opt,name=digest,proto3,oneof" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageRef) Descriptor deprecated added in v0.10.0

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

Deprecated: Use ImageRef.ProtoReflect.Descriptor instead.

func (*ImageRef) GetAddr added in v0.10.0

func (x *ImageRef) GetAddr() *ThunkAddr

func (*ImageRef) GetDigest added in v0.10.0

func (x *ImageRef) GetDigest() string

func (*ImageRef) GetFile deprecated added in v0.10.0

func (x *ImageRef) GetFile() *ThunkPath

Deprecated: Do not use.

func (*ImageRef) GetPlatform added in v0.10.0

func (x *ImageRef) GetPlatform() *Platform

func (*ImageRef) GetRepository added in v0.10.0

func (x *ImageRef) GetRepository() string

func (*ImageRef) GetSource added in v0.10.0

func (m *ImageRef) GetSource() isImageRef_Source

func (*ImageRef) GetTag added in v0.10.0

func (x *ImageRef) GetTag() string

func (*ImageRef) ProtoMessage added in v0.10.0

func (*ImageRef) ProtoMessage()

func (*ImageRef) ProtoReflect added in v0.10.0

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

func (*ImageRef) Reset added in v0.10.0

func (x *ImageRef) Reset()

func (*ImageRef) String added in v0.10.0

func (x *ImageRef) String() string

type ImageRef_Addr added in v0.10.0

type ImageRef_Addr struct {
	Addr *ThunkAddr `protobuf:"bytes,6,opt,name=addr,proto3,oneof"`
}

type ImageRef_File added in v0.10.0

type ImageRef_File struct {
	// Deprecated: Do not use.
	File *ThunkPath `protobuf:"bytes,3,opt,name=file,proto3,oneof"`
}

type ImageRef_Repository added in v0.10.0

type ImageRef_Repository struct {
	Repository string `protobuf:"bytes,2,opt,name=repository,proto3,oneof"`
}

type Int

type Int struct {
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Int) Descriptor deprecated

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

Deprecated: Use Int.ProtoReflect.Descriptor instead.

func (*Int) GetValue

func (x *Int) GetValue() int64

func (*Int) ProtoMessage

func (*Int) ProtoMessage()

func (*Int) ProtoReflect

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

func (*Int) Reset

func (x *Int) Reset()

func (*Int) String

func (x *Int) String() string

type LogicalPath

type LogicalPath struct {

	// Types that are assignable to Path:
	//
	//	*LogicalPath_File_
	//	*LogicalPath_Dir_
	Path isLogicalPath_Path `protobuf_oneof:"path"`
	// contains filtered or unexported fields
}

func (*LogicalPath) Descriptor deprecated

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

Deprecated: Use LogicalPath.ProtoReflect.Descriptor instead.

func (*LogicalPath) GetDir

func (x *LogicalPath) GetDir() *LogicalPath_Dir

func (*LogicalPath) GetFile

func (x *LogicalPath) GetFile() *LogicalPath_File

func (*LogicalPath) GetPath

func (m *LogicalPath) GetPath() isLogicalPath_Path

func (*LogicalPath) ProtoMessage

func (*LogicalPath) ProtoMessage()

func (*LogicalPath) ProtoReflect

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

func (*LogicalPath) Reset

func (x *LogicalPath) Reset()

func (*LogicalPath) String

func (x *LogicalPath) String() string

type LogicalPath_Dir

type LogicalPath_Dir struct {
	Name    string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Entries []*LogicalPath `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*LogicalPath_Dir) Descriptor deprecated

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

Deprecated: Use LogicalPath_Dir.ProtoReflect.Descriptor instead.

func (*LogicalPath_Dir) GetEntries

func (x *LogicalPath_Dir) GetEntries() []*LogicalPath

func (*LogicalPath_Dir) GetName

func (x *LogicalPath_Dir) GetName() string

func (*LogicalPath_Dir) ProtoMessage

func (*LogicalPath_Dir) ProtoMessage()

func (*LogicalPath_Dir) ProtoReflect

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

func (*LogicalPath_Dir) Reset

func (x *LogicalPath_Dir) Reset()

func (*LogicalPath_Dir) String

func (x *LogicalPath_Dir) String() string

type LogicalPath_Dir_

type LogicalPath_Dir_ struct {
	Dir *LogicalPath_Dir `protobuf:"bytes,2,opt,name=dir,proto3,oneof"`
}

type LogicalPath_File

type LogicalPath_File struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*LogicalPath_File) Descriptor deprecated

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

Deprecated: Use LogicalPath_File.ProtoReflect.Descriptor instead.

func (*LogicalPath_File) GetContent

func (x *LogicalPath_File) GetContent() []byte

func (*LogicalPath_File) GetName

func (x *LogicalPath_File) GetName() string

func (*LogicalPath_File) ProtoMessage

func (*LogicalPath_File) ProtoMessage()

func (*LogicalPath_File) ProtoReflect

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

func (*LogicalPath_File) Reset

func (x *LogicalPath_File) Reset()

func (*LogicalPath_File) String

func (x *LogicalPath_File) String() string

type LogicalPath_File_

type LogicalPath_File_ struct {
	File *LogicalPath_File `protobuf:"bytes,1,opt,name=file,proto3,oneof"`
}

type Memosphere

type Memosphere struct {
	Memos []*Memosphere_Memo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"`
	// contains filtered or unexported fields
}

func (*Memosphere) Descriptor deprecated

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

Deprecated: Use Memosphere.ProtoReflect.Descriptor instead.

func (*Memosphere) GetMemos

func (x *Memosphere) GetMemos() []*Memosphere_Memo

func (*Memosphere) ProtoMessage

func (*Memosphere) ProtoMessage()

func (*Memosphere) ProtoReflect

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

func (*Memosphere) Reset

func (x *Memosphere) Reset()

func (*Memosphere) String

func (x *Memosphere) String() string

type Memosphere_Call

type Memosphere_Call struct {
	Binding string               `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"`
	Results []*Memosphere_Result `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*Memosphere_Call) Descriptor deprecated

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

Deprecated: Use Memosphere_Call.ProtoReflect.Descriptor instead.

func (*Memosphere_Call) GetBinding

func (x *Memosphere_Call) GetBinding() string

func (*Memosphere_Call) GetResults

func (x *Memosphere_Call) GetResults() []*Memosphere_Result

func (*Memosphere_Call) ProtoMessage

func (*Memosphere_Call) ProtoMessage()

func (*Memosphere_Call) ProtoReflect

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

func (*Memosphere_Call) Reset

func (x *Memosphere_Call) Reset()

func (*Memosphere_Call) String

func (x *Memosphere_Call) String() string

type Memosphere_Memo

type Memosphere_Memo struct {
	Module *Thunk             `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Calls  []*Memosphere_Call `protobuf:"bytes,2,rep,name=calls,proto3" json:"calls,omitempty"`
	// contains filtered or unexported fields
}

func (*Memosphere_Memo) Descriptor deprecated

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

Deprecated: Use Memosphere_Memo.ProtoReflect.Descriptor instead.

func (*Memosphere_Memo) GetCalls

func (x *Memosphere_Memo) GetCalls() []*Memosphere_Call

func (*Memosphere_Memo) GetModule

func (x *Memosphere_Memo) GetModule() *Thunk

func (*Memosphere_Memo) ProtoMessage

func (*Memosphere_Memo) ProtoMessage()

func (*Memosphere_Memo) ProtoReflect

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

func (*Memosphere_Memo) Reset

func (x *Memosphere_Memo) Reset()

func (*Memosphere_Memo) String

func (x *Memosphere_Memo) String() string

type Memosphere_Result

type Memosphere_Result struct {
	Input  *Value `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	Output *Value `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*Memosphere_Result) Descriptor deprecated

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

Deprecated: Use Memosphere_Result.ProtoReflect.Descriptor instead.

func (*Memosphere_Result) GetInput

func (x *Memosphere_Result) GetInput() *Value

func (*Memosphere_Result) GetOutput

func (x *Memosphere_Result) GetOutput() *Value

func (*Memosphere_Result) ProtoMessage

func (*Memosphere_Result) ProtoMessage()

func (*Memosphere_Result) ProtoReflect

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

func (*Memosphere_Result) Reset

func (x *Memosphere_Result) Reset()

func (*Memosphere_Result) String

func (x *Memosphere_Result) String() string

type Message

type Message = proto.Message

type Null

type Null struct {
	// contains filtered or unexported fields
}

func (*Null) Descriptor deprecated

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

Deprecated: Use Null.ProtoReflect.Descriptor instead.

func (*Null) ProtoMessage

func (*Null) ProtoMessage()

func (*Null) ProtoReflect

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

func (*Null) Reset

func (x *Null) Reset()

func (*Null) String

func (x *Null) String() string

type Object

type Object struct {
	Bindings []*Binding `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty"`
	// contains filtered or unexported fields
}

func (*Object) Descriptor deprecated

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

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetBindings

func (x *Object) GetBindings() []*Binding

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect

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

func (*Object) Reset

func (x *Object) Reset()

func (*Object) String

func (x *Object) String() string

type Platform

type Platform struct {
	Os   string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"`
	Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*Platform) Descriptor deprecated

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

Deprecated: Use Platform.ProtoReflect.Descriptor instead.

func (*Platform) GetArch

func (x *Platform) GetArch() string

func (*Platform) GetOs

func (x *Platform) GetOs() string

func (*Platform) ProtoMessage

func (*Platform) ProtoMessage()

func (*Platform) ProtoReflect

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

func (*Platform) Reset

func (x *Platform) Reset()

func (*Platform) String

func (x *Platform) String() string

type Progress

type Progress struct {
	Vertexes []*Vertex       `protobuf:"bytes,1,rep,name=vertexes,proto3" json:"vertexes,omitempty"`
	Statuses []*VertexStatus `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"`
	Logs     []*VertexLog    `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty"`
	// contains filtered or unexported fields
}

func (*Progress) Descriptor deprecated

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

Deprecated: Use Progress.ProtoReflect.Descriptor instead.

func (*Progress) GetLogs

func (x *Progress) GetLogs() []*VertexLog

func (*Progress) GetStatuses

func (x *Progress) GetStatuses() []*VertexStatus

func (*Progress) GetVertexes

func (x *Progress) GetVertexes() []*Vertex

func (*Progress) ProtoMessage

func (*Progress) ProtoMessage()

func (*Progress) ProtoReflect

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

func (*Progress) Reset

func (x *Progress) Reset()

func (*Progress) String

func (x *Progress) String() string

type PublishRequest added in v0.12.0

type PublishRequest struct {
	Ref   *ImageRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	Thunk *Thunk    `protobuf:"bytes,2,opt,name=thunk,proto3" json:"thunk,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishRequest) Descriptor deprecated added in v0.12.0

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

Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.

func (*PublishRequest) GetRef added in v0.12.0

func (x *PublishRequest) GetRef() *ImageRef

func (*PublishRequest) GetThunk added in v0.12.0

func (x *PublishRequest) GetThunk() *Thunk

func (*PublishRequest) ProtoMessage added in v0.12.0

func (*PublishRequest) ProtoMessage()

func (*PublishRequest) ProtoReflect added in v0.12.0

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

func (*PublishRequest) Reset added in v0.12.0

func (x *PublishRequest) Reset()

func (*PublishRequest) String added in v0.12.0

func (x *PublishRequest) String() string

type PublishResponse added in v0.12.0

type PublishResponse struct {

	// Types that are assignable to Inner:
	//
	//	*PublishResponse_Progress
	//	*PublishResponse_Published
	Inner isPublishResponse_Inner `protobuf_oneof:"inner"`
	// contains filtered or unexported fields
}

func (*PublishResponse) Descriptor deprecated added in v0.12.0

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

Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.

func (*PublishResponse) GetInner added in v0.12.0

func (m *PublishResponse) GetInner() isPublishResponse_Inner

func (*PublishResponse) GetProgress added in v0.12.0

func (x *PublishResponse) GetProgress() *Progress

func (*PublishResponse) GetPublished added in v0.12.0

func (x *PublishResponse) GetPublished() *ImageRef

func (*PublishResponse) ProtoMessage added in v0.12.0

func (*PublishResponse) ProtoMessage()

func (*PublishResponse) ProtoReflect added in v0.12.0

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

func (*PublishResponse) Reset added in v0.12.0

func (x *PublishResponse) Reset()

func (*PublishResponse) String added in v0.12.0

func (x *PublishResponse) String() string

type PublishResponse_Progress added in v0.12.0

type PublishResponse_Progress struct {
	Progress *Progress `protobuf:"bytes,1,opt,name=progress,proto3,oneof"`
}

type PublishResponse_Published added in v0.12.0

type PublishResponse_Published struct {
	Published *ImageRef `protobuf:"bytes,2,opt,name=published,proto3,oneof"`
}

type ReadResponse added in v0.6.1

type ReadResponse struct {

	// Types that are assignable to Inner:
	//
	//	*ReadResponse_Progress
	//	*ReadResponse_Output
	Inner isReadResponse_Inner `protobuf_oneof:"inner"`
	// contains filtered or unexported fields
}

func (*ReadResponse) Descriptor deprecated added in v0.6.1

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

Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead.

func (*ReadResponse) GetInner added in v0.6.1

func (m *ReadResponse) GetInner() isReadResponse_Inner

func (*ReadResponse) GetOutput added in v0.6.1

func (x *ReadResponse) GetOutput() []byte

func (*ReadResponse) GetProgress added in v0.6.1

func (x *ReadResponse) GetProgress() *Progress

func (*ReadResponse) ProtoMessage added in v0.6.1

func (*ReadResponse) ProtoMessage()

func (*ReadResponse) ProtoReflect added in v0.6.1

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

func (*ReadResponse) Reset added in v0.6.1

func (x *ReadResponse) Reset()

func (*ReadResponse) String added in v0.6.1

func (x *ReadResponse) String() string

type ReadResponse_Output added in v0.6.1

type ReadResponse_Output struct {
	Output []byte `protobuf:"bytes,2,opt,name=output,proto3,oneof"`
}

type ReadResponse_Progress added in v0.6.1

type ReadResponse_Progress struct {
	Progress *Progress `protobuf:"bytes,1,opt,name=progress,proto3,oneof"`
}

type RunResponse added in v0.6.1

type RunResponse struct {

	// Types that are assignable to Inner:
	//
	//	*RunResponse_Progress
	Inner isRunResponse_Inner `protobuf_oneof:"inner"`
	// contains filtered or unexported fields
}

func (*RunResponse) Descriptor deprecated added in v0.6.1

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

Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.

func (*RunResponse) GetInner added in v0.6.1

func (m *RunResponse) GetInner() isRunResponse_Inner

func (*RunResponse) GetProgress added in v0.6.1

func (x *RunResponse) GetProgress() *Progress

func (*RunResponse) ProtoMessage added in v0.6.1

func (*RunResponse) ProtoMessage()

func (*RunResponse) ProtoReflect added in v0.6.1

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

func (*RunResponse) Reset added in v0.6.1

func (x *RunResponse) Reset()

func (*RunResponse) String added in v0.6.1

func (x *RunResponse) String() string

type RunResponse_Progress added in v0.6.1

type RunResponse_Progress struct {
	Progress *Progress `protobuf:"bytes,1,opt,name=progress,proto3,oneof"`
}

type RuntimeClient

type RuntimeClient interface {
	Resolve(ctx context.Context, in *ImageRef, opts ...grpc.CallOption) (*Thunk, error)
	Run(ctx context.Context, in *Thunk, opts ...grpc.CallOption) (Runtime_RunClient, error)
	Read(ctx context.Context, in *Thunk, opts ...grpc.CallOption) (Runtime_ReadClient, error)
	Export(ctx context.Context, in *Thunk, opts ...grpc.CallOption) (Runtime_ExportClient, error)
	Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (Runtime_PublishClient, error)
	ExportPath(ctx context.Context, in *ThunkPath, opts ...grpc.CallOption) (Runtime_ExportPathClient, error)
}

RuntimeClient is the client API for Runtime 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.

func NewRuntimeClient

func NewRuntimeClient(cc grpc.ClientConnInterface) RuntimeClient

type RuntimeServer

type RuntimeServer interface {
	Resolve(context.Context, *ImageRef) (*Thunk, error)
	Run(*Thunk, Runtime_RunServer) error
	Read(*Thunk, Runtime_ReadServer) error
	Export(*Thunk, Runtime_ExportServer) error
	Publish(*PublishRequest, Runtime_PublishServer) error
	ExportPath(*ThunkPath, Runtime_ExportPathServer) error
	// contains filtered or unexported methods
}

RuntimeServer is the server API for Runtime service. All implementations must embed UnimplementedRuntimeServer for forward compatibility

type Runtime_ExportClient

type Runtime_ExportClient interface {
	Recv() (*ExportResponse, error)
	grpc.ClientStream
}

type Runtime_ExportPathClient

type Runtime_ExportPathClient interface {
	Recv() (*ExportResponse, error)
	grpc.ClientStream
}

type Runtime_ExportPathServer

type Runtime_ExportPathServer interface {
	Send(*ExportResponse) error
	grpc.ServerStream
}

type Runtime_ExportServer

type Runtime_ExportServer interface {
	Send(*ExportResponse) error
	grpc.ServerStream
}

type Runtime_PublishClient added in v0.12.0

type Runtime_PublishClient interface {
	Recv() (*PublishResponse, error)
	grpc.ClientStream
}

type Runtime_PublishServer added in v0.12.0

type Runtime_PublishServer interface {
	Send(*PublishResponse) error
	grpc.ServerStream
}

type Runtime_ReadClient added in v0.6.1

type Runtime_ReadClient interface {
	Recv() (*ReadResponse, error)
	grpc.ClientStream
}

type Runtime_ReadServer added in v0.6.1

type Runtime_ReadServer interface {
	Send(*ReadResponse) error
	grpc.ServerStream
}

type Runtime_RunClient

type Runtime_RunClient interface {
	Recv() (*RunResponse, error)
	grpc.ClientStream
}

type Runtime_RunServer

type Runtime_RunServer interface {
	Send(*RunResponse) error
	grpc.ServerStream
}

type Secret

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

func (*Secret) Descriptor deprecated

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

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetName

func (x *Secret) GetName() string

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

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

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) String

func (x *Secret) String() string

type String

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

func (*String) Descriptor deprecated

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

Deprecated: Use String.ProtoReflect.Descriptor instead.

func (*String) GetValue

func (x *String) GetValue() string

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) ProtoReflect

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

func (*String) Reset

func (x *String) Reset()

func (*String) String

func (x *String) String() string

type Thunk

type Thunk struct {
	Image            *ThunkImage   `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	Insecure         bool          `protobuf:"varint,2,opt,name=insecure,proto3" json:"insecure,omitempty"`
	Args             []*Value      `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	Stdin            []*Value      `protobuf:"bytes,5,rep,name=stdin,proto3" json:"stdin,omitempty"`
	Env              []*Binding    `protobuf:"bytes,6,rep,name=env,proto3" json:"env,omitempty"`
	Dir              *ThunkDir     `protobuf:"bytes,7,opt,name=dir,proto3" json:"dir,omitempty"`
	Mounts           []*ThunkMount `protobuf:"bytes,8,rep,name=mounts,proto3" json:"mounts,omitempty"`
	Labels           []*Binding    `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty"`
	Ports            []*ThunkPort  `protobuf:"bytes,10,rep,name=ports,proto3" json:"ports,omitempty"`
	Tls              *ThunkTLS     `protobuf:"bytes,11,opt,name=tls,proto3" json:"tls,omitempty"`
	Entrypoint       []string      `protobuf:"bytes,12,rep,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	ClearEntrypoint  bool          `protobuf:"varint,13,opt,name=clear_entrypoint,json=clearEntrypoint,proto3" json:"clear_entrypoint,omitempty"`
	DefaultArgs      []string      `protobuf:"bytes,14,rep,name=default_args,json=defaultArgs,proto3" json:"default_args,omitempty"`
	ClearDefaultArgs bool          `protobuf:"varint,15,opt,name=clear_default_args,json=clearDefaultArgs,proto3" json:"clear_default_args,omitempty"`
	UseEntrypoint    bool          `protobuf:"varint,16,opt,name=use_entrypoint,json=useEntrypoint,proto3" json:"use_entrypoint,omitempty"`
	// contains filtered or unexported fields
}

func (*Thunk) Descriptor deprecated

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

Deprecated: Use Thunk.ProtoReflect.Descriptor instead.

func (*Thunk) GetArgs

func (x *Thunk) GetArgs() []*Value

func (*Thunk) GetClearDefaultArgs added in v0.12.0

func (x *Thunk) GetClearDefaultArgs() bool

func (*Thunk) GetClearEntrypoint added in v0.12.0

func (x *Thunk) GetClearEntrypoint() bool

func (*Thunk) GetDefaultArgs added in v0.12.0

func (x *Thunk) GetDefaultArgs() []string

func (*Thunk) GetDir

func (x *Thunk) GetDir() *ThunkDir

func (*Thunk) GetEntrypoint added in v0.12.0

func (x *Thunk) GetEntrypoint() []string

func (*Thunk) GetEnv

func (x *Thunk) GetEnv() []*Binding

func (*Thunk) GetImage

func (x *Thunk) GetImage() *ThunkImage

func (*Thunk) GetInsecure

func (x *Thunk) GetInsecure() bool

func (*Thunk) GetLabels

func (x *Thunk) GetLabels() []*Binding

func (*Thunk) GetMounts

func (x *Thunk) GetMounts() []*ThunkMount

func (*Thunk) GetPorts added in v0.10.0

func (x *Thunk) GetPorts() []*ThunkPort

func (*Thunk) GetStdin

func (x *Thunk) GetStdin() []*Value

func (*Thunk) GetTls added in v0.10.0

func (x *Thunk) GetTls() *ThunkTLS

func (*Thunk) GetUseEntrypoint added in v0.12.0

func (x *Thunk) GetUseEntrypoint() bool

func (*Thunk) ProtoMessage

func (*Thunk) ProtoMessage()

func (*Thunk) ProtoReflect

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

func (*Thunk) Reset

func (x *Thunk) Reset()

func (*Thunk) String

func (x *Thunk) String() string

type ThunkAddr added in v0.10.0

type ThunkAddr struct {
	Thunk  *Thunk `protobuf:"bytes,1,opt,name=thunk,proto3" json:"thunk,omitempty"`
	Port   string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*ThunkAddr) Descriptor deprecated added in v0.10.0

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

Deprecated: Use ThunkAddr.ProtoReflect.Descriptor instead.

func (*ThunkAddr) GetFormat added in v0.10.0

func (x *ThunkAddr) GetFormat() string

func (*ThunkAddr) GetPort added in v0.10.0

func (x *ThunkAddr) GetPort() string

func (*ThunkAddr) GetThunk added in v0.10.0

func (x *ThunkAddr) GetThunk() *Thunk

func (*ThunkAddr) ProtoMessage added in v0.10.0

func (*ThunkAddr) ProtoMessage()

func (*ThunkAddr) ProtoReflect added in v0.10.0

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

func (*ThunkAddr) Reset added in v0.10.0

func (x *ThunkAddr) Reset()

func (*ThunkAddr) String added in v0.10.0

func (x *ThunkAddr) String() string

type ThunkDir

type ThunkDir struct {

	// Types that are assignable to Dir:
	//
	//	*ThunkDir_Local
	//	*ThunkDir_Thunk
	//	*ThunkDir_Host
	Dir isThunkDir_Dir `protobuf_oneof:"dir"`
	// contains filtered or unexported fields
}

func (*ThunkDir) Descriptor deprecated

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

Deprecated: Use ThunkDir.ProtoReflect.Descriptor instead.

func (*ThunkDir) GetDir

func (m *ThunkDir) GetDir() isThunkDir_Dir

func (*ThunkDir) GetHost

func (x *ThunkDir) GetHost() *HostPath

func (*ThunkDir) GetLocal

func (x *ThunkDir) GetLocal() *DirPath

func (*ThunkDir) GetThunk

func (x *ThunkDir) GetThunk() *ThunkPath

func (*ThunkDir) ProtoMessage

func (*ThunkDir) ProtoMessage()

func (*ThunkDir) ProtoReflect

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

func (*ThunkDir) Reset

func (x *ThunkDir) Reset()

func (*ThunkDir) String

func (x *ThunkDir) String() string

type ThunkDir_Host

type ThunkDir_Host struct {
	Host *HostPath `protobuf:"bytes,14,opt,name=host,proto3,oneof"`
}

type ThunkDir_Local

type ThunkDir_Local struct {
	Local *DirPath `protobuf:"bytes,12,opt,name=local,proto3,oneof"`
}

type ThunkDir_Thunk

type ThunkDir_Thunk struct {
	Thunk *ThunkPath `protobuf:"bytes,13,opt,name=thunk,proto3,oneof"`
}

type ThunkImage

type ThunkImage struct {

	// Types that are assignable to Image:
	//
	//	*ThunkImage_Ref
	//	*ThunkImage_Thunk
	//	*ThunkImage_Archive
	//	*ThunkImage_DockerBuild
	Image isThunkImage_Image `protobuf_oneof:"image"`
	// contains filtered or unexported fields
}

func (*ThunkImage) Descriptor deprecated

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

Deprecated: Use ThunkImage.ProtoReflect.Descriptor instead.

func (*ThunkImage) GetArchive added in v0.10.0

func (x *ThunkImage) GetArchive() *ImageArchive

func (*ThunkImage) GetDockerBuild added in v0.12.0

func (x *ThunkImage) GetDockerBuild() *ImageDockerBuild

func (*ThunkImage) GetImage

func (m *ThunkImage) GetImage() isThunkImage_Image

func (*ThunkImage) GetRef

func (x *ThunkImage) GetRef() *ImageRef

func (*ThunkImage) GetThunk

func (x *ThunkImage) GetThunk() *Thunk

func (*ThunkImage) ProtoMessage

func (*ThunkImage) ProtoMessage()

func (*ThunkImage) ProtoReflect

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

func (*ThunkImage) Reset

func (x *ThunkImage) Reset()

func (*ThunkImage) String

func (x *ThunkImage) String() string

type ThunkImage_Archive added in v0.10.0

type ThunkImage_Archive struct {
	Archive *ImageArchive `protobuf:"bytes,3,opt,name=archive,proto3,oneof"`
}

type ThunkImage_DockerBuild added in v0.12.0

type ThunkImage_DockerBuild struct {
	DockerBuild *ImageDockerBuild `protobuf:"bytes,4,opt,name=docker_build,json=dockerBuild,proto3,oneof"`
}

type ThunkImage_Ref

type ThunkImage_Ref struct {
	Ref *ImageRef `protobuf:"bytes,1,opt,name=ref,proto3,oneof"`
}

type ThunkImage_Thunk

type ThunkImage_Thunk struct {
	Thunk *Thunk `protobuf:"bytes,2,opt,name=thunk,proto3,oneof"`
}

type ThunkMount

type ThunkMount struct {
	Source *ThunkMountSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Target *FilesystemPath   `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*ThunkMount) Descriptor deprecated

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

Deprecated: Use ThunkMount.ProtoReflect.Descriptor instead.

func (*ThunkMount) GetSource

func (x *ThunkMount) GetSource() *ThunkMountSource

func (*ThunkMount) GetTarget

func (x *ThunkMount) GetTarget() *FilesystemPath

func (*ThunkMount) ProtoMessage

func (*ThunkMount) ProtoMessage()

func (*ThunkMount) ProtoReflect

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

func (*ThunkMount) Reset

func (x *ThunkMount) Reset()

func (*ThunkMount) String

func (x *ThunkMount) String() string

type ThunkMountSource

type ThunkMountSource struct {

	// Types that are assignable to Source:
	//
	//	*ThunkMountSource_Thunk
	//	*ThunkMountSource_Host
	//	*ThunkMountSource_Logical
	//	*ThunkMountSource_Cache
	//	*ThunkMountSource_Secret
	Source isThunkMountSource_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

func (*ThunkMountSource) Descriptor deprecated

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

Deprecated: Use ThunkMountSource.ProtoReflect.Descriptor instead.

func (*ThunkMountSource) GetCache

func (x *ThunkMountSource) GetCache() *CachePath

func (*ThunkMountSource) GetHost

func (x *ThunkMountSource) GetHost() *HostPath

func (*ThunkMountSource) GetLogical

func (x *ThunkMountSource) GetLogical() *LogicalPath

func (*ThunkMountSource) GetSecret

func (x *ThunkMountSource) GetSecret() *Secret

func (*ThunkMountSource) GetSource

func (m *ThunkMountSource) GetSource() isThunkMountSource_Source

func (*ThunkMountSource) GetThunk

func (x *ThunkMountSource) GetThunk() *ThunkPath

func (*ThunkMountSource) ProtoMessage

func (*ThunkMountSource) ProtoMessage()

func (*ThunkMountSource) ProtoReflect

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

func (*ThunkMountSource) Reset

func (x *ThunkMountSource) Reset()

func (*ThunkMountSource) String

func (x *ThunkMountSource) String() string

type ThunkMountSource_Cache

type ThunkMountSource_Cache struct {
	Cache *CachePath `protobuf:"bytes,4,opt,name=cache,proto3,oneof"`
}

type ThunkMountSource_Host

type ThunkMountSource_Host struct {
	Host *HostPath `protobuf:"bytes,2,opt,name=host,proto3,oneof"`
}

type ThunkMountSource_Logical

type ThunkMountSource_Logical struct {
	Logical *LogicalPath `protobuf:"bytes,3,opt,name=logical,proto3,oneof"`
}

type ThunkMountSource_Secret

type ThunkMountSource_Secret struct {
	Secret *Secret `protobuf:"bytes,5,opt,name=secret,proto3,oneof"`
}

type ThunkMountSource_Thunk

type ThunkMountSource_Thunk struct {
	Thunk *ThunkPath `protobuf:"bytes,1,opt,name=thunk,proto3,oneof"`
}

type ThunkPath

type ThunkPath struct {
	Thunk *Thunk          `protobuf:"bytes,1,opt,name=thunk,proto3" json:"thunk,omitempty"`
	Path  *FilesystemPath `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*ThunkPath) Descriptor deprecated

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

Deprecated: Use ThunkPath.ProtoReflect.Descriptor instead.

func (*ThunkPath) GetPath

func (x *ThunkPath) GetPath() *FilesystemPath

func (*ThunkPath) GetThunk

func (x *ThunkPath) GetThunk() *Thunk

func (*ThunkPath) ProtoMessage

func (*ThunkPath) ProtoMessage()

func (*ThunkPath) ProtoReflect

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

func (*ThunkPath) Reset

func (x *ThunkPath) Reset()

func (*ThunkPath) String

func (x *ThunkPath) String() string

type ThunkPort added in v0.10.0

type ThunkPort struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Port int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*ThunkPort) Descriptor deprecated added in v0.10.0

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

Deprecated: Use ThunkPort.ProtoReflect.Descriptor instead.

func (*ThunkPort) GetName added in v0.10.0

func (x *ThunkPort) GetName() string

func (*ThunkPort) GetPort added in v0.10.0

func (x *ThunkPort) GetPort() int32

func (*ThunkPort) ProtoMessage added in v0.10.0

func (*ThunkPort) ProtoMessage()

func (*ThunkPort) ProtoReflect added in v0.10.0

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

func (*ThunkPort) Reset added in v0.10.0

func (x *ThunkPort) Reset()

func (*ThunkPort) String added in v0.10.0

func (x *ThunkPort) String() string

type ThunkTLS added in v0.10.0

type ThunkTLS struct {
	Cert *FilePath `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"`
	Key  *FilePath `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ThunkTLS) Descriptor deprecated added in v0.10.0

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

Deprecated: Use ThunkTLS.ProtoReflect.Descriptor instead.

func (*ThunkTLS) GetCert added in v0.10.0

func (x *ThunkTLS) GetCert() *FilePath

func (*ThunkTLS) GetKey added in v0.10.0

func (x *ThunkTLS) GetKey() *FilePath

func (*ThunkTLS) ProtoMessage added in v0.10.0

func (*ThunkTLS) ProtoMessage()

func (*ThunkTLS) ProtoReflect added in v0.10.0

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

func (*ThunkTLS) Reset added in v0.10.0

func (x *ThunkTLS) Reset()

func (*ThunkTLS) String added in v0.10.0

func (x *ThunkTLS) String() string

type UnimplementedRuntimeServer

type UnimplementedRuntimeServer struct {
}

UnimplementedRuntimeServer must be embedded to have forward compatible implementations.

func (UnimplementedRuntimeServer) Export

func (UnimplementedRuntimeServer) ExportPath

func (UnimplementedRuntimeServer) Publish added in v0.12.0

func (UnimplementedRuntimeServer) Read added in v0.6.1

func (UnimplementedRuntimeServer) Resolve

func (UnimplementedRuntimeServer) Run

type UnsafeRuntimeServer

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

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

type Value

type Value struct {

	// Types that are assignable to Value:
	//
	//	*Value_Null
	//	*Value_Bool
	//	*Value_Int
	//	*Value_String_
	//	*Value_Secret
	//	*Value_Array
	//	*Value_Object
	//	*Value_Thunk
	//	*Value_CommandPath
	//	*Value_FilePath
	//	*Value_DirPath
	//	*Value_HostPath
	//	*Value_ThunkPath
	//	*Value_LogicalPath
	//	*Value_ThunkAddr
	//	*Value_CachePath
	Value isValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func NewValue

func NewValue(msg Message) (*Value, error)

func (*Value) Descriptor deprecated

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

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetArray

func (x *Value) GetArray() *Array

func (*Value) GetBool

func (x *Value) GetBool() *Bool

func (*Value) GetCachePath added in v0.12.0

func (x *Value) GetCachePath() *CachePath

func (*Value) GetCommandPath

func (x *Value) GetCommandPath() *CommandPath

func (*Value) GetDirPath

func (x *Value) GetDirPath() *DirPath

func (*Value) GetFilePath

func (x *Value) GetFilePath() *FilePath

func (*Value) GetHostPath

func (x *Value) GetHostPath() *HostPath

func (*Value) GetInt

func (x *Value) GetInt() *Int

func (*Value) GetLogicalPath

func (x *Value) GetLogicalPath() *LogicalPath

func (*Value) GetNull

func (x *Value) GetNull() *Null

func (*Value) GetObject

func (x *Value) GetObject() *Object

func (*Value) GetSecret

func (x *Value) GetSecret() *Secret

func (*Value) GetString_

func (x *Value) GetString_() *String

func (*Value) GetThunk

func (x *Value) GetThunk() *Thunk

func (*Value) GetThunkAddr added in v0.10.0

func (x *Value) GetThunkAddr() *ThunkAddr

func (*Value) GetThunkPath

func (x *Value) GetThunkPath() *ThunkPath

func (*Value) GetValue

func (m *Value) GetValue() isValue_Value

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

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

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

type Value_Array

type Value_Array struct {
	Array *Array `protobuf:"bytes,6,opt,name=array,proto3,oneof"`
}

type Value_Bool

type Value_Bool struct {
	Bool *Bool `protobuf:"bytes,2,opt,name=bool,proto3,oneof"`
}

type Value_CachePath added in v0.12.0

type Value_CachePath struct {
	CachePath *CachePath `protobuf:"bytes,16,opt,name=cache_path,json=cachePath,proto3,oneof"`
}

type Value_CommandPath

type Value_CommandPath struct {
	CommandPath *CommandPath `protobuf:"bytes,9,opt,name=command_path,json=commandPath,proto3,oneof"`
}

type Value_DirPath

type Value_DirPath struct {
	DirPath *DirPath `protobuf:"bytes,11,opt,name=dir_path,json=dirPath,proto3,oneof"`
}

type Value_FilePath

type Value_FilePath struct {
	FilePath *FilePath `protobuf:"bytes,10,opt,name=file_path,json=filePath,proto3,oneof"`
}

type Value_HostPath

type Value_HostPath struct {
	HostPath *HostPath `protobuf:"bytes,12,opt,name=host_path,json=hostPath,proto3,oneof"`
}

type Value_Int

type Value_Int struct {
	Int *Int `protobuf:"bytes,3,opt,name=int,proto3,oneof"`
}

type Value_LogicalPath

type Value_LogicalPath struct {
	LogicalPath *LogicalPath `protobuf:"bytes,14,opt,name=logical_path,json=logicalPath,proto3,oneof"`
}

type Value_Null

type Value_Null struct {
	Null *Null `protobuf:"bytes,1,opt,name=null,proto3,oneof"`
}

type Value_Object

type Value_Object struct {
	Object *Object `protobuf:"bytes,7,opt,name=object,proto3,oneof"`
}

type Value_Secret

type Value_Secret struct {
	Secret *Secret `protobuf:"bytes,5,opt,name=secret,proto3,oneof"`
}

type Value_String_

type Value_String_ struct {
	String_ *String `protobuf:"bytes,4,opt,name=string,proto3,oneof"`
}

type Value_Thunk

type Value_Thunk struct {
	Thunk *Thunk `protobuf:"bytes,8,opt,name=thunk,proto3,oneof"`
}

type Value_ThunkAddr added in v0.10.0

type Value_ThunkAddr struct {
	ThunkAddr *ThunkAddr `protobuf:"bytes,15,opt,name=thunk_addr,json=thunkAddr,proto3,oneof"`
}

type Value_ThunkPath

type Value_ThunkPath struct {
	ThunkPath *ThunkPath `protobuf:"bytes,13,opt,name=thunk_path,json=thunkPath,proto3,oneof"`
}

type Vertex

type Vertex struct {
	Digest    string                 `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	Inputs    []string               `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Name      string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Started   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started,proto3,oneof" json:"started,omitempty"`
	Completed *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=completed,proto3,oneof" json:"completed,omitempty"`
	Cached    bool                   `protobuf:"varint,6,opt,name=cached,proto3" json:"cached,omitempty"`
	Error     *string                `protobuf:"bytes,7,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*Vertex) Descriptor deprecated

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

Deprecated: Use Vertex.ProtoReflect.Descriptor instead.

func (*Vertex) GetCached

func (x *Vertex) GetCached() bool

func (*Vertex) GetCompleted

func (x *Vertex) GetCompleted() *timestamppb.Timestamp

func (*Vertex) GetDigest

func (x *Vertex) GetDigest() string

func (*Vertex) GetError

func (x *Vertex) GetError() string

func (*Vertex) GetInputs

func (x *Vertex) GetInputs() []string

func (*Vertex) GetName

func (x *Vertex) GetName() string

func (*Vertex) GetStarted

func (x *Vertex) GetStarted() *timestamppb.Timestamp

func (*Vertex) ProtoMessage

func (*Vertex) ProtoMessage()

func (*Vertex) ProtoReflect

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

func (*Vertex) Reset

func (x *Vertex) Reset()

func (*Vertex) String

func (x *Vertex) String() string

type VertexLog

type VertexLog struct {
	Vertex    string                 `protobuf:"bytes,1,opt,name=vertex,proto3" json:"vertex,omitempty"`
	Stream    int64                  `protobuf:"varint,2,opt,name=stream,proto3" json:"stream,omitempty"` // TODO: smaller int?
	Data      []byte                 `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*VertexLog) Descriptor deprecated

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

Deprecated: Use VertexLog.ProtoReflect.Descriptor instead.

func (*VertexLog) GetData

func (x *VertexLog) GetData() []byte

func (*VertexLog) GetStream

func (x *VertexLog) GetStream() int64

func (*VertexLog) GetTimestamp

func (x *VertexLog) GetTimestamp() *timestamppb.Timestamp

func (*VertexLog) GetVertex

func (x *VertexLog) GetVertex() string

func (*VertexLog) ProtoMessage

func (*VertexLog) ProtoMessage()

func (*VertexLog) ProtoReflect

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

func (*VertexLog) Reset

func (x *VertexLog) Reset()

func (*VertexLog) String

func (x *VertexLog) String() string

type VertexStatus

type VertexStatus struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Vertex    string                 `protobuf:"bytes,2,opt,name=vertex,proto3" json:"vertex,omitempty"`
	Name      string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Total     int64                  `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
	Current   int64                  `protobuf:"varint,5,opt,name=current,proto3" json:"current,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Started   *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=started,proto3,oneof" json:"started,omitempty"`
	Completed *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=completed,proto3,oneof" json:"completed,omitempty"`
	// contains filtered or unexported fields
}

func (*VertexStatus) Descriptor deprecated

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

Deprecated: Use VertexStatus.ProtoReflect.Descriptor instead.

func (*VertexStatus) GetCompleted

func (x *VertexStatus) GetCompleted() *timestamppb.Timestamp

func (*VertexStatus) GetCurrent

func (x *VertexStatus) GetCurrent() int64

func (*VertexStatus) GetId

func (x *VertexStatus) GetId() string

func (*VertexStatus) GetName

func (x *VertexStatus) GetName() string

func (*VertexStatus) GetStarted

func (x *VertexStatus) GetStarted() *timestamppb.Timestamp

func (*VertexStatus) GetTimestamp

func (x *VertexStatus) GetTimestamp() *timestamppb.Timestamp

func (*VertexStatus) GetTotal

func (x *VertexStatus) GetTotal() int64

func (*VertexStatus) GetVertex

func (x *VertexStatus) GetVertex() string

func (*VertexStatus) ProtoMessage

func (*VertexStatus) ProtoMessage()

func (*VertexStatus) ProtoReflect

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

func (*VertexStatus) Reset

func (x *VertexStatus) Reset()

func (*VertexStatus) String

func (x *VertexStatus) String() string

Jump to

Keyboard shortcuts

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