validation

package
v1.16.9 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 24 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ListenerReport_Error_Type_name = map[int32]string{
		0: "NameNotUniqueError",
		1: "BindPortNotUniqueError",
		2: "SSLConfigError",
		3: "ProcessingError",
	}
	ListenerReport_Error_Type_value = map[string]int32{
		"NameNotUniqueError":     0,
		"BindPortNotUniqueError": 1,
		"SSLConfigError":         2,
		"ProcessingError":        3,
	}
)

Enum value maps for ListenerReport_Error_Type.

View Source
var (
	HttpListenerReport_Error_Type_name = map[int32]string{
		0: "ProcessingError",
	}
	HttpListenerReport_Error_Type_value = map[string]int32{
		"ProcessingError": 0,
	}
)

Enum value maps for HttpListenerReport_Error_Type.

View Source
var (
	VirtualHostReport_Error_Type_name = map[int32]string{
		0: "NameNotUniqueError",
		1: "DomainsNotUniqueError",
		2: "ProcessingError",
		3: "EmptyDomainError",
	}
	VirtualHostReport_Error_Type_value = map[string]int32{
		"NameNotUniqueError":    0,
		"DomainsNotUniqueError": 1,
		"ProcessingError":       2,
		"EmptyDomainError":      3,
	}
)

Enum value maps for VirtualHostReport_Error_Type.

View Source
var (
	RouteReport_Error_Type_name = map[int32]string{
		0: "InvalidMatcherError",
		1: "ProcessingError",
	}
	RouteReport_Error_Type_value = map[string]int32{
		"InvalidMatcherError": 0,
		"ProcessingError":     1,
	}
)

Enum value maps for RouteReport_Error_Type.

View Source
var (
	RouteReport_Warning_Type_name = map[int32]string{
		0: "InvalidDestinationWarning",
	}
	RouteReport_Warning_Type_value = map[string]int32{
		"InvalidDestinationWarning": 0,
	}
)

Enum value maps for RouteReport_Warning_Type.

View Source
var (
	TcpListenerReport_Error_Type_name = map[int32]string{
		0: "NameNotUniqueError",
		1: "BindPortNotUniqueError",
		2: "SSLConfigError",
		3: "ProcessingError",
	}
	TcpListenerReport_Error_Type_value = map[string]int32{
		"NameNotUniqueError":     0,
		"BindPortNotUniqueError": 1,
		"SSLConfigError":         2,
		"ProcessingError":        3,
	}
)

Enum value maps for TcpListenerReport_Error_Type.

View Source
var (
	TcpHostReport_Error_Type_name = map[int32]string{
		0: "NameNotUniqueError",
		1: "InvalidDestinationError",
		2: "ProcessingError",
	}
	TcpHostReport_Error_Type_value = map[string]int32{
		"NameNotUniqueError":      0,
		"InvalidDestinationError": 1,
		"ProcessingError":         2,
	}
)

Enum value maps for TcpHostReport_Error_Type.

View Source
var (
	TcpHostReport_Warning_Type_name = map[int32]string{
		0: "UnknownWarning",
		1: "InvalidDestinationWarning",
	}
	TcpHostReport_Warning_Type_value = map[string]int32{
		"UnknownWarning":            0,
		"InvalidDestinationWarning": 1,
	}
)

Enum value maps for TcpHostReport_Warning_Type.

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_grpc_validation_gloo_validation_proto protoreflect.FileDescriptor

Functions

func RegisterGlooValidationServiceServer added in v1.9.0

func RegisterGlooValidationServiceServer(s *grpc.Server, srv GlooValidationServiceServer)

Types

type AggregateListenerReport added in v1.9.25

type AggregateListenerReport struct {
	HttpListenerReports map[string]*HttpListenerReport `` /* 208-byte string literal not displayed */
	TcpListenerReports  map[string]*TcpListenerReport  `` /* 205-byte string literal not displayed */
	// contains filtered or unexported fields
}

the report for an AggregateListener

func (*AggregateListenerReport) Clone added in v1.9.25

Clone function

func (*AggregateListenerReport) Descriptor deprecated added in v1.9.25

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

Deprecated: Use AggregateListenerReport.ProtoReflect.Descriptor instead.

func (*AggregateListenerReport) Equal added in v1.9.25

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

Equal function

func (*AggregateListenerReport) GetHttpListenerReports added in v1.9.25

func (x *AggregateListenerReport) GetHttpListenerReports() map[string]*HttpListenerReport

func (*AggregateListenerReport) GetTcpListenerReports added in v1.14.6

func (x *AggregateListenerReport) GetTcpListenerReports() map[string]*TcpListenerReport

func (*AggregateListenerReport) Hash added in v1.9.25

func (m *AggregateListenerReport) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*AggregateListenerReport) ProtoMessage added in v1.9.25

func (*AggregateListenerReport) ProtoMessage()

func (*AggregateListenerReport) ProtoReflect added in v1.9.25

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

func (*AggregateListenerReport) Reset added in v1.9.25

func (x *AggregateListenerReport) Reset()

func (*AggregateListenerReport) String added in v1.9.25

func (x *AggregateListenerReport) String() string

type DeletedResources added in v1.9.1

type DeletedResources struct {

	// Optional, a list of the upstreams to delete.
	UpstreamRefs []*core.ResourceRef `protobuf:"bytes,1,rep,name=upstream_refs,json=upstreamRefs,proto3" json:"upstream_refs,omitempty"`
	// Optional, a list of the secrets to delete.
	SecretRefs []*core.ResourceRef `protobuf:"bytes,2,rep,name=secret_refs,json=secretRefs,proto3" json:"secret_refs,omitempty"` // TODO when we support other resource types, add them here
	// contains filtered or unexported fields
}

func (*DeletedResources) Clone added in v1.9.7

func (m *DeletedResources) Clone() proto.Message

Clone function

func (*DeletedResources) Descriptor deprecated added in v1.9.1

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

Deprecated: Use DeletedResources.ProtoReflect.Descriptor instead.

func (*DeletedResources) Equal added in v1.9.1

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

Equal function

func (*DeletedResources) GetSecretRefs added in v1.9.25

func (x *DeletedResources) GetSecretRefs() []*core.ResourceRef

func (*DeletedResources) GetUpstreamRefs added in v1.9.1

func (x *DeletedResources) GetUpstreamRefs() []*core.ResourceRef

func (*DeletedResources) Hash added in v1.9.1

func (m *DeletedResources) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*DeletedResources) ProtoMessage added in v1.9.1

func (*DeletedResources) ProtoMessage()

