Documentation ¶
Index ¶
- func MakeEventHandlerEndpoint(s service.Service) endpoint.Endpoint
- func MakeGetCloudConnectorsEndpoint(s service.Service) endpoint.Endpoint
- func MakeGetDeviceConfigurationEndpoint(s service.Service) endpoint.Endpoint
- func MakeHealthEndpoint(s service.Service) endpoint.Endpoint
- func MakeSynchronizeCAEndpoint(s service.Service) endpoint.Endpoint
- func MakeUpdateCaStatusEndpoint(s service.Service) endpoint.Endpoint
- func MakeUpdateDeviceStatusEndpoint(s service.Service) endpoint.Endpoint
- func MakeUpdateSecurityAccessPolicyEndpoint(s service.Service) endpoint.Endpoint
- type AttachCAPolicyRequest
- type CreateCAResponse
- type EmptyRequest
- type Endpoints
- type GetActiveCloudConnectorsResponse
- type GetDeviceConfigurationRequest
- type GetDeviceConfigurationResponse
- type GetSynchronizedCAsByConnector
- type GetSynchronizedCAsResponse
- type HealthRequest
- type HealthResponse
- type LamassuCaCreateEvent
- type LamassuCaUpdateStatusEvent
- type LamassuCertUpdateStatusEvent
- type SynchronizeCARequest
- type SynchronizedCAResponse
- type UpdateCaStatusRequest
- type UpdateDeviceCertStatusRequest
- type UpdateSecurityAccessPolicyRequest
- type UpdateSecurityAccessPolicyResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttachCAPolicyRequest ¶
type CreateCAResponse ¶
type CreateCAResponse struct {
// contains filtered or unexported fields
}
type EmptyRequest ¶
type EmptyRequest struct{}
type Endpoints ¶
type Endpoints struct { HealthEndpoint endpoint.Endpoint GetCloudConnectorsEndpoint endpoint.Endpoint GetDeviceConfigurationEndpoint endpoint.Endpoint SynchronizedCAEndpoint endpoint.Endpoint UpdateSecurityAccessPolicy endpoint.Endpoint UpdateDeviceCertStatusEndpoint endpoint.Endpoint EventHandlerEndpoint endpoint.Endpoint UpdateCaStatusEndpoint endpoint.Endpoint }
func MakeServerEndpoints ¶
func MakeServerEndpoints(s service.Service, otTracer stdopentracing.Tracer) Endpoints
type GetActiveCloudConnectorsResponse ¶
type GetActiveCloudConnectorsResponse struct {
CloudConnectors []cloudproviders.CloudConnector
}
type GetDeviceConfigurationResponse ¶
type GetDeviceConfigurationResponse struct {
CloudConnectorDevices []interface{}
}
type GetSynchronizedCAsByConnector ¶
type GetSynchronizedCAsByConnector struct {
ConnectorID string
}
type GetSynchronizedCAsResponse ¶
type GetSynchronizedCAsResponse struct {
SynchronizeCAs []cloudproviders.SynchronizedCA
}
type HealthRequest ¶
type HealthRequest struct{}
type HealthResponse ¶
type LamassuCaCreateEvent ¶
type LamassuCaCreateEvent struct { CaName string `json:"name"` CaCert string `json:"cert"` SerialNumber string `json:"serial_number"` }
io.lamassu.ca.create & io.lamassu.ca.import
type LamassuCaUpdateStatusEvent ¶
type LamassuCaUpdateStatusEvent struct { CaName string `json:"name"` Status string `json:"status"` }
io.lamassu.ca.update
type LamassuCertUpdateStatusEvent ¶
type LamassuCertUpdateStatusEvent struct { CaName string `json:"name"` Status string `json:"status"` SerialNumber string `json:"serial_number"` }
io.lamassu.cert.update
type SynchronizeCARequest ¶
type SynchronizedCAResponse ¶
type SynchronizedCAResponse struct {
CloudConnector cloudproviders.CloudConnector
}
type UpdateCaStatusRequest ¶
type UpdateSecurityAccessPolicyResponse ¶
type UpdateSecurityAccessPolicyResponse struct {
CloudConnector cloudproviders.CloudConnector
}
Click to show internal directories.
Click to hide internal directories.