credentialspb

package
v3.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_credentials_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AWS

type AWS struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

func (*AWS) Descriptor deprecated

func (*AWS) Descriptor() ([]byte, []int)

Deprecated: Use AWS.ProtoReflect.Descriptor instead.

func (*AWS) GetKey

func (x *AWS) GetKey() string

func (*AWS) GetRegion

func (x *AWS) GetRegion() string

func (*AWS) GetSecret

func (x *AWS) GetSecret() string

func (*AWS) ProtoMessage

func (*AWS) ProtoMessage()

func (*AWS) ProtoReflect

func (x *AWS) ProtoReflect() protoreflect.Message

func (*AWS) Reset

func (x *AWS) Reset()

func (*AWS) String

func (x *AWS) String() string

func (*AWS) Validate

func (m *AWS) Validate() error

Validate checks the field values on AWS 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 (*AWS) ValidateAll

func (m *AWS) ValidateAll() error

ValidateAll checks the field values on AWS 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 AWSMultiError, or nil if none found.

type AWSMultiError

type AWSMultiError []error

AWSMultiError is an error wrapping multiple validation errors returned by AWS.ValidateAll() if the designated constraints aren't met.

func (AWSMultiError) AllErrors

func (m AWSMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AWSMultiError) Error

func (m AWSMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AWSValidationError

type AWSValidationError struct {
	// contains filtered or unexported fields
}

AWSValidationError is the validation error returned by AWS.Validate if the designated constraints aren't met.

func (AWSValidationError) Cause

func (e AWSValidationError) Cause() error

Cause function returns cause value.

func (AWSValidationError) Error

func (e AWSValidationError) Error() string

Error satisfies the builtin error interface

func (AWSValidationError) ErrorName

func (e AWSValidationError) ErrorName() string

ErrorName returns error name.

func (AWSValidationError) Field

func (e AWSValidationError) Field() string

Field function returns field value.

func (AWSValidationError) Key

func (e AWSValidationError) Key() bool

Key function returns key value.

func (AWSValidationError) Reason

func (e AWSValidationError) Reason() string

Reason function returns reason value.

type BasicAuth

type BasicAuth struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*BasicAuth) Descriptor deprecated

func (*BasicAuth) Descriptor() ([]byte, []int)

Deprecated: Use BasicAuth.ProtoReflect.Descriptor instead.

func (*BasicAuth) GetPassword

func (x *BasicAuth) GetPassword() string

func (*BasicAuth) GetUsername

func (x *BasicAuth) GetUsername() string

func (*BasicAuth) ProtoMessage

func (*BasicAuth) ProtoMessage()

func (*BasicAuth) ProtoReflect

func (x *BasicAuth) ProtoReflect() protoreflect.Message

func (*BasicAuth) Reset

func (x *BasicAuth) Reset()

func (*BasicAuth) String

func (x *BasicAuth) String() string

func (*BasicAuth) Validate

func (m *BasicAuth) Validate() error

Validate checks the field values on BasicAuth 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 (*BasicAuth) ValidateAll

func (m *BasicAuth) ValidateAll() error

ValidateAll checks the field values on BasicAuth 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 BasicAuthMultiError, or nil if none found.

type BasicAuthMultiError

type BasicAuthMultiError []error

BasicAuthMultiError is an error wrapping multiple validation errors returned by BasicAuth.ValidateAll() if the designated constraints aren't met.

func (BasicAuthMultiError) AllErrors

func (m BasicAuthMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BasicAuthMultiError) Error

