components

package
v0.42.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2020 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

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:79c4534d418c4a350a663e38499c22d54dc68c400f517aead4479f6d862b408e"
	NMStateHandlerImageDefault    = "quay.io/nmstate/kubernetes-nmstate-handler@sha256:3feeb377a4a89caf37fdab45d13f93620e1cf5ff8cbc91aa19ae32cd5cfa3a32"
	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:407f75760fc096666becfa45d94f51757ebbe8f382e9e7b57ceeded0b8cfb6b8"
)

Variables

This section is empty.

Functions

func GetCRV1 added in v0.41.0

func GetCRV1() *cnaov1.NetworkAddonsConfig

func GetClusterRole

func GetClusterRole() *rbacv1.ClusterRole

func GetDeployment

func GetDeployment(version string, operatorVersion string, namespace string, repository string, imageName string, tag string, imagePullPolicy string, addonsImages *AddonsImages) *appsv1.Deployment

func GetRole

func GetRole(namespace string) *rbacv1.Role

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

type RelatedImage struct {
	Name string
	Ref  string
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL