addon_v1alpha

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AddonDefaultVariantId = entity.Id("dev.miren.addon/addon.default_variant")
	AddonDescriptionId    = entity.Id("dev.miren.addon/addon.description")
	AddonDisplayNameId    = entity.Id("dev.miren.addon/addon.display_name")
	AddonNameId           = entity.Id("dev.miren.addon/addon.name")
	AddonVariantsId       = entity.Id("dev.miren.addon/addon.variants")
)
View Source
const (
	VariantsDescriptionId = entity.Id("dev.miren.addon/variants.description")
	VariantsDetailsId     = entity.Id("dev.miren.addon/variants.details")
	VariantsNameId        = entity.Id("dev.miren.addon/variants.name")
)
View Source
const (
	DetailsKeyId   = entity.Id("dev.miren.addon/details.key")
	DetailsValueId = entity.Id("dev.miren.addon/details.value")
)
View Source
const (
	AddonAssociationAddonId        = entity.Id("dev.miren.addon/addon_association.addon")
	AddonAssociationAppId          = entity.Id("dev.miren.addon/addon_association.app")
	AddonAssociationErrorMessageId = entity.Id("dev.miren.addon/addon_association.error_message")
	AddonAssociationStatusId       = entity.Id("dev.miren.addon/addon_association.status")
	AddonAssociationVariablesId    = entity.Id("dev.miren.addon/addon_association.variables")
	AddonAssociationVariantId      = entity.Id("dev.miren.addon/addon_association.variant")
)
View Source
const (
	VariablesKeyId       = entity.Id("dev.miren.addon/variables.key")
	VariablesSensitiveId = entity.Id("dev.miren.addon/variables.sensitive")
	VariablesValueId     = entity.Id("dev.miren.addon/variables.value")
)
View Source
const (
	PostgresServerAddonNameId         = entity.Id("dev.miren.addon/postgres_server.addon_name")
	PostgresServerAssociationCountId  = entity.Id("dev.miren.addon/postgres_server.association_count")
	PostgresServerSandboxPoolId       = entity.Id("dev.miren.addon/postgres_server.sandbox_pool")
	PostgresServerServiceId           = entity.Id("dev.miren.addon/postgres_server.service")
	PostgresServerStatusId            = entity.Id("dev.miren.addon/postgres_server.status")
	PostgresServerSuperuserPasswordId = entity.Id("dev.miren.addon/postgres_server.superuser_password")
	PostgresServerVariantId           = entity.Id("dev.miren.addon/postgres_server.variant")
)
View Source
const (
	PostgresqlSharedDataDatabaseNameId   = entity.Id("dev.miren.addon/postgresql_shared_data.database_name")
	PostgresqlSharedDataPostgresServerId = entity.Id("dev.miren.addon/postgresql_shared_data.postgres_server")
	PostgresqlSharedDataUsernameId       = entity.Id("dev.miren.addon/postgresql_shared_data.username")
)
View Source
const (
	PostgresqlDedicatedDataPostgresServerId = entity.Id("dev.miren.addon/postgresql_dedicated_data.postgres_server")
)

Variables

View Source
var (
	KindAddon                   = entity.Id("dev.miren.addon/kind.addon")
	KindAddonAssociation        = entity.Id("dev.miren.addon/kind.addon_association")
	KindPostgresServer          = entity.Id("dev.miren.addon/kind.postgres_server")
	KindPostgresqlDedicatedData = entity.Id("dev.miren.addon/kind.postgresql_dedicated_data")
	KindPostgresqlSharedData    = entity.Id("dev.miren.addon/kind.postgresql_shared_data")
	Schema                      = entity.Id("dev.miren.addon/schema.v1alpha")
)

Functions

This section is empty.

Types

type Addon

type Addon struct {
	ID             entity.Id  `json:"id"`
	DefaultVariant string     `cbor:"default_variant,omitempty" json:"default_variant,omitempty"`
	Description    string     `cbor:"description,omitempty" json:"description,omitempty"`
	DisplayName    string     `cbor:"display_name,omitempty" json:"display_name,omitempty"`
	Name           string     `cbor:"name,omitempty" json:"name,omitempty"`
	Variants       []Variants `cbor:"variants,omitempty" json:"variants,omitempty"`
}

