environment_pb

package
v0.0.0-...-c009273 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_o5_environment_v1_cluster_proto protoreflect.FileDescriptor
View Source
var File_o5_environment_v1_environment_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ALBIngress

type ALBIngress struct {
	ListenerArn     string `protobuf:"bytes,1,opt,name=listener_arn,json=listenerArn,proto3" json:"listener_arn,omitempty"`
	SecurityGroupId string `protobuf:"bytes,2,opt,name=security_group_id,json=securityGroupId,proto3" json:"security_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ALBIngress) Descriptor deprecated

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

Deprecated: Use ALBIngress.ProtoReflect.Descriptor instead.

func (*ALBIngress) GetListenerArn

func (x *ALBIngress) GetListenerArn() string

func (*ALBIngress) GetSecurityGroupId

func (x *ALBIngress) GetSecurityGroupId() string

func (*ALBIngress) ProtoMessage

func (*ALBIngress) ProtoMessage()

func (*ALBIngress) ProtoReflect

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

func (*ALBIngress) Reset

func (x *ALBIngress) Reset()

func (*ALBIngress) String

func (x *ALBIngress) String() string

type AWSCluster

type AWSCluster struct {
	VpcId      string `protobuf:"bytes,1,opt,name=vpc_id,json=vpcId,proto3" json:"vpc_id,omitempty"`
	AwsAccount string `protobuf:"bytes,2,opt,name=aws_account,json=awsAccount,proto3" json:"aws_account,omitempty"`
	AwsRegion  string `protobuf:"bytes,3,opt,name=aws_region,json=awsRegion,proto3" json:"aws_region,omitempty"`
	// S3 buckets (and others?) must be globally unique for all AWS accounts and regions,
	// buckets are named {name}-{app}-{environment}-{region}-{global_namespace}
	GlobalNamespace string       `protobuf:"bytes,4,opt,name=global_namespace,json=globalNamespace,proto3" json:"global_namespace,omitempty"`
	O5Deployer      *O5Deployer  `protobuf:"bytes,10,opt,name=o5_deployer,json=o5Deployer,proto3" json:"o5_deployer,omitempty"`
	AlbIngress      *ALBIngress  `protobuf:"bytes,11,opt,name=alb_ingress,json=albIngress,proto3" json:"alb_ingress,omitempty"`
	O5Sidecar       *O5Sidecar   `protobuf:"bytes,12,opt,name=o5_sidecar,json=o5Sidecar,proto3" json:"o5_sidecar,omitempty"`
	EventBridge     *EventBridge `protobuf:"bytes,13,opt,name=event_bridge,json=eventBridge,proto3" json:"event_bridge,omitempty"`
	EcsCluster      *ECSCluster  `protobuf:"bytes,14,opt,name=ecs_cluster,json=ecsCluster,proto3" json:"ecs_cluster,omitempty"`
	RdsHosts        []*RDSHost   `protobuf:"bytes,20,rep,name=rds_hosts,json=rdsHosts,proto3" json:"rds_hosts,omitempty"`
	// contains filtered or unexported fields
}

func (*AWSCluster) Descriptor deprecated

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

Deprecated: Use AWSCluster.ProtoReflect.Descriptor instead.

func (*AWSCluster) GetAlbIngress

func (x *AWSCluster) GetAlbIngress() *ALBIngress

func (*AWSCluster) GetAwsAccount

func (x *AWSCluster) GetAwsAccount() string

func (*AWSCluster) GetAwsRegion

func (x *AWSCluster) GetAwsRegion() string

func (*AWSCluster) GetEcsCluster

func (x *AWSCluster) GetEcsCluster() *ECSCluster

func (*AWSCluster) GetEventBridge

func (x *AWSCluster) GetEventBridge() *EventBridge

func (*AWSCluster) GetGlobalNamespace

func (x *AWSCluster) GetGlobalNamespace() string

func (*AWSCluster) GetO5Deployer

func (x *AWSCluster) GetO5Deployer() *O5Deployer

func (*AWSCluster) GetO5Sidecar

func (x *AWSCluster) GetO5Sidecar() *O5Sidecar

func (*AWSCluster) GetRdsHosts

func (x *AWSCluster) GetRdsHosts() []*RDSHost

func (*AWSCluster) GetVpcId

func (x *AWSCluster) GetVpcId() string

func (*AWSCluster) ProtoMessage

func (*AWSCluster) ProtoMessage()

func (*AWSCluster) ProtoReflect

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

func (*AWSCluster) Reset

func (x *AWSCluster) Reset()

func (*AWSCluster) String

func (x *AWSCluster) String() string

type AWSEnvironment

type AWSEnvironment struct {

	// when set, adds a host header rule to all listener rules. For routes with
	// specified subdomains, the subdomain value is added as a prefix to this
	// value.
	// This allows re-use of the same listener for multiple (related) environments.
	HostHeader       *string           `protobuf:"bytes,6,opt,name=host_header,json=hostHeader,proto3,oneof" json:"host_header,omitempty"`
	EnvironmentLinks []*AWSLink        `protobuf:"bytes,8,rep,name=environment_links,json=environmentLinks,proto3" json:"environment_links,omitempty"`
	IamPolicies      []*NamedIAMPolicy `protobuf:"bytes,14,rep,name=iam_policies,json=iamPolicies,proto3" json:"iam_policies,omitempty"`
	// contains filtered or unexported fields
}

func (*AWSEnvironment) Descriptor deprecated

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

Deprecated: Use AWSEnvironment.ProtoReflect.Descriptor instead.

func (x *AWSEnvironment) GetEnvironmentLinks() []*AWSLink

func (*AWSEnvironment) GetHostHeader

func (x *AWSEnvironment) GetHostHeader() string

func (*AWSEnvironment) GetIamPolicies

func (x *AWSEnvironment) GetIamPolicies() []*NamedIAMPolicy

func (*AWSEnvironment) ProtoMessage

func (*AWSEnvironment) ProtoMessage()

func (*AWSEnvironment) ProtoReflect

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

func (*AWSEnvironment) Reset

func (x *AWSEnvironment) Reset()

func (*AWSEnvironment) String

func (x *AWSEnvironment) String() string
type AWSLink struct {
	LookupName string `protobuf:"bytes,1,opt,name=lookup_name,json=lookupName,proto3" json:"lookup_name,omitempty"` // used to match in application configs
	FullName   string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	SnsPrefix  string `protobuf:"bytes,3,opt,name=sns_prefix,json=snsPrefix,proto3" json:"sns_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*AWSLink) Descriptor deprecated

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

Deprecated: Use AWSLink.ProtoReflect.Descriptor instead.

func (*AWSLink) GetFullName

func (x *AWSLink) GetFullName() string

func (*AWSLink) GetLookupName

func (x *AWSLink) GetLookupName() string

func (*AWSLink) GetSnsPrefix

func (x *AWSLink) GetSnsPrefix() string

func (*AWSLink) ProtoMessage

func (*AWSLink) ProtoMessage()

func (*AWSLink) ProtoReflect

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

func (*AWSLink) Reset

func (x *AWSLink) Reset()

func (*AWSLink) String

func (x *AWSLink) String() string

type Cluster

type Cluster struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Provider:
	//
	//	*Cluster_Aws
	Provider isCluster_Provider `protobuf_oneof:"provider"`
	// contains filtered or unexported fields
}

