test

package
v3.9.0-alpha.4+incompa... Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

README

The test data in this folder is used to test the graph API

The test files should contain data as it was returned from the API, and is used to mock API responses

It is not expected to be able to be loaded into the API, since it contains generated values, like allocated service clusterIP

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildGraph

func BuildGraph(path string) (osgraph.Graph, []runtime.Object, error)

func EnsureNode

func EnsureNode(g osgraph.Graph, obj interface{}) error

func RegisterEnsureNode

func RegisterEnsureNode(containedType, ensureFunction interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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