v1alpha1

package
v0.0.0-...-a5efd72 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RegisterEnclavePoolManagerServer

func RegisterEnclavePoolManagerServer(s *grpc.Server, srv EnclavePoolManagerServer)

Types

type Cache

type Cache struct {

	// Type represents the type of enclave pool
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// SubType represents the subtype of enclave pool which represents a more find-grained pool
	SubType string `protobuf:"bytes,2,opt,name=subType,proto3" json:"subType,omitempty"`
	// ID represents the id of the cache and the id is unique in the same type of enclave pool
	ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	// SavePath represents the absolute path to store the cache
	SavePath string `protobuf:"bytes,4,opt,name=savePath,proto3" json:"savePath,omitempty"`
	// Parent represents the parent cache of the current cache, if do not have a parent the value is nil
	Parent *Cache `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
	// Size represents the size in bytes of the cache
	Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	// Created represents the creation time of the cache which is the number of seconds elapsed since January 1, 1970 UTC
	Created int64 `protobuf:"varint,7,opt,name=created,proto3" json:"created,omitempty"`
	// Options is an optional field which can extend any type of data structure
	Options *any.Any `protobuf:"bytes,8,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

Cache represents the metadata of a cache managed by enclave pool.

func (*Cache) Descriptor deprecated

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

Deprecated: Use Cache.ProtoReflect.Descriptor instead.

func (*Cache) GetCreated

func (x *Cache) GetCreated() int64

func (*Cache) GetID

func (x *Cache) GetID() string

func (*Cache) GetOptions

func (x *Cache) GetOptions() *any.Any

func (*Cache) GetParent

func (x *Cache) GetParent() *Cache

func (*Cache) GetSavePath

func (x *Cache) GetSavePath() string

func (*Cache) GetSize

func (x *Cache) GetSize() int64

func (*Cache) GetSubType

func (x *Cache) GetSubType() string

func (*Cache) GetType

func (x *Cache) GetType() string

func (*Cache) ProtoMessage

func (*Cache) ProtoMessage()

func (*Cache) ProtoReflect

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

func (*Cache) Reset

func (x *Cache) Reset()

func (*Cache) String

func (x *Cache) String() string

type DeleteCacheRequest

type DeleteCacheRequest struct {

	// Type represents the type of enclave pool
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// SubType represents the subType of enclave pool
	SubType string `protobuf:"bytes,2,opt,name=subType,proto3" json:"subType,omitempty"`
	// ID represents the id of the cache
	ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCacheRequest) Descriptor deprecated

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

Deprecated: Use DeleteCacheRequest.ProtoReflect.Descriptor instead.

func (*DeleteCacheRequest) GetID

func (x *DeleteCacheRequest) GetID() string

func (*DeleteCacheRequest) GetSubType

func (x *DeleteCacheRequest) GetSubType() string

func (*DeleteCacheRequest) GetType

func (x *DeleteCacheRequest) GetType() string

func (*DeleteCacheRequest) ProtoMessage

func (*DeleteCacheRequest) ProtoMessage()

func (*DeleteCacheRequest) ProtoReflect

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

func (*DeleteCacheRequest) Reset

func (x *DeleteCacheRequest) Reset()

func (*DeleteCacheRequest) String

func (x *DeleteCacheRequest) String() string

type DeleteCacheResponse

type DeleteCacheResponse struct {

	// Ok represents whether the cache is deleted successfully
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCacheResponse) Descriptor deprecated

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

Deprecated: Use DeleteCacheResponse.ProtoReflect.Descriptor instead.

func (*DeleteCacheResponse) GetOk

func (x *DeleteCacheResponse) GetOk() bool

func (*DeleteCacheResponse) ProtoMessage

func (*DeleteCacheResponse) ProtoMessage()

func (*DeleteCacheResponse) ProtoReflect

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

func (*DeleteCacheResponse) Reset

func (x *DeleteCacheResponse) Reset()

func (*DeleteCacheResponse) String

func (x *DeleteCacheResponse) String() string

type Enclave

type Enclave struct {
	Fd                   int64            `protobuf:"varint,1,opt,name=fd,proto3" json:"fd,omitempty"`
	Nr                   int64            `protobuf:"varint,2,opt,name=nr,proto3" json:"nr,omitempty"`
	Layout               []*Enclavelayout `protobuf:"bytes,3,rep,name=layout,proto3" json:"layout,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*Enclave) Descriptor

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

func (*Enclave) GetFd

func (m *Enclave) GetFd() int64

func (*Enclave) GetLayout

func (m *Enclave) GetLayout() []*Enclavelayout

func (*Enclave) GetNr

func (m *Enclave) GetNr() int64

func (*Enclave) ProtoMessage

func (*Enclave) ProtoMessage()

func (*Enclave) Reset

func (m *Enclave) Reset()

func (*Enclave) String

func (m *Enclave) String() string

func (*Enclave) XXX_DiscardUnknown

func (m *Enclave) XXX_DiscardUnknown()

func (*Enclave) XXX_Marshal

func (m *Enclave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Enclave) XXX_Merge

func (m *Enclave) XXX_Merge(src proto.Message)

func (*Enclave) XXX_Size

func (m *Enclave) XXX_Size() int

func (*Enclave) XXX_Unmarshal

func (m *Enclave) XXX_Unmarshal(b []byte) error

type EnclavePerms

type EnclavePerms struct {
	Read                 bool     `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
	Write                bool     `protobuf:"varint,2,opt,name=write,proto3" json:"write,omitempty"`
	Execute              bool     `protobuf:"varint,3,opt,name=execute,proto3" json:"execute,omitempty"`
	Share                bool     `protobuf:"varint,4,opt,name=share,proto3" json:"share,omitempty"`
	Private              bool     `protobuf:"varint,5,opt,name=private,proto3" json:"private,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EnclavePerms) Descriptor

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

func (*EnclavePerms) GetExecute

func (m *EnclavePerms) GetExecute() bool

func (*EnclavePerms) GetPrivate

func (m *EnclavePerms) GetPrivate() bool

func (*EnclavePerms) GetRead

func (m *EnclavePerms) GetRead() bool

func (*EnclavePerms) GetShare

func (m *EnclavePerms) GetShare() bool

func (*EnclavePerms) GetWrite

func (m *EnclavePerms) GetWrite() bool

func (*EnclavePerms) ProtoMessage

func (*EnclavePerms) ProtoMessage()

func (*EnclavePerms) Reset

func (m *EnclavePerms) Reset()

func (*EnclavePerms) String

func (m *EnclavePerms) String() string

func (*EnclavePerms) XXX_DiscardUnknown

func (m *EnclavePerms) XXX_DiscardUnknown()

func (*EnclavePerms) XXX_Marshal

func (m *EnclavePerms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnclavePerms) XXX_Merge

func (m *EnclavePerms) XXX_Merge(src proto.Message)

func (*EnclavePerms) XXX_Size

func (m *EnclavePerms) XXX_Size() int

func (*EnclavePerms) XXX_Unmarshal

func (m *EnclavePerms) XXX_Unmarshal(b []byte) error

type EnclavePoolManagerClient

type EnclavePoolManagerClient interface {
	// GetCache represents get the specified cache from pool
	GetCache(ctx context.Context, in *GetCacheRequest, opts ...grpc.CallOption) (*GetCacheResponse, error)
	// PickCache represents pick a suitable cache from pool
	PickCache(ctx context.Context, in *PickCacheRequest, opts ...grpc.CallOption) (*PickCacheResponse, error)
	// SaveCache represents save the data to a cache directory and record the cache metadata
	SaveCache(ctx context.Context, in *SaveCacheRequest, opts ...grpc.CallOption) (*SaveCacheResponse, error)
	// SaveFinalCache represents save the enclave info which can be used instantly
	SaveFinalCache(ctx context.Context, in *SaveCacheRequest, opts ...grpc.CallOption) (*SaveCacheResponse, error)
	// ListCache represents list part of or all of the cache metadata
	ListCache(ctx context.Context, in *ListCacheRequest, opts ...grpc.CallOption) (*ListCacheResponse, error)
	// DeleteCache represents delete the specified cached data and remove the corresponding cache metadata
	DeleteCache(ctx context.Context, in *DeleteCacheRequest, opts ...grpc.CallOption) (*DeleteCacheResponse, error)
	// LoadCache represents load the specified cache data to work directory
	LoadCache(ctx context.Context, in *LoadCacheRequest, opts ...grpc.CallOption) (*LoadCacheResponse, error)
}

EnclavePoolManagerClient is the client API for EnclavePoolManager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type EnclavePoolManagerServer

type EnclavePoolManagerServer interface {
	// GetCache represents get the specified cache from pool
	GetCache(context.Context, *GetCacheRequest) (*GetCacheResponse, error)
	// PickCache represents pick a suitable cache from pool
	PickCache(context.Context, *PickCacheRequest) (*PickCacheResponse, error)
	// SaveCache represents save the data to a cache directory and record the cache metadata
	SaveCache(context.Context, *SaveCacheRequest) (*SaveCacheResponse, error)
	// SaveFinalCache represents save the enclave info which can be used instantly
	SaveFinalCache(context.Context, *SaveCacheRequest) (*SaveCacheResponse, error)
	// ListCache represents list part of or all of the cache metadata
	ListCache(context.Context, *ListCacheRequest) (*ListCacheResponse, error)
	// DeleteCache represents delete the specified cached data and remove the corresponding cache metadata
	DeleteCache(context.Context, *DeleteCacheRequest) (*DeleteCacheResponse, error)
	// LoadCache represents load the specified cache data to work directory
	LoadCache(context.Context, *LoadCacheRequest) (*LoadCacheResponse, error)
}

EnclavePoolManagerServer is the server API for EnclavePoolManager service.

type Enclavelayout

type Enclavelayout struct {
	Addr                 uint64        `protobuf:"varint,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Size                 uint64        `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Prot                 *EnclavePerms `protobuf:"bytes,3,opt,name=prot,proto3" json:"prot,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Enclavelayout) Descriptor

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

func (*Enclavelayout) GetAddr

func (m *Enclavelayout) GetAddr() uint64

func (*Enclavelayout) GetProt

func (m *Enclavelayout) GetProt() *EnclavePerms

func (*Enclavelayout) GetSize

func (m *Enclavelayout) GetSize() uint64

func (*Enclavelayout) ProtoMessage

func (*Enclavelayout) ProtoMessage()

func (*Enclavelayout) Reset

func (m *Enclavelayout) Reset()

func (*Enclavelayout) String

func (m *Enclavelayout) String() string

func (*Enclavelayout) XXX_DiscardUnknown

func (m *Enclavelayout) XXX_DiscardUnknown()

func (*Enclavelayout) XXX_Marshal

func (m *Enclavelayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Enclavelayout) XXX_Merge

func (m *Enclavelayout) XXX_Merge(src proto.Message)

func (*Enclavelayout) XXX_Size

func (m *Enclavelayout) XXX_Size() int

func (*Enclavelayout) XXX_Unmarshal

func (m *Enclavelayout) XXX_Unmarshal(b []byte) error

type GetCacheRequest

type GetCacheRequest struct {

	// Type represents the type of enclave pool
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// SubType represents the subType of enclave pool
	SubType string `protobuf:"bytes,2,opt,name=subType,proto3" json:"subType,omitempty"`
	// ID represents the id of the cache
	ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

GetCacheRequest

func (*GetCacheRequest) Descriptor deprecated

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

Deprecated: Use GetCacheRequest.ProtoReflect.Descriptor instead.

func (*GetCacheRequest) GetID

func (x *GetCacheRequest) GetID() string

func (*GetCacheRequest) GetSubType

func (x *GetCacheRequest) GetSubType() string

func (*GetCacheRequest) GetType

func (x *GetCacheRequest) GetType() string

func (*GetCacheRequest) ProtoMessage

func (*GetCacheRequest) ProtoMessage()

func (*GetCacheRequest) ProtoReflect

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

func (*GetCacheRequest) Reset

func (x *GetCacheRequest) Reset()

func (*GetCacheRequest) String

func (x *GetCacheRequest) String() string

type GetCacheResponse

type GetCacheResponse struct {

	// Cache represents the response cache metadata
	Cache *Cache `protobuf:"bytes,1,opt,name=cache,proto3" json:"cache,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCacheResponse) Descriptor deprecated

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

Deprecated: Use GetCacheResponse.ProtoReflect.Descriptor instead.

func (*GetCacheResponse) GetCache

func (x *GetCacheResponse) GetCache() *Cache

func (*GetCacheResponse) ProtoMessage

func (*GetCacheResponse) ProtoMessage()

func (*GetCacheResponse) ProtoReflect

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

func (*GetCacheResponse) Reset

func (x *GetCacheResponse) Reset()

func (*GetCacheResponse) String

func (x *GetCacheResponse) String() string

type ListCacheRequest

type ListCacheRequest struct {

	// Type represents the type of enclave pool
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// SubType represents the subType of enclave pool
	SubType string `protobuf:"bytes,2,opt,name=subType,proto3" json:"subType,omitempty"`
	// LastCacheID represents the id of the last cache metadata in the most recent query list,
	// if the value is "", query the cache metadata from the starting point of DB,
	// otherwise query the cache metadata starting from the next id of `lastCacheID` in alphabetical order
	LastCacheID string `protobuf:"bytes,3,opt,name=lastCacheID,proto3" json:"lastCacheID,omitempty"`
	// Limit represents the maximum number of queried entries
	Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCacheRequest) Descriptor deprecated

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

Deprecated: Use ListCacheRequest.ProtoReflect.Descriptor instead.

func (*ListCacheRequest) GetLastCacheID

func (x *ListCacheRequest) GetLastCacheID() string

func (*ListCacheRequest) GetLimit

func (x *ListCacheRequest) GetLimit() int32

func (*ListCacheRequest) GetSubType

func (x *ListCacheRequest) GetSubType() string

func (*ListCacheRequest) GetType

func (x *ListCacheRequest) GetType() string

func (*ListCacheRequest) ProtoMessage

func (*ListCacheRequest) ProtoMessage()

func (*ListCacheRequest) ProtoReflect

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

func (*ListCacheRequest) Reset

func (x *ListCacheRequest) Reset()

func (*ListCacheRequest) String

func (x *ListCacheRequest) String() string

type ListCacheResponse

type ListCacheResponse struct {

	// Caches represents the list of response caches
	Caches []*Cache `protobuf:"bytes,1,rep,name=caches,proto3" json:"caches,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCacheResponse) Descriptor deprecated

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

Deprecated: Use ListCacheResponse.ProtoReflect.Descriptor instead.

func (*ListCacheResponse) GetCaches

func (x *ListCacheResponse) GetCaches() []*Cache

func (*ListCacheResponse) ProtoMessage

func (*ListCacheResponse) ProtoMessage()

func (*ListCacheResponse) ProtoReflect

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

func (*ListCacheResponse) Reset

func (x *ListCacheResponse) Reset()

func (*ListCacheResponse) String

func (x *ListCacheResponse) String() string

type LoadCacheRequest

type LoadCacheRequest struct {

	// Type represents the type of enclave pool
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// SubType represents the subType of enclave pool
	SubType string `protobuf:"bytes,2,opt,name=subType,proto3" json:"subType,omitempty"`
	// ID represents the id of the cache
	ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	// TargetPath represents the work directory for loading the cache data
	TargetPath string `protobuf:"bytes,4,opt,name=targetPath,proto3" json:"targetPath,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadCacheRequest) Descriptor deprecated

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

Deprecated: Use LoadCacheRequest.ProtoReflect.Descriptor instead.

func (*LoadCacheRequest) GetID

func (x *LoadCacheRequest) GetID() string

func (*LoadCacheRequest) GetSubType

func (x *LoadCacheRequest) GetSubType() string

func (*LoadCacheRequest) GetTargetPath

func (x *LoadCacheRequest) GetTargetPath() string

func (*LoadCacheRequest) GetType

func (x *LoadCacheRequest) GetType() string

func (*LoadCacheRequest) ProtoMessage

func (*LoadCacheRequest) ProtoMessage()

func (*LoadCacheRequest) ProtoReflect

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

func (*LoadCacheRequest) Reset

func (x *LoadCacheRequest) Reset()

func (*LoadCacheRequest) String

func (x *LoadCacheRequest) String() string

type LoadCacheResponse

type LoadCacheResponse struct {

	// Ok represents whether the cache is loaded successfully
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadCacheResponse) Descriptor deprecated

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

Deprecated: Use LoadCacheResponse.ProtoReflect.Descriptor instead.

func (*LoadCacheResponse) GetOk

func (x *LoadCacheResponse) GetOk() bool

func (*LoadCacheResponse) ProtoMessage

func (*LoadCacheResponse) ProtoMessage()

func (*LoadCacheResponse) ProtoReflect

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

func (*LoadCacheResponse) Reset

func (x *LoadCacheResponse) Reset()

func (*LoadCacheResponse) String

func (x *LoadCacheResponse) String() string

type PickCacheRequest

type PickCacheRequest struct {

	// Type represents the type of enclave pool
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// SubType represents the subType of enclave pool
	SubType string `protobuf:"bytes,2,opt,name=subType,proto3" json:"subType,omitempty"`
	// Filters represents the filters that used to filter out the suitable result
	Filters map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

PickCacheRequest

func (*PickCacheRequest) Descriptor deprecated

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

Deprecated: Use PickCacheRequest.ProtoReflect.Descriptor instead.

func (*PickCacheRequest) GetFilters

func (x *PickCacheRequest) GetFilters() map[string]string

func (*PickCacheRequest) GetSubType

func (x *PickCacheRequest) GetSubType() string

func (*PickCacheRequest) GetType

func (x *PickCacheRequest) GetType() string

func (*PickCacheRequest) ProtoMessage

func (*PickCacheRequest) ProtoMessage()

func (*PickCacheRequest) ProtoReflect

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

func (*PickCacheRequest) Reset

func (x *PickCacheRequest) Reset()

func (*PickCacheRequest) String

func (x *PickCacheRequest) String() string

type PickCacheResponse

type PickCacheResponse struct {

	// Caches represents the caches which match the selection criteria
	Caches []*Cache `protobuf:"bytes,1,rep,name=caches,proto3" json:"caches,omitempty"`
	// contains filtered or unexported fields
}

func (*PickCacheResponse) Descriptor deprecated

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

Deprecated: Use PickCacheResponse.ProtoReflect.Descriptor instead.

func (*PickCacheResponse) GetCaches

func (x *PickCacheResponse) GetCaches() []*Cache

func (*PickCacheResponse) ProtoMessage

func (*PickCacheResponse) ProtoMessage()

func (*PickCacheResponse) ProtoReflect

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

func (*PickCacheResponse) Reset

func (x *PickCacheResponse) Reset()

func (*PickCacheResponse) String

func (x *PickCacheResponse) String() string

type SaveCacheRequest

type SaveCacheRequest struct {

	// Cache represents the cache metadata needs to be saved
	Cache *Cache `protobuf:"bytes,1,opt,name=cache,proto3" json:"cache,omitempty"`
	// SourcePath represents the absolute path of source cache data
	SourcePath string `protobuf:"bytes,2,opt,name=sourcePath,proto3" json:"sourcePath,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveCacheRequest) Descriptor deprecated

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

Deprecated: Use SaveCacheRequest.ProtoReflect.Descriptor instead.

func (*SaveCacheRequest) GetCache

func (x *SaveCacheRequest) GetCache() *Cache

func (*SaveCacheRequest) GetSourcePath

func (x *SaveCacheRequest) GetSourcePath() string

func (*SaveCacheRequest) ProtoMessage

func (*SaveCacheRequest) ProtoMessage()

func (*SaveCacheRequest) ProtoReflect

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

func (*SaveCacheRequest) Reset

func (x *SaveCacheRequest) Reset()

func (*SaveCacheRequest) String

func (x *SaveCacheRequest) String() string

type SaveCacheResponse

type SaveCacheResponse struct {

	// Ok represents whether the cache is saved successfully
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveCacheResponse) Descriptor deprecated

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

Deprecated: Use SaveCacheResponse.ProtoReflect.Descriptor instead.

func (*SaveCacheResponse) GetOk

func (x *SaveCacheResponse) GetOk() bool

func (*SaveCacheResponse) ProtoMessage

func (*SaveCacheResponse) ProtoMessage()

func (*SaveCacheResponse) ProtoReflect

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

func (*SaveCacheResponse) Reset

func (x *SaveCacheResponse) Reset()

func (*SaveCacheResponse) String

func (x *SaveCacheResponse) String() string

type UnimplementedEnclavePoolManagerServer

type UnimplementedEnclavePoolManagerServer struct {
}

UnimplementedEnclavePoolManagerServer can be embedded to have forward compatible implementations.

func (*UnimplementedEnclavePoolManagerServer) DeleteCache

func (*UnimplementedEnclavePoolManagerServer) GetCache

func (*UnimplementedEnclavePoolManagerServer) ListCache

func (*UnimplementedEnclavePoolManagerServer) LoadCache

func (*UnimplementedEnclavePoolManagerServer) PickCache

func (*UnimplementedEnclavePoolManagerServer) SaveCache

func (*UnimplementedEnclavePoolManagerServer) SaveFinalCache

Jump to

Keyboard shortcuts

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