Documentation ¶
Overview ¶
Package grafeas is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterGrafeasHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterGrafeasHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GrafeasClient) error
- func RegisterGrafeasHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterGrafeasProjectsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterGrafeasProjectsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GrafeasProjectsClient) error
- func RegisterGrafeasProjectsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterGrafeasProjectsServer(s *grpc.Server, srv GrafeasProjectsServer)
- func RegisterGrafeasServer(s *grpc.Server, srv GrafeasServer)
- type AliasContext
- func (*AliasContext) Descriptor() ([]byte, []int)
- func (m *AliasContext) GetKind() AliasContext_Kind
- func (m *AliasContext) GetName() string
- func (*AliasContext) ProtoMessage()
- func (m *AliasContext) Reset()
- func (m *AliasContext) String() string
- func (m *AliasContext) XXX_DiscardUnknown()
- func (m *AliasContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AliasContext) XXX_Merge(src proto.Message)
- func (m *AliasContext) XXX_Size() int
- func (m *AliasContext) XXX_Unmarshal(b []byte) error
- type AliasContext_Kind
- type Artifact
- func (*Artifact) Descriptor() ([]byte, []int)
- func (m *Artifact) GetChecksum() string
- func (m *Artifact) GetId() string
- func (m *Artifact) GetName() string
- func (m *Artifact) GetNames() []string
- func (*Artifact) ProtoMessage()
- func (m *Artifact) Reset()
- func (m *Artifact) String() string
- func (m *Artifact) XXX_DiscardUnknown()
- func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Artifact) XXX_Merge(src proto.Message)
- func (m *Artifact) XXX_Size() int
- func (m *Artifact) XXX_Unmarshal(b []byte) error
- type AttestationAuthority
- func (*AttestationAuthority) Descriptor() ([]byte, []int)
- func (m *AttestationAuthority) GetHint() *AttestationAuthority_AttestationAuthorityHint
- func (*AttestationAuthority) ProtoMessage()
- func (m *AttestationAuthority) Reset()
- func (m *AttestationAuthority) String() string
- func (m *AttestationAuthority) XXX_DiscardUnknown()
- func (m *AttestationAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttestationAuthority) XXX_Merge(src proto.Message)
- func (m *AttestationAuthority) XXX_Size() int
- func (m *AttestationAuthority) XXX_Unmarshal(b []byte) error
- type AttestationAuthority_AttestationAuthorityHint
- func (*AttestationAuthority_AttestationAuthorityHint) Descriptor() ([]byte, []int)
- func (m *AttestationAuthority_AttestationAuthorityHint) GetHumanReadableName() string
- func (*AttestationAuthority_AttestationAuthorityHint) ProtoMessage()
- func (m *AttestationAuthority_AttestationAuthorityHint) Reset()
- func (m *AttestationAuthority_AttestationAuthorityHint) String() string
- func (m *AttestationAuthority_AttestationAuthorityHint) XXX_DiscardUnknown()
- func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Merge(src proto.Message)
- func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Size() int
- func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Unmarshal(b []byte) error
- type AttestationAuthority_AttestationDetails
- func (*AttestationAuthority_AttestationDetails) Descriptor() ([]byte, []int)
- func (m *AttestationAuthority_AttestationDetails) GetPgpSignedAttestation() *PgpSignedAttestation
- func (m *AttestationAuthority_AttestationDetails) GetSignature() isAttestationAuthority_AttestationDetails_Signature
- func (*AttestationAuthority_AttestationDetails) ProtoMessage()
- func (m *AttestationAuthority_AttestationDetails) Reset()
- func (m *AttestationAuthority_AttestationDetails) String() string
- func (m *AttestationAuthority_AttestationDetails) XXX_DiscardUnknown()
- func (m *AttestationAuthority_AttestationDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttestationAuthority_AttestationDetails) XXX_Merge(src proto.Message)
- func (*AttestationAuthority_AttestationDetails) XXX_OneofWrappers() []interface{}
- func (m *AttestationAuthority_AttestationDetails) XXX_Size() int
- func (m *AttestationAuthority_AttestationDetails) XXX_Unmarshal(b []byte) error
- type AttestationAuthority_AttestationDetails_PgpSignedAttestation
- type BuildDetails
- func (*BuildDetails) Descriptor() ([]byte, []int)
- func (m *BuildDetails) GetProvenance() *BuildProvenance
- func (m *BuildDetails) GetProvenanceBytes() string
- func (*BuildDetails) ProtoMessage()
- func (m *BuildDetails) Reset()
- func (m *BuildDetails) String() string
- func (m *BuildDetails) XXX_DiscardUnknown()
- func (m *BuildDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildDetails) XXX_Merge(src proto.Message)
- func (m *BuildDetails) XXX_Size() int
- func (m *BuildDetails) XXX_Unmarshal(b []byte) error
- type BuildProvenance
- func (*BuildProvenance) Descriptor() ([]byte, []int)
- func (m *BuildProvenance) GetBuildOptions() map[string]string
- func (m *BuildProvenance) GetBuilderVersion() string
- func (m *BuildProvenance) GetBuiltArtifacts() []*Artifact
- func (m *BuildProvenance) GetCommands() []*Command
- func (m *BuildProvenance) GetCreateTime() *timestamp.Timestamp
- func (m *BuildProvenance) GetCreator() string
- func (m *BuildProvenance) GetFinishTime() *timestamp.Timestamp
- func (m *BuildProvenance) GetId() string
- func (m *BuildProvenance) GetLogsBucket() string
- func (m *BuildProvenance) GetProjectId() string
- func (m *BuildProvenance) GetSourceProvenance() *Source
- func (m *BuildProvenance) GetStartTime() *timestamp.Timestamp
- func (m *BuildProvenance) GetTriggerId() string
- func (*BuildProvenance) ProtoMessage()
- func (m *BuildProvenance) Reset()
- func (m *BuildProvenance) String() string
- func (m *BuildProvenance) XXX_DiscardUnknown()
- func (m *BuildProvenance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildProvenance) XXX_Merge(src proto.Message)
- func (m *BuildProvenance) XXX_Size() int
- func (m *BuildProvenance) XXX_Unmarshal(b []byte) error
- type BuildSignature
- func (*BuildSignature) Descriptor() ([]byte, []int)
- func (m *BuildSignature) GetKeyId() string
- func (m *BuildSignature) GetKeyType() BuildSignature_KeyType
- func (m *BuildSignature) GetPublicKey() string
- func (m *BuildSignature) GetSignature() string
- func (*BuildSignature) ProtoMessage()
- func (m *BuildSignature) Reset()
- func (m *BuildSignature) String() string
- func (m *BuildSignature) XXX_DiscardUnknown()
- func (m *BuildSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildSignature) XXX_Merge(src proto.Message)
- func (m *BuildSignature) XXX_Size() int
- func (m *BuildSignature) XXX_Unmarshal(b []byte) error
- type BuildSignature_KeyType
- type BuildType
- func (*BuildType) Descriptor() ([]byte, []int)
- func (m *BuildType) GetBuilderVersion() string
- func (m *BuildType) GetSignature() *BuildSignature
- func (*BuildType) ProtoMessage()
- func (m *BuildType) Reset()
- func (m *BuildType) String() string
- func (m *BuildType) XXX_DiscardUnknown()
- func (m *BuildType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildType) XXX_Merge(src proto.Message)
- func (m *BuildType) XXX_Size() int
- func (m *BuildType) XXX_Unmarshal(b []byte) error
- type CloudRepoSourceContext
- func (*CloudRepoSourceContext) Descriptor() ([]byte, []int)
- func (m *CloudRepoSourceContext) GetAliasContext() *AliasContext
- func (m *CloudRepoSourceContext) GetRepoId() *RepoId
- func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision
- func (m *CloudRepoSourceContext) GetRevisionId() string
- func (*CloudRepoSourceContext) ProtoMessage()
- func (m *CloudRepoSourceContext) Reset()
- func (m *CloudRepoSourceContext) String() string
- func (m *CloudRepoSourceContext) XXX_DiscardUnknown()
- func (m *CloudRepoSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloudRepoSourceContext) XXX_Merge(src proto.Message)
- func (*CloudRepoSourceContext) XXX_OneofWrappers() []interface{}
- func (m *CloudRepoSourceContext) XXX_Size() int
- func (m *CloudRepoSourceContext) XXX_Unmarshal(b []byte) error
- type CloudRepoSourceContext_AliasContext
- type CloudRepoSourceContext_RevisionId
- type Command
- func (*Command) Descriptor() ([]byte, []int)
- func (m *Command) GetArgs() []string
- func (m *Command) GetDir() string
- func (m *Command) GetEnv() []string
- func (m *Command) GetId() string
- func (m *Command) GetName() string
- func (m *Command) GetWaitFor() []string
- func (*Command) ProtoMessage()
- func (m *Command) Reset()
- func (m *Command) String() string
- func (m *Command) XXX_DiscardUnknown()
- func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Command) XXX_Merge(src proto.Message)
- func (m *Command) XXX_Size() int
- func (m *Command) XXX_Unmarshal(b []byte) error
- type CreateNoteRequest
- func (*CreateNoteRequest) Descriptor() ([]byte, []int)
- func (m *CreateNoteRequest) GetNote() *Note
- func (m *CreateNoteRequest) GetNoteId() string
- func (m *CreateNoteRequest) GetParent() string
- func (*CreateNoteRequest) ProtoMessage()
- func (m *CreateNoteRequest) Reset()
- func (m *CreateNoteRequest) String() string
- func (m *CreateNoteRequest) XXX_DiscardUnknown()
- func (m *CreateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateNoteRequest) XXX_Merge(src proto.Message)
- func (m *CreateNoteRequest) XXX_Size() int
- func (m *CreateNoteRequest) XXX_Unmarshal(b []byte) error
- type CreateOccurrenceRequest
- func (*CreateOccurrenceRequest) Descriptor() ([]byte, []int)
- func (m *CreateOccurrenceRequest) GetOccurrence() *Occurrence
- func (m *CreateOccurrenceRequest) GetParent() string
- func (*CreateOccurrenceRequest) ProtoMessage()
- func (m *CreateOccurrenceRequest) Reset()
- func (m *CreateOccurrenceRequest) String() string
- func (m *CreateOccurrenceRequest) XXX_DiscardUnknown()
- func (m *CreateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateOccurrenceRequest) XXX_Merge(src proto.Message)
- func (m *CreateOccurrenceRequest) XXX_Size() int
- func (m *CreateOccurrenceRequest) XXX_Unmarshal(b []byte) error
- type CreateOperationRequest
- func (*CreateOperationRequest) Descriptor() ([]byte, []int)
- func (m *CreateOperationRequest) GetOperation() *longrunning.Operation
- func (m *CreateOperationRequest) GetOperationId() string
- func (m *CreateOperationRequest) GetParent() string
- func (*CreateOperationRequest) ProtoMessage()
- func (m *CreateOperationRequest) Reset()
- func (m *CreateOperationRequest) String() string
- func (m *CreateOperationRequest) XXX_DiscardUnknown()
- func (m *CreateOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateOperationRequest) XXX_Merge(src proto.Message)
- func (m *CreateOperationRequest) XXX_Size() int
- func (m *CreateOperationRequest) XXX_Unmarshal(b []byte) error
- type CreateProjectRequest
- func (*CreateProjectRequest) Descriptor() ([]byte, []int)
- func (m *CreateProjectRequest) GetProject() *Project
- func (*CreateProjectRequest) ProtoMessage()
- func (m *CreateProjectRequest) Reset()
- func (m *CreateProjectRequest) String() string
- func (m *CreateProjectRequest) XXX_DiscardUnknown()
- func (m *CreateProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateProjectRequest) XXX_Merge(src proto.Message)
- func (m *CreateProjectRequest) XXX_Size() int
- func (m *CreateProjectRequest) XXX_Unmarshal(b []byte) error
- type DeleteNoteRequest
- func (*DeleteNoteRequest) Descriptor() ([]byte, []int)
- func (m *DeleteNoteRequest) GetName() string
- func (*DeleteNoteRequest) ProtoMessage()
- func (m *DeleteNoteRequest) Reset()
- func (m *DeleteNoteRequest) String() string
- func (m *DeleteNoteRequest) XXX_DiscardUnknown()
- func (m *DeleteNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteNoteRequest) XXX_Merge(src proto.Message)
- func (m *DeleteNoteRequest) XXX_Size() int
- func (m *DeleteNoteRequest) XXX_Unmarshal(b []byte) error
- type DeleteOccurrenceRequest
- func (*DeleteOccurrenceRequest) Descriptor() ([]byte, []int)
- func (m *DeleteOccurrenceRequest) GetName() string
- func (*DeleteOccurrenceRequest) ProtoMessage()
- func (m *DeleteOccurrenceRequest) Reset()
- func (m *DeleteOccurrenceRequest) String() string
- func (m *DeleteOccurrenceRequest) XXX_DiscardUnknown()
- func (m *DeleteOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteOccurrenceRequest) XXX_Merge(src proto.Message)
- func (m *DeleteOccurrenceRequest) XXX_Size() int
- func (m *DeleteOccurrenceRequest) XXX_Unmarshal(b []byte) error
- type DeleteProjectRequest
- func (*DeleteProjectRequest) Descriptor() ([]byte, []int)
- func (m *DeleteProjectRequest) GetName() string
- func (*DeleteProjectRequest) ProtoMessage()
- func (m *DeleteProjectRequest) Reset()
- func (m *DeleteProjectRequest) String() string
- func (m *DeleteProjectRequest) XXX_DiscardUnknown()
- func (m *DeleteProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteProjectRequest) XXX_Merge(src proto.Message)
- func (m *DeleteProjectRequest) XXX_Size() int
- func (m *DeleteProjectRequest) XXX_Unmarshal(b []byte) error
- type Deployable
- func (*Deployable) Descriptor() ([]byte, []int)
- func (m *Deployable) GetResourceUri() []string
- func (*Deployable) ProtoMessage()
- func (m *Deployable) Reset()
- func (m *Deployable) String() string
- func (m *Deployable) XXX_DiscardUnknown()
- func (m *Deployable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Deployable) XXX_Merge(src proto.Message)
- func (m *Deployable) XXX_Size() int
- func (m *Deployable) XXX_Unmarshal(b []byte) error
- type Deployable_DeploymentDetails
- func (*Deployable_DeploymentDetails) Descriptor() ([]byte, []int)
- func (m *Deployable_DeploymentDetails) GetAddress() string
- func (m *Deployable_DeploymentDetails) GetConfig() string
- func (m *Deployable_DeploymentDetails) GetDeployTime() *timestamp.Timestamp
- func (m *Deployable_DeploymentDetails) GetPlatform() Deployable_DeploymentDetails_Platform
- func (m *Deployable_DeploymentDetails) GetResourceUri() []string
- func (m *Deployable_DeploymentDetails) GetUndeployTime() *timestamp.Timestamp
- func (m *Deployable_DeploymentDetails) GetUserEmail() string
- func (*Deployable_DeploymentDetails) ProtoMessage()
- func (m *Deployable_DeploymentDetails) Reset()
- func (m *Deployable_DeploymentDetails) String() string
- func (m *Deployable_DeploymentDetails) XXX_DiscardUnknown()
- func (m *Deployable_DeploymentDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Deployable_DeploymentDetails) XXX_Merge(src proto.Message)
- func (m *Deployable_DeploymentDetails) XXX_Size() int
- func (m *Deployable_DeploymentDetails) XXX_Unmarshal(b []byte) error
- type Deployable_DeploymentDetails_Platform
- type Discovery
- func (*Discovery) Descriptor() ([]byte, []int)
- func (m *Discovery) GetAnalysisKind() Note_Kind
- func (*Discovery) ProtoMessage()
- func (m *Discovery) Reset()
- func (m *Discovery) String() string
- func (m *Discovery) XXX_DiscardUnknown()
- func (m *Discovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Discovery) XXX_Merge(src proto.Message)
- func (m *Discovery) XXX_Size() int
- func (m *Discovery) XXX_Unmarshal(b []byte) error
- type Discovery_DiscoveredDetails
- func (*Discovery_DiscoveredDetails) Descriptor() ([]byte, []int)
- func (m *Discovery_DiscoveredDetails) GetOperation() *longrunning.Operation
- func (*Discovery_DiscoveredDetails) ProtoMessage()
- func (m *Discovery_DiscoveredDetails) Reset()
- func (m *Discovery_DiscoveredDetails) String() string
- func (m *Discovery_DiscoveredDetails) XXX_DiscardUnknown()
- func (m *Discovery_DiscoveredDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Discovery_DiscoveredDetails) XXX_Merge(src proto.Message)
- func (m *Discovery_DiscoveredDetails) XXX_Size() int
- func (m *Discovery_DiscoveredDetails) XXX_Unmarshal(b []byte) error
- type DockerImage
- func (*DockerImage) Descriptor() ([]byte, []int)
- func (*DockerImage) ProtoMessage()
- func (m *DockerImage) Reset()
- func (m *DockerImage) String() string
- func (m *DockerImage) XXX_DiscardUnknown()
- func (m *DockerImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DockerImage) XXX_Merge(src proto.Message)
- func (m *DockerImage) XXX_Size() int
- func (m *DockerImage) XXX_Unmarshal(b []byte) error
- type DockerImage_Basis
- func (*DockerImage_Basis) Descriptor() ([]byte, []int)
- func (m *DockerImage_Basis) GetFingerprint() *DockerImage_Fingerprint
- func (m *DockerImage_Basis) GetResourceUrl() string
- func (*DockerImage_Basis) ProtoMessage()
- func (m *DockerImage_Basis) Reset()
- func (m *DockerImage_Basis) String() string
- func (m *DockerImage_Basis) XXX_DiscardUnknown()
- func (m *DockerImage_Basis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DockerImage_Basis) XXX_Merge(src proto.Message)
- func (m *DockerImage_Basis) XXX_Size() int
- func (m *DockerImage_Basis) XXX_Unmarshal(b []byte) error
- type DockerImage_DerivedDetails
- func (*DockerImage_DerivedDetails) Descriptor() ([]byte, []int)
- func (m *DockerImage_DerivedDetails) GetBaseResourceUrl() string
- func (m *DockerImage_DerivedDetails) GetDistance() uint32
- func (m *DockerImage_DerivedDetails) GetFingerprint() *DockerImage_Fingerprint
- func (m *DockerImage_DerivedDetails) GetLayerInfo() []*DockerImage_Layer
- func (*DockerImage_DerivedDetails) ProtoMessage()
- func (m *DockerImage_DerivedDetails) Reset()
- func (m *DockerImage_DerivedDetails) String() string
- func (m *DockerImage_DerivedDetails) XXX_DiscardUnknown()
- func (m *DockerImage_DerivedDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DockerImage_DerivedDetails) XXX_Merge(src proto.Message)
- func (m *DockerImage_DerivedDetails) XXX_Size() int
- func (m *DockerImage_DerivedDetails) XXX_Unmarshal(b []byte) error
- type DockerImage_Fingerprint
- func (*DockerImage_Fingerprint) Descriptor() ([]byte, []int)
- func (m *DockerImage_Fingerprint) GetV1Name() string
- func (m *DockerImage_Fingerprint) GetV2Blob() []string
- func (m *DockerImage_Fingerprint) GetV2Name() string
- func (*DockerImage_Fingerprint) ProtoMessage()
- func (m *DockerImage_Fingerprint) Reset()
- func (m *DockerImage_Fingerprint) String() string
- func (m *DockerImage_Fingerprint) XXX_DiscardUnknown()
- func (m *DockerImage_Fingerprint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DockerImage_Fingerprint) XXX_Merge(src proto.Message)
- func (m *DockerImage_Fingerprint) XXX_Size() int
- func (m *DockerImage_Fingerprint) XXX_Unmarshal(b []byte) error
- type DockerImage_Layer
- func (*DockerImage_Layer) Descriptor() ([]byte, []int)
- func (m *DockerImage_Layer) GetArguments() string
- func (m *DockerImage_Layer) GetDirective() DockerImage_Layer_Directive
- func (*DockerImage_Layer) ProtoMessage()
- func (m *DockerImage_Layer) Reset()
- func (m *DockerImage_Layer) String() string
- func (m *DockerImage_Layer) XXX_DiscardUnknown()
- func (m *DockerImage_Layer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DockerImage_Layer) XXX_Merge(src proto.Message)
- func (m *DockerImage_Layer) XXX_Size() int
- func (m *DockerImage_Layer) XXX_Unmarshal(b []byte) error
- type DockerImage_Layer_Directive
- type FileHashes
- func (*FileHashes) Descriptor() ([]byte, []int)
- func (m *FileHashes) GetFileHash() []*Hash
- func (*FileHashes) ProtoMessage()
- func (m *FileHashes) Reset()
- func (m *FileHashes) String() string
- func (m *FileHashes) XXX_DiscardUnknown()
- func (m *FileHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileHashes) XXX_Merge(src proto.Message)
- func (m *FileHashes) XXX_Size() int
- func (m *FileHashes) XXX_Unmarshal(b []byte) error
- type GerritSourceContext
- func (*GerritSourceContext) Descriptor() ([]byte, []int)
- func (m *GerritSourceContext) GetAliasContext() *AliasContext
- func (m *GerritSourceContext) GetGerritProject() string
- func (m *GerritSourceContext) GetHostUri() string
- func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision
- func (m *GerritSourceContext) GetRevisionId() string
- func (*GerritSourceContext) ProtoMessage()
- func (m *GerritSourceContext) Reset()
- func (m *GerritSourceContext) String() string
- func (m *GerritSourceContext) XXX_DiscardUnknown()
- func (m *GerritSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GerritSourceContext) XXX_Merge(src proto.Message)
- func (*GerritSourceContext) XXX_OneofWrappers() []interface{}
- func (m *GerritSourceContext) XXX_Size() int
- func (m *GerritSourceContext) XXX_Unmarshal(b []byte) error
- type GerritSourceContext_AliasContext
- type GerritSourceContext_RevisionId
- type GetNoteRequest
- func (*GetNoteRequest) Descriptor() ([]byte, []int)
- func (m *GetNoteRequest) GetName() string
- func (*GetNoteRequest) ProtoMessage()
- func (m *GetNoteRequest) Reset()
- func (m *GetNoteRequest) String() string
- func (m *GetNoteRequest) XXX_DiscardUnknown()
- func (m *GetNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNoteRequest) XXX_Merge(src proto.Message)
- func (m *GetNoteRequest) XXX_Size() int
- func (m *GetNoteRequest) XXX_Unmarshal(b []byte) error
- type GetOccurrenceNoteRequest
- func (*GetOccurrenceNoteRequest) Descriptor() ([]byte, []int)
- func (m *GetOccurrenceNoteRequest) GetName() string
- func (*GetOccurrenceNoteRequest) ProtoMessage()
- func (m *GetOccurrenceNoteRequest) Reset()
- func (m *GetOccurrenceNoteRequest) String() string
- func (m *GetOccurrenceNoteRequest) XXX_DiscardUnknown()
- func (m *GetOccurrenceNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetOccurrenceNoteRequest) XXX_Merge(src proto.Message)
- func (m *GetOccurrenceNoteRequest) XXX_Size() int
- func (m *GetOccurrenceNoteRequest) XXX_Unmarshal(b []byte) error
- type GetOccurrenceRequest
- func (*GetOccurrenceRequest) Descriptor() ([]byte, []int)
- func (m *GetOccurrenceRequest) GetName() string
- func (*GetOccurrenceRequest) ProtoMessage()
- func (m *GetOccurrenceRequest) Reset()
- func (m *GetOccurrenceRequest) String() string
- func (m *GetOccurrenceRequest) XXX_DiscardUnknown()
- func (m *GetOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetOccurrenceRequest) XXX_Merge(src proto.Message)
- func (m *GetOccurrenceRequest) XXX_Size() int
- func (m *GetOccurrenceRequest) XXX_Unmarshal(b []byte) error
- type GetProjectRequest
- func (*GetProjectRequest) Descriptor() ([]byte, []int)
- func (m *GetProjectRequest) GetName() string
- func (*GetProjectRequest) ProtoMessage()
- func (m *GetProjectRequest) Reset()
- func (m *GetProjectRequest) String() string
- func (m *GetProjectRequest) XXX_DiscardUnknown()
- func (m *GetProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProjectRequest) XXX_Merge(src proto.Message)
- func (m *GetProjectRequest) XXX_Size() int
- func (m *GetProjectRequest) XXX_Unmarshal(b []byte) error
- type GitSourceContext
- func (*GitSourceContext) Descriptor() ([]byte, []int)
- func (m *GitSourceContext) GetRevisionId() string
- func (m *GitSourceContext) GetUrl() string
- func (*GitSourceContext) ProtoMessage()
- func (m *GitSourceContext) Reset()
- func (m *GitSourceContext) String() string
- func (m *GitSourceContext) XXX_DiscardUnknown()
- func (m *GitSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitSourceContext) XXX_Merge(src proto.Message)
- func (m *GitSourceContext) XXX_Size() int
- func (m *GitSourceContext) XXX_Unmarshal(b []byte) error
- type GrafeasClient
- type GrafeasProjectsClient
- type GrafeasProjectsServer
- type GrafeasServer
- type Hash
- func (*Hash) Descriptor() ([]byte, []int)
- func (m *Hash) GetType() Hash_HashType
- func (m *Hash) GetValue() []byte
- func (*Hash) ProtoMessage()
- func (m *Hash) Reset()
- func (m *Hash) String() string
- func (m *Hash) XXX_DiscardUnknown()
- func (m *Hash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Hash) XXX_Merge(src proto.Message)
- func (m *Hash) XXX_Size() int
- func (m *Hash) XXX_Unmarshal(b []byte) error
- type Hash_HashType
- type ListNoteOccurrencesRequest
- func (*ListNoteOccurrencesRequest) Descriptor() ([]byte, []int)
- func (m *ListNoteOccurrencesRequest) GetFilter() string
- func (m *ListNoteOccurrencesRequest) GetName() string
- func (m *ListNoteOccurrencesRequest) GetPageSize() int32
- func (m *ListNoteOccurrencesRequest) GetPageToken() string
- func (*ListNoteOccurrencesRequest) ProtoMessage()
- func (m *ListNoteOccurrencesRequest) Reset()
- func (m *ListNoteOccurrencesRequest) String() string
- func (m *ListNoteOccurrencesRequest) XXX_DiscardUnknown()
- func (m *ListNoteOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNoteOccurrencesRequest) XXX_Merge(src proto.Message)
- func (m *ListNoteOccurrencesRequest) XXX_Size() int
- func (m *ListNoteOccurrencesRequest) XXX_Unmarshal(b []byte) error
- type ListNoteOccurrencesResponse
- func (*ListNoteOccurrencesResponse) Descriptor() ([]byte, []int)
- func (m *ListNoteOccurrencesResponse) GetNextPageToken() string
- func (m *ListNoteOccurrencesResponse) GetOccurrences() []*Occurrence
- func (*ListNoteOccurrencesResponse) ProtoMessage()
- func (m *ListNoteOccurrencesResponse) Reset()
- func (m *ListNoteOccurrencesResponse) String() string
- func (m *ListNoteOccurrencesResponse) XXX_DiscardUnknown()
- func (m *ListNoteOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNoteOccurrencesResponse) XXX_Merge(src proto.Message)
- func (m *ListNoteOccurrencesResponse) XXX_Size() int
- func (m *ListNoteOccurrencesResponse) XXX_Unmarshal(b []byte) error
- type ListNotesRequest
- func (*ListNotesRequest) Descriptor() ([]byte, []int)
- func (m *ListNotesRequest) GetFilter() string
- func (m *ListNotesRequest) GetPageSize() int32
- func (m *ListNotesRequest) GetPageToken() string
- func (m *ListNotesRequest) GetParent() string
- func (*ListNotesRequest) ProtoMessage()
- func (m *ListNotesRequest) Reset()
- func (m *ListNotesRequest) String() string
- func (m *ListNotesRequest) XXX_DiscardUnknown()
- func (m *ListNotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNotesRequest) XXX_Merge(src proto.Message)
- func (m *ListNotesRequest) XXX_Size() int
- func (m *ListNotesRequest) XXX_Unmarshal(b []byte) error
- type ListNotesResponse
- func (*ListNotesResponse) Descriptor() ([]byte, []int)
- func (m *ListNotesResponse) GetNextPageToken() string
- func (m *ListNotesResponse) GetNotes() []*Note
- func (*ListNotesResponse) ProtoMessage()
- func (m *ListNotesResponse) Reset()
- func (m *ListNotesResponse) String() string
- func (m *ListNotesResponse) XXX_DiscardUnknown()
- func (m *ListNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNotesResponse) XXX_Merge(src proto.Message)
- func (m *ListNotesResponse) XXX_Size() int
- func (m *ListNotesResponse) XXX_Unmarshal(b []byte) error
- type ListOccurrencesRequest
- func (*ListOccurrencesRequest) Descriptor() ([]byte, []int)
- func (m *ListOccurrencesRequest) GetFilter() string
- func (m *ListOccurrencesRequest) GetPageSize() int32
- func (m *ListOccurrencesRequest) GetPageToken() string
- func (m *ListOccurrencesRequest) GetParent() string
- func (*ListOccurrencesRequest) ProtoMessage()
- func (m *ListOccurrencesRequest) Reset()
- func (m *ListOccurrencesRequest) String() string
- func (m *ListOccurrencesRequest) XXX_DiscardUnknown()
- func (m *ListOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListOccurrencesRequest) XXX_Merge(src proto.Message)
- func (m *ListOccurrencesRequest) XXX_Size() int
- func (m *ListOccurrencesRequest) XXX_Unmarshal(b []byte) error
- type ListOccurrencesResponse
- func (*ListOccurrencesResponse) Descriptor() ([]byte, []int)
- func (m *ListOccurrencesResponse) GetNextPageToken() string
- func (m *ListOccurrencesResponse) GetOccurrences() []*Occurrence
- func (*ListOccurrencesResponse) ProtoMessage()
- func (m *ListOccurrencesResponse) Reset()
- func (m *ListOccurrencesResponse) String() string
- func (m *ListOccurrencesResponse) XXX_DiscardUnknown()
- func (m *ListOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListOccurrencesResponse) XXX_Merge(src proto.Message)
- func (m *ListOccurrencesResponse) XXX_Size() int
- func (m *ListOccurrencesResponse) XXX_Unmarshal(b []byte) error
- type ListOperationsResponse
- func (*ListOperationsResponse) Descriptor() ([]byte, []int)
- func (m *ListOperationsResponse) GetNextPageToken() string
- func (m *ListOperationsResponse) GetOperations() []*longrunning.Operation
- func (*ListOperationsResponse) ProtoMessage()
- func (m *ListOperationsResponse) Reset()
- func (m *ListOperationsResponse) String() string
- func (m *ListOperationsResponse) XXX_DiscardUnknown()
- func (m *ListOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListOperationsResponse) XXX_Merge(src proto.Message)
- func (m *ListOperationsResponse) XXX_Size() int
- func (m *ListOperationsResponse) XXX_Unmarshal(b []byte) error
- type ListProjectsRequest
- func (*ListProjectsRequest) Descriptor() ([]byte, []int)
- func (m *ListProjectsRequest) GetFilter() string
- func (m *ListProjectsRequest) GetPageSize() int32
- func (m *ListProjectsRequest) GetPageToken() string
- func (*ListProjectsRequest) ProtoMessage()
- func (m *ListProjectsRequest) Reset()
- func (m *ListProjectsRequest) String() string
- func (m *ListProjectsRequest) XXX_DiscardUnknown()
- func (m *ListProjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListProjectsRequest) XXX_Merge(src proto.Message)
- func (m *ListProjectsRequest) XXX_Size() int
- func (m *ListProjectsRequest) XXX_Unmarshal(b []byte) error
- type ListProjectsResponse
- func (*ListProjectsResponse) Descriptor() ([]byte, []int)
- func (m *ListProjectsResponse) GetNextPageToken() string
- func (m *ListProjectsResponse) GetProjects() []*Project
- func (*ListProjectsResponse) ProtoMessage()
- func (m *ListProjectsResponse) Reset()
- func (m *ListProjectsResponse) String() string
- func (m *ListProjectsResponse) XXX_DiscardUnknown()
- func (m *ListProjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListProjectsResponse) XXX_Merge(src proto.Message)
- func (m *ListProjectsResponse) XXX_Size() int
- func (m *ListProjectsResponse) XXX_Unmarshal(b []byte) error
- type Note
- func (*Note) Descriptor() ([]byte, []int)
- func (m *Note) GetAttestationAuthority() *AttestationAuthority
- func (m *Note) GetBaseImage() *DockerImage_Basis
- func (m *Note) GetBuildType() *BuildType
- func (m *Note) GetCreateTime() *timestamp.Timestamp
- func (m *Note) GetDeployable() *Deployable
- func (m *Note) GetDiscovery() *Discovery
- func (m *Note) GetExpirationTime() *timestamp.Timestamp
- func (m *Note) GetKind() Note_Kind
- func (m *Note) GetLongDescription() string
- func (m *Note) GetName() string
- func (m *Note) GetNoteType() isNote_NoteType
- func (m *Note) GetOperationName() string
- func (m *Note) GetPackage() *PackageManager_Package
- func (m *Note) GetRelatedUrl() []*Note_RelatedUrl
- func (m *Note) GetShortDescription() string
- func (m *Note) GetUpdateTime() *timestamp.Timestamp
- func (m *Note) GetVulnerabilityType() *VulnerabilityType
- func (*Note) ProtoMessage()
- func (m *Note) Reset()
- func (m *Note) String() string
- func (m *Note) XXX_DiscardUnknown()
- func (m *Note) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Note) XXX_Merge(src proto.Message)
- func (*Note) XXX_OneofWrappers() []interface{}
- func (m *Note) XXX_Size() int
- func (m *Note) XXX_Unmarshal(b []byte) error
- type Note_AttestationAuthority
- type Note_BaseImage
- type Note_BuildType
- type Note_Deployable
- type Note_Discovery
- type Note_Kind
- type Note_Package
- type Note_RelatedUrl
- func (*Note_RelatedUrl) Descriptor() ([]byte, []int)
- func (m *Note_RelatedUrl) GetLabel() string
- func (m *Note_RelatedUrl) GetUrl() string
- func (*Note_RelatedUrl) ProtoMessage()
- func (m *Note_RelatedUrl) Reset()
- func (m *Note_RelatedUrl) String() string
- func (m *Note_RelatedUrl) XXX_DiscardUnknown()
- func (m *Note_RelatedUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Note_RelatedUrl) XXX_Merge(src proto.Message)
- func (m *Note_RelatedUrl) XXX_Size() int
- func (m *Note_RelatedUrl) XXX_Unmarshal(b []byte) error
- type Note_VulnerabilityType
- type Occurrence
- func (*Occurrence) Descriptor() ([]byte, []int)
- func (m *Occurrence) GetAttestationDetails() *AttestationAuthority_AttestationDetails
- func (m *Occurrence) GetBuildDetails() *BuildDetails
- func (m *Occurrence) GetCreateTime() *timestamp.Timestamp
- func (m *Occurrence) GetDeploymentDetails() *Deployable_DeploymentDetails
- func (m *Occurrence) GetDerivedImageDetails() *DockerImage_DerivedDetails
- func (m *Occurrence) GetDetails() isOccurrence_Details
- func (m *Occurrence) GetDiscoveredDetails() *Discovery_DiscoveredDetails
- func (m *Occurrence) GetInstallationDetails() *PackageManager_InstallationDetails
- func (m *Occurrence) GetKind() Note_Kind
- func (m *Occurrence) GetName() string
- func (m *Occurrence) GetNoteName() string
- func (m *Occurrence) GetOperationName() string
- func (m *Occurrence) GetRemediation() string
- func (m *Occurrence) GetResourceUrl() string
- func (m *Occurrence) GetUpdateTime() *timestamp.Timestamp
- func (m *Occurrence) GetVulnerabilityDetails() *VulnerabilityType_VulnerabilityDetails
- func (*Occurrence) ProtoMessage()
- func (m *Occurrence) Reset()
- func (m *Occurrence) String() string
- func (m *Occurrence) XXX_DiscardUnknown()
- func (m *Occurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Occurrence) XXX_Merge(src proto.Message)
- func (*Occurrence) XXX_OneofWrappers() []interface{}
- func (m *Occurrence) XXX_Size() int
- func (m *Occurrence) XXX_Unmarshal(b []byte) error
- type Occurrence_AttestationDetails
- type Occurrence_BuildDetails
- type Occurrence_DeploymentDetails
- type Occurrence_DerivedImageDetails
- type Occurrence_DiscoveredDetails
- type Occurrence_InstallationDetails
- type Occurrence_VulnerabilityDetails
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)
- func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp
- func (m *OperationMetadata) GetEndTime() *timestamp.Timestamp
- func (*OperationMetadata) ProtoMessage()
- func (m *OperationMetadata) Reset()
- func (m *OperationMetadata) String() string
- func (m *OperationMetadata) XXX_DiscardUnknown()
- func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OperationMetadata) XXX_Merge(src proto.Message)
- func (m *OperationMetadata) XXX_Size() int
- func (m *OperationMetadata) XXX_Unmarshal(b []byte) error
- type PackageManager
- func (*PackageManager) Descriptor() ([]byte, []int)
- func (*PackageManager) ProtoMessage()
- func (m *PackageManager) Reset()
- func (m *PackageManager) String() string
- func (m *PackageManager) XXX_DiscardUnknown()
- func (m *PackageManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageManager) XXX_Merge(src proto.Message)
- func (m *PackageManager) XXX_Size() int
- func (m *PackageManager) XXX_Unmarshal(b []byte) error
- type PackageManager_Architecture
- type PackageManager_Distribution
- func (*PackageManager_Distribution) Descriptor() ([]byte, []int)
- func (m *PackageManager_Distribution) GetArchitecture() PackageManager_Architecture
- func (m *PackageManager_Distribution) GetCpeUri() string
- func (m *PackageManager_Distribution) GetDescription() string
- func (m *PackageManager_Distribution) GetLatestVersion() *VulnerabilityType_Version
- func (m *PackageManager_Distribution) GetMaintainer() string
- func (m *PackageManager_Distribution) GetUrl() string
- func (*PackageManager_Distribution) ProtoMessage()
- func (m *PackageManager_Distribution) Reset()
- func (m *PackageManager_Distribution) String() string
- func (m *PackageManager_Distribution) XXX_DiscardUnknown()
- func (m *PackageManager_Distribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageManager_Distribution) XXX_Merge(src proto.Message)
- func (m *PackageManager_Distribution) XXX_Size() int
- func (m *PackageManager_Distribution) XXX_Unmarshal(b []byte) error
- type PackageManager_InstallationDetails
- func (*PackageManager_InstallationDetails) Descriptor() ([]byte, []int)
- func (m *PackageManager_InstallationDetails) GetLocation() []*PackageManager_Location
- func (m *PackageManager_InstallationDetails) GetName() string
- func (*PackageManager_InstallationDetails) ProtoMessage()
- func (m *PackageManager_InstallationDetails) Reset()
- func (m *PackageManager_InstallationDetails) String() string
- func (m *PackageManager_InstallationDetails) XXX_DiscardUnknown()
- func (m *PackageManager_InstallationDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageManager_InstallationDetails) XXX_Merge(src proto.Message)
- func (m *PackageManager_InstallationDetails) XXX_Size() int
- func (m *PackageManager_InstallationDetails) XXX_Unmarshal(b []byte) error
- type PackageManager_Location
- func (*PackageManager_Location) Descriptor() ([]byte, []int)
- func (m *PackageManager_Location) GetCpeUri() string
- func (m *PackageManager_Location) GetPath() string
- func (m *PackageManager_Location) GetVersion() *VulnerabilityType_Version
- func (*PackageManager_Location) ProtoMessage()
- func (m *PackageManager_Location) Reset()
- func (m *PackageManager_Location) String() string
- func (m *PackageManager_Location) XXX_DiscardUnknown()
- func (m *PackageManager_Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageManager_Location) XXX_Merge(src proto.Message)
- func (m *PackageManager_Location) XXX_Size() int
- func (m *PackageManager_Location) XXX_Unmarshal(b []byte) error
- type PackageManager_Package
- func (*PackageManager_Package) Descriptor() ([]byte, []int)
- func (m *PackageManager_Package) GetDistribution() []*PackageManager_Distribution
- func (m *PackageManager_Package) GetName() string
- func (*PackageManager_Package) ProtoMessage()
- func (m *PackageManager_Package) Reset()
- func (m *PackageManager_Package) String() string
- func (m *PackageManager_Package) XXX_DiscardUnknown()
- func (m *PackageManager_Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageManager_Package) XXX_Merge(src proto.Message)
- func (m *PackageManager_Package) XXX_Size() int
- func (m *PackageManager_Package) XXX_Unmarshal(b []byte) error
- type PgpSignedAttestation
- func (*PgpSignedAttestation) Descriptor() ([]byte, []int)
- func (m *PgpSignedAttestation) GetContentType() PgpSignedAttestation_ContentType
- func (m *PgpSignedAttestation) GetKeyId() isPgpSignedAttestation_KeyId
- func (m *PgpSignedAttestation) GetPgpKeyId() string
- func (m *PgpSignedAttestation) GetSignature() string
- func (*PgpSignedAttestation) ProtoMessage()
- func (m *PgpSignedAttestation) Reset()
- func (m *PgpSignedAttestation) String() string
- func (m *PgpSignedAttestation) XXX_DiscardUnknown()
- func (m *PgpSignedAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PgpSignedAttestation) XXX_Merge(src proto.Message)
- func (*PgpSignedAttestation) XXX_OneofWrappers() []interface{}
- func (m *PgpSignedAttestation) XXX_Size() int
- func (m *PgpSignedAttestation) XXX_Unmarshal(b []byte) error
- type PgpSignedAttestation_ContentType
- type PgpSignedAttestation_PgpKeyId
- type Project
- func (*Project) Descriptor() ([]byte, []int)
- func (m *Project) GetName() string
- func (*Project) ProtoMessage()
- func (m *Project) Reset()
- func (m *Project) String() string
- func (m *Project) XXX_DiscardUnknown()
- func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Project) XXX_Merge(src proto.Message)
- func (m *Project) XXX_Size() int
- func (m *Project) XXX_Unmarshal(b []byte) error
- type ProjectRepoId
- func (*ProjectRepoId) Descriptor() ([]byte, []int)
- func (m *ProjectRepoId) GetProjectId() string
- func (m *ProjectRepoId) GetRepoName() string
- func (*ProjectRepoId) ProtoMessage()
- func (m *ProjectRepoId) Reset()
- func (m *ProjectRepoId) String() string
- func (m *ProjectRepoId) XXX_DiscardUnknown()
- func (m *ProjectRepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectRepoId) XXX_Merge(src proto.Message)
- func (m *ProjectRepoId) XXX_Size() int
- func (m *ProjectRepoId) XXX_Unmarshal(b []byte) error
- type RepoId
- func (*RepoId) Descriptor() ([]byte, []int)
- func (m *RepoId) GetId() isRepoId_Id
- func (m *RepoId) GetProjectRepoId() *ProjectRepoId
- func (m *RepoId) GetUid() string
- func (*RepoId) ProtoMessage()
- func (m *RepoId) Reset()
- func (m *RepoId) String() string
- func (m *RepoId) XXX_DiscardUnknown()
- func (m *RepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepoId) XXX_Merge(src proto.Message)
- func (*RepoId) XXX_OneofWrappers() []interface{}
- func (m *RepoId) XXX_Size() int
- func (m *RepoId) XXX_Unmarshal(b []byte) error
- type RepoId_ProjectRepoId
- type RepoId_Uid
- type RepoSource
- func (*RepoSource) Descriptor() ([]byte, []int)
- func (m *RepoSource) GetBranchName() string
- func (m *RepoSource) GetCommitSha() string
- func (m *RepoSource) GetProjectId() string
- func (m *RepoSource) GetRepoName() string
- func (m *RepoSource) GetRevision() isRepoSource_Revision
- func (m *RepoSource) GetTagName() string
- func (*RepoSource) ProtoMessage()
- func (m *RepoSource) Reset()
- func (m *RepoSource) String() string
- func (m *RepoSource) XXX_DiscardUnknown()
- func (m *RepoSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepoSource) XXX_Merge(src proto.Message)
- func (*RepoSource) XXX_OneofWrappers() []interface{}
- func (m *RepoSource) XXX_Size() int
- func (m *RepoSource) XXX_Unmarshal(b []byte) error
- type RepoSource_BranchName
- type RepoSource_CommitSha
- type RepoSource_TagName
- type Source
- func (*Source) Descriptor() ([]byte, []int)
- func (m *Source) GetAdditionalContexts() []*SourceContext
- func (m *Source) GetArtifactStorageSource() *StorageSource
- func (m *Source) GetContext() *SourceContext
- func (m *Source) GetFileHashes() map[string]*FileHashes
- func (m *Source) GetRepoSource() *RepoSource
- func (m *Source) GetSource() isSource_Source
- func (m *Source) GetStorageSource() *StorageSource
- func (*Source) ProtoMessage()
- func (m *Source) Reset()
- func (m *Source) String() string
- func (m *Source) XXX_DiscardUnknown()
- func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Source) XXX_Merge(src proto.Message)
- func (*Source) XXX_OneofWrappers() []interface{}
- func (m *Source) XXX_Size() int
- func (m *Source) XXX_Unmarshal(b []byte) error
- type SourceContext
- func (*SourceContext) Descriptor() ([]byte, []int)
- func (m *SourceContext) GetCloudRepo() *CloudRepoSourceContext
- func (m *SourceContext) GetContext() isSourceContext_Context
- func (m *SourceContext) GetGerrit() *GerritSourceContext
- func (m *SourceContext) GetGit() *GitSourceContext
- func (m *SourceContext) GetLabels() map[string]string
- func (*SourceContext) ProtoMessage()
- func (m *SourceContext) Reset()
- func (m *SourceContext) String() string
- func (m *SourceContext) XXX_DiscardUnknown()
- func (m *SourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SourceContext) XXX_Merge(src proto.Message)
- func (*SourceContext) XXX_OneofWrappers() []interface{}
- func (m *SourceContext) XXX_Size() int
- func (m *SourceContext) XXX_Unmarshal(b []byte) error
- type SourceContext_CloudRepo
- type SourceContext_Gerrit
- type SourceContext_Git
- type Source_RepoSource
- type Source_StorageSource
- type StorageSource
- func (*StorageSource) Descriptor() ([]byte, []int)
- func (m *StorageSource) GetBucket() string
- func (m *StorageSource) GetGeneration() int64
- func (m *StorageSource) GetObject() string
- func (*StorageSource) ProtoMessage()
- func (m *StorageSource) Reset()
- func (m *StorageSource) String() string
- func (m *StorageSource) XXX_DiscardUnknown()
- func (m *StorageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorageSource) XXX_Merge(src proto.Message)
- func (m *StorageSource) XXX_Size() int
- func (m *StorageSource) XXX_Unmarshal(b []byte) error
- type UnimplementedGrafeasProjectsServer
- func (*UnimplementedGrafeasProjectsServer) CreateProject(ctx context.Context, req *CreateProjectRequest) (*empty.Empty, error)
- func (*UnimplementedGrafeasProjectsServer) DeleteProject(ctx context.Context, req *DeleteProjectRequest) (*empty.Empty, error)
- func (*UnimplementedGrafeasProjectsServer) GetProject(ctx context.Context, req *GetProjectRequest) (*Project, error)
- func (*UnimplementedGrafeasProjectsServer) ListProjects(ctx context.Context, req *ListProjectsRequest) (*ListProjectsResponse, error)
- type UnimplementedGrafeasServer
- func (*UnimplementedGrafeasServer) CreateNote(ctx context.Context, req *CreateNoteRequest) (*Note, error)
- func (*UnimplementedGrafeasServer) CreateOccurrence(ctx context.Context, req *CreateOccurrenceRequest) (*Occurrence, error)
- func (*UnimplementedGrafeasServer) CreateOperation(ctx context.Context, req *CreateOperationRequest) (*longrunning.Operation, error)
- func (*UnimplementedGrafeasServer) DeleteNote(ctx context.Context, req *DeleteNoteRequest) (*empty.Empty, error)
- func (*UnimplementedGrafeasServer) DeleteOccurrence(ctx context.Context, req *DeleteOccurrenceRequest) (*empty.Empty, error)
- func (*UnimplementedGrafeasServer) GetNote(ctx context.Context, req *GetNoteRequest) (*Note, error)
- func (*UnimplementedGrafeasServer) GetOccurrence(ctx context.Context, req *GetOccurrenceRequest) (*Occurrence, error)
- func (*UnimplementedGrafeasServer) GetOccurrenceNote(ctx context.Context, req *GetOccurrenceNoteRequest) (*Note, error)
- func (*UnimplementedGrafeasServer) ListNoteOccurrences(ctx context.Context, req *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error)
- func (*UnimplementedGrafeasServer) ListNotes(ctx context.Context, req *ListNotesRequest) (*ListNotesResponse, error)
- func (*UnimplementedGrafeasServer) ListOccurrences(ctx context.Context, req *ListOccurrencesRequest) (*ListOccurrencesResponse, error)
- func (*UnimplementedGrafeasServer) UpdateNote(ctx context.Context, req *UpdateNoteRequest) (*Note, error)
- func (*UnimplementedGrafeasServer) UpdateOccurrence(ctx context.Context, req *UpdateOccurrenceRequest) (*Occurrence, error)
- func (*UnimplementedGrafeasServer) UpdateOperation(ctx context.Context, req *UpdateOperationRequest) (*longrunning.Operation, error)
- type UpdateNoteRequest
- func (*UpdateNoteRequest) Descriptor() ([]byte, []int)
- func (m *UpdateNoteRequest) GetName() string
- func (m *UpdateNoteRequest) GetNote() *Note
- func (m *UpdateNoteRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateNoteRequest) ProtoMessage()
- func (m *UpdateNoteRequest) Reset()
- func (m *UpdateNoteRequest) String() string
- func (m *UpdateNoteRequest) XXX_DiscardUnknown()
- func (m *UpdateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateNoteRequest) XXX_Merge(src proto.Message)
- func (m *UpdateNoteRequest) XXX_Size() int
- func (m *UpdateNoteRequest) XXX_Unmarshal(b []byte) error
- type UpdateOccurrenceRequest
- func (*UpdateOccurrenceRequest) Descriptor() ([]byte, []int)
- func (m *UpdateOccurrenceRequest) GetName() string
- func (m *UpdateOccurrenceRequest) GetOccurrence() *Occurrence
- func (m *UpdateOccurrenceRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateOccurrenceRequest) ProtoMessage()
- func (m *UpdateOccurrenceRequest) Reset()
- func (m *UpdateOccurrenceRequest) String() string
- func (m *UpdateOccurrenceRequest) XXX_DiscardUnknown()
- func (m *UpdateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateOccurrenceRequest) XXX_Merge(src proto.Message)
- func (m *UpdateOccurrenceRequest) XXX_Size() int
- func (m *UpdateOccurrenceRequest) XXX_Unmarshal(b []byte) error
- type UpdateOperationRequest
- func (*UpdateOperationRequest) Descriptor() ([]byte, []int)
- func (m *UpdateOperationRequest) GetName() string
- func (m *UpdateOperationRequest) GetOperation() *longrunning.Operation
- func (*UpdateOperationRequest) ProtoMessage()
- func (m *UpdateOperationRequest) Reset()
- func (m *UpdateOperationRequest) String() string
- func (m *UpdateOperationRequest) XXX_DiscardUnknown()
- func (m *UpdateOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateOperationRequest) XXX_Merge(src proto.Message)
- func (m *UpdateOperationRequest) XXX_Size() int
- func (m *UpdateOperationRequest) XXX_Unmarshal(b []byte) error
- type VulnerabilityType
- func (*VulnerabilityType) Descriptor() ([]byte, []int)
- func (m *VulnerabilityType) GetCvssScore() float32
- func (m *VulnerabilityType) GetDetails() []*VulnerabilityType_Detail
- func (m *VulnerabilityType) GetSeverity() VulnerabilityType_Severity
- func (*VulnerabilityType) ProtoMessage()
- func (m *VulnerabilityType) Reset()
- func (m *VulnerabilityType) String() string
- func (m *VulnerabilityType) XXX_DiscardUnknown()
- func (m *VulnerabilityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VulnerabilityType) XXX_Merge(src proto.Message)
- func (m *VulnerabilityType) XXX_Size() int
- func (m *VulnerabilityType) XXX_Unmarshal(b []byte) error
- type VulnerabilityType_Detail
- func (*VulnerabilityType_Detail) Descriptor() ([]byte, []int)
- func (m *VulnerabilityType_Detail) GetCpeUri() string
- func (m *VulnerabilityType_Detail) GetDescription() string
- func (m *VulnerabilityType_Detail) GetFixedLocation() *VulnerabilityType_VulnerabilityLocation
- func (m *VulnerabilityType_Detail) GetMaxAffectedVersion() *VulnerabilityType_Version
- func (m *VulnerabilityType_Detail) GetMinAffectedVersion() *VulnerabilityType_Version
- func (m *VulnerabilityType_Detail) GetPackage() string
- func (m *VulnerabilityType_Detail) GetPackageType() string
- func (m *VulnerabilityType_Detail) GetSeverityName() string
- func (*VulnerabilityType_Detail) ProtoMessage()
- func (m *VulnerabilityType_Detail) Reset()
- func (m *VulnerabilityType_Detail) String() string
- func (m *VulnerabilityType_Detail) XXX_DiscardUnknown()
- func (m *VulnerabilityType_Detail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VulnerabilityType_Detail) XXX_Merge(src proto.Message)
- func (m *VulnerabilityType_Detail) XXX_Size() int
- func (m *VulnerabilityType_Detail) XXX_Unmarshal(b []byte) error
- type VulnerabilityType_PackageIssue
- func (*VulnerabilityType_PackageIssue) Descriptor() ([]byte, []int)
- func (m *VulnerabilityType_PackageIssue) GetAffectedLocation() *VulnerabilityType_VulnerabilityLocation
- func (m *VulnerabilityType_PackageIssue) GetFixedLocation() *VulnerabilityType_VulnerabilityLocation
- func (m *VulnerabilityType_PackageIssue) GetSeverityName() string
- func (*VulnerabilityType_PackageIssue) ProtoMessage()
- func (m *VulnerabilityType_PackageIssue) Reset()
- func (m *VulnerabilityType_PackageIssue) String() string
- func (m *VulnerabilityType_PackageIssue) XXX_DiscardUnknown()
- func (m *VulnerabilityType_PackageIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VulnerabilityType_PackageIssue) XXX_Merge(src proto.Message)
- func (m *VulnerabilityType_PackageIssue) XXX_Size() int
- func (m *VulnerabilityType_PackageIssue) XXX_Unmarshal(b []byte) error
- type VulnerabilityType_Severity
- type VulnerabilityType_Version
- func (*VulnerabilityType_Version) Descriptor() ([]byte, []int)
- func (m *VulnerabilityType_Version) GetEpoch() int32
- func (m *VulnerabilityType_Version) GetKind() VulnerabilityType_Version_VersionKind
- func (m *VulnerabilityType_Version) GetName() string
- func (m *VulnerabilityType_Version) GetRevision() string
- func (*VulnerabilityType_Version) ProtoMessage()
- func (m *VulnerabilityType_Version) Reset()
- func (m *VulnerabilityType_Version) String() string
- func (m *VulnerabilityType_Version) XXX_DiscardUnknown()
- func (m *VulnerabilityType_Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VulnerabilityType_Version) XXX_Merge(src proto.Message)
- func (m *VulnerabilityType_Version) XXX_Size() int
- func (m *VulnerabilityType_Version) XXX_Unmarshal(b []byte) error
- type VulnerabilityType_Version_VersionKind
- type VulnerabilityType_VulnerabilityDetails
- func (*VulnerabilityType_VulnerabilityDetails) Descriptor() ([]byte, []int)
- func (m *VulnerabilityType_VulnerabilityDetails) GetCvssScore() float32
- func (m *VulnerabilityType_VulnerabilityDetails) GetPackageIssue() []*VulnerabilityType_PackageIssue
- func (m *VulnerabilityType_VulnerabilityDetails) GetSeverity() VulnerabilityType_Severity
- func (m *VulnerabilityType_VulnerabilityDetails) GetType() string
- func (*VulnerabilityType_VulnerabilityDetails) ProtoMessage()
- func (m *VulnerabilityType_VulnerabilityDetails) Reset()
- func (m *VulnerabilityType_VulnerabilityDetails) String() string
- func (m *VulnerabilityType_VulnerabilityDetails) XXX_DiscardUnknown()
- func (m *VulnerabilityType_VulnerabilityDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VulnerabilityType_VulnerabilityDetails) XXX_Merge(src proto.Message)
- func (m *VulnerabilityType_VulnerabilityDetails) XXX_Size() int
- func (m *VulnerabilityType_VulnerabilityDetails) XXX_Unmarshal(b []byte) error
- type VulnerabilityType_VulnerabilityLocation
- func (*VulnerabilityType_VulnerabilityLocation) Descriptor() ([]byte, []int)
- func (m *VulnerabilityType_VulnerabilityLocation) GetCpeUri() string
- func (m *VulnerabilityType_VulnerabilityLocation) GetPackage() string
- func (m *VulnerabilityType_VulnerabilityLocation) GetVersion() *VulnerabilityType_Version
- func (*VulnerabilityType_VulnerabilityLocation) ProtoMessage()
- func (m *VulnerabilityType_VulnerabilityLocation) Reset()
- func (m *VulnerabilityType_VulnerabilityLocation) String() string
- func (m *VulnerabilityType_VulnerabilityLocation) XXX_DiscardUnknown()
- func (m *VulnerabilityType_VulnerabilityLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VulnerabilityType_VulnerabilityLocation) XXX_Merge(src proto.Message)
- func (m *VulnerabilityType_VulnerabilityLocation) XXX_Size() int
- func (m *VulnerabilityType_VulnerabilityLocation) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var AliasContext_Kind_name = map[int32]string{
0: "KIND_UNSPECIFIED",
1: "FIXED",
2: "MOVABLE",
4: "OTHER",
}
var AliasContext_Kind_value = map[string]int32{
"KIND_UNSPECIFIED": 0,
"FIXED": 1,
"MOVABLE": 2,
"OTHER": 4,
}
var BuildSignature_KeyType_name = map[int32]string{
0: "KEY_TYPE_UNSPECIFIED",
1: "PGP_ASCII_ARMORED",
2: "PKIX_PEM",
}
var BuildSignature_KeyType_value = map[string]int32{
"KEY_TYPE_UNSPECIFIED": 0,
"PGP_ASCII_ARMORED": 1,
"PKIX_PEM": 2,
}
var Deployable_DeploymentDetails_Platform_name = map[int32]string{
0: "PLATFORM_UNSPECIFIED",
1: "GKE",
2: "FLEX",
3: "CUSTOM",
}
var Deployable_DeploymentDetails_Platform_value = map[string]int32{
"PLATFORM_UNSPECIFIED": 0,
"GKE": 1,
"FLEX": 2,
"CUSTOM": 3,
}
var DockerImage_Layer_Directive_name = map[int32]string{
0: "DIRECTIVE_UNSPECIFIED",
1: "MAINTAINER",
2: "RUN",
3: "CMD",
4: "LABEL",
5: "EXPOSE",
6: "ENV",
7: "ADD",
8: "COPY",
9: "ENTRYPOINT",
10: "VOLUME",
11: "USER",
12: "WORKDIR",
13: "ARG",
14: "ONBUILD",
15: "STOPSIGNAL",
16: "HEALTHCHECK",
17: "SHELL",
}
var DockerImage_Layer_Directive_value = map[string]int32{
"DIRECTIVE_UNSPECIFIED": 0,
"MAINTAINER": 1,
"RUN": 2,
"CMD": 3,
"LABEL": 4,
"EXPOSE": 5,
"ENV": 6,
"ADD": 7,
"COPY": 8,
"ENTRYPOINT": 9,
"VOLUME": 10,
"USER": 11,
"WORKDIR": 12,
"ARG": 13,
"ONBUILD": 14,
"STOPSIGNAL": 15,
"HEALTHCHECK": 16,
"SHELL": 17,
}
var Hash_HashType_name = map[int32]string{
0: "NONE",
1: "SHA256",
}
var Hash_HashType_value = map[string]int32{
"NONE": 0,
"SHA256": 1,
}
var Note_Kind_name = map[int32]string{
0: "KIND_UNSPECIFIED",
2: "PACKAGE_VULNERABILITY",
3: "BUILD_DETAILS",
4: "IMAGE_BASIS",
5: "PACKAGE_MANAGER",
6: "DEPLOYABLE",
7: "DISCOVERY",
8: "ATTESTATION_AUTHORITY",
}
var Note_Kind_value = map[string]int32{
"KIND_UNSPECIFIED": 0,
"PACKAGE_VULNERABILITY": 2,
"BUILD_DETAILS": 3,
"IMAGE_BASIS": 4,
"PACKAGE_MANAGER": 5,
"DEPLOYABLE": 6,
"DISCOVERY": 7,
"ATTESTATION_AUTHORITY": 8,
}
var PackageManager_Architecture_name = map[int32]string{
0: "ARCHITECTURE_UNSPECIFIED",
1: "X86",
2: "X64",
}
var PackageManager_Architecture_value = map[string]int32{
"ARCHITECTURE_UNSPECIFIED": 0,
"X86": 1,
"X64": 2,
}
var PgpSignedAttestation_ContentType_name = map[int32]string{
0: "CONTENT_TYPE_UNSPECIFIED",
1: "SIMPLE_SIGNING_JSON",
}
var PgpSignedAttestation_ContentType_value = map[string]int32{
"CONTENT_TYPE_UNSPECIFIED": 0,
"SIMPLE_SIGNING_JSON": 1,
}
var VulnerabilityType_Severity_name = map[int32]string{
0: "SEVERITY_UNSPECIFIED",
1: "MINIMAL",
2: "LOW",
3: "MEDIUM",
4: "HIGH",
5: "CRITICAL",
}
var VulnerabilityType_Severity_value = map[string]int32{
"SEVERITY_UNSPECIFIED": 0,
"MINIMAL": 1,
"LOW": 2,
"MEDIUM": 3,
"HIGH": 4,
"CRITICAL": 5,
}
var VulnerabilityType_Version_VersionKind_name = map[int32]string{
0: "NORMAL",
1: "MINIMUM",
2: "MAXIMUM",
}
var VulnerabilityType_Version_VersionKind_value = map[string]int32{
"NORMAL": 0,
"MINIMUM": 1,
"MAXIMUM": 2,
}
Functions ¶
func RegisterGrafeasHandler ¶
func RegisterGrafeasHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterGrafeasHandler registers the http handlers for service Grafeas to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterGrafeasHandlerClient ¶
func RegisterGrafeasHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GrafeasClient) error
RegisterGrafeasHandlerClient registers the http handlers for service Grafeas to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GrafeasClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GrafeasClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GrafeasClient" to call the correct interceptors.
func RegisterGrafeasHandlerFromEndpoint ¶
func RegisterGrafeasHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterGrafeasHandlerFromEndpoint is same as RegisterGrafeasHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterGrafeasProjectsHandler ¶
func RegisterGrafeasProjectsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterGrafeasProjectsHandler registers the http handlers for service GrafeasProjects to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterGrafeasProjectsHandlerClient ¶
func RegisterGrafeasProjectsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GrafeasProjectsClient) error
RegisterGrafeasProjectsHandlerClient registers the http handlers for service GrafeasProjects to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GrafeasProjectsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GrafeasProjectsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GrafeasProjectsClient" to call the correct interceptors.
func RegisterGrafeasProjectsHandlerFromEndpoint ¶
func RegisterGrafeasProjectsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterGrafeasProjectsHandlerFromEndpoint is same as RegisterGrafeasProjectsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterGrafeasProjectsServer ¶
func RegisterGrafeasProjectsServer(s *grpc.Server, srv GrafeasProjectsServer)
func RegisterGrafeasServer ¶
func RegisterGrafeasServer(s *grpc.Server, srv GrafeasServer)
Types ¶
type AliasContext ¶
type AliasContext struct { // The alias kind. Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=grafeas.v1alpha1.api.AliasContext_Kind" json:"kind,omitempty"` // The alias name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An alias to a repo revision.
func (*AliasContext) Descriptor ¶
func (*AliasContext) Descriptor() ([]byte, []int)
func (*AliasContext) GetKind ¶
func (m *AliasContext) GetKind() AliasContext_Kind
func (*AliasContext) GetName ¶
func (m *AliasContext) GetName() string
func (*AliasContext) ProtoMessage ¶
func (*AliasContext) ProtoMessage()
func (*AliasContext) Reset ¶
func (m *AliasContext) Reset()
func (*AliasContext) String ¶
func (m *AliasContext) String() string
func (*AliasContext) XXX_DiscardUnknown ¶
func (m *AliasContext) XXX_DiscardUnknown()
func (*AliasContext) XXX_Marshal ¶
func (m *AliasContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AliasContext) XXX_Merge ¶
func (m *AliasContext) XXX_Merge(src proto.Message)
func (*AliasContext) XXX_Size ¶
func (m *AliasContext) XXX_Size() int
func (*AliasContext) XXX_Unmarshal ¶
func (m *AliasContext) XXX_Unmarshal(b []byte) error
type AliasContext_Kind ¶
type AliasContext_Kind int32
The type of an alias.
const ( // Unknown. AliasContext_KIND_UNSPECIFIED AliasContext_Kind = 0 // Git tag. AliasContext_FIXED AliasContext_Kind = 1 // Git branch. AliasContext_MOVABLE AliasContext_Kind = 2 // Used to specify non-standard aliases. For example, if a Git repo has a // ref named "refs/foo/bar". AliasContext_OTHER AliasContext_Kind = 4 )
func (AliasContext_Kind) EnumDescriptor ¶
func (AliasContext_Kind) EnumDescriptor() ([]byte, []int)
func (AliasContext_Kind) String ¶
func (x AliasContext_Kind) String() string
type Artifact ¶
type Artifact struct { // Name of the artifact. This may be the path to a binary or jar file, or in // the case of a container build, the name used to push the container image to // Google Container Registry, as presented to `docker push`. // // This field is deprecated in favor of the plural `names` field; it continues // to exist here to allow existing BuildProvenance serialized to json in // google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to // deserialize back into proto. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Hash or checksum value of a binary, or Docker Registry 2.0 digest of a // container. Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` // Artifact ID, if any; for container images, this will be a URL by digest // like gcr.io/projectID/imagename@sha256:123456 Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // Related artifact names. This may be the path to a binary or jar file, or in // the case of a container build, the name used to push the container image to // Google Container Registry, as presented to `docker push`. Note that a // single Artifact ID can have multiple names, for example if two tags are // applied to one image. Names []string `protobuf:"bytes,4,rep,name=names,proto3" json:"names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Artifact describes a build product.
func (*Artifact) Descriptor ¶
func (*Artifact) GetChecksum ¶
func (*Artifact) ProtoMessage ¶
func (*Artifact) ProtoMessage()
func (*Artifact) XXX_DiscardUnknown ¶
func (m *Artifact) XXX_DiscardUnknown()
func (*Artifact) XXX_Marshal ¶
func (*Artifact) XXX_Unmarshal ¶
type AttestationAuthority ¶
type AttestationAuthority struct { Hint *AttestationAuthority_AttestationAuthorityHint `protobuf:"bytes,1,opt,name=hint,proto3" json:"hint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one AttestationAuthority for "QA" and one for "build". This Note is intended to act strictly as a grouping mechanism for the attached Occurrences (Attestations). This grouping mechanism also provides a security boundary and provides a single point of lookup to find all attached Attestation Occurrences, even if they don't all live in the same project.
func (*AttestationAuthority) Descriptor ¶
func (*AttestationAuthority) Descriptor() ([]byte, []int)
func (*AttestationAuthority) GetHint ¶
func (m *AttestationAuthority) GetHint() *AttestationAuthority_AttestationAuthorityHint
func (*AttestationAuthority) ProtoMessage ¶
func (*AttestationAuthority) ProtoMessage()
func (*AttestationAuthority) Reset ¶
func (m *AttestationAuthority) Reset()
func (*AttestationAuthority) String ¶
func (m *AttestationAuthority) String() string
func (*AttestationAuthority) XXX_DiscardUnknown ¶
func (m *AttestationAuthority) XXX_DiscardUnknown()
func (*AttestationAuthority) XXX_Marshal ¶
func (m *AttestationAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttestationAuthority) XXX_Merge ¶
func (m *AttestationAuthority) XXX_Merge(src proto.Message)
func (*AttestationAuthority) XXX_Size ¶
func (m *AttestationAuthority) XXX_Size() int
func (*AttestationAuthority) XXX_Unmarshal ¶
func (m *AttestationAuthority) XXX_Unmarshal(b []byte) error
type AttestationAuthority_AttestationAuthorityHint ¶
type AttestationAuthority_AttestationAuthorityHint struct { // The human readable name of this Attestation Authority, e.g. "qa". HumanReadableName string `protobuf:"bytes,1,opt,name=human_readable_name,json=humanReadableName,proto3" json:"human_readable_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttestationAuthority_AttestationAuthorityHint) Descriptor ¶
func (*AttestationAuthority_AttestationAuthorityHint) Descriptor() ([]byte, []int)
func (*AttestationAuthority_AttestationAuthorityHint) GetHumanReadableName ¶
func (m *AttestationAuthority_AttestationAuthorityHint) GetHumanReadableName() string
func (*AttestationAuthority_AttestationAuthorityHint) ProtoMessage ¶
func (*AttestationAuthority_AttestationAuthorityHint) ProtoMessage()
func (*AttestationAuthority_AttestationAuthorityHint) Reset ¶
func (m *AttestationAuthority_AttestationAuthorityHint) Reset()
func (*AttestationAuthority_AttestationAuthorityHint) String ¶
func (m *AttestationAuthority_AttestationAuthorityHint) String() string
func (*AttestationAuthority_AttestationAuthorityHint) XXX_DiscardUnknown ¶
func (m *AttestationAuthority_AttestationAuthorityHint) XXX_DiscardUnknown()
func (*AttestationAuthority_AttestationAuthorityHint) XXX_Marshal ¶
func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttestationAuthority_AttestationAuthorityHint) XXX_Merge ¶
func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Merge(src proto.Message)
func (*AttestationAuthority_AttestationAuthorityHint) XXX_Size ¶
func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Size() int
func (*AttestationAuthority_AttestationAuthorityHint) XXX_Unmarshal ¶
func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Unmarshal(b []byte) error
type AttestationAuthority_AttestationDetails ¶
type AttestationAuthority_AttestationDetails struct { // The signature, generally over the `resource_url`, that verifies this // attestation. The semantics of the signature veracity are ultimately // determined by the verification engine. // // Types that are valid to be assigned to Signature: // *AttestationAuthority_AttestationDetails_PgpSignedAttestation Signature isAttestationAuthority_AttestationDetails_Signature `protobuf_oneof:"signature"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttestationAuthority_AttestationDetails) Descriptor ¶
func (*AttestationAuthority_AttestationDetails) Descriptor() ([]byte, []int)
func (*AttestationAuthority_AttestationDetails) GetPgpSignedAttestation ¶
func (m *AttestationAuthority_AttestationDetails) GetPgpSignedAttestation() *PgpSignedAttestation
func (*AttestationAuthority_AttestationDetails) GetSignature ¶
func (m *AttestationAuthority_AttestationDetails) GetSignature() isAttestationAuthority_AttestationDetails_Signature
func (*AttestationAuthority_AttestationDetails) ProtoMessage ¶
func (*AttestationAuthority_AttestationDetails) ProtoMessage()
func (*AttestationAuthority_AttestationDetails) Reset ¶
func (m *AttestationAuthority_AttestationDetails) Reset()
func (*AttestationAuthority_AttestationDetails) String ¶
func (m *AttestationAuthority_AttestationDetails) String() string
func (*AttestationAuthority_AttestationDetails) XXX_DiscardUnknown ¶
func (m *AttestationAuthority_AttestationDetails) XXX_DiscardUnknown()
func (*AttestationAuthority_AttestationDetails) XXX_Marshal ¶
func (m *AttestationAuthority_AttestationDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttestationAuthority_AttestationDetails) XXX_Merge ¶
func (m *AttestationAuthority_AttestationDetails) XXX_Merge(src proto.Message)
func (*AttestationAuthority_AttestationDetails) XXX_OneofWrappers ¶
func (*AttestationAuthority_AttestationDetails) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*AttestationAuthority_AttestationDetails) XXX_Size ¶
func (m *AttestationAuthority_AttestationDetails) XXX_Size() int
func (*AttestationAuthority_AttestationDetails) XXX_Unmarshal ¶
func (m *AttestationAuthority_AttestationDetails) XXX_Unmarshal(b []byte) error
type AttestationAuthority_AttestationDetails_PgpSignedAttestation ¶
type AttestationAuthority_AttestationDetails_PgpSignedAttestation struct {
PgpSignedAttestation *PgpSignedAttestation `protobuf:"bytes,1,opt,name=pgp_signed_attestation,json=pgpSignedAttestation,proto3,oneof"`
}
type BuildDetails ¶
type BuildDetails struct { // The actual provenance Provenance *BuildProvenance `protobuf:"bytes,1,opt,name=provenance,proto3" json:"provenance,omitempty"` // Serialized JSON representation of the provenance, used in generating the // `BuildSignature` in the corresponding Result. After verifying the // signature, `provenance_bytes` can be unmarshalled and compared to the // provenance to confirm that it is unchanged. A base64-encoded string // representation of the provenance bytes is used for the signature in order // to interoperate with openssl which expects this format for signature // verification. // // The serialized form is captured both to avoid ambiguity in how the // provenance is marshalled to json as well to prevent incompatibilities with // future changes. ProvenanceBytes string `protobuf:"bytes,2,opt,name=provenance_bytes,json=provenanceBytes,proto3" json:"provenance_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message encapsulating build provenance details.
func (*BuildDetails) Descriptor ¶
func (*BuildDetails) Descriptor() ([]byte, []int)
func (*BuildDetails) GetProvenance ¶
func (m *BuildDetails) GetProvenance() *BuildProvenance
func (*BuildDetails) GetProvenanceBytes ¶
func (m *BuildDetails) GetProvenanceBytes() string
func (*BuildDetails) ProtoMessage ¶
func (*BuildDetails) ProtoMessage()
func (*BuildDetails) Reset ¶
func (m *BuildDetails) Reset()
func (*BuildDetails) String ¶
func (m *BuildDetails) String() string
func (*BuildDetails) XXX_DiscardUnknown ¶
func (m *BuildDetails) XXX_DiscardUnknown()
func (*BuildDetails) XXX_Marshal ¶
func (m *BuildDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuildDetails) XXX_Merge ¶
func (m *BuildDetails) XXX_Merge(src proto.Message)
func (*BuildDetails) XXX_Size ¶
func (m *BuildDetails) XXX_Size() int
func (*BuildDetails) XXX_Unmarshal ¶
func (m *BuildDetails) XXX_Unmarshal(b []byte) error
type BuildProvenance ¶
type BuildProvenance struct { // Unique identifier of the build. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the project. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Commands requested by the build. Commands []*Command `protobuf:"bytes,5,rep,name=commands,proto3" json:"commands,omitempty"` // Output of the build. BuiltArtifacts []*Artifact `protobuf:"bytes,6,rep,name=built_artifacts,json=builtArtifacts,proto3" json:"built_artifacts,omitempty"` // Time at which the build was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Time at which execution of the build was started. StartTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Time at which execution of the build was finished. FinishTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` // E-mail address of the user who initiated this build. Note that this was the // user's e-mail address at the time the build was initiated; this address may // not represent the same end-user for all time. Creator string `protobuf:"bytes,11,opt,name=creator,proto3" json:"creator,omitempty"` // Google Cloud Storage bucket where logs were written. LogsBucket string `protobuf:"bytes,13,opt,name=logs_bucket,json=logsBucket,proto3" json:"logs_bucket,omitempty"` // Details of the Source input to the build. SourceProvenance *Source `protobuf:"bytes,14,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"` // Trigger identifier if the build was triggered automatically; empty if not. TriggerId string `protobuf:"bytes,15,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // Special options applied to this build. This is a catch-all field where // build providers can enter any desired additional details. BuildOptions map[string]string `` /* 186-byte string literal not displayed */ // Version string of the builder at the time this build was executed. BuilderVersion string `protobuf:"bytes,17,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.
func (*BuildProvenance) Descriptor ¶
func (*BuildProvenance) Descriptor() ([]byte, []int)
func (*BuildProvenance) GetBuildOptions ¶
func (m *BuildProvenance) GetBuildOptions() map[string]string
func (*BuildProvenance) GetBuilderVersion ¶
func (m *BuildProvenance) GetBuilderVersion() string
func (*BuildProvenance) GetBuiltArtifacts ¶
func (m *BuildProvenance) GetBuiltArtifacts() []*Artifact
func (*BuildProvenance) GetCommands ¶
func (m *BuildProvenance) GetCommands() []*Command
func (*BuildProvenance) GetCreateTime ¶
func (m *BuildProvenance) GetCreateTime() *timestamp.Timestamp
func (*BuildProvenance) GetCreator ¶
func (m *BuildProvenance) GetCreator() string
func (*BuildProvenance) GetFinishTime ¶
func (m *BuildProvenance) GetFinishTime() *timestamp.Timestamp
func (*BuildProvenance) GetId ¶
func (m *BuildProvenance) GetId() string
func (*BuildProvenance) GetLogsBucket ¶
func (m *BuildProvenance) GetLogsBucket() string
func (*BuildProvenance) GetProjectId ¶
func (m *BuildProvenance) GetProjectId() string
func (*BuildProvenance) GetSourceProvenance ¶
func (m *BuildProvenance) GetSourceProvenance() *Source
func (*BuildProvenance) GetStartTime ¶
func (m *BuildProvenance) GetStartTime() *timestamp.Timestamp
func (*BuildProvenance) GetTriggerId ¶
func (m *BuildProvenance) GetTriggerId() string
func (*BuildProvenance) ProtoMessage ¶
func (*BuildProvenance) ProtoMessage()
func (*BuildProvenance) Reset ¶
func (m *BuildProvenance) Reset()
func (*BuildProvenance) String ¶
func (m *BuildProvenance) String() string
func (*BuildProvenance) XXX_DiscardUnknown ¶
func (m *BuildProvenance) XXX_DiscardUnknown()
func (*BuildProvenance) XXX_Marshal ¶
func (m *BuildProvenance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuildProvenance) XXX_Merge ¶
func (m *BuildProvenance) XXX_Merge(src proto.Message)
func (*BuildProvenance) XXX_Size ¶
func (m *BuildProvenance) XXX_Size() int
func (*BuildProvenance) XXX_Unmarshal ¶
func (m *BuildProvenance) XXX_Unmarshal(b []byte) error
type BuildSignature ¶
type BuildSignature struct { // Public key of the builder which can be used to verify that the related // findings are valid and unchanged. If `key_type` is empty, this defaults // to PEM encoded public keys. // // This field may be empty if `key_id` references an external key. // // For Cloud Container Builder based signatures, this is a PEM encoded public // key. To verify the Cloud Container Builder signature, place the contents of // this field into a file (public.pem). The signature field is base64-decoded // into its binary representation in signature.bin, and the provenance bytes // from `BuildDetails` are base64-decoded into a binary representation in // signed.bin. OpenSSL can then verify the signature: // `openssl sha256 -verify public.pem -signature signature.bin signed.bin` PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // Signature of the related `BuildProvenance`, encoded in a base64 string. Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // An Id for the key used to sign. This could be either an Id for the key // stored in `public_key` (such as the Id or fingerprint for a PGP key, or the // CN for a cert), or a reference to an external key (such as a reference to a // key in Cloud Key Management Service). KeyId string `protobuf:"bytes,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // The type of the key, either stored in `public_key` or referenced in // `key_id` KeyType BuildSignature_KeyType `` /* 132-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message encapsulating the signature of the verified build.
func (*BuildSignature) Descriptor ¶
func (*BuildSignature) Descriptor() ([]byte, []int)
func (*BuildSignature) GetKeyId ¶
func (m *BuildSignature) GetKeyId() string
func (*BuildSignature) GetKeyType ¶
func (m *BuildSignature) GetKeyType() BuildSignature_KeyType
func (*BuildSignature) GetPublicKey ¶
func (m *BuildSignature) GetPublicKey() string
func (*BuildSignature) GetSignature ¶
func (m *BuildSignature) GetSignature() string
func (*BuildSignature) ProtoMessage ¶
func (*BuildSignature) ProtoMessage()
func (*BuildSignature) Reset ¶
func (m *BuildSignature) Reset()
func (*BuildSignature) String ¶
func (m *BuildSignature) String() string
func (*BuildSignature) XXX_DiscardUnknown ¶
func (m *BuildSignature) XXX_DiscardUnknown()
func (*BuildSignature) XXX_Marshal ¶
func (m *BuildSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuildSignature) XXX_Merge ¶
func (m *BuildSignature) XXX_Merge(src proto.Message)
func (*BuildSignature) XXX_Size ¶
func (m *BuildSignature) XXX_Size() int
func (*BuildSignature) XXX_Unmarshal ¶
func (m *BuildSignature) XXX_Unmarshal(b []byte) error
type BuildSignature_KeyType ¶
type BuildSignature_KeyType int32
Public key formats
const ( // `KeyType` is not set. BuildSignature_KEY_TYPE_UNSPECIFIED BuildSignature_KeyType = 0 // `PGP ASCII Armored` public key. BuildSignature_PGP_ASCII_ARMORED BuildSignature_KeyType = 1 // `PKIX PEM` public key. BuildSignature_PKIX_PEM BuildSignature_KeyType = 2 )
func (BuildSignature_KeyType) EnumDescriptor ¶
func (BuildSignature_KeyType) EnumDescriptor() ([]byte, []int)
func (BuildSignature_KeyType) String ¶
func (x BuildSignature_KeyType) String() string
type BuildType ¶
type BuildType struct { // Version of the builder which produced this Note. BuilderVersion string `protobuf:"bytes,1,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"` // Signature of the build in Occurrences pointing to the Note containing this // `BuilderDetails`. Signature *BuildSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Note holding the version of the provider's builder and the signature of the provenance message in linked BuildDetails.
func (*BuildType) Descriptor ¶
func (*BuildType) GetBuilderVersion ¶
func (*BuildType) GetSignature ¶
func (m *BuildType) GetSignature() *BuildSignature
func (*BuildType) ProtoMessage ¶
func (*BuildType) ProtoMessage()
func (*BuildType) XXX_DiscardUnknown ¶
func (m *BuildType) XXX_DiscardUnknown()
func (*BuildType) XXX_Marshal ¶
func (*BuildType) XXX_Unmarshal ¶
type CloudRepoSourceContext ¶
type CloudRepoSourceContext struct { // The ID of the repo. RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` // A revision in a Cloud Repo can be identified by either its revision ID or // its alias. // // Types that are valid to be assigned to Revision: // *CloudRepoSourceContext_RevisionId // *CloudRepoSourceContext_AliasContext Revision isCloudRepoSourceContext_Revision `protobuf_oneof:"revision"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.
func (*CloudRepoSourceContext) Descriptor ¶
func (*CloudRepoSourceContext) Descriptor() ([]byte, []int)
func (*CloudRepoSourceContext) GetAliasContext ¶
func (m *CloudRepoSourceContext) GetAliasContext() *AliasContext
func (*CloudRepoSourceContext) GetRepoId ¶
func (m *CloudRepoSourceContext) GetRepoId() *RepoId
func (*CloudRepoSourceContext) GetRevision ¶
func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision
func (*CloudRepoSourceContext) GetRevisionId ¶
func (m *CloudRepoSourceContext) GetRevisionId() string
func (*CloudRepoSourceContext) ProtoMessage ¶
func (*CloudRepoSourceContext) ProtoMessage()
func (*CloudRepoSourceContext) Reset ¶
func (m *CloudRepoSourceContext) Reset()
func (*CloudRepoSourceContext) String ¶
func (m *CloudRepoSourceContext) String() string
func (*CloudRepoSourceContext) XXX_DiscardUnknown ¶
func (m *CloudRepoSourceContext) XXX_DiscardUnknown()
func (*CloudRepoSourceContext) XXX_Marshal ¶
func (m *CloudRepoSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloudRepoSourceContext) XXX_Merge ¶
func (m *CloudRepoSourceContext) XXX_Merge(src proto.Message)
func (*CloudRepoSourceContext) XXX_OneofWrappers ¶
func (*CloudRepoSourceContext) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*CloudRepoSourceContext) XXX_Size ¶
func (m *CloudRepoSourceContext) XXX_Size() int
func (*CloudRepoSourceContext) XXX_Unmarshal ¶
func (m *CloudRepoSourceContext) XXX_Unmarshal(b []byte) error
type CloudRepoSourceContext_AliasContext ¶
type CloudRepoSourceContext_AliasContext struct {
AliasContext *AliasContext `protobuf:"bytes,3,opt,name=alias_context,json=aliasContext,proto3,oneof"`
}
type CloudRepoSourceContext_RevisionId ¶
type CloudRepoSourceContext_RevisionId struct {
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3,oneof"`
}
type Command ¶
type Command struct { // Name of the command, as presented on the command line, or if the command is // packaged as a Docker container, as presented to `docker pull`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Environment variables set before running this Command. Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"` // Command-line arguments used when executing this Command. Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // Working directory (relative to project source root) used when running // this Command. Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"` // Optional unique identifier for this Command, used in wait_for to reference // this Command as a dependency. Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` // The ID(s) of the Command(s) that this Command depends on. WaitFor []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor,proto3" json:"wait_for,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Command describes a step performed as part of the build pipeline.
func (*Command) Descriptor ¶
func (*Command) GetWaitFor ¶
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) XXX_DiscardUnknown ¶
func (m *Command) XXX_DiscardUnknown()
func (*Command) XXX_Marshal ¶
func (*Command) XXX_Unmarshal ¶
type CreateNoteRequest ¶
type CreateNoteRequest struct { // This field contains the project Id for example: // "project/{project_id} Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` // The ID to use for this note. NoteId string `protobuf:"bytes,2,opt,name=note_id,json=noteId,proto3" json:"note_id,omitempty"` // The Note to be inserted Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to insert a new note
func (*CreateNoteRequest) Descriptor ¶
func (*CreateNoteRequest) Descriptor() ([]byte, []int)
func (*CreateNoteRequest) GetNote ¶
func (m *CreateNoteRequest) GetNote() *Note
func (*CreateNoteRequest) GetNoteId ¶
func (m *CreateNoteRequest) GetNoteId() string
func (*CreateNoteRequest) GetParent ¶
func (m *CreateNoteRequest) GetParent() string
func (*CreateNoteRequest) ProtoMessage ¶
func (*CreateNoteRequest) ProtoMessage()
func (*CreateNoteRequest) Reset ¶
func (m *CreateNoteRequest) Reset()
func (*CreateNoteRequest) String ¶
func (m *CreateNoteRequest) String() string
func (*CreateNoteRequest) XXX_DiscardUnknown ¶
func (m *CreateNoteRequest) XXX_DiscardUnknown()
func (*CreateNoteRequest) XXX_Marshal ¶
func (m *CreateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateNoteRequest) XXX_Merge ¶
func (m *CreateNoteRequest) XXX_Merge(src proto.Message)
func (*CreateNoteRequest) XXX_Size ¶
func (m *CreateNoteRequest) XXX_Size() int
func (*CreateNoteRequest) XXX_Unmarshal ¶
func (m *CreateNoteRequest) XXX_Unmarshal(b []byte) error
type CreateOccurrenceRequest ¶
type CreateOccurrenceRequest struct { // This field contains the project Id for example: "projects/{project_id}" Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` // The occurrence to be inserted. Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to insert a new occurrence.
func (*CreateOccurrenceRequest) Descriptor ¶
func (*CreateOccurrenceRequest) Descriptor() ([]byte, []int)
func (*CreateOccurrenceRequest) GetOccurrence ¶
func (m *CreateOccurrenceRequest) GetOccurrence() *Occurrence
func (*CreateOccurrenceRequest) GetParent ¶
func (m *CreateOccurrenceRequest) GetParent() string
func (*CreateOccurrenceRequest) ProtoMessage ¶
func (*CreateOccurrenceRequest) ProtoMessage()
func (*CreateOccurrenceRequest) Reset ¶
func (m *CreateOccurrenceRequest) Reset()
func (*CreateOccurrenceRequest) String ¶
func (m *CreateOccurrenceRequest) String() string
func (*CreateOccurrenceRequest) XXX_DiscardUnknown ¶
func (m *CreateOccurrenceRequest) XXX_DiscardUnknown()
func (*CreateOccurrenceRequest) XXX_Marshal ¶
func (m *CreateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateOccurrenceRequest) XXX_Merge ¶
func (m *CreateOccurrenceRequest) XXX_Merge(src proto.Message)
func (*CreateOccurrenceRequest) XXX_Size ¶
func (m *CreateOccurrenceRequest) XXX_Size() int
func (*CreateOccurrenceRequest) XXX_Unmarshal ¶
func (m *CreateOccurrenceRequest) XXX_Unmarshal(b []byte) error
type CreateOperationRequest ¶
type CreateOperationRequest struct { // The projectId that this operation should be created under. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The ID to use for this operation. OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // The operation to create. Operation *longrunning.Operation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request for creating an operation
func (*CreateOperationRequest) Descriptor ¶
func (*CreateOperationRequest) Descriptor() ([]byte, []int)
func (*CreateOperationRequest) GetOperation ¶
func (m *CreateOperationRequest) GetOperation() *longrunning.Operation
func (*CreateOperationRequest) GetOperationId ¶
func (m *CreateOperationRequest) GetOperationId() string
func (*CreateOperationRequest) GetParent ¶
func (m *CreateOperationRequest) GetParent() string
func (*CreateOperationRequest) ProtoMessage ¶
func (*CreateOperationRequest) ProtoMessage()
func (*CreateOperationRequest) Reset ¶
func (m *CreateOperationRequest) Reset()
func (*CreateOperationRequest) String ¶
func (m *CreateOperationRequest) String() string
func (*CreateOperationRequest) XXX_DiscardUnknown ¶
func (m *CreateOperationRequest) XXX_DiscardUnknown()
func (*CreateOperationRequest) XXX_Marshal ¶
func (m *CreateOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateOperationRequest) XXX_Merge ¶
func (m *CreateOperationRequest) XXX_Merge(src proto.Message)
func (*CreateOperationRequest) XXX_Size ¶
func (m *CreateOperationRequest) XXX_Size() int
func (*CreateOperationRequest) XXX_Unmarshal ¶
func (m *CreateOperationRequest) XXX_Unmarshal(b []byte) error
type CreateProjectRequest ¶
type CreateProjectRequest struct { // The project to create. Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to create a new project.
func (*CreateProjectRequest) Descriptor ¶
func (*CreateProjectRequest) Descriptor() ([]byte, []int)
func (*CreateProjectRequest) GetProject ¶
func (m *CreateProjectRequest) GetProject() *Project
func (*CreateProjectRequest) ProtoMessage ¶
func (*CreateProjectRequest) ProtoMessage()
func (*CreateProjectRequest) Reset ¶
func (m *CreateProjectRequest) Reset()
func (*CreateProjectRequest) String ¶
func (m *CreateProjectRequest) String() string
func (*CreateProjectRequest) XXX_DiscardUnknown ¶
func (m *CreateProjectRequest) XXX_DiscardUnknown()
func (*CreateProjectRequest) XXX_Marshal ¶
func (m *CreateProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateProjectRequest) XXX_Merge ¶
func (m *CreateProjectRequest) XXX_Merge(src proto.Message)
func (*CreateProjectRequest) XXX_Size ¶
func (m *CreateProjectRequest) XXX_Size() int
func (*CreateProjectRequest) XXX_Unmarshal ¶
func (m *CreateProjectRequest) XXX_Unmarshal(b []byte) error
type DeleteNoteRequest ¶
type DeleteNoteRequest struct { // The name of the note in the form of // "providers/{provider_id}/notes/{NOTE_ID}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to delete a note
func (*DeleteNoteRequest) Descriptor ¶
func (*DeleteNoteRequest) Descriptor() ([]byte, []int)
func (*DeleteNoteRequest) GetName ¶
func (m *DeleteNoteRequest) GetName() string
func (*DeleteNoteRequest) ProtoMessage ¶
func (*DeleteNoteRequest) ProtoMessage()
func (*DeleteNoteRequest) Reset ¶
func (m *DeleteNoteRequest) Reset()
func (*DeleteNoteRequest) String ¶
func (m *DeleteNoteRequest) String() string
func (*DeleteNoteRequest) XXX_DiscardUnknown ¶
func (m *DeleteNoteRequest) XXX_DiscardUnknown()
func (*DeleteNoteRequest) XXX_Marshal ¶
func (m *DeleteNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteNoteRequest) XXX_Merge ¶
func (m *DeleteNoteRequest) XXX_Merge(src proto.Message)
func (*DeleteNoteRequest) XXX_Size ¶
func (m *DeleteNoteRequest) XXX_Size() int
func (*DeleteNoteRequest) XXX_Unmarshal ¶
func (m *DeleteNoteRequest) XXX_Unmarshal(b []byte) error
type DeleteOccurrenceRequest ¶
type DeleteOccurrenceRequest struct { // The name of the occurrence in the form of // "projects/{project_id}/occurrences/{OCCURRENCE_ID}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to delete an occurrence.
func (*DeleteOccurrenceRequest) Descriptor ¶
func (*DeleteOccurrenceRequest) Descriptor() ([]byte, []int)
func (*DeleteOccurrenceRequest) GetName ¶
func (m *DeleteOccurrenceRequest) GetName() string
func (*DeleteOccurrenceRequest) ProtoMessage ¶
func (*DeleteOccurrenceRequest) ProtoMessage()
func (*DeleteOccurrenceRequest) Reset ¶
func (m *DeleteOccurrenceRequest) Reset()
func (*DeleteOccurrenceRequest) String ¶
func (m *DeleteOccurrenceRequest) String() string
func (*DeleteOccurrenceRequest) XXX_DiscardUnknown ¶
func (m *DeleteOccurrenceRequest) XXX_DiscardUnknown()
func (*DeleteOccurrenceRequest) XXX_Marshal ¶
func (m *DeleteOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteOccurrenceRequest) XXX_Merge ¶
func (m *DeleteOccurrenceRequest) XXX_Merge(src proto.Message)
func (*DeleteOccurrenceRequest) XXX_Size ¶
func (m *DeleteOccurrenceRequest) XXX_Size() int
func (*DeleteOccurrenceRequest) XXX_Unmarshal ¶
func (m *DeleteOccurrenceRequest) XXX_Unmarshal(b []byte) error
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { // The name of the project in the form of `projects/{PROJECT_ID}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to delete a project.
func (*DeleteProjectRequest) Descriptor ¶
func (*DeleteProjectRequest) Descriptor() ([]byte, []int)
func (*DeleteProjectRequest) GetName ¶
func (m *DeleteProjectRequest) GetName() string
func (*DeleteProjectRequest) ProtoMessage ¶
func (*DeleteProjectRequest) ProtoMessage()
func (*DeleteProjectRequest) Reset ¶
func (m *DeleteProjectRequest) Reset()
func (*DeleteProjectRequest) String ¶
func (m *DeleteProjectRequest) String() string
func (*DeleteProjectRequest) XXX_DiscardUnknown ¶
func (m *DeleteProjectRequest) XXX_DiscardUnknown()
func (*DeleteProjectRequest) XXX_Marshal ¶
func (m *DeleteProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteProjectRequest) XXX_Merge ¶
func (m *DeleteProjectRequest) XXX_Merge(src proto.Message)
func (*DeleteProjectRequest) XXX_Size ¶
func (m *DeleteProjectRequest) XXX_Size() int
func (*DeleteProjectRequest) XXX_Unmarshal ¶
func (m *DeleteProjectRequest) XXX_Unmarshal(b []byte) error
type Deployable ¶
type Deployable struct { // Resource URI for the artifact being deployed. ResourceUri []string `protobuf:"bytes,1,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An artifact that can be deployed in some runtime.
func (*Deployable) Descriptor ¶
func (*Deployable) Descriptor() ([]byte, []int)
func (*Deployable) GetResourceUri ¶
func (m *Deployable) GetResourceUri() []string
func (*Deployable) ProtoMessage ¶
func (*Deployable) ProtoMessage()
func (*Deployable) Reset ¶
func (m *Deployable) Reset()
func (*Deployable) String ¶
func (m *Deployable) String() string
func (*Deployable) XXX_DiscardUnknown ¶
func (m *Deployable) XXX_DiscardUnknown()
func (*Deployable) XXX_Marshal ¶
func (m *Deployable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Deployable) XXX_Merge ¶
func (m *Deployable) XXX_Merge(src proto.Message)
func (*Deployable) XXX_Size ¶
func (m *Deployable) XXX_Size() int
func (*Deployable) XXX_Unmarshal ¶
func (m *Deployable) XXX_Unmarshal(b []byte) error
type Deployable_DeploymentDetails ¶
type Deployable_DeploymentDetails struct { // Identity of the user that triggered this deployment. UserEmail string `protobuf:"bytes,1,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` // Beginning of the lifetime of this deployment. DeployTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"` // End of the lifetime of this deployment. UndeployTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=undeploy_time,json=undeployTime,proto3" json:"undeploy_time,omitempty"` // Configuration used to create this deployment. Config string `protobuf:"bytes,8,opt,name=config,proto3" json:"config,omitempty"` // Address of the runtime element hosting this deployment. Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` // Output only. Resource URI for the artifact being deployed taken from the // deployable field with the same name. ResourceUri []string `protobuf:"bytes,6,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` // Platform hosting this deployment. Platform Deployable_DeploymentDetails_Platform `` /* 134-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The period during which some deployable was active in a runtime.
func (*Deployable_DeploymentDetails) Descriptor ¶
func (*Deployable_DeploymentDetails) Descriptor() ([]byte, []int)
func (*Deployable_DeploymentDetails) GetAddress ¶
func (m *Deployable_DeploymentDetails) GetAddress() string
func (*Deployable_DeploymentDetails) GetConfig ¶
func (m *Deployable_DeploymentDetails) GetConfig() string
func (*Deployable_DeploymentDetails) GetDeployTime ¶
func (m *Deployable_DeploymentDetails) GetDeployTime() *timestamp.Timestamp
func (*Deployable_DeploymentDetails) GetPlatform ¶
func (m *Deployable_DeploymentDetails) GetPlatform() Deployable_DeploymentDetails_Platform
func (*Deployable_DeploymentDetails) GetResourceUri ¶
func (m *Deployable_DeploymentDetails) GetResourceUri() []string
func (*Deployable_DeploymentDetails) GetUndeployTime ¶
func (m *Deployable_DeploymentDetails) GetUndeployTime() *timestamp.Timestamp
func (*Deployable_DeploymentDetails) GetUserEmail ¶
func (m *Deployable_DeploymentDetails) GetUserEmail() string
func (*Deployable_DeploymentDetails) ProtoMessage ¶
func (*Deployable_DeploymentDetails) ProtoMessage()
func (*Deployable_DeploymentDetails) Reset ¶
func (m *Deployable_DeploymentDetails) Reset()
func (*Deployable_DeploymentDetails) String ¶
func (m *Deployable_DeploymentDetails) String() string
func (*Deployable_DeploymentDetails) XXX_DiscardUnknown ¶
func (m *Deployable_DeploymentDetails) XXX_DiscardUnknown()
func (*Deployable_DeploymentDetails) XXX_Marshal ¶
func (m *Deployable_DeploymentDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Deployable_DeploymentDetails) XXX_Merge ¶
func (m *Deployable_DeploymentDetails) XXX_Merge(src proto.Message)
func (*Deployable_DeploymentDetails) XXX_Size ¶
func (m *Deployable_DeploymentDetails) XXX_Size() int
func (*Deployable_DeploymentDetails) XXX_Unmarshal ¶
func (m *Deployable_DeploymentDetails) XXX_Unmarshal(b []byte) error
type Deployable_DeploymentDetails_Platform ¶
type Deployable_DeploymentDetails_Platform int32
Types of platforms.
const ( // Unknown Deployable_DeploymentDetails_PLATFORM_UNSPECIFIED Deployable_DeploymentDetails_Platform = 0 // Google Container Engine Deployable_DeploymentDetails_GKE Deployable_DeploymentDetails_Platform = 1 // Google App Engine: Flexible Environment Deployable_DeploymentDetails_FLEX Deployable_DeploymentDetails_Platform = 2 // Custom user-defined platform Deployable_DeploymentDetails_CUSTOM Deployable_DeploymentDetails_Platform = 3 )
func (Deployable_DeploymentDetails_Platform) EnumDescriptor ¶
func (Deployable_DeploymentDetails_Platform) EnumDescriptor() ([]byte, []int)
func (Deployable_DeploymentDetails_Platform) String ¶
func (x Deployable_DeploymentDetails_Platform) String() string
type Discovery ¶
type Discovery struct { // The kind of analysis that is handled by this discovery. AnalysisKind Note_Kind `` /* 134-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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. The occurrence's operation will indicate the status of the analysis. Absence of an occurrence linked to this note for a resource indicates that analysis hasn't started.
func (*Discovery) Descriptor ¶
func (*Discovery) GetAnalysisKind ¶
func (*Discovery) ProtoMessage ¶
func (*Discovery) ProtoMessage()
func (*Discovery) XXX_DiscardUnknown ¶
func (m *Discovery) XXX_DiscardUnknown()
func (*Discovery) XXX_Marshal ¶
func (*Discovery) XXX_Unmarshal ¶
type Discovery_DiscoveredDetails ¶
type Discovery_DiscoveredDetails struct { // Output only. An operation that indicates the status of the current scan. Operation *longrunning.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Provides information about the scan status of a discovered resource.
func (*Discovery_DiscoveredDetails) Descriptor ¶
func (*Discovery_DiscoveredDetails) Descriptor() ([]byte, []int)
func (*Discovery_DiscoveredDetails) GetOperation ¶
func (m *Discovery_DiscoveredDetails) GetOperation() *longrunning.Operation
func (*Discovery_DiscoveredDetails) ProtoMessage ¶
func (*Discovery_DiscoveredDetails) ProtoMessage()
func (*Discovery_DiscoveredDetails) Reset ¶
func (m *Discovery_DiscoveredDetails) Reset()
func (*Discovery_DiscoveredDetails) String ¶
func (m *Discovery_DiscoveredDetails) String() string
func (*Discovery_DiscoveredDetails) XXX_DiscardUnknown ¶
func (m *Discovery_DiscoveredDetails) XXX_DiscardUnknown()
func (*Discovery_DiscoveredDetails) XXX_Marshal ¶
func (m *Discovery_DiscoveredDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Discovery_DiscoveredDetails) XXX_Merge ¶
func (m *Discovery_DiscoveredDetails) XXX_Merge(src proto.Message)
func (*Discovery_DiscoveredDetails) XXX_Size ¶
func (m *Discovery_DiscoveredDetails) XXX_Size() int
func (*Discovery_DiscoveredDetails) XXX_Unmarshal ¶
func (m *Discovery_DiscoveredDetails) XXX_Unmarshal(b []byte) error
type DockerImage ¶
type DockerImage struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DockerImage holds types defining base image notes and derived image occurrences.
func (*DockerImage) Descriptor ¶
func (*DockerImage) Descriptor() ([]byte, []int)
func (*DockerImage) ProtoMessage ¶
func (*DockerImage) ProtoMessage()
func (*DockerImage) Reset ¶
func (m *DockerImage) Reset()
func (*DockerImage) String ¶
func (m *DockerImage) String() string
func (*DockerImage) XXX_DiscardUnknown ¶
func (m *DockerImage) XXX_DiscardUnknown()
func (*DockerImage) XXX_Marshal ¶
func (m *DockerImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DockerImage) XXX_Merge ¶
func (m *DockerImage) XXX_Merge(src proto.Message)
func (*DockerImage) XXX_Size ¶
func (m *DockerImage) XXX_Size() int
func (*DockerImage) XXX_Unmarshal ¶
func (m *DockerImage) XXX_Unmarshal(b []byte) error
type DockerImage_Basis ¶
type DockerImage_Basis struct { // The resource_url for the resource representing the basis of // associated occurrence images. ResourceUrl string `protobuf:"bytes,1,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` // The fingerprint of the base image Fingerprint *DockerImage_Fingerprint `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via:
FROM <Basis.resource_url>
Or an equivalent reference, e.g. a tag of the resource_url.
func (*DockerImage_Basis) Descriptor ¶
func (*DockerImage_Basis) Descriptor() ([]byte, []int)
func (*DockerImage_Basis) GetFingerprint ¶
func (m *DockerImage_Basis) GetFingerprint() *DockerImage_Fingerprint
func (*DockerImage_Basis) GetResourceUrl ¶
func (m *DockerImage_Basis) GetResourceUrl() string
func (*DockerImage_Basis) ProtoMessage ¶
func (*DockerImage_Basis) ProtoMessage()
func (*DockerImage_Basis) Reset ¶
func (m *DockerImage_Basis) Reset()
func (*DockerImage_Basis) String ¶
func (m *DockerImage_Basis) String() string
func (*DockerImage_Basis) XXX_DiscardUnknown ¶
func (m *DockerImage_Basis) XXX_DiscardUnknown()
func (*DockerImage_Basis) XXX_Marshal ¶
func (m *DockerImage_Basis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DockerImage_Basis) XXX_Merge ¶
func (m *DockerImage_Basis) XXX_Merge(src proto.Message)
func (*DockerImage_Basis) XXX_Size ¶
func (m *DockerImage_Basis) XXX_Size() int
func (*DockerImage_Basis) XXX_Unmarshal ¶
func (m *DockerImage_Basis) XXX_Unmarshal(b []byte) error
type DockerImage_DerivedDetails ¶
type DockerImage_DerivedDetails struct { // The fingerprint of the derived image Fingerprint *DockerImage_Fingerprint `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // Output only. The number of layers by which this image differs from // the associated image basis. Distance uint32 `protobuf:"varint,2,opt,name=distance,proto3" json:"distance,omitempty"` // This contains layer-specific metadata, if populated it // has length "distance" and is ordered with [distance] being the // layer immediately following the base image and [1] // being the final layer. LayerInfo []*DockerImage_Layer `protobuf:"bytes,3,rep,name=layer_info,json=layerInfo,proto3" json:"layer_info,omitempty"` // Output only.This contains the base image url for the derived image // Occurrence BaseResourceUrl string `protobuf:"bytes,4,opt,name=base_resource_url,json=baseResourceUrl,proto3" json:"base_resource_url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM <DockerImage.Basis in attached Note>.
func (*DockerImage_DerivedDetails) Descriptor ¶
func (*DockerImage_DerivedDetails) Descriptor() ([]byte, []int)
func (*DockerImage_DerivedDetails) GetBaseResourceUrl ¶
func (m *DockerImage_DerivedDetails) GetBaseResourceUrl() string
func (*DockerImage_DerivedDetails) GetDistance ¶
func (m *DockerImage_DerivedDetails) GetDistance() uint32
func (*DockerImage_DerivedDetails) GetFingerprint ¶
func (m *DockerImage_DerivedDetails) GetFingerprint() *DockerImage_Fingerprint
func (*DockerImage_DerivedDetails) GetLayerInfo ¶
func (m *DockerImage_DerivedDetails) GetLayerInfo() []*DockerImage_Layer
func (*DockerImage_DerivedDetails) ProtoMessage ¶
func (*DockerImage_DerivedDetails) ProtoMessage()
func (*DockerImage_DerivedDetails) Reset ¶
func (m *DockerImage_DerivedDetails) Reset()
func (*DockerImage_DerivedDetails) String ¶
func (m *DockerImage_DerivedDetails) String() string
func (*DockerImage_DerivedDetails) XXX_DiscardUnknown ¶
func (m *DockerImage_DerivedDetails) XXX_DiscardUnknown()
func (*DockerImage_DerivedDetails) XXX_Marshal ¶
func (m *DockerImage_DerivedDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DockerImage_DerivedDetails) XXX_Merge ¶
func (m *DockerImage_DerivedDetails) XXX_Merge(src proto.Message)
func (*DockerImage_DerivedDetails) XXX_Size ¶
func (m *DockerImage_DerivedDetails) XXX_Size() int
func (*DockerImage_DerivedDetails) XXX_Unmarshal ¶
func (m *DockerImage_DerivedDetails) XXX_Unmarshal(b []byte) error
type DockerImage_Fingerprint ¶
type DockerImage_Fingerprint struct { // The layer-id of the final layer in the Docker image's v1 // representation. // This field can be used as a filter in list requests. V1Name string `protobuf:"bytes,1,opt,name=v1_name,json=v1Name,proto3" json:"v1_name,omitempty"` // The ordered list of v2 blobs that represent a given image. V2Blob []string `protobuf:"bytes,2,rep,name=v2_blob,json=v2Blob,proto3" json:"v2_blob,omitempty"` // Output only. The name of the image's v2 blobs computed via: // [bottom] := v2_blob[bottom] // [N] := sha256(v2_blob[N] + " " + v2_name[N+1]) // Only the name of the final blob is kept. // This field can be used as a filter in list requests. V2Name string `protobuf:"bytes,3,opt,name=v2_name,json=v2Name,proto3" json:"v2_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A set of properties that uniquely identify a given Docker image.
func (*DockerImage_Fingerprint) Descriptor ¶
func (*DockerImage_Fingerprint) Descriptor() ([]byte, []int)
func (*DockerImage_Fingerprint) GetV1Name ¶
func (m *DockerImage_Fingerprint) GetV1Name() string
func (*DockerImage_Fingerprint) GetV2Blob ¶
func (m *DockerImage_Fingerprint) GetV2Blob() []string
func (*DockerImage_Fingerprint) GetV2Name ¶
func (m *DockerImage_Fingerprint) GetV2Name() string
func (*DockerImage_Fingerprint) ProtoMessage ¶
func (*DockerImage_Fingerprint) ProtoMessage()
func (*DockerImage_Fingerprint) Reset ¶
func (m *DockerImage_Fingerprint) Reset()
func (*DockerImage_Fingerprint) String ¶
func (m *DockerImage_Fingerprint) String() string
func (*DockerImage_Fingerprint) XXX_DiscardUnknown ¶
func (m *DockerImage_Fingerprint) XXX_DiscardUnknown()
func (*DockerImage_Fingerprint) XXX_Marshal ¶
func (m *DockerImage_Fingerprint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DockerImage_Fingerprint) XXX_Merge ¶
func (m *DockerImage_Fingerprint) XXX_Merge(src proto.Message)
func (*DockerImage_Fingerprint) XXX_Size ¶
func (m *DockerImage_Fingerprint) XXX_Size() int
func (*DockerImage_Fingerprint) XXX_Unmarshal ¶
func (m *DockerImage_Fingerprint) XXX_Unmarshal(b []byte) error
type DockerImage_Layer ¶
type DockerImage_Layer struct { // The recovered Dockerfile directive used to construct this layer. Directive DockerImage_Layer_Directive `` /* 126-byte string literal not displayed */ // The recovered arguments to the Dockerfile directive. Arguments string `protobuf:"bytes,2,opt,name=arguments,proto3" json:"arguments,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Layer holds metadata specific to a layer of a Docker image.
func (*DockerImage_Layer) Descriptor ¶
func (*DockerImage_Layer) Descriptor() ([]byte, []int)
func (*DockerImage_Layer) GetArguments ¶
func (m *DockerImage_Layer) GetArguments() string
func (*DockerImage_Layer) GetDirective ¶
func (m *DockerImage_Layer) GetDirective() DockerImage_Layer_Directive
func (*DockerImage_Layer) ProtoMessage ¶
func (*DockerImage_Layer) ProtoMessage()
func (*DockerImage_Layer) Reset ¶
func (m *DockerImage_Layer) Reset()
func (*DockerImage_Layer) String ¶
func (m *DockerImage_Layer) String() string
func (*DockerImage_Layer) XXX_DiscardUnknown ¶
func (m *DockerImage_Layer) XXX_DiscardUnknown()
func (*DockerImage_Layer) XXX_Marshal ¶
func (m *DockerImage_Layer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DockerImage_Layer) XXX_Merge ¶
func (m *DockerImage_Layer) XXX_Merge(src proto.Message)
func (*DockerImage_Layer) XXX_Size ¶
func (m *DockerImage_Layer) XXX_Size() int
func (*DockerImage_Layer) XXX_Unmarshal ¶
func (m *DockerImage_Layer) XXX_Unmarshal(b []byte) error
type DockerImage_Layer_Directive ¶
type DockerImage_Layer_Directive int32
Instructions from dockerfile
const ( // Default value for unsupported/missing directive DockerImage_Layer_DIRECTIVE_UNSPECIFIED DockerImage_Layer_Directive = 0 // https://docs.docker.com/reference/builder/#maintainer DockerImage_Layer_MAINTAINER DockerImage_Layer_Directive = 1 // https://docs.docker.com/reference/builder/#run DockerImage_Layer_RUN DockerImage_Layer_Directive = 2 // https://docs.docker.com/reference/builder/#cmd DockerImage_Layer_CMD DockerImage_Layer_Directive = 3 // https://docs.docker.com/reference/builder/#label DockerImage_Layer_LABEL DockerImage_Layer_Directive = 4 // https://docs.docker.com/reference/builder/#expose DockerImage_Layer_EXPOSE DockerImage_Layer_Directive = 5 // https://docs.docker.com/reference/builder/#env DockerImage_Layer_ENV DockerImage_Layer_Directive = 6 // https://docs.docker.com/reference/builder/#add DockerImage_Layer_ADD DockerImage_Layer_Directive = 7 // https://docs.docker.com/reference/builder/#copy DockerImage_Layer_COPY DockerImage_Layer_Directive = 8 // https://docs.docker.com/reference/builder/#entrypoint DockerImage_Layer_ENTRYPOINT DockerImage_Layer_Directive = 9 // https://docs.docker.com/reference/builder/#volume DockerImage_Layer_VOLUME DockerImage_Layer_Directive = 10 // https://docs.docker.com/reference/builder/#user DockerImage_Layer_USER DockerImage_Layer_Directive = 11 // https://docs.docker.com/reference/builder/#workdir DockerImage_Layer_WORKDIR DockerImage_Layer_Directive = 12 // https://docs.docker.com/reference/builder/#arg DockerImage_Layer_ARG DockerImage_Layer_Directive = 13 // https://docs.docker.com/reference/builder/#onbuild DockerImage_Layer_ONBUILD DockerImage_Layer_Directive = 14 // https://docs.docker.com/reference/builder/#stopsignal DockerImage_Layer_STOPSIGNAL DockerImage_Layer_Directive = 15 // https://docs.docker.com/reference/builder/#healthcheck DockerImage_Layer_HEALTHCHECK DockerImage_Layer_Directive = 16 // https://docs.docker.com/reference/builder/#shell DockerImage_Layer_SHELL DockerImage_Layer_Directive = 17 )
func (DockerImage_Layer_Directive) EnumDescriptor ¶
func (DockerImage_Layer_Directive) EnumDescriptor() ([]byte, []int)
func (DockerImage_Layer_Directive) String ¶
func (x DockerImage_Layer_Directive) String() string
type FileHashes ¶
type FileHashes struct { // Collection of file hashes. FileHash []*Hash `protobuf:"bytes,1,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Container message for hashes of byte content of files, used in Source messages to verify integrity of source input to the build.
func (*FileHashes) Descriptor ¶
func (*FileHashes) Descriptor() ([]byte, []int)
func (*FileHashes) GetFileHash ¶
func (m *FileHashes) GetFileHash() []*Hash
func (*FileHashes) ProtoMessage ¶
func (*FileHashes) ProtoMessage()
func (*FileHashes) Reset ¶
func (m *FileHashes) Reset()
func (*FileHashes) String ¶
func (m *FileHashes) String() string
func (*FileHashes) XXX_DiscardUnknown ¶
func (m *FileHashes) XXX_DiscardUnknown()
func (*FileHashes) XXX_Marshal ¶
func (m *FileHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileHashes) XXX_Merge ¶
func (m *FileHashes) XXX_Merge(src proto.Message)
func (*FileHashes) XXX_Size ¶
func (m *FileHashes) XXX_Size() int
func (*FileHashes) XXX_Unmarshal ¶
func (m *FileHashes) XXX_Unmarshal(b []byte) error
type GerritSourceContext ¶
type GerritSourceContext struct { // The URI of a running Gerrit instance. HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"` // The full project name within the host. Projects may be nested, so // "project/subproject" is a valid project name. The "repo name" is // the hostURI/project. GerritProject string `protobuf:"bytes,2,opt,name=gerrit_project,json=gerritProject,proto3" json:"gerrit_project,omitempty"` // A revision in a Gerrit project can be identified by either its revision ID // or its alias. // // Types that are valid to be assigned to Revision: // *GerritSourceContext_RevisionId // *GerritSourceContext_AliasContext Revision isGerritSourceContext_Revision `protobuf_oneof:"revision"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A SourceContext referring to a Gerrit project.
func (*GerritSourceContext) Descriptor ¶
func (*GerritSourceContext) Descriptor() ([]byte, []int)
func (*GerritSourceContext) GetAliasContext ¶
func (m *GerritSourceContext) GetAliasContext() *AliasContext
func (*GerritSourceContext) GetGerritProject ¶
func (m *GerritSourceContext) GetGerritProject() string
func (*GerritSourceContext) GetHostUri ¶
func (m *GerritSourceContext) GetHostUri() string
func (*GerritSourceContext) GetRevision ¶
func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision
func (*GerritSourceContext) GetRevisionId ¶
func (m *GerritSourceContext) GetRevisionId() string
func (*GerritSourceContext) ProtoMessage ¶
func (*GerritSourceContext) ProtoMessage()
func (*GerritSourceContext) Reset ¶
func (m *GerritSourceContext) Reset()
func (*GerritSourceContext) String ¶
func (m *GerritSourceContext) String() string
func (*GerritSourceContext) XXX_DiscardUnknown ¶
func (m *GerritSourceContext) XXX_DiscardUnknown()
func (*GerritSourceContext) XXX_Marshal ¶
func (m *GerritSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GerritSourceContext) XXX_Merge ¶
func (m *GerritSourceContext) XXX_Merge(src proto.Message)
func (*GerritSourceContext) XXX_OneofWrappers ¶
func (*GerritSourceContext) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*GerritSourceContext) XXX_Size ¶
func (m *GerritSourceContext) XXX_Size() int
func (*GerritSourceContext) XXX_Unmarshal ¶
func (m *GerritSourceContext) XXX_Unmarshal(b []byte) error
type GerritSourceContext_AliasContext ¶
type GerritSourceContext_AliasContext struct {
AliasContext *AliasContext `protobuf:"bytes,4,opt,name=alias_context,json=aliasContext,proto3,oneof"`
}
type GerritSourceContext_RevisionId ¶
type GerritSourceContext_RevisionId struct {
RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3,oneof"`
}
type GetNoteRequest ¶
type GetNoteRequest struct { // The name of the note in the form of // "providers/{provider_id}/notes/{NOTE_ID}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to get a note.
func (*GetNoteRequest) Descriptor ¶
func (*GetNoteRequest) Descriptor() ([]byte, []int)
func (*GetNoteRequest) GetName ¶
func (m *GetNoteRequest) GetName() string
func (*GetNoteRequest) ProtoMessage ¶
func (*GetNoteRequest) ProtoMessage()
func (*GetNoteRequest) Reset ¶
func (m *GetNoteRequest) Reset()
func (*GetNoteRequest) String ¶
func (m *GetNoteRequest) String() string
func (*GetNoteRequest) XXX_DiscardUnknown ¶
func (m *GetNoteRequest) XXX_DiscardUnknown()
func (*GetNoteRequest) XXX_Marshal ¶
func (m *GetNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNoteRequest) XXX_Merge ¶
func (m *GetNoteRequest) XXX_Merge(src proto.Message)
func (*GetNoteRequest) XXX_Size ¶
func (m *GetNoteRequest) XXX_Size() int
func (*GetNoteRequest) XXX_Unmarshal ¶
func (m *GetNoteRequest) XXX_Unmarshal(b []byte) error
type GetOccurrenceNoteRequest ¶
type GetOccurrenceNoteRequest struct { // The name of the occurrence in the form // "projects/{project_id}/occurrences/{OCCURRENCE_ID}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to get the note to which this occurrence is attached.
func (*GetOccurrenceNoteRequest) Descriptor ¶
func (*GetOccurrenceNoteRequest) Descriptor() ([]byte, []int)
func (*GetOccurrenceNoteRequest) GetName ¶
func (m *GetOccurrenceNoteRequest) GetName() string
func (*GetOccurrenceNoteRequest) ProtoMessage ¶
func (*GetOccurrenceNoteRequest) ProtoMessage()
func (*GetOccurrenceNoteRequest) Reset ¶
func (m *GetOccurrenceNoteRequest) Reset()
func (*GetOccurrenceNoteRequest) String ¶
func (m *GetOccurrenceNoteRequest) String() string
func (*GetOccurrenceNoteRequest) XXX_DiscardUnknown ¶
func (m *GetOccurrenceNoteRequest) XXX_DiscardUnknown()
func (*GetOccurrenceNoteRequest) XXX_Marshal ¶
func (m *GetOccurrenceNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetOccurrenceNoteRequest) XXX_Merge ¶
func (m *GetOccurrenceNoteRequest) XXX_Merge(src proto.Message)
func (*GetOccurrenceNoteRequest) XXX_Size ¶
func (m *GetOccurrenceNoteRequest) XXX_Size() int
func (*GetOccurrenceNoteRequest) XXX_Unmarshal ¶
func (m *GetOccurrenceNoteRequest) XXX_Unmarshal(b []byte) error
type GetOccurrenceRequest ¶
type GetOccurrenceRequest struct { // The name of the occurrence of the form // "projects/{project_id}/occurrences/{OCCURRENCE_ID}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to get an occurrence.
func (*GetOccurrenceRequest) Descriptor ¶
func (*GetOccurrenceRequest) Descriptor() ([]byte, []int)
func (*GetOccurrenceRequest) GetName ¶
func (m *GetOccurrenceRequest) GetName() string
func (*GetOccurrenceRequest) ProtoMessage ¶
func (*GetOccurrenceRequest) ProtoMessage()
func (*GetOccurrenceRequest) Reset ¶
func (m *GetOccurrenceRequest) Reset()
func (*GetOccurrenceRequest) String ¶
func (m *GetOccurrenceRequest) String() string
func (*GetOccurrenceRequest) XXX_DiscardUnknown ¶
func (m *GetOccurrenceRequest) XXX_DiscardUnknown()
func (*GetOccurrenceRequest) XXX_Marshal ¶
func (m *GetOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetOccurrenceRequest) XXX_Merge ¶
func (m *GetOccurrenceRequest) XXX_Merge(src proto.Message)
func (*GetOccurrenceRequest) XXX_Size ¶
func (m *GetOccurrenceRequest) XXX_Size() int
func (*GetOccurrenceRequest) XXX_Unmarshal ¶
func (m *GetOccurrenceRequest) XXX_Unmarshal(b []byte) error
type GetProjectRequest ¶
type GetProjectRequest struct { // The name of the project in the form of `projects/{PROJECT_ID}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to get a project.
func (*GetProjectRequest) Descriptor ¶
func (*GetProjectRequest) Descriptor() ([]byte, []int)
func (*GetProjectRequest) GetName ¶
func (m *GetProjectRequest) GetName() string
func (*GetProjectRequest) ProtoMessage ¶
func (*GetProjectRequest) ProtoMessage()
func (*GetProjectRequest) Reset ¶
func (m *GetProjectRequest) Reset()
func (*GetProjectRequest) String ¶
func (m *GetProjectRequest) String() string
func (*GetProjectRequest) XXX_DiscardUnknown ¶
func (m *GetProjectRequest) XXX_DiscardUnknown()
func (*GetProjectRequest) XXX_Marshal ¶
func (m *GetProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProjectRequest) XXX_Merge ¶
func (m *GetProjectRequest) XXX_Merge(src proto.Message)
func (*GetProjectRequest) XXX_Size ¶
func (m *GetProjectRequest) XXX_Size() int
func (*GetProjectRequest) XXX_Unmarshal ¶
func (m *GetProjectRequest) XXX_Unmarshal(b []byte) error
type GitSourceContext ¶
type GitSourceContext struct { // Git repository URL. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // Required. // Git commit hash. RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).
func (*GitSourceContext) Descriptor ¶
func (*GitSourceContext) Descriptor() ([]byte, []int)
func (*GitSourceContext) GetRevisionId ¶
func (m *GitSourceContext) GetRevisionId() string
func (*GitSourceContext) GetUrl ¶
func (m *GitSourceContext) GetUrl() string
func (*GitSourceContext) ProtoMessage ¶
func (*GitSourceContext) ProtoMessage()
func (*GitSourceContext) Reset ¶
func (m *GitSourceContext) Reset()
func (*GitSourceContext) String ¶
func (m *GitSourceContext) String() string
func (*GitSourceContext) XXX_DiscardUnknown ¶
func (m *GitSourceContext) XXX_DiscardUnknown()
func (*GitSourceContext) XXX_Marshal ¶
func (m *GitSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GitSourceContext) XXX_Merge ¶
func (m *GitSourceContext) XXX_Merge(src proto.Message)
func (*GitSourceContext) XXX_Size ¶
func (m *GitSourceContext) XXX_Size() int
func (*GitSourceContext) XXX_Unmarshal ¶
func (m *GitSourceContext) XXX_Unmarshal(b []byte) error
type GrafeasClient ¶
type GrafeasClient interface { // Returns the requested `Occurrence`. GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) // Lists active `Occurrences` for a given project matching the filters. ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) // Deletes the given `Occurrence` from the system. Use this when // an `Occurrence` is no longer applicable for the given resource. DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a new `Occurrence`. Use this method to create `Occurrences` // for a resource. CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) // Updates an existing occurrence. UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) // Gets the `Note` attached to the given `Occurrence`. GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) // Creates a new `Operation`. CreateOperation(ctx context.Context, in *CreateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates an existing operation returns an error if operation // does not exist. The only valid operations are to update mark the done bit // change the result. UpdateOperation(ctx context.Context, in *UpdateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Returns the requested `Note`. GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) // Lists all `Notes` for a given project. ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) // Deletes the given `Note` from the system. DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a new `Note`. CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) // Updates an existing `Note`. UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) // Lists `Occurrences` referencing the specified `Note`. Use this method to // get all occurrences referencing your `Note` across all your customer // projects. ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) }
GrafeasClient is the client API for Grafeas service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGrafeasClient ¶
func NewGrafeasClient(cc *grpc.ClientConn) GrafeasClient
type GrafeasProjectsClient ¶
type GrafeasProjectsClient interface { // Creates a new project. CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Gets the specified project. GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*Project, error) // Lists projects. ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error) // Deletes the specified project. DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
GrafeasProjectsClient is the client API for GrafeasProjects service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGrafeasProjectsClient ¶
func NewGrafeasProjectsClient(cc *grpc.ClientConn) GrafeasProjectsClient
type GrafeasProjectsServer ¶
type GrafeasProjectsServer interface { // Creates a new project. CreateProject(context.Context, *CreateProjectRequest) (*empty.Empty, error) // Gets the specified project. GetProject(context.Context, *GetProjectRequest) (*Project, error) // Lists projects. ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error) // Deletes the specified project. DeleteProject(context.Context, *DeleteProjectRequest) (*empty.Empty, error) }
GrafeasProjectsServer is the server API for GrafeasProjects service.
type GrafeasServer ¶
type GrafeasServer interface { // Returns the requested `Occurrence`. GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error) // Lists active `Occurrences` for a given project matching the filters. ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error) // Deletes the given `Occurrence` from the system. Use this when // an `Occurrence` is no longer applicable for the given resource. DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*empty.Empty, error) // Creates a new `Occurrence`. Use this method to create `Occurrences` // for a resource. CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error) // Updates an existing occurrence. UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error) // Gets the `Note` attached to the given `Occurrence`. GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error) // Creates a new `Operation`. CreateOperation(context.Context, *CreateOperationRequest) (*longrunning.Operation, error) // Updates an existing operation returns an error if operation // does not exist. The only valid operations are to update mark the done bit // change the result. UpdateOperation(context.Context, *UpdateOperationRequest) (*longrunning.Operation, error) // Returns the requested `Note`. GetNote(context.Context, *GetNoteRequest) (*Note, error) // Lists all `Notes` for a given project. ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error) // Deletes the given `Note` from the system. DeleteNote(context.Context, *DeleteNoteRequest) (*empty.Empty, error) // Creates a new `Note`. CreateNote(context.Context, *CreateNoteRequest) (*Note, error) // Updates an existing `Note`. UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error) // Lists `Occurrences` referencing the specified `Note`. Use this method to // get all occurrences referencing your `Note` across all your customer // projects. ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error) }
GrafeasServer is the server API for Grafeas service.
type Hash ¶
type Hash struct { // The type of hash that was performed. Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=grafeas.v1alpha1.api.Hash_HashType" json:"type,omitempty"` // The hash value. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Container message for hash values.
func (*Hash) Descriptor ¶
func (*Hash) GetType ¶
func (m *Hash) GetType() Hash_HashType
func (*Hash) ProtoMessage ¶
func (*Hash) ProtoMessage()
func (*Hash) XXX_DiscardUnknown ¶
func (m *Hash) XXX_DiscardUnknown()
func (*Hash) XXX_Unmarshal ¶
type Hash_HashType ¶
type Hash_HashType int32
Specifies the hash algorithm, if any.
const ( // No hash requested. Hash_NONE Hash_HashType = 0 // A sha256 hash. Hash_SHA256 Hash_HashType = 1 )
func (Hash_HashType) EnumDescriptor ¶
func (Hash_HashType) EnumDescriptor() ([]byte, []int)
func (Hash_HashType) String ¶
func (x Hash_HashType) String() string
type ListNoteOccurrencesRequest ¶
type ListNoteOccurrencesRequest struct { // The name field will contain the note name for example: // "provider/{provider_id}/notes/{note_id}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The filter expression. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Number of notes to return in the list. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Token to provide to skip to a particular spot in the list. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to list occurrences.
func (*ListNoteOccurrencesRequest) Descriptor ¶
func (*ListNoteOccurrencesRequest) Descriptor() ([]byte, []int)
func (*ListNoteOccurrencesRequest) GetFilter ¶
func (m *ListNoteOccurrencesRequest) GetFilter() string
func (*ListNoteOccurrencesRequest) GetName ¶
func (m *ListNoteOccurrencesRequest) GetName() string
func (*ListNoteOccurrencesRequest) GetPageSize ¶
func (m *ListNoteOccurrencesRequest) GetPageSize() int32
func (*ListNoteOccurrencesRequest) GetPageToken ¶
func (m *ListNoteOccurrencesRequest) GetPageToken() string
func (*ListNoteOccurrencesRequest) ProtoMessage ¶
func (*ListNoteOccurrencesRequest) ProtoMessage()
func (*ListNoteOccurrencesRequest) Reset ¶
func (m *ListNoteOccurrencesRequest) Reset()
func (*ListNoteOccurrencesRequest) String ¶
func (m *ListNoteOccurrencesRequest) String() string
func (*ListNoteOccurrencesRequest) XXX_DiscardUnknown ¶
func (m *ListNoteOccurrencesRequest) XXX_DiscardUnknown()
func (*ListNoteOccurrencesRequest) XXX_Marshal ¶
func (m *ListNoteOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNoteOccurrencesRequest) XXX_Merge ¶
func (m *ListNoteOccurrencesRequest) XXX_Merge(src proto.Message)
func (*ListNoteOccurrencesRequest) XXX_Size ¶
func (m *ListNoteOccurrencesRequest) XXX_Size() int
func (*ListNoteOccurrencesRequest) XXX_Unmarshal ¶
func (m *ListNoteOccurrencesRequest) XXX_Unmarshal(b []byte) error
type ListNoteOccurrencesResponse ¶
type ListNoteOccurrencesResponse struct { // The occurrences attached to the specified note. Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` // Token to receive the next page of notes. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response including listed occurrences for a note.
func (*ListNoteOccurrencesResponse) Descriptor ¶
func (*ListNoteOccurrencesResponse) Descriptor() ([]byte, []int)
func (*ListNoteOccurrencesResponse) GetNextPageToken ¶
func (m *ListNoteOccurrencesResponse) GetNextPageToken() string
func (*ListNoteOccurrencesResponse) GetOccurrences ¶
func (m *ListNoteOccurrencesResponse) GetOccurrences() []*Occurrence
func (*ListNoteOccurrencesResponse) ProtoMessage ¶
func (*ListNoteOccurrencesResponse) ProtoMessage()
func (*ListNoteOccurrencesResponse) Reset ¶
func (m *ListNoteOccurrencesResponse) Reset()
func (*ListNoteOccurrencesResponse) String ¶
func (m *ListNoteOccurrencesResponse) String() string
func (*ListNoteOccurrencesResponse) XXX_DiscardUnknown ¶
func (m *ListNoteOccurrencesResponse) XXX_DiscardUnknown()
func (*ListNoteOccurrencesResponse) XXX_Marshal ¶
func (m *ListNoteOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNoteOccurrencesResponse) XXX_Merge ¶
func (m *ListNoteOccurrencesResponse) XXX_Merge(src proto.Message)
func (*ListNoteOccurrencesResponse) XXX_Size ¶
func (m *ListNoteOccurrencesResponse) XXX_Size() int
func (*ListNoteOccurrencesResponse) XXX_Unmarshal ¶
func (m *ListNoteOccurrencesResponse) XXX_Unmarshal(b []byte) error
type ListNotesRequest ¶
type ListNotesRequest struct { // This field contains the project ID for example: "projects/{project_id}". Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` // The filter expression. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Number of notes to return in the list. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Token to provide to skip to a particular spot in the list. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to list notes.
func (*ListNotesRequest) Descriptor ¶
func (*ListNotesRequest) Descriptor() ([]byte, []int)
func (*ListNotesRequest) GetFilter ¶
func (m *ListNotesRequest) GetFilter() string
func (*ListNotesRequest) GetPageSize ¶
func (m *ListNotesRequest) GetPageSize() int32
func (*ListNotesRequest) GetPageToken ¶
func (m *ListNotesRequest) GetPageToken() string
func (*ListNotesRequest) GetParent ¶
func (m *ListNotesRequest) GetParent() string
func (*ListNotesRequest) ProtoMessage ¶
func (*ListNotesRequest) ProtoMessage()
func (*ListNotesRequest) Reset ¶
func (m *ListNotesRequest) Reset()
func (*ListNotesRequest) String ¶
func (m *ListNotesRequest) String() string
func (*ListNotesRequest) XXX_DiscardUnknown ¶
func (m *ListNotesRequest) XXX_DiscardUnknown()
func (*ListNotesRequest) XXX_Marshal ¶
func (m *ListNotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNotesRequest) XXX_Merge ¶
func (m *ListNotesRequest) XXX_Merge(src proto.Message)
func (*ListNotesRequest) XXX_Size ¶
func (m *ListNotesRequest) XXX_Size() int
func (*ListNotesRequest) XXX_Unmarshal ¶
func (m *ListNotesRequest) XXX_Unmarshal(b []byte) error
type ListNotesResponse ¶
type ListNotesResponse struct { // The occurrences requested Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"` // The next pagination token in the list response. It should be used as // page_token for the following request. An empty value means no more result. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response including listed notes.
func (*ListNotesResponse) Descriptor ¶
func (*ListNotesResponse) Descriptor() ([]byte, []int)
func (*ListNotesResponse) GetNextPageToken ¶
func (m *ListNotesResponse) GetNextPageToken() string
func (*ListNotesResponse) GetNotes ¶
func (m *ListNotesResponse) GetNotes() []*Note
func (*ListNotesResponse) ProtoMessage ¶
func (*ListNotesResponse) ProtoMessage()
func (*ListNotesResponse) Reset ¶
func (m *ListNotesResponse) Reset()
func (*ListNotesResponse) String ¶
func (m *ListNotesResponse) String() string
func (*ListNotesResponse) XXX_DiscardUnknown ¶
func (m *ListNotesResponse) XXX_DiscardUnknown()
func (*ListNotesResponse) XXX_Marshal ¶
func (m *ListNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNotesResponse) XXX_Merge ¶
func (m *ListNotesResponse) XXX_Merge(src proto.Message)
func (*ListNotesResponse) XXX_Size ¶
func (m *ListNotesResponse) XXX_Size() int
func (*ListNotesResponse) XXX_Unmarshal ¶
func (m *ListNotesResponse) XXX_Unmarshal(b []byte) error
type ListOccurrencesRequest ¶
type ListOccurrencesRequest struct { // This contains the project Id for example: projects/{project_id}. Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` // The filter expression. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Number of occurrences to return in the list. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Token to provide to skip to a particular spot in the list. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to list occurrences.
func (*ListOccurrencesRequest) Descriptor ¶
func (*ListOccurrencesRequest) Descriptor() ([]byte, []int)
func (*ListOccurrencesRequest) GetFilter ¶
func (m *ListOccurrencesRequest) GetFilter() string
func (*ListOccurrencesRequest) GetPageSize ¶
func (m *ListOccurrencesRequest) GetPageSize() int32
func (*ListOccurrencesRequest) GetPageToken ¶
func (m *ListOccurrencesRequest) GetPageToken() string
func (*ListOccurrencesRequest) GetParent ¶
func (m *ListOccurrencesRequest) GetParent() string
func (*ListOccurrencesRequest) ProtoMessage ¶
func (*ListOccurrencesRequest) ProtoMessage()
func (*ListOccurrencesRequest) Reset ¶
func (m *ListOccurrencesRequest) Reset()
func (*ListOccurrencesRequest) String ¶
func (m *ListOccurrencesRequest) String() string
func (*ListOccurrencesRequest) XXX_DiscardUnknown ¶
func (m *ListOccurrencesRequest) XXX_DiscardUnknown()
func (*ListOccurrencesRequest) XXX_Marshal ¶
func (m *ListOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListOccurrencesRequest) XXX_Merge ¶
func (m *ListOccurrencesRequest) XXX_Merge(src proto.Message)
func (*ListOccurrencesRequest) XXX_Size ¶
func (m *ListOccurrencesRequest) XXX_Size() int
func (*ListOccurrencesRequest) XXX_Unmarshal ¶
func (m *ListOccurrencesRequest) XXX_Unmarshal(b []byte) error
type ListOccurrencesResponse ¶
type ListOccurrencesResponse struct { // The occurrences requested. Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` // The next pagination token in the list response. It should be used as // `page_token` for the following request. An empty value means no more // results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response including listed active occurrences.
func (*ListOccurrencesResponse) Descriptor ¶
func (*ListOccurrencesResponse) Descriptor() ([]byte, []int)
func (*ListOccurrencesResponse) GetNextPageToken ¶
func (m *ListOccurrencesResponse) GetNextPageToken() string
func (*ListOccurrencesResponse) GetOccurrences ¶
func (m *ListOccurrencesResponse) GetOccurrences() []*Occurrence
func (*ListOccurrencesResponse) ProtoMessage ¶
func (*ListOccurrencesResponse) ProtoMessage()
func (*ListOccurrencesResponse) Reset ¶
func (m *ListOccurrencesResponse) Reset()
func (*ListOccurrencesResponse) String ¶
func (m *ListOccurrencesResponse) String() string
func (*ListOccurrencesResponse) XXX_DiscardUnknown ¶
func (m *ListOccurrencesResponse) XXX_DiscardUnknown()
func (*ListOccurrencesResponse) XXX_Marshal ¶
func (m *ListOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListOccurrencesResponse) XXX_Merge ¶
func (m *ListOccurrencesResponse) XXX_Merge(src proto.Message)
func (*ListOccurrencesResponse) XXX_Size ¶
func (m *ListOccurrencesResponse) XXX_Size() int
func (*ListOccurrencesResponse) XXX_Unmarshal ¶
func (m *ListOccurrencesResponse) XXX_Unmarshal(b []byte) error
type ListOperationsResponse ¶
type ListOperationsResponse struct { // The next pagination token in the List response. It should be used as // page_token for the following request. An empty value means no more results. NextPageToken string `protobuf:"bytes,1,opt,name=nextPageToken,proto3" json:"nextPageToken,omitempty"` // The operations requested. Operations []*longrunning.Operation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response including listed operations.
func (*ListOperationsResponse) Descriptor ¶
func (*ListOperationsResponse) Descriptor() ([]byte, []int)
func (*ListOperationsResponse) GetNextPageToken ¶
func (m *ListOperationsResponse) GetNextPageToken() string
func (*ListOperationsResponse) GetOperations ¶
func (m *ListOperationsResponse) GetOperations() []*longrunning.Operation
func (*ListOperationsResponse) ProtoMessage ¶
func (*ListOperationsResponse) ProtoMessage()
func (*ListOperationsResponse) Reset ¶
func (m *ListOperationsResponse) Reset()
func (*ListOperationsResponse) String ¶
func (m *ListOperationsResponse) String() string
func (*ListOperationsResponse) XXX_DiscardUnknown ¶
func (m *ListOperationsResponse) XXX_DiscardUnknown()
func (*ListOperationsResponse) XXX_Marshal ¶
func (m *ListOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListOperationsResponse) XXX_Merge ¶
func (m *ListOperationsResponse) XXX_Merge(src proto.Message)
func (*ListOperationsResponse) XXX_Size ¶
func (m *ListOperationsResponse) XXX_Size() int
func (*ListOperationsResponse) XXX_Unmarshal ¶
func (m *ListOperationsResponse) XXX_Unmarshal(b []byte) error
type ListProjectsRequest ¶
type ListProjectsRequest struct { // The filter expression. Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // Number of projects to return in the list. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Token to provide to skip to a particular spot in the list. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to list projects.
func (*ListProjectsRequest) Descriptor ¶
func (*ListProjectsRequest) Descriptor() ([]byte, []int)
func (*ListProjectsRequest) GetFilter ¶
func (m *ListProjectsRequest) GetFilter() string
func (*ListProjectsRequest) GetPageSize ¶
func (m *ListProjectsRequest) GetPageSize() int32
func (*ListProjectsRequest) GetPageToken ¶
func (m *ListProjectsRequest) GetPageToken() string
func (*ListProjectsRequest) ProtoMessage ¶
func (*ListProjectsRequest) ProtoMessage()
func (*ListProjectsRequest) Reset ¶
func (m *ListProjectsRequest) Reset()
func (*ListProjectsRequest) String ¶
func (m *ListProjectsRequest) String() string
func (*ListProjectsRequest) XXX_DiscardUnknown ¶
func (m *ListProjectsRequest) XXX_DiscardUnknown()
func (*ListProjectsRequest) XXX_Marshal ¶
func (m *ListProjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListProjectsRequest) XXX_Merge ¶
func (m *ListProjectsRequest) XXX_Merge(src proto.Message)
func (*ListProjectsRequest) XXX_Size ¶
func (m *ListProjectsRequest) XXX_Size() int
func (*ListProjectsRequest) XXX_Unmarshal ¶
func (m *ListProjectsRequest) XXX_Unmarshal(b []byte) error
type ListProjectsResponse ¶
type ListProjectsResponse struct { // The projects requested. Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // The next pagination token in the list response. It should be used as // `page_token` for the following request. An empty value means no more // results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response for listing projects.
func (*ListProjectsResponse) Descriptor ¶
func (*ListProjectsResponse) Descriptor() ([]byte, []int)
func (*ListProjectsResponse) GetNextPageToken ¶
func (m *ListProjectsResponse) GetNextPageToken() string
func (*ListProjectsResponse) GetProjects ¶
func (m *ListProjectsResponse) GetProjects() []*Project
func (*ListProjectsResponse) ProtoMessage ¶
func (*ListProjectsResponse) ProtoMessage()
func (*ListProjectsResponse) Reset ¶
func (m *ListProjectsResponse) Reset()
func (*ListProjectsResponse) String ¶
func (m *ListProjectsResponse) String() string
func (*ListProjectsResponse) XXX_DiscardUnknown ¶
func (m *ListProjectsResponse) XXX_DiscardUnknown()
func (*ListProjectsResponse) XXX_Marshal ¶
func (m *ListProjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListProjectsResponse) XXX_Merge ¶
func (m *ListProjectsResponse) XXX_Merge(src proto.Message)
func (*ListProjectsResponse) XXX_Size ¶
func (m *ListProjectsResponse) XXX_Size() int
func (*ListProjectsResponse) XXX_Unmarshal ¶
func (m *ListProjectsResponse) XXX_Unmarshal(b []byte) error
type Note ¶
type Note struct { // The name of the note in the form "projects/{PROJECT_ID}/notes/{NOTE_ID}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A one sentence description of this `Note`. ShortDescription string `protobuf:"bytes,3,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` // A detailed description of this `Note`. LongDescription string `protobuf:"bytes,4,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` // Output only. This explicitly denotes which kind of note is specified. This // field can be used as a filter in list requests. Kind Note_Kind `protobuf:"varint,9,opt,name=kind,proto3,enum=grafeas.v1alpha1.api.Note_Kind" json:"kind,omitempty"` // The type of note. // // Types that are valid to be assigned to NoteType: // *Note_VulnerabilityType // *Note_BuildType // *Note_BaseImage // *Note_Package // *Note_Deployable // *Note_Discovery // *Note_AttestationAuthority NoteType isNote_NoteType `protobuf_oneof:"note_type"` // URLs associated with this note. RelatedUrl []*Note_RelatedUrl `protobuf:"bytes,7,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"` // Time of expiration for this note, null if note does not expire. ExpirationTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` // Output only. The time this note was created. This field can be used as a // filter in list requests. CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time this note was last updated. This field can be used as // a filter in list requests. UpdateTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The name of the `Operation` in the form // "projects/{PROJECT_ID}/operations/{OPERATION_ID}". OperationName string `protobuf:"bytes,19,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Provides a detailed description of a `Note`.
func (*Note) Descriptor ¶
func (*Note) GetAttestationAuthority ¶
func (m *Note) GetAttestationAuthority() *AttestationAuthority
func (*Note) GetBaseImage ¶
func (m *Note) GetBaseImage() *DockerImage_Basis
func (*Note) GetBuildType ¶
func (*Note) GetCreateTime ¶
func (*Note) GetDeployable ¶
func (m *Note) GetDeployable() *Deployable
func (*Note) GetDiscovery ¶
func (*Note) GetExpirationTime ¶
func (*Note) GetLongDescription ¶
func (*Note) GetNoteType ¶
func (m *Note) GetNoteType() isNote_NoteType
func (*Note) GetOperationName ¶
func (*Note) GetPackage ¶
func (m *Note) GetPackage() *PackageManager_Package
func (*Note) GetRelatedUrl ¶
func (m *Note) GetRelatedUrl() []*Note_RelatedUrl
func (*Note) GetShortDescription ¶
func (*Note) GetUpdateTime ¶
func (*Note) GetVulnerabilityType ¶
func (m *Note) GetVulnerabilityType() *VulnerabilityType
func (*Note) ProtoMessage ¶
func (*Note) ProtoMessage()
func (*Note) XXX_DiscardUnknown ¶
func (m *Note) XXX_DiscardUnknown()
func (*Note) XXX_OneofWrappers ¶
func (*Note) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Note) XXX_Unmarshal ¶
type Note_AttestationAuthority ¶
type Note_AttestationAuthority struct {
AttestationAuthority *AttestationAuthority `protobuf:"bytes,20,opt,name=attestation_authority,json=attestationAuthority,proto3,oneof"`
}
type Note_BaseImage ¶
type Note_BaseImage struct {
BaseImage *DockerImage_Basis `protobuf:"bytes,13,opt,name=base_image,json=baseImage,proto3,oneof"`
}
type Note_BuildType ¶
type Note_BuildType struct {
BuildType *BuildType `protobuf:"bytes,8,opt,name=build_type,json=buildType,proto3,oneof"`
}
type Note_Deployable ¶
type Note_Deployable struct {
Deployable *Deployable `protobuf:"bytes,17,opt,name=deployable,proto3,oneof"`
}
type Note_Discovery ¶
type Note_Discovery struct {
Discovery *Discovery `protobuf:"bytes,18,opt,name=discovery,proto3,oneof"`
}
type Note_Kind ¶
type Note_Kind int32
This must be 1:1 with members of our oneofs, it can be used for filtering Note and Occurrence on their kind.
const ( // Unknown Note_KIND_UNSPECIFIED Note_Kind = 0 // The note and occurrence represent a package vulnerability. Note_PACKAGE_VULNERABILITY Note_Kind = 2 // The note and occurrence assert build provenance. Note_BUILD_DETAILS Note_Kind = 3 // This represents an image basis relationship. Note_IMAGE_BASIS Note_Kind = 4 // This represents a package installed via a package manager. Note_PACKAGE_MANAGER Note_Kind = 5 // The note and occurrence track deployment events. Note_DEPLOYABLE Note_Kind = 6 // The note and occurrence track the initial discovery status of a resource. Note_DISCOVERY Note_Kind = 7 // This represents a logical "role" that can attest to artifacts. Note_ATTESTATION_AUTHORITY Note_Kind = 8 )
func (Note_Kind) EnumDescriptor ¶
type Note_Package ¶
type Note_Package struct {
Package *PackageManager_Package `protobuf:"bytes,14,opt,name=package,proto3,oneof"`
}
type Note_RelatedUrl ¶
type Note_RelatedUrl struct { // Specific URL to associate with the note. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // Label to describe usage of the URL. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata for any related URL information.
func (*Note_RelatedUrl) Descriptor ¶
func (*Note_RelatedUrl) Descriptor() ([]byte, []int)
func (*Note_RelatedUrl) GetLabel ¶
func (m *Note_RelatedUrl) GetLabel() string
func (*Note_RelatedUrl) GetUrl ¶
func (m *Note_RelatedUrl) GetUrl() string
func (*Note_RelatedUrl) ProtoMessage ¶
func (*Note_RelatedUrl) ProtoMessage()
func (*Note_RelatedUrl) Reset ¶
func (m *Note_RelatedUrl) Reset()
func (*Note_RelatedUrl) String ¶
func (m *Note_RelatedUrl) String() string
func (*Note_RelatedUrl) XXX_DiscardUnknown ¶
func (m *Note_RelatedUrl) XXX_DiscardUnknown()
func (*Note_RelatedUrl) XXX_Marshal ¶
func (m *Note_RelatedUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Note_RelatedUrl) XXX_Merge ¶
func (m *Note_RelatedUrl) XXX_Merge(src proto.Message)
func (*Note_RelatedUrl) XXX_Size ¶
func (m *Note_RelatedUrl) XXX_Size() int
func (*Note_RelatedUrl) XXX_Unmarshal ¶
func (m *Note_RelatedUrl) XXX_Unmarshal(b []byte) error
type Note_VulnerabilityType ¶
type Note_VulnerabilityType struct {
VulnerabilityType *VulnerabilityType `protobuf:"bytes,6,opt,name=vulnerability_type,json=vulnerabilityType,proto3,oneof"`
}
type Occurrence ¶
type Occurrence struct { // Output only. The name of the `Occurrence` in the form // "projects/{project_id}/occurrences/{OCCURRENCE_ID}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The unique URL of the image or the container for which the `Occurrence` // applies. For example, https://gcr.io/project/image@sha256:foo This field // can be used as a filter in list requests. ResourceUrl string `protobuf:"bytes,2,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` // An analysis note associated with this image, in the form // "providers/{provider_id}/notes/{NOTE_ID}" // This field can be used as a filter in list requests. NoteName string `protobuf:"bytes,3,opt,name=note_name,json=noteName,proto3" json:"note_name,omitempty"` // Output only. This explicitly denotes which of the `Occurrence` details are // specified. This field can be used as a filter in list requests. Kind Note_Kind `protobuf:"varint,6,opt,name=kind,proto3,enum=grafeas.v1alpha1.api.Note_Kind" json:"kind,omitempty"` // Describes the details of the vulnerability `Note` found in this resource. // // Types that are valid to be assigned to Details: // *Occurrence_VulnerabilityDetails // *Occurrence_BuildDetails // *Occurrence_DerivedImageDetails // *Occurrence_InstallationDetails // *Occurrence_DeploymentDetails // *Occurrence_DiscoveredDetails // *Occurrence_AttestationDetails Details isOccurrence_Details `protobuf_oneof:"details"` // A description of actions that can be taken to remedy the `Note` Remediation string `protobuf:"bytes,5,opt,name=remediation,proto3" json:"remediation,omitempty"` // Output only. The time this `Occurrence` was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time this `Occurrence` was last updated. UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The name of the `Operation` in the form // "projects/{PROJECT_ID}/operations/{OPERATION_ID}" OperationName string `protobuf:"bytes,19,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
`Occurrence` includes information about analysis occurrences for an image.
func (*Occurrence) Descriptor ¶
func (*Occurrence) Descriptor() ([]byte, []int)
func (*Occurrence) GetAttestationDetails ¶
func (m *Occurrence) GetAttestationDetails() *AttestationAuthority_AttestationDetails
func (*Occurrence) GetBuildDetails ¶
func (m *Occurrence) GetBuildDetails() *BuildDetails
func (*Occurrence) GetCreateTime ¶
func (m *Occurrence) GetCreateTime() *timestamp.Timestamp
func (*Occurrence) GetDeploymentDetails ¶
func (m *Occurrence) GetDeploymentDetails() *Deployable_DeploymentDetails
func (*Occurrence) GetDerivedImageDetails ¶
func (m *Occurrence) GetDerivedImageDetails() *DockerImage_DerivedDetails
func (*Occurrence) GetDetails ¶
func (m *Occurrence) GetDetails() isOccurrence_Details
func (*Occurrence) GetDiscoveredDetails ¶
func (m *Occurrence) GetDiscoveredDetails() *Discovery_DiscoveredDetails
func (*Occurrence) GetInstallationDetails ¶
func (m *Occurrence) GetInstallationDetails() *PackageManager_InstallationDetails
func (*Occurrence) GetKind ¶
func (m *Occurrence) GetKind() Note_Kind
func (*Occurrence) GetName ¶
func (m *Occurrence) GetName() string
func (*Occurrence) GetNoteName ¶
func (m *Occurrence) GetNoteName() string
func (*Occurrence) GetOperationName ¶
func (m *Occurrence) GetOperationName() string
func (*Occurrence) GetRemediation ¶
func (m *Occurrence) GetRemediation() string
func (*Occurrence) GetResourceUrl ¶
func (m *Occurrence) GetResourceUrl() string
func (*Occurrence) GetUpdateTime ¶
func (m *Occurrence) GetUpdateTime() *timestamp.Timestamp
func (*Occurrence) GetVulnerabilityDetails ¶
func (m *Occurrence) GetVulnerabilityDetails() *VulnerabilityType_VulnerabilityDetails
func (*Occurrence) ProtoMessage ¶
func (*Occurrence) ProtoMessage()
func (*Occurrence) Reset ¶
func (m *Occurrence) Reset()
func (*Occurrence) String ¶
func (m *Occurrence) String() string
func (*Occurrence) XXX_DiscardUnknown ¶
func (m *Occurrence) XXX_DiscardUnknown()
func (*Occurrence) XXX_Marshal ¶
func (m *Occurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Occurrence) XXX_Merge ¶
func (m *Occurrence) XXX_Merge(src proto.Message)
func (*Occurrence) XXX_OneofWrappers ¶
func (*Occurrence) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Occurrence) XXX_Size ¶
func (m *Occurrence) XXX_Size() int
func (*Occurrence) XXX_Unmarshal ¶
func (m *Occurrence) XXX_Unmarshal(b []byte) error
type Occurrence_AttestationDetails ¶
type Occurrence_AttestationDetails struct {
AttestationDetails *AttestationAuthority_AttestationDetails `protobuf:"bytes,16,opt,name=attestation_details,json=attestationDetails,proto3,oneof"`
}
type Occurrence_BuildDetails ¶
type Occurrence_BuildDetails struct {
BuildDetails *BuildDetails `protobuf:"bytes,7,opt,name=build_details,json=buildDetails,proto3,oneof"`
}
type Occurrence_DeploymentDetails ¶
type Occurrence_DeploymentDetails struct {
DeploymentDetails *Deployable_DeploymentDetails `protobuf:"bytes,14,opt,name=deployment_details,json=deploymentDetails,proto3,oneof"`
}
type Occurrence_DerivedImageDetails ¶
type Occurrence_DerivedImageDetails struct {
DerivedImageDetails *DockerImage_DerivedDetails `protobuf:"bytes,11,opt,name=derived_image_details,json=derivedImageDetails,proto3,oneof"`
}
type Occurrence_DiscoveredDetails ¶
type Occurrence_DiscoveredDetails struct {
DiscoveredDetails *Discovery_DiscoveredDetails `protobuf:"bytes,15,opt,name=discovered_details,json=discoveredDetails,proto3,oneof"`
}
type Occurrence_InstallationDetails ¶
type Occurrence_InstallationDetails struct {
InstallationDetails *PackageManager_InstallationDetails `protobuf:"bytes,12,opt,name=installation_details,json=installationDetails,proto3,oneof"`
}
type Occurrence_VulnerabilityDetails ¶
type Occurrence_VulnerabilityDetails struct {
VulnerabilityDetails *VulnerabilityType_VulnerabilityDetails `protobuf:"bytes,8,opt,name=vulnerability_details,json=vulnerabilityDetails,proto3,oneof"`
}
type OperationMetadata ¶
type OperationMetadata struct { // Output only. The time this operation was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time that this operation was marked completed or failed. EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata for all operations used and required for all operations that created by Container Analysis Providers
func (*OperationMetadata) Descriptor ¶
func (*OperationMetadata) Descriptor() ([]byte, []int)
func (*OperationMetadata) GetCreateTime ¶
func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp
func (*OperationMetadata) GetEndTime ¶
func (m *OperationMetadata) GetEndTime() *timestamp.Timestamp
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) Reset ¶
func (m *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (m *OperationMetadata) String() string
func (*OperationMetadata) XXX_DiscardUnknown ¶
func (m *OperationMetadata) XXX_DiscardUnknown()
func (*OperationMetadata) XXX_Marshal ¶
func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OperationMetadata) XXX_Merge ¶
func (m *OperationMetadata) XXX_Merge(src proto.Message)
func (*OperationMetadata) XXX_Size ¶
func (m *OperationMetadata) XXX_Size() int
func (*OperationMetadata) XXX_Unmarshal ¶
func (m *OperationMetadata) XXX_Unmarshal(b []byte) error
type PackageManager ¶
type PackageManager struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PackageManager provides metadata about available / installed packages.
func (*PackageManager) Descriptor ¶
func (*PackageManager) Descriptor() ([]byte, []int)
func (*PackageManager) ProtoMessage ¶
func (*PackageManager) ProtoMessage()
func (*PackageManager) Reset ¶
func (m *PackageManager) Reset()
func (*PackageManager) String ¶
func (m *PackageManager) String() string
func (*PackageManager) XXX_DiscardUnknown ¶
func (m *PackageManager) XXX_DiscardUnknown()
func (*PackageManager) XXX_Marshal ¶
func (m *PackageManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageManager) XXX_Merge ¶
func (m *PackageManager) XXX_Merge(src proto.Message)
func (*PackageManager) XXX_Size ¶
func (m *PackageManager) XXX_Size() int
func (*PackageManager) XXX_Unmarshal ¶
func (m *PackageManager) XXX_Unmarshal(b []byte) error
type PackageManager_Architecture ¶
type PackageManager_Architecture int32
Instruction set architectures supported by various package managers.
const ( // Unknown architecture PackageManager_ARCHITECTURE_UNSPECIFIED PackageManager_Architecture = 0 // X86 architecture PackageManager_X86 PackageManager_Architecture = 1 // X64 architecture PackageManager_X64 PackageManager_Architecture = 2 )
func (PackageManager_Architecture) EnumDescriptor ¶
func (PackageManager_Architecture) EnumDescriptor() ([]byte, []int)
func (PackageManager_Architecture) String ¶
func (x PackageManager_Architecture) String() string
type PackageManager_Distribution ¶
type PackageManager_Distribution struct { // The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) // denoting the package manager version distributing a package. CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"` // The CPU architecture for which packages in this distribution // channel were built Architecture PackageManager_Architecture `` /* 132-byte string literal not displayed */ // The latest available version of this package in // this distribution channel. LatestVersion *VulnerabilityType_Version `protobuf:"bytes,3,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"` // A freeform string denoting the maintainer of this package. Maintainer string `protobuf:"bytes,4,opt,name=maintainer,proto3" json:"maintainer,omitempty"` // The distribution channel-specific homepage for this package. Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` // The distribution channel-specific description of this package. Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
This represents a particular channel of distribution for a given package. e.g. Debian's jessie-backports dpkg mirror
func (*PackageManager_Distribution) Descriptor ¶
func (*PackageManager_Distribution) Descriptor() ([]byte, []int)
func (*PackageManager_Distribution) GetArchitecture ¶
func (m *PackageManager_Distribution) GetArchitecture() PackageManager_Architecture
func (*PackageManager_Distribution) GetCpeUri ¶
func (m *PackageManager_Distribution) GetCpeUri() string
func (*PackageManager_Distribution) GetDescription ¶
func (m *PackageManager_Distribution) GetDescription() string
func (*PackageManager_Distribution) GetLatestVersion ¶
func (m *PackageManager_Distribution) GetLatestVersion() *VulnerabilityType_Version
func (*PackageManager_Distribution) GetMaintainer ¶
func (m *PackageManager_Distribution) GetMaintainer() string
func (*PackageManager_Distribution) GetUrl ¶
func (m *PackageManager_Distribution) GetUrl() string
func (*PackageManager_Distribution) ProtoMessage ¶
func (*PackageManager_Distribution) ProtoMessage()
func (*PackageManager_Distribution) Reset ¶
func (m *PackageManager_Distribution) Reset()
func (*PackageManager_Distribution) String ¶
func (m *PackageManager_Distribution) String() string
func (*PackageManager_Distribution) XXX_DiscardUnknown ¶
func (m *PackageManager_Distribution) XXX_DiscardUnknown()
func (*PackageManager_Distribution) XXX_Marshal ¶
func (m *PackageManager_Distribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageManager_Distribution) XXX_Merge ¶
func (m *PackageManager_Distribution) XXX_Merge(src proto.Message)
func (*PackageManager_Distribution) XXX_Size ¶
func (m *PackageManager_Distribution) XXX_Size() int
func (*PackageManager_Distribution) XXX_Unmarshal ¶
func (m *PackageManager_Distribution) XXX_Unmarshal(b []byte) error
type PackageManager_InstallationDetails ¶
type PackageManager_InstallationDetails struct { // Output only. The name of the installed package. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // All of the places within the filesystem versions of this package // have been found. Location []*PackageManager_Location `protobuf:"bytes,2,rep,name=location,proto3" json:"location,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
This represents how a particular software package may be installed on a system.
func (*PackageManager_InstallationDetails) Descriptor ¶
func (*PackageManager_InstallationDetails) Descriptor() ([]byte, []int)
func (*PackageManager_InstallationDetails) GetLocation ¶
func (m *PackageManager_InstallationDetails) GetLocation() []*PackageManager_Location
func (*PackageManager_InstallationDetails) GetName ¶
func (m *PackageManager_InstallationDetails) GetName() string
func (*PackageManager_InstallationDetails) ProtoMessage ¶
func (*PackageManager_InstallationDetails) ProtoMessage()
func (*PackageManager_InstallationDetails) Reset ¶
func (m *PackageManager_InstallationDetails) Reset()
func (*PackageManager_InstallationDetails) String ¶
func (m *PackageManager_InstallationDetails) String() string
func (*PackageManager_InstallationDetails) XXX_DiscardUnknown ¶
func (m *PackageManager_InstallationDetails) XXX_DiscardUnknown()
func (*PackageManager_InstallationDetails) XXX_Marshal ¶
func (m *PackageManager_InstallationDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageManager_InstallationDetails) XXX_Merge ¶
func (m *PackageManager_InstallationDetails) XXX_Merge(src proto.Message)
func (*PackageManager_InstallationDetails) XXX_Size ¶
func (m *PackageManager_InstallationDetails) XXX_Size() int
func (*PackageManager_InstallationDetails) XXX_Unmarshal ¶
func (m *PackageManager_InstallationDetails) XXX_Unmarshal(b []byte) error
type PackageManager_Location ¶
type PackageManager_Location struct { // The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) // denoting the package manager version distributing a package. CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"` // The version installed at this location. Version *VulnerabilityType_Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // The path from which we gathered that this package/version is installed. Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An occurrence of a particular package installation found within a system's filesystem. e.g. glibc was found in /var/lib/dpkg/status
func (*PackageManager_Location) Descriptor ¶
func (*PackageManager_Location) Descriptor() ([]byte, []int)
func (*PackageManager_Location) GetCpeUri ¶
func (m *PackageManager_Location) GetCpeUri() string
func (*PackageManager_Location) GetPath ¶
func (m *PackageManager_Location) GetPath() string
func (*PackageManager_Location) GetVersion ¶
func (m *PackageManager_Location) GetVersion() *VulnerabilityType_Version
func (*PackageManager_Location) ProtoMessage ¶
func (*PackageManager_Location) ProtoMessage()
func (*PackageManager_Location) Reset ¶
func (m *PackageManager_Location) Reset()
func (*PackageManager_Location) String ¶
func (m *PackageManager_Location) String() string
func (*PackageManager_Location) XXX_DiscardUnknown ¶
func (m *PackageManager_Location) XXX_DiscardUnknown()
func (*PackageManager_Location) XXX_Marshal ¶
func (m *PackageManager_Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageManager_Location) XXX_Merge ¶
func (m *PackageManager_Location) XXX_Merge(src proto.Message)
func (*PackageManager_Location) XXX_Size ¶
func (m *PackageManager_Location) XXX_Size() int
func (*PackageManager_Location) XXX_Unmarshal ¶
func (m *PackageManager_Location) XXX_Unmarshal(b []byte) error
type PackageManager_Package ¶
type PackageManager_Package struct { // The name of the package. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The various channels by which a package is distributed. Distribution []*PackageManager_Distribution `protobuf:"bytes,10,rep,name=distribution,proto3" json:"distribution,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions.
func (*PackageManager_Package) Descriptor ¶
func (*PackageManager_Package) Descriptor() ([]byte, []int)
func (*PackageManager_Package) GetDistribution ¶
func (m *PackageManager_Package) GetDistribution() []*PackageManager_Distribution
func (*PackageManager_Package) GetName ¶
func (m *PackageManager_Package) GetName() string
func (*PackageManager_Package) ProtoMessage ¶
func (*PackageManager_Package) ProtoMessage()
func (*PackageManager_Package) Reset ¶
func (m *PackageManager_Package) Reset()
func (*PackageManager_Package) String ¶
func (m *PackageManager_Package) String() string
func (*PackageManager_Package) XXX_DiscardUnknown ¶
func (m *PackageManager_Package) XXX_DiscardUnknown()
func (*PackageManager_Package) XXX_Marshal ¶
func (m *PackageManager_Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageManager_Package) XXX_Merge ¶
func (m *PackageManager_Package) XXX_Merge(src proto.Message)
func (*PackageManager_Package) XXX_Size ¶
func (m *PackageManager_Package) XXX_Size() int
func (*PackageManager_Package) XXX_Unmarshal ¶
func (m *PackageManager_Package) XXX_Unmarshal(b []byte) error
type PgpSignedAttestation ¶
type PgpSignedAttestation struct { // The raw content of the signature, as output by gpg or equivalent. Since // this message only supports attached signatures, the payload that was signed // must be attached. While the signature format supported is dependent on the // verification implementation, currently only ASCII-armored (`--armor` to // gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are // supported. // Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will // create the signature content expected in this field in `signature.gpg` for // the `payload.json` attestation payload. Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` // Type (e.g. schema) of the attestation payload that was signed. // The verifier must ensure that the provided type is one that the verifier // supports, and that the attestation payload is a valid instantiation of that // type (e.g. by validating a JSON schema). ContentType PgpSignedAttestation_ContentType `` /* 154-byte string literal not displayed */ // This field is used by verifiers to select the public key used to validate // the signature. Note that the policy of the verifier ultimately determines // which public keys verify a signature based on the context of the // verification. There is no guarantee validation will succeed if the // verifier has no key matching this ID, even if it has a key under a // different ID that would verify the signature. Note that this ID should also // be present in the signature content above, but that is not expected to be // used by the verifier. // // Types that are valid to be assigned to KeyId: // *PgpSignedAttestation_PgpKeyId KeyId isPgpSignedAttestation_KeyId `protobuf_oneof:"key_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An attestation wrapper with a PGP-compatible signature. This message only supports ATTACHED signatures, where the payload that is signed is included alongside the signature itself in the same file.
func (*PgpSignedAttestation) Descriptor ¶
func (*PgpSignedAttestation) Descriptor() ([]byte, []int)
func (*PgpSignedAttestation) GetContentType ¶
func (m *PgpSignedAttestation) GetContentType() PgpSignedAttestation_ContentType
func (*PgpSignedAttestation) GetKeyId ¶
func (m *PgpSignedAttestation) GetKeyId() isPgpSignedAttestation_KeyId
func (*PgpSignedAttestation) GetPgpKeyId ¶
func (m *PgpSignedAttestation) GetPgpKeyId() string
func (*PgpSignedAttestation) GetSignature ¶
func (m *PgpSignedAttestation) GetSignature() string
func (*PgpSignedAttestation) ProtoMessage ¶
func (*PgpSignedAttestation) ProtoMessage()
func (*PgpSignedAttestation) Reset ¶
func (m *PgpSignedAttestation) Reset()
func (*PgpSignedAttestation) String ¶
func (m *PgpSignedAttestation) String() string
func (*PgpSignedAttestation) XXX_DiscardUnknown ¶
func (m *PgpSignedAttestation) XXX_DiscardUnknown()
func (*PgpSignedAttestation) XXX_Marshal ¶
func (m *PgpSignedAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PgpSignedAttestation) XXX_Merge ¶
func (m *PgpSignedAttestation) XXX_Merge(src proto.Message)
func (*PgpSignedAttestation) XXX_OneofWrappers ¶
func (*PgpSignedAttestation) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PgpSignedAttestation) XXX_Size ¶
func (m *PgpSignedAttestation) XXX_Size() int
func (*PgpSignedAttestation) XXX_Unmarshal ¶
func (m *PgpSignedAttestation) XXX_Unmarshal(b []byte) error
type PgpSignedAttestation_ContentType ¶
type PgpSignedAttestation_ContentType int32
Type (e.g. schema) of the attestation payload that was signed.
const ( // ContentType is not set. PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED PgpSignedAttestation_ContentType = 0 // Atomic format attestation signature. See // https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md // The payload extracted from `signature` is a JSON blob conforming to the // linked schema. PgpSignedAttestation_SIMPLE_SIGNING_JSON PgpSignedAttestation_ContentType = 1 )
func (PgpSignedAttestation_ContentType) EnumDescriptor ¶
func (PgpSignedAttestation_ContentType) EnumDescriptor() ([]byte, []int)
func (PgpSignedAttestation_ContentType) String ¶
func (x PgpSignedAttestation_ContentType) String() string
type PgpSignedAttestation_PgpKeyId ¶
type PgpSignedAttestation_PgpKeyId struct {
PgpKeyId string `protobuf:"bytes,2,opt,name=pgp_key_id,json=pgpKeyId,proto3,oneof"`
}
type Project ¶
type Project struct { // The name of the project in the form of `projects/{PROJECT_ID}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Describes a Grafeas project.
func (*Project) Descriptor ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) XXX_DiscardUnknown ¶
func (m *Project) XXX_DiscardUnknown()
func (*Project) XXX_Marshal ¶
func (*Project) XXX_Unmarshal ¶
type ProjectRepoId ¶
type ProjectRepoId struct { // The ID of the project. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the repo. Leave empty for the default repo. RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project.
func (*ProjectRepoId) Descriptor ¶
func (*ProjectRepoId) Descriptor() ([]byte, []int)
func (*ProjectRepoId) GetProjectId ¶
func (m *ProjectRepoId) GetProjectId() string
func (*ProjectRepoId) GetRepoName ¶
func (m *ProjectRepoId) GetRepoName() string
func (*ProjectRepoId) ProtoMessage ¶
func (*ProjectRepoId) ProtoMessage()
func (*ProjectRepoId) Reset ¶
func (m *ProjectRepoId) Reset()
func (*ProjectRepoId) String ¶
func (m *ProjectRepoId) String() string
func (*ProjectRepoId) XXX_DiscardUnknown ¶
func (m *ProjectRepoId) XXX_DiscardUnknown()
func (*ProjectRepoId) XXX_Marshal ¶
func (m *ProjectRepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectRepoId) XXX_Merge ¶
func (m *ProjectRepoId) XXX_Merge(src proto.Message)
func (*ProjectRepoId) XXX_Size ¶
func (m *ProjectRepoId) XXX_Size() int
func (*ProjectRepoId) XXX_Unmarshal ¶
func (m *ProjectRepoId) XXX_Unmarshal(b []byte) error
type RepoId ¶
type RepoId struct { // A cloud repo can be identified by either its project ID and repository name // combination, or its globally unique identifier. // // Types that are valid to be assigned to Id: // *RepoId_ProjectRepoId // *RepoId_Uid Id isRepoId_Id `protobuf_oneof:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A unique identifier for a Cloud Repo.
func (*RepoId) Descriptor ¶
func (*RepoId) GetProjectRepoId ¶
func (m *RepoId) GetProjectRepoId() *ProjectRepoId
func (*RepoId) ProtoMessage ¶
func (*RepoId) ProtoMessage()
func (*RepoId) XXX_DiscardUnknown ¶
func (m *RepoId) XXX_DiscardUnknown()
func (*RepoId) XXX_Marshal ¶
func (*RepoId) XXX_OneofWrappers ¶
func (*RepoId) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*RepoId) XXX_Unmarshal ¶
type RepoId_ProjectRepoId ¶
type RepoId_ProjectRepoId struct {
ProjectRepoId *ProjectRepoId `protobuf:"bytes,1,opt,name=project_repo_id,json=projectRepoId,proto3,oneof"`
}
type RepoId_Uid ¶
type RepoId_Uid struct {
Uid string `protobuf:"bytes,2,opt,name=uid,proto3,oneof"`
}
type RepoSource ¶
type RepoSource struct { // ID of the project that owns the repo. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Name of the repo. RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` // A revision within the source repository must be specified in // one of these ways. // // Types that are valid to be assigned to Revision: // *RepoSource_BranchName // *RepoSource_TagName // *RepoSource_CommitSha Revision isRepoSource_Revision `protobuf_oneof:"revision"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
RepoSource describes the location of the source in a Google Cloud Source Repository.
func (*RepoSource) Descriptor ¶
func (*RepoSource) Descriptor() ([]byte, []int)
func (*RepoSource) GetBranchName ¶
func (m *RepoSource) GetBranchName() string
func (*RepoSource) GetCommitSha ¶
func (m *RepoSource) GetCommitSha() string
func (*RepoSource) GetProjectId ¶
func (m *RepoSource) GetProjectId() string
func (*RepoSource) GetRepoName ¶
func (m *RepoSource) GetRepoName() string
func (*RepoSource) GetRevision ¶
func (m *RepoSource) GetRevision() isRepoSource_Revision
func (*RepoSource) GetTagName ¶
func (m *RepoSource) GetTagName() string
func (*RepoSource) ProtoMessage ¶
func (*RepoSource) ProtoMessage()
func (*RepoSource) Reset ¶
func (m *RepoSource) Reset()
func (*RepoSource) String ¶
func (m *RepoSource) String() string
func (*RepoSource) XXX_DiscardUnknown ¶
func (m *RepoSource) XXX_DiscardUnknown()
func (*RepoSource) XXX_Marshal ¶
func (m *RepoSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepoSource) XXX_Merge ¶
func (m *RepoSource) XXX_Merge(src proto.Message)
func (*RepoSource) XXX_OneofWrappers ¶
func (*RepoSource) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*RepoSource) XXX_Size ¶
func (m *RepoSource) XXX_Size() int
func (*RepoSource) XXX_Unmarshal ¶
func (m *RepoSource) XXX_Unmarshal(b []byte) error
type RepoSource_BranchName ¶
type RepoSource_BranchName struct {
BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3,oneof"`
}
type RepoSource_CommitSha ¶
type RepoSource_CommitSha struct {
CommitSha string `protobuf:"bytes,5,opt,name=commit_sha,json=commitSha,proto3,oneof"`
}
type RepoSource_TagName ¶
type RepoSource_TagName struct {
TagName string `protobuf:"bytes,4,opt,name=tag_name,json=tagName,proto3,oneof"`
}
type Source ¶
type Source struct { // Source location information. // // Types that are valid to be assigned to Source: // *Source_StorageSource // *Source_RepoSource Source isSource_Source `protobuf_oneof:"source"` // If provided, the input binary artifacts for the build came from this // location. ArtifactStorageSource *StorageSource `` /* 126-byte string literal not displayed */ // Hash(es) of the build source, which can be used to verify that the original // source integrity was maintained in the build. // // The keys to this map are file paths used as build source and the values // contain the hash values for those files. // // If the build source came in a single package such as a gzipped tarfile // (.tar.gz), the FileHash will be for the single path to that file. FileHashes map[string]*FileHashes `` /* 179-byte string literal not displayed */ // If provided, the source code used for the build came from this location. Context *SourceContext `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"` // If provided, some of the source code used for the build may be found in // these locations, in the case where the source repository had multiple // remotes or submodules. This list will not include the context specified in // the context field. AdditionalContexts []*SourceContext `protobuf:"bytes,8,rep,name=additional_contexts,json=additionalContexts,proto3" json:"additional_contexts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Source describes the location of the source used for the build.
func (*Source) Descriptor ¶
func (*Source) GetAdditionalContexts ¶
func (m *Source) GetAdditionalContexts() []*SourceContext
func (*Source) GetArtifactStorageSource ¶
func (m *Source) GetArtifactStorageSource() *StorageSource
func (*Source) GetContext ¶
func (m *Source) GetContext() *SourceContext
func (*Source) GetFileHashes ¶
func (m *Source) GetFileHashes() map[string]*FileHashes
func (*Source) GetRepoSource ¶
func (m *Source) GetRepoSource() *RepoSource
func (*Source) GetStorageSource ¶
func (m *Source) GetStorageSource() *StorageSource
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) XXX_DiscardUnknown ¶
func (m *Source) XXX_DiscardUnknown()
func (*Source) XXX_Marshal ¶
func (*Source) XXX_OneofWrappers ¶
func (*Source) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Source) XXX_Unmarshal ¶
type SourceContext ¶
type SourceContext struct { // A SourceContext can refer any one of the following types of repositories. // // Types that are valid to be assigned to Context: // *SourceContext_CloudRepo // *SourceContext_Gerrit // *SourceContext_Git Context isSourceContext_Context `protobuf_oneof:"context"` // Labels with user defined metadata. Labels map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
func (*SourceContext) Descriptor ¶
func (*SourceContext) Descriptor() ([]byte, []int)
func (*SourceContext) GetCloudRepo ¶
func (m *SourceContext) GetCloudRepo() *CloudRepoSourceContext
func (*SourceContext) GetContext ¶
func (m *SourceContext) GetContext() isSourceContext_Context
func (*SourceContext) GetGerrit ¶
func (m *SourceContext) GetGerrit() *GerritSourceContext
func (*SourceContext) GetGit ¶
func (m *SourceContext) GetGit() *GitSourceContext
func (*SourceContext) GetLabels ¶
func (m *SourceContext) GetLabels() map[string]string
func (*SourceContext) ProtoMessage ¶
func (*SourceContext) ProtoMessage()
func (*SourceContext) Reset ¶
func (m *SourceContext) Reset()
func (*SourceContext) String ¶
func (m *SourceContext) String() string
func (*SourceContext) XXX_DiscardUnknown ¶
func (m *SourceContext) XXX_DiscardUnknown()
func (*SourceContext) XXX_Marshal ¶
func (m *SourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SourceContext) XXX_Merge ¶
func (m *SourceContext) XXX_Merge(src proto.Message)
func (*SourceContext) XXX_OneofWrappers ¶
func (*SourceContext) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SourceContext) XXX_Size ¶
func (m *SourceContext) XXX_Size() int
func (*SourceContext) XXX_Unmarshal ¶
func (m *SourceContext) XXX_Unmarshal(b []byte) error
type SourceContext_CloudRepo ¶
type SourceContext_CloudRepo struct {
CloudRepo *CloudRepoSourceContext `protobuf:"bytes,1,opt,name=cloud_repo,json=cloudRepo,proto3,oneof"`
}
type SourceContext_Gerrit ¶
type SourceContext_Gerrit struct {
Gerrit *GerritSourceContext `protobuf:"bytes,2,opt,name=gerrit,proto3,oneof"`
}
type SourceContext_Git ¶
type SourceContext_Git struct {
Git *GitSourceContext `protobuf:"bytes,3,opt,name=git,proto3,oneof"`
}
type Source_RepoSource ¶
type Source_RepoSource struct {
RepoSource *RepoSource `protobuf:"bytes,2,opt,name=repo_source,json=repoSource,proto3,oneof"`
}
type Source_StorageSource ¶
type Source_StorageSource struct {
StorageSource *StorageSource `protobuf:"bytes,1,opt,name=storage_source,json=storageSource,proto3,oneof"`
}
type StorageSource ¶
type StorageSource struct { // Google Cloud Storage bucket containing source (see [Bucket Name // Requirements] // (https://cloud.google.com/storage/docs/bucket-naming#requirements)). Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Google Cloud Storage object containing source. Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // Google Cloud Storage generation for the object. Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
StorageSource describes the location of the source in an archive file in Google Cloud Storage.
func (*StorageSource) Descriptor ¶
func (*StorageSource) Descriptor() ([]byte, []int)
func (*StorageSource) GetBucket ¶
func (m *StorageSource) GetBucket() string
func (*StorageSource) GetGeneration ¶
func (m *StorageSource) GetGeneration() int64
func (*StorageSource) GetObject ¶
func (m *StorageSource) GetObject() string
func (*StorageSource) ProtoMessage ¶
func (*StorageSource) ProtoMessage()
func (*StorageSource) Reset ¶
func (m *StorageSource) Reset()
func (*StorageSource) String ¶
func (m *StorageSource) String() string
func (*StorageSource) XXX_DiscardUnknown ¶
func (m *StorageSource) XXX_DiscardUnknown()
func (*StorageSource) XXX_Marshal ¶
func (m *StorageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageSource) XXX_Merge ¶
func (m *StorageSource) XXX_Merge(src proto.Message)
func (*StorageSource) XXX_Size ¶
func (m *StorageSource) XXX_Size() int
func (*StorageSource) XXX_Unmarshal ¶
func (m *StorageSource) XXX_Unmarshal(b []byte) error
type UnimplementedGrafeasProjectsServer ¶
type UnimplementedGrafeasProjectsServer struct { }
UnimplementedGrafeasProjectsServer can be embedded to have forward compatible implementations.
func (*UnimplementedGrafeasProjectsServer) CreateProject ¶
func (*UnimplementedGrafeasProjectsServer) CreateProject(ctx context.Context, req *CreateProjectRequest) (*empty.Empty, error)
func (*UnimplementedGrafeasProjectsServer) DeleteProject ¶
func (*UnimplementedGrafeasProjectsServer) DeleteProject(ctx context.Context, req *DeleteProjectRequest) (*empty.Empty, error)
func (*UnimplementedGrafeasProjectsServer) GetProject ¶
func (*UnimplementedGrafeasProjectsServer) GetProject(ctx context.Context, req *GetProjectRequest) (*Project, error)
func (*UnimplementedGrafeasProjectsServer) ListProjects ¶
func (*UnimplementedGrafeasProjectsServer) ListProjects(ctx context.Context, req *ListProjectsRequest) (*ListProjectsResponse, error)
type UnimplementedGrafeasServer ¶
type UnimplementedGrafeasServer struct { }
UnimplementedGrafeasServer can be embedded to have forward compatible implementations.
func (*UnimplementedGrafeasServer) CreateNote ¶
func (*UnimplementedGrafeasServer) CreateNote(ctx context.Context, req *CreateNoteRequest) (*Note, error)
func (*UnimplementedGrafeasServer) CreateOccurrence ¶
func (*UnimplementedGrafeasServer) CreateOccurrence(ctx context.Context, req *CreateOccurrenceRequest) (*Occurrence, error)
func (*UnimplementedGrafeasServer) CreateOperation ¶
func (*UnimplementedGrafeasServer) CreateOperation(ctx context.Context, req *CreateOperationRequest) (*longrunning.Operation, error)
func (*UnimplementedGrafeasServer) DeleteNote ¶
func (*UnimplementedGrafeasServer) DeleteNote(ctx context.Context, req *DeleteNoteRequest) (*empty.Empty, error)
func (*UnimplementedGrafeasServer) DeleteOccurrence ¶
func (*UnimplementedGrafeasServer) DeleteOccurrence(ctx context.Context, req *DeleteOccurrenceRequest) (*empty.Empty, error)
func (*UnimplementedGrafeasServer) GetNote ¶
func (*UnimplementedGrafeasServer) GetNote(ctx context.Context, req *GetNoteRequest) (*Note, error)
func (*UnimplementedGrafeasServer) GetOccurrence ¶
func (*UnimplementedGrafeasServer) GetOccurrence(ctx context.Context, req *GetOccurrenceRequest) (*Occurrence, error)
func (*UnimplementedGrafeasServer) GetOccurrenceNote ¶
func (*UnimplementedGrafeasServer) GetOccurrenceNote(ctx context.Context, req *GetOccurrenceNoteRequest) (*Note, error)
func (*UnimplementedGrafeasServer) ListNoteOccurrences ¶
func (*UnimplementedGrafeasServer) ListNoteOccurrences(ctx context.Context, req *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error)
func (*UnimplementedGrafeasServer) ListNotes ¶
func (*UnimplementedGrafeasServer) ListNotes(ctx context.Context, req *ListNotesRequest) (*ListNotesResponse, error)
func (*UnimplementedGrafeasServer) ListOccurrences ¶
func (*UnimplementedGrafeasServer) ListOccurrences(ctx context.Context, req *ListOccurrencesRequest) (*ListOccurrencesResponse, error)
func (*UnimplementedGrafeasServer) UpdateNote ¶
func (*UnimplementedGrafeasServer) UpdateNote(ctx context.Context, req *UpdateNoteRequest) (*Note, error)
func (*UnimplementedGrafeasServer) UpdateOccurrence ¶
func (*UnimplementedGrafeasServer) UpdateOccurrence(ctx context.Context, req *UpdateOccurrenceRequest) (*Occurrence, error)
func (*UnimplementedGrafeasServer) UpdateOperation ¶
func (*UnimplementedGrafeasServer) UpdateOperation(ctx context.Context, req *UpdateOperationRequest) (*longrunning.Operation, error)
type UpdateNoteRequest ¶
type UpdateNoteRequest struct { // The name of the note. // Should be of the form "projects/{provider_id}/notes/{note_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The updated note. Note *Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` // The fields to update. UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to update an existing note
func (*UpdateNoteRequest) Descriptor ¶
func (*UpdateNoteRequest) Descriptor() ([]byte, []int)
func (*UpdateNoteRequest) GetName ¶
func (m *UpdateNoteRequest) GetName() string
func (*UpdateNoteRequest) GetNote ¶
func (m *UpdateNoteRequest) GetNote() *Note
func (*UpdateNoteRequest) GetUpdateMask ¶
func (m *UpdateNoteRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateNoteRequest) ProtoMessage ¶
func (*UpdateNoteRequest) ProtoMessage()
func (*UpdateNoteRequest) Reset ¶
func (m *UpdateNoteRequest) Reset()
func (*UpdateNoteRequest) String ¶
func (m *UpdateNoteRequest) String() string
func (*UpdateNoteRequest) XXX_DiscardUnknown ¶
func (m *UpdateNoteRequest) XXX_DiscardUnknown()
func (*UpdateNoteRequest) XXX_Marshal ¶
func (m *UpdateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateNoteRequest) XXX_Merge ¶
func (m *UpdateNoteRequest) XXX_Merge(src proto.Message)
func (*UpdateNoteRequest) XXX_Size ¶
func (m *UpdateNoteRequest) XXX_Size() int
func (*UpdateNoteRequest) XXX_Unmarshal ¶
func (m *UpdateNoteRequest) XXX_Unmarshal(b []byte) error
type UpdateOccurrenceRequest ¶
type UpdateOccurrenceRequest struct { // The name of the occurrence. // Should be of the form "projects/{project_id}/occurrences/{OCCURRENCE_ID}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The updated occurrence. Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"` // The fields to update. UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to update an existing occurrence.
func (*UpdateOccurrenceRequest) Descriptor ¶
func (*UpdateOccurrenceRequest) Descriptor() ([]byte, []int)
func (*UpdateOccurrenceRequest) GetName ¶
func (m *UpdateOccurrenceRequest) GetName() string
func (*UpdateOccurrenceRequest) GetOccurrence ¶
func (m *UpdateOccurrenceRequest) GetOccurrence() *Occurrence
func (*UpdateOccurrenceRequest) GetUpdateMask ¶
func (m *UpdateOccurrenceRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateOccurrenceRequest) ProtoMessage ¶
func (*UpdateOccurrenceRequest) ProtoMessage()
func (*UpdateOccurrenceRequest) Reset ¶
func (m *UpdateOccurrenceRequest) Reset()
func (*UpdateOccurrenceRequest) String ¶
func (m *UpdateOccurrenceRequest) String() string
func (*UpdateOccurrenceRequest) XXX_DiscardUnknown ¶
func (m *UpdateOccurrenceRequest) XXX_DiscardUnknown()
func (*UpdateOccurrenceRequest) XXX_Marshal ¶
func (m *UpdateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateOccurrenceRequest) XXX_Merge ¶
func (m *UpdateOccurrenceRequest) XXX_Merge(src proto.Message)
func (*UpdateOccurrenceRequest) XXX_Size ¶
func (m *UpdateOccurrenceRequest) XXX_Size() int
func (*UpdateOccurrenceRequest) XXX_Unmarshal ¶
func (m *UpdateOccurrenceRequest) XXX_Unmarshal(b []byte) error
type UpdateOperationRequest ¶
type UpdateOperationRequest struct { // The name of the Operation. // Should be of the form "projects/{provider_id}/operations/{operation_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The operation to create. Operation *longrunning.Operation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request for updating an existing operation
func (*UpdateOperationRequest) Descriptor ¶
func (*UpdateOperationRequest) Descriptor() ([]byte, []int)
func (*UpdateOperationRequest) GetName ¶
func (m *UpdateOperationRequest) GetName() string
func (*UpdateOperationRequest) GetOperation ¶
func (m *UpdateOperationRequest) GetOperation() *longrunning.Operation
func (*UpdateOperationRequest) ProtoMessage ¶
func (*UpdateOperationRequest) ProtoMessage()
func (*UpdateOperationRequest) Reset ¶
func (m *UpdateOperationRequest) Reset()
func (*UpdateOperationRequest) String ¶
func (m *UpdateOperationRequest) String() string
func (*UpdateOperationRequest) XXX_DiscardUnknown ¶
func (m *UpdateOperationRequest) XXX_DiscardUnknown()
func (*UpdateOperationRequest) XXX_Marshal ¶
func (m *UpdateOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateOperationRequest) XXX_Merge ¶
func (m *UpdateOperationRequest) XXX_Merge(src proto.Message)
func (*UpdateOperationRequest) XXX_Size ¶
func (m *UpdateOperationRequest) XXX_Size() int
func (*UpdateOperationRequest) XXX_Unmarshal ¶
func (m *UpdateOperationRequest) XXX_Unmarshal(b []byte) error
type VulnerabilityType ¶
type VulnerabilityType struct { // The CVSS score for this Vulnerability. CvssScore float32 `protobuf:"fixed32,2,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"` // Note provider assigned impact of the vulnerability Severity VulnerabilityType_Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=grafeas.v1alpha1.api.VulnerabilityType_Severity" json:"severity,omitempty"` // All information about the package to specifically identify this // vulnerability. One entry per (version range and cpe_uri) the // package vulnerability has manifested in. Details []*VulnerabilityType_Detail `protobuf:"bytes,4,rep,name=details,proto3" json:"details,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
VulnerabilityType provides metadata about a security vulnerability.
func (*VulnerabilityType) Descriptor ¶
func (*VulnerabilityType) Descriptor() ([]byte, []int)
func (*VulnerabilityType) GetCvssScore ¶
func (m *VulnerabilityType) GetCvssScore() float32
func (*VulnerabilityType) GetDetails ¶
func (m *VulnerabilityType) GetDetails() []*VulnerabilityType_Detail
func (*VulnerabilityType) GetSeverity ¶
func (m *VulnerabilityType) GetSeverity() VulnerabilityType_Severity
func (*VulnerabilityType) ProtoMessage ¶
func (*VulnerabilityType) ProtoMessage()
func (*VulnerabilityType) Reset ¶
func (m *VulnerabilityType) Reset()
func (*VulnerabilityType) String ¶
func (m *VulnerabilityType) String() string
func (*VulnerabilityType) XXX_DiscardUnknown ¶
func (m *VulnerabilityType) XXX_DiscardUnknown()
func (*VulnerabilityType) XXX_Marshal ¶
func (m *VulnerabilityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VulnerabilityType) XXX_Merge ¶
func (m *VulnerabilityType) XXX_Merge(src proto.Message)
func (*VulnerabilityType) XXX_Size ¶
func (m *VulnerabilityType) XXX_Size() int
func (*VulnerabilityType) XXX_Unmarshal ¶
func (m *VulnerabilityType) XXX_Unmarshal(b []byte) error
type VulnerabilityType_Detail ¶
type VulnerabilityType_Detail struct { // The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in // which the vulnerability manifests. Examples include distro or storage // location for vulnerable jar. // This field can be used as a filter in list requests. CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"` // The name of the package where the vulnerability was found. // This field can be used as a filter in list requests. Package string `protobuf:"bytes,8,opt,name=package,proto3" json:"package,omitempty"` // The min version of the package in which the vulnerability exists. MinAffectedVersion *VulnerabilityType_Version `protobuf:"bytes,6,opt,name=min_affected_version,json=minAffectedVersion,proto3" json:"min_affected_version,omitempty"` // The max version of the package in which the vulnerability exists. // This field can be used as a filter in list requests. MaxAffectedVersion *VulnerabilityType_Version `protobuf:"bytes,7,opt,name=max_affected_version,json=maxAffectedVersion,proto3" json:"max_affected_version,omitempty"` // The severity (eg: distro assigned severity) for this vulnerability. SeverityName string `protobuf:"bytes,4,opt,name=severity_name,json=severityName,proto3" json:"severity_name,omitempty"` // A vendor-specific description of this note. Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` // The fix for this specific package version. FixedLocation *VulnerabilityType_VulnerabilityLocation `protobuf:"bytes,5,opt,name=fixed_location,json=fixedLocation,proto3" json:"fixed_location,omitempty"` // The type of package; whether native or non native(ruby gems, // node.js packages etc) PackageType string `protobuf:"bytes,10,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identifies all occurrences of this vulnerability in the package for a specific distro/location For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2
func (*VulnerabilityType_Detail) Descriptor ¶
func (*VulnerabilityType_Detail) Descriptor() ([]byte, []int)
func (*VulnerabilityType_Detail) GetCpeUri ¶
func (m *VulnerabilityType_Detail) GetCpeUri() string
func (*VulnerabilityType_Detail) GetDescription ¶
func (m *VulnerabilityType_Detail) GetDescription() string
func (*VulnerabilityType_Detail) GetFixedLocation ¶
func (m *VulnerabilityType_Detail) GetFixedLocation() *VulnerabilityType_VulnerabilityLocation
func (*VulnerabilityType_Detail) GetMaxAffectedVersion ¶
func (m *VulnerabilityType_Detail) GetMaxAffectedVersion() *VulnerabilityType_Version
func (*VulnerabilityType_Detail) GetMinAffectedVersion ¶
func (m *VulnerabilityType_Detail) GetMinAffectedVersion() *VulnerabilityType_Version
func (*VulnerabilityType_Detail) GetPackage ¶
func (m *VulnerabilityType_Detail) GetPackage() string
func (*VulnerabilityType_Detail) GetPackageType ¶
func (m *VulnerabilityType_Detail) GetPackageType() string
func (*VulnerabilityType_Detail) GetSeverityName ¶
func (m *VulnerabilityType_Detail) GetSeverityName() string
func (*VulnerabilityType_Detail) ProtoMessage ¶
func (*VulnerabilityType_Detail) ProtoMessage()
func (*VulnerabilityType_Detail) Reset ¶
func (m *VulnerabilityType_Detail) Reset()
func (*VulnerabilityType_Detail) String ¶
func (m *VulnerabilityType_Detail) String() string
func (*VulnerabilityType_Detail) XXX_DiscardUnknown ¶
func (m *VulnerabilityType_Detail) XXX_DiscardUnknown()
func (*VulnerabilityType_Detail) XXX_Marshal ¶
func (m *VulnerabilityType_Detail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VulnerabilityType_Detail) XXX_Merge ¶
func (m *VulnerabilityType_Detail) XXX_Merge(src proto.Message)
func (*VulnerabilityType_Detail) XXX_Size ¶
func (m *VulnerabilityType_Detail) XXX_Size() int
func (*VulnerabilityType_Detail) XXX_Unmarshal ¶
func (m *VulnerabilityType_Detail) XXX_Unmarshal(b []byte) error
type VulnerabilityType_PackageIssue ¶
type VulnerabilityType_PackageIssue struct { // The location of the vulnerability. AffectedLocation *VulnerabilityType_VulnerabilityLocation `protobuf:"bytes,1,opt,name=affected_location,json=affectedLocation,proto3" json:"affected_location,omitempty"` // The location of the available fix for vulnerability. FixedLocation *VulnerabilityType_VulnerabilityLocation `protobuf:"bytes,2,opt,name=fixed_location,json=fixedLocation,proto3" json:"fixed_location,omitempty"` // The severity (eg: distro assigned severity) for this vulnerability. SeverityName string `protobuf:"bytes,3,opt,name=severity_name,json=severityName,proto3" json:"severity_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
This message wraps a location affected by a vulnerability and its associated fix (if one is available).
func (*VulnerabilityType_PackageIssue) Descriptor ¶
func (*VulnerabilityType_PackageIssue) Descriptor() ([]byte, []int)
func (*VulnerabilityType_PackageIssue) GetAffectedLocation ¶
func (m *VulnerabilityType_PackageIssue) GetAffectedLocation() *VulnerabilityType_VulnerabilityLocation
func (*VulnerabilityType_PackageIssue) GetFixedLocation ¶
func (m *VulnerabilityType_PackageIssue) GetFixedLocation() *VulnerabilityType_VulnerabilityLocation
func (*VulnerabilityType_PackageIssue) GetSeverityName ¶
func (m *VulnerabilityType_PackageIssue) GetSeverityName() string
func (*VulnerabilityType_PackageIssue) ProtoMessage ¶
func (*VulnerabilityType_PackageIssue) ProtoMessage()
func (*VulnerabilityType_PackageIssue) Reset ¶
func (m *VulnerabilityType_PackageIssue) Reset()
func (*VulnerabilityType_PackageIssue) String ¶
func (m *VulnerabilityType_PackageIssue) String() string
func (*VulnerabilityType_PackageIssue) XXX_DiscardUnknown ¶
func (m *VulnerabilityType_PackageIssue) XXX_DiscardUnknown()
func (*VulnerabilityType_PackageIssue) XXX_Marshal ¶
func (m *VulnerabilityType_PackageIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VulnerabilityType_PackageIssue) XXX_Merge ¶
func (m *VulnerabilityType_PackageIssue) XXX_Merge(src proto.Message)
func (*VulnerabilityType_PackageIssue) XXX_Size ¶
func (m *VulnerabilityType_PackageIssue) XXX_Size() int
func (*VulnerabilityType_PackageIssue) XXX_Unmarshal ¶
func (m *VulnerabilityType_PackageIssue) XXX_Unmarshal(b []byte) error
type VulnerabilityType_Severity ¶
type VulnerabilityType_Severity int32
Note provider-assigned severity/impact ranking
const ( // Unknown Impact VulnerabilityType_SEVERITY_UNSPECIFIED VulnerabilityType_Severity = 0 // Minimal Impact VulnerabilityType_MINIMAL VulnerabilityType_Severity = 1 // Low Impact VulnerabilityType_LOW VulnerabilityType_Severity = 2 // Medium Impact VulnerabilityType_MEDIUM VulnerabilityType_Severity = 3 // High Impact VulnerabilityType_HIGH VulnerabilityType_Severity = 4 // Critical Impact VulnerabilityType_CRITICAL VulnerabilityType_Severity = 5 )
func (VulnerabilityType_Severity) EnumDescriptor ¶
func (VulnerabilityType_Severity) EnumDescriptor() ([]byte, []int)
func (VulnerabilityType_Severity) String ¶
func (x VulnerabilityType_Severity) String() string
type VulnerabilityType_Version ¶
type VulnerabilityType_Version struct { // Used to correct mistakes in the version numbering scheme. Epoch int32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` // The main part of the version name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The iteration of the package build from the above version. Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` // Distinguish between sentinel MIN/MAX versions and normal versions. // If kind is not NORMAL, then the other fields are ignored. Kind VulnerabilityType_Version_VersionKind `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
func (*VulnerabilityType_Version) Descriptor ¶
func (*VulnerabilityType_Version) Descriptor() ([]byte, []int)
func (*VulnerabilityType_Version) GetEpoch ¶
func (m *VulnerabilityType_Version) GetEpoch() int32
func (*VulnerabilityType_Version) GetKind ¶
func (m *VulnerabilityType_Version) GetKind() VulnerabilityType_Version_VersionKind
func (*VulnerabilityType_Version) GetName ¶
func (m *VulnerabilityType_Version) GetName() string
func (*VulnerabilityType_Version) GetRevision ¶
func (m *VulnerabilityType_Version) GetRevision() string
func (*VulnerabilityType_Version) ProtoMessage ¶
func (*VulnerabilityType_Version) ProtoMessage()
func (*VulnerabilityType_Version) Reset ¶
func (m *VulnerabilityType_Version) Reset()
func (*VulnerabilityType_Version) String ¶
func (m *VulnerabilityType_Version) String() string
func (*VulnerabilityType_Version) XXX_DiscardUnknown ¶
func (m *VulnerabilityType_Version) XXX_DiscardUnknown()
func (*VulnerabilityType_Version) XXX_Marshal ¶
func (m *VulnerabilityType_Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VulnerabilityType_Version) XXX_Merge ¶
func (m *VulnerabilityType_Version) XXX_Merge(src proto.Message)
func (*VulnerabilityType_Version) XXX_Size ¶
func (m *VulnerabilityType_Version) XXX_Size() int
func (*VulnerabilityType_Version) XXX_Unmarshal ¶
func (m *VulnerabilityType_Version) XXX_Unmarshal(b []byte) error
type VulnerabilityType_Version_VersionKind ¶
type VulnerabilityType_Version_VersionKind int32
Whether this is an ordinary package version or a sentinel MIN/MAX version.
const ( // A standard package version, defined by the other fields. VulnerabilityType_Version_NORMAL VulnerabilityType_Version_VersionKind = 0 // A special version representing negative infinity, // other fields are ignored. VulnerabilityType_Version_MINIMUM VulnerabilityType_Version_VersionKind = 1 // A special version representing positive infinity, // other fields are ignored. VulnerabilityType_Version_MAXIMUM VulnerabilityType_Version_VersionKind = 2 )
func (VulnerabilityType_Version_VersionKind) EnumDescriptor ¶
func (VulnerabilityType_Version_VersionKind) EnumDescriptor() ([]byte, []int)
func (VulnerabilityType_Version_VersionKind) String ¶
func (x VulnerabilityType_Version_VersionKind) String() string
type VulnerabilityType_VulnerabilityDetails ¶
type VulnerabilityType_VulnerabilityDetails struct { // The type of package; whether native or non native(ruby gems, // node.js packages etc) Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // Output only. The note provider assigned Severity of the vulnerability. Severity VulnerabilityType_Severity `protobuf:"varint,4,opt,name=severity,proto3,enum=grafeas.v1alpha1.api.VulnerabilityType_Severity" json:"severity,omitempty"` // Output only. The CVSS score of this vulnerability. CVSS score is on a // scale of 0-10 where 0 indicates low severity and 10 indicates high // severity. CvssScore float32 `protobuf:"fixed32,5,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"` // The set of affected locations and their fixes (if available) within // the associated resource. PackageIssue []*VulnerabilityType_PackageIssue `protobuf:"bytes,6,rep,name=package_issue,json=packageIssue,proto3" json:"package_issue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used by Occurrence to point to where the vulnerability exists and how to fix it.
func (*VulnerabilityType_VulnerabilityDetails) Descriptor ¶
func (*VulnerabilityType_VulnerabilityDetails) Descriptor() ([]byte, []int)
func (*VulnerabilityType_VulnerabilityDetails) GetCvssScore ¶
func (m *VulnerabilityType_VulnerabilityDetails) GetCvssScore() float32
func (*VulnerabilityType_VulnerabilityDetails) GetPackageIssue ¶
func (m *VulnerabilityType_VulnerabilityDetails) GetPackageIssue() []*VulnerabilityType_PackageIssue
func (*VulnerabilityType_VulnerabilityDetails) GetSeverity ¶
func (m *VulnerabilityType_VulnerabilityDetails) GetSeverity() VulnerabilityType_Severity
func (*VulnerabilityType_VulnerabilityDetails) GetType ¶
func (m *VulnerabilityType_VulnerabilityDetails) GetType() string
func (*VulnerabilityType_VulnerabilityDetails) ProtoMessage ¶
func (*VulnerabilityType_VulnerabilityDetails) ProtoMessage()
func (*VulnerabilityType_VulnerabilityDetails) Reset ¶
func (m *VulnerabilityType_VulnerabilityDetails) Reset()
func (*VulnerabilityType_VulnerabilityDetails) String ¶
func (m *VulnerabilityType_VulnerabilityDetails) String() string
func (*VulnerabilityType_VulnerabilityDetails) XXX_DiscardUnknown ¶
func (m *VulnerabilityType_VulnerabilityDetails) XXX_DiscardUnknown()
func (*VulnerabilityType_VulnerabilityDetails) XXX_Marshal ¶
func (m *VulnerabilityType_VulnerabilityDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VulnerabilityType_VulnerabilityDetails) XXX_Merge ¶
func (m *VulnerabilityType_VulnerabilityDetails) XXX_Merge(src proto.Message)
func (*VulnerabilityType_VulnerabilityDetails) XXX_Size ¶
func (m *VulnerabilityType_VulnerabilityDetails) XXX_Size() int
func (*VulnerabilityType_VulnerabilityDetails) XXX_Unmarshal ¶
func (m *VulnerabilityType_VulnerabilityDetails) XXX_Unmarshal(b []byte) error
type VulnerabilityType_VulnerabilityLocation ¶
type VulnerabilityType_VulnerabilityLocation struct { // The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) // format. Examples include distro or storage location for vulnerable jar. // This field can be used as a filter in list requests. CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"` // The package being described. Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` // The version of the package being described. // This field can be used as a filter in list requests. Version *VulnerabilityType_Version `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The location of the vulnerability
func (*VulnerabilityType_VulnerabilityLocation) Descriptor ¶
func (*VulnerabilityType_VulnerabilityLocation) Descriptor() ([]byte, []int)
func (*VulnerabilityType_VulnerabilityLocation) GetCpeUri ¶
func (m *VulnerabilityType_VulnerabilityLocation) GetCpeUri() string
func (*VulnerabilityType_VulnerabilityLocation) GetPackage ¶
func (m *VulnerabilityType_VulnerabilityLocation) GetPackage() string
func (*VulnerabilityType_VulnerabilityLocation) GetVersion ¶
func (m *VulnerabilityType_VulnerabilityLocation) GetVersion() *VulnerabilityType_Version
func (*VulnerabilityType_VulnerabilityLocation) ProtoMessage ¶
func (*VulnerabilityType_VulnerabilityLocation) ProtoMessage()
func (*VulnerabilityType_VulnerabilityLocation) Reset ¶
func (m *VulnerabilityType_VulnerabilityLocation) Reset()
func (*VulnerabilityType_VulnerabilityLocation) String ¶
func (m *VulnerabilityType_VulnerabilityLocation) String() string
func (*VulnerabilityType_VulnerabilityLocation) XXX_DiscardUnknown ¶
func (m *VulnerabilityType_VulnerabilityLocation) XXX_DiscardUnknown()
func (*VulnerabilityType_VulnerabilityLocation) XXX_Marshal ¶
func (m *VulnerabilityType_VulnerabilityLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VulnerabilityType_VulnerabilityLocation) XXX_Merge ¶
func (m *VulnerabilityType_VulnerabilityLocation) XXX_Merge(src proto.Message)
func (*VulnerabilityType_VulnerabilityLocation) XXX_Size ¶
func (m *VulnerabilityType_VulnerabilityLocation) XXX_Size() int
func (*VulnerabilityType_VulnerabilityLocation) XXX_Unmarshal ¶
func (m *VulnerabilityType_VulnerabilityLocation) XXX_Unmarshal(b []byte) error