mock

package
v0.0.0-...-9f2d684 Latest Latest
Warning

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

Go to latest
Published: May 23, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IngressSelector

type IngressSelector struct {
	Ingress   string `json:"ingress"`
	Namespace string `json:"namespace"`
}

type Mock

type Mock struct {
	ServiceDefinition ServiceDefinition `json:"serviceDefinition"`
	Watch             bool              `json:"watch"`
	Selector          IngressSelector   `json:"selector"`
	Host              string            `json:"host"`
	Definition        string            `json:"definition"`
	Name              string            `json:"name"`
}

type ServiceDefinition

type ServiceDefinition struct {
	Port        int            `json:"port"`
	ServiceType v1.ServiceType `json:"serviceType"`
}

Jump to

Keyboard shortcuts

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