v0

package
v0.1.94 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Agent_Kind_name = map[int32]string{
		0: "UNKNOWN",
		1: "SERVICE",
	}
	Agent_Kind_value = map[string]int32{
		"UNKNOWN": 0,
		"SERVICE": 1,
	}
)

Enum value maps for Agent_Kind.

View Source
var (
	HTTPMethod_name = map[int32]string{
		0: "GET",
		1: "POST",
		2: "PUT",
		3: "DELETE",
		4: "PATCH",
		5: "OPTIONS",
		6: "HEAD",
		7: "CONNECT",
		8: "TRACE",
	}
	HTTPMethod_value = map[string]int32{
		"GET":     0,
		"POST":    1,
		"PUT":     2,
		"DELETE":  3,
		"PATCH":   4,
		"OPTIONS": 5,
		"HEAD":    6,
		"CONNECT": 7,
		"TRACE":   8,
	}
)

Enum value maps for HTTPMethod.

View Source
var File_base_v0_agent_proto protoreflect.FileDescriptor
View Source
var File_base_v0_configuration_proto protoreflect.FileDescriptor
View Source
var File_base_v0_endpoint_proto protoreflect.FileDescriptor
View Source
var File_base_v0_environment_proto protoreflect.FileDescriptor
View Source
var File_base_v0_module_proto protoreflect.FileDescriptor
View Source
var File_base_v0_network_proto protoreflect.FileDescriptor
View Source
var File_base_v0_organization_proto protoreflect.FileDescriptor
View Source
var File_base_v0_scope_proto protoreflect.FileDescriptor
View Source
var File_base_v0_service_proto protoreflect.FileDescriptor
View Source
var File_base_v0_spec_proto protoreflect.FileDescriptor
View Source
var File_base_v0_workspace_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type API

type API struct {

	// Types that are assignable to Value:
	//
	//	*API_Tcp
	//	*API_Http
	//	*API_Rest
	//	*API_Grpc
	Value isAPI_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*API) Descriptor deprecated

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

Deprecated: Use API.ProtoReflect.Descriptor instead.

func (*API) GetGrpc

func (x *API) GetGrpc() *GrpcAPI

func (*API) GetHttp

func (x *API) GetHttp() *HttpAPI

func (*API) GetRest

func (x *API) GetRest() *RestAPI

func (*API) GetTcp

func (x *API) GetTcp() *TcpAPI

func (*API) GetValue

func (m *API) GetValue() isAPI_Value

func (*API) ProtoMessage

func (*API) ProtoMessage()

func (*API) ProtoReflect

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

func (*API) Reset

func (x *API) Reset()

func (*API) String

func (x *API) String() string

type API_Grpc

type API_Grpc struct {
	Grpc *GrpcAPI `protobuf:"bytes,4,opt,name=grpc,proto3,oneof"`
}

type API_Http

type API_Http struct {
	Http *HttpAPI `protobuf:"bytes,2,opt,name=http,proto3,oneof"`
}

type API_Rest

type API_Rest struct {
	Rest *RestAPI `protobuf:"bytes,3,opt,name=rest,proto3,oneof"`
}

type API_Tcp

type API_Tcp struct {
	Tcp *TcpAPI `protobuf:"bytes,1,opt,name=tcp,proto3,oneof"`
}

type Agent

type Agent struct {
	Kind      Agent_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=base.v0.Agent_Kind" json:"kind,omitempty"`
	Name      string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Publisher string     `protobuf:"bytes,3,opt,name=publisher,proto3" json:"publisher,omitempty"`
	Version   string     `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Agent) Descriptor deprecated

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

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetKind

func (x *Agent) GetKind() Agent_Kind

func (*Agent) GetName

func (x *Agent) GetName() string

func (*Agent) GetPublisher

func (x *Agent) GetPublisher() string

func (*Agent) GetVersion

func (x *Agent) GetVersion() string

func (*Agent) ProtoMessage

func (*Agent) ProtoMessage()

func (*Agent) ProtoReflect

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

func (*Agent) Reset

func (x *Agent) Reset()

func (*Agent) String

func (x *Agent) String() string

type Agent_Kind

type Agent_Kind int32
const (
	Agent_UNKNOWN Agent_Kind = 0
	Agent_SERVICE Agent_Kind = 1
)

func (Agent_Kind) Descriptor

func (Agent_Kind) Descriptor() protoreflect.EnumDescriptor

func (Agent_Kind) Enum

func (x Agent_Kind) Enum() *Agent_Kind

func (Agent_Kind) EnumDescriptor deprecated

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

Deprecated: Use Agent_Kind.Descriptor instead.

func (Agent_Kind) Number

func (x Agent_Kind) Number() protoreflect.EnumNumber

func (Agent_Kind) String

func (x Agent_Kind) String() string

func (Agent_Kind) Type

type Configuration added in v0.1.62

type Configuration struct {
	Origin         string                      `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
	RuntimeContext *RuntimeContext             `protobuf:"bytes,2,opt,name=runtime_context,json=runtimeContext,proto3" json:"runtime_context,omitempty"`
	Configurations []*ConfigurationInformation `protobuf:"bytes,3,rep,name=configurations,proto3" json:"configurations,omitempty"`
	// contains filtered or unexported fields
}

