v1beta1

package
v1.1.0-beta31 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 41 Imported by: 1

Documentation

Overview

Package v1beta1 contains API Schema definitions for the networking.enterprise.mesh.gloo.solo.io v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=networking.enterprise.mesh.gloo.solo.io

NOTE: Boilerplate only. Ignore this file. Used to register the Go types with the Kubernetes internal scheme

Definitions for the Kubernetes types

Definitions for the Kubernetes types

Index

Constants

This section is empty.

Variables

View Source
var (
	CertificateVerificationSpec_VerificationAction_name = map[int32]string{
		0: "CONTINUE",
		1: "ROLLBACK",
	}
	CertificateVerificationSpec_VerificationAction_value = map[string]int32{
		"CONTINUE": 0,
		"ROLLBACK": 1,
	}
)

Enum value maps for CertificateVerificationSpec_VerificationAction.

View Source
var (
	CertificateVerificationStatus_State_name = map[int32]string{
		0: "PENDING",
		1: "VERIFIED",
		2: "INVALID",
	}
	CertificateVerificationStatus_State_value = map[string]int32{
		"PENDING":  0,
		"VERIFIED": 1,
		"INVALID":  2,
	}
)

Enum value maps for CertificateVerificationStatus_State.

View Source
var (
	RateLimitClientConfigStatus_State_name = map[int32]string{
		0: "PENDING",
		1: "ACCEPTED",
		2: "INVALID",
		3: "FAILED",
	}
	RateLimitClientConfigStatus_State_value = map[string]int32{
		"PENDING":  0,
		"ACCEPTED": 1,
		"INVALID":  2,
		"FAILED":   3,
	}
)

Enum value maps for RateLimitClientConfigStatus_State.

View Source
var (
	RateLimitServerConfigStatus_State_name = map[int32]string{
		0: "PENDING",
		1: "ACCEPTED",
		2: "REJECTED",
		3: "FAILED",
	}
	RateLimitServerConfigStatus_State_value = map[string]int32{
		"PENDING":  0,
		"ACCEPTED": 1,
		"REJECTED": 2,
		"FAILED":   3,
	}
)

Enum value maps for RateLimitServerConfigStatus_State.

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "networking.enterprise.mesh.gloo.solo.io", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	RedirectAction_RedirectResponseCode_name = map[int32]string{
		0: "MOVED_PERMANENTLY",
		1: "FOUND",
		2: "SEE_OTHER",
		3: "TEMPORARY_REDIRECT",
		4: "PERMANENT_REDIRECT",
	}
	RedirectAction_RedirectResponseCode_value = map[string]int32{
		"MOVED_PERMANENTLY":  0,
		"FOUND":              1,
		"SEE_OTHER":          2,
		"TEMPORARY_REDIRECT": 3,
		"PERMANENT_REDIRECT": 4,
	}
)

Enum value maps for RedirectAction_RedirectResponseCode.

View Source
var (
	DelegateAction_SortMethod_name = map[int32]string{
		0: "TABLE_WEIGHT",
		1: "ROUTE_SPECIFICITY",
	}
	DelegateAction_SortMethod_value = map[string]int32{
		"TABLE_WEIGHT":      0,
		"ROUTE_SPECIFICITY": 1,
	}
)

Enum value maps for DelegateAction_SortMethod.

View Source
var (
	VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion_name = map[int32]string{
		0: "TLS_AUTO",
		1: "TLSv1_0",
		2: "TLSv1_1",
		3: "TLSv1_2",
		4: "TLSv1_3",
	}
	VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion_value = map[string]int32{
		"TLS_AUTO": 0,
		"TLSv1_0":  1,
		"TLSv1_1":  2,
		"TLSv1_2":  3,
		"TLSv1_3":  4,
	}
)

Enum value maps for VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion.

View Source
var (
	WasmDeploymentStatus_WorkloadState_name = map[int32]string{
		0: "DEPLOYMENT_PENDING",
		1: "FILTERS_DEPLOYED",
		2: "DEPLOYMENT_FAILED",
	}
	WasmDeploymentStatus_WorkloadState_value = map[string]int32{
		"DEPLOYMENT_PENDING": 0,
		"FILTERS_DEPLOYED":   1,
		"DEPLOYMENT_FAILED":  2,
	}
)

Enum value maps for WasmDeploymentStatus_WorkloadState.

View Source
var CertificateVerificationGVK = schema.GroupVersionKind{
	Group:   "networking.enterprise.mesh.gloo.solo.io",
	Version: "v1beta1",
	Kind:    "CertificateVerification",
}

GroupVersionKind for CertificateVerification

View Source
var File_github_com_solo_io_gloo_mesh_api_enterprise_networking_v1beta1_certificate_verification_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_mesh_api_enterprise_networking_v1beta1_rate_limit_client_config_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_mesh_api_enterprise_networking_v1beta1_rate_limit_server_config_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_mesh_api_enterprise_networking_v1beta1_route_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_mesh_api_enterprise_networking_v1beta1_route_table_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_mesh_api_enterprise_networking_v1beta1_service_dependency_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_mesh_api_enterprise_networking_v1beta1_virtual_destination_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_mesh_api_enterprise_networking_v1beta1_virtual_gateway_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_mesh_api_enterprise_networking_v1beta1_virtual_host_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_mesh_api_enterprise_networking_v1beta1_wasm_deployment_proto protoreflect.FileDescriptor
View Source
var RateLimitClientConfigGVK = schema.GroupVersionKind{
	Group:   "networking.enterprise.mesh.gloo.solo.io",
	Version: "v1beta1",
	Kind:    "RateLimitClientConfig",
}

GroupVersionKind for RateLimitClientConfig

View Source
var RateLimitServerConfigGVK = schema.GroupVersionKind{
	Group:   "networking.enterprise.mesh.gloo.solo.io",
	Version: "v1beta1",
	Kind:    "RateLimitServerConfig",
}

GroupVersionKind for RateLimitServerConfig

View Source
var RouteTableGVK = schema.GroupVersionKind{
	Group:   "networking.enterprise.mesh.gloo.solo.io",
	Version: "v1beta1",
	Kind:    "RouteTable",
}

GroupVersionKind for RouteTable

View Source
var ServiceDependencyGVK = schema.GroupVersionKind{
	Group:   "networking.enterprise.mesh.gloo.solo.io",
	Version: "v1beta1",
	Kind:    "ServiceDependency",
}

GroupVersionKind for ServiceDependency

View Source
var VirtualDestinationGVK = schema.GroupVersionKind{
	Group:   "networking.enterprise.mesh.gloo.solo.io",
	Version: "v1beta1",
	Kind:    "VirtualDestination",
}

GroupVersionKind for VirtualDestination

View Source
var VirtualGatewayGVK = schema.GroupVersionKind{
	Group:   "networking.enterprise.mesh.gloo.solo.io",
	Version: "v1beta1",
	Kind:    "VirtualGateway",
}

GroupVersionKind for VirtualGateway

View Source
var VirtualHostGVK = schema.GroupVersionKind{
	Group:   "networking.enterprise.mesh.gloo.solo.io",
	Version: "v1beta1",
	Kind:    "VirtualHost",
}

GroupVersionKind for VirtualHost

View Source
var WasmDeploymentGVK = schema.GroupVersionKind{
	Group:   "networking.enterprise.mesh.gloo.solo.io",
	Version: "v1beta1",
	Kind:    "WasmDeployment",
}

GroupVersionKind for WasmDeployment

Functions

func AddToScheme

func AddToScheme(s *runtime.Scheme) error

func NewCertificateVerificationClient added in v1.1.0

func NewCertificateVerificationClient(client client.Client) *certificateVerificationClient

func NewRateLimitClientConfigClient added in v1.1.0

func NewRateLimitClientConfigClient(client client.Client) *rateLimitClientConfigClient

func NewRateLimitServerConfigClient added in v1.1.0

func NewRateLimitServerConfigClient(client client.Client) *rateLimitServerConfigClient

func NewRouteTableClient added in v1.1.0

func NewRouteTableClient(client client.Client) *routeTableClient

func NewServiceDependencyClient added in v1.1.0

func NewServiceDependencyClient(client client.Client) *serviceDependencyClient

func NewVirtualDestinationClient

func NewVirtualDestinationClient(client client.Client) *virtualDestinationClient

func NewVirtualGatewayClient added in v1.1.0

func NewVirtualGatewayClient(client client.Client) *virtualGatewayClient

func NewVirtualHostClient added in v1.1.0

func NewVirtualHostClient(client client.Client) *virtualHostClient

func NewWasmDeploymentClient

func NewWasmDeploymentClient(client client.Client) *wasmDeploymentClient

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type CertificateVerification added in v1.1.0

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

	Spec   CertificateVerificationSpec   `json:"spec,omitempty"`
	Status CertificateVerificationStatus `json:"status,omitempty"`
}

CertificateVerification is the Schema for the certificateVerification API

func (*CertificateVerification) DeepCopy added in v1.1.0

func (*CertificateVerification) DeepCopyInto added in v1.1.0

func (in *CertificateVerification) DeepCopyInto(out *CertificateVerification)

func (*CertificateVerification) DeepCopyObject added in v1.1.0

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

func (CertificateVerification) GVK added in v1.1.0

GVK returns the GroupVersionKind associated with the resource type.

type CertificateVerificationClient added in v1.1.0

Client knows how to perform CRUD operations on CertificateVerifications.

type CertificateVerificationList added in v1.1.0

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

CertificateVerificationList contains a list of CertificateVerification

func (*CertificateVerificationList) DeepCopy added in v1.1.0

func (*CertificateVerificationList) DeepCopyInto added in v1.1.0

func (*CertificateVerificationList) DeepCopyObject added in v1.1.0

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

type CertificateVerificationReader added in v1.1.0

type CertificateVerificationReader interface {
	// Get retrieves a CertificateVerification for the given object key
	GetCertificateVerification(ctx context.Context, key client.ObjectKey) (*CertificateVerification, error)

	// List retrieves list of CertificateVerifications for a given namespace and list options.
	ListCertificateVerification(ctx context.Context, opts ...client.ListOption) (*CertificateVerificationList, error)
}

Reader knows how to read and list CertificateVerifications.

type CertificateVerificationSlice added in v1.1.0

type CertificateVerificationSlice []*CertificateVerification

CertificateVerificationSlice represents a slice of *CertificateVerification

type CertificateVerificationSpec added in v1.1.0

type CertificateVerificationSpec struct {

	// The rotation state to verify using this CertificateVerification.
	// This must be an active state
	// 1. ADDING_NEW_ROOT
	// 2. PROPAGATING_NEW_INTERMEDIATE
	// 3. DELETING_OLD_ROOT
	// 4. PREVIOUS_CA
	Step v1.CertificateRotationState `protobuf:"varint,1,opt,name=step,proto3,enum=certificates.mesh.gloo.solo.io.CertificateRotationState" json:"step,omitempty"`
	// The action which this verification will kick off
	Action CertificateVerificationSpec_VerificationAction `` /* 158-byte string literal not displayed */
	// The VirtualMesh being rotated which this resource should apply to.
	VirtualMesh *v11.ObjectRef `protobuf:"bytes,3,opt,name=virtual_mesh,json=virtualMesh,proto3" json:"virtual_mesh,omitempty"`
	// contains filtered or unexported fields
}

CertificateVerification is the resource by which a user can verify the traffic during a VirtualMesh certificate rotation.

To do this, a user would create a CertificateVerification containing: 1. The step being verified 2. The action which the user would like to kick off 3. The VirtualMesh being rotated

An example of a Verification for a Virtual Mesh which has just added a new root successfully would be: ```yaml apiVersion: networking.enterprise.mesh.gloo.solo.io/v1beta1 kind: CertificateVerification metadata: name: successful-verification namespace: gloo-mesh spec: action: CONTINUE virtualMesh: name: my-virtual-mesh namespace: gloo-mesh step: ADDING_NEW_ROOT ```

An example of a Verification for a Virtual Mesh which has failed to propagate the new intermediate would be the following: In addition this example does not specify a namespace for the virtualMesh because it is in the same namesapce as the CertificateVerification. ```yaml apiVersion: networking.enterprise.mesh.gloo.solo.io/v1beta1 kind: CertificateVerification metadata: name: successful-verification namespace: gloo-mesh spec: action: ROLLBACK virtualMesh: name: my-virtual-mesh step: PROPAGATING_NEW_INTERMEDIATE ```

func (*CertificateVerificationSpec) DeepCopyInto added in v1.1.0

DeepCopyInto for the CertificateVerification.Spec

func (*CertificateVerificationSpec) Descriptor deprecated added in v1.1.0

func (*CertificateVerificationSpec) Descriptor() ([]byte, []int)

Deprecated: Use CertificateVerificationSpec.ProtoReflect.Descriptor instead.

func (*CertificateVerificationSpec) Equal added in v1.1.0

func (m *CertificateVerificationSpec) Equal(that interface{}) bool

Equal function

func (*CertificateVerificationSpec) GetAction added in v1.1.0

func (*CertificateVerificationSpec) GetStep added in v1.1.0

func (*CertificateVerificationSpec) GetVirtualMesh added in v1.1.0

func (x *CertificateVerificationSpec) GetVirtualMesh() *v11.ObjectRef

func (*CertificateVerificationSpec) MarshalJSON added in v1.1.0

func (this *CertificateVerificationSpec) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for CertificateVerificationSpec

func (*CertificateVerificationSpec) ProtoMessage added in v1.1.0

func (*CertificateVerificationSpec) ProtoMessage()

func (*CertificateVerificationSpec) ProtoReflect added in v1.1.0

func (*CertificateVerificationSpec) Reset added in v1.1.0

func (x *CertificateVerificationSpec) Reset()

func (*CertificateVerificationSpec) String added in v1.1.0

func (x *CertificateVerificationSpec) String() string

func (*CertificateVerificationSpec) UnmarshalJSON added in v1.1.0

func (this *CertificateVerificationSpec) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for CertificateVerificationSpec

type CertificateVerificationSpec_VerificationAction added in v1.1.0

type CertificateVerificationSpec_VerificationAction int32

The actions available when verifying

const (
	// Default action.
	// This will continue the rotation.
	// This option should only be used if the traffic has been verified to be healthy across the VirtualMesh
	CertificateVerificationSpec_CONTINUE CertificateVerificationSpec_VerificationAction = 0
	// This action will move the rotation back to the previous active state.
	// This should be used when the traffic is unhealthy as a result of a rotation step,
	// and you need to return to the previous good state.
	CertificateVerificationSpec_ROLLBACK CertificateVerificationSpec_VerificationAction = 1
)

func (CertificateVerificationSpec_VerificationAction) Descriptor added in v1.1.0

func (CertificateVerificationSpec_VerificationAction) Enum added in v1.1.0

func (CertificateVerificationSpec_VerificationAction) EnumDescriptor deprecated added in v1.1.0

Deprecated: Use CertificateVerificationSpec_VerificationAction.Descriptor instead.

func (CertificateVerificationSpec_VerificationAction) Number added in v1.1.0

func (CertificateVerificationSpec_VerificationAction) String added in v1.1.0

func (CertificateVerificationSpec_VerificationAction) Type added in v1.1.0

type CertificateVerificationStatus added in v1.1.0

type CertificateVerificationStatus struct {

	// The most recent generation observed in the the CertificateVerification metadata.
	// If the `observedGeneration` does not match `metadata.generation`, the issuer has not processed the most
	// recent version of this request.
	ObservedGeneration int64 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
	// Any error observed which prevented the CertificateVerification from being processed.
	// If the error is empty, the request has been processed successfully
	Errors []string `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// The current state of the CertificateVerification resource as reported by the rotation verifier.
	State CertificateVerificationStatus_State `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CertificateVerificationStatus) DeepCopyInto added in v1.1.0

DeepCopyInto for the CertificateVerification.Status

func (*CertificateVerificationStatus) Descriptor deprecated added in v1.1.0

func (*CertificateVerificationStatus) Descriptor() ([]byte, []int)

Deprecated: Use CertificateVerificationStatus.ProtoReflect.Descriptor instead.

func (*CertificateVerificationStatus) Equal added in v1.1.0

func (m *CertificateVerificationStatus) Equal(that interface{}) bool

Equal function

func (*CertificateVerificationStatus) GetErrors added in v1.1.0

func (x *CertificateVerificationStatus) GetErrors() []string

func (*CertificateVerificationStatus) GetObservedGeneration added in v1.1.0

func (x *CertificateVerificationStatus) GetObservedGeneration() int64

func (*CertificateVerificationStatus) GetState added in v1.1.0

func (*CertificateVerificationStatus) MarshalJSON added in v1.1.0

func (this *CertificateVerificationStatus) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for CertificateVerificationStatus

func (*CertificateVerificationStatus) ProtoMessage added in v1.1.0

func (*CertificateVerificationStatus) ProtoMessage()

func (*CertificateVerificationStatus) ProtoReflect added in v1.1.0

func (*CertificateVerificationStatus) Reset added in v1.1.0

func (x *CertificateVerificationStatus) Reset()

func (*CertificateVerificationStatus) String added in v1.1.0

func (*CertificateVerificationStatus) UnmarshalJSON added in v1.1.0

func (this *CertificateVerificationStatus) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for CertificateVerificationStatus

type CertificateVerificationStatusWriter added in v1.1.0

type CertificateVerificationStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given CertificateVerification object.
	UpdateCertificateVerificationStatus(ctx context.Context, obj *CertificateVerification, opts ...client.UpdateOption) error

	// Patch patches the given CertificateVerification object's subresource.
	PatchCertificateVerificationStatus(ctx context.Context, obj *CertificateVerification, patch client.Patch, opts ...client.PatchOption) error
}

StatusWriter knows how to update status subresource of a CertificateVerification object.

type CertificateVerificationStatus_State added in v1.1.0

type CertificateVerificationStatus_State int32

Possible states in which a CertificateVerification can exist.

const (
	// The CertificateVerification has yet to be picked up by the translator.
	CertificateVerificationStatus_PENDING CertificateVerificationStatus_State = 0
	// The CertificateVerification has been used to verify a rotation step.
	CertificateVerificationStatus_VERIFIED CertificateVerificationStatus_State = 1
	// The CertificateVerification is invalid.
	CertificateVerificationStatus_INVALID CertificateVerificationStatus_State = 2
)

func (CertificateVerificationStatus_State) Descriptor added in v1.1.0

func (CertificateVerificationStatus_State) Enum added in v1.1.0

func (CertificateVerificationStatus_State) EnumDescriptor deprecated added in v1.1.0

func (CertificateVerificationStatus_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use CertificateVerificationStatus_State.Descriptor instead.

func (CertificateVerificationStatus_State) Number added in v1.1.0

func (CertificateVerificationStatus_State) String added in v1.1.0

func (CertificateVerificationStatus_State) Type added in v1.1.0

type CertificateVerificationTransitionFunction added in v1.1.0

type CertificateVerificationTransitionFunction func(existing, desired *CertificateVerification) error

CertificateVerificationTransitionFunction instructs the CertificateVerificationWriter how to transition between an existing CertificateVerification object and a desired on an Upsert

type CertificateVerificationWriter added in v1.1.0

type CertificateVerificationWriter interface {
	// Create saves the CertificateVerification object.
	CreateCertificateVerification(ctx context.Context, obj *CertificateVerification, opts ...client.CreateOption) error

	// Delete deletes the CertificateVerification object.
	DeleteCertificateVerification(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

	// Update updates the given CertificateVerification object.
	UpdateCertificateVerification(ctx context.Context, obj *CertificateVerification, opts ...client.UpdateOption) error

	// Patch patches the given CertificateVerification object.
	PatchCertificateVerification(ctx context.Context, obj *CertificateVerification, patch client.Patch, opts ...client.PatchOption) error

	// DeleteAllOf deletes all CertificateVerification objects matching the given options.
	DeleteAllOfCertificateVerification(ctx context.Context, opts ...client.DeleteAllOfOption) error

	// Create or Update the CertificateVerification object.
	UpsertCertificateVerification(ctx context.Context, obj *CertificateVerification, transitionFuncs ...CertificateVerificationTransitionFunction) error
}

Writer knows how to create, delete, and update CertificateVerifications.

type Clientset

type Clientset interface {
	// clienset for the networking.enterprise.mesh.gloo.solo.io/v1beta1/v1beta1 APIs
	WasmDeployments() WasmDeploymentClient
	// clienset for the networking.enterprise.mesh.gloo.solo.io/v1beta1/v1beta1 APIs
	RateLimitClientConfigs() RateLimitClientConfigClient
	// clienset for the networking.enterprise.mesh.gloo.solo.io/v1beta1/v1beta1 APIs
	RateLimitServerConfigs() RateLimitServerConfigClient
	// clienset for the networking.enterprise.mesh.gloo.solo.io/v1beta1/v1beta1 APIs
	VirtualDestinations() VirtualDestinationClient
	// clienset for the networking.enterprise.mesh.gloo.solo.io/v1beta1/v1beta1 APIs
	VirtualGateways() VirtualGatewayClient
	// clienset for the networking.enterprise.mesh.gloo.solo.io/v1beta1/v1beta1 APIs
	VirtualHosts() VirtualHostClient
	// clienset for the networking.enterprise.mesh.gloo.solo.io/v1beta1/v1beta1 APIs
	RouteTables() RouteTableClient
	// clienset for the networking.enterprise.mesh.gloo.solo.io/v1beta1/v1beta1 APIs
	ServiceDependencies() ServiceDependencyClient
	// clienset for the networking.enterprise.mesh.gloo.solo.io/v1beta1/v1beta1 APIs
	CertificateVerifications() CertificateVerificationClient
}

clienset for the networking.enterprise.mesh.gloo.solo.io/v1beta1 APIs

func NewClientset

func NewClientset(client client.Client) Clientset

func NewClientsetFromConfig

func NewClientsetFromConfig(cfg *rest.Config) (Clientset, error)

type DelegateAction added in v1.1.0

type DelegateAction struct {

	// Delegate to the RouteTable resources with matching `name` and `namespace`.
	Refs []*v11.ObjectRef `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"`
	// Delegate to the RouteTables that match the given selector.
	// Selected route tables are ordered by creation time stamp in ascending order to guarantee consistent ordering.
	Selector *v11.ObjectSelector `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"`
	// How routes should be sorted
	SortMethod DelegateAction_SortMethod `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

Note: This message needs to be at this level (rather than nested) due to cue restrictions. DelegateActions are used to delegate routing decisions to other resources, for example RouteTables.

func (*DelegateAction) Descriptor deprecated added in v1.1.0

func (*DelegateAction) Descriptor() ([]byte, []int)

Deprecated: Use DelegateAction.ProtoReflect.Descriptor instead.

func (*DelegateAction) Equal added in v1.1.0

func (m *DelegateAction) Equal(that interface{}) bool

Equal function

func (*DelegateAction) GetRefs added in v1.1.0

func (x *DelegateAction) GetRefs() []*v11.ObjectRef

func (*DelegateAction) GetSelector added in v1.1.0

func (x *DelegateAction) GetSelector() *v11.ObjectSelector

func (*DelegateAction) GetSortMethod added in v1.1.0

func (x *DelegateAction) GetSortMethod() DelegateAction_SortMethod

func (*DelegateAction) ProtoMessage added in v1.1.0

func (*DelegateAction) ProtoMessage()

func (*DelegateAction) ProtoReflect added in v1.1.0

func (x *DelegateAction) ProtoReflect() protoreflect.Message

func (*DelegateAction) Reset added in v1.1.0

func (x *DelegateAction) Reset()

func (*DelegateAction) String added in v1.1.0

func (x *DelegateAction) String() string

type DelegateAction_SortMethod added in v1.1.0

type DelegateAction_SortMethod int32
const (
	// Routes are kept in the order that they appear relative to their tables, but tables are sorted by weight.
	// Tables that have the same weight will stay in the same order that they are listed in, which is the list
	// order when given as a reference and by creation timestamp when selected.
	DelegateAction_TABLE_WEIGHT DelegateAction_SortMethod = 0
	// After processing all routes, including additional route tables delegated to, the resulting routes are sorted
	// by specificity to reduce the chance that a more specific route will be short-circuited by a general route.
	// Matchers with exact path matchers are considered more specific than regex path patchers, which are more
	// specific than prefix path matchers. Matchers of the same type are sorted by length of the path in descending
	// order. Only the most specific matcher on each route is used.
	DelegateAction_ROUTE_SPECIFICITY DelegateAction_SortMethod = 1
)

func (DelegateAction_SortMethod) Descriptor added in v1.1.0

func (DelegateAction_SortMethod) Enum added in v1.1.0

func (DelegateAction_SortMethod) EnumDescriptor deprecated added in v1.1.0

func (DelegateAction_SortMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use DelegateAction_SortMethod.Descriptor instead.

func (DelegateAction_SortMethod) Number added in v1.1.0

func (DelegateAction_SortMethod) String added in v1.1.0

func (x DelegateAction_SortMethod) String() string

func (DelegateAction_SortMethod) Type added in v1.1.0

type DirectResponseAction added in v1.1.0

type DirectResponseAction struct {

	// Specifies the HTTP response status to be returned.
	Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// Specifies the content of the response body. If this setting is omitted,
	// no body is included in the generated response.
	//
	// Note: Headers can be specified using the Header Modification feature in the enclosing
	// Route, ConnectionHandler, or Gateway options.
	Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

Note: This message needs to be at this level (rather than nested) due to cue restrictions. DirectResponseAction is copied directly from https://github.com/envoyproxy/envoy/blob/master/api/envoy/api/v2/route/route.proto

func (*DirectResponseAction) Descriptor deprecated added in v1.1.0

func (*DirectResponseAction) Descriptor() ([]byte, []int)

Deprecated: Use DirectResponseAction.ProtoReflect.Descriptor instead.

func (*DirectResponseAction) Equal added in v1.1.0

func (m *DirectResponseAction) Equal(that interface{}) bool

Equal function

func (*DirectResponseAction) GetBody added in v1.1.0

func (x *DirectResponseAction) GetBody() string

func (*DirectResponseAction) GetStatus added in v1.1.0

func (x *DirectResponseAction) GetStatus() uint32

func (*DirectResponseAction) ProtoMessage added in v1.1.0

func (*DirectResponseAction) ProtoMessage()

func (*DirectResponseAction) ProtoReflect added in v1.1.0

func (x *DirectResponseAction) ProtoReflect() protoreflect.Message

func (*DirectResponseAction) Reset added in v1.1.0

func (x *DirectResponseAction) Reset()

func (*DirectResponseAction) String added in v1.1.0

func (x *DirectResponseAction) String() string

type ImagePullOptions

type ImagePullOptions struct {

	// If a username/password is required,
	// specify the name of a secret with keys:
	// * username: <username>
	// * password: <password>
	//
	// The secret must live in the Enterprises Agent namespace.
	PullSecret string `protobuf:"bytes,1,opt,name=pullSecret,proto3" json:"pullSecret,omitempty"`
	// If true skip verifying the image server's TLS certificate.
	InsecureSkipVerify bool `protobuf:"varint,2,opt,name=insecureSkipVerify,proto3" json:"insecureSkipVerify,omitempty"`
	// If true use HTTP instead of HTTPS.
	PlainHttp bool `protobuf:"varint,3,opt,name=plainHttp,proto3" json:"plainHttp,omitempty"`
	// contains filtered or unexported fields
}

NOTE: ImagePullOptions are currently unsupported.

func (*ImagePullOptions) Descriptor deprecated

func (*ImagePullOptions) Descriptor() ([]byte, []int)

Deprecated: Use ImagePullOptions.ProtoReflect.Descriptor instead.

func (*ImagePullOptions) GetInsecureSkipVerify

func (x *ImagePullOptions) GetInsecureSkipVerify() bool

func (*ImagePullOptions) GetPlainHttp

func (x *ImagePullOptions) GetPlainHttp() bool

func (*ImagePullOptions) GetPullSecret

func (x *ImagePullOptions) GetPullSecret() string

func (*ImagePullOptions) ProtoMessage

func (*ImagePullOptions) ProtoMessage()

func (*ImagePullOptions) ProtoReflect

func (x *ImagePullOptions) ProtoReflect() protoreflect.Message

func (*ImagePullOptions) Reset

func (x *ImagePullOptions) Reset()

func (*ImagePullOptions) String

func (x *ImagePullOptions) String() string

type MulticlusterCertificateVerificationClient added in v1.1.0

type MulticlusterCertificateVerificationClient interface {
	// Cluster returns a CertificateVerificationClient for the given cluster
	Cluster(cluster string) (CertificateVerificationClient, error)
}

Provides CertificateVerificationClients for multiple clusters.

func NewMulticlusterCertificateVerificationClient added in v1.1.0

func NewMulticlusterCertificateVerificationClient(client multicluster.Client) MulticlusterCertificateVerificationClient

type MulticlusterClientset

type MulticlusterClientset interface {
	// Cluster returns a Clientset for the given cluster
	Cluster(cluster string) (Clientset, error)
}

MulticlusterClientset for the networking.enterprise.mesh.gloo.solo.io/v1beta1 APIs

func NewMulticlusterClientset

func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset

type MulticlusterRateLimitClientConfigClient added in v1.1.0

type MulticlusterRateLimitClientConfigClient interface {
	// Cluster returns a RateLimitClientConfigClient for the given cluster
	Cluster(cluster string) (RateLimitClientConfigClient, error)
}

Provides RateLimitClientConfigClients for multiple clusters.

func NewMulticlusterRateLimitClientConfigClient added in v1.1.0

func NewMulticlusterRateLimitClientConfigClient(client multicluster.Client) MulticlusterRateLimitClientConfigClient

type MulticlusterRateLimitServerConfigClient added in v1.1.0

type MulticlusterRateLimitServerConfigClient interface {
	// Cluster returns a RateLimitServerConfigClient for the given cluster
	Cluster(cluster string) (RateLimitServerConfigClient, error)
}

Provides RateLimitServerConfigClients for multiple clusters.

func NewMulticlusterRateLimitServerConfigClient added in v1.1.0

func NewMulticlusterRateLimitServerConfigClient(client multicluster.Client) MulticlusterRateLimitServerConfigClient

type MulticlusterRouteTableClient added in v1.1.0

type MulticlusterRouteTableClient interface {
	// Cluster returns a RouteTableClient for the given cluster
	Cluster(cluster string) (RouteTableClient, error)
}

Provides RouteTableClients for multiple clusters.

func NewMulticlusterRouteTableClient added in v1.1.0

func NewMulticlusterRouteTableClient(client multicluster.Client) MulticlusterRouteTableClient

type MulticlusterServiceDependencyClient added in v1.1.0

type MulticlusterServiceDependencyClient interface {
	// Cluster returns a ServiceDependencyClient for the given cluster
	Cluster(cluster string) (ServiceDependencyClient, error)
}

Provides ServiceDependencyClients for multiple clusters.

func NewMulticlusterServiceDependencyClient added in v1.1.0

func NewMulticlusterServiceDependencyClient(client multicluster.Client) MulticlusterServiceDependencyClient

type MulticlusterVirtualDestinationClient

type MulticlusterVirtualDestinationClient interface {
	// Cluster returns a VirtualDestinationClient for the given cluster
	Cluster(cluster string) (VirtualDestinationClient, error)
}

Provides VirtualDestinationClients for multiple clusters.

func NewMulticlusterVirtualDestinationClient

func NewMulticlusterVirtualDestinationClient(client multicluster.Client) MulticlusterVirtualDestinationClient

type MulticlusterVirtualGatewayClient added in v1.1.0

type MulticlusterVirtualGatewayClient interface {
	// Cluster returns a VirtualGatewayClient for the given cluster
	Cluster(cluster string) (VirtualGatewayClient, error)
}

Provides VirtualGatewayClients for multiple clusters.

func NewMulticlusterVirtualGatewayClient added in v1.1.0

func NewMulticlusterVirtualGatewayClient(client multicluster.Client) MulticlusterVirtualGatewayClient

type MulticlusterVirtualHostClient added in v1.1.0

type MulticlusterVirtualHostClient interface {
	// Cluster returns a VirtualHostClient for the given cluster
	Cluster(cluster string) (VirtualHostClient, error)
}

Provides VirtualHostClients for multiple clusters.

func NewMulticlusterVirtualHostClient added in v1.1.0

func NewMulticlusterVirtualHostClient(client multicluster.Client) MulticlusterVirtualHostClient

type MulticlusterWasmDeploymentClient

type MulticlusterWasmDeploymentClient interface {
	// Cluster returns a WasmDeploymentClient for the given cluster
	Cluster(cluster string) (WasmDeploymentClient, error)
}

Provides WasmDeploymentClients for multiple clusters.

func NewMulticlusterWasmDeploymentClient

func NewMulticlusterWasmDeploymentClient(client multicluster.Client) MulticlusterWasmDeploymentClient

type RateLimitClientConfig added in v1.1.0

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

	Spec   RateLimitClientConfigSpec   `json:"spec,omitempty"`
	Status RateLimitClientConfigStatus `json:"status,omitempty"`
}

RateLimitClientConfig is the Schema for the rateLimitClientConfig API

func (*RateLimitClientConfig) DeepCopy added in v1.1.0

func (*RateLimitClientConfig) DeepCopyInto added in v1.1.0

func (in *RateLimitClientConfig) DeepCopyInto(out *RateLimitClientConfig)

func (*RateLimitClientConfig) DeepCopyObject added in v1.1.0

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

func (RateLimitClientConfig) GVK added in v1.1.0

GVK returns the GroupVersionKind associated with the resource type.

type RateLimitClientConfigClient added in v1.1.0

Client knows how to perform CRUD operations on RateLimitClientConfigs.

type RateLimitClientConfigList added in v1.1.0

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

RateLimitClientConfigList contains a list of RateLimitClientConfig

func (*RateLimitClientConfigList) DeepCopy added in v1.1.0

func (*RateLimitClientConfigList) DeepCopyInto added in v1.1.0

func (*RateLimitClientConfigList) DeepCopyObject added in v1.1.0

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

type RateLimitClientConfigReader added in v1.1.0

type RateLimitClientConfigReader interface {
	// Get retrieves a RateLimitClientConfig for the given object key
	GetRateLimitClientConfig(ctx context.Context, key client.ObjectKey) (*RateLimitClientConfig, error)

	// List retrieves list of RateLimitClientConfigs for a given namespace and list options.
	ListRateLimitClientConfig(ctx context.Context, opts ...client.ListOption) (*RateLimitClientConfigList, error)
}

Reader knows how to read and list RateLimitClientConfigs.

type RateLimitClientConfigSlice added in v1.1.0

type RateLimitClientConfigSlice []*RateLimitClientConfig

RateLimitClientConfigSlice represents a slice of *RateLimitClientConfig

type RateLimitClientConfigSpec added in v1.1.0

type RateLimitClientConfigSpec struct {

	// The RateLimitClient specifies the ratelimit Actions which the client (Envoy) will use to
	// compose the descriptors that will be sent to the server to make a rate limiting decision.
	RateLimits *ratelimit.RateLimitClient `protobuf:"bytes,1,opt,name=rate_limits,json=rateLimits,proto3" json:"rate_limits,omitempty"`
	// contains filtered or unexported fields
}

RateLimitClientConfig contains the client configuration for the rate limit Actions that determine how Envoy composes the descriptors that are sent to the rate limit server to check whether a request should be rate-limited

func (*RateLimitClientConfigSpec) DeepCopyInto added in v1.1.0

DeepCopyInto for the RateLimitClientConfig.Spec

func (*RateLimitClientConfigSpec) Descriptor deprecated added in v1.1.0

func (*RateLimitClientConfigSpec) Descriptor() ([]byte, []int)

Deprecated: Use RateLimitClientConfigSpec.ProtoReflect.Descriptor instead.

func (*RateLimitClientConfigSpec) Equal added in v1.1.0

func (m *RateLimitClientConfigSpec) Equal(that interface{}) bool

Equal function

func (*RateLimitClientConfigSpec) GetRateLimits added in v1.1.0

func (*RateLimitClientConfigSpec) MarshalJSON added in v1.1.0

func (this *RateLimitClientConfigSpec) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for RateLimitClientConfigSpec

func (*RateLimitClientConfigSpec) ProtoMessage added in v1.1.0

func (*RateLimitClientConfigSpec) ProtoMessage()

func (*RateLimitClientConfigSpec) ProtoReflect added in v1.1.0

func (*RateLimitClientConfigSpec) Reset added in v1.1.0

func (x *RateLimitClientConfigSpec) Reset()

func (*RateLimitClientConfigSpec) String added in v1.1.0

func (x *RateLimitClientConfigSpec) String() string

func (*RateLimitClientConfigSpec) UnmarshalJSON added in v1.1.0

func (this *RateLimitClientConfigSpec) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for RateLimitClientConfigSpec

type RateLimitClientConfigStatus added in v1.1.0

type RateLimitClientConfigStatus struct {

	// The most recent generation observed in the the RateLimitClientConfig metadata.
	// If the `observedGeneration` does not match `metadata.generation`,
	// Gloo Mesh has not processed the most recent version of this resource.
	ObservedGeneration int64 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
	// Any errors found while processing this generation of the resource.
	Errors []string `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// Any warnings found while processing this generation of the resource.
	Warnings []string `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// The current state of the RateLimitClientConfig.
	State RateLimitClientConfigStatus_State `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

The current status of the `RateLimitClientConfig`.

func (*RateLimitClientConfigStatus) DeepCopyInto added in v1.1.0

DeepCopyInto for the RateLimitClientConfig.Status

func (*RateLimitClientConfigStatus) Descriptor deprecated added in v1.1.0

func (*RateLimitClientConfigStatus) Descriptor() ([]byte, []int)

Deprecated: Use RateLimitClientConfigStatus.ProtoReflect.Descriptor instead.

func (*RateLimitClientConfigStatus) Equal added in v1.1.0

func (m *RateLimitClientConfigStatus) Equal(that interface{}) bool

Equal function

func (*RateLimitClientConfigStatus) GetErrors added in v1.1.0

func (x *RateLimitClientConfigStatus) GetErrors() []string

func (*RateLimitClientConfigStatus) GetObservedGeneration added in v1.1.0

func (x *RateLimitClientConfigStatus) GetObservedGeneration() int64

func (*RateLimitClientConfigStatus) GetState added in v1.1.0

func (*RateLimitClientConfigStatus) GetWarnings added in v1.1.0

func (x *RateLimitClientConfigStatus) GetWarnings() []string

func (*RateLimitClientConfigStatus) MarshalJSON added in v1.1.0

func (this *RateLimitClientConfigStatus) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for RateLimitClientConfigStatus

func (*RateLimitClientConfigStatus) ProtoMessage added in v1.1.0

func (*RateLimitClientConfigStatus) ProtoMessage()

func (*RateLimitClientConfigStatus) ProtoReflect added in v1.1.0

func (*RateLimitClientConfigStatus) Reset added in v1.1.0

func (x *RateLimitClientConfigStatus) Reset()

func (*RateLimitClientConfigStatus) String added in v1.1.0

func (x *RateLimitClientConfigStatus) String() string

func (*RateLimitClientConfigStatus) UnmarshalJSON added in v1.1.0

func (this *RateLimitClientConfigStatus) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for RateLimitClientConfigStatus

type RateLimitClientConfigStatusWriter added in v1.1.0

type RateLimitClientConfigStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given RateLimitClientConfig object.
	UpdateRateLimitClientConfigStatus(ctx context.Context, obj *RateLimitClientConfig, opts ...client.UpdateOption) error

	// Patch patches the given RateLimitClientConfig object's subresource.
	PatchRateLimitClientConfigStatus(ctx context.Context, obj *RateLimitClientConfig, patch client.Patch, opts ...client.PatchOption) error
}

StatusWriter knows how to update status subresource of a RateLimitClientConfig object.

type RateLimitClientConfigStatus_State added in v1.1.0

type RateLimitClientConfigStatus_State int32

Possible states of a RateLimitClientConfig resource reflected in the status by Gloo Mesh while processing a resource.

const (
	// Resources are in a Pending state before they have been processed by Gloo Mesh.
	RateLimitClientConfigStatus_PENDING RateLimitClientConfigStatus_State = 0
	// Resources are in a Accepted state when they are valid and have been applied successfully to
	// the Gloo Mesh configuration.
	RateLimitClientConfigStatus_ACCEPTED RateLimitClientConfigStatus_State = 1
	// Resources are in an Invalid state when they contain incorrect configuration parameters,
	// such as missing required values or invalid resource references.
	// An invalid state can also result when a resource's configuration is valid
	// but conflicts with another resource which was accepted in an earlier point in time.
	RateLimitClientConfigStatus_INVALID RateLimitClientConfigStatus_State = 2
	// Resources are in a Failed state when they contain correct configuration parameters,
	// but the server encountered an error trying to synchronize the system to
	// the desired state.
	RateLimitClientConfigStatus_FAILED RateLimitClientConfigStatus_State = 3
)

func (RateLimitClientConfigStatus_State) Descriptor added in v1.1.0

func (RateLimitClientConfigStatus_State) Enum added in v1.1.0

func (RateLimitClientConfigStatus_State) EnumDescriptor deprecated added in v1.1.0

func (RateLimitClientConfigStatus_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use RateLimitClientConfigStatus_State.Descriptor instead.

func (RateLimitClientConfigStatus_State) Number added in v1.1.0

func (RateLimitClientConfigStatus_State) String added in v1.1.0

func (RateLimitClientConfigStatus_State) Type added in v1.1.0

type RateLimitClientConfigTransitionFunction added in v1.1.0

type RateLimitClientConfigTransitionFunction func(existing, desired *RateLimitClientConfig) error

RateLimitClientConfigTransitionFunction instructs the RateLimitClientConfigWriter how to transition between an existing RateLimitClientConfig object and a desired on an Upsert

type RateLimitClientConfigWriter added in v1.1.0

type RateLimitClientConfigWriter interface {
	// Create saves the RateLimitClientConfig object.
	CreateRateLimitClientConfig(ctx context.Context, obj *RateLimitClientConfig, opts ...client.CreateOption) error

	// Delete deletes the RateLimitClientConfig object.
	DeleteRateLimitClientConfig(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

	// Update updates the given RateLimitClientConfig object.
	UpdateRateLimitClientConfig(ctx context.Context, obj *RateLimitClientConfig, opts ...client.UpdateOption) error

	// Patch patches the given RateLimitClientConfig object.
	PatchRateLimitClientConfig(ctx context.Context, obj *RateLimitClientConfig, patch client.Patch, opts ...client.PatchOption) error

	// DeleteAllOf deletes all RateLimitClientConfig objects matching the given options.
	DeleteAllOfRateLimitClientConfig(ctx context.Context, opts ...client.DeleteAllOfOption) error

	// Create or Update the RateLimitClientConfig object.
	UpsertRateLimitClientConfig(ctx context.Context, obj *RateLimitClientConfig, transitionFuncs ...RateLimitClientConfigTransitionFunction) error
}

Writer knows how to create, delete, and update RateLimitClientConfigs.

type RateLimitServerConfig added in v1.1.0

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

	Spec   RateLimitServerConfigSpec   `json:"spec,omitempty"`
	Status RateLimitServerConfigStatus `json:"status,omitempty"`
}

RateLimitServerConfig is the Schema for the rateLimitServerConfig API

func (*RateLimitServerConfig) DeepCopy added in v1.1.0

func (*RateLimitServerConfig) DeepCopyInto added in v1.1.0

func (in *RateLimitServerConfig) DeepCopyInto(out *RateLimitServerConfig)

func (*RateLimitServerConfig) DeepCopyObject added in v1.1.0

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

func (RateLimitServerConfig) GVK added in v1.1.0

GVK returns the GroupVersionKind associated with the resource type.

type RateLimitServerConfigClient added in v1.1.0

Client knows how to perform CRUD operations on RateLimitServerConfigs.

type RateLimitServerConfigList added in v1.1.0

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

RateLimitServerConfigList contains a list of RateLimitServerConfig

func (*RateLimitServerConfigList) DeepCopy added in v1.1.0

func (*RateLimitServerConfigList) DeepCopyInto added in v1.1.0

func (*RateLimitServerConfigList) DeepCopyObject added in v1.1.0

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

type RateLimitServerConfigReader added in v1.1.0

type RateLimitServerConfigReader interface {
	// Get retrieves a RateLimitServerConfig for the given object key
	GetRateLimitServerConfig(ctx context.Context, key client.ObjectKey) (*RateLimitServerConfig, error)

	// List retrieves list of RateLimitServerConfigs for a given namespace and list options.
	ListRateLimitServerConfig(ctx context.Context, opts ...client.ListOption) (*RateLimitServerConfigList, error)
}

Reader knows how to read and list RateLimitServerConfigs.

type RateLimitServerConfigSlice added in v1.1.0

type RateLimitServerConfigSlice []*RateLimitServerConfig

RateLimitServerConfigSlice represents a slice of *RateLimitServerConfig

type RateLimitServerConfigSpec added in v1.1.0

type RateLimitServerConfigSpec struct {

	// Each `RateLimitConfig` is an instance of one specific configuration type.
	// Currently, only raw configuration is supported, but going forward we are planning on adding
	// more high-level configuration formats to support specific use cases.
	//
	// Types that are assignable to ConfigType:
	//	*RateLimitServerConfigSpec_Raw_
	ConfigType isRateLimitServerConfigSpec_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

A `RateLimitConfig` describes the ratelimit server policy.

func (*RateLimitServerConfigSpec) DeepCopyInto added in v1.1.0

DeepCopyInto for the RateLimitServerConfig.Spec

func (*RateLimitServerConfigSpec) Descriptor deprecated added in v1.1.0

func (*RateLimitServerConfigSpec) Descriptor() ([]byte, []int)

Deprecated: Use RateLimitServerConfigSpec.ProtoReflect.Descriptor instead.

func (*RateLimitServerConfigSpec) Equal added in v1.1.0

func (m *RateLimitServerConfigSpec) Equal(that interface{}) bool

Equal function

func (*RateLimitServerConfigSpec) GetConfigType added in v1.1.0

func (m *RateLimitServerConfigSpec) GetConfigType() isRateLimitServerConfigSpec_ConfigType

func (*RateLimitServerConfigSpec) GetRaw added in v1.1.0

func (*RateLimitServerConfigSpec) MarshalJSON added in v1.1.0

func (this *RateLimitServerConfigSpec) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for RateLimitServerConfigSpec

func (*RateLimitServerConfigSpec) ProtoMessage added in v1.1.0

func (*RateLimitServerConfigSpec) ProtoMessage()

func (*RateLimitServerConfigSpec) ProtoReflect added in v1.1.0

func (*RateLimitServerConfigSpec) Reset added in v1.1.0

func (x *RateLimitServerConfigSpec) Reset()

func (*RateLimitServerConfigSpec) String added in v1.1.0

func (x *RateLimitServerConfigSpec) String() string

func (*RateLimitServerConfigSpec) UnmarshalJSON added in v1.1.0

func (this *RateLimitServerConfigSpec) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for RateLimitServerConfigSpec

type RateLimitServerConfigSpec_Raw added in v1.1.0

type RateLimitServerConfigSpec_Raw struct {

	// The descriptors that will be applied to the server.
	// {{/* Note: validation of this field disabled because it slows down cue tremendously*/}}
	Descriptors []*v1alpha1.Descriptor `protobuf:"bytes,1,rep,name=descriptors,proto3" json:"descriptors,omitempty"`
	// The set descriptors that will be applied to the server.
	// {{/* Note: validation of this field disabled because it slows down cue tremendously*/}}
	SetDescriptors []*v1alpha1.SetDescriptor `protobuf:"bytes,2,rep,name=set_descriptors,json=setDescriptors,proto3" json:"set_descriptors,omitempty"`
	// contains filtered or unexported fields
}

This object allows users to specify rate limit policies using the raw configuration formats used by the server and the client (Envoy). When using this configuration type, it is up to the user to ensure that server and client configurations match to implement the desired behavior. The server (and the client libraries that are shipped with it) will ensure that there are no collisions between raw configurations defined on separate `RateLimitConfig` resources.

func (*RateLimitServerConfigSpec_Raw) Descriptor deprecated added in v1.1.0

func (*RateLimitServerConfigSpec_Raw) Descriptor() ([]byte, []int)

Deprecated: Use RateLimitServerConfigSpec_Raw.ProtoReflect.Descriptor instead.

func (*RateLimitServerConfigSpec_Raw) Equal added in v1.1.0

func (m *RateLimitServerConfigSpec_Raw) Equal(that interface{}) bool

Equal function

func (*RateLimitServerConfigSpec_Raw) GetDescriptors added in v1.1.0

func (x *RateLimitServerConfigSpec_Raw) GetDescriptors() []*v1alpha1.Descriptor

func (*RateLimitServerConfigSpec_Raw) GetSetDescriptors added in v1.1.0

func (x *RateLimitServerConfigSpec_Raw) GetSetDescriptors() []*v1alpha1.SetDescriptor

func (*RateLimitServerConfigSpec_Raw) ProtoMessage added in v1.1.0

func (*RateLimitServerConfigSpec_Raw) ProtoMessage()

func (*RateLimitServerConfigSpec_Raw) ProtoReflect added in v1.1.0

func (*RateLimitServerConfigSpec_Raw) Reset added in v1.1.0

func (x *RateLimitServerConfigSpec_Raw) Reset()

func (*RateLimitServerConfigSpec_Raw) String added in v1.1.0

type RateLimitServerConfigSpec_Raw_ added in v1.1.0

type RateLimitServerConfigSpec_Raw_ struct {
	// Define a policy using the raw configuration format used by the server and the client (Envoy).
	Raw *RateLimitServerConfigSpec_Raw `protobuf:"bytes,1,opt,name=raw,proto3,oneof"`
}

type RateLimitServerConfigStatus added in v1.1.0

type RateLimitServerConfigStatus struct {

	// The most recent generation observed in the the RateLimitServerConfig metadata.
	// If the `observedGeneration` does not match `metadata.generation`,
	// Gloo Mesh has not processed the most recent version of this resource.
	ObservedGeneration int64 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
	// Any errors found while processing this generation of the resource.
	Errors []string `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// Any warnings found while processing this generation of the resource.
	Warnings []string `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// The current state of the RateLimitServerConfig.
	State RateLimitServerConfigStatus_State `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

The current status of the `RateLimitServerConfig`.

func (*RateLimitServerConfigStatus) DeepCopyInto added in v1.1.0

DeepCopyInto for the RateLimitServerConfig.Status

func (*RateLimitServerConfigStatus) Descriptor deprecated added in v1.1.0

func (*RateLimitServerConfigStatus) Descriptor() ([]byte, []int)

Deprecated: Use RateLimitServerConfigStatus.ProtoReflect.Descriptor instead.

func (*RateLimitServerConfigStatus) Equal added in v1.1.0

func (m *RateLimitServerConfigStatus) Equal(that interface{}) bool

Equal function

func (*RateLimitServerConfigStatus) GetErrors added in v1.1.0

func (x *RateLimitServerConfigStatus) GetErrors() []string

func (*RateLimitServerConfigStatus) GetObservedGeneration added in v1.1.0

func (x *RateLimitServerConfigStatus) GetObservedGeneration() int64

func (*RateLimitServerConfigStatus) GetState added in v1.1.0

func (*RateLimitServerConfigStatus) GetWarnings added in v1.1.0

func (x *RateLimitServerConfigStatus) GetWarnings() []string

func (*RateLimitServerConfigStatus) MarshalJSON added in v1.1.0

func (this *RateLimitServerConfigStatus) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for RateLimitServerConfigStatus

func (*RateLimitServerConfigStatus) ProtoMessage added in v1.1.0

func (*RateLimitServerConfigStatus) ProtoMessage()

func (*RateLimitServerConfigStatus) ProtoReflect added in v1.1.0

func (*RateLimitServerConfigStatus) Reset added in v1.1.0

func (x *RateLimitServerConfigStatus) Reset()

func (*RateLimitServerConfigStatus) String added in v1.1.0

func (x *RateLimitServerConfigStatus) String() string

func (*RateLimitServerConfigStatus) UnmarshalJSON added in v1.1.0

func (this *RateLimitServerConfigStatus) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for RateLimitServerConfigStatus

type RateLimitServerConfigStatusWriter added in v1.1.0

type RateLimitServerConfigStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given RateLimitServerConfig object.
	UpdateRateLimitServerConfigStatus(ctx context.Context, obj *RateLimitServerConfig, opts ...client.UpdateOption) error

	// Patch patches the given RateLimitServerConfig object's subresource.
	PatchRateLimitServerConfigStatus(ctx context.Context, obj *RateLimitServerConfig, patch client.Patch, opts ...client.PatchOption) error
}

StatusWriter knows how to update status subresource of a RateLimitServerConfig object.

type RateLimitServerConfigStatus_State added in v1.1.0

type RateLimitServerConfigStatus_State int32

Possible states of a RateLimitServerConfig resource reflected in the status by Gloo Mesh while processing a resource.

const (
	// Resources are in a Pending state before they have been processed by Gloo Mesh.
	RateLimitServerConfigStatus_PENDING RateLimitServerConfigStatus_State = 0
	// Resources are in a Accepted state when they are valid and have been applied successfully to
	// the Gloo Mesh configuration.
	RateLimitServerConfigStatus_ACCEPTED RateLimitServerConfigStatus_State = 1
	// Resources are in an Invalid state when they contain incorrect configuration parameters,
	// such as missing required values or invalid resource references.
	// An invalid state can also result when a resource's configuration is valid
	// but conflicts with another resource which was accepted in an earlier point in time.
	RateLimitServerConfigStatus_REJECTED RateLimitServerConfigStatus_State = 2
	// Resources are in a Failed state when they contain correct configuration parameters,
	// but the server encountered an error trying to synchronize the system to
	// the desired state.
	RateLimitServerConfigStatus_FAILED RateLimitServerConfigStatus_State = 3
)

func (RateLimitServerConfigStatus_State) Descriptor added in v1.1.0

func (RateLimitServerConfigStatus_State) Enum added in v1.1.0

func (RateLimitServerConfigStatus_State) EnumDescriptor deprecated added in v1.1.0

func (RateLimitServerConfigStatus_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use RateLimitServerConfigStatus_State.Descriptor instead.

func (RateLimitServerConfigStatus_State) Number added in v1.1.0

func (RateLimitServerConfigStatus_State) String added in v1.1.0

func (RateLimitServerConfigStatus_State) Type added in v1.1.0

type RateLimitServerConfigTransitionFunction added in v1.1.0

type RateLimitServerConfigTransitionFunction func(existing, desired *RateLimitServerConfig) error

RateLimitServerConfigTransitionFunction instructs the RateLimitServerConfigWriter how to transition between an existing RateLimitServerConfig object and a desired on an Upsert

type RateLimitServerConfigWriter added in v1.1.0

type RateLimitServerConfigWriter interface {
	// Create saves the RateLimitServerConfig object.
	CreateRateLimitServerConfig(ctx context.Context, obj *RateLimitServerConfig, opts ...client.CreateOption) error

	// Delete deletes the RateLimitServerConfig object.
	DeleteRateLimitServerConfig(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

	// Update updates the given RateLimitServerConfig object.
	UpdateRateLimitServerConfig(ctx context.Context, obj *RateLimitServerConfig, opts ...client.UpdateOption) error

	// Patch patches the given RateLimitServerConfig object.
	PatchRateLimitServerConfig(ctx context.Context, obj *RateLimitServerConfig, patch client.Patch, opts ...client.PatchOption) error

	// DeleteAllOf deletes all RateLimitServerConfig objects matching the given options.
	DeleteAllOfRateLimitServerConfig(ctx context.Context, opts ...client.DeleteAllOfOption) error

	// Create or Update the RateLimitServerConfig object.
	UpsertRateLimitServerConfig(ctx context.Context, obj *RateLimitServerConfig, transitionFuncs ...RateLimitServerConfigTransitionFunction) error
}

Writer knows how to create, delete, and update RateLimitServerConfigs.

type RedirectAction added in v1.1.0

type RedirectAction struct {

	// The host portion of the URL will be swapped with this value.
	HostRedirect string `protobuf:"bytes,1,opt,name=host_redirect,json=hostRedirect,proto3" json:"host_redirect,omitempty"`
	// Types that are assignable to PathRewriteSpecifier:
	//	*RedirectAction_PathRedirect
	//	*RedirectAction_PrefixRewrite
	PathRewriteSpecifier isRedirectAction_PathRewriteSpecifier `protobuf_oneof:"path_rewrite_specifier"`
	// The HTTP status code to use in the redirect response. The default response
	// code is MOVED_PERMANENTLY (301).
	ResponseCode RedirectAction_RedirectResponseCode `` /* 179-byte string literal not displayed */
	// The scheme portion of the URL will be swapped with "https".
	HttpsRedirect bool `protobuf:"varint,5,opt,name=https_redirect,json=httpsRedirect,proto3" json:"https_redirect,omitempty"`
	// Indicates that during redirection, the query portion of the URL will
	// be removed. Default value is false.
	StripQuery bool `protobuf:"varint,6,opt,name=strip_query,json=stripQuery,proto3" json:"strip_query,omitempty"`
	// contains filtered or unexported fields
}

Note: This message needs to be at this level (rather than nested) due to cue restrictions. Notice: RedirectAction is copied directly from https://github.com/envoyproxy/envoy/blob/master/api/envoy/api/v2/route/route.proto

func (*RedirectAction) Descriptor deprecated added in v1.1.0

func (*RedirectAction) Descriptor() ([]byte, []int)

Deprecated: Use RedirectAction.ProtoReflect.Descriptor instead.

func (*RedirectAction) Equal added in v1.1.0

func (m *RedirectAction) Equal(that interface{}) bool

Equal function

func (*RedirectAction) GetHostRedirect added in v1.1.0

func (x *RedirectAction) GetHostRedirect() string

func (*RedirectAction) GetHttpsRedirect added in v1.1.0

func (x *RedirectAction) GetHttpsRedirect() bool

func (*RedirectAction) GetPathRedirect added in v1.1.0

func (x *RedirectAction) GetPathRedirect() string

func (*RedirectAction) GetPathRewriteSpecifier added in v1.1.0

func (m *RedirectAction) GetPathRewriteSpecifier() isRedirectAction_PathRewriteSpecifier

func (*RedirectAction) GetPrefixRewrite added in v1.1.0

func (x *RedirectAction) GetPrefixRewrite() string

func (*RedirectAction) GetResponseCode added in v1.1.0

func (*RedirectAction) GetStripQuery added in v1.1.0

func (x *RedirectAction) GetStripQuery() bool

func (*RedirectAction) ProtoMessage added in v1.1.0

func (*RedirectAction) ProtoMessage()

func (*RedirectAction) ProtoReflect added in v1.1.0

func (x *RedirectAction) ProtoReflect() protoreflect.Message

func (*RedirectAction) Reset added in v1.1.0

func (x *RedirectAction) Reset()

func (*RedirectAction) String added in v1.1.0

func (x *RedirectAction) String() string

type RedirectAction_PathRedirect added in v1.1.0

type RedirectAction_PathRedirect struct {
	// The path portion of the URL will be swapped with this value.
	PathRedirect string `protobuf:"bytes,2,opt,name=path_redirect,json=pathRedirect,proto3,oneof"`
}

type RedirectAction_PrefixRewrite added in v1.1.0

type RedirectAction_PrefixRewrite struct {
	// Indicates that during redirection, the matched prefix (or path)
	// should be swapped with this value. This option allows redirect URLs be dynamically created
	// based on the request.
	//
	//   Pay attention to the use of trailing slashes as mentioned in
	//   `RouteAction`'s `prefix_rewrite`.
	PrefixRewrite string `protobuf:"bytes,3,opt,name=prefix_rewrite,json=prefixRewrite,proto3,oneof"`
}

type RedirectAction_RedirectResponseCode added in v1.1.0

type RedirectAction_RedirectResponseCode int32
const (
	// Moved Permanently HTTP Status Code - 301.
	RedirectAction_MOVED_PERMANENTLY RedirectAction_RedirectResponseCode = 0
	// Found HTTP Status Code - 302.
	RedirectAction_FOUND RedirectAction_RedirectResponseCode = 1
	// See Other HTTP Status Code - 303.
	RedirectAction_SEE_OTHER RedirectAction_RedirectResponseCode = 2
	// Temporary Redirect HTTP Status Code - 307.
	RedirectAction_TEMPORARY_REDIRECT RedirectAction_RedirectResponseCode = 3
	// Permanent Redirect HTTP Status Code - 308.
	RedirectAction_PERMANENT_REDIRECT RedirectAction_RedirectResponseCode = 4
)

func (RedirectAction_RedirectResponseCode) Descriptor added in v1.1.0

func (RedirectAction_RedirectResponseCode) Enum added in v1.1.0

func (RedirectAction_RedirectResponseCode) EnumDescriptor deprecated added in v1.1.0

func (RedirectAction_RedirectResponseCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use RedirectAction_RedirectResponseCode.Descriptor instead.

func (RedirectAction_RedirectResponseCode) Number added in v1.1.0

func (RedirectAction_RedirectResponseCode) String added in v1.1.0

func (RedirectAction_RedirectResponseCode) Type added in v1.1.0

type Route added in v1.1.0

type Route struct {

	// The name provides a convenience for users to be able to refer to a route by name.
	// It includes names of VS, Route, and RouteTable ancestors of the Route.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Matchers contain parameters for matching requests (i.e., based on HTTP path, headers, etc.).
	// If empty, the route will match all requests (i.e, a single "/" path prefix matcher).
	// For delegated routes, any parent matcher must have a `prefix` path matcher.
	Matchers []*v1.HttpMatcher `protobuf:"bytes,2,rep,name=matchers,proto3" json:"matchers,omitempty"`
	// The Route Action defines what action the proxy should take when a request matches the route.
	//
	// Types that are assignable to Action:
	//	*Route_RouteAction_
	//	*Route_RedirectAction
	//	*Route_DirectResponseAction
	//	*Route_DelegateAction
	Action isRoute_Action `protobuf_oneof:"action"`
	// Route Options extend the behavior of routes.
	// Route options include configuration such as retries, rate limiting, and request/response transformation.
	// RouteOption behavior will be inherited by delegated routes which do not specify their own `options`
	Options *v1.TrafficPolicySpec_Policy `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"`
	// Specify labels for this route, which are used by other resources (e.g. TrafficPolicy) to
	// select specific routes within a given gateway object.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

A route specifies how to match a request and what action to take when the request is matched.

When a request matches on a route, the route can perform one of the following actions: - *Route* the request to a destination - Reply with a *Direct Response* - Send a *Redirect* response to the client - *Delegate* the action for the request to one or more [`RouteTable`]({{< ref "/reference/api/github.com.solo-io.gloo-mesh.api.enterprise.networking.v1beta1.route_table.md" >}}) resources DelegateActions can be used to delegate the behavior for a set out routes to `RouteTable` resources.

func (*Route) Descriptor deprecated added in v1.1.0

func (*Route) Descriptor() ([]byte, []int)

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) Equal added in v1.1.0

func (m *Route) Equal(that interface{}) bool

Equal function

func (*Route) GetAction added in v1.1.0

func (m *Route) GetAction() isRoute_Action

func (*Route) GetDelegateAction added in v1.1.0

func (x *Route) GetDelegateAction() *DelegateAction

func (*Route) GetDirectResponseAction added in v1.1.0

func (x *Route) GetDirectResponseAction() *DirectResponseAction

func (*Route) GetLabels added in v1.1.0

func (x *Route) GetLabels() map[string]string

func (*Route) GetMatchers added in v1.1.0

func (x *Route) GetMatchers() []*v1.HttpMatcher

func (*Route) GetName added in v1.1.0

func (x *Route) GetName() string

func (*Route) GetOptions added in v1.1.0

func (x *Route) GetOptions() *v1.TrafficPolicySpec_Policy

func (*Route) GetRedirectAction added in v1.1.0

func (x *Route) GetRedirectAction() *RedirectAction

func (*Route) GetRouteAction added in v1.1.0

func (x *Route) GetRouteAction() *Route_RouteAction

func (*Route) ProtoMessage added in v1.1.0

func (*Route) ProtoMessage()

func (*Route) ProtoReflect added in v1.1.0

func (x *Route) ProtoReflect() protoreflect.Message

func (*Route) Reset added in v1.1.0

func (x *Route) Reset()

func (*Route) String added in v1.1.0

func (x *Route) String() string

type RouteTable added in v1.1.0

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

	Spec   RouteTableSpec   `json:"spec,omitempty"`
	Status RouteTableStatus `json:"status,omitempty"`
}

RouteTable is the Schema for the routeTable API

func (*RouteTable) DeepCopy added in v1.1.0

func (in *RouteTable) DeepCopy() *RouteTable

func (*RouteTable) DeepCopyInto added in v1.1.0

func (in *RouteTable) DeepCopyInto(out *RouteTable)

func (*RouteTable) DeepCopyObject added in v1.1.0

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

func (RouteTable) GVK added in v1.1.0

GVK returns the GroupVersionKind associated with the resource type.

type RouteTableClient added in v1.1.0

type RouteTableClient interface {
	RouteTableReader
	RouteTableWriter
	RouteTableStatusWriter
}

Client knows how to perform CRUD operations on RouteTables.

type RouteTableList added in v1.1.0

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

RouteTableList contains a list of RouteTable

func (*RouteTableList) DeepCopy added in v1.1.0

func (in *RouteTableList) DeepCopy() *RouteTableList

func (*RouteTableList) DeepCopyInto added in v1.1.0

func (in *RouteTableList) DeepCopyInto(out *RouteTableList)

func (*RouteTableList) DeepCopyObject added in v1.1.0

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

type RouteTableReader added in v1.1.0

type RouteTableReader interface {
	// Get retrieves a RouteTable for the given object key
	GetRouteTable(ctx context.Context, key client.ObjectKey) (*RouteTable, error)

	// List retrieves list of RouteTables for a given namespace and list options.
	ListRouteTable(ctx context.Context, opts ...client.ListOption) (*RouteTableList, error)
}

Reader knows how to read and list RouteTables.

type RouteTableSlice added in v1.1.0

type RouteTableSlice []*RouteTable

RouteTableSlice represents a slice of *RouteTable

type RouteTableSpec added in v1.1.0

type RouteTableSpec struct {

	// The list of HTTP Routes define routing actions to be taken for incoming HTTP requests whose host header matches
	// this virtual host. If the request matches more than one Route in the list, the first Route matched will be selected.
	// If the list of Routes is empty, the virtual host will be ignored by Gloo.
	Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	// Weight is used when sorting route tables in delegate action or routes when sorted by specificity.
	// Higher integer values are considered higher priority. The default value is 0.
	Weight int32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

RouteTable is a resource which can be referenced either from the top level VirtualHost resource, or from other RouteTables. It's primary use is to organizationally and logically separate the configuration of Routes, so that the responsibilities of Route configuration and maintenance can be divided between teams where appropriate.

func (*RouteTableSpec) DeepCopyInto added in v1.1.0

func (in *RouteTableSpec) DeepCopyInto(out *RouteTableSpec)

DeepCopyInto for the RouteTable.Spec

func (*RouteTableSpec) Descriptor deprecated added in v1.1.0

func (*RouteTableSpec) Descriptor() ([]byte, []int)

Deprecated: Use RouteTableSpec.ProtoReflect.Descriptor instead.

func (*RouteTableSpec) Equal added in v1.1.0

func (m *RouteTableSpec) Equal(that interface{}) bool

Equal function

func (*RouteTableSpec) GetRoutes added in v1.1.0

func (x *RouteTableSpec) GetRoutes() []*Route

func (*RouteTableSpec) GetWeight added in v1.1.0

func (x *RouteTableSpec) GetWeight() int32

func (*RouteTableSpec) MarshalJSON added in v1.1.0

func (this *RouteTableSpec) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for RouteTableSpec

func (*RouteTableSpec) ProtoMessage added in v1.1.0

func (*RouteTableSpec) ProtoMessage()

func (*RouteTableSpec) ProtoReflect added in v1.1.0

func (x *RouteTableSpec) ProtoReflect() protoreflect.Message

func (*RouteTableSpec) Reset added in v1.1.0

func (x *RouteTableSpec) Reset()

func (*RouteTableSpec) String added in v1.1.0

func (x *RouteTableSpec) String() string

func (*RouteTableSpec) UnmarshalJSON added in v1.1.0

func (this *RouteTableSpec) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for RouteTableSpec

type RouteTableStatus added in v1.1.0

type RouteTableStatus struct {

	// The most recent generation observed in the the RouteTable metadata.
	// If the `observedGeneration` does not match `metadata.generation`,
	// Gloo Mesh has not processed the most recent version of this resource.
	ObservedGeneration int64 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
	// The state of the overall resource.
	State v1.ApprovalState `protobuf:"varint,7,opt,name=state,proto3,enum=common.mesh.gloo.solo.io.ApprovalState" json:"state,omitempty"`
	// Any errors found while processing this generation of the resource.
	Errors []string `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// Any warnings found while processing this generation of the resource.
	Warnings []string `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// List of resources which have selected this RouteTable. Can be VirtualHosts or other RouteTables
	SelectedBy []*SelectedBy `protobuf:"bytes,4,rep,name=selected_by,json=selectedBy,proto3" json:"selected_by,omitempty"`
	// List of child RouteTables that this RouteTable delegates to
	SelectedRouteTables []*v11.ObjectRef `protobuf:"bytes,5,rep,name=selected_route_tables,json=selectedRouteTables,proto3" json:"selected_route_tables,omitempty"`
	// The set of TrafficPolicies that have been applied to this Destination.
	// {{/* Note: validation of this field disabled because it slows down cue tremendously*/}}
	AppliedTrafficPolicies []*v12.AppliedTrafficPolicy `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RouteTableStatus) DeepCopyInto added in v1.1.0

func (in *RouteTableStatus) DeepCopyInto(out *RouteTableStatus)

DeepCopyInto for the RouteTable.Status

func (*RouteTableStatus) Descriptor deprecated added in v1.1.0

func (*RouteTableStatus) Descriptor() ([]byte, []int)

Deprecated: Use RouteTableStatus.ProtoReflect.Descriptor instead.

func (*RouteTableStatus) Equal added in v1.1.0

func (m *RouteTableStatus) Equal(that interface{}) bool

Equal function

func (*RouteTableStatus) GetAppliedTrafficPolicies added in v1.1.0

func (x *RouteTableStatus) GetAppliedTrafficPolicies() []*v12.AppliedTrafficPolicy

func (*RouteTableStatus) GetErrors added in v1.1.0

func (x *RouteTableStatus) GetErrors() []string

func (*RouteTableStatus) GetObservedGeneration added in v1.1.0

func (x *RouteTableStatus) GetObservedGeneration() int64

func (*RouteTableStatus) GetSelectedBy added in v1.1.0

func (x *RouteTableStatus) GetSelectedBy() []*SelectedBy

func (*RouteTableStatus) GetSelectedRouteTables added in v1.1.0

func (x *RouteTableStatus) GetSelectedRouteTables() []*v11.ObjectRef

func (*RouteTableStatus) GetState added in v1.1.0

func (x *RouteTableStatus) GetState() v1.ApprovalState

func (*RouteTableStatus) GetWarnings added in v1.1.0

func (x *RouteTableStatus) GetWarnings() []string

func (*RouteTableStatus) MarshalJSON added in v1.1.0

func (this *RouteTableStatus) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for RouteTableStatus

func (*RouteTableStatus) ProtoMessage added in v1.1.0

func (*RouteTableStatus) ProtoMessage()

func (*RouteTableStatus) ProtoReflect added in v1.1.0

func (x *RouteTableStatus) ProtoReflect() protoreflect.Message

func (*RouteTableStatus) Reset added in v1.1.0

func (x *RouteTableStatus) Reset()

func (*RouteTableStatus) String added in v1.1.0

func (x *RouteTableStatus) String() string

func (*RouteTableStatus) UnmarshalJSON added in v1.1.0

func (this *RouteTableStatus) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for RouteTableStatus

type RouteTableStatusWriter added in v1.1.0

type RouteTableStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given RouteTable object.
	UpdateRouteTableStatus(ctx context.Context, obj *RouteTable, opts ...client.UpdateOption) error

	// Patch patches the given RouteTable object's subresource.
	PatchRouteTableStatus(ctx context.Context, obj *RouteTable, patch client.Patch, opts ...client.PatchOption) error
}

StatusWriter knows how to update status subresource of a RouteTable object.

type RouteTableTransitionFunction added in v1.1.0

type RouteTableTransitionFunction func(existing, desired *RouteTable) error

RouteTableTransitionFunction instructs the RouteTableWriter how to transition between an existing RouteTable object and a desired on an Upsert

type RouteTableWriter added in v1.1.0

type RouteTableWriter interface {
	// Create saves the RouteTable object.
	CreateRouteTable(ctx context.Context, obj *RouteTable, opts ...client.CreateOption) error

	// Delete deletes the RouteTable object.
	DeleteRouteTable(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

	// Update updates the given RouteTable object.
	UpdateRouteTable(ctx context.Context, obj *RouteTable, opts ...client.UpdateOption) error

	// Patch patches the given RouteTable object.
	PatchRouteTable(ctx context.Context, obj *RouteTable, patch client.Patch, opts ...client.PatchOption) error

	// DeleteAllOf deletes all RouteTable objects matching the given options.
	DeleteAllOfRouteTable(ctx context.Context, opts ...client.DeleteAllOfOption) error

	// Create or Update the RouteTable object.
	UpsertRouteTable(ctx context.Context, obj *RouteTable, transitionFuncs ...RouteTableTransitionFunction) error
}

Writer knows how to create, delete, and update RouteTables.

type Route_DelegateAction added in v1.1.0

type Route_DelegateAction struct {
	// Delegate routing actions for the given matcher to one or more RouteTables.
	DelegateAction *DelegateAction `protobuf:"bytes,6,opt,name=delegate_action,json=delegateAction,proto3,oneof"`
}

type Route_DirectResponseAction added in v1.1.0

type Route_DirectResponseAction struct {
	// Return an arbitrary HTTP response directly, without proxying.
	DirectResponseAction *DirectResponseAction `protobuf:"bytes,5,opt,name=direct_response_action,json=directResponseAction,proto3,oneof"`
}

type Route_RedirectAction added in v1.1.0

type Route_RedirectAction struct {
	// Redirect actions tell the proxy to return a redirect response to the downstream client.
	RedirectAction *RedirectAction `protobuf:"bytes,4,opt,name=redirect_action,json=redirectAction,proto3,oneof"`
}

type Route_RouteAction added in v1.1.0

type Route_RouteAction struct {

	// Defines the destination upstream for routing
	// Some destinations require additional configuration for the route (e.g. AWS upstreams require a function name
	// to be specified).
	Destinations []*v1.WeightedDestination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
	// Replace the path specified in the matcher with this value before passing upstream.
	// When a prefix matcher is used, only the prefix portion of the path is rewritten.
	// When an exact matcher is used, the whole path is replaced.
	// Rewriting the path when a regex matcher is used is currently unsupported.
	PathRewrite string `protobuf:"bytes,2,opt,name=path_rewrite,json=pathRewrite,proto3" json:"path_rewrite,omitempty"`
	// contains filtered or unexported fields
}

RouteActions are used to route matched requests to upstreams.

func (*Route_RouteAction) Descriptor deprecated added in v1.1.0

func (*Route_RouteAction) Descriptor() ([]byte, []int)

Deprecated: Use Route_RouteAction.ProtoReflect.Descriptor instead.

func (*Route_RouteAction) Equal added in v1.1.0

func (m *Route_RouteAction) Equal(that interface{}) bool

Equal function

func (*Route_RouteAction) GetDestinations added in v1.1.0

func (x *Route_RouteAction) GetDestinations() []*v1.WeightedDestination

func (*Route_RouteAction) GetPathRewrite added in v1.1.0

func (x *Route_RouteAction) GetPathRewrite() string

func (*Route_RouteAction) ProtoMessage added in v1.1.0

func (*Route_RouteAction) ProtoMessage()

func (*Route_RouteAction) ProtoReflect added in v1.1.0

func (x *Route_RouteAction) ProtoReflect() protoreflect.Message

func (*Route_RouteAction) Reset added in v1.1.0

func (x *Route_RouteAction) Reset()

func (*Route_RouteAction) String added in v1.1.0

func (x *Route_RouteAction) String() string

type Route_RouteAction_ added in v1.1.0

type Route_RouteAction_ struct {
	// This action is the primary action to be selected for most routes. The RouteAction tells the proxy to
	// route requests to an upstream.
	RouteAction *Route_RouteAction `protobuf:"bytes,3,opt,name=route_action,json=routeAction,proto3,oneof"`
}

type SDSConfig

type SDSConfig struct {

	// Target uri for the sds channel. currently only a unix domain socket is supported.
	TargetUri string `protobuf:"bytes,1,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"`
	// Types that are assignable to SdsBuilder:
	//	*SDSConfig_CallCredentials_
	//	*SDSConfig_ClusterName
	SdsBuilder isSDSConfig_SdsBuilder `protobuf_oneof:"sds_builder"`
	// The name of the secret containing the certificate
	CertificatesSecretName string `` /* 129-byte string literal not displayed */
	// The name of secret containing the validation context (i.e. root ca)
	ValidationContextName string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Note: This message needs to be at this level (rather than nested) due to cue restrictions.

func (*SDSConfig) Descriptor deprecated

func (*SDSConfig) Descriptor() ([]byte, []int)

Deprecated: Use SDSConfig.ProtoReflect.Descriptor instead.

func (*SDSConfig) Equal

func (m *SDSConfig) Equal(that interface{}) bool

Equal function

func (*SDSConfig) GetCallCredentials

func (x *SDSConfig) GetCallCredentials() *SDSConfig_CallCredentials

func (*SDSConfig) GetCertificatesSecretName

func (x *SDSConfig) GetCertificatesSecretName() string

func (*SDSConfig) GetClusterName

func (x *SDSConfig) GetClusterName() string

func (*SDSConfig) GetSdsBuilder

func (m *SDSConfig) GetSdsBuilder() isSDSConfig_SdsBuilder

func (*SDSConfig) GetTargetUri

func (x *SDSConfig) GetTargetUri() string

func (*SDSConfig) GetValidationContextName

func (x *SDSConfig) GetValidationContextName() string

func (*SDSConfig) ProtoMessage

func (*SDSConfig) ProtoMessage()

func (*SDSConfig) ProtoReflect

func (x *SDSConfig) ProtoReflect() protoreflect.Message

func (*SDSConfig) Reset

func (x *SDSConfig) Reset()

func (*SDSConfig) String

func (x *SDSConfig) String() string

type SDSConfig_CallCredentials

type SDSConfig_CallCredentials struct {

	// Call credentials are coming from a file,
	FileCredentialSource *SDSConfig_CallCredentials_FileCredentialSource `protobuf:"bytes,1,opt,name=file_credential_source,json=fileCredentialSource,proto3" json:"file_credential_source,omitempty"`
	// contains filtered or unexported fields
}

func (*SDSConfig_CallCredentials) Descriptor deprecated

func (*SDSConfig_CallCredentials) Descriptor() ([]byte, []int)

Deprecated: Use SDSConfig_CallCredentials.ProtoReflect.Descriptor instead.

func (*SDSConfig_CallCredentials) Equal

func (m *SDSConfig_CallCredentials) Equal(that interface{}) bool

Equal function

func (*SDSConfig_CallCredentials) GetFileCredentialSource

func (*SDSConfig_CallCredentials) ProtoMessage

func (*SDSConfig_CallCredentials) ProtoMessage()

func (*SDSConfig_CallCredentials) ProtoReflect

func (*SDSConfig_CallCredentials) Reset

func (x *SDSConfig_CallCredentials) Reset()

func (*SDSConfig_CallCredentials) String

func (x *SDSConfig_CallCredentials) String() string

type SDSConfig_CallCredentials_

type SDSConfig_CallCredentials_ struct {
	// Call credentials.
	CallCredentials *SDSConfig_CallCredentials `protobuf:"bytes,2,opt,name=call_credentials,json=callCredentials,proto3,oneof"`
}

type SDSConfig_CallCredentials_FileCredentialSource

type SDSConfig_CallCredentials_FileCredentialSource struct {

	// File containing auth token.
	TokenFileName string `protobuf:"bytes,1,opt,name=token_file_name,json=tokenFileName,proto3" json:"token_file_name,omitempty"`
	// Header to carry the token.
	Header string `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
	// contains filtered or unexported fields
}

func (*SDSConfig_CallCredentials_FileCredentialSource) Descriptor deprecated

Deprecated: Use SDSConfig_CallCredentials_FileCredentialSource.ProtoReflect.Descriptor instead.

func (*SDSConfig_CallCredentials_FileCredentialSource) Equal

func (m *SDSConfig_CallCredentials_FileCredentialSource) Equal(that interface{}) bool

Equal function

func (*SDSConfig_CallCredentials_FileCredentialSource) GetHeader

func (*SDSConfig_CallCredentials_FileCredentialSource) GetTokenFileName

func (*SDSConfig_CallCredentials_FileCredentialSource) ProtoMessage

func (*SDSConfig_CallCredentials_FileCredentialSource) ProtoReflect

func (*SDSConfig_CallCredentials_FileCredentialSource) Reset

func (*SDSConfig_CallCredentials_FileCredentialSource) String

type SDSConfig_ClusterName

type SDSConfig_ClusterName struct {
	// The name of the sds cluster in envoy
	ClusterName string `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3,oneof"`
}

type SelectedBy added in v1.1.0

type SelectedBy struct {

	// Name of resource selecting this RouteTable
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Namespace of resource selecting this RouteTable
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Type of resource selecting this RouteTable. Can be
	// VirtualGateway, VirtualHost, or RouteTable.
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectedBy) Descriptor deprecated added in v1.1.0

func (*SelectedBy) Descriptor() ([]byte, []int)

Deprecated: Use SelectedBy.ProtoReflect.Descriptor instead.

func (*SelectedBy) Equal added in v1.1.0

func (m *SelectedBy) Equal(that interface{}) bool

Equal function

func (*SelectedBy) GetName added in v1.1.0

func (x *SelectedBy) GetName() string

func (*SelectedBy) GetNamespace added in v1.1.0

func (x *SelectedBy) GetNamespace() string

func (*SelectedBy) GetType added in v1.1.0

func (x *SelectedBy) GetType() string

func (*SelectedBy) ProtoMessage added in v1.1.0

func (*SelectedBy) ProtoMessage()

func (*SelectedBy) ProtoReflect added in v1.1.0

func (x *SelectedBy) ProtoReflect() protoreflect.Message

func (*SelectedBy) Reset added in v1.1.0

func (x *SelectedBy) Reset()

func (*SelectedBy) String added in v1.1.0

func (x *SelectedBy) String() string

type SelectedGatewayWorkload

type SelectedGatewayWorkload struct {

	// the name of the gateway workload
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the namespace where the gateway workload is running
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// the cluster where the gateway workload is running
	ClusterName string `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	// the labels used to identify the gateway workload
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// the external URL by which the gateway can be accessed on the given workload, if it exists
	ExternalUrl string `protobuf:"bytes,5,opt,name=external_url,json=externalUrl,proto3" json:"external_url,omitempty"`
	// contains filtered or unexported fields
}

a gateway workload (e.g. Deployment) where a virtual gateway will be served

func (*SelectedGatewayWorkload) Descriptor deprecated

func (*SelectedGatewayWorkload) Descriptor() ([]byte, []int)

Deprecated: Use SelectedGatewayWorkload.ProtoReflect.Descriptor instead.

func (*SelectedGatewayWorkload) Equal

func (m *SelectedGatewayWorkload) Equal(that interface{}) bool

Equal function

func (*SelectedGatewayWorkload) GetClusterName

func (x *SelectedGatewayWorkload) GetClusterName() string

func (*SelectedGatewayWorkload) GetExternalUrl

func (x *SelectedGatewayWorkload) GetExternalUrl() string

func (*SelectedGatewayWorkload) GetLabels

func (x *SelectedGatewayWorkload) GetLabels() map[string]string

func (*SelectedGatewayWorkload) GetName

func (x *SelectedGatewayWorkload) GetName() string

func (*SelectedGatewayWorkload) GetNamespace

func (x *SelectedGatewayWorkload) GetNamespace() string

func (*SelectedGatewayWorkload) ProtoMessage

func (*SelectedGatewayWorkload) ProtoMessage()

func (*SelectedGatewayWorkload) ProtoReflect

func (x *SelectedGatewayWorkload) ProtoReflect() protoreflect.Message

func (*SelectedGatewayWorkload) Reset

func (x *SelectedGatewayWorkload) Reset()

func (*SelectedGatewayWorkload) String

func (x *SelectedGatewayWorkload) String() string

type ServiceDependency added in v1.1.0

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

	Spec   ServiceDependencySpec   `json:"spec,omitempty"`
	Status ServiceDependencyStatus `json:"status,omitempty"`
}

ServiceDependency is the Schema for the serviceDependency API

func (*ServiceDependency) DeepCopy added in v1.1.0

func (in *ServiceDependency) DeepCopy() *ServiceDependency

func (*ServiceDependency) DeepCopyInto added in v1.1.0

func (in *ServiceDependency) DeepCopyInto(out *ServiceDependency)

func (*ServiceDependency) DeepCopyObject added in v1.1.0

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

func (ServiceDependency) GVK added in v1.1.0

GVK returns the GroupVersionKind associated with the resource type.

type ServiceDependencyClient added in v1.1.0

Client knows how to perform CRUD operations on ServiceDependencys.

type ServiceDependencyList added in v1.1.0

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

ServiceDependencyList contains a list of ServiceDependency

func (*ServiceDependencyList) DeepCopy added in v1.1.0

func (*ServiceDependencyList) DeepCopyInto added in v1.1.0

func (in *ServiceDependencyList) DeepCopyInto(out *ServiceDependencyList)

func (*ServiceDependencyList) DeepCopyObject added in v1.1.0

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

type ServiceDependencyReader added in v1.1.0

type ServiceDependencyReader interface {
	// Get retrieves a ServiceDependency for the given object key
	GetServiceDependency(ctx context.Context, key client.ObjectKey) (*ServiceDependency, error)

	// List retrieves list of ServiceDependencys for a given namespace and list options.
	ListServiceDependency(ctx context.Context, opts ...client.ListOption) (*ServiceDependencyList, error)
}

Reader knows how to read and list ServiceDependencys.

type ServiceDependencySlice added in v1.1.0

type ServiceDependencySlice []*ServiceDependency

ServiceDependencySlice represents a slice of *ServiceDependency

type ServiceDependencySpec added in v1.1.0

type ServiceDependencySpec struct {

	// Select the traffic sources (i.e. Workloads) for this network ServiceDependency. If omitted, selects all Workloads.
	SourceSelectors []*v1.WorkloadSelector `protobuf:"bytes,1,rep,name=source_selectors,json=sourceSelectors,proto3" json:"source_selectors,omitempty"`
	// Select the traffic targets (i.e. Destination) for this network ServiceDependency. If omitted, selects all Destinations.
	DestinationSelectors []*v1.DestinationSelector `protobuf:"bytes,2,rep,name=destination_selectors,json=destinationSelectors,proto3" json:"destination_selectors,omitempty"`
	// contains filtered or unexported fields
}

A ServiceDependency specifies explicit dependencies between traffic sources and destinations in a service graph. Depending on the underlying service mesh, explicitly describing dependencies can improve the performance of the data plane by pruning away any unneeded networking configuration from the relevant proxies.

The complete set of service dependencies for a given traffic source is the aggregation of all unique Destinations selected by any applicable ServiceDependencies. If a traffic source has no applied ServiceDependencies, its service dependency configuration defaults to the behavior of the underlying service mesh.

Note that in order to block communication between sources and destinations not explicitly declared in a ServiceDependency, additional configuration on the underlying service mesh may be required. For instance, Istio must be configured with `outboundTrafficPolicy.Mode` set to `REGISTRY_ONLY` (see [here](https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy)) to enforce this behavior.

func (*ServiceDependencySpec) DeepCopyInto added in v1.1.0

func (in *ServiceDependencySpec) DeepCopyInto(out *ServiceDependencySpec)

DeepCopyInto for the ServiceDependency.Spec

func (*ServiceDependencySpec) Descriptor deprecated added in v1.1.0

func (*ServiceDependencySpec) Descriptor() ([]byte, []int)

Deprecated: Use ServiceDependencySpec.ProtoReflect.Descriptor instead.

func (*ServiceDependencySpec) Equal added in v1.1.0

func (m *ServiceDependencySpec) Equal(that interface{}) bool

Equal function

func (*ServiceDependencySpec) GetDestinationSelectors added in v1.1.0

func (x *ServiceDependencySpec) GetDestinationSelectors() []*v1.DestinationSelector

func (*ServiceDependencySpec) GetSourceSelectors added in v1.1.0

func (x *ServiceDependencySpec) GetSourceSelectors() []*v1.WorkloadSelector

func (*ServiceDependencySpec) MarshalJSON added in v1.1.0

func (this *ServiceDependencySpec) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ServiceDependencySpec

func (*ServiceDependencySpec) ProtoMessage added in v1.1.0

func (*ServiceDependencySpec) ProtoMessage()

func (*ServiceDependencySpec) ProtoReflect added in v1.1.0

func (x *ServiceDependencySpec) ProtoReflect() protoreflect.Message

func (*ServiceDependencySpec) Reset added in v1.1.0

func (x *ServiceDependencySpec) Reset()

func (*ServiceDependencySpec) String added in v1.1.0

func (x *ServiceDependencySpec) String() string

func (*ServiceDependencySpec) UnmarshalJSON added in v1.1.0

func (this *ServiceDependencySpec) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ServiceDependencySpec

type ServiceDependencyStatus added in v1.1.0

type ServiceDependencyStatus struct {

	// The most recent generation observed in the the ServiceDependency metadata.
	// If the observedGeneration does not match `metadata.generation`, Gloo Mesh has not processed the most
	// recent version of this resource.
	ObservedGeneration int64 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
	// The state of the overall resource, will only show accepted if it has been successfully
	// applied to all exported to Meshes.
	State v1.ApprovalState `protobuf:"varint,2,opt,name=state,proto3,enum=common.mesh.gloo.solo.io.ApprovalState" json:"state,omitempty"`
	// The status of the ServiceDependency for each selected Workload.
	// A ServiceDependency may have different statuses for each Workload it applies to.
	Workloads map[string]*v11.ApprovalStatus `` /* 159-byte string literal not displayed */
	// Any errors found while processing this generation of the resource.
	Errors []string `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceDependencyStatus) DeepCopyInto added in v1.1.0

func (in *ServiceDependencyStatus) DeepCopyInto(out *ServiceDependencyStatus)

DeepCopyInto for the ServiceDependency.Status

func (*ServiceDependencyStatus) Descriptor deprecated added in v1.1.0

func (*ServiceDependencyStatus) Descriptor() ([]byte, []int)

Deprecated: Use ServiceDependencyStatus.ProtoReflect.Descriptor instead.

func (*ServiceDependencyStatus) Equal added in v1.1.0

func (m *ServiceDependencyStatus) Equal(that interface{}) bool

Equal function

func (*ServiceDependencyStatus) GetErrors added in v1.1.0

func (x *ServiceDependencyStatus) GetErrors() []string

func (*ServiceDependencyStatus) GetObservedGeneration added in v1.1.0

func (x *ServiceDependencyStatus) GetObservedGeneration() int64

func (*ServiceDependencyStatus) GetState added in v1.1.0

func (*ServiceDependencyStatus) GetWorkloads added in v1.1.0

func (x *ServiceDependencyStatus) GetWorkloads() map[string]*v11.ApprovalStatus

func (*ServiceDependencyStatus) MarshalJSON added in v1.1.0

func (this *ServiceDependencyStatus) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ServiceDependencyStatus

func (*ServiceDependencyStatus) ProtoMessage added in v1.1.0

func (*ServiceDependencyStatus) ProtoMessage()

func (*ServiceDependencyStatus) ProtoReflect added in v1.1.0

func (x *ServiceDependencyStatus) ProtoReflect() protoreflect.Message

func (*ServiceDependencyStatus) Reset added in v1.1.0

func (x *ServiceDependencyStatus) Reset()

func (*ServiceDependencyStatus) String added in v1.1.0

func (x *ServiceDependencyStatus) String() string

func (*ServiceDependencyStatus) UnmarshalJSON added in v1.1.0

func (this *ServiceDependencyStatus) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ServiceDependencyStatus

type ServiceDependencyStatusWriter added in v1.1.0

type ServiceDependencyStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given ServiceDependency object.
	UpdateServiceDependencyStatus(ctx context.Context, obj *ServiceDependency, opts ...client.UpdateOption) error

	// Patch patches the given ServiceDependency object's subresource.
	PatchServiceDependencyStatus(ctx context.Context, obj *ServiceDependency, patch client.Patch, opts ...client.PatchOption) error
}

StatusWriter knows how to update status subresource of a ServiceDependency object.

type ServiceDependencyTransitionFunction added in v1.1.0

type ServiceDependencyTransitionFunction func(existing, desired *ServiceDependency) error

ServiceDependencyTransitionFunction instructs the ServiceDependencyWriter how to transition between an existing ServiceDependency object and a desired on an Upsert

type ServiceDependencyWriter added in v1.1.0

type ServiceDependencyWriter interface {
	// Create saves the ServiceDependency object.
	CreateServiceDependency(ctx context.Context, obj *ServiceDependency, opts ...client.CreateOption) error

	// Delete deletes the ServiceDependency object.
	DeleteServiceDependency(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

	// Update updates the given ServiceDependency object.
	UpdateServiceDependency(ctx context.Context, obj *ServiceDependency, opts ...client.UpdateOption) error

	// Patch patches the given ServiceDependency object.
	PatchServiceDependency(ctx context.Context, obj *ServiceDependency, patch client.Patch, opts ...client.PatchOption) error

	// DeleteAllOf deletes all ServiceDependency objects matching the given options.
	DeleteAllOfServiceDependency(ctx context.Context, opts ...client.DeleteAllOfOption) error

	// Create or Update the ServiceDependency object.
	UpsertServiceDependency(ctx context.Context, obj *ServiceDependency, transitionFuncs ...ServiceDependencyTransitionFunction) error
}

Writer knows how to create, delete, and update ServiceDependencys.

type UriSource

type UriSource struct {

	// The HTTP URI from which to fetch the filter.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Required. The Sha256 Checksum of the filter binary (will be verified by the proxy).
	Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
	// contains filtered or unexported fields
}

Specify options for fetching WASM Filters from an HTTP URI.

func (*UriSource) Descriptor deprecated

func (*UriSource) Descriptor() ([]byte, []int)

Deprecated: Use UriSource.ProtoReflect.Descriptor instead.

func (*UriSource) GetSha

func (x *UriSource) GetSha() string

func (*UriSource) GetUri

func (x *UriSource) GetUri() string

func (*UriSource) ProtoMessage

func (*UriSource) ProtoMessage()

func (*UriSource) ProtoReflect

func (x *UriSource) ProtoReflect() protoreflect.Message

func (*UriSource) Reset

func (x *UriSource) Reset()

func (*UriSource) String

func (x *UriSource) String() string

type VirtualDestination

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

	Spec   VirtualDestinationSpec   `json:"spec,omitempty"`
	Status VirtualDestinationStatus `json:"status,omitempty"`
}

VirtualDestination is the Schema for the virtualDestination API

func (*VirtualDestination) DeepCopy

func (in *VirtualDestination) DeepCopy() *VirtualDestination

func (*VirtualDestination) DeepCopyInto

func (in *VirtualDestination) DeepCopyInto(out *VirtualDestination)

func (*VirtualDestination) DeepCopyObject

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

func (VirtualDestination) GVK

GVK returns the GroupVersionKind associated with the resource type.

type VirtualDestinationBackingDestination

type VirtualDestinationBackingDestination struct {

	// Platform specific Destinations.
	//
	// Types that are assignable to Type:
	//	*VirtualDestinationBackingDestination_KubeService
	Type isVirtualDestinationBackingDestination_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

A backing Destination. Has to be at the top level, as cue does not function well with referencing nested messages.

func (*VirtualDestinationBackingDestination) Descriptor deprecated

func (*VirtualDestinationBackingDestination) Descriptor() ([]byte, []int)

Deprecated: Use VirtualDestinationBackingDestination.ProtoReflect.Descriptor instead.

func (*VirtualDestinationBackingDestination) Equal

func (m *VirtualDestinationBackingDestination) Equal(that interface{}) bool

Equal function

func (*VirtualDestinationBackingDestination) GetKubeService

func (*VirtualDestinationBackingDestination) GetType

func (m *VirtualDestinationBackingDestination) GetType() isVirtualDestinationBackingDestination_Type

func (*VirtualDestinationBackingDestination) ProtoMessage

func (*VirtualDestinationBackingDestination) ProtoMessage()

func (*VirtualDestinationBackingDestination) ProtoReflect

func (*VirtualDestinationBackingDestination) Reset

func (*VirtualDestinationBackingDestination) String

type VirtualDestinationBackingDestination_KubeService

type VirtualDestinationBackingDestination_KubeService struct {
	// Reference to a Kubernetes Service.
	KubeService *v1.ClusterObjectRef `protobuf:"bytes,1,opt,name=kube_service,json=kubeService,proto3,oneof"`
}

type VirtualDestinationClient

Client knows how to perform CRUD operations on VirtualDestinations.

type VirtualDestinationList

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

VirtualDestinationList contains a list of VirtualDestination

func (*VirtualDestinationList) DeepCopy

func (*VirtualDestinationList) DeepCopyInto

func (in *VirtualDestinationList) DeepCopyInto(out *VirtualDestinationList)

func (*VirtualDestinationList) DeepCopyObject

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

type VirtualDestinationReader

type VirtualDestinationReader interface {
	// Get retrieves a VirtualDestination for the given object key
	GetVirtualDestination(ctx context.Context, key client.ObjectKey) (*VirtualDestination, error)

	// List retrieves list of VirtualDestinations for a given namespace and list options.
	ListVirtualDestination(ctx context.Context, opts ...client.ListOption) (*VirtualDestinationList, error)
}

Reader knows how to read and list VirtualDestinations.

type VirtualDestinationSlice

type VirtualDestinationSlice []*VirtualDestination

VirtualDestinationSlice represents a slice of *VirtualDestination

type VirtualDestinationSpec

type VirtualDestinationSpec struct {

	// The DNS name of the VirtualDestination. Must be unique within the service mesh instance.
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// The port on which the VirtualDestination listens.
	Port *VirtualDestinationSpec_Port `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	// The VirtualDestination can be made visible to either a single Mesh, all Meshes grouped in a VirtualMesh or a subset of Meshes grouped in a VirtualMesh.
	// Caveat: this VirtualDestination will be exported to the meshes for all backing destinations, regardless of what's specified here.
	//
	// Types that are assignable to ExportTo:
	//	*VirtualDestinationSpec_VirtualMesh
	//	*VirtualDestinationSpec_MeshList_
	ExportTo isVirtualDestinationSpec_ExportTo `protobuf_oneof:"export_to"`
	// Configuration that determines failover ordering.
	//
	// Types that are assignable to FailoverConfig:
	//	*VirtualDestinationSpec_Static
	//	*VirtualDestinationSpec_Localized
	FailoverConfig isVirtualDestinationSpec_FailoverConfig `protobuf_oneof:"failover_config"`
	// contains filtered or unexported fields
}

A VirtualDestination creates a new hostname to which client workloads can send requests. The hostname abstracts over a set of underlying Destinations and provides failover functionality between them. Failover order is determined by either an explicitly defined priority (`static`), or a list of locality directives (`localized`).

Each Destination backing the VirtualDestination must be configured with a [TrafficPolicy's outlier detection]({{< versioned_link_path fromRoot="/reference/api/github.com.solo-io.gloo-mesh.api.networking.v1.traffic_policy/" >}}). Currently this feature only supports Destinations backed by Istio.

func (*VirtualDestinationSpec) DeepCopyInto

func (in *VirtualDestinationSpec) DeepCopyInto(out *VirtualDestinationSpec)

DeepCopyInto for the VirtualDestination.Spec

func (*VirtualDestinationSpec) Descriptor deprecated

func (*VirtualDestinationSpec) Descriptor() ([]byte, []int)

Deprecated: Use VirtualDestinationSpec.ProtoReflect.Descriptor instead.

func (*VirtualDestinationSpec) Equal

func (m *VirtualDestinationSpec) Equal(that interface{}) bool

Equal function

func (*VirtualDestinationSpec) GetExportTo

func (m *VirtualDestinationSpec) GetExportTo() isVirtualDestinationSpec_ExportTo

func (*VirtualDestinationSpec) GetFailoverConfig

func (m *VirtualDestinationSpec) GetFailoverConfig() isVirtualDestinationSpec_FailoverConfig

func (*VirtualDestinationSpec) GetHostname

func (x *VirtualDestinationSpec) GetHostname() string

func (*VirtualDestinationSpec) GetLocalized

func (*VirtualDestinationSpec) GetMeshList

func (*VirtualDestinationSpec) GetPort

func (*VirtualDestinationSpec) GetStatic

func (*VirtualDestinationSpec) GetVirtualMesh

func (x *VirtualDestinationSpec) GetVirtualMesh() *v1.ObjectRef

func (*VirtualDestinationSpec) MarshalJSON

func (this *VirtualDestinationSpec) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for VirtualDestinationSpec

func (*VirtualDestinationSpec) ProtoMessage

func (*VirtualDestinationSpec) ProtoMessage()

func (*VirtualDestinationSpec) ProtoReflect

func (x *VirtualDestinationSpec) ProtoReflect() protoreflect.Message

func (*VirtualDestinationSpec) Reset

func (x *VirtualDestinationSpec) Reset()

func (*VirtualDestinationSpec) String

func (x *VirtualDestinationSpec) String() string

func (*VirtualDestinationSpec) UnmarshalJSON

func (this *VirtualDestinationSpec) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for VirtualDestinationSpec

type VirtualDestinationSpec_BackingDestinationList

type VirtualDestinationSpec_BackingDestinationList struct {

	// The list of Destinations backing the VirtualDestination, ordered by decreasing priority.
	// All Destinations must be either in the same Mesh or in Meshes that are grouped under a common VirtualMesh.
	// Required, cannot be omitted.
	Destinations []*VirtualDestinationBackingDestination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
	// contains filtered or unexported fields
}

Failover priority is determined by an explicitly provided static ordering of Destinations. When a Destination in the list is in an unhealthy state (as determined by its configured outlier detection), requests sent to the VirtualDestination will be routed to the next healthy Destination in the list.

func (*VirtualDestinationSpec_BackingDestinationList) Descriptor deprecated

Deprecated: Use VirtualDestinationSpec_BackingDestinationList.ProtoReflect.Descriptor instead.

func (*VirtualDestinationSpec_BackingDestinationList) Equal

func (m *VirtualDestinationSpec_BackingDestinationList) Equal(that interface{}) bool

Equal function

func (*VirtualDestinationSpec_BackingDestinationList) GetDestinations

func (*VirtualDestinationSpec_BackingDestinationList) ProtoMessage

func (*VirtualDestinationSpec_BackingDestinationList) ProtoReflect

func (*VirtualDestinationSpec_BackingDestinationList) Reset

func (*VirtualDestinationSpec_BackingDestinationList) String

type VirtualDestinationSpec_LocalityConfig

type VirtualDestinationSpec_LocalityConfig struct {

	// Selectors for the Destinations backing the VirtualDestination.
	// All Destinations must be either in the same mesh or in meshes that are grouped under a common VirtualMesh.
	// Currently only one Destination per cluster can be selected, more than one per cluster will be considered invalid.
	// Required, cannot be omitted.
	DestinationSelectors []*v11.DestinationSelector `protobuf:"bytes,1,rep,name=destination_selectors,json=destinationSelectors,proto3" json:"destination_selectors,omitempty"`
	// Directives describing the locality failover behavior.
	FailoverDirectives []*VirtualDestinationSpec_LocalityConfig_LocalityFailoverDirective `protobuf:"bytes,2,rep,name=failover_directives,json=failoverDirectives,proto3" json:"failover_directives,omitempty"`
	// Outlier detection to determine the health of the selected services.
	// If not set will default to the following:
	// consecutiveGatewayErrors: 10
	// consecutive5XXErrors: 10
	// interval: 5s
	// baseEjectionTime: 120s
	OutlierDetection *v12.TrafficPolicySpec_Policy_OutlierDetection `protobuf:"bytes,3,opt,name=outlier_detection,json=outlierDetection,proto3" json:"outlier_detection,omitempty"`
	// contains filtered or unexported fields
}

Enables failover based on locality. When a client workload makes a request to the VirtualDestination, Gloo Mesh will first try to direct traffic to the Destination instance geographically closest to the client workload. If outlier detection detects that the closest Destination is in an unhealthy state, requests will instead be routed to a Destination in one of the localities specified in the `to` field.

func (*VirtualDestinationSpec_LocalityConfig) Descriptor deprecated

func (*VirtualDestinationSpec_LocalityConfig) Descriptor() ([]byte, []int)

Deprecated: Use VirtualDestinationSpec_LocalityConfig.ProtoReflect.Descriptor instead.

func (*VirtualDestinationSpec_LocalityConfig) Equal

func (m *VirtualDestinationSpec_LocalityConfig) Equal(that interface{}) bool

Equal function

func (*VirtualDestinationSpec_LocalityConfig) GetDestinationSelectors

func (x *VirtualDestinationSpec_LocalityConfig) GetDestinationSelectors() []*v11.DestinationSelector

func (*VirtualDestinationSpec_LocalityConfig) GetFailoverDirectives

func (*VirtualDestinationSpec_LocalityConfig) GetOutlierDetection

func (*VirtualDestinationSpec_LocalityConfig) ProtoMessage

func (*VirtualDestinationSpec_LocalityConfig) ProtoMessage()

func (*VirtualDestinationSpec_LocalityConfig) ProtoReflect

func (*VirtualDestinationSpec_LocalityConfig) Reset

func (*VirtualDestinationSpec_LocalityConfig) String

type VirtualDestinationSpec_LocalityConfig_Locality

type VirtualDestinationSpec_LocalityConfig_Locality struct {

	// The locality's region.
	Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	// The locality's zone. Currently this value is not used.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The locality's sub-zone. Currently this value is not used.
	SubZone string `protobuf:"bytes,3,opt,name=sub_zone,json=subZone,proto3" json:"sub_zone,omitempty"`
	// contains filtered or unexported fields
}

A geographic location defined by a region, zone, and sub-zone.

func (*VirtualDestinationSpec_LocalityConfig_Locality) Descriptor deprecated

Deprecated: Use VirtualDestinationSpec_LocalityConfig_Locality.ProtoReflect.Descriptor instead.

func (*VirtualDestinationSpec_LocalityConfig_Locality) Equal

func (m *VirtualDestinationSpec_LocalityConfig_Locality) Equal(that interface{}) bool

Equal function

func (*VirtualDestinationSpec_LocalityConfig_Locality) GetRegion

func (*VirtualDestinationSpec_LocalityConfig_Locality) GetSubZone

func (*VirtualDestinationSpec_LocalityConfig_Locality) GetZone

func (*VirtualDestinationSpec_LocalityConfig_Locality) ProtoMessage

func (*VirtualDestinationSpec_LocalityConfig_Locality) ProtoReflect

func (*VirtualDestinationSpec_LocalityConfig_Locality) Reset

func (*VirtualDestinationSpec_LocalityConfig_Locality) String

type VirtualDestinationSpec_LocalityConfig_LocalityFailoverDirective

type VirtualDestinationSpec_LocalityConfig_LocalityFailoverDirective struct {

	// The locality of the client workload.
	From *VirtualDestinationSpec_LocalityConfig_Locality `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// The list of Destination localities that can be routed to if the instance local to the client workload is not available.
	To []*VirtualDestinationSpec_LocalityConfig_Locality `protobuf:"bytes,2,rep,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualDestinationSpec_LocalityConfig_LocalityFailoverDirective) Descriptor deprecated

Deprecated: Use VirtualDestinationSpec_LocalityConfig_LocalityFailoverDirective.ProtoReflect.Descriptor instead.

func (*VirtualDestinationSpec_LocalityConfig_LocalityFailoverDirective) Equal

Equal function

func (*VirtualDestinationSpec_LocalityConfig_LocalityFailoverDirective) GetFrom

func (*VirtualDestinationSpec_LocalityConfig_LocalityFailoverDirective) GetTo

func (*VirtualDestinationSpec_LocalityConfig_LocalityFailoverDirective) ProtoMessage

func (*VirtualDestinationSpec_LocalityConfig_LocalityFailoverDirective) ProtoReflect

func (*VirtualDestinationSpec_LocalityConfig_LocalityFailoverDirective) Reset

func (*VirtualDestinationSpec_LocalityConfig_LocalityFailoverDirective) String

type VirtualDestinationSpec_Localized

type VirtualDestinationSpec_Localized struct {
	// Failover priority is determined by the localities of the traffic source and Destination.
	Localized *VirtualDestinationSpec_LocalityConfig `protobuf:"bytes,6,opt,name=localized,proto3,oneof"`
}

type VirtualDestinationSpec_MeshList

type VirtualDestinationSpec_MeshList struct {
	Meshes []*v1.ObjectRef `protobuf:"bytes,1,rep,name=meshes,proto3" json:"meshes,omitempty"`
	// contains filtered or unexported fields
}

A list of Mesh references.

func (*VirtualDestinationSpec_MeshList) Descriptor deprecated

func (*VirtualDestinationSpec_MeshList) Descriptor() ([]byte, []int)

Deprecated: Use VirtualDestinationSpec_MeshList.ProtoReflect.Descriptor instead.

func (*VirtualDestinationSpec_MeshList) Equal

func (m *VirtualDestinationSpec_MeshList) Equal(that interface{}) bool

Equal function

func (*VirtualDestinationSpec_MeshList) GetMeshes

func (x *VirtualDestinationSpec_MeshList) GetMeshes() []*v1.ObjectRef

func (*VirtualDestinationSpec_MeshList) ProtoMessage

func (*VirtualDestinationSpec_MeshList) ProtoMessage()

func (*VirtualDestinationSpec_MeshList) ProtoReflect

func (*VirtualDestinationSpec_MeshList) Reset

func (*VirtualDestinationSpec_MeshList) String

type VirtualDestinationSpec_MeshList_

type VirtualDestinationSpec_MeshList_ struct {
	// The Meshes that this VirtualDestination will be visible to. If multiple meshes are specified, they must
	// all belong to the same VirtualMesh.
	// Caveat: this VirtualDestination will be exported to the meshes for all selected backing destinations regardless of what's specified here.
	MeshList *VirtualDestinationSpec_MeshList `protobuf:"bytes,4,opt,name=mesh_list,json=meshList,proto3,oneof"`
}

type VirtualDestinationSpec_Port

type VirtualDestinationSpec_Port struct {

	// REQUIRED: Port number which the VirtualDestination will listen on.
	Number uint32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	// OPTIONAL: Protocol of the requests sent to the VirtualDestination. Must be one of `HTTP`, `HTTPS`, `GRPC`, `HTTP2`, `MONGO`, `TCP`, `TLS`.
	// Default: HTTP
	Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// REQUIRED: Name of the target_port which will be used
	// All backing services must have the name or number specified by this field.
	//
	// Types that are assignable to TargetPort:
	//	*VirtualDestinationSpec_Port_TargetName
	//	*VirtualDestinationSpec_Port_TargetNumber
	TargetPort isVirtualDestinationSpec_Port_TargetPort `protobuf_oneof:"target_port"`
	// contains filtered or unexported fields
}

VirtualDestination port information. Contains information about which port to listen on, as well as which backend port to target.

func (*VirtualDestinationSpec_Port) Descriptor deprecated

func (*VirtualDestinationSpec_Port) Descriptor() ([]byte, []int)

Deprecated: Use VirtualDestinationSpec_Port.ProtoReflect.Descriptor instead.

func (*VirtualDestinationSpec_Port) Equal

func (m *VirtualDestinationSpec_Port) Equal(that interface{}) bool

Equal function

func (*VirtualDestinationSpec_Port) GetNumber

func (x *VirtualDestinationSpec_Port) GetNumber() uint32

func (*VirtualDestinationSpec_Port) GetProtocol

func (x *VirtualDestinationSpec_Port) GetProtocol() string

func (*VirtualDestinationSpec_Port) GetTargetName added in v1.0.4

func (x *VirtualDestinationSpec_Port) GetTargetName() string

func (*VirtualDestinationSpec_Port) GetTargetNumber added in v1.0.4

func (x *VirtualDestinationSpec_Port) GetTargetNumber() uint32

func (*VirtualDestinationSpec_Port) GetTargetPort added in v1.0.4

func (m *VirtualDestinationSpec_Port) GetTargetPort() isVirtualDestinationSpec_Port_TargetPort

func (*VirtualDestinationSpec_Port) ProtoMessage

func (*VirtualDestinationSpec_Port) ProtoMessage()

func (*VirtualDestinationSpec_Port) ProtoReflect

func (*VirtualDestinationSpec_Port) Reset

func (x *VirtualDestinationSpec_Port) Reset()

func (*VirtualDestinationSpec_Port) String

func (x *VirtualDestinationSpec_Port) String() string

type VirtualDestinationSpec_Port_TargetName added in v1.0.4

type VirtualDestinationSpec_Port_TargetName struct {
	// If the target_name is specified, the VirtualDestination will attempt to find a port by this name on all backing services
	TargetName string `protobuf:"bytes,3,opt,name=target_name,json=targetName,proto3,oneof"`
}

type VirtualDestinationSpec_Port_TargetNumber added in v1.0.4

type VirtualDestinationSpec_Port_TargetNumber struct {
	// If the target_number is specified, the VirtualDestination will attempt to find a port by this number on all backing services
	TargetNumber uint32 `protobuf:"varint,4,opt,name=target_number,json=targetNumber,proto3,oneof"`
}

type VirtualDestinationSpec_Static

type VirtualDestinationSpec_Static struct {
	// Failover priority is determined by an explicitly provided static ordering of Destinations.
	Static *VirtualDestinationSpec_BackingDestinationList `protobuf:"bytes,5,opt,name=static,proto3,oneof"`
}

type VirtualDestinationSpec_VirtualMesh

type VirtualDestinationSpec_VirtualMesh struct {
	// The VirtualMesh that this VirtualDestination will be visible to.
	VirtualMesh *v1.ObjectRef `protobuf:"bytes,3,opt,name=virtual_mesh,json=virtualMesh,proto3,oneof"`
}

type VirtualDestinationStatus

type VirtualDestinationStatus struct {

	// The most recent generation observed in the the VirtualDestination metadata.
	// If the observedGeneration does not match `metadata.generation`, Gloo Mesh has not processed the most
	// recent version of this resource.
	ObservedGeneration int64 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
	// The state of the overall resource, will only show accepted if it has been successfully
	// applied to all exported to Meshes.
	State v11.ApprovalState `protobuf:"varint,2,opt,name=state,proto3,enum=common.mesh.gloo.solo.io.ApprovalState" json:"state,omitempty"`
	// The status of the VirtualDestination for each Mesh to which it has been exported to.
	Meshes map[string]*v12.ApprovalStatus `` /* 153-byte string literal not displayed */
	// The Destinations that comprise this VirtualDestination.
	SelectedDestinations []*VirtualDestinationStatus_SelectedDestinations `protobuf:"bytes,4,rep,name=selected_destinations,json=selectedDestinations,proto3" json:"selected_destinations,omitempty"`
	// Any errors found while processing this generation of the resource.
	Errors []string `protobuf:"bytes,5,rep,name=errors,proto3" json:"errors,omitempty"`
	// The set of TrafficPolicies that reference subsets on this VirtualDestination as a traffic shift.
	RequiredSubsets []*v13.RequiredSubsets `protobuf:"bytes,6,rep,name=required_subsets,json=requiredSubsets,proto3" json:"required_subsets,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualDestinationStatus) DeepCopyInto

func (in *VirtualDestinationStatus) DeepCopyInto(out *VirtualDestinationStatus)

DeepCopyInto for the VirtualDestination.Status

func (*VirtualDestinationStatus) Descriptor deprecated

func (*VirtualDestinationStatus) Descriptor() ([]byte, []int)

Deprecated: Use VirtualDestinationStatus.ProtoReflect.Descriptor instead.

func (*VirtualDestinationStatus) Equal

func (m *VirtualDestinationStatus) Equal(that interface{}) bool

Equal function

func (*VirtualDestinationStatus) GetErrors

func (x *VirtualDestinationStatus) GetErrors() []string

func (*VirtualDestinationStatus) GetMeshes

func (x *VirtualDestinationStatus) GetMeshes() map[string]*v12.ApprovalStatus

func (*VirtualDestinationStatus) GetObservedGeneration

func (x *VirtualDestinationStatus) GetObservedGeneration() int64

func (*VirtualDestinationStatus) GetRequiredSubsets added in v1.1.0

func (x *VirtualDestinationStatus) GetRequiredSubsets() []*v13.RequiredSubsets

func (*VirtualDestinationStatus) GetSelectedDestinations

func (*VirtualDestinationStatus) GetState

func (*VirtualDestinationStatus) MarshalJSON

func (this *VirtualDestinationStatus) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for VirtualDestinationStatus

func (*VirtualDestinationStatus) ProtoMessage

func (*VirtualDestinationStatus) ProtoMessage()

func (*VirtualDestinationStatus) ProtoReflect

func (x *VirtualDestinationStatus) ProtoReflect() protoreflect.Message

func (*VirtualDestinationStatus) Reset

func (x *VirtualDestinationStatus) Reset()

func (*VirtualDestinationStatus) String

func (x *VirtualDestinationStatus) String() string

func (*VirtualDestinationStatus) UnmarshalJSON

func (this *VirtualDestinationStatus) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for VirtualDestinationStatus

type VirtualDestinationStatusWriter

type VirtualDestinationStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given VirtualDestination object.
	UpdateVirtualDestinationStatus(ctx context.Context, obj *VirtualDestination, opts ...client.UpdateOption) error

	// Patch patches the given VirtualDestination object's subresource.
	PatchVirtualDestinationStatus(ctx context.Context, obj *VirtualDestination, patch client.Patch, opts ...client.PatchOption) error
}

StatusWriter knows how to update status subresource of a VirtualDestination object.

type VirtualDestinationStatus_SelectedDestinations

type VirtualDestinationStatus_SelectedDestinations struct {

	// Reference to the Destination object.
	Ref *v1.ClusterObjectRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// The platform-specific destination that the Destination object represents.
	Destination *VirtualDestinationBackingDestination `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualDestinationStatus_SelectedDestinations) Descriptor deprecated

Deprecated: Use VirtualDestinationStatus_SelectedDestinations.ProtoReflect.Descriptor instead.

func (*VirtualDestinationStatus_SelectedDestinations) Equal

func (m *VirtualDestinationStatus_SelectedDestinations) Equal(that interface{}) bool

Equal function

func (*VirtualDestinationStatus_SelectedDestinations) GetDestination

func (*VirtualDestinationStatus_SelectedDestinations) GetRef

func (*VirtualDestinationStatus_SelectedDestinations) ProtoMessage

func (*VirtualDestinationStatus_SelectedDestinations) ProtoReflect

func (*VirtualDestinationStatus_SelectedDestinations) Reset

func (*VirtualDestinationStatus_SelectedDestinations) String

type VirtualDestinationTransitionFunction

type VirtualDestinationTransitionFunction func(existing, desired *VirtualDestination) error

VirtualDestinationTransitionFunction instructs the VirtualDestinationWriter how to transition between an existing VirtualDestination object and a desired on an Upsert

type VirtualDestinationWriter

type VirtualDestinationWriter interface {
	// Create saves the VirtualDestination object.
	CreateVirtualDestination(ctx context.Context, obj *VirtualDestination, opts ...client.CreateOption) error

	// Delete deletes the VirtualDestination object.
	DeleteVirtualDestination(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

	// Update updates the given VirtualDestination object.
	UpdateVirtualDestination(ctx context.Context, obj *VirtualDestination, opts ...client.UpdateOption) error

	// Patch patches the given VirtualDestination object.
	PatchVirtualDestination(ctx context.Context, obj *VirtualDestination, patch client.Patch, opts ...client.PatchOption) error

	// DeleteAllOf deletes all VirtualDestination objects matching the given options.
	DeleteAllOfVirtualDestination(ctx context.Context, opts ...client.DeleteAllOfOption) error

	// Create or Update the VirtualDestination object.
	UpsertVirtualDestination(ctx context.Context, obj *VirtualDestination, transitionFuncs ...VirtualDestinationTransitionFunction) error
}

Writer knows how to create, delete, and update VirtualDestinations.

type VirtualGateway added in v1.1.0

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

	Spec   VirtualGatewaySpec   `json:"spec,omitempty"`
	Status VirtualGatewayStatus `json:"status,omitempty"`
}

VirtualGateway is the Schema for the virtualGateway API

func (*VirtualGateway) DeepCopy added in v1.1.0

func (in *VirtualGateway) DeepCopy() *VirtualGateway

func (*VirtualGateway) DeepCopyInto added in v1.1.0

func (in *VirtualGateway) DeepCopyInto(out *VirtualGateway)

func (*VirtualGateway) DeepCopyObject added in v1.1.0

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

func (VirtualGateway) GVK added in v1.1.0

GVK returns the GroupVersionKind associated with the resource type.

type VirtualGatewayClient added in v1.1.0

type VirtualGatewayClient interface {
	VirtualGatewayReader
	VirtualGatewayWriter
	VirtualGatewayStatusWriter
}

Client knows how to perform CRUD operations on VirtualGateways.

type VirtualGatewayList added in v1.1.0

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

VirtualGatewayList contains a list of VirtualGateway

func (*VirtualGatewayList) DeepCopy added in v1.1.0

func (in *VirtualGatewayList) DeepCopy() *VirtualGatewayList

func (*VirtualGatewayList) DeepCopyInto added in v1.1.0

func (in *VirtualGatewayList) DeepCopyInto(out *VirtualGatewayList)

func (*VirtualGatewayList) DeepCopyObject added in v1.1.0

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

type VirtualGatewayReader added in v1.1.0

type VirtualGatewayReader interface {
	// Get retrieves a VirtualGateway for the given object key
	GetVirtualGateway(ctx context.Context, key client.ObjectKey) (*VirtualGateway, error)

	// List retrieves list of VirtualGateways for a given namespace and list options.
	ListVirtualGateway(ctx context.Context, opts ...client.ListOption) (*VirtualGatewayList, error)
}

Reader knows how to read and list VirtualGateways.

type VirtualGatewaySlice added in v1.1.0

type VirtualGatewaySlice []*VirtualGateway

VirtualGatewaySlice represents a slice of *VirtualGateway

type VirtualGatewaySpec added in v1.1.0

type VirtualGatewaySpec struct {

	// deploy this VirtualGateway to one or more Ingress Gateway workloads
	// {{/* TODO: evaluate supporting multiple ingress gateway deployments per VG */}}
	DeployToIngressGateways *VirtualGatewaySpec_DeployToIngressGateway `` /* 134-byte string literal not displayed */
	// deploy this VirtualGateway to one or more workload sidecars
	// {{/* NOTE: unimplemented */}}
	DeployToSidecars []*v1.WorkloadSelector `protobuf:"bytes,2,rep,name=deploy_to_sidecars,json=deployToSidecars,proto3" json:"deploy_to_sidecars,omitempty"`
	// Each Gateway must implement one or more ConnectionHandlers.
	// A ConnectionHandler instructs the gateway how to handle clients
	// which have connected to the specified bind address.
	// Typically `connectionHandlers` will consist of a single `http` handler
	// which serves HTTP Routes defined in a set of VirtualHosts.
	// Multiple `connectionHandlers` can be specified to provide different behavior
	// on the same Gateway, e.g. one for TCP and one for HTTP traffic.
	// NOTE: Currently having multiple connection handlers is NOT supported. Only
	// exactly ONE connection handler can be specified.
	ConnectionHandlers []*VirtualGatewaySpec_ConnectionHandler `protobuf:"bytes,3,rep,name=connection_handlers,json=connectionHandlers,proto3" json:"connection_handlers,omitempty"`
	// Options applied to all clients who connect to this gateway
	Options *VirtualGatewaySpec_GatewayOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

VirtualGateway is the top-level object for configuring ingress into a Mesh or VirtualMesh. A single VirtualGateway can apply to multiple deployed ingress pods and sidecars across meshes and clusters contained within a VirtualMesh. VirtualGateways can route traffic to destination services which live in a specific cluster or mesh. This allows VirtualGateways to route traffic from an ingress or sidecar in one mesh to a service in another. In order to perform cross-mesh routing, the Gateway Mesh and Destination mesh must be contained in a single VirtualMesh, with federation enabled.

func (*VirtualGatewaySpec) DeepCopyInto added in v1.1.0

func (in *VirtualGatewaySpec) DeepCopyInto(out *VirtualGatewaySpec)

DeepCopyInto for the VirtualGateway.Spec

func (*VirtualGatewaySpec) Descriptor deprecated added in v1.1.0

func (*VirtualGatewaySpec) Descriptor() ([]byte, []int)

Deprecated: Use VirtualGatewaySpec.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec) Equal added in v1.1.0

func (m *VirtualGatewaySpec) Equal(that interface{}) bool

Equal function

func (*VirtualGatewaySpec) GetConnectionHandlers added in v1.1.0

func (x *VirtualGatewaySpec) GetConnectionHandlers() []*VirtualGatewaySpec_ConnectionHandler

func (*VirtualGatewaySpec) GetDeployToIngressGateways

func (x *VirtualGatewaySpec) GetDeployToIngressGateways() *VirtualGatewaySpec_DeployToIngressGateway

func (*VirtualGatewaySpec) GetDeployToSidecars

func (x *VirtualGatewaySpec) GetDeployToSidecars() []*v1.WorkloadSelector

func (*VirtualGatewaySpec) GetOptions added in v1.1.0

func (*VirtualGatewaySpec) MarshalJSON added in v1.1.0

func (this *VirtualGatewaySpec) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for VirtualGatewaySpec

func (*VirtualGatewaySpec) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec) ProtoMessage()

func (*VirtualGatewaySpec) ProtoReflect added in v1.1.0

func (x *VirtualGatewaySpec) ProtoReflect() protoreflect.Message

func (*VirtualGatewaySpec) Reset added in v1.1.0

func (x *VirtualGatewaySpec) Reset()

func (*VirtualGatewaySpec) String added in v1.1.0

func (x *VirtualGatewaySpec) String() string

func (*VirtualGatewaySpec) UnmarshalJSON added in v1.1.0

func (this *VirtualGatewaySpec) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for VirtualGatewaySpec

type VirtualGatewaySpec_ConnectionHandler added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler struct {

	// Additional options for matching a connection to a specific gateway.
	// This is required when more than one `connectionHandler` is specified for a single gateway.
	// Typically this is used to serve different
	ConnectionMatch *VirtualGatewaySpec_ConnectionHandler_ConnectionMatch `protobuf:"bytes,1,opt,name=connection_match,json=connectionMatch,proto3" json:"connection_match,omitempty"`
	// The type of routes this handler will serve.
	// HttpRoutes creates a listener with an http_connection_manager.
	// TcpRoutes creates a listener with a tcp proxy filter.
	//
	// Types that are assignable to HandlerType:
	//	*VirtualGatewaySpec_ConnectionHandler_Http
	//	*VirtualGatewaySpec_ConnectionHandler_Tcp
	HandlerType isVirtualGatewaySpec_ConnectionHandler_HandlerType `protobuf_oneof:"handler_type"`
	// Top level optional configuration for all routes on the ConnectionHandler.
	ConnectionOptions *VirtualGatewaySpec_ConnectionHandler_ConnectionOptions `protobuf:"bytes,4,opt,name=connection_options,json=connectionOptions,proto3" json:"connection_options,omitempty"`
	// contains filtered or unexported fields
}

Each ConnnectionHandler specifies a `connectionMatch` (required if using multiple ConnectionHandlers) and a set of (HTTP or TCP) routes to serve matched connections.

func (*VirtualGatewaySpec_ConnectionHandler) Descriptor deprecated added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler) Descriptor() ([]byte, []int)

Deprecated: Use VirtualGatewaySpec_ConnectionHandler.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler) Equal added in v1.1.0

func (m *VirtualGatewaySpec_ConnectionHandler) Equal(that interface{}) bool

Equal function

func (*VirtualGatewaySpec_ConnectionHandler) GetConnectionMatch added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler) GetConnectionOptions added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler) GetHandlerType added in v1.1.0

func (m *VirtualGatewaySpec_ConnectionHandler) GetHandlerType() isVirtualGatewaySpec_ConnectionHandler_HandlerType

func (*VirtualGatewaySpec_ConnectionHandler) GetHttp added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler) GetTcp added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler) ProtoMessage()

func (*VirtualGatewaySpec_ConnectionHandler) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler) Reset added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler) String added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_ConnectionMatch added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_ConnectionMatch struct {

	// Protocol
	TransportProtocol string `protobuf:"bytes,1,opt,name=transport_protocol,json=transportProtocol,proto3" json:"transport_protocol,omitempty"`
	// If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining
	// a `connectionMatch`. Those values will be compared against the server names of a new
	// connection, when detected by one of the listener filters.
	//
	// The server name will be matched against all wildcard domains, i.e. `www.example.com`
	// will be first matched against `www.example.com`, then `*.example.com`, then “*.com`.
	//
	// Note that partial wildcards are not supported, and values like `*w.example.com` are invalid.
	ServerNames []string `protobuf:"bytes,2,rep,name=server_names,json=serverNames,proto3" json:"server_names,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionMatch) Descriptor deprecated added in v1.1.0

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_ConnectionMatch.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionMatch) Equal added in v1.1.0

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionMatch) GetServerNames added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionMatch) GetTransportProtocol added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionMatch) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionMatch) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionMatch) Reset added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionMatch) String added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_ConnectionOptions added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_ConnectionOptions struct {

	// TODO
	TlsContext *VirtualGatewaySpec_ConnectionHandler_ConnectionOptions_TlsTerminationOptions `protobuf:"bytes,1,opt,name=tls_context,json=tlsContext,proto3" json:"tls_context,omitempty"`
	// Restricts filter from being added to the corresponding Envoy Listener unless they are explicitly configured
	// in the connection handler options
	StrictFilterManagement bool `` /* 130-byte string literal not displayed */
	// enable PROXY protocol for this connection handler.
	EnableProxyProtocol bool `protobuf:"varint,3,opt,name=enable_proxy_protocol,json=enableProxyProtocol,proto3" json:"enable_proxy_protocol,omitempty"`
	// contains filtered or unexported fields
}

TODO: Fill ConnectionOptions

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions) Descriptor deprecated added in v1.1.0

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_ConnectionOptions.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions) Equal added in v1.1.0

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions) GetEnableProxyProtocol added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions) GetStrictFilterManagement added in v1.1.0

func (x *VirtualGatewaySpec_ConnectionHandler_ConnectionOptions) GetStrictFilterManagement() bool

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions) Reset added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions) String added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_ConnectionOptions_TlsTerminationOptions

type VirtualGatewaySpec_ConnectionHandler_ConnectionOptions_TlsTerminationOptions struct {

	// If specified, the route will match against whether or not a certificate is presented.
	// If not specified, certificate presentation status (true or false) will not be considered when route matching.
	Presented *wrappers.BoolValue `protobuf:"bytes,1,opt,name=presented,proto3" json:"presented,omitempty"`
	// If specified, the route will match against whether or not a certificate is validated.
	// If not specified, certificate validation status (true or false) will not be considered when route matching.
	Validated *wrappers.BoolValue `protobuf:"bytes,2,opt,name=validated,proto3" json:"validated,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions_TlsTerminationOptions) Descriptor deprecated

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_ConnectionOptions_TlsTerminationOptions.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions_TlsTerminationOptions) Equal

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions_TlsTerminationOptions) GetPresented

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions_TlsTerminationOptions) GetValidated

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions_TlsTerminationOptions) ProtoMessage

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions_TlsTerminationOptions) ProtoReflect

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions_TlsTerminationOptions) Reset

