rbac

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Copyright 2018 Red Hat, Inc. *

* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Copyright 2018 Red Hat, Inc. *

* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Copyright 2018 Red Hat, Inc. *

* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Copyright 2019 Red Hat, Inc. *

Index

Constants

View Source
const ApiServiceAccountName = "kubevirt-apiserver"
View Source
const ControllerServiceAccountName = "kubevirt-controller"
View Source
const HandlerServiceAccountName = "kubevirt-handler"
View Source
const MONITOR_SERVICEACCOUNT_NAME = "kubevirt-monitoring"
View Source
const OperatorServiceAccountName = "kubevirt-operator"

Variables

This section is empty.

Functions

func GetAllApiServer

func GetAllApiServer(namespace string) []runtime.Object

func GetAllCluster

func GetAllCluster() []runtime.Object

func GetAllController

func GetAllController(namespace string) []runtime.Object

func GetAllHandler

func GetAllHandler(namespace string) []runtime.Object

func GetAllOperator

func GetAllOperator(namespace string) []interface{}

Used for manifest generation only, not by the operator itself

func GetAllServiceMonitor

func GetAllServiceMonitor(namespace string, monitorNamespace string, monitorServiceAccount string) []runtime.Object

func GetKubevirtComponentsServiceAccounts

func GetKubevirtComponentsServiceAccounts(namespace string) map[string]bool

func NewOperatorClusterRole

func NewOperatorClusterRole() *rbacv1.ClusterRole

public, because it's used in manifest-templator

func NewOperatorRole

func NewOperatorRole(namespace string) *rbacv1.Role

NewOperatorRole creates a Role object for kubevirt-operator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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