Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLGroupCRUD ¶ added in v0.5.0
type ACLGroupCRUD struct {
// contains filtered or unexported fields
}
ACLGroupCRUD implements Actions interface from the github.com/kong/crud package for the Route entitiy of Kong.
func NewACLGroupCRUD ¶ added in v0.5.0
func NewACLGroupCRUD(client *kong.Client) (*ACLGroupCRUD, error)
NewACLGroupCRUD creates a new ACLGroupCRUD. Client is required.
func (*ACLGroupCRUD) Create ¶ added in v0.5.0
Create creates a Route in Kong. The arg should be of type diff.Event, containing the aclGroup to be created, else the function will panic. It returns a the created *state.Route.
type BasicAuthCRUD ¶ added in v0.5.0
type BasicAuthCRUD struct {
// contains filtered or unexported fields
}
BasicAuthCRUD implements Actions interface from the github.com/kong/crud package for the Route entitiy of Kong.
func NewBasicAuthCRUD ¶ added in v0.5.0
func NewBasicAuthCRUD(client *kong.Client) (*BasicAuthCRUD, error)
NewBasicAuthCRUD creates a new BasicAuthCRUD. Client is required.
func (*BasicAuthCRUD) Create ¶ added in v0.5.0
Create creates a Route in Kong. The arg should be of type diff.Event, containing the basicAuth to be created, else the function will panic. It returns a the created *state.Route.
type CACertificateCRUD ¶ added in v0.5.0
type CACertificateCRUD struct {
// contains filtered or unexported fields
}
CACertificateCRUD implements Actions interface from the github.com/kong/crud package for the Certificate entitiy of Kong.
func NewCACertificateCRUD ¶ added in v0.5.0
func NewCACertificateCRUD(client *kong.Client) (*CACertificateCRUD, error)
NewCACertificateCRUD creates a new CACertificateCRUD. Client is required.
func (*CACertificateCRUD) Create ¶ added in v0.5.0
Create creates a CACertificate in Kong. The arg should be of type diff.Event, containing the certificate to be created, else the function will panic. It returns a the created *state.CACertificate.
func (*CACertificateCRUD) Delete ¶ added in v0.5.0
Delete deletes a CACertificate in Kong. The arg should be of type diff.Event, containing the certificate to be deleted, else the function will panic. It returns a the deleted *state.CACertificate.
type CertificateCRUD ¶
type CertificateCRUD struct {
// contains filtered or unexported fields
}
CertificateCRUD implements Actions interface from the github.com/kong/crud package for the Certificate entitiy of Kong.
func NewCertificateCRUD ¶
func NewCertificateCRUD(client *kong.Client) (*CertificateCRUD, error)
NewCertificateCRUD creates a new CertificateCRUD. Client is required.
func (*CertificateCRUD) Create ¶
Create creates a Certificate in Kong. The arg should be of type diff.Event, containing the certificate to be created, else the function will panic. It returns a the created *state.Certificate.
type ConsumerCRUD ¶ added in v0.2.0
type ConsumerCRUD struct {
// contains filtered or unexported fields
}
ConsumerCRUD implements Actions interface from the github.com/kong/crud package for the Consumer entitiy of Kong.
func NewConsumerCRUD ¶ added in v0.2.0
func NewConsumerCRUD(client *kong.Client) (*ConsumerCRUD, error)
NewConsumerCRUD creates a new ConsumerCRUD. Client is required.
func (*ConsumerCRUD) Create ¶ added in v0.2.0
Create creates a Consumer in Kong. The arg should be of type diff.Event, containing the consumer to be created, else the function will panic. It returns a the created *state.Consumer.
type HMACAuthCRUD ¶ added in v0.5.0
type HMACAuthCRUD struct {
// contains filtered or unexported fields
}
HMACAuthCRUD implements Actions interface from the github.com/kong/crud package for the Route entitiy of Kong.
func NewHMACAuthCRUD ¶ added in v0.5.0
func NewHMACAuthCRUD(client *kong.Client) (*HMACAuthCRUD, error)
NewHMACAuthCRUD creates a new HMACAuthCRUD. Client is required.
func (*HMACAuthCRUD) Create ¶ added in v0.5.0
Create creates a Route in Kong. The arg should be of type diff.Event, containing the hmacAuth to be created, else the function will panic. It returns a the created *state.Route.
type JWTAuthCRUD ¶ added in v0.5.0
type JWTAuthCRUD struct {
// contains filtered or unexported fields
}
JWTAuthCRUD implements Actions interface from the github.com/kong/crud package for the Route entitiy of Kong.
func NewJWTAuthCRUD ¶ added in v0.5.0
func NewJWTAuthCRUD(client *kong.Client) (*JWTAuthCRUD, error)
NewJWTAuthCRUD creates a new JWTAuthCRUD. Client is required.
func (*JWTAuthCRUD) Create ¶ added in v0.5.0
Create creates a Route in Kong. The arg should be of type diff.Event, containing the jwtAuth to be created, else the function will panic. It returns a the created *state.Route.
type KeyAuthCRUD ¶ added in v0.5.0
type KeyAuthCRUD struct {
// contains filtered or unexported fields
}
KeyAuthCRUD implements Actions interface from the github.com/kong/crud package for the Route entitiy of Kong.
func NewKeyAuthCRUD ¶ added in v0.5.0
func NewKeyAuthCRUD(client *kong.Client) (*KeyAuthCRUD, error)
NewKeyAuthCRUD creates a new KeyAuthCRUD. Client is required.
func (*KeyAuthCRUD) Create ¶ added in v0.5.0
Create creates a Route in Kong. The arg should be of type diff.Event, containing the keyAuth to be created, else the function will panic. It returns a the created *state.Route.
type Oauth2CredCRUD ¶ added in v0.5.1
type Oauth2CredCRUD struct {
// contains filtered or unexported fields
}
Oauth2CredCRUD implements Actions interface from the github.com/kong/crud package for the Route entitiy of Kong.
func NewOauth2CredCRUD ¶ added in v0.5.1
func NewOauth2CredCRUD(client *kong.Client) (*Oauth2CredCRUD, error)
NewOauth2CredCRUD creates a new Oauth2CredCRUD. Client is required.
func (*Oauth2CredCRUD) Create ¶ added in v0.5.1
Create creates a Route in Kong. The arg should be of type diff.Event, containing the oauth2Cred to be created, else the function will panic. It returns a the created *state.Route.
type PluginCRUD ¶
type PluginCRUD struct {
// contains filtered or unexported fields
}
PluginCRUD implements Actions interface from the github.com/kong/crud package for the Plugin entitiy of Kong.
func NewPluginCRUD ¶
func NewPluginCRUD(client *kong.Client) (*PluginCRUD, error)
NewPluginCRUD creates a new PluginCRUD. Client is required.
func (*PluginCRUD) Create ¶
Create creates a Plugin in Kong. The arg should be of type diff.Event, containing the plugin to be created, else the function will panic. It returns a the created *state.Plugin.
type RouteCRUD ¶
type RouteCRUD struct {
// contains filtered or unexported fields
}
RouteCRUD implements Actions interface from the github.com/kong/crud package for the Route entitiy of Kong.
func NewRouteCRUD ¶
NewRouteCRUD creates a new RouteCRUD. Client is required.
func (*RouteCRUD) Create ¶
Create creates a Route in Kong. The arg should be of type diff.Event, containing the route to be created, else the function will panic. It returns a the created *state.Route.
type ServiceCRUD ¶
type ServiceCRUD struct {
// contains filtered or unexported fields
}
ServiceCRUD implements Actions interface from the github.com/kong/crud package for the Service entitiy of Kong.
func NewServiceCRUD ¶
func NewServiceCRUD(client *kong.Client) (*ServiceCRUD, error)
NewServiceCRUD creates a new ServiceCRUD. Client is required.
func (*ServiceCRUD) Create ¶
Create creates a Service in Kong. The arg should be of type diff.Event, containing the service to be created, else the function will panic. It returns a the created *state.Service.
type TargetCRUD ¶
type TargetCRUD struct {
// contains filtered or unexported fields
}
TargetCRUD implements Actions interface from the github.com/kong/crud package for the Target entitiy of Kong.
func NewTargetCRUD ¶
func NewTargetCRUD(client *kong.Client) (*TargetCRUD, error)
NewTargetCRUD creates a new TargetCRUD. Client is required.
func (*TargetCRUD) Create ¶
Create creates a Target in Kong. The arg should be of type diff.Event, containing the target to be created, else the function will panic. It returns a the created *state.Target.
type UpstreamCRUD ¶
type UpstreamCRUD struct {
// contains filtered or unexported fields
}
UpstreamCRUD implements Actions interface from the github.com/kong/crud package for the Upstream entitiy of Kong.
func NewUpstreamCRUD ¶
func NewUpstreamCRUD(client *kong.Client) (*UpstreamCRUD, error)
NewUpstreamCRUD creates a new UpstreamCRUD. Client is required.
func (*UpstreamCRUD) Create ¶
Create creates a Upstream in Kong. The arg should be of type diff.Event, containing the upstream to be created, else the function will panic. It returns a the created *state.Upstream.