Documentation ¶
Index ¶
- Variables
- func DetectFormat(path string) string
- func Marshal(format string, m protoreflect.ProtoMessage) ([]byte, error)
- func MarshalFile(path string, format string, m protoreflect.ProtoMessage) error
- func MarshalYaml(message proto.Message) ([]byte, error)
- func Unmarshal(format string, bytes []byte, m protoreflect.ProtoMessage) error
- func UnmarshalFile(path string, format string, m protoreflect.ProtoMessage) error
- type CapacityRequest
- type CapacityResponse
- func (*CapacityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CapacityResponse) GetAvailableResources() []*Resource
- func (x *CapacityResponse) GetPricing() *PricingTable
- func (x *CapacityResponse) GetProviderAddress() []byte
- func (*CapacityResponse) ProtoMessage()
- func (x *CapacityResponse) ProtoReflect() protoreflect.Message
- func (x *CapacityResponse) Reset()
- func (x *CapacityResponse) String() string
- type ConnectClusterRequest
- func (*ConnectClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectClusterRequest) GetNodeGateway() string
- func (x *ConnectClusterRequest) GetServers() []string
- func (x *ConnectClusterRequest) GetTimeout() uint32
- func (*ConnectClusterRequest) ProtoMessage()
- func (x *ConnectClusterRequest) ProtoReflect() protoreflect.Message
- func (x *ConnectClusterRequest) Reset()
- func (x *ConnectClusterRequest) String() string
- type ConnectClusterResponse
- func (*ConnectClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectClusterResponse) GetError() string
- func (x *ConnectClusterResponse) GetSuccess() bool
- func (*ConnectClusterResponse) ProtoMessage()
- func (x *ConnectClusterResponse) ProtoReflect() protoreflect.Message
- func (x *ConnectClusterResponse) Reset()
- func (x *ConnectClusterResponse) String() string
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetCommand() []string
- func (x *Container) GetEntrypoint() []string
- func (x *Container) GetEnv() map[string]string
- func (x *Container) GetImage() *Container_Image
- func (x *Container) GetName() string
- func (x *Container) GetPorts() []*Container_Port
- func (x *Container) GetResourceRequests() []*Resource
- func (x *Container) GetVolumes() []*Container_VolumeMount
- func (x *Container) GetWorkingDir() string
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type Container_Image
- func (*Container_Image) Descriptor() ([]byte, []int)deprecated
- func (x *Container_Image) GetCid() []byte
- func (x *Container_Image) GetKey() *Key
- func (x *Container_Image) GetUrl() string
- func (*Container_Image) ProtoMessage()
- func (x *Container_Image) ProtoReflect() protoreflect.Message
- func (x *Container_Image) Reset()
- func (x *Container_Image) String() string
- type Container_Port
- func (*Container_Port) Descriptor() ([]byte, []int)deprecated
- func (x *Container_Port) GetContainerPort() uint64
- func (m *Container_Port) GetExposedPort() isContainer_Port_ExposedPort
- func (x *Container_Port) GetHostHttpHost() string
- func (x *Container_Port) GetHostTcpPort() uint64
- func (x *Container_Port) GetName() string
- func (x *Container_Port) GetServicePort() uint64
- func (*Container_Port) ProtoMessage()
- func (x *Container_Port) ProtoReflect() protoreflect.Message
- func (x *Container_Port) Reset()
- func (x *Container_Port) String() string
- type Container_Port_HostHttpHost
- type Container_Port_HostTcpPort
- type Container_VolumeMount
- func (*Container_VolumeMount) Descriptor() ([]byte, []int)deprecated
- func (x *Container_VolumeMount) GetMountPath() string
- func (x *Container_VolumeMount) GetName() string
- func (x *Container_VolumeMount) GetReadOnly() bool
- func (*Container_VolumeMount) ProtoMessage()
- func (x *Container_VolumeMount) ProtoReflect() protoreflect.Message
- func (x *Container_VolumeMount) Reset()
- func (x *Container_VolumeMount) String() string
- type DeletePodRequest
- type DeletePodResponse
- func (*DeletePodResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePodResponse) GetError() string
- func (x *DeletePodResponse) GetSuccess() bool
- func (*DeletePodResponse) ProtoMessage()
- func (x *DeletePodResponse) ProtoReflect() protoreflect.Message
- func (x *DeletePodResponse) Reset()
- func (x *DeletePodResponse) String() string
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetDeployed() *ProvisionPodResponse
- func (x *Deployment) GetImages() []*UploadedImage
- func (x *Deployment) GetKeyPair() *KeyPair
- func (x *Deployment) GetPayment() *PaymentChannelConfig
- func (x *Deployment) GetPodManifestFile() string
- func (x *Deployment) GetProvider() *ProviderConfig
- func (x *Deployment) GetSecrets() []*UploadedSecret
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type Format
- type HostInfo
- type HostInfo_Region
- func (*HostInfo_Region) Descriptor() ([]byte, []int)deprecated
- func (x *HostInfo_Region) GetName() string
- func (x *HostInfo_Region) GetNum() uint32
- func (x *HostInfo_Region) GetZone() string
- func (*HostInfo_Region) ProtoMessage()
- func (x *HostInfo_Region) ProtoReflect() protoreflect.Message
- func (x *HostInfo_Region) Reset()
- func (x *HostInfo_Region) String() string
- type Key
- type KeyPair
- type LogEntry
- type PaymentChannel
- func (*PaymentChannel) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentChannel) GetChainID() []byte
- func (x *PaymentChannel) GetContractAddress() []byte
- func (x *PaymentChannel) GetPodID() []byte
- func (x *PaymentChannel) GetProviderAddress() []byte
- func (x *PaymentChannel) GetPublisherAddress() []byte
- func (*PaymentChannel) ProtoMessage()
- func (x *PaymentChannel) ProtoReflect() protoreflect.Message
- func (x *PaymentChannel) Reset()
- func (x *PaymentChannel) String() string
- type PaymentChannelConfig
- func (*PaymentChannelConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentChannelConfig) GetChainID() []byte
- func (x *PaymentChannelConfig) GetPaymentContractAddress() []byte
- func (x *PaymentChannelConfig) GetPodID() []byte
- func (x *PaymentChannelConfig) GetPublisherAddress() []byte
- func (*PaymentChannelConfig) ProtoMessage()
- func (x *PaymentChannelConfig) ProtoReflect() protoreflect.Message
- func (x *PaymentChannelConfig) Reset()
- func (x *PaymentChannelConfig) String() string
- type Pod
- func (*Pod) Descriptor() ([]byte, []int)deprecated
- func (x *Pod) GetContainers() []*Container
- func (x *Pod) GetKeyPair() *KeyPair
- func (x *Pod) GetReplicas() *Replicas
- func (x *Pod) GetVolumes() []*Volume
- func (*Pod) ProtoMessage()
- func (x *Pod) ProtoReflect() protoreflect.Message
- func (x *Pod) Reset()
- func (x *Pod) String() string
- type PodLogRequest
- type PodLogResponse
- type PricedResource
- func (*PricedResource) Descriptor() ([]byte, []int)deprecated
- func (x *PricedResource) GetPriceForReservation() uint64
- func (x *PricedResource) GetPriceForUsage() uint64
- func (x *PricedResource) GetResource() string
- func (*PricedResource) ProtoMessage()
- func (x *PricedResource) ProtoReflect() protoreflect.Message
- func (x *PricedResource) Reset()
- func (x *PricedResource) String() string
- type PricingTable
- func (*PricingTable) Descriptor() ([]byte, []int)deprecated
- func (x *PricingTable) GetPaymentContractAddress() []byte
- func (x *PricingTable) GetResources() []*PricedResource
- func (*PricingTable) ProtoMessage()
- func (x *PricingTable) ProtoReflect() protoreflect.Message
- func (x *PricingTable) Reset()
- func (x *PricingTable) String() string
- type PricingTables
- type ProviderConfig
- func (*ProviderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderConfig) GetEthereumAddress() []byte
- func (x *ProviderConfig) GetLibp2PAddress() string
- func (*ProviderConfig) ProtoMessage()
- func (x *ProviderConfig) ProtoReflect() protoreflect.Message
- func (x *ProviderConfig) Reset()
- func (x *ProviderConfig) String() string
- type ProvisionPodRequest
- func (*ProvisionPodRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionPodRequest) GetPayment() *PaymentChannel
- func (x *ProvisionPodRequest) GetPod() *Pod
- func (*ProvisionPodRequest) ProtoMessage()
- func (x *ProvisionPodRequest) ProtoReflect() protoreflect.Message
- func (x *ProvisionPodRequest) Reset()
- func (x *ProvisionPodRequest) String() string
- type ProvisionPodResponse
- func (*ProvisionPodResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionPodResponse) GetAddresses() []*ProvisionPodResponse_ExposedHostPort
- func (x *ProvisionPodResponse) GetError() string
- func (x *ProvisionPodResponse) GetNamespace() string
- func (*ProvisionPodResponse) ProtoMessage()
- func (x *ProvisionPodResponse) ProtoReflect() protoreflect.Message
- func (x *ProvisionPodResponse) Reset()
- func (x *ProvisionPodResponse) String() string
- type ProvisionPodResponse_ExposedHostPort
- func (*ProvisionPodResponse_ExposedHostPort) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionPodResponse_ExposedHostPort) GetContainerName() string
- func (x *ProvisionPodResponse_ExposedHostPort) GetContainerPort() uint64
- func (x *ProvisionPodResponse_ExposedHostPort) GetMultiaddr() string
- func (*ProvisionPodResponse_ExposedHostPort) ProtoMessage()
- func (x *ProvisionPodResponse_ExposedHostPort) ProtoReflect() protoreflect.Message
- func (x *ProvisionPodResponse_ExposedHostPort) Reset()
- func (x *ProvisionPodResponse_ExposedHostPort) String() string
- type Replicas
- func (*Replicas) Descriptor() ([]byte, []int)deprecated
- func (x *Replicas) GetMax() uint32
- func (x *Replicas) GetMin() uint32
- func (x *Replicas) GetTargetPendingRequests() uint32
- func (*Replicas) ProtoMessage()
- func (x *Replicas) ProtoReflect() protoreflect.Message
- func (x *Replicas) Reset()
- func (x *Replicas) String() string
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetAmount() uint64
- func (x *Resource) GetAmountMillis() uint64
- func (m *Resource) GetQuantity() isResource_Quantity
- func (x *Resource) GetResource() string
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type Resource_Amount
- type Resource_AmountMillis
- type TriggerNodeResponse
- func (*TriggerNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerNodeResponse) GetPeerID() string
- func (*TriggerNodeResponse) ProtoMessage()
- func (x *TriggerNodeResponse) ProtoReflect() protoreflect.Message
- func (x *TriggerNodeResponse) Reset()
- func (x *TriggerNodeResponse) String() string
- type UpdatePodRequest
- func (*UpdatePodRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePodRequest) GetPayment() *PaymentChannel
- func (x *UpdatePodRequest) GetPod() *Pod
- func (*UpdatePodRequest) ProtoMessage()
- func (x *UpdatePodRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePodRequest) Reset()
- func (x *UpdatePodRequest) String() string
- type UpdatePodResponse
- func (*UpdatePodResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePodResponse) GetError() string
- func (x *UpdatePodResponse) GetSuccess() bool
- func (*UpdatePodResponse) ProtoMessage()
- func (x *UpdatePodResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePodResponse) Reset()
- func (x *UpdatePodResponse) String() string
- type UploadedImage
- func (*UploadedImage) Descriptor() ([]byte, []int)deprecated
- func (x *UploadedImage) GetCid() []byte
- func (x *UploadedImage) GetDigest() string
- func (x *UploadedImage) GetKey() *Key
- func (x *UploadedImage) GetSourceUrl() string
- func (*UploadedImage) ProtoMessage()
- func (x *UploadedImage) ProtoReflect() protoreflect.Message
- func (x *UploadedImage) Reset()
- func (x *UploadedImage) String() string
- type UploadedSecret
- func (*UploadedSecret) Descriptor() ([]byte, []int)deprecated
- func (x *UploadedSecret) GetCid() []byte
- func (x *UploadedSecret) GetKey() *Key
- func (x *UploadedSecret) GetSha256Sum() []byte
- func (x *UploadedSecret) GetVolumeName() string
- func (*UploadedSecret) ProtoMessage()
- func (x *UploadedSecret) ProtoReflect() protoreflect.Message
- func (x *UploadedSecret) Reset()
- func (x *UploadedSecret) String() string
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume) GetAccessMode() Volume_AccessMode
- func (m *Volume) GetConfiguration() isVolume_Configuration
- func (x *Volume) GetFilesystem() *Volume_FilesystemConfig
- func (x *Volume) GetName() string
- func (x *Volume) GetSecret() *Volume_SecretConfig
- func (x *Volume) GetType() Volume_Type
- func (*Volume) ProtoMessage()
- func (x *Volume) ProtoReflect() protoreflect.Message
- func (x *Volume) Reset()
- func (x *Volume) String() string
- type Volume_AccessMode
- func (Volume_AccessMode) Descriptor() protoreflect.EnumDescriptor
- func (x Volume_AccessMode) Enum() *Volume_AccessMode
- func (Volume_AccessMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Volume_AccessMode) Number() protoreflect.EnumNumber
- func (x Volume_AccessMode) String() string
- func (Volume_AccessMode) Type() protoreflect.EnumType
- type Volume_Filesystem
- type Volume_FilesystemConfig
- func (*Volume_FilesystemConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Volume_FilesystemConfig) GetResourceRequests() []*Resource
- func (*Volume_FilesystemConfig) ProtoMessage()
- func (x *Volume_FilesystemConfig) ProtoReflect() protoreflect.Message
- func (x *Volume_FilesystemConfig) Reset()
- func (x *Volume_FilesystemConfig) String() string
- type Volume_Secret
- type Volume_SecretConfig
- func (*Volume_SecretConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Volume_SecretConfig) GetCid() []byte
- func (x *Volume_SecretConfig) GetContents() []byte
- func (x *Volume_SecretConfig) GetContentsString() string
- func (x *Volume_SecretConfig) GetFile() string
- func (x *Volume_SecretConfig) GetKey() *Key
- func (*Volume_SecretConfig) ProtoMessage()
- func (x *Volume_SecretConfig) ProtoReflect() protoreflect.Message
- func (x *Volume_SecretConfig) Reset()
- func (x *Volume_SecretConfig) String() string
- type Volume_Type
- func (Volume_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Volume_Type) Enum() *Volume_Type
- func (Volume_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Volume_Type) Number() protoreflect.EnumNumber
- func (x Volume_Type) String() string
- func (Volume_Type) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( Volume_Type_name = map[int32]string{ 0: "VOLUME_EMPTY", 1: "VOLUME_FILESYSTEM", 2: "VOLUME_SECRET", } Volume_Type_value = map[string]int32{ "VOLUME_EMPTY": 0, "VOLUME_FILESYSTEM": 1, "VOLUME_SECRET": 2, } )
Enum value maps for Volume_Type.
var ( Volume_AccessMode_name = map[int32]string{ 0: "VOLUME_RW_ONE", 2: "VOLUME_RW_MANY", } Volume_AccessMode_value = map[string]int32{ "VOLUME_RW_ONE": 0, "VOLUME_RW_MANY": 2, } )
Enum value maps for Volume_AccessMode.
var Attest string = "/x/apocryph/attest/0.0.1"
var File_autoscaler_proto protoreflect.FileDescriptor
var File_deployment_proto protoreflect.FileDescriptor
var File_pod_proto protoreflect.FileDescriptor
var File_pricing_proto protoreflect.FileDescriptor
var File_provision_pod_proto protoreflect.FileDescriptor
var File_provisioning_capacity_proto protoreflect.FileDescriptor
var File_registry_proto protoreflect.FileDescriptor
var FormatNames []string
var Formats = map[string]Format{ "json": {protojson.Unmarshal, protojson.Marshal}, "yaml": {protoyaml.Unmarshal, MarshalYaml}, "yml": {protoyaml.Unmarshal, MarshalYaml}, "pb": {proto.Unmarshal, proto.Marshal}, "pbtext": {prototext.Unmarshal, prototext.Marshal}, }
var ProvisionPod string = "/x/apocryph/provision-pod/0.0.1"
var ProvisioningCapacity string = "/x/apocryph/provisioning-capacity/0.0.1"
Functions ¶
func DetectFormat ¶
func Marshal ¶
func Marshal(format string, m protoreflect.ProtoMessage) ([]byte, error)
func MarshalFile ¶
func MarshalFile(path string, format string, m protoreflect.ProtoMessage) error
func Unmarshal ¶
func Unmarshal(format string, bytes []byte, m protoreflect.ProtoMessage) error
func UnmarshalFile ¶
func UnmarshalFile(path string, format string, m protoreflect.ProtoMessage) error
Types ¶
type CapacityRequest ¶
type CapacityRequest struct { Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*CapacityRequest) Descriptor
deprecated
func (*CapacityRequest) Descriptor() ([]byte, []int)
Deprecated: Use CapacityRequest.ProtoReflect.Descriptor instead.
func (*CapacityRequest) GetResources ¶
func (x *CapacityRequest) GetResources() []*Resource
func (*CapacityRequest) ProtoMessage ¶
func (*CapacityRequest) ProtoMessage()
func (*CapacityRequest) ProtoReflect ¶
func (x *CapacityRequest) ProtoReflect() protoreflect.Message
func (*CapacityRequest) Reset ¶
func (x *CapacityRequest) Reset()
func (*CapacityRequest) String ¶
func (x *CapacityRequest) String() string
type CapacityResponse ¶
type CapacityResponse struct { AvailableResources []*Resource `protobuf:"bytes,1,rep,name=availableResources,proto3" json:"availableResources,omitempty"` Pricing *PricingTable `protobuf:"bytes,2,opt,name=pricing,proto3" json:"pricing,omitempty"` ProviderAddress []byte `protobuf:"bytes,3,opt,name=providerAddress,proto3" json:"providerAddress,omitempty"` // contains filtered or unexported fields }
func (*CapacityResponse) Descriptor
deprecated
func (*CapacityResponse) Descriptor() ([]byte, []int)
Deprecated: Use CapacityResponse.ProtoReflect.Descriptor instead.
func (*CapacityResponse) GetAvailableResources ¶
func (x *CapacityResponse) GetAvailableResources() []*Resource
func (*CapacityResponse) GetPricing ¶
func (x *CapacityResponse) GetPricing() *PricingTable
func (*CapacityResponse) GetProviderAddress ¶
func (x *CapacityResponse) GetProviderAddress() []byte
func (*CapacityResponse) ProtoMessage ¶
func (*CapacityResponse) ProtoMessage()
func (*CapacityResponse) ProtoReflect ¶
func (x *CapacityResponse) ProtoReflect() protoreflect.Message
func (*CapacityResponse) Reset ¶
func (x *CapacityResponse) Reset()
func (*CapacityResponse) String ¶
func (x *CapacityResponse) String() string
type ConnectClusterRequest ¶
type ConnectClusterRequest struct { // could get it from within the cluster maybe? NodeGateway string `protobuf:"bytes,1,opt,name=nodeGateway,proto3" json:"nodeGateway,omitempty"` Servers []string `protobuf:"bytes,2,rep,name=servers,proto3" json:"servers,omitempty"` Timeout uint32 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*ConnectClusterRequest) Descriptor
deprecated
func (*ConnectClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectClusterRequest.ProtoReflect.Descriptor instead.
func (*ConnectClusterRequest) GetNodeGateway ¶
func (x *ConnectClusterRequest) GetNodeGateway() string
func (*ConnectClusterRequest) GetServers ¶
func (x *ConnectClusterRequest) GetServers() []string
func (*ConnectClusterRequest) GetTimeout ¶
func (x *ConnectClusterRequest) GetTimeout() uint32
func (*ConnectClusterRequest) ProtoMessage ¶
func (*ConnectClusterRequest) ProtoMessage()
func (*ConnectClusterRequest) ProtoReflect ¶
func (x *ConnectClusterRequest) ProtoReflect() protoreflect.Message
func (*ConnectClusterRequest) Reset ¶
func (x *ConnectClusterRequest) Reset()
func (*ConnectClusterRequest) String ¶
func (x *ConnectClusterRequest) String() string
type ConnectClusterResponse ¶
type ConnectClusterResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ConnectClusterResponse) Descriptor
deprecated
func (*ConnectClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConnectClusterResponse.ProtoReflect.Descriptor instead.
func (*ConnectClusterResponse) GetError ¶
func (x *ConnectClusterResponse) GetError() string
func (*ConnectClusterResponse) GetSuccess ¶
func (x *ConnectClusterResponse) GetSuccess() bool
func (*ConnectClusterResponse) ProtoMessage ¶
func (*ConnectClusterResponse) ProtoMessage()
func (*ConnectClusterResponse) ProtoReflect ¶
func (x *ConnectClusterResponse) ProtoReflect() protoreflect.Message
func (*ConnectClusterResponse) Reset ¶
func (x *ConnectClusterResponse) Reset()
func (*ConnectClusterResponse) String ¶
func (x *ConnectClusterResponse) String() string
type Container ¶
type Container struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Image *Container_Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` Entrypoint []string `protobuf:"bytes,3,rep,name=entrypoint,proto3" json:"entrypoint,omitempty"` Command []string `protobuf:"bytes,4,rep,name=command,proto3" json:"command,omitempty"` WorkingDir string `protobuf:"bytes,5,opt,name=workingDir,proto3" json:"workingDir,omitempty"` Ports []*Container_Port `protobuf:"bytes,6,rep,name=ports,proto3" json:"ports,omitempty"` Env map[string]string `` /* 147-byte string literal not displayed */ Volumes []*Container_VolumeMount `protobuf:"bytes,8,rep,name=volumes,proto3" json:"volumes,omitempty"` ResourceRequests []*Resource `protobuf:"bytes,9,rep,name=resourceRequests,proto3" json:"resourceRequests,omitempty"` // "cpu", "memory", custom // contains filtered or unexported fields }
func (*Container) Descriptor
deprecated
func (*Container) GetCommand ¶
func (*Container) GetEntrypoint ¶
func (*Container) GetImage ¶
func (x *Container) GetImage() *Container_Image
func (*Container) GetPorts ¶
func (x *Container) GetPorts() []*Container_Port
func (*Container) GetResourceRequests ¶
func (*Container) GetVolumes ¶
func (x *Container) GetVolumes() []*Container_VolumeMount
func (*Container) GetWorkingDir ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
type Container_Image ¶
type Container_Image struct { Cid []byte `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Key *Key `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*Container_Image) Descriptor
deprecated
func (*Container_Image) Descriptor() ([]byte, []int)
Deprecated: Use Container_Image.ProtoReflect.Descriptor instead.
func (*Container_Image) GetCid ¶
func (x *Container_Image) GetCid() []byte
func (*Container_Image) GetKey ¶
func (x *Container_Image) GetKey() *Key
func (*Container_Image) GetUrl ¶
func (x *Container_Image) GetUrl() string
func (*Container_Image) ProtoMessage ¶
func (*Container_Image) ProtoMessage()
func (*Container_Image) ProtoReflect ¶
func (x *Container_Image) ProtoReflect() protoreflect.Message
func (*Container_Image) Reset ¶
func (x *Container_Image) Reset()
func (*Container_Image) String ¶
func (x *Container_Image) String() string
type Container_Port ¶
type Container_Port struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ContainerPort uint64 `protobuf:"varint,2,opt,name=containerPort,proto3" json:"containerPort,omitempty"` ServicePort uint64 `protobuf:"varint,3,opt,name=servicePort,proto3" json:"servicePort,omitempty"` // Types that are assignable to ExposedPort: // // *Container_Port_HostHttpHost // *Container_Port_HostTcpPort ExposedPort isContainer_Port_ExposedPort `protobuf_oneof:"exposedPort"` // contains filtered or unexported fields }
func (*Container_Port) Descriptor
deprecated
func (*Container_Port) Descriptor() ([]byte, []int)
Deprecated: Use Container_Port.ProtoReflect.Descriptor instead.
func (*Container_Port) GetContainerPort ¶
func (x *Container_Port) GetContainerPort() uint64
func (*Container_Port) GetExposedPort ¶
func (m *Container_Port) GetExposedPort() isContainer_Port_ExposedPort
func (*Container_Port) GetHostHttpHost ¶
func (x *Container_Port) GetHostHttpHost() string
func (*Container_Port) GetHostTcpPort ¶
func (x *Container_Port) GetHostTcpPort() uint64
func (*Container_Port) GetName ¶
func (x *Container_Port) GetName() string
func (*Container_Port) GetServicePort ¶
func (x *Container_Port) GetServicePort() uint64
func (*Container_Port) ProtoMessage ¶
func (*Container_Port) ProtoMessage()
func (*Container_Port) ProtoReflect ¶
func (x *Container_Port) ProtoReflect() protoreflect.Message
func (*Container_Port) Reset ¶
func (x *Container_Port) Reset()
func (*Container_Port) String ¶
func (x *Container_Port) String() string
type Container_Port_HostHttpHost ¶
type Container_Port_HostHttpHost struct {
HostHttpHost string `protobuf:"bytes,4,opt,name=hostHttpHost,proto3,oneof"`
}
type Container_Port_HostTcpPort ¶
type Container_Port_HostTcpPort struct { // string hostHttpsHost = 4; HostTcpPort uint64 `protobuf:"varint,5,opt,name=hostTcpPort,proto3,oneof"` }
type Container_VolumeMount ¶
type Container_VolumeMount struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MountPath string `protobuf:"bytes,2,opt,name=mountPath,proto3" json:"mountPath,omitempty"` ReadOnly bool `protobuf:"varint,3,opt,name=readOnly,proto3" json:"readOnly,omitempty"` // contains filtered or unexported fields }
func (*Container_VolumeMount) Descriptor
deprecated
func (*Container_VolumeMount) Descriptor() ([]byte, []int)
Deprecated: Use Container_VolumeMount.ProtoReflect.Descriptor instead.
func (*Container_VolumeMount) GetMountPath ¶
func (x *Container_VolumeMount) GetMountPath() string
func (*Container_VolumeMount) GetName ¶
func (x *Container_VolumeMount) GetName() string
func (*Container_VolumeMount) GetReadOnly ¶
func (x *Container_VolumeMount) GetReadOnly() bool
func (*Container_VolumeMount) ProtoMessage ¶
func (*Container_VolumeMount) ProtoMessage()
func (*Container_VolumeMount) ProtoReflect ¶
func (x *Container_VolumeMount) ProtoReflect() protoreflect.Message
func (*Container_VolumeMount) Reset ¶
func (x *Container_VolumeMount) Reset()
func (*Container_VolumeMount) String ¶
func (x *Container_VolumeMount) String() string
type DeletePodRequest ¶
type DeletePodRequest struct {
// contains filtered or unexported fields
}
func (*DeletePodRequest) Descriptor
deprecated
func (*DeletePodRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePodRequest.ProtoReflect.Descriptor instead.
func (*DeletePodRequest) ProtoMessage ¶
func (*DeletePodRequest) ProtoMessage()
func (*DeletePodRequest) ProtoReflect ¶
func (x *DeletePodRequest) ProtoReflect() protoreflect.Message
func (*DeletePodRequest) Reset ¶
func (x *DeletePodRequest) Reset()
func (*DeletePodRequest) String ¶
func (x *DeletePodRequest) String() string
type DeletePodResponse ¶
type DeletePodResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*DeletePodResponse) Descriptor
deprecated
func (*DeletePodResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePodResponse.ProtoReflect.Descriptor instead.
func (*DeletePodResponse) GetError ¶
func (x *DeletePodResponse) GetError() string
func (*DeletePodResponse) GetSuccess ¶
func (x *DeletePodResponse) GetSuccess() bool
func (*DeletePodResponse) ProtoMessage ¶
func (*DeletePodResponse) ProtoMessage()
func (*DeletePodResponse) ProtoReflect ¶
func (x *DeletePodResponse) ProtoReflect() protoreflect.Message
func (*DeletePodResponse) Reset ¶
func (x *DeletePodResponse) Reset()
func (*DeletePodResponse) String ¶
func (x *DeletePodResponse) String() string
type Deployment ¶
type Deployment struct { PodManifestFile string `protobuf:"bytes,1,opt,name=podManifestFile,proto3" json:"podManifestFile,omitempty"` Provider *ProviderConfig `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Payment *PaymentChannelConfig `protobuf:"bytes,3,opt,name=payment,proto3" json:"payment,omitempty"` Images []*UploadedImage `protobuf:"bytes,4,rep,name=images,proto3" json:"images,omitempty"` Secrets []*UploadedSecret `protobuf:"bytes,5,rep,name=secrets,proto3" json:"secrets,omitempty"` Deployed *ProvisionPodResponse `protobuf:"bytes,6,opt,name=deployed,proto3" json:"deployed,omitempty"` KeyPair *KeyPair `protobuf:"bytes,7,opt,name=keyPair,proto3" json:"keyPair,omitempty"` // contains filtered or unexported fields }
func (*Deployment) Descriptor
deprecated
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetDeployed ¶
func (x *Deployment) GetDeployed() *ProvisionPodResponse
func (*Deployment) GetImages ¶
func (x *Deployment) GetImages() []*UploadedImage
func (*Deployment) GetKeyPair ¶
func (x *Deployment) GetKeyPair() *KeyPair
func (*Deployment) GetPayment ¶
func (x *Deployment) GetPayment() *PaymentChannelConfig
func (*Deployment) GetPodManifestFile ¶
func (x *Deployment) GetPodManifestFile() string
func (*Deployment) GetProvider ¶
func (x *Deployment) GetProvider() *ProviderConfig
func (*Deployment) GetSecrets ¶
func (x *Deployment) GetSecrets() []*UploadedSecret
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) ProtoReflect ¶
func (x *Deployment) ProtoReflect() protoreflect.Message
func (*Deployment) Reset ¶
func (x *Deployment) Reset()
func (*Deployment) String ¶
func (x *Deployment) String() string
type Format ¶
type Format struct {
// contains filtered or unexported fields
}
func (Format) Marshal ¶
func (f Format) Marshal(m protoreflect.ProtoMessage) ([]byte, error)
func (Format) Unmarshal ¶
func (f Format) Unmarshal(b []byte, m protoreflect.ProtoMessage) error
type HostInfo ¶
type HostInfo struct { Multiaddrs []string `protobuf:"bytes,1,rep,name=multiaddrs,proto3" json:"multiaddrs,omitempty"` Regions []*HostInfo_Region `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"` // contains filtered or unexported fields }
func (*HostInfo) Descriptor
deprecated
func (*HostInfo) GetMultiaddrs ¶
func (*HostInfo) GetRegions ¶
func (x *HostInfo) GetRegions() []*HostInfo_Region
func (*HostInfo) ProtoMessage ¶
func (*HostInfo) ProtoMessage()
func (*HostInfo) ProtoReflect ¶
func (x *HostInfo) ProtoReflect() protoreflect.Message
type HostInfo_Region ¶
type HostInfo_Region struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` Num uint32 `protobuf:"varint,3,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*HostInfo_Region) Descriptor
deprecated
func (*HostInfo_Region) Descriptor() ([]byte, []int)
Deprecated: Use HostInfo_Region.ProtoReflect.Descriptor instead.
func (*HostInfo_Region) GetName ¶
func (x *HostInfo_Region) GetName() string
func (*HostInfo_Region) GetNum ¶
func (x *HostInfo_Region) GetNum() uint32
func (*HostInfo_Region) GetZone ¶
func (x *HostInfo_Region) GetZone() string
func (*HostInfo_Region) ProtoMessage ¶
func (*HostInfo_Region) ProtoMessage()
func (*HostInfo_Region) ProtoReflect ¶
func (x *HostInfo_Region) ProtoReflect() protoreflect.Message
func (*HostInfo_Region) Reset ¶
func (x *HostInfo_Region) Reset()
func (*HostInfo_Region) String ¶
func (x *HostInfo_Region) String() string
type Key ¶
type Key struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Key) Descriptor
deprecated
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
type KeyPair ¶
type KeyPair struct { PrivateKey string `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` PubAddress string `protobuf:"bytes,3,opt,name=pubAddress,proto3" json:"pubAddress,omitempty"` // contains filtered or unexported fields }
func (*KeyPair) Descriptor
deprecated
func (*KeyPair) GetPrivateKey ¶
func (*KeyPair) GetPubAddress ¶
func (*KeyPair) ProtoMessage ¶
func (*KeyPair) ProtoMessage()
func (*KeyPair) ProtoReflect ¶
func (x *KeyPair) ProtoReflect() protoreflect.Message
type LogEntry ¶
type LogEntry struct { NanosecondsUnixEpoch uint64 `protobuf:"varint,1,opt,name=NanosecondsUnixEpoch,proto3" json:"NanosecondsUnixEpoch,omitempty"` Line string `protobuf:"bytes,2,opt,name=line,proto3" json:"line,omitempty"` // contains filtered or unexported fields }
func (*LogEntry) Descriptor
deprecated
func (*LogEntry) GetNanosecondsUnixEpoch ¶
func (*LogEntry) ProtoMessage ¶
func (*LogEntry) ProtoMessage()
func (*LogEntry) ProtoReflect ¶
func (x *LogEntry) ProtoReflect() protoreflect.Message
type PaymentChannel ¶
type PaymentChannel struct { ChainID []byte `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"` ContractAddress []byte `protobuf:"bytes,2,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"` PublisherAddress []byte `protobuf:"bytes,3,opt,name=publisherAddress,proto3" json:"publisherAddress,omitempty"` ProviderAddress []byte `protobuf:"bytes,4,opt,name=providerAddress,proto3" json:"providerAddress,omitempty"` PodID []byte `protobuf:"bytes,5,opt,name=podID,proto3" json:"podID,omitempty"` // contains filtered or unexported fields }
func (*PaymentChannel) Descriptor
deprecated
func (*PaymentChannel) Descriptor() ([]byte, []int)
Deprecated: Use PaymentChannel.ProtoReflect.Descriptor instead.
func (*PaymentChannel) GetChainID ¶
func (x *PaymentChannel) GetChainID() []byte
func (*PaymentChannel) GetContractAddress ¶
func (x *PaymentChannel) GetContractAddress() []byte
func (*PaymentChannel) GetPodID ¶
func (x *PaymentChannel) GetPodID() []byte
func (*PaymentChannel) GetProviderAddress ¶
func (x *PaymentChannel) GetProviderAddress() []byte
func (*PaymentChannel) GetPublisherAddress ¶
func (x *PaymentChannel) GetPublisherAddress() []byte
func (*PaymentChannel) ProtoMessage ¶
func (*PaymentChannel) ProtoMessage()
func (*PaymentChannel) ProtoReflect ¶
func (x *PaymentChannel) ProtoReflect() protoreflect.Message
func (*PaymentChannel) Reset ¶
func (x *PaymentChannel) Reset()
func (*PaymentChannel) String ¶
func (x *PaymentChannel) String() string
type PaymentChannelConfig ¶
type PaymentChannelConfig struct { ChainID []byte `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"` PaymentContractAddress []byte `protobuf:"bytes,2,opt,name=paymentContractAddress,proto3" json:"paymentContractAddress,omitempty"` PublisherAddress []byte `protobuf:"bytes,3,opt,name=publisherAddress,proto3" json:"publisherAddress,omitempty"` PodID []byte `protobuf:"bytes,5,opt,name=podID,proto3" json:"podID,omitempty"` // contains filtered or unexported fields }
func (*PaymentChannelConfig) Descriptor
deprecated
func (*PaymentChannelConfig) Descriptor() ([]byte, []int)
Deprecated: Use PaymentChannelConfig.ProtoReflect.Descriptor instead.
func (*PaymentChannelConfig) GetChainID ¶
func (x *PaymentChannelConfig) GetChainID() []byte
func (*PaymentChannelConfig) GetPaymentContractAddress ¶
func (x *PaymentChannelConfig) GetPaymentContractAddress() []byte
func (*PaymentChannelConfig) GetPodID ¶
func (x *PaymentChannelConfig) GetPodID() []byte
func (*PaymentChannelConfig) GetPublisherAddress ¶
func (x *PaymentChannelConfig) GetPublisherAddress() []byte
func (*PaymentChannelConfig) ProtoMessage ¶
func (*PaymentChannelConfig) ProtoMessage()
func (*PaymentChannelConfig) ProtoReflect ¶
func (x *PaymentChannelConfig) ProtoReflect() protoreflect.Message
func (*PaymentChannelConfig) Reset ¶
func (x *PaymentChannelConfig) Reset()
func (*PaymentChannelConfig) String ¶
func (x *PaymentChannelConfig) String() string
type Pod ¶
type Pod struct { Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"` Volumes []*Volume `protobuf:"bytes,2,rep,name=volumes,proto3" json:"volumes,omitempty"` Replicas *Replicas `protobuf:"bytes,3,opt,name=replicas,proto3" json:"replicas,omitempty"` KeyPair *KeyPair `protobuf:"bytes,4,opt,name=keyPair,proto3" json:"keyPair,omitempty"` // contains filtered or unexported fields }
func (*Pod) Descriptor
deprecated
func (*Pod) GetContainers ¶
func (*Pod) GetKeyPair ¶
func (*Pod) GetReplicas ¶
func (*Pod) GetVolumes ¶
func (*Pod) ProtoMessage ¶
func (*Pod) ProtoMessage()
func (*Pod) ProtoReflect ¶
func (x *Pod) ProtoReflect() protoreflect.Message
type PodLogRequest ¶
type PodLogRequest struct { ContainerName string `protobuf:"bytes,1,opt,name=containerName,proto3" json:"containerName,omitempty"` // contains filtered or unexported fields }
func (*PodLogRequest) Descriptor
deprecated
func (*PodLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use PodLogRequest.ProtoReflect.Descriptor instead.
func (*PodLogRequest) GetContainerName ¶
func (x *PodLogRequest) GetContainerName() string
func (*PodLogRequest) ProtoMessage ¶
func (*PodLogRequest) ProtoMessage()
func (*PodLogRequest) ProtoReflect ¶
func (x *PodLogRequest) ProtoReflect() protoreflect.Message
func (*PodLogRequest) Reset ¶
func (x *PodLogRequest) Reset()
func (*PodLogRequest) String ¶
func (x *PodLogRequest) String() string
type PodLogResponse ¶
type PodLogResponse struct { LogEntry *LogEntry `protobuf:"bytes,1,opt,name=logEntry,proto3" json:"logEntry,omitempty"` // contains filtered or unexported fields }
func (*PodLogResponse) Descriptor
deprecated
func (*PodLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use PodLogResponse.ProtoReflect.Descriptor instead.
func (*PodLogResponse) GetLogEntry ¶
func (x *PodLogResponse) GetLogEntry() *LogEntry
func (*PodLogResponse) ProtoMessage ¶
func (*PodLogResponse) ProtoMessage()
func (*PodLogResponse) ProtoReflect ¶
func (x *PodLogResponse) ProtoReflect() protoreflect.Message
func (*PodLogResponse) Reset ¶
func (x *PodLogResponse) Reset()
func (*PodLogResponse) String ¶
func (x *PodLogResponse) String() string
type PricedResource ¶
type PricedResource struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` PriceForReservation uint64 `protobuf:"varint,2,opt,name=priceForReservation,proto3" json:"priceForReservation,omitempty"` PriceForUsage uint64 `protobuf:"varint,3,opt,name=priceForUsage,proto3" json:"priceForUsage,omitempty"` // uint64 priceForLimit = 4; // contains filtered or unexported fields }
func (*PricedResource) Descriptor
deprecated
func (*PricedResource) Descriptor() ([]byte, []int)
Deprecated: Use PricedResource.ProtoReflect.Descriptor instead.
func (*PricedResource) GetPriceForReservation ¶
func (x *PricedResource) GetPriceForReservation() uint64
func (*PricedResource) GetPriceForUsage ¶
func (x *PricedResource) GetPriceForUsage() uint64
func (*PricedResource) GetResource ¶
func (x *PricedResource) GetResource() string
func (*PricedResource) ProtoMessage ¶
func (*PricedResource) ProtoMessage()
func (*PricedResource) ProtoReflect ¶
func (x *PricedResource) ProtoReflect() protoreflect.Message
func (*PricedResource) Reset ¶
func (x *PricedResource) Reset()
func (*PricedResource) String ¶
func (x *PricedResource) String() string
type PricingTable ¶
type PricingTable struct { Resources []*PricedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` PaymentContractAddress []byte `protobuf:"bytes,2,opt,name=paymentContractAddress,proto3" json:"paymentContractAddress,omitempty"` // contains filtered or unexported fields }
func (*PricingTable) Descriptor
deprecated
func (*PricingTable) Descriptor() ([]byte, []int)
Deprecated: Use PricingTable.ProtoReflect.Descriptor instead.
func (*PricingTable) GetPaymentContractAddress ¶
func (x *PricingTable) GetPaymentContractAddress() []byte
func (*PricingTable) GetResources ¶
func (x *PricingTable) GetResources() []*PricedResource
func (*PricingTable) ProtoMessage ¶
func (*PricingTable) ProtoMessage()
func (*PricingTable) ProtoReflect ¶
func (x *PricingTable) ProtoReflect() protoreflect.Message
func (*PricingTable) Reset ¶
func (x *PricingTable) Reset()
func (*PricingTable) String ¶
func (x *PricingTable) String() string
type PricingTables ¶
type PricingTables struct { Tables []*PricingTable `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` // contains filtered or unexported fields }
func (*PricingTables) Descriptor
deprecated
func (*PricingTables) Descriptor() ([]byte, []int)
Deprecated: Use PricingTables.ProtoReflect.Descriptor instead.
func (*PricingTables) GetTables ¶
func (x *PricingTables) GetTables() []*PricingTable
func (*PricingTables) ProtoMessage ¶
func (*PricingTables) ProtoMessage()
func (*PricingTables) ProtoReflect ¶
func (x *PricingTables) ProtoReflect() protoreflect.Message
func (*PricingTables) Reset ¶
func (x *PricingTables) Reset()
func (*PricingTables) String ¶
func (x *PricingTables) String() string
type ProviderConfig ¶
type ProviderConfig struct { EthereumAddress []byte `protobuf:"bytes,1,opt,name=ethereumAddress,proto3" json:"ethereumAddress,omitempty"` Libp2PAddress string `protobuf:"bytes,2,opt,name=libp2pAddress,proto3" json:"libp2pAddress,omitempty"` // contains filtered or unexported fields }
func (*ProviderConfig) Descriptor
deprecated
func (*ProviderConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProviderConfig.ProtoReflect.Descriptor instead.
func (*ProviderConfig) GetEthereumAddress ¶
func (x *ProviderConfig) GetEthereumAddress() []byte
func (*ProviderConfig) GetLibp2PAddress ¶
func (x *ProviderConfig) GetLibp2PAddress() string
func (*ProviderConfig) ProtoMessage ¶
func (*ProviderConfig) ProtoMessage()
func (*ProviderConfig) ProtoReflect ¶
func (x *ProviderConfig) ProtoReflect() protoreflect.Message
func (*ProviderConfig) Reset ¶
func (x *ProviderConfig) Reset()
func (*ProviderConfig) String ¶
func (x *ProviderConfig) String() string
type ProvisionPodRequest ¶
type ProvisionPodRequest struct { Pod *Pod `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"` Payment *PaymentChannel `protobuf:"bytes,3,opt,name=payment,proto3" json:"payment,omitempty"` // contains filtered or unexported fields }
func (*ProvisionPodRequest) Descriptor
deprecated
func (*ProvisionPodRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionPodRequest.ProtoReflect.Descriptor instead.
func (*ProvisionPodRequest) GetPayment ¶
func (x *ProvisionPodRequest) GetPayment() *PaymentChannel
func (*ProvisionPodRequest) GetPod ¶
func (x *ProvisionPodRequest) GetPod() *Pod
func (*ProvisionPodRequest) ProtoMessage ¶
func (*ProvisionPodRequest) ProtoMessage()
func (*ProvisionPodRequest) ProtoReflect ¶
func (x *ProvisionPodRequest) ProtoReflect() protoreflect.Message
func (*ProvisionPodRequest) Reset ¶
func (x *ProvisionPodRequest) Reset()
func (*ProvisionPodRequest) String ¶
func (x *ProvisionPodRequest) String() string
type ProvisionPodResponse ¶
type ProvisionPodResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Addresses []*ProvisionPodResponse_ExposedHostPort `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*ProvisionPodResponse) Descriptor
deprecated
func (*ProvisionPodResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionPodResponse.ProtoReflect.Descriptor instead.
func (*ProvisionPodResponse) GetAddresses ¶
func (x *ProvisionPodResponse) GetAddresses() []*ProvisionPodResponse_ExposedHostPort
func (*ProvisionPodResponse) GetError ¶
func (x *ProvisionPodResponse) GetError() string
func (*ProvisionPodResponse) GetNamespace ¶
func (x *ProvisionPodResponse) GetNamespace() string
func (*ProvisionPodResponse) ProtoMessage ¶
func (*ProvisionPodResponse) ProtoMessage()
func (*ProvisionPodResponse) ProtoReflect ¶
func (x *ProvisionPodResponse) ProtoReflect() protoreflect.Message
func (*ProvisionPodResponse) Reset ¶
func (x *ProvisionPodResponse) Reset()
func (*ProvisionPodResponse) String ¶
func (x *ProvisionPodResponse) String() string
type ProvisionPodResponse_ExposedHostPort ¶
type ProvisionPodResponse_ExposedHostPort struct { Multiaddr string `protobuf:"bytes,1,opt,name=multiaddr,proto3" json:"multiaddr,omitempty"` ContainerName string `protobuf:"bytes,2,opt,name=containerName,proto3" json:"containerName,omitempty"` ContainerPort uint64 `protobuf:"varint,3,opt,name=containerPort,proto3" json:"containerPort,omitempty"` // contains filtered or unexported fields }
func (*ProvisionPodResponse_ExposedHostPort) Descriptor
deprecated
func (*ProvisionPodResponse_ExposedHostPort) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionPodResponse_ExposedHostPort.ProtoReflect.Descriptor instead.
func (*ProvisionPodResponse_ExposedHostPort) GetContainerName ¶
func (x *ProvisionPodResponse_ExposedHostPort) GetContainerName() string
func (*ProvisionPodResponse_ExposedHostPort) GetContainerPort ¶
func (x *ProvisionPodResponse_ExposedHostPort) GetContainerPort() uint64
func (*ProvisionPodResponse_ExposedHostPort) GetMultiaddr ¶
func (x *ProvisionPodResponse_ExposedHostPort) GetMultiaddr() string
func (*ProvisionPodResponse_ExposedHostPort) ProtoMessage ¶
func (*ProvisionPodResponse_ExposedHostPort) ProtoMessage()
func (*ProvisionPodResponse_ExposedHostPort) ProtoReflect ¶
func (x *ProvisionPodResponse_ExposedHostPort) ProtoReflect() protoreflect.Message
func (*ProvisionPodResponse_ExposedHostPort) Reset ¶
func (x *ProvisionPodResponse_ExposedHostPort) Reset()
func (*ProvisionPodResponse_ExposedHostPort) String ¶
func (x *ProvisionPodResponse_ExposedHostPort) String() string
type Replicas ¶
type Replicas struct { Min uint32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"` Max uint32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"` TargetPendingRequests uint32 `protobuf:"varint,3,opt,name=targetPendingRequests,proto3" json:"targetPendingRequests,omitempty"` // contains filtered or unexported fields }
func (*Replicas) Descriptor
deprecated
func (*Replicas) GetTargetPendingRequests ¶
func (*Replicas) ProtoMessage ¶
func (*Replicas) ProtoMessage()
func (*Replicas) ProtoReflect ¶
func (x *Replicas) ProtoReflect() protoreflect.Message
type Resource ¶
type Resource struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // Types that are assignable to Quantity: // // *Resource_Amount // *Resource_AmountMillis Quantity isResource_Quantity `protobuf_oneof:"quantity"` // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
func (*Resource) GetAmountMillis ¶
func (*Resource) GetQuantity ¶
func (m *Resource) GetQuantity() isResource_Quantity
func (*Resource) GetResource ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
type Resource_Amount ¶
type Resource_Amount struct {
Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3,oneof"`
}
type Resource_AmountMillis ¶
type Resource_AmountMillis struct {
AmountMillis uint64 `protobuf:"varint,3,opt,name=amountMillis,proto3,oneof"`
}
type TriggerNodeResponse ¶
type TriggerNodeResponse struct { PeerID string `protobuf:"bytes,1,opt,name=peerID,proto3" json:"peerID,omitempty"` // contains filtered or unexported fields }
func (*TriggerNodeResponse) Descriptor
deprecated
func (*TriggerNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use TriggerNodeResponse.ProtoReflect.Descriptor instead.
func (*TriggerNodeResponse) GetPeerID ¶
func (x *TriggerNodeResponse) GetPeerID() string
func (*TriggerNodeResponse) ProtoMessage ¶
func (*TriggerNodeResponse) ProtoMessage()
func (*TriggerNodeResponse) ProtoReflect ¶
func (x *TriggerNodeResponse) ProtoReflect() protoreflect.Message
func (*TriggerNodeResponse) Reset ¶
func (x *TriggerNodeResponse) Reset()
func (*TriggerNodeResponse) String ¶
func (x *TriggerNodeResponse) String() string
type UpdatePodRequest ¶
type UpdatePodRequest struct { Pod *Pod `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"` Payment *PaymentChannel `protobuf:"bytes,2,opt,name=payment,proto3" json:"payment,omitempty"` // contains filtered or unexported fields }
func (*UpdatePodRequest) Descriptor
deprecated
func (*UpdatePodRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePodRequest.ProtoReflect.Descriptor instead.
func (*UpdatePodRequest) GetPayment ¶
func (x *UpdatePodRequest) GetPayment() *PaymentChannel
func (*UpdatePodRequest) GetPod ¶
func (x *UpdatePodRequest) GetPod() *Pod
func (*UpdatePodRequest) ProtoMessage ¶
func (*UpdatePodRequest) ProtoMessage()
func (*UpdatePodRequest) ProtoReflect ¶
func (x *UpdatePodRequest) ProtoReflect() protoreflect.Message
func (*UpdatePodRequest) Reset ¶
func (x *UpdatePodRequest) Reset()
func (*UpdatePodRequest) String ¶
func (x *UpdatePodRequest) String() string
type UpdatePodResponse ¶
type UpdatePodResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*UpdatePodResponse) Descriptor
deprecated
func (*UpdatePodResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePodResponse.ProtoReflect.Descriptor instead.
func (*UpdatePodResponse) GetError ¶
func (x *UpdatePodResponse) GetError() string
func (*UpdatePodResponse) GetSuccess ¶
func (x *UpdatePodResponse) GetSuccess() bool
func (*UpdatePodResponse) ProtoMessage ¶
func (*UpdatePodResponse) ProtoMessage()
func (*UpdatePodResponse) ProtoReflect ¶
func (x *UpdatePodResponse) ProtoReflect() protoreflect.Message
func (*UpdatePodResponse) Reset ¶
func (x *UpdatePodResponse) Reset()
func (*UpdatePodResponse) String ¶
func (x *UpdatePodResponse) String() string
type UploadedImage ¶
type UploadedImage struct { SourceUrl string `protobuf:"bytes,1,opt,name=sourceUrl,proto3" json:"sourceUrl,omitempty"` Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` Cid []byte `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` Key *Key `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*UploadedImage) Descriptor
deprecated
func (*UploadedImage) Descriptor() ([]byte, []int)
Deprecated: Use UploadedImage.ProtoReflect.Descriptor instead.
func (*UploadedImage) GetCid ¶
func (x *UploadedImage) GetCid() []byte
func (*UploadedImage) GetDigest ¶
func (x *UploadedImage) GetDigest() string
func (*UploadedImage) GetKey ¶
func (x *UploadedImage) GetKey() *Key
func (*UploadedImage) GetSourceUrl ¶
func (x *UploadedImage) GetSourceUrl() string
func (*UploadedImage) ProtoMessage ¶
func (*UploadedImage) ProtoMessage()
func (*UploadedImage) ProtoReflect ¶
func (x *UploadedImage) ProtoReflect() protoreflect.Message
func (*UploadedImage) Reset ¶
func (x *UploadedImage) Reset()
func (*UploadedImage) String ¶
func (x *UploadedImage) String() string
type UploadedSecret ¶
type UploadedSecret struct { VolumeName string `protobuf:"bytes,1,opt,name=volumeName,proto3" json:"volumeName,omitempty"` Sha256Sum []byte `protobuf:"bytes,2,opt,name=sha256sum,proto3" json:"sha256sum,omitempty"` Cid []byte `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` Key *Key `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*UploadedSecret) Descriptor
deprecated
func (*UploadedSecret) Descriptor() ([]byte, []int)
Deprecated: Use UploadedSecret.ProtoReflect.Descriptor instead.
func (*UploadedSecret) GetCid ¶
func (x *UploadedSecret) GetCid() []byte
func (*UploadedSecret) GetKey ¶
func (x *UploadedSecret) GetKey() *Key
func (*UploadedSecret) GetSha256Sum ¶
func (x *UploadedSecret) GetSha256Sum() []byte
func (*UploadedSecret) GetVolumeName ¶
func (x *UploadedSecret) GetVolumeName() string
func (*UploadedSecret) ProtoMessage ¶
func (*UploadedSecret) ProtoMessage()
func (*UploadedSecret) ProtoReflect ¶
func (x *UploadedSecret) ProtoReflect() protoreflect.Message
func (*UploadedSecret) Reset ¶
func (x *UploadedSecret) Reset()
func (*UploadedSecret) String ¶
func (x *UploadedSecret) String() string
type Volume ¶
type Volume struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type Volume_Type `protobuf:"varint,2,opt,name=type,proto3,enum=apocryph.proto.v0.pod.Volume_Type" json:"type,omitempty"` AccessMode Volume_AccessMode `protobuf:"varint,3,opt,name=accessMode,proto3,enum=apocryph.proto.v0.pod.Volume_AccessMode" json:"accessMode,omitempty"` // Types that are assignable to Configuration: // // *Volume_Filesystem // *Volume_Secret Configuration isVolume_Configuration `protobuf_oneof:"configuration"` // contains filtered or unexported fields }
func (*Volume) Descriptor
deprecated
func (*Volume) GetAccessMode ¶
func (x *Volume) GetAccessMode() Volume_AccessMode
func (*Volume) GetConfiguration ¶
func (m *Volume) GetConfiguration() isVolume_Configuration
func (*Volume) GetFilesystem ¶
func (x *Volume) GetFilesystem() *Volume_FilesystemConfig
func (*Volume) GetSecret ¶
func (x *Volume) GetSecret() *Volume_SecretConfig
func (*Volume) GetType ¶
func (x *Volume) GetType() Volume_Type
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶
func (x *Volume) ProtoReflect() protoreflect.Message
type Volume_AccessMode ¶
type Volume_AccessMode int32
const ( Volume_VOLUME_RW_ONE Volume_AccessMode = 0 // VOLUME_RO_MANY = 1; Volume_VOLUME_RW_MANY Volume_AccessMode = 2 )
func (Volume_AccessMode) Descriptor ¶
func (Volume_AccessMode) Descriptor() protoreflect.EnumDescriptor
func (Volume_AccessMode) Enum ¶
func (x Volume_AccessMode) Enum() *Volume_AccessMode
func (Volume_AccessMode) EnumDescriptor
deprecated
func (Volume_AccessMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_AccessMode.Descriptor instead.
func (Volume_AccessMode) Number ¶
func (x Volume_AccessMode) Number() protoreflect.EnumNumber
func (Volume_AccessMode) String ¶
func (x Volume_AccessMode) String() string
func (Volume_AccessMode) Type ¶
func (Volume_AccessMode) Type() protoreflect.EnumType
type Volume_Filesystem ¶
type Volume_Filesystem struct {
Filesystem *Volume_FilesystemConfig `protobuf:"bytes,4,opt,name=filesystem,proto3,oneof"`
}
type Volume_FilesystemConfig ¶
type Volume_FilesystemConfig struct { ResourceRequests []*Resource `protobuf:"bytes,1,rep,name=resourceRequests,proto3" json:"resourceRequests,omitempty"` // "storage" // contains filtered or unexported fields }
func (*Volume_FilesystemConfig) Descriptor
deprecated
func (*Volume_FilesystemConfig) Descriptor() ([]byte, []int)
Deprecated: Use Volume_FilesystemConfig.ProtoReflect.Descriptor instead.
func (*Volume_FilesystemConfig) GetResourceRequests ¶
func (x *Volume_FilesystemConfig) GetResourceRequests() []*Resource
func (*Volume_FilesystemConfig) ProtoMessage ¶
func (*Volume_FilesystemConfig) ProtoMessage()
func (*Volume_FilesystemConfig) ProtoReflect ¶
func (x *Volume_FilesystemConfig) ProtoReflect() protoreflect.Message
func (*Volume_FilesystemConfig) Reset ¶
func (x *Volume_FilesystemConfig) Reset()
func (*Volume_FilesystemConfig) String ¶
func (x *Volume_FilesystemConfig) String() string
type Volume_Secret ¶
type Volume_Secret struct {
Secret *Volume_SecretConfig `protobuf:"bytes,5,opt,name=secret,proto3,oneof"`
}
type Volume_SecretConfig ¶
type Volume_SecretConfig struct { Cid []byte `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Key *Key `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` File string `protobuf:"bytes,101,opt,name=file,proto3" json:"file,omitempty"` Contents []byte `protobuf:"bytes,102,opt,name=contents,proto3" json:"contents,omitempty"` ContentsString string `protobuf:"bytes,103,opt,name=contentsString,proto3" json:"contentsString,omitempty"` // contains filtered or unexported fields }
func (*Volume_SecretConfig) Descriptor
deprecated
func (*Volume_SecretConfig) Descriptor() ([]byte, []int)
Deprecated: Use Volume_SecretConfig.ProtoReflect.Descriptor instead.
func (*Volume_SecretConfig) GetCid ¶
func (x *Volume_SecretConfig) GetCid() []byte
func (*Volume_SecretConfig) GetContents ¶
func (x *Volume_SecretConfig) GetContents() []byte
func (*Volume_SecretConfig) GetContentsString ¶
func (x *Volume_SecretConfig) GetContentsString() string
func (*Volume_SecretConfig) GetFile ¶
func (x *Volume_SecretConfig) GetFile() string
func (*Volume_SecretConfig) GetKey ¶
func (x *Volume_SecretConfig) GetKey() *Key
func (*Volume_SecretConfig) ProtoMessage ¶
func (*Volume_SecretConfig) ProtoMessage()
func (*Volume_SecretConfig) ProtoReflect ¶
func (x *Volume_SecretConfig) ProtoReflect() protoreflect.Message
func (*Volume_SecretConfig) Reset ¶
func (x *Volume_SecretConfig) Reset()
func (*Volume_SecretConfig) String ¶
func (x *Volume_SecretConfig) String() string
type Volume_Type ¶
type Volume_Type int32
const ( Volume_VOLUME_EMPTY Volume_Type = 0 Volume_VOLUME_FILESYSTEM Volume_Type = 1 Volume_VOLUME_SECRET Volume_Type = 2 )
func (Volume_Type) Descriptor ¶
func (Volume_Type) Descriptor() protoreflect.EnumDescriptor
func (Volume_Type) Enum ¶
func (x Volume_Type) Enum() *Volume_Type
func (Volume_Type) EnumDescriptor
deprecated
func (Volume_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_Type.Descriptor instead.
func (Volume_Type) Number ¶
func (x Volume_Type) Number() protoreflect.EnumNumber
func (Volume_Type) String ¶
func (x Volume_Type) String() string
func (Volume_Type) Type ¶
func (Volume_Type) Type() protoreflect.EnumType