1 // Copyright 2022 Google LLC 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by aliasgen. DO NOT EDIT. 16 17 // Package grafeas aliases all exported identifiers in package 18 // "cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package grafeas 24 25 import ( 26 src "cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use vars in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 31 var ( 32 File_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto = src.File_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto 33 ) 34 35 // Request to create notes in batch. 36 // 37 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 38 type BatchCreateNotesRequest = src.BatchCreateNotesRequest 39 40 // Response for creating notes in batch. 41 // 42 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 43 type BatchCreateNotesResponse = src.BatchCreateNotesResponse 44 45 // Request to create occurrences in batch. 46 // 47 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 48 type BatchCreateOccurrencesRequest = src.BatchCreateOccurrencesRequest 49 50 // Response for creating occurrences in batch. 51 // 52 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 53 type BatchCreateOccurrencesResponse = src.BatchCreateOccurrencesResponse 54 55 // Request to create a new note. 56 // 57 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 58 type CreateNoteRequest = src.CreateNoteRequest 59 60 // Request to create a new occurrence. 61 // 62 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 63 type CreateOccurrenceRequest = src.CreateOccurrenceRequest 64 65 // Request to delete a note. 66 // 67 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 68 type DeleteNoteRequest = src.DeleteNoteRequest 69 70 // Request to delete a occurrence. 71 // 72 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 73 type DeleteOccurrenceRequest = src.DeleteOccurrenceRequest 74 75 // Request to get a note. 76 // 77 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 78 type GetNoteRequest = src.GetNoteRequest 79 80 // Request to get the note to which the specified occurrence is attached. 81 // 82 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 83 type GetOccurrenceNoteRequest = src.GetOccurrenceNoteRequest 84 85 // Request to get an occurrence. 86 // 87 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 88 type GetOccurrenceRequest = src.GetOccurrenceRequest 89 90 // Request to get a vulnerability summary for some set of occurrences. 91 // 92 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 93 type GetVulnerabilityOccurrencesSummaryRequest = src.GetVulnerabilityOccurrencesSummaryRequest 94 95 // GrafeasV1Beta1Client is the client API for GrafeasV1Beta1 service. For 96 // semantics around ctx use and closing/ending streaming RPCs, please refer to 97 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 98 // 99 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 100 type GrafeasV1Beta1Client = src.GrafeasV1Beta1Client 101 102 // GrafeasV1Beta1Server is the server API for GrafeasV1Beta1 service. 103 // 104 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 105 type GrafeasV1Beta1Server = src.GrafeasV1Beta1Server 106 107 // Request to list occurrences for a note. 108 // 109 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 110 type ListNoteOccurrencesRequest = src.ListNoteOccurrencesRequest 111 112 // Response for listing occurrences for a note. 113 // 114 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 115 type ListNoteOccurrencesResponse = src.ListNoteOccurrencesResponse 116 117 // Request to list notes. 118 // 119 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 120 type ListNotesRequest = src.ListNotesRequest 121 122 // Response for listing notes. 123 // 124 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 125 type ListNotesResponse = src.ListNotesResponse 126 127 // Request to list occurrences. 128 // 129 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 130 type ListOccurrencesRequest = src.ListOccurrencesRequest 131 132 // Response for listing occurrences. 133 // 134 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 135 type ListOccurrencesResponse = src.ListOccurrencesResponse 136 137 // A type of analysis that can be done for a resource. 138 // 139 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 140 type Note = src.Note 141 type Note_AttestationAuthority = src.Note_AttestationAuthority 142 type Note_BaseImage = src.Note_BaseImage 143 type Note_Build = src.Note_Build 144 type Note_Deployable = src.Note_Deployable 145 type Note_Discovery = src.Note_Discovery 146 type Note_Package = src.Note_Package 147 type Note_Vulnerability = src.Note_Vulnerability 148 149 // An instance of an analysis type that has been found on a resource. 150 // 151 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 152 type Occurrence = src.Occurrence 153 type Occurrence_Attestation = src.Occurrence_Attestation 154 type Occurrence_Build = src.Occurrence_Build 155 type Occurrence_Deployment = src.Occurrence_Deployment 156 type Occurrence_DerivedImage = src.Occurrence_DerivedImage 157 type Occurrence_Discovered = src.Occurrence_Discovered 158 type Occurrence_Installation = src.Occurrence_Installation 159 type Occurrence_Vulnerability = src.Occurrence_Vulnerability 160 161 // An entity that can have metadata. For example, a Docker image. 162 // 163 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 164 type Resource = src.Resource 165 166 // UnimplementedGrafeasV1Beta1Server can be embedded to have forward 167 // compatible implementations. 168 // 169 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 170 type UnimplementedGrafeasV1Beta1Server = src.UnimplementedGrafeasV1Beta1Server 171 172 // Request to update a note. 173 // 174 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 175 type UpdateNoteRequest = src.UpdateNoteRequest 176 177 // Request to update an occurrence. 178 // 179 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 180 type UpdateOccurrenceRequest = src.UpdateOccurrenceRequest 181 182 // A summary of how many vulnerability occurrences there are per resource and 183 // severity type. 184 // 185 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 186 type VulnerabilityOccurrencesSummary = src.VulnerabilityOccurrencesSummary 187 188 // Per resource and severity counts of fixable and total vulnerabilities. 189 // 190 // Deprecated: Please use types in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 191 type VulnerabilityOccurrencesSummary_FixableTotalByDigest = src.VulnerabilityOccurrencesSummary_FixableTotalByDigest 192 193 // Deprecated: Please use funcs in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 194 func NewGrafeasV1Beta1Client(cc grpc.ClientConnInterface) GrafeasV1Beta1Client { 195 return src.NewGrafeasV1Beta1Client(cc) 196 } 197 198 // Deprecated: Please use funcs in: cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb 199 func RegisterGrafeasV1Beta1Server(s *grpc.Server, srv GrafeasV1Beta1Server) { 200 src.RegisterGrafeasV1Beta1Server(s, srv) 201 } 202