Documentation ¶
Index ¶
- Constants
- func GetCRV1() *cnaov1.NetworkAddonsConfig
- func GetClusterRole() *rbacv1.ClusterRole
- func GetCrd() *extv1.CustomResourceDefinition
- func GetDeployment(version string, operatorVersion string, namespace string, repository string, ...) *appsv1.Deployment
- func GetRole(namespace string) *rbacv1.Role
- type AddonsImages
- type RelatedImage
- type RelatedImages
Constants ¶
View Source
const ( Name = "cluster-network-addons-operator" Namespace = "cluster-network-addons" )
View Source
const ( MultusImageDefault = "quay.io/kubevirt/cluster-network-addon-multus@sha256:32867c73cda4d605651b898dc85fea67d93191c47f27e1ad9e9f2b9041c518de" LinuxBridgeCniImageDefault = "quay.io/kubevirt/cni-default-plugins@sha256:5d9442c26f8750d44f97175f36dbd74bef503f782b9adefcfd08215d065c437a" LinuxBridgeMarkerImageDefault = "quay.io/kubevirt/bridge-marker@sha256:9d90a5bd051d71429b6d9fc34112081fe64c6d3fb02221e18ebe72d428d58092" KubeMacPoolImageDefault = "quay.io/kubevirt/kubemacpool@sha256:0a17307e05176451491f9eb88a8e4be341959906e6565a62e62f4bf37b0dad42" NMStateHandlerImageDefault = "quay.io/nmstate/kubernetes-nmstate-handler@sha256:8c2a6b9bede93f8960a5b4bd33194e4cf1cc9d7f8a1cf2e0108016ef9d17d4e1" OvsCniImageDefault = "quay.io/kubevirt/ovs-cni-plugin@sha256:fd766d39f74528f94978b116908e9b86cbdfea30a53493043405c08d9d1e6527" OvsMarkerImageDefault = "quay.io/kubevirt/ovs-cni-marker@sha256:6d506c66a779827659709d1c7253f96f3ad493e5fff23b549942a537f6304be4" MacvtapCniImageDefault = "quay.io/kubevirt/macvtap-cni@sha256:961f1d1079840fa657f2e115835afdf5d0c7520623bbc302e46f2b67e36f8349" )
Variables ¶
This section is empty.
Functions ¶
func GetCRV1 ¶ added in v0.41.0
func GetCRV1() *cnaov1.NetworkAddonsConfig
func GetClusterRole ¶
func GetClusterRole() *rbacv1.ClusterRole
func GetCrd ¶
func GetCrd() *extv1.CustomResourceDefinition
func GetDeployment ¶
func GetDeployment(version string, operatorVersion string, namespace string, repository string, imageName string, tag string, imagePullPolicy string, addonsImages *AddonsImages) *appsv1.Deployment
Types ¶
type AddonsImages ¶ added in v0.41.0
type AddonsImages struct { Multus string LinuxBridgeCni string LinuxBridgeMarker string KubeMacPool string NMStateHandler string OvsCni string OvsMarker string MacvtapCni string }
func (*AddonsImages) FillDefaults ¶ added in v0.41.0
func (ai *AddonsImages) FillDefaults() *AddonsImages
func (AddonsImages) ToRelatedImages ¶ added in v0.41.0
func (ai AddonsImages) ToRelatedImages() RelatedImages
type RelatedImage ¶ added in v0.41.0
func NewRelatedImage ¶ added in v0.41.0
func NewRelatedImage(image string) RelatedImage
type RelatedImages ¶ added in v0.41.0
type RelatedImages []RelatedImage
func NewRelatedImages ¶ added in v0.41.0
func NewRelatedImages(images ...string) RelatedImages
func (*RelatedImages) Add ¶ added in v0.41.0
func (ris *RelatedImages) Add(image string)
Click to show internal directories.
Click to hide internal directories.