Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterProviderServer(s grpc.ServiceRegistrar, srv ProviderServer)
- type AccountScope
- type AttachVolumeToInstanceParams
- func (*AttachVolumeToInstanceParams) Descriptor() ([]byte, []int)deprecated
- func (x *AttachVolumeToInstanceParams) GetDeviceName() string
- func (x *AttachVolumeToInstanceParams) GetInstanceID() string
- func (x *AttachVolumeToInstanceParams) GetInstanceLocation() string
- func (x *AttachVolumeToInstanceParams) GetVolumeID() string
- func (*AttachVolumeToInstanceParams) ProtoMessage()
- func (x *AttachVolumeToInstanceParams) ProtoReflect() protoreflect.Message
- func (x *AttachVolumeToInstanceParams) Reset()
- func (x *AttachVolumeToInstanceParams) String() string
- type AttachVolumeToInstanceResult
- func (*AttachVolumeToInstanceResult) Descriptor() ([]byte, []int)deprecated
- func (*AttachVolumeToInstanceResult) ProtoMessage()
- func (x *AttachVolumeToInstanceResult) ProtoReflect() protoreflect.Message
- func (x *AttachVolumeToInstanceResult) Reset()
- func (x *AttachVolumeToInstanceResult) String() string
- type CopySnapshotParams
- func (*CopySnapshotParams) Descriptor() ([]byte, []int)deprecated
- func (x *CopySnapshotParams) GetDestLocation() string
- func (x *CopySnapshotParams) GetSnapshotID() string
- func (x *CopySnapshotParams) GetSnapshotLocation() string
- func (*CopySnapshotParams) ProtoMessage()
- func (x *CopySnapshotParams) ProtoReflect() protoreflect.Message
- func (x *CopySnapshotParams) Reset()
- func (x *CopySnapshotParams) String() string
- type CopySnapshotResult
- func (*CopySnapshotResult) Descriptor() ([]byte, []int)deprecated
- func (x *CopySnapshotResult) GetSnapshot() *Snapshot
- func (*CopySnapshotResult) ProtoMessage()
- func (x *CopySnapshotResult) ProtoReflect() protoreflect.Message
- func (x *CopySnapshotResult) Reset()
- func (x *CopySnapshotResult) String() string
- type CreateVolumeFromSnapshotParams
- func (*CreateVolumeFromSnapshotParams) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVolumeFromSnapshotParams) GetAvailabilityZone() string
- func (x *CreateVolumeFromSnapshotParams) GetSnapshotID() string
- func (x *CreateVolumeFromSnapshotParams) GetSnapshotLocation() string
- func (*CreateVolumeFromSnapshotParams) ProtoMessage()
- func (x *CreateVolumeFromSnapshotParams) ProtoReflect() protoreflect.Message
- func (x *CreateVolumeFromSnapshotParams) Reset()
- func (x *CreateVolumeFromSnapshotParams) String() string
- type CreateVolumeFromSnapshotResult
- func (*CreateVolumeFromSnapshotResult) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVolumeFromSnapshotResult) GetVolume() *Volume
- func (*CreateVolumeFromSnapshotResult) ProtoMessage()
- func (x *CreateVolumeFromSnapshotResult) ProtoReflect() protoreflect.Message
- func (x *CreateVolumeFromSnapshotResult) Reset()
- func (x *CreateVolumeFromSnapshotResult) String() string
- type DeleteInstanceParams
- func (*DeleteInstanceParams) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInstanceParams) GetInstanceID() string
- func (x *DeleteInstanceParams) GetInstanceLocation() string
- func (*DeleteInstanceParams) ProtoMessage()
- func (x *DeleteInstanceParams) ProtoReflect() protoreflect.Message
- func (x *DeleteInstanceParams) Reset()
- func (x *DeleteInstanceParams) String() string
- type DeleteInstanceResult
- type DeleteSnapshotParams
- func (*DeleteSnapshotParams) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSnapshotParams) GetSnapshotID() string
- func (x *DeleteSnapshotParams) GetSnapshotLocation() string
- func (*DeleteSnapshotParams) ProtoMessage()
- func (x *DeleteSnapshotParams) ProtoReflect() protoreflect.Message
- func (x *DeleteSnapshotParams) Reset()
- func (x *DeleteSnapshotParams) String() string
- type DeleteSnapshotResult
- type DeleteVolumeParams
- func (*DeleteVolumeParams) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteVolumeParams) GetVolumeID() string
- func (x *DeleteVolumeParams) GetVolumeLocation() string
- func (*DeleteVolumeParams) ProtoMessage()
- func (x *DeleteVolumeParams) ProtoReflect() protoreflect.Message
- func (x *DeleteVolumeParams) Reset()
- func (x *DeleteVolumeParams) String() string
- type DeleteVolumeResult
- type DiscoverInstancesParams
- func (*DiscoverInstancesParams) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverInstancesParams) GetScanScopes() string
- func (*DiscoverInstancesParams) ProtoMessage()
- func (x *DiscoverInstancesParams) ProtoReflect() protoreflect.Message
- func (x *DiscoverInstancesParams) Reset()
- func (x *DiscoverInstancesParams) String() string
- type DiscoverInstancesResult
- func (*DiscoverInstancesResult) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverInstancesResult) GetInstances() []*Instance
- func (*DiscoverInstancesResult) ProtoMessage()
- func (x *DiscoverInstancesResult) ProtoReflect() protoreflect.Message
- func (x *DiscoverInstancesResult) Reset()
- func (x *DiscoverInstancesResult) String() string
- type DiscoverScopesParams
- type DiscoverScopesResult
- func (*DiscoverScopesResult) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverScopesResult) GetScopes() string
- func (*DiscoverScopesResult) ProtoMessage()
- func (x *DiscoverScopesResult) ProtoReflect() protoreflect.Message
- func (x *DiscoverScopesResult) Reset()
- func (x *DiscoverScopesResult) String() string
- type GetInstanceRootVolumeParams
- func (*GetInstanceRootVolumeParams) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstanceRootVolumeParams) GetInstanceID() string
- func (x *GetInstanceRootVolumeParams) GetInstanceLocation() string
- func (*GetInstanceRootVolumeParams) ProtoMessage()
- func (x *GetInstanceRootVolumeParams) ProtoReflect() protoreflect.Message
- func (x *GetInstanceRootVolumeParams) Reset()
- func (x *GetInstanceRootVolumeParams) String() string
- type GetInstanceRootVolumeResult
- func (*GetInstanceRootVolumeResult) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstanceRootVolumeResult) GetVolume() *Volume
- func (*GetInstanceRootVolumeResult) ProtoMessage()
- func (x *GetInstanceRootVolumeResult) ProtoReflect() protoreflect.Message
- func (x *GetInstanceRootVolumeResult) Reset()
- func (x *GetInstanceRootVolumeResult) String() string
- type Instance
- func (*Instance) Descriptor() ([]byte, []int)deprecated
- func (x *Instance) GetId() string
- func (x *Instance) GetImage() string
- func (x *Instance) GetInstanceType() string
- func (x *Instance) GetLaunchTime() *timestamppb.Timestamp
- func (x *Instance) GetLocation() string
- func (x *Instance) GetPlatform() string
- func (x *Instance) GetTags() []*Tag
- func (*Instance) ProtoMessage()
- func (x *Instance) ProtoReflect() protoreflect.Message
- func (x *Instance) Reset()
- func (x *Instance) String() string
- type ProviderClient
- type ProviderServer
- type RunScanningJobParams
- func (*RunScanningJobParams) Descriptor() ([]byte, []int)deprecated
- func (x *RunScanningJobParams) GetConfig() *ScanningJobConfig
- func (x *RunScanningJobParams) GetId() string
- func (x *RunScanningJobParams) GetLocation() string
- func (*RunScanningJobParams) ProtoMessage()
- func (x *RunScanningJobParams) ProtoReflect() protoreflect.Message
- func (x *RunScanningJobParams) Reset()
- func (x *RunScanningJobParams) String() string
- type RunScanningJobResult
- func (*RunScanningJobResult) Descriptor() ([]byte, []int)deprecated
- func (x *RunScanningJobResult) GetInstance() *Instance
- func (*RunScanningJobResult) ProtoMessage()
- func (x *RunScanningJobResult) ProtoReflect() protoreflect.Message
- func (x *RunScanningJobResult) Reset()
- func (x *RunScanningJobResult) String() string
- type ScanScope
- type ScannerInstanceCreationConfig
- func (*ScannerInstanceCreationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ScannerInstanceCreationConfig) GetMaxPrice() string
- func (x *ScannerInstanceCreationConfig) GetRetryMaxAttempts() int32
- func (x *ScannerInstanceCreationConfig) GetUseSpotInstances() bool
- func (*ScannerInstanceCreationConfig) ProtoMessage()
- func (x *ScannerInstanceCreationConfig) ProtoReflect() protoreflect.Message
- func (x *ScannerInstanceCreationConfig) Reset()
- func (x *ScannerInstanceCreationConfig) String() string
- type ScanningJobConfig
- func (*ScanningJobConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ScanningJobConfig) GetKeyPairName() string
- func (x *ScanningJobConfig) GetScanResultID() string
- func (x *ScanningJobConfig) GetScannerCLIConfig() string
- func (x *ScanningJobConfig) GetScannerImage() string
- func (x *ScanningJobConfig) GetScannerInstanceCreationConfig() *ScannerInstanceCreationConfig
- func (x *ScanningJobConfig) GetVmClarityAddress() string
- func (*ScanningJobConfig) ProtoMessage()
- func (x *ScanningJobConfig) ProtoReflect() protoreflect.Message
- func (x *ScanningJobConfig) Reset()
- func (x *ScanningJobConfig) String() string
- type Snapshot
- type Tag
- type TakeVolumeSnapshotParams
- func (*TakeVolumeSnapshotParams) Descriptor() ([]byte, []int)deprecated
- func (x *TakeVolumeSnapshotParams) GetVolumeID() string
- func (x *TakeVolumeSnapshotParams) GetVolumeLocation() string
- func (*TakeVolumeSnapshotParams) ProtoMessage()
- func (x *TakeVolumeSnapshotParams) ProtoReflect() protoreflect.Message
- func (x *TakeVolumeSnapshotParams) Reset()
- func (x *TakeVolumeSnapshotParams) String() string
- type TakeVolumeSnapshotResult
- func (*TakeVolumeSnapshotResult) Descriptor() ([]byte, []int)deprecated
- func (x *TakeVolumeSnapshotResult) GetSnapshot() *Snapshot
- func (*TakeVolumeSnapshotResult) ProtoMessage()
- func (x *TakeVolumeSnapshotResult) ProtoReflect() protoreflect.Message
- func (x *TakeVolumeSnapshotResult) Reset()
- func (x *TakeVolumeSnapshotResult) String() string
- type UnimplementedProviderServer
- func (UnimplementedProviderServer) AttachVolumeToInstance(context.Context, *AttachVolumeToInstanceParams) (*AttachVolumeToInstanceResult, error)
- func (UnimplementedProviderServer) CopySnapshot(context.Context, *CopySnapshotParams) (*CopySnapshotResult, error)
- func (UnimplementedProviderServer) CreateVolumeFromSnapshot(context.Context, *CreateVolumeFromSnapshotParams) (*CreateVolumeFromSnapshotResult, error)
- func (UnimplementedProviderServer) DeleteInstance(context.Context, *DeleteInstanceParams) (*DeleteInstanceResult, error)
- func (UnimplementedProviderServer) DeleteSnapshot(context.Context, *DeleteSnapshotParams) (*DeleteSnapshotResult, error)
- func (UnimplementedProviderServer) DeleteVolume(context.Context, *DeleteVolumeParams) (*DeleteVolumeResult, error)
- func (UnimplementedProviderServer) DiscoverInstances(context.Context, *DiscoverInstancesParams) (*DiscoverInstancesResult, error)
- func (UnimplementedProviderServer) DiscoverScopes(context.Context, *DiscoverScopesParams) (*DiscoverScopesResult, error)
- func (UnimplementedProviderServer) GetInstanceRootVolume(context.Context, *GetInstanceRootVolumeParams) (*GetInstanceRootVolumeResult, error)
- func (UnimplementedProviderServer) RunScanningJob(context.Context, *RunScanningJobParams) (*RunScanningJobResult, error)
- func (UnimplementedProviderServer) TakeVolumeSnapshot(context.Context, *TakeVolumeSnapshotParams) (*TakeVolumeSnapshotResult, error)
- func (UnimplementedProviderServer) WaitForInstanceReady(context.Context, *WaitForInstanceReadyParams) (*WaitForInstanceReadyResult, error)
- func (UnimplementedProviderServer) WaitForSnapshotReady(context.Context, *WaitForSnapshotReadyParams) (*WaitForSnapshotReadyResult, error)
- func (UnimplementedProviderServer) WaitForVolumeAttached(context.Context, *WaitForVolumeAttachedParams) (*WaitForVolumeAttachedResult, error)
- func (UnimplementedProviderServer) WaitForVolumeReady(context.Context, *WaitForVolumeReadyParams) (*WaitForVolumeReadyResult, error)
- type UnsafeProviderServer
- type Volume
- type WaitForInstanceReadyParams
- func (*WaitForInstanceReadyParams) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForInstanceReadyParams) GetInstanceID() string
- func (x *WaitForInstanceReadyParams) GetInstanceLocation() string
- func (*WaitForInstanceReadyParams) ProtoMessage()
- func (x *WaitForInstanceReadyParams) ProtoReflect() protoreflect.Message
- func (x *WaitForInstanceReadyParams) Reset()
- func (x *WaitForInstanceReadyParams) String() string
- type WaitForInstanceReadyResult
- type WaitForSnapshotReadyParams
- func (*WaitForSnapshotReadyParams) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForSnapshotReadyParams) GetSnapshotID() string
- func (x *WaitForSnapshotReadyParams) GetSnapshotLocation() string
- func (*WaitForSnapshotReadyParams) ProtoMessage()
- func (x *WaitForSnapshotReadyParams) ProtoReflect() protoreflect.Message
- func (x *WaitForSnapshotReadyParams) Reset()
- func (x *WaitForSnapshotReadyParams) String() string
- type WaitForSnapshotReadyResult
- type WaitForVolumeAttachedParams
- func (*WaitForVolumeAttachedParams) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForVolumeAttachedParams) GetVolumeID() string
- func (x *WaitForVolumeAttachedParams) GetVolumeLocation() string
- func (*WaitForVolumeAttachedParams) ProtoMessage()
- func (x *WaitForVolumeAttachedParams) ProtoReflect() protoreflect.Message
- func (x *WaitForVolumeAttachedParams) Reset()
- func (x *WaitForVolumeAttachedParams) String() string
- type WaitForVolumeAttachedResult
- type WaitForVolumeReadyParams
- func (*WaitForVolumeReadyParams) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForVolumeReadyParams) GetVolumeID() string
- func (x *WaitForVolumeReadyParams) GetVolumeLocation() string
- func (*WaitForVolumeReadyParams) ProtoMessage()
- func (x *WaitForVolumeReadyParams) ProtoReflect() protoreflect.Message
- func (x *WaitForVolumeReadyParams) Reset()
- func (x *WaitForVolumeReadyParams) String() string
- type WaitForVolumeReadyResult
Constants ¶
const ( Provider_RunScanningJob_FullMethodName = "/provider.Provider/RunScanningJob" Provider_DiscoverScopes_FullMethodName = "/provider.Provider/DiscoverScopes" Provider_DiscoverInstances_FullMethodName = "/provider.Provider/DiscoverInstances" Provider_GetInstanceRootVolume_FullMethodName = "/provider.Provider/GetInstanceRootVolume" Provider_WaitForInstanceReady_FullMethodName = "/provider.Provider/WaitForInstanceReady" Provider_DeleteInstance_FullMethodName = "/provider.Provider/DeleteInstance" Provider_AttachVolumeToInstance_FullMethodName = "/provider.Provider/AttachVolumeToInstance" Provider_CopySnapshot_FullMethodName = "/provider.Provider/CopySnapshot" Provider_DeleteSnapshot_FullMethodName = "/provider.Provider/DeleteSnapshot" Provider_WaitForSnapshotReady_FullMethodName = "/provider.Provider/WaitForSnapshotReady" Provider_CreateVolumeFromSnapshot_FullMethodName = "/provider.Provider/CreateVolumeFromSnapshot" Provider_TakeVolumeSnapshot_FullMethodName = "/provider.Provider/TakeVolumeSnapshot" Provider_WaitForVolumeReady_FullMethodName = "/provider.Provider/WaitForVolumeReady" Provider_WaitForVolumeAttached_FullMethodName = "/provider.Provider/WaitForVolumeAttached" Provider_DeleteVolume_FullMethodName = "/provider.Provider/DeleteVolume" )
Variables ¶
var File_proto_provider_service_proto protoreflect.FileDescriptor
var Provider_ServiceDesc = grpc.ServiceDesc{ ServiceName: "provider.Provider", HandlerType: (*ProviderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RunScanningJob", Handler: _Provider_RunScanningJob_Handler, }, { MethodName: "DiscoverScopes", Handler: _Provider_DiscoverScopes_Handler, }, { MethodName: "DiscoverInstances", Handler: _Provider_DiscoverInstances_Handler, }, { MethodName: "GetInstanceRootVolume", Handler: _Provider_GetInstanceRootVolume_Handler, }, { MethodName: "WaitForInstanceReady", Handler: _Provider_WaitForInstanceReady_Handler, }, { MethodName: "DeleteInstance", Handler: _Provider_DeleteInstance_Handler, }, { MethodName: "AttachVolumeToInstance", Handler: _Provider_AttachVolumeToInstance_Handler, }, { MethodName: "CopySnapshot", Handler: _Provider_CopySnapshot_Handler, }, { MethodName: "DeleteSnapshot", Handler: _Provider_DeleteSnapshot_Handler, }, { MethodName: "WaitForSnapshotReady", Handler: _Provider_WaitForSnapshotReady_Handler, }, { MethodName: "CreateVolumeFromSnapshot", Handler: _Provider_CreateVolumeFromSnapshot_Handler, }, { MethodName: "TakeVolumeSnapshot", Handler: _Provider_TakeVolumeSnapshot_Handler, }, { MethodName: "WaitForVolumeReady", Handler: _Provider_WaitForVolumeReady_Handler, }, { MethodName: "WaitForVolumeAttached", Handler: _Provider_WaitForVolumeAttached_Handler, }, { MethodName: "DeleteVolume", Handler: _Provider_DeleteVolume_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/provider_service.proto", }
Provider_ServiceDesc is the grpc.ServiceDesc for Provider service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProviderServer ¶
func RegisterProviderServer(s grpc.ServiceRegistrar, srv ProviderServer)
Types ¶
type AccountScope ¶
type AccountScope struct { // json representation of the scope Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // contains filtered or unexported fields }
func (*AccountScope) Descriptor
deprecated
func (*AccountScope) Descriptor() ([]byte, []int)
Deprecated: Use AccountScope.ProtoReflect.Descriptor instead.
func (*AccountScope) GetScope ¶
func (x *AccountScope) GetScope() string
func (*AccountScope) ProtoMessage ¶
func (*AccountScope) ProtoMessage()
func (*AccountScope) ProtoReflect ¶
func (x *AccountScope) ProtoReflect() protoreflect.Message
func (*AccountScope) Reset ¶
func (x *AccountScope) Reset()
func (*AccountScope) String ¶
func (x *AccountScope) String() string
type AttachVolumeToInstanceParams ¶
type AttachVolumeToInstanceParams struct { InstanceID string `protobuf:"bytes,1,opt,name=instanceID,proto3" json:"instanceID,omitempty"` InstanceLocation string `protobuf:"bytes,2,opt,name=instanceLocation,proto3" json:"instanceLocation,omitempty"` VolumeID string `protobuf:"bytes,3,opt,name=volumeID,proto3" json:"volumeID,omitempty"` DeviceName string `protobuf:"bytes,4,opt,name=deviceName,proto3" json:"deviceName,omitempty"` // contains filtered or unexported fields }
func (*AttachVolumeToInstanceParams) Descriptor
deprecated
func (*AttachVolumeToInstanceParams) Descriptor() ([]byte, []int)
Deprecated: Use AttachVolumeToInstanceParams.ProtoReflect.Descriptor instead.
func (*AttachVolumeToInstanceParams) GetDeviceName ¶
func (x *AttachVolumeToInstanceParams) GetDeviceName() string
func (*AttachVolumeToInstanceParams) GetInstanceID ¶
func (x *AttachVolumeToInstanceParams) GetInstanceID() string
func (*AttachVolumeToInstanceParams) GetInstanceLocation ¶
func (x *AttachVolumeToInstanceParams) GetInstanceLocation() string
func (*AttachVolumeToInstanceParams) GetVolumeID ¶
func (x *AttachVolumeToInstanceParams) GetVolumeID() string
func (*AttachVolumeToInstanceParams) ProtoMessage ¶
func (*AttachVolumeToInstanceParams) ProtoMessage()
func (*AttachVolumeToInstanceParams) ProtoReflect ¶
func (x *AttachVolumeToInstanceParams) ProtoReflect() protoreflect.Message
func (*AttachVolumeToInstanceParams) Reset ¶
func (x *AttachVolumeToInstanceParams) Reset()
func (*AttachVolumeToInstanceParams) String ¶
func (x *AttachVolumeToInstanceParams) String() string
type AttachVolumeToInstanceResult ¶
type AttachVolumeToInstanceResult struct {
// contains filtered or unexported fields
}
func (*AttachVolumeToInstanceResult) Descriptor
deprecated
func (*AttachVolumeToInstanceResult) Descriptor() ([]byte, []int)
Deprecated: Use AttachVolumeToInstanceResult.ProtoReflect.Descriptor instead.
func (*AttachVolumeToInstanceResult) ProtoMessage ¶
func (*AttachVolumeToInstanceResult) ProtoMessage()
func (*AttachVolumeToInstanceResult) ProtoReflect ¶
func (x *AttachVolumeToInstanceResult) ProtoReflect() protoreflect.Message
func (*AttachVolumeToInstanceResult) Reset ¶
func (x *AttachVolumeToInstanceResult) Reset()
func (*AttachVolumeToInstanceResult) String ¶
func (x *AttachVolumeToInstanceResult) String() string
type CopySnapshotParams ¶
type CopySnapshotParams struct { SnapshotID string `protobuf:"bytes,1,opt,name=snapshotID,proto3" json:"snapshotID,omitempty"` SnapshotLocation string `protobuf:"bytes,2,opt,name=snapshotLocation,proto3" json:"snapshotLocation,omitempty"` DestLocation string `protobuf:"bytes,3,opt,name=destLocation,proto3" json:"destLocation,omitempty"` // contains filtered or unexported fields }
func (*CopySnapshotParams) Descriptor
deprecated
func (*CopySnapshotParams) Descriptor() ([]byte, []int)
Deprecated: Use CopySnapshotParams.ProtoReflect.Descriptor instead.
func (*CopySnapshotParams) GetDestLocation ¶
func (x *CopySnapshotParams) GetDestLocation() string
func (*CopySnapshotParams) GetSnapshotID ¶
func (x *CopySnapshotParams) GetSnapshotID() string
func (*CopySnapshotParams) GetSnapshotLocation ¶
func (x *CopySnapshotParams) GetSnapshotLocation() string
func (*CopySnapshotParams) ProtoMessage ¶
func (*CopySnapshotParams) ProtoMessage()
func (*CopySnapshotParams) ProtoReflect ¶
func (x *CopySnapshotParams) ProtoReflect() protoreflect.Message
func (*CopySnapshotParams) Reset ¶
func (x *CopySnapshotParams) Reset()
func (*CopySnapshotParams) String ¶
func (x *CopySnapshotParams) String() string
type CopySnapshotResult ¶
type CopySnapshotResult struct { Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"` // contains filtered or unexported fields }
func (*CopySnapshotResult) Descriptor
deprecated
func (*CopySnapshotResult) Descriptor() ([]byte, []int)
Deprecated: Use CopySnapshotResult.ProtoReflect.Descriptor instead.
func (*CopySnapshotResult) GetSnapshot ¶
func (x *CopySnapshotResult) GetSnapshot() *Snapshot
func (*CopySnapshotResult) ProtoMessage ¶
func (*CopySnapshotResult) ProtoMessage()
func (*CopySnapshotResult) ProtoReflect ¶
func (x *CopySnapshotResult) ProtoReflect() protoreflect.Message
func (*CopySnapshotResult) Reset ¶
func (x *CopySnapshotResult) Reset()
func (*CopySnapshotResult) String ¶
func (x *CopySnapshotResult) String() string
type CreateVolumeFromSnapshotParams ¶
type CreateVolumeFromSnapshotParams struct { SnapshotID string `protobuf:"bytes,1,opt,name=snapshotID,proto3" json:"snapshotID,omitempty"` SnapshotLocation string `protobuf:"bytes,2,opt,name=snapshotLocation,proto3" json:"snapshotLocation,omitempty"` AvailabilityZone string `protobuf:"bytes,3,opt,name=availabilityZone,proto3" json:"availabilityZone,omitempty"` // contains filtered or unexported fields }
func (*CreateVolumeFromSnapshotParams) Descriptor
deprecated
func (*CreateVolumeFromSnapshotParams) Descriptor() ([]byte, []int)
Deprecated: Use CreateVolumeFromSnapshotParams.ProtoReflect.Descriptor instead.
func (*CreateVolumeFromSnapshotParams) GetAvailabilityZone ¶
func (x *CreateVolumeFromSnapshotParams) GetAvailabilityZone() string
func (*CreateVolumeFromSnapshotParams) GetSnapshotID ¶
func (x *CreateVolumeFromSnapshotParams) GetSnapshotID() string
func (*CreateVolumeFromSnapshotParams) GetSnapshotLocation ¶
func (x *CreateVolumeFromSnapshotParams) GetSnapshotLocation() string
func (*CreateVolumeFromSnapshotParams) ProtoMessage ¶
func (*CreateVolumeFromSnapshotParams) ProtoMessage()
func (*CreateVolumeFromSnapshotParams) ProtoReflect ¶
func (x *CreateVolumeFromSnapshotParams) ProtoReflect() protoreflect.Message
func (*CreateVolumeFromSnapshotParams) Reset ¶
func (x *CreateVolumeFromSnapshotParams) Reset()
func (*CreateVolumeFromSnapshotParams) String ¶
func (x *CreateVolumeFromSnapshotParams) String() string
type CreateVolumeFromSnapshotResult ¶
type CreateVolumeFromSnapshotResult struct { Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` // contains filtered or unexported fields }
func (*CreateVolumeFromSnapshotResult) Descriptor
deprecated
func (*CreateVolumeFromSnapshotResult) Descriptor() ([]byte, []int)
Deprecated: Use CreateVolumeFromSnapshotResult.ProtoReflect.Descriptor instead.
func (*CreateVolumeFromSnapshotResult) GetVolume ¶
func (x *CreateVolumeFromSnapshotResult) GetVolume() *Volume
func (*CreateVolumeFromSnapshotResult) ProtoMessage ¶
func (*CreateVolumeFromSnapshotResult) ProtoMessage()
func (*CreateVolumeFromSnapshotResult) ProtoReflect ¶
func (x *CreateVolumeFromSnapshotResult) ProtoReflect() protoreflect.Message
func (*CreateVolumeFromSnapshotResult) Reset ¶
func (x *CreateVolumeFromSnapshotResult) Reset()
func (*CreateVolumeFromSnapshotResult) String ¶
func (x *CreateVolumeFromSnapshotResult) String() string
type DeleteInstanceParams ¶
type DeleteInstanceParams struct { InstanceID string `protobuf:"bytes,1,opt,name=instanceID,proto3" json:"instanceID,omitempty"` InstanceLocation string `protobuf:"bytes,2,opt,name=instanceLocation,proto3" json:"instanceLocation,omitempty"` // contains filtered or unexported fields }
func (*DeleteInstanceParams) Descriptor
deprecated
func (*DeleteInstanceParams) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstanceParams.ProtoReflect.Descriptor instead.
func (*DeleteInstanceParams) GetInstanceID ¶
func (x *DeleteInstanceParams) GetInstanceID() string
func (*DeleteInstanceParams) GetInstanceLocation ¶
func (x *DeleteInstanceParams) GetInstanceLocation() string
func (*DeleteInstanceParams) ProtoMessage ¶
func (*DeleteInstanceParams) ProtoMessage()
func (*DeleteInstanceParams) ProtoReflect ¶
func (x *DeleteInstanceParams) ProtoReflect() protoreflect.Message
func (*DeleteInstanceParams) Reset ¶
func (x *DeleteInstanceParams) Reset()
func (*DeleteInstanceParams) String ¶
func (x *DeleteInstanceParams) String() string
type DeleteInstanceResult ¶
type DeleteInstanceResult struct {
// contains filtered or unexported fields
}
func (*DeleteInstanceResult) Descriptor
deprecated
func (*DeleteInstanceResult) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstanceResult.ProtoReflect.Descriptor instead.
func (*DeleteInstanceResult) ProtoMessage ¶
func (*DeleteInstanceResult) ProtoMessage()
func (*DeleteInstanceResult) ProtoReflect ¶
func (x *DeleteInstanceResult) ProtoReflect() protoreflect.Message
func (*DeleteInstanceResult) Reset ¶
func (x *DeleteInstanceResult) Reset()
func (*DeleteInstanceResult) String ¶
func (x *DeleteInstanceResult) String() string
type DeleteSnapshotParams ¶
type DeleteSnapshotParams struct { SnapshotID string `protobuf:"bytes,1,opt,name=snapshotID,proto3" json:"snapshotID,omitempty"` SnapshotLocation string `protobuf:"bytes,2,opt,name=snapshotLocation,proto3" json:"snapshotLocation,omitempty"` // contains filtered or unexported fields }
func (*DeleteSnapshotParams) Descriptor
deprecated
func (*DeleteSnapshotParams) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSnapshotParams.ProtoReflect.Descriptor instead.
func (*DeleteSnapshotParams) GetSnapshotID ¶
func (x *DeleteSnapshotParams) GetSnapshotID() string
func (*DeleteSnapshotParams) GetSnapshotLocation ¶
func (x *DeleteSnapshotParams) GetSnapshotLocation() string
func (*DeleteSnapshotParams) ProtoMessage ¶
func (*DeleteSnapshotParams) ProtoMessage()
func (*DeleteSnapshotParams) ProtoReflect ¶
func (x *DeleteSnapshotParams) ProtoReflect() protoreflect.Message
func (*DeleteSnapshotParams) Reset ¶
func (x *DeleteSnapshotParams) Reset()
func (*DeleteSnapshotParams) String ¶
func (x *DeleteSnapshotParams) String() string
type DeleteSnapshotResult ¶
type DeleteSnapshotResult struct {
// contains filtered or unexported fields
}
func (*DeleteSnapshotResult) Descriptor
deprecated
func (*DeleteSnapshotResult) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSnapshotResult.ProtoReflect.Descriptor instead.
func (*DeleteSnapshotResult) ProtoMessage ¶
func (*DeleteSnapshotResult) ProtoMessage()
func (*DeleteSnapshotResult) ProtoReflect ¶
func (x *DeleteSnapshotResult) ProtoReflect() protoreflect.Message
func (*DeleteSnapshotResult) Reset ¶
func (x *DeleteSnapshotResult) Reset()
func (*DeleteSnapshotResult) String ¶
func (x *DeleteSnapshotResult) String() string
type DeleteVolumeParams ¶
type DeleteVolumeParams struct { VolumeID string `protobuf:"bytes,1,opt,name=volumeID,proto3" json:"volumeID,omitempty"` VolumeLocation string `protobuf:"bytes,2,opt,name=volumeLocation,proto3" json:"volumeLocation,omitempty"` // contains filtered or unexported fields }
func (*DeleteVolumeParams) Descriptor
deprecated
func (*DeleteVolumeParams) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVolumeParams.ProtoReflect.Descriptor instead.
func (*DeleteVolumeParams) GetVolumeID ¶
func (x *DeleteVolumeParams) GetVolumeID() string
func (*DeleteVolumeParams) GetVolumeLocation ¶
func (x *DeleteVolumeParams) GetVolumeLocation() string
func (*DeleteVolumeParams) ProtoMessage ¶
func (*DeleteVolumeParams) ProtoMessage()
func (*DeleteVolumeParams) ProtoReflect ¶
func (x *DeleteVolumeParams) ProtoReflect() protoreflect.Message
func (*DeleteVolumeParams) Reset ¶
func (x *DeleteVolumeParams) Reset()
func (*DeleteVolumeParams) String ¶
func (x *DeleteVolumeParams) String() string
type DeleteVolumeResult ¶
type DeleteVolumeResult struct {
// contains filtered or unexported fields
}
func (*DeleteVolumeResult) Descriptor
deprecated
func (*DeleteVolumeResult) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVolumeResult.ProtoReflect.Descriptor instead.
func (*DeleteVolumeResult) ProtoMessage ¶
func (*DeleteVolumeResult) ProtoMessage()
func (*DeleteVolumeResult) ProtoReflect ¶
func (x *DeleteVolumeResult) ProtoReflect() protoreflect.Message
func (*DeleteVolumeResult) Reset ¶
func (x *DeleteVolumeResult) Reset()
func (*DeleteVolumeResult) String ¶
func (x *DeleteVolumeResult) String() string
type DiscoverInstancesParams ¶
type DiscoverInstancesParams struct { // json marshaled representation of scanScope. See backend api for possible scopes types (models.ScanScopeType). // TODO once we have a design for a generic scope representation, we will not need to add each new scope type to the api. ScanScopes string `protobuf:"bytes,1,opt,name=scanScopes,proto3" json:"scanScopes,omitempty"` // contains filtered or unexported fields }
func (*DiscoverInstancesParams) Descriptor
deprecated
func (*DiscoverInstancesParams) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverInstancesParams.ProtoReflect.Descriptor instead.
func (*DiscoverInstancesParams) GetScanScopes ¶
func (x *DiscoverInstancesParams) GetScanScopes() string
func (*DiscoverInstancesParams) ProtoMessage ¶
func (*DiscoverInstancesParams) ProtoMessage()
func (*DiscoverInstancesParams) ProtoReflect ¶
func (x *DiscoverInstancesParams) ProtoReflect() protoreflect.Message
func (*DiscoverInstancesParams) Reset ¶
func (x *DiscoverInstancesParams) Reset()
func (*DiscoverInstancesParams) String ¶
func (x *DiscoverInstancesParams) String() string
type DiscoverInstancesResult ¶
type DiscoverInstancesResult struct { Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` // contains filtered or unexported fields }
func (*DiscoverInstancesResult) Descriptor
deprecated
func (*DiscoverInstancesResult) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverInstancesResult.ProtoReflect.Descriptor instead.
func (*DiscoverInstancesResult) GetInstances ¶
func (x *DiscoverInstancesResult) GetInstances() []*Instance
func (*DiscoverInstancesResult) ProtoMessage ¶
func (*DiscoverInstancesResult) ProtoMessage()
func (*DiscoverInstancesResult) ProtoReflect ¶
func (x *DiscoverInstancesResult) ProtoReflect() protoreflect.Message
func (*DiscoverInstancesResult) Reset ¶
func (x *DiscoverInstancesResult) Reset()
func (*DiscoverInstancesResult) String ¶
func (x *DiscoverInstancesResult) String() string
type DiscoverScopesParams ¶
type DiscoverScopesParams struct {
// contains filtered or unexported fields
}
func (*DiscoverScopesParams) Descriptor
deprecated
func (*DiscoverScopesParams) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverScopesParams.ProtoReflect.Descriptor instead.
func (*DiscoverScopesParams) ProtoMessage ¶
func (*DiscoverScopesParams) ProtoMessage()
func (*DiscoverScopesParams) ProtoReflect ¶
func (x *DiscoverScopesParams) ProtoReflect() protoreflect.Message
func (*DiscoverScopesParams) Reset ¶
func (x *DiscoverScopesParams) Reset()
func (*DiscoverScopesParams) String ¶
func (x *DiscoverScopesParams) String() string
type DiscoverScopesResult ¶
type DiscoverScopesResult struct { // json marshaled representation of scopes. See backend api for possible scopes types (models.Scopes). // TODO once we have a design for a generic scope representation, we will not need to add each new scope type to the api. Scopes string `protobuf:"bytes,1,opt,name=scopes,proto3" json:"scopes,omitempty"` // contains filtered or unexported fields }
func (*DiscoverScopesResult) Descriptor
deprecated
func (*DiscoverScopesResult) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverScopesResult.ProtoReflect.Descriptor instead.
func (*DiscoverScopesResult) GetScopes ¶
func (x *DiscoverScopesResult) GetScopes() string
func (*DiscoverScopesResult) ProtoMessage ¶
func (*DiscoverScopesResult) ProtoMessage()
func (*DiscoverScopesResult) ProtoReflect ¶
func (x *DiscoverScopesResult) ProtoReflect() protoreflect.Message
func (*DiscoverScopesResult) Reset ¶
func (x *DiscoverScopesResult) Reset()
func (*DiscoverScopesResult) String ¶
func (x *DiscoverScopesResult) String() string
type GetInstanceRootVolumeParams ¶
type GetInstanceRootVolumeParams struct { InstanceID string `protobuf:"bytes,1,opt,name=instanceID,proto3" json:"instanceID,omitempty"` InstanceLocation string `protobuf:"bytes,2,opt,name=instanceLocation,proto3" json:"instanceLocation,omitempty"` // contains filtered or unexported fields }
func (*GetInstanceRootVolumeParams) Descriptor
deprecated
func (*GetInstanceRootVolumeParams) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceRootVolumeParams.ProtoReflect.Descriptor instead.
func (*GetInstanceRootVolumeParams) GetInstanceID ¶
func (x *GetInstanceRootVolumeParams) GetInstanceID() string
func (*GetInstanceRootVolumeParams) GetInstanceLocation ¶
func (x *GetInstanceRootVolumeParams) GetInstanceLocation() string
func (*GetInstanceRootVolumeParams) ProtoMessage ¶
func (*GetInstanceRootVolumeParams) ProtoMessage()
func (*GetInstanceRootVolumeParams) ProtoReflect ¶
func (x *GetInstanceRootVolumeParams) ProtoReflect() protoreflect.Message
func (*GetInstanceRootVolumeParams) Reset ¶
func (x *GetInstanceRootVolumeParams) Reset()
func (*GetInstanceRootVolumeParams) String ¶
func (x *GetInstanceRootVolumeParams) String() string
type GetInstanceRootVolumeResult ¶
type GetInstanceRootVolumeResult struct { Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` // contains filtered or unexported fields }
func (*GetInstanceRootVolumeResult) Descriptor
deprecated
func (*GetInstanceRootVolumeResult) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceRootVolumeResult.ProtoReflect.Descriptor instead.
func (*GetInstanceRootVolumeResult) GetVolume ¶
func (x *GetInstanceRootVolumeResult) GetVolume() *Volume
func (*GetInstanceRootVolumeResult) ProtoMessage ¶
func (*GetInstanceRootVolumeResult) ProtoMessage()
func (*GetInstanceRootVolumeResult) ProtoReflect ¶
func (x *GetInstanceRootVolumeResult) ProtoReflect() protoreflect.Message
func (*GetInstanceRootVolumeResult) Reset ¶
func (x *GetInstanceRootVolumeResult) Reset()
func (*GetInstanceRootVolumeResult) String ¶
func (x *GetInstanceRootVolumeResult) String() string
type Instance ¶
type Instance struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Location string `protobuf:"bytes,2,opt,name=Location,proto3" json:"Location,omitempty"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` InstanceType string `protobuf:"bytes,4,opt,name=instanceType,proto3" json:"instanceType,omitempty"` Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"` Tags []*Tag `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` LaunchTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=launchTime,proto3" json:"launchTime,omitempty"` // contains filtered or unexported fields }
func (*Instance) Descriptor
deprecated
func (*Instance) GetInstanceType ¶
func (*Instance) GetLaunchTime ¶
func (x *Instance) GetLaunchTime() *timestamppb.Timestamp
func (*Instance) GetLocation ¶
func (*Instance) GetPlatform ¶
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect ¶
func (x *Instance) ProtoReflect() protoreflect.Message
type ProviderClient ¶
type ProviderClient interface { // general operations RunScanningJob(ctx context.Context, in *RunScanningJobParams, opts ...grpc.CallOption) (*RunScanningJobResult, error) DiscoverScopes(ctx context.Context, in *DiscoverScopesParams, opts ...grpc.CallOption) (*DiscoverScopesResult, error) DiscoverInstances(ctx context.Context, in *DiscoverInstancesParams, opts ...grpc.CallOption) (*DiscoverInstancesResult, error) // operation on an instance GetInstanceRootVolume(ctx context.Context, in *GetInstanceRootVolumeParams, opts ...grpc.CallOption) (*GetInstanceRootVolumeResult, error) WaitForInstanceReady(ctx context.Context, in *WaitForInstanceReadyParams, opts ...grpc.CallOption) (*WaitForInstanceReadyResult, error) DeleteInstance(ctx context.Context, in *DeleteInstanceParams, opts ...grpc.CallOption) (*DeleteInstanceResult, error) AttachVolumeToInstance(ctx context.Context, in *AttachVolumeToInstanceParams, opts ...grpc.CallOption) (*AttachVolumeToInstanceResult, error) // operation on a snapshot CopySnapshot(ctx context.Context, in *CopySnapshotParams, opts ...grpc.CallOption) (*CopySnapshotResult, error) DeleteSnapshot(ctx context.Context, in *DeleteSnapshotParams, opts ...grpc.CallOption) (*DeleteSnapshotResult, error) WaitForSnapshotReady(ctx context.Context, in *WaitForSnapshotReadyParams, opts ...grpc.CallOption) (*WaitForSnapshotReadyResult, error) CreateVolumeFromSnapshot(ctx context.Context, in *CreateVolumeFromSnapshotParams, opts ...grpc.CallOption) (*CreateVolumeFromSnapshotResult, error) // operation on a volume TakeVolumeSnapshot(ctx context.Context, in *TakeVolumeSnapshotParams, opts ...grpc.CallOption) (*TakeVolumeSnapshotResult, error) WaitForVolumeReady(ctx context.Context, in *WaitForVolumeReadyParams, opts ...grpc.CallOption) (*WaitForVolumeReadyResult, error) WaitForVolumeAttached(ctx context.Context, in *WaitForVolumeAttachedParams, opts ...grpc.CallOption) (*WaitForVolumeAttachedResult, error) DeleteVolume(ctx context.Context, in *DeleteVolumeParams, opts ...grpc.CallOption) (*DeleteVolumeResult, error) }
ProviderClient is the client API for Provider 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.
func NewProviderClient ¶
func NewProviderClient(cc grpc.ClientConnInterface) ProviderClient
type ProviderServer ¶
type ProviderServer interface { // general operations RunScanningJob(context.Context, *RunScanningJobParams) (*RunScanningJobResult, error) DiscoverScopes(context.Context, *DiscoverScopesParams) (*DiscoverScopesResult, error) DiscoverInstances(context.Context, *DiscoverInstancesParams) (*DiscoverInstancesResult, error) // operation on an instance GetInstanceRootVolume(context.Context, *GetInstanceRootVolumeParams) (*GetInstanceRootVolumeResult, error) WaitForInstanceReady(context.Context, *WaitForInstanceReadyParams) (*WaitForInstanceReadyResult, error) DeleteInstance(context.Context, *DeleteInstanceParams) (*DeleteInstanceResult, error) AttachVolumeToInstance(context.Context, *AttachVolumeToInstanceParams) (*AttachVolumeToInstanceResult, error) // operation on a snapshot CopySnapshot(context.Context, *CopySnapshotParams) (*CopySnapshotResult, error) DeleteSnapshot(context.Context, *DeleteSnapshotParams) (*DeleteSnapshotResult, error) WaitForSnapshotReady(context.Context, *WaitForSnapshotReadyParams) (*WaitForSnapshotReadyResult, error) CreateVolumeFromSnapshot(context.Context, *CreateVolumeFromSnapshotParams) (*CreateVolumeFromSnapshotResult, error) // operation on a volume TakeVolumeSnapshot(context.Context, *TakeVolumeSnapshotParams) (*TakeVolumeSnapshotResult, error) WaitForVolumeReady(context.Context, *WaitForVolumeReadyParams) (*WaitForVolumeReadyResult, error) WaitForVolumeAttached(context.Context, *WaitForVolumeAttachedParams) (*WaitForVolumeAttachedResult, error) DeleteVolume(context.Context, *DeleteVolumeParams) (*DeleteVolumeResult, error) // contains filtered or unexported methods }
ProviderServer is the server API for Provider service. All implementations must embed UnimplementedProviderServer for forward compatibility
type RunScanningJobParams ¶
type RunScanningJobParams struct { // where to run the scanning job. location concept is similar to region in AWS. // TODO do we really need location? why do we care where the user will run his scanner? Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // unique identifier of the scanning job. can be used with tags to identify the scanning job. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // configuration for how to run the job Config *ScanningJobConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*RunScanningJobParams) Descriptor
deprecated
func (*RunScanningJobParams) Descriptor() ([]byte, []int)
Deprecated: Use RunScanningJobParams.ProtoReflect.Descriptor instead.
func (*RunScanningJobParams) GetConfig ¶
func (x *RunScanningJobParams) GetConfig() *ScanningJobConfig
func (*RunScanningJobParams) GetId ¶
func (x *RunScanningJobParams) GetId() string
func (*RunScanningJobParams) GetLocation ¶
func (x *RunScanningJobParams) GetLocation() string
func (*RunScanningJobParams) ProtoMessage ¶
func (*RunScanningJobParams) ProtoMessage()
func (*RunScanningJobParams) ProtoReflect ¶
func (x *RunScanningJobParams) ProtoReflect() protoreflect.Message
func (*RunScanningJobParams) Reset ¶
func (x *RunScanningJobParams) Reset()
func (*RunScanningJobParams) String ¶
func (x *RunScanningJobParams) String() string
type RunScanningJobResult ¶
type RunScanningJobResult struct { // the running scanning job instance. Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // contains filtered or unexported fields }
func (*RunScanningJobResult) Descriptor
deprecated
func (*RunScanningJobResult) Descriptor() ([]byte, []int)
Deprecated: Use RunScanningJobResult.ProtoReflect.Descriptor instead.
func (*RunScanningJobResult) GetInstance ¶
func (x *RunScanningJobResult) GetInstance() *Instance
func (*RunScanningJobResult) ProtoMessage ¶
func (*RunScanningJobResult) ProtoMessage()
func (*RunScanningJobResult) ProtoReflect ¶
func (x *RunScanningJobResult) ProtoReflect() protoreflect.Message
func (*RunScanningJobResult) Reset ¶
func (x *RunScanningJobResult) Reset()
func (*RunScanningJobResult) String ¶
func (x *RunScanningJobResult) String() string
type ScanScope ¶
type ScanScope struct { // json representation of the scan scope Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // contains filtered or unexported fields }
func (*ScanScope) Descriptor
deprecated
func (*ScanScope) ProtoMessage ¶
func (*ScanScope) ProtoMessage()
func (*ScanScope) ProtoReflect ¶
func (x *ScanScope) ProtoReflect() protoreflect.Message
type ScannerInstanceCreationConfig ¶
type ScannerInstanceCreationConfig struct { MaxPrice string `protobuf:"bytes,1,opt,name=MaxPrice,proto3" json:"MaxPrice,omitempty"` RetryMaxAttempts int32 `protobuf:"varint,2,opt,name=RetryMaxAttempts,proto3" json:"RetryMaxAttempts,omitempty"` UseSpotInstances bool `protobuf:"varint,3,opt,name=UseSpotInstances,proto3" json:"UseSpotInstances,omitempty"` // contains filtered or unexported fields }
func (*ScannerInstanceCreationConfig) Descriptor
deprecated
func (*ScannerInstanceCreationConfig) Descriptor() ([]byte, []int)
Deprecated: Use ScannerInstanceCreationConfig.ProtoReflect.Descriptor instead.
func (*ScannerInstanceCreationConfig) GetMaxPrice ¶
func (x *ScannerInstanceCreationConfig) GetMaxPrice() string
func (*ScannerInstanceCreationConfig) GetRetryMaxAttempts ¶
func (x *ScannerInstanceCreationConfig) GetRetryMaxAttempts() int32
func (*ScannerInstanceCreationConfig) GetUseSpotInstances ¶
func (x *ScannerInstanceCreationConfig) GetUseSpotInstances() bool
func (*ScannerInstanceCreationConfig) ProtoMessage ¶
func (*ScannerInstanceCreationConfig) ProtoMessage()
func (*ScannerInstanceCreationConfig) ProtoReflect ¶
func (x *ScannerInstanceCreationConfig) ProtoReflect() protoreflect.Message
func (*ScannerInstanceCreationConfig) Reset ¶
func (x *ScannerInstanceCreationConfig) Reset()
func (*ScannerInstanceCreationConfig) String ¶
func (x *ScannerInstanceCreationConfig) String() string
type ScanningJobConfig ¶
type ScanningJobConfig struct { // scanner CLI Container Image to use containing the vmclarity-cli and tools ScannerImage string `protobuf:"bytes,1,opt,name=scannerImage,proto3" json:"scannerImage,omitempty"` // scanner CLI config yaml (families config yaml) serialized in json format ScannerCLIConfig string `protobuf:"bytes,2,opt,name=scannerCLIConfig,proto3" json:"scannerCLIConfig,omitempty"` // The backend address for the scanner CLI to export to the results. VmClarityAddress string `protobuf:"bytes,3,opt,name=vmClarityAddress,proto3" json:"vmClarityAddress,omitempty"` // The ID of the ScanResult that the scanner CLI should update in the backend. ScanResultID string `protobuf:"bytes,4,opt,name=scanResultID,proto3" json:"scanResultID,omitempty"` // The name of the key pair to set on the scanner instance, ignored if not set, used mainly for debugging. KeyPairName string `protobuf:"bytes,5,opt,name=keyPairName,proto3" json:"keyPairName,omitempty"` // configuration for how to run the scanner instance (optional) ScannerInstanceCreationConfig *ScannerInstanceCreationConfig `protobuf:"bytes,6,opt,name=scannerInstanceCreationConfig,proto3" json:"scannerInstanceCreationConfig,omitempty"` // contains filtered or unexported fields }
ScanningJobConfig - the wording: scanner instance - the VM to run the VMClarity CLI and all related stuff on (DBs for example) scanner CLI - VMClarity CLI tool that does the actual scanning. This is packed in a container and should be run inside the scanner.
func (*ScanningJobConfig) Descriptor
deprecated
func (*ScanningJobConfig) Descriptor() ([]byte, []int)
Deprecated: Use ScanningJobConfig.ProtoReflect.Descriptor instead.
func (*ScanningJobConfig) GetKeyPairName ¶
func (x *ScanningJobConfig) GetKeyPairName() string
func (*ScanningJobConfig) GetScanResultID ¶
func (x *ScanningJobConfig) GetScanResultID() string
func (*ScanningJobConfig) GetScannerCLIConfig ¶
func (x *ScanningJobConfig) GetScannerCLIConfig() string
func (*ScanningJobConfig) GetScannerImage ¶
func (x *ScanningJobConfig) GetScannerImage() string
func (*ScanningJobConfig) GetScannerInstanceCreationConfig ¶
func (x *ScanningJobConfig) GetScannerInstanceCreationConfig() *ScannerInstanceCreationConfig
func (*ScanningJobConfig) GetVmClarityAddress ¶
func (x *ScanningJobConfig) GetVmClarityAddress() string
func (*ScanningJobConfig) ProtoMessage ¶
func (*ScanningJobConfig) ProtoMessage()
func (*ScanningJobConfig) ProtoReflect ¶
func (x *ScanningJobConfig) ProtoReflect() protoreflect.Message
func (*ScanningJobConfig) Reset ¶
func (x *ScanningJobConfig) Reset()
func (*ScanningJobConfig) String ¶
func (x *ScanningJobConfig) String() string
type Snapshot ¶
type Snapshot struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*Snapshot) Descriptor
deprecated
func (*Snapshot) GetLocation ¶
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
func (*Snapshot) ProtoReflect ¶
func (x *Snapshot) ProtoReflect() protoreflect.Message
type Tag ¶
type Tag struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type TakeVolumeSnapshotParams ¶
type TakeVolumeSnapshotParams struct { VolumeID string `protobuf:"bytes,1,opt,name=volumeID,proto3" json:"volumeID,omitempty"` VolumeLocation string `protobuf:"bytes,2,opt,name=volumeLocation,proto3" json:"volumeLocation,omitempty"` // contains filtered or unexported fields }
func (*TakeVolumeSnapshotParams) Descriptor
deprecated
func (*TakeVolumeSnapshotParams) Descriptor() ([]byte, []int)
Deprecated: Use TakeVolumeSnapshotParams.ProtoReflect.Descriptor instead.
func (*TakeVolumeSnapshotParams) GetVolumeID ¶
func (x *TakeVolumeSnapshotParams) GetVolumeID() string
func (*TakeVolumeSnapshotParams) GetVolumeLocation ¶
func (x *TakeVolumeSnapshotParams) GetVolumeLocation() string
func (*TakeVolumeSnapshotParams) ProtoMessage ¶
func (*TakeVolumeSnapshotParams) ProtoMessage()
func (*TakeVolumeSnapshotParams) ProtoReflect ¶
func (x *TakeVolumeSnapshotParams) ProtoReflect() protoreflect.Message
func (*TakeVolumeSnapshotParams) Reset ¶
func (x *TakeVolumeSnapshotParams) Reset()
func (*TakeVolumeSnapshotParams) String ¶
func (x *TakeVolumeSnapshotParams) String() string
type TakeVolumeSnapshotResult ¶
type TakeVolumeSnapshotResult struct { Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"` // contains filtered or unexported fields }
func (*TakeVolumeSnapshotResult) Descriptor
deprecated
func (*TakeVolumeSnapshotResult) Descriptor() ([]byte, []int)
Deprecated: Use TakeVolumeSnapshotResult.ProtoReflect.Descriptor instead.
func (*TakeVolumeSnapshotResult) GetSnapshot ¶
func (x *TakeVolumeSnapshotResult) GetSnapshot() *Snapshot
func (*TakeVolumeSnapshotResult) ProtoMessage ¶
func (*TakeVolumeSnapshotResult) ProtoMessage()
func (*TakeVolumeSnapshotResult) ProtoReflect ¶
func (x *TakeVolumeSnapshotResult) ProtoReflect() protoreflect.Message
func (*TakeVolumeSnapshotResult) Reset ¶
func (x *TakeVolumeSnapshotResult) Reset()
func (*TakeVolumeSnapshotResult) String ¶
func (x *TakeVolumeSnapshotResult) String() string
type UnimplementedProviderServer ¶
type UnimplementedProviderServer struct { }
UnimplementedProviderServer must be embedded to have forward compatible implementations.
func (UnimplementedProviderServer) AttachVolumeToInstance ¶
func (UnimplementedProviderServer) AttachVolumeToInstance(context.Context, *AttachVolumeToInstanceParams) (*AttachVolumeToInstanceResult, error)
func (UnimplementedProviderServer) CopySnapshot ¶
func (UnimplementedProviderServer) CopySnapshot(context.Context, *CopySnapshotParams) (*CopySnapshotResult, error)
func (UnimplementedProviderServer) CreateVolumeFromSnapshot ¶
func (UnimplementedProviderServer) CreateVolumeFromSnapshot(context.Context, *CreateVolumeFromSnapshotParams) (*CreateVolumeFromSnapshotResult, error)
func (UnimplementedProviderServer) DeleteInstance ¶
func (UnimplementedProviderServer) DeleteInstance(context.Context, *DeleteInstanceParams) (*DeleteInstanceResult, error)
func (UnimplementedProviderServer) DeleteSnapshot ¶
func (UnimplementedProviderServer) DeleteSnapshot(context.Context, *DeleteSnapshotParams) (*DeleteSnapshotResult, error)
func (UnimplementedProviderServer) DeleteVolume ¶
func (UnimplementedProviderServer) DeleteVolume(context.Context, *DeleteVolumeParams) (*DeleteVolumeResult, error)
func (UnimplementedProviderServer) DiscoverInstances ¶
func (UnimplementedProviderServer) DiscoverInstances(context.Context, *DiscoverInstancesParams) (*DiscoverInstancesResult, error)
func (UnimplementedProviderServer) DiscoverScopes ¶
func (UnimplementedProviderServer) DiscoverScopes(context.Context, *DiscoverScopesParams) (*DiscoverScopesResult, error)
func (UnimplementedProviderServer) GetInstanceRootVolume ¶
func (UnimplementedProviderServer) GetInstanceRootVolume(context.Context, *GetInstanceRootVolumeParams) (*GetInstanceRootVolumeResult, error)
func (UnimplementedProviderServer) RunScanningJob ¶
func (UnimplementedProviderServer) RunScanningJob(context.Context, *RunScanningJobParams) (*RunScanningJobResult, error)
func (UnimplementedProviderServer) TakeVolumeSnapshot ¶
func (UnimplementedProviderServer) TakeVolumeSnapshot(context.Context, *TakeVolumeSnapshotParams) (*TakeVolumeSnapshotResult, error)
func (UnimplementedProviderServer) WaitForInstanceReady ¶
func (UnimplementedProviderServer) WaitForInstanceReady(context.Context, *WaitForInstanceReadyParams) (*WaitForInstanceReadyResult, error)
func (UnimplementedProviderServer) WaitForSnapshotReady ¶
func (UnimplementedProviderServer) WaitForSnapshotReady(context.Context, *WaitForSnapshotReadyParams) (*WaitForSnapshotReadyResult, error)
func (UnimplementedProviderServer) WaitForVolumeAttached ¶
func (UnimplementedProviderServer) WaitForVolumeAttached(context.Context, *WaitForVolumeAttachedParams) (*WaitForVolumeAttachedResult, error)
func (UnimplementedProviderServer) WaitForVolumeReady ¶
func (UnimplementedProviderServer) WaitForVolumeReady(context.Context, *WaitForVolumeReadyParams) (*WaitForVolumeReadyResult, error)
type UnsafeProviderServer ¶
type UnsafeProviderServer interface {
// contains filtered or unexported methods
}
UnsafeProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProviderServer will result in compilation errors.
type Volume ¶
type Volume struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*Volume) Descriptor
deprecated
func (*Volume) GetLocation ¶
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶
func (x *Volume) ProtoReflect() protoreflect.Message
type WaitForInstanceReadyParams ¶
type WaitForInstanceReadyParams struct { InstanceID string `protobuf:"bytes,1,opt,name=instanceID,proto3" json:"instanceID,omitempty"` InstanceLocation string `protobuf:"bytes,2,opt,name=instanceLocation,proto3" json:"instanceLocation,omitempty"` // contains filtered or unexported fields }
func (*WaitForInstanceReadyParams) Descriptor
deprecated
func (*WaitForInstanceReadyParams) Descriptor() ([]byte, []int)
Deprecated: Use WaitForInstanceReadyParams.ProtoReflect.Descriptor instead.
func (*WaitForInstanceReadyParams) GetInstanceID ¶
func (x *WaitForInstanceReadyParams) GetInstanceID() string
func (*WaitForInstanceReadyParams) GetInstanceLocation ¶
func (x *WaitForInstanceReadyParams) GetInstanceLocation() string
func (*WaitForInstanceReadyParams) ProtoMessage ¶
func (*WaitForInstanceReadyParams) ProtoMessage()
func (*WaitForInstanceReadyParams) ProtoReflect ¶
func (x *WaitForInstanceReadyParams) ProtoReflect() protoreflect.Message
func (*WaitForInstanceReadyParams) Reset ¶
func (x *WaitForInstanceReadyParams) Reset()
func (*WaitForInstanceReadyParams) String ¶
func (x *WaitForInstanceReadyParams) String() string
type WaitForInstanceReadyResult ¶
type WaitForInstanceReadyResult struct {
// contains filtered or unexported fields
}
func (*WaitForInstanceReadyResult) Descriptor
deprecated
func (*WaitForInstanceReadyResult) Descriptor() ([]byte, []int)
Deprecated: Use WaitForInstanceReadyResult.ProtoReflect.Descriptor instead.
func (*WaitForInstanceReadyResult) ProtoMessage ¶
func (*WaitForInstanceReadyResult) ProtoMessage()
func (*WaitForInstanceReadyResult) ProtoReflect ¶
func (x *WaitForInstanceReadyResult) ProtoReflect() protoreflect.Message
func (*WaitForInstanceReadyResult) Reset ¶
func (x *WaitForInstanceReadyResult) Reset()
func (*WaitForInstanceReadyResult) String ¶
func (x *WaitForInstanceReadyResult) String() string
type WaitForSnapshotReadyParams ¶
type WaitForSnapshotReadyParams struct { SnapshotID string `protobuf:"bytes,1,opt,name=snapshotID,proto3" json:"snapshotID,omitempty"` SnapshotLocation string `protobuf:"bytes,2,opt,name=snapshotLocation,proto3" json:"snapshotLocation,omitempty"` // contains filtered or unexported fields }
func (*WaitForSnapshotReadyParams) Descriptor
deprecated
func (*WaitForSnapshotReadyParams) Descriptor() ([]byte, []int)
Deprecated: Use WaitForSnapshotReadyParams.ProtoReflect.Descriptor instead.
func (*WaitForSnapshotReadyParams) GetSnapshotID ¶
func (x *WaitForSnapshotReadyParams) GetSnapshotID() string
func (*WaitForSnapshotReadyParams) GetSnapshotLocation ¶
func (x *WaitForSnapshotReadyParams) GetSnapshotLocation() string
func (*WaitForSnapshotReadyParams) ProtoMessage ¶
func (*WaitForSnapshotReadyParams) ProtoMessage()
func (*WaitForSnapshotReadyParams) ProtoReflect ¶
func (x *WaitForSnapshotReadyParams) ProtoReflect() protoreflect.Message
func (*WaitForSnapshotReadyParams) Reset ¶
func (x *WaitForSnapshotReadyParams) Reset()
func (*WaitForSnapshotReadyParams) String ¶
func (x *WaitForSnapshotReadyParams) String() string
type WaitForSnapshotReadyResult ¶
type WaitForSnapshotReadyResult struct {
// contains filtered or unexported fields
}
func (*WaitForSnapshotReadyResult) Descriptor
deprecated
func (*WaitForSnapshotReadyResult) Descriptor() ([]byte, []int)
Deprecated: Use WaitForSnapshotReadyResult.ProtoReflect.Descriptor instead.
func (*WaitForSnapshotReadyResult) ProtoMessage ¶
func (*WaitForSnapshotReadyResult) ProtoMessage()
func (*WaitForSnapshotReadyResult) ProtoReflect ¶
func (x *WaitForSnapshotReadyResult) ProtoReflect() protoreflect.Message
func (*WaitForSnapshotReadyResult) Reset ¶
func (x *WaitForSnapshotReadyResult) Reset()
func (*WaitForSnapshotReadyResult) String ¶
func (x *WaitForSnapshotReadyResult) String() string
type WaitForVolumeAttachedParams ¶
type WaitForVolumeAttachedParams struct { VolumeID string `protobuf:"bytes,1,opt,name=volumeID,proto3" json:"volumeID,omitempty"` VolumeLocation string `protobuf:"bytes,2,opt,name=volumeLocation,proto3" json:"volumeLocation,omitempty"` // contains filtered or unexported fields }
func (*WaitForVolumeAttachedParams) Descriptor
deprecated
func (*WaitForVolumeAttachedParams) Descriptor() ([]byte, []int)
Deprecated: Use WaitForVolumeAttachedParams.ProtoReflect.Descriptor instead.
func (*WaitForVolumeAttachedParams) GetVolumeID ¶
func (x *WaitForVolumeAttachedParams) GetVolumeID() string
func (*WaitForVolumeAttachedParams) GetVolumeLocation ¶
func (x *WaitForVolumeAttachedParams) GetVolumeLocation() string
func (*WaitForVolumeAttachedParams) ProtoMessage ¶
func (*WaitForVolumeAttachedParams) ProtoMessage()
func (*WaitForVolumeAttachedParams) ProtoReflect ¶
func (x *WaitForVolumeAttachedParams) ProtoReflect() protoreflect.Message
func (*WaitForVolumeAttachedParams) Reset ¶
func (x *WaitForVolumeAttachedParams) Reset()
func (*WaitForVolumeAttachedParams) String ¶
func (x *WaitForVolumeAttachedParams) String() string
type WaitForVolumeAttachedResult ¶
type WaitForVolumeAttachedResult struct {
// contains filtered or unexported fields
}
func (*WaitForVolumeAttachedResult) Descriptor
deprecated
func (*WaitForVolumeAttachedResult) Descriptor() ([]byte, []int)
Deprecated: Use WaitForVolumeAttachedResult.ProtoReflect.Descriptor instead.
func (*WaitForVolumeAttachedResult) ProtoMessage ¶
func (*WaitForVolumeAttachedResult) ProtoMessage()
func (*WaitForVolumeAttachedResult) ProtoReflect ¶
func (x *WaitForVolumeAttachedResult) ProtoReflect() protoreflect.Message
func (*WaitForVolumeAttachedResult) Reset ¶
func (x *WaitForVolumeAttachedResult) Reset()
func (*WaitForVolumeAttachedResult) String ¶
func (x *WaitForVolumeAttachedResult) String() string
type WaitForVolumeReadyParams ¶
type WaitForVolumeReadyParams struct { VolumeID string `protobuf:"bytes,1,opt,name=volumeID,proto3" json:"volumeID,omitempty"` VolumeLocation string `protobuf:"bytes,2,opt,name=volumeLocation,proto3" json:"volumeLocation,omitempty"` // contains filtered or unexported fields }
func (*WaitForVolumeReadyParams) Descriptor
deprecated
func (*WaitForVolumeReadyParams) Descriptor() ([]byte, []int)
Deprecated: Use WaitForVolumeReadyParams.ProtoReflect.Descriptor instead.
func (*WaitForVolumeReadyParams) GetVolumeID ¶
func (x *WaitForVolumeReadyParams) GetVolumeID() string
func (*WaitForVolumeReadyParams) GetVolumeLocation ¶
func (x *WaitForVolumeReadyParams) GetVolumeLocation() string
func (*WaitForVolumeReadyParams) ProtoMessage ¶
func (*WaitForVolumeReadyParams) ProtoMessage()
func (*WaitForVolumeReadyParams) ProtoReflect ¶
func (x *WaitForVolumeReadyParams) ProtoReflect() protoreflect.Message
func (*WaitForVolumeReadyParams) Reset ¶
func (x *WaitForVolumeReadyParams) Reset()
func (*WaitForVolumeReadyParams) String ¶
func (x *WaitForVolumeReadyParams) String() string
type WaitForVolumeReadyResult ¶
type WaitForVolumeReadyResult struct {
// contains filtered or unexported fields
}
func (*WaitForVolumeReadyResult) Descriptor
deprecated
func (*WaitForVolumeReadyResult) Descriptor() ([]byte, []int)
Deprecated: Use WaitForVolumeReadyResult.ProtoReflect.Descriptor instead.
func (*WaitForVolumeReadyResult) ProtoMessage ¶
func (*WaitForVolumeReadyResult) ProtoMessage()
func (*WaitForVolumeReadyResult) ProtoReflect ¶
func (x *WaitForVolumeReadyResult) ProtoReflect() protoreflect.Message
func (*WaitForVolumeReadyResult) Reset ¶
func (x *WaitForVolumeReadyResult) Reset()
func (*WaitForVolumeReadyResult) String ¶
func (x *WaitForVolumeReadyResult) String() string