project

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 7 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

func AddGroupToRole added in v0.11.0

func AddGroupToRole(p *v1alpha1.AppProject, roleName, group string) (bool, error)

AddGroupToRole adds an OIDC group to a role

func GetJWTToken added in v0.11.0

func GetJWTToken(proj *v1alpha1.AppProject, roleName string, issuedAt int64) (*v1alpha1.JWTToken, int, error)

GetJWTToken looks up the index of a JWTToken in a project by the issue at time

func GetRoleByName added in v0.11.0

func GetRoleByName(proj *v1alpha1.AppProject, name string) (*v1alpha1.ProjectRole, int, error)

GetRoleByName returns the role in a project by the name with its index

func NormalizePolicies added in v0.11.0

func NormalizePolicies(p *v1alpha1.AppProject)

NormalizePolicies normalizes the policies in the project

func RemoveGroupFromRole added in v0.11.0

func RemoveGroupFromRole(p *v1alpha1.AppProject, roleName, group string) (bool, error)

RemoveGroupFromRole removes an OIDC group from a role

func ValidateProject added in v0.11.0

func ValidateProject(p *v1alpha1.AppProject) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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