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
- func GetAllApiServer(namespace string) []runtime.Object
- func GetAllCluster() []runtime.Object
- func GetAllController(namespace string) []runtime.Object
- func GetAllExportProxy(namespace string) []runtime.Object
- func GetAllHandler(namespace string) []runtime.Object
- func GetAllOperator(namespace string) []interface{}
- func GetAllServiceMonitor(namespace string, monitorNamespace string, monitorServiceAccount string) []runtime.Object
- func GetKubevirtComponentsServiceAccounts(namespace string) map[string]bool
- func NewOperatorClusterRole() *rbacv1.ClusterRole
- func NewOperatorRole(namespace string) *rbacv1.Role
Constants ¶
const ( VersionName = "rbac.authorization.k8s.io" VersionNamev1 = "rbac.authorization.k8s.io/v1" GroupName = "kubevirt.io" )
const ( NameDefault = "kubevirt.io:default" ApiVersion = "version" ApiGuestFs = "guestfs" ApiExpandVmSpec = "expand-vm-spec" ApiKubevirts = "kubevirts" ApiVM = "virtualmachines" ApiVMInstances = "virtualmachineinstances" ApiVMIPresets = "virtualmachineinstancepresets" ApiVMIReplicasets = "virtualmachineinstancereplicasets" ApiVMIMigrations = "virtualmachineinstancemigrations" ApiVMSnapshots = "virtualmachinesnapshots" ApiVMSnapshotContents = "virtualmachinesnapshotcontents" ApiVMRestores = "virtualmachinerestores" ApiVMExports = "virtualmachineexports" ApiVMClones = "virtualmachineclones" ApiVMPools = "virtualmachinepools" ApiVMExpandSpec = "virtualmachines/expand-spec" ApiVMPortForward = "virtualmachines/portforward" ApiVMStart = "virtualmachines/start" ApiVMStop = "virtualmachines/stop" ApiVMRestart = "virtualmachines/restart" ApiVMAddVolume = "virtualmachines/addvolume" ApiVMRemoveVolume = "virtualmachines/removevolume" ApiVMMigrate = "virtualmachines/migrate" ApiVMMemoryDump = "virtualmachines/memorydump" ApiVMInstancesConsole = "virtualmachineinstances/console" ApiVMInstancesVNC = "virtualmachineinstances/vnc" ApiVMInstancesVNCScreenshot = "virtualmachineinstances/vnc/screenshot" ApiVMInstancesPortForward = "virtualmachineinstances/portforward" ApiVMInstancesPause = "virtualmachineinstances/pause" ApiVMInstancesUnpause = "virtualmachineinstances/unpause" ApiVMInstancesAddVolume = "virtualmachineinstances/addvolume" ApiVMInstancesRemoveVolume = "virtualmachineinstances/removevolume" ApiVMInstancesFreeze = "virtualmachineinstances/freeze" ApiVMInstancesUnfreeze = "virtualmachineinstances/unfreeze" ApiVMInstancesSoftReboot = "virtualmachineinstances/softreboot" ApiVMInstancesGuestOSInfo = "virtualmachineinstances/guestosinfo" ApiVMInstancesFileSysList = "virtualmachineinstances/filesystemlist" ApiVMInstancesUserList = "virtualmachineinstances/userlist" ApiVMInstancesSEVFetchCertChain = "virtualmachineinstances/sev/fetchcertchain" ApiVMInstancesSEVQueryLaunchMeasurement = "virtualmachineinstances/sev/querylaunchmeasurement" ApiVMInstancesSEVSetupSession = "virtualmachineinstances/sev/setupsession" ApiVMInstancesSEVInjectLaunchSecret = "virtualmachineinstances/sev/injectlaunchsecret" )
const ( GroupNameSecurity = "security.openshift.io" GroupNameRoute = "route.openshift.io" )
const ExportProxyServiceAccountName = "kubevirt-exportproxy"
const MONITOR_SERVICEACCOUNT_NAME = "kubevirt-monitoring"
Variables ¶
This section is empty.
Functions ¶
func GetAllApiServer ¶
func GetAllCluster ¶
func GetAllController ¶
func GetAllExportProxy ¶ added in v0.55.0
func GetAllHandler ¶
func GetAllOperator ¶
func GetAllOperator(namespace string) []interface{}
Used for manifest generation only, not by the operator itself
func GetAllServiceMonitor ¶
func NewOperatorClusterRole ¶
func NewOperatorClusterRole() *rbacv1.ClusterRole
public, because it's used in manifest-templator
func NewOperatorRole ¶
NewOperatorRole creates a Role object for kubevirt-operator.
Types ¶
This section is empty.