Documentation ¶
Index ¶
- Variables
- func ContainerControlServerHandle(ctx context.Context, o ContainerControlServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewContainerControlServerHandle(o ContainerControlServer) dcerpc.ServerHandle
- func RegisterContainerControlServer(conn dcerpc.Conn, o ContainerControlServer, opts ...dcerpc.Option)
- type ContainerControlClient
- type ContainerControlServer
- type CreateContainerRequest
- type CreateContainerResponse
- type RefreshComponentsRequest
- type RefreshComponentsResponse
- type ShutdownContainersRequest
- type ShutdownContainersResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IContainerControl interface identifier 3f3b1b86-dbbe-11d1-9da6-00805f85cfe3 ContainerControlIID = &dcom.IID{Data1: 0x3f3b1b86, Data2: 0xdbbe, Data3: 0x11d1, Data4: []byte{0x9d, 0xa6, 0x00, 0x80, 0x5f, 0x85, 0xcf, 0xe3}} // Syntax UUID ContainerControlSyntaxUUID = &uuid.UUID{TimeLow: 0x3f3b1b86, TimeMid: 0xdbbe, TimeHiAndVersion: 0x11d1, ClockSeqHiAndReserved: 0x9d, ClockSeqLow: 0xa6, Node: [6]uint8{0x0, 0x80, 0x5f, 0x85, 0xcf, 0xe3}} // Syntax ID ContainerControlSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ContainerControlSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/coma"
)
Functions ¶
func NewContainerControlServerHandle ¶
func NewContainerControlServerHandle(o ContainerControlServer) dcerpc.ServerHandle
func RegisterContainerControlServer ¶
func RegisterContainerControlServer(conn dcerpc.Conn, o ContainerControlServer, opts ...dcerpc.Option)
Types ¶
type ContainerControlClient ¶
type ContainerControlClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // This method is called by a client to create an instance container for a conglomeration. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ CreateContainer(context.Context, *CreateContainerRequest, ...dcerpc.CallOption) (*CreateContainerResponse, error) // This method is called by a client to shut down all instance containers for a conglomeration. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. ShutdownContainers(context.Context, *ShutdownContainersRequest, ...dcerpc.CallOption) (*ShutdownContainersResponse, error) // This method is called by a client to perform implementation-specific repairs on the // server's catalog. // // This method has no parameters. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. RefreshComponents(context.Context, *RefreshComponentsRequest, ...dcerpc.CallOption) (*RefreshComponentsResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ContainerControlClient }
IContainerControl interface.
type ContainerControlServer ¶
type ContainerControlServer interface { // IUnknown base class. iunknown.UnknownServer // This method is called by a client to create an instance container for a conglomeration. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) // This method is called by a client to shut down all instance containers for a conglomeration. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. ShutdownContainers(context.Context, *ShutdownContainersRequest) (*ShutdownContainersResponse, error) // This method is called by a client to perform implementation-specific repairs on the // server's catalog. // // This method has no parameters. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. RefreshComponents(context.Context, *RefreshComponentsRequest) (*RefreshComponentsResponse, error) }
IContainerControl server interface.
type CreateContainerRequest ¶
type CreateContainerRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // pConglomerationIdentifier: The conglomeration identifier of a conglomeration. ConglomerationID *dtyp.GUID `idl:"name:pConglomerationIdentifier" json:"conglomeration_id"` }
CreateContainerRequest structure represents the CreateContainer operation request
func (*CreateContainerRequest) MarshalNDR ¶
func (*CreateContainerRequest) UnmarshalNDR ¶
type CreateContainerResponse ¶
type CreateContainerResponse 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 CreateContainer return value. Return int32 `idl:"name:Return" json:"return"` }
CreateContainerResponse structure represents the CreateContainer operation response
func (*CreateContainerResponse) MarshalNDR ¶
func (*CreateContainerResponse) UnmarshalNDR ¶
type RefreshComponentsRequest ¶
type RefreshComponentsRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
RefreshComponentsRequest structure represents the RefreshComponents operation request
func (*RefreshComponentsRequest) MarshalNDR ¶
func (*RefreshComponentsRequest) UnmarshalNDR ¶
type RefreshComponentsResponse ¶
type RefreshComponentsResponse 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 RefreshComponents return value. Return int32 `idl:"name:Return" json:"return"` }
RefreshComponentsResponse structure represents the RefreshComponents operation response
func (*RefreshComponentsResponse) MarshalNDR ¶
func (*RefreshComponentsResponse) UnmarshalNDR ¶
type ShutdownContainersRequest ¶
type ShutdownContainersRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // pConglomerationIdentifier: The conglomeration identifier of a conglomeration. ConglomerationID *dtyp.GUID `idl:"name:pConglomerationIdentifier" json:"conglomeration_id"` }
ShutdownContainersRequest structure represents the ShutdownContainers operation request
func (*ShutdownContainersRequest) MarshalNDR ¶
func (*ShutdownContainersRequest) UnmarshalNDR ¶
type ShutdownContainersResponse ¶
type ShutdownContainersResponse 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 ShutdownContainers return value. Return int32 `idl:"name:Return" json:"return"` }
ShutdownContainersResponse structure represents the ShutdownContainers operation response
func (*ShutdownContainersResponse) MarshalNDR ¶
func (*ShutdownContainersResponse) UnmarshalNDR ¶
Click to show internal directories.
Click to hide internal directories.