Documentation ¶
Index ¶
- func Backend(name string, port intstr.IntOrString) *extensions.IngressBackend
- func DecodeIngress(data []byte) (*extensions.Ingress, error)
- func NewBackendConfig(name types.NamespacedName, spec backendconfig.BackendConfigSpec) *backendconfig.BackendConfig
- func NewIngress(name types.NamespacedName, spec extensions.IngressSpec) *extensions.Ingress
- func NewService(name types.NamespacedName, spec api_v1.ServiceSpec) *api_v1.Service
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 ¶
func NewBackendConfig(name types.NamespacedName, spec backendconfig.BackendConfigSpec) *backendconfig.BackendConfig
NewBackendConfig returns a BackendConfig with the given spec.
func NewIngress ¶
func NewIngress(name types.NamespacedName, spec extensions.IngressSpec) *extensions.Ingress
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.
Click to show internal directories.
Click to hide internal directories.