func (*Addon) Decode

func (o *Addon) Decode(e entity.AttrGetter)

func (*Addon) Empty

func (o *Addon) Empty() bool

func (*Addon) Encode

func (o *Addon) Encode() (attrs []entity.Attr)

func (*Addon) EntityId

func (o *Addon) EntityId() entity.Id

func (*Addon) InitSchema

func (o *Addon) InitSchema(sb *schema.SchemaBuilder)

func (*Addon) Is

func (o *Addon) Is(e entity.AttrGetter) bool

func (*Addon) Kind

func (o *Addon) Kind() entity.Id

func (*Addon) ShortKind

func (o *Addon) ShortKind() string

type AddonAssociation

type AddonAssociation struct {
	ID           entity.Id   `json:"id"`
	Addon        entity.Id   `cbor:"addon,omitempty" json:"addon,omitempty"`
	App          entity.Id   `cbor:"app,omitempty" json:"app,omitempty"`
	ErrorMessage string      `cbor:"error_message,omitempty" json:"error_message,omitempty"`
	Status       string      `cbor:"status,omitempty" json:"status,omitempty"`
	Variables    []Variables `cbor:"variables,omitempty" json:"variables,omitempty"`
	Variant      string      `cbor:"variant,omitempty" json:"variant,omitempty"`
}

func (*AddonAssociation) Decode

func (o *AddonAssociation) Decode(e entity.AttrGetter)

func (*AddonAssociation) Empty

func (o *AddonAssociation) Empty() bool

func (*AddonAssociation) Encode

func (o *AddonAssociation) Encode() (attrs []entity.Attr)

func (*AddonAssociation) EntityId

func (o *AddonAssociation) EntityId() entity.Id

func (*AddonAssociation) InitSchema

func (o *AddonAssociation) InitSchema(sb *schema.SchemaBuilder)

func (*AddonAssociation) Is

func (*AddonAssociation) Kind

func (o *AddonAssociation) Kind() entity.Id

func (*AddonAssociation) ShortKind

func (o *AddonAssociation) ShortKind() string

type Details

type Details struct {
	Key   string `cbor:"key,omitempty" json:"key,omitempty"`
	Value string `cbor:"value,omitempty" json:"value,omitempty"`
}

func (*Details) Decode

func (o *Details) Decode(e entity.AttrGetter)

func (*Details) Empty

func (o *Details) Empty() bool

func (*Details) Encode

func (o *Details) Encode() (attrs []entity.Attr)

func (*Details) InitSchema

func (o *Details) InitSchema(sb *schema.SchemaBuilder)

type PostgresServer

type PostgresServer struct {
	ID                entity.Id `json:"id"`
	AddonName         string    `cbor:"addon_name,omitempty" json:"addon_name,omitempty"`
	AssociationCount  int64     `cbor:"association_count,omitempty" json:"association_count,omitempty"`
	SandboxPool       entity.Id `cbor:"sandbox_pool,omitempty" json:"sandbox_pool,omitempty"`
	Service           entity.Id `cbor:"service,omitempty" json:"service,omitempty"`
	Status            string    `cbor:"status,omitempty" json:"status,omitempty"`
	SuperuserPassword string    `cbor:"superuser_password,omitempty" json:"superuser_password,omitempty"`
	Variant           string    `cbor:"variant,omitempty" json:"variant,omitempty"`
}

func (*PostgresServer) Decode

func (o *PostgresServer) Decode(e entity.AttrGetter)

func (*PostgresServer) Empty

func (o *PostgresServer) Empty() bool

func (*PostgresServer) Encode

func (o *PostgresServer) Encode() (attrs []entity.Attr)

func (*PostgresServer) EntityId

func (o *PostgresServer) EntityId() entity.Id

