schema

package
v0.0.97 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

README

This directory includes many of the data structures used by Namespace, some of which are part of the public API, and available to resource providers.

Namespace relies on Protobuf as the data schema language to define our data types. However, even though we use protobuf serialization in many internal use-cases, all public APIs rely the JSON form of the same data types, which follows the formalized proto3 to json conversion schema.

Unfortunately the separation between private and public API is not fully fleshed out, so you'll see both of them represented here. This will be updated over the next weeks.

Documentation

Index

Constants

View Source
const (
	ClearTextGrpcProtocol = "grpc"
	GrpcProtocol          = "grpcs"
	HttpProtocol          = "http"
)

Variables

View Source
var (
	Domain_ManagedType_name = map[int32]string{
		0: "MANAGED_UNKNOWN",
		1: "LOCAL_MANAGED",
		2: "CLOUD_MANAGED",
		3: "USER_SPECIFIED",
		4: "USER_SPECIFIED_TLS_MANAGED",
		5: "CLOUD_TERMINATION",
	}
	Domain_ManagedType_value = map[string]int32{
		"MANAGED_UNKNOWN":            0,
		"LOCAL_MANAGED":              1,
		"CLOUD_MANAGED":              2,
		"USER_SPECIFIED":             3,
		"USER_SPECIFIED_TLS_MANAGED": 4,
		"CLOUD_TERMINATION":          5,
	}
)

Enum value maps for Domain_ManagedType.

View Source
var (
	Environment_Purpose_name = map[int32]string{
		0: "PURPOSE_UNKNOWN",
		1: "DEVELOPMENT",
		2: "TESTING",
		3: "PRODUCTION",
	}
	Environment_Purpose_value = map[string]int32{
		"PURPOSE_UNKNOWN": 0,
		"DEVELOPMENT":     1,
		"TESTING":         2,
		"PRODUCTION":      3,
	}
)

Enum value maps for Environment_Purpose.

View Source
var (
	NodejsBuild_NodePkgMgr_name = map[int32]string{
		0: "PKG_MGR_UNKNOWN",
		1: "NPM",
		2: "YARN",
		4: "YARN3",
		3: "PNPM",
	}
	NodejsBuild_NodePkgMgr_value = map[string]int32{
		"PKG_MGR_UNKNOWN": 0,
		"NPM":             1,
		"YARN":            2,
		"YARN3":           4,
		"PNPM":            3,
	}
)

Enum value maps for NodejsBuild_NodePkgMgr.

View Source
var (
	Endpoint_Type_name = map[int32]string{
		0: "INGRESS_UNSPECIFIED",
		1: "PRIVATE",
		2: "INTERNET_FACING",
	}
	Endpoint_Type_value = map[string]int32{
		"INGRESS_UNSPECIFIED": 0,
		"PRIVATE":             1,
		"INTERNET_FACING":     2,
	}
)

Enum value maps for Endpoint_Type.

View Source
var (
	Node_Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "SERVICE",
		2: "EXTENSION",
	}
	Node_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED": 0,
		"SERVICE":          1,
		"EXTENSION":        2,
	}
)

Enum value maps for Node_Kind.

View Source
var (
	Reference_Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "IMAGE",
		2: "SERVER",
		3: "SERVICE",
		4: "PROTO_DEPS",
	}
	Reference_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED": 0,
		"IMAGE":            1,
		"SERVER":           2,
		"SERVICE":          3,
		"PROTO_DEPS":       4,
	}
)

Enum value maps for Reference_Kind.

View Source
var (
	SecretSpec_GenerateSpec_Format_name = map[int32]string{
		0: "FORMAT_UNKNOWN",
		1: "FORMAT_BASE64",
		2: "FORMAT_BASE32",
	}
	SecretSpec_GenerateSpec_Format_value = map[string]int32{
		"FORMAT_UNKNOWN": 0,
		"FORMAT_BASE64":  1,
		"FORMAT_BASE32":  2,
	}
)

Enum value maps for SecretSpec_GenerateSpec_Format.

View Source
var (
	Framework_name = map[int32]string{
		0: "FRAMEWORK_UNSPECIFIED",
		1: "GO",
		2: "WEB",
		4: "OPAQUE",
		5: "OPAQUE_NODEJS",
	}
	Framework_value = map[string]int32{
		"FRAMEWORK_UNSPECIFIED": 0,
		"GO":                    1,
		"WEB":                   2,
		"OPAQUE":                4,
		"OPAQUE_NODEJS":         5,
	}
)

Enum value maps for Framework.

View Source
var File_schema_binary_proto protoreflect.FileDescriptor
View Source
var File_schema_container_proto protoreflect.FileDescriptor
View Source
var File_schema_defextension_proto protoreflect.FileDescriptor
View Source
var File_schema_definition_proto protoreflect.FileDescriptor
View Source
var File_schema_domain_proto protoreflect.FileDescriptor
View Source
var File_schema_environment_proto protoreflect.FileDescriptor
View Source
var File_schema_function_proto protoreflect.FileDescriptor
View Source
var File_schema_integration_proto protoreflect.FileDescriptor
View Source
var File_schema_naming_proto protoreflect.FileDescriptor
View Source
var File_schema_networking_proto protoreflect.FileDescriptor
View Source
var File_schema_node_proto protoreflect.FileDescriptor
View Source
var File_schema_package_proto protoreflect.FileDescriptor
View Source
var File_schema_provision_proto protoreflect.FileDescriptor
View Source
var File_schema_reference_proto protoreflect.FileDescriptor
View Source
var File_schema_resource_proto protoreflect.FileDescriptor
View Source
var File_schema_secret_proto protoreflect.FileDescriptor
View Source
var File_schema_serialized_proto protoreflect.FileDescriptor
View Source
var File_schema_server_proto protoreflect.FileDescriptor
View Source
var File_schema_stack_proto protoreflect.FileDescriptor
View Source
var File_schema_test_proto protoreflect.FileDescriptor
View Source
var File_schema_volume_proto protoreflect.FileDescriptor
View Source
var File_schema_workspace_proto protoreflect.FileDescriptor
View Source
var (
	StaticModuleRewrites = map[string]struct {
		ModuleName string
		RelPath    string
	}{
		"library.namespace.so": {
			ModuleName: "namespacelabs.dev/foundation",
			RelPath:    "library",
		},
	}
)

Functions

func IsParent

func IsParent(moduleName string, sch PackageName) (string, bool)

func Strs

func Strs(sch ...PackageName) []string

Types

type Allocation

type Allocation struct {
	Instance []*Allocation_Instance `protobuf:"bytes,1,rep,name=instance,proto3" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

Allocations for a tree of instanced values.

func (*Allocation) Descriptor deprecated

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

Deprecated: Use Allocation.ProtoReflect.Descriptor instead.

func (*Allocation) GetInstance

func (x *Allocation) GetInstance() []*Allocation_Instance

func (*Allocation) ProtoMessage

func (*Allocation) ProtoMessage()

func (*Allocation) ProtoReflect

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

func (*Allocation) Reset

func (x *Allocation) Reset()

func (*Allocation) String

func (x *Allocation) String() string

type Allocation_Instance

type Allocation_Instance struct {

	// The source of the allocation.
	InstanceOwner string `protobuf:"bytes,1,opt,name=instance_owner,json=instanceOwner,proto3" json:"instance_owner,omitempty"`
	// The owning package of the fields being instantiated.
	PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	// An unique name within the server for this allocation path.
	AllocName    string         `protobuf:"bytes,3,opt,name=alloc_name,json=allocName,proto3" json:"alloc_name,omitempty"`
	Instantiated []*Instantiate `protobuf:"bytes,4,rep,name=instantiated,proto3" json:"instantiated,omitempty"`
	// Allocations that happen as a result of this allocation (e.g. an instance
	// of a dependency).
	DownstreamAllocation []*Allocation `protobuf:"bytes,5,rep,name=downstream_allocation,json=downstreamAllocation,proto3" json:"downstream_allocation,omitempty"`
	// contains filtered or unexported fields
}

func (*Allocation_Instance) Descriptor deprecated

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

Deprecated: Use Allocation_Instance.ProtoReflect.Descriptor instead.

func (*Allocation_Instance) GetAllocName

func (x *Allocation_Instance) GetAllocName() string

func (*Allocation_Instance) GetDownstreamAllocation

func (x *Allocation_Instance) GetDownstreamAllocation() []*Allocation

func (*Allocation_Instance) GetInstanceOwner

func (x *Allocation_Instance) GetInstanceOwner() string

func (*Allocation_Instance) GetInstantiated

func (x *Allocation_Instance) GetInstantiated() []*Instantiate

func (*Allocation_Instance) GetPackageName

func (x *Allocation_Instance) GetPackageName() string

func (*Allocation_Instance) ProtoMessage

func (*Allocation_Instance) ProtoMessage()

func (*Allocation_Instance) ProtoReflect

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

func (*Allocation_Instance) Reset

func (x *Allocation_Instance) Reset()

func (*Allocation_Instance) String

func (x *Allocation_Instance) String() string

type Binary

type Binary struct {

	// The package name (computed).
	PackageName string                 `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	Name        string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Config      *BinaryConfig          `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` // Run instructions.
	BuildPlan   *LayeredImageBuildPlan `protobuf:"bytes,8,opt,name=build_plan,json=buildPlan,proto3" json:"build_plan,omitempty"`
	// contains filtered or unexported fields
}

A "binary" represents a compiled image. It's output is an OCI image, but the difference to an OCI image is that a binary knows how to build itself (i.e. the resulting image is reproducible).

func (*Binary) Descriptor deprecated

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

Deprecated: Use Binary.ProtoReflect.Descriptor instead.

func (*Binary) GetBuildPlan

func (x *Binary) GetBuildPlan() *LayeredImageBuildPlan

func (*Binary) GetConfig

func (x *Binary) GetConfig() *BinaryConfig

func (*Binary) GetName

func (x *Binary) GetName() string

func (*Binary) GetPackageName

func (x *Binary) GetPackageName() string

func (*Binary) ProtoMessage

func (*Binary) ProtoMessage()

func (*Binary) ProtoReflect

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

func (*Binary) Reset

func (x *Binary) Reset()

func (*Binary) String

func (x *Binary) String() string

type BinaryConfig

type BinaryConfig struct {
	Command    []string                 `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"`
	Args       []string                 `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	Env        []*BinaryConfig_EnvEntry `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`
	WorkingDir string                   `protobuf:"bytes,4,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
	// contains filtered or unexported fields
}

Instructions of how to invoke the image, if it includes an invocable binary.

func (*BinaryConfig) Descriptor deprecated

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

Deprecated: Use BinaryConfig.ProtoReflect.Descriptor instead.

func (*BinaryConfig) GetArgs

func (x *BinaryConfig) GetArgs() []string

func (*BinaryConfig) GetCommand

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

func (*BinaryConfig) GetEnv

func (x *BinaryConfig) GetEnv() []*BinaryConfig_EnvEntry

func (*BinaryConfig) GetWorkingDir

func (x *BinaryConfig) GetWorkingDir() string

func (*BinaryConfig) ProtoMessage

func (*BinaryConfig) ProtoMessage()

func (*BinaryConfig) ProtoReflect

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

func (*BinaryConfig) Reset

func (x *BinaryConfig) Reset()

func (*BinaryConfig) String

func (x *BinaryConfig) String() string

type BinaryConfig_EnvEntry

type BinaryConfig_EnvEntry struct {
	Name                   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value                  string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	ExperimentalFromSecret string `` // Runtime specific.
	/* 129-byte string literal not displayed */
	FromSecretRef       *PackageRef                  `protobuf:"bytes,4,opt,name=from_secret_ref,json=fromSecretRef,proto3" json:"from_secret_ref,omitempty"`
	FromServiceEndpoint *ServiceRef                  `protobuf:"bytes,5,opt,name=from_service_endpoint,json=fromServiceEndpoint,proto3" json:"from_service_endpoint,omitempty"` // Inject the endpoint of a service in the stack.
	FromResourceField   *ResourceConfigFieldSelector `protobuf:"bytes,6,opt,name=from_resource_field,json=fromResourceField,proto3" json:"from_resource_field,omitempty"`
	// contains filtered or unexported fields
}

func (*BinaryConfig_EnvEntry) Descriptor deprecated

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

Deprecated: Use BinaryConfig_EnvEntry.ProtoReflect.Descriptor instead.

func (*BinaryConfig_EnvEntry) GetExperimentalFromSecret

func (x *BinaryConfig_EnvEntry) GetExperimentalFromSecret() string

func (*BinaryConfig_EnvEntry) GetFromResourceField added in v0.0.81

func (x *BinaryConfig_EnvEntry) GetFromResourceField() *ResourceConfigFieldSelector

func (*BinaryConfig_EnvEntry) GetFromSecretRef

func (x *BinaryConfig_EnvEntry) GetFromSecretRef() *PackageRef

func (*BinaryConfig_EnvEntry) GetFromServiceEndpoint added in v0.0.76

func (x *BinaryConfig_EnvEntry) GetFromServiceEndpoint() *ServiceRef

func (*BinaryConfig_EnvEntry) GetName

func (x *BinaryConfig_EnvEntry) GetName() string

func (*BinaryConfig_EnvEntry) GetValue

func (x *BinaryConfig_EnvEntry) GetValue() string

func (*BinaryConfig_EnvEntry) ProtoMessage

func (*BinaryConfig_EnvEntry) ProtoMessage()

func (*BinaryConfig_EnvEntry) ProtoReflect

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

func (*BinaryConfig_EnvEntry) Reset

func (x *BinaryConfig_EnvEntry) Reset()

func (*BinaryConfig_EnvEntry) String

func (x *BinaryConfig_EnvEntry) String() string

type Certificate

type Certificate struct {
	PrivateKey        []byte `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	CertificateBundle []byte `protobuf:"bytes,2,opt,name=certificate_bundle,json=certificateBundle,proto3" json:"certificate_bundle,omitempty"`
	PrivateCa         bool   `protobuf:"varint,3,opt,name=private_ca,json=privateCa,proto3" json:"private_ca,omitempty"` // If true, the certificate was emitted from a private CA, i.e. will be untrusted.
	// contains filtered or unexported fields
}

func (*Certificate) Descriptor deprecated

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

Deprecated: Use Certificate.ProtoReflect.Descriptor instead.

func (*Certificate) GetCertificateBundle

func (x *Certificate) GetCertificateBundle() []byte

func (*Certificate) GetPrivateCa

func (x *Certificate) GetPrivateCa() bool

func (*Certificate) GetPrivateKey

func (x *Certificate) GetPrivateKey() []byte

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) ProtoReflect

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

func (*Certificate) Reset

func (x *Certificate) Reset()

func (*Certificate) String

func (x *Certificate) String() string

type ComputedConfiguration

type ComputedConfiguration struct {

	// A package name that represents who computed this configuration.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// A domain-specific message which encapsulates a computed configuration.
	Impl *anypb.Any `protobuf:"bytes,2,opt,name=impl,proto3" json:"impl,omitempty"`
	// contains filtered or unexported fields
}

Computed configurations are used to then project runtime-specific configuration, such as flags, env vars, etc. Computed configurations are emitted by provisioning tools, and retained in config images. They're used to be able to retain the intersection of implementation version and configuration inputs. Rather than having implementations recompute these values, and have to keep track of versions, a fully denormalized version is retained instead.

func (*ComputedConfiguration) Descriptor deprecated

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

Deprecated: Use ComputedConfiguration.ProtoReflect.Descriptor instead.

func (*ComputedConfiguration) GetImpl

func (x *ComputedConfiguration) GetImpl() *anypb.Any

func (*ComputedConfiguration) GetOwner

func (x *ComputedConfiguration) GetOwner() string

func (*ComputedConfiguration) ProtoMessage

func (*ComputedConfiguration) ProtoMessage()

func (*ComputedConfiguration) ProtoReflect

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

func (*ComputedConfiguration) Reset

func (x *ComputedConfiguration) Reset()

func (*ComputedConfiguration) String

func (x *ComputedConfiguration) String() string

type ComputedConfigurations

type ComputedConfigurations struct {
	Entry []*ComputedConfigurations_Entry `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedConfigurations) Descriptor deprecated

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

Deprecated: Use ComputedConfigurations.ProtoReflect.Descriptor instead.

func (*ComputedConfigurations) GetEntry

func (*ComputedConfigurations) ProtoMessage

func (*ComputedConfigurations) ProtoMessage()

func (*ComputedConfigurations) ProtoReflect

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

func (*ComputedConfigurations) Reset

func (x *ComputedConfigurations) Reset()

func (*ComputedConfigurations) String

func (x *ComputedConfigurations) String() string

type ComputedConfigurations_Entry

type ComputedConfigurations_Entry struct {
	ServerPackage string                   `protobuf:"bytes,1,opt,name=server_package,json=serverPackage,proto3" json:"server_package,omitempty"` // Which server owns these configurations.
	Configuration []*ComputedConfiguration `protobuf:"bytes,2,rep,name=configuration,proto3" json:"configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedConfigurations_Entry) Descriptor deprecated

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

Deprecated: Use ComputedConfigurations_Entry.ProtoReflect.Descriptor instead.

func (*ComputedConfigurations_Entry) GetConfiguration

func (x *ComputedConfigurations_Entry) GetConfiguration() []*ComputedConfiguration

func (*ComputedConfigurations_Entry) GetServerPackage

func (x *ComputedConfigurations_Entry) GetServerPackage() string

func (*ComputedConfigurations_Entry) ProtoMessage

func (*ComputedConfigurations_Entry) ProtoMessage()

func (*ComputedConfigurations_Entry) ProtoReflect

func (*ComputedConfigurations_Entry) Reset

func (x *ComputedConfigurations_Entry) Reset()

func (*ComputedConfigurations_Entry) String

type ComputedNaming

type ComputedNaming struct {
	Source                   *Naming `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	BaseDomain               string  `protobuf:"bytes,2,opt,name=base_domain,json=baseDomain,proto3" json:"base_domain,omitempty"` // E.g. {org}.nscloud.dev
	TlsPassthroughBaseDomain string  ``                                                                                            // E.g. int-a.nscluster.cloud
	/* 137-byte string literal not displayed */
	Managed                Domain_ManagedType `protobuf:"varint,4,opt,name=managed,proto3,enum=foundation.schema.Domain_ManagedType" json:"managed,omitempty"`
	UpstreamTlsTermination bool               `` // If true, these addresses will be TLS terminated.
	/* 130-byte string literal not displayed */
	DomainFragmentSuffix string `protobuf:"bytes,6,opt,name=domain_fragment_suffix,json=domainFragmentSuffix,proto3" json:"domain_fragment_suffix,omitempty"` // If set, domain name generation will use this suffix rather than creating a new sub-domain.
	UseShortAlias        bool   `protobuf:"varint,7,opt,name=use_short_alias,json=useShortAlias,proto3" json:"use_short_alias,omitempty"`                     // Enable new endpoint alias generation.
	MainModuleName       string `protobuf:"bytes,8,opt,name=main_module_name,json=mainModuleName,proto3" json:"main_module_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedNaming) Descriptor deprecated

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

Deprecated: Use ComputedNaming.ProtoReflect.Descriptor instead.

func (*ComputedNaming) GetBaseDomain

func (x *ComputedNaming) GetBaseDomain() string

func (*ComputedNaming) GetDomainFragmentSuffix

func (x *ComputedNaming) GetDomainFragmentSuffix() string

func (*ComputedNaming) GetMainModuleName

func (x *ComputedNaming) GetMainModuleName() string

func (*ComputedNaming) GetManaged

func (x *ComputedNaming) GetManaged() Domain_ManagedType

func (*ComputedNaming) GetSource

func (x *ComputedNaming) GetSource() *Naming

func (*ComputedNaming) GetTlsPassthroughBaseDomain

func (x *ComputedNaming) GetTlsPassthroughBaseDomain() string

func (*ComputedNaming) GetUpstreamTlsTermination

func (x *ComputedNaming) GetUpstreamTlsTermination() bool

func (*ComputedNaming) GetUseShortAlias

func (x *ComputedNaming) GetUseShortAlias() bool

func (*ComputedNaming) ProtoMessage

func (*ComputedNaming) ProtoMessage()

func (*ComputedNaming) ProtoReflect

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

func (*ComputedNaming) Reset

func (x *ComputedNaming) Reset()

func (*ComputedNaming) String

func (x *ComputedNaming) String() string

type ConfigurableVolume

type ConfigurableVolume struct {
	Entries []*ConfigurableVolume_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigurableVolume) Descriptor deprecated

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

Deprecated: Use ConfigurableVolume.ProtoReflect.Descriptor instead.

func (*ConfigurableVolume) GetEntries

func (x *ConfigurableVolume) GetEntries() []*ConfigurableVolume_Entry

func (*ConfigurableVolume) ProtoMessage

func (*ConfigurableVolume) ProtoMessage()

func (*ConfigurableVolume) ProtoReflect

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

func (*ConfigurableVolume) Reset

func (x *ConfigurableVolume) Reset()

func (*ConfigurableVolume) String

func (x *ConfigurableVolume) String() string

type ConfigurableVolume_Entry

type ConfigurableVolume_Entry struct {

	// A single file or a directory, relative to the mount path.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// One of.
	Inline              *FileContents                                 `protobuf:"bytes,2,opt,name=inline,proto3" json:"inline,omitempty"`
	InlineSet           *ResourceSet                                  `protobuf:"bytes,4,opt,name=inline_set,json=inlineSet,proto3" json:"inline_set,omitempty"`
	SecretRef           *PackageRef                                   `protobuf:"bytes,6,opt,name=secret_ref,json=secretRef,proto3" json:"secret_ref,omitempty"`
	KubernetesSecretRef *ConfigurableVolume_Entry_KubernetesSecretRef `protobuf:"bytes,5,opt,name=kubernetes_secret_ref,json=kubernetesSecretRef,proto3" json:"kubernetes_secret_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigurableVolume_Entry) Descriptor deprecated

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

Deprecated: Use ConfigurableVolume_Entry.ProtoReflect.Descriptor instead.

func (*ConfigurableVolume_Entry) GetInline

func (x *ConfigurableVolume_Entry) GetInline() *FileContents

func (*ConfigurableVolume_Entry) GetInlineSet

func (x *ConfigurableVolume_Entry) GetInlineSet() *ResourceSet

func (*ConfigurableVolume_Entry) GetKubernetesSecretRef

func (*ConfigurableVolume_Entry) GetPath

func (x *ConfigurableVolume_Entry) GetPath() string

func (*ConfigurableVolume_Entry) GetSecretRef

func (x *ConfigurableVolume_Entry) GetSecretRef() *PackageRef

func (*ConfigurableVolume_Entry) ProtoMessage

func (*ConfigurableVolume_Entry) ProtoMessage()

func (*ConfigurableVolume_Entry) ProtoReflect

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

func (*ConfigurableVolume_Entry) Reset

func (x *ConfigurableVolume_Entry) Reset()

func (*ConfigurableVolume_Entry) String

func (x *ConfigurableVolume_Entry) String() string

type ConfigurableVolume_Entry_KubernetesSecretRef

type ConfigurableVolume_Entry_KubernetesSecretRef struct {
	SecretName string `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
	SecretKey  string `protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigurableVolume_Entry_KubernetesSecretRef) Descriptor deprecated

Deprecated: Use ConfigurableVolume_Entry_KubernetesSecretRef.ProtoReflect.Descriptor instead.

func (*ConfigurableVolume_Entry_KubernetesSecretRef) GetSecretKey

func (*ConfigurableVolume_Entry_KubernetesSecretRef) GetSecretName

func (*ConfigurableVolume_Entry_KubernetesSecretRef) ProtoMessage

func (*ConfigurableVolume_Entry_KubernetesSecretRef) ProtoReflect

func (*ConfigurableVolume_Entry_KubernetesSecretRef) Reset

func (*ConfigurableVolume_Entry_KubernetesSecretRef) String

type ContainerExtension

type ContainerExtension struct {

	// One of name, or package ref, must be set.
	Name      string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	BinaryRef *PackageRef              `protobuf:"bytes,2,opt,name=binary_ref,json=binaryRef,proto3" json:"binary_ref,omitempty"`
	Args      []string                 `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	Env       []*BinaryConfig_EnvEntry `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
	Mount     []*Mount                 `protobuf:"bytes,5,rep,name=mount,proto3" json:"mount,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerExtension) Descriptor deprecated

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

Deprecated: Use ContainerExtension.ProtoReflect.Descriptor instead.

func (*ContainerExtension) GetArgs

func (x *ContainerExtension) GetArgs() []string

func (*ContainerExtension) GetBinaryRef

func (x *ContainerExtension) GetBinaryRef() *PackageRef

func (*ContainerExtension) GetEnv

func (*ContainerExtension) GetMount

func (x *ContainerExtension) GetMount() []*Mount

func (*ContainerExtension) GetName

func (x *ContainerExtension) GetName() string

func (*ContainerExtension) ProtoMessage

func (*ContainerExtension) ProtoMessage()

func (*ContainerExtension) ProtoReflect

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

func (*ContainerExtension) Reset

func (x *ContainerExtension) Reset()

func (*ContainerExtension) String

func (x *ContainerExtension) String() string

type DefExtension

type DefExtension struct {
	Description string     `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	For         string     `protobuf:"bytes,2,opt,name=for,proto3" json:"for,omitempty"`
	Impl        *anypb.Any `protobuf:"bytes,3,opt,name=impl,proto3" json:"impl,omitempty"`
	// contains filtered or unexported fields
}

func (*DefExtension) Descriptor deprecated

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

Deprecated: Use DefExtension.ProtoReflect.Descriptor instead.

func (*DefExtension) GetDescription

func (x *DefExtension) GetDescription() string

func (*DefExtension) GetFor

func (x *DefExtension) GetFor() string

func (*DefExtension) GetImpl

func (x *DefExtension) GetImpl() *anypb.Any

func (*DefExtension) ProtoMessage

func (*DefExtension) ProtoMessage()

func (*DefExtension) ProtoReflect

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

func (*DefExtension) Reset

func (x *DefExtension) Reset()

func (*DefExtension) String

func (x *DefExtension) String() string

type DeployPlan

type DeployPlan struct {
	Workspace          *Workspace         `protobuf:"bytes,8,opt,name=workspace,proto3" json:"workspace,omitempty"`
	Environment        *Environment       `protobuf:"bytes,7,opt,name=environment,proto3" json:"environment,omitempty"`
	Stack              *Stack             `protobuf:"bytes,1,opt,name=stack,proto3" json:"stack,omitempty"`
	FocusServer        []string           `protobuf:"bytes,9,rep,name=focus_server,json=focusServer,proto3" json:"focus_server,omitempty"`
	IngressFragment    []*IngressFragment `protobuf:"bytes,4,rep,name=ingress_fragment,json=ingressFragment,proto3" json:"ingress_fragment,omitempty"`
	Hints              []string           `protobuf:"bytes,5,rep,name=hints,proto3" json:"hints,omitempty"`
	Program            *SerializedProgram `protobuf:"bytes,6,opt,name=program,proto3" json:"program,omitempty"`
	NamespaceReference string             `protobuf:"bytes,10,opt,name=namespace_reference,json=namespaceReference,proto3" json:"namespace_reference,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 11

func (*DeployPlan) Descriptor deprecated

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

Deprecated: Use DeployPlan.ProtoReflect.Descriptor instead.

func (*DeployPlan) GetEnvironment

func (x *DeployPlan) GetEnvironment() *Environment

func (*DeployPlan) GetFocusServer

func (x *DeployPlan) GetFocusServer() []string

func (*DeployPlan) GetHints

func (x *DeployPlan) GetHints() []string

func (*DeployPlan) GetIngressFragment

func (x *DeployPlan) GetIngressFragment() []*IngressFragment

func (*DeployPlan) GetNamespaceReference added in v0.0.82

func (x *DeployPlan) GetNamespaceReference() string

func (*DeployPlan) GetProgram

func (x *DeployPlan) GetProgram() *SerializedProgram

func (*DeployPlan) GetStack

func (x *DeployPlan) GetStack() *Stack

func (*DeployPlan) GetWorkspace

func (x *DeployPlan) GetWorkspace() *Workspace

func (*DeployPlan) ProtoMessage

func (*DeployPlan) ProtoMessage()

func (*DeployPlan) ProtoReflect

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

func (*DeployPlan) Reset

func (x *DeployPlan) Reset()

func (*DeployPlan) String

func (x *DeployPlan) String() string

type DeployableClass

type DeployableClass string
const (
	// Represents a horizontally scalable stateless deployment.
	DeployableClass_STATELESS DeployableClass = "deployableclass.namespace.so/stateless"
	// Represents a stateful deployment.
	DeployableClass_STATEFUL DeployableClass = "deployableclass.namespace.so/stateful"
	// Represents a one-shot run.
	DeployableClass_ONESHOT DeployableClass = "deployableclass.namespace.so/one-shot"
	// Represents an internal one-shot run whose orchestration management is manual.
	DeployableClass_MANUAL DeployableClass = "deployableclass.namespace.so/manual"
)

type DevHost

type DevHost struct {
	Configure         []*DevHost_ConfigureEnvironment `protobuf:"bytes,1,rep,name=configure,proto3" json:"configure,omitempty"`
	ConfigurePlatform []*DevHost_ConfigurePlatform    `protobuf:"bytes,2,rep,name=configure_platform,json=configurePlatform,proto3" json:"configure_platform,omitempty"`
	ConfigureTools    []*anypb.Any                    `protobuf:"bytes,3,rep,name=configure_tools,json=configureTools,proto3" json:"configure_tools,omitempty"`
	LocalEnv          []*Workspace_EnvironmentSpec    `protobuf:"bytes,4,rep,name=local_env,json=localEnv,proto3" json:"local_env,omitempty"` // Allows specifying environments for local use alone.
	// contains filtered or unexported fields
}

Configure a developer workstation.

func (*DevHost) Descriptor deprecated

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

Deprecated: Use DevHost.ProtoReflect.Descriptor instead.

func (*DevHost) GetConfigure

func (x *DevHost) GetConfigure() []*DevHost_ConfigureEnvironment

func (*DevHost) GetConfigurePlatform

func (x *DevHost) GetConfigurePlatform() []*DevHost_ConfigurePlatform

func (*DevHost) GetConfigureTools

func (x *DevHost) GetConfigureTools() []*anypb.Any

func (*DevHost) GetLocalEnv

func (x *DevHost) GetLocalEnv() []*Workspace_EnvironmentSpec

func (*DevHost) ProtoMessage

func (*DevHost) ProtoMessage()

func (*DevHost) ProtoReflect

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

func (*DevHost) Reset

func (x *DevHost) Reset()

func (*DevHost) String

func (x *DevHost) String() string

type DevHost_ConfigureEnvironment

type DevHost_ConfigureEnvironment struct {
	Name                  string                       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Runtime               string                       `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"`
	Purpose               Environment_Purpose          `protobuf:"varint,3,opt,name=purpose,proto3,enum=foundation.schema.Environment_Purpose" json:"purpose,omitempty"`
	Configuration         []*anypb.Any                 `protobuf:"bytes,4,rep,name=configuration,proto3" json:"configuration,omitempty"`
	PlatformConfiguration []*DevHost_ConfigurePlatform `protobuf:"bytes,5,rep,name=platform_configuration,json=platformConfiguration,proto3" json:"platform_configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*DevHost_ConfigureEnvironment) Descriptor deprecated

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

Deprecated: Use DevHost_ConfigureEnvironment.ProtoReflect.Descriptor instead.

func (*DevHost_ConfigureEnvironment) GetConfiguration

func (x *DevHost_ConfigureEnvironment) GetConfiguration() []*anypb.Any

func (*DevHost_ConfigureEnvironment) GetName

func (x *DevHost_ConfigureEnvironment) GetName() string

func (*DevHost_ConfigureEnvironment) GetPlatformConfiguration

func (x *DevHost_ConfigureEnvironment) GetPlatformConfiguration() []*DevHost_ConfigurePlatform

func (*DevHost_ConfigureEnvironment) GetPurpose

func (*DevHost_ConfigureEnvironment) GetRuntime

func (x *DevHost_ConfigureEnvironment) GetRuntime() string

func (*DevHost_ConfigureEnvironment) ProtoMessage

func (*DevHost_ConfigureEnvironment) ProtoMessage()

func (*DevHost_ConfigureEnvironment) ProtoReflect

func (*DevHost_ConfigureEnvironment) Reset

func (x *DevHost_ConfigureEnvironment) Reset()

func (*DevHost_ConfigureEnvironment) String

type DevHost_ConfigurePlatform

type DevHost_ConfigurePlatform struct {
	Architecture  string       `protobuf:"bytes,1,opt,name=architecture,proto3" json:"architecture,omitempty"`
	Os            string       `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"`
	Variant       string       `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"`
	Configuration []*anypb.Any `protobuf:"bytes,4,rep,name=configuration,proto3" json:"configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*DevHost_ConfigurePlatform) Descriptor deprecated

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

Deprecated: Use DevHost_ConfigurePlatform.ProtoReflect.Descriptor instead.

func (*DevHost_ConfigurePlatform) GetArchitecture

func (x *DevHost_ConfigurePlatform) GetArchitecture() string

func (*DevHost_ConfigurePlatform) GetConfiguration

func (x *DevHost_ConfigurePlatform) GetConfiguration() []*anypb.Any

func (*DevHost_ConfigurePlatform) GetOs

func (x *DevHost_ConfigurePlatform) GetOs() string

func (*DevHost_ConfigurePlatform) GetVariant

func (x *DevHost_ConfigurePlatform) GetVariant() string

func (*DevHost_ConfigurePlatform) ProtoMessage

func (*DevHost_ConfigurePlatform) ProtoMessage()

func (*DevHost_ConfigurePlatform) ProtoReflect

func (*DevHost_ConfigurePlatform) Reset

func (x *DevHost_ConfigurePlatform) Reset()

func (*DevHost_ConfigurePlatform) String

func (x *DevHost_ConfigurePlatform) String() string

type Digest

type Digest struct {
	// Algorithm holds the algorithm used to compute the hash.
	Algorithm string

	// Hex holds the hex portion of the content hash.
	Hex string
}

func DigestOf

func DigestOf(vals ...interface{}) (Digest, error)

func FromHash

func FromHash(algo string, h hash.Hash) Digest

func ParseDigest

func ParseDigest(str string) (Digest, error)

func (Digest) ComputeDigest

func (v Digest) ComputeDigest(context.Context) (Digest, error)

Implement `compute.Digestible`.

func (Digest) Equals

func (v Digest) Equals(rhs Digest) bool

func (Digest) IsSet

func (v Digest) IsSet() bool

func (Digest) String

func (v Digest) String() string

type DockerfileIntegration added in v0.0.72

type DockerfileIntegration struct {

	// The Dockerfile to use.
	Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"`
	// If set, this config is used to run the container instead of the one from the image.
	// Args and env come from the server definition.
	WorkingDir string   `protobuf:"bytes,2,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
	Command    []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*DockerfileIntegration) Descriptor deprecated added in v0.0.72

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

Deprecated: Use DockerfileIntegration.ProtoReflect.Descriptor instead.

func (*DockerfileIntegration) GetCommand added in v0.0.82

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

func (*DockerfileIntegration) GetSrc added in v0.0.72

func (x *DockerfileIntegration) GetSrc() string

func (*DockerfileIntegration) GetWorkingDir added in v0.0.82

func (x *DockerfileIntegration) GetWorkingDir() string

func (*DockerfileIntegration) ProtoMessage added in v0.0.72

func (*DockerfileIntegration) ProtoMessage()

func (*DockerfileIntegration) ProtoReflect added in v0.0.72

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

func (*DockerfileIntegration) Reset added in v0.0.72

func (x *DockerfileIntegration) Reset()

func (*DockerfileIntegration) String added in v0.0.72

func (x *DockerfileIntegration) String() string

type Domain

type Domain struct {
	Fqdn                    string             `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	Managed                 Domain_ManagedType `protobuf:"varint,3,opt,name=managed,proto3,enum=foundation.schema.Domain_ManagedType" json:"managed,omitempty"`
	TlsFrontend             bool               `protobuf:"varint,4,opt,name=tls_frontend,json=tlsFrontend,proto3" json:"tls_frontend,omitempty"` // If set to true, this domain's ingress is TLS terminated.
	TlsInclusterTermination bool               ``                                                                                                // If set to true, we manage the TLS termination in cluster.
	/* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Domain) Descriptor deprecated

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

Deprecated: Use Domain.ProtoReflect.Descriptor instead.

func (*Domain) GetFqdn

func (x *Domain) GetFqdn() string

func (*Domain) GetManaged

func (x *Domain) GetManaged() Domain_ManagedType

func (*Domain) GetTlsFrontend

func (x *Domain) GetTlsFrontend() bool

func (*Domain) GetTlsInclusterTermination

func (x *Domain) GetTlsInclusterTermination() bool

func (*Domain) ProtoMessage

func (*Domain) ProtoMessage()

func (*Domain) ProtoReflect

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

func (*Domain) Reset

func (x *Domain) Reset()

func (*Domain) String

func (x *Domain) String() string

type Domain_ManagedType

type Domain_ManagedType int32
const (
	Domain_MANAGED_UNKNOWN            Domain_ManagedType = 0
	Domain_LOCAL_MANAGED              Domain_ManagedType = 1
	Domain_CLOUD_MANAGED              Domain_ManagedType = 2
	Domain_USER_SPECIFIED             Domain_ManagedType = 3
	Domain_USER_SPECIFIED_TLS_MANAGED Domain_ManagedType = 4
	Domain_CLOUD_TERMINATION          Domain_ManagedType = 5
)

func (Domain_ManagedType) Descriptor

func (Domain_ManagedType) Enum

func (Domain_ManagedType) EnumDescriptor deprecated

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

Deprecated: Use Domain_ManagedType.Descriptor instead.

func (Domain_ManagedType) Number

func (Domain_ManagedType) String

func (x Domain_ManagedType) String() string

func (Domain_ManagedType) Type

type Endpoint

type Endpoint struct {
	Type Endpoint_Type `protobuf:"varint,1,opt,name=type,proto3,enum=foundation.schema.Endpoint_Type" json:"type,omitempty"`
	// The tuple (endpoint_owner, service_name) uniquely identifies an endpoint.
	ServiceName     string             `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	EndpointOwner   string             `protobuf:"bytes,4,opt,name=endpoint_owner,json=endpointOwner,proto3" json:"endpoint_owner,omitempty"` // Package name.
	Port            *Endpoint_Port     `protobuf:"bytes,5,opt,name=port,proto3" json:"port,omitempty"`
	AllocatedName   string             `protobuf:"bytes,6,opt,name=allocated_name,json=allocatedName,proto3" json:"allocated_name,omitempty"`
	ServerOwner     string             `protobuf:"bytes,7,opt,name=server_owner,json=serverOwner,proto3" json:"server_owner,omitempty"` // Package name.
	ServiceMetadata []*ServiceMetadata `protobuf:"bytes,8,rep,name=service_metadata,json=serviceMetadata,proto3" json:"service_metadata,omitempty"`
	ServiceLabel    string             `protobuf:"bytes,10,opt,name=service_label,json=serviceLabel,proto3" json:"service_label,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 11

func (*Endpoint) Address

func (e *Endpoint) Address() string

func (*Endpoint) Descriptor deprecated

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

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetAllocatedName

func (x *Endpoint) GetAllocatedName() string

func (*Endpoint) GetEndpointOwner

func (x *Endpoint) GetEndpointOwner() string

func (*Endpoint) GetPort

func (x *Endpoint) GetPort() *Endpoint_Port

func (*Endpoint) GetServerOwner

func (x *Endpoint) GetServerOwner() string

func (*Endpoint) GetServerOwnerPackage

func (e *Endpoint) GetServerOwnerPackage() PackageName

func (*Endpoint) GetServiceLabel

func (x *Endpoint) GetServiceLabel() string

func (*Endpoint) GetServiceMetadata

func (x *Endpoint) GetServiceMetadata() []*ServiceMetadata

func (*Endpoint) GetServiceName

func (x *Endpoint) GetServiceName() string

func (*Endpoint) GetType

func (x *Endpoint) GetType() Endpoint_Type

func (*Endpoint) HasKind

func (e *Endpoint) HasKind(str string) bool

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect

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

func (*Endpoint) Reset

func (x *Endpoint) Reset()

func (*Endpoint) String

func (x *Endpoint) String() string

type Endpoint_Port

type Endpoint_Port struct {
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ContainerPort int32  `protobuf:"varint,2,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
	// contains filtered or unexported fields
}

func (*Endpoint_Port) Descriptor deprecated

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

Deprecated: Use Endpoint_Port.ProtoReflect.Descriptor instead.

func (*Endpoint_Port) GetContainerPort

func (x *Endpoint_Port) GetContainerPort() int32

func (*Endpoint_Port) GetName

func (x *Endpoint_Port) GetName() string

func (*Endpoint_Port) ProtoMessage

func (*Endpoint_Port) ProtoMessage()

func (*Endpoint_Port) ProtoReflect

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

func (*Endpoint_Port) Reset

func (x *Endpoint_Port) Reset()

func (*Endpoint_Port) String

func (x *Endpoint_Port) String() string

type Endpoint_Type

type Endpoint_Type int32
const (
	Endpoint_INGRESS_UNSPECIFIED Endpoint_Type = 0 // Defaults to PRIVATE in services.
	Endpoint_PRIVATE             Endpoint_Type = 1
	Endpoint_INTERNET_FACING     Endpoint_Type = 2
)

func (Endpoint_Type) Descriptor

func (Endpoint_Type) Enum

func (x Endpoint_Type) Enum() *Endpoint_Type

func (Endpoint_Type) EnumDescriptor deprecated

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

Deprecated: Use Endpoint_Type.Descriptor instead.

func (Endpoint_Type) Number

func (Endpoint_Type) String

func (x Endpoint_Type) String() string

func (Endpoint_Type) Type

type Environment

type Environment struct {
	Name    string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Runtime string              `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"` // E.g. kubernetes
	Purpose Environment_Purpose `protobuf:"varint,3,opt,name=purpose,proto3,enum=foundation.schema.Environment_Purpose" json:"purpose,omitempty"`
	// Typically only set for tests. Signals that this environment is single-use and not meant to be user serviceable.
	Ephemeral bool     `protobuf:"varint,4,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
	Labels    []*Label `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func SpecToEnv

func SpecToEnv(spec ...*Workspace_EnvironmentSpec) []*Environment

func (*Environment) Descriptor deprecated

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetEphemeral

func (x *Environment) GetEphemeral() bool

func (*Environment) GetLabels

func (x *Environment) GetLabels() []*Label

func (*Environment) GetName

func (x *Environment) GetName() string

func (*Environment) GetPurpose

func (x *Environment) GetPurpose() Environment_Purpose

func (*Environment) GetRuntime

func (x *Environment) GetRuntime() string

func (*Environment) HasLabel

func (env *Environment) HasLabel(lbl *Label) bool

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_Purpose

type Environment_Purpose int32
const (
	Environment_PURPOSE_UNKNOWN Environment_Purpose = 0
	Environment_DEVELOPMENT     Environment_Purpose = 1
	Environment_TESTING         Environment_Purpose = 2
	Environment_PRODUCTION      Environment_Purpose = 3
)

func (Environment_Purpose) Descriptor

func (Environment_Purpose) Enum

func (Environment_Purpose) EnumDescriptor deprecated

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

Deprecated: Use Environment_Purpose.Descriptor instead.

func (Environment_Purpose) Number

func (Environment_Purpose) String

func (x Environment_Purpose) String() string

func (Environment_Purpose) Type

type EphemeralVolume

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

func (*EphemeralVolume) Descriptor deprecated

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

Deprecated: Use EphemeralVolume.ProtoReflect.Descriptor instead.

func (*EphemeralVolume) ProtoMessage

func (*EphemeralVolume) ProtoMessage()

func (*EphemeralVolume) ProtoReflect

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

func (*EphemeralVolume) Reset

func (x *EphemeralVolume) Reset()

func (*EphemeralVolume) String

func (x *EphemeralVolume) String() string

type ExperimentalFunction

type ExperimentalFunction struct {

	// The package name (computed).
	PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	Kind        string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Runtime     string `protobuf:"bytes,3,opt,name=runtime,proto3" json:"runtime,omitempty"`
	Source      string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // Runtime specific.
	// contains filtered or unexported fields
}

Declares a function invocation. This is still very much experimental as we research how to best declare what protocol a particular function fulfills, and the relationship between that protocol and the runtime support.

func (*ExperimentalFunction) Descriptor deprecated

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

Deprecated: Use ExperimentalFunction.ProtoReflect.Descriptor instead.

func (*ExperimentalFunction) GetKind

func (x *ExperimentalFunction) GetKind() string

func (*ExperimentalFunction) GetPackageName

func (x *ExperimentalFunction) GetPackageName() string

func (*ExperimentalFunction) GetRuntime

func (x *ExperimentalFunction) GetRuntime() string

func (*ExperimentalFunction) GetSource

func (x *ExperimentalFunction) GetSource() string

func (*ExperimentalFunction) ProtoMessage

func (*ExperimentalFunction) ProtoMessage()

func (*ExperimentalFunction) ProtoReflect

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

func (*ExperimentalFunction) Reset

func (x *ExperimentalFunction) Reset()

func (*ExperimentalFunction) String

func (x *ExperimentalFunction) String() string

type FileContents

type FileContents struct {
	Path     string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Utf8     bool   `protobuf:"varint,3,opt,name=utf8,proto3" json:"utf8,omitempty"` // Is the content text?
	Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

TODO reconcile with std.types.Resource.

func (*FileContents) Descriptor deprecated

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

Deprecated: Use FileContents.ProtoReflect.Descriptor instead.

func (*FileContents) GetContents

func (x *FileContents) GetContents() []byte

func (*FileContents) GetPath

func (x *FileContents) GetPath() string

func (*FileContents) GetUtf8

func (x *FileContents) GetUtf8() bool

func (*FileContents) ProtoMessage

func (*FileContents) ProtoMessage()

func (*FileContents) ProtoReflect

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

func (*FileContents) Reset

func (x *FileContents) Reset()

func (*FileContents) String

func (x *FileContents) String() string

type Framework

type Framework int32
const (
	Framework_FRAMEWORK_UNSPECIFIED Framework = 0
	Framework_GO                    Framework = 1
	Framework_WEB                   Framework = 2
	// Only for servers
	Framework_OPAQUE        Framework = 4
	Framework_OPAQUE_NODEJS Framework = 5
)

func (Framework) Descriptor

func (Framework) Descriptor() protoreflect.EnumDescriptor

func (Framework) Enum

func (x Framework) Enum() *Framework

func (Framework) EnumDescriptor deprecated

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

Deprecated: Use Framework.Descriptor instead.

func (Framework) Number

func (x Framework) Number() protoreflect.EnumNumber

func (Framework) String

func (x Framework) String() string

func (Framework) Type

type GoIntegration

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

func (*GoIntegration) Descriptor deprecated

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

Deprecated: Use GoIntegration.ProtoReflect.Descriptor instead.

func (*GoIntegration) GetPkg

func (x *GoIntegration) GetPkg() string

func (*GoIntegration) ProtoMessage

func (*GoIntegration) ProtoMessage()

func (*GoIntegration) ProtoReflect

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

func (*GoIntegration) Reset

func (x *GoIntegration) Reset()

func (*GoIntegration) String

func (x *GoIntegration) String() string

type GrpcExportAllServices added in v0.0.90

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

Used as Endpoint metadata to signal that all forwarding should be setup for any service available in the port.

func (*GrpcExportAllServices) Descriptor deprecated added in v0.0.90

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

Deprecated: Use GrpcExportAllServices.ProtoReflect.Descriptor instead.

func (*GrpcExportAllServices) ProtoMessage added in v0.0.90

func (*GrpcExportAllServices) ProtoMessage()

func (*GrpcExportAllServices) ProtoReflect added in v0.0.90

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

func (*GrpcExportAllServices) Reset added in v0.0.90

func (x *GrpcExportAllServices) Reset()

func (*GrpcExportAllServices) String added in v0.0.90

func (x *GrpcExportAllServices) String() string

type GrpcExportService

type GrpcExportService struct {

	// Paths to the protos that defines the service. Paths must be
	// relative to the package.
	Proto []string `protobuf:"bytes,1,rep,name=proto,proto3" json:"proto,omitempty"`
	// The type of the service being exported.
	ProtoTypename string `protobuf:"bytes,2,opt,name=proto_typename,json=protoTypename,proto3" json:"proto_typename,omitempty"`
	// A subset of methods this implementation supports. If empty, the implementation supports all methods.
	Method                   []string `protobuf:"bytes,3,rep,name=method,proto3" json:"method,omitempty"`
	ServerReflectionIncluded bool     `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GrpcExportService) Descriptor deprecated

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

Deprecated: Use GrpcExportService.ProtoReflect.Descriptor instead.

func (*GrpcExportService) GetMethod

func (x *GrpcExportService) GetMethod() []string

func (*GrpcExportService) GetProto

func (x *GrpcExportService) GetProto() []string

func (*GrpcExportService) GetProtoTypename

func (x *GrpcExportService) GetProtoTypename() string

func (*GrpcExportService) GetServerReflectionIncluded added in v0.0.90

func (x *GrpcExportService) GetServerReflectionIncluded() bool

func (*GrpcExportService) ProtoMessage

func (*GrpcExportService) ProtoMessage()

func (*GrpcExportService) ProtoReflect

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

func (*GrpcExportService) Reset

func (x *GrpcExportService) Reset()

func (*GrpcExportService) String

func (x *GrpcExportService) String() string

type GrpcHttpTranscoding

type GrpcHttpTranscoding struct {

	// Includes the service proto definition, and its dependencies.
	FileDescriptorSet *descriptorpb.FileDescriptorSet `protobuf:"bytes,1,opt,name=file_descriptor_set,json=fileDescriptorSet,proto3" json:"file_descriptor_set,omitempty"`
	// contains filtered or unexported fields
}

func (*GrpcHttpTranscoding) Descriptor deprecated

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

Deprecated: Use GrpcHttpTranscoding.ProtoReflect.Descriptor instead.

func (*GrpcHttpTranscoding) GetFileDescriptorSet

func (x *GrpcHttpTranscoding) GetFileDescriptorSet() *descriptorpb.FileDescriptorSet

func (*GrpcHttpTranscoding) ProtoMessage

func (*GrpcHttpTranscoding) ProtoMessage()

func (*GrpcHttpTranscoding) ProtoReflect

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

func (*GrpcHttpTranscoding) Reset

func (x *GrpcHttpTranscoding) Reset()

func (*GrpcHttpTranscoding) String

func (x *GrpcHttpTranscoding) String() string

type HttpCors

type HttpCors struct {
	Enabled       bool     `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	AllowedOrigin []string `protobuf:"bytes,2,rep,name=allowed_origin,json=allowedOrigin,proto3" json:"allowed_origin,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpCors) Descriptor deprecated

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

Deprecated: Use HttpCors.ProtoReflect.Descriptor instead.

func (*HttpCors) GetAllowedOrigin

func (x *HttpCors) GetAllowedOrigin() []string

func (*HttpCors) GetEnabled

func (x *HttpCors) GetEnabled() bool

func (*HttpCors) ProtoMessage

func (*HttpCors) ProtoMessage()

func (*HttpCors) ProtoReflect

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

func (*HttpCors) Reset

func (x *HttpCors) Reset()

func (*HttpCors) String

func (x *HttpCors) String() string

type HttpExportedService

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

func (*HttpExportedService) Descriptor deprecated

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

Deprecated: Use HttpExportedService.ProtoReflect.Descriptor instead.

func (*HttpExportedService) GetPath

func (x *HttpExportedService) GetPath() string

func (*HttpExportedService) ProtoMessage

func (*HttpExportedService) ProtoMessage()

func (*HttpExportedService) ProtoReflect

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

func (*HttpExportedService) Reset

func (x *HttpExportedService) Reset()

func (*HttpExportedService) String

func (x *HttpExportedService) String() string

type HttpPath

type HttpPath struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpPath) Descriptor deprecated

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

Deprecated: Use HttpPath.ProtoReflect.Descriptor instead.

func (*HttpPath) GetKind

func (x *HttpPath) GetKind() string

func (*HttpPath) GetPath

func (x *HttpPath) GetPath() string

func (*HttpPath) ProtoMessage

func (*HttpPath) ProtoMessage()

func (*HttpPath) ProtoReflect

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

func (*HttpPath) Reset

func (x *HttpPath) Reset()

func (*HttpPath) String

func (x *HttpPath) String() string

type HttpUrlMap

type HttpUrlMap struct {
	Entry []*HttpUrlMap_Entry `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpUrlMap) Descriptor deprecated

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

Deprecated: Use HttpUrlMap.ProtoReflect.Descriptor instead.

func (*HttpUrlMap) GetEntry

func (x *HttpUrlMap) GetEntry() []*HttpUrlMap_Entry

func (*HttpUrlMap) ProtoMessage

func (*HttpUrlMap) ProtoMessage()

func (*HttpUrlMap) ProtoReflect

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

func (*HttpUrlMap) Reset

func (x *HttpUrlMap) Reset()

func (*HttpUrlMap) String

func (x *HttpUrlMap) String() string

type HttpUrlMap_Entry

type HttpUrlMap_Entry struct {
	PathPrefix string `protobuf:"bytes,1,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
	Kind       string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpUrlMap_Entry) Descriptor deprecated

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

Deprecated: Use HttpUrlMap_Entry.ProtoReflect.Descriptor instead.

func (*HttpUrlMap_Entry) GetKind

func (x *HttpUrlMap_Entry) GetKind() string

func (*HttpUrlMap_Entry) GetPathPrefix

func (x *HttpUrlMap_Entry) GetPathPrefix() string

func (*HttpUrlMap_Entry) ProtoMessage

func (*HttpUrlMap_Entry) ProtoMessage()

func (*HttpUrlMap_Entry) ProtoReflect

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

func (*HttpUrlMap_Entry) Reset

func (x *HttpUrlMap_Entry) Reset()

func (*HttpUrlMap_Entry) String

func (x *HttpUrlMap_Entry) String() string

type ImageBuildPlan

type ImageBuildPlan struct {
	Description       string                            `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`                         // A human-readable description of what's being built. Optional.
	GoPackage         string                            `protobuf:"bytes,1,opt,name=go_package,json=goPackage,proto3" json:"go_package,omitempty"`             // Use go binary builder.
	GoBuild           *ImageBuildPlan_GoBuild           `protobuf:"bytes,7,opt,name=go_build,json=goBuild,proto3" json:"go_build,omitempty"`                   // Use go binary builder.
	Dockerfile        string                            `protobuf:"bytes,2,opt,name=dockerfile,proto3" json:"dockerfile,omitempty"`                            // Use Dockerfile builder.
	WebBuild          string                            `protobuf:"bytes,3,opt,name=web_build,json=webBuild,proto3" json:"web_build,omitempty"`                // Use Web build (temporary).
	LlbPlan           *ImageBuildPlan_LLBPlan           `protobuf:"bytes,4,opt,name=llb_plan,json=llbPlan,proto3" json:"llb_plan,omitempty"`                   // Build binary which itself produces LLB.
	NixFlake          string                            `protobuf:"bytes,5,opt,name=nix_flake,json=nixFlake,proto3" json:"nix_flake,omitempty"`                // Build a docker image from a nix flake.
	SnapshotFiles     []string                          `protobuf:"bytes,6,rep,name=snapshot_files,json=snapshotFiles,proto3" json:"snapshot_files,omitempty"` // Add all referenced files, and directories, recursively visiting their children.
	ImageId           string                            `protobuf:"bytes,8,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`                   // Use an existing image.
	NodejsBuild       *NodejsBuild                      `protobuf:"bytes,14,opt,name=nodejs_build,json=nodejsBuild,proto3" json:"nodejs_build,omitempty"`
	Binary            *PackageRef                       `protobuf:"bytes,10,opt,name=binary,proto3" json:"binary,omitempty"` // Add another binary as a layer.
	StaticFilesServer *ImageBuildPlan_StaticFilesServer `protobuf:"bytes,11,opt,name=static_files_server,json=staticFilesServer,proto3" json:"static_files_server,omitempty"`
	AlpineBuild       *ImageBuildPlan_AlpineBuild       `protobuf:"bytes,13,opt,name=alpine_build,json=alpineBuild,proto3" json:"alpine_build,omitempty"` // Build an alpine image that installs required packages.
	// contains filtered or unexported fields
}

Next ID: 14

func (*ImageBuildPlan) Descriptor deprecated

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

Deprecated: Use ImageBuildPlan.ProtoReflect.Descriptor instead.

func (*ImageBuildPlan) GetAlpineBuild

func (x *ImageBuildPlan) GetAlpineBuild() *ImageBuildPlan_AlpineBuild

func (*ImageBuildPlan) GetBinary

func (x *ImageBuildPlan) GetBinary() *PackageRef

func (*ImageBuildPlan) GetDescription

func (x *ImageBuildPlan) GetDescription() string

func (*ImageBuildPlan) GetDockerfile

func (x *ImageBuildPlan) GetDockerfile() string

func (*ImageBuildPlan) GetGoBuild

func (x *ImageBuildPlan) GetGoBuild() *ImageBuildPlan_GoBuild

func (*ImageBuildPlan) GetGoPackage

func (x *ImageBuildPlan) GetGoPackage() string

func (*ImageBuildPlan) GetImageId

func (x *ImageBuildPlan) GetImageId() string

func (*ImageBuildPlan) GetLlbPlan

func (x *ImageBuildPlan) GetLlbPlan() *ImageBuildPlan_LLBPlan

func (*ImageBuildPlan) GetNixFlake

func (x *ImageBuildPlan) GetNixFlake() string

func (*ImageBuildPlan) GetNodejsBuild

func (x *ImageBuildPlan) GetNodejsBuild() *NodejsBuild

func (*ImageBuildPlan) GetSnapshotFiles

func (x *ImageBuildPlan) GetSnapshotFiles() []string

func (*ImageBuildPlan) GetStaticFilesServer

func (x *ImageBuildPlan) GetStaticFilesServer() *ImageBuildPlan_StaticFilesServer

func (*ImageBuildPlan) GetWebBuild

func (x *ImageBuildPlan) GetWebBuild() string

func (*ImageBuildPlan) ProtoMessage

func (*ImageBuildPlan) ProtoMessage()

func (*ImageBuildPlan) ProtoReflect

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

func (*ImageBuildPlan) Reset

func (x *ImageBuildPlan) Reset()

func (*ImageBuildPlan) String

func (x *ImageBuildPlan) String() string

type ImageBuildPlan_AlpineBuild

type ImageBuildPlan_AlpineBuild struct {
	Version string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // An optional version + digest.
	Package []string `protobuf:"bytes,1,rep,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageBuildPlan_AlpineBuild) Descriptor deprecated

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

Deprecated: Use ImageBuildPlan_AlpineBuild.ProtoReflect.Descriptor instead.

func (*ImageBuildPlan_AlpineBuild) GetPackage

func (x *ImageBuildPlan_AlpineBuild) GetPackage() []string

func (*ImageBuildPlan_AlpineBuild) GetVersion

func (x *ImageBuildPlan_AlpineBuild) GetVersion() string

func (*ImageBuildPlan_AlpineBuild) ProtoMessage

func (*ImageBuildPlan_AlpineBuild) ProtoMessage()

func (*ImageBuildPlan_AlpineBuild) ProtoReflect

func (*ImageBuildPlan_AlpineBuild) Reset

func (x *ImageBuildPlan_AlpineBuild) Reset()

func (*ImageBuildPlan_AlpineBuild) String

func (x *ImageBuildPlan_AlpineBuild) String() string

type ImageBuildPlan_GoBuild

type ImageBuildPlan_GoBuild struct {
	RelPath    string `protobuf:"bytes,1,opt,name=rel_path,json=relPath,proto3" json:"rel_path,omitempty"`
	BinaryName string `protobuf:"bytes,2,opt,name=binary_name,json=binaryName,proto3" json:"binary_name,omitempty"`
	BinaryOnly bool   `protobuf:"varint,3,opt,name=binary_only,json=binaryOnly,proto3" json:"binary_only,omitempty"`
	// Whether to observe changes to the file system.
	IsFocus bool `protobuf:"varint,4,opt,name=is_focus,json=isFocus,proto3" json:"is_focus,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageBuildPlan_GoBuild) Descriptor deprecated

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

Deprecated: Use ImageBuildPlan_GoBuild.ProtoReflect.Descriptor instead.

func (*ImageBuildPlan_GoBuild) GetBinaryName

func (x *ImageBuildPlan_GoBuild) GetBinaryName() string

func (*ImageBuildPlan_GoBuild) GetBinaryOnly

func (x *ImageBuildPlan_GoBuild) GetBinaryOnly() bool

func (*ImageBuildPlan_GoBuild) GetIsFocus

func (x *ImageBuildPlan_GoBuild) GetIsFocus() bool

func (*ImageBuildPlan_GoBuild) GetRelPath

func (x *ImageBuildPlan_GoBuild) GetRelPath() string

func (*ImageBuildPlan_GoBuild) ProtoMessage

func (*ImageBuildPlan_GoBuild) ProtoMessage()

func (*ImageBuildPlan_GoBuild) ProtoReflect

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

func (*ImageBuildPlan_GoBuild) Reset

func (x *ImageBuildPlan_GoBuild) Reset()

func (*ImageBuildPlan_GoBuild) String

func (x *ImageBuildPlan_GoBuild) String() string

type ImageBuildPlan_LLBPlan

type ImageBuildPlan_LLBPlan struct {
	OutputOf *Binary `protobuf:"bytes,1,opt,name=output_of,json=outputOf,proto3" json:"output_of,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageBuildPlan_LLBPlan) Descriptor deprecated

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

Deprecated: Use ImageBuildPlan_LLBPlan.ProtoReflect.Descriptor instead.

func (*ImageBuildPlan_LLBPlan) GetOutputOf

func (x *ImageBuildPlan_LLBPlan) GetOutputOf() *Binary

func (*ImageBuildPlan_LLBPlan) ProtoMessage

func (*ImageBuildPlan_LLBPlan) ProtoMessage()

func (*ImageBuildPlan_LLBPlan) ProtoReflect

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

func (*ImageBuildPlan_LLBPlan) Reset

func (x *ImageBuildPlan_LLBPlan) Reset()

func (*ImageBuildPlan_LLBPlan) String

func (x *ImageBuildPlan_LLBPlan) String() string

type ImageBuildPlan_StaticFilesServer

type ImageBuildPlan_StaticFilesServer struct {

	// Path to serve files from.
	Dir  string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"`
	Port int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageBuildPlan_StaticFilesServer) Descriptor deprecated

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

Deprecated: Use ImageBuildPlan_StaticFilesServer.ProtoReflect.Descriptor instead.

func (*ImageBuildPlan_StaticFilesServer) GetDir

func (*ImageBuildPlan_StaticFilesServer) GetPort

func (*ImageBuildPlan_StaticFilesServer) ProtoMessage

func (*ImageBuildPlan_StaticFilesServer) ProtoMessage()

func (*ImageBuildPlan_StaticFilesServer) ProtoReflect

func (*ImageBuildPlan_StaticFilesServer) Reset

func (*ImageBuildPlan_StaticFilesServer) String

type IngressFragment

type IngressFragment struct {
	Name              string                                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Owner             string                                `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // Server package name.
	Domain            *Domain                               `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	DomainCertificate *Certificate                          `protobuf:"bytes,9,opt,name=domain_certificate,json=domainCertificate,proto3" json:"domain_certificate,omitempty"`
	Endpoint          *Endpoint                             `protobuf:"bytes,6,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	HttpPath          []*IngressFragment_IngressHttpPath    `protobuf:"bytes,4,rep,name=http_path,json=httpPath,proto3" json:"http_path,omitempty"`
	GrpcService       []*IngressFragment_IngressGrpcService `protobuf:"bytes,7,rep,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
	Manager           string                                `protobuf:"bytes,8,opt,name=manager,proto3" json:"manager,omitempty"` // If this is a specialized ingress, it may be annotated as such. E.g. with namespacelabs.dev/foundation/std/grp/httptranscoding.
	// Accepted: HttpCors, ProxyBodySize.
	Extension []*anypb.Any `protobuf:"bytes,5,rep,name=extension,proto3" json:"extension,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 10

func (*IngressFragment) Descriptor deprecated

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

Deprecated: Use IngressFragment.ProtoReflect.Descriptor instead.

func (*IngressFragment) GetDomain

func (x *IngressFragment) GetDomain() *Domain

func (*IngressFragment) GetDomainCertificate

func (x *IngressFragment) GetDomainCertificate() *Certificate

func (*IngressFragment) GetEndpoint

func (x *IngressFragment) GetEndpoint() *Endpoint

func (*IngressFragment) GetExtension

func (x *IngressFragment) GetExtension() []*anypb.Any

func (*IngressFragment) GetGrpcService

func (x *IngressFragment) GetGrpcService() []*IngressFragment_IngressGrpcService

func (*IngressFragment) GetHttpPath

func (*IngressFragment) GetManager

func (x *IngressFragment) GetManager() string

func (*IngressFragment) GetName

func (x *IngressFragment) GetName() string

func (*IngressFragment) GetOwner

func (x *IngressFragment) GetOwner() string

func (*IngressFragment) ProtoMessage

func (*IngressFragment) ProtoMessage()

func (*IngressFragment) ProtoReflect

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

func (*IngressFragment) Reset

func (x *IngressFragment) Reset()

func (*IngressFragment) String

func (x *IngressFragment) String() string

type IngressFragmentList

type IngressFragmentList struct {
	IngressFragment []*IngressFragment `protobuf:"bytes,1,rep,name=ingress_fragment,json=ingressFragment,proto3" json:"ingress_fragment,omitempty"`
	// contains filtered or unexported fields
}

func (*IngressFragmentList) Descriptor deprecated

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

Deprecated: Use IngressFragmentList.ProtoReflect.Descriptor instead.

func (*IngressFragmentList) GetIngressFragment

func (x *IngressFragmentList) GetIngressFragment() []*IngressFragment

func (*IngressFragmentList) ProtoMessage

func (*IngressFragmentList) ProtoMessage()

func (*IngressFragmentList) ProtoReflect

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

func (*IngressFragmentList) Reset

func (x *IngressFragmentList) Reset()

func (*IngressFragmentList) String

func (x *IngressFragmentList) String() string

type IngressFragment_IngressGrpcService

type IngressFragment_IngressGrpcService struct {
	GrpcService string         `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` // Fully qualified name.
	Owner       string         `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`                                // Package name.
	Service     string         `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`                            // Backing service.
	Method      []string       `protobuf:"bytes,5,rep,name=method,proto3" json:"method,omitempty"`                              // If not set, forward all methods.
	Port        *Endpoint_Port `protobuf:"bytes,4,opt,name=port,proto3" json:"port,omitempty"`
	BackendTls  bool           `protobuf:"varint,6,opt,name=backend_tls,json=backendTls,proto3" json:"backend_tls,omitempty"`
	AllServices bool           `protobuf:"varint,7,opt,name=all_services,json=allServices,proto3" json:"all_services,omitempty"` // If set, all paths are forwarded.
	// contains filtered or unexported fields
}

func (*IngressFragment_IngressGrpcService) Descriptor deprecated

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

Deprecated: Use IngressFragment_IngressGrpcService.ProtoReflect.Descriptor instead.

func (*IngressFragment_IngressGrpcService) GetAllServices added in v0.0.90

func (x *IngressFragment_IngressGrpcService) GetAllServices() bool

func (*IngressFragment_IngressGrpcService) GetBackendTls

func (x *IngressFragment_IngressGrpcService) GetBackendTls() bool

func (*IngressFragment_IngressGrpcService) GetGrpcService

func (x *IngressFragment_IngressGrpcService) GetGrpcService() string

func (*IngressFragment_IngressGrpcService) GetMethod

func (x *IngressFragment_IngressGrpcService) GetMethod() []string

func (*IngressFragment_IngressGrpcService) GetOwner

func (*IngressFragment_IngressGrpcService) GetPort

func (*IngressFragment_IngressGrpcService) GetService

func (*IngressFragment_IngressGrpcService) ProtoMessage

func (*IngressFragment_IngressGrpcService) ProtoMessage()

func (*IngressFragment_IngressGrpcService) ProtoReflect

func (*IngressFragment_IngressGrpcService) Reset

func (*IngressFragment_IngressGrpcService) String

type IngressFragment_IngressHttpPath

type IngressFragment_IngressHttpPath struct {
	Path    string         `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Kind    string         `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Owner   string         `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`     // Package name.
	Service string         `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"` // Backend service.
	Port    *Endpoint_Port `protobuf:"bytes,5,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*IngressFragment_IngressHttpPath) Descriptor deprecated

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

Deprecated: Use IngressFragment_IngressHttpPath.ProtoReflect.Descriptor instead.

func (*IngressFragment_IngressHttpPath) GetKind

func (*IngressFragment_IngressHttpPath) GetOwner

func (*IngressFragment_IngressHttpPath) GetPath

func (*IngressFragment_IngressHttpPath) GetPort

func (*IngressFragment_IngressHttpPath) GetService

func (x *IngressFragment_IngressHttpPath) GetService() string

func (*IngressFragment_IngressHttpPath) ProtoMessage

func (*IngressFragment_IngressHttpPath) ProtoMessage()

func (*IngressFragment_IngressHttpPath) ProtoReflect

func (*IngressFragment_IngressHttpPath) Reset

func (*IngressFragment_IngressHttpPath) String

type Instantiate

type Instantiate struct {
	PackageName string `protobuf:"bytes,3,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	Type        string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// A unique name used to refer and configure this dependency.
	Name        string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Constructor *anypb.Any `protobuf:"bytes,2,opt,name=constructor,proto3" json:"constructor,omitempty"`
	// contains filtered or unexported fields
}

func (*Instantiate) Descriptor deprecated

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

Deprecated: Use Instantiate.ProtoReflect.Descriptor instead.

func (*Instantiate) GetConstructor

func (x *Instantiate) GetConstructor() *anypb.Any

func (*Instantiate) GetName

func (x *Instantiate) GetName() string

func (*Instantiate) GetPackageName

func (x *Instantiate) GetPackageName() string

func (*Instantiate) GetType

func (x *Instantiate) GetType() string

func (*Instantiate) ProtoMessage

func (*Instantiate) ProtoMessage()

func (*Instantiate) ProtoReflect

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

func (*Instantiate) Reset

func (x *Instantiate) Reset()

func (*Instantiate) String

func (x *Instantiate) String() string

type Integration added in v0.0.72

type Integration struct {

	// Contains the integration-specific configuration, see below.
	Data *anypb.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

For servers or tests.

func (*Integration) Descriptor deprecated added in v0.0.72

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

Deprecated: Use Integration.ProtoReflect.Descriptor instead.

func (*Integration) GetData added in v0.0.72

func (x *Integration) GetData() *anypb.Any

func (*Integration) ProtoMessage added in v0.0.72

func (*Integration) ProtoMessage()

func (*Integration) ProtoReflect added in v0.0.72

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

func (*Integration) Reset added in v0.0.72

func (x *Integration) Reset()

func (*Integration) String added in v0.0.72

func (x *Integration) String() string

type InternalEndpoint

type InternalEndpoint struct {
	ServerOwner     string             `protobuf:"bytes,1,opt,name=server_owner,json=serverOwner,proto3" json:"server_owner,omitempty"` // Package name.
	Port            *Endpoint_Port     `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	ServiceMetadata []*ServiceMetadata `protobuf:"bytes,3,rep,name=service_metadata,json=serviceMetadata,proto3" json:"service_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*InternalEndpoint) Descriptor deprecated

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

Deprecated: Use InternalEndpoint.ProtoReflect.Descriptor instead.

func (*InternalEndpoint) GetPort

func (x *InternalEndpoint) GetPort() *Endpoint_Port

func (*InternalEndpoint) GetServerOwner

func (x *InternalEndpoint) GetServerOwner() string

func (*InternalEndpoint) GetServiceMetadata

func (x *InternalEndpoint) GetServiceMetadata() []*ServiceMetadata

func (*InternalEndpoint) ProtoMessage

func (*InternalEndpoint) ProtoMessage()

func (*InternalEndpoint) ProtoReflect

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

func (*InternalEndpoint) Reset

func (x *InternalEndpoint) Reset()

func (*InternalEndpoint) String

func (x *InternalEndpoint) String() string

type Invocation

type Invocation struct {

	// Deprecated, use binary_ref
	Binary       string                         `protobuf:"bytes,1,opt,name=binary,proto3" json:"binary,omitempty"`
	BinaryRef    *PackageRef                    `protobuf:"bytes,9,opt,name=binary_ref,json=binaryRef,proto3" json:"binary_ref,omitempty"`
	Args         []string                       `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	Env          []*BinaryConfig_EnvEntry       `protobuf:"bytes,10,rep,name=env,proto3" json:"env,omitempty"`
	WorkingDir   string                         `protobuf:"bytes,4,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
	Snapshots    map[string]*InvocationSnapshot `` /* 159-byte string literal not displayed */
	NoCache      bool                           `protobuf:"varint,6,opt,name=no_cache,json=noCache,proto3" json:"no_cache,omitempty"`
	RequiresKeys bool                           `protobuf:"varint,7,opt,name=requires_keys,json=requiresKeys,proto3" json:"requires_keys,omitempty"`
	Inject       []*Invocation_ValueInjection   `protobuf:"bytes,8,rep,name=inject,proto3" json:"inject,omitempty"`
	// contains filtered or unexported fields
}

func (*Invocation) Descriptor deprecated

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

Deprecated: Use Invocation.ProtoReflect.Descriptor instead.

func (*Invocation) GetArgs

func (x *Invocation) GetArgs() []string

func (*Invocation) GetBinary

func (x *Invocation) GetBinary() string

func (*Invocation) GetBinaryRef

func (x *Invocation) GetBinaryRef() *PackageRef

func (*Invocation) GetEnv added in v0.0.83

func (x *Invocation) GetEnv() []*BinaryConfig_EnvEntry

func (*Invocation) GetInject

func (x *Invocation) GetInject() []*Invocation_ValueInjection

func (*Invocation) GetNoCache

func (x *Invocation) GetNoCache() bool

func (*Invocation) GetRequiresKeys

func (x *Invocation) GetRequiresKeys() bool

func (*Invocation) GetSnapshots

func (x *Invocation) GetSnapshots() map[string]*InvocationSnapshot

func (*Invocation) GetWorkingDir

func (x *Invocation) GetWorkingDir() string

func (*Invocation) ProtoMessage

func (*Invocation) ProtoMessage()

func (*Invocation) ProtoReflect

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

func (*Invocation) Reset

func (x *Invocation) Reset()

func (*Invocation) String

func (x *Invocation) String() string

type InvocationSnapshot

type InvocationSnapshot struct {
	FromWorkspace string `protobuf:"bytes,1,opt,name=from_workspace,json=fromWorkspace,proto3" json:"from_workspace,omitempty"`
	Optional      bool   `protobuf:"varint,2,opt,name=optional,proto3" json:"optional,omitempty"`
	RequireFile   bool   `protobuf:"varint,3,opt,name=require_file,json=requireFile,proto3" json:"require_file,omitempty"`
	// contains filtered or unexported fields
}

func (*InvocationSnapshot) Descriptor deprecated

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

Deprecated: Use InvocationSnapshot.ProtoReflect.Descriptor instead.

func (*InvocationSnapshot) GetFromWorkspace

func (x *InvocationSnapshot) GetFromWorkspace() string

func (*InvocationSnapshot) GetOptional

func (x *InvocationSnapshot) GetOptional() bool

func (*InvocationSnapshot) GetRequireFile

func (x *InvocationSnapshot) GetRequireFile() bool

func (*InvocationSnapshot) ProtoMessage

func (*InvocationSnapshot) ProtoMessage()

func (*InvocationSnapshot) ProtoReflect

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

func (*InvocationSnapshot) Reset

func (x *InvocationSnapshot) Reset()

func (*InvocationSnapshot) String

func (x *InvocationSnapshot) String() string

type Invocation_ValueInjection

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

func (*Invocation_ValueInjection) Descriptor deprecated

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

Deprecated: Use Invocation_ValueInjection.ProtoReflect.Descriptor instead.

func (*Invocation_ValueInjection) GetType

func (x *Invocation_ValueInjection) GetType() string

func (*Invocation_ValueInjection) ProtoMessage

func (*Invocation_ValueInjection) ProtoMessage()

func (*Invocation_ValueInjection) ProtoReflect

func (*Invocation_ValueInjection) Reset

func (x *Invocation_ValueInjection) Reset()

func (*Invocation_ValueInjection) String

func (x *Invocation_ValueInjection) String() string

type Label

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

func (*Label) Descriptor deprecated

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

Deprecated: Use Label.ProtoReflect.Descriptor instead.

func (*Label) GetName

func (x *Label) GetName() string

func (*Label) GetValue

func (x *Label) GetValue() string

func (*Label) ProtoMessage

func (*Label) ProtoMessage()

func (*Label) ProtoReflect

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

func (*Label) Reset

func (x *Label) Reset()

func (*Label) String

func (x *Label) String() string

type LayeredImageBuildPlan

type LayeredImageBuildPlan struct {
	LayerBuildPlan []*ImageBuildPlan `protobuf:"bytes,1,rep,name=layer_build_plan,json=layerBuildPlan,proto3" json:"layer_build_plan,omitempty"` // Each build plan will yield N layers, in order.
	// contains filtered or unexported fields
}

func (*LayeredImageBuildPlan) Descriptor deprecated

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

Deprecated: Use LayeredImageBuildPlan.ProtoReflect.Descriptor instead.

func (*LayeredImageBuildPlan) GetLayerBuildPlan

func (x *LayeredImageBuildPlan) GetLayerBuildPlan() []*ImageBuildPlan

func (*LayeredImageBuildPlan) ProtoMessage

func (*LayeredImageBuildPlan) ProtoMessage()

func (*LayeredImageBuildPlan) ProtoReflect

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

func (*LayeredImageBuildPlan) Reset

func (x *LayeredImageBuildPlan) Reset()

func (*LayeredImageBuildPlan) String

func (x *LayeredImageBuildPlan) String() string

type Mount

type Mount struct {
	Owner     string      `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // Package that declared the mount.
	Path      string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Readonly  bool        `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly,omitempty"`
	VolumeRef *PackageRef `protobuf:"bytes,5,opt,name=volume_ref,json=volumeRef,proto3" json:"volume_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*Mount) Descriptor deprecated

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

Deprecated: Use Mount.ProtoReflect.Descriptor instead.

func (*Mount) GetOwner

func (x *Mount) GetOwner() string

func (*Mount) GetPath

func (x *Mount) GetPath() string

func (*Mount) GetReadonly

func (x *Mount) GetReadonly() bool

func (*Mount) GetVolumeRef

func (x *Mount) GetVolumeRef() *PackageRef

func (*Mount) ProtoMessage

func (*Mount) ProtoMessage()

func (*Mount) ProtoReflect

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

func (*Mount) Reset

func (x *Mount) Reset()

func (*Mount) String

func (x *Mount) String() string

type Naming

type Naming struct {
	WithOrg                 string                         `protobuf:"bytes,1,opt,name=with_org,json=withOrg,proto3" json:"with_org,omitempty"` // Allocate with the following organization.
	AdditionalUserSpecified []*Naming_AdditionalDomainName ``                                                                                   // If set, also configures the ingress with these domains.
	/* 132-byte string literal not displayed */
	AdditionalTlsManaged   []*Naming_AdditionalDomainName `protobuf:"bytes,3,rep,name=additional_tls_managed,json=additionalTlsManaged,proto3" json:"additional_tls_managed,omitempty"` // If set, both configures an ingress with these domains, and requests TLS certificate from Foundation.
	EnableNamespaceManaged bool                           ``                                                                                                                            // If set, enables namespace managed domain names.
	/* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Naming) Descriptor deprecated

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

Deprecated: Use Naming.ProtoReflect.Descriptor instead.

func (*Naming) GetAdditionalTlsManaged

func (x *Naming) GetAdditionalTlsManaged() []*Naming_AdditionalDomainName

func (*Naming) GetAdditionalUserSpecified

func (x *Naming) GetAdditionalUserSpecified() []*Naming_AdditionalDomainName

func (*Naming) GetEnableNamespaceManaged

func (x *Naming) GetEnableNamespaceManaged() bool

func (*Naming) GetWithOrg

func (x *Naming) GetWithOrg() string

func (*Naming) ProtoMessage

func (*Naming) ProtoMessage()

func (*Naming) ProtoReflect

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

func (*Naming) Reset

func (x *Naming) Reset()

func (*Naming) String

func (x *Naming) String() string

type Naming_AdditionalDomainName

type Naming_AdditionalDomainName struct {
	AllocatedName string `protobuf:"bytes,1,opt,name=allocated_name,json=allocatedName,proto3" json:"allocated_name,omitempty"`
	Fqdn          string `protobuf:"bytes,2,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	// contains filtered or unexported fields
}

func (*Naming_AdditionalDomainName) Descriptor deprecated

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

Deprecated: Use Naming_AdditionalDomainName.ProtoReflect.Descriptor instead.

func (*Naming_AdditionalDomainName) GetAllocatedName

func (x *Naming_AdditionalDomainName) GetAllocatedName() string

func (*Naming_AdditionalDomainName) GetFqdn

func (x *Naming_AdditionalDomainName) GetFqdn() string

func (*Naming_AdditionalDomainName) ProtoMessage

func (*Naming_AdditionalDomainName) ProtoMessage()

func (*Naming_AdditionalDomainName) ProtoReflect

func (*Naming_AdditionalDomainName) Reset

func (x *Naming_AdditionalDomainName) Reset()

func (*Naming_AdditionalDomainName) String

func (x *Naming_AdditionalDomainName) String() string

type Need

type Need struct {
	CuePath string `protobuf:"bytes,1,opt,name=cue_path,json=cuePath,proto3" json:"cue_path,omitempty"`
	// Types that are assignable to Type:
	//	*Need_Port_
	Type isNeed_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

XXX needs are at odds with instanced nodes; both provide means for the node to use data+behavior provided by another part of the system. Provides is a better model as it's more flexible. Needs are a necessary level right now to get core types instantiated (e.g. ports).

func (*Need) Descriptor deprecated

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

Deprecated: Use Need.ProtoReflect.Descriptor instead.

func (*Need) GetCuePath

func (x *Need) GetCuePath() string

func (*Need) GetPort

func (x *Need) GetPort() *Need_Port

func (*Need) GetType

func (m *Need) GetType() isNeed_Type

func (*Need) ProtoMessage

func (*Need) ProtoMessage()

func (*Need) ProtoReflect

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

func (*Need) Reset

func (x *Need) Reset()

func (*Need) String

func (x *Need) String() string

type Need_Port

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

func (*Need_Port) Descriptor deprecated

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

Deprecated: Use Need_Port.ProtoReflect.Descriptor instead.

func (*Need_Port) GetName

func (x *Need_Port) GetName() string

func (*Need_Port) ProtoMessage

func (*Need_Port) ProtoMessage()

func (*Need_Port) ProtoReflect

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

func (*Need_Port) Reset

func (x *Need_Port) Reset()

func (*Need_Port) String

func (x *Need_Port) String() string

type Need_Port_

type Need_Port_ struct {
	Port *Need_Port `protobuf:"bytes,2,opt,name=port,proto3,oneof"`
}

type Node

type Node struct {

	// The package name (computed).
	PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	// The module name (computed).
	ModuleName string    `protobuf:"bytes,20,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
	Kind       Node_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=foundation.schema.Node_Kind" json:"kind,omitempty"`
	// The computed list of dependency URLs of this service (direct and indirect).
	Import []string `protobuf:"bytes,3,rep,name=import,proto3" json:"import,omitempty"`
	// Name used publicly.
	IngressServiceName string `protobuf:"bytes,5,opt,name=ingress_service_name,json=ingressServiceName,proto3" json:"ingress_service_name,omitempty"`
	// Singleton dependencies instantiated for this node.
	Instantiate []*Instantiate `protobuf:"bytes,6,rep,name=instantiate,proto3" json:"instantiate,omitempty"`
	// A list of node needs (e.g. ports, etc).
	Need []*Need `protobuf:"bytes,7,rep,name=need,proto3" json:"need,omitempty"`
	// Declarations of instance types this node provides.
	Provides []*Provides `protobuf:"bytes,8,rep,name=provides,proto3" json:"provides,omitempty"`
	// Service nodes export services. This is embedded in the schema now but
	// may become dependencies in the future, i.e. an exported service
	// is kind of an instance of a declared gRPC service.
	ExportService []*GrpcExportService `protobuf:"bytes,9,rep,name=export_service,json=exportService,proto3" json:"export_service,omitempty"`
	// If set to true, these service's GRPC services are to be exported as HTTP
	// as well. Regardless of the ingress configuration here, these endpoints
	// will be public.
	ExportServicesAsHttp bool `` /* 127-byte string literal not displayed */
	// HTTP paths exported by this service.
	ExportHttp []*HttpPath `protobuf:"bytes,16,rep,name=export_http,json=exportHttp,proto3" json:"export_http,omitempty"`
	// Ingress can be used to configure whether a service is visible to the
	// internet (only valid for services).
	Ingress Endpoint_Type `protobuf:"varint,10,opt,name=ingress,proto3,enum=foundation.schema.Endpoint_Type" json:"ingress,omitempty"`
	// Can't contain multiple initializers with the same "framework".
	// Not a map since "framework" will likely be broken down and converted to a message.
	Initializers     []*NodeInitializer `protobuf:"bytes,11,rep,name=initializers,proto3" json:"initializers,omitempty"`
	ServiceFramework Framework          `` /* 144-byte string literal not displayed */
	Reference        []*Reference       `protobuf:"bytes,13,rep,name=reference,proto3" json:"reference,omitempty"`
	// Set of dependencies specified explicitly by the user.
	UserImports []string `protobuf:"bytes,14,rep,name=user_imports,json=userImports,proto3" json:"user_imports,omitempty"`
	// Framework-specific extensions.
	Ext    []*anypb.Any `protobuf:"bytes,15,rep,name=ext,proto3" json:"ext,omitempty"`
	Volume []*Volume    `protobuf:"bytes,22,rep,name=volume,proto3" json:"volume,omitempty"`
	Mount  []*Mount     `protobuf:"bytes,23,rep,name=mount,proto3" json:"mount,omitempty"`
	// Environment requirements determine whether a particular node is compatible with a particular environment.
	EnvironmentRequirement *Node_EnvironmentRequirement `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

This is temporary; without extensions protos are pretty monolithic. And we don't want to be in a situation where all possible integrations have to be known ahead of time. Next ID: 25

func (*Node) CodegeneratedFrameworks

func (n *Node) CodegeneratedFrameworks() []Framework

All frameworks that the node has codegen generated for. Stable order.

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) ErrorLocation

func (n *Node) ErrorLocation() string

func (*Node) GetEnvironmentRequirement

func (x *Node) GetEnvironmentRequirement() *Node_EnvironmentRequirement

func (*Node) GetExportHttp

func (x *Node) GetExportHttp() []*HttpPath

func (*Node) GetExportService

func (x *Node) GetExportService() []*GrpcExportService

func (*Node) GetExportServicesAsHttp

func (x *Node) GetExportServicesAsHttp() bool

func (*Node) GetExt

func (x *Node) GetExt() []*anypb.Any

func (*Node) GetImport

func (x *Node) GetImport() []string

func (*Node) GetImportedPackages

func (n *Node) GetImportedPackages() []PackageName

func (*Node) GetIngress

func (x *Node) GetIngress() Endpoint_Type

func (*Node) GetIngressServiceName

func (x *Node) GetIngressServiceName() string

func (*Node) GetInitializers

func (x *Node) GetInitializers() []*NodeInitializer

func (*Node) GetInstantiate

func (x *Node) GetInstantiate() []*Instantiate

func (*Node) GetKind

func (x *Node) GetKind() Node_Kind

func (*Node) GetModuleName

func (x *Node) GetModuleName() string

func (*Node) GetMount

func (x *Node) GetMount() []*Mount

func (*Node) GetNeed

func (x *Node) GetNeed() []*Need

func (*Node) GetPackageName

func (x *Node) GetPackageName() string

func (*Node) GetProvides

func (x *Node) GetProvides() []*Provides

func (*Node) GetReference

func (x *Node) GetReference() []*Reference

func (*Node) GetServiceFramework

func (x *Node) GetServiceFramework() Framework

func (*Node) GetUserImports

func (x *Node) GetUserImports() []string

func (*Node) GetVolume

func (x *Node) GetVolume() []*Volume

func (*Node) InitializerFor

func (n *Node) InitializerFor(fmwk Framework) *NodeInitializer

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) ProvidedInFrameworks

func (n *Node) ProvidedInFrameworks() map[Framework]bool

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type NodeInitializer

type NodeInitializer struct {
	Framework        Framework `protobuf:"varint,1,opt,name=framework,proto3,enum=foundation.schema.Framework" json:"framework,omitempty"`
	InitializeBefore []string  `protobuf:"bytes,2,rep,name=initialize_before,json=initializeBefore,proto3" json:"initialize_before,omitempty"` // Package name.
	InitializeAfter  []string  `protobuf:"bytes,3,rep,name=initialize_after,json=initializeAfter,proto3" json:"initialize_after,omitempty"`    // Package name.
	// contains filtered or unexported fields
}

func (*NodeInitializer) Descriptor deprecated

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

Deprecated: Use NodeInitializer.ProtoReflect.Descriptor instead.

func (*NodeInitializer) GetFramework

func (x *NodeInitializer) GetFramework() Framework

func (*NodeInitializer) GetInitializeAfter

func (x *NodeInitializer) GetInitializeAfter() []string

func (*NodeInitializer) GetInitializeBefore

func (x *NodeInitializer) GetInitializeBefore() []string

func (*NodeInitializer) ProtoMessage

func (*NodeInitializer) ProtoMessage()

func (*NodeInitializer) ProtoReflect

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

func (*NodeInitializer) Reset

func (x *NodeInitializer) Reset()

func (*NodeInitializer) String

func (x *NodeInitializer) String() string

type Node_EnvironmentRequirement

type Node_EnvironmentRequirement struct {
	EnvironmentHasLabel         []*Label `protobuf:"bytes,1,rep,name=environment_has_label,json=environmentHasLabel,proto3" json:"environment_has_label,omitempty"`
	EnvironmentDoesNotHaveLabel []*Label `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Node_EnvironmentRequirement) Descriptor deprecated

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

Deprecated: Use Node_EnvironmentRequirement.ProtoReflect.Descriptor instead.

func (*Node_EnvironmentRequirement) GetEnvironmentDoesNotHaveLabel

func (x *Node_EnvironmentRequirement) GetEnvironmentDoesNotHaveLabel() []*Label

func (*Node_EnvironmentRequirement) GetEnvironmentHasLabel

func (x *Node_EnvironmentRequirement) GetEnvironmentHasLabel() []*Label

func (*Node_EnvironmentRequirement) ProtoMessage

func (*Node_EnvironmentRequirement) ProtoMessage()

func (*Node_EnvironmentRequirement) ProtoReflect

func (*Node_EnvironmentRequirement) Reset

func (x *Node_EnvironmentRequirement) Reset()

func (*Node_EnvironmentRequirement) String

func (x *Node_EnvironmentRequirement) String() string

type Node_Kind

type Node_Kind int32
const (
	Node_KIND_UNSPECIFIED Node_Kind = 0
	Node_SERVICE          Node_Kind = 1
	Node_EXTENSION        Node_Kind = 2
)

func (Node_Kind) Descriptor

func (Node_Kind) Descriptor() protoreflect.EnumDescriptor

func (Node_Kind) Enum

func (x Node_Kind) Enum() *Node_Kind

func (Node_Kind) EnumDescriptor deprecated

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

Deprecated: Use Node_Kind.Descriptor instead.

func (Node_Kind) Number

func (x Node_Kind) Number() protoreflect.EnumNumber

func (Node_Kind) String

func (x Node_Kind) String() string

func (Node_Kind) Type

type NodejsBuild added in v0.0.75

type NodejsBuild struct {

	// Path to `package.json`, relative to the Namespace package. Default is "."
	Pkg string `protobuf:"bytes,1,opt,name=pkg,proto3" json:"pkg,omitempty"`
	// Detected Node.js package manager.
	NodePkgMgr NodejsBuild_NodePkgMgr `` /* 140-byte string literal not displayed */
	// For Web builds. It is here because building the image for Web is done by the Node.js builder.
	// This is a temporary internal API. Will be replaced with a nodejs-independent way in the future.
	InternalDoNotUseBackend []*NodejsBuild_Backend `` /* 136-byte string literal not displayed */
	// Entry point for the container.
	RunScript string `protobuf:"bytes,6,opt,name=run_script,json=runScript,proto3" json:"run_script,omitempty"`
	// Configuration for prod/test builds.
	Prod *NodejsBuild_Prod `protobuf:"bytes,7,opt,name=prod,proto3" json:"prod,omitempty"`
	// contains filtered or unexported fields
}

Shared between "integration" and "imageFrom" for now.

func (*NodejsBuild) Descriptor deprecated added in v0.0.75

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

Deprecated: Use NodejsBuild.ProtoReflect.Descriptor instead.

func (*NodejsBuild) GetInternalDoNotUseBackend added in v0.0.75

func (x *NodejsBuild) GetInternalDoNotUseBackend() []*NodejsBuild_Backend

func (*NodejsBuild) GetNodePkgMgr added in v0.0.75

func (x *NodejsBuild) GetNodePkgMgr() NodejsBuild_NodePkgMgr

func (*NodejsBuild) GetPkg added in v0.0.75

func (x *NodejsBuild) GetPkg() string

func (*NodejsBuild) GetProd added in v0.0.75

func (x *NodejsBuild) GetProd() *NodejsBuild_Prod

func (*NodejsBuild) GetRunScript added in v0.0.75

func (x *NodejsBuild) GetRunScript() string

func (*NodejsBuild) ProtoMessage added in v0.0.75

func (*NodejsBuild) ProtoMessage()

func (*NodejsBuild) ProtoReflect added in v0.0.75

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

func (*NodejsBuild) Reset added in v0.0.75

func (x *NodejsBuild) Reset()

func (*NodejsBuild) String added in v0.0.75

func (x *NodejsBuild) String() string

type NodejsBuild_Backend added in v0.0.75

type NodejsBuild_Backend struct {

	// The name of the backend for this particular Web build, e.g. "api".
	Name    string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Service *PackageRef `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// For internal use. Needed to connect to transcoded gRPC endpoints.
	Manager string `protobuf:"bytes,3,opt,name=manager,proto3" json:"manager,omitempty"`
	// contains filtered or unexported fields
}

func (*NodejsBuild_Backend) Descriptor deprecated added in v0.0.75

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

Deprecated: Use NodejsBuild_Backend.ProtoReflect.Descriptor instead.

func (*NodejsBuild_Backend) GetManager added in v0.0.97

func (x *NodejsBuild_Backend) GetManager() string

func (*NodejsBuild_Backend) GetName added in v0.0.75

func (x *NodejsBuild_Backend) GetName() string

func (*NodejsBuild_Backend) GetService added in v0.0.75

func (x *NodejsBuild_Backend) GetService() *PackageRef

func (*NodejsBuild_Backend) ProtoMessage added in v0.0.75

func (*NodejsBuild_Backend) ProtoMessage()

func (*NodejsBuild_Backend) ProtoReflect added in v0.0.75

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

func (*NodejsBuild_Backend) Reset added in v0.0.75

func (x *NodejsBuild_Backend) Reset()

func (*NodejsBuild_Backend) String added in v0.0.75

func (x *NodejsBuild_Backend) String() string

type NodejsBuild_NodePkgMgr added in v0.0.75

type NodejsBuild_NodePkgMgr int32
const (
	NodejsBuild_PKG_MGR_UNKNOWN NodejsBuild_NodePkgMgr = 0
	NodejsBuild_NPM             NodejsBuild_NodePkgMgr = 1
	NodejsBuild_YARN            NodejsBuild_NodePkgMgr = 2
	NodejsBuild_YARN3           NodejsBuild_NodePkgMgr = 4
	NodejsBuild_PNPM            NodejsBuild_NodePkgMgr = 3
)

func (NodejsBuild_NodePkgMgr) Descriptor added in v0.0.75

func (NodejsBuild_NodePkgMgr) Enum added in v0.0.75

func (NodejsBuild_NodePkgMgr) EnumDescriptor deprecated added in v0.0.75

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

Deprecated: Use NodejsBuild_NodePkgMgr.Descriptor instead.

func (NodejsBuild_NodePkgMgr) Number added in v0.0.75

func (NodejsBuild_NodePkgMgr) String added in v0.0.75

func (x NodejsBuild_NodePkgMgr) String() string

func (NodejsBuild_NodePkgMgr) Type added in v0.0.75

type NodejsBuild_Prod added in v0.0.75

type NodejsBuild_Prod struct {

	// If set, this script from package.json is executed.
	BuildScript string `protobuf:"bytes,1,opt,name=build_script,json=buildScript,proto3" json:"build_script,omitempty"`
	// Relative path within the build image to copy to the prod image (to the same path).
	BuildOutDir string `protobuf:"bytes,2,opt,name=build_out_dir,json=buildOutDir,proto3" json:"build_out_dir,omitempty"`
	// If true, the "install" package manager command is executed in the prod image, too.
	// Dev dependencies are not installed in this case.
	InstallDeps bool `protobuf:"varint,3,opt,name=install_deps,json=installDeps,proto3" json:"install_deps,omitempty"`
	// contains filtered or unexported fields
}

func (*NodejsBuild_Prod) Descriptor deprecated added in v0.0.75

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

Deprecated: Use NodejsBuild_Prod.ProtoReflect.Descriptor instead.

func (*NodejsBuild_Prod) GetBuildOutDir added in v0.0.75

func (x *NodejsBuild_Prod) GetBuildOutDir() string

func (*NodejsBuild_Prod) GetBuildScript added in v0.0.75

func (x *NodejsBuild_Prod) GetBuildScript() string

func (*NodejsBuild_Prod) GetInstallDeps added in v0.0.75

func (x *NodejsBuild_Prod) GetInstallDeps() bool

func (*NodejsBuild_Prod) ProtoMessage added in v0.0.75

func (*NodejsBuild_Prod) ProtoMessage()

func (*NodejsBuild_Prod) ProtoReflect added in v0.0.75

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

func (*NodejsBuild_Prod) Reset added in v0.0.75

func (x *NodejsBuild_Prod) Reset()

func (*NodejsBuild_Prod) String added in v0.0.75

func (x *NodejsBuild_Prod) String() string

type PackageList

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

func List

func List(packages []PackageName) PackageList

func (*PackageList) Add

func (pl *PackageList) Add(pkg PackageName) bool

func (*PackageList) AddMultiple

func (pl *PackageList) AddMultiple(pkgs ...PackageName)

func (PackageList) Clone

func (pl PackageList) Clone() PackageList

func (PackageList) Includes

func (pl PackageList) Includes(pkg PackageName) bool

func (PackageList) Len

func (pl PackageList) Len() int

func (PackageList) PackageNames

func (pl PackageList) PackageNames() []PackageName

func (PackageList) PackageNamesAsString

func (pl PackageList) PackageNamesAsString() []string

type PackageName

type PackageName string

func MakePackageName

func MakePackageName(str string) PackageName

func PackageNames

func PackageNames(strs ...string) []PackageName

func (PackageName) Equals

func (p PackageName) Equals(s string) bool

func (PackageName) ErrorLocation

func (p PackageName) ErrorLocation() string

Implements fnerrors.Location.

func (PackageName) String

func (p PackageName) String() string

type PackageRef

type PackageRef struct {

	// Computed package name. Use PackageName() in the code.
	PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	// The user-defined name.
	// Can be empty if parsed from the user code, e.g. a legacy reference to a binary.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Reference to an entity inside a package, e.g. a binary, a test, a main/sidecar container, etc.

func MakePackageRef

func MakePackageRef(pkg PackageName, name string) *PackageRef

func MakePackageSingleRef

func MakePackageSingleRef(pkg PackageName) *PackageRef

func ParsePackageRef

func ParsePackageRef(owner PackageName, ref string) (*PackageRef, error)

Parses from a canonical string representation.

func StrictParsePackageRef

func StrictParsePackageRef(ref string) (*PackageRef, error)

func (*PackageRef) AsPackageName

func (n *PackageRef) AsPackageName() PackageName

func (*PackageRef) Canonical

func (n *PackageRef) Canonical() string

func (*PackageRef) Compare

func (n *PackageRef) Compare(other *PackageRef) int

func (*PackageRef) Descriptor deprecated

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

Deprecated: Use PackageRef.ProtoReflect.Descriptor instead.

func (*PackageRef) Equals

func (n *PackageRef) Equals(other *PackageRef) bool

func (*PackageRef) GetName

func (x *PackageRef) GetName() string

func (*PackageRef) GetPackageName

func (x *PackageRef) GetPackageName() string

func (*PackageRef) ProtoMessage

func (*PackageRef) ProtoMessage()

func (*PackageRef) ProtoReflect

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

func (*PackageRef) Reset

func (x *PackageRef) Reset()

func (*PackageRef) String

func (x *PackageRef) String() string

type PackageRefList

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

func (*PackageRefList) Add

func (pl *PackageRefList) Add(ref *PackageRef) bool

func (PackageRefList) Refs

func (pl PackageRefList) Refs() []*PackageRef

type PersistentVolume

type PersistentVolume struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SizeBytes uint64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*PersistentVolume) Descriptor deprecated

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

Deprecated: Use PersistentVolume.ProtoReflect.Descriptor instead.

func (*PersistentVolume) GetId

func (x *PersistentVolume) GetId() string

func (*PersistentVolume) GetSizeBytes

func (x *PersistentVolume) GetSizeBytes() uint64

func (*PersistentVolume) ProtoMessage

func (*PersistentVolume) ProtoMessage()

func (*PersistentVolume) ProtoReflect

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

func (*PersistentVolume) Reset

func (x *PersistentVolume) Reset()

func (*PersistentVolume) String

func (x *PersistentVolume) String() string

type Platform

type Platform struct {

	// Architecture field specifies the CPU architecture, for example
	// `amd64` or `ppc64`.
	Architecture string `protobuf:"bytes,1,opt,name=architecture,proto3" json:"architecture,omitempty"`
	// OS specifies the operating system, for example `linux` or `windows`.
	Os      string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"`
	Variant string `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"`
	// contains filtered or unexported fields
}

func (*Platform) Descriptor deprecated

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

Deprecated: Use Platform.ProtoReflect.Descriptor instead.

func (*Platform) GetArchitecture

func (x *Platform) GetArchitecture() string

func (*Platform) GetOs

func (x *Platform) GetOs() string

func (*Platform) GetVariant

func (x *Platform) GetVariant() string

func (*Platform) ProtoMessage

func (*Platform) ProtoMessage()

func (*Platform) ProtoReflect

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

func (*Platform) Reset

func (x *Platform) Reset()

func (*Platform) String

func (x *Platform) String() string

type Provides

type Provides struct {
	Name        string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type        *TypeDef                `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	AvailableIn []*Provides_AvailableIn `protobuf:"bytes,3,rep,name=available_in,json=availableIn,proto3" json:"available_in,omitempty"`
	// Scoped dependencies instantiated for this provided type.
	Instantiate []*Instantiate `protobuf:"bytes,4,rep,name=instantiate,proto3" json:"instantiate,omitempty"`
	// contains filtered or unexported fields
}

func (*Provides) Descriptor deprecated

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

Deprecated: Use Provides.ProtoReflect.Descriptor instead.

func (*Provides) GetAvailableIn

func (x *Provides) GetAvailableIn() []*Provides_AvailableIn

func (*Provides) GetInstantiate

func (x *Provides) GetInstantiate() []*Instantiate

func (*Provides) GetName

func (x *Provides) GetName() string

func (*Provides) GetType

func (x *Provides) GetType() *TypeDef

func (*Provides) ProtoMessage

func (*Provides) ProtoMessage()

func (*Provides) ProtoReflect

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

func (*Provides) Reset

func (x *Provides) Reset()

func (*Provides) String

func (x *Provides) String() string

type Provides_AvailableIn

type Provides_AvailableIn struct {
	Go     *Provides_AvailableIn_Go     `protobuf:"bytes,1,opt,name=go,proto3" json:"go,omitempty"`
	Web    *Provides_AvailableIn_Web    `protobuf:"bytes,2,opt,name=web,proto3" json:"web,omitempty"`
	Nodejs *Provides_AvailableIn_NodeJs `protobuf:"bytes,3,opt,name=nodejs,proto3" json:"nodejs,omitempty"`
	// contains filtered or unexported fields
}

func (*Provides_AvailableIn) Descriptor deprecated

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

Deprecated: Use Provides_AvailableIn.ProtoReflect.Descriptor instead.

func (*Provides_AvailableIn) GetGo

func (*Provides_AvailableIn) GetNodejs

func (*Provides_AvailableIn) GetWeb

func (*Provides_AvailableIn) ProtoMessage

func (*Provides_AvailableIn) ProtoMessage()

func (*Provides_AvailableIn) ProtoReflect

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

func (*Provides_AvailableIn) ProvidedInFrameworks

func (p *Provides_AvailableIn) ProvidedInFrameworks() map[Framework]bool

func (*Provides_AvailableIn) Reset

func (x *Provides_AvailableIn) Reset()

func (*Provides_AvailableIn) String

func (x *Provides_AvailableIn) String() string

type Provides_AvailableIn_Go

type Provides_AvailableIn_Go struct {
	Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	Type    string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Provides_AvailableIn_Go) Descriptor deprecated

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

Deprecated: Use Provides_AvailableIn_Go.ProtoReflect.Descriptor instead.

func (*Provides_AvailableIn_Go) GetPackage

func (x *Provides_AvailableIn_Go) GetPackage() string

func (*Provides_AvailableIn_Go) GetType

func (x *Provides_AvailableIn_Go) GetType() string

func (*Provides_AvailableIn_Go) ProtoMessage

func (*Provides_AvailableIn_Go) ProtoMessage()

func (*Provides_AvailableIn_Go) ProtoReflect

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

func (*Provides_AvailableIn_Go) Reset

func (x *Provides_AvailableIn_Go) Reset()

func (*Provides_AvailableIn_Go) String

func (x *Provides_AvailableIn_Go) String() string

type Provides_AvailableIn_NodeJs

type Provides_AvailableIn_NodeJs struct {
	Import string `protobuf:"bytes,1,opt,name=import,proto3" json:"import,omitempty"`
	Type   string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Provides_AvailableIn_NodeJs) Descriptor deprecated

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

Deprecated: Use Provides_AvailableIn_NodeJs.ProtoReflect.Descriptor instead.

func (*Provides_AvailableIn_NodeJs) GetImport

func (x *Provides_AvailableIn_NodeJs) GetImport() string

func (*Provides_AvailableIn_NodeJs) GetType

func (x *Provides_AvailableIn_NodeJs) GetType() string

func (*Provides_AvailableIn_NodeJs) ProtoMessage

func (*Provides_AvailableIn_NodeJs) ProtoMessage()

func (*Provides_AvailableIn_NodeJs) ProtoReflect

func (*Provides_AvailableIn_NodeJs) Reset

func (x *Provides_AvailableIn_NodeJs) Reset()

func (*Provides_AvailableIn_NodeJs) String

func (x *Provides_AvailableIn_NodeJs) String() string

type Provides_AvailableIn_Web

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

func (*Provides_AvailableIn_Web) Descriptor deprecated

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

Deprecated: Use Provides_AvailableIn_Web.ProtoReflect.Descriptor instead.

func (*Provides_AvailableIn_Web) ProtoMessage

func (*Provides_AvailableIn_Web) ProtoMessage()

func (*Provides_AvailableIn_Web) ProtoReflect

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

func (*Provides_AvailableIn_Web) Reset

func (x *Provides_AvailableIn_Web) Reset()

func (*Provides_AvailableIn_Web) String

func (x *Provides_AvailableIn_Web) String() string

type Reference

type Reference struct {
	Kind        Reference_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=foundation.schema.Reference_Kind" json:"kind,omitempty"`
	CuePath     string         `protobuf:"bytes,2,opt,name=cue_path,json=cuePath,proto3" json:"cue_path,omitempty"`
	Image       string         `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	PackageName string         `protobuf:"bytes,4,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	FilePath    []string       `protobuf:"bytes,5,rep,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` // Relative to the module's path.
	// contains filtered or unexported fields
}

func (*Reference) Descriptor deprecated

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

Deprecated: Use Reference.ProtoReflect.Descriptor instead.

func (*Reference) GetCuePath

func (x *Reference) GetCuePath() string

func (*Reference) GetFilePath

func (x *Reference) GetFilePath() []string

func (*Reference) GetImage

func (x *Reference) GetImage() string

func (*Reference) GetKind

func (x *Reference) GetKind() Reference_Kind

func (*Reference) GetPackageName

func (x *Reference) GetPackageName() string

func (*Reference) ProtoMessage

func (*Reference) ProtoMessage()

func (*Reference) ProtoReflect

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

func (*Reference) Reset

func (x *Reference) Reset()

func (*Reference) String

func (x *Reference) String() string

type Reference_Kind

type Reference_Kind int32
const (
	Reference_KIND_UNSPECIFIED Reference_Kind = 0
	Reference_IMAGE            Reference_Kind = 1 // Uses `image`.
	Reference_SERVER           Reference_Kind = 2 // Uses `package_name`.
	Reference_SERVICE          Reference_Kind = 3 // Uses `package_name`.
	Reference_PROTO_DEPS       Reference_Kind = 4 // Uses `file_path`.
)

func (Reference_Kind) Descriptor

func (Reference_Kind) Enum

func (x Reference_Kind) Enum() *Reference_Kind

func (Reference_Kind) EnumDescriptor deprecated

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

Deprecated: Use Reference_Kind.Descriptor instead.

func (Reference_Kind) Number

func (Reference_Kind) String

func (x Reference_Kind) String() string

func (Reference_Kind) Type

type RequiredStorage

type RequiredStorage struct {
	Owner        string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // Package name.
	PersistentId string `protobuf:"bytes,2,opt,name=persistent_id,json=persistentId,proto3" json:"persistent_id,omitempty"`
	ByteCount    uint64 `protobuf:"varint,3,opt,name=byte_count,json=byteCount,proto3" json:"byte_count,omitempty"`
	MountPath    string `protobuf:"bytes,4,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// contains filtered or unexported fields
}

func (*RequiredStorage) Descriptor deprecated

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

Deprecated: Use RequiredStorage.ProtoReflect.Descriptor instead.

func (*RequiredStorage) GetByteCount

func (x *RequiredStorage) GetByteCount() uint64

func (*RequiredStorage) GetMountPath

func (x *RequiredStorage) GetMountPath() string

func (*RequiredStorage) GetOwner

func (x *RequiredStorage) GetOwner() string

func (*RequiredStorage) GetPersistentId

func (x *RequiredStorage) GetPersistentId() string

func (*RequiredStorage) ProtoMessage

func (*RequiredStorage) ProtoMessage()

func (*RequiredStorage) ProtoReflect

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

func (*RequiredStorage) Reset

func (x *RequiredStorage) Reset()

func (*RequiredStorage) String

func (x *RequiredStorage) String() string

type ResourceClass

type ResourceClass struct {
	PackageName  string              `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`    // Computed, where this resource class lives.
	Name         string              `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                     // The name of class. A resource class' package_name and name combine to form `class`.
	IntentType   *ResourceClass_Type `protobuf:"bytes,3,opt,name=intent_type,json=intentType,proto3" json:"intent_type,omitempty"`       // How is the resource defined.
	InstanceType *ResourceClass_Type `protobuf:"bytes,4,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"` // And what generated configuration is attached to each instance.
	// contains filtered or unexported fields
}

func (*ResourceClass) Descriptor deprecated

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

Deprecated: Use ResourceClass.ProtoReflect.Descriptor instead.

func (*ResourceClass) GetInstanceType

func (x *ResourceClass) GetInstanceType() *ResourceClass_Type

func (*ResourceClass) GetIntentType

func (x *ResourceClass) GetIntentType() *ResourceClass_Type

func (*ResourceClass) GetName

func (x *ResourceClass) GetName() string

func (*ResourceClass) GetPackageName

func (x *ResourceClass) GetPackageName() string

func (*ResourceClass) ProtoMessage

func (*ResourceClass) ProtoMessage()

func (*ResourceClass) ProtoReflect

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

func (*ResourceClass) Reset

func (x *ResourceClass) Reset()

func (*ResourceClass) String

func (x *ResourceClass) String() string

type ResourceClass_Type

type ResourceClass_Type struct {
	ProtoSource string `protobuf:"bytes,1,opt,name=proto_source,json=protoSource,proto3" json:"proto_source,omitempty"`
	ProtoType   string `protobuf:"bytes,2,opt,name=proto_type,json=protoType,proto3" json:"proto_type,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceClass_Type) Descriptor deprecated

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

Deprecated: Use ResourceClass_Type.ProtoReflect.Descriptor instead.

func (*ResourceClass_Type) GetProtoSource

func (x *ResourceClass_Type) GetProtoSource() string

func (*ResourceClass_Type) GetProtoType

func (x *ResourceClass_Type) GetProtoType() string

func (*ResourceClass_Type) ProtoMessage

func (*ResourceClass_Type) ProtoMessage()

func (*ResourceClass_Type) ProtoReflect

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

func (*ResourceClass_Type) Reset

func (x *ResourceClass_Type) Reset()

func (*ResourceClass_Type) String

func (x *ResourceClass_Type) String() string

type ResourceConfigFieldSelector added in v0.0.81

type ResourceConfigFieldSelector struct {
	Resource      *PackageRef `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	FieldSelector string      `protobuf:"bytes,2,opt,name=field_selector,json=fieldSelector,proto3" json:"field_selector,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceConfigFieldSelector) Descriptor deprecated added in v0.0.81

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

Deprecated: Use ResourceConfigFieldSelector.ProtoReflect.Descriptor instead.

func (*ResourceConfigFieldSelector) GetFieldSelector added in v0.0.81

func (x *ResourceConfigFieldSelector) GetFieldSelector() string

func (*ResourceConfigFieldSelector) GetResource added in v0.0.81

func (x *ResourceConfigFieldSelector) GetResource() *PackageRef

func (*ResourceConfigFieldSelector) ProtoMessage added in v0.0.81

func (*ResourceConfigFieldSelector) ProtoMessage()

func (*ResourceConfigFieldSelector) ProtoReflect added in v0.0.81

func (*ResourceConfigFieldSelector) Reset added in v0.0.81

func (x *ResourceConfigFieldSelector) Reset()

func (*ResourceConfigFieldSelector) String added in v0.0.81

func (x *ResourceConfigFieldSelector) String() string

type ResourceInstance

type ResourceInstance struct {
	PackageName string      `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // Computed, where this resource lives.
	Name        string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                  // The name of the resource, scoped to the package where it lives.
	Class       *PackageRef `protobuf:"bytes,3,opt,name=class,proto3" json:"class,omitempty"`                                // The class of resource being instantiated.
	Provider    string      `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`                          // Package name of the provider that knows how to instantiate this resource.
	// A resource is instantiated from an intent, which can be either specified inline, or be computed.
	Intent     *anypb.Any  `protobuf:"bytes,5,opt,name=intent,proto3" json:"intent,omitempty"`
	IntentFrom *Invocation `protobuf:"bytes,6,opt,name=intent_from,json=intentFrom,proto3" json:"intent_from,omitempty"`
	// Set of resources passed to provider. Must match the requirements set by the provider.
	InputResource []*ResourceInstance_InputResource `protobuf:"bytes,7,rep,name=input_resource,json=inputResource,proto3" json:"input_resource,omitempty"`
	// contains filtered or unexported fields
}

A resource represents an instance of an entity class, i.e. a _thing_ that has been instantiated to be used by a server, or by other resources.

func (*ResourceInstance) Descriptor deprecated

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

Deprecated: Use ResourceInstance.ProtoReflect.Descriptor instead.

func (*ResourceInstance) GetClass

func (x *ResourceInstance) GetClass() *PackageRef

func (*ResourceInstance) GetInputResource

func (x *ResourceInstance) GetInputResource() []*ResourceInstance_InputResource

func (*ResourceInstance) GetIntent

func (x *ResourceInstance) GetIntent() *anypb.Any

func (*ResourceInstance) GetIntentFrom

func (x *ResourceInstance) GetIntentFrom() *Invocation

func (*ResourceInstance) GetName

func (x *ResourceInstance) GetName() string

func (*ResourceInstance) GetPackageName

func (x *ResourceInstance) GetPackageName() string

func (*ResourceInstance) GetProvider

func (x *ResourceInstance) GetProvider() string

func (*ResourceInstance) ProtoMessage

func (*ResourceInstance) ProtoMessage()

func (*ResourceInstance) ProtoReflect

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

func (*ResourceInstance) Reset

func (x *ResourceInstance) Reset()

func (*ResourceInstance) String

func (x *ResourceInstance) String() string

type ResourceInstance_InputResource

type ResourceInstance_InputResource struct {
	Name        *PackageRef `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ResourceRef *PackageRef `protobuf:"bytes,2,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceInstance_InputResource) Descriptor deprecated

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

Deprecated: Use ResourceInstance_InputResource.ProtoReflect.Descriptor instead.

func (*ResourceInstance_InputResource) GetName

func (*ResourceInstance_InputResource) GetResourceRef

func (x *ResourceInstance_InputResource) GetResourceRef() *PackageRef

func (*ResourceInstance_InputResource) ProtoMessage

func (*ResourceInstance_InputResource) ProtoMessage()

func (*ResourceInstance_InputResource) ProtoReflect

func (*ResourceInstance_InputResource) Reset

func (x *ResourceInstance_InputResource) Reset()

func (*ResourceInstance_InputResource) String

type ResourcePack

type ResourcePack struct {
	ResourceRef      []*PackageRef       `protobuf:"bytes,1,rep,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"`
	ResourceInstance []*ResourceInstance `protobuf:"bytes,2,rep,name=resource_instance,json=resourceInstance,proto3" json:"resource_instance,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourcePack) Descriptor deprecated

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

Deprecated: Use ResourcePack.ProtoReflect.Descriptor instead.

func (*ResourcePack) GetResourceInstance

func (x *ResourcePack) GetResourceInstance() []*ResourceInstance

func (*ResourcePack) GetResourceRef

func (x *ResourcePack) GetResourceRef() []*PackageRef

func (*ResourcePack) ProtoMessage

func (*ResourcePack) ProtoMessage()

func (*ResourcePack) ProtoReflect

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

func (*ResourcePack) Reset

func (x *ResourcePack) Reset()

func (*ResourcePack) String

func (x *ResourcePack) String() string

type ResourceProvider

type ResourceProvider struct {
	PackageName                          string                            `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`             // Computed, where this provider lives.
	ProvidesClass                        *PackageRef                       `protobuf:"bytes,2,opt,name=provides_class,json=providesClass,proto3" json:"provides_class,omitempty"`       // The resource this provider supports.
	InitializedWith                      *Invocation                       `protobuf:"bytes,3,opt,name=initialized_with,json=initializedWith,proto3" json:"initialized_with,omitempty"` // Run this invocation to create the resource.
	PrepareWith                          *Invocation                       `protobuf:"bytes,5,opt,name=prepare_with,json=prepareWith,proto3" json:"prepare_with,omitempty"`             // Programatically specify a set of resources.
	ResourceInput                        []*ResourceProvider_ResourceInput `protobuf:"bytes,8,rep,name=resource_input,json=resourceInput,proto3" json:"resource_input,omitempty"`
	ResourcePack                         *ResourcePack                     `protobuf:"bytes,4,opt,name=resource_pack,json=resourcePack,proto3" json:"resource_pack,omitempty"` // Resources this provider depends on in order to instantiate its own resource.
	ResourceInstanceFromAvailableClasses []*PackageRef                     ``                                                                                                  // Resource classes that an invocation may produce (any instance of a different class will be rejected).
	/* 175-byte string literal not displayed */
	ResourceInstanceFromAvailableProviders []*PackageRef `` // Resource providers that an invocation may reference (any instance of a different class will be rejected).
	/* 181-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResourceProvider) Descriptor deprecated

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

Deprecated: Use ResourceProvider.ProtoReflect.Descriptor instead.

func (*ResourceProvider) GetInitializedWith

func (x *ResourceProvider) GetInitializedWith() *Invocation

func (*ResourceProvider) GetPackageName

func (x *ResourceProvider) GetPackageName() string

func (*ResourceProvider) GetPrepareWith

func (x *ResourceProvider) GetPrepareWith() *Invocation

func (*ResourceProvider) GetProvidesClass

func (x *ResourceProvider) GetProvidesClass() *PackageRef

func (*ResourceProvider) GetResourceInput

func (x *ResourceProvider) GetResourceInput() []*ResourceProvider_ResourceInput

func (*ResourceProvider) GetResourceInstanceFromAvailableClasses

func (x *ResourceProvider) GetResourceInstanceFromAvailableClasses() []*PackageRef

func (*ResourceProvider) GetResourceInstanceFromAvailableProviders

func (x *ResourceProvider) GetResourceInstanceFromAvailableProviders() []*PackageRef

func (*ResourceProvider) GetResourcePack

func (x *ResourceProvider) GetResourcePack() *ResourcePack

func (*ResourceProvider) ProtoMessage

func (*ResourceProvider) ProtoMessage()

func (*ResourceProvider) ProtoReflect

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

func (*ResourceProvider) Reset

func (x *ResourceProvider) Reset()

func (*ResourceProvider) String

func (x *ResourceProvider) String() string

type ResourceProvider_ResourceInput

type ResourceProvider_ResourceInput struct {
	Name  *PackageRef `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Class *PackageRef `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceProvider_ResourceInput) Descriptor deprecated

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

Deprecated: Use ResourceProvider_ResourceInput.ProtoReflect.Descriptor instead.

func (*ResourceProvider_ResourceInput) GetClass

func (*ResourceProvider_ResourceInput) GetName

func (*ResourceProvider_ResourceInput) ProtoMessage

func (*ResourceProvider_ResourceInput) ProtoMessage()

func (*ResourceProvider_ResourceInput) ProtoReflect

func (*ResourceProvider_ResourceInput) Reset

func (x *ResourceProvider_ResourceInput) Reset()

func (*ResourceProvider_ResourceInput) String

type ResourceSet

type ResourceSet struct {
	Resource []*FileContents `protobuf:"bytes,1,rep,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceSet) Descriptor deprecated

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

Deprecated: Use ResourceSet.ProtoReflect.Descriptor instead.

func (*ResourceSet) GetResource

func (x *ResourceSet) GetResource() []*FileContents

func (*ResourceSet) ProtoMessage

func (*ResourceSet) ProtoMessage()

func (*ResourceSet) ProtoReflect

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

func (*ResourceSet) Reset

func (x *ResourceSet) Reset()

func (*ResourceSet) String

func (x *ResourceSet) String() string

type ScheduleOrder

type ScheduleOrder struct {
	SchedCategory      []string `protobuf:"bytes,1,rep,name=sched_category,json=schedCategory,proto3" json:"sched_category,omitempty"`                  // Category for scheduling purposes. Categories are shared by multiple invocations.
	SchedAfterCategory []string `protobuf:"bytes,2,rep,name=sched_after_category,json=schedAfterCategory,proto3" json:"sched_after_category,omitempty"` // Run this invocation after all invocations of the specified category are run.
	// contains filtered or unexported fields
}

func (*ScheduleOrder) Descriptor deprecated

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

Deprecated: Use ScheduleOrder.ProtoReflect.Descriptor instead.

func (*ScheduleOrder) GetSchedAfterCategory

func (x *ScheduleOrder) GetSchedAfterCategory() []string

func (*ScheduleOrder) GetSchedCategory

func (x *ScheduleOrder) GetSchedCategory() []string

func (*ScheduleOrder) ProtoMessage

func (*ScheduleOrder) ProtoMessage()

func (*ScheduleOrder) ProtoReflect

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

func (*ScheduleOrder) Reset

func (x *ScheduleOrder) Reset()

func (*ScheduleOrder) String

func (x *ScheduleOrder) String() string

type Schema

type Schema struct {
	Service   []*Node   `protobuf:"bytes,1,rep,name=service,proto3" json:"service,omitempty"`
	Extension []*Node   `protobuf:"bytes,2,rep,name=extension,proto3" json:"extension,omitempty"`
	Server    []*Server `protobuf:"bytes,3,rep,name=server,proto3" json:"server,omitempty"`
	// contains filtered or unexported fields
}

A schema file may include services and server; but initially we constraint files to include exclusively one. That constraint is applied at `lint` time, i.e. when the schema file is loaded.

func (*Schema) Descriptor deprecated

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

Deprecated: Use Schema.ProtoReflect.Descriptor instead.

func (*Schema) ExtsAndServices

func (sc *Schema) ExtsAndServices() []*Node

func (*Schema) GetExtension

func (x *Schema) GetExtension() []*Node

func (*Schema) GetServer

func (x *Schema) GetServer() []*Server

func (*Schema) GetService

func (x *Schema) GetService() []*Node

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) ProtoReflect

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

func (*Schema) Reset

func (x *Schema) Reset()

func (*Schema) String

func (x *Schema) String() string

type SecretSpec

type SecretSpec struct {
	Name        string                   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string                   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Generate    *SecretSpec_GenerateSpec `protobuf:"bytes,5,opt,name=generate,proto3" json:"generate,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretSpec) Descriptor deprecated

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

Deprecated: Use SecretSpec.ProtoReflect.Descriptor instead.

func (*SecretSpec) GetDescription

func (x *SecretSpec) GetDescription() string

func (*SecretSpec) GetGenerate

func (x *SecretSpec) GetGenerate() *SecretSpec_GenerateSpec

func (*SecretSpec) GetName

func (x *SecretSpec) GetName() string

func (*SecretSpec) ProtoMessage

func (*SecretSpec) ProtoMessage()

func (*SecretSpec) ProtoReflect

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

func (*SecretSpec) Reset

func (x *SecretSpec) Reset()

func (*SecretSpec) String

func (x *SecretSpec) String() string

type SecretSpec_GenerateSpec

type SecretSpec_GenerateSpec struct {
	UniqueId        string                         `protobuf:"bytes,1,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` // If not set, will default to a value derived from the secret reference.
	RandomByteCount int32                          `protobuf:"varint,2,opt,name=random_byte_count,json=randomByteCount,proto3" json:"random_byte_count,omitempty"`
	Format          SecretSpec_GenerateSpec_Format `protobuf:"varint,3,opt,name=format,proto3,enum=foundation.schema.SecretSpec_GenerateSpec_Format" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretSpec_GenerateSpec) Descriptor deprecated

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

Deprecated: Use SecretSpec_GenerateSpec.ProtoReflect.Descriptor instead.

func (*SecretSpec_GenerateSpec) GetFormat

func (*SecretSpec_GenerateSpec) GetRandomByteCount

func (x *SecretSpec_GenerateSpec) GetRandomByteCount() int32

func (*SecretSpec_GenerateSpec) GetUniqueId

func (x *SecretSpec_GenerateSpec) GetUniqueId() string

func (*SecretSpec_GenerateSpec) ProtoMessage

func (*SecretSpec_GenerateSpec) ProtoMessage()

func (*SecretSpec_GenerateSpec) ProtoReflect

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

func (*SecretSpec_GenerateSpec) Reset

func (x *SecretSpec_GenerateSpec) Reset()

func (*SecretSpec_GenerateSpec) String

func (x *SecretSpec_GenerateSpec) String() string

type SecretSpec_GenerateSpec_Format

type SecretSpec_GenerateSpec_Format int32
const (
	SecretSpec_GenerateSpec_FORMAT_UNKNOWN SecretSpec_GenerateSpec_Format = 0 // Defaults to base64.
	SecretSpec_GenerateSpec_FORMAT_BASE64  SecretSpec_GenerateSpec_Format = 1
	SecretSpec_GenerateSpec_FORMAT_BASE32  SecretSpec_GenerateSpec_Format = 2
)

func (SecretSpec_GenerateSpec_Format) Descriptor

func (SecretSpec_GenerateSpec_Format) Enum

func (SecretSpec_GenerateSpec_Format) EnumDescriptor deprecated

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

Deprecated: Use SecretSpec_GenerateSpec_Format.Descriptor instead.

func (SecretSpec_GenerateSpec_Format) Number

func (SecretSpec_GenerateSpec_Format) String

func (SecretSpec_GenerateSpec_Format) Type

type SerializedInvocation

type SerializedInvocation struct {

	// Human readable description of the definition, does not affect output.
	// Presented to the user on invocation.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// The list of packages this invocation applies to. Purely informational,
	// does not affect output.
	Scope []string `protobuf:"bytes,3,rep,name=scope,proto3" json:"scope,omitempty"`
	// Arguments to the method. The type of the arguments is used to select the
	// method implementation.
	Impl *anypb.Any `protobuf:"bytes,2,opt,name=impl,proto3" json:"impl,omitempty"`
	// Computed arguments that may be used by the implementation.
	Computed []*SerializedInvocation_ComputedValue `protobuf:"bytes,4,rep,name=computed,proto3" json:"computed,omitempty"`
	// Set of outputs this invocation depends on.
	RequiredOutput []string       `protobuf:"bytes,6,rep,name=required_output,json=requiredOutput,proto3" json:"required_output,omitempty"`
	Order          *ScheduleOrder `protobuf:"bytes,5,opt,name=order,proto3" json:"order,omitempty"` // If not specified, is computed based on impl type.
	// contains filtered or unexported fields
}

A definition represents a serialized invocation. It captures the arguments for a method which is registered by an implementation. It thus provides a form of decoupling, and allows for a frontend/backend design, with separate planning/execution phases.

func (*SerializedInvocation) Descriptor deprecated

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

Deprecated: Use SerializedInvocation.ProtoReflect.Descriptor instead.

func (*SerializedInvocation) GetComputed

func (*SerializedInvocation) GetDescription

func (x *SerializedInvocation) GetDescription() string

func (*SerializedInvocation) GetImpl

func (x *SerializedInvocation) GetImpl() *anypb.Any

func (*SerializedInvocation) GetOrder

func (x *SerializedInvocation) GetOrder() *ScheduleOrder

func (*SerializedInvocation) GetRequiredOutput

func (x *SerializedInvocation) GetRequiredOutput() []string

func (*SerializedInvocation) GetScope

func (x *SerializedInvocation) GetScope() []string

func (*SerializedInvocation) ProtoMessage

func (*SerializedInvocation) ProtoMessage()

func (*SerializedInvocation) ProtoReflect

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

func (*SerializedInvocation) Reset

func (x *SerializedInvocation) Reset()

func (*SerializedInvocation) String

func (x *SerializedInvocation) String() string

type SerializedInvocationSource

type SerializedInvocationSource struct {

	// Human readable description of the definition, does not affect output.
	// Presented to the user on invocation.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// The list of packages this invocation applies to. Purely informational,
	// does not affect output.
	Scope []string `protobuf:"bytes,2,rep,name=scope,proto3" json:"scope,omitempty"`
	// Arguments to the method. The type of the arguments is used to select the
	// method implementation.
	Impl *anypb.Any `protobuf:"bytes,3,opt,name=impl,proto3" json:"impl,omitempty"`
	// Arguments to be computed to pass to the SerializedInvocation.
	Computable []*SerializedInvocationSource_ComputableValue `protobuf:"bytes,4,rep,name=computable,proto3" json:"computable,omitempty"`
	Order      *ScheduleOrder                                `protobuf:"bytes,5,opt,name=order,proto3" json:"order,omitempty"` // If not specified, is computed based on impl type.
	// contains filtered or unexported fields
}

An invocation that requires compilation, and will yield a SerializedInvocation.

func (*SerializedInvocationSource) Descriptor deprecated

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

Deprecated: Use SerializedInvocationSource.ProtoReflect.Descriptor instead.

func (*SerializedInvocationSource) GetComputable

func (*SerializedInvocationSource) GetDescription

func (x *SerializedInvocationSource) GetDescription() string

func (*SerializedInvocationSource) GetImpl

func (x *SerializedInvocationSource) GetImpl() *anypb.Any

func (*SerializedInvocationSource) GetOrder

func (*SerializedInvocationSource) GetScope

func (x *SerializedInvocationSource) GetScope() []string

func (*SerializedInvocationSource) ProtoMessage

func (*SerializedInvocationSource) ProtoMessage()

func (*SerializedInvocationSource) ProtoReflect

func (*SerializedInvocationSource) Reset

func (x *SerializedInvocationSource) Reset()

func (*SerializedInvocationSource) String

func (x *SerializedInvocationSource) String() string

type SerializedInvocationSource_ComputableValue

type SerializedInvocationSource_ComputableValue struct {
	Name  string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value *anypb.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SerializedInvocationSource_ComputableValue) Descriptor deprecated

Deprecated: Use SerializedInvocationSource_ComputableValue.ProtoReflect.Descriptor instead.

func (*SerializedInvocationSource_ComputableValue) GetName

func (*SerializedInvocationSource_ComputableValue) GetValue

func (*SerializedInvocationSource_ComputableValue) ProtoMessage

func (*SerializedInvocationSource_ComputableValue) ProtoReflect

func (*SerializedInvocationSource_ComputableValue) Reset

func (*SerializedInvocationSource_ComputableValue) String

type SerializedInvocation_ComputedValue

type SerializedInvocation_ComputedValue struct {
	Name  string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value *anypb.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SerializedInvocation_ComputedValue) Descriptor deprecated

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

Deprecated: Use SerializedInvocation_ComputedValue.ProtoReflect.Descriptor instead.

func (*SerializedInvocation_ComputedValue) GetName

func (*SerializedInvocation_ComputedValue) GetValue

func (*SerializedInvocation_ComputedValue) ProtoMessage

func (*SerializedInvocation_ComputedValue) ProtoMessage()

func (*SerializedInvocation_ComputedValue) ProtoReflect

func (*SerializedInvocation_ComputedValue) Reset

func (*SerializedInvocation_ComputedValue) String

type SerializedMessage

type SerializedMessage struct {
	Name  []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` // Full proto name.
	Value []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SerializedMessage) Descriptor deprecated

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

Deprecated: Use SerializedMessage.ProtoReflect.Descriptor instead.

func (*SerializedMessage) GetName

func (x *SerializedMessage) GetName() []string

func (*SerializedMessage) GetValue

func (x *SerializedMessage) GetValue() []byte

func (*SerializedMessage) ProtoMessage

func (*SerializedMessage) ProtoMessage()

func (*SerializedMessage) ProtoReflect

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

func (*SerializedMessage) Reset

func (x *SerializedMessage) Reset()

func (*SerializedMessage) String

func (x *SerializedMessage) String() string

type SerializedProgram

type SerializedProgram struct {
	Invocation []*SerializedInvocation `protobuf:"bytes,1,rep,name=invocation,proto3" json:"invocation,omitempty"`
	// contains filtered or unexported fields
}

func (*SerializedProgram) Descriptor deprecated

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

Deprecated: Use SerializedProgram.ProtoReflect.Descriptor instead.

func (*SerializedProgram) GetInvocation

func (x *SerializedProgram) GetInvocation() []*SerializedInvocation

func (*SerializedProgram) ProtoMessage

func (*SerializedProgram) ProtoMessage()

func (*SerializedProgram) ProtoReflect

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

func (*SerializedProgram) Reset

func (x *SerializedProgram) Reset()

func (*SerializedProgram) String

func (x *SerializedProgram) String() string

type Server

type Server struct {

	// The package name (computed).
	PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	// The module name (computed).
	ModuleName string `protobuf:"bytes,5,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
	// In order to decouple code location and production resources, we refer
	// to the service through it's ID; which must remain constant during the
	// life of the service.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// A name for a person-user to read and refer to.
	Name        string              `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description *Server_Description `protobuf:"bytes,23,opt,name=description,proto3" json:"description,omitempty"`
	// The computed list of dependency URLs of this server (direct and indirect).
	Import []string `protobuf:"bytes,4,rep,name=import,proto3" json:"import,omitempty"`
	// Framework-specific extensions.
	Ext []*anypb.Any `protobuf:"bytes,6,rep,name=ext,proto3" json:"ext,omitempty"`
	// All of the allocations performed in this server's dependency tree.
	Allocation      []*Allocation `protobuf:"bytes,7,rep,name=allocation,proto3" json:"allocation,omitempty"`
	Framework       Framework     `protobuf:"varint,8,opt,name=framework,proto3,enum=foundation.schema.Framework" json:"framework,omitempty"`
	IsStateful      bool          `protobuf:"varint,20,opt,name=is_stateful,json=isStateful,proto3" json:"is_stateful,omitempty"`
	DeployableClass string        `protobuf:"bytes,31,opt,name=deployable_class,json=deployableClass,proto3" json:"deployable_class,omitempty"`
	// This server is meant to be used for tests, and should not be deployed by default.
	Testonly bool `protobuf:"varint,21,opt,name=testonly,proto3" json:"testonly,omitempty"`
	// Indicates if a server should be considered for location-less invocations.
	// E.g. `ns deploy` should not deploy test only servers, unless explicitly mentioned.
	RunByDefault  bool                  `protobuf:"varint,29,opt,name=run_by_default,json=runByDefault,proto3" json:"run_by_default,omitempty"`
	MainContainer *SidecarContainer     `protobuf:"bytes,33,opt,name=main_container,json=mainContainer,proto3" json:"main_container,omitempty"`
	Service       []*Server_ServiceSpec `protobuf:"bytes,10,rep,name=service,proto3" json:"service,omitempty"`
	Ingress       []*Server_ServiceSpec `protobuf:"bytes,11,rep,name=ingress,proto3" json:"ingress,omitempty"`
	Reference     []*Reference          `protobuf:"bytes,12,rep,name=reference,proto3" json:"reference,omitempty"`
	// Set of dependencies specified explicitly by the user.
	UserImports []string `protobuf:"bytes,14,rep,name=user_imports,json=userImports,proto3" json:"user_imports,omitempty"`
	// Set of URL prefixes this server declares supporting.
	UrlMap []*Server_URLMapEntry `protobuf:"bytes,15,rep,name=url_map,json=urlMap,proto3" json:"url_map,omitempty"`
	// A set of ports that this server exports and require no configuration.
	StaticPort             []*Endpoint_Port                 `protobuf:"bytes,16,rep,name=static_port,json=staticPort,proto3" json:"static_port,omitempty"`
	EnvironmentRequirement []*Server_EnvironmentRequirement `` /* 128-byte string literal not displayed */
	// Includes file-level and inlined volumes.
	Volume       []*Volume     `protobuf:"bytes,26,rep,name=volume,proto3" json:"volume,omitempty"`
	ResourcePack *ResourcePack `protobuf:"bytes,35,opt,name=resource_pack,json=resourcePack,proto3" json:"resource_pack,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 37

func (*Server) Descriptor deprecated

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

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) ErrorLocation

func (s *Server) ErrorLocation() string

func (*Server) GetAllocation

func (x *Server) GetAllocation() []*Allocation

func (*Server) GetDeployableClass

func (x *Server) GetDeployableClass() string

func (*Server) GetDescription

func (x *Server) GetDescription() *Server_Description

func (*Server) GetEnvironmentRequirement

func (x *Server) GetEnvironmentRequirement() []*Server_EnvironmentRequirement

func (*Server) GetExt

func (x *Server) GetExt() []*anypb.Any

func (*Server) GetFramework

func (x *Server) GetFramework() Framework

func (*Server) GetId

func (x *Server) GetId() string

func (*Server) GetImport

func (x *Server) GetImport() []string

func (*Server) GetImportedPackages

func (s *Server) GetImportedPackages() []PackageName

func (*Server) GetIngress

func (x *Server) GetIngress() []*Server_ServiceSpec

func (*Server) GetIsStateful

func (x *Server) GetIsStateful() bool

func (*Server) GetMainContainer

func (x *Server) GetMainContainer() *SidecarContainer

func (*Server) GetModuleName

func (x *Server) GetModuleName() string

func (*Server) GetName

func (x *Server) GetName() string

func (*Server) GetPackageName

func (x *Server) GetPackageName() string

func (*Server) GetPackageRef added in v0.0.83

func (x *Server) GetPackageRef() *PackageRef

func (*Server) GetReference

func (x *Server) GetReference() []*Reference

func (*Server) GetResourcePack

func (x *Server) GetResourcePack() *ResourcePack

func (*Server) GetRunByDefault

func (x *Server) GetRunByDefault() bool

func (*Server) GetService

func (x *Server) GetService() []*Server_ServiceSpec

func (*Server) GetStaticPort

func (x *Server) GetStaticPort() []*Endpoint_Port

func (*Server) GetTestonly

func (x *Server) GetTestonly() bool

func (*Server) GetUrlMap

func (x *Server) GetUrlMap() []*Server_URLMapEntry

func (*Server) GetUserImports

func (x *Server) GetUserImports() []string

func (*Server) GetVolume

func (x *Server) GetVolume() []*Volume

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect

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

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

type ServerExtension

type ServerExtension struct {
	Owner           string                `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`                                   // Package name.
	TargetServer    string                `protobuf:"bytes,2,opt,name=target_server,json=targetServer,proto3" json:"target_server,omitempty"` // Package name.
	Volume          []*Volume             `protobuf:"bytes,3,rep,name=volume,proto3" json:"volume,omitempty"`
	ExtendContainer []*ContainerExtension `protobuf:"bytes,5,rep,name=extend_container,json=extendContainer,proto3" json:"extend_container,omitempty"`
	// contains filtered or unexported fields
}

Server extensions which are dynamically provided by tools.

func (*ServerExtension) Descriptor deprecated

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

Deprecated: Use ServerExtension.ProtoReflect.Descriptor instead.

func (*ServerExtension) GetExtendContainer

func (x *ServerExtension) GetExtendContainer() []*ContainerExtension

func (*ServerExtension) GetOwner

func (x *ServerExtension) GetOwner() string

func (*ServerExtension) GetTargetServer

func (x *ServerExtension) GetTargetServer() string

func (*ServerExtension) GetVolume

func (x *ServerExtension) GetVolume() []*Volume

func (*ServerExtension) ProtoMessage

func (*ServerExtension) ProtoMessage()

func (*ServerExtension) ProtoReflect

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

func (*ServerExtension) Reset

func (x *ServerExtension) Reset()

func (*ServerExtension) String

func (x *ServerExtension) String() string

type Server_Description

type Server_Description struct {
	Label   string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	Url     string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	IconUrl string `protobuf:"bytes,3,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_Description) Descriptor deprecated

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

Deprecated: Use Server_Description.ProtoReflect.Descriptor instead.

func (*Server_Description) GetIconUrl

func (x *Server_Description) GetIconUrl() string

func (*Server_Description) GetLabel

func (x *Server_Description) GetLabel() string

func (*Server_Description) GetUrl

func (x *Server_Description) GetUrl() string

func (*Server_Description) ProtoMessage

func (*Server_Description) ProtoMessage()

func (*Server_Description) ProtoReflect

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

func (*Server_Description) Reset

func (x *Server_Description) Reset()

func (*Server_Description) String

func (x *Server_Description) String() string

type Server_EnvironmentRequirement

type Server_EnvironmentRequirement struct {
	Package                     string   `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	EnvironmentHasLabel         []*Label `protobuf:"bytes,2,rep,name=environment_has_label,json=environmentHasLabel,proto3" json:"environment_has_label,omitempty"`
	EnvironmentDoesNotHaveLabel []*Label `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Server_EnvironmentRequirement) Descriptor deprecated

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

Deprecated: Use Server_EnvironmentRequirement.ProtoReflect.Descriptor instead.

func (*Server_EnvironmentRequirement) GetEnvironmentDoesNotHaveLabel

func (x *Server_EnvironmentRequirement) GetEnvironmentDoesNotHaveLabel() []*Label

func (*Server_EnvironmentRequirement) GetEnvironmentHasLabel

func (x *Server_EnvironmentRequirement) GetEnvironmentHasLabel() []*Label

func (*Server_EnvironmentRequirement) GetPackage

func (x *Server_EnvironmentRequirement) GetPackage() string

func (*Server_EnvironmentRequirement) ProtoMessage

func (*Server_EnvironmentRequirement) ProtoMessage()

func (*Server_EnvironmentRequirement) ProtoReflect

func (*Server_EnvironmentRequirement) Reset

func (x *Server_EnvironmentRequirement) Reset()

func (*Server_EnvironmentRequirement) String

type Server_ServiceSpec

type Server_ServiceSpec struct {
	Name     string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Label    string             `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"`
	Metadata []*ServiceMetadata `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty"`
	Port     *Endpoint_Port     `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"`
	Internal bool               `protobuf:"varint,4,opt,name=internal,proto3" json:"internal,omitempty"` // This service is of no relevance for development.
	// contains filtered or unexported fields
}

func (*Server_ServiceSpec) Descriptor deprecated

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

Deprecated: Use Server_ServiceSpec.ProtoReflect.Descriptor instead.

func (*Server_ServiceSpec) GetInternal

func (x *Server_ServiceSpec) GetInternal() bool

func (*Server_ServiceSpec) GetLabel

func (x *Server_ServiceSpec) GetLabel() string

func (*Server_ServiceSpec) GetMetadata

func (x *Server_ServiceSpec) GetMetadata() []*ServiceMetadata

func (*Server_ServiceSpec) GetName

func (x *Server_ServiceSpec) GetName() string

func (*Server_ServiceSpec) GetPort

func (x *Server_ServiceSpec) GetPort() *Endpoint_Port

func (*Server_ServiceSpec) ProtoMessage

func (*Server_ServiceSpec) ProtoMessage()

func (*Server_ServiceSpec) ProtoReflect

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

func (*Server_ServiceSpec) Reset

func (x *Server_ServiceSpec) Reset()

func (*Server_ServiceSpec) String

func (x *Server_ServiceSpec) String() string

type Server_URLMapEntry

type Server_URLMapEntry struct {
	PathPrefix  string `protobuf:"bytes,1,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
	PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	IngressName string `protobuf:"bytes,3,opt,name=ingress_name,json=ingressName,proto3" json:"ingress_name,omitempty"`
	Kind        string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_URLMapEntry) Descriptor deprecated

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

Deprecated: Use Server_URLMapEntry.ProtoReflect.Descriptor instead.

func (*Server_URLMapEntry) GetIngressName

func (x *Server_URLMapEntry) GetIngressName() string

func (*Server_URLMapEntry) GetKind

func (x *Server_URLMapEntry) GetKind() string

func (*Server_URLMapEntry) GetPackageName

func (x *Server_URLMapEntry) GetPackageName() string

func (*Server_URLMapEntry) GetPathPrefix

func (x *Server_URLMapEntry) GetPathPrefix() string

func (*Server_URLMapEntry) ProtoMessage

func (*Server_URLMapEntry) ProtoMessage()

func (*Server_URLMapEntry) ProtoReflect

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

func (*Server_URLMapEntry) Reset

func (x *Server_URLMapEntry) Reset()

func (*Server_URLMapEntry) String

func (x *Server_URLMapEntry) String() string

type ServiceMetadata

type ServiceMetadata struct {
	Kind     string     `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Protocol string     `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Details  *anypb.Any `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceMetadata) Descriptor deprecated

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

Deprecated: Use ServiceMetadata.ProtoReflect.Descriptor instead.

func (*ServiceMetadata) GetDetails

func (x *ServiceMetadata) GetDetails() *anypb.Any

func (*ServiceMetadata) GetKind

func (x *ServiceMetadata) GetKind() string

func (*ServiceMetadata) GetProtocol

func (x *ServiceMetadata) GetProtocol() string

func (*ServiceMetadata) ProtoMessage

func (*ServiceMetadata) ProtoMessage()

func (*ServiceMetadata) ProtoReflect

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

func (*ServiceMetadata) Reset

func (x *ServiceMetadata) Reset()

func (*ServiceMetadata) String

func (x *ServiceMetadata) String() string

type ServiceRef added in v0.0.76

type ServiceRef struct {
	ServerRef   *PackageRef `protobuf:"bytes,1,opt,name=server_ref,json=serverRef,proto3" json:"server_ref,omitempty"`
	ServiceName string      `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceRef) Descriptor deprecated added in v0.0.76

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

Deprecated: Use ServiceRef.ProtoReflect.Descriptor instead.

func (*ServiceRef) GetServerRef added in v0.0.76

func (x *ServiceRef) GetServerRef() *PackageRef

func (*ServiceRef) GetServiceName added in v0.0.76

func (x *ServiceRef) GetServiceName() string

func (*ServiceRef) ProtoMessage added in v0.0.76

func (*ServiceRef) ProtoMessage()

func (*ServiceRef) ProtoReflect added in v0.0.76

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

func (*ServiceRef) Reset added in v0.0.76

func (x *ServiceRef) Reset()

func (*ServiceRef) String added in v0.0.76

func (x *ServiceRef) String() string

type ShellScriptIntegration

type ShellScriptIntegration struct {
	Entrypoint string `protobuf:"bytes,1,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	// Additional packages to install in the base image. By default, bash and curl are installed.
	RequiredPackages []string `protobuf:"bytes,2,rep,name=required_packages,json=requiredPackages,proto3" json:"required_packages,omitempty"`
	// contains filtered or unexported fields
}

func (*ShellScriptIntegration) Descriptor deprecated

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

Deprecated: Use ShellScriptIntegration.ProtoReflect.Descriptor instead.

func (*ShellScriptIntegration) GetEntrypoint

func (x *ShellScriptIntegration) GetEntrypoint() string

func (*ShellScriptIntegration) GetRequiredPackages

func (x *ShellScriptIntegration) GetRequiredPackages() []string

func (*ShellScriptIntegration) ProtoMessage

func (*ShellScriptIntegration) ProtoMessage()

func (*ShellScriptIntegration) ProtoReflect

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

func (*ShellScriptIntegration) Reset

func (x *ShellScriptIntegration) Reset()

func (*ShellScriptIntegration) String

func (x *ShellScriptIntegration) String() string

type SidecarContainer

type SidecarContainer struct {
	Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` // Package name.
	// Deprecated, use binary_ref
	Binary    string                   `protobuf:"bytes,1,opt,name=binary,proto3" json:"binary,omitempty"`
	BinaryRef *PackageRef              `protobuf:"bytes,4,opt,name=binary_ref,json=binaryRef,proto3" json:"binary_ref,omitempty"`
	Name      string                   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Args      []string                 `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	Env       []*BinaryConfig_EnvEntry `protobuf:"bytes,6,rep,name=env,proto3" json:"env,omitempty"`
	Mount     []*Mount                 `protobuf:"bytes,7,rep,name=mount,proto3" json:"mount,omitempty"`
	// contains filtered or unexported fields
}

TODO: rename to "Container".

func (*SidecarContainer) Descriptor deprecated

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

Deprecated: Use SidecarContainer.ProtoReflect.Descriptor instead.

func (*SidecarContainer) GetArgs

func (x *SidecarContainer) GetArgs() []string

func (*SidecarContainer) GetBinary

func (x *SidecarContainer) GetBinary() string

func (*SidecarContainer) GetBinaryRef

func (x *SidecarContainer) GetBinaryRef() *PackageRef

func (*SidecarContainer) GetEnv

func (x *SidecarContainer) GetEnv() []*BinaryConfig_EnvEntry

func (*SidecarContainer) GetMount

func (x *SidecarContainer) GetMount() []*Mount

func (*SidecarContainer) GetName

func (x *SidecarContainer) GetName() string

func (*SidecarContainer) GetOwner

func (x *SidecarContainer) GetOwner() string

func (*SidecarContainer) ProtoMessage

func (*SidecarContainer) ProtoMessage()

func (*SidecarContainer) ProtoReflect

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

func (*SidecarContainer) Reset

func (x *SidecarContainer) Reset()

func (*SidecarContainer) String

func (x *SidecarContainer) String() string

type Stack

type Stack struct {
	Entry            []*Stack_Entry      `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
	Endpoint         []*Endpoint         `protobuf:"bytes,2,rep,name=endpoint,proto3" json:"endpoint,omitempty"`
	InternalEndpoint []*InternalEndpoint `protobuf:"bytes,3,rep,name=internal_endpoint,json=internalEndpoint,proto3" json:"internal_endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*Stack) Descriptor deprecated

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

Deprecated: Use Stack.ProtoReflect.Descriptor instead.

func (*Stack) EndpointsBy

func (s *Stack) EndpointsBy(pkgName PackageName) []*Endpoint

func (*Stack) GetEndpoint

func (x *Stack) GetEndpoint() []*Endpoint

func (*Stack) GetEntry

func (x *Stack) GetEntry() []*Stack_Entry

func (*Stack) GetInternalEndpoint

func (x *Stack) GetInternalEndpoint() []*InternalEndpoint

func (*Stack) GetServer

func (s *Stack) GetServer(pkg PackageName) *Stack_Entry

func (*Stack) GetServerByID

func (s *Stack) GetServerByID(id string) *Stack_Entry

func (*Stack) ProtoMessage

func (*Stack) ProtoMessage()

func (*Stack) ProtoReflect

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

func (*Stack) Reset

func (x *Stack) Reset()

func (*Stack) String

func (x *Stack) String() string

type Stack_Entry

type Stack_Entry struct {
	Server       *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	ServerNaming *Naming `protobuf:"bytes,3,opt,name=server_naming,json=serverNaming,proto3" json:"server_naming,omitempty"`
	Node         []*Node `protobuf:"bytes,2,rep,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*Stack_Entry) Descriptor deprecated

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

Deprecated: Use Stack_Entry.ProtoReflect.Descriptor instead.

func (*Stack_Entry) Extensions

func (se *Stack_Entry) Extensions() []*Node

func (*Stack_Entry) ExtsAndServices

func (se *Stack_Entry) ExtsAndServices() []*Node

func (*Stack_Entry) GetNode

func (x *Stack_Entry) GetNode() []*Node

func (*Stack_Entry) GetPackageName

func (se *Stack_Entry) GetPackageName() PackageName

func (*Stack_Entry) GetServer

func (x *Stack_Entry) GetServer() *Server

func (*Stack_Entry) GetServerNaming

func (x *Stack_Entry) GetServerNaming() *Naming

func (*Stack_Entry) ImportsOf

func (se *Stack_Entry) ImportsOf(pkg PackageName) []PackageName

func (*Stack_Entry) ProtoMessage

func (*Stack_Entry) ProtoMessage()

func (*Stack_Entry) ProtoReflect

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

func (*Stack_Entry) Reset

func (x *Stack_Entry) Reset()

func (*Stack_Entry) Services

func (se *Stack_Entry) Services() []*Node

func (*Stack_Entry) String

func (x *Stack_Entry) String() string

type StartupPlan

type StartupPlan struct {
	Args []string                 `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	Env  []*BinaryConfig_EnvEntry `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"`
	// contains filtered or unexported fields
}

func (*StartupPlan) Descriptor deprecated

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

Deprecated: Use StartupPlan.ProtoReflect.Descriptor instead.

func (*StartupPlan) GetArgs

func (x *StartupPlan) GetArgs() []string

func (*StartupPlan) GetEnv

func (x *StartupPlan) GetEnv() []*BinaryConfig_EnvEntry

func (*StartupPlan) ProtoMessage

func (*StartupPlan) ProtoMessage()

func (*StartupPlan) ProtoReflect

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

func (*StartupPlan) Reset

func (x *StartupPlan) Reset()

func (*StartupPlan) String

func (x *StartupPlan) String() string

type Test

type Test struct {

	// The package name (computed).
	PackageName      string        `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	Name             string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Driver           *Binary       `protobuf:"bytes,3,opt,name=driver,proto3" json:"driver,omitempty"` // TODO this should be a binary ref
	BinaryConfig     *BinaryConfig `protobuf:"bytes,6,opt,name=binary_config,json=binaryConfig,proto3" json:"binary_config,omitempty"`
	ServersUnderTest []string      `protobuf:"bytes,4,rep,name=serversUnderTest,proto3" json:"serversUnderTest,omitempty"`
	// Integration that needs to be applied to this test. May be nil.
	// Shouldn't be used outside of workspace.FinalizePackage.
	Integration *Integration `protobuf:"bytes,5,opt,name=integration,proto3" json:"integration,omitempty"`
	Tag         []string     `protobuf:"bytes,7,rep,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*Test) Descriptor deprecated

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

Deprecated: Use Test.ProtoReflect.Descriptor instead.

func (*Test) GetBinaryConfig added in v0.0.83

func (x *Test) GetBinaryConfig() *BinaryConfig

func (*Test) GetDriver

func (x *Test) GetDriver() *Binary

func (*Test) GetIntegration added in v0.0.72

func (x *Test) GetIntegration() *Integration

func (*Test) GetName

func (x *Test) GetName() string

func (*Test) GetPackageName

func (x *Test) GetPackageName() string

func (*Test) GetServersUnderTest

func (x *Test) GetServersUnderTest() []string

func (*Test) GetTag added in v0.0.90

func (x *Test) GetTag() []string

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) ProtoReflect

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

func (*Test) Reset

func (x *Test) Reset()

func (*Test) String

func (x *Test) String() string

type TypeDef

type TypeDef struct {

	// The type made available for configuration.
	Typename string `protobuf:"bytes,1,opt,name=typename,proto3" json:"typename,omitempty"`
	// Paths to the protos that define the types available as a provider. Paths
	// must be relative to the package.
	Source []string `protobuf:"bytes,2,rep,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*TypeDef) Descriptor deprecated

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

Deprecated: Use TypeDef.ProtoReflect.Descriptor instead.

func (*TypeDef) GetSource

func (x *TypeDef) GetSource() []string

func (*TypeDef) GetTypename

func (x *TypeDef) GetTypename() string

func (*TypeDef) ProtoMessage

func (*TypeDef) ProtoMessage()

func (*TypeDef) ProtoReflect

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

func (*TypeDef) Reset

func (x *TypeDef) Reset()

func (*TypeDef) String

func (x *TypeDef) String() string

type Volume

type Volume struct {
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // Package that declared the volume.
	// The type of volume.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Explicit if defined at the file level, auto-generated if inlined.
	// Volumes then referenced by the name from "mounts".
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// If true, runtimes may generate a new, compliant name for this volume and its mounts.
	Inline     bool       `protobuf:"varint,5,opt,name=inline,proto3" json:"inline,omitempty"`
	Definition *anypb.Any `protobuf:"bytes,4,opt,name=definition,proto3" json:"definition,omitempty"`
	// contains filtered or unexported fields
}

func (*Volume) Descriptor deprecated

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

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetDefinition

func (x *Volume) GetDefinition() *anypb.Any

func (*Volume) GetInline

func (x *Volume) GetInline() bool

func (*Volume) GetKind

func (x *Volume) GetKind() string

func (*Volume) GetName

func (x *Volume) GetName() string

func (*Volume) GetOwner

func (x *Volume) GetOwner() string

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) ProtoReflect

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

func (*Volume) Reset

func (x *Volume) Reset()

func (*Volume) String

func (x *Volume) String() string

type WebBuild added in v0.0.75

type WebBuild struct {
	Nodejs *NodejsBuild `protobuf:"bytes,1,opt,name=nodejs,proto3" json:"nodejs,omitempty"`
	// Passed to nginx
	Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*WebBuild) Descriptor deprecated added in v0.0.75

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

Deprecated: Use WebBuild.ProtoReflect.Descriptor instead.

func (*WebBuild) GetNodejs added in v0.0.75

func (x *WebBuild) GetNodejs() *NodejsBuild

func (*WebBuild) GetPort added in v0.0.75

func (x *WebBuild) GetPort() int32

func (*WebBuild) ProtoMessage added in v0.0.75

func (*WebBuild) ProtoMessage()

func (*WebBuild) ProtoReflect added in v0.0.75

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

func (*WebBuild) Reset added in v0.0.75

func (x *WebBuild) Reset()

func (*WebBuild) String added in v0.0.75

func (x *WebBuild) String() string

type WebIntegration

type WebIntegration struct {
	Nodejs *NodejsBuild `protobuf:"bytes,1,opt,name=nodejs,proto3" json:"nodejs,omitempty"`
	// The service that corresponds to this web integration.
	// Needed to get the port for prod serving.
	Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*WebIntegration) Descriptor deprecated

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

Deprecated: Use WebIntegration.ProtoReflect.Descriptor instead.

func (*WebIntegration) GetNodejs

func (x *WebIntegration) GetNodejs() *NodejsBuild

func (*WebIntegration) GetService

func (x *WebIntegration) GetService() string

func (*WebIntegration) ProtoMessage

func (*WebIntegration) ProtoMessage()

func (*WebIntegration) ProtoReflect

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

func (*WebIntegration) Reset

func (x *WebIntegration) Reset()

func (*WebIntegration) String

func (x *WebIntegration) String() string

type Workspace

type Workspace struct {
	ModuleName string                       `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
	EnvSpec    []*Workspace_EnvironmentSpec `protobuf:"bytes,10,rep,name=env_spec,json=envSpec,proto3" json:"env_spec,omitempty"`
	// Package manager.
	Dep []*Workspace_Dependency `protobuf:"bytes,3,rep,name=dep,proto3" json:"dep,omitempty"`
	// Development options.
	Replace     []*Workspace_Replace `protobuf:"bytes,4,rep,name=replace,proto3" json:"replace,omitempty"`
	PrivateRepo []string             `protobuf:"bytes,5,rep,name=private_repo,json=privateRepo,proto3" json:"private_repo,omitempty"`
	// Workspace-wide pre-compiled binaries.
	PrebuiltBinary                 []*Workspace_BinaryDigest         `protobuf:"bytes,6,rep,name=prebuilt_binary,json=prebuiltBinary,proto3" json:"prebuilt_binary,omitempty"`
	PrebuiltBaseRepository         string                            `` /* 129-byte string literal not displayed */
	Foundation                     *Workspace_FoundationRequirements `protobuf:"bytes,8,opt,name=foundation,proto3" json:"foundation,omitempty"`
	ExperimentalProtoModuleImports []*Workspace_ProtoModuleImports   `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Workspace definition. Next ID: 12

func (*Workspace) AllReferencedModules

func (ws *Workspace) AllReferencedModules() []string

All modules referenced in the workspace file, including the main module.

func (*Workspace) Descriptor deprecated

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

Deprecated: Use Workspace.ProtoReflect.Descriptor instead.

func (*Workspace) GetDep

func (x *Workspace) GetDep() []*Workspace_Dependency

func (*Workspace) GetEnvSpec

func (x *Workspace) GetEnvSpec() []*Workspace_EnvironmentSpec

func (*Workspace) GetExperimentalProtoModuleImports

func (x *Workspace) GetExperimentalProtoModuleImports() []*Workspace_ProtoModuleImports

func (*Workspace) GetFoundation

func (x *Workspace) GetFoundation() *Workspace_FoundationRequirements

func (*Workspace) GetModuleName

func (x *Workspace) GetModuleName() string

func (*Workspace) GetPrebuiltBaseRepository

func (x *Workspace) GetPrebuiltBaseRepository() string

func (*Workspace) GetPrebuiltBinary

func (x *Workspace) GetPrebuiltBinary() []*Workspace_BinaryDigest

func (*Workspace) GetPrivateRepo

func (x *Workspace) GetPrivateRepo() []string

func (*Workspace) GetReplace

func (x *Workspace) GetReplace() []*Workspace_Replace

func (*Workspace) ProtoMessage

func (*Workspace) ProtoMessage()

func (*Workspace) ProtoReflect

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

func (*Workspace) Reset

func (x *Workspace) Reset()

func (*Workspace) String

func (x *Workspace) String() string

type WorkspaceSyncVolume added in v0.0.78

type WorkspaceSyncVolume struct {

	// A directory, relative to package.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceSyncVolume) Descriptor deprecated added in v0.0.78

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

Deprecated: Use WorkspaceSyncVolume.ProtoReflect.Descriptor instead.

func (*WorkspaceSyncVolume) GetPath added in v0.0.78

func (x *WorkspaceSyncVolume) GetPath() string

func (*WorkspaceSyncVolume) ProtoMessage added in v0.0.78

func (*WorkspaceSyncVolume) ProtoMessage()

func (*WorkspaceSyncVolume) ProtoReflect added in v0.0.78

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

func (*WorkspaceSyncVolume) Reset added in v0.0.78

func (x *WorkspaceSyncVolume) Reset()

func (*WorkspaceSyncVolume) String added in v0.0.78

func (x *WorkspaceSyncVolume) String() string

type Workspace_Alias

type Workspace_Alias struct {
	ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
	RelPath    string `protobuf:"bytes,2,opt,name=rel_path,json=relPath,proto3" json:"rel_path,omitempty"`
	// contains filtered or unexported fields
}

func (*Workspace_Alias) Descriptor deprecated

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

Deprecated: Use Workspace_Alias.ProtoReflect.Descriptor instead.

func (*Workspace_Alias) GetModuleName

func (x *Workspace_Alias) GetModuleName() string

func (*Workspace_Alias) GetRelPath

func (x *Workspace_Alias) GetRelPath() string

func (*Workspace_Alias) ProtoMessage

func (*Workspace_Alias) ProtoMessage()

func (*Workspace_Alias) ProtoReflect

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

func (*Workspace_Alias) Reset

func (x *Workspace_Alias) Reset()

func (*Workspace_Alias) String

func (x *Workspace_Alias) String() string

type Workspace_BinaryDigest

type Workspace_BinaryDigest struct {
	PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	Digest      string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	Repository  string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*Workspace_BinaryDigest) Descriptor deprecated

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

Deprecated: Use Workspace_BinaryDigest.ProtoReflect.Descriptor instead.

func (*Workspace_BinaryDigest) GetDigest

func (x *Workspace_BinaryDigest) GetDigest() string

func (*Workspace_BinaryDigest) GetPackageName

func (x *Workspace_BinaryDigest) GetPackageName() string

func (*Workspace_BinaryDigest) GetRepository

func (x *Workspace_BinaryDigest) GetRepository() string

func (*Workspace_BinaryDigest) ProtoMessage

func (*Workspace_BinaryDigest) ProtoMessage()

func (*Workspace_BinaryDigest) ProtoReflect

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

func (*Workspace_BinaryDigest) Reset

func (x *Workspace_BinaryDigest) Reset()

func (*Workspace_BinaryDigest) String

func (x *Workspace_BinaryDigest) String() string

type Workspace_Dependency

type Workspace_Dependency struct {
	ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
	Version    string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Workspace_Dependency) Descriptor deprecated

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

Deprecated: Use Workspace_Dependency.ProtoReflect.Descriptor instead.

func (*Workspace_Dependency) GetModuleName

func (x *Workspace_Dependency) GetModuleName() string

func (*Workspace_Dependency) GetVersion

func (x *Workspace_Dependency) GetVersion() string

func (*Workspace_Dependency) ProtoMessage

func (*Workspace_Dependency) ProtoMessage()

func (*Workspace_Dependency) ProtoReflect

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

func (*Workspace_Dependency) Reset

func (x *Workspace_Dependency) Reset()

func (*Workspace_Dependency) String

func (x *Workspace_Dependency) String() string

type Workspace_EnvironmentSpec

type Workspace_EnvironmentSpec struct {
	Name                  string                       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Runtime               string                       `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"` // E.g. kubernetes
	Purpose               Environment_Purpose          `protobuf:"varint,3,opt,name=purpose,proto3,enum=foundation.schema.Environment_Purpose" json:"purpose,omitempty"`
	Labels                []*Label                     `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
	Configuration         []*anypb.Any                 `protobuf:"bytes,5,rep,name=configuration,proto3" json:"configuration,omitempty"`
	PlatformConfiguration []*DevHost_ConfigurePlatform `protobuf:"bytes,6,rep,name=platform_configuration,json=platformConfiguration,proto3" json:"platform_configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*Workspace_EnvironmentSpec) Descriptor deprecated

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

Deprecated: Use Workspace_EnvironmentSpec.ProtoReflect.Descriptor instead.

func (*Workspace_EnvironmentSpec) GetConfiguration

func (x *Workspace_EnvironmentSpec) GetConfiguration() []*anypb.Any

func (*Workspace_EnvironmentSpec) GetLabels

func (x *Workspace_EnvironmentSpec) GetLabels() []*Label

func (*Workspace_EnvironmentSpec) GetName

func (x *Workspace_EnvironmentSpec) GetName() string

func (*Workspace_EnvironmentSpec) GetPlatformConfiguration

func (x *Workspace_EnvironmentSpec) GetPlatformConfiguration() []*DevHost_ConfigurePlatform

func (*Workspace_EnvironmentSpec) GetPurpose

func (*Workspace_EnvironmentSpec) GetRuntime

func (x *Workspace_EnvironmentSpec) GetRuntime() string

func (*Workspace_EnvironmentSpec) ProtoMessage

func (*Workspace_EnvironmentSpec) ProtoMessage()

func (*Workspace_EnvironmentSpec) ProtoReflect

func (*Workspace_EnvironmentSpec) Reset

func (x *Workspace_EnvironmentSpec) Reset()

func (*Workspace_EnvironmentSpec) String

func (x *Workspace_EnvironmentSpec) String() string

type Workspace_FoundationRequirements

type Workspace_FoundationRequirements struct {
	MinimumApi   int32 `protobuf:"varint,1,opt,name=minimum_api,json=minimumApi,proto3" json:"minimum_api,omitempty"`
	ToolsVersion int32 `protobuf:"varint,2,opt,name=tools_version,json=toolsVersion,proto3" json:"tools_version,omitempty"`
	// contains filtered or unexported fields
}

func (*Workspace_FoundationRequirements) Descriptor deprecated

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

Deprecated: Use Workspace_FoundationRequirements.ProtoReflect.Descriptor instead.

func (*Workspace_FoundationRequirements) GetMinimumApi

func (x *Workspace_FoundationRequirements) GetMinimumApi() int32

func (*Workspace_FoundationRequirements) GetToolsVersion

func (x *Workspace_FoundationRequirements) GetToolsVersion() int32

func (*Workspace_FoundationRequirements) ProtoMessage

func (*Workspace_FoundationRequirements) ProtoMessage()

func (*Workspace_FoundationRequirements) ProtoReflect

func (*Workspace_FoundationRequirements) Reset

func (*Workspace_FoundationRequirements) String

type Workspace_LoadedFrom

type Workspace_LoadedFrom struct {
	AbsPath        string `protobuf:"bytes,1,opt,name=abs_path,json=absPath,proto3" json:"abs_path,omitempty"`
	DefinitionFile string `protobuf:"bytes,2,opt,name=definition_file,json=definitionFile,proto3" json:"definition_file,omitempty"`
	Contents       []byte `protobuf:"bytes,3,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

func (*Workspace_LoadedFrom) Descriptor deprecated

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

Deprecated: Use Workspace_LoadedFrom.ProtoReflect.Descriptor instead.

func (*Workspace_LoadedFrom) GetAbsPath

func (x *Workspace_LoadedFrom) GetAbsPath() string

func (*Workspace_LoadedFrom) GetContents

func (x *Workspace_LoadedFrom) GetContents() []byte

func (*Workspace_LoadedFrom) GetDefinitionFile

func (x *Workspace_LoadedFrom) GetDefinitionFile() string

func (*Workspace_LoadedFrom) ProtoMessage

func (*Workspace_LoadedFrom) ProtoMessage()

func (*Workspace_LoadedFrom) ProtoReflect

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

func (*Workspace_LoadedFrom) Reset

func (x *Workspace_LoadedFrom) Reset()

func (*Workspace_LoadedFrom) String

func (x *Workspace_LoadedFrom) String() string

type Workspace_ProtoModuleImports

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

func (*Workspace_ProtoModuleImports) Descriptor deprecated

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

Deprecated: Use Workspace_ProtoModuleImports.ProtoReflect.Descriptor instead.

func (*Workspace_ProtoModuleImports) GetModuleName

func (x *Workspace_ProtoModuleImports) GetModuleName() string

func (*Workspace_ProtoModuleImports) ProtoMessage

func (*Workspace_ProtoModuleImports) ProtoMessage()

func (*Workspace_ProtoModuleImports) ProtoReflect

func (*Workspace_ProtoModuleImports) Reset

func (x *Workspace_ProtoModuleImports) Reset()

func (*Workspace_ProtoModuleImports) String

type Workspace_Replace

type Workspace_Replace struct {
	ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
	Path       string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*Workspace_Replace) Descriptor deprecated

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

Deprecated: Use Workspace_Replace.ProtoReflect.Descriptor instead.

func (*Workspace_Replace) GetModuleName

func (x *Workspace_Replace) GetModuleName() string

func (*Workspace_Replace) GetPath

func (x *Workspace_Replace) GetPath() string

func (*Workspace_Replace) ProtoMessage

func (*Workspace_Replace) ProtoMessage()

func (*Workspace_Replace) ProtoReflect

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

func (*Workspace_Replace) Reset

func (x *Workspace_Replace) Reset()

func (*Workspace_Replace) String

func (x *Workspace_Replace) String() string

Directories

Path Synopsis
This package is separate so we can use generics, schema is stricly go 1.17.
This package is separate so we can use generics, schema is stricly go 1.17.

Jump to

Keyboard shortcuts

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