applicationv1

package
v1.34.1-20240510231117... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RouteProtocol_name = map[int32]string{
		0: "ROUTE_PROTOCOL_UNSPECIFIED",
		1: "ROUTE_PROTOCOL_HTTP",
		2: "ROUTE_PROTOCOL_GRPC",
	}
	RouteProtocol_value = map[string]int32{
		"ROUTE_PROTOCOL_UNSPECIFIED": 0,
		"ROUTE_PROTOCOL_HTTP":        1,
		"ROUTE_PROTOCOL_GRPC":        2,
	}
)

Enum value maps for RouteProtocol.

View Source
var (
	RouteGroup_name = map[int32]string{
		0: "ROUTE_GROUP_UNSPECIFIED",
		1: "ROUTE_GROUP_FIRST",
		2: "ROUTE_GROUP_NORMAL",
		3: "ROUTE_GROUP_FALLBACK",
	}
	RouteGroup_value = map[string]int32{
		"ROUTE_GROUP_UNSPECIFIED": 0,
		"ROUTE_GROUP_FIRST":       1,
		"ROUTE_GROUP_NORMAL":      2,
		"ROUTE_GROUP_FALLBACK":    3,
	}
)

Enum value maps for RouteGroup.

View Source
var (
	Demand_name = map[int32]string{
		0: "DEMAND_UNSPECIFIED",
		1: "DEMAND_LIGHT",
		2: "DEMAND_MEDIUM",
		3: "DEMAND_HEAVY",
	}
	Demand_value = map[string]int32{
		"DEMAND_UNSPECIFIED": 0,
		"DEMAND_LIGHT":       1,
		"DEMAND_MEDIUM":      2,
		"DEMAND_HEAVY":       3,
	}
)

Enum value maps for Demand.

View Source
var (
	O5Var_name = map[int32]string{
		0: "O5_VAR_UNSPECIFIED",
		1: "O5_VAR_ADAPTER_ENDPOINT",
	}
	O5Var_value = map[string]int32{
		"O5_VAR_UNSPECIFIED":      0,
		"O5_VAR_ADAPTER_ENDPOINT": 1,
	}
)

Enum value maps for O5Var.

View Source
var File_o5_application_v1_application_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AWSConfig

type AWSConfig struct {
	Ses                *AWSConfig_SES                `protobuf:"bytes,1,opt,name=ses,proto3" json:"ses,omitempty"`
	SqsPublishAnywhere *AWSConfig_SQSPublishAnywhere `protobuf:"bytes,2,opt,name=sqs_publish_anywhere,json=sqsPublishAnywhere,proto3" json:"sqs_publish_anywhere,omitempty"`
	// contains filtered or unexported fields
}

func (*AWSConfig) Descriptor deprecated

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

Deprecated: Use AWSConfig.ProtoReflect.Descriptor instead.

func (*AWSConfig) GetSes

func (x *AWSConfig) GetSes() *AWSConfig_SES

func (*AWSConfig) GetSqsPublishAnywhere

func (x *AWSConfig) GetSqsPublishAnywhere() *AWSConfig_SQSPublishAnywhere

func (*AWSConfig) ProtoMessage

func (*AWSConfig) ProtoMessage()

func (*AWSConfig) ProtoReflect

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

func (*AWSConfig) Reset

func (x *AWSConfig) Reset()

func (*AWSConfig) String

func (x *AWSConfig) String() string

type AWSConfig_SES

type AWSConfig_SES struct {
	SendEmail bool `protobuf:"varint,1,opt,name=send_email,json=sendEmail,proto3" json:"send_email,omitempty"`
	// contains filtered or unexported fields
}

func (*AWSConfig_SES) Descriptor deprecated

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

Deprecated: Use AWSConfig_SES.ProtoReflect.Descriptor instead.

func (*AWSConfig_SES) GetSendEmail

func (x *AWSConfig_SES) GetSendEmail() bool

func (*AWSConfig_SES) ProtoMessage

func (*AWSConfig_SES) ProtoMessage()

func (*AWSConfig_SES) ProtoReflect

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

func (*AWSConfig_SES) Reset

func (x *AWSConfig_SES) Reset()

func (*AWSConfig_SES) String

func (x *AWSConfig_SES) String() string

type AWSConfig_SQSPublishAnywhere

type AWSConfig_SQSPublishAnywhere struct {
	SendAnywhere bool `protobuf:"varint,1,opt,name=send_anywhere,json=sendAnywhere,proto3" json:"send_anywhere,omitempty"`
	// contains filtered or unexported fields
}

func (*AWSConfig_SQSPublishAnywhere) Descriptor deprecated

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

Deprecated: Use AWSConfig_SQSPublishAnywhere.ProtoReflect.Descriptor instead.

func (*AWSConfig_SQSPublishAnywhere) GetSendAnywhere

func (x *AWSConfig_SQSPublishAnywhere) GetSendAnywhere() bool

func (*AWSConfig_SQSPublishAnywhere) ProtoMessage

func (*AWSConfig_SQSPublishAnywhere) ProtoMessage()

func (*AWSConfig_SQSPublishAnywhere) ProtoReflect

func (*AWSConfig_SQSPublishAnywhere) Reset

func (x *AWSConfig_SQSPublishAnywhere) Reset()

func (*AWSConfig_SQSPublishAnywhere) String

type Application

type Application struct {
	Name             string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Targets          []*Target         `protobuf:"bytes,4,rep,name=targets,proto3" json:"targets,omitempty"`
	Blobstores       []*Blobstore      `protobuf:"bytes,7,rep,name=blobstores,proto3" json:"blobstores,omitempty"`
	Databases        []*Database       `protobuf:"bytes,8,rep,name=databases,proto3" json:"databases,omitempty"`
	Runtimes         []*Runtime        `protobuf:"bytes,9,rep,name=runtimes,proto3" json:"runtimes,omitempty"`
	Secrets          []*Secret         `protobuf:"bytes,10,rep,name=secrets,proto3" json:"secrets,omitempty"`
	DeploymentConfig *DeploymentConfig `protobuf:"bytes,11,opt,name=deployment_config,json=deploymentConfig,proto3" json:"deployment_config,omitempty"`
	// Only valid when deployed onto AWS, this should be used only for
	// infrastructure adapters, e.g. a service which sends emails using SES, the
	// o5 deployer itself, dante etc.
	AwsConfig     *AWSConfig     `protobuf:"bytes,12,opt,name=aws_config,json=awsConfig,proto3" json:"aws_config,omitempty"`
	SidecarConfig *SidecarConfig `protobuf:"bytes,13,opt,name=sidecar_config,json=sidecarConfig,proto3" json:"sidecar_config,omitempty"`
	// contains filtered or unexported fields
}

func (*Application) Descriptor deprecated

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

Deprecated: Use Application.ProtoReflect.Descriptor instead.

func (*Application) GetAwsConfig

func (x *Application) GetAwsConfig() *AWSConfig

func (*Application) GetBlobstores

func (x *Application) GetBlobstores() []*Blobstore

func (*Application) GetDatabases

func (x *Application) GetDatabases() []*Database

func (*Application) GetDeploymentConfig

func (x *Application) GetDeploymentConfig() *DeploymentConfig

func (*Application) GetName

func (x *Application) GetName() string

func (*Application) GetRuntimes

func (x *Application) GetRuntimes() []*Runtime

func (*Application) GetSecrets

func (x *Application) GetSecrets() []*Secret

func (*Application) GetSidecarConfig

func (x *Application) GetSidecarConfig() *SidecarConfig

func (*Application) GetTargets

func (x *Application) GetTargets() []*Target

func (*Application) ProtoMessage

func (*Application) ProtoMessage()

func (*Application) ProtoReflect

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

func (*Application) Reset

func (x *Application) Reset()

func (*Application) String

func (x *Application) String() string

type Blobstore

