@@ -320,50 +320,3 @@ type BucketAccessList struct {
320
320
metav1.ListMeta `json:"metadata,omitempty"`
321
321
Items []BucketAccess `json:"items"`
322
322
}
323
-
324
- // +genclient
325
- // +genclient:nonNamespaced
326
- // +genclient:noStatus
327
- // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
328
- // +kubebuilder:resource:scope=Cluster
329
- // +kubebuilder:storageversion
330
- type BucketInfo struct {
331
- metav1.TypeMeta `json:",inline"`
332
-
333
- // +optional
334
- metav1.ObjectMeta `json:"metadata,omitempty"`
335
-
336
- Spec BucketInfoSpec `json:"spec,omitempty"`
337
- }
338
-
339
- type BucketInfoSpec struct {
340
- // BucketName is the name of the Bucket
341
- BucketName string `json:"bucketName"`
342
-
343
- // AuthenticationType denotes the style of authentication
344
- // It can be one of
345
- // KEY - access, secret tokens based authentication
346
- // IAM - implicit authentication of pods to the OSP based on service account mappings
347
- AuthenticationType AuthenticationType `json:"authenticationType"`
348
-
349
- // Endpoint is the URL at which the bucket can be accessed
350
- Endpoint string `json:"endpoint"`
351
-
352
- // Region is the vendor-defined region where the bucket "resides"
353
- Region string `json:"region"`
354
-
355
- // Protocols are the set of data APIs this bucket is expected to support.
356
- // The possible values for protocol are:
357
- // - S3: Indicates Amazon S3 protocol
358
- // - Azure: Indicates Microsoft Azure BlobStore protocol
359
- // - GCS: Indicates Google Cloud Storage protocol
360
- Protocols []Protocol `json:"protocols"`
361
- }
362
-
363
- // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
364
-
365
- type BucketInfoList struct {
366
- metav1.TypeMeta `json:",inline"`
367
- metav1.ListMeta `json:"metadata,omitempty"`
368
- Items []BucketInfo `json:"items"`
369
- }
0 commit comments