Documentation ¶
Index ¶
- Variables
- type Auth
- func (*Auth) Descriptor() ([]byte, []int)deprecated
- func (x *Auth) GetAllowList() []string
- func (x *Auth) GetCasRobotAccountPrivateKeyPath() string
- func (x *Auth) GetGeneratedJwsHmacSecret() string
- func (x *Auth) GetOidc() *Auth_OIDC
- func (*Auth) ProtoMessage()
- func (x *Auth) ProtoReflect() protoreflect.Message
- func (x *Auth) Reset()
- func (x *Auth) String() string
- func (m *Auth) Validate() error
- func (m *Auth) ValidateAll() error
- type AuthMultiError
- type AuthValidationError
- type Auth_OIDC
- func (*Auth_OIDC) Descriptor() ([]byte, []int)deprecated
- func (x *Auth_OIDC) GetClientId() string
- func (x *Auth_OIDC) GetClientSecret() string
- func (x *Auth_OIDC) GetDomain() string
- func (x *Auth_OIDC) GetRedirectUrlScheme() string
- func (*Auth_OIDC) ProtoMessage()
- func (x *Auth_OIDC) ProtoReflect() protoreflect.Message
- func (x *Auth_OIDC) Reset()
- func (x *Auth_OIDC) String() string
- func (m *Auth_OIDC) Validate() error
- func (m *Auth_OIDC) ValidateAll() error
- type Auth_OIDCMultiError
- type Auth_OIDCValidationError
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetAuth() *Auth
- func (x *Bootstrap) GetCasServer() *Bootstrap_CASServer
- func (x *Bootstrap) GetCredentialsService() *v1.Credentials
- func (x *Bootstrap) GetData() *Data
- func (x *Bootstrap) GetObservability() *Bootstrap_Observability
- func (x *Bootstrap) GetPluginsDir() string
- func (x *Bootstrap) GetReferrerSharedIndex() *ReferrerSharedIndex
- func (x *Bootstrap) GetServer() *Server
- func (*Bootstrap) ProtoMessage()
- func (x *Bootstrap) ProtoReflect() protoreflect.Message
- func (x *Bootstrap) Reset()
- func (x *Bootstrap) String() string
- func (m *Bootstrap) Validate() error
- func (m *Bootstrap) ValidateAll() error
- type BootstrapMultiError
- type BootstrapValidationError
- type Bootstrap_CASServer
- func (*Bootstrap_CASServer) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap_CASServer) GetDownloadUrl() string
- func (x *Bootstrap_CASServer) GetGrpc() *Server_GRPC
- func (x *Bootstrap_CASServer) GetInsecure() bool
- func (*Bootstrap_CASServer) ProtoMessage()
- func (x *Bootstrap_CASServer) ProtoReflect() protoreflect.Message
- func (x *Bootstrap_CASServer) Reset()
- func (x *Bootstrap_CASServer) String() string
- func (m *Bootstrap_CASServer) Validate() error
- func (m *Bootstrap_CASServer) ValidateAll() error
- type Bootstrap_CASServerMultiError
- type Bootstrap_CASServerValidationError
- func (e Bootstrap_CASServerValidationError) Cause() error
- func (e Bootstrap_CASServerValidationError) Error() string
- func (e Bootstrap_CASServerValidationError) ErrorName() string
- func (e Bootstrap_CASServerValidationError) Field() string
- func (e Bootstrap_CASServerValidationError) Key() bool
- func (e Bootstrap_CASServerValidationError) Reason() string
- type Bootstrap_Observability
- func (*Bootstrap_Observability) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap_Observability) GetSentry() *Bootstrap_Observability_Sentry
- func (*Bootstrap_Observability) ProtoMessage()
- func (x *Bootstrap_Observability) ProtoReflect() protoreflect.Message
- func (x *Bootstrap_Observability) Reset()
- func (x *Bootstrap_Observability) String() string
- func (m *Bootstrap_Observability) Validate() error
- func (m *Bootstrap_Observability) ValidateAll() error
- type Bootstrap_ObservabilityMultiError
- type Bootstrap_ObservabilityValidationError
- func (e Bootstrap_ObservabilityValidationError) Cause() error
- func (e Bootstrap_ObservabilityValidationError) Error() string
- func (e Bootstrap_ObservabilityValidationError) ErrorName() string
- func (e Bootstrap_ObservabilityValidationError) Field() string
- func (e Bootstrap_ObservabilityValidationError) Key() bool
- func (e Bootstrap_ObservabilityValidationError) Reason() string
- type Bootstrap_Observability_Sentry
- func (*Bootstrap_Observability_Sentry) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap_Observability_Sentry) GetDsn() string
- func (x *Bootstrap_Observability_Sentry) GetEnvironment() string
- func (*Bootstrap_Observability_Sentry) ProtoMessage()
- func (x *Bootstrap_Observability_Sentry) ProtoReflect() protoreflect.Message
- func (x *Bootstrap_Observability_Sentry) Reset()
- func (x *Bootstrap_Observability_Sentry) String() string
- func (m *Bootstrap_Observability_Sentry) Validate() error
- func (m *Bootstrap_Observability_Sentry) ValidateAll() error
- type Bootstrap_Observability_SentryMultiError
- type Bootstrap_Observability_SentryValidationError
- func (e Bootstrap_Observability_SentryValidationError) Cause() error
- func (e Bootstrap_Observability_SentryValidationError) Error() string
- func (e Bootstrap_Observability_SentryValidationError) ErrorName() string
- func (e Bootstrap_Observability_SentryValidationError) Field() string
- func (e Bootstrap_Observability_SentryValidationError) Key() bool
- func (e Bootstrap_Observability_SentryValidationError) Reason() string
- type Data
- type DataMultiError
- type DataValidationError
- type Data_Database
- func (*Data_Database) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Database) GetDriver() string
- func (x *Data_Database) GetSource() string
- func (*Data_Database) ProtoMessage()
- func (x *Data_Database) ProtoReflect() protoreflect.Message
- func (x *Data_Database) Reset()
- func (x *Data_Database) String() string
- func (m *Data_Database) Validate() error
- func (m *Data_Database) ValidateAll() error
- type Data_DatabaseMultiError
- type Data_DatabaseValidationError
- func (e Data_DatabaseValidationError) Cause() error
- func (e Data_DatabaseValidationError) Error() string
- func (e Data_DatabaseValidationError) ErrorName() string
- func (e Data_DatabaseValidationError) Field() string
- func (e Data_DatabaseValidationError) Key() bool
- func (e Data_DatabaseValidationError) Reason() string
- type ReferrerSharedIndex
- func (*ReferrerSharedIndex) Descriptor() ([]byte, []int)deprecated
- func (x *ReferrerSharedIndex) GetAllowedOrgs() []string
- func (x *ReferrerSharedIndex) GetEnabled() bool
- func (*ReferrerSharedIndex) ProtoMessage()
- func (x *ReferrerSharedIndex) ProtoReflect() protoreflect.Message
- func (x *ReferrerSharedIndex) Reset()
- func (x *ReferrerSharedIndex) String() string
- func (m *ReferrerSharedIndex) Validate() error
- func (m *ReferrerSharedIndex) ValidateAll() error
- func (c *ReferrerSharedIndex) ValidateOrgs() error
- type ReferrerSharedIndexMultiError
- type ReferrerSharedIndexValidationError
- func (e ReferrerSharedIndexValidationError) Cause() error
- func (e ReferrerSharedIndexValidationError) Error() string
- func (e ReferrerSharedIndexValidationError) ErrorName() string
- func (e ReferrerSharedIndexValidationError) Field() string
- func (e ReferrerSharedIndexValidationError) Key() bool
- func (e ReferrerSharedIndexValidationError) Reason() string
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetGrpc() *Server_GRPC
- func (x *Server) GetHttp() *Server_HTTP
- func (x *Server) GetHttpMetrics() *Server_HTTP
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- func (m *Server) Validate() error
- func (m *Server) ValidateAll() error
- type ServerMultiError
- type ServerValidationError
- type Server_GRPC
- func (*Server_GRPC) Descriptor() ([]byte, []int)deprecated
- func (x *Server_GRPC) GetAddr() string
- func (x *Server_GRPC) GetNetwork() string
- func (x *Server_GRPC) GetTimeout() *durationpb.Duration
- func (x *Server_GRPC) GetTlsConfig() *Server_TLS
- func (*Server_GRPC) ProtoMessage()
- func (x *Server_GRPC) ProtoReflect() protoreflect.Message
- func (x *Server_GRPC) Reset()
- func (x *Server_GRPC) String() string
- func (m *Server_GRPC) Validate() error
- func (m *Server_GRPC) ValidateAll() error
- type Server_GRPCMultiError
- type Server_GRPCValidationError
- func (e Server_GRPCValidationError) Cause() error
- func (e Server_GRPCValidationError) Error() string
- func (e Server_GRPCValidationError) ErrorName() string
- func (e Server_GRPCValidationError) Field() string
- func (e Server_GRPCValidationError) Key() bool
- func (e Server_GRPCValidationError) Reason() string
- type Server_HTTP
- func (*Server_HTTP) Descriptor() ([]byte, []int)deprecated
- func (x *Server_HTTP) GetAddr() string
- func (x *Server_HTTP) GetExternalUrl() string
- func (x *Server_HTTP) GetNetwork() string
- func (x *Server_HTTP) GetTimeout() *durationpb.Duration
- func (*Server_HTTP) ProtoMessage()
- func (x *Server_HTTP) ProtoReflect() protoreflect.Message
- func (x *Server_HTTP) Reset()
- func (x *Server_HTTP) String() string
- func (m *Server_HTTP) Validate() error
- func (m *Server_HTTP) ValidateAll() error
- type Server_HTTPMultiError
- type Server_HTTPValidationError
- func (e Server_HTTPValidationError) Cause() error
- func (e Server_HTTPValidationError) Error() string
- func (e Server_HTTPValidationError) ErrorName() string
- func (e Server_HTTPValidationError) Field() string
- func (e Server_HTTPValidationError) Key() bool
- func (e Server_HTTPValidationError) Reason() string
- type Server_TLS
- func (*Server_TLS) Descriptor() ([]byte, []int)deprecated
- func (x *Server_TLS) GetCertificate() string
- func (x *Server_TLS) GetPrivateKey() string
- func (*Server_TLS) ProtoMessage()
- func (x *Server_TLS) ProtoReflect() protoreflect.Message
- func (x *Server_TLS) Reset()
- func (x *Server_TLS) String() string
- func (m *Server_TLS) Validate() error
- func (m *Server_TLS) ValidateAll() error
- type Server_TLSMultiError
- type Server_TLSValidationError
Constants ¶
This section is empty.
Variables ¶
var File_conf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { // Authentication creates a JWT that uses this secret for signing GeneratedJwsHmacSecret string `` /* 131-byte string literal not displayed */ // allow_list is a list of allowed email addresses or domains // for example ["@chainloop.dev", "foo@mycompany.org"] AllowList []string `protobuf:"bytes,3,rep,name=allow_list,json=allowList,proto3" json:"allow_list,omitempty"` CasRobotAccountPrivateKeyPath string `` /* 156-byte string literal not displayed */ Oidc *Auth_OIDC `protobuf:"bytes,6,opt,name=oidc,proto3" json:"oidc,omitempty"` // contains filtered or unexported fields }
func (*Auth) Descriptor
deprecated
func (*Auth) GetAllowList ¶
func (*Auth) GetCasRobotAccountPrivateKeyPath ¶
func (*Auth) GetGeneratedJwsHmacSecret ¶
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
func (*Auth) Validate ¶ added in v0.8.95
Validate checks the field values on Auth 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 (*Auth) ValidateAll ¶ added in v0.8.95
ValidateAll checks the field values on Auth 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 AuthMultiError, or nil if none found.
type AuthMultiError ¶ added in v0.8.95
type AuthMultiError []error
AuthMultiError is an error wrapping multiple validation errors returned by Auth.ValidateAll() if the designated constraints aren't met.
func (AuthMultiError) AllErrors ¶ added in v0.8.95
func (m AuthMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthMultiError) Error ¶ added in v0.8.95
func (m AuthMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthValidationError ¶ added in v0.8.95
type AuthValidationError struct {
// contains filtered or unexported fields
}
AuthValidationError is the validation error returned by Auth.Validate if the designated constraints aren't met.
func (AuthValidationError) Cause ¶ added in v0.8.95
func (e AuthValidationError) Cause() error
Cause function returns cause value.
func (AuthValidationError) Error ¶ added in v0.8.95
func (e AuthValidationError) Error() string
Error satisfies the builtin error interface
func (AuthValidationError) ErrorName ¶ added in v0.8.95
func (e AuthValidationError) ErrorName() string
ErrorName returns error name.
func (AuthValidationError) Field ¶ added in v0.8.95
func (e AuthValidationError) Field() string
Field function returns field value.
func (AuthValidationError) Key ¶ added in v0.8.95
func (e AuthValidationError) Key() bool
Key function returns key value.
func (AuthValidationError) Reason ¶ added in v0.8.95
func (e AuthValidationError) Reason() string
Reason function returns reason value.
type Auth_OIDC ¶
type Auth_OIDC struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,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"` RedirectUrlScheme string `protobuf:"bytes,4,opt,name=redirect_url_scheme,json=redirectUrlScheme,proto3" json:"redirect_url_scheme,omitempty"` // contains filtered or unexported fields }
func (*Auth_OIDC) Descriptor
deprecated
func (*Auth_OIDC) GetClientId ¶
func (*Auth_OIDC) GetClientSecret ¶
func (*Auth_OIDC) GetRedirectUrlScheme ¶
func (*Auth_OIDC) ProtoMessage ¶
func (*Auth_OIDC) ProtoMessage()
func (*Auth_OIDC) ProtoReflect ¶
func (x *Auth_OIDC) ProtoReflect() protoreflect.Message
func (*Auth_OIDC) Validate ¶ added in v0.8.95
Validate checks the field values on Auth_OIDC 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 (*Auth_OIDC) ValidateAll ¶ added in v0.8.95
ValidateAll checks the field values on Auth_OIDC 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 Auth_OIDCMultiError, or nil if none found.
type Auth_OIDCMultiError ¶ added in v0.8.95
type Auth_OIDCMultiError []error
Auth_OIDCMultiError is an error wrapping multiple validation errors returned by Auth_OIDC.ValidateAll() if the designated constraints aren't met.
func (Auth_OIDCMultiError) AllErrors ¶ added in v0.8.95
func (m Auth_OIDCMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Auth_OIDCMultiError) Error ¶ added in v0.8.95
func (m Auth_OIDCMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Auth_OIDCValidationError ¶ added in v0.8.95
type Auth_OIDCValidationError struct {
// contains filtered or unexported fields
}
Auth_OIDCValidationError is the validation error returned by Auth_OIDC.Validate if the designated constraints aren't met.
func (Auth_OIDCValidationError) Cause ¶ added in v0.8.95
func (e Auth_OIDCValidationError) Cause() error
Cause function returns cause value.
func (Auth_OIDCValidationError) Error ¶ added in v0.8.95
func (e Auth_OIDCValidationError) Error() string
Error satisfies the builtin error interface
func (Auth_OIDCValidationError) ErrorName ¶ added in v0.8.95
func (e Auth_OIDCValidationError) ErrorName() string
ErrorName returns error name.
func (Auth_OIDCValidationError) Field ¶ added in v0.8.95
func (e Auth_OIDCValidationError) Field() string
Field function returns field value.
func (Auth_OIDCValidationError) Key ¶ added in v0.8.95
func (e Auth_OIDCValidationError) Key() bool
Key function returns key value.
func (Auth_OIDCValidationError) Reason ¶ added in v0.8.95
func (e Auth_OIDCValidationError) Reason() string
Reason function returns reason value.
type Bootstrap ¶
type Bootstrap struct { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Auth *Auth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` Observability *Bootstrap_Observability `protobuf:"bytes,4,opt,name=observability,proto3" json:"observability,omitempty"` CredentialsService *v1.Credentials `protobuf:"bytes,5,opt,name=credentials_service,json=credentialsService,proto3" json:"credentials_service,omitempty"` // CAS Server endpoint CasServer *Bootstrap_CASServer `protobuf:"bytes,6,opt,name=cas_server,json=casServer,proto3" json:"cas_server,omitempty"` // Plugins directory // NOTE: plugins have the form of chainloop-plugin-<name> PluginsDir string `protobuf:"bytes,7,opt,name=plugins_dir,json=pluginsDir,proto3" json:"plugins_dir,omitempty"` ReferrerSharedIndex *ReferrerSharedIndex `protobuf:"bytes,8,opt,name=referrer_shared_index,json=referrerSharedIndex,proto3" json:"referrer_shared_index,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap) Descriptor
deprecated
func (*Bootstrap) GetCasServer ¶ added in v0.8.95
func (x *Bootstrap) GetCasServer() *Bootstrap_CASServer
func (*Bootstrap) GetCredentialsService ¶
func (x *Bootstrap) GetCredentialsService() *v1.Credentials
func (*Bootstrap) GetObservability ¶
func (x *Bootstrap) GetObservability() *Bootstrap_Observability
func (*Bootstrap) GetPluginsDir ¶ added in v0.13.0
func (*Bootstrap) GetReferrerSharedIndex ¶ added in v0.40.0
func (x *Bootstrap) GetReferrerSharedIndex() *ReferrerSharedIndex
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
func (*Bootstrap) Validate ¶ added in v0.8.95
Validate checks the field values on Bootstrap 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 (*Bootstrap) ValidateAll ¶ added in v0.8.95
ValidateAll checks the field values on Bootstrap 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 BootstrapMultiError, or nil if none found.
type BootstrapMultiError ¶ added in v0.8.95
type BootstrapMultiError []error
BootstrapMultiError is an error wrapping multiple validation errors returned by Bootstrap.ValidateAll() if the designated constraints aren't met.
func (BootstrapMultiError) AllErrors ¶ added in v0.8.95
func (m BootstrapMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BootstrapMultiError) Error ¶ added in v0.8.95
func (m BootstrapMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BootstrapValidationError ¶ added in v0.8.95
type BootstrapValidationError struct {
// contains filtered or unexported fields
}
BootstrapValidationError is the validation error returned by Bootstrap.Validate if the designated constraints aren't met.
func (BootstrapValidationError) Cause ¶ added in v0.8.95
func (e BootstrapValidationError) Cause() error
Cause function returns cause value.
func (BootstrapValidationError) Error ¶ added in v0.8.95
func (e BootstrapValidationError) Error() string
Error satisfies the builtin error interface
func (BootstrapValidationError) ErrorName ¶ added in v0.8.95
func (e BootstrapValidationError) ErrorName() string
ErrorName returns error name.
func (BootstrapValidationError) Field ¶ added in v0.8.95
func (e BootstrapValidationError) Field() string
Field function returns field value.
func (BootstrapValidationError) Key ¶ added in v0.8.95
func (e BootstrapValidationError) Key() bool
Key function returns key value.
func (BootstrapValidationError) Reason ¶ added in v0.8.95
func (e BootstrapValidationError) Reason() string
Reason function returns reason value.
type Bootstrap_CASServer ¶ added in v0.8.95
type Bootstrap_CASServer struct { // CAS server GRPC endpoint Grpc *Server_GRPC `protobuf:"bytes,1,opt,name=grpc,proto3" json:"grpc,omitempty"` // insecure is used to connect to the CAS server in development Insecure bool `protobuf:"varint,2,opt,name=insecure,proto3" json:"insecure,omitempty"` // CAS server external http(s) download endpoint // In the form of [scheme]://[host]/path i.e https://cas.chainloop.dev/download // https://github.com/chainloop-dev/chainloop/blob/126f47b6c0803eac844b8e3e1a21d582f00e4dc6/app/artifact-cas/internal/service/download.go#L34 DownloadUrl string `protobuf:"bytes,3,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap_CASServer) Descriptor
deprecated
added in
v0.8.95
func (*Bootstrap_CASServer) Descriptor() ([]byte, []int)
Deprecated: Use Bootstrap_CASServer.ProtoReflect.Descriptor instead.
func (*Bootstrap_CASServer) GetDownloadUrl ¶ added in v0.16.0
func (x *Bootstrap_CASServer) GetDownloadUrl() string
func (*Bootstrap_CASServer) GetGrpc ¶ added in v0.8.95
func (x *Bootstrap_CASServer) GetGrpc() *Server_GRPC
func (*Bootstrap_CASServer) GetInsecure ¶ added in v0.8.95
func (x *Bootstrap_CASServer) GetInsecure() bool
func (*Bootstrap_CASServer) ProtoMessage ¶ added in v0.8.95
func (*Bootstrap_CASServer) ProtoMessage()
func (*Bootstrap_CASServer) ProtoReflect ¶ added in v0.8.95
func (x *Bootstrap_CASServer) ProtoReflect() protoreflect.Message
func (*Bootstrap_CASServer) Reset ¶ added in v0.8.95
func (x *Bootstrap_CASServer) Reset()
func (*Bootstrap_CASServer) String ¶ added in v0.8.95
func (x *Bootstrap_CASServer) String() string
func (*Bootstrap_CASServer) Validate ¶ added in v0.8.95
func (m *Bootstrap_CASServer) Validate() error
Validate checks the field values on Bootstrap_CASServer 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 (*Bootstrap_CASServer) ValidateAll ¶ added in v0.8.95
func (m *Bootstrap_CASServer) ValidateAll() error
ValidateAll checks the field values on Bootstrap_CASServer 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 Bootstrap_CASServerMultiError, or nil if none found.
type Bootstrap_CASServerMultiError ¶ added in v0.8.95
type Bootstrap_CASServerMultiError []error
Bootstrap_CASServerMultiError is an error wrapping multiple validation errors returned by Bootstrap_CASServer.ValidateAll() if the designated constraints aren't met.
func (Bootstrap_CASServerMultiError) AllErrors ¶ added in v0.8.95
func (m Bootstrap_CASServerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Bootstrap_CASServerMultiError) Error ¶ added in v0.8.95
func (m Bootstrap_CASServerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Bootstrap_CASServerValidationError ¶ added in v0.8.95
type Bootstrap_CASServerValidationError struct {
// contains filtered or unexported fields
}
Bootstrap_CASServerValidationError is the validation error returned by Bootstrap_CASServer.Validate if the designated constraints aren't met.
func (Bootstrap_CASServerValidationError) Cause ¶ added in v0.8.95
func (e Bootstrap_CASServerValidationError) Cause() error
Cause function returns cause value.
func (Bootstrap_CASServerValidationError) Error ¶ added in v0.8.95
func (e Bootstrap_CASServerValidationError) Error() string
Error satisfies the builtin error interface
func (Bootstrap_CASServerValidationError) ErrorName ¶ added in v0.8.95
func (e Bootstrap_CASServerValidationError) ErrorName() string
ErrorName returns error name.
func (Bootstrap_CASServerValidationError) Field ¶ added in v0.8.95
func (e Bootstrap_CASServerValidationError) Field() string
Field function returns field value.
func (Bootstrap_CASServerValidationError) Key ¶ added in v0.8.95
func (e Bootstrap_CASServerValidationError) Key() bool
Key function returns key value.
func (Bootstrap_CASServerValidationError) Reason ¶ added in v0.8.95
func (e Bootstrap_CASServerValidationError) Reason() string
Reason function returns reason value.
type Bootstrap_Observability ¶
type Bootstrap_Observability struct { Sentry *Bootstrap_Observability_Sentry `protobuf:"bytes,1,opt,name=sentry,proto3" json:"sentry,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap_Observability) Descriptor
deprecated
func (*Bootstrap_Observability) Descriptor() ([]byte, []int)
Deprecated: Use Bootstrap_Observability.ProtoReflect.Descriptor instead.
func (*Bootstrap_Observability) GetSentry ¶
func (x *Bootstrap_Observability) GetSentry() *Bootstrap_Observability_Sentry
func (*Bootstrap_Observability) ProtoMessage ¶
func (*Bootstrap_Observability) ProtoMessage()
func (*Bootstrap_Observability) ProtoReflect ¶
func (x *Bootstrap_Observability) ProtoReflect() protoreflect.Message
func (*Bootstrap_Observability) Reset ¶
func (x *Bootstrap_Observability) Reset()
func (*Bootstrap_Observability) String ¶
func (x *Bootstrap_Observability) String() string
func (*Bootstrap_Observability) Validate ¶ added in v0.8.95
func (m *Bootstrap_Observability) Validate() error
Validate checks the field values on Bootstrap_Observability 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 (*Bootstrap_Observability) ValidateAll ¶ added in v0.8.95
func (m *Bootstrap_Observability) ValidateAll() error
ValidateAll checks the field values on Bootstrap_Observability 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 Bootstrap_ObservabilityMultiError, or nil if none found.
type Bootstrap_ObservabilityMultiError ¶ added in v0.8.95
type Bootstrap_ObservabilityMultiError []error
Bootstrap_ObservabilityMultiError is an error wrapping multiple validation errors returned by Bootstrap_Observability.ValidateAll() if the designated constraints aren't met.
func (Bootstrap_ObservabilityMultiError) AllErrors ¶ added in v0.8.95
func (m Bootstrap_ObservabilityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Bootstrap_ObservabilityMultiError) Error ¶ added in v0.8.95
func (m Bootstrap_ObservabilityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Bootstrap_ObservabilityValidationError ¶ added in v0.8.95
type Bootstrap_ObservabilityValidationError struct {
// contains filtered or unexported fields
}
Bootstrap_ObservabilityValidationError is the validation error returned by Bootstrap_Observability.Validate if the designated constraints aren't met.
func (Bootstrap_ObservabilityValidationError) Cause ¶ added in v0.8.95
func (e Bootstrap_ObservabilityValidationError) Cause() error
Cause function returns cause value.
func (Bootstrap_ObservabilityValidationError) Error ¶ added in v0.8.95
func (e Bootstrap_ObservabilityValidationError) Error() string
Error satisfies the builtin error interface
func (Bootstrap_ObservabilityValidationError) ErrorName ¶ added in v0.8.95
func (e Bootstrap_ObservabilityValidationError) ErrorName() string
ErrorName returns error name.
func (Bootstrap_ObservabilityValidationError) Field ¶ added in v0.8.95
func (e Bootstrap_ObservabilityValidationError) Field() string
Field function returns field value.
func (Bootstrap_ObservabilityValidationError) Key ¶ added in v0.8.95
func (e Bootstrap_ObservabilityValidationError) Key() bool
Key function returns key value.
func (Bootstrap_ObservabilityValidationError) Reason ¶ added in v0.8.95
func (e Bootstrap_ObservabilityValidationError) Reason() string
Reason function returns reason value.
type Bootstrap_Observability_Sentry ¶
type Bootstrap_Observability_Sentry struct { Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap_Observability_Sentry) Descriptor
deprecated
func (*Bootstrap_Observability_Sentry) Descriptor() ([]byte, []int)
Deprecated: Use Bootstrap_Observability_Sentry.ProtoReflect.Descriptor instead.
func (*Bootstrap_Observability_Sentry) GetDsn ¶
func (x *Bootstrap_Observability_Sentry) GetDsn() string
func (*Bootstrap_Observability_Sentry) GetEnvironment ¶
func (x *Bootstrap_Observability_Sentry) GetEnvironment() string
func (*Bootstrap_Observability_Sentry) ProtoMessage ¶
func (*Bootstrap_Observability_Sentry) ProtoMessage()
func (*Bootstrap_Observability_Sentry) ProtoReflect ¶
func (x *Bootstrap_Observability_Sentry) ProtoReflect() protoreflect.Message
func (*Bootstrap_Observability_Sentry) Reset ¶
func (x *Bootstrap_Observability_Sentry) Reset()
func (*Bootstrap_Observability_Sentry) String ¶
func (x *Bootstrap_Observability_Sentry) String() string
func (*Bootstrap_Observability_Sentry) Validate ¶ added in v0.8.95
func (m *Bootstrap_Observability_Sentry) Validate() error
Validate checks the field values on Bootstrap_Observability_Sentry 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 (*Bootstrap_Observability_Sentry) ValidateAll ¶ added in v0.8.95
func (m *Bootstrap_Observability_Sentry) ValidateAll() error
ValidateAll checks the field values on Bootstrap_Observability_Sentry 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 Bootstrap_Observability_SentryMultiError, or nil if none found.
type Bootstrap_Observability_SentryMultiError ¶ added in v0.8.95
type Bootstrap_Observability_SentryMultiError []error
Bootstrap_Observability_SentryMultiError is an error wrapping multiple validation errors returned by Bootstrap_Observability_Sentry.ValidateAll() if the designated constraints aren't met.
func (Bootstrap_Observability_SentryMultiError) AllErrors ¶ added in v0.8.95
func (m Bootstrap_Observability_SentryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Bootstrap_Observability_SentryMultiError) Error ¶ added in v0.8.95
func (m Bootstrap_Observability_SentryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Bootstrap_Observability_SentryValidationError ¶ added in v0.8.95
type Bootstrap_Observability_SentryValidationError struct {
// contains filtered or unexported fields
}
Bootstrap_Observability_SentryValidationError is the validation error returned by Bootstrap_Observability_Sentry.Validate if the designated constraints aren't met.
func (Bootstrap_Observability_SentryValidationError) Cause ¶ added in v0.8.95
func (e Bootstrap_Observability_SentryValidationError) Cause() error
Cause function returns cause value.
func (Bootstrap_Observability_SentryValidationError) Error ¶ added in v0.8.95
func (e Bootstrap_Observability_SentryValidationError) Error() string
Error satisfies the builtin error interface
func (Bootstrap_Observability_SentryValidationError) ErrorName ¶ added in v0.8.95
func (e Bootstrap_Observability_SentryValidationError) ErrorName() string
ErrorName returns error name.
func (Bootstrap_Observability_SentryValidationError) Field ¶ added in v0.8.95
func (e Bootstrap_Observability_SentryValidationError) Field() string
Field function returns field value.
func (Bootstrap_Observability_SentryValidationError) Key ¶ added in v0.8.95
func (e Bootstrap_Observability_SentryValidationError) Key() bool
Key function returns key value.
func (Bootstrap_Observability_SentryValidationError) Reason ¶ added in v0.8.95
func (e Bootstrap_Observability_SentryValidationError) Reason() string
Reason function returns reason value.
type Data ¶
type Data struct { Database *Data_Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetDatabase ¶
func (x *Data) GetDatabase() *Data_Database
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
func (*Data) Validate ¶ added in v0.8.95
Validate checks the field values on Data 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 (*Data) ValidateAll ¶ added in v0.8.95
ValidateAll checks the field values on Data 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 DataMultiError, or nil if none found.
type DataMultiError ¶ added in v0.8.95
type DataMultiError []error
DataMultiError is an error wrapping multiple validation errors returned by Data.ValidateAll() if the designated constraints aren't met.
func (DataMultiError) AllErrors ¶ added in v0.8.95
func (m DataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DataMultiError) Error ¶ added in v0.8.95
func (m DataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DataValidationError ¶ added in v0.8.95
type DataValidationError struct {
// contains filtered or unexported fields
}
DataValidationError is the validation error returned by Data.Validate if the designated constraints aren't met.
func (DataValidationError) Cause ¶ added in v0.8.95
func (e DataValidationError) Cause() error
Cause function returns cause value.
func (DataValidationError) Error ¶ added in v0.8.95
func (e DataValidationError) Error() string
Error satisfies the builtin error interface
func (DataValidationError) ErrorName ¶ added in v0.8.95
func (e DataValidationError) ErrorName() string
ErrorName returns error name.
func (DataValidationError) Field ¶ added in v0.8.95
func (e DataValidationError) Field() string
Field function returns field value.
func (DataValidationError) Key ¶ added in v0.8.95
func (e DataValidationError) Key() bool
Key function returns key value.
func (DataValidationError) Reason ¶ added in v0.8.95
func (e DataValidationError) Reason() string
Reason function returns reason value.
type Data_Database ¶
type Data_Database struct { Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*Data_Database) Descriptor
deprecated
func (*Data_Database) Descriptor() ([]byte, []int)
Deprecated: Use Data_Database.ProtoReflect.Descriptor instead.
func (*Data_Database) GetDriver ¶
func (x *Data_Database) GetDriver() string
func (*Data_Database) GetSource ¶
func (x *Data_Database) GetSource() string
func (*Data_Database) ProtoMessage ¶
func (*Data_Database) ProtoMessage()
func (*Data_Database) ProtoReflect ¶
func (x *Data_Database) ProtoReflect() protoreflect.Message
func (*Data_Database) Reset ¶
func (x *Data_Database) Reset()
func (*Data_Database) String ¶
func (x *Data_Database) String() string
func (*Data_Database) Validate ¶ added in v0.8.95
func (m *Data_Database) Validate() error
Validate checks the field values on Data_Database 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 (*Data_Database) ValidateAll ¶ added in v0.8.95
func (m *Data_Database) ValidateAll() error
ValidateAll checks the field values on Data_Database 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 Data_DatabaseMultiError, or nil if none found.
type Data_DatabaseMultiError ¶ added in v0.8.95
type Data_DatabaseMultiError []error
Data_DatabaseMultiError is an error wrapping multiple validation errors returned by Data_Database.ValidateAll() if the designated constraints aren't met.
func (Data_DatabaseMultiError) AllErrors ¶ added in v0.8.95
func (m Data_DatabaseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Data_DatabaseMultiError) Error ¶ added in v0.8.95
func (m Data_DatabaseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Data_DatabaseValidationError ¶ added in v0.8.95
type Data_DatabaseValidationError struct {
// contains filtered or unexported fields
}
Data_DatabaseValidationError is the validation error returned by Data_Database.Validate if the designated constraints aren't met.
func (Data_DatabaseValidationError) Cause ¶ added in v0.8.95
func (e Data_DatabaseValidationError) Cause() error
Cause function returns cause value.
func (Data_DatabaseValidationError) Error ¶ added in v0.8.95
func (e Data_DatabaseValidationError) Error() string
Error satisfies the builtin error interface
func (Data_DatabaseValidationError) ErrorName ¶ added in v0.8.95
func (e Data_DatabaseValidationError) ErrorName() string
ErrorName returns error name.
func (Data_DatabaseValidationError) Field ¶ added in v0.8.95
func (e Data_DatabaseValidationError) Field() string
Field function returns field value.
func (Data_DatabaseValidationError) Key ¶ added in v0.8.95
func (e Data_DatabaseValidationError) Key() bool
Key function returns key value.
func (Data_DatabaseValidationError) Reason ¶ added in v0.8.95
func (e Data_DatabaseValidationError) Reason() string
Reason function returns reason value.
type ReferrerSharedIndex ¶ added in v0.40.0
type ReferrerSharedIndex struct { bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // think of it as a list of trusted publishers AllowedOrgs []string `protobuf:"bytes,2,rep,name=allowed_orgs,json=allowedOrgs,proto3" json:"allowed_orgs,omitempty"` // contains filtered or unexported fields }Enabled
Configuration used to enable a shared index API endpoint that can be used to discover metadata referrers To populate the shared index you need to enable the feature and configure the allowed orgs The reason to have an org allowList is to avoid leaking metadata from other organizations and set the stage for a trusted publisher model
func (*ReferrerSharedIndex) Descriptor
deprecated
added in
v0.40.0
func (*ReferrerSharedIndex) Descriptor() ([]byte, []int)
Deprecated: Use ReferrerSharedIndex.ProtoReflect.Descriptor instead.
func (*ReferrerSharedIndex) GetAllowedOrgs ¶ added in v0.40.0
func (x *ReferrerSharedIndex) GetAllowedOrgs() []string
func (*ReferrerSharedIndex) GetEnabled ¶ added in v0.40.0
func (x *ReferrerSharedIndex) GetEnabled() bool
func (*ReferrerSharedIndex) ProtoMessage ¶ added in v0.40.0
func (*ReferrerSharedIndex) ProtoMessage()
func (*ReferrerSharedIndex) ProtoReflect ¶ added in v0.40.0
func (x *ReferrerSharedIndex) ProtoReflect() protoreflect.Message
func (*ReferrerSharedIndex) Reset ¶ added in v0.40.0
func (x *ReferrerSharedIndex) Reset()
func (*ReferrerSharedIndex) String ¶ added in v0.40.0
func (x *ReferrerSharedIndex) String() string
func (*ReferrerSharedIndex) Validate ¶ added in v0.40.0
func (m *ReferrerSharedIndex) Validate() error
Validate checks the field values on ReferrerSharedIndex 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 (*ReferrerSharedIndex) ValidateAll ¶ added in v0.40.0
func (m *ReferrerSharedIndex) ValidateAll() error
ValidateAll checks the field values on ReferrerSharedIndex 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 ReferrerSharedIndexMultiError, or nil if none found.
func (*ReferrerSharedIndex) ValidateOrgs ¶ added in v0.40.0
func (c *ReferrerSharedIndex) ValidateOrgs() error
type ReferrerSharedIndexMultiError ¶ added in v0.40.0
type ReferrerSharedIndexMultiError []error
ReferrerSharedIndexMultiError is an error wrapping multiple validation errors returned by ReferrerSharedIndex.ValidateAll() if the designated constraints aren't met.
func (ReferrerSharedIndexMultiError) AllErrors ¶ added in v0.40.0
func (m ReferrerSharedIndexMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReferrerSharedIndexMultiError) Error ¶ added in v0.40.0
func (m ReferrerSharedIndexMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReferrerSharedIndexValidationError ¶ added in v0.40.0
type ReferrerSharedIndexValidationError struct {
// contains filtered or unexported fields
}
ReferrerSharedIndexValidationError is the validation error returned by ReferrerSharedIndex.Validate if the designated constraints aren't met.
func (ReferrerSharedIndexValidationError) Cause ¶ added in v0.40.0
func (e ReferrerSharedIndexValidationError) Cause() error
Cause function returns cause value.
func (ReferrerSharedIndexValidationError) Error ¶ added in v0.40.0
func (e ReferrerSharedIndexValidationError) Error() string
Error satisfies the builtin error interface
func (ReferrerSharedIndexValidationError) ErrorName ¶ added in v0.40.0
func (e ReferrerSharedIndexValidationError) ErrorName() string
ErrorName returns error name.
func (ReferrerSharedIndexValidationError) Field ¶ added in v0.40.0
func (e ReferrerSharedIndexValidationError) Field() string
Field function returns field value.
func (ReferrerSharedIndexValidationError) Key ¶ added in v0.40.0
func (e ReferrerSharedIndexValidationError) Key() bool
Key function returns key value.
func (ReferrerSharedIndexValidationError) Reason ¶ added in v0.40.0
func (e ReferrerSharedIndexValidationError) Reason() string
Reason function returns reason value.
type Server ¶
type Server struct { Http *Server_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"` Grpc *Server_GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"` // HTTPMetrics defines the HTTP server that exposes prometheus metrics HttpMetrics *Server_HTTP `protobuf:"bytes,3,opt,name=http_metrics,json=httpMetrics,proto3" json:"http_metrics,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetGrpc ¶
func (x *Server) GetGrpc() *Server_GRPC
func (*Server) GetHttp ¶
func (x *Server) GetHttp() *Server_HTTP
func (*Server) GetHttpMetrics ¶
func (x *Server) GetHttpMetrics() *Server_HTTP
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
func (*Server) Validate ¶ added in v0.8.95
Validate checks the field values on Server 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 (*Server) ValidateAll ¶ added in v0.8.95
ValidateAll checks the field values on Server 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 ServerMultiError, or nil if none found.
type ServerMultiError ¶ added in v0.8.95
type ServerMultiError []error
ServerMultiError is an error wrapping multiple validation errors returned by Server.ValidateAll() if the designated constraints aren't met.
func (ServerMultiError) AllErrors ¶ added in v0.8.95
func (m ServerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServerMultiError) Error ¶ added in v0.8.95
func (m ServerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServerValidationError ¶ added in v0.8.95
type ServerValidationError struct {
// contains filtered or unexported fields
}
ServerValidationError is the validation error returned by Server.Validate if the designated constraints aren't met.
func (ServerValidationError) Cause ¶ added in v0.8.95
func (e ServerValidationError) Cause() error
Cause function returns cause value.
func (ServerValidationError) Error ¶ added in v0.8.95
func (e ServerValidationError) Error() string
Error satisfies the builtin error interface
func (ServerValidationError) ErrorName ¶ added in v0.8.95
func (e ServerValidationError) ErrorName() string
ErrorName returns error name.
func (ServerValidationError) Field ¶ added in v0.8.95
func (e ServerValidationError) Field() string
Field function returns field value.
func (ServerValidationError) Key ¶ added in v0.8.95
func (e ServerValidationError) Key() bool
Key function returns key value.
func (ServerValidationError) Reason ¶ added in v0.8.95
func (e ServerValidationError) Reason() string
Reason function returns reason value.
type Server_GRPC ¶
type Server_GRPC struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` TlsConfig *Server_TLS `protobuf:"bytes,4,opt,name=tls_config,json=tlsConfig,proto3" json:"tls_config,omitempty"` // contains filtered or unexported fields }
func (*Server_GRPC) Descriptor
deprecated
func (*Server_GRPC) Descriptor() ([]byte, []int)
Deprecated: Use Server_GRPC.ProtoReflect.Descriptor instead.
func (*Server_GRPC) GetAddr ¶
func (x *Server_GRPC) GetAddr() string
func (*Server_GRPC) GetNetwork ¶
func (x *Server_GRPC) GetNetwork() string
func (*Server_GRPC) GetTimeout ¶
func (x *Server_GRPC) GetTimeout() *durationpb.Duration
func (*Server_GRPC) GetTlsConfig ¶ added in v0.16.1
func (x *Server_GRPC) GetTlsConfig() *Server_TLS
func (*Server_GRPC) ProtoMessage ¶
func (*Server_GRPC) ProtoMessage()
func (*Server_GRPC) ProtoReflect ¶
func (x *Server_GRPC) ProtoReflect() protoreflect.Message
func (*Server_GRPC) Reset ¶
func (x *Server_GRPC) Reset()
func (*Server_GRPC) String ¶
func (x *Server_GRPC) String() string
func (*Server_GRPC) Validate ¶ added in v0.8.95
func (m *Server_GRPC) Validate() error
Validate checks the field values on Server_GRPC 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 (*Server_GRPC) ValidateAll ¶ added in v0.8.95
func (m *Server_GRPC) ValidateAll() error
ValidateAll checks the field values on Server_GRPC 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 Server_GRPCMultiError, or nil if none found.
type Server_GRPCMultiError ¶ added in v0.8.95
type Server_GRPCMultiError []error
Server_GRPCMultiError is an error wrapping multiple validation errors returned by Server_GRPC.ValidateAll() if the designated constraints aren't met.
func (Server_GRPCMultiError) AllErrors ¶ added in v0.8.95
func (m Server_GRPCMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Server_GRPCMultiError) Error ¶ added in v0.8.95
func (m Server_GRPCMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Server_GRPCValidationError ¶ added in v0.8.95
type Server_GRPCValidationError struct {
// contains filtered or unexported fields
}
Server_GRPCValidationError is the validation error returned by Server_GRPC.Validate if the designated constraints aren't met.
func (Server_GRPCValidationError) Cause ¶ added in v0.8.95
func (e Server_GRPCValidationError) Cause() error
Cause function returns cause value.
func (Server_GRPCValidationError) Error ¶ added in v0.8.95
func (e Server_GRPCValidationError) Error() string
Error satisfies the builtin error interface
func (Server_GRPCValidationError) ErrorName ¶ added in v0.8.95
func (e Server_GRPCValidationError) ErrorName() string
ErrorName returns error name.
func (Server_GRPCValidationError) Field ¶ added in v0.8.95
func (e Server_GRPCValidationError) Field() string
Field function returns field value.
func (Server_GRPCValidationError) Key ¶ added in v0.8.95
func (e Server_GRPCValidationError) Key() bool
Key function returns key value.
func (Server_GRPCValidationError) Reason ¶ added in v0.8.95
func (e Server_GRPCValidationError) Reason() string
Reason function returns reason value.
type Server_HTTP ¶
type Server_HTTP struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // In the form of [scheme]://[host] i.e https://instance.chainloop.dev // Optional ExternalUrl string `protobuf:"bytes,4,opt,name=external_url,json=externalUrl,proto3" json:"external_url,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*Server_HTTP) Descriptor
deprecated
func (*Server_HTTP) Descriptor() ([]byte, []int)
Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.
func (*Server_HTTP) GetAddr ¶
func (x *Server_HTTP) GetAddr() string
func (*Server_HTTP) GetExternalUrl ¶ added in v0.8.99
func (x *Server_HTTP) GetExternalUrl() string
func (*Server_HTTP) GetNetwork ¶
func (x *Server_HTTP) GetNetwork() string
func (*Server_HTTP) GetTimeout ¶
func (x *Server_HTTP) GetTimeout() *durationpb.Duration
func (*Server_HTTP) ProtoMessage ¶
func (*Server_HTTP) ProtoMessage()
func (*Server_HTTP) ProtoReflect ¶
func (x *Server_HTTP) ProtoReflect() protoreflect.Message
func (*Server_HTTP) Reset ¶
func (x *Server_HTTP) Reset()
func (*Server_HTTP) String ¶
func (x *Server_HTTP) String() string
func (*Server_HTTP) Validate ¶ added in v0.8.95
func (m *Server_HTTP) Validate() error
Validate checks the field values on Server_HTTP 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 (*Server_HTTP) ValidateAll ¶ added in v0.8.95
func (m *Server_HTTP) ValidateAll() error
ValidateAll checks the field values on Server_HTTP 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 Server_HTTPMultiError, or nil if none found.
type Server_HTTPMultiError ¶ added in v0.8.95
type Server_HTTPMultiError []error
Server_HTTPMultiError is an error wrapping multiple validation errors returned by Server_HTTP.ValidateAll() if the designated constraints aren't met.
func (Server_HTTPMultiError) AllErrors ¶ added in v0.8.95
func (m Server_HTTPMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Server_HTTPMultiError) Error ¶ added in v0.8.95
func (m Server_HTTPMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Server_HTTPValidationError ¶ added in v0.8.95
type Server_HTTPValidationError struct {
// contains filtered or unexported fields
}
Server_HTTPValidationError is the validation error returned by Server_HTTP.Validate if the designated constraints aren't met.
func (Server_HTTPValidationError) Cause ¶ added in v0.8.95
func (e Server_HTTPValidationError) Cause() error
Cause function returns cause value.
func (Server_HTTPValidationError) Error ¶ added in v0.8.95
func (e Server_HTTPValidationError) Error() string
Error satisfies the builtin error interface
func (Server_HTTPValidationError) ErrorName ¶ added in v0.8.95
func (e Server_HTTPValidationError) ErrorName() string
ErrorName returns error name.
func (Server_HTTPValidationError) Field ¶ added in v0.8.95
func (e Server_HTTPValidationError) Field() string
Field function returns field value.
func (Server_HTTPValidationError) Key ¶ added in v0.8.95
func (e Server_HTTPValidationError) Key() bool
Key function returns key value.
func (Server_HTTPValidationError) Reason ¶ added in v0.8.95
func (e Server_HTTPValidationError) Reason() string
Reason function returns reason value.
type Server_TLS ¶ added in v0.16.1
type Server_TLS struct { // path to certificate and private key Certificate string `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // contains filtered or unexported fields }
func (*Server_TLS) Descriptor
deprecated
added in
v0.16.1
func (*Server_TLS) Descriptor() ([]byte, []int)
Deprecated: Use Server_TLS.ProtoReflect.Descriptor instead.
func (*Server_TLS) GetCertificate ¶ added in v0.16.1
func (x *Server_TLS) GetCertificate() string
func (*Server_TLS) GetPrivateKey ¶ added in v0.16.1
func (x *Server_TLS) GetPrivateKey() string
func (*Server_TLS) ProtoMessage ¶ added in v0.16.1
func (*Server_TLS) ProtoMessage()
func (*Server_TLS) ProtoReflect ¶ added in v0.16.1
func (x *Server_TLS) ProtoReflect() protoreflect.Message
func (*Server_TLS) Reset ¶ added in v0.16.1
func (x *Server_TLS) Reset()
func (*Server_TLS) String ¶ added in v0.16.1
func (x *Server_TLS) String() string
func (*Server_TLS) Validate ¶ added in v0.16.1
func (m *Server_TLS) Validate() error
Validate checks the field values on Server_TLS 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 (*Server_TLS) ValidateAll ¶ added in v0.16.1
func (m *Server_TLS) ValidateAll() error
ValidateAll checks the field values on Server_TLS 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 Server_TLSMultiError, or nil if none found.
type Server_TLSMultiError ¶ added in v0.16.1
type Server_TLSMultiError []error
Server_TLSMultiError is an error wrapping multiple validation errors returned by Server_TLS.ValidateAll() if the designated constraints aren't met.
func (Server_TLSMultiError) AllErrors ¶ added in v0.16.1
func (m Server_TLSMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Server_TLSMultiError) Error ¶ added in v0.16.1
func (m Server_TLSMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Server_TLSValidationError ¶ added in v0.16.1
type Server_TLSValidationError struct {
// contains filtered or unexported fields
}
Server_TLSValidationError is the validation error returned by Server_TLS.Validate if the designated constraints aren't met.
func (Server_TLSValidationError) Cause ¶ added in v0.16.1
func (e Server_TLSValidationError) Cause() error
Cause function returns cause value.
func (Server_TLSValidationError) Error ¶ added in v0.16.1
func (e Server_TLSValidationError) Error() string
Error satisfies the builtin error interface
func (Server_TLSValidationError) ErrorName ¶ added in v0.16.1
func (e Server_TLSValidationError) ErrorName() string
ErrorName returns error name.
func (Server_TLSValidationError) Field ¶ added in v0.16.1
func (e Server_TLSValidationError) Field() string
Field function returns field value.
func (Server_TLSValidationError) Key ¶ added in v0.16.1
func (e Server_TLSValidationError) Key() bool
Key function returns key value.
func (Server_TLSValidationError) Reason ¶ added in v0.16.1
func (e Server_TLSValidationError) Reason() string
Reason function returns reason value.