pap

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 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

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.

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