schema

package
v0.0.347 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 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"
	HttpsProtocol         = "https"
)

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",
		3: "LOAD_BALANCER",
	}
	Endpoint_Type_value = map[string]int32{
		"INGRESS_UNSPECIFIED": 0,
		"PRIVATE":             1,
		"INTERNET_FACING":     2,
		"LOAD_BALANCER":       3,
	}
)

Enum value maps for Endpoint_Type.

View Source
var (
	Endpoint_Port_Protocol_name = map[int32]string{
		0: "PROTOCOL_UNSPECIFIED",
		1: "TCP",
		2: "UDP",
	}
	Endpoint_Port_Protocol_value = map[string]int32{
		"PROTOCOL_UNSPECIFIED": 0,
		"TCP":                  1,
		"UDP":                  2,
	}
)

Enum value maps for Endpoint_Port_Protocol.

View Source
var (
	IngressFragment_IngressHttpPath_BackendProtocol_name = map[int32]string{
		0: "BACKEND_PROTOCOL_UNKNOWN",
		1: "HTTP",
		2: "GRPC",
		3: "GRPCS",
	}
	IngressFragment_IngressHttpPath_BackendProtocol_value = map[string]int32{
		"BACKEND_PROTOCOL_UNKNOWN": 0,
		"HTTP":                     1,
		"GRPC":                     2,
		"GRPCS":                    3,
	}
)

Enum value maps for IngressFragment_IngressHttpPath_BackendProtocol.

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",
		4: "OPAQUE",
		5: "OPAQUE_NODEJS",
	}
	Framework_value = map[string]int32{
		"FRAMEWORK_UNSPECIFIED": 0,
		"GO":                    1,
		"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_filecontents_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_probe_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_resolvable_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"`
	Labels      []*Label               `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,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) GetLabels added in v0.0.117

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

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 *Resolvable `protobuf:"bytes,10,opt,name=value,proto3" json:"value,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) GetName

func (x *BinaryConfig_EnvEntry) GetName() string

func (*BinaryConfig_EnvEntry) GetValue

func (x *BinaryConfig_EnvEntry) GetValue() *Resolvable

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 Container added in v0.0.112

type Container struct {
	Owner *PackageRef `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
	// 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"`
	Security                      *Container_Security       `protobuf:"bytes,8,opt,name=security,proto3" json:"security,omitempty"`
	Requests                      *Container_ResourceLimits `protobuf:"bytes,10,opt,name=requests,proto3" json:"requests,omitempty"`
	Limits                        *Container_ResourceLimits `protobuf:"bytes,11,opt,name=limits,proto3" json:"limits,omitempty"`
	ContainerPort                 []*Endpoint_Port          `protobuf:"bytes,12,rep,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
	TerminationGracePeriodSeconds int64                     `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Container) Descriptor deprecated added in v0.0.112

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetArgs added in v0.0.112

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

func (*Container) GetBinary added in v0.0.112

func (x *Container) GetBinary() string

func (*Container) GetBinaryRef added in v0.0.112

func (x *Container) GetBinaryRef() *PackageRef

func (*Container) GetContainerPort added in v0.0.214

func (x *Container) GetContainerPort() []*Endpoint_Port

func (*Container) GetEnv added in v0.0.112

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

func (*Container) GetLimits added in v0.0.203

func (x *Container) GetLimits() *Container_ResourceLimits

func (*Container) GetMount added in v0.0.112

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

func (*Container) GetName added in v0.0.112

func (x *Container) GetName() string

func (*Container) GetOwner added in v0.0.112

func (x *Container) GetOwner() *PackageRef

func (*Container) GetRequests added in v0.0.203

func (x *Container) GetRequests() *Container_ResourceLimits

func (*Container) GetSecurity added in v0.0.112

func (x *Container) GetSecurity() *Container_Security

func (*Container) GetTerminationGracePeriodSeconds added in v0.0.294

func (x *Container) GetTerminationGracePeriodSeconds() int64

func (*Container) ProtoMessage added in v0.0.112

func (*Container) ProtoMessage()

func (*Container) ProtoReflect added in v0.0.112

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

func (*Container) Reset added in v0.0.112

func (x *Container) Reset()

func (*Container) String added in v0.0.112

func (x *Container) String() 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 Container_ResourceLimits added in v0.0.203

type Container_ResourceLimits struct {
	Memory string `protobuf:"bytes,1,opt,name=memory,proto3" json:"memory,omitempty"`
	Cpu    string `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
	// contains filtered or unexported fields
}

func (*Container_ResourceLimits) Descriptor deprecated added in v0.0.203

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

Deprecated: Use Container_ResourceLimits.ProtoReflect.Descriptor instead.

func (*Container_ResourceLimits) GetCpu added in v0.0.203

func (x *Container_ResourceLimits) GetCpu() string

func (*Container_ResourceLimits) GetMemory added in v0.0.203

func (x *Container_ResourceLimits) GetMemory() string

func (*Container_ResourceLimits) ProtoMessage added in v0.0.203

func (*Container_ResourceLimits) ProtoMessage()

func (*Container_ResourceLimits) ProtoReflect added in v0.0.203

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

func (*Container_ResourceLimits) Reset added in v0.0.203

func (x *Container_ResourceLimits) Reset()

func (*Container_ResourceLimits) String added in v0.0.203

func (x *Container_ResourceLimits) String() string

type Container_Security added in v0.0.112

type Container_Security struct {
	Privileged   bool     `protobuf:"varint,1,opt,name=privileged,proto3" json:"privileged,omitempty"`
	HostNetwork  bool     `protobuf:"varint,2,opt,name=host_network,json=hostNetwork,proto3" json:"host_network,omitempty"`
	Capabilities []string `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	// contains filtered or unexported fields
}

func (*Container_Security) Descriptor deprecated added in v0.0.112

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

Deprecated: Use Container_Security.ProtoReflect.Descriptor instead.

func (*Container_Security) GetCapabilities added in v0.0.320

func (x *Container_Security) GetCapabilities() []string

func (*Container_Security) GetHostNetwork added in v0.0.148

func (x *Container_Security) GetHostNetwork() bool

func (*Container_Security) GetPrivileged added in v0.0.112

func (x *Container_Security) GetPrivileged() bool

func (*Container_Security) ProtoMessage added in v0.0.112

func (*Container_Security) ProtoMessage()

func (*Container_Security) ProtoReflect added in v0.0.112

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

func (*Container_Security) Reset added in v0.0.112

func (x *Container_Security) Reset()

func (*Container_Security) String added in v0.0.112

func (x *Container_Security) String() string

type DefExtension

type DefExtension struct {
	Description string     `protobuf:"bytes,1,opt,name=description,proto3" json:"description,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) 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"`
	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) 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"
	// Represents a horizontally scalable stateless deployment, that is deployed per node.
	DeployableClass_DAEMONSET DeployableClass = "deployableclass.namespace.so/daemonset"
)

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.
	// 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) 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 DomainSpec added in v0.0.124

