v1beta1_test

package
v0.0.0-...-d4a9768 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIRuleBuilder

type APIRuleBuilder struct {
	// contains filtered or unexported fields
}

func NewAPIRuleBuilder

func NewAPIRuleBuilder() *APIRuleBuilder

func NewAPIRuleBuilderWithDummyData

func NewAPIRuleBuilderWithDummyData() *APIRuleBuilder

func (*APIRuleBuilder) Build

func (*APIRuleBuilder) WithCorsPolicy

func (r *APIRuleBuilder) WithCorsPolicy(policy gatewayv1beta1.CorsPolicy) *APIRuleBuilder

func (*APIRuleBuilder) WithGateway

func (r *APIRuleBuilder) WithGateway(gateway string) *APIRuleBuilder

func (*APIRuleBuilder) WithHost

func (r *APIRuleBuilder) WithHost(host string) *APIRuleBuilder

func (*APIRuleBuilder) WithRule

func (r *APIRuleBuilder) WithRule(rule gatewayv1beta1.Rule) *APIRuleBuilder

func (*APIRuleBuilder) WithService

func (r *APIRuleBuilder) WithService(name, namespace string, port uint32) *APIRuleBuilder

func (*APIRuleBuilder) WithTimeout

func (r *APIRuleBuilder) WithTimeout(timeout gatewayv1beta1.Timeout) *APIRuleBuilder

type RuleBuilder

type RuleBuilder struct {
	// contains filtered or unexported fields
}

func NewRuleBuilder

func NewRuleBuilder() *RuleBuilder

func (*RuleBuilder) Build

func (r *RuleBuilder) Build() *gatewayv1beta1.Rule

func (*RuleBuilder) WithHandler

func (r *RuleBuilder) WithHandler(handler gatewayv1beta1.Handler) *RuleBuilder

func (*RuleBuilder) WithMethods

func (r *RuleBuilder) WithMethods(methods ...gatewayv1beta1.HttpMethod) *RuleBuilder

func (*RuleBuilder) WithPath

func (r *RuleBuilder) WithPath(path string) *RuleBuilder

func (*RuleBuilder) WithService

func (r *RuleBuilder) WithService(name, namespace string, port uint32) *RuleBuilder

Jump to

Keyboard shortcuts

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