riofile

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render added in v0.4.0

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

func RenderObject added in v0.4.0

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

func Update added in v0.4.0

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
	CRD              []v1beta1.CustomResourceDefinition
}

func Parse

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

func (*Riofile) Objects

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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