type DomainSpec struct {
	Fqdn    string             `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	Managed Domain_ManagedType `protobuf:"varint,2,opt,name=managed,proto3,enum=foundation.schema.Domain_ManagedType" json:"managed,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainSpec) Descriptor deprecated added in v0.0.124

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

Deprecated: Use DomainSpec.ProtoReflect.Descriptor instead.

func (*DomainSpec) GetFqdn added in v0.0.124

func (x *DomainSpec) GetFqdn() string

func (*DomainSpec) GetManaged added in v0.0.149

func (x *DomainSpec) GetManaged() Domain_ManagedType

func (*DomainSpec) ProtoMessage added in v0.0.124

func (*DomainSpec) ProtoMessage()

func (*DomainSpec) ProtoReflect added in v0.0.124

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

func (*DomainSpec) Reset added in v0.0.124

func (x *DomainSpec) Reset()

func (*DomainSpec) String added in v0.0.124

func (x *DomainSpec) 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.
	DeprecatedPort         *Endpoint_Port        `protobuf:"bytes,5,opt,name=deprecated_port,json=deprecatedPort,proto3" json:"deprecated_port,omitempty"`
	DeprecatedExportedPort int32                 `` /* 131-byte string literal not displayed */
	Ports                  []*Endpoint_PortMap   `protobuf:"bytes,15,rep,name=ports,proto3" json:"ports,omitempty"`
	AllocatedName          string                `protobuf:"bytes,6,opt,name=allocated_name,json=allocatedName,proto3" json:"allocated_name,omitempty"`
	FullyQualifiedName     string                `protobuf:"bytes,14,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_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"`
	IngressProvider        *PackageRef           `protobuf:"bytes,11,opt,name=ingress_provider,json=ingressProvider,proto3" json:"ingress_provider,omitempty"`
	IngressSpec            *Endpoint_IngressSpec `protobuf:"bytes,12,opt,name=ingress_spec,json=ingressSpec,proto3" json:"ingress_spec,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 16

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) GetDeprecatedExportedPort added in v0.0.283

func (x *Endpoint) GetDeprecatedExportedPort() int32

func (*Endpoint) GetDeprecatedPort added in v0.0.283

func (x *Endpoint) GetDeprecatedPort() *Endpoint_Port

func (*Endpoint) GetEndpointOwner

func (x *Endpoint) GetEndpointOwner() string

func (*Endpoint) GetFullyQualifiedName added in v0.0.176

func (x *Endpoint) GetFullyQualifiedName() string

func (*Endpoint) GetIngressProvider added in v0.0.117

func (x *Endpoint) GetIngressProvider() *PackageRef

func (*Endpoint) GetIngressSpec added in v0.0.117

func (x *Endpoint) GetIngressSpec() *Endpoint_IngressSpec

func (*Endpoint) GetPorts added in v0.0.283

func (x *Endpoint) GetPorts() []*Endpoint_PortMap

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_IngressSpec added in v0.0.117

type Endpoint_IngressSpec struct {
	Domain      []*DomainSpec       `protobuf:"bytes,1,rep,name=domain,proto3" json:"domain,omitempty"` // If set, exposes this endpoint in the specified domains.
	Annotations *ServiceAnnotations `protobuf:"bytes,2,opt,name=annotations,proto3" json:"annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*Endpoint_IngressSpec) Descriptor deprecated added in v0.0.117

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

Deprecated: Use Endpoint_IngressSpec.ProtoReflect.Descriptor instead.

func (*Endpoint_IngressSpec) GetAnnotations added in v0.0.161

func (x *Endpoint_IngressSpec) GetAnnotations() *ServiceAnnotations

func (*Endpoint_IngressSpec) GetDomain added in v0.0.117

func (x *Endpoint_IngressSpec) GetDomain() []*DomainSpec

func (*Endpoint_IngressSpec) ProtoMessage added in v0.0.117

func (*Endpoint_IngressSpec) ProtoMessage()

func (*Endpoint_IngressSpec) ProtoReflect added in v0.0.117

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

func (*Endpoint_IngressSpec) Reset added in v0.0.117

func (x *Endpoint_IngressSpec) Reset()

func (*Endpoint_IngressSpec) String added in v0.0.117

func (x *Endpoint_IngressSpec) 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"`
	// Most of the times you DON'T want to use this; this binds the
	// container port to the specified port in the node the pod gets
	// scheduled to.
	HostPort int32                  `protobuf:"varint,3,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"`
	Protocol Endpoint_Port_Protocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=foundation.schema.Endpoint_Port_Protocol" json:"protocol,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) GetHostPort added in v0.0.214

func (x *Endpoint_Port) GetHostPort() int32

func (*Endpoint_Port) GetName

func (x *Endpoint_Port) GetName() string

func (*Endpoint_Port) GetProtocol added in v0.0.283

func (x *Endpoint_Port) GetProtocol() Endpoint_Port_Protocol

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_PortMap added in v0.0.283

type Endpoint_PortMap struct {
	Port         *Endpoint_Port `protobuf:"bytes,1,opt,name=port,proto3" json:"port,omitempty"`
	ExportedPort int32          `protobuf:"varint,2,opt,name=exported_port,json=exportedPort,proto3" json:"exported_port,omitempty"` // If unset, will be port.container_port.
	// contains filtered or unexported fields
}

func (*Endpoint_PortMap) Descriptor deprecated added in v0.0.283

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

Deprecated: Use Endpoint_PortMap.ProtoReflect.Descriptor instead.

func (*Endpoint_PortMap) GetExportedPort added in v0.0.283

func (x *Endpoint_PortMap) GetExportedPort() int32

func (*Endpoint_PortMap) GetPort added in v0.0.283

func (x *Endpoint_PortMap) GetPort() *Endpoint_Port

func (*Endpoint_PortMap) ProtoMessage added in v0.0.283

func (*Endpoint_PortMap) ProtoMessage()

func (*Endpoint_PortMap) ProtoReflect added in v0.0.283

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

func (*Endpoint_PortMap) Reset added in v0.0.283

func (x *Endpoint_PortMap) Reset()

func (*Endpoint_PortMap) String added in v0.0.283

func (x *Endpoint_PortMap) String() string

type Endpoint_Port_Protocol added in v0.0.283

type Endpoint_Port_Protocol int32
const (
	Endpoint_Port_PROTOCOL_UNSPECIFIED Endpoint_Port_Protocol = 0 // Defaults to TCP.
	Endpoint_Port_TCP                  Endpoint_Port_Protocol = 1
	Endpoint_Port_UDP                  Endpoint_Port_Protocol = 2
)

func (Endpoint_Port_Protocol) Descriptor added in v0.0.283

func (Endpoint_Port_Protocol) Enum added in v0.0.283

func (Endpoint_Port_Protocol) EnumDescriptor deprecated added in v0.0.283

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

Deprecated: Use Endpoint_Port_Protocol.Descriptor instead.

func (Endpoint_Port_Protocol) Number added in v0.0.283

func (Endpoint_Port_Protocol) String added in v0.0.283

func (x Endpoint_Port_Protocol) String() string