func (*VirtualGatewaySpec_ConnectionHandler_ConnectionOptions_TlsTerminationOptions) String

type VirtualGatewaySpec_ConnectionHandler_Http added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_Http struct {
	Http *VirtualGatewaySpec_ConnectionHandler_HttpRoutes `protobuf:"bytes,2,opt,name=http,proto3,oneof"`
}

type VirtualGatewaySpec_ConnectionHandler_HttpRoutes added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_HttpRoutes struct {
	RouteConfig []*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier `protobuf:"bytes,1,rep,name=route_config,json=routeConfig,proto3" json:"route_config,omitempty"`
	// HTTP Listener Options // Root level RouteTable + VirtualHost + routes level
	RouteOptions *VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions `protobuf:"bytes,8,opt,name=route_options,json=routeOptions,proto3" json:"route_options,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes) Descriptor deprecated added in v1.1.0

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_HttpRoutes.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes) Equal added in v1.1.0

func (m *VirtualGatewaySpec_ConnectionHandler_HttpRoutes) Equal(that interface{}) bool

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes) GetRouteConfig added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes) GetRouteOptions added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes) Reset added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes) String added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions struct {

	// Configure Global CSRF options for clients connected to this Gateway.
	Csrf *csrf.CsrfPolicy `protobuf:"bytes,2,opt,name=csrf,proto3" json:"csrf,omitempty"`
	// Configure Global Rate limit options for clients connected to this Gateway.
	// Rate limits must be configured on specific routes in order to enable rate limiting for a Gateway.
	RateLimit *ratelimit.GatewayRateLimit `protobuf:"bytes,3,opt,name=rate_limit,json=rateLimit,proto3" json:"rate_limit,omitempty"`
	// Configure the Global Extauth options for clients connected to this Gateway
	Extauth *extauth.GatewayExtauth `protobuf:"bytes,4,opt,name=extauth,proto3" json:"extauth,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions) Descriptor deprecated added in v1.1.0

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions) Equal added in v1.1.0

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions) GetCsrf added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions) GetExtauth added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions) GetRateLimit added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions) Reset added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_HttpOptions) String added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier struct {

	// Types that are assignable to RouteType:
	//	*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier_VirtualHostSelector
	//	*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier_VirtualHost
	RouteType isVirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier_RouteType `protobuf_oneof:"route_type"`
	// contains filtered or unexported fields
}

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier) Descriptor deprecated added in v1.1.0

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier) Equal added in v1.1.0

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier) GetRouteType added in v1.1.0

