Documentation ¶
Index ¶
- Variables
- func ActionCommandServerHandle(ctx context.Context, o ActionCommandServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewActionCommandServerHandle(o ActionCommandServer) dcerpc.ServerHandle
- func RegisterActionCommandServer(conn dcerpc.Conn, o ActionCommandServer, opts ...dcerpc.Option)
- type ActionCommandClient
- type ActionCommandServer
- type GetAccountRequest
- type GetAccountResponse
- type GetArgumentsRequest
- type GetArgumentsResponse
- type GetExecutablePathRequest
- type GetExecutablePathResponse
- type GetKillTimeoutRequest
- type GetKillTimeoutResponse
- type GetLogResultRequest
- type GetLogResultResponse
- type GetMonitorCommandRequest
- type GetMonitorCommandResponse
- type GetWorkingDirectoryRequest
- type GetWorkingDirectoryResponse
- type SetAccountRequest
- type SetAccountResponse
- type SetArgumentsRequest
- type SetArgumentsResponse
- type SetExecutablePathRequest
- type SetExecutablePathResponse
- type SetKillTimeoutRequest
- type SetKillTimeoutResponse
- type SetLogResultRequest
- type SetLogResultResponse
- type SetMonitorCommandRequest
- type SetMonitorCommandResponse
- type SetWorkingDirectoryRequest
- type SetWorkingDirectoryResponse
Constants ¶
This section is empty.
Variables ¶
var ( // IFsrmActionCommand interface identifier 12937789-e247-4917-9c20-f3ee9c7ee783 ActionCommandIID = &dcom.IID{Data1: 0x12937789, Data2: 0xe247, Data3: 0x4917, Data4: []byte{0x9c, 0x20, 0xf3, 0xee, 0x9c, 0x7e, 0xe7, 0x83}} // Syntax UUID ActionCommandSyntaxUUID = &uuid.UUID{TimeLow: 0x12937789, TimeMid: 0xe247, TimeHiAndVersion: 0x4917, ClockSeqHiAndReserved: 0x9c, ClockSeqLow: 0x20, Node: [6]uint8{0xf3, 0xee, 0x9c, 0x7e, 0xe7, 0x83}} // Syntax ID ActionCommandSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ActionCommandSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dcom/fsrm"
)
Functions ¶
func NewActionCommandServerHandle ¶
func NewActionCommandServerHandle(o ActionCommandServer) dcerpc.ServerHandle
func RegisterActionCommandServer ¶
func RegisterActionCommandServer(conn dcerpc.Conn, o ActionCommandServer, opts ...dcerpc.Option)
Types ¶
type ActionCommandClient ¶
type ActionCommandClient interface { // IFsrmAction retrieval method. Action() ifsrmaction.ActionClient // ExecutablePath operation. GetExecutablePath(context.Context, *GetExecutablePathRequest, ...dcerpc.CallOption) (*GetExecutablePathResponse, error) // ExecutablePath operation. SetExecutablePath(context.Context, *SetExecutablePathRequest, ...dcerpc.CallOption) (*SetExecutablePathResponse, error) // Arguments operation. GetArguments(context.Context, *GetArgumentsRequest, ...dcerpc.CallOption) (*GetArgumentsResponse, error) // Arguments operation. SetArguments(context.Context, *SetArgumentsRequest, ...dcerpc.CallOption) (*SetArgumentsResponse, error) // Account operation. GetAccount(context.Context, *GetAccountRequest, ...dcerpc.CallOption) (*GetAccountResponse, error) // Account operation. SetAccount(context.Context, *SetAccountRequest, ...dcerpc.CallOption) (*SetAccountResponse, error) // WorkingDirectory operation. GetWorkingDirectory(context.Context, *GetWorkingDirectoryRequest, ...dcerpc.CallOption) (*GetWorkingDirectoryResponse, error) // WorkingDirectory operation. SetWorkingDirectory(context.Context, *SetWorkingDirectoryRequest, ...dcerpc.CallOption) (*SetWorkingDirectoryResponse, error) // MonitorCommand operation. GetMonitorCommand(context.Context, *GetMonitorCommandRequest, ...dcerpc.CallOption) (*GetMonitorCommandResponse, error) // MonitorCommand operation. SetMonitorCommand(context.Context, *SetMonitorCommandRequest, ...dcerpc.CallOption) (*SetMonitorCommandResponse, error) // KillTimeOut operation. GetKillTimeout(context.Context, *GetKillTimeoutRequest, ...dcerpc.CallOption) (*GetKillTimeoutResponse, error) // KillTimeOut operation. SetKillTimeout(context.Context, *SetKillTimeoutRequest, ...dcerpc.CallOption) (*SetKillTimeoutResponse, error) // LogResult operation. GetLogResult(context.Context, *GetLogResultRequest, ...dcerpc.CallOption) (*GetLogResultResponse, error) // LogResult operation. SetLogResult(context.Context, *SetLogResultRequest, ...dcerpc.CallOption) (*SetLogResultResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ActionCommandClient }
IFsrmActionCommand interface.
func NewActionCommandClient ¶
type ActionCommandServer ¶
type ActionCommandServer interface { // IFsrmAction base class. ifsrmaction.ActionServer // ExecutablePath operation. GetExecutablePath(context.Context, *GetExecutablePathRequest) (*GetExecutablePathResponse, error) // ExecutablePath operation. SetExecutablePath(context.Context, *SetExecutablePathRequest) (*SetExecutablePathResponse, error) // Arguments operation. GetArguments(context.Context, *GetArgumentsRequest) (*GetArgumentsResponse, error) // Arguments operation. SetArguments(context.Context, *SetArgumentsRequest) (*SetArgumentsResponse, error) // Account operation. GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) // Account operation. SetAccount(context.Context, *SetAccountRequest) (*SetAccountResponse, error) // WorkingDirectory operation. GetWorkingDirectory(context.Context, *GetWorkingDirectoryRequest) (*GetWorkingDirectoryResponse, error) // WorkingDirectory operation. SetWorkingDirectory(context.Context, *SetWorkingDirectoryRequest) (*SetWorkingDirectoryResponse, error) // MonitorCommand operation. GetMonitorCommand(context.Context, *GetMonitorCommandRequest) (*GetMonitorCommandResponse, error) // MonitorCommand operation. SetMonitorCommand(context.Context, *SetMonitorCommandRequest) (*SetMonitorCommandResponse, error) // KillTimeOut operation. GetKillTimeout(context.Context, *GetKillTimeoutRequest) (*GetKillTimeoutResponse, error) // KillTimeOut operation. SetKillTimeout(context.Context, *SetKillTimeoutRequest) (*SetKillTimeoutResponse, error) // LogResult operation. GetLogResult(context.Context, *GetLogResultRequest) (*GetLogResultResponse, error) // LogResult operation. SetLogResult(context.Context, *SetLogResultRequest) (*SetLogResultResponse, error) }
IFsrmActionCommand server interface.
type GetAccountRequest ¶
type GetAccountRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetAccountRequest structure represents the Account operation request
func (*GetAccountRequest) MarshalNDR ¶
func (*GetAccountRequest) UnmarshalNDR ¶
type GetAccountResponse ¶
type GetAccountResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Account fsrm.AccountType `idl:"name:account" json:"account"` // Return: The Account return value. Return int32 `idl:"name:Return" json:"return"` }
GetAccountResponse structure represents the Account operation response
func (*GetAccountResponse) MarshalNDR ¶
func (*GetAccountResponse) UnmarshalNDR ¶
type GetArgumentsRequest ¶
type GetArgumentsRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetArgumentsRequest structure represents the Arguments operation request
func (*GetArgumentsRequest) MarshalNDR ¶
func (*GetArgumentsRequest) UnmarshalNDR ¶
type GetArgumentsResponse ¶
type GetArgumentsResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Arguments *oaut.String `idl:"name:arguments" json:"arguments"` // Return: The Arguments return value. Return int32 `idl:"name:Return" json:"return"` }
GetArgumentsResponse structure represents the Arguments operation response
func (*GetArgumentsResponse) MarshalNDR ¶
func (*GetArgumentsResponse) UnmarshalNDR ¶
type GetExecutablePathRequest ¶
type GetExecutablePathRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetExecutablePathRequest structure represents the ExecutablePath operation request
func (*GetExecutablePathRequest) MarshalNDR ¶
func (*GetExecutablePathRequest) UnmarshalNDR ¶
type GetExecutablePathResponse ¶
type GetExecutablePathResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` ExecutablePath *oaut.String `idl:"name:executablePath" json:"executable_path"` // Return: The ExecutablePath return value. Return int32 `idl:"name:Return" json:"return"` }
GetExecutablePathResponse structure represents the ExecutablePath operation response
func (*GetExecutablePathResponse) MarshalNDR ¶
func (*GetExecutablePathResponse) UnmarshalNDR ¶
type GetKillTimeoutRequest ¶
type GetKillTimeoutRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetKillTimeoutRequest structure represents the KillTimeOut operation request
func (*GetKillTimeoutRequest) MarshalNDR ¶
func (*GetKillTimeoutRequest) UnmarshalNDR ¶
type GetKillTimeoutResponse ¶
type GetKillTimeoutResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Minutes int32 `idl:"name:minutes" json:"minutes"` // Return: The KillTimeOut return value. Return int32 `idl:"name:Return" json:"return"` }
GetKillTimeoutResponse structure represents the KillTimeOut operation response
func (*GetKillTimeoutResponse) MarshalNDR ¶
func (*GetKillTimeoutResponse) UnmarshalNDR ¶
type GetLogResultRequest ¶
type GetLogResultRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetLogResultRequest structure represents the LogResult operation request
func (*GetLogResultRequest) MarshalNDR ¶
func (*GetLogResultRequest) UnmarshalNDR ¶
type GetLogResultResponse ¶
type GetLogResultResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` LogResults int16 `idl:"name:logResults" json:"log_results"` // Return: The LogResult return value. Return int32 `idl:"name:Return" json:"return"` }
GetLogResultResponse structure represents the LogResult operation response
func (*GetLogResultResponse) MarshalNDR ¶
func (*GetLogResultResponse) UnmarshalNDR ¶
type GetMonitorCommandRequest ¶
type GetMonitorCommandRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetMonitorCommandRequest structure represents the MonitorCommand operation request
func (*GetMonitorCommandRequest) MarshalNDR ¶
func (*GetMonitorCommandRequest) UnmarshalNDR ¶
type GetMonitorCommandResponse ¶
type GetMonitorCommandResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` MonitorCommand int16 `idl:"name:monitorCommand" json:"monitor_command"` // Return: The MonitorCommand return value. Return int32 `idl:"name:Return" json:"return"` }
GetMonitorCommandResponse structure represents the MonitorCommand operation response
func (*GetMonitorCommandResponse) MarshalNDR ¶
func (*GetMonitorCommandResponse) UnmarshalNDR ¶
type GetWorkingDirectoryRequest ¶
type GetWorkingDirectoryRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetWorkingDirectoryRequest structure represents the WorkingDirectory operation request
func (*GetWorkingDirectoryRequest) MarshalNDR ¶
func (*GetWorkingDirectoryRequest) UnmarshalNDR ¶
type GetWorkingDirectoryResponse ¶
type GetWorkingDirectoryResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` WorkingDirectory *oaut.String `idl:"name:workingDirectory" json:"working_directory"` // Return: The WorkingDirectory return value. Return int32 `idl:"name:Return" json:"return"` }
GetWorkingDirectoryResponse structure represents the WorkingDirectory operation response
func (*GetWorkingDirectoryResponse) MarshalNDR ¶
func (*GetWorkingDirectoryResponse) UnmarshalNDR ¶
type SetAccountRequest ¶
type SetAccountRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Account fsrm.AccountType `idl:"name:account" json:"account"` }
SetAccountRequest structure represents the Account operation request
func (*SetAccountRequest) MarshalNDR ¶
func (*SetAccountRequest) UnmarshalNDR ¶
type SetAccountResponse ¶
type SetAccountResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The Account return value. Return int32 `idl:"name:Return" json:"return"` }
SetAccountResponse structure represents the Account operation response
func (*SetAccountResponse) MarshalNDR ¶
func (*SetAccountResponse) UnmarshalNDR ¶
type SetArgumentsRequest ¶
type SetArgumentsRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Arguments *oaut.String `idl:"name:arguments" json:"arguments"` }
SetArgumentsRequest structure represents the Arguments operation request
func (*SetArgumentsRequest) MarshalNDR ¶
func (*SetArgumentsRequest) UnmarshalNDR ¶
type SetArgumentsResponse ¶
type SetArgumentsResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The Arguments return value. Return int32 `idl:"name:Return" json:"return"` }
SetArgumentsResponse structure represents the Arguments operation response
func (*SetArgumentsResponse) MarshalNDR ¶
func (*SetArgumentsResponse) UnmarshalNDR ¶
type SetExecutablePathRequest ¶
type SetExecutablePathRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` ExecutablePath *oaut.String `idl:"name:executablePath" json:"executable_path"` }
SetExecutablePathRequest structure represents the ExecutablePath operation request
func (*SetExecutablePathRequest) MarshalNDR ¶
func (*SetExecutablePathRequest) UnmarshalNDR ¶
type SetExecutablePathResponse ¶
type SetExecutablePathResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The ExecutablePath return value. Return int32 `idl:"name:Return" json:"return"` }
SetExecutablePathResponse structure represents the ExecutablePath operation response
func (*SetExecutablePathResponse) MarshalNDR ¶
func (*SetExecutablePathResponse) UnmarshalNDR ¶
type SetKillTimeoutRequest ¶
type SetKillTimeoutRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Minutes int32 `idl:"name:minutes" json:"minutes"` }
SetKillTimeoutRequest structure represents the KillTimeOut operation request
func (*SetKillTimeoutRequest) MarshalNDR ¶
func (*SetKillTimeoutRequest) UnmarshalNDR ¶
type SetKillTimeoutResponse ¶
type SetKillTimeoutResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The KillTimeOut return value. Return int32 `idl:"name:Return" json:"return"` }
SetKillTimeoutResponse structure represents the KillTimeOut operation response
func (*SetKillTimeoutResponse) MarshalNDR ¶
func (*SetKillTimeoutResponse) UnmarshalNDR ¶
type SetLogResultRequest ¶
type SetLogResultRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` LogResults int16 `idl:"name:logResults" json:"log_results"` }
SetLogResultRequest structure represents the LogResult operation request
func (*SetLogResultRequest) MarshalNDR ¶
func (*SetLogResultRequest) UnmarshalNDR ¶
type SetLogResultResponse ¶
type SetLogResultResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The LogResult return value. Return int32 `idl:"name:Return" json:"return"` }
SetLogResultResponse structure represents the LogResult operation response
func (*SetLogResultResponse) MarshalNDR ¶
func (*SetLogResultResponse) UnmarshalNDR ¶
type SetMonitorCommandRequest ¶
type SetMonitorCommandRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` MonitorCommand int16 `idl:"name:monitorCommand" json:"monitor_command"` }
SetMonitorCommandRequest structure represents the MonitorCommand operation request
func (*SetMonitorCommandRequest) MarshalNDR ¶
func (*SetMonitorCommandRequest) UnmarshalNDR ¶
type SetMonitorCommandResponse ¶
type SetMonitorCommandResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The MonitorCommand return value. Return int32 `idl:"name:Return" json:"return"` }
SetMonitorCommandResponse structure represents the MonitorCommand operation response
func (*SetMonitorCommandResponse) MarshalNDR ¶
func (*SetMonitorCommandResponse) UnmarshalNDR ¶
type SetWorkingDirectoryRequest ¶
type SetWorkingDirectoryRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` WorkingDirectory *oaut.String `idl:"name:workingDirectory" json:"working_directory"` }
SetWorkingDirectoryRequest structure represents the WorkingDirectory operation request
func (*SetWorkingDirectoryRequest) MarshalNDR ¶
func (*SetWorkingDirectoryRequest) UnmarshalNDR ¶
type SetWorkingDirectoryResponse ¶
type SetWorkingDirectoryResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The WorkingDirectory return value. Return int32 `idl:"name:Return" json:"return"` }
SetWorkingDirectoryResponse structure represents the WorkingDirectory operation response