Documentation ¶
Overview ¶
Package v1beta1 is the v1beta1 version of the API.
Package v1beta1 contains API Schema definitions for the AzureApplicationGatewayRewrite v1beta1 API group
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Actions
- type AzureApplicationGatewayRewrite
- type AzureApplicationGatewayRewriteList
- type AzureApplicationGatewayRewriteSpec
- type Condition
- type HeaderConfiguration
- type RewriteRule
- type UrlConfiguration
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{ Group: "appgw.ingress.azure.io", Version: "v1beta1", } // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds all Resources to the Scheme AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Actions ¶
type Actions struct { // RequestHeaderConfigurations is a set of Request Header Actions in the Action Set RequestHeaderConfigurations []HeaderConfiguration `json:"requestHeaderConfigurations,omitempty"` // ResponseHeaderConfigurations is a set of Response Header Actions in the Action Set ResponseHeaderConfigurations []HeaderConfiguration `json:"responseHeaderConfigurations,omitempty"` // UrlConfiguration is the URL Configuration Action in the Action UrlConfiguration *UrlConfiguration `json:"urlConfiguration,omitempty"` }
Actions includes RequestHeaderConfigurations, ResponseHeaderConfigurations and UrlConfiguration
func (*Actions) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Actions.
func (*Actions) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureApplicationGatewayRewrite ¶
type AzureApplicationGatewayRewrite struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Spec AzureApplicationGatewayRewriteSpec `json:"spec"` }
AzureApplicationGatewayRewrite is the resource AGIC is watching on for any rewrite rule change
func (*AzureApplicationGatewayRewrite) DeepCopy ¶
func (in *AzureApplicationGatewayRewrite) DeepCopy() *AzureApplicationGatewayRewrite
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureApplicationGatewayRewrite.
func (*AzureApplicationGatewayRewrite) DeepCopyInto ¶
func (in *AzureApplicationGatewayRewrite) DeepCopyInto(out *AzureApplicationGatewayRewrite)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureApplicationGatewayRewrite) DeepCopyObject ¶
func (in *AzureApplicationGatewayRewrite) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AzureApplicationGatewayRewriteList ¶
type AzureApplicationGatewayRewriteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []AzureApplicationGatewayRewrite `json:"items"` }
AzureApplicationGatewayRewriteList is the list of backend pool
func (*AzureApplicationGatewayRewriteList) DeepCopy ¶
func (in *AzureApplicationGatewayRewriteList) DeepCopy() *AzureApplicationGatewayRewriteList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureApplicationGatewayRewriteList.
func (*AzureApplicationGatewayRewriteList) DeepCopyInto ¶
func (in *AzureApplicationGatewayRewriteList) DeepCopyInto(out *AzureApplicationGatewayRewriteList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureApplicationGatewayRewriteList) DeepCopyObject ¶
func (in *AzureApplicationGatewayRewriteList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AzureApplicationGatewayRewriteSpec ¶
type AzureApplicationGatewayRewriteSpec struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // RewriteRules include a list of Application Gateway rewrite rules RewriteRules []RewriteRule `json:"rewriteRules,omitempty"` }
AzureApplicationGatewayRewriteSpec defines a list of rewrite rules
func (*AzureApplicationGatewayRewriteSpec) DeepCopy ¶
func (in *AzureApplicationGatewayRewriteSpec) DeepCopy() *AzureApplicationGatewayRewriteSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureApplicationGatewayRewriteSpec.
func (*AzureApplicationGatewayRewriteSpec) DeepCopyInto ¶
func (in *AzureApplicationGatewayRewriteSpec) DeepCopyInto(out *AzureApplicationGatewayRewriteSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { // IgnoreCase set to true will do a case in-sensitive comparison. IgnoreCase bool `json:"ignoreCase,omitempty"` // Negate set as true will check the negation of the given condition Negate bool `json:"negate,omitempty"` // Variable is the condition parameter Variable string `json:"variable,omitempty"` // Pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition Pattern string `json:"pattern,omitempty"` }
Condition includes IgnoreCase, Negate, Variable and Pattern
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HeaderConfiguration ¶
type HeaderConfiguration struct { // ActionType is the type of manipulation that should be performed on the header. Should be either 'set' or 'delete' ActionType string `json:"actionType,omitempty"` // HeaderName is the name of the header to manipulate HeaderName string `json:"headerName,omitempty"` // HeaderValue is the value of the header. Empty in case ActionType is 'delete' HeaderValue string `json:"headerValue,omitempty"` }
HeaderConfiguration includes ActionType, HeaderName and HeaderValue
func (*HeaderConfiguration) DeepCopy ¶
func (in *HeaderConfiguration) DeepCopy() *HeaderConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeaderConfiguration.
func (*HeaderConfiguration) DeepCopyInto ¶
func (in *HeaderConfiguration) DeepCopyInto(out *HeaderConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RewriteRule ¶
type RewriteRule struct { // Name of the rewrite rule Name string `json:"name,omitempty"` // RuleSequence determines the order of execution of a particular rule in a RewriteRuleSet RuleSequence int `json:"ruleSequence,omitempty"` // Actions contain the set of actions to be done as part of the rewrite rule Actions Actions `json:"actions,omitempty"` // Conditions is a list of conditions based on which the action set execution will be evaluated Conditions []Condition `json:"conditions,omitempty"` }
RewriteRule defines a rewrite rule name, rule sequence, a list of conditions and actions
func (*RewriteRule) DeepCopy ¶
func (in *RewriteRule) DeepCopy() *RewriteRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RewriteRule.
func (*RewriteRule) DeepCopyInto ¶
func (in *RewriteRule) DeepCopyInto(out *RewriteRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UrlConfiguration ¶
type UrlConfiguration struct { // ModifiedPath is the URL path for URL rewrite. Empty string means no path will be updated ModifiedPath string `json:"modifiedPath,omitempty"` // ModifiedQueryString is the query string for url rewrite. Empty string means no query string will be updated ModifiedQueryString string `json:"modifiedQueryString,omitempty"` // Reroute set as true will re-evaluate the url path map provided in using modified path. Default value is false Reroute bool `json:"reroute,omitempty"` }
UrlConfiguration includes ModifiedPath, ModifiedQueryString and Reroute
func (*UrlConfiguration) DeepCopy ¶
func (in *UrlConfiguration) DeepCopy() *UrlConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UrlConfiguration.
func (*UrlConfiguration) DeepCopyInto ¶
func (in *UrlConfiguration) DeepCopyInto(out *UrlConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.