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:109ee06aecc7bd2faba7e34bdc85123e6e132b5bdb1c41bc062749cb2af05548" KubeMacPoolImageDefault = "quay.io/kubevirt/kubemacpool@sha256:76fa87945610ea220612bf56da3ca67a5af183c8eef2c7218e31717cf0a23bd4" NMStateHandlerImageDefault = "quay.io/nmstate/kubernetes-nmstate-handler@sha256:356289c2cd74e72c910a281c8f662920f47facdb719fce09c855f4ab5708c266" OvsCniImageDefault = "quay.io/kubevirt/ovs-cni-plugin@sha256:cf669ca4967cd26c6629efa93b7426c8e1c65fa17d5ce59deaab1237a854d81b" OvsMarkerImageDefault = "quay.io/kubevirt/ovs-cni-marker@sha256:c09f882c64ee6449e13ff8b0a249d1dc4653d7d94a97f5ebee61de2d3ce9d5e8" 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.