func (Endpoint_Port_Protocol) Type added in v0.0.283

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 // With an ingress frontend.
	Endpoint_LOAD_BALANCER       Endpoint_Type = 3 // Public facing load-balancer.
)

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) 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 {
	SizeBytes uint64 `protobuf:"varint,1,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*EphemeralVolume) Descriptor deprecated

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

Deprecated: Use EphemeralVolume.ProtoReflect.Descriptor instead.

func (*EphemeralVolume) GetSizeBytes added in v0.0.164

func (x *EphemeralVolume) GetSizeBytes() uint64

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 FieldSelector added in v0.0.167

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

func (*FieldSelector) Descriptor deprecated added in v0.0.167

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

Deprecated: Use FieldSelector.ProtoReflect.Descriptor instead.

func (*FieldSelector) GetFieldSelector added in v0.0.167

func (x *FieldSelector) GetFieldSelector() string

func (*FieldSelector) GetInstance added in v0.0.167

func (x *FieldSelector) GetInstance() *ResolvableSource

func (*FieldSelector) ProtoMessage added in v0.0.167

func (*FieldSelector) ProtoMessage()

func (*FieldSelector) ProtoReflect added in v0.0.167

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

func (*FieldSelector) Reset added in v0.0.167

func (x *FieldSelector) Reset()

func (*FieldSelector) String added in v0.0.167

func (x *FieldSelector) String() string

type FileContents

type FileContents struct {
	Path     string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	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) 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
	// 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 HostPathVolume added in v0.0.112

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

func (*HostPathVolume) Descriptor deprecated added in v0.0.112

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

Deprecated: Use HostPathVolume.ProtoReflect.Descriptor instead.

func (*HostPathVolume) GetDirectory added in v0.0.112

func (x *HostPathVolume) GetDirectory() string

func (*HostPathVolume) ProtoMessage added in v0.0.112

func (*HostPathVolume) ProtoMessage()

func (*HostPathVolume) ProtoReflect added in v0.0.112

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

func (*HostPathVolume) Reset added in v0.0.112

func (x *HostPathVolume) Reset()

func (*HostPathVolume) String added in v0.0.112

func (x *HostPathVolume) 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"` // Access-Control-Allow-Origin
	ExposeHeaders []string `protobuf:"bytes,3,rep,name=expose_headers,json=exposeHeaders,proto3" json:"expose_headers,omitempty"` // Access-Control-Expose-Headers
	// 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) GetExposeHeaders added in v0.0.248

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

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"`
	BackendProtocol IngressFragment_IngressHttpPath_BackendProtocol `` /* 178-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HttpPath) Descriptor deprecated

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

Deprecated: Use HttpPath.ProtoReflect.Descriptor instead.

func (*HttpPath) GetBackendProtocol added in v0.0.300

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"`
	BackendService *PackageRef `protobuf:"bytes,3,opt,name=backend_service,json=backendService,proto3" json:"backend_service,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) GetBackendService added in v0.0.144

func (x *HttpUrlMap_Entry) GetBackendService() *PackageRef

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.
	DockerBuild       *ImageBuildPlan_DockerBuild         `protobuf:"bytes,18,opt,name=docker_build,json=dockerBuild,proto3" json:"docker_build,omitempty"`      // Use Dockerfile builder.
	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.
	FilesFrom         *ImageBuildPlan_FilesFrom           `protobuf:"bytes,15,opt,name=files_from,json=filesFrom,proto3" json:"files_from,omitempty"`
	MakeFsImage       *ImageBuildPlan_MakeFilesystemImage `protobuf:"bytes,17,opt,name=make_fs_image,json=makeFsImage,proto3" json:"make_fs_image,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 19

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) GetDockerBuild added in v0.0.177

func (x *ImageBuildPlan) GetDockerBuild() *ImageBuildPlan_DockerBuild

func (*ImageBuildPlan) GetDockerfile

func (x *ImageBuildPlan) GetDockerfile() string

func (*ImageBuildPlan) GetFilesFrom added in v0.0.137

func (x *ImageBuildPlan) GetFilesFrom() *ImageBuildPlan_FilesFrom

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) GetMakeFsImage added in v0.0.140

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) 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_DockerBuild added in v0.0.177

type ImageBuildPlan_DockerBuild struct {
	Dockerfile      string                                        `protobuf:"bytes,1,opt,name=dockerfile,proto3" json:"dockerfile,omitempty"`
	AttrsByPlatform []*ImageBuildPlan_DockerBuild_AttrsByPlatform `protobuf:"bytes,2,rep,name=attrs_by_platform,json=attrsByPlatform,proto3" json:"attrs_by_platform,omitempty"`
	Attrs           map[string]string                             `` /* 151-byte string literal not displayed */
	ContextDir      string                                        `protobuf:"bytes,4,opt,name=context_dir,json=contextDir,proto3" json:"context_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageBuildPlan_DockerBuild) Descriptor deprecated added in v0.0.177

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

Deprecated: Use ImageBuildPlan_DockerBuild.ProtoReflect.Descriptor instead.

func (*ImageBuildPlan_DockerBuild) GetAttrs added in v0.0.177

func (x *ImageBuildPlan_DockerBuild) GetAttrs() map[string]string

func (*ImageBuildPlan_DockerBuild) GetAttrsByPlatform added in v0.0.177

func (*ImageBuildPlan_DockerBuild) GetContextDir added in v0.0.327

func (x *ImageBuildPlan_DockerBuild) GetContextDir() string

func (*ImageBuildPlan_DockerBuild) GetDockerfile added in v0.0.177

func (x *ImageBuildPlan_DockerBuild) GetDockerfile() string

func (*ImageBuildPlan_DockerBuild) ProtoMessage added in v0.0.177

func (*ImageBuildPlan_DockerBuild) ProtoMessage()

func (*ImageBuildPlan_DockerBuild) ProtoReflect added in v0.0.177

func (*ImageBuildPlan_DockerBuild) Reset added in v0.0.177

func (x *ImageBuildPlan_DockerBuild) Reset()

func (*ImageBuildPlan_DockerBuild) String added in v0.0.177

func (x *ImageBuildPlan_DockerBuild) String() string

type ImageBuildPlan_DockerBuild_AttrsByPlatform added in v0.0.177

type ImageBuildPlan_DockerBuild_AttrsByPlatform struct {
	Platform string            `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
	Attrs    map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ImageBuildPlan_DockerBuild_AttrsByPlatform) Descriptor deprecated added in v0.0.177

Deprecated: Use ImageBuildPlan_DockerBuild_AttrsByPlatform.ProtoReflect.Descriptor instead.

func (*ImageBuildPlan_DockerBuild_AttrsByPlatform) GetAttrs added in v0.0.177

func (*ImageBuildPlan_DockerBuild_AttrsByPlatform) GetPlatform added in v0.0.177

func (*ImageBuildPlan_DockerBuild_AttrsByPlatform) ProtoMessage added in v0.0.177

func (*ImageBuildPlan_DockerBuild_AttrsByPlatform) ProtoReflect added in v0.0.177

func (*ImageBuildPlan_DockerBuild_AttrsByPlatform) Reset added in v0.0.177

func (*ImageBuildPlan_DockerBuild_AttrsByPlatform) String added in v0.0.177

type ImageBuildPlan_FilesFrom added in v0.0.137

