Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObjToYaml

func ObjToYaml(obj runtime.Object, format string) (string, error)

func Render

func Render(objects []runtime.Object) ([]byte, error)

func RenderObject

func RenderObject(object runtime.Object) ([]byte, error)

func Update

func Update(originalObj runtime.Object, bytes []byte) (runtime.Object, error)

Types

type Riofile

type Riofile struct {
	Services         map[string]riov1.Service
	Configs          map[string]v1.ConfigMap
	Routers          map[string]riov1.Router
	ExternalServices map[string]riov1.ExternalService
	Kubernetes       []runtime.Object
}

func Parse

func Parse(contents []byte, answers template.AnswerCallback) (*Riofile, error)

Parse converts a textfile into a Riofile struct

func (*Riofile) Objects

func (r *Riofile) Objects() (result []runtime.Object)

Source Files

Directories

Path Synopsis
mappers
schema
stringers