Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDexServer

func RegisterDexServer(s *grpc.Server, srv DexServer)

Types

type Client

type Client struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Secret               string   `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	RedirectUris         []string `protobuf:"bytes,3,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"`
	TrustedPeers         []string `protobuf:"bytes,4,rep,name=trusted_peers,json=trustedPeers,proto3" json:"trusted_peers,omitempty"`
	Public               bool     `protobuf:"varint,5,opt,name=public,proto3" json:"public,omitempty"`
	Name                 string   `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	LogoUrl              string   `protobuf:"bytes,7,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

    Client represents an OAuth2 client.

    func (*Client) Descriptor

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

    func (*Client) GetId

    func (m *Client) GetId() string

    func (*Client) GetLogoUrl

    func (m *Client) GetLogoUrl() string

    func (*Client) GetName

    func (m *Client) GetName() string

    func (*Client) GetPublic

    func (m *Client) GetPublic() bool

    func (*Client) GetRedirectUris

    func (m *Client) GetRedirectUris() []string

    func (*Client) GetSecret

    func (m *Client) GetSecret() string

    func (*Client) GetTrustedPeers

    func (m *Client) GetTrustedPeers() []string

    func (*Client) ProtoMessage

    func (*Client) ProtoMessage()

    func (*Client) Reset

    func (m *Client) Reset()

    func (*Client) String

    func (m *Client) String() string

    func (*Client) XXX_DiscardUnknown

    func (m *Client) XXX_DiscardUnknown()

    func (*Client) XXX_Marshal

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

    func (*Client) XXX_Merge

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

    func (*Client) XXX_Size

    func (m *Client) XXX_Size() int

    func (*Client) XXX_Unmarshal

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

    type CreateClientReq

    type CreateClientReq struct {
    	Client               *Client  `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
    	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    	XXX_unrecognized     []byte   `json:"-"`
    	XXX_sizecache        int32    `json:"-"`
    }

      CreateClientReq is a request to make a client.

      func (*CreateClientReq) Descriptor

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

      func (*CreateClientReq) GetClient

      func (m *CreateClientReq) GetClient() *Client

      func (*CreateClientReq) ProtoMessage

      func (*CreateClientReq) ProtoMessage()

      func (*CreateClientReq) Reset

      func (m *CreateClientReq) Reset()

      func (*CreateClientReq) String

      func (m *CreateClientReq) String() string

      func (*CreateClientReq) XXX_DiscardUnknown

      func (m *CreateClientReq) XXX_DiscardUnknown()

      func (*CreateClientReq) XXX_Marshal

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

      func (*CreateClientReq) XXX_Merge

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

      func (*CreateClientReq) XXX_Size

      func (m *CreateClientReq) XXX_Size() int

      func (*CreateClientReq) XXX_Unmarshal

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

      type CreateClientResp

      type CreateClientResp struct {
      	AlreadyExists        bool     `protobuf:"varint,1,opt,name=already_exists,json=alreadyExists,proto3" json:"already_exists,omitempty"`
      	Client               *Client  `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"`
      	XXX_NoUnkeyedLiteral struct{} `json:"-"`
      	XXX_unrecognized     []byte   `json:"-"`
      	XXX_sizecache        int32    `json:"-"`
      }

        CreateClientResp returns the response from creating a client.

        func (*CreateClientResp) Descriptor

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

        func (*CreateClientResp) GetAlreadyExists

        func (m *CreateClientResp) GetAlreadyExists() bool

        func (*CreateClientResp) GetClient

        func (m *CreateClientResp) GetClient() *Client

        func (*CreateClientResp) ProtoMessage

        func (*CreateClientResp) ProtoMessage()

        func (*CreateClientResp) Reset

        func (m *CreateClientResp) Reset()

        func (*CreateClientResp) String

        func (m *CreateClientResp) String() string

        func (*CreateClientResp) XXX_DiscardUnknown

        func (m *CreateClientResp) XXX_DiscardUnknown()

        func (*CreateClientResp) XXX_Marshal

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

        func (*CreateClientResp) XXX_Merge

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

        func (*CreateClientResp) XXX_Size

        func (m *CreateClientResp) XXX_Size() int

        func (*CreateClientResp) XXX_Unmarshal

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

        type CreatePasswordReq

        type CreatePasswordReq struct {
        	Password             *Password `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
        	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
        	XXX_unrecognized     []byte    `json:"-"`
        	XXX_sizecache        int32     `json:"-"`
        }

          CreatePasswordReq is a request to make a password.

          func (*CreatePasswordReq) Descriptor

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

          func (*CreatePasswordReq) GetPassword

          func (m *CreatePasswordReq) GetPassword() *Password

          func (*CreatePasswordReq) ProtoMessage

          func (*CreatePasswordReq) ProtoMessage()

          func (*CreatePasswordReq) Reset

          func (m *CreatePasswordReq) Reset()

          func (*CreatePasswordReq) String

          func (m *CreatePasswordReq) String() string

          func (*CreatePasswordReq) XXX_DiscardUnknown

          func (m *CreatePasswordReq) XXX_DiscardUnknown()

          func (*CreatePasswordReq) XXX_Marshal

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

          func (*CreatePasswordReq) XXX_Merge

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

          func (*CreatePasswordReq) XXX_Size

          func (m *CreatePasswordReq) XXX_Size() int

          func (*CreatePasswordReq) XXX_Unmarshal

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

          type CreatePasswordResp

          type CreatePasswordResp struct {
          	AlreadyExists        bool     `protobuf:"varint,1,opt,name=already_exists,json=alreadyExists,proto3" json:"already_exists,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

            CreatePasswordResp returns the response from creating a password.

            func (*CreatePasswordResp) Descriptor

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

            func (*CreatePasswordResp) GetAlreadyExists

            func (m *CreatePasswordResp) GetAlreadyExists() bool

            func (*CreatePasswordResp) ProtoMessage

            func (*CreatePasswordResp) ProtoMessage()

            func (*CreatePasswordResp) Reset

            func (m *CreatePasswordResp) Reset()

            func (*CreatePasswordResp) String

            func (m *CreatePasswordResp) String() string

            func (*CreatePasswordResp) XXX_DiscardUnknown

            func (m *CreatePasswordResp) XXX_DiscardUnknown()

            func (*CreatePasswordResp) XXX_Marshal

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

            func (*CreatePasswordResp) XXX_Merge

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

            func (*CreatePasswordResp) XXX_Size

            func (m *CreatePasswordResp) XXX_Size() int

            func (*CreatePasswordResp) XXX_Unmarshal

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

            type DeleteClientReq

            type DeleteClientReq struct {
            	// The ID of the client.
            	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
            	XXX_NoUnkeyedLiteral struct{} `json:"-"`
            	XXX_unrecognized     []byte   `json:"-"`
            	XXX_sizecache        int32    `json:"-"`
            }

              DeleteClientReq is a request to delete a client.

              func (*DeleteClientReq) Descriptor

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

              func (*DeleteClientReq) GetId

              func (m *DeleteClientReq) GetId() string

              func (*DeleteClientReq) ProtoMessage

              func (*DeleteClientReq) ProtoMessage()

              func (*DeleteClientReq) Reset

              func (m *DeleteClientReq) Reset()

              func (*DeleteClientReq) String

              func (m *DeleteClientReq) String() string

              func (*DeleteClientReq) XXX_DiscardUnknown

              func (m *DeleteClientReq) XXX_DiscardUnknown()

              func (*DeleteClientReq) XXX_Marshal

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

              func (*DeleteClientReq) XXX_Merge

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

              func (*DeleteClientReq) XXX_Size

              func (m *DeleteClientReq) XXX_Size() int

              func (*DeleteClientReq) XXX_Unmarshal

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

              type DeleteClientResp

              type DeleteClientResp struct {
              	NotFound             bool     `protobuf:"varint,1,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"`
              	XXX_NoUnkeyedLiteral struct{} `json:"-"`
              	XXX_unrecognized     []byte   `json:"-"`
              	XXX_sizecache        int32    `json:"-"`
              }

                DeleteClientResp determines if the client is deleted successfully.

                func (*DeleteClientResp) Descriptor

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

                func (*DeleteClientResp) GetNotFound

                func (m *DeleteClientResp) GetNotFound() bool

                func (*DeleteClientResp) ProtoMessage

                func (*DeleteClientResp) ProtoMessage()

                func (*DeleteClientResp) Reset

                func (m *DeleteClientResp) Reset()

                func (*DeleteClientResp) String

                func (m *DeleteClientResp) String() string

                func (*DeleteClientResp) XXX_DiscardUnknown

                func (m *DeleteClientResp) XXX_DiscardUnknown()

                func (*DeleteClientResp) XXX_Marshal

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

                func (*DeleteClientResp) XXX_Merge

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

                func (*DeleteClientResp) XXX_Size

                func (m *DeleteClientResp) XXX_Size() int

                func (*DeleteClientResp) XXX_Unmarshal

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

                type DeletePasswordReq

                type DeletePasswordReq struct {
                	Email                string   `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
                	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                	XXX_unrecognized     []byte   `json:"-"`
                	XXX_sizecache        int32    `json:"-"`
                }

                  DeletePasswordReq is a request to delete a password.

                  func (*DeletePasswordReq) Descriptor

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

                  func (*DeletePasswordReq) GetEmail

                  func (m *DeletePasswordReq) GetEmail() string

                  func (*DeletePasswordReq) ProtoMessage

                  func (*DeletePasswordReq) ProtoMessage()

                  func (*DeletePasswordReq) Reset

                  func (m *DeletePasswordReq) Reset()

                  func (*DeletePasswordReq) String

                  func (m *DeletePasswordReq) String() string

                  func (*DeletePasswordReq) XXX_DiscardUnknown

                  func (m *DeletePasswordReq) XXX_DiscardUnknown()

                  func (*DeletePasswordReq) XXX_Marshal

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

                  func (*DeletePasswordReq) XXX_Merge

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

                  func (*DeletePasswordReq) XXX_Size

                  func (m *DeletePasswordReq) XXX_Size() int

                  func (*DeletePasswordReq) XXX_Unmarshal

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

                  type DeletePasswordResp

                  type DeletePasswordResp struct {
                  	NotFound             bool     `protobuf:"varint,1,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                  	XXX_unrecognized     []byte   `json:"-"`
                  	XXX_sizecache        int32    `json:"-"`
                  }

                    DeletePasswordResp returns the response from deleting a password.

                    func (*DeletePasswordResp) Descriptor

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

                    func (*DeletePasswordResp) GetNotFound

                    func (m *DeletePasswordResp) GetNotFound() bool

                    func (*DeletePasswordResp) ProtoMessage

                    func (*DeletePasswordResp) ProtoMessage()

                    func (*DeletePasswordResp) Reset

                    func (m *DeletePasswordResp) Reset()

                    func (*DeletePasswordResp) String

                    func (m *DeletePasswordResp) String() string

                    func (*DeletePasswordResp) XXX_DiscardUnknown

                    func (m *DeletePasswordResp) XXX_DiscardUnknown()

                    func (*DeletePasswordResp) XXX_Marshal

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

                    func (*DeletePasswordResp) XXX_Merge

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

                    func (*DeletePasswordResp) XXX_Size

                    func (m *DeletePasswordResp) XXX_Size() int

                    func (*DeletePasswordResp) XXX_Unmarshal

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

                    type DexClient

                    type DexClient interface {
                    	// CreateClient creates a client.
                    	CreateClient(ctx context.Context, in *CreateClientReq, opts ...grpc.CallOption) (*CreateClientResp, error)
                    	// UpdateClient updates an existing client
                    	UpdateClient(ctx context.Context, in *UpdateClientReq, opts ...grpc.CallOption) (*UpdateClientResp, error)
                    	// DeleteClient deletes the provided client.
                    	DeleteClient(ctx context.Context, in *DeleteClientReq, opts ...grpc.CallOption) (*DeleteClientResp, error)
                    	// CreatePassword creates a password.
                    	CreatePassword(ctx context.Context, in *CreatePasswordReq, opts ...grpc.CallOption) (*CreatePasswordResp, error)
                    	// UpdatePassword modifies existing password.
                    	UpdatePassword(ctx context.Context, in *UpdatePasswordReq, opts ...grpc.CallOption) (*UpdatePasswordResp, error)
                    	// DeletePassword deletes the password.
                    	DeletePassword(ctx context.Context, in *DeletePasswordReq, opts ...grpc.CallOption) (*DeletePasswordResp, error)
                    	// ListPassword lists all password entries.
                    	ListPasswords(ctx context.Context, in *ListPasswordReq, opts ...grpc.CallOption) (*ListPasswordResp, error)
                    	// GetVersion returns version information of the server.
                    	GetVersion(ctx context.Context, in *VersionReq, opts ...grpc.CallOption) (*VersionResp, error)
                    	// ListRefresh lists all the refresh token entries for a particular user.
                    	ListRefresh(ctx context.Context, in *ListRefreshReq, opts ...grpc.CallOption) (*ListRefreshResp, error)
                    	// RevokeRefresh revokes the refresh token for the provided user-client pair.
                    	//
                    	// Note that each user-client pair can have only one refresh token at a time.
                    	RevokeRefresh(ctx context.Context, in *RevokeRefreshReq, opts ...grpc.CallOption) (*RevokeRefreshResp, error)
                    	// VerifyPassword returns whether a password matches a hash for a specific email or not.
                    	VerifyPassword(ctx context.Context, in *VerifyPasswordReq, opts ...grpc.CallOption) (*VerifyPasswordResp, error)
                    }

                      DexClient is the client API for Dex service.

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

                      func NewDexClient

                      func NewDexClient(cc *grpc.ClientConn) DexClient

                      type DexServer

                      type DexServer interface {
                      	// CreateClient creates a client.
                      	CreateClient(context.Context, *CreateClientReq) (*CreateClientResp, error)
                      	// UpdateClient updates an existing client
                      	UpdateClient(context.Context, *UpdateClientReq) (*UpdateClientResp, error)
                      	// DeleteClient deletes the provided client.
                      	DeleteClient(context.Context, *DeleteClientReq) (*DeleteClientResp, error)
                      	// CreatePassword creates a password.
                      	CreatePassword(context.Context, *CreatePasswordReq) (*CreatePasswordResp, error)
                      	// UpdatePassword modifies existing password.
                      	UpdatePassword(context.Context, *UpdatePasswordReq) (*UpdatePasswordResp, error)
                      	// DeletePassword deletes the password.
                      	DeletePassword(context.Context, *DeletePasswordReq) (*DeletePasswordResp, error)
                      	// ListPassword lists all password entries.
                      	ListPasswords(context.Context, *ListPasswordReq) (*ListPasswordResp, error)
                      	// GetVersion returns version information of the server.
                      	GetVersion(context.Context, *VersionReq) (*VersionResp, error)
                      	// ListRefresh lists all the refresh token entries for a particular user.
                      	ListRefresh(context.Context, *ListRefreshReq) (*ListRefreshResp, error)
                      	// RevokeRefresh revokes the refresh token for the provided user-client pair.
                      	//
                      	// Note that each user-client pair can have only one refresh token at a time.
                      	RevokeRefresh(context.Context, *RevokeRefreshReq) (*RevokeRefreshResp, error)
                      	// VerifyPassword returns whether a password matches a hash for a specific email or not.
                      	VerifyPassword(context.Context, *VerifyPasswordReq) (*VerifyPasswordResp, error)
                      }

                        DexServer is the server API for Dex service.

                        type ListPasswordReq

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

                          ListPasswordReq is a request to enumerate passwords.

                          func (*ListPasswordReq) Descriptor

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

                          func (*ListPasswordReq) ProtoMessage

                          func (*ListPasswordReq) ProtoMessage()

                          func (*ListPasswordReq) Reset

                          func (m *ListPasswordReq) Reset()

                          func (*ListPasswordReq) String

                          func (m *ListPasswordReq) String() string

                          func (*ListPasswordReq) XXX_DiscardUnknown

                          func (m *ListPasswordReq) XXX_DiscardUnknown()

                          func (*ListPasswordReq) XXX_Marshal

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

                          func (*ListPasswordReq) XXX_Merge

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

                          func (*ListPasswordReq) XXX_Size

                          func (m *ListPasswordReq) XXX_Size() int

                          func (*ListPasswordReq) XXX_Unmarshal

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

                          type ListPasswordResp

                          type ListPasswordResp struct {
                          	Passwords            []*Password `protobuf:"bytes,1,rep,name=passwords,proto3" json:"passwords,omitempty"`
                          	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
                          	XXX_unrecognized     []byte      `json:"-"`
                          	XXX_sizecache        int32       `json:"-"`
                          }

                            ListPasswordResp returns a list of passwords.

                            func (*ListPasswordResp) Descriptor

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

                            func (*ListPasswordResp) GetPasswords

                            func (m *ListPasswordResp) GetPasswords() []*Password

                            func (*ListPasswordResp) ProtoMessage

                            func (*ListPasswordResp) ProtoMessage()

                            func (*ListPasswordResp) Reset

                            func (m *ListPasswordResp) Reset()

                            func (*ListPasswordResp) String

                            func (m *ListPasswordResp) String() string

                            func (*ListPasswordResp) XXX_DiscardUnknown

                            func (m *ListPasswordResp) XXX_DiscardUnknown()

                            func (*ListPasswordResp) XXX_Marshal

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

                            func (*ListPasswordResp) XXX_Merge

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

                            func (*ListPasswordResp) XXX_Size

                            func (m *ListPasswordResp) XXX_Size() int

                            func (*ListPasswordResp) XXX_Unmarshal

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

                            type ListRefreshReq

                            type ListRefreshReq struct {
                            	// The "sub" claim returned in the ID Token.
                            	UserId               string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
                            	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                            	XXX_unrecognized     []byte   `json:"-"`
                            	XXX_sizecache        int32    `json:"-"`
                            }

                              ListRefreshReq is a request to enumerate the refresh tokens of a user.

                              func (*ListRefreshReq) Descriptor

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

                              func (*ListRefreshReq) GetUserId

                              func (m *ListRefreshReq) GetUserId() string

                              func (*ListRefreshReq) ProtoMessage

                              func (*ListRefreshReq) ProtoMessage()

                              func (*ListRefreshReq) Reset

                              func (m *ListRefreshReq) Reset()

                              func (*ListRefreshReq) String

                              func (m *ListRefreshReq) String() string

                              func (*ListRefreshReq) XXX_DiscardUnknown

                              func (m *ListRefreshReq) XXX_DiscardUnknown()

                              func (*ListRefreshReq) XXX_Marshal

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

                              func (*ListRefreshReq) XXX_Merge

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

                              func (*ListRefreshReq) XXX_Size

                              func (m *ListRefreshReq) XXX_Size() int

                              func (*ListRefreshReq) XXX_Unmarshal

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

                              type ListRefreshResp

                              type ListRefreshResp struct {
                              	RefreshTokens        []*RefreshTokenRef `protobuf:"bytes,1,rep,name=refresh_tokens,json=refreshTokens,proto3" json:"refresh_tokens,omitempty"`
                              	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
                              	XXX_unrecognized     []byte             `json:"-"`
                              	XXX_sizecache        int32              `json:"-"`
                              }

                                ListRefreshResp returns a list of refresh tokens for a user.

                                func (*ListRefreshResp) Descriptor

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

                                func (*ListRefreshResp) GetRefreshTokens

                                func (m *ListRefreshResp) GetRefreshTokens() []*RefreshTokenRef

                                func (*ListRefreshResp) ProtoMessage

                                func (*ListRefreshResp) ProtoMessage()

                                func (*ListRefreshResp) Reset

                                func (m *ListRefreshResp) Reset()

                                func (*ListRefreshResp) String

                                func (m *ListRefreshResp) String() string

                                func (*ListRefreshResp) XXX_DiscardUnknown

                                func (m *ListRefreshResp) XXX_DiscardUnknown()

                                func (*ListRefreshResp) XXX_Marshal

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

                                func (*ListRefreshResp) XXX_Merge

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

                                func (*ListRefreshResp) XXX_Size

                                func (m *ListRefreshResp) XXX_Size() int

                                func (*ListRefreshResp) XXX_Unmarshal

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

                                type Password

                                type Password struct {
                                	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
                                	// Currently we do not accept plain text passwords. Could be an option in the future.
                                	Hash                 []byte   `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
                                	Username             string   `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
                                	UserId               string   `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
                                	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                	XXX_unrecognized     []byte   `json:"-"`
                                	XXX_sizecache        int32    `json:"-"`
                                }

                                  Password is an email for password mapping managed by the storage.

                                  func (*Password) Descriptor

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

                                  func (*Password) GetEmail

                                  func (m *Password) GetEmail() string

                                  func (*Password) GetHash

                                  func (m *Password) GetHash() []byte

                                  func (*Password) GetUserId

                                  func (m *Password) GetUserId() string

                                  func (*Password) GetUsername

                                  func (m *Password) GetUsername() string

                                  func (*Password) ProtoMessage

                                  func (*Password) ProtoMessage()

                                  func (*Password) Reset

                                  func (m *Password) Reset()

                                  func (*Password) String

                                  func (m *Password) String() string

                                  func (*Password) XXX_DiscardUnknown

                                  func (m *Password) XXX_DiscardUnknown()

                                  func (*Password) XXX_Marshal

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

                                  func (*Password) XXX_Merge

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

                                  func (*Password) XXX_Size

                                  func (m *Password) XXX_Size() int

                                  func (*Password) XXX_Unmarshal

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

                                  type RefreshTokenRef

                                  type RefreshTokenRef struct {
                                  	// ID of the refresh token.
                                  	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
                                  	ClientId             string   `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
                                  	CreatedAt            int64    `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
                                  	LastUsed             int64    `protobuf:"varint,6,opt,name=last_used,json=lastUsed,proto3" json:"last_used,omitempty"`
                                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                  	XXX_unrecognized     []byte   `json:"-"`
                                  	XXX_sizecache        int32    `json:"-"`
                                  }

                                    RefreshTokenRef contains the metadata for a refresh token that is managed by the storage.

                                    func (*RefreshTokenRef) Descriptor

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

                                    func (*RefreshTokenRef) GetClientId

                                    func (m *RefreshTokenRef) GetClientId() string

                                    func (*RefreshTokenRef) GetCreatedAt

                                    func (m *RefreshTokenRef) GetCreatedAt() int64

                                    func (*RefreshTokenRef) GetId

                                    func (m *RefreshTokenRef) GetId() string

                                    func (*RefreshTokenRef) GetLastUsed

                                    func (m *RefreshTokenRef) GetLastUsed() int64

                                    func (*RefreshTokenRef) ProtoMessage

                                    func (*RefreshTokenRef) ProtoMessage()

                                    func (*RefreshTokenRef) Reset

                                    func (m *RefreshTokenRef) Reset()

                                    func (*RefreshTokenRef) String

                                    func (m *RefreshTokenRef) String() string

                                    func (*RefreshTokenRef) XXX_DiscardUnknown

                                    func (m *RefreshTokenRef) XXX_DiscardUnknown()

                                    func (*RefreshTokenRef) XXX_Marshal

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

                                    func (*RefreshTokenRef) XXX_Merge

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

                                    func (*RefreshTokenRef) XXX_Size

                                    func (m *RefreshTokenRef) XXX_Size() int

                                    func (*RefreshTokenRef) XXX_Unmarshal

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

                                    type RevokeRefreshReq

                                    type RevokeRefreshReq struct {
                                    	// The "sub" claim returned in the ID Token.
                                    	UserId               string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
                                    	ClientId             string   `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
                                    	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                    	XXX_unrecognized     []byte   `json:"-"`
                                    	XXX_sizecache        int32    `json:"-"`
                                    }

                                      RevokeRefreshReq is a request to revoke the refresh token of the user-client pair.

                                      func (*RevokeRefreshReq) Descriptor

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

                                      func (*RevokeRefreshReq) GetClientId

                                      func (m *RevokeRefreshReq) GetClientId() string

                                      func (*RevokeRefreshReq) GetUserId

                                      func (m *RevokeRefreshReq) GetUserId() string

                                      func (*RevokeRefreshReq) ProtoMessage

                                      func (*RevokeRefreshReq) ProtoMessage()

                                      func (*RevokeRefreshReq) Reset

                                      func (m *RevokeRefreshReq) Reset()

                                      func (*RevokeRefreshReq) String

                                      func (m *RevokeRefreshReq) String() string

                                      func (*RevokeRefreshReq) XXX_DiscardUnknown

                                      func (m *RevokeRefreshReq) XXX_DiscardUnknown()

                                      func (*RevokeRefreshReq) XXX_Marshal

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

                                      func (*RevokeRefreshReq) XXX_Merge

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

                                      func (*RevokeRefreshReq) XXX_Size

                                      func (m *RevokeRefreshReq) XXX_Size() int

                                      func (*RevokeRefreshReq) XXX_Unmarshal

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

                                      type RevokeRefreshResp

                                      type RevokeRefreshResp struct {
                                      	// Set to true is refresh token was not found and token could not be revoked.
                                      	NotFound             bool     `protobuf:"varint,1,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"`
                                      	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                      	XXX_unrecognized     []byte   `json:"-"`
                                      	XXX_sizecache        int32    `json:"-"`
                                      }

                                        RevokeRefreshResp determines if the refresh token is revoked successfully.

                                        func (*RevokeRefreshResp) Descriptor

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

                                        func (*RevokeRefreshResp) GetNotFound

                                        func (m *RevokeRefreshResp) GetNotFound() bool

                                        func (*RevokeRefreshResp) ProtoMessage

                                        func (*RevokeRefreshResp) ProtoMessage()

                                        func (*RevokeRefreshResp) Reset

                                        func (m *RevokeRefreshResp) Reset()

                                        func (*RevokeRefreshResp) String

                                        func (m *RevokeRefreshResp) String() string

                                        func (*RevokeRefreshResp) XXX_DiscardUnknown

                                        func (m *RevokeRefreshResp) XXX_DiscardUnknown()

                                        func (*RevokeRefreshResp) XXX_Marshal

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

                                        func (*RevokeRefreshResp) XXX_Merge

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

                                        func (*RevokeRefreshResp) XXX_Size

                                        func (m *RevokeRefreshResp) XXX_Size() int

                                        func (*RevokeRefreshResp) XXX_Unmarshal

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

                                        type UnimplementedDexServer

                                        type UnimplementedDexServer struct {
                                        }

                                          UnimplementedDexServer can be embedded to have forward compatible implementations.

                                          func (*UnimplementedDexServer) CreateClient

                                          func (*UnimplementedDexServer) CreatePassword

                                          func (*UnimplementedDexServer) DeleteClient

                                          func (*UnimplementedDexServer) DeletePassword

                                          func (*UnimplementedDexServer) GetVersion

                                          func (*UnimplementedDexServer) ListPasswords

                                          func (*UnimplementedDexServer) ListRefresh

                                          func (*UnimplementedDexServer) RevokeRefresh

                                          func (*UnimplementedDexServer) UpdateClient

                                          func (*UnimplementedDexServer) UpdatePassword

                                          func (*UnimplementedDexServer) VerifyPassword

                                          type UpdateClientReq

                                          type UpdateClientReq struct {
                                          	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
                                          	RedirectUris         []string `protobuf:"bytes,2,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"`
                                          	TrustedPeers         []string `protobuf:"bytes,3,rep,name=trusted_peers,json=trustedPeers,proto3" json:"trusted_peers,omitempty"`
                                          	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
                                          	LogoUrl              string   `protobuf:"bytes,5,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"`
                                          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                          	XXX_unrecognized     []byte   `json:"-"`
                                          	XXX_sizecache        int32    `json:"-"`
                                          }

                                            UpdateClientReq is a request to update an exisitng client.

                                            func (*UpdateClientReq) Descriptor

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

                                            func (*UpdateClientReq) GetId

                                            func (m *UpdateClientReq) GetId() string

                                            func (*UpdateClientReq) GetLogoUrl

                                            func (m *UpdateClientReq) GetLogoUrl() string

                                            func (*UpdateClientReq) GetName

                                            func (m *UpdateClientReq) GetName() string

                                            func (*UpdateClientReq) GetRedirectUris

                                            func (m *UpdateClientReq) GetRedirectUris() []string

                                            func (*UpdateClientReq) GetTrustedPeers

                                            func (m *UpdateClientReq) GetTrustedPeers() []string

                                            func (*UpdateClientReq) ProtoMessage

                                            func (*UpdateClientReq) ProtoMessage()

                                            func (*UpdateClientReq) Reset

                                            func (m *UpdateClientReq) Reset()

                                            func (*UpdateClientReq) String

                                            func (m *UpdateClientReq) String() string

                                            func (*UpdateClientReq) XXX_DiscardUnknown

                                            func (m *UpdateClientReq) XXX_DiscardUnknown()

                                            func (*UpdateClientReq) XXX_Marshal

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

                                            func (*UpdateClientReq) XXX_Merge

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

                                            func (*UpdateClientReq) XXX_Size

                                            func (m *UpdateClientReq) XXX_Size() int

                                            func (*UpdateClientReq) XXX_Unmarshal

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

                                            type UpdateClientResp

                                            type UpdateClientResp struct {
                                            	NotFound             bool     `protobuf:"varint,1,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"`
                                            	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                            	XXX_unrecognized     []byte   `json:"-"`
                                            	XXX_sizecache        int32    `json:"-"`
                                            }

                                              UpdateClientResp returns the reponse form updating a client.

                                              func (*UpdateClientResp) Descriptor

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

                                              func (*UpdateClientResp) GetNotFound

                                              func (m *UpdateClientResp) GetNotFound() bool

                                              func (*UpdateClientResp) ProtoMessage

                                              func (*UpdateClientResp) ProtoMessage()

                                              func (*UpdateClientResp) Reset

                                              func (m *UpdateClientResp) Reset()

                                              func (*UpdateClientResp) String

                                              func (m *UpdateClientResp) String() string

                                              func (*UpdateClientResp) XXX_DiscardUnknown

                                              func (m *UpdateClientResp) XXX_DiscardUnknown()

                                              func (*UpdateClientResp) XXX_Marshal

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

                                              func (*UpdateClientResp) XXX_Merge

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

                                              func (*UpdateClientResp) XXX_Size

                                              func (m *UpdateClientResp) XXX_Size() int

                                              func (*UpdateClientResp) XXX_Unmarshal

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

                                              type UpdatePasswordReq

                                              type UpdatePasswordReq struct {
                                              	// The email used to lookup the password. This field cannot be modified
                                              	Email                string   `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
                                              	NewHash              []byte   `protobuf:"bytes,2,opt,name=new_hash,json=newHash,proto3" json:"new_hash,omitempty"`
                                              	NewUsername          string   `protobuf:"bytes,3,opt,name=new_username,json=newUsername,proto3" json:"new_username,omitempty"`
                                              	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                              	XXX_unrecognized     []byte   `json:"-"`
                                              	XXX_sizecache        int32    `json:"-"`
                                              }

                                                UpdatePasswordReq is a request to modify an existing password.

                                                func (*UpdatePasswordReq) Descriptor

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

                                                func (*UpdatePasswordReq) GetEmail

                                                func (m *UpdatePasswordReq) GetEmail() string

                                                func (*UpdatePasswordReq) GetNewHash

                                                func (m *UpdatePasswordReq) GetNewHash() []byte

                                                func (*UpdatePasswordReq) GetNewUsername

                                                func (m *UpdatePasswordReq) GetNewUsername() string

                                                func (*UpdatePasswordReq) ProtoMessage

                                                func (*UpdatePasswordReq) ProtoMessage()

                                                func (*UpdatePasswordReq) Reset

                                                func (m *UpdatePasswordReq) Reset()

                                                func (*UpdatePasswordReq) String

                                                func (m *UpdatePasswordReq) String() string

                                                func (*UpdatePasswordReq) XXX_DiscardUnknown

                                                func (m *UpdatePasswordReq) XXX_DiscardUnknown()

                                                func (*UpdatePasswordReq) XXX_Marshal

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

                                                func (*UpdatePasswordReq) XXX_Merge

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

                                                func (*UpdatePasswordReq) XXX_Size

                                                func (m *UpdatePasswordReq) XXX_Size() int

                                                func (*UpdatePasswordReq) XXX_Unmarshal

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

                                                type UpdatePasswordResp

                                                type UpdatePasswordResp struct {
                                                	NotFound             bool     `protobuf:"varint,1,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"`
                                                	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                                	XXX_unrecognized     []byte   `json:"-"`
                                                	XXX_sizecache        int32    `json:"-"`
                                                }

                                                  UpdatePasswordResp returns the response from modifying an existing password.

                                                  func (*UpdatePasswordResp) Descriptor

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

                                                  func (*UpdatePasswordResp) GetNotFound

                                                  func (m *UpdatePasswordResp) GetNotFound() bool

                                                  func (*UpdatePasswordResp) ProtoMessage

                                                  func (*UpdatePasswordResp) ProtoMessage()

                                                  func (*UpdatePasswordResp) Reset

                                                  func (m *UpdatePasswordResp) Reset()

                                                  func (*UpdatePasswordResp) String

                                                  func (m *UpdatePasswordResp) String() string

                                                  func (*UpdatePasswordResp) XXX_DiscardUnknown

                                                  func (m *UpdatePasswordResp) XXX_DiscardUnknown()

                                                  func (*UpdatePasswordResp) XXX_Marshal

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

                                                  func (*UpdatePasswordResp) XXX_Merge

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

                                                  func (*UpdatePasswordResp) XXX_Size

                                                  func (m *UpdatePasswordResp) XXX_Size() int

                                                  func (*UpdatePasswordResp) XXX_Unmarshal

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

                                                  type VerifyPasswordReq

                                                  type VerifyPasswordReq struct {
                                                  	Email                string   `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
                                                  	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
                                                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                                  	XXX_unrecognized     []byte   `json:"-"`
                                                  	XXX_sizecache        int32    `json:"-"`
                                                  }

                                                  func (*VerifyPasswordReq) Descriptor

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

                                                  func (*VerifyPasswordReq) GetEmail

                                                  func (m *VerifyPasswordReq) GetEmail() string

                                                  func (*VerifyPasswordReq) GetPassword

                                                  func (m *VerifyPasswordReq) GetPassword() string

                                                  func (*VerifyPasswordReq) ProtoMessage

                                                  func (*VerifyPasswordReq) ProtoMessage()

                                                  func (*VerifyPasswordReq) Reset

                                                  func (m *VerifyPasswordReq) Reset()

                                                  func (*VerifyPasswordReq) String

                                                  func (m *VerifyPasswordReq) String() string

                                                  func (*VerifyPasswordReq) XXX_DiscardUnknown

                                                  func (m *VerifyPasswordReq) XXX_DiscardUnknown()

                                                  func (*VerifyPasswordReq) XXX_Marshal

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

                                                  func (*VerifyPasswordReq) XXX_Merge

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

                                                  func (*VerifyPasswordReq) XXX_Size

                                                  func (m *VerifyPasswordReq) XXX_Size() int

                                                  func (*VerifyPasswordReq) XXX_Unmarshal

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

                                                  type VerifyPasswordResp

                                                  type VerifyPasswordResp struct {
                                                  	Verified             bool     `protobuf:"varint,1,opt,name=verified,proto3" json:"verified,omitempty"`
                                                  	NotFound             bool     `protobuf:"varint,2,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"`
                                                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                                  	XXX_unrecognized     []byte   `json:"-"`
                                                  	XXX_sizecache        int32    `json:"-"`
                                                  }

                                                  func (*VerifyPasswordResp) Descriptor

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

                                                  func (*VerifyPasswordResp) GetNotFound

                                                  func (m *VerifyPasswordResp) GetNotFound() bool

                                                  func (*VerifyPasswordResp) GetVerified

                                                  func (m *VerifyPasswordResp) GetVerified() bool

                                                  func (*VerifyPasswordResp) ProtoMessage

                                                  func (*VerifyPasswordResp) ProtoMessage()

                                                  func (*VerifyPasswordResp) Reset

                                                  func (m *VerifyPasswordResp) Reset()

                                                  func (*VerifyPasswordResp) String

                                                  func (m *VerifyPasswordResp) String() string

                                                  func (*VerifyPasswordResp) XXX_DiscardUnknown

                                                  func (m *VerifyPasswordResp) XXX_DiscardUnknown()

                                                  func (*VerifyPasswordResp) XXX_Marshal

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

                                                  func (*VerifyPasswordResp) XXX_Merge

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

                                                  func (*VerifyPasswordResp) XXX_Size

                                                  func (m *VerifyPasswordResp) XXX_Size() int

                                                  func (*VerifyPasswordResp) XXX_Unmarshal

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

                                                  type VersionReq

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

                                                    VersionReq is a request to fetch version info.

                                                    func (*VersionReq) Descriptor

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

                                                    func (*VersionReq) ProtoMessage

                                                    func (*VersionReq) ProtoMessage()

                                                    func (*VersionReq) Reset

                                                    func (m *VersionReq) Reset()

                                                    func (*VersionReq) String

                                                    func (m *VersionReq) String() string

                                                    func (*VersionReq) XXX_DiscardUnknown

                                                    func (m *VersionReq) XXX_DiscardUnknown()

                                                    func (*VersionReq) XXX_Marshal

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

                                                    func (*VersionReq) XXX_Merge

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

                                                    func (*VersionReq) XXX_Size

                                                    func (m *VersionReq) XXX_Size() int

                                                    func (*VersionReq) XXX_Unmarshal

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

                                                    type VersionResp

                                                    type VersionResp struct {
                                                    	// Semantic version of the server.
                                                    	Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
                                                    	// Numeric version of the API. It increases everytime a new call is added to the API.
                                                    	// Clients should use this info to determine if the server supports specific features.
                                                    	Api                  int32    `protobuf:"varint,2,opt,name=api,proto3" json:"api,omitempty"`
                                                    	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                                    	XXX_unrecognized     []byte   `json:"-"`
                                                    	XXX_sizecache        int32    `json:"-"`
                                                    }

                                                      VersionResp holds the version info of components.

                                                      func (*VersionResp) Descriptor

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

                                                      func (*VersionResp) GetApi

                                                      func (m *VersionResp) GetApi() int32

                                                      func (*VersionResp) GetServer

                                                      func (m *VersionResp) GetServer() string

                                                      func (*VersionResp) ProtoMessage

                                                      func (*VersionResp) ProtoMessage()

                                                      func (*VersionResp) Reset

                                                      func (m *VersionResp) Reset()

                                                      func (*VersionResp) String

                                                      func (m *VersionResp) String() string

                                                      func (*VersionResp) XXX_DiscardUnknown

                                                      func (m *VersionResp) XXX_DiscardUnknown()

                                                      func (*VersionResp) XXX_Marshal

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

                                                      func (*VersionResp) XXX_Merge

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

                                                      func (*VersionResp) XXX_Size

                                                      func (m *VersionResp) XXX_Size() int

                                                      func (*VersionResp) XXX_Unmarshal

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

                                                      Source Files