Documentation
¶
Index ¶
- type Options
- type Server
- func (s *Server) AttachNetworkInterface(ctx context.Context, req *iri.AttachNetworkInterfaceRequest) (res *iri.AttachNetworkInterfaceResponse, retErr error)
- func (s *Server) AttachVolume(ctx context.Context, req *iri.AttachVolumeRequest) (*iri.AttachVolumeResponse, error)
- func (s *Server) CreateMachine(ctx context.Context, req *iri.CreateMachineRequest) (res *iri.CreateMachineResponse, retErr error)
- func (s *Server) DeleteMachine(ctx context.Context, req *iri.DeleteMachineRequest) (*iri.DeleteMachineResponse, error)
- func (s *Server) DetachNetworkInterface(ctx context.Context, req *iri.DetachNetworkInterfaceRequest) (*iri.DetachNetworkInterfaceResponse, error)
- func (s *Server) DetachVolume(ctx context.Context, req *iri.DetachVolumeRequest) (*iri.DetachVolumeResponse, error)
- func (s *Server) Exec(ctx context.Context, req *iri.ExecRequest) (*iri.ExecResponse, error)
- func (s *Server) ListEvents(ctx context.Context, req *iri.ListEventsRequest) (*iri.ListEventsResponse, error)
- func (s *Server) ListMachines(ctx context.Context, req *iri.ListMachinesRequest) (*iri.ListMachinesResponse, error)
- func (s *Server) Status(ctx context.Context, _ *iri.StatusRequest) (*iri.StatusResponse, error)
- func (s *Server) UpdateMachineAnnotations(ctx context.Context, req *iri.UpdateMachineAnnotationsRequest) (*iri.UpdateMachineAnnotationsResponse, error)
- func (s *Server) UpdateMachinePower(ctx context.Context, req *iri.UpdateMachinePowerRequest) (*iri.UpdateMachinePowerResponse, error)
- func (s *Server) UpdateVolume(ctx context.Context, request *iri.UpdateVolumeRequest) (*iri.UpdateVolumeResponse, error)
- func (s *Server) Version(ctx context.Context, req *iri.VersionRequest) (*iri.VersionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
IDGen idgen.IDGen
EventStore recorder.EventStore
MachineClassRegistry mcr.MachineClassRegistry
}
type Server ¶
type Server struct {
iri.UnimplementedMachineRuntimeServer
// contains filtered or unexported fields
}
func (*Server) AttachNetworkInterface ¶
func (s *Server) AttachNetworkInterface( ctx context.Context, req *iri.AttachNetworkInterfaceRequest, ) (res *iri.AttachNetworkInterfaceResponse, retErr error)
func (*Server) AttachVolume ¶
func (s *Server) AttachVolume(ctx context.Context, req *iri.AttachVolumeRequest) (*iri.AttachVolumeResponse, error)
func (*Server) CreateMachine ¶
func (s *Server) CreateMachine( ctx context.Context, req *iri.CreateMachineRequest, ) (res *iri.CreateMachineResponse, retErr error)
func (*Server) DeleteMachine ¶
func (s *Server) DeleteMachine(ctx context.Context, req *iri.DeleteMachineRequest) (*iri.DeleteMachineResponse, error)
func (*Server) DetachNetworkInterface ¶
func (s *Server) DetachNetworkInterface( ctx context.Context, req *iri.DetachNetworkInterfaceRequest, ) (*iri.DetachNetworkInterfaceResponse, error)
func (*Server) DetachVolume ¶
func (s *Server) DetachVolume(ctx context.Context, req *iri.DetachVolumeRequest) (*iri.DetachVolumeResponse, error)
func (*Server) Exec ¶
func (s *Server) Exec(ctx context.Context, req *iri.ExecRequest) (*iri.ExecResponse, error)
func (*Server) ListEvents ¶
func (s *Server) ListEvents(ctx context.Context, req *iri.ListEventsRequest) (*iri.ListEventsResponse, error)
func (*Server) ListMachines ¶
func (s *Server) ListMachines(ctx context.Context, req *iri.ListMachinesRequest) (*iri.ListMachinesResponse, error)
func (*Server) Status ¶
func (s *Server) Status(ctx context.Context, _ *iri.StatusRequest) (*iri.StatusResponse, error)
func (*Server) UpdateMachineAnnotations ¶
func (s *Server) UpdateMachineAnnotations( ctx context.Context, req *iri.UpdateMachineAnnotationsRequest, ) (*iri.UpdateMachineAnnotationsResponse, error)
func (*Server) UpdateMachinePower ¶
func (s *Server) UpdateMachinePower( ctx context.Context, req *iri.UpdateMachinePowerRequest, ) (*iri.UpdateMachinePowerResponse, error)
func (*Server) UpdateVolume ¶
func (s *Server) UpdateVolume(ctx context.Context, request *iri.UpdateVolumeRequest) (*iri.UpdateVolumeResponse, error)
func (*Server) Version ¶
func (s *Server) Version(ctx context.Context, req *iri.VersionRequest) (*iri.VersionResponse, error)
Source Files
¶
- event_list.go
- exec.go
- machine.go
- machine_annotations_update.go
- machine_create.go
- machine_delete.go
- machine_list.go
- machine_networkinterface_attach.go
- machine_networkinterface_detach.go
- machine_powerstate_update.go
- machine_volume_attach.go
- machine_volume_detach.go
- machine_volume_update.go
- server.go
- status.go
- version.go
Click to show internal directories.
Click to hide internal directories.