Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDownloadServiceServer(s grpc.ServiceRegistrar, srv DownloadServiceServer)
- type DirectDownloadCertificate
- func (*DirectDownloadCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *DirectDownloadCertificate) GetCreated() string
- func (x *DirectDownloadCertificate) GetDescription() string
- func (x *DirectDownloadCertificate) GetDisplayName() string
- func (x *DirectDownloadCertificate) GetId() string
- func (x *DirectDownloadCertificate) GetName() string
- func (*DirectDownloadCertificate) ProtoMessage()
- func (x *DirectDownloadCertificate) ProtoReflect() protoreflect.Message
- func (x *DirectDownloadCertificate) Reset()
- func (x *DirectDownloadCertificate) String() string
- type DownloadServiceClient
- type DownloadServiceServer
- type ListTemplateDirectDownloadCertificatesRequest
- func (*ListTemplateDirectDownloadCertificatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplateDirectDownloadCertificatesRequest) GetId() int64
- func (x *ListTemplateDirectDownloadCertificatesRequest) GetKeyword() string
- func (x *ListTemplateDirectDownloadCertificatesRequest) GetListHosts() bool
- func (x *ListTemplateDirectDownloadCertificatesRequest) GetPage() int32
- func (x *ListTemplateDirectDownloadCertificatesRequest) GetPageSize() int32
- func (x *ListTemplateDirectDownloadCertificatesRequest) GetResponseType() string
- func (x *ListTemplateDirectDownloadCertificatesRequest) GetZoneId() int64
- func (*ListTemplateDirectDownloadCertificatesRequest) ProtoMessage()
- func (x *ListTemplateDirectDownloadCertificatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListTemplateDirectDownloadCertificatesRequest) Reset()
- func (x *ListTemplateDirectDownloadCertificatesRequest) String() string
- type ListTemplateDirectDownloadCertificatesResponse
- func (*ListTemplateDirectDownloadCertificatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplateDirectDownloadCertificatesResponse) GetItems() []*DirectDownloadCertificate
- func (x *ListTemplateDirectDownloadCertificatesResponse) GetTotalCount() int32
- func (*ListTemplateDirectDownloadCertificatesResponse) ProtoMessage()
- func (x *ListTemplateDirectDownloadCertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListTemplateDirectDownloadCertificatesResponse) Reset()
- func (x *ListTemplateDirectDownloadCertificatesResponse) String() string
- type ProvisionTemplateDirectDownloadCertificateRequest
- func (*ProvisionTemplateDirectDownloadCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionTemplateDirectDownloadCertificateRequest) GetHostId() int64
- func (x *ProvisionTemplateDirectDownloadCertificateRequest) GetId() int64
- func (x *ProvisionTemplateDirectDownloadCertificateRequest) GetResponseType() string
- func (*ProvisionTemplateDirectDownloadCertificateRequest) ProtoMessage()
- func (x *ProvisionTemplateDirectDownloadCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *ProvisionTemplateDirectDownloadCertificateRequest) Reset()
- func (x *ProvisionTemplateDirectDownloadCertificateRequest) String() string
- type ProvisionTemplateDirectDownloadCertificateResponse
- func (*ProvisionTemplateDirectDownloadCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionTemplateDirectDownloadCertificateResponse) GetResult() *Result
- func (*ProvisionTemplateDirectDownloadCertificateResponse) ProtoMessage()
- func (x *ProvisionTemplateDirectDownloadCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *ProvisionTemplateDirectDownloadCertificateResponse) Reset()
- func (x *ProvisionTemplateDirectDownloadCertificateResponse) 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 RevokeTemplateDirectDownloadCertificateRequest
- func (*RevokeTemplateDirectDownloadCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeTemplateDirectDownloadCertificateRequest) GetCertificateAlias() string
- func (x *RevokeTemplateDirectDownloadCertificateRequest) GetCertificateId() int64
- func (x *RevokeTemplateDirectDownloadCertificateRequest) GetHostId() int64
- func (x *RevokeTemplateDirectDownloadCertificateRequest) GetHypervisor() string
- func (x *RevokeTemplateDirectDownloadCertificateRequest) GetResponseType() string
- func (x *RevokeTemplateDirectDownloadCertificateRequest) GetZoneId() int64
- func (*RevokeTemplateDirectDownloadCertificateRequest) ProtoMessage()
- func (x *RevokeTemplateDirectDownloadCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeTemplateDirectDownloadCertificateRequest) Reset()
- func (x *RevokeTemplateDirectDownloadCertificateRequest) String() string
- type RevokeTemplateDirectDownloadCertificateResponse
- func (*RevokeTemplateDirectDownloadCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeTemplateDirectDownloadCertificateResponse) GetResult() *Result
- func (*RevokeTemplateDirectDownloadCertificateResponse) ProtoMessage()
- func (x *RevokeTemplateDirectDownloadCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeTemplateDirectDownloadCertificateResponse) Reset()
- func (x *RevokeTemplateDirectDownloadCertificateResponse) String() string
- type Success
- type UnimplementedDownloadServiceServer
- func (UnimplementedDownloadServiceServer) ListTemplateDirectDownloadCertificates(context.Context, *ListTemplateDirectDownloadCertificatesRequest) (*ListTemplateDirectDownloadCertificatesResponse, error)
- func (UnimplementedDownloadServiceServer) ProvisionTemplateDirectDownloadCertificate(context.Context, *ProvisionTemplateDirectDownloadCertificateRequest) (*ProvisionTemplateDirectDownloadCertificateResponse, error)
- func (UnimplementedDownloadServiceServer) RevokeTemplateDirectDownloadCertificate(context.Context, *RevokeTemplateDirectDownloadCertificateRequest) (*RevokeTemplateDirectDownloadCertificateResponse, error)
- func (UnimplementedDownloadServiceServer) UploadTemplateDirectDownloadCertificate(context.Context, *UploadTemplateDirectDownloadCertificateRequest) (*UploadTemplateDirectDownloadCertificateResponse, error)
- type UnsafeDownloadServiceServer
- type UploadTemplateDirectDownloadCertificateRequest
- func (*UploadTemplateDirectDownloadCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadTemplateDirectDownloadCertificateRequest) GetCertificate() string
- func (x *UploadTemplateDirectDownloadCertificateRequest) GetHostId() int64
- func (x *UploadTemplateDirectDownloadCertificateRequest) GetHypervisor() string
- func (x *UploadTemplateDirectDownloadCertificateRequest) GetName() string
- func (x *UploadTemplateDirectDownloadCertificateRequest) GetResponseType() string
- func (x *UploadTemplateDirectDownloadCertificateRequest) GetZoneId() int64
- func (*UploadTemplateDirectDownloadCertificateRequest) ProtoMessage()
- func (x *UploadTemplateDirectDownloadCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *UploadTemplateDirectDownloadCertificateRequest) Reset()
- func (x *UploadTemplateDirectDownloadCertificateRequest) String() string
- type UploadTemplateDirectDownloadCertificateResponse
- func (*UploadTemplateDirectDownloadCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadTemplateDirectDownloadCertificateResponse) GetResult() *Result
- func (*UploadTemplateDirectDownloadCertificateResponse) ProtoMessage()
- func (x *UploadTemplateDirectDownloadCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *UploadTemplateDirectDownloadCertificateResponse) Reset()
- func (x *UploadTemplateDirectDownloadCertificateResponse) String() string
Constants ¶
const ( DownloadService_ListTemplateDirectDownloadCertificates_FullMethodName = "/cloudstack.management.direct.download.v1.DownloadService/ListTemplateDirectDownloadCertificates" DownloadService_ProvisionTemplateDirectDownloadCertificate_FullMethodName = "/cloudstack.management.direct.download.v1.DownloadService/ProvisionTemplateDirectDownloadCertificate" DownloadService_RevokeTemplateDirectDownloadCertificate_FullMethodName = "/cloudstack.management.direct.download.v1.DownloadService/RevokeTemplateDirectDownloadCertificate" DownloadService_UploadTemplateDirectDownloadCertificate_FullMethodName = "/cloudstack.management.direct.download.v1.DownloadService/UploadTemplateDirectDownloadCertificate" )
Variables ¶
var DownloadService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cloudstack.management.direct.download.v1.DownloadService", HandlerType: (*DownloadServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListTemplateDirectDownloadCertificates", Handler: _DownloadService_ListTemplateDirectDownloadCertificates_Handler, }, { MethodName: "ProvisionTemplateDirectDownloadCertificate", Handler: _DownloadService_ProvisionTemplateDirectDownloadCertificate_Handler, }, { MethodName: "RevokeTemplateDirectDownloadCertificate", Handler: _DownloadService_RevokeTemplateDirectDownloadCertificate_Handler, }, { MethodName: "UploadTemplateDirectDownloadCertificate", Handler: _DownloadService_UploadTemplateDirectDownloadCertificate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cloudstack/management/direct/download/v1/download.gen.proto", }
DownloadService_ServiceDesc is the grpc.ServiceDesc for DownloadService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cloudstack_management_direct_download_v1_download_gen_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDownloadServiceServer ¶
func RegisterDownloadServiceServer(s grpc.ServiceRegistrar, srv DownloadServiceServer)
Types ¶
type DirectDownloadCertificate ¶
type DirectDownloadCertificate struct { // The ID of the DirectDownloadCertificate Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The name of the DirectDownloadCertificate Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // The display name of the DirectDownloadCertificate DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"` // The description of the DirectDownloadCertificate 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 }
DirectDownloadCertificate represents a DirectDownloadCertificate Item
func (*DirectDownloadCertificate) Descriptor
deprecated
func (*DirectDownloadCertificate) Descriptor() ([]byte, []int)
Deprecated: Use DirectDownloadCertificate.ProtoReflect.Descriptor instead.
func (*DirectDownloadCertificate) GetCreated ¶
func (x *DirectDownloadCertificate) GetCreated() string
func (*DirectDownloadCertificate) GetDescription ¶
func (x *DirectDownloadCertificate) GetDescription() string
func (*DirectDownloadCertificate) GetDisplayName ¶
func (x *DirectDownloadCertificate) GetDisplayName() string
func (*DirectDownloadCertificate) GetId ¶
func (x *DirectDownloadCertificate) GetId() string
func (*DirectDownloadCertificate) GetName ¶
func (x *DirectDownloadCertificate) GetName() string
func (*DirectDownloadCertificate) ProtoMessage ¶
func (*DirectDownloadCertificate) ProtoMessage()
func (*DirectDownloadCertificate) ProtoReflect ¶
func (x *DirectDownloadCertificate) ProtoReflect() protoreflect.Message
func (*DirectDownloadCertificate) Reset ¶
func (x *DirectDownloadCertificate) Reset()
func (*DirectDownloadCertificate) String ¶
func (x *DirectDownloadCertificate) String() string
type DownloadServiceClient ¶
type DownloadServiceClient interface { // ListTemplateDirectDownloadCertificates List the uploaded certificates for direct download templates ListTemplateDirectDownloadCertificates(ctx context.Context, in *ListTemplateDirectDownloadCertificatesRequest, opts ...grpc.CallOption) (*ListTemplateDirectDownloadCertificatesResponse, error) // ProvisionTemplateDirectDownloadCertificate Provisions a host with a direct download certificate ProvisionTemplateDirectDownloadCertificate(ctx context.Context, in *ProvisionTemplateDirectDownloadCertificateRequest, opts ...grpc.CallOption) (*ProvisionTemplateDirectDownloadCertificateResponse, error) // RevokeTemplateDirectDownloadCertificate Revoke a direct download certificate from hosts in a zone RevokeTemplateDirectDownloadCertificate(ctx context.Context, in *RevokeTemplateDirectDownloadCertificateRequest, opts ...grpc.CallOption) (*RevokeTemplateDirectDownloadCertificateResponse, error) // UploadTemplateDirectDownloadCertificate Upload a certificate for HTTPS direct template download on KVM hosts UploadTemplateDirectDownloadCertificate(ctx context.Context, in *UploadTemplateDirectDownloadCertificateRequest, opts ...grpc.CallOption) (*UploadTemplateDirectDownloadCertificateResponse, error) }
DownloadServiceClient is the client API for DownloadService 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.
DownloadService provides operations for managing Direct.Downloads
func NewDownloadServiceClient ¶
func NewDownloadServiceClient(cc grpc.ClientConnInterface) DownloadServiceClient
type DownloadServiceServer ¶
type DownloadServiceServer interface { // ListTemplateDirectDownloadCertificates List the uploaded certificates for direct download templates ListTemplateDirectDownloadCertificates(context.Context, *ListTemplateDirectDownloadCertificatesRequest) (*ListTemplateDirectDownloadCertificatesResponse, error) // ProvisionTemplateDirectDownloadCertificate Provisions a host with a direct download certificate ProvisionTemplateDirectDownloadCertificate(context.Context, *ProvisionTemplateDirectDownloadCertificateRequest) (*ProvisionTemplateDirectDownloadCertificateResponse, error) // RevokeTemplateDirectDownloadCertificate Revoke a direct download certificate from hosts in a zone RevokeTemplateDirectDownloadCertificate(context.Context, *RevokeTemplateDirectDownloadCertificateRequest) (*RevokeTemplateDirectDownloadCertificateResponse, error) // UploadTemplateDirectDownloadCertificate Upload a certificate for HTTPS direct template download on KVM hosts UploadTemplateDirectDownloadCertificate(context.Context, *UploadTemplateDirectDownloadCertificateRequest) (*UploadTemplateDirectDownloadCertificateResponse, error) // contains filtered or unexported methods }
DownloadServiceServer is the server API for DownloadService service. All implementations must embed UnimplementedDownloadServiceServer for forward compatibility.
DownloadService provides operations for managing Direct.Downloads
type ListTemplateDirectDownloadCertificatesRequest ¶
type ListTemplateDirectDownloadCertificatesRequest struct { // list direct download certificate by ID Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` // the zone where certificates are uploaded ZoneId *int64 `protobuf:"varint,2,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"` // if set to true: include the hosts where the certificate is uploaded to ListHosts *bool `protobuf:"varint,3,opt,name=list_hosts,json=listHosts" json:"list_hosts,omitempty"` // List by keyword Keyword *string `protobuf:"bytes,4,opt,name=keyword" json:"keyword,omitempty"` Page *int32 `protobuf:"varint,5,opt,name=page" json:"page,omitempty"` PageSize *int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` ResponseType *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"` // contains filtered or unexported fields }
ListTemplateDirectDownloadCertificatesRequest represents the parameters for list the uploaded certificates for direct download templates
func (*ListTemplateDirectDownloadCertificatesRequest) Descriptor
deprecated
func (*ListTemplateDirectDownloadCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplateDirectDownloadCertificatesRequest.ProtoReflect.Descriptor instead.
func (*ListTemplateDirectDownloadCertificatesRequest) GetId ¶
func (x *ListTemplateDirectDownloadCertificatesRequest) GetId() int64
func (*ListTemplateDirectDownloadCertificatesRequest) GetKeyword ¶
func (x *ListTemplateDirectDownloadCertificatesRequest) GetKeyword() string
func (*ListTemplateDirectDownloadCertificatesRequest) GetListHosts ¶
func (x *ListTemplateDirectDownloadCertificatesRequest) GetListHosts() bool
func (*ListTemplateDirectDownloadCertificatesRequest) GetPage ¶
func (x *ListTemplateDirectDownloadCertificatesRequest) GetPage() int32
func (*ListTemplateDirectDownloadCertificatesRequest) GetPageSize ¶
func (x *ListTemplateDirectDownloadCertificatesRequest) GetPageSize() int32
func (*ListTemplateDirectDownloadCertificatesRequest) GetResponseType ¶
func (x *ListTemplateDirectDownloadCertificatesRequest) GetResponseType() string
func (*ListTemplateDirectDownloadCertificatesRequest) GetZoneId ¶
func (x *ListTemplateDirectDownloadCertificatesRequest) GetZoneId() int64
func (*ListTemplateDirectDownloadCertificatesRequest) ProtoMessage ¶
func (*ListTemplateDirectDownloadCertificatesRequest) ProtoMessage()
func (*ListTemplateDirectDownloadCertificatesRequest) ProtoReflect ¶
func (x *ListTemplateDirectDownloadCertificatesRequest) ProtoReflect() protoreflect.Message
func (*ListTemplateDirectDownloadCertificatesRequest) Reset ¶
func (x *ListTemplateDirectDownloadCertificatesRequest) Reset()
func (*ListTemplateDirectDownloadCertificatesRequest) String ¶
func (x *ListTemplateDirectDownloadCertificatesRequest) String() string
type ListTemplateDirectDownloadCertificatesResponse ¶
type ListTemplateDirectDownloadCertificatesResponse struct { // The list of DirectDownloadCertificates Items []*DirectDownloadCertificate `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` // The total count of DirectDownloadCertificates TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"` // contains filtered or unexported fields }
ListTemplateDirectDownloadCertificatesResponse represents the response from list the uploaded certificates for direct download templates
func (*ListTemplateDirectDownloadCertificatesResponse) Descriptor
deprecated
func (*ListTemplateDirectDownloadCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplateDirectDownloadCertificatesResponse.ProtoReflect.Descriptor instead.
func (*ListTemplateDirectDownloadCertificatesResponse) GetItems ¶
func (x *ListTemplateDirectDownloadCertificatesResponse) GetItems() []*DirectDownloadCertificate
func (*ListTemplateDirectDownloadCertificatesResponse) GetTotalCount ¶
func (x *ListTemplateDirectDownloadCertificatesResponse) GetTotalCount() int32
func (*ListTemplateDirectDownloadCertificatesResponse) ProtoMessage ¶
func (*ListTemplateDirectDownloadCertificatesResponse) ProtoMessage()
func (*ListTemplateDirectDownloadCertificatesResponse) ProtoReflect ¶
func (x *ListTemplateDirectDownloadCertificatesResponse) ProtoReflect() protoreflect.Message
func (*ListTemplateDirectDownloadCertificatesResponse) Reset ¶
func (x *ListTemplateDirectDownloadCertificatesResponse) Reset()
func (*ListTemplateDirectDownloadCertificatesResponse) String ¶
func (x *ListTemplateDirectDownloadCertificatesResponse) String() string
type ProvisionTemplateDirectDownloadCertificateRequest ¶
type ProvisionTemplateDirectDownloadCertificateRequest struct { // the id of the direct download certificate to provision Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` // the host to provision the certificate HostId *int64 `protobuf:"varint,2,opt,name=host_id,json=hostId" json:"host_id,omitempty"` ResponseType *string `protobuf:"bytes,3,opt,name=response_type,json=responseType" json:"response_type,omitempty"` // contains filtered or unexported fields }
ProvisionTemplateDirectDownloadCertificateRequest represents the parameters for provisions a host with a direct download certificate
func (*ProvisionTemplateDirectDownloadCertificateRequest) Descriptor
deprecated
func (*ProvisionTemplateDirectDownloadCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionTemplateDirectDownloadCertificateRequest.ProtoReflect.Descriptor instead.
func (*ProvisionTemplateDirectDownloadCertificateRequest) GetHostId ¶
func (x *ProvisionTemplateDirectDownloadCertificateRequest) GetHostId() int64
func (*ProvisionTemplateDirectDownloadCertificateRequest) GetId ¶
func (x *ProvisionTemplateDirectDownloadCertificateRequest) GetId() int64
func (*ProvisionTemplateDirectDownloadCertificateRequest) GetResponseType ¶
func (x *ProvisionTemplateDirectDownloadCertificateRequest) GetResponseType() string
func (*ProvisionTemplateDirectDownloadCertificateRequest) ProtoMessage ¶
func (*ProvisionTemplateDirectDownloadCertificateRequest) ProtoMessage()
func (*ProvisionTemplateDirectDownloadCertificateRequest) ProtoReflect ¶
func (x *ProvisionTemplateDirectDownloadCertificateRequest) ProtoReflect() protoreflect.Message
func (*ProvisionTemplateDirectDownloadCertificateRequest) Reset ¶
func (x *ProvisionTemplateDirectDownloadCertificateRequest) Reset()
func (*ProvisionTemplateDirectDownloadCertificateRequest) String ¶
func (x *ProvisionTemplateDirectDownloadCertificateRequest) String() string
type ProvisionTemplateDirectDownloadCertificateResponse ¶
type ProvisionTemplateDirectDownloadCertificateResponse struct { // The Result Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` // contains filtered or unexported fields }
ProvisionTemplateDirectDownloadCertificateResponse represents the response from provisions a host with a direct download certificate
func (*ProvisionTemplateDirectDownloadCertificateResponse) Descriptor
deprecated
func (*ProvisionTemplateDirectDownloadCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionTemplateDirectDownloadCertificateResponse.ProtoReflect.Descriptor instead.
func (*ProvisionTemplateDirectDownloadCertificateResponse) GetResult ¶
func (x *ProvisionTemplateDirectDownloadCertificateResponse) GetResult() *Result
func (*ProvisionTemplateDirectDownloadCertificateResponse) ProtoMessage ¶
func (*ProvisionTemplateDirectDownloadCertificateResponse) ProtoMessage()
func (*ProvisionTemplateDirectDownloadCertificateResponse) ProtoReflect ¶
func (x *ProvisionTemplateDirectDownloadCertificateResponse) ProtoReflect() protoreflect.Message
func (*ProvisionTemplateDirectDownloadCertificateResponse) Reset ¶
func (x *ProvisionTemplateDirectDownloadCertificateResponse) Reset()
func (*ProvisionTemplateDirectDownloadCertificateResponse) String ¶
func (x *ProvisionTemplateDirectDownloadCertificateResponse) 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 RevokeTemplateDirectDownloadCertificateRequest ¶
type RevokeTemplateDirectDownloadCertificateRequest struct { // id of the certificate CertificateId *int64 `protobuf:"varint,1,opt,name=certificate_id,json=certificateId" json:"certificate_id,omitempty"` // (optional) alias of the SSL certificate CertificateAlias *string `protobuf:"bytes,2,opt,name=certificate_alias,json=certificateAlias" json:"certificate_alias,omitempty"` // (optional) hypervisor type Hypervisor *string `protobuf:"bytes,3,opt,name=hypervisor" json:"hypervisor,omitempty"` // (optional) zone to revoke certificate ZoneId *int64 `protobuf:"varint,4,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"` // (optional) the host ID to revoke certificate HostId *int64 `protobuf:"varint,5,opt,name=host_id,json=hostId" json:"host_id,omitempty"` ResponseType *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"` // contains filtered or unexported fields }
RevokeTemplateDirectDownloadCertificateRequest represents the parameters for revoke a direct download certificate from hosts in a zone
func (*RevokeTemplateDirectDownloadCertificateRequest) Descriptor
deprecated
func (*RevokeTemplateDirectDownloadCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeTemplateDirectDownloadCertificateRequest.ProtoReflect.Descriptor instead.
func (*RevokeTemplateDirectDownloadCertificateRequest) GetCertificateAlias ¶
func (x *RevokeTemplateDirectDownloadCertificateRequest) GetCertificateAlias() string
func (*RevokeTemplateDirectDownloadCertificateRequest) GetCertificateId ¶
func (x *RevokeTemplateDirectDownloadCertificateRequest) GetCertificateId() int64
func (*RevokeTemplateDirectDownloadCertificateRequest) GetHostId ¶
func (x *RevokeTemplateDirectDownloadCertificateRequest) GetHostId() int64
func (*RevokeTemplateDirectDownloadCertificateRequest) GetHypervisor ¶
func (x *RevokeTemplateDirectDownloadCertificateRequest) GetHypervisor() string
func (*RevokeTemplateDirectDownloadCertificateRequest) GetResponseType ¶
func (x *RevokeTemplateDirectDownloadCertificateRequest) GetResponseType() string
func (*RevokeTemplateDirectDownloadCertificateRequest) GetZoneId ¶
func (x *RevokeTemplateDirectDownloadCertificateRequest) GetZoneId() int64
func (*RevokeTemplateDirectDownloadCertificateRequest) ProtoMessage ¶
func (*RevokeTemplateDirectDownloadCertificateRequest) ProtoMessage()
func (*RevokeTemplateDirectDownloadCertificateRequest) ProtoReflect ¶
func (x *RevokeTemplateDirectDownloadCertificateRequest) ProtoReflect() protoreflect.Message
func (*RevokeTemplateDirectDownloadCertificateRequest) Reset ¶
func (x *RevokeTemplateDirectDownloadCertificateRequest) Reset()
func (*RevokeTemplateDirectDownloadCertificateRequest) String ¶
func (x *RevokeTemplateDirectDownloadCertificateRequest) String() string
type RevokeTemplateDirectDownloadCertificateResponse ¶
type RevokeTemplateDirectDownloadCertificateResponse struct { // The Result Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` // contains filtered or unexported fields }
RevokeTemplateDirectDownloadCertificateResponse represents the response from revoke a direct download certificate from hosts in a zone
func (*RevokeTemplateDirectDownloadCertificateResponse) Descriptor
deprecated
func (*RevokeTemplateDirectDownloadCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeTemplateDirectDownloadCertificateResponse.ProtoReflect.Descriptor instead.
func (*RevokeTemplateDirectDownloadCertificateResponse) GetResult ¶
func (x *RevokeTemplateDirectDownloadCertificateResponse) GetResult() *Result
func (*RevokeTemplateDirectDownloadCertificateResponse) ProtoMessage ¶
func (*RevokeTemplateDirectDownloadCertificateResponse) ProtoMessage()
func (*RevokeTemplateDirectDownloadCertificateResponse) ProtoReflect ¶
func (x *RevokeTemplateDirectDownloadCertificateResponse) ProtoReflect() protoreflect.Message
func (*RevokeTemplateDirectDownloadCertificateResponse) Reset ¶
func (x *RevokeTemplateDirectDownloadCertificateResponse) Reset()
func (*RevokeTemplateDirectDownloadCertificateResponse) String ¶
func (x *RevokeTemplateDirectDownloadCertificateResponse) String() string
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 UnimplementedDownloadServiceServer ¶
type UnimplementedDownloadServiceServer struct{}
UnimplementedDownloadServiceServer 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 (UnimplementedDownloadServiceServer) ListTemplateDirectDownloadCertificates ¶
func (UnimplementedDownloadServiceServer) ListTemplateDirectDownloadCertificates(context.Context, *ListTemplateDirectDownloadCertificatesRequest) (*ListTemplateDirectDownloadCertificatesResponse, error)
func (UnimplementedDownloadServiceServer) ProvisionTemplateDirectDownloadCertificate ¶
func (UnimplementedDownloadServiceServer) ProvisionTemplateDirectDownloadCertificate(context.Context, *ProvisionTemplateDirectDownloadCertificateRequest) (*ProvisionTemplateDirectDownloadCertificateResponse, error)
func (UnimplementedDownloadServiceServer) RevokeTemplateDirectDownloadCertificate ¶
func (UnimplementedDownloadServiceServer) RevokeTemplateDirectDownloadCertificate(context.Context, *RevokeTemplateDirectDownloadCertificateRequest) (*RevokeTemplateDirectDownloadCertificateResponse, error)
func (UnimplementedDownloadServiceServer) UploadTemplateDirectDownloadCertificate ¶
func (UnimplementedDownloadServiceServer) UploadTemplateDirectDownloadCertificate(context.Context, *UploadTemplateDirectDownloadCertificateRequest) (*UploadTemplateDirectDownloadCertificateResponse, error)
type UnsafeDownloadServiceServer ¶
type UnsafeDownloadServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDownloadServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DownloadServiceServer will result in compilation errors.
type UploadTemplateDirectDownloadCertificateRequest ¶
type UploadTemplateDirectDownloadCertificateRequest struct { // SSL certificate Certificate *string `protobuf:"bytes,1,opt,name=certificate" json:"certificate,omitempty"` // Name for the uploaded certificate Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // Hypervisor type Hypervisor *string `protobuf:"bytes,3,opt,name=hypervisor" json:"hypervisor,omitempty"` // Zone to upload certificate ZoneId *int64 `protobuf:"varint,4,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"` // (optional) the host ID to upload certificate HostId *int64 `protobuf:"varint,5,opt,name=host_id,json=hostId" json:"host_id,omitempty"` ResponseType *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"` // contains filtered or unexported fields }
UploadTemplateDirectDownloadCertificateRequest represents the parameters for upload a certificate for https direct template download on kvm hosts
func (*UploadTemplateDirectDownloadCertificateRequest) Descriptor
deprecated
func (*UploadTemplateDirectDownloadCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadTemplateDirectDownloadCertificateRequest.ProtoReflect.Descriptor instead.
func (*UploadTemplateDirectDownloadCertificateRequest) GetCertificate ¶
func (x *UploadTemplateDirectDownloadCertificateRequest) GetCertificate() string
func (*UploadTemplateDirectDownloadCertificateRequest) GetHostId ¶
func (x *UploadTemplateDirectDownloadCertificateRequest) GetHostId() int64
func (*UploadTemplateDirectDownloadCertificateRequest) GetHypervisor ¶
func (x *UploadTemplateDirectDownloadCertificateRequest) GetHypervisor() string
func (*UploadTemplateDirectDownloadCertificateRequest) GetName ¶
func (x *UploadTemplateDirectDownloadCertificateRequest) GetName() string
func (*UploadTemplateDirectDownloadCertificateRequest) GetResponseType ¶
func (x *UploadTemplateDirectDownloadCertificateRequest) GetResponseType() string
func (*UploadTemplateDirectDownloadCertificateRequest) GetZoneId ¶
func (x *UploadTemplateDirectDownloadCertificateRequest) GetZoneId() int64
func (*UploadTemplateDirectDownloadCertificateRequest) ProtoMessage ¶
func (*UploadTemplateDirectDownloadCertificateRequest) ProtoMessage()
func (*UploadTemplateDirectDownloadCertificateRequest) ProtoReflect ¶
func (x *UploadTemplateDirectDownloadCertificateRequest) ProtoReflect() protoreflect.Message
func (*UploadTemplateDirectDownloadCertificateRequest) Reset ¶
func (x *UploadTemplateDirectDownloadCertificateRequest) Reset()
func (*UploadTemplateDirectDownloadCertificateRequest) String ¶
func (x *UploadTemplateDirectDownloadCertificateRequest) String() string
type UploadTemplateDirectDownloadCertificateResponse ¶
type UploadTemplateDirectDownloadCertificateResponse struct { // The Result Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` // contains filtered or unexported fields }
UploadTemplateDirectDownloadCertificateResponse represents the response from upload a certificate for https direct template download on kvm hosts
func (*UploadTemplateDirectDownloadCertificateResponse) Descriptor
deprecated
func (*UploadTemplateDirectDownloadCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadTemplateDirectDownloadCertificateResponse.ProtoReflect.Descriptor instead.
func (*UploadTemplateDirectDownloadCertificateResponse) GetResult ¶
func (x *UploadTemplateDirectDownloadCertificateResponse) GetResult() *Result
func (*UploadTemplateDirectDownloadCertificateResponse) ProtoMessage ¶
func (*UploadTemplateDirectDownloadCertificateResponse) ProtoMessage()
func (*UploadTemplateDirectDownloadCertificateResponse) ProtoReflect ¶
func (x *UploadTemplateDirectDownloadCertificateResponse) ProtoReflect() protoreflect.Message
func (*UploadTemplateDirectDownloadCertificateResponse) Reset ¶
func (x *UploadTemplateDirectDownloadCertificateResponse) Reset()
func (*UploadTemplateDirectDownloadCertificateResponse) String ¶
func (x *UploadTemplateDirectDownloadCertificateResponse) String() string