components

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

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 2019 Red Hat, Inc. *

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddVersionSeparatorPrefix added in v0.20.0

func AddVersionSeparatorPrefix(version string) string

func GetAllSCC added in v0.20.0

func GetAllSCC(namespace string) []*secv1.SecurityContextConstraints

func NewApiServerDeployment

func NewApiServerDeployment(namespace string, repository string, imagePrefix string, version string, pullPolicy corev1.PullPolicy, verbosity string) (*appsv1.Deployment, error)

func NewApiServerService

func NewApiServerService(namespace string) *corev1.Service

func NewControllerDeployment

func NewControllerDeployment(namespace string, repository string, imagePrefix string, controllerVersion string, launcherVersion string, pullPolicy corev1.PullPolicy, verbosity string) (*appsv1.Deployment, error)

func NewHandlerDaemonSet

func NewHandlerDaemonSet(namespace string, repository string, imagePrefix string, version string, pullPolicy corev1.PullPolicy, verbosity string) (*appsv1.DaemonSet, error)

func NewKubeVirtCR

func NewKubeVirtCR(namespace string, pullPolicy corev1.PullPolicy) *virtv1.KubeVirt

Used by manifest generation

func NewKubeVirtControllerSCC added in v0.20.0

func NewKubeVirtControllerSCC(namespace string) *secv1.SecurityContextConstraints

func NewKubeVirtCrd

func NewKubeVirtCrd() *extv1beta1.CustomResourceDefinition

Used by manifest generation If you change something here, you probably need to change the CSV manifest too, see /manifests/release/kubevirt.VERSION.csv.yaml.in

func NewKubeVirtHandlerSCC added in v0.20.0

func NewKubeVirtHandlerSCC(namespace string) *secv1.SecurityContextConstraints

func NewOperatorDeployment added in v0.16.0

func NewOperatorDeployment(namespace string, repository string, imagePrefix string, version string,
	pullPolicy corev1.PullPolicy, verbosity string,
	kubeVirtVersionEnv string, virtApiShaEnv string, virtControllerShaEnv string,
	virtHandlerShaEnv string, virtLauncherShaEnv string) (*appsv1.Deployment, error)

Used for manifest generation only

func NewPodDisruptionBudgetForDeployment added in v0.20.0

func NewPodDisruptionBudgetForDeployment(deployment *appsv1.Deployment) *v1beta1.PodDisruptionBudget

func NewPrometheusService

func NewPrometheusService(namespace string) *corev1.Service

func NewReplicaSetCrd

func NewReplicaSetCrd() *extv1beta1.CustomResourceDefinition

func NewServiceMonitorCR added in v0.20.6

func NewServiceMonitorCR(namespace string, monitorNamespace string, insecureSkipVerify bool) *promv1.ServiceMonitor

func NewVirtualMachineCrd

func NewVirtualMachineCrd() *extv1beta1.CustomResourceDefinition

func NewVirtualMachineInstanceCrd

func NewVirtualMachineInstanceCrd() *extv1beta1.CustomResourceDefinition

func NewVirtualMachineInstanceMigrationCrd

func NewVirtualMachineInstanceMigrationCrd() *extv1beta1.CustomResourceDefinition

Types

This section is empty.

Jump to

Keyboard shortcuts

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