Documentation ¶
Overview ¶
Package services provides the host services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
Endpoint represents the endpoint.
func (*Endpoint) GracefulStop ¶
GracefulStop stops the grpcendpoint.
func (*Endpoint) Serve ¶
func (e *Endpoint) Serve(ctx context.Context, serviceCtx *azservices.ServiceContext) (bool, error)
Serve starts the grpcendpoint.
type EndpointConfig ¶
type EndpointConfig struct {
// contains filtered or unexported fields
}
EndpointConfig represents the endpoint configuration.
func (*EndpointConfig) GetHostable ¶
func (c *EndpointConfig) GetHostable() azservices.Hostable
GetHostable returns the hostable.
func (*EndpointConfig) GetRegistration ¶
func (c *EndpointConfig) GetRegistration() func(*grpc.Server, *azservices.ServiceContext, *azservices.EndpointContext, *azstorage.StorageConnector) error
GetRegistration returns the registration function.
func (*EndpointConfig) GetService ¶
func (c *EndpointConfig) GetService() azservices.ServiceKind
GetService returns the service kind.
func (*EndpointConfig) GetStorageConnector ¶
func (c *EndpointConfig) GetStorageConnector() *azstorage.StorageConnector
GetStorageConnector returns the storage connector.
type Host ¶
type Host struct {
// contains filtered or unexported fields
}
Host represents the host.
func (*Host) GracefulStop ¶
GracefulStop stops the host.
type HostConfig ¶
type HostConfig struct {
// contains filtered or unexported fields
}
HostConfig represents the host configuration.
func NewHostConfig ¶
func NewHostConfig(host azservices.HostKind, hostable azservices.Hostable, storageConnector *azstorage.StorageConnector, services []azservices.ServiceKind, servicesFactories map[azservices.ServiceKind]azservices.ServiceFactoryProvider, logger *zap.Logger, appData string, ) (*HostConfig, error)
NewHostConfig creates a new host configuration.
func (*HostConfig) GetAppData ¶
func (h *HostConfig) GetAppData() string
GetAppData returns the app data.
func (*HostConfig) GetHostable ¶
func (h *HostConfig) GetHostable() azservices.Hostable
GetHostable returns the hostable.
func (*HostConfig) GetServicesFactories ¶
func (h *HostConfig) GetServicesFactories() map[azservices.ServiceKind]azservices.ServiceFactoryProvider
GetServicesFactories returns the services factories.
func (*HostConfig) GetStorageConnector ¶
func (h *HostConfig) GetStorageConnector() *azstorage.StorageConnector
GetStorageConnector returns the storage connector.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents the service.
func (*Service) GracefulStop ¶
GracefulStop stops the service.
type ServiceConfig ¶
type ServiceConfig struct {
// contains filtered or unexported fields
}
ServiceConfig represents the service configuration.
func (*ServiceConfig) GetHostable ¶
func (c *ServiceConfig) GetHostable() azservices.Hostable
GetHostable returns the hostable.
func (*ServiceConfig) GetServiceable ¶
func (c *ServiceConfig) GetServiceable() azservices.Serviceable
GetServiceable returns the serviceable.
func (*ServiceConfig) GetStorageConnector ¶
func (c *ServiceConfig) GetStorageConnector() *azstorage.StorageConnector
GetStorageConnector returns the storage connector.
Directories ¶
Path | Synopsis |
---|---|
Package aap for the applicative Account Administration Point components.
|
Package aap for the applicative Account Administration Point components. |
controllers
Package controllers implement the service controllers.
|
Package controllers implement the service controllers. |
endpoints/api/v1
Package v1 api version 1.
|
Package v1 api version 1. |
Package pap for the applicative Policy Administration Point components.
|
Package pap for the applicative Policy Administration Point components. |
controllers
Package controllers implement the service controllers.
|
Package controllers implement the service controllers. |
endpoints/api/v1
Package v1 api version 1.
|
Package v1 api version 1. |
Package pdp for the applicative Policy Decision Point components.
|
Package pdp for the applicative Policy Decision Point components. |
controllers
Package controllers implement the service controllers.
|
Package controllers implement the service controllers. |
endpoints/api/v1
Package v1 api version 1.
|
Package v1 api version 1. |