type Blobstore struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Grants []*Grant `protobuf:"bytes,2,rep,name=grants,proto3" json:"grants,omitempty"`
	// The blobstore is a reference to a one owned by another application, it will
	// not be created in the stack for the current application, but permissions
	// will be granted.
	Ref *BlobstoreRef `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

func (*Blobstore) Descriptor deprecated

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

Deprecated: Use Blobstore.ProtoReflect.Descriptor instead.

func (*Blobstore) GetGrants

func (x *Blobstore) GetGrants() []*Grant

func (*Blobstore) GetName

func (x *Blobstore) GetName() string

func (*Blobstore) GetRef

func (x *Blobstore) GetRef() *BlobstoreRef

func (*Blobstore) ProtoMessage

func (*Blobstore) ProtoMessage()

func (*Blobstore) ProtoReflect

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

func (*Blobstore) Reset

func (x *Blobstore) Reset()

func (*Blobstore) String

func (x *Blobstore) String() string

type BlobstoreEnvVar

type BlobstoreEnvVar struct {
	Name    string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	SubPath *string `protobuf:"bytes,2,opt,name=sub_path,json=subPath,proto3,oneof" json:"sub_path,omitempty"`
	// Types that are assignable to Format:
	//
	//	*BlobstoreEnvVar_S3Direct
	Format isBlobstoreEnvVar_Format `protobuf_oneof:"format"`
	// contains filtered or unexported fields
}

func (*BlobstoreEnvVar) Descriptor deprecated

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

Deprecated: Use BlobstoreEnvVar.ProtoReflect.Descriptor instead.

func (*BlobstoreEnvVar) GetFormat

func (m *BlobstoreEnvVar) GetFormat() isBlobstoreEnvVar_Format

func (*BlobstoreEnvVar) GetName

func (x *BlobstoreEnvVar) GetName() string

func (*BlobstoreEnvVar) GetS3Direct

func (x *BlobstoreEnvVar) GetS3Direct() bool

func (*BlobstoreEnvVar) GetSubPath

func (x *BlobstoreEnvVar) GetSubPath() string

func (*BlobstoreEnvVar) ProtoMessage

func (*BlobstoreEnvVar) ProtoMessage()

func (*BlobstoreEnvVar) ProtoReflect

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

func (*BlobstoreEnvVar) Reset

func (x *BlobstoreEnvVar) Reset()

func (*BlobstoreEnvVar) String

func (x *BlobstoreEnvVar) String() string

type BlobstoreEnvVar_S3Direct

type BlobstoreEnvVar_S3Direct struct {
	// Sets the variable as s3://<bucket>/<?sub_path>
	// TODO: Deprecate this and build a wrapper through the sidecar
	S3Direct bool `protobuf:"varint,10,opt,name=s3_direct,json=s3Direct,proto3,oneof"`
}

type BlobstoreRef

type BlobstoreRef struct {

	// This application is allowed to read from the
	// bucket. Default is true unless write_permission is true.
	ReadPermission bool `protobuf:"varint,1,opt,name=read_permission,json=readPermission,proto3" json:"read_permission,omitempty"`
	// This application is allowed to write to the bucket. Does not imply
	// read_permissions. Default is false.
	WritePermission bool `protobuf:"varint,2,opt,name=write_permission,json=writePermission,proto3" json:"write_permission,omitempty"`
	// Types that are assignable to Source:
	//
	//	*BlobstoreRef_Application
	//	*BlobstoreRef_BucketName
	Source isBlobstoreRef_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

func (*BlobstoreRef) Descriptor deprecated

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

Deprecated: Use BlobstoreRef.ProtoReflect.Descriptor instead.

func (*BlobstoreRef) GetApplication

func (x *BlobstoreRef) GetApplication() string

func (*BlobstoreRef) GetBucketName

func (x *BlobstoreRef) GetBucketName() string

func (*BlobstoreRef) GetReadPermission

func (x *BlobstoreRef) GetReadPermission() bool

func (*BlobstoreRef) GetSource

func (m *BlobstoreRef) GetSource() isBlobstoreRef_Source

func (*BlobstoreRef) GetWritePermission

func (x *BlobstoreRef) GetWritePermission() bool

func (*BlobstoreRef) ProtoMessage

func (*BlobstoreRef) ProtoMessage()

func (*BlobstoreRef) ProtoReflect

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

func (*BlobstoreRef) Reset

func (x *BlobstoreRef) Reset()

func (*BlobstoreRef) String

func (x *BlobstoreRef) String() string

type BlobstoreRef_Application

type BlobstoreRef_Application struct {
	Application string `protobuf:"bytes,10,opt,name=application,proto3,oneof"` // `application.name` for an app in the same environment
}

type BlobstoreRef_BucketName

type BlobstoreRef_BucketName struct {
	// Full name of the 'bucket' for the blobstore,
	// does not follow any patterns.
	BucketName string `protobuf:"bytes,11,opt,name=bucket_name,json=bucketName,proto3,oneof"`
}

type Container

type Container struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Source:
	//
	//	*Container_ImageUrl
	//	*Container_Image_
	Source  isContainer_Source `protobuf_oneof:"source"`
	Command []string           `protobuf:"bytes,4,rep,name=command,proto3" json:"command,omitempty"`
	// The amount of Memory and CPU to allocate to the container
	Demand  Demand                 `protobuf:"varint,5,opt,name=demand,proto3,enum=o5.application.v1.Demand" json:"demand,omitempty"`
	EnvVars []*EnvironmentVariable `protobuf:"bytes,6,rep,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty"`
	// gives access to /var/run/docker.sock in the container
	MountDockerSocket bool `protobuf:"varint,7,opt,name=mount_docker_socket,json=mountDockerSocket,proto3" json:"mount_docker_socket,omitempty"`
	// contains filtered or unexported fields
}

func (*Container) Descriptor deprecated

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetCommand

func (x *Container) GetCommand() []string

func (*Container) GetDemand

func (x *Container) GetDemand() Demand

func (*Container) GetEnvVars

func (x *Container) GetEnvVars() []*EnvironmentVariable

func (*Container) GetImage

func (x *Container) GetImage() *Container_Image

func (*Container) GetImageUrl

func (x *Container) GetImageUrl() string

func (*Container) GetMountDockerSocket

func (x *Container) GetMountDockerSocket() bool

func (*Container) GetName

func (x *Container) GetName() string

func (*Container) GetSource

func (m *Container) GetSource() isContainer_Source

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

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

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

type Container_Image

type Container_Image struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Defaults to the full git hash being deployed (or passed in --version
	// parameter)
	Tag *string `protobuf:"bytes,2,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
	// Defaults to the environment's registry, set here to override
	Registry *string `protobuf:"bytes,3,opt,name=registry,proto3,oneof" json:"registry,omitempty"`
	// contains filtered or unexported fields
}

func (*Container_Image) Descriptor deprecated

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

Deprecated: Use Container_Image.ProtoReflect.Descriptor instead.

func (*Container_Image) GetName

func (x *Container_Image) GetName() string

func (*Container_Image) GetRegistry

func (x *Container_Image) GetRegistry() string

func (*Container_Image) GetTag

func (x *Container_Image) GetTag() string

func (*Container_Image) ProtoMessage

func (*Container_Image) ProtoMessage()

func (*Container_Image) ProtoReflect

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

func (*Container_Image) Reset

func (x *Container_Image) Reset()

func (*Container_Image) String

func (x *Container_Image) String() string

type Container_ImageUrl

type Container_ImageUrl struct {
	ImageUrl string `protobuf:"bytes,2,opt,name=image_url,json=imageUrl,proto3,oneof"`
}

type Container_Image_

type Container_Image_ struct {
	Image *Container_Image `protobuf:"bytes,3,opt,name=image,proto3,oneof"`
}

type Database

type Database struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Engine:
	//
	//	*Database_Postgres_
	Engine isDatabase_Engine `protobuf_oneof:"engine"`
	// contains filtered or unexported fields
}

func (*Database) Descriptor deprecated

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

Deprecated: Use Database.ProtoReflect.Descriptor instead.

func (*Database) GetEngine

func (m *Database) GetEngine() isDatabase_Engine

func (*Database) GetName

func (x *Database) GetName() string

func (*Database) GetPostgres

func (x *Database) GetPostgres() *Database_Postgres

func (*Database) ProtoMessage

func (*Database) ProtoMessage()

func (*Database) ProtoReflect

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

func (*Database) Reset

func (x *Database) Reset()

func (*Database) String

func (x *Database) String() string

type DatabaseEnvVar

type DatabaseEnvVar struct {

	// references a database in the top level array
	DatabaseName string `protobuf:"bytes,1,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DatabaseEnvVar) Descriptor deprecated

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

Deprecated: Use DatabaseEnvVar.ProtoReflect.Descriptor instead.

func (*DatabaseEnvVar) GetDatabaseName

func (x *DatabaseEnvVar) GetDatabaseName() string

func (*DatabaseEnvVar) ProtoMessage

func (*DatabaseEnvVar) ProtoMessage()

func (*DatabaseEnvVar) ProtoReflect

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

func (*DatabaseEnvVar) Reset

func (x *DatabaseEnvVar) Reset()

func (*DatabaseEnvVar) String

func (x *DatabaseEnvVar) String() string

type Database_Postgres

type Database_Postgres struct {

	// The name of the database within the postgres instance, default is the
	// name in the parent message
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// default is 'default' - identifies which database server from the
	// environment config this belongs with
	ServerGroup      string     `protobuf:"bytes,2,opt,name=server_group,json=serverGroup,proto3" json:"server_group,omitempty"`
	DbExtensions     []string   `protobuf:"bytes,3,rep,name=db_extensions,json=dbExtensions,proto3" json:"db_extensions,omitempty"`
	MigrateContainer *Container `protobuf:"bytes,4,opt,name=migrate_container,json=migrateContainer,proto3" json:"migrate_container,omitempty"`
	RunOutbox        bool       `protobuf:"varint,5,opt,name=run_outbox,json=runOutbox,proto3" json:"run_outbox,omitempty"`
	// contains filtered or unexported fields
}

func (*Database_Postgres) Descriptor deprecated

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

Deprecated: Use Database_Postgres.ProtoReflect.Descriptor instead.

func (*Database_Postgres) GetDbExtensions

func (x *Database_Postgres) GetDbExtensions() []string

func (*Database_Postgres) GetDbName

func (x *Database_Postgres) GetDbName() string

func (*Database_Postgres) GetMigrateContainer

func (x *Database_Postgres) GetMigrateContainer() *Container

func (*Database_Postgres) GetRunOutbox

func (x *Database_Postgres) GetRunOutbox() bool

func (*Database_Postgres) GetServerGroup

func (x *Database_Postgres) GetServerGroup() string

func (*Database_Postgres) ProtoMessage

func (*Database_Postgres) ProtoMessage()

func (*Database_Postgres) ProtoReflect

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

func (*Database_Postgres) Reset

func (x *Database_Postgres) Reset()

func (*Database_Postgres) String

func (x *Database_Postgres) String() string

type Database_Postgres_

type Database_Postgres_ struct {
	Postgres *Database_Postgres `protobuf:"bytes,10,opt,name=postgres,proto3,oneof"`
}

type Demand

type Demand int32
const (
	Demand_DEMAND_UNSPECIFIED Demand = 0
	Demand_DEMAND_LIGHT       Demand = 1
	Demand_DEMAND_MEDIUM      Demand = 2
	Demand_DEMAND_HEAVY       Demand = 3
)

func (Demand) Descriptor

func (Demand) Descriptor() protoreflect.EnumDescriptor

func (Demand) Enum

func (x Demand) Enum() *Demand

func (Demand) EnumDescriptor deprecated

func (Demand) EnumDescriptor() ([]byte, []int)

Deprecated: Use Demand.Descriptor instead.

func (Demand) Number

func (x Demand) Number() protoreflect.EnumNumber

func (Demand) String

func (x Demand) String() string

func (Demand) Type

func (Demand) Type() protoreflect.EnumType

type DeploymentConfig

type DeploymentConfig struct {

	// Migrates the stack in one single call, not compatible with database
	// migration
	QuickMode bool `protobuf:"varint,1,opt,name=quick_mode,json=quickMode,proto3" json:"quick_mode,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentConfig) Descriptor deprecated

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

Deprecated: Use DeploymentConfig.ProtoReflect.Descriptor instead.

func (*DeploymentConfig) GetQuickMode

func (x *DeploymentConfig) GetQuickMode() bool

func (*DeploymentConfig) ProtoMessage

func (*DeploymentConfig) ProtoMessage()

func (*DeploymentConfig) ProtoReflect

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

func (*DeploymentConfig) Reset

func (x *DeploymentConfig) Reset()

func (*DeploymentConfig) String

func (x *DeploymentConfig) String() string

type EnvironmentVariable

type EnvironmentVariable struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Spec:
	//
	//	*EnvironmentVariable_Value
	//	*EnvironmentVariable_Database
	//	*EnvironmentVariable_Blobstore
	//	*EnvironmentVariable_EnvMap
	//	*EnvironmentVariable_FromEnv
	//	*EnvironmentVariable_Secret
	//	*EnvironmentVariable_O5
	Spec isEnvironmentVariable_Spec `protobuf_oneof:"spec"`
	// contains filtered or unexported fields
}

func (*EnvironmentVariable) Descriptor deprecated

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

Deprecated: Use EnvironmentVariable.ProtoReflect.Descriptor instead.

func (*EnvironmentVariable) GetBlobstore

func (x *EnvironmentVariable) GetBlobstore() *BlobstoreEnvVar

func (*EnvironmentVariable) GetDatabase

func (x *EnvironmentVariable) GetDatabase() *DatabaseEnvVar

func (*EnvironmentVariable) GetEnvMap

func (x *EnvironmentVariable) GetEnvMap() *MapEnvVar

func (*EnvironmentVariable) GetFromEnv

func (x *EnvironmentVariable) GetFromEnv() *FromEnvVar

func (*EnvironmentVariable) GetName

func (x *EnvironmentVariable) GetName() string

func (*EnvironmentVariable) GetO5

func (x *EnvironmentVariable) GetO5() O5Var

func (*EnvironmentVariable) GetSecret

func (x *EnvironmentVariable) GetSecret() *SecretEnvVar

func (*EnvironmentVariable) GetSpec

func (m *EnvironmentVariable) GetSpec() isEnvironmentVariable_Spec

func (*EnvironmentVariable) GetValue

func (x *EnvironmentVariable) GetValue() string

func (*EnvironmentVariable) ProtoMessage

func (*EnvironmentVariable) ProtoMessage()

func (*EnvironmentVariable) ProtoReflect

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

func (*EnvironmentVariable) Reset

func (x *EnvironmentVariable) Reset()

func (*EnvironmentVariable) String

func (x *EnvironmentVariable) String() string

type EnvironmentVariable_Blobstore

