Documentation
¶
Overview ¶
Package gitops provides functionality to manage RBAC configuration via a Git repository.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateRBACRepo ¶
UpdateRBACRepo clones the remote repo, adds the new user/org, and pushes changes.
Types ¶
type Config ¶
type Config struct {
Orgs []Org `yaml:"orgs,omitempty"`
Users []User `yaml:"users"`
Roles []Role `yaml:"roles,omitempty"`
}
Config represents the local structure for RBAC YAML parsing.
type Org ¶
type Org struct {
Name string `yaml:"name"`
DisplayName string `yaml:"display_name,omitempty"`
Description string `yaml:"description,omitempty"`
Metadata map[string]string `yaml:"metadata,omitempty"`
Members []Member `yaml:"members,omitempty"`
}
Org represents an organization structure in the YAML config.
Click to show internal directories.
Click to hide internal directories.