Help us shape the future of Go! Take the 2026 Go Developer Survey

services

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InitStatus_State_name = map[int32]string{
		0: "UNKNOWN",
		1: "READY",
		2: "ERROR",
	}
	InitStatus_State_value = map[string]int32{
		"UNKNOWN": 0,
		"READY":   1,
		"ERROR":   2,
	}
)

Enum value maps for InitStatus_State.

View Source
var File_proto_services_init_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type InitRequest

type InitRequest struct {
	Debug bool `protobuf:"varint,1,opt,name=debug,proto3" json:"debug,omitempty"` // Developer debug
	// Location of the service on the filesystem
	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// Identity of the service
	Identity *ServiceIdentity `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	// Dependency EndpointGroup
	DependencyEndpointGroup *base.EndpointGroup `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InitRequest) Descriptor deprecated

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

Deprecated: Use InitRequest.ProtoReflect.Descriptor instead.

func (*InitRequest) GetDebug

func (x *InitRequest) GetDebug() bool

func (*InitRequest) GetDependencyEndpointGroup

func (x *InitRequest) GetDependencyEndpointGroup() *base.EndpointGroup

func (*InitRequest) GetIdentity

func (x *InitRequest) GetIdentity() *ServiceIdentity

func (*InitRequest) GetLocation

func (x *InitRequest) GetLocation() string

func (*InitRequest) ProtoMessage

func (*InitRequest) ProtoMessage()

func (*InitRequest) ProtoReflect

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

func (*InitRequest) Reset

func (x *InitRequest) Reset()

func (*InitRequest) String

func (x *InitRequest) String() string

type InitStatus

type InitStatus struct {
	State   InitStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=v1.services.InitStatus_State" json:"state,omitempty"`
	Message string           `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*InitStatus) Descriptor deprecated

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

Deprecated: Use InitStatus.ProtoReflect.Descriptor instead.

func (*InitStatus) GetMessage

func (x *InitStatus) GetMessage() string

func (*InitStatus) GetState

func (x *InitStatus) GetState() InitStatus_State

func (*InitStatus) ProtoMessage

func (*InitStatus) ProtoMessage()

func (*InitStatus) ProtoReflect

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

func (*InitStatus) Reset

func (x *InitStatus) Reset()

func (*InitStatus) String

func (x *InitStatus) String() string

type InitStatus_State

type InitStatus_State int32
const (
	InitStatus_UNKNOWN InitStatus_State = 0
	InitStatus_READY   InitStatus_State = 1
	InitStatus_ERROR   InitStatus_State = 2
)

func (InitStatus_State) Descriptor

func (InitStatus_State) Enum

func (InitStatus_State) EnumDescriptor deprecated

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

Deprecated: Use InitStatus_State.Descriptor instead.

func (InitStatus_State) Number

func (InitStatus_State) String

func (x InitStatus_State) String() string

func (InitStatus_State) Type

type ServiceIdentity

type ServiceIdentity struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`               // The name of the service
	Domain      string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`           // The domain of the service
	Application string `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"` // The application of the service | logical partitioning
	Namespace   string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`     // The namespace of the service | resource partitioning
	// contains filtered or unexported fields
}

func (*ServiceIdentity) Descriptor deprecated

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

Deprecated: Use ServiceIdentity.ProtoReflect.Descriptor instead.

func (*ServiceIdentity) GetApplication

func (x *ServiceIdentity) GetApplication() string

func (*ServiceIdentity) GetDomain

func (x *ServiceIdentity) GetDomain() string

func (*ServiceIdentity) GetName

func (x *ServiceIdentity) GetName() string

func (*ServiceIdentity) GetNamespace

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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