pdp

package
v0.0.0-...-187538d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package pdp for the applicative Policy Decision Point components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PDPService

type PDPService struct {
	// contains filtered or unexported fields
}

PDPService holds the configuration for the server.

func NewPDPService

func NewPDPService(pdpServiceCfg *PDPServiceConfig) (*PDPService, error)

NewPDPService creates a new server configuration.

func (*PDPService) GetEndpoints

func (f *PDPService) GetEndpoints() ([]azservices.EndpointInitializer, error)

GetEndpoints returns the service kind.

func (*PDPService) GetService

func (f *PDPService) GetService() azservices.ServiceKind

GetService returns the service kind.

type PDPServiceConfig

type PDPServiceConfig struct {
	// contains filtered or unexported fields
}

PDPServiceConfig holds the configuration for the server.

func NewPDPServiceConfig

func NewPDPServiceConfig() (*PDPServiceConfig, error)

NewPDPServiceConfig creates a new server factory configuration.

func (*PDPServiceConfig) AddFlags

func (c *PDPServiceConfig) AddFlags(flagSet *flag.FlagSet) error

AddFlags adds flags.

func (*PDPServiceConfig) GetPort

func (c *PDPServiceConfig) GetPort() int

GetPort returns the port.

func (*PDPServiceConfig) GetService

func (c *PDPServiceConfig) GetService() azservices.ServiceKind

GetService returns the service kind.

func (*PDPServiceConfig) InitFromViper

func (c *PDPServiceConfig) InitFromViper(v *viper.Viper) error

InitFromViper initializes the configuration from viper.

type PDPServiceFactory

type PDPServiceFactory struct {
	// contains filtered or unexported fields
}

PDPServiceFactory holds the configuration for the server factory.

func NewPDPServiceFactory

func NewPDPServiceFactory(pdpServiceCfg *PDPServiceFactoryConfig) (*PDPServiceFactory, error)

NewPDPServiceFactory creates a new server factory configuration.

func (*PDPServiceFactory) Create

Create creates a new service.

type PDPServiceFactoryConfig

type PDPServiceFactoryConfig struct {
	// contains filtered or unexported fields
}

PDPServiceFactoryConfig holds the configuration for the server factory.

func NewPDPServiceFactoryConfig

func NewPDPServiceFactoryConfig() (*PDPServiceFactoryConfig, error)

NewPDPServiceFactoryConfig creates a new server factory configuration.

func (*PDPServiceFactoryConfig) AddFlags

func (c *PDPServiceFactoryConfig) AddFlags(flagSet *flag.FlagSet) error

AddFlags adds flags.

func (*PDPServiceFactoryConfig) InitFromViper

func (c *PDPServiceFactoryConfig) InitFromViper(v *viper.Viper) error

InitFromViper initializes the configuration from viper.

Directories

Path Synopsis
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL