Documentation
¶
Index ¶
- Constants
- func NewProvider(conf *i2gw.ProviderConf) i2gw.Provider
- 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 KongIngressClass = "kong"
View Source
const Name = "kong"
The Name of the provider.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(conf *i2gw.ProviderConf) i2gw.Provider
NewProvider constructs and returns the kong implementation of i2gw.Provider.
Types ¶
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)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.