func (*Configuration) Descriptor deprecated added in v0.1.62

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

Deprecated: Use Configuration.ProtoReflect.Descriptor instead.

func (*Configuration) GetConfigurations added in v0.1.62

func (x *Configuration) GetConfigurations() []*ConfigurationInformation

func (*Configuration) GetOrigin added in v0.1.62

func (x *Configuration) GetOrigin() string

func (*Configuration) GetRuntimeContext added in v0.1.89

func (x *Configuration) GetRuntimeContext() *RuntimeContext

func (*Configuration) ProtoMessage added in v0.1.62

func (*Configuration) ProtoMessage()

func (*Configuration) ProtoReflect added in v0.1.62

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

func (*Configuration) Reset added in v0.1.62

func (x *Configuration) Reset()

func (*Configuration) String added in v0.1.62

func (x *Configuration) String() string

type ConfigurationInformation added in v0.1.62

type ConfigurationInformation struct {
	Name                string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ConfigurationValues []*ConfigurationValue `protobuf:"bytes,4,rep,name=configuration_values,json=configurationValues,proto3" json:"configuration_values,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigurationInformation) Descriptor deprecated added in v0.1.62

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

Deprecated: Use ConfigurationInformation.ProtoReflect.Descriptor instead.

func (*ConfigurationInformation) GetConfigurationValues added in v0.1.62

func (x *ConfigurationInformation) GetConfigurationValues() []*ConfigurationValue

func (*ConfigurationInformation) GetName added in v0.1.62

func (x *ConfigurationInformation) GetName() string

func (*ConfigurationInformation) ProtoMessage added in v0.1.62

func (*ConfigurationInformation) ProtoMessage()

func (*ConfigurationInformation) ProtoReflect added in v0.1.62

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

func (*ConfigurationInformation) Reset added in v0.1.62

func (x *ConfigurationInformation) Reset()

func (*ConfigurationInformation) String added in v0.1.62

func (x *ConfigurationInformation) String() string

type ConfigurationValue added in v0.1.62

type ConfigurationValue 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"`
	Secret bool   `protobuf:"varint,3,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigurationValue) Descriptor deprecated added in v0.1.62

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

Deprecated: Use ConfigurationValue.ProtoReflect.Descriptor instead.

func (*ConfigurationValue) GetKey added in v0.1.62

func (x *ConfigurationValue) GetKey() string

func (*ConfigurationValue) GetSecret added in v0.1.62

func (x *ConfigurationValue) GetSecret() bool

func (*ConfigurationValue) GetValue added in v0.1.62

func (x *ConfigurationValue) GetValue() string

func (*ConfigurationValue) ProtoMessage added in v0.1.62

func (*ConfigurationValue) ProtoMessage()

func (*ConfigurationValue) ProtoReflect added in v0.1.62

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

func (*ConfigurationValue) Reset added in v0.1.62

func (x *ConfigurationValue) Reset()

func (*ConfigurationValue) String added in v0.1.62

func (x *ConfigurationValue) String() string

type DNS added in v0.1.62

type DNS struct {

	// The name of the DNS record
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The module name
	Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
	// The service name
	Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
	// The endpoint name
	Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// The network instance name
	Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
	// The network instance port
	Port uint32 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"`
	// Secured
	Secured bool `protobuf:"varint,7,opt,name=secured,proto3" json:"secured,omitempty"`
	// contains filtered or unexported fields
}

func (*DNS) Descriptor deprecated added in v0.1.62

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

Deprecated: Use DNS.ProtoReflect.Descriptor instead.

func (*DNS) GetEndpoint added in v0.1.64

func (x *DNS) GetEndpoint() string

func (*DNS) GetHost added in v0.1.62

func (x *DNS) GetHost() string

func (*DNS) GetModule added in v0.1.89

func (x *DNS) GetModule() string

func (*DNS) GetName added in v0.1.89

