validation

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: Apache-2.0 Imports: 22 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HttpListenerReport_Error_Type_name = map[int32]string{
	0: "ProcessingError",
}
View Source
var HttpListenerReport_Error_Type_value = map[string]int32{
	"ProcessingError": 0,
}
View Source
var ListenerReport_Error_Type_name = map[int32]string{
	0: "NameNotUniqueError",
	1: "BindPortNotUniqueError",
	2: "SSLConfigError",
	3: "ProcessingError",
}
View Source
var ListenerReport_Error_Type_value = map[string]int32{
	"NameNotUniqueError":     0,
	"BindPortNotUniqueError": 1,
	"SSLConfigError":         2,
	"ProcessingError":        3,
}
View Source
var RouteReport_Error_Type_name = map[int32]string{
	0: "InvalidMatcherError",
	1: "ProcessingError",
}
View Source
var RouteReport_Error_Type_value = map[string]int32{
	"InvalidMatcherError": 0,
	"ProcessingError":     1,
}
View Source
var RouteReport_Warning_Type_name = map[int32]string{
	0: "InvalidDestinationWarning",
}
View Source
var RouteReport_Warning_Type_value = map[string]int32{
	"InvalidDestinationWarning": 0,
}
View Source
var TcpHostReport_Error_Type_name = map[int32]string{
	0: "NameNotUniqueError",
	1: "InvalidDestinationError",
	2: "ProcessingError",
}
View Source
var TcpHostReport_Error_Type_value = map[string]int32{
	"NameNotUniqueError":      0,
	"InvalidDestinationError": 1,
	"ProcessingError":         2,
}
View Source
var TcpListenerReport_Error_Type_name = map[int32]string{
	0: "NameNotUniqueError",
	1: "BindPortNotUniqueError",
	2: "SSLConfigError",
	3: "ProcessingError",
}
View Source
var TcpListenerReport_Error_Type_value = map[string]int32{
	"NameNotUniqueError":     0,
	"BindPortNotUniqueError": 1,
	"SSLConfigError":         2,
	"ProcessingError":        3,
}
View Source
var VirtualHostReport_Error_Type_name = map[int32]string{
	0: "NameNotUniqueError",
	1: "DomainsNotUniqueError",
	2: "ProcessingError",
	3: "EmptyDomainError",
}
View Source
var VirtualHostReport_Error_Type_value = map[string]int32{
	"NameNotUniqueError":    0,
	"DomainsNotUniqueError": 1,
	"ProcessingError":       2,
	"EmptyDomainError":      3,
}

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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*HttpListenerReport) Descriptor

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

func (*HttpListenerReport) GetErrors

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

func (*HttpListenerReport) GetVirtualHostReports

func (m *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) Reset

func (m *HttpListenerReport) Reset()

func (*HttpListenerReport) String

func (m *HttpListenerReport) String() string

func (*HttpListenerReport) XXX_DiscardUnknown

func (m *HttpListenerReport) XXX_DiscardUnknown()

func (*HttpListenerReport) XXX_Marshal

func (m *HttpListenerReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HttpListenerReport) XXX_Merge

func (m *HttpListenerReport) XXX_Merge(src proto.Message)

func (*HttpListenerReport) XXX_Size

func (m *HttpListenerReport) XXX_Size() int

func (*HttpListenerReport) XXX_Unmarshal

func (m *HttpListenerReport) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

error types for top-level http listener config

func (*HttpListenerReport_Error) Descriptor

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

func (*HttpListenerReport_Error) GetReason

func (m *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) Reset

func (m *HttpListenerReport_Error) Reset()

func (*HttpListenerReport_Error) String

func (m *HttpListenerReport_Error) String() string

func (*HttpListenerReport_Error) XXX_DiscardUnknown

func (m *HttpListenerReport_Error) XXX_DiscardUnknown()

func (*HttpListenerReport_Error) XXX_Marshal

func (m *HttpListenerReport_Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HttpListenerReport_Error) XXX_Merge

func (m *HttpListenerReport_Error) XXX_Merge(src proto.Message)

func (*HttpListenerReport_Error) XXX_Size

func (m *HttpListenerReport_Error) XXX_Size() int

func (*HttpListenerReport_Error) XXX_Unmarshal

func (m *HttpListenerReport_Error) XXX_Unmarshal(b []byte) error

