Documentation ¶
Index ¶
- Variables
- type AccessPoint
- func (*AccessPoint) Descriptor() ([]byte, []int)deprecated
- func (x *AccessPoint) GetAccessPointArn() string
- func (x *AccessPoint) GetAccount() string
- func (x *AccessPoint) GetAlias() string
- func (x *AccessPoint) GetBucket() string
- func (x *AccessPoint) GetBucketAccountId() string
- func (x *AccessPoint) GetCreationDate() *timestamppb.Timestamp
- func (x *AccessPoint) GetName() string
- func (x *AccessPoint) GetRegion() string
- func (*AccessPoint) ProtoMessage()
- func (x *AccessPoint) ProtoReflect() protoreflect.Message
- func (x *AccessPoint) Reset()
- func (x *AccessPoint) String() string
- func (m *AccessPoint) Validate() error
- func (m *AccessPoint) ValidateAll() error
- type AccessPointMultiError
- type AccessPointValidationError
- func (e AccessPointValidationError) Cause() error
- func (e AccessPointValidationError) Error() string
- func (e AccessPointValidationError) ErrorName() string
- func (e AccessPointValidationError) Field() string
- func (e AccessPointValidationError) Key() bool
- func (e AccessPointValidationError) Reason() string
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *Bucket) GetAccount() string
- func (x *Bucket) GetName() string
- func (x *Bucket) GetRegion() string
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (x *Bucket) String() string
- func (m *Bucket) Validate() error
- func (m *Bucket) ValidateAll() error
- type BucketMultiError
- type BucketValidationError
Constants ¶
This section is empty.
Variables ¶
var File_aws_s3_v1_s3_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessPoint ¶
type AccessPoint struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` CreationDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` BucketAccountId string `protobuf:"bytes,5,opt,name=bucket_account_id,json=bucketAccountId,proto3" json:"bucket_account_id,omitempty"` AccessPointArn string `protobuf:"bytes,6,opt,name=access_point_arn,json=accessPointArn,proto3" json:"access_point_arn,omitempty"` Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` Account string `protobuf:"bytes,8,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*AccessPoint) Descriptor
deprecated
func (*AccessPoint) Descriptor() ([]byte, []int)
Deprecated: Use AccessPoint.ProtoReflect.Descriptor instead.
func (*AccessPoint) GetAccessPointArn ¶
func (x *AccessPoint) GetAccessPointArn() string
func (*AccessPoint) GetAccount ¶
func (x *AccessPoint) GetAccount() string
func (*AccessPoint) GetAlias ¶
func (x *AccessPoint) GetAlias() string
func (*AccessPoint) GetBucket ¶
func (x *AccessPoint) GetBucket() string
func (*AccessPoint) GetBucketAccountId ¶
func (x *AccessPoint) GetBucketAccountId() string
func (*AccessPoint) GetCreationDate ¶
func (x *AccessPoint) GetCreationDate() *timestamppb.Timestamp
func (*AccessPoint) GetName ¶
func (x *AccessPoint) GetName() string
func (*AccessPoint) GetRegion ¶
func (x *AccessPoint) GetRegion() string
func (*AccessPoint) ProtoMessage ¶
func (*AccessPoint) ProtoMessage()
func (*AccessPoint) ProtoReflect ¶
func (x *AccessPoint) ProtoReflect() protoreflect.Message
func (*AccessPoint) Reset ¶
func (x *AccessPoint) Reset()
func (*AccessPoint) String ¶
func (x *AccessPoint) String() string
func (*AccessPoint) Validate ¶
func (m *AccessPoint) Validate() error
Validate checks the field values on AccessPoint with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AccessPoint) ValidateAll ¶
func (m *AccessPoint) ValidateAll() error
ValidateAll checks the field values on AccessPoint with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessPointMultiError, or nil if none found.
type AccessPointMultiError ¶
type AccessPointMultiError []error
AccessPointMultiError is an error wrapping multiple validation errors returned by AccessPoint.ValidateAll() if the designated constraints aren't met.
func (AccessPointMultiError) AllErrors ¶
func (m AccessPointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccessPointMultiError) Error ¶
func (m AccessPointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccessPointValidationError ¶
type AccessPointValidationError struct {
// contains filtered or unexported fields
}
AccessPointValidationError is the validation error returned by AccessPoint.Validate if the designated constraints aren't met.
func (AccessPointValidationError) Cause ¶
func (e AccessPointValidationError) Cause() error
Cause function returns cause value.
func (AccessPointValidationError) Error ¶
func (e AccessPointValidationError) Error() string
Error satisfies the builtin error interface
func (AccessPointValidationError) ErrorName ¶
func (e AccessPointValidationError) ErrorName() string
ErrorName returns error name.
func (AccessPointValidationError) Field ¶
func (e AccessPointValidationError) Field() string
Field function returns field value.
func (AccessPointValidationError) Key ¶
func (e AccessPointValidationError) Key() bool
Key function returns key value.
func (AccessPointValidationError) Reason ¶
func (e AccessPointValidationError) Reason() string
Reason function returns reason value.
type Bucket ¶
type Bucket struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*Bucket) Descriptor
deprecated
func (*Bucket) GetAccount ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶
func (x *Bucket) ProtoReflect() protoreflect.Message
func (*Bucket) Validate ¶
Validate checks the field values on Bucket with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Bucket) ValidateAll ¶
ValidateAll checks the field values on Bucket with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BucketMultiError, or nil if none found.
type BucketMultiError ¶
type BucketMultiError []error
BucketMultiError is an error wrapping multiple validation errors returned by Bucket.ValidateAll() if the designated constraints aren't met.
func (BucketMultiError) AllErrors ¶
func (m BucketMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BucketMultiError) Error ¶
func (m BucketMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BucketValidationError ¶
type BucketValidationError struct {
// contains filtered or unexported fields
}
BucketValidationError is the validation error returned by Bucket.Validate if the designated constraints aren't met.
func (BucketValidationError) Cause ¶
func (e BucketValidationError) Cause() error
Cause function returns cause value.
func (BucketValidationError) Error ¶
func (e BucketValidationError) Error() string
Error satisfies the builtin error interface
func (BucketValidationError) ErrorName ¶
func (e BucketValidationError) ErrorName() string
ErrorName returns error name.
func (BucketValidationError) Field ¶
func (e BucketValidationError) Field() string
Field function returns field value.
func (BucketValidationError) Key ¶
func (e BucketValidationError) Key() bool
Key function returns key value.
func (BucketValidationError) Reason ¶
func (e BucketValidationError) Reason() string
Reason function returns reason value.