Documentation ¶
Overview ¶
Package pap for the applicative Policy Administration Point components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PAPService ¶
type PAPService struct {
// contains filtered or unexported fields
}
PAPService holds the configuration for the server.
func NewPAPService ¶
func NewPAPService(papServiceCfg *PAPServiceConfig) (*PAPService, error)
NewPAPService creates a new server configuration.
func (*PAPService) GetEndpoints ¶
func (f *PAPService) GetEndpoints() ([]azservices.EndpointInitializer, error)
GetEndpoints returns the service kind.
func (*PAPService) GetService ¶
func (f *PAPService) GetService() azservices.ServiceKind
GetService returns the service kind.
type PAPServiceConfig ¶
type PAPServiceConfig struct {
// contains filtered or unexported fields
}
PAPServiceConfig holds the configuration for the server.
func NewPAPServiceConfig ¶
func NewPAPServiceConfig() (*PAPServiceConfig, error)
NewPAPServiceConfig creates a new server factory configuration.
func (*PAPServiceConfig) AddFlags ¶
func (c *PAPServiceConfig) AddFlags(flagSet *flag.FlagSet) error
AddFlags adds flags.
func (*PAPServiceConfig) GetPort ¶
func (c *PAPServiceConfig) GetPort() int
GetPort returns the port.
func (*PAPServiceConfig) GetService ¶
func (c *PAPServiceConfig) GetService() azservices.ServiceKind
GetService returns the service kind.
func (*PAPServiceConfig) InitFromViper ¶
func (c *PAPServiceConfig) InitFromViper(v *viper.Viper) error
InitFromViper initializes the configuration from viper.
type PAPServiceFactory ¶
type PAPServiceFactory struct {
// contains filtered or unexported fields
}
PAPServiceFactory holds the configuration for the server factory.
func NewPAPServiceFactory ¶
func NewPAPServiceFactory(papServiceCfg *PAPServiceFactoryConfig) (*PAPServiceFactory, error)
NewPAPServiceFactory creates a new server factory configuration.
func (*PAPServiceFactory) Create ¶
func (f *PAPServiceFactory) Create() (azservices.Serviceable, error)
Create creates a new service.
type PAPServiceFactoryConfig ¶
type PAPServiceFactoryConfig struct {
// contains filtered or unexported fields
}
PAPServiceFactoryConfig holds the configuration for the server factory.
func NewPAPServiceFactoryConfig ¶
func NewPAPServiceFactoryConfig() (*PAPServiceFactoryConfig, error)
NewPAPServiceFactoryConfig creates a new server factory configuration.
func (*PAPServiceFactoryConfig) AddFlags ¶
func (c *PAPServiceFactoryConfig) AddFlags(flagSet *flag.FlagSet) error
AddFlags adds flags.
func (*PAPServiceFactoryConfig) InitFromViper ¶
func (c *PAPServiceFactoryConfig) InitFromViper(v *viper.Viper) error
InitFromViper initializes the configuration from viper.