role

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type CreateProjectRoleInput

type CreateProjectRoleInput struct {
	Project string   `json:"project" jsonschema:"Project name"`
	Name    string   `json:"name" jsonschema:"Role name"`
	Actions []string `json:"actions" jsonschema:"List of actions (e.g., read, create, update, delete)"`
	Scopes  []string `json:"scopes" jsonschema:"List of scopes (resource kinds the role applies to, must not be global scopes)"`
}

type DeleteProjectRoleInput

type DeleteProjectRoleInput struct {
	Project string `json:"project" jsonschema:"Project name"`
	Name    string `json:"name" jsonschema:"Role name to delete"`
}

type GetProjectRoleByNameInput

type GetProjectRoleByNameInput struct {
	Project string `json:"project" jsonschema:"Project name"`
	Name    string `json:"name" jsonschema:"Role name"`
}

type ProjectRoleInput

type ProjectRoleInput struct {
	Project string `json:"project" jsonschema:"Project name"`
}

type UpdateProjectRoleInput

type UpdateProjectRoleInput struct {
	Project string   `json:"project" jsonschema:"Project name"`
	Name    string   `json:"name" jsonschema:"Role name"`
	Actions []string `json:"actions" jsonschema:"List of actions (e.g., read, create, update, delete)"`
	Scopes  []string `json:"scopes" jsonschema:"List of scopes (resource kinds the role applies to, must not be global scopes)"`
}

Jump to

Keyboard shortcuts

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