compute

package
v0.18.0 Latest Latest
Warning

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

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

Documentation

Index

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) GetCommandResult

func (*UnimplementedVirtualMachineAgentServer) RunCommand

func (*UnimplementedVirtualMachineAgentServer) UpdateAgent

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

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 (*VirtualMachineCommandResultRequest) 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 (*VirtualMachineCommandResultRequest) XXX_Size

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 (*VirtualMachineRunCommandRequest) GetSource

func (*VirtualMachineRunCommandRequest) ProtoMessage

func (*VirtualMachineRunCommandRequest) ProtoMessage()

func (*VirtualMachineRunCommandRequest) Reset

func (*VirtualMachineRunCommandRequest) 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 (*VirtualMachineRunCommandResponse) GetOperationID

func (m *VirtualMachineRunCommandResponse) GetOperationID() string

func (*VirtualMachineRunCommandResponse) ProtoMessage

func (*VirtualMachineRunCommandResponse) ProtoMessage()

func (*VirtualMachineRunCommandResponse) Reset

func (*VirtualMachineRunCommandResponse) 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 (*VirtualMachineRunCommandResponse) XXX_Size

func (m *VirtualMachineRunCommandResponse) XXX_Size() int

func (*VirtualMachineRunCommandResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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