validation

package
v1.8.37 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 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 File_github_com_solo_io_gloo_projects_gloo_api_grpc_validation_proxy_validation_proto protoreflect.FileDescriptor

Functions

func RegisterProxyValidationServiceServer

func RegisterProxyValidationServiceServer(s *grpc.Server, srv ProxyValidationServiceServer)

Types

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) Descriptor deprecated

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

Deprecated: Use HttpListenerReport.ProtoReflect.Descriptor instead.

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) Descriptor deprecated

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

Deprecated: Use HttpListenerReport_Error.ProtoReflect.Descriptor instead.

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 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
	ListenerTypeReport isListenerReport_ListenerTypeReport `protobuf_oneof:"listener_type_report"`
	// contains filtered or unexported fields
}

func (*ListenerReport) Descriptor deprecated

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

Deprecated: Use ListenerReport.ProtoReflect.Descriptor instead.

func (*ListenerReport) GetErrors

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

func (*ListenerReport) GetHttpListenerReport

func (x *ListenerReport) GetHttpListenerReport() *HttpListenerReport

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_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) Descriptor deprecated

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

Deprecated: Use ListenerReport_Error.ProtoReflect.Descriptor instead.

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_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 NotifyOnResyncRequest added in v1.2.8

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

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

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

Deprecated: Use NotifyOnResyncRequest.ProtoReflect.Descriptor instead.

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) Descriptor deprecated added in v1.2.8

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

Deprecated: Use NotifyOnResyncResponse.ProtoReflect.Descriptor instead.

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) Descriptor deprecated

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

Deprecated: Use ProxyReport.ProtoReflect.Descriptor instead.

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 ProxyValidationServiceClient

type ProxyValidationServiceClient interface {
	// Notify the client whenever the Proxy Validation Service resyncs
	NotifyOnResync(ctx context.Context, in *NotifyOnResyncRequest, opts ...grpc.CallOption) (ProxyValidationService_NotifyOnResyncClient, error)
	// Submit a proxy for validation
	ValidateProxy(ctx context.Context, in *ProxyValidationServiceRequest, opts ...grpc.CallOption) (*ProxyValidationServiceResponse, error)
}

ProxyValidationServiceClient is the client API for ProxyValidationService service.

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

type ProxyValidationServiceRequest added in v0.18.44

type ProxyValidationServiceRequest struct {
	Proxy *v1.Proxy `protobuf:"bytes,1,opt,name=proxy,proto3" json:"proxy,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyValidationServiceRequest) Descriptor deprecated added in v0.18.44

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

Deprecated: Use ProxyValidationServiceRequest.ProtoReflect.Descriptor instead.

func (*ProxyValidationServiceRequest) GetProxy added in v0.18.44

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

func (*ProxyValidationServiceRequest) Hash added in v1.2.13

Hash function

func (*ProxyValidationServiceRequest) ProtoMessage added in v0.18.44

func (*ProxyValidationServiceRequest) ProtoMessage()

func (*ProxyValidationServiceRequest) ProtoReflect added in v1.6.0

func (*ProxyValidationServiceRequest) Reset added in v0.18.44

func (x *ProxyValidationServiceRequest) Reset()

func (*ProxyValidationServiceRequest) String added in v0.18.44

type ProxyValidationServiceResponse added in v0.18.44

type ProxyValidationServiceResponse struct {
	ProxyReport *ProxyReport `protobuf:"bytes,1,opt,name=proxy_report,json=proxyReport,proto3" json:"proxy_report,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyValidationServiceResponse) Descriptor deprecated added in v0.18.44

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

Deprecated: Use ProxyValidationServiceResponse.ProtoReflect.Descriptor instead.

func (*ProxyValidationServiceResponse) GetProxyReport added in v0.18.44

func (x *ProxyValidationServiceResponse) GetProxyReport() *ProxyReport

func (*ProxyValidationServiceResponse) Hash added in v1.2.13

Hash function

func (*ProxyValidationServiceResponse) ProtoMessage added in v0.18.44

func (*ProxyValidationServiceResponse) ProtoMessage()

func (*ProxyValidationServiceResponse) ProtoReflect added in v1.6.0

func (*ProxyValidationServiceResponse) Reset added in v0.18.44

func (x *ProxyValidationServiceResponse) Reset()

func (*ProxyValidationServiceResponse) String added in v0.18.44

type ProxyValidationServiceServer

type ProxyValidationServiceServer interface {
	// Notify the client whenever the Proxy Validation Service resyncs
	NotifyOnResync(*NotifyOnResyncRequest, ProxyValidationService_NotifyOnResyncServer) error
	// Submit a proxy for validation
	ValidateProxy(context.Context, *ProxyValidationServiceRequest) (*ProxyValidationServiceResponse, error)
}

ProxyValidationServiceServer is the server API for ProxyValidationService service.

type ProxyValidationService_NotifyOnResyncClient added in v1.2.8

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

type ProxyValidationService_NotifyOnResyncServer added in v1.2.8

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

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) Descriptor deprecated

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

Deprecated: Use RouteReport.ProtoReflect.Descriptor instead.

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) Descriptor deprecated

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

Deprecated: Use RouteReport_Error.ProtoReflect.Descriptor instead.

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) Descriptor deprecated added in v0.20.2

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

Deprecated: Use RouteReport_Warning.ProtoReflect.Descriptor instead.

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"`
	// contains filtered or unexported fields
}

func (*TcpHostReport) Descriptor deprecated

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

Deprecated: Use TcpHostReport.ProtoReflect.Descriptor instead.

func (*TcpHostReport) GetErrors

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

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) Descriptor deprecated

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

Deprecated: Use TcpHostReport_Error.ProtoReflect.Descriptor instead.

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
	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 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) Descriptor deprecated

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

Deprecated: Use TcpListenerReport.ProtoReflect.Descriptor instead.

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) Descriptor deprecated

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

Deprecated: Use TcpListenerReport_Error.ProtoReflect.Descriptor instead.

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 UnimplementedProxyValidationServiceServer

type UnimplementedProxyValidationServiceServer struct {
}

UnimplementedProxyValidationServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedProxyValidationServiceServer) NotifyOnResync added in v1.2.8

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) Descriptor deprecated

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

Deprecated: Use VirtualHostReport.ProtoReflect.Descriptor instead.

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) Descriptor deprecated

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

Deprecated: Use VirtualHostReport_Error.ProtoReflect.Descriptor instead.

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