Documentation ¶
Index ¶
- Variables
- func NewRateLimitConfigHashableResource() resources.HashableResource
- type CloneableRateLimitConfig
- type RateLimitConfig
- type RateLimitConfigClient
- func NewRateLimitClients(ctx context.Context, rcFactory factory.ResourceClientFactory) (RateLimitConfigClient, reporter.ReporterResourceClient, error)
- func NewRateLimitConfigClient(ctx context.Context, rcFactory factory.ResourceClientFactory) (RateLimitConfigClient, error)
- func NewRateLimitConfigClientWithBase(rc clients.ResourceClient) RateLimitConfigClient
- func NewRateLimitConfigClientWithToken(ctx context.Context, rcFactory factory.ResourceClientFactory, token string) (RateLimitConfigClient, error)
- type RateLimitConfigList
- func (list RateLimitConfigList) AsInputResources() resources.InputResourceList
- func (list RateLimitConfigList) AsInterfaces() []interface{}
- func (list RateLimitConfigList) AsResources() resources.ResourceList
- func (list RateLimitConfigList) Clone() RateLimitConfigList
- func (list RateLimitConfigList) Each(f func(element *RateLimitConfig))
- func (list RateLimitConfigList) EachResource(f func(element resources.Resource))
- func (list RateLimitConfigList) Find(namespace, name string) (*RateLimitConfig, error)
- func (list RateLimitConfigList) Names() []string
- func (list RateLimitConfigList) NamespacesDotNames() []string
- func (list RateLimitConfigList) Sort() RateLimitConfigList
- type RateLimitConfigReconciler
- type RateLimitConfigWatcher
- type TransitionRateLimitConfigFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RateLimitConfigCrd = crd.NewCrd( "ratelimitconfigs", RateLimitConfigGVK.Group, RateLimitConfigGVK.Version, RateLimitConfigGVK.Kind, "rlc", false, &rlv1alpha1.RateLimitConfig{}) )
View Source
var (
RateLimitConfigGVK = schema.GroupVersionKind{
Version: "v1alpha1",
Group: "ratelimit.solo.io",
Kind: "RateLimitConfig",
}
)
Functions ¶
func NewRateLimitConfigHashableResource ¶ added in v1.11.50
func NewRateLimitConfigHashableResource() resources.HashableResource
Types ¶
type CloneableRateLimitConfig ¶
type CloneableRateLimitConfig interface { resources.Resource Clone() *github_com_solo_io_gloo_projects_gloo_api_external_solo_ratelimit.RateLimitConfig }
type RateLimitConfig ¶
type RateLimitConfig struct {
github_com_solo_io_gloo_projects_gloo_api_external_solo_ratelimit.RateLimitConfig
}
func NewRateLimitConfig ¶
func NewRateLimitConfig(namespace, name string) *RateLimitConfig
func (*RateLimitConfig) Clone ¶
func (r *RateLimitConfig) Clone() resources.Resource
func (*RateLimitConfig) GroupVersionKind ¶
func (r *RateLimitConfig) GroupVersionKind() schema.GroupVersionKind
func (*RateLimitConfig) MustHash ¶
func (r *RateLimitConfig) MustHash() uint64
type RateLimitConfigClient ¶
type RateLimitConfigClient interface { BaseClient() clients.ResourceClient Register() error Read(namespace, name string, opts clients.ReadOpts) (*RateLimitConfig, error) Write(resource *RateLimitConfig, opts clients.WriteOpts) (*RateLimitConfig, error) Delete(namespace, name string, opts clients.DeleteOpts) error List(namespace string, opts clients.ListOpts) (RateLimitConfigList, error) RateLimitConfigWatcher }
func NewRateLimitClients ¶
func NewRateLimitClients(ctx context.Context, rcFactory factory.ResourceClientFactory) (RateLimitConfigClient, reporter.ReporterResourceClient, error)
func NewRateLimitConfigClient ¶
func NewRateLimitConfigClient(ctx context.Context, rcFactory factory.ResourceClientFactory) (RateLimitConfigClient, error)
func NewRateLimitConfigClientWithBase ¶
func NewRateLimitConfigClientWithBase(rc clients.ResourceClient) RateLimitConfigClient
func NewRateLimitConfigClientWithToken ¶
func NewRateLimitConfigClientWithToken(ctx context.Context, rcFactory factory.ResourceClientFactory, token string) (RateLimitConfigClient, error)
type RateLimitConfigList ¶
type RateLimitConfigList []*RateLimitConfig
func (RateLimitConfigList) AsInputResources ¶
func (list RateLimitConfigList) AsInputResources() resources.InputResourceList
func (RateLimitConfigList) AsInterfaces ¶
func (list RateLimitConfigList) AsInterfaces() []interface{}
func (RateLimitConfigList) AsResources ¶
func (list RateLimitConfigList) AsResources() resources.ResourceList
func (RateLimitConfigList) Clone ¶
func (list RateLimitConfigList) Clone() RateLimitConfigList
func (RateLimitConfigList) Each ¶
func (list RateLimitConfigList) Each(f func(element *RateLimitConfig))
func (RateLimitConfigList) EachResource ¶
func (list RateLimitConfigList) EachResource(f func(element resources.Resource))
func (RateLimitConfigList) Find ¶
func (list RateLimitConfigList) Find(namespace, name string) (*RateLimitConfig, error)
func (RateLimitConfigList) Names ¶
func (list RateLimitConfigList) Names() []string
func (RateLimitConfigList) NamespacesDotNames ¶
func (list RateLimitConfigList) NamespacesDotNames() []string
func (RateLimitConfigList) Sort ¶
func (list RateLimitConfigList) Sort() RateLimitConfigList
type RateLimitConfigReconciler ¶
type RateLimitConfigReconciler interface {
Reconcile(namespace string, desiredResources RateLimitConfigList, transition TransitionRateLimitConfigFunc, opts clients.ListOpts) error
}
func NewRateLimitConfigReconciler ¶
func NewRateLimitConfigReconciler(client RateLimitConfigClient, statusSetter resources.StatusSetter) RateLimitConfigReconciler
type RateLimitConfigWatcher ¶
type TransitionRateLimitConfigFunc ¶
type TransitionRateLimitConfigFunc func(original, desired *RateLimitConfig) (bool, error)
Option to copy anything from the original to the desired before writing. Return value of false means don't update
Click to show internal directories.
Click to hide internal directories.