func (x *DNS) GetName() string

func (*DNS) GetPort added in v0.1.62

func (x *DNS) GetPort() uint32

func (*DNS) GetSecured added in v0.1.76

func (x *DNS) GetSecured() bool

func (*DNS) GetService added in v0.1.62

func (x *DNS) GetService() string

func (*DNS) ProtoMessage added in v0.1.62

func (*DNS) ProtoMessage()

func (*DNS) ProtoReflect added in v0.1.62

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

func (*DNS) Reset added in v0.1.62

func (x *DNS) Reset()

func (*DNS) String added in v0.1.62

func (x *DNS) String() string

type Endpoint

type Endpoint struct {

	// Name of the endpoint: in lots of cases, the name of the endpoint will be the API name (http, grpc, tcp, etc...)
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Service name
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// Module name
	Module string `protobuf:"bytes,3,opt,name=module,proto3" json:"module,omitempty"`
	// Description of the endpoint
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Visibility of the endpoint
	Visibility string `protobuf:"bytes,5,opt,name=visibility,proto3" json:"visibility,omitempty"`
	Api        string `protobuf:"bytes,6,opt,name=api,proto3" json:"api,omitempty"`
	ApiDetails *API   `protobuf:"bytes,7,opt,name=api_details,json=apiDetails,proto3" json:"api_details,omitempty"`
	// contains filtered or unexported fields
}

func (*Endpoint) Descriptor deprecated

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

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetApi

func (x *Endpoint) GetApi() string

func (*Endpoint) GetApiDetails added in v0.1.62

func (x *Endpoint) GetApiDetails() *API

func (*Endpoint) GetDescription

func (x *Endpoint) GetDescription() string

func (*Endpoint) GetModule added in v0.1.89

func (x *Endpoint) GetModule() string

func (*Endpoint) GetName

func (x *Endpoint) GetName() string

func (*Endpoint) GetService

func (x *Endpoint) GetService() string

func (*Endpoint) GetVisibility

func (x *Endpoint) GetVisibility() string

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 Environment

type Environment struct {

	// The name of the environment
	// Must be unique within a workspace
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A brief description of the environment.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Environment) Descriptor deprecated

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetDescription

func (x *Environment) GetDescription() string

func (*Environment) GetName

func (x *Environment) GetName() 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 GenericValue added in v0.1.50

type GenericValue struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Could also be a string if you prefer JSON
	// contains filtered or unexported fields
}

func (*GenericValue) Descriptor deprecated added in v0.1.50

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

Deprecated: Use GenericValue.ProtoReflect.Descriptor instead.

func (*GenericValue) GetValue added in v0.1.50

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

func (*GenericValue) ProtoMessage added in v0.1.50

func (*GenericValue) ProtoMessage()

func (*GenericValue) ProtoReflect added in v0.1.50

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

func (*GenericValue) Reset added in v0.1.50

func (x *GenericValue) Reset()

func (*GenericValue) String added in v0.1.50

func (x *GenericValue) String() string

type GrpcAPI

type GrpcAPI struct {
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	Module  string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
	Package string `protobuf:"bytes,3,opt,name=package,proto3" json:"package,omitempty"`
	Rpcs    []*RPC `protobuf:"bytes,4,rep,name=rpcs,proto3" json:"rpcs,omitempty"`
	Proto   []byte `protobuf:"bytes,5,opt,name=proto,proto3" json:"proto,omitempty"`
	Secured bool   `protobuf:"varint,6,opt,name=secured,proto3" json:"secured,omitempty"`
	// contains filtered or unexported fields
}

func (*GrpcAPI) Descriptor deprecated

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

Deprecated: Use GrpcAPI.ProtoReflect.Descriptor instead.

func (*GrpcAPI) GetModule added in v0.1.89

func (x *GrpcAPI) GetModule() string

func (*GrpcAPI) GetPackage added in v0.1.35

func (x *GrpcAPI) GetPackage() string

func (*GrpcAPI) GetProto

func (x *GrpcAPI) GetProto() []byte

func (*GrpcAPI) GetRpcs

func (x *GrpcAPI) GetRpcs() []*RPC

func (*GrpcAPI) GetSecured added in v0.1.47

func (x *GrpcAPI) GetSecured() bool

func (*GrpcAPI) GetService added in v0.1.18

func (x *GrpcAPI) GetService() string

func (*GrpcAPI) ProtoMessage

func (*GrpcAPI) ProtoMessage()

func (*GrpcAPI) ProtoReflect

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

func (*GrpcAPI) Reset