type EnvironmentVariable_Blobstore struct {
	Blobstore *BlobstoreEnvVar `protobuf:"bytes,11,opt,name=blobstore,proto3,oneof"`
}

type EnvironmentVariable_Database

type EnvironmentVariable_Database struct {
	Database *DatabaseEnvVar `protobuf:"bytes,10,opt,name=database,proto3,oneof"`
}

type EnvironmentVariable_EnvMap

type EnvironmentVariable_EnvMap struct {
	EnvMap *MapEnvVar `protobuf:"bytes,12,opt,name=env_map,json=envMap,proto3,oneof"`
}

type EnvironmentVariable_FromEnv

type EnvironmentVariable_FromEnv struct {
	FromEnv *FromEnvVar `protobuf:"bytes,13,opt,name=from_env,json=fromEnv,proto3,oneof"`
}

type EnvironmentVariable_O5

type EnvironmentVariable_O5 struct {
	O5 O5Var `protobuf:"varint,15,opt,name=o5,proto3,enum=o5.application.v1.O5Var,oneof"`
}

type EnvironmentVariable_Secret

type EnvironmentVariable_Secret struct {
	Secret *SecretEnvVar `protobuf:"bytes,14,opt,name=secret,proto3,oneof"`
}

type EnvironmentVariable_Value

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

type FromEnvVar

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

func (*FromEnvVar) Descriptor deprecated

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

Deprecated: Use FromEnvVar.ProtoReflect.Descriptor instead.

func (*FromEnvVar) GetName

func (x *FromEnvVar) GetName() string

func (*FromEnvVar) ProtoMessage

func (*FromEnvVar) ProtoMessage()

func (*FromEnvVar) ProtoReflect

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

func (*FromEnvVar) Reset

func (x *FromEnvVar) Reset()

func (*FromEnvVar) String

func (x *FromEnvVar) String() string

type Grant

type Grant struct {
	Principal string `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"` // This is a lookup in the env file
	// contains filtered or unexported fields
}

func (*Grant) Descriptor deprecated

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

Deprecated: Use Grant.ProtoReflect.Descriptor instead.

func (*Grant) GetPrincipal

func (x *Grant) GetPrincipal() string

func (*Grant) ProtoMessage

func (*Grant) ProtoMessage()

func (*Grant) ProtoReflect

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

func (*Grant) Reset

func (x *Grant) Reset()

func (*Grant) String

func (x *Grant) String() string

type MapEnvVar

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

func (*MapEnvVar) Descriptor deprecated

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

Deprecated: Use MapEnvVar.ProtoReflect.Descriptor instead.

func (*MapEnvVar) ProtoMessage

func (*MapEnvVar) ProtoMessage()

func (*MapEnvVar) ProtoReflect

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

func (*MapEnvVar) Reset

func (x *MapEnvVar) Reset()

func (*MapEnvVar) String

func (x *MapEnvVar) String() string

type O5Var

type O5Var int32
const (
	O5Var_O5_VAR_UNSPECIFIED O5Var = 0
	// address of the sidecar / adapter for gRPC dial
	O5Var_O5_VAR_ADAPTER_ENDPOINT O5Var = 1
)

func (O5Var) Descriptor

func (O5Var) Descriptor() protoreflect.EnumDescriptor

func (O5Var) Enum

func (x O5Var) Enum() *O5Var

func (O5Var) EnumDescriptor deprecated

func (O5Var) EnumDescriptor() ([]byte, []int)

Deprecated: Use O5Var.Descriptor instead.

func (O5Var) Number

func (x O5Var) Number() protoreflect.EnumNumber

func (O5Var) String

func (x O5Var) String() string

func (O5Var) Type

func (O5Var) Type() protoreflect.EnumType

type Route

