Documentation
¶
Index ¶
- func RegisterVirtualMachineAgentServer(s *grpc.Server, srv VirtualMachineAgentServer)
- type UnimplementedVirtualMachineAgentServer
- func (*UnimplementedVirtualMachineAgentServer) CheckNotification(ctx context.Context, req *empty.Empty) (*common.NotificationResponse, error)
- func (*UnimplementedVirtualMachineAgentServer) GetCommandResult(ctx context.Context, req *VirtualMachineCommandResultRequest) (*VirtualMachineRunCommandResponse, error)
- func (*UnimplementedVirtualMachineAgentServer) RunCommand(ctx context.Context, req *VirtualMachineRunCommandRequest) (*VirtualMachineRunCommandResponse, error)
- func (*UnimplementedVirtualMachineAgentServer) UpdateAgent(ctx context.Context, req *UpdateAgentRequest) (*UpdateAgentResponse, error)
- type UpdateAgentRequest
- func (*UpdateAgentRequest) Descriptor() ([]byte, []int)
- func (m *UpdateAgentRequest) GetAgentBinary() []byte
- func (m *UpdateAgentRequest) GetMocVersion() string
- func (*UpdateAgentRequest) ProtoMessage()
- func (m *UpdateAgentRequest) Reset()
- func (m *UpdateAgentRequest) String() string
- func (m *UpdateAgentRequest) XXX_DiscardUnknown()
- func (m *UpdateAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateAgentRequest) XXX_Merge(src proto.Message)
- func (m *UpdateAgentRequest) XXX_Size() int
- func (m *UpdateAgentRequest) XXX_Unmarshal(b []byte) error
- type UpdateAgentResponse
- func (*UpdateAgentResponse) Descriptor() ([]byte, []int)
- func (m *UpdateAgentResponse) GetError() string
- func (m *UpdateAgentResponse) GetResult() *wrappers.BoolValue
- func (*UpdateAgentResponse) ProtoMessage()
- func (m *UpdateAgentResponse) Reset()
- func (m *UpdateAgentResponse) String() string
- func (m *UpdateAgentResponse) XXX_DiscardUnknown()
- func (m *UpdateAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateAgentResponse) XXX_Merge(src proto.Message)
- func (m *UpdateAgentResponse) XXX_Size() int
- func (m *UpdateAgentResponse) XXX_Unmarshal(b []byte) error
- type VirtualMachineAgentClient
- type VirtualMachineAgentServer
- type VirtualMachineCommandResultRequest
- func (*VirtualMachineCommandResultRequest) Descriptor() ([]byte, []int)
- func (m *VirtualMachineCommandResultRequest) GetOperationID() string
- func (*VirtualMachineCommandResultRequest) ProtoMessage()
- func (m *VirtualMachineCommandResultRequest) Reset()
- func (m *VirtualMachineCommandResultRequest) String() string
- func (m *VirtualMachineCommandResultRequest) XXX_DiscardUnknown()
- func (m *VirtualMachineCommandResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualMachineCommandResultRequest) XXX_Merge(src proto.Message)
- func (m *VirtualMachineCommandResultRequest) XXX_Size() int
- func (m *VirtualMachineCommandResultRequest) XXX_Unmarshal(b []byte) error
- type VirtualMachineRunCommandRequest
- func (*VirtualMachineRunCommandRequest) Descriptor() ([]byte, []int)
- func (m *VirtualMachineRunCommandRequest) GetOperationID() string
- func (m *VirtualMachineRunCommandRequest) GetRunAsPassword() string
- func (m *VirtualMachineRunCommandRequest) GetRunAsUser() string
- func (m *VirtualMachineRunCommandRequest) GetRunCommandInputParameters() []*common.VirtualMachineRunCommandInputParameter
- func (m *VirtualMachineRunCommandRequest) GetSource() *common.VirtualMachineRunCommandScriptSource
- func (*VirtualMachineRunCommandRequest) ProtoMessage()
- func (m *VirtualMachineRunCommandRequest) Reset()
- func (m *VirtualMachineRunCommandRequest) String() string
- func (m *VirtualMachineRunCommandRequest) XXX_DiscardUnknown()
- func (m *VirtualMachineRunCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualMachineRunCommandRequest) XXX_Merge(src proto.Message)
- func (m *VirtualMachineRunCommandRequest) XXX_Size() int
- func (m *VirtualMachineRunCommandRequest) XXX_Unmarshal(b []byte) error
- type VirtualMachineRunCommandResponse
- func (*VirtualMachineRunCommandResponse) Descriptor() ([]byte, []int)
- func (m *VirtualMachineRunCommandResponse) GetInstanceView() *common.VirtualMachineRunCommandInstanceView
- func (m *VirtualMachineRunCommandResponse) GetOperationID() string
- func (*VirtualMachineRunCommandResponse) ProtoMessage()
- func (m *VirtualMachineRunCommandResponse) Reset()
- func (m *VirtualMachineRunCommandResponse) String() string
- func (m *VirtualMachineRunCommandResponse) XXX_DiscardUnknown()
- func (m *VirtualMachineRunCommandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualMachineRunCommandResponse) XXX_Merge(src proto.Message)
- func (m *VirtualMachineRunCommandResponse) XXX_Size() int
- func (m *VirtualMachineRunCommandResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterVirtualMachineAgentServer ¶
func RegisterVirtualMachineAgentServer(s *grpc.Server, srv VirtualMachineAgentServer)
Types ¶
type UnimplementedVirtualMachineAgentServer ¶
type UnimplementedVirtualMachineAgentServer struct { }
UnimplementedVirtualMachineAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedVirtualMachineAgentServer) CheckNotification ¶
func (*UnimplementedVirtualMachineAgentServer) CheckNotification(ctx context.Context, req *empty.Empty) (*common.NotificationResponse, error)
func (*UnimplementedVirtualMachineAgentServer) GetCommandResult ¶
func (*UnimplementedVirtualMachineAgentServer) GetCommandResult(ctx context.Context, req *VirtualMachineCommandResultRequest) (*VirtualMachineRunCommandResponse, error)
func (*UnimplementedVirtualMachineAgentServer) RunCommand ¶
func (*UnimplementedVirtualMachineAgentServer) RunCommand(ctx context.Context, req *VirtualMachineRunCommandRequest) (*VirtualMachineRunCommandResponse, error)
func (*UnimplementedVirtualMachineAgentServer) UpdateAgent ¶
func (*UnimplementedVirtualMachineAgentServer) UpdateAgent(ctx context.Context, req *UpdateAgentRequest) (*UpdateAgentResponse, error)
type UpdateAgentRequest ¶
type UpdateAgentRequest struct { AgentBinary []byte `protobuf:"bytes,1,opt,name=AgentBinary,proto3" json:"AgentBinary,omitempty"` MocVersion string `protobuf:"bytes,2,opt,name=MocVersion,proto3" json:"MocVersion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateAgentRequest) Descriptor ¶
func (*UpdateAgentRequest) Descriptor() ([]byte, []int)
func (*UpdateAgentRequest) GetAgentBinary ¶
func (m *UpdateAgentRequest) GetAgentBinary() []byte
func (*UpdateAgentRequest) GetMocVersion ¶
func (m *UpdateAgentRequest) GetMocVersion() string
func (*UpdateAgentRequest) ProtoMessage ¶
func (*UpdateAgentRequest) ProtoMessage()
func (*UpdateAgentRequest) Reset ¶
func (m *UpdateAgentRequest) Reset()
func (*UpdateAgentRequest) String ¶
func (m *UpdateAgentRequest) String() string
func (*UpdateAgentRequest) XXX_DiscardUnknown ¶
func (m *UpdateAgentRequest) XXX_DiscardUnknown()
func (*UpdateAgentRequest) XXX_Marshal ¶
func (m *UpdateAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateAgentRequest) XXX_Merge ¶
func (m *UpdateAgentRequest) XXX_Merge(src proto.Message)
func (*UpdateAgentRequest) XXX_Size ¶
func (m *UpdateAgentRequest) XXX_Size() int
func (*UpdateAgentRequest) XXX_Unmarshal ¶
func (m *UpdateAgentRequest) XXX_Unmarshal(b []byte) error
type UpdateAgentResponse ¶
type UpdateAgentResponse struct { Result *wrappers.BoolValue `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateAgentResponse) Descriptor ¶
func (*UpdateAgentResponse) Descriptor() ([]byte, []int)
func (*UpdateAgentResponse) GetError ¶
func (m *UpdateAgentResponse) GetError() string
func (*UpdateAgentResponse) GetResult ¶
func (m *UpdateAgentResponse) GetResult() *wrappers.BoolValue
func (*UpdateAgentResponse) ProtoMessage ¶
func (*UpdateAgentResponse) ProtoMessage()
func (*UpdateAgentResponse) Reset ¶
func (m *UpdateAgentResponse) Reset()
func (*UpdateAgentResponse) String ¶
func (m *UpdateAgentResponse) String() string
func (*UpdateAgentResponse) XXX_DiscardUnknown ¶
func (m *UpdateAgentResponse) XXX_DiscardUnknown()
func (*UpdateAgentResponse) XXX_Marshal ¶
func (m *UpdateAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateAgentResponse) XXX_Merge ¶
func (m *UpdateAgentResponse) XXX_Merge(src proto.Message)
func (*UpdateAgentResponse) XXX_Size ¶
func (m *UpdateAgentResponse) XXX_Size() int
func (*UpdateAgentResponse) XXX_Unmarshal ¶
func (m *UpdateAgentResponse) XXX_Unmarshal(b []byte) error
type VirtualMachineAgentClient ¶
type VirtualMachineAgentClient interface { CheckNotification(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.NotificationResponse, error) RunCommand(ctx context.Context, in *VirtualMachineRunCommandRequest, opts ...grpc.CallOption) (*VirtualMachineRunCommandResponse, error) GetCommandResult(ctx context.Context, in *VirtualMachineCommandResultRequest, opts ...grpc.CallOption) (*VirtualMachineRunCommandResponse, error) UpdateAgent(ctx context.Context, in *UpdateAgentRequest, opts ...grpc.CallOption) (*UpdateAgentResponse, error) }
VirtualMachineAgentClient is the client API for VirtualMachineAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVirtualMachineAgentClient ¶
func NewVirtualMachineAgentClient(cc *grpc.ClientConn) VirtualMachineAgentClient
type VirtualMachineAgentServer ¶
type VirtualMachineAgentServer interface { CheckNotification(context.Context, *empty.Empty) (*common.NotificationResponse, error) RunCommand(context.Context, *VirtualMachineRunCommandRequest) (*VirtualMachineRunCommandResponse, error) GetCommandResult(context.Context, *VirtualMachineCommandResultRequest) (*VirtualMachineRunCommandResponse, error) UpdateAgent(context.Context, *UpdateAgentRequest) (*UpdateAgentResponse, error) }
VirtualMachineAgentServer is the server API for VirtualMachineAgent service.
type VirtualMachineCommandResultRequest ¶
type VirtualMachineCommandResultRequest struct { OperationID string `protobuf:"bytes,1,opt,name=OperationID,proto3" json:"OperationID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VirtualMachineCommandResultRequest) Descriptor ¶
func (*VirtualMachineCommandResultRequest) Descriptor() ([]byte, []int)
func (*VirtualMachineCommandResultRequest) GetOperationID ¶
func (m *VirtualMachineCommandResultRequest) GetOperationID() string
func (*VirtualMachineCommandResultRequest) ProtoMessage ¶
func (*VirtualMachineCommandResultRequest) ProtoMessage()
func (*VirtualMachineCommandResultRequest) Reset ¶
func (m *VirtualMachineCommandResultRequest) Reset()
func (*VirtualMachineCommandResultRequest) String ¶
func (m *VirtualMachineCommandResultRequest) String() string
func (*VirtualMachineCommandResultRequest) XXX_DiscardUnknown ¶
func (m *VirtualMachineCommandResultRequest) XXX_DiscardUnknown()
func (*VirtualMachineCommandResultRequest) XXX_Marshal ¶
func (m *VirtualMachineCommandResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VirtualMachineCommandResultRequest) XXX_Merge ¶
func (m *VirtualMachineCommandResultRequest) XXX_Merge(src proto.Message)
func (*VirtualMachineCommandResultRequest) XXX_Size ¶
func (m *VirtualMachineCommandResultRequest) XXX_Size() int
func (*VirtualMachineCommandResultRequest) XXX_Unmarshal ¶
func (m *VirtualMachineCommandResultRequest) XXX_Unmarshal(b []byte) error
type VirtualMachineRunCommandRequest ¶
type VirtualMachineRunCommandRequest struct { Source *common.VirtualMachineRunCommandScriptSource `protobuf:"bytes,1,opt,name=Source,proto3" json:"Source,omitempty"` RunCommandInputParameters []*common.VirtualMachineRunCommandInputParameter `protobuf:"bytes,2,rep,name=RunCommandInputParameters,proto3" json:"RunCommandInputParameters,omitempty"` OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"` RunAsUser string `protobuf:"bytes,4,opt,name=RunAsUser,proto3" json:"RunAsUser,omitempty"` RunAsPassword string `protobuf:"bytes,5,opt,name=RunAsPassword,proto3" json:"RunAsPassword,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VirtualMachineRunCommandRequest) Descriptor ¶
func (*VirtualMachineRunCommandRequest) Descriptor() ([]byte, []int)
func (*VirtualMachineRunCommandRequest) GetOperationID ¶
func (m *VirtualMachineRunCommandRequest) GetOperationID() string
func (*VirtualMachineRunCommandRequest) GetRunAsPassword ¶
func (m *VirtualMachineRunCommandRequest) GetRunAsPassword() string
func (*VirtualMachineRunCommandRequest) GetRunAsUser ¶
func (m *VirtualMachineRunCommandRequest) GetRunAsUser() string
func (*VirtualMachineRunCommandRequest) GetRunCommandInputParameters ¶
func (m *VirtualMachineRunCommandRequest) GetRunCommandInputParameters() []*common.VirtualMachineRunCommandInputParameter
func (*VirtualMachineRunCommandRequest) GetSource ¶
func (m *VirtualMachineRunCommandRequest) GetSource() *common.VirtualMachineRunCommandScriptSource
func (*VirtualMachineRunCommandRequest) ProtoMessage ¶
func (*VirtualMachineRunCommandRequest) ProtoMessage()
func (*VirtualMachineRunCommandRequest) Reset ¶
func (m *VirtualMachineRunCommandRequest) Reset()
func (*VirtualMachineRunCommandRequest) String ¶
func (m *VirtualMachineRunCommandRequest) String() string
func (*VirtualMachineRunCommandRequest) XXX_DiscardUnknown ¶
func (m *VirtualMachineRunCommandRequest) XXX_DiscardUnknown()
func (*VirtualMachineRunCommandRequest) XXX_Marshal ¶
func (m *VirtualMachineRunCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VirtualMachineRunCommandRequest) XXX_Merge ¶
func (m *VirtualMachineRunCommandRequest) XXX_Merge(src proto.Message)
func (*VirtualMachineRunCommandRequest) XXX_Size ¶
func (m *VirtualMachineRunCommandRequest) XXX_Size() int
func (*VirtualMachineRunCommandRequest) XXX_Unmarshal ¶
func (m *VirtualMachineRunCommandRequest) XXX_Unmarshal(b []byte) error
type VirtualMachineRunCommandResponse ¶
type VirtualMachineRunCommandResponse struct { InstanceView *common.VirtualMachineRunCommandInstanceView `protobuf:"bytes,1,opt,name=InstanceView,proto3" json:"InstanceView,omitempty"` OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VirtualMachineRunCommandResponse) Descriptor ¶
func (*VirtualMachineRunCommandResponse) Descriptor() ([]byte, []int)
func (*VirtualMachineRunCommandResponse) GetInstanceView ¶
func (m *VirtualMachineRunCommandResponse) GetInstanceView() *common.VirtualMachineRunCommandInstanceView
func (*VirtualMachineRunCommandResponse) GetOperationID ¶
func (m *VirtualMachineRunCommandResponse) GetOperationID() string
func (*VirtualMachineRunCommandResponse) ProtoMessage ¶
func (*VirtualMachineRunCommandResponse) ProtoMessage()
func (*VirtualMachineRunCommandResponse) Reset ¶
func (m *VirtualMachineRunCommandResponse) Reset()
func (*VirtualMachineRunCommandResponse) String ¶
func (m *VirtualMachineRunCommandResponse) String() string
func (*VirtualMachineRunCommandResponse) XXX_DiscardUnknown ¶
func (m *VirtualMachineRunCommandResponse) XXX_DiscardUnknown()
func (*VirtualMachineRunCommandResponse) XXX_Marshal ¶
func (m *VirtualMachineRunCommandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VirtualMachineRunCommandResponse) XXX_Merge ¶
func (m *VirtualMachineRunCommandResponse) XXX_Merge(src proto.Message)
func (*VirtualMachineRunCommandResponse) XXX_Size ¶
func (m *VirtualMachineRunCommandResponse) XXX_Size() int
func (*VirtualMachineRunCommandResponse) XXX_Unmarshal ¶
func (m *VirtualMachineRunCommandResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.