func (m BasicAuthMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type BasicAuthValidationError

type BasicAuthValidationError struct {
	// contains filtered or unexported fields
}

BasicAuthValidationError is the validation error returned by BasicAuth.Validate if the designated constraints aren't met.

func (BasicAuthValidationError) Cause

func (e BasicAuthValidationError) Cause() error

Cause function returns cause value.

func (BasicAuthValidationError) Error

func (e BasicAuthValidationError) Error() string

Error satisfies the builtin error interface

func (BasicAuthValidationError) ErrorName

func (e BasicAuthValidationError) ErrorName() string

ErrorName returns error name.

func (BasicAuthValidationError) Field

func (e BasicAuthValidationError) Field() string

Field function returns field value.

func (BasicAuthValidationError) Key

Key function returns key value.

func (BasicAuthValidationError) Reason

func (e BasicAuthValidationError) Reason() string

Reason function returns reason value.

type ClientCertificate

type ClientCertificate struct {
	TenantId            string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	ClientId            string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	CertificatePath     string `protobuf:"bytes,3,opt,name=certificate_path,json=certificatePath,proto3" json:"certificate_path,omitempty"`
	CertificatePassword string `protobuf:"bytes,4,opt,name=certificate_password,json=certificatePassword,proto3" json:"certificate_password,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientCertificate) Descriptor deprecated

func (*ClientCertificate) Descriptor() ([]byte, []int)

Deprecated: Use ClientCertificate.ProtoReflect.Descriptor instead.

func (*ClientCertificate) GetCertificatePassword

func (x *ClientCertificate) GetCertificatePassword() string

func (*ClientCertificate) GetCertificatePath

func (x *ClientCertificate) GetCertificatePath() string

func (*ClientCertificate) GetClientId

func (x *ClientCertificate) GetClientId() string

func (*ClientCertificate) GetTenantId

func (x *ClientCertificate) GetTenantId() string

func (*ClientCertificate) ProtoMessage

func (*ClientCertificate) ProtoMessage()

func (*ClientCertificate) ProtoReflect

func (x *ClientCertificate) ProtoReflect() protoreflect.Message

func (*ClientCertificate) Reset

func (x *ClientCertificate) Reset()

func (*ClientCertificate) String

func (x *ClientCertificate) String() string

func (*ClientCertificate) Validate

func (m *ClientCertificate) Validate() error

Validate checks the field values on ClientCertificate 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 (*ClientCertificate) ValidateAll

func (m *ClientCertificate) ValidateAll() error

ValidateAll checks the field values on ClientCertificate 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 ClientCertificateMultiError, or nil if none found.

type ClientCertificateMultiError

type ClientCertificateMultiError []error

ClientCertificateMultiError is an error wrapping multiple validation errors returned by ClientCertificate.ValidateAll() if the designated constraints aren't met.

func (ClientCertificateMultiError) AllErrors

func (m ClientCertificateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClientCertificateMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ClientCertificateValidationError

type ClientCertificateValidationError struct {
	// contains filtered or unexported fields
}

ClientCertificateValidationError is the validation error returned by ClientCertificate.Validate if the designated constraints aren't met.

func (ClientCertificateValidationError) Cause

Cause function returns cause value.

func (ClientCertificateValidationError) Error

Error satisfies the builtin error interface

func (ClientCertificateValidationError) ErrorName

ErrorName returns error name.

func (ClientCertificateValidationError) Field

Field function returns field value.

func (ClientCertificateValidationError) Key

Key function returns key value.

func (ClientCertificateValidationError) Reason

Reason function returns reason value.

type ClientCredentials added in v3.0.3

type ClientCredentials struct {
	TenantId     string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	ClientId     string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientCredentials) Descriptor deprecated added in v3.0.3

func (*ClientCredentials) Descriptor() ([]byte, []int)

Deprecated: Use ClientCredentials.ProtoReflect.Descriptor instead.

func (*ClientCredentials) GetClientId added in v3.0.3

func (x *ClientCredentials) GetClientId() string

func (*ClientCredentials) GetClientSecret added in v3.0.3

func (x *ClientCredentials) GetClientSecret() string

func (*ClientCredentials) GetTenantId added in v3.0.3

func (x *ClientCredentials) GetTenantId() string

func (*ClientCredentials) ProtoMessage added in v3.0.3

func (*ClientCredentials) ProtoMessage()

func (*ClientCredentials) ProtoReflect added in v3.0.3

func (x *ClientCredentials) ProtoReflect() protoreflect.Message

func (*ClientCredentials) Reset added in v3.0.3

func (x *ClientCredentials) Reset()

func (*ClientCredentials) String added in v3.0.3

func (x *ClientCredentials) String() string

func (*ClientCredentials) Validate added in v3.0.3

func (m *ClientCredentials) Validate() error

Validate checks the field values on ClientCredentials 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 (*ClientCredentials) ValidateAll added in v3.0.3

func (m *ClientCredentials) ValidateAll() error

ValidateAll checks the field values on ClientCredentials 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 ClientCredentialsMultiError, or nil if none found.

type ClientCredentialsMultiError added in v3.0.3

type ClientCredentialsMultiError []error

ClientCredentialsMultiError is an error wrapping multiple validation errors returned by ClientCredentials.ValidateAll() if the designated constraints aren't met.

func (ClientCredentialsMultiError) AllErrors added in v3.0.3

func (m ClientCredentialsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClientCredentialsMultiError) Error added in v3.0.3

Error returns a concatenation of all the error messages it wraps.

type ClientCredentialsValidationError added in v3.0.3

type ClientCredentialsValidationError struct {
	// contains filtered or unexported fields
}

ClientCredentialsValidationError is the validation error returned by ClientCredentials.Validate if the designated constraints aren't met.

func (ClientCredentialsValidationError) Cause added in v3.0.3

Cause function returns cause value.

func (ClientCredentialsValidationError) Error added in v3.0.3

Error satisfies the builtin error interface

func (ClientCredentialsValidationError) ErrorName added in v3.0.3

ErrorName returns error name.

func (ClientCredentialsValidationError) Field added in v3.0.3

Field function returns field value.

func (ClientCredentialsValidationError) Key added in v3.0.3

Key function returns key value.

func (ClientCredentialsValidationError) Reason added in v3.0.3

Reason function returns reason value.

type CloudEnvironment

type CloudEnvironment struct {
	// contains filtered or unexported fields
}

func (*CloudEnvironment) Descriptor deprecated

func (*CloudEnvironment) Descriptor() ([]byte, []int)

Deprecated: Use CloudEnvironment.ProtoReflect.Descriptor instead.

func (*CloudEnvironment) ProtoMessage

func (*CloudEnvironment) ProtoMessage()

func (*CloudEnvironment) ProtoReflect

func (x *CloudEnvironment) ProtoReflect() protoreflect.Message

func (*CloudEnvironment) Reset

func (x *CloudEnvironment) Reset()

func (*CloudEnvironment) String

func (x *CloudEnvironment) String() string

func (*CloudEnvironment) Validate

func (m *CloudEnvironment) Validate() error

Validate checks the field values on CloudEnvironment 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 (*CloudEnvironment) ValidateAll

func (m *CloudEnvironment) ValidateAll() error

ValidateAll checks the field values on CloudEnvironment 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 CloudEnvironmentMultiError, or nil if none found.

type CloudEnvironmentMultiError

type CloudEnvironmentMultiError []error

CloudEnvironmentMultiError is an error wrapping multiple validation errors returned by CloudEnvironment.ValidateAll() if the designated constraints aren't met.

func (CloudEnvironmentMultiError) AllErrors

func (m CloudEnvironmentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CloudEnvironmentMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CloudEnvironmentValidationError

type CloudEnvironmentValidationError struct {
	// contains filtered or unexported fields
}

CloudEnvironmentValidationError is the validation error returned by CloudEnvironment.Validate if the designated constraints aren't met.

func (CloudEnvironmentValidationError) Cause

Cause function returns cause value.

func (CloudEnvironmentValidationError) Error

Error satisfies the builtin error interface

func (CloudEnvironmentValidationError) ErrorName

ErrorName returns error name.

func (CloudEnvironmentValidationError) Field

Field function returns field value.

func (CloudEnvironmentValidationError) Key

Key function returns key value.

func (CloudEnvironmentValidationError) Reason

Reason function returns reason value.

type GitHubApp

type GitHubApp struct {
	PrivateKey     string `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	InstallationId string `protobuf:"bytes,2,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"`
	AppId          string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GitHubApp) Descriptor deprecated

func (*GitHubApp) Descriptor() ([]byte, []int)

Deprecated: Use GitHubApp.ProtoReflect.Descriptor instead.

func (*GitHubApp) GetAppId

func (x *GitHubApp) GetAppId() string

func (*GitHubApp) GetInstallationId

func (x *GitHubApp) GetInstallationId() string

func (*GitHubApp) GetPrivateKey

func (x *GitHubApp) GetPrivateKey() string

func (*GitHubApp) ProtoMessage

func (*GitHubApp) ProtoMessage()

func (*GitHubApp) ProtoReflect

func (x *GitHubApp) ProtoReflect() protoreflect.Message

func (*GitHubApp) Reset

func (x *GitHubApp) Reset()

func (*GitHubApp) String

func (x *GitHubApp) String() string

func (*GitHubApp) Validate

func (m *GitHubApp) Validate() error

Validate checks the field values on GitHubApp 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 (*GitHubApp) ValidateAll

func (m *GitHubApp) ValidateAll() error

ValidateAll checks the field values on GitHubApp 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 GitHubAppMultiError, or nil if none found.

type GitHubAppMultiError

type GitHubAppMultiError []error

GitHubAppMultiError is an error wrapping multiple validation errors returned by GitHubApp.ValidateAll() if the designated constraints aren't met.

func (GitHubAppMultiError) AllErrors

func (m GitHubAppMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitHubAppMultiError) Error

func (m GitHubAppMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GitHubAppValidationError

type GitHubAppValidationError struct {
	// contains filtered or unexported fields
}

GitHubAppValidationError is the validation error returned by GitHubApp.Validate if the designated constraints aren't met.

func (GitHubAppValidationError) Cause

func (e GitHubAppValidationError) Cause() error

Cause function returns cause value.

func (GitHubAppValidationError) Error

func (e GitHubAppValidationError) Error() string

Error satisfies the builtin error interface

func (GitHubAppValidationError) ErrorName

func (e GitHubAppValidationError) ErrorName() string

ErrorName returns error name.

func (GitHubAppValidationError) Field

func (e GitHubAppValidationError) Field() string

Field function returns field value.

func (GitHubAppValidationError) Key

Key function returns key value.

func (GitHubAppValidationError) Reason

func (e GitHubAppValidationError) Reason() string

Reason function returns reason value.

type Header struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated

func (*Header) Descriptor() ([]byte, []int)

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetKey

func (x *Header) GetKey() string

func (*Header) GetValue

func (x *Header) GetValue() string

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

func (*Header) Validate

func (m *Header) Validate() error

Validate checks the field values on Header 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 (*Header) ValidateAll

func (m *Header) ValidateAll() error

ValidateAll checks the field values on Header 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 HeaderMultiError, or nil if none found.

type HeaderMultiError

type HeaderMultiError []error

HeaderMultiError is an error wrapping multiple validation errors returned by Header.ValidateAll() if the designated constraints aren't met.

func (HeaderMultiError) AllErrors

func (m HeaderMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HeaderMultiError) Error

func (m HeaderMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HeaderValidationError

type HeaderValidationError struct {
	// contains filtered or unexported fields
}

HeaderValidationError is the validation error returned by Header.Validate if the designated constraints aren't met.

func (HeaderValidationError) Cause

func (e HeaderValidationError) Cause() error

Cause function returns cause value.

func (HeaderValidationError) Error

func (e HeaderValidationError) Error() string

Error satisfies the builtin error interface

func (HeaderValidationError) ErrorName

func (e HeaderValidationError) ErrorName() string

ErrorName returns error name.

func (HeaderValidationError) Field

func (e HeaderValidationError) Field() string

Field function returns field value.

func (HeaderValidationError) Key

func (e HeaderValidationError) Key() bool

Key function returns key value.

func (HeaderValidationError) Reason

func (e HeaderValidationError) Reason() string

Reason function returns reason value.

type KeySecret

type KeySecret struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*KeySecret) Descriptor deprecated

func (*KeySecret) Descriptor() ([]byte, []int)

Deprecated: Use KeySecret.ProtoReflect.Descriptor instead.

func (*KeySecret) GetKey

func (x *KeySecret) GetKey() string

func (*KeySecret) GetSecret

func (x *KeySecret) GetSecret() string

func (*KeySecret) ProtoMessage

func (*KeySecret) ProtoMessage()

func (*KeySecret) ProtoReflect

func (x *KeySecret) ProtoReflect() protoreflect.Message

func (*KeySecret) Reset

func (x *KeySecret) Reset()

func (*KeySecret) String

func (x *KeySecret) String() string

func (*KeySecret) Validate

func (m *KeySecret) Validate() error

Validate checks the field values on KeySecret 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 (*KeySecret) ValidateAll

func (m *KeySecret) ValidateAll() error

ValidateAll checks the field values on KeySecret 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 KeySecretMultiError, or nil if none found.

type KeySecretMultiError

type KeySecretMultiError []error

KeySecretMultiError is an error wrapping multiple validation errors returned by KeySecret.ValidateAll() if the designated constraints aren't met.

func (KeySecretMultiError) AllErrors

func (m KeySecretMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KeySecretMultiError) Error

func (m KeySecretMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type KeySecretValidationError

type KeySecretValidationError struct {
	// contains filtered or unexported fields
}

KeySecretValidationError is the validation error returned by KeySecret.Validate if the designated constraints aren't met.

func (KeySecretValidationError) Cause

func (e KeySecretValidationError) Cause() error

Cause function returns cause value.

func (KeySecretValidationError) Error

func (e KeySecretValidationError) Error() string

Error satisfies the builtin error interface

func (KeySecretValidationError) ErrorName

func (e KeySecretValidationError) ErrorName() string

ErrorName returns error name.

func (KeySecretValidationError) Field

func (e KeySecretValidationError) Field() string

Field function returns field value.

func (KeySecretValidationError) Key

Key function returns key value.

func (KeySecretValidationError) Reason

func (e KeySecretValidationError) Reason() string

Reason function returns reason value.

type Oauth2

type Oauth2 struct {
	RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	ClientId     string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*Oauth2) Descriptor deprecated

func (*Oauth2) Descriptor() ([]byte, []int)

Deprecated: Use Oauth2.ProtoReflect.Descriptor instead.

func (*Oauth2) GetClientId

func (x *Oauth2) GetClientId() string

func (*Oauth2) GetClientSecret

func (x *Oauth2) GetClientSecret() string

func (*Oauth2) GetRefreshToken

func (x *Oauth2) GetRefreshToken() string

func (*Oauth2) ProtoMessage

func (*Oauth2) ProtoMessage()

func (*Oauth2) ProtoReflect

func (x *Oauth2) ProtoReflect() protoreflect.Message

func (*Oauth2) Reset

func (x *Oauth2) Reset()

func (*Oauth2) String

func (x *Oauth2) String() string

func (*Oauth2) Validate

func (m *Oauth2) Validate() error

Validate checks the field values on Oauth2 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 (*Oauth2) ValidateAll

func (m *Oauth2) ValidateAll() error

ValidateAll checks the field values on Oauth2 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 Oauth2MultiError, or nil if none found.

type Oauth2MultiError

type Oauth2MultiError []error

Oauth2MultiError is an error wrapping multiple validation errors returned by Oauth2.ValidateAll() if the designated constraints aren't met.

func (Oauth2MultiError) AllErrors

func (m Oauth2MultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Oauth2MultiError) Error

func (m Oauth2MultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Oauth2ValidationError

type Oauth2ValidationError struct {
	// contains filtered or unexported fields
}

Oauth2ValidationError is the validation error returned by Oauth2.Validate if the designated constraints aren't met.

func (Oauth2ValidationError) Cause

func (e Oauth2ValidationError) Cause() error

Cause function returns cause value.

func (Oauth2ValidationError) Error

func (e Oauth2ValidationError) Error() string

Error satisfies the builtin error interface

func (Oauth2ValidationError) ErrorName

func (e Oauth2ValidationError) ErrorName() string

ErrorName returns error name.

func (Oauth2ValidationError) Field

func (e Oauth2ValidationError) Field() string

Field function returns field value.

func (Oauth2ValidationError) Key

func (e Oauth2ValidationError) Key() bool

Key function returns key value.

func (Oauth2ValidationError) Reason

func (e Oauth2ValidationError) Reason() string

Reason function returns reason value.

type SES

type SES struct {
	Creds      *AWS     `protobuf:"bytes,1,opt,name=creds,proto3" json:"creds,omitempty"`
	Sender     string   `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipients []string `protobuf:"bytes,3,rep,name=recipients,proto3" json:"recipients,omitempty"`
	// contains filtered or unexported fields
}

func (*SES) Descriptor deprecated

func (*SES) Descriptor() ([]byte, []int)

Deprecated: Use SES.ProtoReflect.Descriptor instead.

func (*SES) GetCreds

func (x *SES) GetCreds() *AWS

func (*SES) GetRecipients

func (x *SES) GetRecipients() []string

func (*SES) GetSender

func (x *SES) GetSender() string

func (*SES) ProtoMessage

func (*SES) ProtoMessage()

func (*SES) ProtoReflect

func (x *SES) ProtoReflect() protoreflect.Message

func (*SES) Reset

func (x *SES) Reset()

func (*SES) String

func (x *SES) String() string

func (*SES) Validate

func (m *SES) Validate() error

Validate checks the field values on SES 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 (*SES) ValidateAll

func (m *SES) ValidateAll() error

ValidateAll checks the field values on SES 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 SESMultiError, or nil if none found.

type SESMultiError

type SESMultiError []error

SESMultiError is an error wrapping multiple validation errors returned by SES.ValidateAll() if the designated constraints aren't met.

func (SESMultiError) AllErrors

func (m SESMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SESMultiError) Error

func (m SESMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SESValidationError

type SESValidationError struct {
	// contains filtered or unexported fields
}

SESValidationError is the validation error returned by SES.Validate if the designated constraints aren't met.

func (SESValidationError) Cause

func (e SESValidationError) Cause() error

Cause function returns cause value.

func (SESValidationError) Error

func (e SESValidationError) Error() string

Error satisfies the builtin error interface

func (SESValidationError) ErrorName

func (e SESValidationError) ErrorName() string

ErrorName returns error name.

func (SESValidationError) Field

func (e SESValidationError) Field() string

Field function returns field value.

func (SESValidationError) Key

func (e SESValidationError) Key() bool

Key function returns key value.

func (SESValidationError) Reason

func (e SESValidationError) Reason() string

Reason function returns reason value.

type Unauthenticated

type Unauthenticated struct {
	// contains filtered or unexported fields
}

func (*Unauthenticated) Descriptor deprecated

func (*Unauthenticated) Descriptor() ([]byte, []int)

Deprecated: Use Unauthenticated.ProtoReflect.Descriptor instead.

func (*Unauthenticated) ProtoMessage

func (*Unauthenticated) ProtoMessage()

func (*Unauthenticated) ProtoReflect

func (x *Unauthenticated) ProtoReflect() protoreflect.Message

func (*Unauthenticated) Reset

func (x *Unauthenticated) Reset()

func (*Unauthenticated) String

func (x *Unauthenticated) String() string

func (*Unauthenticated) Validate

func (m *Unauthenticated) Validate() error

Validate checks the field values on Unauthenticated 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 (*Unauthenticated) ValidateAll

func (m *Unauthenticated) ValidateAll() error

ValidateAll checks the field values on Unauthenticated 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 UnauthenticatedMultiError, or nil if none found.

type UnauthenticatedMultiError

type UnauthenticatedMultiError []error

UnauthenticatedMultiError is an error wrapping multiple validation errors returned by Unauthenticated.ValidateAll() if the designated constraints aren't met.

func (UnauthenticatedMultiError) AllErrors

func (m UnauthenticatedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UnauthenticatedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UnauthenticatedValidationError

type UnauthenticatedValidationError struct {
	// contains filtered or unexported fields
}

UnauthenticatedValidationError is the validation error returned by Unauthenticated.Validate if the designated constraints aren't met.

func (UnauthenticatedValidationError) Cause

Cause function returns cause value.

func (UnauthenticatedValidationError) Error

Error satisfies the builtin error interface

func (UnauthenticatedValidationError) ErrorName

func (e UnauthenticatedValidationError) ErrorName() string

ErrorName returns error name.

func (UnauthenticatedValidationError) Field

Field function returns field value.

func (UnauthenticatedValidationError) Key

Key function returns key value.

func (UnauthenticatedValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL