cloudv1

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RegisterMachineRequest_Cloud_name = map[int32]string{
		0: "CLOUD_UNSPECIFIED",
		1: "CLOUD_AWS",
		2: "CLOUD_FLY",
	}
	RegisterMachineRequest_Cloud_value = map[string]int32{
		"CLOUD_UNSPECIFIED": 0,
		"CLOUD_AWS":         1,
		"CLOUD_FLY":         2,
	}
)

Enum value maps for RegisterMachineRequest_Cloud.

View Source
var (
	RegisterMachineResponse_Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "KIND_BUILDKIT",
	}
	RegisterMachineResponse_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED": 0,
		"KIND_BUILDKIT":    1,
	}
)

Enum value maps for RegisterMachineResponse_Kind.

View Source
var File_depot_cloud_v1_machine_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PingMachineHealthRequest

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

func (*PingMachineHealthRequest) Descriptor deprecated

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

Deprecated: Use PingMachineHealthRequest.ProtoReflect.Descriptor instead.

func (*PingMachineHealthRequest) GetMachineId

func (x *PingMachineHealthRequest) GetMachineId() string

func (*PingMachineHealthRequest) ProtoMessage

func (*PingMachineHealthRequest) ProtoMessage()

func (*PingMachineHealthRequest) ProtoReflect

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

func (*PingMachineHealthRequest) Reset

func (x *PingMachineHealthRequest) Reset()

func (*PingMachineHealthRequest) String

func (x *PingMachineHealthRequest) String() string

type PingMachineHealthResponse

type PingMachineHealthResponse struct {
	ShouldTerminate bool `protobuf:"varint,1,opt,name=should_terminate,json=shouldTerminate,proto3" json:"should_terminate,omitempty"`
	// contains filtered or unexported fields
}

func (*PingMachineHealthResponse) Descriptor deprecated

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

Deprecated: Use PingMachineHealthResponse.ProtoReflect.Descriptor instead.

func (*PingMachineHealthResponse) GetShouldTerminate

func (x *PingMachineHealthResponse) GetShouldTerminate() bool

func (*PingMachineHealthResponse) ProtoMessage

func (*PingMachineHealthResponse) ProtoMessage()

func (*PingMachineHealthResponse) ProtoReflect

func (*PingMachineHealthResponse) Reset

func (x *PingMachineHealthResponse) Reset()

func (*PingMachineHealthResponse) String

func (x *PingMachineHealthResponse) String() string

type RegisterMachineRequest

type RegisterMachineRequest struct {
	ConnectionId string                       `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Cloud        RegisterMachineRequest_Cloud `protobuf:"varint,2,opt,name=cloud,proto3,enum=depot.cloud.v1.RegisterMachineRequest_Cloud" json:"cloud,omitempty"`
	Document     string                       `protobuf:"bytes,3,opt,name=document,proto3" json:"document,omitempty"`
	Signature    string                       `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterMachineRequest) Descriptor deprecated

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

Deprecated: Use RegisterMachineRequest.ProtoReflect.Descriptor instead.

func (*RegisterMachineRequest) GetCloud

func (*RegisterMachineRequest) GetConnectionId

func (x *RegisterMachineRequest) GetConnectionId() string

func (*RegisterMachineRequest) GetDocument

func (x *RegisterMachineRequest) GetDocument() string

func (*RegisterMachineRequest) GetSignature

func (x *RegisterMachineRequest) GetSignature() string

func (*RegisterMachineRequest) ProtoMessage

func (*RegisterMachineRequest) ProtoMessage()

func (*RegisterMachineRequest) ProtoReflect

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

func (*RegisterMachineRequest) Reset

func (x *RegisterMachineRequest) Reset()

func (*RegisterMachineRequest) String

func (x *RegisterMachineRequest) String() string

type RegisterMachineRequest_Cloud

type RegisterMachineRequest_Cloud int32
const (
	RegisterMachineRequest_CLOUD_UNSPECIFIED RegisterMachineRequest_Cloud = 0
	RegisterMachineRequest_CLOUD_AWS         RegisterMachineRequest_Cloud = 1
	RegisterMachineRequest_CLOUD_FLY         RegisterMachineRequest_Cloud = 2
)

func (RegisterMachineRequest_Cloud) Descriptor

func (RegisterMachineRequest_Cloud) Enum

func (RegisterMachineRequest_Cloud) EnumDescriptor deprecated

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

Deprecated: Use RegisterMachineRequest_Cloud.Descriptor instead.

func (RegisterMachineRequest_Cloud) Number

func (RegisterMachineRequest_Cloud) String

func (RegisterMachineRequest_Cloud) Type

type RegisterMachineResponse

type RegisterMachineResponse struct {
	MachineId string                           `protobuf:"bytes,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`
	Kind      RegisterMachineResponse_Kind     `protobuf:"varint,2,opt,name=kind,proto3,enum=depot.cloud.v1.RegisterMachineResponse_Kind" json:"kind,omitempty"`
	Mounts    []*RegisterMachineResponse_Mount `protobuf:"bytes,3,rep,name=mounts,proto3" json:"mounts,omitempty"`
	Cert      *RegisterMachineResponse_Cert    `protobuf:"bytes,4,opt,name=cert,proto3" json:"cert,omitempty"`
	CaCert    *RegisterMachineResponse_Cert    `protobuf:"bytes,5,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"`
	Token     string                           `protobuf:"bytes,6,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterMachineResponse) Descriptor deprecated

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

Deprecated: Use RegisterMachineResponse.ProtoReflect.Descriptor instead.

func (*RegisterMachineResponse) GetCaCert

func (*RegisterMachineResponse) GetCert

func (*RegisterMachineResponse) GetKind

func (*RegisterMachineResponse) GetMachineId

func (x *RegisterMachineResponse) GetMachineId() string

func (*RegisterMachineResponse) GetMounts

func (*RegisterMachineResponse) GetToken

func (x *RegisterMachineResponse) GetToken() string

func (*RegisterMachineResponse) ProtoMessage

func (*RegisterMachineResponse) ProtoMessage()

func (*RegisterMachineResponse) ProtoReflect

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

func (*RegisterMachineResponse) Reset

func (x *RegisterMachineResponse) Reset()

func (*RegisterMachineResponse) String

func (x *RegisterMachineResponse) String() string

type RegisterMachineResponse_Cert

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

func (*RegisterMachineResponse_Cert) Descriptor deprecated

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

Deprecated: Use RegisterMachineResponse_Cert.ProtoReflect.Descriptor instead.

func (*RegisterMachineResponse_Cert) GetCert

func (x *RegisterMachineResponse_Cert) GetCert() string

func (*RegisterMachineResponse_Cert) GetKey

func (*RegisterMachineResponse_Cert) ProtoMessage

func (*RegisterMachineResponse_Cert) ProtoMessage()

func (*RegisterMachineResponse_Cert) ProtoReflect

func (*RegisterMachineResponse_Cert) Reset

func (x *RegisterMachineResponse_Cert) Reset()

func (*RegisterMachineResponse_Cert) String

type RegisterMachineResponse_Kind

type RegisterMachineResponse_Kind int32
const (
	RegisterMachineResponse_KIND_UNSPECIFIED RegisterMachineResponse_Kind = 0
	RegisterMachineResponse_KIND_BUILDKIT    RegisterMachineResponse_Kind = 1
)

func (RegisterMachineResponse_Kind) Descriptor

func (RegisterMachineResponse_Kind) Enum

func (RegisterMachineResponse_Kind) EnumDescriptor deprecated

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

Deprecated: Use RegisterMachineResponse_Kind.Descriptor instead.

func (RegisterMachineResponse_Kind) Number

func (RegisterMachineResponse_Kind) String

func (RegisterMachineResponse_Kind) Type

type RegisterMachineResponse_Mount

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

func (*RegisterMachineResponse_Mount) Descriptor deprecated

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

Deprecated: Use RegisterMachineResponse_Mount.ProtoReflect.Descriptor instead.

func (*RegisterMachineResponse_Mount) GetDevice

func (x *RegisterMachineResponse_Mount) GetDevice() string

func (*RegisterMachineResponse_Mount) GetPath

func (*RegisterMachineResponse_Mount) ProtoMessage

func (*RegisterMachineResponse_Mount) ProtoMessage()

func (*RegisterMachineResponse_Mount) ProtoReflect

func (*RegisterMachineResponse_Mount) Reset

func (x *RegisterMachineResponse_Mount) Reset()

func (*RegisterMachineResponse_Mount) String

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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