type ImageBuildPlan_FilesFrom struct {
	From      *ImageBuildPlan `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Files     []string        `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	TargetDir string          `protobuf:"bytes,3,opt,name=target_dir,json=targetDir,proto3" json:"target_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageBuildPlan_FilesFrom) Descriptor deprecated added in v0.0.137

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

Deprecated: Use ImageBuildPlan_FilesFrom.ProtoReflect.Descriptor instead.

func (*ImageBuildPlan_FilesFrom) GetFiles added in v0.0.137

func (x *ImageBuildPlan_FilesFrom) GetFiles() []string

func (*ImageBuildPlan_FilesFrom) GetFrom added in v0.0.137

func (*ImageBuildPlan_FilesFrom) GetTargetDir added in v0.0.137

func (x *ImageBuildPlan_FilesFrom) GetTargetDir() string

func (*ImageBuildPlan_FilesFrom) ProtoMessage added in v0.0.137

func (*ImageBuildPlan_FilesFrom) ProtoMessage()

func (*ImageBuildPlan_FilesFrom) ProtoReflect added in v0.0.137

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

func (*ImageBuildPlan_FilesFrom) Reset added in v0.0.137

func (x *ImageBuildPlan_FilesFrom) Reset()

func (*ImageBuildPlan_FilesFrom) String added in v0.0.137

func (x *ImageBuildPlan_FilesFrom) 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"`
	Strip      bool   `protobuf:"varint,4,opt,name=strip,proto3" json:"strip,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) GetRelPath

func (x *ImageBuildPlan_GoBuild) GetRelPath() string

func (*ImageBuildPlan_GoBuild) GetStrip added in v0.0.202

func (x *ImageBuildPlan_GoBuild) GetStrip() bool

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_MakeFilesystemImage added in v0.0.140

type ImageBuildPlan_MakeFilesystemImage struct {
	From   *ImageBuildPlan `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Target string          `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	Kind   string          `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	Size   int64           `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // Bytes.
	// contains filtered or unexported fields
}

func (*ImageBuildPlan_MakeFilesystemImage) Descriptor deprecated added in v0.0.140

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

Deprecated: Use ImageBuildPlan_MakeFilesystemImage.ProtoReflect.Descriptor instead.

func (*ImageBuildPlan_MakeFilesystemImage) GetFrom added in v0.0.140

func (*ImageBuildPlan_MakeFilesystemImage) GetKind added in v0.0.140

func (*ImageBuildPlan_MakeFilesystemImage) GetSize added in v0.0.140

func (*ImageBuildPlan_MakeFilesystemImage) GetTarget added in v0.0.140

func (*ImageBuildPlan_MakeFilesystemImage) ProtoMessage added in v0.0.140

func (*ImageBuildPlan_MakeFilesystemImage) ProtoMessage()

func (*ImageBuildPlan_MakeFilesystemImage) ProtoReflect added in v0.0.140

func (*ImageBuildPlan_MakeFilesystemImage) Reset added in v0.0.140

func (*ImageBuildPlan_MakeFilesystemImage) String added in v0.0.140

type ImageBuildPlan_MakeSquashFS added in v0.0.140

type ImageBuildPlan_MakeSquashFS struct {
	From   *ImageBuildPlan `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Target string          `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageBuildPlan_MakeSquashFS) Descriptor deprecated added in v0.0.140

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

Deprecated: Use ImageBuildPlan_MakeSquashFS.ProtoReflect.Descriptor instead.

func (*ImageBuildPlan_MakeSquashFS) GetFrom added in v0.0.140

func (*ImageBuildPlan_MakeSquashFS) GetTarget added in v0.0.140

func (x *ImageBuildPlan_MakeSquashFS) GetTarget() string

func (*ImageBuildPlan_MakeSquashFS) ProtoMessage added in v0.0.140

func (*ImageBuildPlan_MakeSquashFS) ProtoMessage()

func (*ImageBuildPlan_MakeSquashFS) ProtoReflect added in v0.0.140

func (*ImageBuildPlan_MakeSquashFS) Reset added in v0.0.140

func (x *ImageBuildPlan_MakeSquashFS) Reset()

func (*ImageBuildPlan_MakeSquashFS) String added in v0.0.140

func (x *ImageBuildPlan_MakeSquashFS) 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"`
	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) 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.
	ServicePort int32    `protobuf:"varint,8,opt,name=service_port,json=servicePort,proto3" json:"service_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) GetService

func (*IngressFragment_IngressGrpcService) GetServicePort added in v0.0.122

func (x *IngressFragment_IngressGrpcService) GetServicePort() int32

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.
	ServicePort     int32                                           `protobuf:"varint,6,opt,name=service_port,json=servicePort,proto3" json:"service_port,omitempty"`
	BackendProtocol IngressFragment_IngressHttpPath_BackendProtocol `` /* 178-byte string literal not displayed */
	// 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) GetBackendProtocol added in v0.0.300

func (*IngressFragment_IngressHttpPath) GetKind

func (*IngressFragment_IngressHttpPath) GetOwner

func (*IngressFragment_IngressHttpPath) GetPath

func (*IngressFragment_IngressHttpPath) GetService

func (x *IngressFragment_IngressHttpPath) GetService() string

func (*IngressFragment_IngressHttpPath) GetServicePort added in v0.0.122

func (x *IngressFragment_IngressHttpPath) GetServicePort() int32

func (*IngressFragment_IngressHttpPath) ProtoMessage

func (*IngressFragment_IngressHttpPath) ProtoMessage()

func (*IngressFragment_IngressHttpPath) ProtoReflect

func (*IngressFragment_IngressHttpPath) Reset

func (*IngressFragment_IngressHttpPath) String

type IngressFragment_IngressHttpPath_BackendProtocol added in v0.0.300

type IngressFragment_IngressHttpPath_BackendProtocol int32
const (
	IngressFragment_IngressHttpPath_BACKEND_PROTOCOL_UNKNOWN IngressFragment_IngressHttpPath_BackendProtocol = 0
	IngressFragment_IngressHttpPath_HTTP                     IngressFragment_IngressHttpPath_BackendProtocol = 1
	IngressFragment_IngressHttpPath_GRPC                     IngressFragment_IngressHttpPath_BackendProtocol = 2
	IngressFragment_IngressHttpPath_GRPCS                    IngressFragment_IngressHttpPath_BackendProtocol = 3
)

func (IngressFragment_IngressHttpPath_BackendProtocol) Descriptor added in v0.0.300

func (IngressFragment_IngressHttpPath_BackendProtocol) Enum added in v0.0.300

func (IngressFragment_IngressHttpPath_BackendProtocol) EnumDescriptor deprecated added in v0.0.300

Deprecated: Use IngressFragment_IngressHttpPath_BackendProtocol.Descriptor instead.

func (IngressFragment_IngressHttpPath_BackendProtocol) Number added in v0.0.300

func (IngressFragment_IngressHttpPath_BackendProtocol) String added in v0.0.300

func (IngressFragment_IngressHttpPath_BackendProtocol) Type added in v0.0.300

type InlineJson added in v0.0.145

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

func (*InlineJson) Descriptor deprecated added in v0.0.145

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

Deprecated: Use InlineJson.ProtoReflect.Descriptor instead.

func (*InlineJson) GetInlineJson added in v0.0.145

func (x *InlineJson) GetInlineJson() string

func (*InlineJson) ProtoMessage added in v0.0.145

func (*InlineJson) ProtoMessage()

func (*InlineJson) ProtoReflect added in v0.0.145

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

func (*InlineJson) Reset added in v0.0.145

func (x *InlineJson) Reset()

func (*InlineJson) String added in v0.0.145

func (x *InlineJson) String() 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 Listener added in v0.0.324

type Listener struct {
	Name     string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Protocol string         `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Port     *Endpoint_Port `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*Listener) Descriptor deprecated added in v0.0.324

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

Deprecated: Use Listener.ProtoReflect.Descriptor instead.

func (*Listener) GetName added in v0.0.324

func (x *Listener) GetName() string

func (*Listener) GetPort added in v0.0.324

func (x *Listener) GetPort() *Endpoint_Port

func (*Listener) GetProtocol added in v0.0.324

func (x *Listener) GetProtocol() string

func (*Listener) ProtoMessage added in v0.0.324

func (*Listener) ProtoMessage()

func (*Listener) ProtoReflect added in v0.0.324

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

func (*Listener) Reset added in v0.0.324

func (x *Listener) Reset()

func (*Listener) String added in v0.0.324

func (x *Listener) 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 NamedResolvable added in v0.0.167

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

func (*NamedResolvable) Descriptor deprecated added in v0.0.167

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

Deprecated: Use NamedResolvable.ProtoReflect.Descriptor instead.

func (*NamedResolvable) GetName added in v0.0.167

func (x *NamedResolvable) GetName() string

func (*NamedResolvable) GetValue added in v0.0.167

func (x *NamedResolvable) GetValue() *Resolvable

func (*NamedResolvable) ProtoMessage added in v0.0.167

func (*NamedResolvable) ProtoMessage()

func (*NamedResolvable) ProtoReflect added in v0.0.167

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

func (*NamedResolvable) Reset added in v0.0.167

func (x *NamedResolvable) Reset()

func (*NamedResolvable) String added in v0.0.167

func (x *NamedResolvable) 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"`
	// Deploy services of this node into a separate configuration.
	ListenerName string `protobuf:"bytes,28,opt,name=listener_name,json=listenerName,proto3" json:"listener_name,omitempty"`
	ExportedPort int32  `protobuf:"varint,29,opt,name=exported_port,json=exportedPort,proto3" json:"exported_port,omitempty"`
	// 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 */
	ResourcePack           *ResourcePack                `protobuf:"bytes,26,opt,name=resource_pack,json=resourcePack,proto3" json:"resource_pack,omitempty"`
	Extension              []string                     `protobuf:"bytes,27,rep,name=extension,proto3" json:"extension,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 30

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) GetExportedPort added in v0.0.324

func (x *Node) GetExportedPort() int32

func (*Node) GetExt

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

func (*Node) GetExtension added in v0.0.270

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

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) GetListenerName added in v0.0.324

func (x *Node) GetListenerName() string

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) GetResourcePack added in v0.0.108

func (x *Node) GetResourcePack() *ResourcePack

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 NodeSelectorItem added in v0.0.269

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

func (*NodeSelectorItem) Descriptor deprecated added in v0.0.269

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

Deprecated: Use NodeSelectorItem.ProtoReflect.Descriptor instead.

func (*NodeSelectorItem) GetKey added in v0.0.269

func (x *NodeSelectorItem) GetKey() string

func (*NodeSelectorItem) GetValue added in v0.0.269

func (x *NodeSelectorItem) GetValue() string

func (*NodeSelectorItem) ProtoMessage added in v0.0.269

func (*NodeSelectorItem) ProtoMessage()

func (*NodeSelectorItem) ProtoReflect added in v0.0.269

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

func (*NodeSelectorItem) Reset added in v0.0.269

func (x *NodeSelectorItem) Reset()

func (*NodeSelectorItem) String added in v0.0.269

func (x *NodeSelectorItem) 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) Has added in v0.0.108

func (pl PackageList) Has(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) GetPackageName added in v0.0.145

func (p PackageName) GetPackageName() string

func (PackageName) String

func (p PackageName) String() string

type PackageNameLike added in v0.0.167

type PackageNameLike interface {
	GetPackageName() string
	ErrorLocation() 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 PackageNameLike, 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) ErrorLocation added in v0.0.115

func (n *PackageRef) ErrorLocation() string

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"`
	Template  bool   `protobuf:"varint,3,opt,name=template,proto3" json:"template,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) GetTemplate added in v0.0.271

func (x *PersistentVolume) GetTemplate() bool

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 PodAntiAffinity added in v0.0.338

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

func (*PodAntiAffinity) Descriptor deprecated added in v0.0.338

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

Deprecated: Use PodAntiAffinity.ProtoReflect.Descriptor instead.

func (*PodAntiAffinity) GetTopologyKey added in v0.0.338

func (x *PodAntiAffinity) GetTopologyKey() string

func (*PodAntiAffinity) ProtoMessage added in v0.0.338

func (*PodAntiAffinity) ProtoMessage()

func (*PodAntiAffinity) ProtoReflect added in v0.0.338

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

func (*PodAntiAffinity) Reset added in v0.0.338

func (x *PodAntiAffinity) Reset()

func (*PodAntiAffinity) String added in v0.0.338

func (x *PodAntiAffinity) String() string

type Probe added in v0.0.105

type Probe struct {
	Kind string      `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Http *Probe_Http `protobuf:"bytes,2,opt,name=http,proto3" json:"http,omitempty"`
	Exec *Probe_Exec `protobuf:"bytes,3,opt,name=exec,proto3" json:"exec,omitempty"`
	// contains filtered or unexported fields
}

