models

package
v0.0.0-...-2f66ebe Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeTunnelResource

type KubeTunnelResource struct {
	metav1.TypeMeta
	Metadata metav1.ObjectMeta      `json:"metadata" yaml:"metadata"`
	Spec     KubeTunnelResourceSpec `json:"spec" yaml:"spec"`
}

type KubeTunnelResourceSpec

type KubeTunnelResourceSpec struct {
	Ports       Ports             `json:"env_ports" yaml:"env_ports"`
	ServiceName string            `json:"env_service_name,omitempty" yaml:"env_service_name,omitempty"`
	PodLabels   map[string]string `json:"pod_labels,omitempty" yaml:"pod_labels,omitempty"`
}

func (*KubeTunnelResourceSpec) KubeTunnelServiceName

func (v *KubeTunnelResourceSpec) KubeTunnelServiceName() string

type Ports

type Ports struct {
	Values []string
}

func (Ports) MarshalJSON

func (p Ports) MarshalJSON() ([]byte, error)

func (Ports) MarshalYAML

func (p Ports) MarshalYAML() (interface{}, error)

func (Ports) String

func (p Ports) String() string

func (*Ports) UnmarshalJSON

func (p *Ports) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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