func (x *GrpcAPI) Reset()

func (*GrpcAPI) String

func (x *GrpcAPI) String() string

type HTTPMethod

type HTTPMethod int32
const (
	HTTPMethod_GET     HTTPMethod = 0
	HTTPMethod_POST    HTTPMethod = 1
	HTTPMethod_PUT     HTTPMethod = 2
	HTTPMethod_DELETE  HTTPMethod = 3
	HTTPMethod_PATCH   HTTPMethod = 4
	HTTPMethod_OPTIONS HTTPMethod = 5
	HTTPMethod_HEAD    HTTPMethod = 6
	HTTPMethod_CONNECT HTTPMethod = 7
	HTTPMethod_TRACE   HTTPMethod = 8
)

func (HTTPMethod) Descriptor

func (HTTPMethod) Descriptor() protoreflect.EnumDescriptor

func (HTTPMethod) Enum

func (x HTTPMethod) Enum() *HTTPMethod

func (HTTPMethod) EnumDescriptor deprecated

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

Deprecated: Use HTTPMethod.Descriptor instead.

func (HTTPMethod) Number

func (x HTTPMethod) Number() protoreflect.EnumNumber

func (HTTPMethod) String

func (x HTTPMethod) String() string

func (HTTPMethod) Type

type HttpAPI

type HttpAPI struct {
	Secured bool `protobuf:"varint,1,opt,name=secured,proto3" json:"secured,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpAPI) Descriptor deprecated

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

Deprecated: Use HttpAPI.ProtoReflect.Descriptor instead.

func (*HttpAPI) GetSecured added in v0.1.47

func (x *HttpAPI) GetSecured() bool

func (*HttpAPI) ProtoMessage

func (*HttpAPI) ProtoMessage()

func (*HttpAPI) ProtoReflect

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

func (*HttpAPI) Reset

func (x *HttpAPI) Reset()

func (*HttpAPI) String

func (x *HttpAPI) String() string

type ManagedEnvironment added in v0.1.89

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

func (*ManagedEnvironment) Descriptor deprecated added in v0.1.89

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

Deprecated: Use ManagedEnvironment.ProtoReflect.Descriptor instead.

func (*ManagedEnvironment) GetId added in v0.1.89

func (x *ManagedEnvironment) GetId() string

func (*ManagedEnvironment) ProtoMessage added in v0.1.89

func (*ManagedEnvironment) ProtoMessage()

func (*ManagedEnvironment) ProtoReflect added in v0.1.89

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

func (*ManagedEnvironment) Reset added in v0.1.89

func (x *ManagedEnvironment) Reset()

func (*ManagedEnvironment) String added in v0.1.89

func (x *ManagedEnvironment) String() string

type ManagedModule added in v0.1.89

type ManagedModule struct {
	Id     string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Module *Module `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
	// contains filtered or unexported fields
}

func (*ManagedModule) Descriptor deprecated added in v0.1.89

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

Deprecated: Use ManagedModule.ProtoReflect.Descriptor instead.

func (*ManagedModule) GetId added in v0.1.89

func (x *ManagedModule) GetId() string

func (*ManagedModule) GetModule added in v0.1.89

func (x *ManagedModule) GetModule() *Module

func (*ManagedModule) ProtoMessage added in v0.1.89

func (*ManagedModule) ProtoMessage()

func (*ManagedModule) ProtoReflect added in v0.1.89

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

func (*ManagedModule) Reset added in v0.1.89

func (x *ManagedModule) Reset()

func (*ManagedModule) String added in v0.1.89

func (x *ManagedModule) String() string

type ManagedOrganization added in v0.1.89

type ManagedOrganization struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Organization is the organization that is managed.
	Organization *Organization `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

func (*ManagedOrganization) Descriptor deprecated added in v0.1.89

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

Deprecated: Use ManagedOrganization.ProtoReflect.Descriptor instead.

func (*ManagedOrganization) GetId added in v0.1.89

func (x *ManagedOrganization) GetId() string

func (*ManagedOrganization) GetOrganization added in v0.1.89

func (x *ManagedOrganization) GetOrganization() *Organization

func (*ManagedOrganization) ProtoMessage added in v0.1.89

func (*ManagedOrganization) ProtoMessage()

func (*ManagedOrganization) ProtoReflect added in v0.1.89

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

func (*ManagedOrganization) Reset added in v0.1.89

func (x *ManagedOrganization) Reset()

func (*ManagedOrganization) String added in v0.1.89

func (x *ManagedOrganization) String() string

type ManagedWorkspace added in v0.1.89

type ManagedWorkspace struct {

	// organization ID is the unique identifier of the organization that owns the workspace.
	// UUID truncated to 10 characters.
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// workspace ID is the unique identifier of the workspace.
	// UUID truncated to 10 characters.
	WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	// Workspace itself
	Workspace *Workspace `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