func (m *VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier) GetRouteType() isVirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier_RouteType

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier) GetVirtualHost added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier) GetVirtualHostSelector added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier) Reset added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier) String added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier_VirtualHost added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier_VirtualHost struct {
	// VirtualHost allows in-lining a route table directly in the Gateway Resource, for simple configs using fewer CRDs.
	// Note that Kubernetes admission validation of inline virtual hosts is disabled. For production, the use of `virtualHostSelector` is recommended.
	VirtualHost *VirtualHostSpec `protobuf:"bytes,2,opt,name=virtual_host,json=virtualHost,proto3,oneof"`
}

type VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier_VirtualHostSelector added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_HttpRoutes_RouteSpecifier_VirtualHostSelector struct {
	// RouteSelector is used to specify which VirtualHosts should be attached to this gateway.
	VirtualHostSelector *v11.ObjectSelector `protobuf:"bytes,1,opt,name=virtual_host_selector,json=virtualHostSelector,proto3,oneof"`
}

type VirtualGatewaySpec_ConnectionHandler_Tcp added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_Tcp struct {
	Tcp *VirtualGatewaySpec_ConnectionHandler_TcpRoutes `protobuf:"bytes,3,opt,name=tcp,proto3,oneof"`
}

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes struct {

	// TCP hosts that the gateway can route to
	TcpHosts []*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost `protobuf:"bytes,1,rep,name=tcp_hosts,json=tcpHosts,proto3" json:"tcp_hosts,omitempty"`
	// TCP Gateway configuration
	Options *VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes) Descriptor deprecated added in v1.1.0

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_TcpRoutes.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes) Equal added in v1.1.0

