service

package
v0.0.0-...-0c3390c Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExposeOptions

type ExposeOptions struct {
	Protocol   string
	Address    string
	Port       int
	TargetPort int
	Headless   bool
}

type Headless

type Headless struct {
	Name       string `json:"name"`
	Size       int    `json:"size"`
	TargetPort int    `json:"targetPort,omitempty"`
}

type Service

type Service struct {
	Address  string          `json:"address"`
	Protocol string          `json:"protocol"`
	Port     int             `json:"port"`
	Headless *Headless       `json:"headles,omitempty"`
	Targets  []ServiceTarget `json:"targets,omitempty"`
}

type ServiceTarget

type ServiceTarget struct {
	Name       string `json:"name"`
	Selector   string `json:"selector"`
	TargetPort int    `json:"targetPort,omitempty"`
}

Jump to

Keyboard shortcuts

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