dex

package
v0.0.0-...-0490640 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GlobalLogLevelToDexLevel

func GlobalLogLevelToDexLevel(level string) string

Convert the accepted GlobalLogLevels to a log level accepted by Dex.

Types

type ConfigRequest

type ConfigRequest struct {
	V1                   *ConfigRequest_V1 `protobuf:"bytes,3,opt,name=v1,proto3" json:"v1,omitempty" toml:"v1,omitempty" mapstructure:"v1,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte            `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32             `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func DefaultConfigRequest

func DefaultConfigRequest() *ConfigRequest

DefaultConfigRequest returns a new ConfigRequest instance with default values.

func NewConfigRequest

func NewConfigRequest() *ConfigRequest

NewConfigRequest returns a new ConfigRequests instance with zero values.

func (*ConfigRequest) BindPort

func (m *ConfigRequest) BindPort(name string, value uint16) error

BindPort sets the port tagged with the given name

func (*ConfigRequest) Descriptor

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

func (*ConfigRequest) GetPort

func (m *ConfigRequest) GetPort(name string, value uint16) (uint16, error)

GetPort gets the port tagged with the given name. If the value is not set, it returns 0.

func (*ConfigRequest) GetV1

func (m *ConfigRequest) GetV1() *ConfigRequest_V1

func (*ConfigRequest) ListPorts

func (m *ConfigRequest) ListPorts() []a2conf.PortInfo

ListPorts lists all the ports exposed by the config

func (*ConfigRequest) PrepareSystemConfig

func (c *ConfigRequest) PrepareSystemConfig(creds *shared.TLSCredentials) (shared.PreparedSystemConfig, error)

PrepareSystemConfig returns a system configuration that can be used to start the service.

func (*ConfigRequest) ProtoMessage

func (*ConfigRequest) ProtoMessage()

func (*ConfigRequest) Reset

func (m *ConfigRequest) Reset()

func (*ConfigRequest) ServiceName

func (m *ConfigRequest) ServiceName() string

ServiceName returns the name of the service this config belongs to

func (*ConfigRequest) SetGlobalConfig

func (c *ConfigRequest) SetGlobalConfig(g *shared.GlobalConfig)

SetGlobalConfig imports settings from the global configuration

func (*ConfigRequest) String

func (m *ConfigRequest) String() string

func (*ConfigRequest) Validate

func (c *ConfigRequest) Validate() error

Validate validates that the config is sufficient to start the service and returns true.

func (*ConfigRequest) XXX_DiscardUnknown

func (m *ConfigRequest) XXX_DiscardUnknown()

func (*ConfigRequest) XXX_Marshal

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

func (*ConfigRequest) XXX_Merge

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

func (*ConfigRequest) XXX_Size

func (m *ConfigRequest) XXX_Size() int

func (*ConfigRequest) XXX_Unmarshal

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

type ConfigRequest_V1

type ConfigRequest_V1 struct {
	Sys                  *ConfigRequest_V1_System  `protobuf:"bytes,1,opt,name=sys,proto3" json:"sys,omitempty" toml:"sys,omitempty" mapstructure:"sys,omitempty"`
	Svc                  *ConfigRequest_V1_Service `protobuf:"bytes,2,opt,name=svc,proto3" json:"svc,omitempty" toml:"svc,omitempty" mapstructure:"svc,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                    `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                     `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1) Descriptor

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

func (*ConfigRequest_V1) GetSvc

func (*ConfigRequest_V1) GetSys

func (*ConfigRequest_V1) ProtoMessage

func (*ConfigRequest_V1) ProtoMessage()

func (*ConfigRequest_V1) Reset

func (m *ConfigRequest_V1) Reset()

func (*ConfigRequest_V1) String

func (m *ConfigRequest_V1) String() string

func (*ConfigRequest_V1) XXX_DiscardUnknown

func (m *ConfigRequest_V1) XXX_DiscardUnknown()

func (*ConfigRequest_V1) XXX_Marshal

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

func (*ConfigRequest_V1) XXX_Merge

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

func (*ConfigRequest_V1) XXX_Size

func (m *ConfigRequest_V1) XXX_Size() int

func (*ConfigRequest_V1) XXX_Unmarshal

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

type ConfigRequest_V1_Bootstrap

type ConfigRequest_V1_Bootstrap struct {
	InsecureAdmin        *wrappers.BoolValue `` /* 172-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}            `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32               `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_Bootstrap) Descriptor

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

func (*ConfigRequest_V1_Bootstrap) GetInsecureAdmin

func (m *ConfigRequest_V1_Bootstrap) GetInsecureAdmin() *wrappers.BoolValue

func (*ConfigRequest_V1_Bootstrap) ProtoMessage

func (*ConfigRequest_V1_Bootstrap) ProtoMessage()

func (*ConfigRequest_V1_Bootstrap) Reset

func (m *ConfigRequest_V1_Bootstrap) Reset()

func (*ConfigRequest_V1_Bootstrap) String

func (m *ConfigRequest_V1_Bootstrap) String() string

func (*ConfigRequest_V1_Bootstrap) XXX_DiscardUnknown

func (m *ConfigRequest_V1_Bootstrap) XXX_DiscardUnknown()

func (*ConfigRequest_V1_Bootstrap) XXX_Marshal

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

func (*ConfigRequest_V1_Bootstrap) XXX_Merge

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

func (*ConfigRequest_V1_Bootstrap) XXX_Size

func (m *ConfigRequest_V1_Bootstrap) XXX_Size() int

func (*ConfigRequest_V1_Bootstrap) XXX_Unmarshal

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

type ConfigRequest_V1_Connectors

type ConfigRequest_V1_Connectors struct {
	Google               *ConfigRequest_V1_Google    `protobuf:"bytes,1,opt,name=google,proto3" json:"google,omitempty" toml:"google,omitempty" mapstructure:"google,omitempty"`
	Ldap                 *ConfigRequest_V1_Ldap      `protobuf:"bytes,2,opt,name=ldap,proto3" json:"ldap,omitempty" toml:"ldap,omitempty" mapstructure:"ldap,omitempty"`
	Saml                 *ConfigRequest_V1_Saml      `protobuf:"bytes,3,opt,name=saml,proto3" json:"saml,omitempty" toml:"saml,omitempty" mapstructure:"saml,omitempty"`
	MsadLdap             *ConfigRequest_V1_Msad_Ldap `` /* 147-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                    `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                      `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                       `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_Connectors) Descriptor

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

func (*ConfigRequest_V1_Connectors) GetGoogle

func (*ConfigRequest_V1_Connectors) GetLdap

func (*ConfigRequest_V1_Connectors) GetMsadLdap

func (*ConfigRequest_V1_Connectors) GetSaml

func (*ConfigRequest_V1_Connectors) ProtoMessage

func (*ConfigRequest_V1_Connectors) ProtoMessage()

func (*ConfigRequest_V1_Connectors) Reset

func (m *ConfigRequest_V1_Connectors) Reset()

func (*ConfigRequest_V1_Connectors) String

func (m *ConfigRequest_V1_Connectors) String() string

func (*ConfigRequest_V1_Connectors) XXX_DiscardUnknown

func (m *ConfigRequest_V1_Connectors) XXX_DiscardUnknown()

func (*ConfigRequest_V1_Connectors) XXX_Marshal

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

func (*ConfigRequest_V1_Connectors) XXX_Merge

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

func (*ConfigRequest_V1_Connectors) XXX_Size

func (m *ConfigRequest_V1_Connectors) XXX_Size() int

func (*ConfigRequest_V1_Connectors) XXX_Unmarshal

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

type ConfigRequest_V1_Expiry

type ConfigRequest_V1_Expiry struct {
	SigningKeys          *wrappers.StringValue `` /* 162-byte string literal not displayed */
	IdTokens             *wrappers.StringValue `` /* 147-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_Expiry) Descriptor

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

func (*ConfigRequest_V1_Expiry) GetIdTokens

func (m *ConfigRequest_V1_Expiry) GetIdTokens() *wrappers.StringValue

func (*ConfigRequest_V1_Expiry) GetSigningKeys

func (m *ConfigRequest_V1_Expiry) GetSigningKeys() *wrappers.StringValue

func (*ConfigRequest_V1_Expiry) ProtoMessage

func (*ConfigRequest_V1_Expiry) ProtoMessage()

func (*ConfigRequest_V1_Expiry) Reset

func (m *ConfigRequest_V1_Expiry) Reset()

func (*ConfigRequest_V1_Expiry) String

func (m *ConfigRequest_V1_Expiry) String() string

func (*ConfigRequest_V1_Expiry) XXX_DiscardUnknown

func (m *ConfigRequest_V1_Expiry) XXX_DiscardUnknown()

func (*ConfigRequest_V1_Expiry) XXX_Marshal

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

func (*ConfigRequest_V1_Expiry) XXX_Merge

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

func (*ConfigRequest_V1_Expiry) XXX_Size

func (m *ConfigRequest_V1_Expiry) XXX_Size() int

func (*ConfigRequest_V1_Expiry) XXX_Unmarshal

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

type ConfigRequest_V1_Google

type ConfigRequest_V1_Google struct {
	ClientId             *wrappers.StringValue `` /* 147-byte string literal not displayed */
	ClientSecret         *wrappers.StringValue `` /* 167-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_Google) Descriptor

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

func (*ConfigRequest_V1_Google) GetClientId

func (m *ConfigRequest_V1_Google) GetClientId() *wrappers.StringValue

func (*ConfigRequest_V1_Google) GetClientSecret

func (m *ConfigRequest_V1_Google) GetClientSecret() *wrappers.StringValue

func (*ConfigRequest_V1_Google) ProtoMessage

func (*ConfigRequest_V1_Google) ProtoMessage()

func (*ConfigRequest_V1_Google) Reset

func (m *ConfigRequest_V1_Google) Reset()

func (*ConfigRequest_V1_Google) String

func (m *ConfigRequest_V1_Google) String() string

func (*ConfigRequest_V1_Google) XXX_DiscardUnknown

func (m *ConfigRequest_V1_Google) XXX_DiscardUnknown()

func (*ConfigRequest_V1_Google) XXX_Marshal

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

func (*ConfigRequest_V1_Google) XXX_Merge

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

func (*ConfigRequest_V1_Google) XXX_Size

func (m *ConfigRequest_V1_Google) XXX_Size() int

func (*ConfigRequest_V1_Google) XXX_Unmarshal

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

type ConfigRequest_V1_Grpc

type ConfigRequest_V1_Grpc struct {
	Host                 *wrappers.StringValue `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty" toml:"host,omitempty" mapstructure:"host,omitempty"`
	Port                 *wrappers.Int32Value  `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty" toml:"port,omitempty" mapstructure:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_Grpc) Descriptor

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

func (*ConfigRequest_V1_Grpc) GetHost

func (*ConfigRequest_V1_Grpc) GetPort

func (*ConfigRequest_V1_Grpc) ProtoMessage

func (*ConfigRequest_V1_Grpc) ProtoMessage()

func (*ConfigRequest_V1_Grpc) Reset

func (m *ConfigRequest_V1_Grpc) Reset()

func (*ConfigRequest_V1_Grpc) String

func (m *ConfigRequest_V1_Grpc) String() string

func (*ConfigRequest_V1_Grpc) XXX_DiscardUnknown

func (m *ConfigRequest_V1_Grpc) XXX_DiscardUnknown()

func (*ConfigRequest_V1_Grpc) XXX_Marshal

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

func (*ConfigRequest_V1_Grpc) XXX_Merge

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

func (*ConfigRequest_V1_Grpc) XXX_Size

func (m *ConfigRequest_V1_Grpc) XXX_Size() int

func (*ConfigRequest_V1_Grpc) XXX_Unmarshal

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

type ConfigRequest_V1_Ldap

type ConfigRequest_V1_Ldap struct {
	CaContents              *wrappers.StringValue `` /* 157-byte string literal not displayed */
	Host                    *wrappers.StringValue `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty" toml:"host,omitempty" mapstructure:"host,omitempty"`
	BindDn                  *wrappers.StringValue `` /* 137-byte string literal not displayed */
	BindPassword            *wrappers.StringValue `` /* 167-byte string literal not displayed */
	BaseUserSearchDn        *wrappers.StringValue `` /* 195-byte string literal not displayed */
	UserQueryFilter         *wrappers.StringValue `` /* 186-byte string literal not displayed */
	UsernameAttr            *wrappers.StringValue `` /* 167-byte string literal not displayed */
	UserIdAttr              *wrappers.StringValue `` /* 161-byte string literal not displayed */
	EmailAttr               *wrappers.StringValue `` /* 152-byte string literal not displayed */
	UserDisplayNameAttr     *wrappers.StringValue `` /* 211-byte string literal not displayed */
	BaseGroupSearchDn       *wrappers.StringValue `` /* 201-byte string literal not displayed */
	GroupQueryFilter        *wrappers.StringValue `` /* 192-byte string literal not displayed */
	FilterGroupsByUserAttr  *wrappers.StringValue `` /* 230-byte string literal not displayed */
	FilterGroupsByUserValue *wrappers.StringValue `` /* 235-byte string literal not displayed */
	GroupDisplayNameAttr    *wrappers.StringValue `` /* 216-byte string literal not displayed */
	InsecureNoSsl           *wrappers.BoolValue   `` /* 177-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized        []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache           int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func NewLdapConnector

func NewLdapConnector() *ConfigRequest_V1_Ldap

NewLdapConnector returns a new instance of ConfigRequest_Ldap with zero values

func (*ConfigRequest_V1_Ldap) Descriptor

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

func (*ConfigRequest_V1_Ldap) GetBaseGroupSearchDn

func (m *ConfigRequest_V1_Ldap) GetBaseGroupSearchDn() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetBaseUserSearchDn

func (m *ConfigRequest_V1_Ldap) GetBaseUserSearchDn() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetBindDn

func (m *ConfigRequest_V1_Ldap) GetBindDn() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetBindPassword

func (m *ConfigRequest_V1_Ldap) GetBindPassword() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetCaContents

func (m *ConfigRequest_V1_Ldap) GetCaContents() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetEmailAttr

func (m *ConfigRequest_V1_Ldap) GetEmailAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetFilterGroupsByUserAttr

func (m *ConfigRequest_V1_Ldap) GetFilterGroupsByUserAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetFilterGroupsByUserValue

func (m *ConfigRequest_V1_Ldap) GetFilterGroupsByUserValue() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetGroupDisplayNameAttr

func (m *ConfigRequest_V1_Ldap) GetGroupDisplayNameAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetGroupQueryFilter

func (m *ConfigRequest_V1_Ldap) GetGroupQueryFilter() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetHost

func (*ConfigRequest_V1_Ldap) GetInsecureNoSsl

func (m *ConfigRequest_V1_Ldap) GetInsecureNoSsl() *wrappers.BoolValue

func (*ConfigRequest_V1_Ldap) GetUserDisplayNameAttr

func (m *ConfigRequest_V1_Ldap) GetUserDisplayNameAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetUserIdAttr

func (m *ConfigRequest_V1_Ldap) GetUserIdAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetUserQueryFilter

func (m *ConfigRequest_V1_Ldap) GetUserQueryFilter() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) GetUsernameAttr

func (m *ConfigRequest_V1_Ldap) GetUsernameAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Ldap) ProtoMessage

func (*ConfigRequest_V1_Ldap) ProtoMessage()

func (*ConfigRequest_V1_Ldap) Reset

func (m *ConfigRequest_V1_Ldap) Reset()

func (*ConfigRequest_V1_Ldap) String

func (m *ConfigRequest_V1_Ldap) String() string

func (*ConfigRequest_V1_Ldap) XXX_DiscardUnknown

func (m *ConfigRequest_V1_Ldap) XXX_DiscardUnknown()

func (*ConfigRequest_V1_Ldap) XXX_Marshal

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

func (*ConfigRequest_V1_Ldap) XXX_Merge

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

func (*ConfigRequest_V1_Ldap) XXX_Size

func (m *ConfigRequest_V1_Ldap) XXX_Size() int

func (*ConfigRequest_V1_Ldap) XXX_Unmarshal

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

type ConfigRequest_V1_Log

type ConfigRequest_V1_Log struct {
	Level                *wrappers.StringValue `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty" toml:"level,omitempty" mapstructure:"level,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_Log) Descriptor

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

func (*ConfigRequest_V1_Log) GetLevel

func (m *ConfigRequest_V1_Log) GetLevel() *wrappers.StringValue

func (*ConfigRequest_V1_Log) ProtoMessage

func (*ConfigRequest_V1_Log) ProtoMessage()

func (*ConfigRequest_V1_Log) Reset

func (m *ConfigRequest_V1_Log) Reset()

func (*ConfigRequest_V1_Log) String

func (m *ConfigRequest_V1_Log) String() string

func (*ConfigRequest_V1_Log) XXX_DiscardUnknown

func (m *ConfigRequest_V1_Log) XXX_DiscardUnknown()

func (*ConfigRequest_V1_Log) XXX_Marshal

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

func (*ConfigRequest_V1_Log) XXX_Merge

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

func (*ConfigRequest_V1_Log) XXX_Size

func (m *ConfigRequest_V1_Log) XXX_Size() int

func (*ConfigRequest_V1_Log) XXX_Unmarshal

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

type ConfigRequest_V1_Msad_Ldap

type ConfigRequest_V1_Msad_Ldap struct {
	CaContents              *wrappers.StringValue `` /* 157-byte string literal not displayed */
	Host                    *wrappers.StringValue `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty" toml:"host,omitempty" mapstructure:"host,omitempty"`
	BindDn                  *wrappers.StringValue `` /* 137-byte string literal not displayed */
	BindPassword            *wrappers.StringValue `` /* 167-byte string literal not displayed */
	BaseUserSearchDn        *wrappers.StringValue `` /* 195-byte string literal not displayed */
	BaseGroupSearchDn       *wrappers.StringValue `` /* 200-byte string literal not displayed */
	UserQueryFilter         *wrappers.StringValue `` /* 186-byte string literal not displayed */
	GroupQueryFilter        *wrappers.StringValue `` /* 191-byte string literal not displayed */
	UsernameAttr            *wrappers.StringValue `` /* 167-byte string literal not displayed */
	UserIdAttr              *wrappers.StringValue `` /* 162-byte string literal not displayed */
	EmailAttr               *wrappers.StringValue `` /* 153-byte string literal not displayed */
	UserDisplayNameAttr     *wrappers.StringValue `` /* 211-byte string literal not displayed */
	FilterGroupsByUserAttr  *wrappers.StringValue `` /* 230-byte string literal not displayed */
	FilterGroupsByUserValue *wrappers.StringValue `` /* 235-byte string literal not displayed */
	GroupDisplayNameAttr    *wrappers.StringValue `` /* 216-byte string literal not displayed */
	InsecureNoSsl           *wrappers.BoolValue   `` /* 177-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized        []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache           int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func NewMsadLdapConnector

func NewMsadLdapConnector() *ConfigRequest_V1_Msad_Ldap

NewMsadLdapConnector returns a new instance of ConfigRequest_Msad_Ldap with zero values

func (*ConfigRequest_V1_Msad_Ldap) Descriptor

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

func (*ConfigRequest_V1_Msad_Ldap) GetBaseGroupSearchDn

func (m *ConfigRequest_V1_Msad_Ldap) GetBaseGroupSearchDn() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) GetBaseUserSearchDn

func (m *ConfigRequest_V1_Msad_Ldap) GetBaseUserSearchDn() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) GetBindDn

func (*ConfigRequest_V1_Msad_Ldap) GetBindPassword

func (m *ConfigRequest_V1_Msad_Ldap) GetBindPassword() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) GetCaContents

func (m *ConfigRequest_V1_Msad_Ldap) GetCaContents() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) GetEmailAttr

func (m *ConfigRequest_V1_Msad_Ldap) GetEmailAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) GetFilterGroupsByUserAttr

func (m *ConfigRequest_V1_Msad_Ldap) GetFilterGroupsByUserAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) GetFilterGroupsByUserValue

func (m *ConfigRequest_V1_Msad_Ldap) GetFilterGroupsByUserValue() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) GetGroupDisplayNameAttr

func (m *ConfigRequest_V1_Msad_Ldap) GetGroupDisplayNameAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) GetGroupQueryFilter

func (m *ConfigRequest_V1_Msad_Ldap) GetGroupQueryFilter() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) GetHost

func (*ConfigRequest_V1_Msad_Ldap) GetInsecureNoSsl

func (m *ConfigRequest_V1_Msad_Ldap) GetInsecureNoSsl() *wrappers.BoolValue

func (*ConfigRequest_V1_Msad_Ldap) GetUserDisplayNameAttr

func (m *ConfigRequest_V1_Msad_Ldap) GetUserDisplayNameAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) GetUserIdAttr

func (m *ConfigRequest_V1_Msad_Ldap) GetUserIdAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) GetUserQueryFilter

func (m *ConfigRequest_V1_Msad_Ldap) GetUserQueryFilter() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) GetUsernameAttr

func (m *ConfigRequest_V1_Msad_Ldap) GetUsernameAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Msad_Ldap) ProtoMessage

func (*ConfigRequest_V1_Msad_Ldap) ProtoMessage()

func (*ConfigRequest_V1_Msad_Ldap) Reset

func (m *ConfigRequest_V1_Msad_Ldap) Reset()

func (*ConfigRequest_V1_Msad_Ldap) String

func (m *ConfigRequest_V1_Msad_Ldap) String() string

func (*ConfigRequest_V1_Msad_Ldap) XXX_DiscardUnknown

func (m *ConfigRequest_V1_Msad_Ldap) XXX_DiscardUnknown()

func (*ConfigRequest_V1_Msad_Ldap) XXX_Marshal

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

func (*ConfigRequest_V1_Msad_Ldap) XXX_Merge

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

func (*ConfigRequest_V1_Msad_Ldap) XXX_Size

func (m *ConfigRequest_V1_Msad_Ldap) XXX_Size() int

func (*ConfigRequest_V1_Msad_Ldap) XXX_Unmarshal

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

type ConfigRequest_V1_Saml

type ConfigRequest_V1_Saml struct {
	CaContents           *wrappers.StringValue `` /* 157-byte string literal not displayed */
	SsoUrl               *wrappers.StringValue `` /* 137-byte string literal not displayed */
	EmailAttr            *wrappers.StringValue `` /* 152-byte string literal not displayed */
	UsernameAttr         *wrappers.StringValue `` /* 167-byte string literal not displayed */
	GroupsAttr           *wrappers.StringValue `` /* 157-byte string literal not displayed */
	EntityIssuer         *wrappers.StringValue `` /* 167-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func NewSamlConnector

func NewSamlConnector() *ConfigRequest_V1_Saml

NewSamlConnector returns a new instance of ConfigRequest_Saml with zero values

func (*ConfigRequest_V1_Saml) Descriptor

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

func (*ConfigRequest_V1_Saml) GetCaContents

func (m *ConfigRequest_V1_Saml) GetCaContents() *wrappers.StringValue

func (*ConfigRequest_V1_Saml) GetEmailAttr

func (m *ConfigRequest_V1_Saml) GetEmailAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Saml) GetEntityIssuer

func (m *ConfigRequest_V1_Saml) GetEntityIssuer() *wrappers.StringValue

func (*ConfigRequest_V1_Saml) GetGroupsAttr

func (m *ConfigRequest_V1_Saml) GetGroupsAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Saml) GetSsoUrl

func (m *ConfigRequest_V1_Saml) GetSsoUrl() *wrappers.StringValue

func (*ConfigRequest_V1_Saml) GetUsernameAttr

func (m *ConfigRequest_V1_Saml) GetUsernameAttr() *wrappers.StringValue

func (*ConfigRequest_V1_Saml) ProtoMessage

func (*ConfigRequest_V1_Saml) ProtoMessage()

func (*ConfigRequest_V1_Saml) Reset

func (m *ConfigRequest_V1_Saml) Reset()

func (*ConfigRequest_V1_Saml) String

func (m *ConfigRequest_V1_Saml) String() string

func (*ConfigRequest_V1_Saml) XXX_DiscardUnknown

func (m *ConfigRequest_V1_Saml) XXX_DiscardUnknown()

func (*ConfigRequest_V1_Saml) XXX_Marshal

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

func (*ConfigRequest_V1_Saml) XXX_Merge

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

func (*ConfigRequest_V1_Saml) XXX_Size

func (m *ConfigRequest_V1_Saml) XXX_Size() int

func (*ConfigRequest_V1_Saml) XXX_Unmarshal

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

type ConfigRequest_V1_Service

type ConfigRequest_V1_Service struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_Service) Descriptor

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

func (*ConfigRequest_V1_Service) ProtoMessage

func (*ConfigRequest_V1_Service) ProtoMessage()

func (*ConfigRequest_V1_Service) Reset

func (m *ConfigRequest_V1_Service) Reset()

func (*ConfigRequest_V1_Service) String

func (m *ConfigRequest_V1_Service) String() string

func (*ConfigRequest_V1_Service) XXX_DiscardUnknown

func (m *ConfigRequest_V1_Service) XXX_DiscardUnknown()

func (*ConfigRequest_V1_Service) XXX_Marshal

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

func (*ConfigRequest_V1_Service) XXX_Merge

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

func (*ConfigRequest_V1_Service) XXX_Size

func (m *ConfigRequest_V1_Service) XXX_Size() int

func (*ConfigRequest_V1_Service) XXX_Unmarshal

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

type ConfigRequest_V1_Storage

type ConfigRequest_V1_Storage struct {
	Database             *wrappers.StringValue `` /* 129-byte string literal not displayed */
	User                 *wrappers.StringValue `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_Storage) Descriptor

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

func (*ConfigRequest_V1_Storage) GetDatabase

func (m *ConfigRequest_V1_Storage) GetDatabase() *wrappers.StringValue

func (*ConfigRequest_V1_Storage) GetUser

func (*ConfigRequest_V1_Storage) ProtoMessage

func (*ConfigRequest_V1_Storage) ProtoMessage()

func (*ConfigRequest_V1_Storage) Reset

func (m *ConfigRequest_V1_Storage) Reset()

func (*ConfigRequest_V1_Storage) String

func (m *ConfigRequest_V1_Storage) String() string

func (*ConfigRequest_V1_Storage) XXX_DiscardUnknown

func (m *ConfigRequest_V1_Storage) XXX_DiscardUnknown()

func (*ConfigRequest_V1_Storage) XXX_Marshal

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

func (*ConfigRequest_V1_Storage) XXX_Merge

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

func (*ConfigRequest_V1_Storage) XXX_Size

func (m *ConfigRequest_V1_Storage) XXX_Size() int

func (*ConfigRequest_V1_Storage) XXX_Unmarshal

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

type ConfigRequest_V1_System

type ConfigRequest_V1_System struct {
	Mlsa                 *shared.Mlsa                     `protobuf:"bytes,1,opt,name=mlsa,proto3" json:"mlsa,omitempty" toml:"mlsa,omitempty" mapstructure:"mlsa,omitempty"`
	Log                  *ConfigRequest_V1_Log            `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty" toml:"log,omitempty" mapstructure:"log,omitempty"`
	Service              *ConfigRequest_V1_System_Service `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty" toml:"service,omitempty" mapstructure:"service,omitempty"`
	Grpc                 *ConfigRequest_V1_Grpc           `protobuf:"bytes,4,opt,name=grpc,proto3" json:"grpc,omitempty" toml:"grpc,omitempty" mapstructure:"grpc,omitempty"`
	Storage              *ConfigRequest_V1_Storage        `protobuf:"bytes,5,opt,name=storage,proto3" json:"storage,omitempty" toml:"storage,omitempty" mapstructure:"storage,omitempty"`
	Expiry               *ConfigRequest_V1_Expiry         `protobuf:"bytes,6,opt,name=expiry,proto3" json:"expiry,omitempty" toml:"expiry,omitempty" mapstructure:"expiry,omitempty"`
	Bootstrap            *ConfigRequest_V1_Bootstrap      `` /* 133-byte string literal not displayed */
	Connectors           *ConfigRequest_V1_Connectors     `` /* 137-byte string literal not displayed */
	Tls                  *shared.TLSCredentials           `protobuf:"bytes,9,opt,name=tls,proto3" json:"tls,omitempty" toml:"tls,omitempty" mapstructure:"tls,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                           `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                            `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_System) Descriptor

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

func (*ConfigRequest_V1_System) GetBootstrap

func (*ConfigRequest_V1_System) GetConnectors

func (*ConfigRequest_V1_System) GetExpiry

func (*ConfigRequest_V1_System) GetGrpc

func (*ConfigRequest_V1_System) GetLog

func (*ConfigRequest_V1_System) GetMlsa

func (m *ConfigRequest_V1_System) GetMlsa() *shared.Mlsa

func (*ConfigRequest_V1_System) GetService

func (*ConfigRequest_V1_System) GetStorage

func (*ConfigRequest_V1_System) GetTls

func (*ConfigRequest_V1_System) ProtoMessage

func (*ConfigRequest_V1_System) ProtoMessage()

func (*ConfigRequest_V1_System) Reset

func (m *ConfigRequest_V1_System) Reset()

func (*ConfigRequest_V1_System) String

func (m *ConfigRequest_V1_System) String() string

func (*ConfigRequest_V1_System) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System) XXX_Marshal

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

func (*ConfigRequest_V1_System) XXX_Merge

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

func (*ConfigRequest_V1_System) XXX_Size

func (m *ConfigRequest_V1_System) XXX_Size() int

func (*ConfigRequest_V1_System) XXX_Unmarshal

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

type ConfigRequest_V1_System_Service

type ConfigRequest_V1_System_Service struct {
	Host                 *wrappers.StringValue `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty" toml:"host,omitempty" mapstructure:"host,omitempty"`
	Port                 *wrappers.Int32Value  `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty" toml:"port,omitempty" mapstructure:"port,omitempty"`
	ExternalFqdn         *wrappers.StringValue `` /* 167-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ConfigRequest_V1_System_Service) Descriptor

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

func (*ConfigRequest_V1_System_Service) GetExternalFqdn

func (*ConfigRequest_V1_System_Service) GetHost

func (*ConfigRequest_V1_System_Service) GetPort

func (*ConfigRequest_V1_System_Service) ProtoMessage

func (*ConfigRequest_V1_System_Service) ProtoMessage()

func (*ConfigRequest_V1_System_Service) Reset

func (*ConfigRequest_V1_System_Service) String

func (*ConfigRequest_V1_System_Service) XXX_DiscardUnknown

func (m *ConfigRequest_V1_System_Service) XXX_DiscardUnknown()

func (*ConfigRequest_V1_System_Service) XXX_Marshal

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

func (*ConfigRequest_V1_System_Service) XXX_Merge

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

func (*ConfigRequest_V1_System_Service) XXX_Size

func (m *ConfigRequest_V1_System_Service) XXX_Size() int

func (*ConfigRequest_V1_System_Service) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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