Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { RegisterCA(ctx context.Context, caName string, caSerialNumber string, caCertificate string) error AttachAccessPolicy(ctx context.Context, caName string, caSerialNumber string, serializedAccessPolicy string) error GetConfiguration(ctx context.Context) (interface{}, []cloudproviders.CloudProviderCAConfig, error) GetDeviceConfiguration(ctx context.Context, deviceID string) (interface{}, error) UpdateCaStatus(ctx context.Context, caName string, status string, certificateID string) error UpdateCertStatus(ctx context.Context, caName string, certSerialNumber string, status string, deviceCert string, caCert string) error }
func NewCloudConnectorService ¶
func NewCloudConnectorService(id string, ip string, port string, cloudProviderType cloudproviders.CloudProvider, logger log.Logger) (Service, error)
func NewCloudConnectorServiceFromCloudConnector ¶
func NewCloudConnectorServiceFromCloudConnector(connector cloudproviders.CloudConnector, logger log.Logger) (Service, error)
Click to show internal directories.
Click to hide internal directories.