Documentation
¶
Index ¶
- Variables
- func RegisterInstancesServiceServer(s *grpc.Server, srv InstancesServiceServer)
- type CACertMessage
- type InstanceAuthenticationMessage
- func (*InstanceAuthenticationMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceAuthenticationMessage) GetRootPassword() string
- func (x *InstanceAuthenticationMessage) GetUserPassword() string
- func (*InstanceAuthenticationMessage) ProtoMessage()
- func (x *InstanceAuthenticationMessage) ProtoReflect() protoreflect.Message
- func (x *InstanceAuthenticationMessage) Reset()
- func (x *InstanceAuthenticationMessage) String() string
- type InstanceConfigurationMessage
- func (*InstanceConfigurationMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceConfigurationMessage) GetInstanceAuthentication() *InstanceAuthenticationMessage
- func (x *InstanceConfigurationMessage) GetInstanceContainerOptions() *InstanceContainerOptionsMessage
- func (x *InstanceConfigurationMessage) GetInstanceOptions() *InstanceOptionsMessage
- func (*InstanceConfigurationMessage) ProtoMessage()
- func (x *InstanceConfigurationMessage) ProtoReflect() protoreflect.Message
- func (x *InstanceConfigurationMessage) Reset()
- func (x *InstanceConfigurationMessage) String() string
- type InstanceContainerOptionsMessage
- func (*InstanceContainerOptionsMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceContainerOptionsMessage) GetIsolate() bool
- func (x *InstanceContainerOptionsMessage) GetName() string
- func (x *InstanceContainerOptionsMessage) GetPrivileged() bool
- func (x *InstanceContainerOptionsMessage) GetPullLatestImage() bool
- func (x *InstanceContainerOptionsMessage) GetRecreate() bool
- func (x *InstanceContainerOptionsMessage) GetStartPort() int32
- func (*InstanceContainerOptionsMessage) ProtoMessage()
- func (x *InstanceContainerOptionsMessage) ProtoReflect() protoreflect.Message
- func (x *InstanceContainerOptionsMessage) Reset()
- func (x *InstanceContainerOptionsMessage) String() string
- type InstanceIDMessage
- type InstanceOptionsMessage
- func (*InstanceOptionsMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceOptionsMessage) GetAdditionalDomains() []string
- func (x *InstanceOptionsMessage) GetAdditionalIPs() []string
- func (x *InstanceOptionsMessage) GetEnabledModules() []string
- func (x *InstanceOptionsMessage) GetEnabledServices() []string
- func (x *InstanceOptionsMessage) GetSSHKeyURL() string
- func (x *InstanceOptionsMessage) GetUserEmail() string
- func (x *InstanceOptionsMessage) GetUserFullName() string
- func (x *InstanceOptionsMessage) GetUserName() string
- func (*InstanceOptionsMessage) ProtoMessage()
- func (x *InstanceOptionsMessage) ProtoReflect() protoreflect.Message
- func (x *InstanceOptionsMessage) Reset()
- func (x *InstanceOptionsMessage) String() string
- type InstanceRemovalOptionsMessage
- func (*InstanceRemovalOptionsMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceRemovalOptionsMessage) GetCustomizations() bool
- func (x *InstanceRemovalOptionsMessage) GetDEBCache() bool
- func (x *InstanceRemovalOptionsMessage) GetInstanceID() *InstanceIDMessage
- func (x *InstanceRemovalOptionsMessage) GetPreferences() bool
- func (x *InstanceRemovalOptionsMessage) GetTransfer() bool
- func (x *InstanceRemovalOptionsMessage) GetUserData() bool
- func (*InstanceRemovalOptionsMessage) ProtoMessage()
- func (x *InstanceRemovalOptionsMessage) ProtoReflect() protoreflect.Message
- func (x *InstanceRemovalOptionsMessage) Reset()
- func (x *InstanceRemovalOptionsMessage) String() string
- type InstanceSummariesMessage
- func (*InstanceSummariesMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceSummariesMessage) GetInstances() []*InstanceSummaryMessage
- func (*InstanceSummariesMessage) ProtoMessage()
- func (x *InstanceSummariesMessage) ProtoReflect() protoreflect.Message
- func (x *InstanceSummariesMessage) Reset()
- func (x *InstanceSummariesMessage) String() string
- type InstanceSummaryMessage
- func (*InstanceSummaryMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceSummaryMessage) GetInstanceID() *InstanceIDMessage
- func (x *InstanceSummaryMessage) GetPorts() []*PortMessage
- func (x *InstanceSummaryMessage) GetStatus() string
- func (*InstanceSummaryMessage) ProtoMessage()
- func (x *InstanceSummaryMessage) ProtoReflect() protoreflect.Message
- func (x *InstanceSummaryMessage) Reset()
- func (x *InstanceSummaryMessage) String() string
- type InstancesServiceClient
- type InstancesServiceServer
- type InstancesService_ApplyInstanceClient
- type InstancesService_ApplyInstanceServer
- type InstancesService_GetLogsClient
- type InstancesService_GetLogsServer
- type InstancesService_GetShellClient
- type InstancesService_GetShellServer
- type PortMessage
- type SSHKeyAdditionMessage
- func (*SSHKeyAdditionMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SSHKeyAdditionMessage) GetContent() string
- func (x *SSHKeyAdditionMessage) GetInstanceID() *InstanceIDMessage
- func (*SSHKeyAdditionMessage) ProtoMessage()
- func (x *SSHKeyAdditionMessage) ProtoReflect() protoreflect.Message
- func (x *SSHKeyAdditionMessage) Reset()
- func (x *SSHKeyAdditionMessage) String() string
- type SSHKeyIDMessage
- func (*SSHKeyIDMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SSHKeyIDMessage) GetHash() string
- func (x *SSHKeyIDMessage) GetInstanceID() *InstanceIDMessage
- func (*SSHKeyIDMessage) ProtoMessage()
- func (x *SSHKeyIDMessage) ProtoReflect() protoreflect.Message
- func (x *SSHKeyIDMessage) Reset()
- func (x *SSHKeyIDMessage) String() string
- type SSHKeyMessage
- func (*SSHKeyMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SSHKeyMessage) GetContent() string
- func (x *SSHKeyMessage) GetSSHKeyID() *SSHKeyIDMessage
- func (*SSHKeyMessage) ProtoMessage()
- func (x *SSHKeyMessage) ProtoReflect() protoreflect.Message
- func (x *SSHKeyMessage) Reset()
- func (x *SSHKeyMessage) String() string
- type SSHKeysMessage
- type ShellInputMessage
- func (*ShellInputMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ShellInputMessage) GetInstanceID() *InstanceIDMessage
- func (x *ShellInputMessage) GetStdin() []byte
- func (*ShellInputMessage) ProtoMessage()
- func (x *ShellInputMessage) ProtoReflect() protoreflect.Message
- func (x *ShellInputMessage) Reset()
- func (x *ShellInputMessage) String() string
- type ShellOutputMessage
- func (*ShellOutputMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ShellOutputMessage) GetStatus() string
- func (x *ShellOutputMessage) GetStderr() []byte
- func (x *ShellOutputMessage) GetStdout() []byte
- func (*ShellOutputMessage) ProtoMessage()
- func (x *ShellOutputMessage) ProtoReflect() protoreflect.Message
- func (x *ShellOutputMessage) Reset()
- func (x *ShellOutputMessage) String() string
- type UnimplementedInstancesServiceServer
- func (*UnimplementedInstancesServiceServer) AddSSHKey(context.Context, *SSHKeyAdditionMessage) (*SSHKeyMessage, error)
- func (*UnimplementedInstancesServiceServer) ApplyInstance(*InstanceConfigurationMessage, InstancesService_ApplyInstanceServer) error
- func (*UnimplementedInstancesServiceServer) GetCACert(context.Context, *empty.Empty) (*CACertMessage, error)
- func (*UnimplementedInstancesServiceServer) GetInstanceConfig(context.Context, *InstanceIDMessage) (*InstanceOptionsMessage, error)
- func (*UnimplementedInstancesServiceServer) GetInstances(context.Context, *empty.Empty) (*InstanceSummariesMessage, error)
- func (*UnimplementedInstancesServiceServer) GetLogs(*InstanceIDMessage, InstancesService_GetLogsServer) error
- func (*UnimplementedInstancesServiceServer) GetSSHKeys(context.Context, *InstanceIDMessage) (*SSHKeysMessage, error)
- func (*UnimplementedInstancesServiceServer) GetShell(InstancesService_GetShellServer) error
- func (*UnimplementedInstancesServiceServer) RemoveInstance(context.Context, *InstanceRemovalOptionsMessage) (*empty.Empty, error)
- func (*UnimplementedInstancesServiceServer) RemoveSSHKey(context.Context, *SSHKeyIDMessage) (*SSHKeyMessage, error)
- func (*UnimplementedInstancesServiceServer) ResetCA(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedInstancesServiceServer) RestartInstance(context.Context, *InstanceIDMessage) (*empty.Empty, error)
- func (*UnimplementedInstancesServiceServer) StartInstance(context.Context, *InstanceIDMessage) (*empty.Empty, error)
- func (*UnimplementedInstancesServiceServer) StopInstance(context.Context, *InstanceIDMessage) (*empty.Empty, error)
Constants ¶
This section is empty.
Variables ¶
var File_instances_proto protoreflect.FileDescriptor
Functions ¶
func RegisterInstancesServiceServer ¶
func RegisterInstancesServiceServer(s *grpc.Server, srv InstancesServiceServer)
Types ¶
type CACertMessage ¶
type CACertMessage struct { Content string `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"` // contains filtered or unexported fields }
func (*CACertMessage) Descriptor
deprecated
func (*CACertMessage) Descriptor() ([]byte, []int)
Deprecated: Use CACertMessage.ProtoReflect.Descriptor instead.
func (*CACertMessage) GetContent ¶
func (x *CACertMessage) GetContent() string
func (*CACertMessage) ProtoMessage ¶
func (*CACertMessage) ProtoMessage()
func (*CACertMessage) ProtoReflect ¶
func (x *CACertMessage) ProtoReflect() protoreflect.Message
func (*CACertMessage) Reset ¶
func (x *CACertMessage) Reset()
func (*CACertMessage) String ¶
func (x *CACertMessage) String() string
type InstanceAuthenticationMessage ¶
type InstanceAuthenticationMessage struct { RootPassword string `protobuf:"bytes,1,opt,name=RootPassword,proto3" json:"RootPassword,omitempty"` UserPassword string `protobuf:"bytes,2,opt,name=UserPassword,proto3" json:"UserPassword,omitempty"` // contains filtered or unexported fields }
func (*InstanceAuthenticationMessage) Descriptor
deprecated
func (*InstanceAuthenticationMessage) Descriptor() ([]byte, []int)
Deprecated: Use InstanceAuthenticationMessage.ProtoReflect.Descriptor instead.
func (*InstanceAuthenticationMessage) GetRootPassword ¶
func (x *InstanceAuthenticationMessage) GetRootPassword() string
func (*InstanceAuthenticationMessage) GetUserPassword ¶
func (x *InstanceAuthenticationMessage) GetUserPassword() string
func (*InstanceAuthenticationMessage) ProtoMessage ¶
func (*InstanceAuthenticationMessage) ProtoMessage()
func (*InstanceAuthenticationMessage) ProtoReflect ¶
func (x *InstanceAuthenticationMessage) ProtoReflect() protoreflect.Message
func (*InstanceAuthenticationMessage) Reset ¶
func (x *InstanceAuthenticationMessage) Reset()
func (*InstanceAuthenticationMessage) String ¶
func (x *InstanceAuthenticationMessage) String() string
type InstanceConfigurationMessage ¶
type InstanceConfigurationMessage struct { InstanceContainerOptions *InstanceContainerOptionsMessage `protobuf:"bytes,1,opt,name=InstanceContainerOptions,proto3" json:"InstanceContainerOptions,omitempty"` InstanceAuthentication *InstanceAuthenticationMessage `protobuf:"bytes,2,opt,name=InstanceAuthentication,proto3" json:"InstanceAuthentication,omitempty"` InstanceOptions *InstanceOptionsMessage `protobuf:"bytes,3,opt,name=InstanceOptions,proto3" json:"InstanceOptions,omitempty"` // contains filtered or unexported fields }
func (*InstanceConfigurationMessage) Descriptor
deprecated
func (*InstanceConfigurationMessage) Descriptor() ([]byte, []int)
Deprecated: Use InstanceConfigurationMessage.ProtoReflect.Descriptor instead.
func (*InstanceConfigurationMessage) GetInstanceAuthentication ¶
func (x *InstanceConfigurationMessage) GetInstanceAuthentication() *InstanceAuthenticationMessage
func (*InstanceConfigurationMessage) GetInstanceContainerOptions ¶
func (x *InstanceConfigurationMessage) GetInstanceContainerOptions() *InstanceContainerOptionsMessage
func (*InstanceConfigurationMessage) GetInstanceOptions ¶
func (x *InstanceConfigurationMessage) GetInstanceOptions() *InstanceOptionsMessage
func (*InstanceConfigurationMessage) ProtoMessage ¶
func (*InstanceConfigurationMessage) ProtoMessage()
func (*InstanceConfigurationMessage) ProtoReflect ¶
func (x *InstanceConfigurationMessage) ProtoReflect() protoreflect.Message
func (*InstanceConfigurationMessage) Reset ¶
func (x *InstanceConfigurationMessage) Reset()
func (*InstanceConfigurationMessage) String ¶
func (x *InstanceConfigurationMessage) String() string
type InstanceContainerOptionsMessage ¶
type InstanceContainerOptionsMessage struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` StartPort int32 `protobuf:"varint,2,opt,name=StartPort,proto3" json:"StartPort,omitempty"` PullLatestImage bool `protobuf:"varint,3,opt,name=PullLatestImage,proto3" json:"PullLatestImage,omitempty"` Recreate bool `protobuf:"varint,4,opt,name=Recreate,proto3" json:"Recreate,omitempty"` Isolate bool `protobuf:"varint,5,opt,name=Isolate,proto3" json:"Isolate,omitempty"` Privileged bool `protobuf:"varint,6,opt,name=Privileged,proto3" json:"Privileged,omitempty"` // contains filtered or unexported fields }
func (*InstanceContainerOptionsMessage) Descriptor
deprecated
func (*InstanceContainerOptionsMessage) Descriptor() ([]byte, []int)
Deprecated: Use InstanceContainerOptionsMessage.ProtoReflect.Descriptor instead.
func (*InstanceContainerOptionsMessage) GetIsolate ¶
func (x *InstanceContainerOptionsMessage) GetIsolate() bool
func (*InstanceContainerOptionsMessage) GetName ¶
func (x *InstanceContainerOptionsMessage) GetName() string
func (*InstanceContainerOptionsMessage) GetPrivileged ¶
func (x *InstanceContainerOptionsMessage) GetPrivileged() bool
func (*InstanceContainerOptionsMessage) GetPullLatestImage ¶
func (x *InstanceContainerOptionsMessage) GetPullLatestImage() bool
func (*InstanceContainerOptionsMessage) GetRecreate ¶
func (x *InstanceContainerOptionsMessage) GetRecreate() bool
func (*InstanceContainerOptionsMessage) GetStartPort ¶
func (x *InstanceContainerOptionsMessage) GetStartPort() int32
func (*InstanceContainerOptionsMessage) ProtoMessage ¶
func (*InstanceContainerOptionsMessage) ProtoMessage()
func (*InstanceContainerOptionsMessage) ProtoReflect ¶
func (x *InstanceContainerOptionsMessage) ProtoReflect() protoreflect.Message
func (*InstanceContainerOptionsMessage) Reset ¶
func (x *InstanceContainerOptionsMessage) Reset()
func (*InstanceContainerOptionsMessage) String ¶
func (x *InstanceContainerOptionsMessage) String() string
type InstanceIDMessage ¶
type InstanceIDMessage struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*InstanceIDMessage) Descriptor
deprecated
func (*InstanceIDMessage) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIDMessage.ProtoReflect.Descriptor instead.
func (*InstanceIDMessage) GetName ¶
func (x *InstanceIDMessage) GetName() string
func (*InstanceIDMessage) ProtoMessage ¶
func (*InstanceIDMessage) ProtoMessage()
func (*InstanceIDMessage) ProtoReflect ¶
func (x *InstanceIDMessage) ProtoReflect() protoreflect.Message
func (*InstanceIDMessage) Reset ¶
func (x *InstanceIDMessage) Reset()
func (*InstanceIDMessage) String ¶
func (x *InstanceIDMessage) String() string
type InstanceOptionsMessage ¶
type InstanceOptionsMessage struct { UserName string `protobuf:"bytes,1,opt,name=UserName,proto3" json:"UserName,omitempty"` UserEmail string `protobuf:"bytes,2,opt,name=UserEmail,proto3" json:"UserEmail,omitempty"` UserFullName string `protobuf:"bytes,3,opt,name=UserFullName,proto3" json:"UserFullName,omitempty"` SSHKeyURL string `protobuf:"bytes,4,opt,name=SSHKeyURL,proto3" json:"SSHKeyURL,omitempty"` AdditionalIPs []string `protobuf:"bytes,5,rep,name=AdditionalIPs,proto3" json:"AdditionalIPs,omitempty"` AdditionalDomains []string `protobuf:"bytes,7,rep,name=AdditionalDomains,proto3" json:"AdditionalDomains,omitempty"` EnabledModules []string `protobuf:"bytes,8,rep,name=EnabledModules,proto3" json:"EnabledModules,omitempty"` EnabledServices []string `protobuf:"bytes,9,rep,name=EnabledServices,proto3" json:"EnabledServices,omitempty"` // contains filtered or unexported fields }
func (*InstanceOptionsMessage) Descriptor
deprecated
func (*InstanceOptionsMessage) Descriptor() ([]byte, []int)
Deprecated: Use InstanceOptionsMessage.ProtoReflect.Descriptor instead.
func (*InstanceOptionsMessage) GetAdditionalDomains ¶
func (x *InstanceOptionsMessage) GetAdditionalDomains() []string
func (*InstanceOptionsMessage) GetAdditionalIPs ¶
func (x *InstanceOptionsMessage) GetAdditionalIPs() []string
func (*InstanceOptionsMessage) GetEnabledModules ¶
func (x *InstanceOptionsMessage) GetEnabledModules() []string
func (*InstanceOptionsMessage) GetEnabledServices ¶
func (x *InstanceOptionsMessage) GetEnabledServices() []string
func (*InstanceOptionsMessage) GetSSHKeyURL ¶
func (x *InstanceOptionsMessage) GetSSHKeyURL() string
func (*InstanceOptionsMessage) GetUserEmail ¶
func (x *InstanceOptionsMessage) GetUserEmail() string
func (*InstanceOptionsMessage) GetUserFullName ¶
func (x *InstanceOptionsMessage) GetUserFullName() string
func (*InstanceOptionsMessage) GetUserName ¶
func (x *InstanceOptionsMessage) GetUserName() string
func (*InstanceOptionsMessage) ProtoMessage ¶
func (*InstanceOptionsMessage) ProtoMessage()
func (*InstanceOptionsMessage) ProtoReflect ¶
func (x *InstanceOptionsMessage) ProtoReflect() protoreflect.Message
func (*InstanceOptionsMessage) Reset ¶
func (x *InstanceOptionsMessage) Reset()
func (*InstanceOptionsMessage) String ¶
func (x *InstanceOptionsMessage) String() string
type InstanceRemovalOptionsMessage ¶
type InstanceRemovalOptionsMessage struct { InstanceID *InstanceIDMessage `protobuf:"bytes,1,opt,name=InstanceID,proto3" json:"InstanceID,omitempty"` Customizations bool `protobuf:"varint,2,opt,name=Customizations,proto3" json:"Customizations,omitempty"` DEBCache bool `protobuf:"varint,3,opt,name=DEBCache,proto3" json:"DEBCache,omitempty"` Preferences bool `protobuf:"varint,4,opt,name=Preferences,proto3" json:"Preferences,omitempty"` UserData bool `protobuf:"varint,5,opt,name=UserData,proto3" json:"UserData,omitempty"` Transfer bool `protobuf:"varint,6,opt,name=Transfer,proto3" json:"Transfer,omitempty"` // contains filtered or unexported fields }
func (*InstanceRemovalOptionsMessage) Descriptor
deprecated
func (*InstanceRemovalOptionsMessage) Descriptor() ([]byte, []int)
Deprecated: Use InstanceRemovalOptionsMessage.ProtoReflect.Descriptor instead.
func (*InstanceRemovalOptionsMessage) GetCustomizations ¶
func (x *InstanceRemovalOptionsMessage) GetCustomizations() bool
func (*InstanceRemovalOptionsMessage) GetDEBCache ¶
func (x *InstanceRemovalOptionsMessage) GetDEBCache() bool
func (*InstanceRemovalOptionsMessage) GetInstanceID ¶
func (x *InstanceRemovalOptionsMessage) GetInstanceID() *InstanceIDMessage
func (*InstanceRemovalOptionsMessage) GetPreferences ¶
func (x *InstanceRemovalOptionsMessage) GetPreferences() bool
func (*InstanceRemovalOptionsMessage) GetTransfer ¶
func (x *InstanceRemovalOptionsMessage) GetTransfer() bool
func (*InstanceRemovalOptionsMessage) GetUserData ¶
func (x *InstanceRemovalOptionsMessage) GetUserData() bool
func (*InstanceRemovalOptionsMessage) ProtoMessage ¶
func (*InstanceRemovalOptionsMessage) ProtoMessage()
func (*InstanceRemovalOptionsMessage) ProtoReflect ¶
func (x *InstanceRemovalOptionsMessage) ProtoReflect() protoreflect.Message
func (*InstanceRemovalOptionsMessage) Reset ¶
func (x *InstanceRemovalOptionsMessage) Reset()
func (*InstanceRemovalOptionsMessage) String ¶
func (x *InstanceRemovalOptionsMessage) String() string
type InstanceSummariesMessage ¶
type InstanceSummariesMessage struct { Instances []*InstanceSummaryMessage `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` // contains filtered or unexported fields }
func (*InstanceSummariesMessage) Descriptor
deprecated
func (*InstanceSummariesMessage) Descriptor() ([]byte, []int)
Deprecated: Use InstanceSummariesMessage.ProtoReflect.Descriptor instead.
func (*InstanceSummariesMessage) GetInstances ¶
func (x *InstanceSummariesMessage) GetInstances() []*InstanceSummaryMessage
func (*InstanceSummariesMessage) ProtoMessage ¶
func (*InstanceSummariesMessage) ProtoMessage()
func (*InstanceSummariesMessage) ProtoReflect ¶
func (x *InstanceSummariesMessage) ProtoReflect() protoreflect.Message
func (*InstanceSummariesMessage) Reset ¶
func (x *InstanceSummariesMessage) Reset()
func (*InstanceSummariesMessage) String ¶
func (x *InstanceSummariesMessage) String() string
type InstanceSummaryMessage ¶
type InstanceSummaryMessage struct { InstanceID *InstanceIDMessage `protobuf:"bytes,1,opt,name=InstanceID,proto3" json:"InstanceID,omitempty"` Ports []*PortMessage `protobuf:"bytes,2,rep,name=Ports,proto3" json:"Ports,omitempty"` Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*InstanceSummaryMessage) Descriptor
deprecated
func (*InstanceSummaryMessage) Descriptor() ([]byte, []int)
Deprecated: Use InstanceSummaryMessage.ProtoReflect.Descriptor instead.
func (*InstanceSummaryMessage) GetInstanceID ¶
func (x *InstanceSummaryMessage) GetInstanceID() *InstanceIDMessage
func (*InstanceSummaryMessage) GetPorts ¶
func (x *InstanceSummaryMessage) GetPorts() []*PortMessage
func (*InstanceSummaryMessage) GetStatus ¶
func (x *InstanceSummaryMessage) GetStatus() string
func (*InstanceSummaryMessage) ProtoMessage ¶
func (*InstanceSummaryMessage) ProtoMessage()
func (*InstanceSummaryMessage) ProtoReflect ¶
func (x *InstanceSummaryMessage) ProtoReflect() protoreflect.Message
func (*InstanceSummaryMessage) Reset ¶
func (x *InstanceSummaryMessage) Reset()
func (*InstanceSummaryMessage) String ¶
func (x *InstanceSummaryMessage) String() string
type InstancesServiceClient ¶
type InstancesServiceClient interface { GetInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*InstanceSummariesMessage, error) GetLogs(ctx context.Context, in *InstanceIDMessage, opts ...grpc.CallOption) (InstancesService_GetLogsClient, error) StartInstance(ctx context.Context, in *InstanceIDMessage, opts ...grpc.CallOption) (*empty.Empty, error) StopInstance(ctx context.Context, in *InstanceIDMessage, opts ...grpc.CallOption) (*empty.Empty, error) RestartInstance(ctx context.Context, in *InstanceIDMessage, opts ...grpc.CallOption) (*empty.Empty, error) RemoveInstance(ctx context.Context, in *InstanceRemovalOptionsMessage, opts ...grpc.CallOption) (*empty.Empty, error) GetCACert(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CACertMessage, error) ResetCA(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) GetShell(ctx context.Context, opts ...grpc.CallOption) (InstancesService_GetShellClient, error) ApplyInstance(ctx context.Context, in *InstanceConfigurationMessage, opts ...grpc.CallOption) (InstancesService_ApplyInstanceClient, error) GetInstanceConfig(ctx context.Context, in *InstanceIDMessage, opts ...grpc.CallOption) (*InstanceOptionsMessage, error) GetSSHKeys(ctx context.Context, in *InstanceIDMessage, opts ...grpc.CallOption) (*SSHKeysMessage, error) AddSSHKey(ctx context.Context, in *SSHKeyAdditionMessage, opts ...grpc.CallOption) (*SSHKeyMessage, error) RemoveSSHKey(ctx context.Context, in *SSHKeyIDMessage, opts ...grpc.CallOption) (*SSHKeyMessage, error) }
InstancesServiceClient is the client API for InstancesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewInstancesServiceClient ¶
func NewInstancesServiceClient(cc grpc.ClientConnInterface) InstancesServiceClient
type InstancesServiceServer ¶
type InstancesServiceServer interface { GetInstances(context.Context, *empty.Empty) (*InstanceSummariesMessage, error) GetLogs(*InstanceIDMessage, InstancesService_GetLogsServer) error StartInstance(context.Context, *InstanceIDMessage) (*empty.Empty, error) StopInstance(context.Context, *InstanceIDMessage) (*empty.Empty, error) RestartInstance(context.Context, *InstanceIDMessage) (*empty.Empty, error) RemoveInstance(context.Context, *InstanceRemovalOptionsMessage) (*empty.Empty, error) GetCACert(context.Context, *empty.Empty) (*CACertMessage, error) ResetCA(context.Context, *empty.Empty) (*empty.Empty, error) GetShell(InstancesService_GetShellServer) error ApplyInstance(*InstanceConfigurationMessage, InstancesService_ApplyInstanceServer) error GetInstanceConfig(context.Context, *InstanceIDMessage) (*InstanceOptionsMessage, error) GetSSHKeys(context.Context, *InstanceIDMessage) (*SSHKeysMessage, error) AddSSHKey(context.Context, *SSHKeyAdditionMessage) (*SSHKeyMessage, error) RemoveSSHKey(context.Context, *SSHKeyIDMessage) (*SSHKeyMessage, error) }
InstancesServiceServer is the server API for InstancesService service.
type InstancesService_ApplyInstanceClient ¶
type InstancesService_ApplyInstanceClient interface { Recv() (*ShellOutputMessage, error) grpc.ClientStream }
type InstancesService_ApplyInstanceServer ¶
type InstancesService_ApplyInstanceServer interface { Send(*ShellOutputMessage) error grpc.ServerStream }
type InstancesService_GetLogsClient ¶
type InstancesService_GetLogsClient interface { Recv() (*ShellOutputMessage, error) grpc.ClientStream }
type InstancesService_GetLogsServer ¶
type InstancesService_GetLogsServer interface { Send(*ShellOutputMessage) error grpc.ServerStream }
type InstancesService_GetShellClient ¶
type InstancesService_GetShellClient interface { Send(*ShellInputMessage) error Recv() (*ShellOutputMessage, error) grpc.ClientStream }
type InstancesService_GetShellServer ¶
type InstancesService_GetShellServer interface { Send(*ShellOutputMessage) error Recv() (*ShellInputMessage, error) grpc.ServerStream }
type PortMessage ¶
type PortMessage struct { Service string `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"` Port int32 `protobuf:"varint,2,opt,name=Port,proto3" json:"Port,omitempty"` // contains filtered or unexported fields }
func (*PortMessage) Descriptor
deprecated
func (*PortMessage) Descriptor() ([]byte, []int)
Deprecated: Use PortMessage.ProtoReflect.Descriptor instead.
func (*PortMessage) GetPort ¶
func (x *PortMessage) GetPort() int32
func (*PortMessage) GetService ¶
func (x *PortMessage) GetService() string
func (*PortMessage) ProtoMessage ¶
func (*PortMessage) ProtoMessage()
func (*PortMessage) ProtoReflect ¶
func (x *PortMessage) ProtoReflect() protoreflect.Message
func (*PortMessage) Reset ¶
func (x *PortMessage) Reset()
func (*PortMessage) String ¶
func (x *PortMessage) String() string
type SSHKeyAdditionMessage ¶
type SSHKeyAdditionMessage struct { InstanceID *InstanceIDMessage `protobuf:"bytes,1,opt,name=InstanceID,proto3" json:"InstanceID,omitempty"` Content string `protobuf:"bytes,2,opt,name=Content,proto3" json:"Content,omitempty"` // contains filtered or unexported fields }
func (*SSHKeyAdditionMessage) Descriptor
deprecated
func (*SSHKeyAdditionMessage) Descriptor() ([]byte, []int)
Deprecated: Use SSHKeyAdditionMessage.ProtoReflect.Descriptor instead.
func (*SSHKeyAdditionMessage) GetContent ¶
func (x *SSHKeyAdditionMessage) GetContent() string
func (*SSHKeyAdditionMessage) GetInstanceID ¶
func (x *SSHKeyAdditionMessage) GetInstanceID() *InstanceIDMessage
func (*SSHKeyAdditionMessage) ProtoMessage ¶
func (*SSHKeyAdditionMessage) ProtoMessage()
func (*SSHKeyAdditionMessage) ProtoReflect ¶
func (x *SSHKeyAdditionMessage) ProtoReflect() protoreflect.Message
func (*SSHKeyAdditionMessage) Reset ¶
func (x *SSHKeyAdditionMessage) Reset()
func (*SSHKeyAdditionMessage) String ¶
func (x *SSHKeyAdditionMessage) String() string
type SSHKeyIDMessage ¶
type SSHKeyIDMessage struct { InstanceID *InstanceIDMessage `protobuf:"bytes,1,opt,name=InstanceID,proto3" json:"InstanceID,omitempty"` Hash string `protobuf:"bytes,2,opt,name=Hash,proto3" json:"Hash,omitempty"` // contains filtered or unexported fields }
func (*SSHKeyIDMessage) Descriptor
deprecated
func (*SSHKeyIDMessage) Descriptor() ([]byte, []int)
Deprecated: Use SSHKeyIDMessage.ProtoReflect.Descriptor instead.
func (*SSHKeyIDMessage) GetHash ¶
func (x *SSHKeyIDMessage) GetHash() string
func (*SSHKeyIDMessage) GetInstanceID ¶
func (x *SSHKeyIDMessage) GetInstanceID() *InstanceIDMessage
func (*SSHKeyIDMessage) ProtoMessage ¶
func (*SSHKeyIDMessage) ProtoMessage()
func (*SSHKeyIDMessage) ProtoReflect ¶
func (x *SSHKeyIDMessage) ProtoReflect() protoreflect.Message
func (*SSHKeyIDMessage) Reset ¶
func (x *SSHKeyIDMessage) Reset()
func (*SSHKeyIDMessage) String ¶
func (x *SSHKeyIDMessage) String() string
type SSHKeyMessage ¶
type SSHKeyMessage struct { SSHKeyID *SSHKeyIDMessage `protobuf:"bytes,1,opt,name=SSHKeyID,proto3" json:"SSHKeyID,omitempty"` Content string `protobuf:"bytes,2,opt,name=Content,proto3" json:"Content,omitempty"` // contains filtered or unexported fields }
func (*SSHKeyMessage) Descriptor
deprecated
func (*SSHKeyMessage) Descriptor() ([]byte, []int)
Deprecated: Use SSHKeyMessage.ProtoReflect.Descriptor instead.
func (*SSHKeyMessage) GetContent ¶
func (x *SSHKeyMessage) GetContent() string
func (*SSHKeyMessage) GetSSHKeyID ¶
func (x *SSHKeyMessage) GetSSHKeyID() *SSHKeyIDMessage
func (*SSHKeyMessage) ProtoMessage ¶
func (*SSHKeyMessage) ProtoMessage()
func (*SSHKeyMessage) ProtoReflect ¶
func (x *SSHKeyMessage) ProtoReflect() protoreflect.Message
func (*SSHKeyMessage) Reset ¶
func (x *SSHKeyMessage) Reset()
func (*SSHKeyMessage) String ¶
func (x *SSHKeyMessage) String() string
type SSHKeysMessage ¶
type SSHKeysMessage struct { SSHKeys []*SSHKeyMessage `protobuf:"bytes,1,rep,name=SSHKeys,proto3" json:"SSHKeys,omitempty"` // contains filtered or unexported fields }
func (*SSHKeysMessage) Descriptor
deprecated
func (*SSHKeysMessage) Descriptor() ([]byte, []int)
Deprecated: Use SSHKeysMessage.ProtoReflect.Descriptor instead.
func (*SSHKeysMessage) GetSSHKeys ¶
func (x *SSHKeysMessage) GetSSHKeys() []*SSHKeyMessage
func (*SSHKeysMessage) ProtoMessage ¶
func (*SSHKeysMessage) ProtoMessage()
func (*SSHKeysMessage) ProtoReflect ¶
func (x *SSHKeysMessage) ProtoReflect() protoreflect.Message
func (*SSHKeysMessage) Reset ¶
func (x *SSHKeysMessage) Reset()
func (*SSHKeysMessage) String ¶
func (x *SSHKeysMessage) String() string
type ShellInputMessage ¶
type ShellInputMessage struct { InstanceID *InstanceIDMessage `protobuf:"bytes,1,opt,name=InstanceID,proto3" json:"InstanceID,omitempty"` Stdin []byte `protobuf:"bytes,2,opt,name=Stdin,proto3" json:"Stdin,omitempty"` // contains filtered or unexported fields }
func (*ShellInputMessage) Descriptor
deprecated
func (*ShellInputMessage) Descriptor() ([]byte, []int)
Deprecated: Use ShellInputMessage.ProtoReflect.Descriptor instead.
func (*ShellInputMessage) GetInstanceID ¶
func (x *ShellInputMessage) GetInstanceID() *InstanceIDMessage
func (*ShellInputMessage) GetStdin ¶
func (x *ShellInputMessage) GetStdin() []byte
func (*ShellInputMessage) ProtoMessage ¶
func (*ShellInputMessage) ProtoMessage()
func (*ShellInputMessage) ProtoReflect ¶
func (x *ShellInputMessage) ProtoReflect() protoreflect.Message
func (*ShellInputMessage) Reset ¶
func (x *ShellInputMessage) Reset()
func (*ShellInputMessage) String ¶
func (x *ShellInputMessage) String() string
type ShellOutputMessage ¶
type ShellOutputMessage struct { Stdout []byte `protobuf:"bytes,1,opt,name=Stdout,proto3" json:"Stdout,omitempty"` Stderr []byte `protobuf:"bytes,2,opt,name=Stderr,proto3" json:"Stderr,omitempty"` Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ShellOutputMessage) Descriptor
deprecated
func (*ShellOutputMessage) Descriptor() ([]byte, []int)
Deprecated: Use ShellOutputMessage.ProtoReflect.Descriptor instead.
func (*ShellOutputMessage) GetStatus ¶
func (x *ShellOutputMessage) GetStatus() string
func (*ShellOutputMessage) GetStderr ¶
func (x *ShellOutputMessage) GetStderr() []byte
func (*ShellOutputMessage) GetStdout ¶
func (x *ShellOutputMessage) GetStdout() []byte
func (*ShellOutputMessage) ProtoMessage ¶
func (*ShellOutputMessage) ProtoMessage()
func (*ShellOutputMessage) ProtoReflect ¶
func (x *ShellOutputMessage) ProtoReflect() protoreflect.Message
func (*ShellOutputMessage) Reset ¶
func (x *ShellOutputMessage) Reset()
func (*ShellOutputMessage) String ¶
func (x *ShellOutputMessage) String() string
type UnimplementedInstancesServiceServer ¶
type UnimplementedInstancesServiceServer struct { }
UnimplementedInstancesServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedInstancesServiceServer) AddSSHKey ¶
func (*UnimplementedInstancesServiceServer) AddSSHKey(context.Context, *SSHKeyAdditionMessage) (*SSHKeyMessage, error)
func (*UnimplementedInstancesServiceServer) ApplyInstance ¶
func (*UnimplementedInstancesServiceServer) ApplyInstance(*InstanceConfigurationMessage, InstancesService_ApplyInstanceServer) error
func (*UnimplementedInstancesServiceServer) GetCACert ¶
func (*UnimplementedInstancesServiceServer) GetCACert(context.Context, *empty.Empty) (*CACertMessage, error)
func (*UnimplementedInstancesServiceServer) GetInstanceConfig ¶
func (*UnimplementedInstancesServiceServer) GetInstanceConfig(context.Context, *InstanceIDMessage) (*InstanceOptionsMessage, error)
func (*UnimplementedInstancesServiceServer) GetInstances ¶
func (*UnimplementedInstancesServiceServer) GetInstances(context.Context, *empty.Empty) (*InstanceSummariesMessage, error)
func (*UnimplementedInstancesServiceServer) GetLogs ¶
func (*UnimplementedInstancesServiceServer) GetLogs(*InstanceIDMessage, InstancesService_GetLogsServer) error
func (*UnimplementedInstancesServiceServer) GetSSHKeys ¶
func (*UnimplementedInstancesServiceServer) GetSSHKeys(context.Context, *InstanceIDMessage) (*SSHKeysMessage, error)
func (*UnimplementedInstancesServiceServer) GetShell ¶
func (*UnimplementedInstancesServiceServer) GetShell(InstancesService_GetShellServer) error
func (*UnimplementedInstancesServiceServer) RemoveInstance ¶
func (*UnimplementedInstancesServiceServer) RemoveInstance(context.Context, *InstanceRemovalOptionsMessage) (*empty.Empty, error)
func (*UnimplementedInstancesServiceServer) RemoveSSHKey ¶
func (*UnimplementedInstancesServiceServer) RemoveSSHKey(context.Context, *SSHKeyIDMessage) (*SSHKeyMessage, error)
func (*UnimplementedInstancesServiceServer) RestartInstance ¶
func (*UnimplementedInstancesServiceServer) RestartInstance(context.Context, *InstanceIDMessage) (*empty.Empty, error)
func (*UnimplementedInstancesServiceServer) StartInstance ¶
func (*UnimplementedInstancesServiceServer) StartInstance(context.Context, *InstanceIDMessage) (*empty.Empty, error)
func (*UnimplementedInstancesServiceServer) StopInstance ¶
func (*UnimplementedInstancesServiceServer) StopInstance(context.Context, *InstanceIDMessage) (*empty.Empty, error)