serviceaccounts

package
v0.0.0-test Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionRead   = "serviceaccounts:read"
	ActionWrite  = "serviceaccounts:write"
	ActionCreate = "serviceaccounts:create"
	ActionDelete = "serviceaccounts:delete"
)

Variables

View Source
var (
	ScopeAll = "serviceaccounts:*"
	ScopeID  = accesscontrol.Scope("serviceaccounts", "id", accesscontrol.Parameter(":serviceaccountId"))
)
View Source
var (
	ErrServiceAccountNotFound = errors.New("Service account not found")
)

Functions

This section is empty.

Types

type Service

type Service interface {
	DeleteServiceAccount(ctx context.Context, orgID, serviceAccountID int64) error
}

type Store

type Store interface {
	DeleteServiceAccount(ctx context.Context, orgID, serviceAccountID int64) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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