Documentation ¶
Overview ¶
Package mpa defines the RPC interface for the sansshell MPA actions.
Index ¶
- Constants
- Variables
- func RegisterMpaServer(s grpc.ServiceRegistrar, srv MpaServer)
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetJustification() string
- func (x *Action) GetMessage() *anypb.Any
- func (x *Action) GetMethod() string
- func (x *Action) GetUser() string
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type ApproveManyResponse
- type ApproveRequest
- type ApproveResponse
- type ClearManyResponse
- type ClearRequest
- type ClearResponse
- type GetManyResponse
- type GetRequest
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetAction() *Action
- func (x *GetResponse) GetApprover() []*Principal
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- type ListManyResponse
- type ListRequest
- type ListResponse
- type ListResponse_Item
- func (*ListResponse_Item) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse_Item) GetAction() *Action
- func (x *ListResponse_Item) GetApprover() []*Principal
- func (x *ListResponse_Item) GetId() string
- func (*ListResponse_Item) ProtoMessage()
- func (x *ListResponse_Item) ProtoReflect() protoreflect.Message
- func (x *ListResponse_Item) Reset()
- func (x *ListResponse_Item) String() string
- type MpaClient
- type MpaClientProxy
- type MpaServer
- type Principal
- type StoreManyResponse
- type StoreRequest
- func (*StoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreRequest) GetMessage() *anypb.Any
- func (x *StoreRequest) GetMethod() string
- func (*StoreRequest) ProtoMessage()
- func (x *StoreRequest) ProtoReflect() protoreflect.Message
- func (x *StoreRequest) Reset()
- func (x *StoreRequest) String() string
- type StoreResponse
- func (*StoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StoreResponse) GetAction() *Action
- func (x *StoreResponse) GetApprover() []*Principal
- func (x *StoreResponse) GetId() string
- func (*StoreResponse) ProtoMessage()
- func (x *StoreResponse) ProtoReflect() protoreflect.Message
- func (x *StoreResponse) Reset()
- func (x *StoreResponse) String() string
- type UnimplementedMpaServer
- func (UnimplementedMpaServer) Approve(context.Context, *ApproveRequest) (*ApproveResponse, error)
- func (UnimplementedMpaServer) Clear(context.Context, *ClearRequest) (*ClearResponse, error)
- func (UnimplementedMpaServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedMpaServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedMpaServer) Store(context.Context, *StoreRequest) (*StoreResponse, error)
- func (UnimplementedMpaServer) WaitForApproval(context.Context, *WaitForApprovalRequest) (*WaitForApprovalResponse, error)
- type UnsafeMpaServer
- type WaitForApprovalManyResponse
- type WaitForApprovalRequest
- func (*WaitForApprovalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForApprovalRequest) GetId() string
- func (*WaitForApprovalRequest) ProtoMessage()
- func (x *WaitForApprovalRequest) ProtoReflect() protoreflect.Message
- func (x *WaitForApprovalRequest) Reset()
- func (x *WaitForApprovalRequest) String() string
- type WaitForApprovalResponse
Constants ¶
const ( Mpa_Store_FullMethodName = "/Mpa.Mpa/Store" Mpa_Approve_FullMethodName = "/Mpa.Mpa/Approve" Mpa_WaitForApproval_FullMethodName = "/Mpa.Mpa/WaitForApproval" Mpa_List_FullMethodName = "/Mpa.Mpa/List" Mpa_Get_FullMethodName = "/Mpa.Mpa/Get" Mpa_Clear_FullMethodName = "/Mpa.Mpa/Clear" )
Variables ¶
var File_mpa_proto protoreflect.FileDescriptor
var Mpa_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Mpa.Mpa", HandlerType: (*MpaServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Store", Handler: _Mpa_Store_Handler, }, { MethodName: "Approve", Handler: _Mpa_Approve_Handler, }, { MethodName: "WaitForApproval", Handler: _Mpa_WaitForApproval_Handler, }, { MethodName: "List", Handler: _Mpa_List_Handler, }, { MethodName: "Get", Handler: _Mpa_Get_Handler, }, { MethodName: "Clear", Handler: _Mpa_Clear_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mpa.proto", }
Mpa_ServiceDesc is the grpc.ServiceDesc for Mpa service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMpaServer ¶
func RegisterMpaServer(s grpc.ServiceRegistrar, srv MpaServer)
Types ¶
type Action ¶
type Action struct { // The user that created the request. User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // User-supplied information on why the request is being made. Justification string `protobuf:"bytes,2,opt,name=justification,proto3" json:"justification,omitempty"` // The GRPC method name, as '/Package.Service/Method' Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` // The request protocol buffer. Message *anypb.Any `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Action) Descriptor
deprecated
func (*Action) GetJustification ¶
func (*Action) GetMessage ¶
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type ApproveManyResponse ¶
type ApproveManyResponse struct { Target string // As targets can be duplicated this is the index into the slice passed to proxy.Conn. Index int Resp *ApproveResponse Error error }
ApproveManyResponse encapsulates a proxy data packet. It includes the target, index, response and possible error returned.
type ApproveRequest ¶
type ApproveRequest struct { // Approve takes an action instead of an ID to improve auditability // and allow richer authorization logic. Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*ApproveRequest) Descriptor
deprecated
func (*ApproveRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApproveRequest.ProtoReflect.Descriptor instead.
func (*ApproveRequest) GetAction ¶
func (x *ApproveRequest) GetAction() *Action
func (*ApproveRequest) ProtoMessage ¶
func (*ApproveRequest) ProtoMessage()
func (*ApproveRequest) ProtoReflect ¶
func (x *ApproveRequest) ProtoReflect() protoreflect.Message
func (*ApproveRequest) Reset ¶
func (x *ApproveRequest) Reset()
func (*ApproveRequest) String ¶
func (x *ApproveRequest) String() string
type ApproveResponse ¶
type ApproveResponse struct {
// contains filtered or unexported fields
}
func (*ApproveResponse) Descriptor
deprecated
func (*ApproveResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApproveResponse.ProtoReflect.Descriptor instead.
func (*ApproveResponse) ProtoMessage ¶
func (*ApproveResponse) ProtoMessage()
func (*ApproveResponse) ProtoReflect ¶
func (x *ApproveResponse) ProtoReflect() protoreflect.Message
func (*ApproveResponse) Reset ¶
func (x *ApproveResponse) Reset()
func (*ApproveResponse) String ¶
func (x *ApproveResponse) String() string
type ClearManyResponse ¶
type ClearManyResponse struct { Target string // As targets can be duplicated this is the index into the slice passed to proxy.Conn. Index int Resp *ClearResponse Error error }
ClearManyResponse encapsulates a proxy data packet. It includes the target, index, response and possible error returned.
type ClearRequest ¶
type ClearRequest struct { Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*ClearRequest) Descriptor
deprecated
func (*ClearRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClearRequest.ProtoReflect.Descriptor instead.
func (*ClearRequest) GetAction ¶
func (x *ClearRequest) GetAction() *Action
func (*ClearRequest) ProtoMessage ¶
func (*ClearRequest) ProtoMessage()
func (*ClearRequest) ProtoReflect ¶
func (x *ClearRequest) ProtoReflect() protoreflect.Message
func (*ClearRequest) Reset ¶
func (x *ClearRequest) Reset()
func (*ClearRequest) String ¶
func (x *ClearRequest) String() string
type ClearResponse ¶
type ClearResponse struct {
// contains filtered or unexported fields
}
func (*ClearResponse) Descriptor
deprecated
func (*ClearResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClearResponse.ProtoReflect.Descriptor instead.
func (*ClearResponse) ProtoMessage ¶
func (*ClearResponse) ProtoMessage()
func (*ClearResponse) ProtoReflect ¶
func (x *ClearResponse) ProtoReflect() protoreflect.Message
func (*ClearResponse) Reset ¶
func (x *ClearResponse) Reset()
func (*ClearResponse) String ¶
func (x *ClearResponse) String() string
type GetManyResponse ¶
type GetManyResponse struct { Target string // As targets can be duplicated this is the index into the slice passed to proxy.Conn. Index int Resp *GetResponse Error error }
GetManyResponse encapsulates a proxy data packet. It includes the target, index, response and possible error returned.
type GetRequest ¶
type GetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetId ¶
func (x *GetRequest) GetId() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // All approvers of the request. Approver []*Principal `protobuf:"bytes,2,rep,name=approver,proto3" json:"approver,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetAction ¶
func (x *GetResponse) GetAction() *Action
func (*GetResponse) GetApprover ¶
func (x *GetResponse) GetApprover() []*Principal
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type ListManyResponse ¶
type ListManyResponse struct { Target string // As targets can be duplicated this is the index into the slice passed to proxy.Conn. Index int Resp *ListResponse Error error }
ListManyResponse encapsulates a proxy data packet. It includes the target, index, response and possible error returned.
type ListRequest ¶
type ListRequest struct {
// contains filtered or unexported fields
}
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Item []*ListResponse_Item `protobuf:"bytes,1,rep,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetItem ¶
func (x *ListResponse) GetItem() []*ListResponse_Item
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type ListResponse_Item ¶
type ListResponse_Item struct { Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` Approver []*Principal `protobuf:"bytes,2,rep,name=approver,proto3" json:"approver,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListResponse_Item) Descriptor
deprecated
func (*ListResponse_Item) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse_Item.ProtoReflect.Descriptor instead.
func (*ListResponse_Item) GetAction ¶
func (x *ListResponse_Item) GetAction() *Action
func (*ListResponse_Item) GetApprover ¶
func (x *ListResponse_Item) GetApprover() []*Principal
func (*ListResponse_Item) GetId ¶
func (x *ListResponse_Item) GetId() string
func (*ListResponse_Item) ProtoMessage ¶
func (*ListResponse_Item) ProtoMessage()
func (*ListResponse_Item) ProtoReflect ¶
func (x *ListResponse_Item) ProtoReflect() protoreflect.Message
func (*ListResponse_Item) Reset ¶
func (x *ListResponse_Item) Reset()
func (*ListResponse_Item) String ¶
func (x *ListResponse_Item) String() string
type MpaClient ¶
type MpaClient interface { // Store a request that we'd like to try running in the future. Requests // are stored in-memory and older requests may be cleared automatically. // This call is idempotent - requests from the same user with the same // contents will return the same id. // // The user for the request and any justification is implicitly passed in // via inspecting the peer of the RPC or via gRPC metadata. Store(ctx context.Context, in *StoreRequest, opts ...grpc.CallOption) (*StoreResponse, error) // Approve a previously stored request. A request can have multiple approvals // and can be approved by anybody but the original user that stored the request. // // The user for the request is implicitly passed in via inspecting the // peer of the RPC or via gRPC metadata. Approve(ctx context.Context, in *ApproveRequest, opts ...grpc.CallOption) (*ApproveResponse, error) // Block until at least one approval has been granted. This is used // as an optimization to avoid needing to poll for MPA approval. WaitForApproval(ctx context.Context, in *WaitForApprovalRequest, opts ...grpc.CallOption) (*WaitForApprovalResponse, error) // List available requests. List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) // Get a request and all approvals associated with it. Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) // Clear a stored request. // // This is typically unnecessary due to how requests are stored in memory // and forgotten after a process restart. Clear(ctx context.Context, in *ClearRequest, opts ...grpc.CallOption) (*ClearResponse, error) }
MpaClient is the client API for Mpa service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMpaClient ¶
func NewMpaClient(cc grpc.ClientConnInterface) MpaClient
type MpaClientProxy ¶
type MpaClientProxy interface { MpaClient StoreOneMany(ctx context.Context, in *StoreRequest, opts ...grpc.CallOption) (<-chan *StoreManyResponse, error) ApproveOneMany(ctx context.Context, in *ApproveRequest, opts ...grpc.CallOption) (<-chan *ApproveManyResponse, error) WaitForApprovalOneMany(ctx context.Context, in *WaitForApprovalRequest, opts ...grpc.CallOption) (<-chan *WaitForApprovalManyResponse, error) ListOneMany(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (<-chan *ListManyResponse, error) GetOneMany(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (<-chan *GetManyResponse, error) ClearOneMany(ctx context.Context, in *ClearRequest, opts ...grpc.CallOption) (<-chan *ClearManyResponse, error) }
MpaClientProxy is the superset of MpaClient which additionally includes the OneMany proxy methods
func NewMpaClientProxy ¶
func NewMpaClientProxy(cc *proxy.Conn) MpaClientProxy
NewMpaClientProxy creates a MpaClientProxy for use in proxied connections. NOTE: This takes a proxy.Conn instead of a generic ClientConnInterface as the methods here are only valid in proxy.Conn contexts.
type MpaServer ¶
type MpaServer interface { // Store a request that we'd like to try running in the future. Requests // are stored in-memory and older requests may be cleared automatically. // This call is idempotent - requests from the same user with the same // contents will return the same id. // // The user for the request and any justification is implicitly passed in // via inspecting the peer of the RPC or via gRPC metadata. Store(context.Context, *StoreRequest) (*StoreResponse, error) // Approve a previously stored request. A request can have multiple approvals // and can be approved by anybody but the original user that stored the request. // // The user for the request is implicitly passed in via inspecting the // peer of the RPC or via gRPC metadata. Approve(context.Context, *ApproveRequest) (*ApproveResponse, error) // Block until at least one approval has been granted. This is used // as an optimization to avoid needing to poll for MPA approval. WaitForApproval(context.Context, *WaitForApprovalRequest) (*WaitForApprovalResponse, error) // List available requests. List(context.Context, *ListRequest) (*ListResponse, error) // Get a request and all approvals associated with it. Get(context.Context, *GetRequest) (*GetResponse, error) // Clear a stored request. // // This is typically unnecessary due to how requests are stored in memory // and forgotten after a process restart. Clear(context.Context, *ClearRequest) (*ClearResponse, error) }
MpaServer is the server API for Mpa service. All implementations should embed UnimplementedMpaServer for forward compatibility
type Principal ¶
type Principal struct { // The principal identifier (e.g. a username or service role) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Auxiliary groups associated with this principal. Groups []string `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*Principal) Descriptor
deprecated
func (*Principal) ProtoMessage ¶
func (*Principal) ProtoMessage()
func (*Principal) ProtoReflect ¶
func (x *Principal) ProtoReflect() protoreflect.Message
type StoreManyResponse ¶
type StoreManyResponse struct { Target string // As targets can be duplicated this is the index into the slice passed to proxy.Conn. Index int Resp *StoreResponse Error error }
StoreManyResponse encapsulates a proxy data packet. It includes the target, index, response and possible error returned.
type StoreRequest ¶
type StoreRequest struct { // The GRPC method name, as '/Package.Service/Method' Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // The request protocol buffer. Message *anypb.Any `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*StoreRequest) Descriptor
deprecated
func (*StoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreRequest.ProtoReflect.Descriptor instead.
func (*StoreRequest) GetMessage ¶
func (x *StoreRequest) GetMessage() *anypb.Any
func (*StoreRequest) GetMethod ¶
func (x *StoreRequest) GetMethod() string
func (*StoreRequest) ProtoMessage ¶
func (*StoreRequest) ProtoMessage()
func (*StoreRequest) ProtoReflect ¶
func (x *StoreRequest) ProtoReflect() protoreflect.Message
func (*StoreRequest) Reset ¶
func (x *StoreRequest) Reset()
func (*StoreRequest) String ¶
func (x *StoreRequest) String() string
type StoreResponse ¶
type StoreResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Action *Action `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // All approvers of the request. Storing is idempotent, so // approvers may be non-empty if we're storing a previously // approved command. Approver []*Principal `protobuf:"bytes,3,rep,name=approver,proto3" json:"approver,omitempty"` // contains filtered or unexported fields }
func (*StoreResponse) Descriptor
deprecated
func (*StoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreResponse.ProtoReflect.Descriptor instead.
func (*StoreResponse) GetAction ¶
func (x *StoreResponse) GetAction() *Action
func (*StoreResponse) GetApprover ¶
func (x *StoreResponse) GetApprover() []*Principal
func (*StoreResponse) GetId ¶
func (x *StoreResponse) GetId() string
func (*StoreResponse) ProtoMessage ¶
func (*StoreResponse) ProtoMessage()
func (*StoreResponse) ProtoReflect ¶
func (x *StoreResponse) ProtoReflect() protoreflect.Message
func (*StoreResponse) Reset ¶
func (x *StoreResponse) Reset()
func (*StoreResponse) String ¶
func (x *StoreResponse) String() string
type UnimplementedMpaServer ¶
type UnimplementedMpaServer struct { }
UnimplementedMpaServer should be embedded to have forward compatible implementations.
func (UnimplementedMpaServer) Approve ¶
func (UnimplementedMpaServer) Approve(context.Context, *ApproveRequest) (*ApproveResponse, error)
func (UnimplementedMpaServer) Clear ¶
func (UnimplementedMpaServer) Clear(context.Context, *ClearRequest) (*ClearResponse, error)
func (UnimplementedMpaServer) Get ¶
func (UnimplementedMpaServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedMpaServer) List ¶
func (UnimplementedMpaServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedMpaServer) Store ¶
func (UnimplementedMpaServer) Store(context.Context, *StoreRequest) (*StoreResponse, error)
func (UnimplementedMpaServer) WaitForApproval ¶
func (UnimplementedMpaServer) WaitForApproval(context.Context, *WaitForApprovalRequest) (*WaitForApprovalResponse, error)
type UnsafeMpaServer ¶
type UnsafeMpaServer interface {
// contains filtered or unexported methods
}
UnsafeMpaServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MpaServer will result in compilation errors.
type WaitForApprovalManyResponse ¶
type WaitForApprovalManyResponse struct { Target string // As targets can be duplicated this is the index into the slice passed to proxy.Conn. Index int Resp *WaitForApprovalResponse Error error }
WaitForApprovalManyResponse encapsulates a proxy data packet. It includes the target, index, response and possible error returned.
type WaitForApprovalRequest ¶
type WaitForApprovalRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*WaitForApprovalRequest) Descriptor
deprecated
func (*WaitForApprovalRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitForApprovalRequest.ProtoReflect.Descriptor instead.
func (*WaitForApprovalRequest) GetId ¶
func (x *WaitForApprovalRequest) GetId() string
func (*WaitForApprovalRequest) ProtoMessage ¶
func (*WaitForApprovalRequest) ProtoMessage()
func (*WaitForApprovalRequest) ProtoReflect ¶
func (x *WaitForApprovalRequest) ProtoReflect() protoreflect.Message
func (*WaitForApprovalRequest) Reset ¶
func (x *WaitForApprovalRequest) Reset()
func (*WaitForApprovalRequest) String ¶
func (x *WaitForApprovalRequest) String() string
type WaitForApprovalResponse ¶
type WaitForApprovalResponse struct {
// contains filtered or unexported fields
}
func (*WaitForApprovalResponse) Descriptor
deprecated
func (*WaitForApprovalResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitForApprovalResponse.ProtoReflect.Descriptor instead.
func (*WaitForApprovalResponse) ProtoMessage ¶
func (*WaitForApprovalResponse) ProtoMessage()
func (*WaitForApprovalResponse) ProtoReflect ¶
func (x *WaitForApprovalResponse) ProtoReflect() protoreflect.Message
func (*WaitForApprovalResponse) Reset ¶
func (x *WaitForApprovalResponse) Reset()
func (*WaitForApprovalResponse) String ¶
func (x *WaitForApprovalResponse) String() string
Directories ¶
Path | Synopsis |
---|---|
Package client provides the client interface for 'mpa'
|
Package client provides the client interface for 'mpa' |
Package mpahooks provides grpc interceptors and other helpers for implementing MPA.
|
Package mpahooks provides grpc interceptors and other helpers for implementing MPA. |
Package server implements the sansshell 'Mpa' service.
|
Package server implements the sansshell 'Mpa' service. |