type Route struct {

	// Default is not to filter, but requires the route_group to be FALLBACK
	Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// For envifonments which support subdomains, this becomes the prefix on the
	// domain filter. Wildcards are supported.
	Subdomains      []string      `protobuf:"bytes,7,rep,name=subdomains,proto3" json:"subdomains,omitempty"`
	Protocol        RouteProtocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=o5.application.v1.RouteProtocol" json:"protocol,omitempty"`
	TargetContainer string        `protobuf:"bytes,3,opt,name=target_container,json=targetContainer,proto3" json:"target_container,omitempty"` // Default: first defined container
	BypassIngress   bool          `protobuf:"varint,4,opt,name=bypass_ingress,json=bypassIngress,proto3" json:"bypass_ingress,omitempty"`      // Default: false
	Port            int64         `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"`                                             // Default: 8080
	RouteGroup      RouteGroup    ``                                                                                                           // Default: NORMAL
	/* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Route) Descriptor deprecated

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

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetBypassIngress

func (x *Route) GetBypassIngress() bool

func (*Route) GetPort

func (x *Route) GetPort() int64

func (*Route) GetPrefix

func (x *Route) GetPrefix() string

func (*Route) GetProtocol

func (x *Route) GetProtocol() RouteProtocol

func (*Route) GetRouteGroup

func (x *Route) GetRouteGroup() RouteGroup

func (*Route) GetSubdomains

func (x *Route) GetSubdomains() []string

func (*Route) GetTargetContainer

func (x *Route) GetTargetContainer() string

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) ProtoReflect

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

func (*Route) Reset

func (x *Route) Reset()

func (*Route) String

func (x *Route) String() string

type RouteGroup

type RouteGroup int32
const (
	RouteGroup_ROUTE_GROUP_UNSPECIFIED RouteGroup = 0
	RouteGroup_ROUTE_GROUP_FIRST       RouteGroup = 1
	RouteGroup_ROUTE_GROUP_NORMAL      RouteGroup = 2
	RouteGroup_ROUTE_GROUP_FALLBACK    RouteGroup = 3
)

func (RouteGroup) Descriptor

func (RouteGroup) Descriptor() protoreflect.EnumDescriptor

func (RouteGroup) Enum

func (x RouteGroup) Enum() *RouteGroup

func (RouteGroup) EnumDescriptor deprecated

func (RouteGroup) EnumDescriptor() ([]byte, []int)

Deprecated: Use RouteGroup.Descriptor instead.

func (RouteGroup) Number

func (x RouteGroup) Number() protoreflect.EnumNumber

func (RouteGroup) String

func (x RouteGroup) String() string

func (RouteGroup) Type

type RouteProtocol

type RouteProtocol int32
const (
	RouteProtocol_ROUTE_PROTOCOL_UNSPECIFIED RouteProtocol = 0
	RouteProtocol_ROUTE_PROTOCOL_HTTP        RouteProtocol = 1
	RouteProtocol_ROUTE_PROTOCOL_GRPC        RouteProtocol = 2
)

func (RouteProtocol) Descriptor

func (RouteProtocol) Enum

func (x RouteProtocol) Enum() *RouteProtocol

func (RouteProtocol) EnumDescriptor deprecated

func (RouteProtocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use RouteProtocol.Descriptor instead.

func (RouteProtocol) Number

func (RouteProtocol) String

func (x RouteProtocol) String() string

func (RouteProtocol) Type

type Runtime

type Runtime struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When true, HTTP and gRPC requests will be routed directly to the runtime
	// container, not via the ingress sidecar. The runtime container is
	// responsible for all security, throttling etc.
	DirectIngress bool            `protobuf:"varint,2,opt,name=direct_ingress,json=directIngress,proto3" json:"direct_ingress,omitempty"`
	Containers    []*Container    `protobuf:"bytes,3,rep,name=containers,proto3" json:"containers,omitempty"`
	Routes        []*Route        `protobuf:"bytes,4,rep,name=routes,proto3" json:"routes,omitempty"`
	Subscriptions []*Subscription `protobuf:"bytes,5,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
	// when true, marks this application as a deployer app, meaning it should have
	// permissions to deploy itself and other permissions
	GrantMetaDeployPermissions bool `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Runtime) Descriptor deprecated

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

Deprecated: Use Runtime.ProtoReflect.Descriptor instead.

func (*Runtime) GetContainers

func (x *Runtime) GetContainers() []*Container

func (*Runtime) GetDirectIngress

func (x *Runtime) GetDirectIngress() bool

func (*Runtime) GetGrantMetaDeployPermissions

func (x *Runtime) GetGrantMetaDeployPermissions() bool

func (*Runtime) GetName

func (x *Runtime) GetName() string

func (*Runtime) GetRoutes

func (x *Runtime) GetRoutes() []*Route

func (*Runtime) GetSubscriptions

func (x *Runtime) GetSubscriptions() []*Subscription

func (*Runtime) ProtoMessage

func (*Runtime) ProtoMessage()

func (*Runtime) ProtoReflect

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

func (*Runtime) Reset

func (x *Runtime) Reset()

func (*Runtime) String

func (x *Runtime) String() string

type Secret

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

func (*Secret) Descriptor deprecated

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

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetName

func (x *Secret) GetName() string

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

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

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) String

func (x *Secret) String() string

type SecretEnvVar

type SecretEnvVar struct {
	SecretName string `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
	JsonKey    string `protobuf:"bytes,2,opt,name=json_key,json=jsonKey,proto3" json:"json_key,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretEnvVar) Descriptor deprecated

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

Deprecated: Use SecretEnvVar.ProtoReflect.Descriptor instead.

func (*SecretEnvVar) GetJsonKey

func (x *SecretEnvVar) GetJsonKey() string

func (*SecretEnvVar) GetSecretName

func (x *SecretEnvVar) GetSecretName() string

func (*SecretEnvVar) ProtoMessage

func (*SecretEnvVar) ProtoMessage()

func (*SecretEnvVar) ProtoReflect

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

func (*SecretEnvVar) Reset

func (x *SecretEnvVar) Reset()

func (*SecretEnvVar) String

func (x *SecretEnvVar) String() string

type SidecarConfig

type SidecarConfig struct {

	// chance percentage of sidecar behavior: replay message or process then treat as a deadletter
	ReplayChance     int64 `protobuf:"varint,1,opt,name=replay_chance,json=replayChance,proto3" json:"replay_chance,omitempty"`
	DeadletterChance int64 `protobuf:"varint,2,opt,name=deadletter_chance,json=deadletterChance,proto3" json:"deadletter_chance,omitempty"`
	// contains filtered or unexported fields
}

func (*SidecarConfig) Descriptor deprecated

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

Deprecated: Use SidecarConfig.ProtoReflect.Descriptor instead.

func (*SidecarConfig) GetDeadletterChance

func (x *SidecarConfig) GetDeadletterChance() int64

func (*SidecarConfig) GetReplayChance

func (x *SidecarConfig) GetReplayChance() int64

func (*SidecarConfig) ProtoMessage

func (*SidecarConfig) ProtoMessage()

func (*SidecarConfig) ProtoReflect

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

func (*SidecarConfig) Reset

func (x *SidecarConfig) Reset()

func (*SidecarConfig) String

func (x *SidecarConfig) String() string

type Subscription

type Subscription struct {
	Name            string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	EnvName         *string `protobuf:"bytes,2,opt,name=env_name,json=envName,proto3,oneof" json:"env_name,omitempty"`
	TargetContainer string  `protobuf:"bytes,3,opt,name=target_container,json=targetContainer,proto3" json:"target_container,omitempty"` // Default: first defined container
	Port            int64   `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`                                             // Default: 8080
	// in the format /foo.bar.v1.FooBar/Baz
	// Subscribes only to the method, if not set, subscribes to all methods
	GrpcMethod *string `protobuf:"bytes,5,opt,name=grpc_method,json=grpcMethod,proto3,oneof" json:"grpc_method,omitempty"`
	// For request-reply replies, filters to the reply.reply_to field
	ReplyTo *string `protobuf:"bytes,6,opt,name=reply_to,json=replyTo,proto3,oneof" json:"reply_to,omitempty"`
	// The payload is not the standard messaging payload
	// It should be parsed into a o5.messaging.v1.topic.RawMessage
	// Used for infrastructure messages, e.g. AWS EventBridge or CloudWatch events.
	// Setting non_grpc in AWS will set 'rawMessageDelivery' to *false*, i.e., the SNS wrapper
	// will be included.
	RawMessage bool `protobuf:"varint,7,opt,name=raw_message,json=rawMessage,proto3" json:"raw_message,omitempty"`
	// contains filtered or unexported fields
}

func (*Subscription) Descriptor deprecated

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

Deprecated: Use Subscription.ProtoReflect.Descriptor instead.

func (*Subscription) GetEnvName

func (x *Subscription) GetEnvName() string

func (*Subscription) GetGrpcMethod

func (x *Subscription) GetGrpcMethod() string

func (*Subscription) GetName

func (x *Subscription) GetName() string

func (*Subscription) GetPort

func (x *Subscription) GetPort() int64

func (*Subscription) GetRawMessage

func (x *Subscription) GetRawMessage() bool

func (*Subscription) GetReplyTo

func (x *Subscription) GetReplyTo() string

func (*Subscription) GetTargetContainer

func (x *Subscription) GetTargetContainer() string

func (*Subscription) ProtoMessage

func (*Subscription) ProtoMessage()

func (*Subscription) ProtoReflect

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

func (*Subscription) Reset

func (x *Subscription) Reset()

func (*Subscription) String

func (x *Subscription) String() string

type Target

type Target struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` //Topology topology = 2;
	// contains filtered or unexported fields
}

func (*Target) Descriptor deprecated

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

Deprecated: Use Target.ProtoReflect.Descriptor instead.

func (*Target) GetName

func (x *Target) GetName() string

func (*Target) ProtoMessage

func (*Target) ProtoMessage()

func (*Target) ProtoReflect

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

func (*Target) Reset

func (x *Target) Reset()

func (*Target) String

func (x *Target) String() string

Jump to

Keyboard shortcuts

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