type HttpListenerReport_Error_Type

type HttpListenerReport_Error_Type int32
const (
	HttpListenerReport_Error_ProcessingError HttpListenerReport_Error_Type = 0
)

func (HttpListenerReport_Error_Type) EnumDescriptor

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

func (HttpListenerReport_Error_Type) 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 valid to be assigned to ListenerTypeReport:
	//	*ListenerReport_HttpListenerReport
	//	*ListenerReport_TcpListenerReport
	ListenerTypeReport   isListenerReport_ListenerTypeReport `protobuf_oneof:"listener_type_report"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

func (*ListenerReport) Descriptor

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

func (*ListenerReport) GetErrors

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

func (*ListenerReport) GetHttpListenerReport

func (m *ListenerReport) GetHttpListenerReport() *HttpListenerReport

func (*ListenerReport) GetListenerTypeReport

func (m *ListenerReport) GetListenerTypeReport() isListenerReport_ListenerTypeReport

func (*ListenerReport) GetTcpListenerReport

func (m *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) Reset

func (m *ListenerReport) Reset()

func (*ListenerReport) String

func (m *ListenerReport) String() string

func (*ListenerReport) XXX_DiscardUnknown

func (m *ListenerReport) XXX_DiscardUnknown()

func (*ListenerReport) XXX_Marshal

func (m *ListenerReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListenerReport) XXX_Merge

func (m *ListenerReport) XXX_Merge(src proto.Message)

func (*ListenerReport) XXX_OneofWrappers

func (*ListenerReport) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ListenerReport) XXX_Size

func (m *ListenerReport) XXX_Size() int

func (*ListenerReport) XXX_Unmarshal

func (m *ListenerReport) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

error types for top-level listener config

func (*ListenerReport_Error) Descriptor

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

func (*ListenerReport_Error) GetReason

func (m *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) Reset

func (m *ListenerReport_Error) Reset()

func (*ListenerReport_Error) String

func (m *ListenerReport_Error) String() string

func (*ListenerReport_Error) XXX_DiscardUnknown

func (m *ListenerReport_Error) XXX_DiscardUnknown()

func (*ListenerReport_Error) XXX_Marshal

func (m *ListenerReport_Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListenerReport_Error) XXX_Merge

func (m *ListenerReport_Error) XXX_Merge(src proto.Message)

func (*ListenerReport_Error) XXX_Size

func (m *ListenerReport_Error) XXX_Size() int

func (*ListenerReport_Error) XXX_Unmarshal

func (m *ListenerReport_Error) XXX_Unmarshal(b []byte) error

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

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

func (ListenerReport_Error_Type) String

func (x ListenerReport_Error_Type) String() string

type ListenerReport_HttpListenerReport

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

type ListenerReport_TcpListenerReport

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

type NotifyOnResyncRequest added in v1.2.8

type NotifyOnResyncRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NotifyOnResyncRequest) Descriptor added in v1.2.8

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

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

func (m *NotifyOnResyncRequest) Reset()

func (*NotifyOnResyncRequest) String added in v1.2.8

func (m *NotifyOnResyncRequest) String() string

func (*NotifyOnResyncRequest) XXX_DiscardUnknown added in v1.2.8

func (m *NotifyOnResyncRequest) XXX_DiscardUnknown()

func (*NotifyOnResyncRequest) XXX_Marshal added in v1.2.8

func (m *NotifyOnResyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotifyOnResyncRequest) XXX_Merge added in v1.2.8

func (m *NotifyOnResyncRequest) XXX_Merge(src proto.Message)

func (*NotifyOnResyncRequest) XXX_Size added in v1.2.8

func (m *NotifyOnResyncRequest) XXX_Size() int

func (*NotifyOnResyncRequest) XXX_Unmarshal added in v1.2.8

func (m *NotifyOnResyncRequest) XXX_Unmarshal(b []byte) error

type NotifyOnResyncResponse added in v1.2.8

type NotifyOnResyncResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NotifyOnResyncResponse) Descriptor added in v1.2.8

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

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

func (m *NotifyOnResyncResponse) Reset()

func (*NotifyOnResyncResponse) String added in v1.2.8

func (m *NotifyOnResyncResponse) String() string

func (*NotifyOnResyncResponse) XXX_DiscardUnknown added in v1.2.8

func (m *NotifyOnResyncResponse) XXX_DiscardUnknown()

func (*NotifyOnResyncResponse) XXX_Marshal added in v1.2.8

func (m *NotifyOnResyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotifyOnResyncResponse) XXX_Merge added in v1.2.8

func (m *NotifyOnResyncResponse) XXX_Merge(src proto.Message)

func (*NotifyOnResyncResponse) XXX_Size added in v1.2.8

func (m *NotifyOnResyncResponse) XXX_Size() int

func (*NotifyOnResyncResponse) XXX_Unmarshal added in v1.2.8

func (m *NotifyOnResyncResponse) XXX_Unmarshal(b []byte) error

type ProxyReport

type ProxyReport struct {
	ListenerReports      []*ListenerReport `protobuf:"bytes,1,rep,name=listener_reports,json=listenerReports,proto3" json:"listener_reports,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

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

