Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
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 ¶
func NewConsumerCRUD(client *kong.Client) (*ConsumerCRUD, error)
NewConsumerCRUD creates a new ConsumerCRUD. Client is required.
func (*ConsumerCRUD) Create ¶
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 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.