Documentation ¶
Index ¶
- func RegisterProviderAPIServer(s *grpc.Server, srv ProviderAPIServer)
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticateRequest) GetClientId() string
- func (m *AuthenticateRequest) GetClientSecret() string
- func (m *AuthenticateRequest) GetOpaque() *v1beta1.Opaque
- func (*AuthenticateRequest) ProtoMessage()
- func (m *AuthenticateRequest) Reset()
- func (m *AuthenticateRequest) String() string
- func (m *AuthenticateRequest) XXX_DiscardUnknown()
- func (m *AuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticateRequest) XXX_Merge(src proto.Message)
- func (m *AuthenticateRequest) XXX_Size() int
- func (m *AuthenticateRequest) XXX_Unmarshal(b []byte) error
- type AuthenticateResponse
- func (*AuthenticateResponse) Descriptor() ([]byte, []int)
- func (m *AuthenticateResponse) GetStatus() *v1beta11.Status
- func (m *AuthenticateResponse) GetUser() *v1beta12.User
- func (*AuthenticateResponse) ProtoMessage()
- func (m *AuthenticateResponse) Reset()
- func (m *AuthenticateResponse) String() string
- func (m *AuthenticateResponse) XXX_DiscardUnknown()
- func (m *AuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticateResponse) XXX_Merge(src proto.Message)
- func (m *AuthenticateResponse) XXX_Size() int
- func (m *AuthenticateResponse) XXX_Unmarshal(b []byte) error
- type ProviderAPIClient
- type ProviderAPIServer
- type UnimplementedProviderAPIServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProviderAPIServer ¶
func RegisterProviderAPIServer(s *grpc.Server, srv ProviderAPIServer)
Types ¶
type AuthenticateRequest ¶
type AuthenticateRequest struct { Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthenticateRequest) Descriptor ¶
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
func (*AuthenticateRequest) GetClientId ¶
func (m *AuthenticateRequest) GetClientId() string
func (*AuthenticateRequest) GetClientSecret ¶
func (m *AuthenticateRequest) GetClientSecret() string
func (*AuthenticateRequest) GetOpaque ¶
func (m *AuthenticateRequest) GetOpaque() *v1beta1.Opaque
func (*AuthenticateRequest) ProtoMessage ¶
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) Reset ¶
func (m *AuthenticateRequest) Reset()
func (*AuthenticateRequest) String ¶
func (m *AuthenticateRequest) String() string
func (*AuthenticateRequest) XXX_DiscardUnknown ¶
func (m *AuthenticateRequest) XXX_DiscardUnknown()
func (*AuthenticateRequest) XXX_Marshal ¶
func (m *AuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateRequest) XXX_Merge ¶
func (m *AuthenticateRequest) XXX_Merge(src proto.Message)
func (*AuthenticateRequest) XXX_Size ¶
func (m *AuthenticateRequest) XXX_Size() int
func (*AuthenticateRequest) XXX_Unmarshal ¶
func (m *AuthenticateRequest) XXX_Unmarshal(b []byte) error
type AuthenticateResponse ¶
type AuthenticateResponse struct { Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` User *v1beta12.User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthenticateResponse) Descriptor ¶
func (*AuthenticateResponse) Descriptor() ([]byte, []int)
func (*AuthenticateResponse) GetStatus ¶
func (m *AuthenticateResponse) GetStatus() *v1beta11.Status
func (*AuthenticateResponse) GetUser ¶
func (m *AuthenticateResponse) GetUser() *v1beta12.User
func (*AuthenticateResponse) ProtoMessage ¶
func (*AuthenticateResponse) ProtoMessage()
func (*AuthenticateResponse) Reset ¶
func (m *AuthenticateResponse) Reset()
func (*AuthenticateResponse) String ¶
func (m *AuthenticateResponse) String() string
func (*AuthenticateResponse) XXX_DiscardUnknown ¶
func (m *AuthenticateResponse) XXX_DiscardUnknown()
func (*AuthenticateResponse) XXX_Marshal ¶
func (m *AuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateResponse) XXX_Merge ¶
func (m *AuthenticateResponse) XXX_Merge(src proto.Message)
func (*AuthenticateResponse) XXX_Size ¶
func (m *AuthenticateResponse) XXX_Size() int
func (*AuthenticateResponse) XXX_Unmarshal ¶
func (m *AuthenticateResponse) XXX_Unmarshal(b []byte) error
type ProviderAPIClient ¶
type ProviderAPIClient interface { // Authenticate authenticates a client. Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) }
ProviderAPIClient is the client API for ProviderAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProviderAPIClient ¶
func NewProviderAPIClient(cc *grpc.ClientConn) ProviderAPIClient
type ProviderAPIServer ¶
type ProviderAPIServer interface { // Authenticate authenticates a client. Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) }
ProviderAPIServer is the server API for ProviderAPI service.
type UnimplementedProviderAPIServer ¶
type UnimplementedProviderAPIServer struct { }
UnimplementedProviderAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedProviderAPIServer) Authenticate ¶
func (*UnimplementedProviderAPIServer) Authenticate(ctx context.Context, req *AuthenticateRequest) (*AuthenticateResponse, error)
Click to show internal directories.
Click to hide internal directories.