func (*PostgresServer) InitSchema

func (o *PostgresServer) InitSchema(sb *schema.SchemaBuilder)

func (*PostgresServer) Is

func (*PostgresServer) Kind

func (o *PostgresServer) Kind() entity.Id

func (*PostgresServer) ShortKind

func (o *PostgresServer) ShortKind() string

type PostgresqlDedicatedData

type PostgresqlDedicatedData struct {
	ID             entity.Id `json:"id"`
	PostgresServer entity.Id `cbor:"postgres_server,omitempty" json:"postgres_server,omitempty"`
}

func (*PostgresqlDedicatedData) Decode

func (*PostgresqlDedicatedData) Empty

func (o *PostgresqlDedicatedData) Empty() bool

func (*PostgresqlDedicatedData) Encode

func (o *PostgresqlDedicatedData) Encode() (attrs []entity.Attr)

func (*PostgresqlDedicatedData) EntityId

func (o *PostgresqlDedicatedData) EntityId() entity.Id

func (*PostgresqlDedicatedData) InitSchema

func (o *PostgresqlDedicatedData) InitSchema(sb *schema.SchemaBuilder)

func (*PostgresqlDedicatedData) Is

func (*PostgresqlDedicatedData) Kind

func (o *PostgresqlDedicatedData) Kind() entity.Id

func (*PostgresqlDedicatedData) ShortKind

func (o *PostgresqlDedicatedData) ShortKind() string

type PostgresqlSharedData

type PostgresqlSharedData struct {
	ID             entity.Id `json:"id"`
	DatabaseName   string    `cbor:"database_name,omitempty" json:"database_name,omitempty"`
	PostgresServer entity.Id `cbor:"postgres_server,omitempty" json:"postgres_server,omitempty"`
	Username       string    `cbor:"username,omitempty" json:"username,omitempty"`
}

func (*PostgresqlSharedData) Decode

func (o *PostgresqlSharedData) Decode(e entity.AttrGetter)

func (*PostgresqlSharedData) Empty

func (o *PostgresqlSharedData) Empty() bool

func (*PostgresqlSharedData) Encode

func (o *PostgresqlSharedData) Encode() (attrs []entity.Attr)

func (*PostgresqlSharedData) EntityId

func (o *PostgresqlSharedData) EntityId() entity.Id

func (*PostgresqlSharedData) InitSchema

func (o *PostgresqlSharedData) InitSchema(sb *schema.SchemaBuilder)

func (*PostgresqlSharedData) Is

func (*PostgresqlSharedData) Kind

func (o *PostgresqlSharedData) Kind() entity.Id

func (*PostgresqlSharedData) ShortKind

func (o *PostgresqlSharedData) ShortKind() string

type Variables

type Variables struct {
	Key       string `cbor:"key,omitempty" json:"key,omitempty"`
	Sensitive bool   `cbor:"sensitive,omitempty" json:"sensitive,omitempty"`
	Value     string `cbor:"value,omitempty" json:"value,omitempty"`
}

func (*Variables) Decode

func (o *Variables) Decode(e entity.AttrGetter)

func (*Variables) Empty

func (o *Variables) Empty() bool

func (*Variables) Encode

func (o *Variables) Encode() (attrs []entity.Attr)

func (*Variables) InitSchema

func (o *Variables) InitSchema(sb *schema.SchemaBuilder)

type Variants

type Variants struct {
	Description string    `cbor:"description,omitempty" json:"description,omitempty"`
	Details     []Details `cbor:"details,omitempty" json:"details,omitempty"`
	Name        string    `cbor:"name,omitempty" json:"name,omitempty"`
}

func (*Variants) Decode

func (o *Variants) Decode(e entity.AttrGetter)

func (*Variants) Empty

func (o *Variants) Empty() bool

func (*Variants) Encode

func (o *Variants) Encode() (attrs []entity.Attr)

func (*Variants) InitSchema

func (o *Variants) InitSchema(sb *schema.SchemaBuilder)

Jump to

Keyboard shortcuts

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