func (m *VirtualGatewaySpec_ConnectionHandler_TcpRoutes) Equal(that interface{}) bool

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes) GetOptions added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes) GetTcpHosts added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes) Reset added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes) String added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost struct {

	// the logical name of the tcp host. names must be unique for each tcp host within a listener
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If provided, the Gateway will serve TLS/SSL traffic for this set of routes
	SslConfig   *VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig `protobuf:"bytes,2,opt,name=ssl_config,json=sslConfig,proto3" json:"ssl_config,omitempty"`
	Destination *VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost) Descriptor deprecated added in v1.1.0

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost) Equal added in v1.1.0

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost) GetDestination added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost) GetName added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost) GetSslConfig

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost) Reset added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost) String added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig struct {

	// Types that are assignable to SslSecrets:
	//	*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SecretRef
	//	*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslFiles
	//	*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_Sds
	SslSecrets isVirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslSecrets `protobuf_oneof:"ssl_secrets"`
	// optional. the SNI domains that should be considered for TLS connections
	SniDomains []string `protobuf:"bytes,4,rep,name=sni_domains,json=sniDomains,proto3" json:"sni_domains,omitempty"`
	// Verify that the Subject Alternative Name in the peer certificate is one of the specified values.
	// note that a root_ca must be provided if this option is used.
	VerifySubjectAltName []string                                                                        `protobuf:"bytes,5,rep,name=verify_subject_alt_name,json=verifySubjectAltName,proto3" json:"verify_subject_alt_name,omitempty"`
	Parameters           *VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters `protobuf:"bytes,6,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// Set Application Level Protocol Negotiation
	// If empty, defaults to ["h2", "http/1.1"].
	AlpnProtocols []string `protobuf:"bytes,7,rep,name=alpn_protocols,json=alpnProtocols,proto3" json:"alpn_protocols,omitempty"`
	// contains filtered or unexported fields
}

SslConfig contains the options necessary to configure a virtual host or listener to use TLS

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) Descriptor deprecated

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) Equal

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) GetAlpnProtocols

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) GetParameters

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) GetSds

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) GetSecretRef

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) GetSniDomains

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) GetSslFiles

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) GetSslSecrets

func (m *VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) GetSslSecrets() isVirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslSecrets

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) GetVerifySubjectAltName

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) ProtoMessage

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) ProtoReflect

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) Reset

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig) String

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles struct {
	TlsCert string `protobuf:"bytes,1,opt,name=tls_cert,json=tlsCert,proto3" json:"tls_cert,omitempty"`
	TlsKey  string `protobuf:"bytes,2,opt,name=tls_key,json=tlsKey,proto3" json:"tls_key,omitempty"`
	// for client cert validation. optional
	RootCa string `protobuf:"bytes,3,opt,name=root_ca,json=rootCa,proto3" json:"root_ca,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles) Descriptor deprecated

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles) Equal

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles) GetRootCa

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles) GetTlsCert

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles) GetTlsKey

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles) ProtoMessage

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles) ProtoReflect

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles) Reset

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles) String

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_Sds

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_Sds struct {
	// Use secret discovery service.
	Sds *SDSConfig `protobuf:"bytes,3,opt,name=sds,proto3,oneof"`
}

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SecretRef

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SecretRef struct {
	// SecretRef contains the secret ref to a gloo tls secret or a kubernetes tls secret.
	// gloo tls secret can contain a root ca as well if verification is needed.
	SecretRef *v11.ObjectRef `protobuf:"bytes,1,opt,name=secret_ref,json=secretRef,proto3,oneof"`
}

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslFiles

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslFiles struct {
	// SSLFiles reference paths to certificates which are local to the proxy
	SslFiles *VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SSLFiles `protobuf:"bytes,2,opt,name=ssl_files,json=sslFiles,proto3,oneof"`
}

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters struct {
	MinimumProtocolVersion VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion `` /* 270-byte string literal not displayed */
	MaximumProtocolVersion VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion `` /* 270-byte string literal not displayed */
	CipherSuites           []string                                                                                       `protobuf:"bytes,3,rep,name=cipher_suites,json=cipherSuites,proto3" json:"cipher_suites,omitempty"`
	EcdhCurves             []string                                                                                       `protobuf:"bytes,4,rep,name=ecdh_curves,json=ecdhCurves,proto3" json:"ecdh_curves,omitempty"`
	// contains filtered or unexported fields
}

