Documentation ¶
Index ¶
- Variables
- type Azs
- func (*Azs) Descriptor() ([]byte, []int)deprecated
- func (x *Azs) GetEnabled() *wrapperspb.BoolValue
- func (x *Azs) GetStorageAccountKey() string
- func (x *Azs) GetStorageAccountName() string
- func (x *Azs) GetStorageContainerName() string
- func (*Azs) ProtoMessage()
- func (x *Azs) ProtoReflect() protoreflect.Message
- func (x *Azs) Reset()
- func (x *Azs) String() string
- type Gcs
- func (*Gcs) Descriptor() ([]byte, []int)deprecated
- func (x *Gcs) GetBucket() string
- func (x *Gcs) GetBucketLocation() string
- func (x *Gcs) GetEnabled() *wrapperspb.BoolValue
- func (x *Gcs) GetJsonPath() string
- func (x *Gcs) GetProject() string
- func (x *Gcs) GetRootFolder() *wrapperspb.StringValue
- func (*Gcs) ProtoMessage()
- func (x *Gcs) ProtoReflect() protoreflect.Message
- func (x *Gcs) Reset()
- func (x *Gcs) String() string
- type Oracle
- func (*Oracle) Descriptor() ([]byte, []int)deprecated
- func (x *Oracle) GetBucketName() string
- func (x *Oracle) GetCompartmentId() string
- func (x *Oracle) GetEnabled() *wrapperspb.BoolValue
- func (x *Oracle) GetFingerprint() string
- func (x *Oracle) GetNamespace() string
- func (x *Oracle) GetPrivateKeyPassphrase() string
- func (x *Oracle) GetRegion() string
- func (x *Oracle) GetSshPrivateKeyFilePath() string
- func (x *Oracle) GetTenancyId() string
- func (x *Oracle) GetUserId() string
- func (*Oracle) ProtoMessage()
- func (x *Oracle) ProtoReflect() protoreflect.Message
- func (x *Oracle) Reset()
- func (x *Oracle) String() string
- type PersistentStorage
- func (*PersistentStorage) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentStorage) GetAzs() *Azs
- func (x *PersistentStorage) GetGcs() *Gcs
- func (x *PersistentStorage) GetOracle() *Oracle
- func (x *PersistentStorage) GetS3() *S3
- func (*PersistentStorage) ProtoMessage()
- func (x *PersistentStorage) ProtoReflect() protoreflect.Message
- func (x *PersistentStorage) Reset()
- func (x *PersistentStorage) String() string
- type S3
- func (*S3) Descriptor() ([]byte, []int)deprecated
- func (x *S3) GetAccessKeyId() string
- func (x *S3) GetBucket() string
- func (x *S3) GetEnabled() *wrapperspb.BoolValue
- func (x *S3) GetEndpoint() string
- func (x *S3) GetPathStyleAccess() *wrapperspb.BoolValue
- func (x *S3) GetRegion() string
- func (x *S3) GetRootFolder() *wrapperspb.StringValue
- func (x *S3) GetSecretAccessKey() string
- func (x *S3) GetServerSideEncryption() S3ServerSideEncryption
- func (*S3) ProtoMessage()
- func (x *S3) ProtoReflect() protoreflect.Message
- func (x *S3) Reset()
- func (x *S3) String() string
- type S3ServerSideEncryption
- func (S3ServerSideEncryption) Descriptor() protoreflect.EnumDescriptor
- func (x S3ServerSideEncryption) Enum() *S3ServerSideEncryption
- func (S3ServerSideEncryption) EnumDescriptor() ([]byte, []int)deprecated
- func (x S3ServerSideEncryption) Number() protoreflect.EnumNumber
- func (x S3ServerSideEncryption) String() string
- func (S3ServerSideEncryption) Type() protoreflect.EnumType
- type SQL
- type SQL_ConnectionPool
- func (*SQL_ConnectionPool) Descriptor() ([]byte, []int)deprecated
- func (x *SQL_ConnectionPool) GetConnectionTimeout() int32
- func (x *SQL_ConnectionPool) GetJdbcUrl() string
- func (x *SQL_ConnectionPool) GetMaxLifetime() int32
- func (x *SQL_ConnectionPool) GetMaxPoolSize() int32
- func (x *SQL_ConnectionPool) GetPassword() string
- func (x *SQL_ConnectionPool) GetUser() string
- func (*SQL_ConnectionPool) ProtoMessage()
- func (x *SQL_ConnectionPool) ProtoReflect() protoreflect.Message
- func (x *SQL_ConnectionPool) Reset()
- func (x *SQL_ConnectionPool) String() string
- type SQL_ConnectionPools
- func (*SQL_ConnectionPools) Descriptor() ([]byte, []int)deprecated
- func (x *SQL_ConnectionPools) GetDefault() *SQL_ConnectionPool
- func (*SQL_ConnectionPools) ProtoMessage()
- func (x *SQL_ConnectionPools) ProtoReflect() protoreflect.Message
- func (x *SQL_ConnectionPools) Reset()
- func (x *SQL_ConnectionPools) String() string
Constants ¶
This section is empty.
Variables ¶
var ( S3ServerSideEncryption_name = map[int32]string{ 0: "UNSPECIFIED", 1: "AES256", 2: "AWSKMS", } S3ServerSideEncryption_value = map[string]int32{ "UNSPECIFIED": 0, "AES256": 1, "AWSKMS": 2, } )
Enum value maps for S3ServerSideEncryption.
var File_storage_azs_proto protoreflect.FileDescriptor
var File_storage_gcs_proto protoreflect.FileDescriptor
var File_storage_oracle_proto protoreflect.FileDescriptor
var File_storage_persistent_storage_proto protoreflect.FileDescriptor
var File_storage_s3_proto protoreflect.FileDescriptor
var File_storage_sql_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Azs ¶
type Azs struct { // Whether this persistent store is enabled. Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // The name of an Azure Storage Account. StorageAccountName string `protobuf:"bytes,2,opt,name=storageAccountName,proto3" json:"storageAccountName,omitempty"` // The key to access the Azure Storage Account. StorageAccountKey string `protobuf:"bytes,3,opt,name=storageAccountKey,proto3" json:"storageAccountKey,omitempty"` // The container name in the chosen storage account to place Spinnaker's // persistent data. Defaults to 'spinnaker' if unspecified. StorageContainerName string `protobuf:"bytes,4,opt,name=storageContainerName,proto3" json:"storageContainerName,omitempty"` // contains filtered or unexported fields }
Configuration for an Azure Storage persistent store.
func (*Azs) Descriptor
deprecated
func (*Azs) GetEnabled ¶
func (x *Azs) GetEnabled() *wrapperspb.BoolValue
func (*Azs) GetStorageAccountKey ¶
func (*Azs) GetStorageAccountName ¶
func (*Azs) GetStorageContainerName ¶
func (*Azs) ProtoMessage ¶
func (*Azs) ProtoMessage()
func (*Azs) ProtoReflect ¶
func (x *Azs) ProtoReflect() protoreflect.Message
type Gcs ¶
type Gcs struct { // Whether this persistent store is enabled. Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // A path to a JSON service account with permission to read and write to the bucket to be used as a backing store. JsonPath string `protobuf:"bytes,2,opt,name=jsonPath,proto3" json:"jsonPath,omitempty"` // The Google Cloud Platform project you are using to host the GCS bucket as a backing store. Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` // The name of a storage bucket that your specified account has access to. Bucket string `protobuf:"bytes,4,opt,name=bucket,proto3" json:"bucket,omitempty"` // The root folder in the chosen bucket to place all of Spinnaker's persistent data in. RootFolder *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=rootFolder,proto3" json:"rootFolder,omitempty"` // This is only required if the bucket you specify does not exist yet. BucketLocation string `protobuf:"bytes,6,opt,name=bucketLocation,proto3" json:"bucketLocation,omitempty"` // contains filtered or unexported fields }
Configuration for a Google Cloud Storage persistent store
func (*Gcs) Descriptor
deprecated
func (*Gcs) GetBucketLocation ¶
func (*Gcs) GetEnabled ¶
func (x *Gcs) GetEnabled() *wrapperspb.BoolValue
func (*Gcs) GetJsonPath ¶
func (*Gcs) GetProject ¶
func (*Gcs) GetRootFolder ¶
func (x *Gcs) GetRootFolder() *wrapperspb.StringValue
func (*Gcs) ProtoMessage ¶
func (*Gcs) ProtoMessage()
func (*Gcs) ProtoReflect ¶
func (x *Gcs) ProtoReflect() protoreflect.Message
type Oracle ¶
type Oracle struct { // Whether this persistent store is enabled. Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // The bucket name to store persistent state object in. BucketName string `protobuf:"bytes,2,opt,name=bucketName,proto3" json:"bucketName,omitempty"` // The namespace the bucket and objects should be created in. Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // An Oracle region (e.g., us-phoenix-1). Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` // The OCID of the Oracle User you're authenticating as. UserId string `protobuf:"bytes,5,opt,name=userId,proto3" json:"userId,omitempty"` // Fingerprint of the public key. Fingerprint string `protobuf:"bytes,6,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // Path to the private key in PEM format. SshPrivateKeyFilePath string `protobuf:"bytes,7,opt,name=sshPrivateKeyFilePath,proto3" json:"sshPrivateKeyFilePath,omitempty"` // Passphrase used for the private key, if it is encrypted. PrivateKeyPassphrase string `protobuf:"bytes,8,opt,name=privateKeyPassphrase,proto3" json:"privateKeyPassphrase,omitempty"` // The OCID of the Oracle Tenancy to use. TenancyId string `protobuf:"bytes,9,opt,name=tenancyId,proto3" json:"tenancyId,omitempty"` // The OCID of the Oracle Compartment to use. CompartmentId string `protobuf:"bytes,10,opt,name=compartmentId,proto3" json:"compartmentId,omitempty"` // contains filtered or unexported fields }
Configuration for an Oracle persistent store.
func (*Oracle) Descriptor
deprecated
func (*Oracle) GetBucketName ¶
func (*Oracle) GetCompartmentId ¶
func (*Oracle) GetEnabled ¶
func (x *Oracle) GetEnabled() *wrapperspb.BoolValue
func (*Oracle) GetFingerprint ¶
func (*Oracle) GetNamespace ¶
func (*Oracle) GetPrivateKeyPassphrase ¶
func (*Oracle) GetSshPrivateKeyFilePath ¶
func (*Oracle) GetTenancyId ¶
func (*Oracle) ProtoMessage ¶
func (*Oracle) ProtoMessage()
func (*Oracle) ProtoReflect ¶
func (x *Oracle) ProtoReflect() protoreflect.Message
type PersistentStorage ¶
type PersistentStorage struct { Gcs *Gcs `protobuf:"bytes,1,opt,name=gcs,proto3" json:"gcs,omitempty"` Azs *Azs `protobuf:"bytes,2,opt,name=azs,proto3" json:"azs,omitempty"` Oracle *Oracle `protobuf:"bytes,3,opt,name=oracle,proto3" json:"oracle,omitempty"` S3 *S3 `protobuf:"bytes,4,opt,name=s3,proto3" json:"s3,omitempty"` // contains filtered or unexported fields }
Configuration of Spinnaker's persistent storage.
func (*PersistentStorage) Descriptor
deprecated
func (*PersistentStorage) Descriptor() ([]byte, []int)
Deprecated: Use PersistentStorage.ProtoReflect.Descriptor instead.
func (*PersistentStorage) GetAzs ¶
func (x *PersistentStorage) GetAzs() *Azs
func (*PersistentStorage) GetGcs ¶
func (x *PersistentStorage) GetGcs() *Gcs
func (*PersistentStorage) GetOracle ¶
func (x *PersistentStorage) GetOracle() *Oracle
func (*PersistentStorage) GetS3 ¶
func (x *PersistentStorage) GetS3() *S3
func (*PersistentStorage) ProtoMessage ¶
func (*PersistentStorage) ProtoMessage()
func (*PersistentStorage) ProtoReflect ¶
func (x *PersistentStorage) ProtoReflect() protoreflect.Message
func (*PersistentStorage) Reset ¶
func (x *PersistentStorage) Reset()
func (*PersistentStorage) String ¶
func (x *PersistentStorage) String() string
type S3 ¶
type S3 struct { // Whether this persistent store is enabled. Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // The name of a storage bucket that your specified account has access to. Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` // The root folder in the chosen bucket to place all of Spinnaker's persistent // data in. RootFolder *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=rootFolder,proto3" json:"rootFolder,omitempty"` // This is only required if the bucket you specify doesn't exist yet. In that // case, the bucket will be created in that region. // See http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region. Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` // When true, use path-style to access bucket; when false, use virtual hosted-style // to access bucket. // See https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingExamples. PathStyleAccess *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=pathStyleAccess,proto3" json:"pathStyleAccess,omitempty"` // An alternate endpoint that your S3-compatible storage can be found at. This is // intended for self-hosted storage services with S3-compatible APIs, e.g. Minio. Endpoint string `protobuf:"bytes,6,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Your AWS Access Key ID. If not provided, Spinnaker will try to find AWS credentials // as described at http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html#credentials-default AccessKeyId string `protobuf:"bytes,7,opt,name=accessKeyId,proto3" json:"accessKeyId,omitempty"` // Configuration for S3 server-size encryption. ServerSideEncryption S3ServerSideEncryption `` /* 136-byte string literal not displayed */ // Your AWS Secret Key. SecretAccessKey string `protobuf:"bytes,9,opt,name=secretAccessKey,proto3" json:"secretAccessKey,omitempty"` // contains filtered or unexported fields }
Configuration for an Amazon S3 persistent store.
func (*S3) Descriptor
deprecated
func (*S3) GetAccessKeyId ¶
func (*S3) GetEnabled ¶
func (x *S3) GetEnabled() *wrapperspb.BoolValue
func (*S3) GetEndpoint ¶
func (*S3) GetPathStyleAccess ¶
func (x *S3) GetPathStyleAccess() *wrapperspb.BoolValue
func (*S3) GetRootFolder ¶
func (x *S3) GetRootFolder() *wrapperspb.StringValue
func (*S3) GetSecretAccessKey ¶
func (*S3) GetServerSideEncryption ¶
func (x *S3) GetServerSideEncryption() S3ServerSideEncryption
func (*S3) ProtoMessage ¶
func (*S3) ProtoMessage()
func (*S3) ProtoReflect ¶
func (x *S3) ProtoReflect() protoreflect.Message
type S3ServerSideEncryption ¶
type S3ServerSideEncryption int32
Configuration for S3 server-side encryption; values correspond to values of the 'x-amz-server-side-encryption' header.
const ( // Unspecified. Do not directly use, instead omit the field. S3ServerSideEncryption_UNSPECIFIED S3ServerSideEncryption = 0 // Amazon S3-managed encryption keys, equivalent to a header value of 'AES256'. S3ServerSideEncryption_AES256 S3ServerSideEncryption = 1 // AWS KMS-managed encryption keys, equivalent to a header value of 'aws:kms'. S3ServerSideEncryption_AWSKMS S3ServerSideEncryption = 2 )
func (S3ServerSideEncryption) Descriptor ¶
func (S3ServerSideEncryption) Descriptor() protoreflect.EnumDescriptor
func (S3ServerSideEncryption) Enum ¶
func (x S3ServerSideEncryption) Enum() *S3ServerSideEncryption
func (S3ServerSideEncryption) EnumDescriptor
deprecated
func (S3ServerSideEncryption) EnumDescriptor() ([]byte, []int)
Deprecated: Use S3ServerSideEncryption.Descriptor instead.
func (S3ServerSideEncryption) Number ¶
func (x S3ServerSideEncryption) Number() protoreflect.EnumNumber
func (S3ServerSideEncryption) String ¶
func (x S3ServerSideEncryption) String() string
func (S3ServerSideEncryption) Type ¶
func (S3ServerSideEncryption) Type() protoreflect.EnumType
type SQL ¶
type SQL struct { // Whether this persistent store is enabled. Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // Default database connection pool. ConnectionPools *SQL_ConnectionPools `protobuf:"bytes,2,opt,name=connectionPools,proto3" json:"connectionPools,omitempty"` // contains filtered or unexported fields }
func (*SQL) Descriptor
deprecated
func (*SQL) GetConnectionPools ¶
func (x *SQL) GetConnectionPools() *SQL_ConnectionPools
func (*SQL) GetEnabled ¶
func (x *SQL) GetEnabled() *wrapperspb.BoolValue
func (*SQL) ProtoMessage ¶
func (*SQL) ProtoMessage()
func (*SQL) ProtoReflect ¶
func (x *SQL) ProtoReflect() protoreflect.Message
type SQL_ConnectionPool ¶
type SQL_ConnectionPool struct { // Database username User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // Database password Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // Database connection string. This needs to include server port // and database name as well JdbcUrl string `protobuf:"bytes,3,opt,name=jdbcUrl,proto3" json:"jdbcUrl,omitempty"` // Database connection timeout in milliseconds ConnectionTimeout int32 `protobuf:"varint,4,opt,name=connectionTimeout,proto3" json:"connectionTimeout,omitempty"` // maxLifetime controls the maximum lifetime of a connection in // the pool in milliseconds. MaxLifetime int32 `protobuf:"varint,5,opt,name=maxLifetime,proto3" json:"maxLifetime,omitempty"` // Maximum number of connections stored in the connection pool MaxPoolSize int32 `protobuf:"varint,6,opt,name=maxPoolSize,proto3" json:"maxPoolSize,omitempty"` // contains filtered or unexported fields }
ConnectionPool confifugration for the SQL server
func (*SQL_ConnectionPool) Descriptor
deprecated
func (*SQL_ConnectionPool) Descriptor() ([]byte, []int)
Deprecated: Use SQL_ConnectionPool.ProtoReflect.Descriptor instead.
func (*SQL_ConnectionPool) GetConnectionTimeout ¶
func (x *SQL_ConnectionPool) GetConnectionTimeout() int32
func (*SQL_ConnectionPool) GetJdbcUrl ¶
func (x *SQL_ConnectionPool) GetJdbcUrl() string
func (*SQL_ConnectionPool) GetMaxLifetime ¶
func (x *SQL_ConnectionPool) GetMaxLifetime() int32
func (*SQL_ConnectionPool) GetMaxPoolSize ¶
func (x *SQL_ConnectionPool) GetMaxPoolSize() int32
func (*SQL_ConnectionPool) GetPassword ¶
func (x *SQL_ConnectionPool) GetPassword() string
func (*SQL_ConnectionPool) GetUser ¶
func (x *SQL_ConnectionPool) GetUser() string
func (*SQL_ConnectionPool) ProtoMessage ¶
func (*SQL_ConnectionPool) ProtoMessage()
func (*SQL_ConnectionPool) ProtoReflect ¶
func (x *SQL_ConnectionPool) ProtoReflect() protoreflect.Message
func (*SQL_ConnectionPool) Reset ¶
func (x *SQL_ConnectionPool) Reset()
func (*SQL_ConnectionPool) String ¶
func (x *SQL_ConnectionPool) String() string
type SQL_ConnectionPools ¶
type SQL_ConnectionPools struct { Default *SQL_ConnectionPool `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"` // contains filtered or unexported fields }
The default connection pool
func (*SQL_ConnectionPools) Descriptor
deprecated
func (*SQL_ConnectionPools) Descriptor() ([]byte, []int)
Deprecated: Use SQL_ConnectionPools.ProtoReflect.Descriptor instead.
func (*SQL_ConnectionPools) GetDefault ¶
func (x *SQL_ConnectionPools) GetDefault() *SQL_ConnectionPool
func (*SQL_ConnectionPools) ProtoMessage ¶
func (*SQL_ConnectionPools) ProtoMessage()
func (*SQL_ConnectionPools) ProtoReflect ¶
func (x *SQL_ConnectionPools) ProtoReflect() protoreflect.Message
func (*SQL_ConnectionPools) Reset ¶
func (x *SQL_ConnectionPools) Reset()
func (*SQL_ConnectionPools) String ¶
func (x *SQL_ConnectionPools) String() string