ifsrmquotatemplatemanager

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IFsrmQuotaTemplateManager interface identifier 4173ac41-172d-4d52-963c-fdc7e415f717
	QuotaTemplateManagerIID = &dcom.IID{Data1: 0x4173ac41, Data2: 0x172d, Data3: 0x4d52, Data4: []byte{0x96, 0x3c, 0xfd, 0xc7, 0xe4, 0x15, 0xf7, 0x17}}
	// Syntax UUID
	QuotaTemplateManagerSyntaxUUID = &uuid.UUID{TimeLow: 0x4173ac41, TimeMid: 0x172d, TimeHiAndVersion: 0x4d52, ClockSeqHiAndReserved: 0x96, ClockSeqLow: 0x3c, Node: [6]uint8{0xfd, 0xc7, 0xe4, 0x15, 0xf7, 0x17}}
	// Syntax ID
	QuotaTemplateManagerSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: QuotaTemplateManagerSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func NewQuotaTemplateManagerServerHandle

func NewQuotaTemplateManagerServerHandle(o QuotaTemplateManagerServer) dcerpc.ServerHandle

func QuotaTemplateManagerServerHandle

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

func RegisterQuotaTemplateManagerServer

func RegisterQuotaTemplateManagerServer(conn dcerpc.Conn, o QuotaTemplateManagerServer, opts ...dcerpc.Option)

Types

type CreateTemplateRequest

type CreateTemplateRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

CreateTemplateRequest structure represents the CreateTemplate operation request

func (*CreateTemplateRequest) MarshalNDR

func (o *CreateTemplateRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateTemplateRequest) UnmarshalNDR

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

type CreateTemplateResponse

type CreateTemplateResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That          *dcom.ORPCThat      `idl:"name:That" json:"that"`
	QuotaTemplate *fsrm.QuotaTemplate `idl:"name:quotaTemplate" json:"quota_template"`
	// Return: The CreateTemplate return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CreateTemplateResponse structure represents the CreateTemplate operation response

func (*CreateTemplateResponse) MarshalNDR

func (o *CreateTemplateResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateTemplateResponse) UnmarshalNDR

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

type EnumTemplatesRequest

type EnumTemplatesRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This    *dcom.ORPCThis   `idl:"name:This" json:"this"`
	Options fsrm.EnumOptions `idl:"name:options" json:"options"`
}

EnumTemplatesRequest structure represents the EnumTemplates operation request

func (*EnumTemplatesRequest) MarshalNDR

func (o *EnumTemplatesRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumTemplatesRequest) UnmarshalNDR

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

type EnumTemplatesResponse

type EnumTemplatesResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That           *dcom.ORPCThat              `idl:"name:That" json:"that"`
	QuotaTemplates *fsrm.CommittableCollection `idl:"name:quotaTemplates" json:"quota_templates"`
	// Return: The EnumTemplates return value.
	Return int32 `idl:"name:Return" json:"return"`
}

EnumTemplatesResponse structure represents the EnumTemplates operation response

func (*EnumTemplatesResponse) MarshalNDR

func (o *EnumTemplatesResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumTemplatesResponse) UnmarshalNDR

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

type ExportTemplatesRequest

type ExportTemplatesRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This                    *dcom.ORPCThis `idl:"name:This" json:"this"`
	QuotaTemplateNamesArray *oaut.Variant  `idl:"name:quotaTemplateNamesArray" json:"quota_template_names_array"`
}

ExportTemplatesRequest structure represents the ExportTemplates operation request

func (*ExportTemplatesRequest) MarshalNDR

func (o *ExportTemplatesRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ExportTemplatesRequest) UnmarshalNDR

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

type ExportTemplatesResponse

type ExportTemplatesResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That                     *dcom.ORPCThat `idl:"name:That" json:"that"`
	SerializedQuotaTemplates *oaut.String   `idl:"name:serializedQuotaTemplates" json:"serialized_quota_templates"`
	// Return: The ExportTemplates return value.
	Return int32 `idl:"name:Return" json:"return"`
}

ExportTemplatesResponse structure represents the ExportTemplates operation response