General TLS parameters. See the [envoy docs](https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/auth/cert.proto#envoy-api-enum-auth-tlsparameters-tlsprotocol) for more information on the meaning of these values.

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters) Descriptor deprecated

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters) Equal

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters) GetCipherSuites

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters) GetEcdhCurves

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters) ProtoMessage

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters) ProtoReflect

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters) Reset

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters) String

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion int32
const (
	// Envoy will choose the optimal TLS version.
	VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_TLS_AUTO VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion = 0
	// TLS 1.0
	VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_TLSv1_0 VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion = 1
	// TLS 1.1
	VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_TLSv1_1 VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion = 2
	// TLS 1.2
	VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_TLSv1_2 VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion = 3
	// TLS 1.3
	VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_TLSv1_3 VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion = 4
)

func (VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion) Descriptor

func (VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion) EnumDescriptor deprecated

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion.Descriptor instead.

func (VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion) Number

func (VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion) String

func (VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_SslConfig_SslParameters_ProtocolVersion) Type

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction struct {

	// Types that are assignable to Destination:
	//	*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_Static
	//	*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_Virtual
	//	*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_Kube
	//	*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_ForwardSniClusterName
	Destination isVirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_Destination `protobuf_oneof:"destination"`
	// Relative weight of this destination to others in the same route.
	// If omitted, all destinations in the route will be load balanced between evenly.
	Weight uint32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

Name of the destinations the gateway can route to. Note: the destination spec and subsets are not supported in this context and will be ignored.

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) Descriptor deprecated added in v1.1.0

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) Equal added in v1.1.0

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) GetDestination added in v1.1.0

