key

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AutomationServiceAccountName         = "automation"
	ClusterAdminClusterRoleName          = "cluster-admin"
	DefaultReadAllPermissionsName        = "read-all"
	DefaultWriteAllPermissionsName       = "write-all"
	DefaultNamespaceName                 = "default"
	FluxCRDRoleBindingName               = "flux-crd-controller"
	FluxReconcilerRoleBindingName        = "flux-namespace-reconciler"
	ReadClusterNamespaceAppsRoleBinding  = "read-cluster-apps"
	ReadClusterNamespaceAppsRole         = "read-cluster-apps-in-cluster-ns"
	ReadDefaultCatalogsRole              = "read-default-catalogs"
	ReadReleasesRole                     = "read-releases"
	UpstreamFluxCRDClusterRole           = "crd-controller"
	WriteClusterNamespaceAppsRoleBinding = "write-cluster-apps"
	WriteClusterNamespaceAppsRole        = "write-cluster-apps-in-cluster-ns"
	WriteOrganizationsPermissionsName    = "write-organizations"
	WriteFluxResourcesPermissionsName    = "write-flux-resources"
	WriteClustersPermissionsName         = "write-clusters"
	WriteNodePoolsPermissionsName        = "write-nodepools"
	WriteClientCertsPermissionsName      = "write-client-certificates"
	WriteSilencesPermissionsName         = "write-silences"
)
View Source
const (
	LabelManagedBy = "giantswarm.io/managed-by"
)

Variables

This section is empty.

Functions

func Cluster added in v0.22.0

func Cluster(getter label.LabelsGetter) string

func DefaultClusterRolesToDisplayInUI added in v0.11.0

func DefaultClusterRolesToDisplayInUI() []string

func IsOrgNamespace

func IsOrgNamespace(ns string) bool

func Organization added in v0.22.0

func Organization(getter label.LabelsGetter) string

func OrganizationName

func OrganizationName(ns string) string

func OrganizationReadClusterRoleBindingName added in v0.11.0

func OrganizationReadClusterRoleBindingName(roleBindingName, organization string) string

func OrganizationReadClusterRoleName

func OrganizationReadClusterRoleName(ns string) string

func OrganizationReadDefaultCatalogsRoleBindingName added in v0.22.0

func OrganizationReadDefaultCatalogsRoleBindingName(organization string) string

func OrganizationReadReleasesClusterRoleBindingName added in v0.22.0

func OrganizationReadReleasesClusterRoleBindingName(organization string) string

func ReadAllAutomationSAClusterRoleBindingName

func ReadAllAutomationSAClusterRoleBindingName() string

func ReadAllCustomerGroupClusterRoleBindingName

func ReadAllCustomerGroupClusterRoleBindingName() string

func WriteAllAutomationSARoleBindingName

func WriteAllAutomationSARoleBindingName() string

func WriteAllCustomerGroupRoleBindingName

func WriteAllCustomerGroupRoleBindingName() string

func WriteAllGSGroupClusterRoleBindingName

func WriteAllGSGroupClusterRoleBindingName() string

func WriteClientCertsAutomationSARoleBindingName added in v0.18.0

func WriteClientCertsAutomationSARoleBindingName() string

func WriteClustersAutomationSARoleBindingName added in v0.17.0

func WriteClustersAutomationSARoleBindingName() string

func WriteFluxResourcesAutomationSARoleBindingName added in v0.17.0

func WriteFluxResourcesAutomationSARoleBindingName() string

func WriteNodePoolsAutomationSARoleBindingName added in v0.17.0

func WriteNodePoolsAutomationSARoleBindingName() string

func WriteOrganizationsAutomationSARoleBindingName added in v0.16.0

func WriteOrganizationsAutomationSARoleBindingName() string

func WriteOrganizationsCustomerGroupClusterRoleBindingName added in v0.14.0

func WriteOrganizationsCustomerGroupClusterRoleBindingName() string

func WriteSilencesAutomationSARoleBindingName added in v0.18.2

func WriteSilencesAutomationSARoleBindingName() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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