Documentation ¶
Index ¶
- func Setup(conf *config.Config) error
- type FUOTAServerAPI
- func (a *FUOTAServerAPI) CreateDeployment(ctx context.Context, req *fapi.CreateDeploymentRequest) (*fapi.CreateDeploymentResponse, error)
- func (a *FUOTAServerAPI) GetDeploymentDeviceLogs(ctx context.Context, req *fapi.GetDeploymentDeviceLogsRequest) (*fapi.GetDeploymentDeviceLogsResponse, error)
- func (a *FUOTAServerAPI) GetDeploymentStatus(ctx context.Context, req *fapi.GetDeploymentStatusRequest) (*fapi.GetDeploymentStatusResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FUOTAServerAPI ¶
type FUOTAServerAPI struct {
fapi.UnimplementedFuotaServerServiceServer
}
FUOTAServerAPI implements the FUOTA server API.
func NewFUOTAServerAPI ¶
func NewFUOTAServerAPI() *FUOTAServerAPI
NewFUOTAServerAPI creates a new FUOTAServerAPI.
func (*FUOTAServerAPI) CreateDeployment ¶
func (a *FUOTAServerAPI) CreateDeployment(ctx context.Context, req *fapi.CreateDeploymentRequest) (*fapi.CreateDeploymentResponse, error)
CreateDeployment creates the given FUOTA deployment.
func (*FUOTAServerAPI) GetDeploymentDeviceLogs ¶
func (a *FUOTAServerAPI) GetDeploymentDeviceLogs(ctx context.Context, req *fapi.GetDeploymentDeviceLogsRequest) (*fapi.GetDeploymentDeviceLogsResponse, error)
GetDeploymentDeviceLogs returns the FUOTA logs given a deployment ID and DevEUI.
func (*FUOTAServerAPI) GetDeploymentStatus ¶
func (a *FUOTAServerAPI) GetDeploymentStatus(ctx context.Context, req *fapi.GetDeploymentStatusRequest) (*fapi.GetDeploymentStatusResponse, error)
GetDeploymentStatus returns the FUOTA deployment status given an ID.
Click to show internal directories.
Click to hide internal directories.