test

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backend

func Backend(name string, port intstr.IntOrString) *extensions.IngressBackend

Backend returns an IngressBackend with the given service name/port.

func DecodeIngress

func DecodeIngress(data []byte) (*extensions.Ingress, error)

DecodeIngress deserializes an Ingress object.

func NewBackendConfig

NewBackendConfig returns a BackendConfig with the given spec.

func NewIngress

NewIngress returns an Ingress with the given spec.

func NewService

func NewService(name types.NamespacedName, spec api_v1.ServiceSpec) *api_v1.Service

NewService returns a Service with the given spec.

Types

This section is empty.

Jump to

Keyboard shortcuts

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