func (*ManagedWorkspace) Descriptor deprecated added in v0.1.89

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

Deprecated: Use ManagedWorkspace.ProtoReflect.Descriptor instead.

func (*ManagedWorkspace) GetOrganizationId added in v0.1.89

func (x *ManagedWorkspace) GetOrganizationId() string

func (*ManagedWorkspace) GetWorkspace added in v0.1.89

func (x *ManagedWorkspace) GetWorkspace() *Workspace

func (*ManagedWorkspace) GetWorkspaceId added in v0.1.89

func (x *ManagedWorkspace) GetWorkspaceId() string

func (*ManagedWorkspace) ProtoMessage added in v0.1.89

func (*ManagedWorkspace) ProtoMessage()

func (*ManagedWorkspace) ProtoReflect added in v0.1.89

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

func (*ManagedWorkspace) Reset added in v0.1.89

func (x *ManagedWorkspace) Reset()

func (*ManagedWorkspace) String added in v0.1.89

func (x *ManagedWorkspace) String() string

type Module added in v0.1.89

type Module struct {

	// The name of the module
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A description of the module
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Services that are provided by this module
	Services []*Service `protobuf:"bytes,4,rep,name=services,proto3" json:"services,omitempty"`
	// (Optional) The entry point for the module
	ServiceEntry string `protobuf:"bytes,5,opt,name=service_entry,json=serviceEntry,proto3" json:"service_entry,omitempty"`
	// contains filtered or unexported fields
}

func (*Module) Descriptor deprecated added in v0.1.89

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetDescription added in v0.1.89

func (x *Module) GetDescription() string

func (*Module) GetName added in v0.1.89

func (x *Module) GetName() string

func (*Module) GetServiceEntry added in v0.1.89

func (x *Module) GetServiceEntry() string

func (*Module) GetServices added in v0.1.89

func (x *Module) GetServices() []*Service

func (*Module) ProtoMessage added in v0.1.89

func (*Module) ProtoMessage()

func (*Module) ProtoReflect added in v0.1.89

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

func (*Module) Reset added in v0.1.89

func (x *Module) Reset()

func (*Module) String added in v0.1.89

func (x *Module) String() string

type NetworkAccess added in v0.1.89

type NetworkAccess struct {

	// NetworkContext is used to define
	// - "container" should be used to access system resources inside containers
	// - "native scope should be used to access system resources from the host
	// - "public" scope should be used when this should be accessible outside of the system
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkAccess) Descriptor deprecated added in v0.1.89

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

Deprecated: Use NetworkAccess.ProtoReflect.Descriptor instead.

func (*NetworkAccess) GetKind added in v0.1.89

func (x *NetworkAccess) GetKind() string

func (*NetworkAccess) ProtoMessage added in v0.1.89

func (*NetworkAccess) ProtoMessage()

func (*NetworkAccess) ProtoReflect added in v0.1.89

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

func (*NetworkAccess) Reset added in v0.1.89

func (x *NetworkAccess) Reset()

func (*NetworkAccess) String added in v0.1.89

func (x *NetworkAccess) String() string

type NetworkInstance added in v0.1.62

type NetworkInstance struct {

	// The scope of the mapping
	Access *NetworkAccess `protobuf:"bytes,1,opt,name=access,proto3" json:"access,omitempty"`
	// The host for the instance
	Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	// The hostname for the instance
	Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// The port for the instance
	Port uint32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"`
	// The address for the instance
	Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkInstance) Descriptor deprecated added in v0.1.62

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

Deprecated: Use NetworkInstance.ProtoReflect.Descriptor instead.

func (*NetworkInstance) GetAccess added in v0.1.89

func (x *NetworkInstance) GetAccess() *NetworkAccess

func (*NetworkInstance) GetAddress added in v0.1.62

func (x *NetworkInstance) GetAddress() string

func (*NetworkInstance) GetHost added in v0.1.62

func (x *NetworkInstance) GetHost() string

func (*NetworkInstance) GetHostname added in v0.1.81

func (x *NetworkInstance) GetHostname() string

func (*NetworkInstance) GetPort added in v0.1.62

func (x *NetworkInstance) GetPort() uint32

func (*NetworkInstance) ProtoMessage added in v0.1.62

func (*NetworkInstance) ProtoMessage()

