Documentation ¶
Index ¶
- Variables
- type Auth
- func (*Auth) Descriptor() ([]byte, []int)deprecated
- func (x *Auth) GetAllowList() *Auth_AllowList
- func (x *Auth) GetCasRobotAccountPrivateKeyPath() string
- func (x *Auth) GetDevUser() 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
- type Auth_AllowList
- func (*Auth_AllowList) Descriptor() ([]byte, []int)deprecated
- func (x *Auth_AllowList) GetCustomMessage() string
- func (x *Auth_AllowList) GetRules() []string
- func (x *Auth_AllowList) GetSelectedRoutes() []string
- func (*Auth_AllowList) ProtoMessage()
- func (x *Auth_AllowList) ProtoReflect() protoreflect.Message
- func (x *Auth_AllowList) Reset()
- func (x *Auth_AllowList) String() string
- 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) GetLoginUrlOverride() string
- func (*Auth_OIDC) ProtoMessage()
- func (x *Auth_OIDC) ProtoReflect() protoreflect.Message
- func (x *Auth_OIDC) Reset()
- func (x *Auth_OIDC) String() string
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetAuth() *Auth
- func (x *Bootstrap) GetCasServer() *Bootstrap_CASServer
- func (x *Bootstrap) GetCertificateAuthority() *CA
- func (x *Bootstrap) GetCredentialsService() *v1.Credentials
- func (x *Bootstrap) GetData() *Data
- func (x *Bootstrap) GetEnableProfiler() bool
- func (x *Bootstrap) GetObservability() *Bootstrap_Observability
- func (x *Bootstrap) GetOnboarding() []*v11.OnboardingSpec
- func (x *Bootstrap) GetPluginsDir() string
- func (x *Bootstrap) GetPolicyProviders() []*PolicyProvider
- func (x *Bootstrap) GetPrometheusIntegration() []*PrometheusIntegrationSpec
- 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
- 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
- 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
- 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
- type CA
- type CA_EJBCA
- func (*CA_EJBCA) Descriptor() ([]byte, []int)deprecated
- func (x *CA_EJBCA) GetCertPath() string
- func (x *CA_EJBCA) GetCertificateAuthorityName() string
- func (x *CA_EJBCA) GetCertificateProfileName() string
- func (x *CA_EJBCA) GetEndEntityProfileName() string
- func (x *CA_EJBCA) GetKeyPath() string
- func (x *CA_EJBCA) GetRootCaPath() string
- func (x *CA_EJBCA) GetServerUrl() string
- func (*CA_EJBCA) ProtoMessage()
- func (x *CA_EJBCA) ProtoReflect() protoreflect.Message
- func (x *CA_EJBCA) Reset()
- func (x *CA_EJBCA) String() string
- type CA_EjbcaCa
- type CA_FileCA
- func (*CA_FileCA) Descriptor() ([]byte, []int)deprecated
- func (x *CA_FileCA) GetCertPath() string
- func (x *CA_FileCA) GetKeyPass() string
- func (x *CA_FileCA) GetKeyPath() string
- func (*CA_FileCA) ProtoMessage()
- func (x *CA_FileCA) ProtoReflect() protoreflect.Message
- func (x *CA_FileCA) Reset()
- func (x *CA_FileCA) String() string
- type CA_FileCa
- type Data
- type Data_Database
- func (*Data_Database) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Database) GetDriver() string
- func (x *Data_Database) GetMaxConnIdleTime() *durationpb.Duration
- func (x *Data_Database) GetMaxIdleConns() int32
- func (x *Data_Database) GetMaxOpenConns() int32
- 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
- type PolicyProvider
- func (*PolicyProvider) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyProvider) GetDefault() bool
- func (x *PolicyProvider) GetHost() stringdeprecated
- func (x *PolicyProvider) GetName() string
- func (x *PolicyProvider) GetUrl() string
- func (*PolicyProvider) ProtoMessage()
- func (x *PolicyProvider) ProtoReflect() protoreflect.Message
- func (x *PolicyProvider) Reset()
- func (x *PolicyProvider) String() string
- type PrometheusIntegrationSpec
- func (*PrometheusIntegrationSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PrometheusIntegrationSpec) GetOrgName() string
- func (*PrometheusIntegrationSpec) ProtoMessage()
- func (x *PrometheusIntegrationSpec) ProtoReflect() protoreflect.Message
- func (x *PrometheusIntegrationSpec) Reset()
- func (x *PrometheusIntegrationSpec) String() 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 (c *ReferrerSharedIndex) ValidateOrgs() error
- 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
- 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
- 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
- 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
Constants ¶
This section is empty.
Variables ¶
var File_controlplane_config_v1_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 */ AllowList *Auth_AllowList `protobuf:"bytes,3,opt,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"` // Generates an initial user. Use only for development purposes DevUser string `protobuf:"bytes,7,opt,name=dev_user,json=devUser,proto3" json:"dev_user,omitempty"` // contains filtered or unexported fields }
func (*Auth) Descriptor
deprecated
func (*Auth) GetAllowList ¶
func (x *Auth) GetAllowList() *Auth_AllowList
func (*Auth) GetCasRobotAccountPrivateKeyPath ¶
func (*Auth) GetDevUser ¶ added in v0.96.4
func (*Auth) GetGeneratedJwsHmacSecret ¶
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
type Auth_AllowList ¶ added in v0.92.0
type Auth_AllowList struct { // allow_list is a list of allowed email addresses or domains // for example ["@chainloop.dev", "foo@mycompany.org"] Rules []string `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // Custom message to show when a user is not allowed CustomMessage string `protobuf:"bytes,2,opt,name=custom_message,json=customMessage,proto3" json:"custom_message,omitempty"` // The list of routes that will be affected by this middleware, by default all of them SelectedRoutes []string `protobuf:"bytes,3,rep,name=selected_routes,json=selectedRoutes,proto3" json:"selected_routes,omitempty"` // contains filtered or unexported fields }
func (*Auth_AllowList) Descriptor
deprecated
added in
v0.92.0
func (*Auth_AllowList) Descriptor() ([]byte, []int)
Deprecated: Use Auth_AllowList.ProtoReflect.Descriptor instead.
func (*Auth_AllowList) GetCustomMessage ¶ added in v0.92.0
func (x *Auth_AllowList) GetCustomMessage() string
func (*Auth_AllowList) GetRules ¶ added in v0.92.0
func (x *Auth_AllowList) GetRules() []string
func (*Auth_AllowList) GetSelectedRoutes ¶ added in v0.92.0
func (x *Auth_AllowList) GetSelectedRoutes() []string
func (*Auth_AllowList) ProtoMessage ¶ added in v0.92.0
func (*Auth_AllowList) ProtoMessage()
func (*Auth_AllowList) ProtoReflect ¶ added in v0.92.0
func (x *Auth_AllowList) ProtoReflect() protoreflect.Message
func (*Auth_AllowList) Reset ¶ added in v0.92.0
func (x *Auth_AllowList) Reset()
func (*Auth_AllowList) String ¶ added in v0.92.0
func (x *Auth_AllowList) String() string
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"` // Optional login URL that will be used by the CLI to start the OIDC flow // If not provided, it will default to [controlplane domain]/login LoginUrlOverride string `protobuf:"bytes,5,opt,name=login_url_override,json=loginUrlOverride,proto3" json:"login_url_override,omitempty"` // contains filtered or unexported fields }
func (*Auth_OIDC) Descriptor
deprecated
func (*Auth_OIDC) GetClientId ¶
func (*Auth_OIDC) GetClientSecret ¶
func (*Auth_OIDC) GetLoginUrlOverride ¶ added in v0.92.0
func (*Auth_OIDC) ProtoMessage ¶
func (*Auth_OIDC) ProtoMessage()
func (*Auth_OIDC) ProtoReflect ¶
func (x *Auth_OIDC) ProtoReflect() protoreflect.Message
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"` // The certificate authority used for keyless signing CertificateAuthority *CA `protobuf:"bytes,9,opt,name=certificate_authority,json=certificateAuthority,proto3" json:"certificate_authority,omitempty"` // Configuration for onboarding users in organizations with specific roles Onboarding []*v11.OnboardingSpec `protobuf:"bytes,10,rep,name=onboarding,proto3" json:"onboarding,omitempty"` // Configuration to enable Prometheus integration for the specified organizations PrometheusIntegration []*PrometheusIntegrationSpec `protobuf:"bytes,11,rep,name=prometheus_integration,json=prometheusIntegration,proto3" json:"prometheus_integration,omitempty"` // providers for external policy repositories PolicyProviders []*PolicyProvider `protobuf:"bytes,12,rep,name=policy_providers,json=policyProviders,proto3" json:"policy_providers,omitempty"` // Enable :6060 pprof endpoint EnableProfiler bool `protobuf:"varint,13,opt,name=enable_profiler,json=enableProfiler,proto3" json:"enable_profiler,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap) Descriptor
deprecated
func (*Bootstrap) GetCasServer ¶
func (x *Bootstrap) GetCasServer() *Bootstrap_CASServer
func (*Bootstrap) GetCertificateAuthority ¶
func (*Bootstrap) GetCredentialsService ¶
func (x *Bootstrap) GetCredentialsService() *v1.Credentials
func (*Bootstrap) GetEnableProfiler ¶ added in v0.114.0
func (*Bootstrap) GetObservability ¶
func (x *Bootstrap) GetObservability() *Bootstrap_Observability
func (*Bootstrap) GetOnboarding ¶ added in v0.91.8
func (x *Bootstrap) GetOnboarding() []*v11.OnboardingSpec
func (*Bootstrap) GetPluginsDir ¶
func (*Bootstrap) GetPolicyProviders ¶ added in v0.95.7
func (x *Bootstrap) GetPolicyProviders() []*PolicyProvider
func (*Bootstrap) GetPrometheusIntegration ¶ added in v0.94.0
func (x *Bootstrap) GetPrometheusIntegration() []*PrometheusIntegrationSpec
func (*Bootstrap) GetReferrerSharedIndex ¶
func (x *Bootstrap) GetReferrerSharedIndex() *ReferrerSharedIndex
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
type Bootstrap_CASServer ¶
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
func (*Bootstrap_CASServer) Descriptor() ([]byte, []int)
Deprecated: Use Bootstrap_CASServer.ProtoReflect.Descriptor instead.
func (*Bootstrap_CASServer) GetDownloadUrl ¶
func (x *Bootstrap_CASServer) GetDownloadUrl() string
func (*Bootstrap_CASServer) GetGrpc ¶
func (x *Bootstrap_CASServer) GetGrpc() *Server_GRPC
func (*Bootstrap_CASServer) GetInsecure ¶
func (x *Bootstrap_CASServer) GetInsecure() bool
func (*Bootstrap_CASServer) ProtoMessage ¶
func (*Bootstrap_CASServer) ProtoMessage()
func (*Bootstrap_CASServer) ProtoReflect ¶
func (x *Bootstrap_CASServer) ProtoReflect() protoreflect.Message
func (*Bootstrap_CASServer) Reset ¶
func (x *Bootstrap_CASServer) Reset()
func (*Bootstrap_CASServer) String ¶
func (x *Bootstrap_CASServer) String() string
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
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
type CA ¶
type CA struct { // Types that are assignable to Ca: // // *CA_FileCa // *CA_EjbcaCa Ca isCA_Ca `protobuf_oneof:"ca"` // contains filtered or unexported fields }
func (*CA) Descriptor
deprecated
func (*CA) GetEjbcaCa ¶ added in v0.93.0
func (*CA) ProtoMessage ¶
func (*CA) ProtoMessage()
func (*CA) ProtoReflect ¶
func (x *CA) ProtoReflect() protoreflect.Message
type CA_EJBCA ¶ added in v0.93.0
type CA_EJBCA struct { ServerUrl string `protobuf:"bytes,1,opt,name=server_url,json=serverUrl,proto3" json:"server_url,omitempty"` // client cert authentication configuration KeyPath string `protobuf:"bytes,2,opt,name=key_path,json=keyPath,proto3" json:"key_path,omitempty"` CertPath string `protobuf:"bytes,3,opt,name=cert_path,json=certPath,proto3" json:"cert_path,omitempty"` RootCaPath string `protobuf:"bytes,4,opt,name=root_ca_path,json=rootCaPath,proto3" json:"root_ca_path,omitempty"` // EJBCA Profile configuration CertificateProfileName string `` /* 129-byte string literal not displayed */ EndEntityProfileName string `protobuf:"bytes,6,opt,name=end_entity_profile_name,json=endEntityProfileName,proto3" json:"end_entity_profile_name,omitempty"` CertificateAuthorityName string `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CA_EJBCA) Descriptor
deprecated
added in
v0.93.0
func (*CA_EJBCA) GetCertPath ¶ added in v0.93.0
func (*CA_EJBCA) GetCertificateAuthorityName ¶ added in v0.93.0
func (*CA_EJBCA) GetCertificateProfileName ¶ added in v0.93.0
func (*CA_EJBCA) GetEndEntityProfileName ¶ added in v0.93.0
func (*CA_EJBCA) GetKeyPath ¶ added in v0.93.0
func (*CA_EJBCA) GetRootCaPath ¶ added in v0.93.0
func (*CA_EJBCA) GetServerUrl ¶ added in v0.93.0
func (*CA_EJBCA) ProtoMessage ¶ added in v0.93.0
func (*CA_EJBCA) ProtoMessage()
func (*CA_EJBCA) ProtoReflect ¶ added in v0.93.0
func (x *CA_EJBCA) ProtoReflect() protoreflect.Message
type CA_EjbcaCa ¶ added in v0.93.0
type CA_EjbcaCa struct {
EjbcaCa *CA_EJBCA `protobuf:"bytes,2,opt,name=ejbca_ca,json=ejbcaCa,proto3,oneof"`
}
type CA_FileCA ¶
type CA_FileCA struct { CertPath string `protobuf:"bytes,1,opt,name=cert_path,json=certPath,proto3" json:"cert_path,omitempty"` KeyPath string `protobuf:"bytes,2,opt,name=key_path,json=keyPath,proto3" json:"key_path,omitempty"` KeyPass string `protobuf:"bytes,3,opt,name=key_pass,json=keyPass,proto3" json:"key_pass,omitempty"` // contains filtered or unexported fields }
func (*CA_FileCA) Descriptor
deprecated
func (*CA_FileCA) GetCertPath ¶
func (*CA_FileCA) GetKeyPass ¶
func (*CA_FileCA) GetKeyPath ¶
func (*CA_FileCA) ProtoMessage ¶
func (*CA_FileCA) ProtoMessage()
func (*CA_FileCA) ProtoReflect ¶
func (x *CA_FileCA) ProtoReflect() protoreflect.Message
type CA_FileCa ¶
type CA_FileCa struct {
FileCa *CA_FileCA `protobuf:"bytes,1,opt,name=file_ca,json=fileCa,proto3,oneof"`
}
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
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"` // sets the maximum amount of time a connection may be idle. // // default to 10 MaxIdleConns int32 `protobuf:"varint,3,opt,name=max_idle_conns,json=maxIdleConns,proto3" json:"max_idle_conns,omitempty"` // if not set defaults to dynamic up to the max number of connections // provided by the target database MaxOpenConns int32 `protobuf:"varint,4,opt,name=max_open_conns,json=maxOpenConns,proto3" json:"max_open_conns,omitempty"` // sets the maximum amount of time a connection may be idle MaxConnIdleTime *durationpb.Duration `protobuf:"bytes,5,opt,name=max_conn_idle_time,json=maxConnIdleTime,proto3" json:"max_conn_idle_time,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) GetMaxConnIdleTime ¶ added in v0.119.0
func (x *Data_Database) GetMaxConnIdleTime() *durationpb.Duration
func (*Data_Database) GetMaxIdleConns ¶ added in v0.119.0
func (x *Data_Database) GetMaxIdleConns() int32
func (*Data_Database) GetMaxOpenConns ¶ added in v0.119.0
func (x *Data_Database) GetMaxOpenConns() int32
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
type PolicyProvider ¶ added in v0.95.7
type PolicyProvider struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // default policies will be used for schema-less references eg `my-policy`. Only one provider can be the default one Default bool `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"` // Host points to the policy API. Deprecated: use `url` instead if you want to provide both policies and groups. // // Deprecated: Marked as deprecated in controlplane/config/v1/conf.proto. Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // URL of the provider API, it will be used both for policies and groups. Example: https://my-server/policy-api Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // Note. Validations not applied not to break compatibility with current deployments // contains filtered or unexported fields }
func (*PolicyProvider) Descriptor
deprecated
added in
v0.95.7
func (*PolicyProvider) Descriptor() ([]byte, []int)
Deprecated: Use PolicyProvider.ProtoReflect.Descriptor instead.
func (*PolicyProvider) GetDefault ¶ added in v0.95.7
func (x *PolicyProvider) GetDefault() bool
func (*PolicyProvider) GetHost
deprecated
added in
v0.95.7
func (x *PolicyProvider) GetHost() string
Deprecated: Marked as deprecated in controlplane/config/v1/conf.proto.
func (*PolicyProvider) GetName ¶ added in v0.95.7
func (x *PolicyProvider) GetName() string
func (*PolicyProvider) GetUrl ¶ added in v0.96.14
func (x *PolicyProvider) GetUrl() string
func (*PolicyProvider) ProtoMessage ¶ added in v0.95.7
func (*PolicyProvider) ProtoMessage()
func (*PolicyProvider) ProtoReflect ¶ added in v0.95.7
func (x *PolicyProvider) ProtoReflect() protoreflect.Message
func (*PolicyProvider) Reset ¶ added in v0.95.7
func (x *PolicyProvider) Reset()
func (*PolicyProvider) String ¶ added in v0.95.7
func (x *PolicyProvider) String() string
type PrometheusIntegrationSpec ¶ added in v0.94.0
type PrometheusIntegrationSpec struct { OrgName string `protobuf:"bytes,1,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"` // contains filtered or unexported fields }
PrometheusIntegrationSpec is a configuration to enable Prometheus integration for the specified organizations
func (*PrometheusIntegrationSpec) Descriptor
deprecated
added in
v0.94.0
func (*PrometheusIntegrationSpec) Descriptor() ([]byte, []int)
Deprecated: Use PrometheusIntegrationSpec.ProtoReflect.Descriptor instead.
func (*PrometheusIntegrationSpec) GetOrgName ¶ added in v0.94.0
func (x *PrometheusIntegrationSpec) GetOrgName() string
func (*PrometheusIntegrationSpec) ProtoMessage ¶ added in v0.94.0
func (*PrometheusIntegrationSpec) ProtoMessage()
func (*PrometheusIntegrationSpec) ProtoReflect ¶ added in v0.94.0
func (x *PrometheusIntegrationSpec) ProtoReflect() protoreflect.Message
func (*PrometheusIntegrationSpec) Reset ¶ added in v0.94.0
func (x *PrometheusIntegrationSpec) Reset()
func (*PrometheusIntegrationSpec) String ¶ added in v0.94.0
func (x *PrometheusIntegrationSpec) String() string
type ReferrerSharedIndex ¶
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
func (*ReferrerSharedIndex) Descriptor() ([]byte, []int)
Deprecated: Use ReferrerSharedIndex.ProtoReflect.Descriptor instead.
func (*ReferrerSharedIndex) GetAllowedOrgs ¶
func (x *ReferrerSharedIndex) GetAllowedOrgs() []string
func (*ReferrerSharedIndex) GetEnabled ¶
func (x *ReferrerSharedIndex) GetEnabled() bool
func (*ReferrerSharedIndex) ProtoMessage ¶
func (*ReferrerSharedIndex) ProtoMessage()
func (*ReferrerSharedIndex) ProtoReflect ¶
func (x *ReferrerSharedIndex) ProtoReflect() protoreflect.Message
func (*ReferrerSharedIndex) Reset ¶
func (x *ReferrerSharedIndex) Reset()
func (*ReferrerSharedIndex) String ¶
func (x *ReferrerSharedIndex) String() string
func (*ReferrerSharedIndex) ValidateOrgs ¶
func (c *ReferrerSharedIndex) ValidateOrgs() error
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
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 ¶
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
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 ¶
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
type Server_TLS ¶
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
func (*Server_TLS) Descriptor() ([]byte, []int)
Deprecated: Use Server_TLS.ProtoReflect.Descriptor instead.
func (*Server_TLS) GetCertificate ¶
func (x *Server_TLS) GetCertificate() string
func (*Server_TLS) GetPrivateKey ¶
func (x *Server_TLS) GetPrivateKey() string
func (*Server_TLS) ProtoMessage ¶
func (*Server_TLS) ProtoMessage()
func (*Server_TLS) ProtoReflect ¶
func (x *Server_TLS) ProtoReflect() protoreflect.Message
func (*Server_TLS) Reset ¶
func (x *Server_TLS) Reset()
func (*Server_TLS) String ¶
func (x *Server_TLS) String() string