Documentation ¶
Index ¶
- Constants
- func NewProvider(conf *i2gw.ProviderConf) i2gw.Provider
- type OrderedIngressMap
- type Provider
- func (p *Provider) ReadResourcesFromCluster(ctx context.Context) error
- func (p *Provider) ReadResourcesFromFile(_ context.Context, filename string) error
- func (p *Provider) ToGatewayResources(ir intermediate.IR) (i2gw.GatewayResources, field.ErrorList)
- func (p *Provider) ToIR() (intermediate.IR, field.ErrorList)
Constants ¶
View Source
const Name = "ingress-nginx"
The Name of the provider.
View Source
const NginxIngressClass = "nginx"
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(conf *i2gw.ProviderConf) i2gw.Provider
NewProvider constructs and returns the ingress-nginx implementation of i2gw.Provider.
Types ¶
type OrderedIngressMap ¶ added in v0.3.0
type OrderedIngressMap struct {
// contains filtered or unexported fields
}
func (*OrderedIngressMap) FromMap ¶ added in v0.3.0
func (oim *OrderedIngressMap) FromMap(ingresses map[types.NamespacedName]*networkingv1.Ingress)
func (*OrderedIngressMap) List ¶ added in v0.3.0
func (oim *OrderedIngressMap) List() []networkingv1.Ingress
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements the i2gw.Provider interface.
func (*Provider) ReadResourcesFromCluster ¶
func (*Provider) ReadResourcesFromFile ¶ added in v0.2.0
func (*Provider) ToGatewayResources ¶ added in v0.4.0
func (p *Provider) ToGatewayResources(ir intermediate.IR) (i2gw.GatewayResources, field.ErrorList)
Click to show internal directories.
Click to hide internal directories.