drivemount

package
v0.0.0-...-6b2d232 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthDrivemount        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDrivemount          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDrivemount = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterDriveMounterService

func RegisterDriveMounterService(srv *github_com_containerd_ttrpc.Server, svc DriveMounterService)

Types

type DriveMounterService

type DriveMounterService interface {
	MountDrive(ctx context.Context, req *MountDriveRequest) (*types.Empty, error)
	UnmountDrive(ctx context.Context, req *UnmountDriveRequest) (*types.Empty, error)
}

type MountDriveRequest

type MountDriveRequest struct {
	DriveID              string   `protobuf:"bytes,1,opt,name=DriveID,proto3" json:"DriveID,omitempty"`
	DestinationPath      string   `protobuf:"bytes,2,opt,name=DestinationPath,proto3" json:"DestinationPath,omitempty"`
	FilesytemType        string   `protobuf:"bytes,3,opt,name=FilesytemType,proto3" json:"FilesytemType,omitempty"`
	Options              []string `protobuf:"bytes,4,rep,name=Options,proto3" json:"Options,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MountDriveRequest) Descriptor

func (*MountDriveRequest) Descriptor() ([]byte, []int)

func (*MountDriveRequest) Marshal

func (m *MountDriveRequest) Marshal() (dAtA []byte, err error)

func (*MountDriveRequest) MarshalTo

func (m *MountDriveRequest) MarshalTo(dAtA []byte) (int, error)

func (*MountDriveRequest) MarshalToSizedBuffer

func (m *MountDriveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MountDriveRequest) ProtoMessage

func (*MountDriveRequest) ProtoMessage()

func (*MountDriveRequest) Reset

func (m *MountDriveRequest) Reset()

func (*MountDriveRequest) Size

func (m *MountDriveRequest) Size() (n int)

func (*MountDriveRequest) String

func (this *MountDriveRequest) String() string

func (*MountDriveRequest) Unmarshal

func (m *MountDriveRequest) Unmarshal(dAtA []byte) error

func (*MountDriveRequest) XXX_DiscardUnknown

func (m *MountDriveRequest) XXX_DiscardUnknown()

func (*MountDriveRequest) XXX_Marshal

func (m *MountDriveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MountDriveRequest) XXX_Merge

func (m *MountDriveRequest) XXX_Merge(src proto.Message)

func (*MountDriveRequest) XXX_Size

func (m *MountDriveRequest) XXX_Size() int

func (*MountDriveRequest) XXX_Unmarshal

func (m *MountDriveRequest) XXX_Unmarshal(b []byte) error

type UnmountDriveRequest

type UnmountDriveRequest struct {
	DriveID              string   `protobuf:"bytes,1,opt,name=DriveID,proto3" json:"DriveID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnmountDriveRequest) Descriptor

func (*UnmountDriveRequest) Descriptor() ([]byte, []int)

func (*UnmountDriveRequest) Marshal

func (m *UnmountDriveRequest) Marshal() (dAtA []byte, err error)

func (*UnmountDriveRequest) MarshalTo

func (m *UnmountDriveRequest) MarshalTo(dAtA []byte) (int, error)

func (*UnmountDriveRequest) MarshalToSizedBuffer

func (m *UnmountDriveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnmountDriveRequest) ProtoMessage

func (*UnmountDriveRequest) ProtoMessage()

func (*UnmountDriveRequest) Reset

func (m *UnmountDriveRequest) Reset()

func (*UnmountDriveRequest) Size

func (m *UnmountDriveRequest) Size() (n int)

func (*UnmountDriveRequest) String

func (this *UnmountDriveRequest) String() string

func (*UnmountDriveRequest) Unmarshal

func (m *UnmountDriveRequest) Unmarshal(dAtA []byte) error

func (*UnmountDriveRequest) XXX_DiscardUnknown

func (m *UnmountDriveRequest) XXX_DiscardUnknown()

func (*UnmountDriveRequest) XXX_Marshal

func (m *UnmountDriveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnmountDriveRequest) XXX_Merge

func (m *UnmountDriveRequest) XXX_Merge(src proto.Message)

func (*UnmountDriveRequest) XXX_Size

func (m *UnmountDriveRequest) XXX_Size() int

func (*UnmountDriveRequest) XXX_Unmarshal

func (m *UnmountDriveRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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