func (*Probe) Descriptor deprecated added in v0.0.105

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

Deprecated: Use Probe.ProtoReflect.Descriptor instead.

func (*Probe) GetExec added in v0.0.105

func (x *Probe) GetExec() *Probe_Exec

func (*Probe) GetHttp added in v0.0.105

func (x *Probe) GetHttp() *Probe_Http

func (*Probe) GetKind added in v0.0.105

func (x *Probe) GetKind() string

func (*Probe) ProtoMessage added in v0.0.105

func (*Probe) ProtoMessage()

func (*Probe) ProtoReflect added in v0.0.105

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

func (*Probe) Reset added in v0.0.105

func (x *Probe) Reset()

func (*Probe) String added in v0.0.105

func (x *Probe) String() string

type Probe_Exec added in v0.0.105

type Probe_Exec struct {
	Command []string `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*Probe_Exec) Descriptor deprecated added in v0.0.105

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

Deprecated: Use Probe_Exec.ProtoReflect.Descriptor instead.

func (*Probe_Exec) GetCommand added in v0.0.105

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

func (*Probe_Exec) ProtoMessage added in v0.0.105

func (*Probe_Exec) ProtoMessage()

func (*Probe_Exec) ProtoReflect added in v0.0.105

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

func (*Probe_Exec) Reset added in v0.0.105

func (x *Probe_Exec) Reset()

func (*Probe_Exec) String added in v0.0.105

func (x *Probe_Exec) String() string

type Probe_Http added in v0.0.105

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

func (*Probe_Http) Descriptor deprecated added in v0.0.105

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

Deprecated: Use Probe_Http.ProtoReflect.Descriptor instead.

func (*Probe_Http) GetContainerPort added in v0.0.105

func (x *Probe_Http) GetContainerPort() int32

func (*Probe_Http) GetPath added in v0.0.105

func (x *Probe_Http) GetPath() string

func (*Probe_Http) ProtoMessage added in v0.0.105

func (*Probe_Http) ProtoMessage()

func (*Probe_Http) ProtoReflect added in v0.0.105

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

func (*Probe_Http) Reset added in v0.0.105

func (x *Probe_Http) Reset()

func (*Probe_Http) String added in v0.0.105

func (x *Probe_Http) 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"`
	// 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) 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 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 Resolvable added in v0.0.167

type Resolvable struct {
	Value                              string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	ExperimentalFromDownwardsFieldPath string `` // Kubernetes specific.
	/* 169-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.
	FromServiceIngress   *ServiceRef                  `protobuf:"bytes,6,opt,name=from_service_ingress,json=fromServiceIngress,proto3" json:"from_service_ingress,omitempty"`    // Inject the ingress address of a service. This is available from outside the cluster.
	FromResourceField    *ResourceConfigFieldSelector `protobuf:"bytes,7,opt,name=from_resource_field,json=fromResourceField,proto3" json:"from_resource_field,omitempty"`
	FromFieldSelector    *FieldSelector               `protobuf:"bytes,8,opt,name=from_field_selector,json=fromFieldSelector,proto3" json:"from_field_selector,omitempty"`
	FromKubernetesSecret string                       `protobuf:"bytes,9,opt,name=from_kubernetes_secret,json=fromKubernetesSecret,proto3" json:"from_kubernetes_secret,omitempty"` // Kubernetes specific.
	// contains filtered or unexported fields
}

func (*Resolvable) Descriptor deprecated added in v0.0.167

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

Deprecated: Use Resolvable.ProtoReflect.Descriptor instead.

func (*Resolvable) GetExperimentalFromDownwardsFieldPath added in v0.0.167

func (x *Resolvable) GetExperimentalFromDownwardsFieldPath() string

func (*Resolvable) GetFromFieldSelector added in v0.0.167

func (x *Resolvable) GetFromFieldSelector() *FieldSelector

func (*Resolvable) GetFromKubernetesSecret added in v0.0.177

func (x *Resolvable) GetFromKubernetesSecret() string

func (*Resolvable) GetFromResourceField added in v0.0.167

func (x *Resolvable) GetFromResourceField() *ResourceConfigFieldSelector

func (*Resolvable) GetFromSecretRef added in v0.0.167

func (x *Resolvable) GetFromSecretRef() *PackageRef

func (*Resolvable) GetFromServiceEndpoint added in v0.0.167

func (x *Resolvable) GetFromServiceEndpoint() *ServiceRef

func (*Resolvable) GetFromServiceIngress added in v0.0.167

func (x *Resolvable) GetFromServiceIngress() *ServiceRef

func (*Resolvable) GetValue added in v0.0.167

func (x *Resolvable) GetValue() string

func (*Resolvable) ProtoMessage added in v0.0.167

func (*Resolvable) ProtoMessage()

func (*Resolvable) ProtoReflect added in v0.0.167

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

func (*Resolvable) Reset added in v0.0.167

func (x *Resolvable) Reset()

func (*Resolvable) String added in v0.0.167

func (x *Resolvable) String() string

type ResolvableSource added in v0.0.167

type ResolvableSource struct {
	Server                       *PackageRef `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`   // Resolves into a runtime.Server
	Service                      *ServiceRef `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // Resolves into a runtime.Server.Service
	SelectInternalEndpointByKind string      ``                                                                    // Resolves into a runtime.Service.InternalEndpoint
	/* 151-byte string literal not displayed */
	UntypedJson *FileContents `protobuf:"bytes,4,opt,name=untyped_json,json=untypedJson,proto3" json:"untyped_json,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolvableSource) Descriptor deprecated added in v0.0.167

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

Deprecated: Use ResolvableSource.ProtoReflect.Descriptor instead.

func (*ResolvableSource) GetSelectInternalEndpointByKind added in v0.0.167

func (x *ResolvableSource) GetSelectInternalEndpointByKind() string

func (*ResolvableSource) GetServer added in v0.0.167

func (x *ResolvableSource) GetServer() *PackageRef

func (*ResolvableSource) GetService added in v0.0.167

func (x *ResolvableSource) GetService() *ServiceRef

func (*ResolvableSource) GetUntypedJson added in v0.0.167

func (x *ResolvableSource) GetUntypedJson() *FileContents

func (*ResolvableSource) ProtoMessage added in v0.0.167

func (*ResolvableSource) ProtoMessage()

func (*ResolvableSource) ProtoReflect added in v0.0.167

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

func (*ResolvableSource) Reset added in v0.0.167

func (x *ResolvableSource) Reset()

func (*ResolvableSource) String added in v0.0.167

func (x *ResolvableSource) 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`.
	Description     string        `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`                                // A human-visible description of this resource class.
	IntentType      *ResourceType `protobuf:"bytes,3,opt,name=intent_type,json=intentType,proto3" json:"intent_type,omitempty"`                // How is the resource defined.
	InstanceType    *ResourceType `protobuf:"bytes,4,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`          // And what generated configuration is attached to each instance.
	DefaultProvider string        `protobuf:"bytes,5,opt,name=default_provider,json=defaultProvider,proto3" json:"default_provider,omitempty"` // If set, a resource that refers to this class and doesn't specify a provider will default to this default.
	// contains filtered or unexported fields
}

func (*ResourceClass) Descriptor deprecated

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

Deprecated: Use ResourceClass.ProtoReflect.Descriptor instead.

func (*ResourceClass) GetDefaultProvider added in v0.0.103

func (x *ResourceClass) GetDefaultProvider() string

func (*ResourceClass) GetDescription added in v0.0.112

func (x *ResourceClass) GetDescription() string

func (*ResourceClass) GetInstanceType

func (x *ResourceClass) GetInstanceType() *ResourceType

func (*ResourceClass) GetIntentType

func (x *ResourceClass) GetIntentType() *ResourceType

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 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.
	SerializedIntentJson string      `protobuf:"bytes,8,opt,name=serialized_intent_json,json=serializedIntentJson,proto3" json:"serialized_intent_json,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) 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) GetSerializedIntentJson added in v0.0.111

func (x *ResourceInstance) GetSerializedIntentJson() 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.
	IntentType        *ResourceType                     `protobuf:"bytes,9,opt,name=intent_type,json=intentType,proto3" json:"intent_type,omitempty"`
	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. This yields an instantiation during the execution phase.
	PrepareWith       *Invocation                       `protobuf:"bytes,5,opt,name=prepare_with,json=prepareWith,proto3" json:"prepare_with,omitempty"`             // Create the resource during planning phase.
	ResourcesFrom     *Invocation                       `protobuf:"bytes,10,opt,name=resources_from,json=resourcesFrom,proto3" json:"resources_from,omitempty"`      // Compute resources from this invocation.
	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.
	AvailableClasses  []*PackageRef                     `protobuf:"bytes,6,rep,name=available_classes,json=availableClasses,proto3" json:"available_classes,omitempty"`    // Resource classes that an invocation may produce (any instance of a different class will be rejected).
	AvailablePackages []string                          `protobuf:"bytes,7,rep,name=available_packages,json=availablePackages,proto3" json:"available_packages,omitempty"` // Packages that an invocation may reference.
	// contains filtered or unexported fields
}

func (*ResourceProvider) Descriptor deprecated

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

Deprecated: Use ResourceProvider.ProtoReflect.Descriptor instead.

func (*ResourceProvider) GetAvailableClasses added in v0.0.111

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

func (*ResourceProvider) GetAvailablePackages added in v0.0.111

func (x *ResourceProvider) GetAvailablePackages() []string

func (*ResourceProvider) GetInitializedWith

func (x *ResourceProvider) GetInitializedWith() *Invocation

func (*ResourceProvider) GetIntentType added in v0.0.111

func (x *ResourceProvider) GetIntentType() *ResourceType

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) GetResourcePack

func (x *ResourceProvider) GetResourcePack() *ResourcePack

func (*ResourceProvider) GetResourcesFrom added in v0.0.111

func (x *ResourceProvider) GetResourcesFrom() *Invocation

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"`
	DefaultResource *PackageRef `protobuf:"bytes,3,opt,name=default_resource,json=defaultResource,proto3" json:"default_resource,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) GetDefaultResource added in v0.0.115

func (x *ResourceProvider_ResourceInput) GetDefaultResource() *PackageRef

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 ResourceType added in v0.0.111

type ResourceType struct {
	ProtoPackage string `protobuf:"bytes,3,opt,name=proto_package,json=protoPackage,proto3" json:"proto_package,omitempty"` // Namespace package where the proto_source lives.
	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 (*ResourceType) Descriptor deprecated added in v0.0.111

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

Deprecated: Use ResourceType.ProtoReflect.Descriptor instead.

func (*ResourceType) GetProtoPackage added in v0.0.151

func (x *ResourceType) GetProtoPackage() string

func (*ResourceType) GetProtoSource added in v0.0.111

func (x *ResourceType) GetProtoSource() string

func (*ResourceType) GetProtoType added in v0.0.111

func (x *ResourceType) GetProtoType() string

func (*ResourceType) ProtoMessage added in v0.0.111

func (*ResourceType) ProtoMessage()

func (*ResourceType) ProtoReflect added in v0.0.111

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

func (*ResourceType) Reset added in v0.0.111

func (x *ResourceType) Reset()

func (*ResourceType) String added in v0.0.111

func (x *ResourceType) 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 SecretResult added in v0.0.114

type SecretResult struct {
	Ref          *PackageRef   `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	Spec         *SecretSpec   `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	FileContents *FileContents `protobuf:"bytes,3,opt,name=file_contents,json=fileContents,proto3" json:"file_contents,omitempty"` // Replaced by value.
	Value        []byte        `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	ExternalRef  *anypb.Any    `protobuf:"bytes,5,opt,name=external_ref,json=externalRef,proto3" json:"external_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretResult) Descriptor deprecated added in v0.0.114

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

Deprecated: Use SecretResult.ProtoReflect.Descriptor instead.

func (*SecretResult) GetExternalRef added in v0.0.117

func (x *SecretResult) GetExternalRef() *anypb.Any

func (*SecretResult) GetFileContents added in v0.0.117

func (x *SecretResult) GetFileContents() *FileContents

func (*SecretResult) GetRef added in v0.0.114

func (x *SecretResult) GetRef() *PackageRef

func (*SecretResult) GetSpec added in v0.0.114

func (x *SecretResult) GetSpec() *SecretSpec

func (*SecretResult) GetValue added in v0.0.114

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

func (*SecretResult) ProtoMessage added in v0.0.114

func (*SecretResult) ProtoMessage()

func (*SecretResult) ProtoReflect added in v0.0.114

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

func (*SecretResult) Reset added in v0.0.114

func (x *SecretResult) Reset()

func (*SecretResult) String added in v0.0.114

func (x *SecretResult) 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"`
	DefaultValue *SecretResult            `protobuf:"bytes,6,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretSpec) Descriptor deprecated

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

Deprecated: Use SecretSpec.ProtoReflect.Descriptor instead.

func (*SecretSpec) GetDefaultValue added in v0.0.244

func (x *SecretSpec) GetDefaultValue() *SecretResult

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.
	// The minimum orchestrator version this invocation requires.
	MinimumVersion int32 `protobuf:"varint,7,opt,name=minimum_version,json=minimumVersion,proto3" json:"minimum_version,omitempty"`
	// 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) GetMinimumVersion added in v0.0.124

func (x *SerializedInvocation) GetMinimumVersion() int32

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"`
	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"`
	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"`
	EnvironmentRequirement []*Server_EnvironmentRequirement `` /* 128-byte string literal not displayed */
	// This duplicates some of the fields above while we work on a transition.
	Self         *ServerFragment `protobuf:"bytes,41,opt,name=self,proto3" json:"self,omitempty"`
	ServerNaming *Naming         `protobuf:"bytes,42,opt,name=server_naming,json=serverNaming,proto3" json:"server_naming,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 43

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) 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) GetRunByDefault

func (x *Server) GetRunByDefault() bool

func (*Server) GetSelf added in v0.0.157

func (x *Server) GetSelf() *ServerFragment

func (*Server) GetServerNaming added in v0.0.157

func (x *Server) GetServerNaming() *Naming

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) 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.
	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) 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 ServerFragment added in v0.0.157

type ServerFragment struct {
	MainContainer   *Container            `protobuf:"bytes,1,opt,name=main_container,json=mainContainer,proto3" json:"main_container,omitempty"`
	Service         []*Server_ServiceSpec `protobuf:"bytes,2,rep,name=service,proto3" json:"service,omitempty"`
	Ingress         []*Server_ServiceSpec `protobuf:"bytes,3,rep,name=ingress,proto3" json:"ingress,omitempty"`
	Probe           []*Probe              `protobuf:"bytes,4,rep,name=probe,proto3" json:"probe,omitempty"`
	Volume          []*Volume             `protobuf:"bytes,5,rep,name=volume,proto3" json:"volume,omitempty"`
	ResourcePack    *ResourcePack         `protobuf:"bytes,6,opt,name=resource_pack,json=resourcePack,proto3" json:"resource_pack,omitempty"`
	Permissions     *ServerPermissions    `protobuf:"bytes,7,opt,name=permissions,proto3" json:"permissions,omitempty"`
	Toleration      []*Server_Toleration  `protobuf:"bytes,8,rep,name=toleration,proto3" json:"toleration,omitempty"`
	Extension       []string              `protobuf:"bytes,9,rep,name=extension,proto3" json:"extension,omitempty"` // Package name.
	Sidecar         []*Container          `protobuf:"bytes,10,rep,name=sidecar,proto3" json:"sidecar,omitempty"`
	InitContainer   []*Container          `protobuf:"bytes,11,rep,name=init_container,json=initContainer,proto3" json:"init_container,omitempty"`
	Annotation      []*NamedResolvable    `protobuf:"bytes,12,rep,name=annotation,proto3" json:"annotation,omitempty"`
	NodeSelector    []*NodeSelectorItem   `protobuf:"bytes,13,rep,name=node_selector,json=nodeSelector,proto3" json:"node_selector,omitempty"`
	Listener        []*Listener           `protobuf:"bytes,14,rep,name=listener,proto3" json:"listener,omitempty"`
	Replicas        int32                 `protobuf:"varint,15,opt,name=replicas,proto3" json:"replicas,omitempty"`
	PodAntiAffinity *PodAntiAffinity      `protobuf:"bytes,16,opt,name=pod_anti_affinity,json=podAntiAffinity,proto3" json:"pod_anti_affinity,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerFragment) Descriptor deprecated added in v0.0.157

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

Deprecated: Use ServerFragment.ProtoReflect.Descriptor instead.

func (*ServerFragment) GetAnnotation added in v0.0.165

func (x *ServerFragment) GetAnnotation() []*NamedResolvable

func (*ServerFragment) GetExtension added in v0.0.157

func (x *ServerFragment) GetExtension() []string

func (*ServerFragment) GetIngress added in v0.0.157

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

func (*ServerFragment) GetInitContainer added in v0.0.157

func (x *ServerFragment) GetInitContainer() []*Container

func (*ServerFragment) GetListener added in v0.0.324

func (x *ServerFragment) GetListener() []*Listener

func (*ServerFragment) GetMainContainer added in v0.0.157

func (x *ServerFragment) GetMainContainer() *Container

func (*ServerFragment) GetNodeSelector added in v0.0.269

func (x *ServerFragment) GetNodeSelector() []*NodeSelectorItem

func (*ServerFragment) GetPermissions added in v0.0.157

func (x *ServerFragment) GetPermissions() *ServerPermissions

func (*ServerFragment) GetPodAntiAffinity added in v0.0.338

func (x *ServerFragment) GetPodAntiAffinity() *PodAntiAffinity

func (*ServerFragment) GetProbe added in v0.0.157

func (x *ServerFragment) GetProbe() []*Probe

func (*ServerFragment) GetReplicas added in v0.0.337

func (x *ServerFragment) GetReplicas() int32

func (*ServerFragment) GetResourcePack added in v0.0.157

func (x *ServerFragment) GetResourcePack() *ResourcePack

func (*ServerFragment) GetService added in v0.0.157

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

func (*ServerFragment) GetSidecar added in v0.0.157

func (x *ServerFragment) GetSidecar() []*Container

func (*ServerFragment) GetToleration added in v0.0.157

func (x *ServerFragment) GetToleration() []*Server_Toleration

func (*ServerFragment) GetVolume added in v0.0.157

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

func (*ServerFragment) ProtoMessage added in v0.0.157

func (*ServerFragment) ProtoMessage()

func (*ServerFragment) ProtoReflect added in v0.0.157

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

func (*ServerFragment) Reset added in v0.0.157

func (x *ServerFragment) Reset()

func (*ServerFragment) String added in v0.0.157

func (x *ServerFragment) String() string

type ServerPermissions added in v0.0.103

type ServerPermissions struct {
	ClusterRole []*ServerPermissions_ClusterRole `protobuf:"bytes,1,rep,name=cluster_role,json=clusterRole,proto3" json:"cluster_role,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerPermissions) Descriptor deprecated added in v0.0.103

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

Deprecated: Use ServerPermissions.ProtoReflect.Descriptor instead.

func (*ServerPermissions) GetClusterRole added in v0.0.103

func (x *ServerPermissions) GetClusterRole() []*ServerPermissions_ClusterRole

func (*ServerPermissions) ProtoMessage added in v0.0.103

func (*ServerPermissions) ProtoMessage()

func (*ServerPermissions) ProtoReflect added in v0.0.103

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

func (*ServerPermissions) Reset added in v0.0.103

func (x *ServerPermissions) Reset()

func (*ServerPermissions) String added in v0.0.103

func (x *ServerPermissions) String() string

type ServerPermissions_ClusterRole added in v0.0.111

type ServerPermissions_ClusterRole struct {
	Label      string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerPermissions_ClusterRole) Descriptor deprecated added in v0.0.111

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

Deprecated: Use ServerPermissions_ClusterRole.ProtoReflect.Descriptor instead.

func (*ServerPermissions_ClusterRole) GetLabel added in v0.0.111

func (x *ServerPermissions_ClusterRole) GetLabel() string

func (*ServerPermissions_ClusterRole) GetResourceId added in v0.0.111

func (x *ServerPermissions_ClusterRole) GetResourceId() string

func (*ServerPermissions_ClusterRole) ProtoMessage added in v0.0.111

func (*ServerPermissions_ClusterRole) ProtoMessage()

func (*ServerPermissions_ClusterRole) ProtoReflect added in v0.0.111

func (*ServerPermissions_ClusterRole) Reset added in v0.0.111

func (x *ServerPermissions_ClusterRole) Reset()

func (*ServerPermissions_ClusterRole) String added in v0.0.111

type Server_Configuration added in v0.0.324

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

func (*Server_Configuration) Descriptor deprecated added in v0.0.324

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

Deprecated: Use Server_Configuration.ProtoReflect.Descriptor instead.

func (*Server_Configuration) GetName added in v0.0.324

func (x *Server_Configuration) GetName() string

func (*Server_Configuration) ProtoMessage added in v0.0.324

func (*Server_Configuration) ProtoMessage()

func (*Server_Configuration) ProtoReflect added in v0.0.324

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

func (*Server_Configuration) Reset added in v0.0.324

func (x *Server_Configuration) Reset()

func (*Server_Configuration) String added in v0.0.324

func (x *Server_Configuration) 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"`
	Ports              []*Endpoint_PortMap `protobuf:"bytes,12,rep,name=ports,proto3" json:"ports,omitempty"`
	Internal           bool                `protobuf:"varint,4,opt,name=internal,proto3" json:"internal,omitempty"` // This service is of no relevance for development.
	EndpointType       Endpoint_Type       ``                                                                       /* 135-byte string literal not displayed */
	IngressProvider    *PackageRef         `protobuf:"bytes,8,opt,name=ingress_provider,json=ingressProvider,proto3" json:"ingress_provider,omitempty"`
	IngressDomain      []*DomainSpec       `protobuf:"bytes,10,rep,name=ingress_domain,json=ingressDomain,proto3" json:"ingress_domain,omitempty"` // Only has a meaning if this is an ingress.
	IngressAnnotations *ServiceAnnotations `protobuf:"bytes,11,opt,name=ingress_annotations,json=ingressAnnotations,proto3" json:"ingress_annotations,omitempty"`
	// 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) GetEndpointType added in v0.0.112

func (x *Server_ServiceSpec) GetEndpointType() Endpoint_Type

func (*Server_ServiceSpec) GetIngressAnnotations added in v0.0.161

func (x *Server_ServiceSpec) GetIngressAnnotations() *ServiceAnnotations

func (*Server_ServiceSpec) GetIngressDomain added in v0.0.124

func (x *Server_ServiceSpec) GetIngressDomain() []*DomainSpec

func (*Server_ServiceSpec) GetIngressProvider added in v0.0.117

func (x *Server_ServiceSpec) GetIngressProvider() *PackageRef

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) GetPorts added in v0.0.283

func (x *Server_ServiceSpec) GetPorts() []*Endpoint_PortMap

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_Toleration added in v0.0.137

type Server_Toleration struct {
	Key      string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	Value    string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Effect   string `protobuf:"bytes,4,opt,name=effect,proto3" json:"effect,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_Toleration) Descriptor deprecated added in v0.0.137

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

Deprecated: Use Server_Toleration.ProtoReflect.Descriptor instead.

func (*Server_Toleration) GetEffect added in v0.0.137

func (x *Server_Toleration) GetEffect() string

func (*Server_Toleration) GetKey added in v0.0.137

func (x *Server_Toleration) GetKey() string

func (*Server_Toleration) GetOperator added in v0.0.137

func (x *Server_Toleration) GetOperator() string

func (*Server_Toleration) GetValue added in v0.0.137

func (x *Server_Toleration) GetValue() string

func (*Server_Toleration) ProtoMessage added in v0.0.137

func (*Server_Toleration) ProtoMessage()

func (*Server_Toleration) ProtoReflect added in v0.0.137

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

func (*Server_Toleration) Reset added in v0.0.137

func (x *Server_Toleration) Reset()

func (*Server_Toleration) String added in v0.0.137

func (x *Server_Toleration) 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"`
	BackendProtocol IngressFragment_IngressHttpPath_BackendProtocol `` /* 178-byte string literal not displayed */
	Public          bool                                            `protobuf:"varint,6,opt,name=public,proto3" json:"public,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) GetBackendProtocol added in v0.0.300

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) GetPublic added in v0.0.326

func (x *Server_URLMapEntry) GetPublic() bool

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 ServiceAnnotations added in v0.0.112

type ServiceAnnotations struct {
	KeyValue []*ServiceAnnotations_KeyValue `protobuf:"bytes,1,rep,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceAnnotations) Descriptor deprecated added in v0.0.112

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

Deprecated: Use ServiceAnnotations.ProtoReflect.Descriptor instead.

func (*ServiceAnnotations) GetKeyValue added in v0.0.112

func (x *ServiceAnnotations) GetKeyValue() []*ServiceAnnotations_KeyValue

func (*ServiceAnnotations) ProtoMessage added in v0.0.112

func (*ServiceAnnotations) ProtoMessage()

func (*ServiceAnnotations) ProtoReflect added in v0.0.112

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

func (*ServiceAnnotations) Reset added in v0.0.112

func (x *ServiceAnnotations) Reset()

func (*ServiceAnnotations) String added in v0.0.112

func (x *ServiceAnnotations) String() string

type ServiceAnnotations_KeyValue added in v0.0.112

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

func (*ServiceAnnotations_KeyValue) Descriptor deprecated added in v0.0.112

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

Deprecated: Use ServiceAnnotations_KeyValue.ProtoReflect.Descriptor instead.

func (*ServiceAnnotations_KeyValue) GetKey added in v0.0.112

func (x *ServiceAnnotations_KeyValue) GetKey() string

func (*ServiceAnnotations_KeyValue) GetValue added in v0.0.112

func (x *ServiceAnnotations_KeyValue) GetValue() string

func (*ServiceAnnotations_KeyValue) ProtoMessage added in v0.0.112

func (*ServiceAnnotations_KeyValue) ProtoMessage()

func (*ServiceAnnotations_KeyValue) ProtoReflect added in v0.0.112

func (*ServiceAnnotations_KeyValue) Reset added in v0.0.112

func (x *ServiceAnnotations_KeyValue) Reset()

func (*ServiceAnnotations_KeyValue) String added in v0.0.112

func (x *ServiceAnnotations_KeyValue) 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 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"`
	ServerFragment []*ServerFragment `protobuf:"bytes,4,rep,name=server_fragment,json=serverFragment,proto3" json:"server_fragment,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) 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) GetServerFragment added in v0.0.157

func (x *Stack_Entry) GetServerFragment() []*ServerFragment

func (*Stack_Entry) GetServerNaming

func (x *Stack_Entry) GetServerNaming() *Naming

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           *PackageRef   `protobuf:"bytes,8,opt,name=driver,proto3" json:"driver,omitempty"`
	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() *PackageRef

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"`
	DevPort          int32                       `protobuf:"varint,4,opt,name=dev_port,json=devPort,proto3" json:"dev_port,omitempty"`
	IngressHttpRoute []*WebIntegration_HttpRoute `protobuf:"bytes,5,rep,name=ingress_http_route,json=ingressHttpRoute,proto3" json:"ingress_http_route,omitempty"`
	// contains filtered or unexported fields
}

func (*WebIntegration) Descriptor deprecated

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

Deprecated: Use WebIntegration.ProtoReflect.Descriptor instead.

func (*WebIntegration) GetDevPort added in v0.0.100

func (x *WebIntegration) GetDevPort() int32

func (*WebIntegration) GetIngressHttpRoute added in v0.0.144

func (x *WebIntegration) GetIngressHttpRoute() []*WebIntegration_HttpRoute

func (*WebIntegration) GetNodejs

func (x *WebIntegration) GetNodejs() *NodejsBuild

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 WebIntegration_HttpRoute added in v0.0.144

type WebIntegration_HttpRoute struct {
	Path           string      `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	BackendService *PackageRef `protobuf:"bytes,2,opt,name=backend_service,json=backendService,proto3" json:"backend_service,omitempty"`
	// contains filtered or unexported fields
}

func (*WebIntegration_HttpRoute) Descriptor deprecated added in v0.0.144

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

Deprecated: Use WebIntegration_HttpRoute.ProtoReflect.Descriptor instead.

func (*WebIntegration_HttpRoute) GetBackendService added in v0.0.144

func (x *WebIntegration_HttpRoute) GetBackendService() *PackageRef

func (*WebIntegration_HttpRoute) GetPath added in v0.0.144

func (x *WebIntegration_HttpRoute) GetPath() string

func (*WebIntegration_HttpRoute) ProtoMessage added in v0.0.144

func (*WebIntegration_HttpRoute) ProtoMessage()

func (*WebIntegration_HttpRoute) ProtoReflect added in v0.0.144

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

func (*WebIntegration_HttpRoute) Reset added in v0.0.144

func (x *WebIntegration_HttpRoute) Reset()

func (*WebIntegration_HttpRoute) String added in v0.0.144

func (x *WebIntegration_HttpRoute) 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"`
	SecretBinding []*Workspace_SecretBinding   `protobuf:"bytes,13,rep,name=secret_binding,json=secretBinding,proto3" json:"secret_binding,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"`
	// A list of features to enable. Usually experimental features.
	EnabledFeatures                []string                        `protobuf:"bytes,12,rep,name=enabledFeatures,proto3" json:"enabledFeatures,omitempty"`
	ExperimentalProtoModuleImports []*Workspace_ProtoModuleImports `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Workspace definition. Next ID: 14

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) GetEnabledFeatures added in v0.0.112

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

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) GetSecretBinding added in v0.0.305

func (x *Workspace) GetSecretBinding() []*Workspace_SecretBinding

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

type Workspace_SecretBinding added in v0.0.305

type Workspace_SecretBinding struct {
	PackageRef    *PackageRef `protobuf:"bytes,1,opt,name=package_ref,json=packageRef,proto3" json:"package_ref,omitempty"`
	Environment   string      `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
	Configuration *anypb.Any  `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*Workspace_SecretBinding) Descriptor deprecated added in v0.0.305

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

Deprecated: Use Workspace_SecretBinding.ProtoReflect.Descriptor instead.

func (*Workspace_SecretBinding) GetConfiguration added in v0.0.305

func (x *Workspace_SecretBinding) GetConfiguration() *anypb.Any

func (*Workspace_SecretBinding) GetEnvironment added in v0.0.305

func (x *Workspace_SecretBinding) GetEnvironment() string

func (*Workspace_SecretBinding) GetPackageRef added in v0.0.305

func (x *Workspace_SecretBinding) GetPackageRef() *PackageRef

func (*Workspace_SecretBinding) ProtoMessage added in v0.0.305

func (*Workspace_SecretBinding) ProtoMessage()

func (*Workspace_SecretBinding) ProtoReflect added in v0.0.305

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

func (*Workspace_SecretBinding) Reset added in v0.0.305

func (x *Workspace_SecretBinding) Reset()

func (*Workspace_SecretBinding) String added in v0.0.305

func (x *Workspace_SecretBinding) 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