v1alpha1

package
v0.0.0-...-608c61d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the networking v1alpha1 API group +kubebuilder:object:generate=true +groupName=networking.softonic.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "networking.softonic.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Actions

type Actions struct {
	RequestHeaders     *RequestHeaders           `json:"request_headers,omitempty"`
	HeaderValueMatch   *HeaderValueMatch         `json:"header_value_match,omitempty"`
	DestinationCluster *DestinationClusterHeader `json:"destination_cluster,omitempty"`
}

func (*Actions) DeepCopy

func (in *Actions) DeepCopy() *Actions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Actions.

func (*Actions) DeepCopyInto

func (in *Actions) DeepCopyInto(out *Actions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Descriptors

type Descriptors struct {
	Key       string                 `json:"key"`
	RateLimit RateLimitPerDescriptor `json:"rate_limit"`
	Value     string                 `json:"value"`
}

func (*Descriptors) DeepCopy

func (in *Descriptors) DeepCopy() *Descriptors

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Descriptors.

func (*Descriptors) DeepCopyInto

func (in *Descriptors) DeepCopyInto(out *Descriptors)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DescriptorsParent

type DescriptorsParent struct {
	Descriptors []Descriptors `json:"descriptors"`
	Key         string        `json:"key"`
	Value       string        `json:"value,omitempty"`
}

func (*DescriptorsParent) DeepCopy

func (in *DescriptorsParent) DeepCopy() *DescriptorsParent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DescriptorsParent.

func (*DescriptorsParent) DeepCopyInto

func (in *DescriptorsParent) DeepCopyInto(out *DescriptorsParent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DestinationClusterHeader

type DestinationClusterHeader struct{}

func (*DestinationClusterHeader) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationClusterHeader.

func (*DestinationClusterHeader) DeepCopyInto

func (in *DestinationClusterHeader) DeepCopyInto(out *DestinationClusterHeader)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Dimensions

type Dimensions struct {
	RequestHeader    RequestHeader    `json:"request_header,omitempty"`
	HeaderValueMatch HeaderValueMatch `json:"header_value_match,omitempty"`
}

func (*Dimensions) DeepCopy

func (in *Dimensions) DeepCopy() *Dimensions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dimensions.

func (*Dimensions) DeepCopyInto

func (in *Dimensions) DeepCopyInto(out *Dimensions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HeaderValueMatch

type HeaderValueMatch struct {
	DescriptorValue string    `json:"descriptor_value"`
	Headers         []Headers `json:"headers"`
}

func (*HeaderValueMatch) DeepCopy

func (in *HeaderValueMatch) DeepCopy() *HeaderValueMatch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeaderValueMatch.

func (*HeaderValueMatch) DeepCopyInto

func (in *HeaderValueMatch) DeepCopyInto(out *HeaderValueMatch)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Headers

type Headers struct {
	Name        string `json:"name"`
	PrefixMatch string `json:"prefix_match"`
}

func (*Headers) DeepCopy

func (in *Headers) DeepCopy() *Headers

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Headers.

func (*Headers) DeepCopyInto

func (in *Headers) DeepCopyInto(out *Headers)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OutputConfig

type OutputConfig struct {
	DescriptorsParent []DescriptorsParent `json:"descriptors"`
	Domain            string              `json:"domain"`
}

func (*OutputConfig) DeepCopy

func (in *OutputConfig) DeepCopy() *OutputConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputConfig.

func (*OutputConfig) DeepCopyInto

func (in *OutputConfig) DeepCopyInto(out *OutputConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OutputRatelimitsEnvoyFilter

type OutputRatelimitsEnvoyFilter struct {
	RateLimits []RateLimits `json:"rate_limits"`
}

func (*OutputRatelimitsEnvoyFilter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputRatelimitsEnvoyFilter.

func (*OutputRatelimitsEnvoyFilter) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Rate

type Rate struct {
	Unit           string       `json:"unit"`
	RequestPerUnit int          `json:"requestPerUnit"`
	Dimensions     []Dimensions `json:"dimensions"`
}

func (*Rate) DeepCopy

func (in *Rate) DeepCopy() *Rate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rate.

func (*Rate) DeepCopyInto

func (in *Rate) DeepCopyInto(out *Rate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RateLimit

type RateLimit struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RateLimitSpec   `json:"spec,omitempty"`
	Status RateLimitStatus `json:"status,omitempty"`
}

RateLimit is the Schema for the ratelimits API

func (*RateLimit) DeepCopy

func (in *RateLimit) DeepCopy() *RateLimit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimit.

func (*RateLimit) DeepCopyInto

func (in *RateLimit) DeepCopyInto(out *RateLimit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RateLimit) DeepCopyObject

func (in *RateLimit) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RateLimitList

type RateLimitList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []RateLimit `json:"items"`
}

RateLimitList contains a list of RateLimit

func (*RateLimitList) DeepCopy

func (in *RateLimitList) DeepCopy() *RateLimitList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitList.

func (*RateLimitList) DeepCopyInto

func (in *RateLimitList) DeepCopyInto(out *RateLimitList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RateLimitList) DeepCopyObject

func (in *RateLimitList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RateLimitPerDescriptor

type RateLimitPerDescriptor struct {
	RequestsPerUnit int    `json:"requests_per_unit"`
	Unit            string `json:"unit"`
}

func (*RateLimitPerDescriptor) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitPerDescriptor.

func (*RateLimitPerDescriptor) DeepCopyInto

func (in *RateLimitPerDescriptor) DeepCopyInto(out *RateLimitPerDescriptor)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RateLimitSpec

type RateLimitSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	TargetRef          v1.ObjectReference `json:"targetRef"`
	DestinationCluster string             `json:"destinationCluster,omitempty"`
	Rate               []Rate             `json:"rate"`
	// +kubebuilder:validation:Optional
	ApplyToRoutes []string `json:"applytoroutes,omitempty"`
}

func (*RateLimitSpec) DeepCopy

func (in *RateLimitSpec) DeepCopy() *RateLimitSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitSpec.

func (*RateLimitSpec) DeepCopyInto

func (in *RateLimitSpec) DeepCopyInto(out *RateLimitSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RateLimitStatus

type RateLimitStatus struct {
}

RateLimitStatus defines the observed state of RateLimit

func (*RateLimitStatus) DeepCopy

func (in *RateLimitStatus) DeepCopy() *RateLimitStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitStatus.

func (*RateLimitStatus) DeepCopyInto

func (in *RateLimitStatus) DeepCopyInto(out *RateLimitStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RateLimits

type RateLimits struct {
	Actions []Actions `json:"actions,omitempty"`
}

func (*RateLimits) DeepCopy

func (in *RateLimits) DeepCopy() *RateLimits

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimits.

func (*RateLimits) DeepCopyInto

func (in *RateLimits) DeepCopyInto(out *RateLimits)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RequestHeader

type RequestHeader struct {
	DescriptorKey string `json:"descriptor_key"`
	HeaderName    string `json:"header_name"`
	Value         string `json:"value,omitempty"`
}

func (*RequestHeader) DeepCopy

func (in *RequestHeader) DeepCopy() *RequestHeader

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeader.

func (*RequestHeader) DeepCopyInto

func (in *RequestHeader) DeepCopyInto(out *RequestHeader)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RequestHeaders

type RequestHeaders struct {
	DescriptorKey string `json:"descriptor_key,omitempty"`
	HeaderName    string `json:"header_name,omitempty"`
}

func (*RequestHeaders) DeepCopy

func (in *RequestHeaders) DeepCopy() *RequestHeaders

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaders.

func (*RequestHeaders) DeepCopyInto

func (in *RequestHeaders) DeepCopyInto(out *RequestHeaders)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL