Documentation
¶
Index ¶
- func MakeBlockDeviceEndpoint(svc Service) endpoint.Endpoint
- func MakeHTTPHandler(e Endpoints, logger log.Logger) *mux.Router
- func MakeUnblockDeviceEndpoint(svc Service) endpoint.Endpoint
- func MarshalDevice(dev *Device) ([]byte, error)
- func RemoveMiddleware(store Store) connect.Middleware
- func UnmarshalDevice(data []byte, dev *Device) error
- type Device
- type Endpoints
- type RemoveService
- type Service
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeBlockDeviceEndpoint ¶
func MarshalDevice ¶
func RemoveMiddleware ¶
func RemoveMiddleware(store Store) connect.Middleware
func UnmarshalDevice ¶
Types ¶
type Endpoints ¶
type Endpoints struct { BlockDeviceEndpoint endpoint.Endpoint UnblockDeviceEndpoint endpoint.Endpoint }
func MakeServerEndpoints ¶
func (Endpoints) BlockDevice ¶
type RemoveService ¶
type RemoveService struct {
// contains filtered or unexported fields
}
func New ¶
func New(store Store) (*RemoveService, error)
func (*RemoveService) BlockDevice ¶
func (svc *RemoveService) BlockDevice(ctx context.Context, udid string) error
func (*RemoveService) UnblockDevice ¶
func (svc *RemoveService) UnblockDevice(ctx context.Context, udid string) error
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
internal
|
|
removeproto
Package removeproto is a generated protocol buffer package.
|
Package removeproto is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.