func (*Cluster) Descriptor deprecated

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

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetAws

func (x *Cluster) GetAws() *AWSCluster

func (*Cluster) GetName

func (x *Cluster) GetName() string

func (*Cluster) GetProvider

func (m *Cluster) GetProvider() isCluster_Provider

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect

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

func (*Cluster) Reset

func (x *Cluster) Reset()

func (*Cluster) String

func (x *Cluster) String() string

type Cluster_Aws

type Cluster_Aws struct {
	Aws *AWSCluster `protobuf:"bytes,10,opt,name=aws,proto3,oneof"`
}

type CombinedConfig

type CombinedConfig struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Provider:
	//
	//	*CombinedConfig_Aws
	Provider     isCombinedConfig_Provider `protobuf_oneof:"provider"`
	Environments []*Environment            `protobuf:"bytes,2,rep,name=environments,proto3" json:"environments,omitempty"`
	// contains filtered or unexported fields
}

func (*CombinedConfig) Descriptor deprecated

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

Deprecated: Use CombinedConfig.ProtoReflect.Descriptor instead.

func (*CombinedConfig) GetAws

func (x *CombinedConfig) GetAws() *AWSCluster

func (*CombinedConfig) GetEnvironments

func (x *CombinedConfig) GetEnvironments() []*Environment

func (*CombinedConfig) GetName

func (x *CombinedConfig) GetName() string

