base

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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_api_proto protoreflect.FileDescriptor
View Source
var File_base_environment_proto protoreflect.FileDescriptor
View Source
var File_base_sessions_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type API

type API struct {

	// Types that are assignable to Value:
	//
	//	*API_Tcp
	//	*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) 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,3,opt,name=grpc,proto3,oneof"`
}

type API_Rest

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

type API_Tcp

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

type ApplicationEndpointGroup

type ApplicationEndpointGroup struct {
	Name                  string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Public                bool                    `protobuf:"varint,2,opt,name=public,proto3" json:"public,omitempty"`
	ServiceEndpointGroups []*ServiceEndpointGroup `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ApplicationEndpointGroup) Descriptor deprecated

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

Deprecated: Use ApplicationEndpointGroup.ProtoReflect.Descriptor instead.

func (*ApplicationEndpointGroup) GetName

func (x *ApplicationEndpointGroup) GetName() string

func (*ApplicationEndpointGroup) GetPublic

func (x *ApplicationEndpointGroup) GetPublic() bool

func (*ApplicationEndpointGroup) GetServiceEndpointGroups

func (x *ApplicationEndpointGroup) GetServiceEndpointGroups() []*ServiceEndpointGroup

func (*ApplicationEndpointGroup) ProtoMessage

func (*ApplicationEndpointGroup) ProtoMessage()

func (*ApplicationEndpointGroup) ProtoReflect

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

func (*ApplicationEndpointGroup) Reset

func (x *ApplicationEndpointGroup) Reset()

func (*ApplicationEndpointGroup) String

func (x *ApplicationEndpointGroup) String() string

type ApplicationSnapshot

type ApplicationSnapshot struct {
	Uuid    string           `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name    string           `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Project *ProjectSnapshot `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationSnapshot) Descriptor deprecated

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

Deprecated: Use ApplicationSnapshot.ProtoReflect.Descriptor instead.

func (*ApplicationSnapshot) GetName

func (x *ApplicationSnapshot) GetName() string

func (*ApplicationSnapshot) GetProject

func (x *ApplicationSnapshot) GetProject() *ProjectSnapshot

func (*ApplicationSnapshot) GetUuid

func (x *ApplicationSnapshot) GetUuid() string

func (*ApplicationSnapshot) ProtoMessage

func (*ApplicationSnapshot) ProtoMessage()

func (*ApplicationSnapshot) ProtoReflect

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

func (*ApplicationSnapshot) Reset

func (x *ApplicationSnapshot) Reset()

func (*ApplicationSnapshot) String

func (x *ApplicationSnapshot) String() string

type Endpoint

type Endpoint struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Scope       string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
	Api         *API   `protobuf:"bytes,4,opt,name=api,proto3" json:"api,omitempty"`
	Application string `protobuf:"bytes,5,opt,name=application,proto3" json:"application,omitempty"`
	Service     string `protobuf:"bytes,6,opt,name=service,proto3" json:"service,omitempty"`
	Namespace   string `protobuf:"bytes,7,opt,name=namespace,proto3" json:"namespace,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() *API

func (*Endpoint) GetApplication

func (x *Endpoint) GetApplication() string

func (*Endpoint) GetDescription

func (x *Endpoint) GetDescription() string

func (*Endpoint) GetName

func (x *Endpoint) GetName() string

func (*Endpoint) GetNamespace

func (x *Endpoint) GetNamespace() string

func (*Endpoint) GetScope

func (x *Endpoint) GetScope() string

func (*Endpoint) GetService

func (x *Endpoint) GetService() 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 EndpointGroup

type EndpointGroup struct {
	ApplicationEndpointGroup []*ApplicationEndpointGroup `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EndpointGroup) Descriptor deprecated

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

Deprecated: Use EndpointGroup.ProtoReflect.Descriptor instead.

func (*EndpointGroup) GetApplicationEndpointGroup

func (x *EndpointGroup) GetApplicationEndpointGroup() []*ApplicationEndpointGroup

func (*EndpointGroup) ProtoMessage

func (*EndpointGroup) ProtoMessage()

func (*EndpointGroup) ProtoReflect

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

func (*EndpointGroup) Reset

func (x *EndpointGroup) Reset()

func (*EndpointGroup) String

func (x *EndpointGroup) String() string

type Environment added in v0.0.31

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

func (*Environment) Descriptor deprecated added in v0.0.31

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetName added in v0.0.31

func (x *Environment) GetName() string

func (*Environment) ProtoMessage added in v0.0.31

func (*Environment) ProtoMessage()

func (*Environment) ProtoReflect added in v0.0.31

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

func (*Environment) Reset added in v0.0.31

func (x *Environment) Reset()

func (*Environment) String added in v0.0.31

func (x *Environment) String() string

type GrpcAPI

type GrpcAPI struct {
	Proto []byte `protobuf:"bytes,1,opt,name=proto,proto3" json:"proto,omitempty"`
	// contains filtered or unexported fields
}

func (*GrpcAPI) Descriptor deprecated

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

Deprecated: Use GrpcAPI.ProtoReflect.Descriptor instead.

