Documentation
¶
Index ¶
- type Service
- func (s *Service) AttachDisk(ctx context.Context, req *pb.DisksOpts) (*pb.Void, error)
- func (s *Service) CreateDisk(ctx context.Context, req *pb.NumberParcel) (*pb.TextParcel, error)
- func (s *Service) CreateStemcell(stream pb.CPID_CreateStemcellServer) error
- func (s *Service) CreateVM(ctx context.Context, req *pb.CreateVMOpts) (*pb.TextParcel, error)
- func (s *Service) DeleteDisk(ctx context.Context, req *pb.TextParcel) (*pb.Void, error)
- func (s *Service) DeleteStemcell(ctx context.Context, req *pb.TextParcel) (*pb.Void, error)
- func (s *Service) DeleteVM(ctx context.Context, req *pb.TextParcel) (*pb.Void, error)
- func (s *Service) DetachDisk(ctx context.Context, req *pb.DisksOpts) (*pb.Void, error)
- func (s *Service) HasDisk(ctx context.Context, req *pb.TextParcel) (*pb.TruthParcel, error)
- func (s *Service) HasVM(ctx context.Context, req *pb.TextParcel) (*pb.TruthParcel, error)
- func (s *Service) Ping(ctx context.Context, req *pb.Void) (*pb.TextParcel, error)
- func (s *Service) Prune(ctx context.Context, req *pb.Void) (*pb.Void, error)
- func (s *Service) StreamIn(stream pb.CPID_StreamInServer) error
- func (s *Service) StreamOut(path *pb.TextParcel, stream pb.CPID_StreamOutServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AttachDisk ¶
func (*Service) CreateDisk ¶
func (s *Service) CreateDisk(ctx context.Context, req *pb.NumberParcel) (*pb.TextParcel, error)
func (*Service) CreateStemcell ¶
func (s *Service) CreateStemcell(stream pb.CPID_CreateStemcellServer) error
func (*Service) CreateVM ¶
func (s *Service) CreateVM(ctx context.Context, req *pb.CreateVMOpts) (*pb.TextParcel, error)
func (*Service) DeleteDisk ¶
func (*Service) DeleteStemcell ¶
func (*Service) DeleteVM ¶
Consider extending this method to delete all VMs depending on if the caller needs to w/o knowing vmID
func (*Service) DetachDisk ¶
func (*Service) HasDisk ¶
func (s *Service) HasDisk(ctx context.Context, req *pb.TextParcel) (*pb.TruthParcel, error)
func (*Service) HasVM ¶
func (s *Service) HasVM(ctx context.Context, req *pb.TextParcel) (*pb.TruthParcel, error)
func (*Service) StreamOut ¶
func (s *Service) StreamOut(path *pb.TextParcel, stream pb.CPID_StreamOutServer) error
Click to show internal directories.
Click to hide internal directories.