func (*CombinedConfig) GetProvider

func (m *CombinedConfig) GetProvider() isCombinedConfig_Provider

func (*CombinedConfig) ProtoMessage

func (*CombinedConfig) ProtoMessage()

func (*CombinedConfig) ProtoReflect

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

func (*CombinedConfig) Reset

func (x *CombinedConfig) Reset()

func (*CombinedConfig) String

func (x *CombinedConfig) String() string

type CombinedConfig_Aws

type CombinedConfig_Aws struct {
	Aws *AWSCluster `protobuf:"bytes,10,opt,name=aws,proto3,oneof"`
}

type CustomVariable

type CustomVariable struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// oneof, but logically, because repeated oneof isn't a thing
	//
	// Types that are assignable to Src:
	//
	//	*CustomVariable_Value
	//	*CustomVariable_Join_
	Src isCustomVariable_Src `protobuf_oneof:"src"`
	// contains filtered or unexported fields
}

func (*CustomVariable) Descriptor deprecated

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

Deprecated: Use CustomVariable.ProtoReflect.Descriptor instead.

func (*CustomVariable) GetJoin

func (x *CustomVariable) GetJoin() *CustomVariable_Join

func (*CustomVariable) GetName

func (x *CustomVariable) GetName() string

func (*CustomVariable) GetSrc

func (m *CustomVariable) GetSrc() isCustomVariable_Src

func (*CustomVariable) GetValue

func (x *CustomVariable) GetValue() string

func (*CustomVariable) ProtoMessage

func (*CustomVariable) ProtoMessage()

func (*CustomVariable) ProtoReflect

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

func (*CustomVariable) Reset

func (x *CustomVariable) Reset()

func (*CustomVariable) String

func (x *CustomVariable) String() string

type CustomVariable_Join

