provider

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module(c *di.Container)

Types

type Provider

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

func New

func New(
	aclRepo db_acl.ACLRepository,
	codebaseUserDB db_codebase.CodebaseUserRepository,
	usersDB db_user.Repository,
) *Provider

func (*Provider) GetByCodebaseID

func (p *Provider) GetByCodebaseID(ctx context.Context, codebaseID string) (acl.ACL, error)

func (*Provider) Update

func (p *Provider) Update(ctx context.Context, a acl.ACL) error

Jump to

Keyboard shortcuts

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