func (*DeletedResources) ProtoReflect added in v1.9.1

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

func (*DeletedResources) Reset added in v1.9.1

func (x *DeletedResources) Reset()

func (*DeletedResources) String added in v1.9.1

func (x *DeletedResources) String() string

type GlooValidationServiceClient added in v1.9.0

type GlooValidationServiceClient interface {
	// Notify the client whenever the Gloo Validation Service resyncs
	NotifyOnResync(ctx context.Context, in *NotifyOnResyncRequest, opts ...grpc.CallOption) (GlooValidationService_NotifyOnResyncClient, error)
	// Submit gloo resources for validation
	Validate(ctx context.Context, in *GlooValidationServiceRequest, opts ...grpc.CallOption) (*GlooValidationServiceResponse, error)
}

GlooValidationServiceClient is the client API for GlooValidationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewGlooValidationServiceClient added in v1.9.0

func NewGlooValidationServiceClient(cc grpc.ClientConnInterface) GlooValidationServiceClient

type GlooValidationServiceRequest added in v1.9.0

type GlooValidationServiceRequest struct {

	// Optional. If a proxy is provided in the request, the response will contain only the report for that proxy.
	// If no proxy is provided, the response will contain a report for each proxy in the Gloo API snapshot.
	Proxy *v1.Proxy `protobuf:"bytes,1,opt,name=proxy,proto3" json:"proxy,omitempty"`
	// Each validation request can either be a create/modify request or a delete request for one or more resources.
	// For deletions, we pass in the resource refs rather than the full resources.
	//
	// Types that are assignable to Resources:
	//
	//	*GlooValidationServiceRequest_ModifiedResources
	//	*GlooValidationServiceRequest_DeletedResources
	Resources isGlooValidationServiceRequest_Resources `protobuf_oneof:"resources"`
	// contains filtered or unexported fields
}

func (*GlooValidationServiceRequest) Clone added in v1.9.7

Clone function

func (*GlooValidationServiceRequest) Descriptor deprecated added in v1.9.0

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

Deprecated: Use GlooValidationServiceRequest.ProtoReflect.Descriptor instead.

func (*GlooValidationServiceRequest) Equal added in v1.9.0

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

Equal function

func (*GlooValidationServiceRequest) GetDeletedResources added in v1.9.1

func (x *GlooValidationServiceRequest) GetDeletedResources() *DeletedResources

func (*GlooValidationServiceRequest) GetModifiedResources added in v1.9.1

func (x *GlooValidationServiceRequest) GetModifiedResources() *ModifiedResources

func (*GlooValidationServiceRequest) GetProxy added in v1.9.0

func (x *GlooValidationServiceRequest) GetProxy() *v1.Proxy

func (*GlooValidationServiceRequest) GetResources added in v1.9.1

func (m *GlooValidationServiceRequest) GetResources() isGlooValidationServiceRequest_Resources

func (*GlooValidationServiceRequest) Hash added in v1.9.0

Hash function

func (*GlooValidationServiceRequest) ProtoMessage added in v1.9.0

func (*GlooValidationServiceRequest) ProtoMessage()

func (*GlooValidationServiceRequest) ProtoReflect added in v1.9.0

func (*GlooValidationServiceRequest) Reset added in v1.9.0

func (x *GlooValidationServiceRequest) Reset()

func (*GlooValidationServiceRequest) String added in v1.9.0

type GlooValidationServiceRequest_DeletedResources added in v1.9.1

type GlooValidationServiceRequest_DeletedResources struct {
	// Resources to be deleted.
	DeletedResources *DeletedResources `protobuf:"bytes,3,opt,name=deleted_resources,json=deletedResources,proto3,oneof"`
}

type GlooValidationServiceRequest_ModifiedResources added in v1.9.1

type GlooValidationServiceRequest_ModifiedResources struct {
	// Resources to be created or modified.
	ModifiedResources *ModifiedResources `protobuf:"bytes,2,opt,name=modified_resources,json=modifiedResources,proto3,oneof"`
}

type GlooValidationServiceResponse added in v1.9.0

type GlooValidationServiceResponse struct {

	// This list contains a validation report for each proxy that was translated and validated with the proposed
	// Gloo API snapshot.
	ValidationReports []*ValidationReport `protobuf:"bytes,1,rep,name=validation_reports,json=validationReports,proto3" json:"validation_reports,omitempty"`
	// contains filtered or unexported fields
}

func (*GlooValidationServiceResponse) Clone added in v1.9.7

Clone function

func (*GlooValidationServiceResponse) Descriptor deprecated added in v1.9.0

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

Deprecated: Use GlooValidationServiceResponse.ProtoReflect.Descriptor instead.

func (*GlooValidationServiceResponse) Equal added in v1.9.0

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

Equal function

func (*GlooValidationServiceResponse) GetValidationReports added in v1.9.0

func (x *GlooValidationServiceResponse) GetValidationReports() []*ValidationReport

func (*GlooValidationServiceResponse) Hash added in v1.9.0

Hash function

func (*GlooValidationServiceResponse) ProtoMessage added in v1.9.0

func (*GlooValidationServiceResponse) ProtoMessage()

func (*GlooValidationServiceResponse) ProtoReflect added in v1.9.0

func (*GlooValidationServiceResponse) Reset added in v1.9.0

func (x *GlooValidationServiceResponse) Reset()

func (*GlooValidationServiceResponse) String added in v1.9.0

type GlooValidationServiceServer added in v1.9.0

type GlooValidationServiceServer interface {
	// Notify the client whenever the Gloo Validation Service resyncs
	NotifyOnResync(*NotifyOnResyncRequest, GlooValidationService_NotifyOnResyncServer) error
	// Submit gloo resources for validation
	Validate(context.Context, *GlooValidationServiceRequest) (*GlooValidationServiceResponse, error)
}

GlooValidationServiceServer is the server API for GlooValidationService service.

type GlooValidationService_NotifyOnResyncClient added in v1.9.0

type GlooValidationService_NotifyOnResyncClient interface {
	Recv() (*NotifyOnResyncResponse, error)
	grpc.ClientStream
}

type GlooValidationService_NotifyOnResyncServer added in v1.9.0

type GlooValidationService_NotifyOnResyncServer interface {
	Send(*NotifyOnResyncResponse) error
	grpc.ServerStream
}

type HttpListenerReport

