authentication

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizeForChart

func AuthorizeForChart(ctx context.Context, u user.Info, authzer authorizer.Authorizer, verb string, cg registryv1.ChartGroup, chartName string) (passed bool, err error)

AuthorizeForChart check if chart resource is authorized

func AuthorizeForChartGroup

func AuthorizeForChartGroup(ctx context.Context, u user.Info, authzer authorizer.Authorizer, verb string, cg registryv1.ChartGroup) (passed bool, err error)

AuthorizeForChartGroup check if chartgroup resource is authorized

func ConvertTKEAttributesForChart

func ConvertTKEAttributesForChart(ctx context.Context, u user.Info, verb string, cg registryv1.ChartGroup, chartName string) (in authorizer.Attributes, err error)

ConvertTKEAttributesForChart combines the API object information and the user.Info from the context to build a full authorizer.AttributesRecord for resource access.

func ConvertTKEAttributesForChartGroup

func ConvertTKEAttributesForChartGroup(ctx context.Context, u user.Info, verb string, cg registryv1.ChartGroup) (in authorizer.Attributes, err error)

ConvertTKEAttributesForChartGroup combines the API object information and the user.Info from the context to build a full authorizer.AttributesRecord for resource access.

Types

This section is empty.

Jump to

Keyboard shortcuts

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