Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudStore ¶
type CloudStore struct {
// contains filtered or unexported fields
}
func NewCloudStore ¶
func NewCloudStore(googleProjectId, googleBucketName string) *CloudStore
func (*CloudStore) CreateBucket ¶
func (c *CloudStore) CreateBucket() (string, error)
type DiskImageStore ¶
type DiskImageStore struct {
// contains filtered or unexported fields
}
func NewDiskImageStore ¶
func NewDiskImageStore(imageFolder string) *DiskImageStore
type ImageStore ¶
type ProfileGCPStore ¶
type ProfileGCPStore struct {
// contains filtered or unexported fields
}
func NewProfileGCPStore ¶
func NewProfileGCPStore(projectID string) (*ProfileGCPStore, error)
func (*ProfileGCPStore) SaveProfile ¶
func (pgs *ProfileGCPStore) SaveProfile(profile *pb.Profile) (string, error)
type ProfileMemoryStore ¶
type ProfileMemoryStore struct {
// contains filtered or unexported fields
}
func NewProfileMemoryStore ¶
func NewProfileMemoryStore() *ProfileMemoryStore
func (*ProfileMemoryStore) SaveProfile ¶
func (pm *ProfileMemoryStore) SaveProfile(profile *pb.Profile) (string, error)
type ProfileServer ¶
type ProfileServer struct {
// contains filtered or unexported fields
}
func NewProfileServer ¶
func NewProfileServer(imageStore ImageStore, profileStore ProfileStore) *ProfileServer
func (*ProfileServer) CreateImage ¶
func (s *ProfileServer) CreateImage(stream pb.ProfileService_CreateImageServer) error
func (*ProfileServer) CreateProfile ¶
Click to show internal directories.
Click to hide internal directories.