type HttpListenerReport struct {
	Errors []*HttpListenerReport_Error `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	// report for nested virtual hosts
	VirtualHostReports []*VirtualHostReport `protobuf:"bytes,2,rep,name=virtual_host_reports,json=virtualHostReports,proto3" json:"virtual_host_reports,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpListenerReport) Clone added in v1.9.7

func (m *HttpListenerReport) Clone() proto.Message

Clone function

func (*HttpListenerReport) Descriptor deprecated

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

Deprecated: Use HttpListenerReport.ProtoReflect.Descriptor instead.

func (*HttpListenerReport) Equal added in v1.9.0

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

Equal function

func (*HttpListenerReport) GetErrors

func (x *HttpListenerReport) GetErrors() []*HttpListenerReport_Error

func (*HttpListenerReport) GetVirtualHostReports

func (x *HttpListenerReport) GetVirtualHostReports() []*VirtualHostReport

func (*HttpListenerReport) Hash added in v1.2.13

func (m *HttpListenerReport) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HttpListenerReport) ProtoMessage

func (*HttpListenerReport) ProtoMessage()

func (*HttpListenerReport) ProtoReflect added in v1.6.0

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

func (*HttpListenerReport) Reset

func (x *HttpListenerReport) Reset()

func (*HttpListenerReport) String

func (x *HttpListenerReport) String() string

type HttpListenerReport_Error

type HttpListenerReport_Error struct {

	// the type of the error
	Type HttpListenerReport_Error_Type `protobuf:"varint,1,opt,name=type,proto3,enum=gloo.solo.io.HttpListenerReport_Error_Type" json:"type,omitempty"`
	// any extra info as a string
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

error types for top-level http listener config

func (*HttpListenerReport_Error) Clone added in v1.9.7

Clone function

func (*HttpListenerReport_Error) Descriptor deprecated

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

Deprecated: Use HttpListenerReport_Error.ProtoReflect.Descriptor instead.

func (*HttpListenerReport_Error) Equal added in v1.9.0

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

Equal function

func (*HttpListenerReport_Error) GetReason

func (x *HttpListenerReport_Error) GetReason() string

func (*HttpListenerReport_Error) GetType

func (*HttpListenerReport_Error) Hash added in v1.2.13

func (m *HttpListenerReport_Error) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HttpListenerReport_Error) ProtoMessage

func (*HttpListenerReport_Error) ProtoMessage()

func (*HttpListenerReport_Error) ProtoReflect added in v1.6.0

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

func (*HttpListenerReport_Error) Reset

func (x *HttpListenerReport_Error) Reset()

func (*HttpListenerReport_Error) String

func (x *HttpListenerReport_Error) String() string

type HttpListenerReport_Error_Type

type HttpListenerReport_Error_Type int32
const (
	HttpListenerReport_Error_ProcessingError HttpListenerReport_Error_Type = 0
)

func (HttpListenerReport_Error_Type) Descriptor added in v1.6.0

func (HttpListenerReport_Error_Type) Enum added in v1.6.0

func (HttpListenerReport_Error_Type) EnumDescriptor deprecated

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

Deprecated: Use HttpListenerReport_Error_Type.Descriptor instead.

func (HttpListenerReport_Error_Type) Number added in v1.6.0

func (HttpListenerReport_Error_Type) String

func (HttpListenerReport_Error_Type) Type added in v1.6.0

type HybridListenerReport added in v1.9.25

