Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterSshServiceServer(s grpc.ServiceRegistrar, srv SshServiceServer)
- type CreateSSHKeyPairRequest
- func (*CreateSSHKeyPairRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSSHKeyPairRequest) GetAccountName() string
- func (x *CreateSSHKeyPairRequest) GetDomainId() int64
- func (x *CreateSSHKeyPairRequest) GetName() string
- func (x *CreateSSHKeyPairRequest) GetProjectId() int64
- func (x *CreateSSHKeyPairRequest) GetResponseType() string
- func (*CreateSSHKeyPairRequest) ProtoMessage()
- func (x *CreateSSHKeyPairRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSSHKeyPairRequest) Reset()
- func (x *CreateSSHKeyPairRequest) String() string
- type CreateSSHKeyPairResponse
- func (*CreateSSHKeyPairResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSSHKeyPairResponse) GetResult() *Result
- func (*CreateSSHKeyPairResponse) ProtoMessage()
- func (x *CreateSSHKeyPairResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSSHKeyPairResponse) Reset()
- func (x *CreateSSHKeyPairResponse) String() string
- type DeleteSSHKeyPairRequest
- func (*DeleteSSHKeyPairRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSSHKeyPairRequest) GetAccountName() string
- func (x *DeleteSSHKeyPairRequest) GetDomainId() int64
- func (x *DeleteSSHKeyPairRequest) GetName() string
- func (x *DeleteSSHKeyPairRequest) GetProjectId() int64
- func (x *DeleteSSHKeyPairRequest) GetResponseType() string
- func (*DeleteSSHKeyPairRequest) ProtoMessage()
- func (x *DeleteSSHKeyPairRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSSHKeyPairRequest) Reset()
- func (x *DeleteSSHKeyPairRequest) String() string
- type DeleteSSHKeyPairResponse
- func (*DeleteSSHKeyPairResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSSHKeyPairResponse) GetResult() *Result
- func (*DeleteSSHKeyPairResponse) ProtoMessage()
- func (x *DeleteSSHKeyPairResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSSHKeyPairResponse) Reset()
- func (x *DeleteSSHKeyPairResponse) String() string
- type ListSSHKeyPairsRequest
- func (*ListSSHKeyPairsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSSHKeyPairsRequest) GetAccountName() string
- func (x *ListSSHKeyPairsRequest) GetDomainId() int64
- func (x *ListSSHKeyPairsRequest) GetFingerprint() string
- func (x *ListSSHKeyPairsRequest) GetId() int64
- func (x *ListSSHKeyPairsRequest) GetKeyword() string
- func (x *ListSSHKeyPairsRequest) GetListAll() bool
- func (x *ListSSHKeyPairsRequest) GetName() string
- func (x *ListSSHKeyPairsRequest) GetPage() int32
- func (x *ListSSHKeyPairsRequest) GetPageSize() int32
- func (x *ListSSHKeyPairsRequest) GetProjectId() int64
- func (x *ListSSHKeyPairsRequest) GetRecursive() bool
- func (x *ListSSHKeyPairsRequest) GetResponseType() string
- func (*ListSSHKeyPairsRequest) ProtoMessage()
- func (x *ListSSHKeyPairsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSSHKeyPairsRequest) Reset()
- func (x *ListSSHKeyPairsRequest) String() string
- type ListSSHKeyPairsResponse
- func (*ListSSHKeyPairsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSSHKeyPairsResponse) GetItems() []*SSHKeyPair
- func (x *ListSSHKeyPairsResponse) GetTotalCount() int32
- func (*ListSSHKeyPairsResponse) ProtoMessage()
- func (x *ListSSHKeyPairsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSSHKeyPairsResponse) Reset()
- func (x *ListSSHKeyPairsResponse) String() string
- type RegisterSSHKeyPairRequest
- func (*RegisterSSHKeyPairRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterSSHKeyPairRequest) GetAccountName() string
- func (x *RegisterSSHKeyPairRequest) GetDomainId() int64
- func (x *RegisterSSHKeyPairRequest) GetName() string
- func (x *RegisterSSHKeyPairRequest) GetProjectId() int64
- func (x *RegisterSSHKeyPairRequest) GetPublicKey() string
- func (x *RegisterSSHKeyPairRequest) GetResponseType() string
- func (*RegisterSSHKeyPairRequest) ProtoMessage()
- func (x *RegisterSSHKeyPairRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterSSHKeyPairRequest) Reset()
- func (x *RegisterSSHKeyPairRequest) String() string
- type RegisterSSHKeyPairResponse
- func (*RegisterSSHKeyPairResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterSSHKeyPairResponse) GetResult() *Result
- func (*RegisterSSHKeyPairResponse) ProtoMessage()
- func (x *RegisterSSHKeyPairResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterSSHKeyPairResponse) Reset()
- func (x *RegisterSSHKeyPairResponse) String() string
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetDisplayText() string
- func (x *Result) GetId() string
- func (x *Result) GetJobId() string
- func (x *Result) GetJobStatus() string
- func (x *Result) GetSuccess() bool
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type SSHKeyPair
- func (*SSHKeyPair) Descriptor() ([]byte, []int)deprecated
- func (x *SSHKeyPair) GetCreated() string
- func (x *SSHKeyPair) GetDescription() string
- func (x *SSHKeyPair) GetDisplayName() string
- func (x *SSHKeyPair) GetId() string
- func (x *SSHKeyPair) GetName() string
- func (*SSHKeyPair) ProtoMessage()
- func (x *SSHKeyPair) ProtoReflect() protoreflect.Message
- func (x *SSHKeyPair) Reset()
- func (x *SSHKeyPair) String() string
- type SshServiceClient
- type SshServiceServer
- type Success
- type UnimplementedSshServiceServer
- func (UnimplementedSshServiceServer) CreateSSHKeyPair(context.Context, *CreateSSHKeyPairRequest) (*CreateSSHKeyPairResponse, error)
- func (UnimplementedSshServiceServer) DeleteSSHKeyPair(context.Context, *DeleteSSHKeyPairRequest) (*DeleteSSHKeyPairResponse, error)
- func (UnimplementedSshServiceServer) ListSSHKeyPairs(context.Context, *ListSSHKeyPairsRequest) (*ListSSHKeyPairsResponse, error)
- func (UnimplementedSshServiceServer) RegisterSSHKeyPair(context.Context, *RegisterSSHKeyPairRequest) (*RegisterSSHKeyPairResponse, error)
- type UnsafeSshServiceServer
Constants ¶
const ( SshService_CreateSSHKeyPair_FullMethodName = "/cloudstack.management.ssh.v1.SshService/CreateSSHKeyPair" SshService_DeleteSSHKeyPair_FullMethodName = "/cloudstack.management.ssh.v1.SshService/DeleteSSHKeyPair" SshService_ListSSHKeyPairs_FullMethodName = "/cloudstack.management.ssh.v1.SshService/ListSSHKeyPairs" SshService_RegisterSSHKeyPair_FullMethodName = "/cloudstack.management.ssh.v1.SshService/RegisterSSHKeyPair" )
Variables ¶
var File_cloudstack_management_ssh_v1_ssh_gen_proto protoreflect.FileDescriptor
var SshService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cloudstack.management.ssh.v1.SshService", HandlerType: (*SshServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateSSHKeyPair", Handler: _SshService_CreateSSHKeyPair_Handler, }, { MethodName: "DeleteSSHKeyPair", Handler: _SshService_DeleteSSHKeyPair_Handler, }, { MethodName: "ListSSHKeyPairs", Handler: _SshService_ListSSHKeyPairs_Handler, }, { MethodName: "RegisterSSHKeyPair", Handler: _SshService_RegisterSSHKeyPair_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cloudstack/management/ssh/v1/ssh.gen.proto", }
SshService_ServiceDesc is the grpc.ServiceDesc for SshService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSshServiceServer ¶
func RegisterSshServiceServer(s grpc.ServiceRegistrar, srv SshServiceServer)
Types ¶
type CreateSSHKeyPairRequest ¶
type CreateSSHKeyPairRequest struct { // Name of the keypair Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // an optional account for the ssh key. Must be used with domainId. AccountName *string `protobuf:"bytes,2,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // an optional domainId for the ssh key. If the account parameter is used, domainId must also be used. DomainId *int64 `protobuf:"varint,3,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"` // an optional project for the ssh key ProjectId *int64 `protobuf:"varint,4,opt,name=project_id,json=projectId" json:"project_id,omitempty"` ResponseType *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"` // contains filtered or unexported fields }
CreateSSHKeyPairRequest represents the parameters for create a new keypair and returns the private key
func (*CreateSSHKeyPairRequest) Descriptor
deprecated
func (*CreateSSHKeyPairRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSSHKeyPairRequest.ProtoReflect.Descriptor instead.
func (*CreateSSHKeyPairRequest) GetAccountName ¶
func (x *CreateSSHKeyPairRequest) GetAccountName() string
func (*CreateSSHKeyPairRequest) GetDomainId ¶
func (x *CreateSSHKeyPairRequest) GetDomainId() int64
func (*CreateSSHKeyPairRequest) GetName ¶
func (x *CreateSSHKeyPairRequest) GetName() string
func (*CreateSSHKeyPairRequest) GetProjectId ¶
func (x *CreateSSHKeyPairRequest) GetProjectId() int64
func (*CreateSSHKeyPairRequest) GetResponseType ¶
func (x *CreateSSHKeyPairRequest) GetResponseType() string
func (*CreateSSHKeyPairRequest) ProtoMessage ¶
func (*CreateSSHKeyPairRequest) ProtoMessage()
func (*CreateSSHKeyPairRequest) ProtoReflect ¶
func (x *CreateSSHKeyPairRequest) ProtoReflect() protoreflect.Message
func (*CreateSSHKeyPairRequest) Reset ¶
func (x *CreateSSHKeyPairRequest) Reset()
func (*CreateSSHKeyPairRequest) String ¶
func (x *CreateSSHKeyPairRequest) String() string
type CreateSSHKeyPairResponse ¶
type CreateSSHKeyPairResponse struct { // The Result Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` // contains filtered or unexported fields }
CreateSSHKeyPairResponse represents the response from create a new keypair and returns the private key
func (*CreateSSHKeyPairResponse) Descriptor
deprecated
func (*CreateSSHKeyPairResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSSHKeyPairResponse.ProtoReflect.Descriptor instead.
func (*CreateSSHKeyPairResponse) GetResult ¶
func (x *CreateSSHKeyPairResponse) GetResult() *Result
func (*CreateSSHKeyPairResponse) ProtoMessage ¶
func (*CreateSSHKeyPairResponse) ProtoMessage()
func (*CreateSSHKeyPairResponse) ProtoReflect ¶
func (x *CreateSSHKeyPairResponse) ProtoReflect() protoreflect.Message
func (*CreateSSHKeyPairResponse) Reset ¶
func (x *CreateSSHKeyPairResponse) Reset()
func (*CreateSSHKeyPairResponse) String ¶
func (x *CreateSSHKeyPairResponse) String() string
type DeleteSSHKeyPairRequest ¶
type DeleteSSHKeyPairRequest struct { // Name of the keypair Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // the account associated with the keypair. Must be used with the domainId parameter. AccountName *string `protobuf:"bytes,2,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // the domain ID associated with the keypair DomainId *int64 `protobuf:"varint,3,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"` // the project associated with keypair ProjectId *int64 `protobuf:"varint,4,opt,name=project_id,json=projectId" json:"project_id,omitempty"` ResponseType *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"` // contains filtered or unexported fields }
DeleteSSHKeyPairRequest represents the parameters for deletes a keypair by name
func (*DeleteSSHKeyPairRequest) Descriptor
deprecated
func (*DeleteSSHKeyPairRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSSHKeyPairRequest.ProtoReflect.Descriptor instead.
func (*DeleteSSHKeyPairRequest) GetAccountName ¶
func (x *DeleteSSHKeyPairRequest) GetAccountName() string
func (*DeleteSSHKeyPairRequest) GetDomainId ¶
func (x *DeleteSSHKeyPairRequest) GetDomainId() int64
func (*DeleteSSHKeyPairRequest) GetName ¶
func (x *DeleteSSHKeyPairRequest) GetName() string
func (*DeleteSSHKeyPairRequest) GetProjectId ¶
func (x *DeleteSSHKeyPairRequest) GetProjectId() int64
func (*DeleteSSHKeyPairRequest) GetResponseType ¶
func (x *DeleteSSHKeyPairRequest) GetResponseType() string
func (*DeleteSSHKeyPairRequest) ProtoMessage ¶
func (*DeleteSSHKeyPairRequest) ProtoMessage()
func (*DeleteSSHKeyPairRequest) ProtoReflect ¶
func (x *DeleteSSHKeyPairRequest) ProtoReflect() protoreflect.Message
func (*DeleteSSHKeyPairRequest) Reset ¶
func (x *DeleteSSHKeyPairRequest) Reset()
func (*DeleteSSHKeyPairRequest) String ¶
func (x *DeleteSSHKeyPairRequest) String() string
type DeleteSSHKeyPairResponse ¶
type DeleteSSHKeyPairResponse struct { // The Result Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` // contains filtered or unexported fields }
DeleteSSHKeyPairResponse represents the response from deletes a keypair by name
func (*DeleteSSHKeyPairResponse) Descriptor
deprecated
func (*DeleteSSHKeyPairResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSSHKeyPairResponse.ProtoReflect.Descriptor instead.
func (*DeleteSSHKeyPairResponse) GetResult ¶
func (x *DeleteSSHKeyPairResponse) GetResult() *Result
func (*DeleteSSHKeyPairResponse) ProtoMessage ¶
func (*DeleteSSHKeyPairResponse) ProtoMessage()
func (*DeleteSSHKeyPairResponse) ProtoReflect ¶
func (x *DeleteSSHKeyPairResponse) ProtoReflect() protoreflect.Message
func (*DeleteSSHKeyPairResponse) Reset ¶
func (x *DeleteSSHKeyPairResponse) Reset()
func (*DeleteSSHKeyPairResponse) String ¶
func (x *DeleteSSHKeyPairResponse) String() string
type ListSSHKeyPairsRequest ¶
type ListSSHKeyPairsRequest struct { // the ID of the ssh keypair Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` // A key pair name to look for Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // A public key fingerprint to look for Fingerprint *string `protobuf:"bytes,3,opt,name=fingerprint" json:"fingerprint,omitempty"` // list objects by project; if projectid=-1 lists All VMs ProjectId *int64 `protobuf:"varint,4,opt,name=project_id,json=projectId" json:"project_id,omitempty"` // list resources by account. Must be used with the domainId parameter. AccountName *string `protobuf:"bytes,5,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false. Resources dedicated to a project are listed only if using the projectid parameter. ListAll *bool `protobuf:"varint,6,opt,name=list_all,json=listAll" json:"list_all,omitempty"` // list only resources belonging to the domain specified DomainId *int64 `protobuf:"varint,7,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"` // defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves. Recursive *bool `protobuf:"varint,8,opt,name=recursive" json:"recursive,omitempty"` // List by keyword Keyword *string `protobuf:"bytes,9,opt,name=keyword" json:"keyword,omitempty"` Page *int32 `protobuf:"varint,10,opt,name=page" json:"page,omitempty"` PageSize *int32 `protobuf:"varint,11,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` ResponseType *string `protobuf:"bytes,12,opt,name=response_type,json=responseType" json:"response_type,omitempty"` // contains filtered or unexported fields }
ListSSHKeyPairsRequest represents the parameters for list registered keypairs
func (*ListSSHKeyPairsRequest) Descriptor
deprecated
func (*ListSSHKeyPairsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSSHKeyPairsRequest.ProtoReflect.Descriptor instead.
func (*ListSSHKeyPairsRequest) GetAccountName ¶
func (x *ListSSHKeyPairsRequest) GetAccountName() string
func (*ListSSHKeyPairsRequest) GetDomainId ¶
func (x *ListSSHKeyPairsRequest) GetDomainId() int64
func (*ListSSHKeyPairsRequest) GetFingerprint ¶
func (x *ListSSHKeyPairsRequest) GetFingerprint() string
func (*ListSSHKeyPairsRequest) GetId ¶
func (x *ListSSHKeyPairsRequest) GetId() int64
func (*ListSSHKeyPairsRequest) GetKeyword ¶
func (x *ListSSHKeyPairsRequest) GetKeyword() string
func (*ListSSHKeyPairsRequest) GetListAll ¶
func (x *ListSSHKeyPairsRequest) GetListAll() bool
func (*ListSSHKeyPairsRequest) GetName ¶
func (x *ListSSHKeyPairsRequest) GetName() string
func (*ListSSHKeyPairsRequest) GetPage ¶
func (x *ListSSHKeyPairsRequest) GetPage() int32
func (*ListSSHKeyPairsRequest) GetPageSize ¶
func (x *ListSSHKeyPairsRequest) GetPageSize() int32
func (*ListSSHKeyPairsRequest) GetProjectId ¶
func (x *ListSSHKeyPairsRequest) GetProjectId() int64
func (*ListSSHKeyPairsRequest) GetRecursive ¶
func (x *ListSSHKeyPairsRequest) GetRecursive() bool
func (*ListSSHKeyPairsRequest) GetResponseType ¶
func (x *ListSSHKeyPairsRequest) GetResponseType() string
func (*ListSSHKeyPairsRequest) ProtoMessage ¶
func (*ListSSHKeyPairsRequest) ProtoMessage()
func (*ListSSHKeyPairsRequest) ProtoReflect ¶
func (x *ListSSHKeyPairsRequest) ProtoReflect() protoreflect.Message
func (*ListSSHKeyPairsRequest) Reset ¶
func (x *ListSSHKeyPairsRequest) Reset()
func (*ListSSHKeyPairsRequest) String ¶
func (x *ListSSHKeyPairsRequest) String() string
type ListSSHKeyPairsResponse ¶
type ListSSHKeyPairsResponse struct { // The list of SSHKeyPairs Items []*SSHKeyPair `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` // The total count of SSHKeyPairs TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"` // contains filtered or unexported fields }
ListSSHKeyPairsResponse represents the response from list registered keypairs
func (*ListSSHKeyPairsResponse) Descriptor
deprecated
func (*ListSSHKeyPairsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSSHKeyPairsResponse.ProtoReflect.Descriptor instead.
func (*ListSSHKeyPairsResponse) GetItems ¶
func (x *ListSSHKeyPairsResponse) GetItems() []*SSHKeyPair
func (*ListSSHKeyPairsResponse) GetTotalCount ¶
func (x *ListSSHKeyPairsResponse) GetTotalCount() int32
func (*ListSSHKeyPairsResponse) ProtoMessage ¶
func (*ListSSHKeyPairsResponse) ProtoMessage()
func (*ListSSHKeyPairsResponse) ProtoReflect ¶
func (x *ListSSHKeyPairsResponse) ProtoReflect() protoreflect.Message
func (*ListSSHKeyPairsResponse) Reset ¶
func (x *ListSSHKeyPairsResponse) Reset()
func (*ListSSHKeyPairsResponse) String ¶
func (x *ListSSHKeyPairsResponse) String() string
type RegisterSSHKeyPairRequest ¶
type RegisterSSHKeyPairRequest struct { // Name of the keypair Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Public key material of the keypair PublicKey *string `protobuf:"bytes,2,opt,name=public_key,json=publicKey" json:"public_key,omitempty"` // an optional account for the ssh key. Must be used with domainId. AccountName *string `protobuf:"bytes,3,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // an optional domainId for the ssh key. If the account parameter is used, domainId must also be used. DomainId *int64 `protobuf:"varint,4,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"` // an optional project for the ssh key ProjectId *int64 `protobuf:"varint,5,opt,name=project_id,json=projectId" json:"project_id,omitempty"` ResponseType *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"` // contains filtered or unexported fields }
RegisterSSHKeyPairRequest represents the parameters for register a public key in a keypair under a certain name
func (*RegisterSSHKeyPairRequest) Descriptor
deprecated
func (*RegisterSSHKeyPairRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterSSHKeyPairRequest.ProtoReflect.Descriptor instead.
func (*RegisterSSHKeyPairRequest) GetAccountName ¶
func (x *RegisterSSHKeyPairRequest) GetAccountName() string
func (*RegisterSSHKeyPairRequest) GetDomainId ¶
func (x *RegisterSSHKeyPairRequest) GetDomainId() int64
func (*RegisterSSHKeyPairRequest) GetName ¶
func (x *RegisterSSHKeyPairRequest) GetName() string
func (*RegisterSSHKeyPairRequest) GetProjectId ¶
func (x *RegisterSSHKeyPairRequest) GetProjectId() int64
func (*RegisterSSHKeyPairRequest) GetPublicKey ¶
func (x *RegisterSSHKeyPairRequest) GetPublicKey() string
func (*RegisterSSHKeyPairRequest) GetResponseType ¶
func (x *RegisterSSHKeyPairRequest) GetResponseType() string
func (*RegisterSSHKeyPairRequest) ProtoMessage ¶
func (*RegisterSSHKeyPairRequest) ProtoMessage()
func (*RegisterSSHKeyPairRequest) ProtoReflect ¶
func (x *RegisterSSHKeyPairRequest) ProtoReflect() protoreflect.Message
func (*RegisterSSHKeyPairRequest) Reset ¶
func (x *RegisterSSHKeyPairRequest) Reset()
func (*RegisterSSHKeyPairRequest) String ¶
func (x *RegisterSSHKeyPairRequest) String() string
type RegisterSSHKeyPairResponse ¶
type RegisterSSHKeyPairResponse struct { // The Result Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` // contains filtered or unexported fields }
RegisterSSHKeyPairResponse represents the response from register a public key in a keypair under a certain name
func (*RegisterSSHKeyPairResponse) Descriptor
deprecated
func (*RegisterSSHKeyPairResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterSSHKeyPairResponse.ProtoReflect.Descriptor instead.
func (*RegisterSSHKeyPairResponse) GetResult ¶
func (x *RegisterSSHKeyPairResponse) GetResult() *Result
func (*RegisterSSHKeyPairResponse) ProtoMessage ¶
func (*RegisterSSHKeyPairResponse) ProtoMessage()
func (*RegisterSSHKeyPairResponse) ProtoReflect ¶
func (x *RegisterSSHKeyPairResponse) ProtoReflect() protoreflect.Message
func (*RegisterSSHKeyPairResponse) Reset ¶
func (x *RegisterSSHKeyPairResponse) Reset()
func (*RegisterSSHKeyPairResponse) String ¶
func (x *RegisterSSHKeyPairResponse) String() string
type Result ¶
type Result struct { // Whether the operation was successful Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"` // Any text associated with the success or failure DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"` // The ID of the resource affected by the operation Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"` // The job ID for an async operation JobId *string `protobuf:"bytes,4,opt,name=job_id,json=jobId" json:"job_id,omitempty"` // The status of the job JobStatus *string `protobuf:"bytes,5,opt,name=job_status,json=jobStatus" json:"job_status,omitempty"` // contains filtered or unexported fields }
Result represents a generic operation result
func (*Result) Descriptor
deprecated
func (*Result) GetDisplayText ¶
func (*Result) GetJobStatus ¶
func (*Result) GetSuccess ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type SSHKeyPair ¶
type SSHKeyPair struct { // The ID of the SSHKeyPair Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The name of the SSHKeyPair Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // The display name of the SSHKeyPair DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"` // The description of the SSHKeyPair Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` // The date this entity was created Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"` // contains filtered or unexported fields }
SSHKeyPair represents a SSHKeyPair Item
func (*SSHKeyPair) Descriptor
deprecated
func (*SSHKeyPair) Descriptor() ([]byte, []int)
Deprecated: Use SSHKeyPair.ProtoReflect.Descriptor instead.
func (*SSHKeyPair) GetCreated ¶
func (x *SSHKeyPair) GetCreated() string
func (*SSHKeyPair) GetDescription ¶
func (x *SSHKeyPair) GetDescription() string
func (*SSHKeyPair) GetDisplayName ¶
func (x *SSHKeyPair) GetDisplayName() string
func (*SSHKeyPair) GetId ¶
func (x *SSHKeyPair) GetId() string
func (*SSHKeyPair) GetName ¶
func (x *SSHKeyPair) GetName() string
func (*SSHKeyPair) ProtoMessage ¶
func (*SSHKeyPair) ProtoMessage()
func (*SSHKeyPair) ProtoReflect ¶
func (x *SSHKeyPair) ProtoReflect() protoreflect.Message
func (*SSHKeyPair) Reset ¶
func (x *SSHKeyPair) Reset()
func (*SSHKeyPair) String ¶
func (x *SSHKeyPair) String() string
type SshServiceClient ¶
type SshServiceClient interface { // CreateSSHKeyPair Create a new keypair and returns the private key CreateSSHKeyPair(ctx context.Context, in *CreateSSHKeyPairRequest, opts ...grpc.CallOption) (*CreateSSHKeyPairResponse, error) // DeleteSSHKeyPair Deletes a keypair by name DeleteSSHKeyPair(ctx context.Context, in *DeleteSSHKeyPairRequest, opts ...grpc.CallOption) (*DeleteSSHKeyPairResponse, error) // ListSSHKeyPairs List registered keypairs ListSSHKeyPairs(ctx context.Context, in *ListSSHKeyPairsRequest, opts ...grpc.CallOption) (*ListSSHKeyPairsResponse, error) // RegisterSSHKeyPair Register a public key in a keypair under a certain name RegisterSSHKeyPair(ctx context.Context, in *RegisterSSHKeyPairRequest, opts ...grpc.CallOption) (*RegisterSSHKeyPairResponse, error) }
SshServiceClient is the client API for SshService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
SshService provides operations for managing Sshs
func NewSshServiceClient ¶
func NewSshServiceClient(cc grpc.ClientConnInterface) SshServiceClient
type SshServiceServer ¶
type SshServiceServer interface { // CreateSSHKeyPair Create a new keypair and returns the private key CreateSSHKeyPair(context.Context, *CreateSSHKeyPairRequest) (*CreateSSHKeyPairResponse, error) // DeleteSSHKeyPair Deletes a keypair by name DeleteSSHKeyPair(context.Context, *DeleteSSHKeyPairRequest) (*DeleteSSHKeyPairResponse, error) // ListSSHKeyPairs List registered keypairs ListSSHKeyPairs(context.Context, *ListSSHKeyPairsRequest) (*ListSSHKeyPairsResponse, error) // RegisterSSHKeyPair Register a public key in a keypair under a certain name RegisterSSHKeyPair(context.Context, *RegisterSSHKeyPairRequest) (*RegisterSSHKeyPairResponse, error) // contains filtered or unexported methods }
SshServiceServer is the server API for SshService service. All implementations must embed UnimplementedSshServiceServer for forward compatibility.
SshService provides operations for managing Sshs
type Success ¶
type Success struct { // true if operation is executed successfully Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"` // any text associated with the success or failure DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"` // contains filtered or unexported fields }
Success represents a Success Operation Response
func (*Success) Descriptor
deprecated
func (*Success) GetDisplayText ¶
func (*Success) GetSuccess ¶
func (*Success) ProtoMessage ¶
func (*Success) ProtoMessage()
func (*Success) ProtoReflect ¶
func (x *Success) ProtoReflect() protoreflect.Message
type UnimplementedSshServiceServer ¶
type UnimplementedSshServiceServer struct{}
UnimplementedSshServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSshServiceServer) CreateSSHKeyPair ¶
func (UnimplementedSshServiceServer) CreateSSHKeyPair(context.Context, *CreateSSHKeyPairRequest) (*CreateSSHKeyPairResponse, error)
func (UnimplementedSshServiceServer) DeleteSSHKeyPair ¶
func (UnimplementedSshServiceServer) DeleteSSHKeyPair(context.Context, *DeleteSSHKeyPairRequest) (*DeleteSSHKeyPairResponse, error)
func (UnimplementedSshServiceServer) ListSSHKeyPairs ¶
func (UnimplementedSshServiceServer) ListSSHKeyPairs(context.Context, *ListSSHKeyPairsRequest) (*ListSSHKeyPairsResponse, error)
func (UnimplementedSshServiceServer) RegisterSSHKeyPair ¶
func (UnimplementedSshServiceServer) RegisterSSHKeyPair(context.Context, *RegisterSSHKeyPairRequest) (*RegisterSSHKeyPairResponse, error)
type UnsafeSshServiceServer ¶
type UnsafeSshServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSshServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SshServiceServer will result in compilation errors.