Documentation
¶
Index ¶
- type Ingress
- func (ingr Ingress) Copy() Ingress
- func (ingr Ingress) Host() string
- func (ingr Ingress) MarshalJSON() ([]byte, error)
- func (ingr Ingress) MarshalYAML() (interface{}, error)
- func (ingr Ingress) RenderJSON() (string, error)
- func (ingress Ingress) RenderTable() string
- func (ingr Ingress) RenderYAML() (string, error)
- func (ingress Ingress) String() string
- func (ingress Ingress) TableHeaders() []string
- func (ingress Ingress) TableRows() [][]string
- func (ingr Ingress) ToKube() kubeModels.Ingress
- func (ingr *Ingress) UnmarshalJSON(data []byte) error
- func (ingr *Ingress) UnmarshalYAML(unmarshal func(interface{}) error) error
- type IngressList
- func (list IngressList) Append(ing ...Ingress) IngressList
- func (list IngressList) Copy() IngressList
- func (list IngressList) Delete(i int) IngressList
- func (list IngressList) Empty() bool
- func (list IngressList) GetByName(name string) (Ingress, bool)
- func (list IngressList) Head() Ingress
- func (list IngressList) Len() int
- func (list IngressList) RenderJSON() (string, error)
- func (list IngressList) RenderTable() string
- func (list IngressList) RenderYAML() (string, error)
- func (IngressList) TableHeaders() []string
- func (list IngressList) TableRows() [][]string
- func (list IngressList) ToKube() kubeModels.IngressesList
- type Path
- type PathList
- func (list PathList) Append(paths ...Path) PathList
- func (list PathList) Copy() PathList
- func (list *PathList) Delete(i int) PathList
- func (list PathList) Empty() bool
- func (list PathList) Head() Path
- func (list PathList) Len() int
- func (list PathList) Paths() []string
- func (list PathList) Services() []Service
- func (list PathList) ServicesNames() []string
- func (list PathList) ServicesPorts() []int
- func (list PathList) ServicesTableView() []string
- func (list PathList) ToKube() []kubeModels.Path
- type Rule
- type RuleList
- func (list RuleList) Append(rules ...Rule) RuleList
- func (list RuleList) Copy() RuleList
- func (list RuleList) Delete(i int) RuleList
- func (list RuleList) Empty() bool
- func (list RuleList) Head() Rule
- func (list RuleList) Hosts() []string
- func (list RuleList) Len() int
- func (list RuleList) Paths() PathList
- func (list RuleList) Services() []Service
- func (list RuleList) ServicesNames() []string
- func (list RuleList) ServicesTableView() []string
- func (list RuleList) ToKube() []kubeModels.Rule
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ingress ¶
func IngressFromKube ¶
func IngressFromKube(kubeIngress kubeModels.Ingress) Ingress
func (Ingress) MarshalJSON ¶
func (Ingress) MarshalYAML ¶
func (Ingress) RenderJSON ¶
func (Ingress) RenderTable ¶
func (Ingress) RenderYAML ¶
func (Ingress) TableHeaders ¶
func (Ingress) ToKube ¶
func (ingr Ingress) ToKube() kubeModels.Ingress
func (*Ingress) UnmarshalJSON ¶
func (*Ingress) UnmarshalYAML ¶
type IngressList ¶
type IngressList []Ingress
func IngressListFromKube ¶
func IngressListFromKube(kubeList kubeModels.IngressesList) IngressList
func (IngressList) Append ¶
func (list IngressList) Append(ing ...Ingress) IngressList
func (IngressList) Copy ¶
func (list IngressList) Copy() IngressList
func (IngressList) Delete ¶
func (list IngressList) Delete(i int) IngressList
func (IngressList) Empty ¶
func (list IngressList) Empty() bool
func (IngressList) Head ¶
func (list IngressList) Head() Ingress
func (IngressList) Len ¶
func (list IngressList) Len() int
func (IngressList) RenderJSON ¶
func (list IngressList) RenderJSON() (string, error)
func (IngressList) RenderTable ¶
func (list IngressList) RenderTable() string
func (IngressList) RenderYAML ¶
func (list IngressList) RenderYAML() (string, error)
func (IngressList) TableHeaders ¶
func (IngressList) TableHeaders() []string
func (IngressList) TableRows ¶
func (list IngressList) TableRows() [][]string
func (IngressList) ToKube ¶
func (list IngressList) ToKube() kubeModels.IngressesList
type Path ¶
type Path kubeModels.Path
func PathFromKube ¶
func PathFromKube(kubePath kubeModels.Path) Path
func (Path) ToKube ¶
func (path Path) ToKube() kubeModels.Path
type PathList ¶
type PathList []Path
func PathListFromKube ¶
func PathListFromKube(kubeList []kubeModels.Path) PathList
func (PathList) ServicesNames ¶
func (PathList) ServicesPorts ¶
func (PathList) ServicesTableView ¶
func (PathList) ToKube ¶
func (list PathList) ToKube() []kubeModels.Path
type Rule ¶
type Rule struct { Host string `json:"host"` TLSSecret string `json:"tls_secret,omitempty"` Paths PathList `json:"paths"` }
func RuleFromKube ¶
func RuleFromKube(kubeRule kubeModels.Rule) Rule
func (Rule) ToKube ¶
func (rule Rule) ToKube() kubeModels.Rule
type RuleList ¶
type RuleList []Rule
func RuleListFromKube ¶
func RuleListFromKube(kubeList []kubeModels.Rule) RuleList
func (RuleList) ServicesNames ¶
func (RuleList) ServicesTableView ¶
func (RuleList) ToKube ¶
func (list RuleList) ToKube() []kubeModels.Rule
Source Files
¶
Click to show internal directories.
Click to hide internal directories.