Documentation ¶
Index ¶
- Variables
- func ClusterLogServerHandle(ctx context.Context, o ClusterLogServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewClusterLogServerHandle(o ClusterLogServer) dcerpc.ServerHandle
- func RegisterClusterLogServer(conn dcerpc.Conn, o ClusterLogServer, opts ...dcerpc.Option)
- type ClusterLogClient
- type ClusterLogServer
- type GenerateClusterLogInLocalTimeRequest
- type GenerateClusterLogInLocalTimeResponse
- type GenerateClusterLogRequest
- type GenerateClusterLogResponse
- type GenerateTimeSpanLogInLocalTimeRequest
- type GenerateTimeSpanLogInLocalTimeResponse
- type GenerateTimeSpanLogRequest
- type GenerateTimeSpanLogResponse
Constants ¶
This section is empty.
Variables ¶
var ( // IClusterLog interface identifier 85923ca7-1b6b-4e83-a2e4-f5ba3bfbb8a3 ClusterLogIID = &dcom.IID{Data1: 0x85923ca7, Data2: 0x1b6b, Data3: 0x4e83, Data4: []byte{0xa2, 0xe4, 0xf5, 0xba, 0x3b, 0xfb, 0xb8, 0xa3}} // Syntax UUID ClusterLogSyntaxUUID = &uuid.UUID{TimeLow: 0x85923ca7, TimeMid: 0x1b6b, TimeHiAndVersion: 0x4e83, ClockSeqHiAndReserved: 0xa2, ClockSeqLow: 0xe4, Node: [6]uint8{0xf5, 0xba, 0x3b, 0xfb, 0xb8, 0xa3}} // Syntax ID ClusterLogSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ClusterLogSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dcom/csvp"
)
Functions ¶
func ClusterLogServerHandle ¶
func NewClusterLogServerHandle ¶
func NewClusterLogServerHandle(o ClusterLogServer) dcerpc.ServerHandle
func RegisterClusterLogServer ¶
func RegisterClusterLogServer(conn dcerpc.Conn, o ClusterLogServer, opts ...dcerpc.Option)
Types ¶
type ClusterLogClient ¶
type ClusterLogClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The GenerateClusterLog method writes a file that contains diagnostic information // about failover clusters for the server on which it executes. The content and format // of the file are implementation-specific, but SHOULD contain diagnostic information. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 3. GenerateClusterLog(context.Context, *GenerateClusterLogRequest, ...dcerpc.CallOption) (*GenerateClusterLogResponse, error) // The GenerateTimeSpanLog method writes a file that contains diagnostic information // about failover clusters for the server on which it executes. The log entries in the // file date back only for the specified number of minutes. The content and format of // the file is implementation-specific, but SHOULD contain diagnostic information. // // Return Values: Return values are the same as the return values for the GenerateClusterLog // method specified in section 3.12.4.1. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 4. GenerateTimeSpanLog(context.Context, *GenerateTimeSpanLogRequest, ...dcerpc.CallOption) (*GenerateTimeSpanLogResponse, error) // The GenerateClusterLogInLocalTime method<41> writes a file that contains diagnostic // information about failover clusters for the server on which it executes. The file // uses local time instead of GMT. The content and format of the file are implementation-specific // but SHOULD contain diagnostic information. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 5. GenerateClusterLogInLocalTime(context.Context, *GenerateClusterLogInLocalTimeRequest, ...dcerpc.CallOption) (*GenerateClusterLogInLocalTimeResponse, error) // The GenerateTimeSpanLogInLocalTime method<42> writes a file that contains diagnostic // information about failover clusters for the server on which it executes. The log // entries in the file date back only for the specified number of minutes. The file // uses local time instead of GMT. The content and format of the file is implementation-specific // but SHOULD contain diagnostic information. // // Return Values: Return values are the same as the return values for the GenerateClusterLog // method specified in section 3.12.4.1. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 6. GenerateTimeSpanLogInLocalTime(context.Context, *GenerateTimeSpanLogInLocalTimeRequest, ...dcerpc.CallOption) (*GenerateTimeSpanLogInLocalTimeResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ClusterLogClient }
IClusterLog interface.
func NewClusterLogClient ¶
type ClusterLogServer ¶
type ClusterLogServer interface { // IUnknown base class. iunknown.UnknownServer // The GenerateClusterLog method writes a file that contains diagnostic information // about failover clusters for the server on which it executes. The content and format // of the file are implementation-specific, but SHOULD contain diagnostic information. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 3. GenerateClusterLog(context.Context, *GenerateClusterLogRequest) (*GenerateClusterLogResponse, error) // The GenerateTimeSpanLog method writes a file that contains diagnostic information // about failover clusters for the server on which it executes. The log entries in the // file date back only for the specified number of minutes. The content and format of // the file is implementation-specific, but SHOULD contain diagnostic information. // // Return Values: Return values are the same as the return values for the GenerateClusterLog // method specified in section 3.12.4.1. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 4. GenerateTimeSpanLog(context.Context, *GenerateTimeSpanLogRequest) (*GenerateTimeSpanLogResponse, error) // The GenerateClusterLogInLocalTime method<41> writes a file that contains diagnostic // information about failover clusters for the server on which it executes. The file // uses local time instead of GMT. The content and format of the file are implementation-specific // but SHOULD contain diagnostic information. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 5. GenerateClusterLogInLocalTime(context.Context, *GenerateClusterLogInLocalTimeRequest) (*GenerateClusterLogInLocalTimeResponse, error) // The GenerateTimeSpanLogInLocalTime method<42> writes a file that contains diagnostic // information about failover clusters for the server on which it executes. The log // entries in the file date back only for the specified number of minutes. The file // uses local time instead of GMT. The content and format of the file is implementation-specific // but SHOULD contain diagnostic information. // // Return Values: Return values are the same as the return values for the GenerateClusterLog // method specified in section 3.12.4.1. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 6. GenerateTimeSpanLogInLocalTime(context.Context, *GenerateTimeSpanLogInLocalTimeRequest) (*GenerateTimeSpanLogInLocalTimeResponse, error) }
IClusterLog server interface.
type GenerateClusterLogInLocalTimeRequest ¶
type GenerateClusterLogInLocalTimeRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GenerateClusterLogInLocalTimeRequest structure represents the GenerateClusterLogInLocalTime operation request
func (*GenerateClusterLogInLocalTimeRequest) MarshalNDR ¶
func (*GenerateClusterLogInLocalTimeRequest) UnmarshalNDR ¶
type GenerateClusterLogInLocalTimeResponse ¶
type GenerateClusterLogInLocalTimeResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // LogFilePath: Upon successful completion of this method, the server MUST set this // parameter to the location where the server has exposed a file containing the diagnostic // log data. The path is relative to the machine and starts with a share name. The format // is "<share>\<filename>" where <share> is a share name and <filename> is the name // of the file or device. The LogFilePath parameter MUST form a valid UncPath if \\<servername>\ // is prepended to its contents. On unsuccessful completion of this method, the client // MUST ignore this value. LogFilePath *oaut.String `idl:"name:LogFilePath" json:"log_file_path"` // Return: The GenerateClusterLogInLocalTime return value. Return int32 `idl:"name:Return" json:"return"` }
GenerateClusterLogInLocalTimeResponse structure represents the GenerateClusterLogInLocalTime operation response
func (*GenerateClusterLogInLocalTimeResponse) MarshalNDR ¶
func (*GenerateClusterLogInLocalTimeResponse) UnmarshalNDR ¶
type GenerateClusterLogRequest ¶
type GenerateClusterLogRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GenerateClusterLogRequest structure represents the GenerateClusterLog operation request
func (*GenerateClusterLogRequest) MarshalNDR ¶
func (*GenerateClusterLogRequest) UnmarshalNDR ¶
type GenerateClusterLogResponse ¶
type GenerateClusterLogResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // LogFilePath: Upon successful completion of this method, the server MUST set this // parameter to the location where the server has exposed a file containing the diagnostic // log data. The path is relative to the machine and starts with a share name. The format // is "<share>\<filename>" where <share> is a share name, and <filename> is the name // of the file or device. The LogFilePath parameter MUST form a valid UncPath if "\\<servername>\" // is prepended to its contents. On unsuccessful completion of this method, the client // MUST ignore this value. LogFilePath *oaut.String `idl:"name:LogFilePath" json:"log_file_path"` // Return: The GenerateClusterLog return value. Return int32 `idl:"name:Return" json:"return"` }
GenerateClusterLogResponse structure represents the GenerateClusterLog operation response
func (*GenerateClusterLogResponse) MarshalNDR ¶
func (*GenerateClusterLogResponse) UnmarshalNDR ¶
type GenerateTimeSpanLogInLocalTimeRequest ¶
type GenerateTimeSpanLogInLocalTimeRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // SpanMinutes: A value, in minutes, that indicates those values that SHOULD be in the // log. Events that occurred in the range of Now to (Now - SpanMinutes) MUST be in the // log and no others. Now is the local time on the server. SpanMinutes uint32 `idl:"name:SpanMinutes" json:"span_minutes"` }
GenerateTimeSpanLogInLocalTimeRequest structure represents the GenerateTimeSpanLogInLocalTime operation request
func (*GenerateTimeSpanLogInLocalTimeRequest) MarshalNDR ¶
func (*GenerateTimeSpanLogInLocalTimeRequest) UnmarshalNDR ¶
type GenerateTimeSpanLogInLocalTimeResponse ¶
type GenerateTimeSpanLogInLocalTimeResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // LogFilePath: Has the same meaning as parameter LogFilePath for the GenerateClusterLog // method specified in section 3.12.4.1. LogFilePath *oaut.String `idl:"name:LogFilePath" json:"log_file_path"` // Return: The GenerateTimeSpanLogInLocalTime return value. Return int32 `idl:"name:Return" json:"return"` }
GenerateTimeSpanLogInLocalTimeResponse structure represents the GenerateTimeSpanLogInLocalTime operation response
func (*GenerateTimeSpanLogInLocalTimeResponse) MarshalNDR ¶
func (*GenerateTimeSpanLogInLocalTimeResponse) UnmarshalNDR ¶
type GenerateTimeSpanLogRequest ¶
type GenerateTimeSpanLogRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // SpanMinutes: A value, in minutes, that indicates those values that SHOULD be in the // log. Events that occurred in the range of Now to (Now - SpanMinutes) MUST be in the // log and no others. Now is the GMT on the server. SpanMinutes uint32 `idl:"name:SpanMinutes" json:"span_minutes"` }
GenerateTimeSpanLogRequest structure represents the GenerateTimeSpanLog operation request
func (*GenerateTimeSpanLogRequest) MarshalNDR ¶
func (*GenerateTimeSpanLogRequest) UnmarshalNDR ¶
type GenerateTimeSpanLogResponse ¶
type GenerateTimeSpanLogResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // LogFilePath: Has the same meaning as parameter LogFilePath for the GenerateClusterLog // method specified in section 3.12.4.1. LogFilePath *oaut.String `idl:"name:LogFilePath" json:"log_file_path"` // Return: The GenerateTimeSpanLog return value. Return int32 `idl:"name:Return" json:"return"` }
GenerateTimeSpanLogResponse structure represents the GenerateTimeSpanLog operation response