consts

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const MainOrganizationName = "main"
View Source
const TenantHeader = "X-Scope-OrgID"

Variables

This section is empty.

Functions

This section is empty.

Types

type GrouPermission

type GrouPermission string
const (
	GroupPermissionCreate GrouPermission = "create"
	GroupPermissionEdit   GrouPermission = "edit"
	GroupPermissionDelete GrouPermission = "delete"
)

func (GrouPermission) String

func (p GrouPermission) String() string

type GroupRelation

type GroupRelation string
const (
	GroupRelationMembers GroupRelation = "members"
)

func (GroupRelation) String

func (r GroupRelation) String() string

type Namespace

type Namespace string
const (
	ObservabilityTenantNamespace Namespace = "ObservabilityTenant"
	UserNamespace                Namespace = "User"
	GroupNamespace               Namespace = "Group"
	OAuth2ClientNamespace        Namespace = "OAuth2Client"
	OrganizationNamespace        Namespace = "Organization"
)

func (Namespace) String

func (n Namespace) String() string

type OAuth2ClientPermission

type OAuth2ClientPermission string
const (
	OAuth2ClientPermissionLogin  OAuth2ClientPermission = "login"
	OAuth2ClientPermissionEdit   OAuth2ClientPermission = "edit"
	OAuth2ClientPermissionCreate OAuth2ClientPermission = "create"
	OAuth2ClientPermissionDelete OAuth2ClientPermission = "delete"
)

func (OAuth2ClientPermission) String

func (p OAuth2ClientPermission) String() string

type OAuth2ClientRelation

type OAuth2ClientRelation string
const (
	OAuth2ClientRelationLoginBindings OAuth2ClientRelation = "loginBindings"
)

func (OAuth2ClientRelation) String

func (r OAuth2ClientRelation) String() string

type ObjectRelation

type ObjectRelation string
const (
	ObjectRelationOrganizations ObjectRelation = "organizations"
)

func (ObjectRelation) String

func (r ObjectRelation) String() string

type ObservabilityTenantPermission

type ObservabilityTenantPermission string
const (
	ObservabilityTenantPermissionReadMetrics        ObservabilityTenantPermission = "read_metrics"
	ObservabilityTenantPermissionWriteMetrics       ObservabilityTenantPermission = "write_metrics"
	ObservabilityTenantPermissionDeleteMetrics      ObservabilityTenantPermission = "delete_metrics"
	ObservabilityTenantPermissionReadMetricsRules   ObservabilityTenantPermission = "read_metrics_rules"
	ObservabilityTenantPermissionWriteMetricsRules  ObservabilityTenantPermission = "write_metrics_rules"
	ObservabilityTenantPermissionDeleteMetricsRules ObservabilityTenantPermission = "delete_metrics_rules"
	ObservabilityTenantPermissionReadMetricsAlerts  ObservabilityTenantPermission = "read_metrics_alerts"
	ObservabilityTenantPermissionWriteMetricsAlerts ObservabilityTenantPermission = "write_metrics_alerts"
	ObservabilityTenantPermissionReadLogs           ObservabilityTenantPermission = "read_logs"
	ObservabilityTenantPermissionWriteLogs          ObservabilityTenantPermission = "write_logs"
	ObservabilityTenantPermissionDeleteLogs         ObservabilityTenantPermission = "delete_logs"
	ObservabilityTenantPermissionReadLogsRules      ObservabilityTenantPermission = "read_logs_rules"
	ObservabilityTenantPermissionWriteLogsRules     ObservabilityTenantPermission = "write_logs_rules"
	ObservabilityTenantPermissionDeleteLogsRules    ObservabilityTenantPermission = "delete_logs_rules"
	ObservabilityTenantPermissionReadTraces         ObservabilityTenantPermission = "read_traces"
	ObservabilityTenantPermissionWriteTraces        ObservabilityTenantPermission = "write_traces"
	ObservabilityTenantPermissionManage             ObservabilityTenantPermission = "manage"
	ObservabilityTenantPermissionDelete             ObservabilityTenantPermission = "delete"
	ObservabilityTenantPermissionCreate             ObservabilityTenantPermission = "create"
)

func ParseObservabilityTenantPermission

func ParseObservabilityTenantPermission(s string) (ObservabilityTenantPermission, error)

func (ObservabilityTenantPermission) GetRelation

func (ObservabilityTenantPermission) String

type ObservabilityTenantRelation

type ObservabilityTenantRelation string
const (
	ObservabilityTenantRelationMetricsReaders       ObservabilityTenantRelation = "metrics_readers"
	ObservabilityTenantRelationMetricsWriters       ObservabilityTenantRelation = "metrics_writers"
	ObservabilityTenantRelationMetricsDeleters      ObservabilityTenantRelation = "metrics_deleters"
	ObservabilityTenantRelationMetricsRulesReaders  ObservabilityTenantRelation = "metrics_rules_readers"
	ObservabilityTenantRelationMetricsRulesWriters  ObservabilityTenantRelation = "metrics_rules_writers"
	ObservabilityTenantRelationMetricsRulesDeleters ObservabilityTenantRelation = "metrics_rules_deleters"
	ObservabilityTenantRelationMetricsAlertsReaders ObservabilityTenantRelation = "metrics_alerts_readers"
	ObservabilityTenantRelationMetricsAlertsWriters ObservabilityTenantRelation = "metrics_alerts_writers"
	ObservabilityTenantRelationLogsReaders          ObservabilityTenantRelation = "logs_readers"
	ObservabilityTenantRelationLogsWriters          ObservabilityTenantRelation = "logs_writers"
	ObservabilityTenantRelationLogsDeleters         ObservabilityTenantRelation = "logs_deleters"
	ObservabilityTenantRelationLogsRulesReaders     ObservabilityTenantRelation = "logs_rules_readers"
	ObservabilityTenantRelationLogsRulesWriters     ObservabilityTenantRelation = "logs_rules_writers"
	ObservabilityTenantRelationLogsRulesDeleters    ObservabilityTenantRelation = "logs_rules_deleters"
	ObservabilityTenantRelationTracesReaders        ObservabilityTenantRelation = "traces_readers"
	ObservabilityTenantRelationTracesWriters        ObservabilityTenantRelation = "traces_writers"
	ObservabilityTenantRelationAdmins               ObservabilityTenantRelation = "admins"
)

func (ObservabilityTenantRelation) String

type OrganizationPermission

type OrganizationPermission string
const (
	OrganizationPermissionAdmin OrganizationPermission = "admin"
)

func (OrganizationPermission) String

func (p OrganizationPermission) String() string

type OrganizationRelation

type OrganizationRelation string
const (
	OrganizationRelationAdmins OrganizationRelation = "admins"
)

func (OrganizationRelation) String

func (r OrganizationRelation) String() string

type UserPermission

type UserPermission string
const (
	UserPermissionCreate UserPermission = "create"
	UserPermissionEdit   UserPermission = "edit"
	UserPermissionDelete UserPermission = "delete"
)

func (UserPermission) String

func (p UserPermission) String() string

Jump to

Keyboard shortcuts

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