Documentation ¶
Index ¶
- Variables
- type Details
- type Discovered
- func (*Discovered) Descriptor() ([]byte, []int)deprecated
- func (x *Discovered) GetAnalysisStatus() Discovered_AnalysisStatus
- func (x *Discovered) GetAnalysisStatusError() *status.Status
- func (x *Discovered) GetContinuousAnalysis() Discovered_ContinuousAnalysis
- func (x *Discovered) GetLastAnalysisTime() *timestamppb.Timestamp
- func (*Discovered) ProtoMessage()
- func (x *Discovered) ProtoReflect() protoreflect.Message
- func (x *Discovered) Reset()
- func (x *Discovered) String() string
- type Discovered_AnalysisStatus
- func (Discovered_AnalysisStatus) Descriptor() protoreflect.EnumDescriptor
- func (x Discovered_AnalysisStatus) Enum() *Discovered_AnalysisStatus
- func (Discovered_AnalysisStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x Discovered_AnalysisStatus) Number() protoreflect.EnumNumber
- func (x Discovered_AnalysisStatus) String() string
- func (Discovered_AnalysisStatus) Type() protoreflect.EnumType
- type Discovered_ContinuousAnalysis
- func (Discovered_ContinuousAnalysis) Descriptor() protoreflect.EnumDescriptor
- func (x Discovered_ContinuousAnalysis) Enum() *Discovered_ContinuousAnalysis
- func (Discovered_ContinuousAnalysis) EnumDescriptor() ([]byte, []int)deprecated
- func (x Discovered_ContinuousAnalysis) Number() protoreflect.EnumNumber
- func (x Discovered_ContinuousAnalysis) String() string
- func (Discovered_ContinuousAnalysis) Type() protoreflect.EnumType
- type Discovery
Constants ¶
This section is empty.
Variables ¶
var ( Discovered_ContinuousAnalysis_name = map[int32]string{ 0: "CONTINUOUS_ANALYSIS_UNSPECIFIED", 1: "ACTIVE", 2: "INACTIVE", } Discovered_ContinuousAnalysis_value = map[string]int32{ "CONTINUOUS_ANALYSIS_UNSPECIFIED": 0, "ACTIVE": 1, "INACTIVE": 2, } )
Enum value maps for Discovered_ContinuousAnalysis.
var ( Discovered_AnalysisStatus_name = map[int32]string{ 0: "ANALYSIS_STATUS_UNSPECIFIED", 1: "PENDING", 2: "SCANNING", 3: "FINISHED_SUCCESS", 4: "FINISHED_FAILED", 5: "FINISHED_UNSUPPORTED", } Discovered_AnalysisStatus_value = map[string]int32{ "ANALYSIS_STATUS_UNSPECIFIED": 0, "PENDING": 1, "SCANNING": 2, "FINISHED_SUCCESS": 3, "FINISHED_FAILED": 4, "FINISHED_UNSUPPORTED": 5, } )
Enum value maps for Discovered_AnalysisStatus.
var File_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Details ¶
type Details struct { // Required. Analysis status for the discovered resource. Discovered *Discovered `protobuf:"bytes,1,opt,name=discovered,proto3" json:"discovered,omitempty"` // contains filtered or unexported fields }
Details of a discovery occurrence.
func (*Details) Descriptor
deprecated
func (*Details) GetDiscovered ¶
func (x *Details) GetDiscovered() *Discovered
func (*Details) ProtoMessage ¶
func (*Details) ProtoMessage()
func (*Details) ProtoReflect ¶
func (x *Details) ProtoReflect() protoreflect.Message
type Discovered ¶
type Discovered struct { // Whether the resource is continuously analyzed. ContinuousAnalysis Discovered_ContinuousAnalysis `` /* 177-byte string literal not displayed */ // The last time continuous analysis was done for this resource. LastAnalysisTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_analysis_time,json=lastAnalysisTime,proto3" json:"last_analysis_time,omitempty"` // The status of discovery for the resource. AnalysisStatus Discovered_AnalysisStatus `` /* 161-byte string literal not displayed */ // When an error is encountered this will contain a LocalizedMessage under // details to show to the user. The LocalizedMessage is output only and // populated by the API. AnalysisStatusError *status.Status `protobuf:"bytes,4,opt,name=analysis_status_error,json=analysisStatusError,proto3" json:"analysis_status_error,omitempty"` // contains filtered or unexported fields }
Provides information about the analysis status of a discovered resource.
func (*Discovered) Descriptor
deprecated
func (*Discovered) Descriptor() ([]byte, []int)
Deprecated: Use Discovered.ProtoReflect.Descriptor instead.
func (*Discovered) GetAnalysisStatus ¶
func (x *Discovered) GetAnalysisStatus() Discovered_AnalysisStatus
func (*Discovered) GetAnalysisStatusError ¶
func (x *Discovered) GetAnalysisStatusError() *status.Status
func (*Discovered) GetContinuousAnalysis ¶
func (x *Discovered) GetContinuousAnalysis() Discovered_ContinuousAnalysis
func (*Discovered) GetLastAnalysisTime ¶
func (x *Discovered) GetLastAnalysisTime() *timestamppb.Timestamp
func (*Discovered) ProtoMessage ¶
func (*Discovered) ProtoMessage()
func (*Discovered) ProtoReflect ¶
func (x *Discovered) ProtoReflect() protoreflect.Message
func (*Discovered) Reset ¶
func (x *Discovered) Reset()
func (*Discovered) String ¶
func (x *Discovered) String() string
type Discovered_AnalysisStatus ¶
type Discovered_AnalysisStatus int32
Analysis status for a resource. Currently for initial analysis only (not updated in continuous analysis).
const ( // Unknown. Discovered_ANALYSIS_STATUS_UNSPECIFIED Discovered_AnalysisStatus = 0 // Resource is known but no action has been taken yet. Discovered_PENDING Discovered_AnalysisStatus = 1 // Resource is being analyzed. Discovered_SCANNING Discovered_AnalysisStatus = 2 // Analysis has finished successfully. Discovered_FINISHED_SUCCESS Discovered_AnalysisStatus = 3 // Analysis has finished unsuccessfully, the analysis itself is in a bad // state. Discovered_FINISHED_FAILED Discovered_AnalysisStatus = 4 // The resource is known not to be supported Discovered_FINISHED_UNSUPPORTED Discovered_AnalysisStatus = 5 )
func (Discovered_AnalysisStatus) Descriptor ¶
func (Discovered_AnalysisStatus) Descriptor() protoreflect.EnumDescriptor
func (Discovered_AnalysisStatus) Enum ¶
func (x Discovered_AnalysisStatus) Enum() *Discovered_AnalysisStatus
func (Discovered_AnalysisStatus) EnumDescriptor
deprecated
func (Discovered_AnalysisStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use Discovered_AnalysisStatus.Descriptor instead.
func (Discovered_AnalysisStatus) Number ¶
func (x Discovered_AnalysisStatus) Number() protoreflect.EnumNumber
func (Discovered_AnalysisStatus) String ¶
func (x Discovered_AnalysisStatus) String() string
func (Discovered_AnalysisStatus) Type ¶
func (Discovered_AnalysisStatus) Type() protoreflect.EnumType
type Discovered_ContinuousAnalysis ¶
type Discovered_ContinuousAnalysis int32
Whether the resource is continuously analyzed.
const ( // Unknown. Discovered_CONTINUOUS_ANALYSIS_UNSPECIFIED Discovered_ContinuousAnalysis = 0 // The resource is continuously analyzed. Discovered_ACTIVE Discovered_ContinuousAnalysis = 1 // The resource is ignored for continuous analysis. Discovered_INACTIVE Discovered_ContinuousAnalysis = 2 )
func (Discovered_ContinuousAnalysis) Descriptor ¶
func (Discovered_ContinuousAnalysis) Descriptor() protoreflect.EnumDescriptor
func (Discovered_ContinuousAnalysis) Enum ¶
func (x Discovered_ContinuousAnalysis) Enum() *Discovered_ContinuousAnalysis
func (Discovered_ContinuousAnalysis) EnumDescriptor
deprecated
func (Discovered_ContinuousAnalysis) EnumDescriptor() ([]byte, []int)
Deprecated: Use Discovered_ContinuousAnalysis.Descriptor instead.
func (Discovered_ContinuousAnalysis) Number ¶
func (x Discovered_ContinuousAnalysis) Number() protoreflect.EnumNumber
func (Discovered_ContinuousAnalysis) String ¶
func (x Discovered_ContinuousAnalysis) String() string
func (Discovered_ContinuousAnalysis) Type ¶
func (Discovered_ContinuousAnalysis) Type() protoreflect.EnumType
type Discovery ¶
type Discovery struct { // Required. Immutable. The kind of analysis that is handled by this // discovery. AnalysisKind common.NoteKind `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A `Discovery` occurrence is created in a consumer's project at the start of analysis.
func (*Discovery) Descriptor
deprecated
func (*Discovery) GetAnalysisKind ¶
func (*Discovery) ProtoMessage ¶
func (*Discovery) ProtoMessage()
func (*Discovery) ProtoReflect ¶
func (x *Discovery) ProtoReflect() protoreflect.Message