func (*NetworkInstance) ProtoReflect added in v0.1.62

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

func (*NetworkInstance) Reset added in v0.1.62

func (x *NetworkInstance) Reset()

func (*NetworkInstance) String added in v0.1.62

func (x *NetworkInstance) String() string

type NetworkMapping added in v0.1.20

type NetworkMapping struct {

	// The endpoint to be accessed
	Endpoint *Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// The network instances corresponding to the endpoint
	Instances []*NetworkInstance `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"`
	// contains filtered or unexported fields
}

An endpoint to be accessed needs Network Mapping.

Network Mappings come with different scopes

- FromContainer: This is the mapping we want to use inside Container - FromHost: This is the mapping we want to use from the Host - Public: This is the mapping we want to use if something is publicly accessible: match to a DNS record

func (*NetworkMapping) Descriptor deprecated added in v0.1.20

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

Deprecated: Use NetworkMapping.ProtoReflect.Descriptor instead.

func (*NetworkMapping) GetEndpoint added in v0.1.20

func (x *NetworkMapping) GetEndpoint() *Endpoint

func (*NetworkMapping) GetInstances added in v0.1.62

func (x *NetworkMapping) GetInstances() []*NetworkInstance

func (*NetworkMapping) ProtoMessage added in v0.1.20

func (*NetworkMapping) ProtoMessage()

func (*NetworkMapping) ProtoReflect added in v0.1.20

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

func (*NetworkMapping) Reset added in v0.1.20

func (x *NetworkMapping) Reset()

func (*NetworkMapping) String added in v0.1.20

func (x *NetworkMapping) String() string

type Organization