func (*ProxyReport) GetListenerReports

func (m *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) Reset

func (m *ProxyReport) Reset()

func (*ProxyReport) String

func (m *ProxyReport) String() string

func (*ProxyReport) XXX_DiscardUnknown

func (m *ProxyReport) XXX_DiscardUnknown()

func (*ProxyReport) XXX_Marshal

func (m *ProxyReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProxyReport) XXX_Merge

func (m *ProxyReport) XXX_Merge(src proto.Message)

func (*ProxyReport) XXX_Size

func (m *ProxyReport) XXX_Size() int

func (*ProxyReport) XXX_Unmarshal

func (m *ProxyReport) XXX_Unmarshal(b []byte) error

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.

func NewProxyValidationServiceClient

func NewProxyValidationServiceClient(cc *grpc.ClientConn) ProxyValidationServiceClient

type ProxyValidationServiceRequest added in v0.18.44

type ProxyValidationServiceRequest struct {
	Proxy                *v1.Proxy `protobuf:"bytes,1,opt,name=proxy,proto3" json:"proxy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ProxyValidationServiceRequest) Descriptor added in v0.18.44

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

func (*ProxyValidationServiceRequest) GetProxy added in v0.18.44

func (m *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) Reset added in v0.18.44

func (m *ProxyValidationServiceRequest) Reset()

func (*ProxyValidationServiceRequest) String added in v0.18.44

func (*ProxyValidationServiceRequest) XXX_DiscardUnknown added in v0.18.44

func (m *ProxyValidationServiceRequest) XXX_DiscardUnknown()

func (*ProxyValidationServiceRequest) XXX_Marshal added in v0.18.44

func (m *ProxyValidationServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProxyValidationServiceRequest) XXX_Merge added in v0.18.44

func (m *ProxyValidationServiceRequest) XXX_Merge(src proto.Message)

func (*ProxyValidationServiceRequest) XXX_Size added in v0.18.44

func (m *ProxyValidationServiceRequest) XXX_Size() int

func (*ProxyValidationServiceRequest) XXX_Unmarshal added in v0.18.44

func (m *ProxyValidationServiceRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ProxyValidationServiceResponse) Descriptor added in v0.18.44

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

func (*ProxyValidationServiceResponse) GetProxyReport added in v0.18.44

func (m *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) Reset added in v0.18.44

func (m *ProxyValidationServiceResponse) Reset()

func (*ProxyValidationServiceResponse) String added in v0.18.44

func (*ProxyValidationServiceResponse) XXX_DiscardUnknown added in v0.18.44

func (m *ProxyValidationServiceResponse) XXX_DiscardUnknown()

func (*ProxyValidationServiceResponse) XXX_Marshal added in v0.18.44

func (m *ProxyValidationServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProxyValidationServiceResponse) XXX_Merge added in v0.18.44

func (m *ProxyValidationServiceResponse) XXX_Merge(src proto.Message)

func (*ProxyValidationServiceResponse) XXX_Size added in v0.18.44

func (m *ProxyValidationServiceResponse) XXX_Size() int

func (*ProxyValidationServiceResponse) XXX_Unmarshal added in v0.18.44

func (m *ProxyValidationServiceResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*RouteReport) Descriptor

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

func (*RouteReport) GetErrors

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

func (*RouteReport) GetWarnings added in v0.20.2

func (m *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) Reset

func (m *RouteReport) Reset()

func (*RouteReport) String

func (m *RouteReport) String() string

func (*RouteReport) XXX_DiscardUnknown

func (m *RouteReport) XXX_DiscardUnknown()

func (*RouteReport) XXX_Marshal

func (m *RouteReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteReport) XXX_Merge

func (m *RouteReport) XXX_Merge(src proto.Message)

func (*RouteReport) XXX_Size

func (m *RouteReport) XXX_Size() int

func (*RouteReport) XXX_Unmarshal

func (m *RouteReport) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

error types for the given route config

func (*RouteReport_Error) Descriptor

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

func (*RouteReport_Error) GetReason

func (m *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) Reset

func (m *RouteReport_Error) Reset()

func (*RouteReport_Error) String

func (m *RouteReport_Error) String() string

func (*RouteReport_Error) XXX_DiscardUnknown

func (m *RouteReport_Error) XXX_DiscardUnknown()

func (*RouteReport_Error) XXX_Marshal

func (m *RouteReport_Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteReport_Error) XXX_Merge

func (m *RouteReport_Error) XXX_Merge(src proto.Message)

func (*RouteReport_Error) XXX_Size

func (m *RouteReport_Error) XXX_Size() int

func (*RouteReport_Error) XXX_Unmarshal

func (m *RouteReport_Error) XXX_Unmarshal(b []byte) error

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

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

func (RouteReport_Error_Type) String

func (x RouteReport_Error_Type) String() string

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

warning types for the given route config

func (*RouteReport_Warning) Descriptor added in v0.20.2

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

func (*RouteReport_Warning) GetReason added in v0.20.2

func (m *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) Reset added in v0.20.2

func (m *RouteReport_Warning) Reset()

func (*RouteReport_Warning) String added in v0.20.2

func (m *RouteReport_Warning) String() string

func (*RouteReport_Warning) XXX_DiscardUnknown added in v0.20.2

func (m *RouteReport_Warning) XXX_DiscardUnknown()

func (*RouteReport_Warning) XXX_Marshal added in v0.20.2

func (m *RouteReport_Warning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteReport_Warning) XXX_Merge added in v0.20.2

func (m *RouteReport_Warning) XXX_Merge(src proto.Message)

func (*RouteReport_Warning) XXX_Size added in v0.20.2

func (m *RouteReport_Warning) XXX_Size() int

func (*RouteReport_Warning) XXX_Unmarshal added in v0.20.2

func (m *RouteReport_Warning) XXX_Unmarshal(b []byte) error

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

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

func (RouteReport_Warning_Type) String added in v0.20.2

func (x RouteReport_Warning_Type) String() string

type TcpHostReport

type TcpHostReport struct {
	// errors on the tcp host
	Errors               []*TcpHostReport_Error `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*TcpHostReport) Descriptor

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