func (m *VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) GetDestination() isVirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_Destination

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) GetForwardSniClusterName added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) GetKube added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) GetStatic added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) GetVirtual added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) GetWeight added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) Reset added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction) String added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_ForwardSniClusterName added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_ForwardSniClusterName struct {
	// Forwards the request to a cluster name matching the TLS SNI name
	// https://www.envoyproxy.io/docs/envoy/latest/api-v2/config/filter/network/sni_cluster/empty/sni_cluster
	// Note: This filter will only work properly with TLS connections in which the upstream SNI domain is specified
	ForwardSniClusterName *empty.Empty `protobuf:"bytes,4,opt,name=forward_sni_cluster_name,json=forwardSniClusterName,proto3,oneof"`
}

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_Kube added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_Kube struct {
	// Reference to a Kubernetes Service. Note that the service must exist in the same mesh or virtual mesh (with federation enabled) as
	// each gateway workload which routes to this destination.
	Kube *v11.ClusterObjectRef `protobuf:"bytes,3,opt,name=kube,proto3,oneof"`
}

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_Static added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_Static struct {
	// Reference to a gloo mesh Static Destination
	Static *v11.ObjectRef `protobuf:"bytes,1,opt,name=static,proto3,oneof"`
}

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_Virtual added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpHost_TcpAction_Virtual struct {
	// Reference to a gloo mesh VirtualDestination
	Virtual *v11.ObjectRef `protobuf:"bytes,2,opt,name=virtual,proto3,oneof"`
}

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions struct {
	TcpProxySettings *VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings `protobuf:"bytes,1,opt,name=tcp_proxy_settings,json=tcpProxySettings,proto3" json:"tcp_proxy_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions) Descriptor deprecated added in v1.1.0

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions) Equal added in v1.1.0

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions) GetTcpProxySettings added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions) Reset added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions) String added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings struct {

	// Contains various settings for Envoy's tcp proxy filter.
	// See here for more information: https://www.envoyproxy.io/docs/envoy/v1.10.0/api-v2/config/filter/network/tcp_proxy/v2/tcp_proxy.proto#envoy-api-msg-config-filter-network-tcp-proxy-v2-tcpproxy
	MaxConnectAttempts *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_connect_attempts,json=maxConnectAttempts,proto3" json:"max_connect_attempts,omitempty"`
	IdleTimeout        *duration.Duration    `protobuf:"bytes,2,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	// If set, this configures tunneling, e.g. configuration options to tunnel multiple TCP
	// payloads over a shared HTTP tunnel. If this message is absent, the payload
	// will be proxied upstream as per usual.
	TunnelingConfig *VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings_TunnelingConfig `protobuf:"bytes,3,opt,name=tunneling_config,json=tunnelingConfig,proto3" json:"tunneling_config,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings) Descriptor deprecated added in v1.1.0

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings) Equal added in v1.1.0

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings) GetIdleTimeout added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings) GetMaxConnectAttempts added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings) GetTunnelingConfig added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings) Reset added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings) String added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings_TunnelingConfig added in v1.1.0

type VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings_TunnelingConfig struct {

	// The hostname to send in the synthesized CONNECT headers to the upstream proxy.
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

Configuration for tunneling TCP over other transports or application layers.

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings_TunnelingConfig) Descriptor deprecated added in v1.1.0

Deprecated: Use VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings_TunnelingConfig.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings_TunnelingConfig) Equal added in v1.1.0

Equal function

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings_TunnelingConfig) GetHostname added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings_TunnelingConfig) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings_TunnelingConfig) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings_TunnelingConfig) Reset added in v1.1.0

func (*VirtualGatewaySpec_ConnectionHandler_TcpRoutes_TcpOptions_TcpProxySettings_TunnelingConfig) String added in v1.1.0

type VirtualGatewaySpec_DeployToIngressGateway

type VirtualGatewaySpec_DeployToIngressGateway struct {

	// The bind address the gateway should serve traffic on
	// This maps to the Envoy Listener address.
	// Defaults to "::" or "0.0.0.0".
	BindAddress string `protobuf:"bytes,1,opt,name=bind_address,json=bindAddress,proto3" json:"bind_address,omitempty"`
	// The bind port where the gateway workload will listen for connections.
	// This maps to the Envoy Listener port.
	BindPort uint32 `protobuf:"varint,2,opt,name=bind_port,json=bindPort,proto3" json:"bind_port,omitempty"`
	// Select which gateway workloads (Envoy pods / Istio ingress-gateways) this config applies to.
	// Ingress pods selected must be in the same Mesh (or Federated VirtualMesh) as the Destination services
	// being routed to.
	GatewayWorkloads []*v1.WorkloadSelector `protobuf:"bytes,3,rep,name=gateway_workloads,json=gatewayWorkloads,proto3" json:"gateway_workloads,omitempty"`
	// contains filtered or unexported fields
}

Options for deploying the VirtualGateway to an Istio Ingress Gateway

func (*VirtualGatewaySpec_DeployToIngressGateway) Descriptor deprecated

func (*VirtualGatewaySpec_DeployToIngressGateway) Descriptor() ([]byte, []int)

Deprecated: Use VirtualGatewaySpec_DeployToIngressGateway.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_DeployToIngressGateway) Equal

func (m *VirtualGatewaySpec_DeployToIngressGateway) Equal(that interface{}) bool

Equal function

func (*VirtualGatewaySpec_DeployToIngressGateway) GetBindAddress

func (*VirtualGatewaySpec_DeployToIngressGateway) GetBindPort

func (*VirtualGatewaySpec_DeployToIngressGateway) GetGatewayWorkloads

func (*VirtualGatewaySpec_DeployToIngressGateway) ProtoMessage

func (*VirtualGatewaySpec_DeployToIngressGateway) ProtoReflect

func (*VirtualGatewaySpec_DeployToIngressGateway) Reset

func (*VirtualGatewaySpec_DeployToIngressGateway) String

type VirtualGatewaySpec_GatewayOptions added in v1.1.0

