rte

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 Imports: 12 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifests

type Manifests struct {
	ServiceAccount     *corev1.ServiceAccount
	Role               *rbacv1.Role
	RoleBinding        *rbacv1.RoleBinding
	ClusterRole        *rbacv1.ClusterRole
	ClusterRoleBinding *rbacv1.ClusterRoleBinding
	ConfigMap          *corev1.ConfigMap
	DaemonSet          *appsv1.DaemonSet

	// OpenShift related components
	MachineConfig             *machineconfigv1.MachineConfig
	SecurityContextConstraint *securityv1.SecurityContextConstraints
	// contains filtered or unexported fields
}

func GetManifests

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

func New added in v0.0.9

func New(plat platform.Platform) Manifests

func (Manifests) Clone

func (mf Manifests) Clone() 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

func (Manifests) Update

func (mf Manifests) Update(options UpdateOptions) Manifests

type UpdateOptions

type UpdateOptions struct {
	// DaemonSet options
	PullIfNotPresent bool
	NodeSelector     *metav1.LabelSelector

	// MachineConfig options
	MachineConfigPoolSelector *metav1.LabelSelector

	// Config Map options
	ConfigData string

	// General options
	Namespace string
	Name      string
}

Jump to

Keyboard shortcuts

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