func (*GrpcAPI) GetProto

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

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 HttpAPI

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

func (*HttpAPI) Descriptor deprecated

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

Deprecated: Use HttpAPI.ProtoReflect.Descriptor instead.

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 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 PartialSnapshot

type PartialSnapshot struct {
	Uuid         string                 `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name         string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Project      *ProjectSnapshot       `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	Applications []*ApplicationSnapshot `protobuf:"bytes,4,rep,name=applications,proto3" json:"applications,omitempty"`
	// contains filtered or unexported fields
}

func (*PartialSnapshot) Descriptor deprecated

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

Deprecated: Use PartialSnapshot.ProtoReflect.Descriptor instead.

func (*PartialSnapshot) GetApplications

func (x *PartialSnapshot) GetApplications() []*ApplicationSnapshot

func (*PartialSnapshot) GetName

func (x *PartialSnapshot) GetName() string

func (*PartialSnapshot) GetProject

func (x *PartialSnapshot) GetProject() *ProjectSnapshot

func (*PartialSnapshot) GetUuid

func (x *PartialSnapshot) GetUuid() string

func (*PartialSnapshot) ProtoMessage

func (*PartialSnapshot) ProtoMessage()

func (*PartialSnapshot) ProtoReflect

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

func (*PartialSnapshot) Reset

func (x *PartialSnapshot) Reset()

func (*PartialSnapshot) String

func (x *PartialSnapshot) String() string

type ProjectSnapshot

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

func (*ProjectSnapshot) Descriptor deprecated

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

Deprecated: Use ProjectSnapshot.ProtoReflect.Descriptor instead.

func (*ProjectSnapshot) GetName

func (x *ProjectSnapshot) GetName() string

func (*ProjectSnapshot) GetUuid

func (x *ProjectSnapshot) GetUuid() string

func (*ProjectSnapshot) ProtoMessage

func (*ProjectSnapshot) ProtoMessage()

func (*ProjectSnapshot) ProtoReflect

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

func (*ProjectSnapshot) Reset

func (x *ProjectSnapshot) Reset()

func (*ProjectSnapshot) String

func (x *ProjectSnapshot) String() string

type RestAPI

type RestAPI struct {
	Openapi []byte       `protobuf:"bytes,1,opt,name=openapi,proto3" json:"openapi,omitempty"`
	Routes  []*RestRoute `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

func (*RestAPI) Descriptor deprecated

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

Deprecated: Use RestAPI.ProtoReflect.Descriptor instead.

func (*RestAPI) GetOpenapi

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

func (*RestAPI) GetRoutes

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

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 {
	Methods []HttpMethod `protobuf:"varint,1,rep,packed,name=methods,proto3,enum=v1.base.HttpMethod" json:"methods,omitempty"`
	Path    string       `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*RestRoute) Descriptor deprecated

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

Deprecated: Use RestRoute.ProtoReflect.Descriptor instead.

func (*RestRoute) GetMethods

func (x *RestRoute) GetMethods() []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 ServiceEndpointGroup

type ServiceEndpointGroup struct {
	Name      string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Public    bool        `protobuf:"varint,2,opt,name=public,proto3" json:"public,omitempty"`
	Endpoints []*Endpoint `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceEndpointGroup) Descriptor deprecated

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

Deprecated: Use ServiceEndpointGroup.ProtoReflect.Descriptor instead.

func (*ServiceEndpointGroup) GetEndpoints

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

func (*ServiceEndpointGroup) GetName

func (x *ServiceEndpointGroup) GetName() string

func (*ServiceEndpointGroup) GetPublic

func (x *ServiceEndpointGroup) GetPublic() bool

func (*ServiceEndpointGroup) ProtoMessage

func (*ServiceEndpointGroup) ProtoMessage()

func (*ServiceEndpointGroup) ProtoReflect

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

func (*ServiceEndpointGroup) Reset

func (x *ServiceEndpointGroup) Reset()

func (*ServiceEndpointGroup) String

func (x *ServiceEndpointGroup) String() string

type Session

type Session struct {
	Uuid string                 `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	At   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=at,proto3" json:"at,omitempty"`
	// Types that are assignable to Session:
	//
	//	*Session_Partial
	//	*Session_Application
	Session isSession_Session `protobuf_oneof:"session"`
	// contains filtered or unexported fields
}

func (*Session) Descriptor deprecated

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

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetApplication

func (x *Session) GetApplication() *ApplicationSnapshot

func (*Session) GetAt

func (x *Session) GetAt() *timestamppb.Timestamp

func (*Session) GetPartial

func (x *Session) GetPartial() *PartialSnapshot

func (*Session) GetSession

func (m *Session) GetSession() isSession_Session

func (*Session) GetUuid

func (x *Session) GetUuid() string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

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

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

type Session_Application

type Session_Application struct {
	Application *ApplicationSnapshot `protobuf:"bytes,4,opt,name=application,proto3,oneof"`
}

type Session_Partial

type Session_Partial struct {
	Partial *PartialSnapshot `protobuf:"bytes,3,opt,name=partial,proto3,oneof"`
}

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

Jump to

Keyboard shortcuts

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