rendering

package
v0.0.0-...-7a1337e Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateNamespace

func UpdateNamespace(u *unstructured.Unstructured) bool

UpdateNamespace checks for annotiation to update NS.

Types

type Renderer

type Renderer struct {
	// contains filtered or unexported fields
}

func NewRenderer

func NewRenderer() *Renderer

func (*Renderer) RenderClusterRole

func (r *Renderer) RenderClusterRole(
	res *resource.Resource,
	namespace string,
	labels map[string]string,
) (*unstructured.Unstructured, error)

func (*Renderer) RenderClusterRoleBinding

func (r *Renderer) RenderClusterRoleBinding(
	res *resource.Resource,
	namespace string,
	labels map[string]string,
) (*unstructured.Unstructured, error)

func (*Renderer) RenderDeployments

func (r *Renderer) RenderDeployments(
	res *resource.Resource,
	namespace string,
	labels map[string]string,
) (*unstructured.Unstructured, error)

func (*Renderer) RenderNamespace

func (r *Renderer) RenderNamespace(
	res *resource.Resource,
	namespace string,
	labels map[string]string,
) (*unstructured.Unstructured, error)

func (*Renderer) RenderTemplates

func (r *Renderer) RenderTemplates(
	templates []*resource.Resource,
	namespace string,
	labels map[string]string,
) ([]*unstructured.Unstructured, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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