v1beta1

package
v0.0.0-...-17967aa Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package v1beta1 is the v1beta1 version of the API.

Package v1beta1 contains API Schema definitions for the AzureApplicationGatewayRewrite v1beta1 API group

Index

Constants

This section is empty.

Variables

View Source
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 Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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

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 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

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

func (*AzureApplicationGatewayRewrite) DeepCopyInto

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

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

func (*AzureApplicationGatewayRewriteList) DeepCopyInto

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

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

func (*AzureApplicationGatewayRewriteSpec) DeepCopyInto

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

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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.

Jump to

Keyboard shortcuts

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