type CustomVariable_Join struct {
	Delimiter string   `protobuf:"bytes,1,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
	Values    []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomVariable_Join) Descriptor deprecated

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

Deprecated: Use CustomVariable_Join.ProtoReflect.Descriptor instead.

func (*CustomVariable_Join) GetDelimiter

func (x *CustomVariable_Join) GetDelimiter() string

func (*CustomVariable_Join) GetValues

func (x *CustomVariable_Join) GetValues() []string

func (*CustomVariable_Join) ProtoMessage

func (*CustomVariable_Join) ProtoMessage()

func (*CustomVariable_Join) ProtoReflect

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

func (*CustomVariable_Join) Reset

func (x *CustomVariable_Join) Reset()

func (*CustomVariable_Join) String

func (x *CustomVariable_Join) String() string

type CustomVariable_Join_

type CustomVariable_Join_ struct {
	Join *CustomVariable_Join `protobuf:"bytes,11,opt,name=join,proto3,oneof"`
}

type CustomVariable_Value

type CustomVariable_Value struct {
	Value string `protobuf:"bytes,10,opt,name=value,proto3,oneof"`
}

type ECSCluster

type ECSCluster struct {
	ClusterName       string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	TaskExecutionRole string `protobuf:"bytes,2,opt,name=task_execution_role,json=taskExecutionRole,proto3" json:"task_execution_role,omitempty"`
	// Default value for o5.application.v1.Container.Image.registry
	DefaultRegistry     string   `protobuf:"bytes,3,opt,name=default_registry,json=defaultRegistry,proto3" json:"default_registry,omitempty"`
	SubnetIds           []string `protobuf:"bytes,5,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"`
	BaseSecurityGroupId string   `protobuf:"bytes,6,opt,name=base_security_group_id,json=baseSecurityGroupId,proto3" json:"base_security_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ECSCluster) Descriptor deprecated

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

Deprecated: Use ECSCluster.ProtoReflect.Descriptor instead.

func (*ECSCluster) GetBaseSecurityGroupId

func (x *ECSCluster) GetBaseSecurityGroupId() string

func (*ECSCluster) GetClusterName

func (x *ECSCluster) GetClusterName() string

func (*ECSCluster) GetDefaultRegistry

func (x *ECSCluster) GetDefaultRegistry() string

func (*ECSCluster) GetSubnetIds

func (x *ECSCluster) GetSubnetIds() []string

func (*ECSCluster) GetTaskExecutionRole

func (x *ECSCluster) GetTaskExecutionRole() string

func (*ECSCluster) ProtoMessage

func (*ECSCluster) ProtoMessage()

func (*ECSCluster) ProtoReflect

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

func (*ECSCluster) Reset

func (x *ECSCluster) Reset()

func (*ECSCluster) String

func (x *ECSCluster) String() string

type Environment

type Environment struct {
	FullName    string            `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	ClusterName string            `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	TrustJwks   []string          `protobuf:"bytes,3,rep,name=trust_jwks,json=trustJwks,proto3" json:"trust_jwks,omitempty"`
	Vars        []*CustomVariable `protobuf:"bytes,4,rep,name=vars,proto3" json:"vars,omitempty"`
	// allowed cors origins, with wildcard support, e.g. https://*.example.com
	// other cors settings are implicit, or set via proto extensions in the
	// endpoints
	CorsOrigins []string `protobuf:"bytes,5,rep,name=cors_origins,json=corsOrigins,proto3" json:"cors_origins,omitempty"`
	// Types that are assignable to Provider:
	//
	//	*Environment_Aws
	Provider isEnvironment_Provider `protobuf_oneof:"provider"`
	// contains filtered or unexported fields
}

func (*Environment) Descriptor deprecated

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetAws

func (x *Environment) GetAws() *AWSEnvironment

func (*Environment) GetClusterName

func (x *Environment) GetClusterName() string

func (*Environment) GetCorsOrigins

func (x *Environment) GetCorsOrigins() []string

func (*Environment) GetFullName

func (x *Environment) GetFullName() string

func (*Environment) GetProvider

func (m *Environment) GetProvider() isEnvironment_Provider

func (*Environment) GetTrustJwks

func (x *Environment) GetTrustJwks() []string

func (*Environment) GetVars

func (x *Environment) GetVars() []*CustomVariable

func (*Environment) ProtoMessage

func (*Environment) ProtoMessage()

func (*Environment) ProtoReflect

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

func (*Environment) Reset

func (x *Environment) Reset()

func (*Environment) String

func (x *Environment) String() string

type Environment_Aws

type Environment_Aws struct {
	Aws *AWSEnvironment `protobuf:"bytes,10,opt,name=aws,proto3,oneof"`
}

type EventBridge

type EventBridge struct {
	EventBusArn string `protobuf:"bytes,1,opt,name=event_bus_arn,json=eventBusArn,proto3" json:"event_bus_arn,omitempty"`
	// contains filtered or unexported fields
}

func (*EventBridge) Descriptor deprecated

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

Deprecated: Use EventBridge.ProtoReflect.Descriptor instead.

func (*EventBridge) GetEventBusArn

func (x *EventBridge) GetEventBusArn() string

func (*EventBridge) ProtoMessage

func (*EventBridge) ProtoMessage()

func (*EventBridge) ProtoReflect

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

func (*EventBridge) Reset

func (x *EventBridge) Reset()

func (*EventBridge) String

func (x *EventBridge) String() string

type IsCluster_Provider

type IsCluster_Provider = isCluster_Provider

type IsCombinedConfig_Provider

type IsCombinedConfig_Provider = isCombinedConfig_Provider

type IsCustomVariable_Src

type IsCustomVariable_Src = isCustomVariable_Src

type IsEnvironment_Provider

type IsEnvironment_Provider = isEnvironment_Provider

type IsRDSAuthTypeWrappedType

type IsRDSAuthTypeWrappedType interface {
	TypeKey() RDSAuthTypeKey
	proto.Message
}

type IsRDSAuthType_Type

type IsRDSAuthType_Type = isRDSAuthType_Type

type NamedIAMPolicy

type NamedIAMPolicy struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // lookup val used in o5.application.v1.Runtime.named_env_policies
	PolicyArn string `protobuf:"bytes,2,opt,name=policy_arn,json=policyArn,proto3" json:"policy_arn,omitempty"`
	// contains filtered or unexported fields
}

func (*NamedIAMPolicy) Descriptor deprecated

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

Deprecated: Use NamedIAMPolicy.ProtoReflect.Descriptor instead.

func (*NamedIAMPolicy) GetName

func (x *NamedIAMPolicy) GetName() string

func (*NamedIAMPolicy) GetPolicyArn

func (x *NamedIAMPolicy) GetPolicyArn() string

func (*NamedIAMPolicy) ProtoMessage

func (*NamedIAMPolicy) ProtoMessage()

func (*NamedIAMPolicy) ProtoReflect

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

func (*NamedIAMPolicy) Reset

