v2

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthClientSslAuth = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowClientSslAuth   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type ClientSSLAuth

type ClientSSLAuth struct {
	// The :ref:`cluster manager <arch_overview_cluster_manager>` cluster that runs
	// the authentication service. The filter will connect to the service every 60s to fetch the list
	// of principals. The service must support the expected :ref:`REST API
	// <config_network_filters_client_ssl_auth_rest_api>`.
	AuthApiCluster string `protobuf:"bytes,1,opt,name=auth_api_cluster,json=authApiCluster,proto3" json:"auth_api_cluster,omitempty"`
	// The prefix to use when emitting :ref:`statistics
	// <config_network_filters_client_ssl_auth_stats>`.
	StatPrefix string `protobuf:"bytes,2,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	// Time in milliseconds between principal refreshes from the
	// authentication service. Default is 60000 (60s). The actual fetch time
	// will be this value plus a random jittered value between
	// 0-refresh_delay_ms milliseconds.
	RefreshDelay *time.Duration `protobuf:"bytes,3,opt,name=refresh_delay,json=refreshDelay,stdduration" json:"refresh_delay,omitempty"`
	// An optional list of IP address and subnet masks that should be white
	// listed for access by the filter. If no list is provided, there is no
	// IP white list.
	IpWhiteList          []*core.CidrRange `protobuf:"bytes,4,rep,name=ip_white_list,json=ipWhiteList" json:"ip_white_list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ClientSSLAuth) Descriptor

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

func (*ClientSSLAuth) GetAuthApiCluster

func (m *ClientSSLAuth) GetAuthApiCluster() string

func (*ClientSSLAuth) GetIpWhiteList

func (m *ClientSSLAuth) GetIpWhiteList() []*core.CidrRange

func (*ClientSSLAuth) GetRefreshDelay

func (m *ClientSSLAuth) GetRefreshDelay() *time.Duration

func (*ClientSSLAuth) GetStatPrefix

func (m *ClientSSLAuth) GetStatPrefix() string

func (*ClientSSLAuth) Marshal

func (m *ClientSSLAuth) Marshal() (dAtA []byte, err error)

func (*ClientSSLAuth) MarshalTo

func (m *ClientSSLAuth) MarshalTo(dAtA []byte) (int, error)

func (*ClientSSLAuth) ProtoMessage

func (*ClientSSLAuth) ProtoMessage()

func (*ClientSSLAuth) Reset

func (m *ClientSSLAuth) Reset()

func (*ClientSSLAuth) Size

func (m *ClientSSLAuth) Size() (n int)

func (*ClientSSLAuth) String

func (m *ClientSSLAuth) String() string

func (*ClientSSLAuth) Unmarshal

func (m *ClientSSLAuth) Unmarshal(dAtA []byte) error

func (*ClientSSLAuth) Validate

func (m *ClientSSLAuth) Validate() error

Validate checks the field values on ClientSSLAuth with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ClientSSLAuth) XXX_DiscardUnknown

func (m *ClientSSLAuth) XXX_DiscardUnknown()

func (*ClientSSLAuth) XXX_Marshal

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

func (*ClientSSLAuth) XXX_Merge

func (dst *ClientSSLAuth) XXX_Merge(src proto.Message)

func (*ClientSSLAuth) XXX_Size

func (m *ClientSSLAuth) XXX_Size() int

func (*ClientSSLAuth) XXX_Unmarshal

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

type ClientSSLAuthValidationError

type ClientSSLAuthValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ClientSSLAuthValidationError is the validation error returned by ClientSSLAuth.Validate if the designated constraints aren't met.

func (ClientSSLAuthValidationError) Error

Error satisfies the builtin error interface

Jump to

Keyboard shortcuts

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