type HybridListenerReport struct {

	// map key should uniquely identify MatchedListenerReport by matcher
	MatchedListenerReports map[string]*MatchedListenerReport `` /* 217-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HybridListenerReport) Clone added in v1.9.25

func (m *HybridListenerReport) Clone() proto.Message

Clone function

func (*HybridListenerReport) Descriptor deprecated added in v1.9.25

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

Deprecated: Use HybridListenerReport.ProtoReflect.Descriptor instead.

func (*HybridListenerReport) Equal added in v1.9.25

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

Equal function

func (*HybridListenerReport) GetMatchedListenerReports added in v1.9.25

func (x *HybridListenerReport) GetMatchedListenerReports() map[string]*MatchedListenerReport

func (*HybridListenerReport) Hash added in v1.9.25

func (m *HybridListenerReport) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*HybridListenerReport) ProtoMessage added in v1.9.25

func (*HybridListenerReport) ProtoMessage()

func (*HybridListenerReport) ProtoReflect added in v1.9.25

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

func (*HybridListenerReport) Reset added in v1.9.25

func (x *HybridListenerReport) Reset()

func (*HybridListenerReport) String added in v1.9.25

func (x *HybridListenerReport) String() string

type ListenerReport

type ListenerReport struct {

	// errors on top-level config of the listener
	Errors []*ListenerReport_Error `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// Types that are assignable to ListenerTypeReport:
	//
	//	*ListenerReport_HttpListenerReport
	//	*ListenerReport_TcpListenerReport
	//	*ListenerReport_HybridListenerReport
	//	*ListenerReport_AggregateListenerReport
	ListenerTypeReport isListenerReport_ListenerTypeReport `protobuf_oneof:"listener_type_report"`
	// contains filtered or unexported fields
}

func (*ListenerReport) Clone added in v1.9.7

func (m *ListenerReport) Clone() proto.Message

Clone function

func (*ListenerReport) Descriptor deprecated

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

Deprecated: Use ListenerReport.ProtoReflect.Descriptor instead.

func (*ListenerReport) Equal added in v1.9.0

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

Equal function

func (*ListenerReport) GetAggregateListenerReport added in v1.9.25

func (x *ListenerReport) GetAggregateListenerReport() *AggregateListenerReport

func (*ListenerReport) GetErrors

func (x *ListenerReport) GetErrors() []*ListenerReport_Error

func (*ListenerReport) GetHttpListenerReport

func (x *ListenerReport) GetHttpListenerReport() *HttpListenerReport

func (*ListenerReport) GetHybridListenerReport added in v1.9.25

func (x *ListenerReport) GetHybridListenerReport() *HybridListenerReport

func (*ListenerReport) GetListenerTypeReport

func (m *ListenerReport) GetListenerTypeReport() isListenerReport_ListenerTypeReport

func (*ListenerReport) GetTcpListenerReport

func (x *ListenerReport) GetTcpListenerReport() *TcpListenerReport

func (*ListenerReport) Hash added in v1.2.13

func (m *ListenerReport) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ListenerReport) ProtoMessage

func (*ListenerReport) ProtoMessage()

func (*ListenerReport) ProtoReflect added in v1.6.0

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

func (*ListenerReport) Reset

func (x *ListenerReport) Reset()

func (*ListenerReport) String

func (x *ListenerReport) String() string

type ListenerReport_AggregateListenerReport added in v1.9.25

type ListenerReport_AggregateListenerReport struct {
	// report for the aggregate listener
	AggregateListenerReport *AggregateListenerReport `protobuf:"bytes,6,opt,name=aggregate_listener_report,json=aggregateListenerReport,proto3,oneof"`
}

type ListenerReport_Error

type ListenerReport_Error struct {

	// the type of the error
	Type ListenerReport_Error_Type `protobuf:"varint,1,opt,name=type,proto3,enum=gloo.solo.io.ListenerReport_Error_Type" json:"type,omitempty"`
	// any extra info as a string
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

error types for top-level listener config

func (*ListenerReport_Error) Clone added in v1.9.7

func (m *ListenerReport_Error) Clone() proto.Message

Clone function

func (*ListenerReport_Error) Descriptor deprecated

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

Deprecated: Use ListenerReport_Error.ProtoReflect.Descriptor instead.

func (*ListenerReport_Error) Equal added in v1.9.0

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

Equal function

func (*ListenerReport_Error) GetReason

func (x *ListenerReport_Error) GetReason() string

func (*ListenerReport_Error) GetType

func (*ListenerReport_Error) Hash added in v1.2.13

func (m *ListenerReport_Error) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ListenerReport_Error) ProtoMessage

func (*ListenerReport_Error) ProtoMessage()

func (*ListenerReport_Error) ProtoReflect added in v1.6.0

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

func (*ListenerReport_Error) Reset

func (x *ListenerReport_Error) Reset()

func (*ListenerReport_Error) String

func (x *ListenerReport_Error) String() string

type ListenerReport_Error_Type

type ListenerReport_Error_Type int32
const (
	ListenerReport_Error_NameNotUniqueError     ListenerReport_Error_Type = 0
	ListenerReport_Error_BindPortNotUniqueError ListenerReport_Error_Type = 1
	ListenerReport_Error_SSLConfigError         ListenerReport_Error_Type = 2
	ListenerReport_Error_ProcessingError        ListenerReport_Error_Type = 3
)

func (ListenerReport_Error_Type) Descriptor added in v1.6.0

func (ListenerReport_Error_Type) Enum added in v1.6.0

func (ListenerReport_Error_Type) EnumDescriptor deprecated

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

Deprecated: Use ListenerReport_Error_Type.Descriptor instead.

func (ListenerReport_Error_Type) Number added in v1.6.0

func (ListenerReport_Error_Type) String

func (x ListenerReport_Error_Type) String() string

func (ListenerReport_Error_Type) Type added in v1.6.0

type ListenerReport_HttpListenerReport

type ListenerReport_HttpListenerReport struct {
	// report for the http listener
	HttpListenerReport *HttpListenerReport `protobuf:"bytes,3,opt,name=http_listener_report,json=httpListenerReport,proto3,oneof"`
}

type ListenerReport_HybridListenerReport added in v1.9.25

type ListenerReport_HybridListenerReport struct {
	// report for the hybrid listener
	HybridListenerReport *HybridListenerReport `protobuf:"bytes,5,opt,name=hybrid_listener_report,json=hybridListenerReport,proto3,oneof"`
}

type ListenerReport_TcpListenerReport

type ListenerReport_TcpListenerReport struct {
	// report for the tcp listener
	TcpListenerReport *TcpListenerReport `protobuf:"bytes,4,opt,name=tcp_listener_report,json=tcpListenerReport,proto3,oneof"`
}

type MatchedListenerReport added in v1.9.25

type MatchedListenerReport struct {

	// Types that are assignable to ListenerReportType:
	//
	//	*MatchedListenerReport_HttpListenerReport
	//	*MatchedListenerReport_TcpListenerReport
	ListenerReportType isMatchedListenerReport_ListenerReportType `protobuf_oneof:"ListenerReportType"`
	// contains filtered or unexported fields
}

func (*MatchedListenerReport) Clone added in v1.9.25

func (m *MatchedListenerReport) Clone() proto.Message

Clone function

func (*MatchedListenerReport) Descriptor deprecated added in v1.9.25

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

Deprecated: Use MatchedListenerReport.ProtoReflect.Descriptor instead.

func (*MatchedListenerReport) Equal added in v1.9.25

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

Equal function

func (*MatchedListenerReport) GetHttpListenerReport added in v1.9.25

func (x *MatchedListenerReport) GetHttpListenerReport() *HttpListenerReport

func (*MatchedListenerReport) GetListenerReportType added in v1.9.25

func (m *MatchedListenerReport) GetListenerReportType() isMatchedListenerReport_ListenerReportType

func (*MatchedListenerReport) GetTcpListenerReport added in v1.9.25

func (x *MatchedListenerReport) GetTcpListenerReport() *TcpListenerReport

func (*MatchedListenerReport) Hash added in v1.9.25

func (m *MatchedListenerReport) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*MatchedListenerReport) ProtoMessage added in v1.9.25

func (*MatchedListenerReport) ProtoMessage()

func (*MatchedListenerReport) ProtoReflect added in v1.9.25

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

func (*MatchedListenerReport) Reset added in v1.9.25

func (x *MatchedListenerReport) Reset()

func (*MatchedListenerReport) String added in v1.9.25

func (x *MatchedListenerReport) String() string

type MatchedListenerReport_HttpListenerReport added in v1.9.25

type MatchedListenerReport_HttpListenerReport struct {
	HttpListenerReport *HttpListenerReport `protobuf:"bytes,1,opt,name=http_listener_report,json=httpListenerReport,proto3,oneof"`
}

type MatchedListenerReport_TcpListenerReport added in v1.9.25

type MatchedListenerReport_TcpListenerReport struct {
	TcpListenerReport *TcpListenerReport `protobuf:"bytes,2,opt,name=tcp_listener_report,json=tcpListenerReport,proto3,oneof"`
}

type ModifiedResources added in v1.9.1

type ModifiedResources struct {

	// Optional, a list of the upstreams to create or modify.
	Upstreams []*v1.Upstream `protobuf:"bytes,1,rep,name=upstreams,proto3" json:"upstreams,omitempty"` // TODO when we support other resource types, add them here
	// contains filtered or unexported fields
}

func (*ModifiedResources) Clone added in v1.9.7

func (m *ModifiedResources) Clone() proto.Message

Clone function

func (*ModifiedResources) Descriptor deprecated added in v1.9.1

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

Deprecated: Use ModifiedResources.ProtoReflect.Descriptor instead.

func (*ModifiedResources) Equal added in v1.9.1

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

Equal function

func (*ModifiedResources) GetUpstreams added in v1.9.1

func (x *ModifiedResources) GetUpstreams() []*v1.Upstream

func (*ModifiedResources) Hash added in v1.9.1

func (m *ModifiedResources) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ModifiedResources) ProtoMessage added in v1.9.1

func (*ModifiedResources) ProtoMessage()

func (*ModifiedResources) ProtoReflect added in v1.9.1

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

func (*ModifiedResources) Reset added in v1.9.1

func (x *ModifiedResources) Reset()

func (*ModifiedResources) String added in v1.9.1

func (x *ModifiedResources) String() string

type NotifyOnResyncRequest added in v1.2.8

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

func (*NotifyOnResyncRequest) Clone added in v1.9.7

func (m *NotifyOnResyncRequest) Clone() proto.Message

Clone function

func (*NotifyOnResyncRequest) Descriptor deprecated added in v1.2.8

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

Deprecated: Use NotifyOnResyncRequest.ProtoReflect.Descriptor instead.

func (*NotifyOnResyncRequest) Equal added in v1.9.0

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

Equal function

func (*NotifyOnResyncRequest) Hash added in v1.2.13

func (m *NotifyOnResyncRequest) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*NotifyOnResyncRequest) ProtoMessage added in v1.2.8

func (*NotifyOnResyncRequest) ProtoMessage()

func (*NotifyOnResyncRequest) ProtoReflect added in v1.6.0

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

func (*NotifyOnResyncRequest) Reset added in v1.2.8

func (x *NotifyOnResyncRequest) Reset()

func (*NotifyOnResyncRequest) String added in v1.2.8

func (x *NotifyOnResyncRequest) String() string

type NotifyOnResyncResponse added in v1.2.8

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

func (*NotifyOnResyncResponse) Clone added in v1.9.7

Clone function

func (*NotifyOnResyncResponse) Descriptor deprecated added in v1.2.8

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

Deprecated: Use NotifyOnResyncResponse.ProtoReflect.Descriptor instead.

func (*NotifyOnResyncResponse) Equal added in v1.9.0

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

Equal function

func (*NotifyOnResyncResponse) Hash added in v1.2.13

func (m *NotifyOnResyncResponse) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*NotifyOnResyncResponse) ProtoMessage added in v1.2.8

func (*NotifyOnResyncResponse) ProtoMessage()

func (*NotifyOnResyncResponse) ProtoReflect added in v1.6.0

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

func (*NotifyOnResyncResponse) Reset added in v1.2.8

func (x *NotifyOnResyncResponse) Reset()

func (*NotifyOnResyncResponse) String added in v1.2.8

func (x *NotifyOnResyncResponse) String() string

type ProxyReport

type ProxyReport struct {
	ListenerReports []*ListenerReport `protobuf:"bytes,1,rep,name=listener_reports,json=listenerReports,proto3" json:"listener_reports,omitempty"`
	// contains filtered or unexported fields
}

The Proxy Report should contain one report for each sub-resource of the Proxy E.g., each listener will have a corresponding report. Within each listener report is a route report corresponding to each route on the listener.

If the report contains no errors, the (sub-)resource is valid.

func (*ProxyReport) Clone added in v1.9.7

func (m *ProxyReport) Clone() proto.Message

Clone function

func (*ProxyReport) Descriptor deprecated

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

Deprecated: Use ProxyReport.ProtoReflect.Descriptor instead.

func (*ProxyReport) Equal added in v1.9.0

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

Equal function

func (*ProxyReport) GetListenerReports

func (x *ProxyReport) GetListenerReports() []*ListenerReport

func (*ProxyReport) Hash added in v1.2.13

func (m *ProxyReport) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ProxyReport) ProtoMessage

func (*ProxyReport) ProtoMessage()

func (*ProxyReport) ProtoReflect added in v1.6.0

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

func (*ProxyReport) Reset

func (x *ProxyReport) Reset()

func (*ProxyReport) String

func (x *ProxyReport) String() string

type ResourceReport added in v1.9.0

type ResourceReport struct {

	// A way to refer to resources in different namespaces by including the
	// name and namespace of the resource in this `resourceRef`.
	ResourceRef *core.ResourceRef `protobuf:"bytes,1,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"`
	// The warnings that are returned for the resource. Warnings do not
	// necessarily prevent an operation from happening, but might require action.
	Warnings []string `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// The errors that are returned for the resource. You cannot modify the
	// resource until the errors are resolved. For help troubleshooting, see the
	// [Debug guide]({{< versioned_link_path fromRoot="/operations/debugging_gloo/" >}}).
	Errors []string `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceReport) Clone added in v1.9.7

func (m *ResourceReport) Clone() proto.Message

Clone function

func (*ResourceReport) Descriptor deprecated added in v1.9.0

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

Deprecated: Use ResourceReport.ProtoReflect.Descriptor instead.

func (*ResourceReport) Equal added in v1.9.0

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

Equal function

func (*ResourceReport) GetErrors added in v1.9.0

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

func (*ResourceReport) GetResourceRef added in v1.9.0

func (x *ResourceReport) GetResourceRef() *core.ResourceRef

func (*ResourceReport) GetWarnings added in v1.9.0

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

func (*ResourceReport) Hash added in v1.9.0

func (m *ResourceReport) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ResourceReport) ProtoMessage added in v1.9.0

func (*ResourceReport) ProtoMessage()

func (*ResourceReport) ProtoReflect added in v1.9.0

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

func (*ResourceReport) Reset added in v1.9.0

func (x *ResourceReport) Reset()

func (*ResourceReport) String added in v1.9.0

func (x *ResourceReport) String() string

type RouteReport

type RouteReport struct {

	// errors on the config of the route
	Errors []*RouteReport_Error `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	// warnings on the config of the route
	Warnings []*RouteReport_Warning `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteReport) Clone added in v1.9.7

func (m *RouteReport) Clone() proto.Message

Clone function

func (*RouteReport) Descriptor deprecated

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

Deprecated: Use RouteReport.ProtoReflect.Descriptor instead.

func (*RouteReport) Equal added in v1.9.0

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

Equal function

func (*RouteReport) GetErrors

func (x *RouteReport) GetErrors() []*RouteReport_Error

func (*RouteReport) GetWarnings added in v0.20.2

func (x *RouteReport) GetWarnings() []*RouteReport_Warning

func (*RouteReport) Hash added in v1.2.13

func (m *RouteReport) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*RouteReport) ProtoMessage

func (*RouteReport) ProtoMessage()

func (*RouteReport) ProtoReflect added in v1.6.0

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

func (*RouteReport) Reset

func (x *RouteReport) Reset()

func (*RouteReport) String

func (x *RouteReport) String() string

type RouteReport_Error

type RouteReport_Error struct {

	// the type of the error
	Type RouteReport_Error_Type `protobuf:"varint,1,opt,name=type,proto3,enum=gloo.solo.io.RouteReport_Error_Type" json:"type,omitempty"`
	// any extra info as a string
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

error types for the given route config

func (*RouteReport_Error) Clone added in v1.9.7

func (m *RouteReport_Error) Clone() proto.Message

Clone function

func (*RouteReport_Error) Descriptor deprecated

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

Deprecated: Use RouteReport_Error.ProtoReflect.Descriptor instead.

func (*RouteReport_Error) Equal added in v1.9.0

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

Equal function

func (*RouteReport_Error) GetReason

func (x *RouteReport_Error) GetReason() string

func (*RouteReport_Error) GetType

func (*RouteReport_Error) Hash added in v1.2.13

func (m *RouteReport_Error) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*RouteReport_Error) ProtoMessage

func (*RouteReport_Error) ProtoMessage()

func (*RouteReport_Error) ProtoReflect added in v1.6.0

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

func (*RouteReport_Error) Reset

func (x *RouteReport_Error) Reset()

func (*RouteReport_Error) String

func (x *RouteReport_Error) String() string

type RouteReport_Error_Type

type RouteReport_Error_Type int32
const (
	RouteReport_Error_InvalidMatcherError RouteReport_Error_Type = 0
	RouteReport_Error_ProcessingError     RouteReport_Error_Type = 1
)

func (RouteReport_Error_Type) Descriptor added in v1.6.0

func (RouteReport_Error_Type) Enum added in v1.6.0

func (RouteReport_Error_Type) EnumDescriptor deprecated

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

Deprecated: Use RouteReport_Error_Type.Descriptor instead.

func (RouteReport_Error_Type) Number added in v1.6.0

func (RouteReport_Error_Type) String

func (x RouteReport_Error_Type) String() string

func (RouteReport_Error_Type) Type added in v1.6.0

type RouteReport_Warning added in v0.20.2

type RouteReport_Warning struct {

	// the type of the error
	Type RouteReport_Warning_Type `protobuf:"varint,1,opt,name=type,proto3,enum=gloo.solo.io.RouteReport_Warning_Type" json:"type,omitempty"`
	// any extra info as a string
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

warning types for the given route config

func (*RouteReport_Warning) Clone added in v1.9.7

func (m *RouteReport_Warning) Clone() proto.Message

Clone function

func (*RouteReport_Warning) Descriptor deprecated added in v0.20.2

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

Deprecated: Use RouteReport_Warning.ProtoReflect.Descriptor instead.

func (*RouteReport_Warning) Equal added in v1.9.0

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

Equal function

func (*RouteReport_Warning) GetReason added in v0.20.2

func (x *RouteReport_Warning) GetReason() string

func (*RouteReport_Warning) GetType added in v0.20.2

func (*RouteReport_Warning) Hash added in v1.2.13

func (m *RouteReport_Warning) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*RouteReport_Warning) ProtoMessage added in v0.20.2

func (*RouteReport_Warning) ProtoMessage()

func (*RouteReport_Warning) ProtoReflect added in v1.6.0

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

func (*RouteReport_Warning) Reset added in v0.20.2

func (x *RouteReport_Warning) Reset()

func (*RouteReport_Warning) String added in v0.20.2

func (x *RouteReport_Warning) String() string

type RouteReport_Warning_Type added in v0.20.2

type RouteReport_Warning_Type int32
const (
	RouteReport_Warning_InvalidDestinationWarning RouteReport_Warning_Type = 0
)

func (RouteReport_Warning_Type) Descriptor added in v1.6.0

func (RouteReport_Warning_Type) Enum added in v1.6.0

func (RouteReport_Warning_Type) EnumDescriptor deprecated added in v0.20.2

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

Deprecated: Use RouteReport_Warning_Type.Descriptor instead.

func (RouteReport_Warning_Type) Number added in v1.6.0

func (RouteReport_Warning_Type) String added in v0.20.2

func (x RouteReport_Warning_Type) String() string

func (RouteReport_Warning_Type) Type added in v1.6.0

type TcpHostReport

type TcpHostReport struct {

	// errors on the tcp host
	Errors []*TcpHostReport_Error `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// warnings on the config of the tcp host
	Warnings []*TcpHostReport_Warning `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

func (*TcpHostReport) Clone added in v1.9.7

func (m *TcpHostReport) Clone() proto.Message

Clone function

func (*TcpHostReport) Descriptor deprecated

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

Deprecated: Use TcpHostReport.ProtoReflect.Descriptor instead.

func (*TcpHostReport) Equal added in v1.9.0

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

Equal function

func (*TcpHostReport) GetErrors

func (x *TcpHostReport) GetErrors() []*TcpHostReport_Error

func (*TcpHostReport) GetWarnings added in v1.14.12

func (x *TcpHostReport) GetWarnings() []*TcpHostReport_Warning

func (*TcpHostReport) Hash added in v1.2.13

func (m *TcpHostReport) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*TcpHostReport) ProtoMessage

func (*TcpHostReport) ProtoMessage()

func (*TcpHostReport) ProtoReflect added in v1.6.0

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

func (*TcpHostReport) Reset

func (x *TcpHostReport) Reset()

func (*TcpHostReport) String

func (x *TcpHostReport) String() string

type TcpHostReport_Error

type TcpHostReport_Error struct {

	// the type of the error
	Type TcpHostReport_Error_Type `protobuf:"varint,1,opt,name=type,proto3,enum=gloo.solo.io.TcpHostReport_Error_Type" json:"type,omitempty"`
	// any extra info as a string
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

error types for tcp host config

func (*TcpHostReport_Error) Clone added in v1.9.7

func (m *TcpHostReport_Error) Clone() proto.Message

Clone function

func (*TcpHostReport_Error) Descriptor deprecated

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

Deprecated: Use TcpHostReport_Error.ProtoReflect.Descriptor instead.

func (*TcpHostReport_Error) Equal added in v1.9.0

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

Equal function

func (*TcpHostReport_Error) GetReason

func (x *TcpHostReport_Error) GetReason() string

func (*TcpHostReport_Error) GetType

func (*TcpHostReport_Error) Hash added in v1.2.13

func (m *TcpHostReport_Error) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*TcpHostReport_Error) ProtoMessage

func (*TcpHostReport_Error) ProtoMessage()

func (*TcpHostReport_Error) ProtoReflect added in v1.6.0

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

func (*TcpHostReport_Error) Reset

func (x *TcpHostReport_Error) Reset()

func (*TcpHostReport_Error) String

func (x *TcpHostReport_Error) String() string

type TcpHostReport_Error_Type

type TcpHostReport_Error_Type int32
const (
	TcpHostReport_Error_NameNotUniqueError TcpHostReport_Error_Type = 0
	// Deprecated: Marked as deprecated in github.com/solo-io/gloo/projects/gloo/api/grpc/validation/gloo_validation.proto.
	TcpHostReport_Error_InvalidDestinationError TcpHostReport_Error_Type = 1
	TcpHostReport_Error_ProcessingError         TcpHostReport_Error_Type = 2
)

func (TcpHostReport_Error_Type) Descriptor added in v1.6.0

func (TcpHostReport_Error_Type) Enum added in v1.6.0

func (TcpHostReport_Error_Type) EnumDescriptor deprecated

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

Deprecated: Use TcpHostReport_Error_Type.Descriptor instead.

func (TcpHostReport_Error_Type) Number added in v1.6.0

func (TcpHostReport_Error_Type) String

func (x TcpHostReport_Error_Type) String() string

func (TcpHostReport_Error_Type) Type added in v1.6.0

type TcpHostReport_Warning added in v1.14.12

type TcpHostReport_Warning struct {

	// the type of the warning
	Type TcpHostReport_Warning_Type `protobuf:"varint,1,opt,name=type,proto3,enum=gloo.solo.io.TcpHostReport_Warning_Type" json:"type,omitempty"`
	// any extra info as a string
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

warning types for the given tcp host config

func (*TcpHostReport_Warning) Clone added in v1.14.12

func (m *TcpHostReport_Warning) Clone() proto.Message

Clone function

func (*TcpHostReport_Warning) Descriptor deprecated added in v1.14.12

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

Deprecated: Use TcpHostReport_Warning.ProtoReflect.Descriptor instead.

func (*TcpHostReport_Warning) Equal added in v1.14.12

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

Equal function

func (*TcpHostReport_Warning) GetReason added in v1.14.12

func (x *TcpHostReport_Warning) GetReason() string

func (*TcpHostReport_Warning) GetType added in v1.14.12

func (*TcpHostReport_Warning) Hash added in v1.14.12

func (m *TcpHostReport_Warning) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*TcpHostReport_Warning) ProtoMessage added in v1.14.12

func (*TcpHostReport_Warning) ProtoMessage()

func (*TcpHostReport_Warning) ProtoReflect added in v1.14.12

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

func (*TcpHostReport_Warning) Reset added in v1.14.12

func (x *TcpHostReport_Warning) Reset()

func (*TcpHostReport_Warning) String added in v1.14.12

func (x *TcpHostReport_Warning) String() string

type TcpHostReport_Warning_Type added in v1.14.12

type TcpHostReport_Warning_Type int32
const (
	TcpHostReport_Warning_UnknownWarning            TcpHostReport_Warning_Type = 0
	TcpHostReport_Warning_InvalidDestinationWarning TcpHostReport_Warning_Type = 1
)

func (TcpHostReport_Warning_Type) Descriptor added in v1.14.12

func (TcpHostReport_Warning_Type) Enum added in v1.14.12

func (TcpHostReport_Warning_Type) EnumDescriptor deprecated added in v1.14.12

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

Deprecated: Use TcpHostReport_Warning_Type.Descriptor instead.

func (TcpHostReport_Warning_Type) Number added in v1.14.12

func (TcpHostReport_Warning_Type) String added in v1.14.12

func (TcpHostReport_Warning_Type) Type added in v1.14.12

type TcpListenerReport

type TcpListenerReport struct {

	// errors on top-level config of the listener
	Errors         []*TcpListenerReport_Error `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	TcpHostReports []*TcpHostReport           `protobuf:"bytes,2,rep,name=tcp_host_reports,json=tcpHostReports,proto3" json:"tcp_host_reports,omitempty"`
	// contains filtered or unexported fields
}

func (*TcpListenerReport) Clone added in v1.9.7

func (m *TcpListenerReport) Clone() proto.Message

Clone function

func (*TcpListenerReport) Descriptor deprecated

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

Deprecated: Use TcpListenerReport.ProtoReflect.Descriptor instead.

func (*TcpListenerReport) Equal added in v1.9.0

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

Equal function

func (*TcpListenerReport) GetErrors

func (x *TcpListenerReport) GetErrors() []*TcpListenerReport_Error

func (*TcpListenerReport) GetTcpHostReports

func (x *TcpListenerReport) GetTcpHostReports() []*TcpHostReport

func (*TcpListenerReport) Hash added in v1.2.13

func (m *TcpListenerReport) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*TcpListenerReport) ProtoMessage

func (*TcpListenerReport) ProtoMessage()

func (*TcpListenerReport) ProtoReflect added in v1.6.0

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

func (*TcpListenerReport) Reset

func (x *TcpListenerReport) Reset()

func (*TcpListenerReport) String

func (x *TcpListenerReport) String() string

type TcpListenerReport_Error

type TcpListenerReport_Error struct {

	// the type of the error
	Type TcpListenerReport_Error_Type `protobuf:"varint,1,opt,name=type,proto3,enum=gloo.solo.io.TcpListenerReport_Error_Type" json:"type,omitempty"`
	// any extra info as a string
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

error types for top-level tcp listener config

func (*TcpListenerReport_Error) Clone added in v1.9.7

Clone function

func (*TcpListenerReport_Error) Descriptor deprecated

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

Deprecated: Use TcpListenerReport_Error.ProtoReflect.Descriptor instead.

func (*TcpListenerReport_Error) Equal added in v1.9.0

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

Equal function

func (*TcpListenerReport_Error) GetReason

func (x *TcpListenerReport_Error) GetReason() string

func (*TcpListenerReport_Error) GetType

func (*TcpListenerReport_Error) Hash added in v1.2.13

func (m *TcpListenerReport_Error) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*TcpListenerReport_Error) ProtoMessage

func (*TcpListenerReport_Error) ProtoMessage()

func (*TcpListenerReport_Error) ProtoReflect added in v1.6.0

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

func (*TcpListenerReport_Error) Reset

func (x *TcpListenerReport_Error) Reset()

func (*TcpListenerReport_Error) String

func (x *TcpListenerReport_Error) String() string

type TcpListenerReport_Error_Type

type TcpListenerReport_Error_Type int32
const (
	TcpListenerReport_Error_NameNotUniqueError     TcpListenerReport_Error_Type = 0
	TcpListenerReport_Error_BindPortNotUniqueError TcpListenerReport_Error_Type = 1
	TcpListenerReport_Error_SSLConfigError         TcpListenerReport_Error_Type = 2
	TcpListenerReport_Error_ProcessingError        TcpListenerReport_Error_Type = 3
)

func (TcpListenerReport_Error_Type) Descriptor added in v1.6.0

func (TcpListenerReport_Error_Type) Enum added in v1.6.0

func (TcpListenerReport_Error_Type) EnumDescriptor deprecated

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

Deprecated: Use TcpListenerReport_Error_Type.Descriptor instead.

func (TcpListenerReport_Error_Type) Number added in v1.6.0

func (TcpListenerReport_Error_Type) String

func (TcpListenerReport_Error_Type) Type added in v1.6.0

type UnimplementedGlooValidationServiceServer added in v1.9.0

type UnimplementedGlooValidationServiceServer struct {
}

UnimplementedGlooValidationServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedGlooValidationServiceServer) NotifyOnResync added in v1.9.0

func (*UnimplementedGlooValidationServiceServer) Validate added in v1.9.0

type ValidationReport added in v1.9.0

type ValidationReport struct {

	// The report for this proxy, including any warnings or errors in its sub-resources.
	ProxyReport *ProxyReport `protobuf:"bytes,1,opt,name=proxy_report,json=proxyReport,proto3" json:"proxy_report,omitempty"`
	// The reports for all upstreams that were translated with this proxy.
	UpstreamReports []*ResourceReport `protobuf:"bytes,2,rep,name=upstream_reports,json=upstreamReports,proto3" json:"upstream_reports,omitempty"`
	// The proxy for this translation loop.
	Proxy *v1.Proxy `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"`
	// contains filtered or unexported fields
}

A validation report represents the warnings and errors that produced during a single translation loop of a proxy.

func (*ValidationReport) Clone added in v1.9.7

func (m *ValidationReport) Clone() proto.Message

Clone function

func (*ValidationReport) Descriptor deprecated added in v1.9.0

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

Deprecated: Use ValidationReport.ProtoReflect.Descriptor instead.

func (*ValidationReport) Equal added in v1.9.0

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

Equal function

func (*ValidationReport) GetProxy added in v1.9.0

func (x *ValidationReport) GetProxy() *v1.Proxy

func (*ValidationReport) GetProxyReport added in v1.9.0

func (x *ValidationReport) GetProxyReport() *ProxyReport

func (*ValidationReport) GetUpstreamReports added in v1.9.0

func (x *ValidationReport) GetUpstreamReports() []*ResourceReport

func (*ValidationReport) Hash added in v1.9.0

func (m *ValidationReport) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ValidationReport) ProtoMessage added in v1.9.0

func (*ValidationReport) ProtoMessage()

func (*ValidationReport) ProtoReflect added in v1.9.0

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

func (*ValidationReport) Reset added in v1.9.0

func (x *ValidationReport) Reset()

func (*ValidationReport) String added in v1.9.0

func (x *ValidationReport) String() string

type VirtualHostReport

type VirtualHostReport struct {

	// errors on top-level config of the virtual host
	Errors       []*VirtualHostReport_Error `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	RouteReports []*RouteReport             `protobuf:"bytes,2,rep,name=route_reports,json=routeReports,proto3" json:"route_reports,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualHostReport) Clone added in v1.9.7

func (m *VirtualHostReport) Clone() proto.Message

Clone function

func (*VirtualHostReport) Descriptor deprecated

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

Deprecated: Use VirtualHostReport.ProtoReflect.Descriptor instead.

func (*VirtualHostReport) Equal added in v1.9.0

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

Equal function

func (*VirtualHostReport) GetErrors

func (x *VirtualHostReport) GetErrors() []*VirtualHostReport_Error

func (*VirtualHostReport) GetRouteReports

func (x *VirtualHostReport) GetRouteReports() []*RouteReport

func (*VirtualHostReport) Hash added in v1.2.13

func (m *VirtualHostReport) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*VirtualHostReport) ProtoMessage

func (*VirtualHostReport) ProtoMessage()

func (*VirtualHostReport) ProtoReflect added in v1.6.0

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

func (*VirtualHostReport) Reset

func (x *VirtualHostReport) Reset()

func (*VirtualHostReport) String

func (x *VirtualHostReport) String() string

type VirtualHostReport_Error

type VirtualHostReport_Error struct {

	// the type of the error
	Type VirtualHostReport_Error_Type `protobuf:"varint,1,opt,name=type,proto3,enum=gloo.solo.io.VirtualHostReport_Error_Type" json:"type,omitempty"`
	// any extra info as a string
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

error types for top-level virtual host config

func (*VirtualHostReport_Error) Clone added in v1.9.7

Clone function

func (*VirtualHostReport_Error) Descriptor deprecated

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

Deprecated: Use VirtualHostReport_Error.ProtoReflect.Descriptor instead.

func (*VirtualHostReport_Error) Equal added in v1.9.0

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

Equal function

func (*VirtualHostReport_Error) GetReason

func (x *VirtualHostReport_Error) GetReason() string

func (*VirtualHostReport_Error) GetType

func (*VirtualHostReport_Error) Hash added in v1.2.13

func (m *VirtualHostReport_Error) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*VirtualHostReport_Error) ProtoMessage

func (*VirtualHostReport_Error) ProtoMessage()

func (*VirtualHostReport_Error) ProtoReflect added in v1.6.0

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

func (*VirtualHostReport_Error) Reset

func (x *VirtualHostReport_Error) Reset()

func (*VirtualHostReport_Error) String

func (x *VirtualHostReport_Error) String() string

type VirtualHostReport_Error_Type

type VirtualHostReport_Error_Type int32
const (
	VirtualHostReport_Error_NameNotUniqueError    VirtualHostReport_Error_Type = 0
	VirtualHostReport_Error_DomainsNotUniqueError VirtualHostReport_Error_Type = 1
	VirtualHostReport_Error_ProcessingError       VirtualHostReport_Error_Type = 2
	VirtualHostReport_Error_EmptyDomainError      VirtualHostReport_Error_Type = 3
)

func (VirtualHostReport_Error_Type) Descriptor added in v1.6.0

func (VirtualHostReport_Error_Type) Enum added in v1.6.0

func (VirtualHostReport_Error_Type) EnumDescriptor deprecated

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

Deprecated: Use VirtualHostReport_Error_Type.Descriptor instead.

func (VirtualHostReport_Error_Type) Number added in v1.6.0

func (VirtualHostReport_Error_Type) String

func (VirtualHostReport_Error_Type) Type added in v1.6.0

Jump to

Keyboard shortcuts

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