Documentation ¶
Index ¶
- type InstancesService
- func (s *InstancesService) AddSSHKey(ctx context.Context, req *api.SSHKeyAdditionMessage) (*api.SSHKeyMessage, error)
- func (s *InstancesService) ApplyInstance(req *api.InstanceConfigurationMessage, ...) error
- func (s *InstancesService) GetCACert(ctx context.Context, _ *empty.Empty) (*api.CACertMessage, error)
- func (s *InstancesService) GetInstanceConfig(ctx context.Context, req *api.InstanceIDMessage) (*api.InstanceOptionsMessage, error)
- func (s *InstancesService) GetInstances(ctx context.Context, _ *empty.Empty) (*api.InstanceSummariesMessage, error)
- func (s *InstancesService) GetLogs(req *api.InstanceIDMessage, stream api.InstancesService_GetLogsServer) error
- func (s *InstancesService) GetSSHKeys(ctx context.Context, req *api.InstanceIDMessage) (*api.SSHKeysMessage, error)
- func (s *InstancesService) GetShell(stream api.InstancesService_GetShellServer) error
- func (s *InstancesService) RemoveInstance(ctx context.Context, req *api.InstanceRemovalOptionsMessage) (*empty.Empty, error)
- func (s *InstancesService) RemoveSSHKey(ctx context.Context, req *api.SSHKeyIDMessage) (*api.SSHKeyMessage, error)
- func (s *InstancesService) ResetCA(ctx context.Context, _ *empty.Empty) (*empty.Empty, error)
- func (s *InstancesService) RestartInstance(ctx context.Context, req *api.InstanceIDMessage) (*empty.Empty, error)
- func (s *InstancesService) StartInstance(ctx context.Context, req *api.InstanceIDMessage) (*empty.Empty, error)
- func (s *InstancesService) StopInstance(ctx context.Context, req *api.InstanceIDMessage) (*empty.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstancesService ¶
type InstancesService struct { api.UnimplementedInstancesServiceServer // contains filtered or unexported fields }
func NewInstancesService ¶
func NewInstancesService(instancesManager *orchestration.InstancesManager) *InstancesService
func (*InstancesService) AddSSHKey ¶
func (s *InstancesService) AddSSHKey(ctx context.Context, req *api.SSHKeyAdditionMessage) (*api.SSHKeyMessage, error)
func (*InstancesService) ApplyInstance ¶
func (s *InstancesService) ApplyInstance(req *api.InstanceConfigurationMessage, stream api.InstancesService_ApplyInstanceServer) error
func (*InstancesService) GetCACert ¶
func (s *InstancesService) GetCACert(ctx context.Context, _ *empty.Empty) (*api.CACertMessage, error)
func (*InstancesService) GetInstanceConfig ¶
func (s *InstancesService) GetInstanceConfig(ctx context.Context, req *api.InstanceIDMessage) (*api.InstanceOptionsMessage, error)
func (*InstancesService) GetInstances ¶
func (s *InstancesService) GetInstances(ctx context.Context, _ *empty.Empty) (*api.InstanceSummariesMessage, error)
func (*InstancesService) GetLogs ¶
func (s *InstancesService) GetLogs(req *api.InstanceIDMessage, stream api.InstancesService_GetLogsServer) error
func (*InstancesService) GetSSHKeys ¶
func (s *InstancesService) GetSSHKeys(ctx context.Context, req *api.InstanceIDMessage) (*api.SSHKeysMessage, error)
func (*InstancesService) GetShell ¶
func (s *InstancesService) GetShell(stream api.InstancesService_GetShellServer) error
func (*InstancesService) RemoveInstance ¶
func (s *InstancesService) RemoveInstance(ctx context.Context, req *api.InstanceRemovalOptionsMessage) (*empty.Empty, error)
func (*InstancesService) RemoveSSHKey ¶
func (s *InstancesService) RemoveSSHKey(ctx context.Context, req *api.SSHKeyIDMessage) (*api.SSHKeyMessage, error)
func (*InstancesService) RestartInstance ¶
func (s *InstancesService) RestartInstance(ctx context.Context, req *api.InstanceIDMessage) (*empty.Empty, error)
func (*InstancesService) StartInstance ¶
func (s *InstancesService) StartInstance(ctx context.Context, req *api.InstanceIDMessage) (*empty.Empty, error)
func (*InstancesService) StopInstance ¶
func (s *InstancesService) StopInstance(ctx context.Context, req *api.InstanceIDMessage) (*empty.Empty, error)
Click to show internal directories.
Click to hide internal directories.