type Organization struct {

	// Name is the name of the organization.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Organization represents the owner of workspaces

func (*Organization) Descriptor deprecated

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

Deprecated: Use Organization.ProtoReflect.Descriptor instead.

func (*Organization) GetName

func (x *Organization) GetName() string

func (*Organization) ProtoMessage

func (*Organization) ProtoMessage()

func (*Organization) ProtoReflect

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

func (*Organization) Reset

func (x *Organization) Reset()

func (*Organization) String

func (x *Organization) String() string

type RPC

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

func (*RPC) Descriptor deprecated

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

Deprecated: Use RPC.ProtoReflect.Descriptor instead.

func (*RPC) GetName

func (x *RPC) GetName() string

func (*RPC) GetServiceName added in v0.1.35

func (x *RPC) GetServiceName() string

func (*RPC) ProtoMessage

func (*RPC) ProtoMessage()

func (*RPC) ProtoReflect

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

func (*RPC) Reset

func (x *RPC) Reset()

func (*RPC) String

func (x *RPC) String() string

type RestAPI

type RestAPI struct {
	Service string            `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	Module  string            `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
	Groups  []*RestRouteGroup `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"`
	Openapi []byte            `protobuf:"bytes,4,opt,name=openapi,proto3" json:"openapi,omitempty"`
	Secured bool              `protobuf:"varint,5,opt,name=secured,proto3" json:"secured,omitempty"`
	// contains filtered or unexported fields
}

func (*RestAPI) Descriptor deprecated

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

Deprecated: Use RestAPI.ProtoReflect.Descriptor instead.

func (*RestAPI) GetGroups added in v0.1.18

func (x *RestAPI) GetGroups() []*RestRouteGroup

func (*RestAPI) GetModule added in v0.1.89

func (x *RestAPI) GetModule() string

func (*RestAPI) GetOpenapi

func (x *RestAPI) GetOpenapi() []byte

func (*RestAPI) GetSecured added in v0.1.47

func (x *RestAPI) GetSecured() bool

func (*RestAPI) GetService added in v0.1.18

func (x *RestAPI) GetService() string

func (*RestAPI) ProtoMessage

func (*RestAPI) ProtoMessage()

func (*RestAPI) ProtoReflect

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

func (*RestAPI) Reset

func (x *RestAPI) Reset()

func (*RestAPI) String

func (x *RestAPI) String() string

type RestRoute

type RestRoute struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// TODO [(buf.validate.field).string.pattern = "^/([a-z0-9-/]+)*$", (buf.validate.field).string.min_len = 3, (buf.validate.field).string.max_len = 25];
	Method HTTPMethod `protobuf:"varint,2,opt,name=method,proto3,enum=base.v0.HTTPMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

RestRoute represents the data of the route itself It is usually found through a Route group

func (*RestRoute) Descriptor deprecated

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

Deprecated: Use RestRoute.ProtoReflect.Descriptor instead.

func (*RestRoute) GetMethod added in v0.1.18

func (x *RestRoute) GetMethod() HTTPMethod

func (*RestRoute) GetPath

func (x *RestRoute) GetPath() string

func (*RestRoute) ProtoMessage

func (*RestRoute) ProtoMessage()

func (*RestRoute) ProtoReflect

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

func (*RestRoute) Reset

func (x *RestRoute) Reset()

func (*RestRoute) String

func (x *RestRoute) String() string

type RestRouteGroup added in v0.1.18

type RestRouteGroup struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// TODO [(buf.validate.field).string.pattern = "^/([a-z0-9-/]+)*$", (buf.validate.field).string.min_len = 3, (buf.validate.field).string.max_len = 25];
	Routes []*RestRoute `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

A RestRouteGroup is a collection of routes that share the same path

func (*RestRouteGroup) Descriptor deprecated added in v0.1.18

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

Deprecated: Use RestRouteGroup.ProtoReflect.Descriptor instead.

func (*RestRouteGroup) GetPath added in v0.1.53

func (x *RestRouteGroup) GetPath() string

func (*RestRouteGroup) GetRoutes added in v0.1.18

func (x *RestRouteGroup) GetRoutes() []*RestRoute

func (*RestRouteGroup) ProtoMessage added in v0.1.18

func (*RestRouteGroup) ProtoMessage()

func (*RestRouteGroup) ProtoReflect added in v0.1.18

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

func (*RestRouteGroup) Reset added in v0.1.18

func (x *RestRouteGroup) Reset()

func (*RestRouteGroup) String added in v0.1.18

func (x *RestRouteGroup) String() string

type RuntimeContext added in v0.1.89

type RuntimeContext struct {

	// RuntimeContext is used to define the scope of a runtime resource
	// - "free" lets the runtime decide the scope
	// - "container" scope should be used inside containers
	// - "native" scope should be used when running "natively" on the host
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Name enables to "tag" the runtime context: useful for test
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RuntimeContext) Descriptor deprecated added in v0.1.89

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

Deprecated: Use RuntimeContext.ProtoReflect.Descriptor instead.

func (*RuntimeContext) GetKind added in v0.1.89

func (x *RuntimeContext) GetKind() string

func (*RuntimeContext) GetName added in v0.1.89

func (x *RuntimeContext) GetName() string

func (*RuntimeContext) ProtoMessage added in v0.1.89

func (*RuntimeContext) ProtoMessage()

func (*RuntimeContext) ProtoReflect added in v0.1.89

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

func (*RuntimeContext) Reset added in v0.1.89

func (x *RuntimeContext) Reset()

func (*RuntimeContext) String added in v0.1.89

func (x *RuntimeContext) String() string

type Service

type Service struct {

	// Name of the service
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Short description of the the service
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Agent that represents the service
	Agent *Agent `protobuf:"bytes,3,opt,name=agent,proto3" json:"agent,omitempty"`
	// Endpoints exposed by the service
	Endpoints []*Endpoint `protobuf:"bytes,4,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// Dependencies
	ServiceDependencies []*ServiceReference `protobuf:"bytes,5,rep,name=service_dependencies,json=serviceDependencies,proto3" json:"service_dependencies,omitempty"`
	// contains filtered or unexported fields
}

Service is the fundamental "live" computing unit of a system It belongs to a module It is "hosted" by an agent It has a set of endpoints

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetAgent

func (x *Service) GetAgent() *Agent

func (*Service) GetDescription

func (x *Service) GetDescription() string

func (*Service) GetEndpoints

func (x *Service) GetEndpoints() []*Endpoint

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetServiceDependencies added in v0.1.61

func (x *Service) GetServiceDependencies() []*ServiceReference

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type ServiceIdentity

type ServiceIdentity struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Module    string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
	Workspace string `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"`
	Version   string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	Location  string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

ServiceIdentity is the identity of a service in a workspace

func (*ServiceIdentity) Descriptor deprecated

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

Deprecated: Use ServiceIdentity.ProtoReflect.Descriptor instead.

func (*ServiceIdentity) GetLocation

func (x *ServiceIdentity) GetLocation() string

func (*ServiceIdentity) GetModule added in v0.1.89

func (x *ServiceIdentity) GetModule() string

func (*ServiceIdentity) GetName

func (x *ServiceIdentity) GetName() string

func (*ServiceIdentity) GetVersion added in v0.1.89

func (x *ServiceIdentity) GetVersion() string

func (*ServiceIdentity) GetWorkspace added in v0.1.89

func (x *ServiceIdentity) GetWorkspace() string

func (*ServiceIdentity) ProtoMessage

func (*ServiceIdentity) ProtoMessage()

func (*ServiceIdentity) ProtoReflect

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

func (*ServiceIdentity) Reset

func (x *ServiceIdentity) Reset()

func (*ServiceIdentity) String

func (x *ServiceIdentity) String() string

type ServiceReference added in v0.1.61

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

func (*ServiceReference) Descriptor deprecated added in v0.1.61

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

Deprecated: Use ServiceReference.ProtoReflect.Descriptor instead.

func (*ServiceReference) GetModule added in v0.1.89

func (x *ServiceReference) GetModule() string

func (*ServiceReference) GetName added in v0.1.61

func (x *ServiceReference) GetName() string

func (*ServiceReference) ProtoMessage added in v0.1.61

func (*ServiceReference) ProtoMessage()

func (*ServiceReference) ProtoReflect added in v0.1.61

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

func (*ServiceReference) Reset added in v0.1.61

func (x *ServiceReference) Reset()

func (*ServiceReference) String added in v0.1.61

func (x *ServiceReference) String() string

type SpecValue added in v0.1.50

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

func (*SpecValue) Descriptor deprecated added in v0.1.50

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

Deprecated: Use SpecValue.ProtoReflect.Descriptor instead.

func (*SpecValue) GetValue added in v0.1.50

func (x *SpecValue) GetValue() *anypb.Any

func (*SpecValue) ProtoMessage added in v0.1.50

func (*SpecValue) ProtoMessage()

func (*SpecValue) ProtoReflect added in v0.1.50

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

func (*SpecValue) Reset added in v0.1.50

func (x *SpecValue) Reset()

func (*SpecValue) String added in v0.1.50

func (x *SpecValue) String() string

type Specs added in v0.1.50

type Specs struct {
	Fields map[string]*SpecValue `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Specs) Descriptor deprecated added in v0.1.50

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

Deprecated: Use Specs.ProtoReflect.Descriptor instead.

func (*Specs) GetFields added in v0.1.50

func (x *Specs) GetFields() map[string]*SpecValue

func (*Specs) ProtoMessage added in v0.1.50

func (*Specs) ProtoMessage()

func (*Specs) ProtoReflect added in v0.1.50

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

func (*Specs) Reset added in v0.1.50

func (x *Specs) Reset()

func (*Specs) String added in v0.1.50

func (x *Specs) String() string

type TcpAPI

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

func (*TcpAPI) Descriptor deprecated

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

Deprecated: Use TcpAPI.ProtoReflect.Descriptor instead.

func (*TcpAPI) ProtoMessage

func (*TcpAPI) ProtoMessage()

func (*TcpAPI) ProtoReflect

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

func (*TcpAPI) Reset

func (x *TcpAPI) Reset()

func (*TcpAPI) String

func (x *TcpAPI) String() string

type Version

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

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetVersion

func (x *Version) GetVersion() string

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

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

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

type Workspace added in v0.1.89

type Workspace struct {

	// name is the name of the workspace
	// it needs to be a valid hostname, and it should not contain "--" as it will be used for DNS
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// description provides a brief explanation of the workspace.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// modules is the list of modules that are part of the workspace.
	Modules []*Module `protobuf:"bytes,3,rep,name=modules,proto3" json:"modules,omitempty"`
	// layout is how the workspace is structure
	Layout string `protobuf:"bytes,4,opt,name=layout,proto3" json:"layout,omitempty"`
	// contains filtered or unexported fields
}

A Workspace is the top-level entity in the system. Services are organized in modules, and modules are part of a workspace. A workspace can itself be its own module for simple workspaces.

func (*Workspace) Descriptor deprecated added in v0.1.89

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

Deprecated: Use Workspace.ProtoReflect.Descriptor instead.

func (*Workspace) GetDescription added in v0.1.89

func (x *Workspace) GetDescription() string

func (*Workspace) GetLayout added in v0.1.89

func (x *Workspace) GetLayout() string

func (*Workspace) GetModules added in v0.1.89

func (x *Workspace) GetModules() []*Module

func (*Workspace) GetName added in v0.1.89

func (x *Workspace) GetName() string

func (*Workspace) ProtoMessage added in v0.1.89

func (*Workspace) ProtoMessage()

func (*Workspace) ProtoReflect added in v0.1.89

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

func (*Workspace) Reset added in v0.1.89

func (x *Workspace) Reset()

func (*Workspace) String added in v0.1.89

func (x *Workspace) String() string

Jump to

Keyboard shortcuts

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