Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ConfigurationV1alpha1Client
- func (c *ConfigurationV1alpha1Client) IngressClassParameterses(namespace string) IngressClassParametersInterface
- func (c *ConfigurationV1alpha1Client) KongCACertificates(namespace string) KongCACertificateInterface
- func (c *ConfigurationV1alpha1Client) KongCustomEntities(namespace string) KongCustomEntityInterface
- func (c *ConfigurationV1alpha1Client) KongLicenses() KongLicenseInterface
- func (c *ConfigurationV1alpha1Client) KongPluginBindings(namespace string) KongPluginBindingInterface
- func (c *ConfigurationV1alpha1Client) KongRoutes(namespace string) KongRouteInterface
- func (c *ConfigurationV1alpha1Client) KongServices(namespace string) KongServiceInterface
- func (c *ConfigurationV1alpha1Client) KongTargets(namespace string) KongTargetInterface
- func (c *ConfigurationV1alpha1Client) KongUpstreams(namespace string) KongUpstreamInterface
- func (c *ConfigurationV1alpha1Client) KongVaults() KongVaultInterface
- func (c *ConfigurationV1alpha1Client) RESTClient() rest.Interface
- type ConfigurationV1alpha1Interface
- type IngressClassParametersExpansion
- type IngressClassParametersInterface
- type IngressClassParametersesGetter
- type KongCACertificateExpansion
- type KongCACertificateInterface
- type KongCACertificatesGetter
- type KongCustomEntitiesGetter
- type KongCustomEntityExpansion
- type KongCustomEntityInterface
- type KongLicenseExpansion
- type KongLicenseInterface
- type KongLicensesGetter
- type KongPluginBindingExpansion
- type KongPluginBindingInterface
- type KongPluginBindingsGetter
- type KongRouteExpansion
- type KongRouteInterface
- type KongRoutesGetter
- type KongServiceExpansion
- type KongServiceInterface
- type KongServicesGetter
- type KongTargetExpansion
- type KongTargetInterface
- type KongTargetsGetter
- type KongUpstreamExpansion
- type KongUpstreamInterface
- type KongUpstreamsGetter
- type KongVaultExpansion
- type KongVaultInterface
- type KongVaultsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationV1alpha1Client ¶
type ConfigurationV1alpha1Client struct {
// contains filtered or unexported fields
}
ConfigurationV1alpha1Client is used to interact with features provided by the configuration.konghq.com group.
func New ¶
func New(c rest.Interface) *ConfigurationV1alpha1Client
New creates a new ConfigurationV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ConfigurationV1alpha1Client, error)
NewForConfig creates a new ConfigurationV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new ConfigurationV1alpha1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ConfigurationV1alpha1Client
NewForConfigOrDie creates a new ConfigurationV1alpha1Client for the given config and panics if there is an error in the config.
func (*ConfigurationV1alpha1Client) IngressClassParameterses ¶
func (c *ConfigurationV1alpha1Client) IngressClassParameterses(namespace string) IngressClassParametersInterface
func (*ConfigurationV1alpha1Client) KongCACertificates ¶ added in v0.0.14
func (c *ConfigurationV1alpha1Client) KongCACertificates(namespace string) KongCACertificateInterface
func (*ConfigurationV1alpha1Client) KongCustomEntities ¶
func (c *ConfigurationV1alpha1Client) KongCustomEntities(namespace string) KongCustomEntityInterface
func (*ConfigurationV1alpha1Client) KongLicenses ¶
func (c *ConfigurationV1alpha1Client) KongLicenses() KongLicenseInterface
func (*ConfigurationV1alpha1Client) KongPluginBindings ¶
func (c *ConfigurationV1alpha1Client) KongPluginBindings(namespace string) KongPluginBindingInterface
func (*ConfigurationV1alpha1Client) KongRoutes ¶
func (c *ConfigurationV1alpha1Client) KongRoutes(namespace string) KongRouteInterface
func (*ConfigurationV1alpha1Client) KongServices ¶
func (c *ConfigurationV1alpha1Client) KongServices(namespace string) KongServiceInterface
func (*ConfigurationV1alpha1Client) KongTargets ¶ added in v0.0.13
func (c *ConfigurationV1alpha1Client) KongTargets(namespace string) KongTargetInterface
func (*ConfigurationV1alpha1Client) KongUpstreams ¶ added in v0.0.12
func (c *ConfigurationV1alpha1Client) KongUpstreams(namespace string) KongUpstreamInterface
func (*ConfigurationV1alpha1Client) KongVaults ¶
func (c *ConfigurationV1alpha1Client) KongVaults() KongVaultInterface
func (*ConfigurationV1alpha1Client) RESTClient ¶
func (c *ConfigurationV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ConfigurationV1alpha1Interface ¶
type ConfigurationV1alpha1Interface interface {
RESTClient() rest.Interface
IngressClassParametersesGetter
KongCACertificatesGetter
KongCustomEntitiesGetter
KongLicensesGetter
KongPluginBindingsGetter
KongRoutesGetter
KongServicesGetter
KongTargetsGetter
KongUpstreamsGetter
KongVaultsGetter
}
type IngressClassParametersExpansion ¶
type IngressClassParametersExpansion interface{}
type IngressClassParametersInterface ¶
type IngressClassParametersInterface interface {
Create(ctx context.Context, ingressClassParameters *v1alpha1.IngressClassParameters, opts v1.CreateOptions) (*v1alpha1.IngressClassParameters, error)
Update(ctx context.Context, ingressClassParameters *v1alpha1.IngressClassParameters, opts v1.UpdateOptions) (*v1alpha1.IngressClassParameters, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.IngressClassParameters, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.IngressClassParametersList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IngressClassParameters, err error)
IngressClassParametersExpansion
}
IngressClassParametersInterface has methods to work with IngressClassParameters resources.
type IngressClassParametersesGetter ¶
type IngressClassParametersesGetter interface {
IngressClassParameterses(namespace string) IngressClassParametersInterface
}
IngressClassParametersesGetter has a method to return a IngressClassParametersInterface. A group's client should implement this interface.
type KongCACertificateExpansion ¶ added in v0.0.14
type KongCACertificateExpansion interface{}
type KongCACertificateInterface ¶ added in v0.0.14
type KongCACertificateInterface interface {
Create(ctx context.Context, kongCACertificate *v1alpha1.KongCACertificate, opts v1.CreateOptions) (*v1alpha1.KongCACertificate, error)
Update(ctx context.Context, kongCACertificate *v1alpha1.KongCACertificate, opts v1.UpdateOptions) (*v1alpha1.KongCACertificate, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, kongCACertificate *v1alpha1.KongCACertificate, opts v1.UpdateOptions) (*v1alpha1.KongCACertificate, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.KongCACertificate, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.KongCACertificateList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KongCACertificate, err error)
KongCACertificateExpansion
}
KongCACertificateInterface has methods to work with KongCACertificate resources.
type KongCACertificatesGetter ¶ added in v0.0.14
type KongCACertificatesGetter interface {
KongCACertificates(namespace string) KongCACertificateInterface
}
KongCACertificatesGetter has a method to return a KongCACertificateInterface. A group's client should implement this interface.
type KongCustomEntitiesGetter ¶
type KongCustomEntitiesGetter interface {
KongCustomEntities(namespace string) KongCustomEntityInterface
}
KongCustomEntitiesGetter has a method to return a KongCustomEntityInterface. A group's client should implement this interface.
type KongCustomEntityExpansion ¶
type KongCustomEntityExpansion interface{}
type KongCustomEntityInterface ¶
type KongCustomEntityInterface interface {
Create(ctx context.Context, kongCustomEntity *v1alpha1.KongCustomEntity, opts v1.CreateOptions) (*v1alpha1.KongCustomEntity, error)
Update(ctx context.Context, kongCustomEntity *v1alpha1.KongCustomEntity, opts v1.UpdateOptions) (*v1alpha1.KongCustomEntity, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, kongCustomEntity *v1alpha1.KongCustomEntity, opts v1.UpdateOptions) (*v1alpha1.KongCustomEntity, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.KongCustomEntity, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.KongCustomEntityList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KongCustomEntity, err error)
KongCustomEntityExpansion
}
KongCustomEntityInterface has methods to work with KongCustomEntity resources.
type KongLicenseExpansion ¶
type KongLicenseExpansion interface{}
type KongLicenseInterface ¶
type KongLicenseInterface interface {
Create(ctx context.Context, kongLicense *v1alpha1.KongLicense, opts v1.CreateOptions) (*v1alpha1.KongLicense, error)
Update(ctx context.Context, kongLicense *v1alpha1.KongLicense, opts v1.UpdateOptions) (*v1alpha1.KongLicense, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, kongLicense *v1alpha1.KongLicense, opts v1.UpdateOptions) (*v1alpha1.KongLicense, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.KongLicense, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.KongLicenseList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KongLicense, err error)
KongLicenseExpansion
}
KongLicenseInterface has methods to work with KongLicense resources.
type KongLicensesGetter ¶
type KongLicensesGetter interface {
KongLicenses() KongLicenseInterface
}
KongLicensesGetter has a method to return a KongLicenseInterface. A group's client should implement this interface.
type KongPluginBindingExpansion ¶
type KongPluginBindingExpansion interface{}
type KongPluginBindingInterface ¶
type KongPluginBindingInterface interface {
Create(ctx context.Context, kongPluginBinding *v1alpha1.KongPluginBinding, opts v1.CreateOptions) (*v1alpha1.KongPluginBinding, error)
Update(ctx context.Context, kongPluginBinding *v1alpha1.KongPluginBinding, opts v1.UpdateOptions) (*v1alpha1.KongPluginBinding, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, kongPluginBinding *v1alpha1.KongPluginBinding, opts v1.UpdateOptions) (*v1alpha1.KongPluginBinding, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.KongPluginBinding, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.KongPluginBindingList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KongPluginBinding, err error)
KongPluginBindingExpansion
}
KongPluginBindingInterface has methods to work with KongPluginBinding resources.
type KongPluginBindingsGetter ¶
type KongPluginBindingsGetter interface {
KongPluginBindings(namespace string) KongPluginBindingInterface
}
KongPluginBindingsGetter has a method to return a KongPluginBindingInterface. A group's client should implement this interface.
type KongRouteExpansion ¶
type KongRouteExpansion interface{}
type KongRouteInterface ¶
type KongRouteInterface interface {
Create(ctx context.Context, kongRoute *v1alpha1.KongRoute, opts v1.CreateOptions) (*v1alpha1.KongRoute, error)
Update(ctx context.Context, kongRoute *v1alpha1.KongRoute, opts v1.UpdateOptions) (*v1alpha1.KongRoute, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, kongRoute *v1alpha1.KongRoute, opts v1.UpdateOptions) (*v1alpha1.KongRoute, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.KongRoute, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.KongRouteList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KongRoute, err error)
KongRouteExpansion
}
KongRouteInterface has methods to work with KongRoute resources.
type KongRoutesGetter ¶
type KongRoutesGetter interface {
KongRoutes(namespace string) KongRouteInterface
}
KongRoutesGetter has a method to return a KongRouteInterface. A group's client should implement this interface.
type KongServiceExpansion ¶
type KongServiceExpansion interface{}
type KongServiceInterface ¶
type KongServiceInterface interface {
Create(ctx context.Context, kongService *v1alpha1.KongService, opts v1.CreateOptions) (*v1alpha1.KongService, error)
Update(ctx context.Context, kongService *v1alpha1.KongService, opts v1.UpdateOptions) (*v1alpha1.KongService, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, kongService *v1alpha1.KongService, opts v1.UpdateOptions) (*v1alpha1.KongService, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.KongService, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.KongServiceList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KongService, err error)
KongServiceExpansion
}
KongServiceInterface has methods to work with KongService resources.
type KongServicesGetter ¶
type KongServicesGetter interface {
KongServices(namespace string) KongServiceInterface
}
KongServicesGetter has a method to return a KongServiceInterface. A group's client should implement this interface.
type KongTargetExpansion ¶ added in v0.0.13
type KongTargetExpansion interface{}
type KongTargetInterface ¶ added in v0.0.13
type KongTargetInterface interface {
Create(ctx context.Context, kongTarget *v1alpha1.KongTarget, opts v1.CreateOptions) (*v1alpha1.KongTarget, error)
Update(ctx context.Context, kongTarget *v1alpha1.KongTarget, opts v1.UpdateOptions) (*v1alpha1.KongTarget, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, kongTarget *v1alpha1.KongTarget, opts v1.UpdateOptions) (*v1alpha1.KongTarget, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.KongTarget, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.KongTargetList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KongTarget, err error)
KongTargetExpansion
}
KongTargetInterface has methods to work with KongTarget resources.
type KongTargetsGetter ¶ added in v0.0.13
type KongTargetsGetter interface {
KongTargets(namespace string) KongTargetInterface
}
KongTargetsGetter has a method to return a KongTargetInterface. A group's client should implement this interface.
type KongUpstreamExpansion ¶ added in v0.0.12
type KongUpstreamExpansion interface{}
type KongUpstreamInterface ¶ added in v0.0.12
type KongUpstreamInterface interface {
Create(ctx context.Context, kongUpstream *v1alpha1.KongUpstream, opts v1.CreateOptions) (*v1alpha1.KongUpstream, error)
Update(ctx context.Context, kongUpstream *v1alpha1.KongUpstream, opts v1.UpdateOptions) (*v1alpha1.KongUpstream, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, kongUpstream *v1alpha1.KongUpstream, opts v1.UpdateOptions) (*v1alpha1.KongUpstream, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.KongUpstream, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.KongUpstreamList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KongUpstream, err error)
KongUpstreamExpansion
}
KongUpstreamInterface has methods to work with KongUpstream resources.
type KongUpstreamsGetter ¶ added in v0.0.12
type KongUpstreamsGetter interface {
KongUpstreams(namespace string) KongUpstreamInterface
}
KongUpstreamsGetter has a method to return a KongUpstreamInterface. A group's client should implement this interface.
type KongVaultExpansion ¶
type KongVaultExpansion interface{}
type KongVaultInterface ¶
type KongVaultInterface interface {
Create(ctx context.Context, kongVault *v1alpha1.KongVault, opts v1.CreateOptions) (*v1alpha1.KongVault, error)
Update(ctx context.Context, kongVault *v1alpha1.KongVault, opts v1.UpdateOptions) (*v1alpha1.KongVault, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, kongVault *v1alpha1.KongVault, opts v1.UpdateOptions) (*v1alpha1.KongVault, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.KongVault, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.KongVaultList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KongVault, err error)
KongVaultExpansion
}
KongVaultInterface has methods to work with KongVault resources.
type KongVaultsGetter ¶
type KongVaultsGetter interface {
KongVaults() KongVaultInterface
}
KongVaultsGetter has a method to return a KongVaultInterface. A group's client should implement this interface.