nfd

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifests

type Manifests struct {
	Namespace *corev1.Namespace
	// master objects
	SAMaster  *corev1.ServiceAccount
	CRMaster  *rbacv1.ClusterRole
	CRBMaster *rbacv1.ClusterRoleBinding
	DPMaster  *appsv1.Deployment
	SVMaster  *corev1.Service

	// topology-updater objects
	SATopologyUpdater  *corev1.ServiceAccount
	CRTopologyUpdater  *rbacv1.ClusterRole
	CRBTopologyUpdater *rbacv1.ClusterRoleBinding
	DSTopologyUpdater  *appsv1.DaemonSet
	// contains filtered or unexported fields
}

func GetManifests

func GetManifests(plat platform.Platform, namespace string) (Manifests, error)

func New

func New(plat platform.Platform) Manifests

func (Manifests) Clone

func (mf Manifests) Clone() Manifests

func (Manifests) Render

func (mf Manifests) Render(options RenderOptions) Manifests

func (Manifests) ToCreatableObjects

func (mf Manifests) ToCreatableObjects(hp *deployer.Helper, log tlog.Logger) []deployer.WaitableObject

func (Manifests) ToDeletableObjects

func (mf Manifests) ToDeletableObjects(hp *deployer.Helper, log tlog.Logger) []deployer.WaitableObject

func (Manifests) ToObjects

func (mf Manifests) ToObjects() []client.Object

type RenderOptions

type RenderOptions struct {
	PullIfNotPresent bool
	// DaemonSet option
	NodeSelector *metav1.LabelSelector
	// Deployment option
	Replicas int32

	// General options
	Namespace string
}

Jump to

Keyboard shortcuts

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