Documentation
¶
Index ¶
- Variables
- type ServiceAccountJwtAccessCredentials
- func (*ServiceAccountJwtAccessCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAccountJwtAccessCredentials) GetJsonKey() string
- func (x *ServiceAccountJwtAccessCredentials) GetTokenLifetime() *durationpb.Duration
- func (*ServiceAccountJwtAccessCredentials) ProtoMessage()
- func (x *ServiceAccountJwtAccessCredentials) ProtoReflect() protoreflect.Message
- func (x *ServiceAccountJwtAccessCredentials) Reset()
- func (x *ServiceAccountJwtAccessCredentials) String() string
- func (m *ServiceAccountJwtAccessCredentials) Validate() error
- func (m *ServiceAccountJwtAccessCredentials) ValidateAll() error
- type ServiceAccountJwtAccessCredentialsMultiError
- type ServiceAccountJwtAccessCredentialsValidationError
- func (e ServiceAccountJwtAccessCredentialsValidationError) Cause() error
- func (e ServiceAccountJwtAccessCredentialsValidationError) Error() string
- func (e ServiceAccountJwtAccessCredentialsValidationError) ErrorName() string
- func (e ServiceAccountJwtAccessCredentialsValidationError) Field() string
- func (e ServiceAccountJwtAccessCredentialsValidationError) Key() bool
- func (e ServiceAccountJwtAccessCredentialsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_grpc_service_call_credentials_service_account_jwt_access_v3_service_account_jwt_access_credentials_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ServiceAccountJwtAccessCredentials ¶
type ServiceAccountJwtAccessCredentials struct {
// JSON key.
JsonKey string `protobuf:"bytes,1,opt,name=json_key,json=jsonKey,proto3" json:"json_key,omitempty"`
// Token lifetime.
TokenLifetime *durationpb.Duration `protobuf:"bytes,2,opt,name=token_lifetime,json=tokenLifetime,proto3" json:"token_lifetime,omitempty"`
// contains filtered or unexported fields
}
[#not-implemented-hide:]
func (*ServiceAccountJwtAccessCredentials) Descriptor
deprecated
func (*ServiceAccountJwtAccessCredentials) Descriptor() ([]byte, []int)
Deprecated: Use ServiceAccountJwtAccessCredentials.ProtoReflect.Descriptor instead.
func (*ServiceAccountJwtAccessCredentials) GetJsonKey ¶
func (x *ServiceAccountJwtAccessCredentials) GetJsonKey() string
func (*ServiceAccountJwtAccessCredentials) GetTokenLifetime ¶
func (x *ServiceAccountJwtAccessCredentials) GetTokenLifetime() *durationpb.Duration
func (*ServiceAccountJwtAccessCredentials) ProtoMessage ¶
func (*ServiceAccountJwtAccessCredentials) ProtoMessage()
func (*ServiceAccountJwtAccessCredentials) ProtoReflect ¶
func (x *ServiceAccountJwtAccessCredentials) ProtoReflect() protoreflect.Message
func (*ServiceAccountJwtAccessCredentials) Reset ¶
func (x *ServiceAccountJwtAccessCredentials) Reset()
func (*ServiceAccountJwtAccessCredentials) String ¶
func (x *ServiceAccountJwtAccessCredentials) String() string
func (*ServiceAccountJwtAccessCredentials) Validate ¶
func (m *ServiceAccountJwtAccessCredentials) Validate() error
Validate checks the field values on ServiceAccountJwtAccessCredentials 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 (*ServiceAccountJwtAccessCredentials) ValidateAll ¶
func (m *ServiceAccountJwtAccessCredentials) ValidateAll() error
ValidateAll checks the field values on ServiceAccountJwtAccessCredentials 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 ServiceAccountJwtAccessCredentialsMultiError, or nil if none found.
type ServiceAccountJwtAccessCredentialsMultiError ¶
type ServiceAccountJwtAccessCredentialsMultiError []error
ServiceAccountJwtAccessCredentialsMultiError is an error wrapping multiple validation errors returned by ServiceAccountJwtAccessCredentials.ValidateAll() if the designated constraints aren't met.
func (ServiceAccountJwtAccessCredentialsMultiError) AllErrors ¶
func (m ServiceAccountJwtAccessCredentialsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceAccountJwtAccessCredentialsMultiError) Error ¶
func (m ServiceAccountJwtAccessCredentialsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceAccountJwtAccessCredentialsValidationError ¶
type ServiceAccountJwtAccessCredentialsValidationError struct {
// contains filtered or unexported fields
}
ServiceAccountJwtAccessCredentialsValidationError is the validation error returned by ServiceAccountJwtAccessCredentials.Validate if the designated constraints aren't met.
func (ServiceAccountJwtAccessCredentialsValidationError) Cause ¶
func (e ServiceAccountJwtAccessCredentialsValidationError) Cause() error
Cause function returns cause value.
func (ServiceAccountJwtAccessCredentialsValidationError) Error ¶
func (e ServiceAccountJwtAccessCredentialsValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceAccountJwtAccessCredentialsValidationError) ErrorName ¶
func (e ServiceAccountJwtAccessCredentialsValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceAccountJwtAccessCredentialsValidationError) Field ¶
func (e ServiceAccountJwtAccessCredentialsValidationError) Field() string
Field function returns field value.
func (ServiceAccountJwtAccessCredentialsValidationError) Key ¶
func (e ServiceAccountJwtAccessCredentialsValidationError) Key() bool
Key function returns key value.
func (ServiceAccountJwtAccessCredentialsValidationError) Reason ¶
func (e ServiceAccountJwtAccessCredentialsValidationError) Reason() string
Reason function returns reason value.