Documentation ¶
Index ¶
- Constants
- func CCMConfigMap(ns string) *corev1.ConfigMap
- func CCMContainer() *corev1.Container
- func CCMDeployment(ns string) *appsv1.Deployment
- func CCMRole(ns string) *rbacv1.Role
- func CCMRoleBinding(ns string) *rbacv1.RoleBinding
- func CCMServiceAccount(ns string) *corev1.ServiceAccount
- func ReconcileCCMRole(role *rbacv1.Role, ownerRef config.OwnerRef) error
- func ReconcileCCMRoleBinding(roleBinding *rbacv1.RoleBinding, ownerRef config.OwnerRef, ...) error
- func ReconcileCCMServiceAccount(sa *corev1.ServiceAccount, ownerRef config.OwnerRef) error
- func ReconcileCloudConfig(cm *corev1.ConfigMap, hcp *hyperv1.HostedControlPlane) error
- func ReconcileDeployment(deployment *appsv1.Deployment, hcp *hyperv1.HostedControlPlane, ...) error
- type CloudConfig
- type InstancesV2Config
- type LoadBalancerConfig
Constants ¶
View Source
const (
CloudConfigKey = "cloud-config"
)
Variables ¶
This section is empty.
Functions ¶
func CCMConfigMap ¶
func CCMContainer ¶
func CCMDeployment ¶
func CCMDeployment(ns string) *appsv1.Deployment
func CCMRoleBinding ¶
func CCMRoleBinding(ns string) *rbacv1.RoleBinding
func CCMServiceAccount ¶
func CCMServiceAccount(ns string) *corev1.ServiceAccount
func ReconcileCCMRoleBinding ¶
func ReconcileCCMRoleBinding(roleBinding *rbacv1.RoleBinding, ownerRef config.OwnerRef, sa *corev1.ServiceAccount, role *rbacv1.Role) error
func ReconcileCCMServiceAccount ¶
func ReconcileCCMServiceAccount(sa *corev1.ServiceAccount, ownerRef config.OwnerRef) error
func ReconcileCloudConfig ¶
func ReconcileCloudConfig(cm *corev1.ConfigMap, hcp *hyperv1.HostedControlPlane) error
func ReconcileDeployment ¶
func ReconcileDeployment(deployment *appsv1.Deployment, hcp *hyperv1.HostedControlPlane, serviceAccountName string, releaseImage *releaseinfo.ReleaseImage) error
Types ¶
type CloudConfig ¶
type CloudConfig struct { Kubeconfig string `yaml:"kubeconfig"` LoadBalancer LoadBalancerConfig `yaml:"loadBalancer"` InstancesV2 InstancesV2Config `yaml:"instancesV2"` Namespace string `yaml:"namespace"` }
Cloud Config is a copy of the relevant subset of the upstream type at https://github.com/kubevirt/cloud-provider-kubevirt/blob/main/pkg/provider/cloud.go
type InstancesV2Config ¶
type LoadBalancerConfig ¶
Click to show internal directories.
Click to hide internal directories.