approval

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPolicyNotFound                 = errors.New("policy not found")
	ErrDependencyApprovalStepNotFound = errors.New("unable to resolve approval step dependency")
	ErrApprovalStepConditionNotFound  = errors.New("unable to resolve designated condition")
	ErrNilResourceInAppeal            = errors.New("unable to resolve resource from the appeal")
	ErrInvalidConditionField          = errors.New("invalid condition field")
)

Functions

func NewRepository

func NewRepository(db *gorm.DB) *repository

func NewService

func NewService(
	ar domain.ApprovalRepository,
	ps domain.PolicyService,
) *service

Types

This section is empty.

Jump to

Keyboard shortcuts

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