Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PermissionGroupSelector ¶
type PermissionGroupSelector struct {
Namespace string `json:"namespace,omitempty"`
Name string `json:"name,omitempty"`
}
+kubebuilder:object:generate=true
func (PermissionGroupSelector) Empty ¶
func (t PermissionGroupSelector) Empty() bool
type PermissionGroupSubjects ¶
type PermissionGroupSubjects struct {
Notifications []PermissionGroupSelector `json:"notifications,omitempty"`
People []string `json:"people,omitempty"`
Teams []string `json:"teams,omitempty"`
}
+kubebuilder:object:generate=true
type PermissionObject ¶
type PermissionObject struct {
Playbooks []types.ResourceSelector `json:"playbooks,omitempty"`
Configs []types.ResourceSelector `json:"configs,omitempty"`
Components []types.ResourceSelector `json:"components,omitempty"`
}
func (*PermissionObject) GlobalObject ¶
func (t *PermissionObject) GlobalObject() (string, bool)
GlobalObject checks if the object selector semantically maps to a global object and returns the corresponding global object if applicable. For example:
configs: - name: '*'
is interpreted as the object: catalog.
func (PermissionObject) RequiredMatchCount ¶
func (t PermissionObject) RequiredMatchCount() int
Click to show internal directories.
Click to hide internal directories.