func (*ExportTemplatesResponse) MarshalNDR

func (o *ExportTemplatesResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ExportTemplatesResponse) UnmarshalNDR

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

type GetTemplateRequest

type GetTemplateRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	Name *oaut.String   `idl:"name:name" json:"name"`
}

GetTemplateRequest structure represents the GetTemplate operation request

func (*GetTemplateRequest) MarshalNDR

func (o *GetTemplateRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetTemplateRequest) UnmarshalNDR

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

type GetTemplateResponse

type GetTemplateResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That          *dcom.ORPCThat      `idl:"name:That" json:"that"`
	QuotaTemplate *fsrm.QuotaTemplate `idl:"name:quotaTemplate" json:"quota_template"`
	// Return: The GetTemplate return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetTemplateResponse structure represents the GetTemplate operation response

func (*GetTemplateResponse) MarshalNDR

func (o *GetTemplateResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetTemplateResponse) UnmarshalNDR

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

type ImportTemplatesRequest

type ImportTemplatesRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This                     *dcom.ORPCThis `idl:"name:This" json:"this"`
	SerializedQuotaTemplates *oaut.String   `idl:"name:serializedQuotaTemplates" json:"serialized_quota_templates"`
	QuotaTemplateNamesArray  *oaut.Variant  `idl:"name:quotaTemplateNamesArray" json:"quota_template_names_array"`
}

ImportTemplatesRequest structure represents the ImportTemplates operation request

func (*ImportTemplatesRequest) MarshalNDR

func (o *ImportTemplatesRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ImportTemplatesRequest) UnmarshalNDR

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

type ImportTemplatesResponse

type ImportTemplatesResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That           *dcom.ORPCThat              `idl:"name:That" json:"that"`
	QuotaTemplates *fsrm.CommittableCollection `idl:"name:quotaTemplates" json:"quota_templates"`
	// Return: The ImportTemplates return value.
	Return int32 `idl:"name:Return" json:"return"`
}

ImportTemplatesResponse structure represents the ImportTemplates operation response

func (*ImportTemplatesResponse) MarshalNDR

func (o *ImportTemplatesResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ImportTemplatesResponse) UnmarshalNDR

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

type QuotaTemplateManagerClient

type QuotaTemplateManagerClient interface {

	// IDispatch retrieval method.
	Dispatch() idispatch.DispatchClient

	// CreateTemplate operation.
	CreateTemplate(context.Context, *CreateTemplateRequest, ...dcerpc.CallOption) (*CreateTemplateResponse, error)

	// GetTemplate operation.
	GetTemplate(context.Context, *GetTemplateRequest, ...dcerpc.CallOption) (*GetTemplateResponse, error)

	// EnumTemplates operation.
	EnumTemplates(context.Context, *EnumTemplatesRequest, ...dcerpc.CallOption) (*EnumTemplatesResponse, error)

	// ExportTemplates operation.
	ExportTemplates(context.Context, *ExportTemplatesRequest, ...dcerpc.CallOption) (*ExportTemplatesResponse, error)

	// ImportTemplates operation.
	ImportTemplates(context.Context, *ImportTemplatesRequest, ...dcerpc.CallOption) (*ImportTemplatesResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) QuotaTemplateManagerClient
}

IFsrmQuotaTemplateManager interface.

func NewQuotaTemplateManagerClient

func NewQuotaTemplateManagerClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (QuotaTemplateManagerClient, error)

type QuotaTemplateManagerServer

type QuotaTemplateManagerServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// CreateTemplate operation.
	CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error)

	// GetTemplate operation.
	GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error)

	// EnumTemplates operation.
	EnumTemplates(context.Context, *EnumTemplatesRequest) (*EnumTemplatesResponse, error)

	// ExportTemplates operation.
	ExportTemplates(context.Context, *ExportTemplatesRequest) (*ExportTemplatesResponse, error)

	// ImportTemplates operation.
	ImportTemplates(context.Context, *ImportTemplatesRequest) (*ImportTemplatesResponse, error)
}

IFsrmQuotaTemplateManager server interface.

Jump to

Keyboard shortcuts

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