func (*TcpHostReport) GetErrors

func (m *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) Reset

func (m *TcpHostReport) Reset()

func (*TcpHostReport) String

func (m *TcpHostReport) String() string

func (*TcpHostReport) XXX_DiscardUnknown

func (m *TcpHostReport) XXX_DiscardUnknown()

func (*TcpHostReport) XXX_Marshal

func (m *TcpHostReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TcpHostReport) XXX_Merge

func (m *TcpHostReport) XXX_Merge(src proto.Message)

func (*TcpHostReport) XXX_Size

func (m *TcpHostReport) XXX_Size() int

func (*TcpHostReport) XXX_Unmarshal

func (m *TcpHostReport) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

error types for tcp host config

func (*TcpHostReport_Error) Descriptor

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

func (*TcpHostReport_Error) GetReason

func (m *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) Reset

func (m *TcpHostReport_Error) Reset()

func (*TcpHostReport_Error) String

func (m *TcpHostReport_Error) String() string

func (*TcpHostReport_Error) XXX_DiscardUnknown

func (m *TcpHostReport_Error) XXX_DiscardUnknown()

func (*TcpHostReport_Error) XXX_Marshal

func (m *TcpHostReport_Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TcpHostReport_Error) XXX_Merge

func (m *TcpHostReport_Error) XXX_Merge(src proto.Message)

func (*TcpHostReport_Error) XXX_Size

func (m *TcpHostReport_Error) XXX_Size() int

