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:b6906c6b4d783d0418db5ad7dad601129b7d99917edc7533999c960e6df828ec" LinuxBridgeMarkerImageDefault = "quay.io/kubevirt/bridge-marker@sha256:9d90a5bd051d71429b6d9fc34112081fe64c6d3fb02221e18ebe72d428d58092" KubeMacPoolImageDefault = "quay.io/kubevirt/kubemacpool@sha256:1bff4ffc22ffdd82be519666e3a771841196b53341a62edafda3669f3d9614d6" NMStateHandlerImageDefault = "quay.io/nmstate/kubernetes-nmstate-handler@sha256:ceae0f1c415afcb3d90d008b2a4905c9dfb93354797b6b231fa342aa43b3f44d" OvsCniImageDefault = "quay.io/kubevirt/ovs-cni-plugin@sha256:1e100c9584044c93c78020b4e4d037f26bbc8cc5b04e51c881ee5d7db5b117fe" OvsMarkerImageDefault = "quay.io/kubevirt/ovs-cni-marker@sha256:abf8d51df5904e7a01743524e75c8abdd41922f75fa0093e9fdd01fdfc22ac72" MacvtapCniImageDefault = "quay.io/kubevirt/macvtap-cni@sha256:e34cc796dee2e300f866d6f5b563361253ce89226eaf9eb0c3bc792f5481b8df" )
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.