func (x *NamedIAMPolicy) Reset()

func (*NamedIAMPolicy) String

func (x *NamedIAMPolicy) String() string

type O5Deployer

type O5Deployer struct {

	// The role O5 assumes when deploying to this environment
	AssumeRoleArn string `protobuf:"bytes,1,opt,name=assume_role_arn,json=assumeRoleArn,proto3" json:"assume_role_arn,omitempty"`
	// contains filtered or unexported fields
}

func (*O5Deployer) Descriptor deprecated

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

Deprecated: Use O5Deployer.ProtoReflect.Descriptor instead.

func (*O5Deployer) GetAssumeRoleArn

func (x *O5Deployer) GetAssumeRoleArn() string

func (*O5Deployer) ProtoMessage

func (*O5Deployer) ProtoMessage()

func (*O5Deployer) ProtoReflect

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

func (*O5Deployer) Reset

func (x *O5Deployer) Reset()

func (*O5Deployer) String

func (x *O5Deployer) String() string

type O5Sidecar

type O5Sidecar struct {
	ImageVersion string  `protobuf:"bytes,13,opt,name=image_version,json=imageVersion,proto3" json:"image_version,omitempty"` // Must be set, no default.
	ImageRepo    *string `protobuf:"bytes,14,opt,name=image_repo,json=imageRepo,proto3,oneof" json:"image_repo,omitempty"`    // defaults to ghcr.io/pentops/o5-runtime-sidecar
	// contains filtered or unexported fields
}

func (*O5Sidecar) Descriptor deprecated

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

Deprecated: Use O5Sidecar.ProtoReflect.Descriptor instead.

func (*O5Sidecar) GetImageRepo

func (x *O5Sidecar) GetImageRepo() string

func (*O5Sidecar) GetImageVersion

func (x *O5Sidecar) GetImageVersion() string

func (*O5Sidecar) ProtoMessage

func (*O5Sidecar) ProtoMessage()

func (*O5Sidecar) ProtoReflect

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

func (*O5Sidecar) Reset

func (x *O5Sidecar) Reset()

func (*O5Sidecar) String

func (x *O5Sidecar) String() string

type RDSAuthType

type RDSAuthType struct {

	// Types that are assignable to Type:
	//
	//	*RDSAuthType_SecretsManager_
	//	*RDSAuthType_Iam
	Type isRDSAuthType_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*RDSAuthType) Descriptor deprecated

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

Deprecated: Use RDSAuthType.ProtoReflect.Descriptor instead.

func (*RDSAuthType) Get

func (*RDSAuthType) GetIam

func (x *RDSAuthType) GetIam() *RDSAuthType_IAM

func (*RDSAuthType) GetSecretsManager

func (x *RDSAuthType) GetSecretsManager() *RDSAuthType_SecretsManager

func (*RDSAuthType) GetType

func (m *RDSAuthType) GetType() isRDSAuthType_Type

func (*RDSAuthType) ProtoMessage

func (*RDSAuthType) ProtoMessage()

func (*RDSAuthType) ProtoReflect

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

func (*RDSAuthType) Reset

func (x *RDSAuthType) Reset()

func (*RDSAuthType) Set

func (*RDSAuthType) String

func (x *RDSAuthType) String() string

func (*RDSAuthType) TypeKey

func (x *RDSAuthType) TypeKey() (RDSAuthTypeKey, bool)

type RDSAuthTypeKey

type RDSAuthTypeKey string

RDSAuthType is a oneof wrapper

const (
	RDSAuth_SecretsManager RDSAuthTypeKey = "secretsManager"
	RDSAuth_Iam            RDSAuthTypeKey = "iam"
)

type RDSAuthType_IAM

type RDSAuthType_IAM struct {

	// A username to use getting the token, which then also matches the user
	// implementation of the engine.
	// For root access, this could be the master_user but it only needs to be a
	// user with the correct permissions.
	DbUser string `protobuf:"bytes,1,opt,name=db_user,json=dbUser,proto3" json:"db_user,omitempty"`
	// defaults to the user's name. Used when accessing, not required for the
	// token.
	DbName *string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3,oneof" json:"db_name,omitempty"`
	// contains filtered or unexported fields
}

RDS IAM authentication https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.Connecting.html

func (*RDSAuthType_IAM) Descriptor deprecated

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

Deprecated: Use RDSAuthType_IAM.ProtoReflect.Descriptor instead.

