service

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServicesFactory

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

ServicesFactory provides access to all service instances

func NewServiceFactory

func NewServiceFactory(
	diskStorage *storage.Storage,
	metadataManager *metadata.Manager,
	engine *policyEngine.Engine,
	authenticator *auth.Authenticator,
) *ServicesFactory

NewServiceFactory creates a new service factory with dependency injection

func (*ServicesFactory) Authenticator

func (f *ServicesFactory) Authenticator() *auth.Authenticator

Authenticator returns the authenticator service

func (*ServicesFactory) Group

func (f *ServicesFactory) Group() *group.Service

Group returns the group service

func (*ServicesFactory) Observation

func (f *ServicesFactory) Observation() *observation.Service

Observation returns the policy observation service (simulation + effective permissions).

func (*ServicesFactory) Policy

func (f *ServicesFactory) Policy() *policy.Service

Policy returns the policy service

func (*ServicesFactory) PolicyEngine

func (f *ServicesFactory) PolicyEngine() *policyEngine.Engine

PolicyEngine returns the policy evaluation engine.

func (*ServicesFactory) S3

func (f *ServicesFactory) S3() *s3.Service

S3 returns the S3 service (buckets and objects)

func (*ServicesFactory) ServiceAccount

func (f *ServicesFactory) ServiceAccount() *serviceaccount.Service

ServiceAccount returns the service account service

func (*ServicesFactory) User

func (f *ServicesFactory) User() *user.Service

User returns the user service

Directories

Path Synopsis
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package observation provides policy simulation and effective-permission evaluation.
Package observation provides policy simulation and effective-permission evaluation.
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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