Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigsTrait ¶
type ConfigsTrait struct {
Configs []*app.Configuration `json:"configs"`
}
func NewConfigsTrait ¶
func NewConfigsTrait(configs []*app.Configuration) *ConfigsTrait
func (*ConfigsTrait) GetName ¶
func (m *ConfigsTrait) GetName() string
func (*ConfigsTrait) GetType ¶
func (m *ConfigsTrait) GetType() string
type Route ¶
type Route struct { Name string `json:"name"` URI string `json:"uri,omitempty"` Methods []string `json:"methods,omitempty"` ExactMatch bool `json:"exactMatch,omitempty"` DirectResponse *route.DirectResponse `json:"directResponse,omitempty"` Redirect *Redirect `json:"redirect,omitempty"` Forward *route.Forward `json:"forward,omitempty"` }
type RouteTrait ¶
type RouteTrait struct { Name string `json:"name"` Gateways []Gateway `json:"gateways,omitempty"` Routes []Route `json:"routes,omitempty"` }
func NewRouteTrait ¶
func (*RouteTrait) GetName ¶
func (c *RouteTrait) GetName() string
func (*RouteTrait) GetType ¶
func (c *RouteTrait) GetType() string
type Secret2Envs ¶
type Secret2Envs struct {
SecretName string `json:"secretName"`
}
func NewSecret2Envs ¶
func NewSecret2Envs(secretName string) *Secret2Envs
func (*Secret2Envs) GetName ¶
func (m *Secret2Envs) GetName() string
func (*Secret2Envs) GetType ¶
func (m *Secret2Envs) GetType() string
type Secret2File ¶
type Secret2File struct {
SecretName string `json:"secretName"`
}
func NewSecret2File ¶
func NewSecret2File(secretName string) *Secret2File
func (*Secret2File) GetName ¶
func (m *Secret2File) GetName() string
func (*Secret2File) GetType ¶
func (m *Secret2File) GetType() string
type ServiceEntry ¶
func NewServiceEntry ¶
func NewServiceEntry(egresses []*egress.Egress) *ServiceEntry
func (*ServiceEntry) GetName ¶
func (m *ServiceEntry) GetName() string
func (*ServiceEntry) GetType ¶
func (m *ServiceEntry) GetType() string
Click to show internal directories.
Click to hide internal directories.