func (*TcpHostReport_Error) XXX_Unmarshal

func (m *TcpHostReport_Error) XXX_Unmarshal(b []byte) error

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

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

func (TcpHostReport_Error_Type) String

func (x TcpHostReport_Error_Type) String() string

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"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*TcpListenerReport) Descriptor

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

func (*TcpListenerReport) GetErrors

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

func (*TcpListenerReport) GetTcpHostReports

func (m *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) Reset

func (m *TcpListenerReport) Reset()

func (*TcpListenerReport) String

func (m *TcpListenerReport) String() string

func (*TcpListenerReport) XXX_DiscardUnknown

func (m *TcpListenerReport) XXX_DiscardUnknown()

func (*TcpListenerReport) XXX_Marshal

func (m *TcpListenerReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TcpListenerReport) XXX_Merge

func (m *TcpListenerReport) XXX_Merge(src proto.Message)

func (*TcpListenerReport) XXX_Size

func (m *TcpListenerReport) XXX_Size() int

func (*TcpListenerReport) XXX_Unmarshal

func (m *TcpListenerReport) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

error types for top-level tcp listener config

func (*TcpListenerReport_Error) Descriptor

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

func (*TcpListenerReport_Error) GetReason

func (m *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) Reset

func (m *TcpListenerReport_Error) Reset()

func (*TcpListenerReport_Error) String

func (m *TcpListenerReport_Error) String() string

func (*TcpListenerReport_Error) XXX_DiscardUnknown

func (m *TcpListenerReport_Error) XXX_DiscardUnknown()

func (*TcpListenerReport_Error) XXX_Marshal

func (m *TcpListenerReport_Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TcpListenerReport_Error) XXX_Merge

func (m *TcpListenerReport_Error) XXX_Merge(src proto.Message)

func (*TcpListenerReport_Error) XXX_Size

func (m *TcpListenerReport_Error) XXX_Size() int

func (*TcpListenerReport_Error) XXX_Unmarshal

func (m *TcpListenerReport_Error) XXX_Unmarshal(b []byte) error

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

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

func (TcpListenerReport_Error_Type) String

type UnimplementedProxyValidationServiceServer

type UnimplementedProxyValidationServiceServer struct {
}

UnimplementedProxyValidationServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedProxyValidationServiceServer) NotifyOnResync added in v1.2.8

func (*UnimplementedProxyValidationServiceServer) ValidateProxy

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"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*VirtualHostReport) Descriptor

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

func (*VirtualHostReport) GetErrors

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

func (*VirtualHostReport) GetRouteReports

func (m *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) Reset

func (m *VirtualHostReport) Reset()

func (*VirtualHostReport) String

func (m *VirtualHostReport) String() string

func (*VirtualHostReport) XXX_DiscardUnknown

func (m *VirtualHostReport) XXX_DiscardUnknown()

func (*VirtualHostReport) XXX_Marshal

func (m *VirtualHostReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualHostReport) XXX_Merge

func (m *VirtualHostReport) XXX_Merge(src proto.Message)

func (*VirtualHostReport) XXX_Size

func (m *VirtualHostReport) XXX_Size() int

func (*VirtualHostReport) XXX_Unmarshal

func (m *VirtualHostReport) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

error types for top-level virtual host config

func (*VirtualHostReport_Error) Descriptor

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

func (*VirtualHostReport_Error) GetReason

func (m *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) Reset

func (m *VirtualHostReport_Error) Reset()

func (*VirtualHostReport_Error) String

func (m *VirtualHostReport_Error) String() string

func (*VirtualHostReport_Error) XXX_DiscardUnknown

func (m *VirtualHostReport_Error) XXX_DiscardUnknown()

func (*VirtualHostReport_Error) XXX_Marshal

func (m *VirtualHostReport_Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualHostReport_Error) XXX_Merge

func (m *VirtualHostReport_Error) XXX_Merge(src proto.Message)

func (*VirtualHostReport_Error) XXX_Size

func (m *VirtualHostReport_Error) XXX_Size() int

func (*VirtualHostReport_Error) XXX_Unmarshal

func (m *VirtualHostReport_Error) XXX_Unmarshal(b []byte) error

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

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

func (VirtualHostReport_Error_Type) String

Jump to

Keyboard shortcuts

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