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 2019 Red Hat, Inc. *
Index ¶
- Constants
- func AddFinalizer(kv *virtv1.KubeVirt)
- func IsOnOpenshift(clientset kubecli.KubevirtClient) (bool, error)
- func IsStoreEmpty(store cache.Store) bool
- func RemoveCondition(kv *virtv1.KubeVirt, conditionType virtv1.KubeVirtConditionType)
- func SetVersions(kv *virtv1.KubeVirt, config KubeVirtDeploymentConfig)
- func UpdateCondition(kv *virtv1.KubeVirt, conditionType virtv1.KubeVirtConditionType, ...)
- func UpdateScc(clientset kubecli.KubevirtClient, sccStore cache.Store, kv *virtv1.KubeVirt, ...) error
- type Expectations
- type Informers
- type KubeVirtDeploymentConfig
- type Stores
Constants ¶
View Source
const (
KubeVirtFinalizer string = "foregroundDeleteKubeVirt"
)
View Source
const (
// Name of env var containing the operator's image name
OperatorImageEnvName = "OPERATOR_IMAGE"
)
Variables ¶
This section is empty.
Functions ¶
func AddFinalizer ¶
func IsOnOpenshift ¶ added in v0.14.0
func IsOnOpenshift(clientset kubecli.KubevirtClient) (bool, error)
func IsStoreEmpty ¶
func RemoveCondition ¶ added in v0.14.0
func RemoveCondition(kv *virtv1.KubeVirt, conditionType virtv1.KubeVirtConditionType)
func SetVersions ¶
func SetVersions(kv *virtv1.KubeVirt, config KubeVirtDeploymentConfig)
func UpdateCondition ¶
func UpdateCondition(kv *virtv1.KubeVirt, conditionType virtv1.KubeVirtConditionType, status k8sv1.ConditionStatus, reason string, message string)
Types ¶
type Expectations ¶
type Expectations struct { ServiceAccount *controller.UIDTrackingControllerExpectations ClusterRole *controller.UIDTrackingControllerExpectations ClusterRoleBinding *controller.UIDTrackingControllerExpectations Role *controller.UIDTrackingControllerExpectations RoleBinding *controller.UIDTrackingControllerExpectations Crd *controller.UIDTrackingControllerExpectations Service *controller.UIDTrackingControllerExpectations Deployment *controller.UIDTrackingControllerExpectations DaemonSet *controller.UIDTrackingControllerExpectations }
func (*Expectations) DeleteExpectations ¶
func (e *Expectations) DeleteExpectations(key string)
func (*Expectations) ResetExpectations ¶
func (e *Expectations) ResetExpectations(key string)
func (*Expectations) SatisfiedExpectations ¶
func (e *Expectations) SatisfiedExpectations(key string) bool
type Informers ¶
type Informers struct { ServiceAccount cache.SharedIndexInformer ClusterRole cache.SharedIndexInformer ClusterRoleBinding cache.SharedIndexInformer Role cache.SharedIndexInformer RoleBinding cache.SharedIndexInformer Crd cache.SharedIndexInformer Service cache.SharedIndexInformer Deployment cache.SharedIndexInformer DaemonSet cache.SharedIndexInformer SCC cache.SharedIndexInformer }
type KubeVirtDeploymentConfig ¶
func GetConfig ¶
func GetConfig() KubeVirtDeploymentConfig
type Stores ¶
Click to show internal directories.
Click to hide internal directories.