func (*RDSAuthType_IAM) GetDbName

func (x *RDSAuthType_IAM) GetDbName() string

func (*RDSAuthType_IAM) GetDbUser

func (x *RDSAuthType_IAM) GetDbUser() string

func (*RDSAuthType_IAM) ProtoMessage

func (*RDSAuthType_IAM) ProtoMessage()

func (*RDSAuthType_IAM) ProtoReflect

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

func (*RDSAuthType_IAM) Reset

func (x *RDSAuthType_IAM) Reset()

func (*RDSAuthType_IAM) String

func (x *RDSAuthType_IAM) String() string

func (*RDSAuthType_IAM) TypeKey

func (x *RDSAuthType_IAM) TypeKey() RDSAuthTypeKey

type RDSAuthType_Iam

type RDSAuthType_Iam struct {
	Iam *RDSAuthType_IAM `protobuf:"bytes,5,opt,name=iam,proto3,oneof"`
}

type RDSAuthType_SecretsManager

type RDSAuthType_SecretsManager struct {

	// Name (or ARN) of a secret which contains the fields:
	// dbuser
	// dbpassword
	// dbhost:
	//
	//	hostname with or without port
	//	defaulting based on the engine
	//	(e.g. 5423 or 3306)
	//
	// dbname
	// dburl: Full url/dsn style like postgres://...
	SecretName string `protobuf:"bytes,1,opt,name=secretName,proto3" json:"secretName,omitempty"`
	// contains filtered or unexported fields
}

func (*RDSAuthType_SecretsManager) Descriptor deprecated

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

Deprecated: Use RDSAuthType_SecretsManager.ProtoReflect.Descriptor instead.

func (*RDSAuthType_SecretsManager) GetSecretName

func (x *RDSAuthType_SecretsManager) GetSecretName() string

func (*RDSAuthType_SecretsManager) ProtoMessage

func (*RDSAuthType_SecretsManager) ProtoMessage()

func (*RDSAuthType_SecretsManager) ProtoReflect

func (*RDSAuthType_SecretsManager) Reset

func (x *RDSAuthType_SecretsManager) Reset()

func (*RDSAuthType_SecretsManager) String

func (x *RDSAuthType_SecretsManager) String() string

func (*RDSAuthType_SecretsManager) TypeKey

type RDSAuthType_SecretsManager_

type RDSAuthType_SecretsManager_ struct {
	SecretsManager *RDSAuthType_SecretsManager `protobuf:"bytes,4,opt,name=secrets_manager,json=secretsManager,proto3,oneof"`
}

type RDSHost

type RDSHost struct {

	// Matches o5.application.v1.Database.Postgres.server_group
	ServerGroupName string `protobuf:"bytes,1,opt,name=server_group_name,json=serverGroupName,proto3" json:"server_group_name,omitempty"`
	// ID of the Security Group which is allowed to connect to the server
	ClientSecurityGroupId string `` /* 128-byte string literal not displayed */
	// AWS API: 'DBInstanceIdentifier'
	Identifier string `protobuf:"bytes,3,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// AWS API: 'Endpoint' - hostname without port.
	// Used for connection and authentication tokens.
	Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// AWS API: 'Port'
	// The port that the database engine is listening on.
	Port int32        `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"`
	Auth *RDSAuthType `protobuf:"bytes,6,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

RDSHost represents a Cluister or Proxy in AWS RDS

func (*RDSHost) Descriptor deprecated

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

Deprecated: Use RDSHost.ProtoReflect.Descriptor instead.

func (*RDSHost) GetAuth

func (x *RDSHost) GetAuth() *RDSAuthType

func (*RDSHost) GetClientSecurityGroupId

func (x *RDSHost) GetClientSecurityGroupId() string

func (*RDSHost) GetEndpoint

func (x *RDSHost) GetEndpoint() string

func (*RDSHost) GetIdentifier

func (x *RDSHost) GetIdentifier() string

func (*RDSHost) GetPort

func (x *RDSHost) GetPort() int32

func (*RDSHost) GetServerGroupName

func (x *RDSHost) GetServerGroupName() string

func (*RDSHost) ProtoMessage

func (*RDSHost) ProtoMessage()

func (*RDSHost) ProtoReflect

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

func (*RDSHost) Reset

func (x *RDSHost) Reset()

func (*RDSHost) String

func (x *RDSHost) String() string

Jump to

Keyboard shortcuts

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