Versions in this module Expand all Collapse all v1 v1.0.4 Aug 24, 2022 v1.0.3 Apr 1, 2021 Changes in this version + var ErrIntOverflowAgent = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthAgent = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupAgent = fmt.Errorf("proto: unexpected end of group") + var InetFamily_name = map[int32]string + var InetFamily_value = map[string]int32 + var RouteScope_name = map[int32]string + var RouteScope_value = map[string]int32 + func RegisterAgentServiceServer(s *grpc.Server, srv AgentServiceServer) + type AgentInfo struct + IsLocked bool + Version string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AgentInfo) Descriptor() ([]byte, []int) + func (*AgentInfo) ProtoMessage() + func (m *AgentInfo) GetIsLocked() bool + func (m *AgentInfo) GetVersion() string + func (m *AgentInfo) Marshal() (dAtA []byte, err error) + func (m *AgentInfo) MarshalTo(dAtA []byte) (int, error) + func (m *AgentInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *AgentInfo) Reset() + func (m *AgentInfo) Size() (n int) + func (m *AgentInfo) String() string + func (m *AgentInfo) Unmarshal(dAtA []byte) error + func (m *AgentInfo) XXX_DiscardUnknown() + func (m *AgentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AgentInfo) XXX_Merge(src proto.Message) + func (m *AgentInfo) XXX_Size() int + func (m *AgentInfo) XXX_Unmarshal(b []byte) error + type AgentServiceClient interface + AddIPAddr func(ctx context.Context, in *IPAddrRequest, opts ...grpc.CallOption) (*empty.Empty, error) + AddRoute func(ctx context.Context, in *RouteRequest, opts ...grpc.CallOption) (*RouteInfo, error) + CreateDir func(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DelIPAddr func(ctx context.Context, in *IPAddrRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DelRoute func(ctx context.Context, in *RouteRequest, opts ...grpc.CallOption) (*RouteInfo, error) + DownloadFile func(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (AgentService_DownloadFileClient, error) + FreezeFileSystems func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) + GetAgentInfo func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AgentInfo, error) + GetFileMD5Hash func(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*FileMD5Hash, error) + GetFileStat func(ctx context.Context, in *FileStatRequest, opts ...grpc.CallOption) (*FileStatList, error) + GetGuestInfo func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GuestInfo, error) + GetInterfaces func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*InterfaceList, error) + GetRouteList func(ctx context.Context, in *RouteListRequest, opts ...grpc.CallOption) (*RouteList, error) + SetFileMode func(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*empty.Empty, error) + SetFileOwner func(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*empty.Empty, error) + SetInterfaceLinkDown func(ctx context.Context, in *LinkNameRequest, opts ...grpc.CallOption) (*empty.Empty, error) + SetInterfaceLinkUp func(ctx context.Context, in *LinkNameRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ShutdownAgent func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) + UnfreezeFileSystems func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) + UploadFile func(ctx context.Context, opts ...grpc.CallOption) (AgentService_UploadFileClient, error) + func NewAgentServiceClient(cc *grpc.ClientConn) AgentServiceClient + type AgentServiceServer interface + AddIPAddr func(context.Context, *IPAddrRequest) (*empty.Empty, error) + AddRoute func(context.Context, *RouteRequest) (*RouteInfo, error) + CreateDir func(context.Context, *FileRequest) (*empty.Empty, error) + DelIPAddr func(context.Context, *IPAddrRequest) (*empty.Empty, error) + DelRoute func(context.Context, *RouteRequest) (*RouteInfo, error) + DownloadFile func(*FileRequest, AgentService_DownloadFileServer) error + FreezeFileSystems func(context.Context, *empty.Empty) (*empty.Empty, error) + GetAgentInfo func(context.Context, *empty.Empty) (*AgentInfo, error) + GetFileMD5Hash func(context.Context, *FileRequest) (*FileMD5Hash, error) + GetFileStat func(context.Context, *FileStatRequest) (*FileStatList, error) + GetGuestInfo func(context.Context, *empty.Empty) (*GuestInfo, error) + GetInterfaces func(context.Context, *empty.Empty) (*InterfaceList, error) + GetRouteList func(context.Context, *RouteListRequest) (*RouteList, error) + SetFileMode func(context.Context, *FileRequest) (*empty.Empty, error) + SetFileOwner func(context.Context, *FileRequest) (*empty.Empty, error) + SetInterfaceLinkDown func(context.Context, *LinkNameRequest) (*empty.Empty, error) + SetInterfaceLinkUp func(context.Context, *LinkNameRequest) (*empty.Empty, error) + ShutdownAgent func(context.Context, *empty.Empty) (*empty.Empty, error) + UnfreezeFileSystems func(context.Context, *empty.Empty) (*empty.Empty, error) + UploadFile func(AgentService_UploadFileServer) error + type AgentService_DownloadFileClient interface + Recv func() (*FileContent, error) + type AgentService_DownloadFileServer interface + Send func(*FileContent) error + type AgentService_UploadFileClient interface + CloseAndRecv func() (*empty.Empty, error) + Send func(*UploadFileRequest) error + type AgentService_UploadFileServer interface + Recv func() (*UploadFileRequest, error) + SendAndClose func(*empty.Empty) error + type FileContent struct + ChunkData []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*FileContent) Descriptor() ([]byte, []int) + func (*FileContent) ProtoMessage() + func (m *FileContent) GetChunkData() []byte + func (m *FileContent) Marshal() (dAtA []byte, err error) + func (m *FileContent) MarshalTo(dAtA []byte) (int, error) + func (m *FileContent) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FileContent) Reset() + func (m *FileContent) Size() (n int) + func (m *FileContent) String() string + func (m *FileContent) Unmarshal(dAtA []byte) error + func (m *FileContent) XXX_DiscardUnknown() + func (m *FileContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FileContent) XXX_Merge(src proto.Message) + func (m *FileContent) XXX_Size() int + func (m *FileContent) XXX_Unmarshal(b []byte) error + type FileMD5Hash struct + Hash string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*FileMD5Hash) Descriptor() ([]byte, []int) + func (*FileMD5Hash) ProtoMessage() + func (m *FileMD5Hash) GetHash() string + func (m *FileMD5Hash) Marshal() (dAtA []byte, err error) + func (m *FileMD5Hash) MarshalTo(dAtA []byte) (int, error) + func (m *FileMD5Hash) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FileMD5Hash) Reset() + func (m *FileMD5Hash) Size() (n int) + func (m *FileMD5Hash) String() string + func (m *FileMD5Hash) Unmarshal(dAtA []byte) error + func (m *FileMD5Hash) XXX_DiscardUnknown() + func (m *FileMD5Hash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FileMD5Hash) XXX_Merge(src proto.Message) + func (m *FileMD5Hash) XXX_Size() int + func (m *FileMD5Hash) XXX_Unmarshal(b []byte) error + type FileRequest struct + Group string + Mode uint32 + Owner string + Path string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*FileRequest) Descriptor() ([]byte, []int) + func (*FileRequest) ProtoMessage() + func (m *FileRequest) GetGroup() string + func (m *FileRequest) GetMode() uint32 + func (m *FileRequest) GetOwner() string + func (m *FileRequest) GetPath() string + func (m *FileRequest) Marshal() (dAtA []byte, err error) + func (m *FileRequest) MarshalTo(dAtA []byte) (int, error) + func (m *FileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FileRequest) Reset() + func (m *FileRequest) Size() (n int) + func (m *FileRequest) String() string + func (m *FileRequest) Unmarshal(dAtA []byte) error + func (m *FileRequest) XXX_DiscardUnknown() + func (m *FileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FileRequest) XXX_Merge(src proto.Message) + func (m *FileRequest) XXX_Size() int + func (m *FileRequest) XXX_Unmarshal(b []byte) error + type FileStat struct + Group *FileStat_Group + IsDir bool + Mode uint32 + Name string + Owner *FileStat_Owner + SizeBytes int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*FileStat) Descriptor() ([]byte, []int) + func (*FileStat) ProtoMessage() + func (m *FileStat) GetGroup() *FileStat_Group + func (m *FileStat) GetIsDir() bool + func (m *FileStat) GetMode() uint32 + func (m *FileStat) GetName() string + func (m *FileStat) GetOwner() *FileStat_Owner + func (m *FileStat) GetSizeBytes() int64 + func (m *FileStat) Marshal() (dAtA []byte, err error) + func (m *FileStat) MarshalTo(dAtA []byte) (int, error) + func (m *FileStat) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FileStat) Reset() + func (m *FileStat) Size() (n int) + func (m *FileStat) String() string + func (m *FileStat) Unmarshal(dAtA []byte) error + func (m *FileStat) XXX_DiscardUnknown() + func (m *FileStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FileStat) XXX_Merge(src proto.Message) + func (m *FileStat) XXX_Size() int + func (m *FileStat) XXX_Unmarshal(b []byte) error + type FileStatList struct + Files []*FileStat + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*FileStatList) Descriptor() ([]byte, []int) + func (*FileStatList) ProtoMessage() + func (m *FileStatList) GetFiles() []*FileStat + func (m *FileStatList) Marshal() (dAtA []byte, err error) + func (m *FileStatList) MarshalTo(dAtA []byte) (int, error) + func (m *FileStatList) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FileStatList) Reset() + func (m *FileStatList) Size() (n int) + func (m *FileStatList) String() string + func (m *FileStatList) Unmarshal(dAtA []byte) error + func (m *FileStatList) XXX_DiscardUnknown() + func (m *FileStatList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FileStatList) XXX_Merge(src proto.Message) + func (m *FileStatList) XXX_Size() int + func (m *FileStatList) XXX_Unmarshal(b []byte) error + type FileStatRequest struct + Path string + WithDirContent bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*FileStatRequest) Descriptor() ([]byte, []int) + func (*FileStatRequest) ProtoMessage() + func (m *FileStatRequest) GetPath() string + func (m *FileStatRequest) GetWithDirContent() bool + func (m *FileStatRequest) Marshal() (dAtA []byte, err error) + func (m *FileStatRequest) MarshalTo(dAtA []byte) (int, error) + func (m *FileStatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FileStatRequest) Reset() + func (m *FileStatRequest) Size() (n int) + func (m *FileStatRequest) String() string + func (m *FileStatRequest) Unmarshal(dAtA []byte) error + func (m *FileStatRequest) XXX_DiscardUnknown() + func (m *FileStatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FileStatRequest) XXX_Merge(src proto.Message) + func (m *FileStatRequest) XXX_Size() int + func (m *FileStatRequest) XXX_Unmarshal(b []byte) error + type FileStat_Group struct + Gid uint32 + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*FileStat_Group) Descriptor() ([]byte, []int) + func (*FileStat_Group) ProtoMessage() + func (m *FileStat_Group) GetGid() uint32 + func (m *FileStat_Group) GetName() string + func (m *FileStat_Group) Marshal() (dAtA []byte, err error) + func (m *FileStat_Group) MarshalTo(dAtA []byte) (int, error) + func (m *FileStat_Group) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FileStat_Group) Reset() + func (m *FileStat_Group) Size() (n int) + func (m *FileStat_Group) String() string + func (m *FileStat_Group) Unmarshal(dAtA []byte) error + func (m *FileStat_Group) XXX_DiscardUnknown() + func (m *FileStat_Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FileStat_Group) XXX_Merge(src proto.Message) + func (m *FileStat_Group) XXX_Size() int + func (m *FileStat_Group) XXX_Unmarshal(b []byte) error + type FileStat_Owner struct + Name string + Uid uint32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*FileStat_Owner) Descriptor() ([]byte, []int) + func (*FileStat_Owner) ProtoMessage() + func (m *FileStat_Owner) GetName() string + func (m *FileStat_Owner) GetUid() uint32 + func (m *FileStat_Owner) Marshal() (dAtA []byte, err error) + func (m *FileStat_Owner) MarshalTo(dAtA []byte) (int, error) + func (m *FileStat_Owner) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FileStat_Owner) Reset() + func (m *FileStat_Owner) Size() (n int) + func (m *FileStat_Owner) String() string + func (m *FileStat_Owner) Unmarshal(dAtA []byte) error + func (m *FileStat_Owner) XXX_DiscardUnknown() + func (m *FileStat_Owner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FileStat_Owner) XXX_Merge(src proto.Message) + func (m *FileStat_Owner) XXX_Size() int + func (m *FileStat_Owner) XXX_Unmarshal(b []byte) error + type GuestInfo struct + BlockDevices []*GuestInfo_BlockDevice + Loadavg *GuestInfo_LoadAverage + Mem *GuestInfo_MemStat + Swap *GuestInfo_SwapStat + Uname *GuestInfo_Utsname + Uptime int64 + Users []*GuestInfo_LoggedUser + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GuestInfo) Descriptor() ([]byte, []int) + func (*GuestInfo) ProtoMessage() + func (m *GuestInfo) GetBlockDevices() []*GuestInfo_BlockDevice + func (m *GuestInfo) GetLoadavg() *GuestInfo_LoadAverage + func (m *GuestInfo) GetMem() *GuestInfo_MemStat + func (m *GuestInfo) GetSwap() *GuestInfo_SwapStat + func (m *GuestInfo) GetUname() *GuestInfo_Utsname + func (m *GuestInfo) GetUptime() int64 + func (m *GuestInfo) GetUsers() []*GuestInfo_LoggedUser + func (m *GuestInfo) Marshal() (dAtA []byte, err error) + func (m *GuestInfo) MarshalTo(dAtA []byte) (int, error) + func (m *GuestInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GuestInfo) Reset() + func (m *GuestInfo) Size() (n int) + func (m *GuestInfo) String() string + func (m *GuestInfo) Unmarshal(dAtA []byte) error + func (m *GuestInfo) XXX_DiscardUnknown() + func (m *GuestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GuestInfo) XXX_Merge(src proto.Message) + func (m *GuestInfo) XXX_Size() int + func (m *GuestInfo) XXX_Unmarshal(b []byte) error + type GuestInfo_BlockDevice struct + InodesAvail int64 + InodesTotal int64 + InodesUsed int64 + IsMounted bool + MountPoint string + Path string + SizeAvail int64 + SizeTotal int64 + SizeUsed int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GuestInfo_BlockDevice) Descriptor() ([]byte, []int) + func (*GuestInfo_BlockDevice) ProtoMessage() + func (m *GuestInfo_BlockDevice) GetInodesAvail() int64 + func (m *GuestInfo_BlockDevice) GetInodesTotal() int64 + func (m *GuestInfo_BlockDevice) GetInodesUsed() int64 + func (m *GuestInfo_BlockDevice) GetIsMounted() bool + func (m *GuestInfo_BlockDevice) GetMountPoint() string + func (m *GuestInfo_BlockDevice) GetPath() string + func (m *GuestInfo_BlockDevice) GetSizeAvail() int64 + func (m *GuestInfo_BlockDevice) GetSizeTotal() int64 + func (m *GuestInfo_BlockDevice) GetSizeUsed() int64 + func (m *GuestInfo_BlockDevice) Marshal() (dAtA []byte, err error) + func (m *GuestInfo_BlockDevice) MarshalTo(dAtA []byte) (int, error) + func (m *GuestInfo_BlockDevice) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GuestInfo_BlockDevice) Reset() + func (m *GuestInfo_BlockDevice) Size() (n int) + func (m *GuestInfo_BlockDevice) String() string + func (m *GuestInfo_BlockDevice) Unmarshal(dAtA []byte) error + func (m *GuestInfo_BlockDevice) XXX_DiscardUnknown() + func (m *GuestInfo_BlockDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GuestInfo_BlockDevice) XXX_Merge(src proto.Message) + func (m *GuestInfo_BlockDevice) XXX_Size() int + func (m *GuestInfo_BlockDevice) XXX_Unmarshal(b []byte) error + type GuestInfo_LoadAverage struct + Fifteen float64 + Five float64 + One float64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GuestInfo_LoadAverage) Descriptor() ([]byte, []int) + func (*GuestInfo_LoadAverage) ProtoMessage() + func (m *GuestInfo_LoadAverage) GetFifteen() float64 + func (m *GuestInfo_LoadAverage) GetFive() float64 + func (m *GuestInfo_LoadAverage) GetOne() float64 + func (m *GuestInfo_LoadAverage) Marshal() (dAtA []byte, err error) + func (m *GuestInfo_LoadAverage) MarshalTo(dAtA []byte) (int, error) + func (m *GuestInfo_LoadAverage) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GuestInfo_LoadAverage) Reset() + func (m *GuestInfo_LoadAverage) Size() (n int) + func (m *GuestInfo_LoadAverage) String() string + func (m *GuestInfo_LoadAverage) Unmarshal(dAtA []byte) error + func (m *GuestInfo_LoadAverage) XXX_DiscardUnknown() + func (m *GuestInfo_LoadAverage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GuestInfo_LoadAverage) XXX_Merge(src proto.Message) + func (m *GuestInfo_LoadAverage) XXX_Size() int + func (m *GuestInfo_LoadAverage) XXX_Unmarshal(b []byte) error + type GuestInfo_LoggedUser struct + Device string + Host string + LoginTime int64 + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GuestInfo_LoggedUser) Descriptor() ([]byte, []int) + func (*GuestInfo_LoggedUser) ProtoMessage() + func (m *GuestInfo_LoggedUser) GetDevice() string + func (m *GuestInfo_LoggedUser) GetHost() string + func (m *GuestInfo_LoggedUser) GetLoginTime() int64 + func (m *GuestInfo_LoggedUser) GetName() string + func (m *GuestInfo_LoggedUser) Marshal() (dAtA []byte, err error) + func (m *GuestInfo_LoggedUser) MarshalTo(dAtA []byte) (int, error) + func (m *GuestInfo_LoggedUser) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GuestInfo_LoggedUser) Reset() + func (m *GuestInfo_LoggedUser) Size() (n int) + func (m *GuestInfo_LoggedUser) String() string + func (m *GuestInfo_LoggedUser) Unmarshal(dAtA []byte) error + func (m *GuestInfo_LoggedUser) XXX_DiscardUnknown() + func (m *GuestInfo_LoggedUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GuestInfo_LoggedUser) XXX_Merge(src proto.Message) + func (m *GuestInfo_LoggedUser) XXX_Size() int + func (m *GuestInfo_LoggedUser) XXX_Unmarshal(b []byte) error + type GuestInfo_MemStat struct + Buffers uint64 + Cached uint64 + Free uint64 + FreeTotal uint64 + Total uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GuestInfo_MemStat) Descriptor() ([]byte, []int) + func (*GuestInfo_MemStat) ProtoMessage() + func (m *GuestInfo_MemStat) GetBuffers() uint64 + func (m *GuestInfo_MemStat) GetCached() uint64 + func (m *GuestInfo_MemStat) GetFree() uint64 + func (m *GuestInfo_MemStat) GetFreeTotal() uint64 + func (m *GuestInfo_MemStat) GetTotal() uint64 + func (m *GuestInfo_MemStat) Marshal() (dAtA []byte, err error) + func (m *GuestInfo_MemStat) MarshalTo(dAtA []byte) (int, error) + func (m *GuestInfo_MemStat) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GuestInfo_MemStat) Reset() + func (m *GuestInfo_MemStat) Size() (n int) + func (m *GuestInfo_MemStat) String() string + func (m *GuestInfo_MemStat) Unmarshal(dAtA []byte) error + func (m *GuestInfo_MemStat) XXX_DiscardUnknown() + func (m *GuestInfo_MemStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GuestInfo_MemStat) XXX_Merge(src proto.Message) + func (m *GuestInfo_MemStat) XXX_Size() int + func (m *GuestInfo_MemStat) XXX_Unmarshal(b []byte) error + type GuestInfo_SwapStat struct + Free uint64 + Total uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GuestInfo_SwapStat) Descriptor() ([]byte, []int) + func (*GuestInfo_SwapStat) ProtoMessage() + func (m *GuestInfo_SwapStat) GetFree() uint64 + func (m *GuestInfo_SwapStat) GetTotal() uint64 + func (m *GuestInfo_SwapStat) Marshal() (dAtA []byte, err error) + func (m *GuestInfo_SwapStat) MarshalTo(dAtA []byte) (int, error) + func (m *GuestInfo_SwapStat) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GuestInfo_SwapStat) Reset() + func (m *GuestInfo_SwapStat) Size() (n int) + func (m *GuestInfo_SwapStat) String() string + func (m *GuestInfo_SwapStat) Unmarshal(dAtA []byte) error + func (m *GuestInfo_SwapStat) XXX_DiscardUnknown() + func (m *GuestInfo_SwapStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GuestInfo_SwapStat) XXX_Merge(src proto.Message) + func (m *GuestInfo_SwapStat) XXX_Size() int + func (m *GuestInfo_SwapStat) XXX_Unmarshal(b []byte) error + type GuestInfo_Utsname struct + Domainname string + Machine string + Nodename string + Release string + Sysname string + Version string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GuestInfo_Utsname) Descriptor() ([]byte, []int) + func (*GuestInfo_Utsname) ProtoMessage() + func (m *GuestInfo_Utsname) GetDomainname() string + func (m *GuestInfo_Utsname) GetMachine() string + func (m *GuestInfo_Utsname) GetNodename() string + func (m *GuestInfo_Utsname) GetRelease() string + func (m *GuestInfo_Utsname) GetSysname() string + func (m *GuestInfo_Utsname) GetVersion() string + func (m *GuestInfo_Utsname) Marshal() (dAtA []byte, err error) + func (m *GuestInfo_Utsname) MarshalTo(dAtA []byte) (int, error) + func (m *GuestInfo_Utsname) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GuestInfo_Utsname) Reset() + func (m *GuestInfo_Utsname) Size() (n int) + func (m *GuestInfo_Utsname) String() string + func (m *GuestInfo_Utsname) Unmarshal(dAtA []byte) error + func (m *GuestInfo_Utsname) XXX_DiscardUnknown() + func (m *GuestInfo_Utsname) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GuestInfo_Utsname) XXX_Merge(src proto.Message) + func (m *GuestInfo_Utsname) XXX_Size() int + func (m *GuestInfo_Utsname) XXX_Unmarshal(b []byte) error + type IPAddrRequest struct + Addr string + LinkName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*IPAddrRequest) Descriptor() ([]byte, []int) + func (*IPAddrRequest) ProtoMessage() + func (m *IPAddrRequest) GetAddr() string + func (m *IPAddrRequest) GetLinkName() string + func (m *IPAddrRequest) Marshal() (dAtA []byte, err error) + func (m *IPAddrRequest) MarshalTo(dAtA []byte) (int, error) + func (m *IPAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *IPAddrRequest) Reset() + func (m *IPAddrRequest) Size() (n int) + func (m *IPAddrRequest) String() string + func (m *IPAddrRequest) Unmarshal(dAtA []byte) error + func (m *IPAddrRequest) XXX_DiscardUnknown() + func (m *IPAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *IPAddrRequest) XXX_Merge(src proto.Message) + func (m *IPAddrRequest) XXX_Size() int + func (m *IPAddrRequest) XXX_Unmarshal(b []byte) error + type InetFamily int32 + const InetFamily_AF_INET + const InetFamily_AF_INET6 + const InetFamily_AF_UNSPECIFIED + func (InetFamily) EnumDescriptor() ([]byte, []int) + func (x InetFamily) String() string + type InterfaceInfo struct + Addrs []string + Flags uint32 + HwAddr string + Index int32 + MTU int32 + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*InterfaceInfo) Descriptor() ([]byte, []int) + func (*InterfaceInfo) ProtoMessage() + func (m *InterfaceInfo) GetAddrs() []string + func (m *InterfaceInfo) GetFlags() uint32 + func (m *InterfaceInfo) GetHwAddr() string + func (m *InterfaceInfo) GetIndex() int32 + func (m *InterfaceInfo) GetMTU() int32 + func (m *InterfaceInfo) GetName() string + func (m *InterfaceInfo) Marshal() (dAtA []byte, err error) + func (m *InterfaceInfo) MarshalTo(dAtA []byte) (int, error) + func (m *InterfaceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *InterfaceInfo) Reset() + func (m *InterfaceInfo) Size() (n int) + func (m *InterfaceInfo) String() string + func (m *InterfaceInfo) Unmarshal(dAtA []byte) error + func (m *InterfaceInfo) XXX_DiscardUnknown() + func (m *InterfaceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *InterfaceInfo) XXX_Merge(src proto.Message) + func (m *InterfaceInfo) XXX_Size() int + func (m *InterfaceInfo) XXX_Unmarshal(b []byte) error + type InterfaceList struct + Interfaces []*InterfaceInfo + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*InterfaceList) Descriptor() ([]byte, []int) + func (*InterfaceList) ProtoMessage() + func (m *InterfaceList) GetInterfaces() []*InterfaceInfo + func (m *InterfaceList) Marshal() (dAtA []byte, err error) + func (m *InterfaceList) MarshalTo(dAtA []byte) (int, error) + func (m *InterfaceList) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *InterfaceList) Reset() + func (m *InterfaceList) Size() (n int) + func (m *InterfaceList) String() string + func (m *InterfaceList) Unmarshal(dAtA []byte) error + func (m *InterfaceList) XXX_DiscardUnknown() + func (m *InterfaceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *InterfaceList) XXX_Merge(src proto.Message) + func (m *InterfaceList) XXX_Size() int + func (m *InterfaceList) XXX_Unmarshal(b []byte) error + type LinkNameRequest struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*LinkNameRequest) Descriptor() ([]byte, []int) + func (*LinkNameRequest) ProtoMessage() + func (m *LinkNameRequest) GetName() string + func (m *LinkNameRequest) Marshal() (dAtA []byte, err error) + func (m *LinkNameRequest) MarshalTo(dAtA []byte) (int, error) + func (m *LinkNameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LinkNameRequest) Reset() + func (m *LinkNameRequest) Size() (n int) + func (m *LinkNameRequest) String() string + func (m *LinkNameRequest) Unmarshal(dAtA []byte) error + func (m *LinkNameRequest) XXX_DiscardUnknown() + func (m *LinkNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LinkNameRequest) XXX_Merge(src proto.Message) + func (m *LinkNameRequest) XXX_Size() int + func (m *LinkNameRequest) XXX_Unmarshal(b []byte) error + type RouteInfo struct + Dst string + Gw string + LinkIndex int32 + LinkName string + Scope RouteScope + Src string + Table int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RouteInfo) Descriptor() ([]byte, []int) + func (*RouteInfo) ProtoMessage() + func (m *RouteInfo) GetDst() string + func (m *RouteInfo) GetGw() string + func (m *RouteInfo) GetLinkIndex() int32 + func (m *RouteInfo) GetLinkName() string + func (m *RouteInfo) GetScope() RouteScope + func (m *RouteInfo) GetSrc() string + func (m *RouteInfo) GetTable() int32 + func (m *RouteInfo) Marshal() (dAtA []byte, err error) + func (m *RouteInfo) MarshalTo(dAtA []byte) (int, error) + func (m *RouteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RouteInfo) Reset() + func (m *RouteInfo) Size() (n int) + func (m *RouteInfo) String() string + func (m *RouteInfo) Unmarshal(dAtA []byte) error + func (m *RouteInfo) XXX_DiscardUnknown() + func (m *RouteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RouteInfo) XXX_Merge(src proto.Message) + func (m *RouteInfo) XXX_Size() int + func (m *RouteInfo) XXX_Unmarshal(b []byte) error + type RouteList struct + Routes []*RouteInfo + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RouteList) Descriptor() ([]byte, []int) + func (*RouteList) ProtoMessage() + func (m *RouteList) GetRoutes() []*RouteInfo + func (m *RouteList) Marshal() (dAtA []byte, err error) + func (m *RouteList) MarshalTo(dAtA []byte) (int, error) + func (m *RouteList) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RouteList) Reset() + func (m *RouteList) Size() (n int) + func (m *RouteList) String() string + func (m *RouteList) Unmarshal(dAtA []byte) error + func (m *RouteList) XXX_DiscardUnknown() + func (m *RouteList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RouteList) XXX_Merge(src proto.Message) + func (m *RouteList) XXX_Size() int + func (m *RouteList) XXX_Unmarshal(b []byte) error + type RouteListRequest struct + Family InetFamily + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RouteListRequest) Descriptor() ([]byte, []int) + func (*RouteListRequest) ProtoMessage() + func (m *RouteListRequest) GetFamily() InetFamily + func (m *RouteListRequest) Marshal() (dAtA []byte, err error) + func (m *RouteListRequest) MarshalTo(dAtA []byte) (int, error) + func (m *RouteListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RouteListRequest) Reset() + func (m *RouteListRequest) Size() (n int) + func (m *RouteListRequest) String() string + func (m *RouteListRequest) Unmarshal(dAtA []byte) error + func (m *RouteListRequest) XXX_DiscardUnknown() + func (m *RouteListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RouteListRequest) XXX_Merge(src proto.Message) + func (m *RouteListRequest) XXX_Size() int + func (m *RouteListRequest) XXX_Unmarshal(b []byte) error + type RouteRequest struct + Dst string + Gw string + LinkName string + Scope RouteScope + Src string + Table int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RouteRequest) Descriptor() ([]byte, []int) + func (*RouteRequest) ProtoMessage() + func (m *RouteRequest) GetDst() string + func (m *RouteRequest) GetGw() string + func (m *RouteRequest) GetLinkName() string + func (m *RouteRequest) GetScope() RouteScope + func (m *RouteRequest) GetSrc() string + func (m *RouteRequest) GetTable() int32 + func (m *RouteRequest) Marshal() (dAtA []byte, err error) + func (m *RouteRequest) MarshalTo(dAtA []byte) (int, error) + func (m *RouteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RouteRequest) Reset() + func (m *RouteRequest) Size() (n int) + func (m *RouteRequest) String() string + func (m *RouteRequest) Unmarshal(dAtA []byte) error + func (m *RouteRequest) XXX_DiscardUnknown() + func (m *RouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RouteRequest) XXX_Merge(src proto.Message) + func (m *RouteRequest) XXX_Size() int + func (m *RouteRequest) XXX_Unmarshal(b []byte) error + type RouteScope int32 + const RouteScope_SCOPE_HOST + const RouteScope_SCOPE_LINK + const RouteScope_SCOPE_NOWHERE + const RouteScope_SCOPE_SITE + const RouteScope_SCOPE_UNIVERSE + func (RouteScope) EnumDescriptor() ([]byte, []int) + func (x RouteScope) String() string + type UnimplementedAgentServiceServer struct + func (*UnimplementedAgentServiceServer) AddIPAddr(ctx context.Context, req *IPAddrRequest) (*empty.Empty, error) + func (*UnimplementedAgentServiceServer) AddRoute(ctx context.Context, req *RouteRequest) (*RouteInfo, error) + func (*UnimplementedAgentServiceServer) CreateDir(ctx context.Context, req *FileRequest) (*empty.Empty, error) + func (*UnimplementedAgentServiceServer) DelIPAddr(ctx context.Context, req *IPAddrRequest) (*empty.Empty, error) + func (*UnimplementedAgentServiceServer) DelRoute(ctx context.Context, req *RouteRequest) (*RouteInfo, error) + func (*UnimplementedAgentServiceServer) DownloadFile(req *FileRequest, srv AgentService_DownloadFileServer) error + func (*UnimplementedAgentServiceServer) FreezeFileSystems(ctx context.Context, req *empty.Empty) (*empty.Empty, error) + func (*UnimplementedAgentServiceServer) GetAgentInfo(ctx context.Context, req *empty.Empty) (*AgentInfo, error) + func (*UnimplementedAgentServiceServer) GetFileMD5Hash(ctx context.Context, req *FileRequest) (*FileMD5Hash, error) + func (*UnimplementedAgentServiceServer) GetFileStat(ctx context.Context, req *FileStatRequest) (*FileStatList, error) + func (*UnimplementedAgentServiceServer) GetGuestInfo(ctx context.Context, req *empty.Empty) (*GuestInfo, error) + func (*UnimplementedAgentServiceServer) GetInterfaces(ctx context.Context, req *empty.Empty) (*InterfaceList, error) + func (*UnimplementedAgentServiceServer) GetRouteList(ctx context.Context, req *RouteListRequest) (*RouteList, error) + func (*UnimplementedAgentServiceServer) SetFileMode(ctx context.Context, req *FileRequest) (*empty.Empty, error) + func (*UnimplementedAgentServiceServer) SetFileOwner(ctx context.Context, req *FileRequest) (*empty.Empty, error) + func (*UnimplementedAgentServiceServer) SetInterfaceLinkDown(ctx context.Context, req *LinkNameRequest) (*empty.Empty, error) + func (*UnimplementedAgentServiceServer) SetInterfaceLinkUp(ctx context.Context, req *LinkNameRequest) (*empty.Empty, error) + func (*UnimplementedAgentServiceServer) ShutdownAgent(ctx context.Context, req *empty.Empty) (*empty.Empty, error) + func (*UnimplementedAgentServiceServer) UnfreezeFileSystems(ctx context.Context, req *empty.Empty) (*empty.Empty, error) + func (*UnimplementedAgentServiceServer) UploadFile(srv AgentService_UploadFileServer) error + type UploadFileRequest struct + Data isUploadFileRequest_Data + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UploadFileRequest) Descriptor() ([]byte, []int) + func (*UploadFileRequest) ProtoMessage() + func (*UploadFileRequest) XXX_OneofWrappers() []interface{} + func (m *UploadFileRequest) GetChunkData() []byte + func (m *UploadFileRequest) GetData() isUploadFileRequest_Data + func (m *UploadFileRequest) GetInfo() *UploadFileRequest_FileInfo + func (m *UploadFileRequest) Marshal() (dAtA []byte, err error) + func (m *UploadFileRequest) MarshalTo(dAtA []byte) (int, error) + func (m *UploadFileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UploadFileRequest) Reset() + func (m *UploadFileRequest) Size() (n int) + func (m *UploadFileRequest) String() string + func (m *UploadFileRequest) Unmarshal(dAtA []byte) error + func (m *UploadFileRequest) XXX_DiscardUnknown() + func (m *UploadFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UploadFileRequest) XXX_Merge(src proto.Message) + func (m *UploadFileRequest) XXX_Size() int + func (m *UploadFileRequest) XXX_Unmarshal(b []byte) error + type UploadFileRequest_ChunkData struct + ChunkData []byte + func (m *UploadFileRequest_ChunkData) MarshalTo(dAtA []byte) (int, error) + func (m *UploadFileRequest_ChunkData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UploadFileRequest_ChunkData) Size() (n int) + type UploadFileRequest_FileInfo struct + Path string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UploadFileRequest_FileInfo) Descriptor() ([]byte, []int) + func (*UploadFileRequest_FileInfo) ProtoMessage() + func (m *UploadFileRequest_FileInfo) GetPath() string + func (m *UploadFileRequest_FileInfo) Marshal() (dAtA []byte, err error) + func (m *UploadFileRequest_FileInfo) MarshalTo(dAtA []byte) (int, error) + func (m *UploadFileRequest_FileInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UploadFileRequest_FileInfo) Reset() + func (m *UploadFileRequest_FileInfo) Size() (n int) + func (m *UploadFileRequest_FileInfo) String() string + func (m *UploadFileRequest_FileInfo) Unmarshal(dAtA []byte) error + func (m *UploadFileRequest_FileInfo) XXX_DiscardUnknown() + func (m *UploadFileRequest_FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UploadFileRequest_FileInfo) XXX_Merge(src proto.Message) + func (m *UploadFileRequest_FileInfo) XXX_Size() int + func (m *UploadFileRequest_FileInfo) XXX_Unmarshal(b []byte) error + type UploadFileRequest_Info struct + Info *UploadFileRequest_FileInfo + func (m *UploadFileRequest_Info) MarshalTo(dAtA []byte) (int, error) + func (m *UploadFileRequest_Info) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UploadFileRequest_Info) Size() (n int)