Documentation ¶
Index ¶
- type RpcCommandResolver
- func (r *RpcCommandResolver) ReserveNow(reqCtx context.Context, input *ocpirpc.ReserveNowRequest) (*ocpirpc.ReserveNowResponse, error)
- func (r *RpcCommandResolver) StartSession(reqCtx context.Context, input *ocpirpc.StartSessionRequest) (*ocpirpc.StartSessionResponse, error)
- func (r *RpcCommandResolver) StopSession(reqCtx context.Context, input *ocpirpc.StopSessionRequest) (*ocpirpc.StopSessionResponse, error)
- func (r *RpcCommandResolver) UnlockConnector(reqCtx context.Context, input *ocpirpc.UnlockConnectorRequest) (*ocpirpc.UnlockConnectorResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RpcCommandResolver ¶
type RpcCommandResolver struct { CommandResolver *command.CommandResolver CredentialResolver *credential.CredentialResolver LocationResolver *location.LocationResolver SessionResolver *session.SessionResolver TokenResolver *token.TokenResolver }
func NewResolver ¶
func NewResolver(repositoryService *db.RepositoryService, services *service.ServiceResolver) *RpcCommandResolver
func (*RpcCommandResolver) ReserveNow ¶
func (r *RpcCommandResolver) ReserveNow(reqCtx context.Context, input *ocpirpc.ReserveNowRequest) (*ocpirpc.ReserveNowResponse, error)
func (*RpcCommandResolver) StartSession ¶
func (r *RpcCommandResolver) StartSession(reqCtx context.Context, input *ocpirpc.StartSessionRequest) (*ocpirpc.StartSessionResponse, error)
func (*RpcCommandResolver) StopSession ¶
func (r *RpcCommandResolver) StopSession(reqCtx context.Context, input *ocpirpc.StopSessionRequest) (*ocpirpc.StopSessionResponse, error)
func (*RpcCommandResolver) UnlockConnector ¶
func (r *RpcCommandResolver) UnlockConnector(reqCtx context.Context, input *ocpirpc.UnlockConnectorRequest) (*ocpirpc.UnlockConnectorResponse, error)
Click to show internal directories.
Click to hide internal directories.