Documentation ¶
Overview ¶
Package info is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterInfoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterInfoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InfoServiceClient) error
- func RegisterInfoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterInfoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InfoServiceServer) error
- func RegisterInfoServiceServer(s *grpc.Server, srv InfoServiceServer)
- type CollectEventRequest
- func (*CollectEventRequest) Descriptor() ([]byte, []int)
- func (m *CollectEventRequest) GetName() string
- func (m *CollectEventRequest) Marshal() (dAtA []byte, err error)
- func (m *CollectEventRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CollectEventRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CollectEventRequest) ProtoMessage()
- func (m *CollectEventRequest) Reset()
- func (m *CollectEventRequest) Size() (n int)
- func (m *CollectEventRequest) String() string
- func (m *CollectEventRequest) Unmarshal(dAtA []byte) error
- func (m *CollectEventRequest) XXX_DiscardUnknown()
- func (m *CollectEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectEventRequest) XXX_Merge(src proto.Message)
- func (m *CollectEventRequest) XXX_Size() int
- func (m *CollectEventRequest) XXX_Unmarshal(b []byte) error
- type CollectEventResponse
- func (*CollectEventResponse) Descriptor() ([]byte, []int)
- func (m *CollectEventResponse) Marshal() (dAtA []byte, err error)
- func (m *CollectEventResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CollectEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CollectEventResponse) ProtoMessage()
- func (m *CollectEventResponse) Reset()
- func (m *CollectEventResponse) Size() (n int)
- func (m *CollectEventResponse) String() string
- func (m *CollectEventResponse) Unmarshal(dAtA []byte) error
- func (m *CollectEventResponse) XXX_DiscardUnknown()
- func (m *CollectEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectEventResponse) XXX_Merge(src proto.Message)
- func (m *CollectEventResponse) XXX_Size() int
- func (m *CollectEventResponse) XXX_Unmarshal(b []byte) error
- type GetInfoRequest
- func (*GetInfoRequest) Descriptor() ([]byte, []int)
- func (m *GetInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *GetInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetInfoRequest) ProtoMessage()
- func (m *GetInfoRequest) Reset()
- func (m *GetInfoRequest) Size() (n int)
- func (m *GetInfoRequest) String() string
- func (m *GetInfoRequest) Unmarshal(dAtA []byte) error
- func (m *GetInfoRequest) XXX_DiscardUnknown()
- func (m *GetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetInfoRequest) XXX_Size() int
- func (m *GetInfoRequest) XXX_Unmarshal(b []byte) error
- type GetUserInfoRequest
- func (*GetUserInfoRequest) Descriptor() ([]byte, []int)
- func (m *GetUserInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *GetUserInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetUserInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetUserInfoRequest) ProtoMessage()
- func (m *GetUserInfoRequest) Reset()
- func (m *GetUserInfoRequest) Size() (n int)
- func (m *GetUserInfoRequest) String() string
- func (m *GetUserInfoRequest) Unmarshal(dAtA []byte) error
- func (m *GetUserInfoRequest) XXX_DiscardUnknown()
- func (m *GetUserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetUserInfoRequest) XXX_Size() int
- func (m *GetUserInfoRequest) XXX_Unmarshal(b []byte) error
- type GetUserInfoResponse
- func (*GetUserInfoResponse) Descriptor() ([]byte, []int)
- func (m *GetUserInfoResponse) GetEmail() string
- func (m *GetUserInfoResponse) GetEmailVerified() bool
- func (m *GetUserInfoResponse) GetGroups() []string
- func (m *GetUserInfoResponse) GetIssuer() string
- func (m *GetUserInfoResponse) GetName() string
- func (m *GetUserInfoResponse) GetServiceAccountName() string
- func (m *GetUserInfoResponse) GetServiceAccountNamespace() string
- func (m *GetUserInfoResponse) GetSubject() string
- func (m *GetUserInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *GetUserInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetUserInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetUserInfoResponse) ProtoMessage()
- func (m *GetUserInfoResponse) Reset()
- func (m *GetUserInfoResponse) Size() (n int)
- func (m *GetUserInfoResponse) String() string
- func (m *GetUserInfoResponse) Unmarshal(dAtA []byte) error
- func (m *GetUserInfoResponse) XXX_DiscardUnknown()
- func (m *GetUserInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserInfoResponse) XXX_Merge(src proto.Message)
- func (m *GetUserInfoResponse) XXX_Size() int
- func (m *GetUserInfoResponse) XXX_Unmarshal(b []byte) error
- type GetVersionRequest
- func (*GetVersionRequest) Descriptor() ([]byte, []int)
- func (m *GetVersionRequest) Marshal() (dAtA []byte, err error)
- func (m *GetVersionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetVersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetVersionRequest) ProtoMessage()
- func (m *GetVersionRequest) Reset()
- func (m *GetVersionRequest) Size() (n int)
- func (m *GetVersionRequest) String() string
- func (m *GetVersionRequest) Unmarshal(dAtA []byte) error
- func (m *GetVersionRequest) XXX_DiscardUnknown()
- func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVersionRequest) XXX_Merge(src proto.Message)
- func (m *GetVersionRequest) XXX_Size() int
- func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error
- type InfoResponse
- func (*InfoResponse) Descriptor() ([]byte, []int)
- func (m *InfoResponse) GetColumns() []*v1alpha1.Column
- func (m *InfoResponse) GetLinks() []*v1alpha1.Link
- func (m *InfoResponse) GetManagedNamespace() string
- func (m *InfoResponse) GetModals() map[string]bool
- func (m *InfoResponse) GetNavColor() string
- func (m *InfoResponse) Marshal() (dAtA []byte, err error)
- func (m *InfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *InfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InfoResponse) ProtoMessage()
- func (m *InfoResponse) Reset()
- func (m *InfoResponse) Size() (n int)
- func (m *InfoResponse) String() string
- func (m *InfoResponse) Unmarshal(dAtA []byte) error
- func (m *InfoResponse) XXX_DiscardUnknown()
- func (m *InfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InfoResponse) XXX_Merge(src proto.Message)
- func (m *InfoResponse) XXX_Size() int
- func (m *InfoResponse) XXX_Unmarshal(b []byte) error
- type InfoServiceClient
- type InfoServiceServer
- type UnimplementedInfoServiceServer
- func (*UnimplementedInfoServiceServer) CollectEvent(ctx context.Context, req *CollectEventRequest) (*CollectEventResponse, error)
- func (*UnimplementedInfoServiceServer) GetInfo(ctx context.Context, req *GetInfoRequest) (*InfoResponse, error)
- func (*UnimplementedInfoServiceServer) GetUserInfo(ctx context.Context, req *GetUserInfoRequest) (*GetUserInfoResponse, error)
- func (*UnimplementedInfoServiceServer) GetVersion(ctx context.Context, req *GetVersionRequest) (*v1alpha1.Version, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterInfoServiceHandler ¶
func RegisterInfoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterInfoServiceHandler registers the http handlers for service InfoService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterInfoServiceHandlerClient ¶
func RegisterInfoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InfoServiceClient) error
RegisterInfoServiceHandlerClient registers the http handlers for service InfoService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "InfoServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "InfoServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "InfoServiceClient" to call the correct interceptors.
func RegisterInfoServiceHandlerFromEndpoint ¶
func RegisterInfoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterInfoServiceHandlerFromEndpoint is same as RegisterInfoServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterInfoServiceHandlerServer ¶
func RegisterInfoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InfoServiceServer) error
RegisterInfoServiceHandlerServer registers the http handlers for service InfoService to "mux". UnaryRPC :call InfoServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterInfoServiceHandlerFromEndpoint instead.
func RegisterInfoServiceServer ¶
func RegisterInfoServiceServer(s *grpc.Server, srv InfoServiceServer)
Types ¶
type CollectEventRequest ¶ added in v3.4.0
type CollectEventRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CollectEventRequest) Descriptor ¶ added in v3.4.0
func (*CollectEventRequest) Descriptor() ([]byte, []int)
func (*CollectEventRequest) GetName ¶ added in v3.4.0
func (m *CollectEventRequest) GetName() string
func (*CollectEventRequest) Marshal ¶ added in v3.4.0
func (m *CollectEventRequest) Marshal() (dAtA []byte, err error)
func (*CollectEventRequest) MarshalTo ¶ added in v3.4.0
func (m *CollectEventRequest) MarshalTo(dAtA []byte) (int, error)
func (*CollectEventRequest) MarshalToSizedBuffer ¶ added in v3.4.0
func (m *CollectEventRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CollectEventRequest) ProtoMessage ¶ added in v3.4.0
func (*CollectEventRequest) ProtoMessage()
func (*CollectEventRequest) Reset ¶ added in v3.4.0
func (m *CollectEventRequest) Reset()
func (*CollectEventRequest) Size ¶ added in v3.4.0
func (m *CollectEventRequest) Size() (n int)
func (*CollectEventRequest) String ¶ added in v3.4.0
func (m *CollectEventRequest) String() string
func (*CollectEventRequest) Unmarshal ¶ added in v3.4.0
func (m *CollectEventRequest) Unmarshal(dAtA []byte) error
func (*CollectEventRequest) XXX_DiscardUnknown ¶ added in v3.4.0
func (m *CollectEventRequest) XXX_DiscardUnknown()
func (*CollectEventRequest) XXX_Marshal ¶ added in v3.4.0
func (m *CollectEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectEventRequest) XXX_Merge ¶ added in v3.4.0
func (m *CollectEventRequest) XXX_Merge(src proto.Message)
func (*CollectEventRequest) XXX_Size ¶ added in v3.4.0
func (m *CollectEventRequest) XXX_Size() int
func (*CollectEventRequest) XXX_Unmarshal ¶ added in v3.4.0
func (m *CollectEventRequest) XXX_Unmarshal(b []byte) error
type CollectEventResponse ¶ added in v3.4.0
type CollectEventResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CollectEventResponse) Descriptor ¶ added in v3.4.0
func (*CollectEventResponse) Descriptor() ([]byte, []int)
func (*CollectEventResponse) Marshal ¶ added in v3.4.0
func (m *CollectEventResponse) Marshal() (dAtA []byte, err error)
func (*CollectEventResponse) MarshalTo ¶ added in v3.4.0
func (m *CollectEventResponse) MarshalTo(dAtA []byte) (int, error)
func (*CollectEventResponse) MarshalToSizedBuffer ¶ added in v3.4.0
func (m *CollectEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CollectEventResponse) ProtoMessage ¶ added in v3.4.0
func (*CollectEventResponse) ProtoMessage()
func (*CollectEventResponse) Reset ¶ added in v3.4.0
func (m *CollectEventResponse) Reset()
func (*CollectEventResponse) Size ¶ added in v3.4.0
func (m *CollectEventResponse) Size() (n int)
func (*CollectEventResponse) String ¶ added in v3.4.0
func (m *CollectEventResponse) String() string
func (*CollectEventResponse) Unmarshal ¶ added in v3.4.0
func (m *CollectEventResponse) Unmarshal(dAtA []byte) error
func (*CollectEventResponse) XXX_DiscardUnknown ¶ added in v3.4.0
func (m *CollectEventResponse) XXX_DiscardUnknown()
func (*CollectEventResponse) XXX_Marshal ¶ added in v3.4.0
func (m *CollectEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectEventResponse) XXX_Merge ¶ added in v3.4.0
func (m *CollectEventResponse) XXX_Merge(src proto.Message)
func (*CollectEventResponse) XXX_Size ¶ added in v3.4.0
func (m *CollectEventResponse) XXX_Size() int
func (*CollectEventResponse) XXX_Unmarshal ¶ added in v3.4.0
func (m *CollectEventResponse) XXX_Unmarshal(b []byte) error
type GetInfoRequest ¶
type GetInfoRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetInfoRequest) Descriptor ¶
func (*GetInfoRequest) Descriptor() ([]byte, []int)
func (*GetInfoRequest) Marshal ¶
func (m *GetInfoRequest) Marshal() (dAtA []byte, err error)
func (*GetInfoRequest) MarshalToSizedBuffer ¶
func (m *GetInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetInfoRequest) ProtoMessage ¶
func (*GetInfoRequest) ProtoMessage()
func (*GetInfoRequest) Reset ¶
func (m *GetInfoRequest) Reset()
func (*GetInfoRequest) Size ¶
func (m *GetInfoRequest) Size() (n int)
func (*GetInfoRequest) String ¶
func (m *GetInfoRequest) String() string
func (*GetInfoRequest) Unmarshal ¶
func (m *GetInfoRequest) Unmarshal(dAtA []byte) error
func (*GetInfoRequest) XXX_DiscardUnknown ¶
func (m *GetInfoRequest) XXX_DiscardUnknown()
func (*GetInfoRequest) XXX_Marshal ¶
func (m *GetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInfoRequest) XXX_Merge ¶
func (m *GetInfoRequest) XXX_Merge(src proto.Message)
func (*GetInfoRequest) XXX_Size ¶
func (m *GetInfoRequest) XXX_Size() int
func (*GetInfoRequest) XXX_Unmarshal ¶
func (m *GetInfoRequest) XXX_Unmarshal(b []byte) error
type GetUserInfoRequest ¶
type GetUserInfoRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserInfoRequest) Descriptor ¶
func (*GetUserInfoRequest) Descriptor() ([]byte, []int)
func (*GetUserInfoRequest) Marshal ¶
func (m *GetUserInfoRequest) Marshal() (dAtA []byte, err error)
func (*GetUserInfoRequest) MarshalTo ¶
func (m *GetUserInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetUserInfoRequest) MarshalToSizedBuffer ¶
func (m *GetUserInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetUserInfoRequest) ProtoMessage ¶
func (*GetUserInfoRequest) ProtoMessage()
func (*GetUserInfoRequest) Reset ¶
func (m *GetUserInfoRequest) Reset()
func (*GetUserInfoRequest) Size ¶
func (m *GetUserInfoRequest) Size() (n int)
func (*GetUserInfoRequest) String ¶
func (m *GetUserInfoRequest) String() string
func (*GetUserInfoRequest) Unmarshal ¶
func (m *GetUserInfoRequest) Unmarshal(dAtA []byte) error
func (*GetUserInfoRequest) XXX_DiscardUnknown ¶
func (m *GetUserInfoRequest) XXX_DiscardUnknown()
func (*GetUserInfoRequest) XXX_Marshal ¶
func (m *GetUserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserInfoRequest) XXX_Merge ¶
func (m *GetUserInfoRequest) XXX_Merge(src proto.Message)
func (*GetUserInfoRequest) XXX_Size ¶
func (m *GetUserInfoRequest) XXX_Size() int
func (*GetUserInfoRequest) XXX_Unmarshal ¶
func (m *GetUserInfoRequest) XXX_Unmarshal(b []byte) error
type GetUserInfoResponse ¶
type GetUserInfoResponse struct { Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` Groups []string `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` EmailVerified bool `protobuf:"varint,5,opt,name=emailVerified,proto3" json:"emailVerified,omitempty"` ServiceAccountName string `protobuf:"bytes,6,opt,name=serviceAccountName,proto3" json:"serviceAccountName,omitempty"` ServiceAccountNamespace string `protobuf:"bytes,7,opt,name=serviceAccountNamespace,proto3" json:"serviceAccountNamespace,omitempty"` Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserInfoResponse) Descriptor ¶
func (*GetUserInfoResponse) Descriptor() ([]byte, []int)
func (*GetUserInfoResponse) GetEmail ¶
func (m *GetUserInfoResponse) GetEmail() string
func (*GetUserInfoResponse) GetEmailVerified ¶
func (m *GetUserInfoResponse) GetEmailVerified() bool
func (*GetUserInfoResponse) GetGroups ¶
func (m *GetUserInfoResponse) GetGroups() []string
func (*GetUserInfoResponse) GetIssuer ¶
func (m *GetUserInfoResponse) GetIssuer() string
func (*GetUserInfoResponse) GetName ¶ added in v3.5.0
func (m *GetUserInfoResponse) GetName() string
func (*GetUserInfoResponse) GetServiceAccountName ¶
func (m *GetUserInfoResponse) GetServiceAccountName() string
func (*GetUserInfoResponse) GetServiceAccountNamespace ¶ added in v3.4.0
func (m *GetUserInfoResponse) GetServiceAccountNamespace() string
func (*GetUserInfoResponse) GetSubject ¶
func (m *GetUserInfoResponse) GetSubject() string
func (*GetUserInfoResponse) Marshal ¶
func (m *GetUserInfoResponse) Marshal() (dAtA []byte, err error)
func (*GetUserInfoResponse) MarshalTo ¶
func (m *GetUserInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetUserInfoResponse) MarshalToSizedBuffer ¶
func (m *GetUserInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetUserInfoResponse) ProtoMessage ¶
func (*GetUserInfoResponse) ProtoMessage()
func (*GetUserInfoResponse) Reset ¶
func (m *GetUserInfoResponse) Reset()
func (*GetUserInfoResponse) Size ¶
func (m *GetUserInfoResponse) Size() (n int)
func (*GetUserInfoResponse) String ¶
func (m *GetUserInfoResponse) String() string
func (*GetUserInfoResponse) Unmarshal ¶
func (m *GetUserInfoResponse) Unmarshal(dAtA []byte) error
func (*GetUserInfoResponse) XXX_DiscardUnknown ¶
func (m *GetUserInfoResponse) XXX_DiscardUnknown()
func (*GetUserInfoResponse) XXX_Marshal ¶
func (m *GetUserInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserInfoResponse) XXX_Merge ¶
func (m *GetUserInfoResponse) XXX_Merge(src proto.Message)
func (*GetUserInfoResponse) XXX_Size ¶
func (m *GetUserInfoResponse) XXX_Size() int
func (*GetUserInfoResponse) XXX_Unmarshal ¶
func (m *GetUserInfoResponse) XXX_Unmarshal(b []byte) error
type GetVersionRequest ¶
type GetVersionRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetVersionRequest) Descriptor ¶
func (*GetVersionRequest) Descriptor() ([]byte, []int)
func (*GetVersionRequest) Marshal ¶
func (m *GetVersionRequest) Marshal() (dAtA []byte, err error)
func (*GetVersionRequest) MarshalTo ¶
func (m *GetVersionRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetVersionRequest) MarshalToSizedBuffer ¶
func (m *GetVersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetVersionRequest) ProtoMessage ¶
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) Reset ¶
func (m *GetVersionRequest) Reset()
func (*GetVersionRequest) Size ¶
func (m *GetVersionRequest) Size() (n int)
func (*GetVersionRequest) String ¶
func (m *GetVersionRequest) String() string
func (*GetVersionRequest) Unmarshal ¶
func (m *GetVersionRequest) Unmarshal(dAtA []byte) error
func (*GetVersionRequest) XXX_DiscardUnknown ¶
func (m *GetVersionRequest) XXX_DiscardUnknown()
func (*GetVersionRequest) XXX_Marshal ¶
func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVersionRequest) XXX_Merge ¶
func (m *GetVersionRequest) XXX_Merge(src proto.Message)
func (*GetVersionRequest) XXX_Size ¶
func (m *GetVersionRequest) XXX_Size() int
func (*GetVersionRequest) XXX_Unmarshal ¶
func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error
type InfoResponse ¶
type InfoResponse struct { ManagedNamespace string `protobuf:"bytes,1,opt,name=managedNamespace,proto3" json:"managedNamespace,omitempty"` Links []*v1alpha1.Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"` // which modals to show Modals map[string]bool `` /* 154-byte string literal not displayed */ Columns []*v1alpha1.Column `protobuf:"bytes,5,rep,name=columns,proto3" json:"columns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InfoResponse) Descriptor ¶
func (*InfoResponse) Descriptor() ([]byte, []int)
func (*InfoResponse) GetColumns ¶ added in v3.4.7
func (m *InfoResponse) GetColumns() []*v1alpha1.Column
func (*InfoResponse) GetLinks ¶
func (m *InfoResponse) GetLinks() []*v1alpha1.Link
func (*InfoResponse) GetManagedNamespace ¶
func (m *InfoResponse) GetManagedNamespace() string
func (*InfoResponse) GetModals ¶ added in v3.3.0
func (m *InfoResponse) GetModals() map[string]bool
func (*InfoResponse) GetNavColor ¶ added in v3.3.0
func (m *InfoResponse) GetNavColor() string
func (*InfoResponse) Marshal ¶
func (m *InfoResponse) Marshal() (dAtA []byte, err error)
func (*InfoResponse) MarshalToSizedBuffer ¶
func (m *InfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InfoResponse) ProtoMessage ¶
func (*InfoResponse) ProtoMessage()
func (*InfoResponse) Reset ¶
func (m *InfoResponse) Reset()
func (*InfoResponse) Size ¶
func (m *InfoResponse) Size() (n int)
func (*InfoResponse) String ¶
func (m *InfoResponse) String() string
func (*InfoResponse) Unmarshal ¶
func (m *InfoResponse) Unmarshal(dAtA []byte) error
func (*InfoResponse) XXX_DiscardUnknown ¶
func (m *InfoResponse) XXX_DiscardUnknown()
func (*InfoResponse) XXX_Marshal ¶
func (m *InfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InfoResponse) XXX_Merge ¶
func (m *InfoResponse) XXX_Merge(src proto.Message)
func (*InfoResponse) XXX_Size ¶
func (m *InfoResponse) XXX_Size() int
func (*InfoResponse) XXX_Unmarshal ¶
func (m *InfoResponse) XXX_Unmarshal(b []byte) error
type InfoServiceClient ¶
type InfoServiceClient interface { GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*v1alpha1.Version, error) GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...grpc.CallOption) (*GetUserInfoResponse, error) CollectEvent(ctx context.Context, in *CollectEventRequest, opts ...grpc.CallOption) (*CollectEventResponse, error) }
InfoServiceClient is the client API for InfoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewInfoServiceClient ¶
func NewInfoServiceClient(cc *grpc.ClientConn) InfoServiceClient
type InfoServiceServer ¶
type InfoServiceServer interface { GetInfo(context.Context, *GetInfoRequest) (*InfoResponse, error) GetVersion(context.Context, *GetVersionRequest) (*v1alpha1.Version, error) GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error) CollectEvent(context.Context, *CollectEventRequest) (*CollectEventResponse, error) }
InfoServiceServer is the server API for InfoService service.
type UnimplementedInfoServiceServer ¶
type UnimplementedInfoServiceServer struct { }
UnimplementedInfoServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedInfoServiceServer) CollectEvent ¶ added in v3.4.0
func (*UnimplementedInfoServiceServer) CollectEvent(ctx context.Context, req *CollectEventRequest) (*CollectEventResponse, error)
func (*UnimplementedInfoServiceServer) GetInfo ¶
func (*UnimplementedInfoServiceServer) GetInfo(ctx context.Context, req *GetInfoRequest) (*InfoResponse, error)
func (*UnimplementedInfoServiceServer) GetUserInfo ¶
func (*UnimplementedInfoServiceServer) GetUserInfo(ctx context.Context, req *GetUserInfoRequest) (*GetUserInfoResponse, error)
func (*UnimplementedInfoServiceServer) GetVersion ¶
func (*UnimplementedInfoServiceServer) GetVersion(ctx context.Context, req *GetVersionRequest) (*v1alpha1.Version, error)