rte

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 12 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfigMap added in v0.2.0

func CreateConfigMap(namespace, name, configData string) *corev1.ConfigMap

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, version platform.Version, 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) Render added in v0.2.0

func (mf Manifests) Render(options RenderOptions) (Manifests, error)

func (Manifests) ToCreatableObjects

func (mf Manifests) ToCreatableObjects(cli client.Client, log logr.Logger) []deployer.WaitableObject

func (Manifests) ToDeletableObjects

func (mf Manifests) ToDeletableObjects(cli client.Client, log logr.Logger) []deployer.WaitableObject

func (Manifests) ToObjects

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

type RenderOptions added in v0.2.0

type RenderOptions 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