Documentation ¶
Index ¶
- Constants
- func GetCRV1() *cnaov1.NetworkAddonsConfig
- func GetClusterRole() *rbacv1.ClusterRole
- func GetCrd() *extv1beta1.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 = "nfvpe/multus@sha256:167722b954355361bd69829466f27172b871dbdbf86b85a95816362885dc0aba" LinuxBridgeCniImageDefault = "quay.io/kubevirt/cni-default-plugins@sha256:3dd438117076016d6d2acd508b93f106ca80a28c0af6e2e914d812f9a1d55142" LinuxBridgeMarkerImageDefault = "quay.io/kubevirt/bridge-marker@sha256:e55f73526468fee46a35ae41aa860f492d208b8a7a132832c5b9a76d4a51566a" KubeMacPoolImageDefault = "quay.io/kubevirt/kubemacpool@sha256:ad8ca6d379d495804969ba4d03da9a6936ff8f413f6f6c7bd20e0138dc0303c4" NMStateHandlerImageDefault = "quay.io/nmstate/kubernetes-nmstate-handler@sha256:76cc13fb4a60943dca6038619599b6a49fe451852aba23ad3046658429a9af30" OvsCniImageDefault = "quay.io/kubevirt/ovs-cni-plugin@sha256:4101c52617efb54a45181548c257a08e3689f634b79b9dfcff42bffd8b25af53" OvsMarkerImageDefault = "quay.io/kubevirt/ovs-cni-marker@sha256:0f08d6b1550a90c9f10221f2bb07709d1090e7c675ee1a711981bd429074d620" MacvtapCniImageDefault = "quay.io/kubevirt/macvtap-cni@sha256:2606ac545cc69af5766d929bd82f86df5098a5e1c8ac26cfd2cdf99c46da8067" )
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() *extv1beta1.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.