Documentation
¶
Index ¶
- func AuthorizeForChart(ctx context.Context, u user.Info, authzer authorizer.Authorizer, verb string, ...) (passed bool, err error)
- func AuthorizeForChartGroup(ctx context.Context, u user.Info, authzer authorizer.Authorizer, verb string, ...) (passed bool, err error)
- func ConvertTKEAttributesForChart(ctx context.Context, u user.Info, verb string, cg registryv1.ChartGroup, ...) (in authorizer.Attributes, err error)
- func ConvertTKEAttributesForChartGroup(ctx context.Context, u user.Info, verb string, cg registryv1.ChartGroup) (in authorizer.Attributes, err error)
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.
Click to show internal directories.
Click to hide internal directories.