type VirtualGatewaySpec_GatewayOptions struct {

	// Soft limit on size of the listener's new connection read and write buffers. If unspecified, defaults to 1MiB
	// For more info, check out the [Envoy docs](https://www.envoyproxy.io/docs/envoy/v1.17.1/api-v3/config/listener/v3/listener.proto)
	PerConnectionBufferLimitBytes *wrappers.UInt32Value `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

TODO: Fill in more options

func (*VirtualGatewaySpec_GatewayOptions) Descriptor deprecated added in v1.1.0

func (*VirtualGatewaySpec_GatewayOptions) Descriptor() ([]byte, []int)

Deprecated: Use VirtualGatewaySpec_GatewayOptions.ProtoReflect.Descriptor instead.

func (*VirtualGatewaySpec_GatewayOptions) Equal added in v1.1.0

func (m *VirtualGatewaySpec_GatewayOptions) Equal(that interface{}) bool

Equal function

func (*VirtualGatewaySpec_GatewayOptions) GetPerConnectionBufferLimitBytes added in v1.1.0

func (x *VirtualGatewaySpec_GatewayOptions) GetPerConnectionBufferLimitBytes() *wrappers.UInt32Value

func (*VirtualGatewaySpec_GatewayOptions) ProtoMessage added in v1.1.0

func (*VirtualGatewaySpec_GatewayOptions) ProtoMessage()

func (*VirtualGatewaySpec_GatewayOptions) ProtoReflect added in v1.1.0

func (*VirtualGatewaySpec_GatewayOptions) Reset added in v1.1.0

func (*VirtualGatewaySpec_GatewayOptions) String added in v1.1.0

type VirtualGatewayStatus added in v1.1.0

type VirtualGatewayStatus struct {

	// The most recent generation observed in the the VirtualGateway metadata.
	// If the `observedGeneration` does not match `metadata.generation`,
	// Gloo Mesh has not processed the most recent version of this resource.
	ObservedGeneration int64 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
	// The state of the overall resource.
	State v1.ApprovalState `protobuf:"varint,8,opt,name=state,proto3,enum=common.mesh.gloo.solo.io.ApprovalState" json:"state,omitempty"`
	// Any errors found while processing this generation of the resource.
	Errors []string `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// Any warnings found while processing this generation of the resource.
	Warnings             []string                   `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`
	SelectedGateways     []*SelectedGatewayWorkload `protobuf:"bytes,4,rep,name=selected_gateways,json=selectedGateways,proto3" json:"selected_gateways,omitempty"`
	SelectedVirtualHosts []*v11.ObjectRef           `protobuf:"bytes,5,rep,name=selected_virtual_hosts,json=selectedVirtualHosts,proto3" json:"selected_virtual_hosts,omitempty"`
	// List of Delegated Route tables that this Route table delegates to
	SelectedRouteTables []*v11.ObjectRef `protobuf:"bytes,6,rep,name=selected_route_tables,json=selectedRouteTables,proto3" json:"selected_route_tables,omitempty"`
	// List of Istio Gateway CRs created by this VirtualGateway in each cluster
	CreatedIstioGateways map[string]*v11.ObjectRefList `` /* 211-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VirtualGatewayStatus) DeepCopyInto added in v1.1.0

func (in *VirtualGatewayStatus) DeepCopyInto(out *VirtualGatewayStatus)

DeepCopyInto for the VirtualGateway.Status

func (*VirtualGatewayStatus) Descriptor deprecated added in v1.1.0

func (*VirtualGatewayStatus) Descriptor() ([]byte, []int)

Deprecated: Use VirtualGatewayStatus.ProtoReflect.Descriptor instead.

func (*VirtualGatewayStatus) Equal added in v1.1.0

func (m *VirtualGatewayStatus) Equal(that interface{}) bool

Equal function

func (*VirtualGatewayStatus) GetCreatedIstioGateways added in v1.1.0

func (x *VirtualGatewayStatus) GetCreatedIstioGateways() map[string]*v11.ObjectRefList

func (*VirtualGatewayStatus) GetErrors added in v1.1.0

func (x *VirtualGatewayStatus) GetErrors() []string

func (*VirtualGatewayStatus) GetObservedGeneration added in v1.1.0

func (x *VirtualGatewayStatus) GetObservedGeneration() int64

func (*VirtualGatewayStatus) GetSelectedGateways

func (x *VirtualGatewayStatus) GetSelectedGateways() []*SelectedGatewayWorkload

func (*VirtualGatewayStatus) GetSelectedRouteTables added in v1.1.0

func (x *VirtualGatewayStatus) GetSelectedRouteTables() []*v11.ObjectRef

func (*VirtualGatewayStatus) GetSelectedVirtualHosts added in v1.1.0

func (x *VirtualGatewayStatus) GetSelectedVirtualHosts() []*v11.ObjectRef

func (*VirtualGatewayStatus) GetState added in v1.1.0

func (x *VirtualGatewayStatus) GetState() v1.ApprovalState

func (*VirtualGatewayStatus) GetWarnings added in v1.1.0

func (x *VirtualGatewayStatus) GetWarnings() []string

func (*VirtualGatewayStatus) MarshalJSON added in v1.1.0

func (this *VirtualGatewayStatus) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for VirtualGatewayStatus

func (*VirtualGatewayStatus) ProtoMessage added in v1.1.0

func (*VirtualGatewayStatus) ProtoMessage()

func (*VirtualGatewayStatus) ProtoReflect added in v1.1.0

func (x *VirtualGatewayStatus) ProtoReflect() protoreflect.Message

func (*VirtualGatewayStatus) Reset added in v1.1.0

func (x *VirtualGatewayStatus) Reset()

func (*VirtualGatewayStatus) String added in v1.1.0

func (x *VirtualGatewayStatus) String() string

func (*VirtualGatewayStatus) UnmarshalJSON added in v1.1.0

func (this *VirtualGatewayStatus) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for VirtualGatewayStatus

type VirtualGatewayStatusWriter added in v1.1.0

type VirtualGatewayStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given VirtualGateway object.
	UpdateVirtualGatewayStatus(ctx context.Context, obj *VirtualGateway, opts ...client.UpdateOption) error

	// Patch patches the given VirtualGateway object's subresource.
	PatchVirtualGatewayStatus(ctx context.Context, obj *VirtualGateway, patch client.Patch, opts ...client.PatchOption) error
}

StatusWriter knows how to update status subresource of a VirtualGateway object.

type VirtualGatewayTransitionFunction added in v1.1.0

type VirtualGatewayTransitionFunction func(existing, desired *VirtualGateway) error

VirtualGatewayTransitionFunction instructs the VirtualGatewayWriter how to transition between an existing VirtualGateway object and a desired on an Upsert

type VirtualGatewayWriter added in v1.1.0

type VirtualGatewayWriter interface {
	// Create saves the VirtualGateway object.
	CreateVirtualGateway(ctx context.Context, obj *VirtualGateway, opts ...client.CreateOption) error

	// Delete deletes the VirtualGateway object.
	DeleteVirtualGateway(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

	// Update updates the given VirtualGateway object.
	UpdateVirtualGateway(ctx context.Context, obj *VirtualGateway, opts ...client.UpdateOption) error

	// Patch patches the given VirtualGateway object.
	PatchVirtualGateway(ctx context.Context, obj *VirtualGateway, patch client.Patch, opts ...client.PatchOption) error

	// DeleteAllOf deletes all VirtualGateway objects matching the given options.
	DeleteAllOfVirtualGateway(ctx context.Context, opts ...client.DeleteAllOfOption) error

	// Create or Update the VirtualGateway object.
	UpsertVirtualGateway(ctx context.Context, obj *VirtualGateway, transitionFuncs ...VirtualGatewayTransitionFunction) error
}

Writer knows how to create, delete, and update VirtualGateways.

type VirtualHost added in v1.1.0

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

	Spec   VirtualHostSpec   `json:"spec,omitempty"`
	Status VirtualHostStatus `json:"status,omitempty"`
}

VirtualHost is the Schema for the virtualHost API

func (*VirtualHost) DeepCopy added in v1.1.0

func (in *VirtualHost) DeepCopy() *VirtualHost

func (*VirtualHost) DeepCopyInto added in v1.1.0

func (in *VirtualHost) DeepCopyInto(out *VirtualHost)

func (*VirtualHost) DeepCopyObject added in v1.1.0

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

func (VirtualHost) GVK added in v1.1.0

GVK returns the GroupVersionKind associated with the resource type.

type VirtualHostClient added in v1.1.0

type VirtualHostClient interface {
	VirtualHostReader
	VirtualHostWriter
	VirtualHostStatusWriter
}

Client knows how to perform CRUD operations on VirtualHosts.

type VirtualHostList added in v1.1.0

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

VirtualHostList contains a list of VirtualHost

func (*VirtualHostList) DeepCopy added in v1.1.0

func (in *VirtualHostList) DeepCopy() *VirtualHostList

func (*VirtualHostList) DeepCopyInto added in v1.1.0

func (in *VirtualHostList) DeepCopyInto(out *VirtualHostList)

func (*VirtualHostList) DeepCopyObject added in v1.1.0

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

type VirtualHostOptions added in v1.1.0

type VirtualHostOptions struct {
	TrafficPolicy *v1.TrafficPolicySpec_Policy `protobuf:"bytes,1,opt,name=traffic_policy,json=trafficPolicy,proto3" json:"traffic_policy,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualHostOptions) Descriptor deprecated added in v1.1.0

func (*VirtualHostOptions) Descriptor() ([]byte, []int)

Deprecated: Use VirtualHostOptions.ProtoReflect.Descriptor instead.

func (*VirtualHostOptions) Equal added in v1.1.0

func (m *VirtualHostOptions) Equal(that interface{}) bool

Equal function

func (*VirtualHostOptions) GetTrafficPolicy added in v1.1.0

func (x *VirtualHostOptions) GetTrafficPolicy() *v1.TrafficPolicySpec_Policy

func (*VirtualHostOptions) ProtoMessage added in v1.1.0

func (*VirtualHostOptions) ProtoMessage()

func (*VirtualHostOptions) ProtoReflect added in v1.1.0

func (x *VirtualHostOptions) ProtoReflect() protoreflect.Message

func (*VirtualHostOptions) Reset added in v1.1.0

func (x *VirtualHostOptions) Reset()

func (*VirtualHostOptions) String added in v1.1.0

func (x *VirtualHostOptions) String() string

type VirtualHostReader added in v1.1.0

type VirtualHostReader interface {
	// Get retrieves a VirtualHost for the given object key
	GetVirtualHost(ctx context.Context, key client.ObjectKey) (*VirtualHost, error)

	// List retrieves list of VirtualHosts for a given namespace and list options.
	ListVirtualHost(ctx context.Context, opts ...client.ListOption) (*VirtualHostList, error)
}

Reader knows how to read and list VirtualHosts.

type VirtualHostSlice added in v1.1.0

type VirtualHostSlice []*VirtualHost

VirtualHostSlice represents a slice of *VirtualHost

type VirtualHostSpec added in v1.1.0

type VirtualHostSpec struct {

	// The list of domains (i.e.: matching the `Host` header of a request) that belong to this virtual host.
	// Note that the wildcard will not match the empty string. e.g. “*-bar.foo.com” will match “baz-bar.foo.com”
	// but not “-bar.foo.com”. Additionally, a special entry “*” is allowed which will match any host/authority header.
	// Only a single virtual host on a gateway can match on “*”. A domain must be unique across all
	// virtual hosts on a gateway or the config will be invalidated by Gloo
	// Domains on virtual hosts obey the same rules as [Envoy Virtual Hosts](https://github.com/envoyproxy/envoy/blob/master/api/envoy/api/v2/route/route.proto)
	Domains []string `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
	// The list of HTTP routes define routing actions to be taken for incoming HTTP requests whose host header matches
	// this virtual host. If the request matches more than one route in the list, the first route matched will be selected.
	// If the list of routes is empty, the virtual host will be ignored by Gloo.
	Routes []*Route `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
	// Route table options contain additional configuration to be applied to all traffic served by the route table.
	// Some configuration here can be overridden by Route Options.
	// OutlierDetection and TrafficShift isn't supported on the route level.
	Options *VirtualHostOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

A `VirtualHost` is used to configure routes. It is selected by a `VirtualGateway`, and may be attached to more than one gateway. The `VirtualHost` contains the top-level configuration and route options, such as domains to match against, and any options to be shared by its routes. Routes can send traffic directly to a service, or can delegate to a `RouteTable` to perform further routing decisions.

func (*VirtualHostSpec) DeepCopyInto added in v1.1.0

func (in *VirtualHostSpec) DeepCopyInto(out *VirtualHostSpec)

DeepCopyInto for the VirtualHost.Spec

func (*VirtualHostSpec) Descriptor deprecated added in v1.1.0

func (*VirtualHostSpec) Descriptor() ([]byte, []int)

Deprecated: Use VirtualHostSpec.ProtoReflect.Descriptor instead.

func (*VirtualHostSpec) Equal added in v1.1.0

func (m *VirtualHostSpec) Equal(that interface{}) bool

Equal function

func (*VirtualHostSpec) GetDomains added in v1.1.0

func (x *VirtualHostSpec) GetDomains() []string

func (*VirtualHostSpec) GetOptions added in v1.1.0

func (x *VirtualHostSpec) GetOptions() *VirtualHostOptions

func (*VirtualHostSpec) GetRoutes added in v1.1.0

func (x *VirtualHostSpec) GetRoutes() []*Route

func (*VirtualHostSpec) MarshalJSON added in v1.1.0

func (this *VirtualHostSpec) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for VirtualHostSpec

func (*VirtualHostSpec) ProtoMessage added in v1.1.0

func (*VirtualHostSpec) ProtoMessage()

func (*VirtualHostSpec) ProtoReflect added in v1.1.0

func (x *VirtualHostSpec) ProtoReflect() protoreflect.Message

func (*VirtualHostSpec) Reset added in v1.1.0

func (x *VirtualHostSpec) Reset()

func (*VirtualHostSpec) String added in v1.1.0

func (x *VirtualHostSpec) String() string

func (*VirtualHostSpec) UnmarshalJSON added in v1.1.0

func (this *VirtualHostSpec) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for VirtualHostSpec

type VirtualHostStatus added in v1.1.0

type VirtualHostStatus struct {

	// The most recent generation observed in the the VirtualHost metadata.
	// If the `observedGeneration` does not match `metadata.generation`,
	// Gloo Mesh has not processed the most recent version of this resource.
	ObservedGeneration int64 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
	// The state of the overall resource.
	State v11.ApprovalState `protobuf:"varint,7,opt,name=state,proto3,enum=common.mesh.gloo.solo.io.ApprovalState" json:"state,omitempty"`
	// Any errors found while processing this generation of the resource.
	Errors []string `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// Any warnings found while processing this generation of the resource.
	Warnings []string `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// List of each VirtualGateway which has selected this VirtualHost
	AttachedVirtualGateways []*v12.ObjectRef `` /* 132-byte string literal not displayed */
	// List of RouteTables that this Route table delegates to
	SelectedRouteTables []*v12.ObjectRef `protobuf:"bytes,5,rep,name=selected_route_tables,json=selectedRouteTables,proto3" json:"selected_route_tables,omitempty"`
	// The set of TrafficPolicies that have been applied to this Destination.
	// {{/* Note: validation of this field disabled because it slows down cue tremendously*/}}
	AppliedTrafficPolicies []*v1.AppliedTrafficPolicy `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VirtualHostStatus) DeepCopyInto added in v1.1.0

func (in *VirtualHostStatus) DeepCopyInto(out *VirtualHostStatus)

DeepCopyInto for the VirtualHost.Status

func (*VirtualHostStatus) Descriptor deprecated added in v1.1.0

func (*VirtualHostStatus) Descriptor() ([]byte, []int)

Deprecated: Use VirtualHostStatus.ProtoReflect.Descriptor instead.

func (*VirtualHostStatus) Equal added in v1.1.0

func (m *VirtualHostStatus) Equal(that interface{}) bool

Equal function

func (*VirtualHostStatus) GetAppliedTrafficPolicies added in v1.1.0

func (x *VirtualHostStatus) GetAppliedTrafficPolicies() []*v1.AppliedTrafficPolicy

func (*VirtualHostStatus) GetAttachedVirtualGateways added in v1.1.0

func (x *VirtualHostStatus) GetAttachedVirtualGateways() []*v12.ObjectRef

func (*VirtualHostStatus) GetErrors added in v1.1.0

func (x *VirtualHostStatus) GetErrors() []string

func (*VirtualHostStatus) GetObservedGeneration added in v1.1.0

func (x *VirtualHostStatus) GetObservedGeneration() int64

func (*VirtualHostStatus) GetSelectedRouteTables added in v1.1.0

func (x *VirtualHostStatus) GetSelectedRouteTables() []*v12.ObjectRef

func (*VirtualHostStatus) GetState added in v1.1.0

func (x *VirtualHostStatus) GetState() v11.ApprovalState

func (*VirtualHostStatus) GetWarnings added in v1.1.0

func (x *VirtualHostStatus) GetWarnings() []string

func (*VirtualHostStatus) MarshalJSON added in v1.1.0

func (this *VirtualHostStatus) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for VirtualHostStatus

func (*VirtualHostStatus) ProtoMessage added in v1.1.0

func (*VirtualHostStatus) ProtoMessage()

func (*VirtualHostStatus) ProtoReflect added in v1.1.0

func (x *VirtualHostStatus) ProtoReflect() protoreflect.Message

func (*VirtualHostStatus) Reset added in v1.1.0

func (x *VirtualHostStatus) Reset()

func (*VirtualHostStatus) String added in v1.1.0

func (x *VirtualHostStatus) String() string

func (*VirtualHostStatus) UnmarshalJSON added in v1.1.0

func (this *VirtualHostStatus) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for VirtualHostStatus

type VirtualHostStatusWriter added in v1.1.0

type VirtualHostStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given VirtualHost object.
	UpdateVirtualHostStatus(ctx context.Context, obj *VirtualHost, opts ...client.UpdateOption) error

	// Patch patches the given VirtualHost object's subresource.
	PatchVirtualHostStatus(ctx context.Context, obj *VirtualHost, patch client.Patch, opts ...client.PatchOption) error
}

StatusWriter knows how to update status subresource of a VirtualHost object.

type VirtualHostTransitionFunction added in v1.1.0

type VirtualHostTransitionFunction func(existing, desired *VirtualHost) error

VirtualHostTransitionFunction instructs the VirtualHostWriter how to transition between an existing VirtualHost object and a desired on an Upsert

type VirtualHostWriter added in v1.1.0

type VirtualHostWriter interface {
	// Create saves the VirtualHost object.
	CreateVirtualHost(ctx context.Context, obj *VirtualHost, opts ...client.CreateOption) error

	// Delete deletes the VirtualHost object.
	DeleteVirtualHost(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

	// Update updates the given VirtualHost object.
	UpdateVirtualHost(ctx context.Context, obj *VirtualHost, opts ...client.UpdateOption) error

	// Patch patches the given VirtualHost object.
	PatchVirtualHost(ctx context.Context, obj *VirtualHost, patch client.Patch, opts ...client.PatchOption) error

	// DeleteAllOf deletes all VirtualHost objects matching the given options.
	DeleteAllOfVirtualHost(ctx context.Context, opts ...client.DeleteAllOfOption) error

	// Create or Update the VirtualHost object.
	UpsertVirtualHost(ctx context.Context, obj *VirtualHost, transitionFuncs ...VirtualHostTransitionFunction) error
}

Writer knows how to create, delete, and update VirtualHosts.

type WasmDeployment

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

	Spec   WasmDeploymentSpec   `json:"spec,omitempty"`
	Status WasmDeploymentStatus `json:"status,omitempty"`
}

WasmDeployment is the Schema for the wasmDeployment API

func (*WasmDeployment) DeepCopy

func (in *WasmDeployment) DeepCopy() *WasmDeployment

func (*WasmDeployment) DeepCopyInto

func (in *WasmDeployment) DeepCopyInto(out *WasmDeployment)

func (*WasmDeployment) DeepCopyObject

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

func (WasmDeployment) GVK

GVK returns the GroupVersionKind associated with the resource type.

type WasmDeploymentClient

type WasmDeploymentClient interface {
	WasmDeploymentReader
	WasmDeploymentWriter
	WasmDeploymentStatusWriter
}

Client knows how to perform CRUD operations on WasmDeployments.

type WasmDeploymentList

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

WasmDeploymentList contains a list of WasmDeployment

func (*WasmDeploymentList) DeepCopy

func (in *WasmDeploymentList) DeepCopy() *WasmDeploymentList

func (*WasmDeploymentList) DeepCopyInto

func (in *WasmDeploymentList) DeepCopyInto(out *WasmDeploymentList)

func (*WasmDeploymentList) DeepCopyObject

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

type WasmDeploymentReader

type WasmDeploymentReader interface {
	// Get retrieves a WasmDeployment for the given object key
	GetWasmDeployment(ctx context.Context, key client.ObjectKey) (*WasmDeployment, error)

	// List retrieves list of WasmDeployments for a given namespace and list options.
	ListWasmDeployment(ctx context.Context, opts ...client.ListOption) (*WasmDeploymentList, error)
}

Reader knows how to read and list WasmDeployments.

type WasmDeploymentSlice

type WasmDeploymentSlice []*WasmDeployment

WasmDeploymentSlice represents a slice of *WasmDeployment

type WasmDeploymentSpec

type WasmDeploymentSpec struct {

	// Sidecars/Gateways whose Workloads match these selectors will attach the specified WASM Filters.
	// Leave empty to have all workloads in the mesh apply receive the WASM Filter.
	WorkloadSelector []*v1.WorkloadSelector `protobuf:"bytes,1,rep,name=workload_selector,json=workloadSelector,proto3" json:"workload_selector,omitempty"`
	// Specify WASM filter parameters.
	Filters []*WasmFilterSpec `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
	// Weight is used to determine the order of WASM Filters when applying
	// multiple WasmDeployments to a single workload.
	// Deployed WASM filters will be sorted in order of
	// highest to lowest weight. WasmDeployments with equal weights will be
	// sorted non-deterministically.
	// Note that all WASM Filters are currently inserted just before the Envoy router filter
	// in the HTTP Connection Manager's HTTP Filter Chain.
	Weight uint32 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

Deploys one or more WASM Envoy Filters to selected Sidecars and Gateways in a Mesh.

func (*WasmDeploymentSpec) DeepCopyInto

func (in *WasmDeploymentSpec) DeepCopyInto(out *WasmDeploymentSpec)

DeepCopyInto for the WasmDeployment.Spec

func (*WasmDeploymentSpec) Descriptor deprecated

func (*WasmDeploymentSpec) Descriptor() ([]byte, []int)

Deprecated: Use WasmDeploymentSpec.ProtoReflect.Descriptor instead.

func (*WasmDeploymentSpec) GetFilters

func (x *WasmDeploymentSpec) GetFilters() []*WasmFilterSpec

func (*WasmDeploymentSpec) GetWeight

func (x *WasmDeploymentSpec) GetWeight() uint32

func (*WasmDeploymentSpec) GetWorkloadSelector

func (x *WasmDeploymentSpec) GetWorkloadSelector() []*v1.WorkloadSelector

func (*WasmDeploymentSpec) MarshalJSON

func (this *WasmDeploymentSpec) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for WasmDeploymentSpec

func (*WasmDeploymentSpec) ProtoMessage

func (*WasmDeploymentSpec) ProtoMessage()

func (*WasmDeploymentSpec) ProtoReflect

func (x *WasmDeploymentSpec) ProtoReflect() protoreflect.Message

func (*WasmDeploymentSpec) Reset

func (x *WasmDeploymentSpec) Reset()

func (*WasmDeploymentSpec) String

func (x *WasmDeploymentSpec) String() string

func (*WasmDeploymentSpec) UnmarshalJSON

func (this *WasmDeploymentSpec) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for WasmDeploymentSpec

type WasmDeploymentStatus

type WasmDeploymentStatus struct {

	// The most recent generation observed in the the WasmDeployment metadata.
	// if the observedGeneration does not match `metadata.generation`, Gloo Mesh has not processed the most
	// recent version of this resource.
	ObservedGeneration int64 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
	// Any errors encountered while processing this generation of the resource.
	// This can include failures to pull a WASM image as well as missing or invalid
	// fields in the spec.
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// The state of the WasmDeployment as it has been applied to each individual Workload.
	WorkloadStates map[string]WasmDeploymentStatus_WorkloadState `` /* 272-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WasmDeploymentStatus) DeepCopyInto

func (in *WasmDeploymentStatus) DeepCopyInto(out *WasmDeploymentStatus)

DeepCopyInto for the WasmDeployment.Status

func (*WasmDeploymentStatus) Descriptor deprecated

func (*WasmDeploymentStatus) Descriptor() ([]byte, []int)

Deprecated: Use WasmDeploymentStatus.ProtoReflect.Descriptor instead.

func (*WasmDeploymentStatus) GetError

func (x *WasmDeploymentStatus) GetError() string

func (*WasmDeploymentStatus) GetObservedGeneration

func (x *WasmDeploymentStatus) GetObservedGeneration() int64

func (*WasmDeploymentStatus) GetWorkloadStates

func (*WasmDeploymentStatus) MarshalJSON

func (this *WasmDeploymentStatus) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for WasmDeploymentStatus

func (*WasmDeploymentStatus) ProtoMessage

func (*WasmDeploymentStatus) ProtoMessage()

func (*WasmDeploymentStatus) ProtoReflect

func (x *WasmDeploymentStatus) ProtoReflect() protoreflect.Message

func (*WasmDeploymentStatus) Reset

func (x *WasmDeploymentStatus) Reset()

func (*WasmDeploymentStatus) String

func (x *WasmDeploymentStatus) String() string

func (*WasmDeploymentStatus) UnmarshalJSON

func (this *WasmDeploymentStatus) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for WasmDeploymentStatus

type WasmDeploymentStatusWriter

type WasmDeploymentStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given WasmDeployment object.
	UpdateWasmDeploymentStatus(ctx context.Context, obj *WasmDeployment, opts ...client.UpdateOption) error

	// Patch patches the given WasmDeployment object's subresource.
	PatchWasmDeploymentStatus(ctx context.Context, obj *WasmDeployment, patch client.Patch, opts ...client.PatchOption) error
}

StatusWriter knows how to update status subresource of a WasmDeployment object.

type WasmDeploymentStatus_WorkloadState

type WasmDeploymentStatus_WorkloadState int32

WorkloadState is the state of the WasmDeployment resource as it has been applied to an individual Workload.

const (
	// Indicates that filters have not yet been deployed to the target Workload.
	WasmDeploymentStatus_DEPLOYMENT_PENDING WasmDeploymentStatus_WorkloadState = 0
	// Indicates the WASM Filters have been deployed to the target Workload (along with any cluster dependencies).
	WasmDeploymentStatus_FILTERS_DEPLOYED WasmDeploymentStatus_WorkloadState = 1
	// Indicates deploying the WASM Filters to this Workload failed.
	WasmDeploymentStatus_DEPLOYMENT_FAILED WasmDeploymentStatus_WorkloadState = 2
)

func (WasmDeploymentStatus_WorkloadState) Descriptor

func (WasmDeploymentStatus_WorkloadState) Enum

func (WasmDeploymentStatus_WorkloadState) EnumDescriptor deprecated

func (WasmDeploymentStatus_WorkloadState) EnumDescriptor() ([]byte, []int)

Deprecated: Use WasmDeploymentStatus_WorkloadState.Descriptor instead.

func (WasmDeploymentStatus_WorkloadState) Number

func (WasmDeploymentStatus_WorkloadState) String

func (WasmDeploymentStatus_WorkloadState) Type

type WasmDeploymentTransitionFunction

type WasmDeploymentTransitionFunction func(existing, desired *WasmDeployment) error

WasmDeploymentTransitionFunction instructs the WasmDeploymentWriter how to transition between an existing WasmDeployment object and a desired on an Upsert

type WasmDeploymentWriter

type WasmDeploymentWriter interface {
	// Create saves the WasmDeployment object.
	CreateWasmDeployment(ctx context.Context, obj *WasmDeployment, opts ...client.CreateOption) error

	// Delete deletes the WasmDeployment object.
	DeleteWasmDeployment(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

	// Update updates the given WasmDeployment object.
	UpdateWasmDeployment(ctx context.Context, obj *WasmDeployment, opts ...client.UpdateOption) error

	// Patch patches the given WasmDeployment object.
	PatchWasmDeployment(ctx context.Context, obj *WasmDeployment, patch client.Patch, opts ...client.PatchOption) error

	// DeleteAllOf deletes all WasmDeployment objects matching the given options.
	DeleteAllOfWasmDeployment(ctx context.Context, opts ...client.DeleteAllOfOption) error

	// Create or Update the WasmDeployment object.
	UpsertWasmDeployment(ctx context.Context, obj *WasmDeployment, transitionFuncs ...WasmDeploymentTransitionFunction) error
}

Writer knows how to create, delete, and update WasmDeployments.

type WasmFilterSpec

type WasmFilterSpec struct {

	// Several options are available for providing a source of the WASM filter file.
	// An option must be specified in order to execute the WasmDeployment.
	//
	// Types that are assignable to FilterSource:
	//	*WasmFilterSpec_LocalPathSource
	//	*WasmFilterSpec_HttpUriSource
	//	*WasmFilterSpec_WasmImageSource
	FilterSource isWasmFilterSpec_FilterSource `protobuf_oneof:"filter_source"`
	// Filter/service configuration used to configure or reconfigure a filter
	// (proxy_on_configuration).
	// Several options are available for providing a source of filter config (dynamic and static).
	//
	// Types that are assignable to FilterConfigSource:
	//	*WasmFilterSpec_StaticFilterConfig
	//	*WasmFilterSpec_DynamicFilterConfig
	FilterConfigSource isWasmFilterSpec_FilterConfigSource `protobuf_oneof:"filter_config_source"`
	// The `root id` must match the `root id` defined inside the filter.
	// If the user does not provide this field, Gloo Mesh will attempt to pull the image
	// and set it from the `filter_conf` contained in the image config.
	// Note that if the `filter_source` is not set to `wasm_image_source`, this field is required.
	RootId string `protobuf:"bytes,5,opt,name=root_id,json=rootId,proto3" json:"root_id,omitempty"`
	// An ID which will be used along with a hash of the wasm code
	// (or the name of the registered Null VM plugin) to determine which VM will be used to load the WASM filter.
	// All filters on the same proxy which use the same `vm_id` and code within will use the same VM.
	// May be left blank. Sharing a VM between plugins can reduce memory utilization and make sharing of data easier which may have security implications.
	VmId string `protobuf:"bytes,6,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"`
	// The specific config generation context to which to attach the filter. Istio
	// generates envoy configuration in the context of a gateway,
	// inbound traffic to sidecar and outbound traffic from sidecar.
	// Uses the Istio default (`ANY`).
	FilterContext v1alpha3.EnvoyFilter_PatchContext `` /* 157-byte string literal not displayed */
	// The filter in the Envoy HTTP Filter Chain immediately before which the WASM filter will be
	// inserted.
	// Defaults to `envoy.router`.
	InsertBeforeFilter string `protobuf:"bytes,9,opt,name=insert_before_filter,json=insertBeforeFilter,proto3" json:"insert_before_filter,omitempty"`
	// contains filtered or unexported fields
}

Specify the WASM Filter to deploy.

func (*WasmFilterSpec) Descriptor deprecated

func (*WasmFilterSpec) Descriptor() ([]byte, []int)

Deprecated: Use WasmFilterSpec.ProtoReflect.Descriptor instead.

func (*WasmFilterSpec) GetDynamicFilterConfig

func (x *WasmFilterSpec) GetDynamicFilterConfig() string

func (*WasmFilterSpec) GetFilterConfigSource

func (m *WasmFilterSpec) GetFilterConfigSource() isWasmFilterSpec_FilterConfigSource

func (*WasmFilterSpec) GetFilterContext

func (x *WasmFilterSpec) GetFilterContext() v1alpha3.EnvoyFilter_PatchContext

func (*WasmFilterSpec) GetFilterSource

func (m *WasmFilterSpec) GetFilterSource() isWasmFilterSpec_FilterSource

func (*WasmFilterSpec) GetHttpUriSource

func (x *WasmFilterSpec) GetHttpUriSource() *UriSource

func (*WasmFilterSpec) GetInsertBeforeFilter

func (x *WasmFilterSpec) GetInsertBeforeFilter() string

func (*WasmFilterSpec) GetLocalPathSource

func (x *WasmFilterSpec) GetLocalPathSource() string

func (*WasmFilterSpec) GetRootId

func (x *WasmFilterSpec) GetRootId() string

func (*WasmFilterSpec) GetStaticFilterConfig

func (x *WasmFilterSpec) GetStaticFilterConfig() *any.Any

func (*WasmFilterSpec) GetVmId

func (x *WasmFilterSpec) GetVmId() string

func (*WasmFilterSpec) GetWasmImageSource

func (x *WasmFilterSpec) GetWasmImageSource() *WasmImageSource

func (*WasmFilterSpec) ProtoMessage

func (*WasmFilterSpec) ProtoMessage()

func (*WasmFilterSpec) ProtoReflect

func (x *WasmFilterSpec) ProtoReflect() protoreflect.Message

func (*WasmFilterSpec) Reset

func (x *WasmFilterSpec) Reset()

func (*WasmFilterSpec) String

func (x *WasmFilterSpec) String() string

type WasmFilterSpec_DynamicFilterConfig

type WasmFilterSpec_DynamicFilterConfig struct {
	// Provide configuration from a dynamic configuration source.
	// This is used to connect proxies to a user-provided configuration server
	// rather than using the WasmDeployment CR to update filter configuration.
	// NOTE: Not currently implemented. This field serves as a placeholder.
	// passing it to the plugin. `google.protobuf.BytesValue` and
	// `google.protobuf.StringValue` are passed directly without the wrapper.
	// TODO(ilackarms): implement with dynamic filter config source (FCDS) https://github.com/envoyproxy/envoy/issues/7867
	DynamicFilterConfig string `protobuf:"bytes,8,opt,name=dynamic_filter_config,json=dynamicFilterConfig,proto3,oneof"`
}

type WasmFilterSpec_HttpUriSource

type WasmFilterSpec_HttpUriSource struct {
	// Select `http_uri_source` to deploy the filter from an HTTP/S URI accessible
	// to the workload proxy. Note that Gloo Mesh cannot verify
	// whether the target workload proxy containers have HTTP access the given URI.
	// If filters do not load, please inspect the sidecar proxy logs.
	// TODO(ilackarms): see if we can somehow verify the filter exists in the proxy container and surface that on the WasmDeployment status
	// TODO(ilackarms): we may need to provide options for customizing the Cluster given to envoy along with the HTTP Fetch URI. currently Gloo Mesh will create a simple plaintext HTTP cluster from the Host/Port specified in the URI.
	HttpUriSource *UriSource `protobuf:"bytes,2,opt,name=http_uri_source,json=httpUriSource,proto3,oneof"`
}

type WasmFilterSpec_LocalPathSource

type WasmFilterSpec_LocalPathSource struct {
	// Select `local_path_source` to deploy the filter from a file accessible
	// to the workload proxy. Note that Gloo Mesh cannot verify
	// whether the target workload proxy containers contain the given path.
	// If filters do not load, please inspect the sidecar proxy logs.
	// TODO(ilackarms): see if we can somehow verify the filter exists in the proxy container and surface that on the WasmDeployment status
	LocalPathSource string `protobuf:"bytes,1,opt,name=local_path_source,json=localPathSource,proto3,oneof"`
}

type WasmFilterSpec_StaticFilterConfig

type WasmFilterSpec_StaticFilterConfig struct {
	// Provide configuration as a static
	// `google.protobuf.Struct` is serialized as JSON before
	// passing it to the plugin. `google.protobuf.BytesValue` and
	// `google.protobuf.StringValue` are passed directly without the wrapper.
	StaticFilterConfig *any.Any `protobuf:"bytes,4,opt,name=static_filter_config,json=staticFilterConfig,proto3,oneof"`
}

type WasmFilterSpec_WasmImageSource

type WasmFilterSpec_WasmImageSource struct {
	// fetch the image from a [WASM OCI Registry](https://webassemblyhub.io/)
	// Images can be built and pushed to registries using `meshctl` and `wasme`.
	WasmImageSource *WasmImageSource `protobuf:"bytes,3,opt,name=wasm_image_source,json=wasmImageSource,proto3,oneof"`
}

type WasmImageSource

type WasmImageSource struct {

	// The full tag of the wasm image. It must include the registry address at the beginning, e.g. "webassemblyhub.io/ilackarms/helloworld:v0.1".
	WasmImageTag string `protobuf:"bytes,1,opt,name=wasm_image_tag,json=wasmImageTag,proto3" json:"wasm_image_tag,omitempty"`
	// contains filtered or unexported fields
}

Specify options for fetching WASM Filters from a [WASM-compatible OCI Registry](https://webassemblyhub.io/). Images can be built and pushed to registries using `meshctl` and `wasme`.

func (*WasmImageSource) Descriptor deprecated

func (*WasmImageSource) Descriptor() ([]byte, []int)

Deprecated: Use WasmImageSource.ProtoReflect.Descriptor instead.

func (*WasmImageSource) GetWasmImageTag

func (x *WasmImageSource) GetWasmImageTag() string

func (*WasmImageSource) ProtoMessage

func (*WasmImageSource) ProtoMessage()

func (*WasmImageSource) ProtoReflect

func (x *WasmImageSource) ProtoReflect() protoreflect.Message

func (*WasmImageSource) Reset

func (x *WasmImageSource) Reset()

func (*WasmImageSource) String

func (x *WasmImageSource) String() string

Directories

Path Synopsis
Definitions for the Kubernetes Controllers Definitions for the multicluster Kubernetes Controllers Definitions for the Kubernetes Controllers
Definitions for the Kubernetes Controllers Definitions for the multicluster Kubernetes Controllers Definitions for the Kubernetes Controllers
mocks
Package mock_controller is a generated GoMock package.
Package mock_controller is a generated GoMock package.
Package mock_v1beta1 is a generated GoMock package.
Package mock_v1beta1 is a generated GoMock package.
mocks
Package mock_v1beta1sets is a generated GoMock package.
Package mock_v1beta1sets is a generated GoMock package.

Jump to

Keyboard shortcuts

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