Documentation ¶
Index ¶
- Variables
- func CreateRoleBinding(cache *rc.ObjectCache, ident rc.ResourceIdent, nn types.NamespacedName, ...) error
- func CreateServiceAccount(cache *rc.ObjectCache, ident rc.ResourceIdent, nn types.NamespacedName, ...) error
- func GetServiceAccount(c *providers.Provider) (providers.ClowderProvider, error)
- func NewServiceAccountProvider(p *providers.Provider) (providers.ClowderProvider, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var CoreAppServiceAccount = rc.NewSingleResourceIdent(ProvName, "core_app_service_account", &core.ServiceAccount{})
CoreAppServiceAccount is the serviceaccount for the apps.
View Source
var CoreDeploymentRoleBinding = rc.NewMultiResourceIdent(ProvName, "core_deployment_role_binding", &rbac.RoleBinding{})
CoreDeploymentRoleBinding is the rolebinding for the apps.
View Source
var CoreDeploymentServiceAccount = rc.NewMultiResourceIdent(ProvName, "core_deployment_service_account", &core.ServiceAccount{})
CoreDeploymentServiceAccount is the serviceaccount for the apps.
View Source
var CoreEnvServiceAccount = rc.NewSingleResourceIdent(ProvName, "core_env_service_account", &core.ServiceAccount{})
CoreEnvServiceAccount is the serviceaccount for the env.
View Source
var IQERoleBinding = rc.NewMultiResourceIdent(ProvName, "iqe_role_binding", &rbac.RoleBinding{})
IQERoleBinding is the reolbinding for the env.
View Source
var IQEServiceAccount = rc.NewMultiResourceIdent(ProvName, "iqe_service_account", &core.ServiceAccount{})
IQEServiceAccount is the serviceaccount for the iqe testing.
View Source
var ProvName = "serviceaccount"
ProvName sets the provider name identifier
Functions ¶
func CreateRoleBinding ¶
func CreateRoleBinding(cache *rc.ObjectCache, ident rc.ResourceIdent, nn types.NamespacedName, labeler func(v1.Object), accessLevel crd.K8sAccessLevel) error
func CreateServiceAccount ¶
func CreateServiceAccount(cache *rc.ObjectCache, ident rc.ResourceIdent, nn types.NamespacedName, labeler func(v1.Object)) error
func GetServiceAccount ¶
func GetServiceAccount(c *providers.Provider) (providers.ClowderProvider, error)
GetEnd returns the correct end provider.
func NewServiceAccountProvider ¶
func NewServiceAccountProvider(p *providers.Provider) (providers.ClowderProvider, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.