icontainercontrol

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 ContainerControlServerHandle

func ContainerControlServerHandle(ctx context.Context, o ContainerControlServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)

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.

func NewContainerControlClient

func NewContainerControlClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ContainerControlClient, error)

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 (o *CreateContainerRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateContainerRequest) UnmarshalNDR

func (o *CreateContainerRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

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 (o *CreateContainerResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateContainerResponse) UnmarshalNDR

func (o *CreateContainerResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

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 (o *RefreshComponentsRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*RefreshComponentsRequest) UnmarshalNDR

func (o *RefreshComponentsRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

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 (o *RefreshComponentsResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*RefreshComponentsResponse) UnmarshalNDR

func (o *RefreshComponentsResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

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 (o *ShutdownContainersRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ShutdownContainersRequest) UnmarshalNDR

func (o *ShutdownContainersRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

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 (o *ShutdownContainersResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ShutdownContainersResponse) UnmarshalNDR

func (o *ShutdownContainersResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL