v0

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Factory_Load_FullMethodName        = "/services.factory.v0.Factory/Load"
	Factory_Init_FullMethodName        = "/services.factory.v0.Factory/Init"
	Factory_Create_FullMethodName      = "/services.factory.v0.Factory/Create"
	Factory_Update_FullMethodName      = "/services.factory.v0.Factory/Update"
	Factory_Sync_FullMethodName        = "/services.factory.v0.Factory/Sync"
	Factory_Build_FullMethodName       = "/services.factory.v0.Factory/Build"
	Factory_Deploy_FullMethodName      = "/services.factory.v0.Factory/Deploy"
	Factory_Communicate_FullMethodName = "/services.factory.v0.Factory/Communicate"
)

Variables

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

Enum value maps for LoadStatus_State.

View Source
var (
	CreateStatus_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "CREATED",
		2: "ERROR",
	}
	CreateStatus_Status_value = map[string]int32{
		"UNKNOWN": 0,
		"CREATED": 1,
		"ERROR":   2,
	}
)

Enum value maps for CreateStatus_Status.

View Source
var (
	InitStatus_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "SUCESS",
		2: "ERROR",
	}
	InitStatus_Status_value = map[string]int32{
		"UNKNOWN": 0,
		"SUCESS":  1,
		"ERROR":   2,
	}
)

Enum value maps for InitStatus_Status.

View Source
var (
	SyncStatus_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "SUCCESS",
		2: "ERROR",
	}
	SyncStatus_Status_value = map[string]int32{
		"UNKNOWN": 0,
		"SUCCESS": 1,
		"ERROR":   2,
	}
)

Enum value maps for SyncStatus_Status.

View Source
var (
	BuildStatus_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "SUCCESS",
		2: "ERROR",
	}
	BuildStatus_Status_value = map[string]int32{
		"UNKNOWN": 0,
		"SUCCESS": 1,
		"ERROR":   2,
	}
)

Enum value maps for BuildStatus_Status.

View Source
var Factory_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.factory.v0.Factory",
	HandlerType: (*FactoryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Load",
			Handler:    _Factory_Load_Handler,
		},
		{
			MethodName: "Init",
			Handler:    _Factory_Init_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _Factory_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Factory_Update_Handler,
		},
		{
			MethodName: "Sync",
			Handler:    _Factory_Sync_Handler,
		},
		{
			MethodName: "Build",
			Handler:    _Factory_Build_Handler,
		},
		{
			MethodName: "Deploy",
			Handler:    _Factory_Deploy_Handler,
		},
		{
			MethodName: "Communicate",
			Handler:    _Factory_Communicate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/factory/v0/factory.proto",
}

Factory_ServiceDesc is the grpc.ServiceDesc for Factory service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_services_factory_v0_factory_proto protoreflect.FileDescriptor

Functions

func RegisterFactoryServer

func RegisterFactoryServer(s grpc.ServiceRegistrar, srv FactoryServer)

Types

type BuildRequest

type BuildRequest struct {
	DependenciesEndpoints []*v0.Endpoint `protobuf:"bytes,1,rep,name=dependencies_endpoints,json=dependenciesEndpoints,proto3" json:"dependencies_endpoints,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildRequest) Descriptor deprecated

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

Deprecated: Use BuildRequest.ProtoReflect.Descriptor instead.

func (*BuildRequest) GetDependenciesEndpoints

func (x *BuildRequest) GetDependenciesEndpoints() []*v0.Endpoint

func (*BuildRequest) ProtoMessage

func (*BuildRequest) ProtoMessage()

func (*BuildRequest) ProtoReflect

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

func (*BuildRequest) Reset

func (x *BuildRequest) Reset()

func (*BuildRequest) String

func (x *BuildRequest) String() string

type BuildResponse

type BuildResponse struct {
	Status *BuildStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildResponse) Descriptor deprecated

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

Deprecated: Use BuildResponse.ProtoReflect.Descriptor instead.

func (*BuildResponse) GetStatus

func (x *BuildResponse) GetStatus() *BuildStatus

func (*BuildResponse) ProtoMessage

func (*BuildResponse) ProtoMessage()

func (*BuildResponse) ProtoReflect

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

func (*BuildResponse) Reset

func (x *BuildResponse) Reset()

func (*BuildResponse) String

func (x *BuildResponse) String() string

type BuildStatus

type BuildStatus struct {
	Status  BuildStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=services.factory.v0.BuildStatus_Status" json:"status,omitempty"`
	Message string             `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildStatus) Descriptor deprecated

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

Deprecated: Use BuildStatus.ProtoReflect.Descriptor instead.

func (*BuildStatus) GetMessage

func (x *BuildStatus) GetMessage() string

func (*BuildStatus) GetStatus

func (x *BuildStatus) GetStatus() BuildStatus_Status

func (*BuildStatus) ProtoMessage

func (*BuildStatus) ProtoMessage()

func (*BuildStatus) ProtoReflect

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

func (*BuildStatus) Reset

func (x *BuildStatus) Reset()

func (*BuildStatus) String

func (x *BuildStatus) String() string

type BuildStatus_Status

type BuildStatus_Status int32
const (
	BuildStatus_UNKNOWN BuildStatus_Status = 0
	BuildStatus_SUCCESS BuildStatus_Status = 1
	BuildStatus_ERROR   BuildStatus_Status = 2
)

func (BuildStatus_Status) Descriptor

func (BuildStatus_Status) Enum

func (BuildStatus_Status) EnumDescriptor deprecated

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

Deprecated: Use BuildStatus_Status.Descriptor instead.

func (BuildStatus_Status) Number

func (BuildStatus_Status) String

func (x BuildStatus_Status) String() string

func (BuildStatus_Status) Type

type CreateRequest

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

func (*CreateRequest) Descriptor deprecated

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

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

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

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type CreateResponse

type CreateResponse struct {
	Status    *CreateStatus  `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Endpoints []*v0.Endpoint `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // The endpoints of the created service
	// contains filtered or unexported fields
}

func (*CreateResponse) Descriptor deprecated

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

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) GetEndpoints

func (x *CreateResponse) GetEndpoints() []*v0.Endpoint

func (*CreateResponse) GetStatus

func (x *CreateResponse) GetStatus() *CreateStatus

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect

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

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

type CreateStatus

type CreateStatus struct {
	Status  CreateStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=services.factory.v0.CreateStatus_Status" json:"status,omitempty"`
	Message string              `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateStatus) Descriptor deprecated

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

Deprecated: Use CreateStatus.ProtoReflect.Descriptor instead.

func (*CreateStatus) GetMessage

func (x *CreateStatus) GetMessage() string

func (*CreateStatus) GetStatus

func (x *CreateStatus) GetStatus() CreateStatus_Status

func (*CreateStatus) ProtoMessage

func (*CreateStatus) ProtoMessage()

func (*CreateStatus) ProtoReflect

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

func (*CreateStatus) Reset

func (x *CreateStatus) Reset()

func (*CreateStatus) String

func (x *CreateStatus) String() string

type CreateStatus_Status

type CreateStatus_Status int32
const (
	CreateStatus_UNKNOWN CreateStatus_Status = 0
	CreateStatus_CREATED CreateStatus_Status = 1
	CreateStatus_ERROR   CreateStatus_Status = 2
)

func (CreateStatus_Status) Descriptor

func (CreateStatus_Status) Enum

func (CreateStatus_Status) EnumDescriptor deprecated

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

Deprecated: Use CreateStatus_Status.Descriptor instead.

func (CreateStatus_Status) Number

func (CreateStatus_Status) String

func (x CreateStatus_Status) String() string

func (CreateStatus_Status) Type

type DeploymentRequest

type DeploymentRequest struct {
	Environment *v0.Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentRequest) Descriptor deprecated

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

Deprecated: Use DeploymentRequest.ProtoReflect.Descriptor instead.

func (*DeploymentRequest) GetEnvironment

func (x *DeploymentRequest) GetEnvironment() *v0.Environment

func (*DeploymentRequest) ProtoMessage

func (*DeploymentRequest) ProtoMessage()

func (*DeploymentRequest) ProtoReflect

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

func (*DeploymentRequest) Reset

func (x *DeploymentRequest) Reset()

func (*DeploymentRequest) String

func (x *DeploymentRequest) String() string

type DeploymentResponse

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

func (*DeploymentResponse) Descriptor deprecated

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

Deprecated: Use DeploymentResponse.ProtoReflect.Descriptor instead.

func (*DeploymentResponse) ProtoMessage

func (*DeploymentResponse) ProtoMessage()

func (*DeploymentResponse) ProtoReflect

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

func (*DeploymentResponse) Reset

func (x *DeploymentResponse) Reset()

func (*DeploymentResponse) String

func (x *DeploymentResponse) String() string

type FactoryClient

type FactoryClient interface {
	// Setup
	Load(ctx context.Context, in *LoadRequest, opts ...grpc.CallOption) (*LoadResponse, error)
	// Init
	Init(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (*InitResponse, error)
	// Affect Code
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
	Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	// Affect Data
	Sync(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error)
	// Deployment/Build only on init data
	Build(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (*BuildResponse, error)
	Deploy(ctx context.Context, in *DeploymentRequest, opts ...grpc.CallOption) (*DeploymentResponse, error)
	// Communication helper
	Communicate(ctx context.Context, in *v0.Engage, opts ...grpc.CallOption) (*v0.InformationRequest, error)
}

FactoryClient is the client API for Factory service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewFactoryClient

func NewFactoryClient(cc grpc.ClientConnInterface) FactoryClient

type FactoryServer

type FactoryServer interface {
	// Setup
	Load(context.Context, *LoadRequest) (*LoadResponse, error)
	// Init
	Init(context.Context, *InitRequest) (*InitResponse, error)
	// Affect Code
	Create(context.Context, *CreateRequest) (*CreateResponse, error)
	Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
	// Affect Data
	Sync(context.Context, *SyncRequest) (*SyncResponse, error)
	// Deployment/Build only on init data
	Build(context.Context, *BuildRequest) (*BuildResponse, error)
	Deploy(context.Context, *DeploymentRequest) (*DeploymentResponse, error)
	// Communication helper
	Communicate(context.Context, *v0.Engage) (*v0.InformationRequest, error)
	// contains filtered or unexported methods
}

FactoryServer is the server API for Factory service. All implementations must embed UnimplementedFactoryServer for forward compatibility

type InitRequest

type InitRequest struct {

	// Endpoints of the dependencies
	DependenciesEndpoints []*v0.Endpoint `protobuf:"bytes,1,rep,name=dependencies_endpoints,json=dependenciesEndpoints,proto3" json:"dependencies_endpoints,omitempty"`
	// Provider information required by the service
	ProviderInfos []*v0.ProviderInformation `protobuf:"bytes,2,rep,name=provider_infos,json=providerInfos,proto3" json:"provider_infos,omitempty"`
	// contains filtered or unexported fields
}

func (*InitRequest) Descriptor deprecated

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

Deprecated: Use InitRequest.ProtoReflect.Descriptor instead.

func (*InitRequest) GetDependenciesEndpoints

func (x *InitRequest) GetDependenciesEndpoints() []*v0.Endpoint

func (*InitRequest) GetProviderInfos added in v0.1.6

func (x *InitRequest) GetProviderInfos() []*v0.ProviderInformation

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 InitResponse

type InitResponse struct {
	Status  *InitStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	RunHash string      `protobuf:"bytes,2,opt,name=run_hash,json=runHash,proto3" json:"run_hash,omitempty"` // A run hash is a proxy for the uniqueness of the behavior of a service
	// A Service can serve as a provider as well
	ProviderInfos []*v0.ProviderInformation `protobuf:"bytes,3,rep,name=provider_infos,json=providerInfos,proto3" json:"provider_infos,omitempty"`
	// contains filtered or unexported fields
}

func (*InitResponse) Descriptor deprecated

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

Deprecated: Use InitResponse.ProtoReflect.Descriptor instead.

func (*InitResponse) GetProviderInfos added in v0.1.6

func (x *InitResponse) GetProviderInfos() []*v0.ProviderInformation

func (*InitResponse) GetRunHash

func (x *InitResponse) GetRunHash() string

func (*InitResponse) GetStatus

func (x *InitResponse) GetStatus() *InitStatus

func (*InitResponse) ProtoMessage

func (*InitResponse) ProtoMessage()

func (*InitResponse) ProtoReflect

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

func (*InitResponse) Reset

func (x *InitResponse) Reset()

func (*InitResponse) String

func (x *InitResponse) String() string

type InitStatus

type InitStatus struct {
	Status  InitStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=services.factory.v0.InitStatus_Status" json:"status,omitempty"`
	Message string            `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Init

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

func (x *InitStatus) GetStatus() InitStatus_Status

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_Status

type InitStatus_Status int32
const (
	InitStatus_UNKNOWN InitStatus_Status = 0
	InitStatus_SUCESS  InitStatus_Status = 1
	InitStatus_ERROR   InitStatus_Status = 2
)

func (InitStatus_Status) Descriptor

func (InitStatus_Status) Enum

func (InitStatus_Status) EnumDescriptor deprecated

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

Deprecated: Use InitStatus_Status.Descriptor instead.

func (InitStatus_Status) Number

func (InitStatus_Status) String

func (x InitStatus_Status) String() string

func (InitStatus_Status) Type

type LoadRequest

type LoadRequest struct {
	Debug bool `protobuf:"varint,1,opt,name=debug,proto3" json:"debug,omitempty"` // Developer debug
	// Identity of the service
	Identity *v0.ServiceIdentity `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadRequest) Descriptor deprecated

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

Deprecated: Use LoadRequest.ProtoReflect.Descriptor instead.

func (*LoadRequest) GetDebug

func (x *LoadRequest) GetDebug() bool

func (*LoadRequest) GetIdentity

func (x *LoadRequest) GetIdentity() *v0.ServiceIdentity

func (*LoadRequest) ProtoMessage

func (*LoadRequest) ProtoMessage()

func (*LoadRequest) ProtoReflect

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

func (*LoadRequest) Reset

func (x *LoadRequest) Reset()

func (*LoadRequest) String

func (x *LoadRequest) String() string

type LoadResponse

type LoadResponse struct {
	Status  *LoadStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Version *v0.Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// Endpoints exposed by the service
	Endpoints []*v0.Endpoint `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// For logging to console
	GettingStarted string `protobuf:"bytes,4,opt,name=getting_started,json=gettingStarted,proto3" json:"getting_started,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadResponse) Descriptor deprecated

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

Deprecated: Use LoadResponse.ProtoReflect.Descriptor instead.

func (*LoadResponse) GetEndpoints

func (x *LoadResponse) GetEndpoints() []*v0.Endpoint

func (*LoadResponse) GetGettingStarted

func (x *LoadResponse) GetGettingStarted() string

func (*LoadResponse) GetStatus

func (x *LoadResponse) GetStatus() *LoadStatus

func (*LoadResponse) GetVersion

func (x *LoadResponse) GetVersion() *v0.Version

func (*LoadResponse) ProtoMessage

func (*LoadResponse) ProtoMessage()

func (*LoadResponse) ProtoReflect

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

func (*LoadResponse) Reset

func (x *LoadResponse) Reset()

func (*LoadResponse) String

func (x *LoadResponse) String() string

type LoadStatus

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

func (*LoadStatus) Descriptor deprecated

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

Deprecated: Use LoadStatus.ProtoReflect.Descriptor instead.

func (*LoadStatus) GetMessage

func (x *LoadStatus) GetMessage() string

func (*LoadStatus) GetState

func (x *LoadStatus) GetState() LoadStatus_State

func (*LoadStatus) ProtoMessage

func (*LoadStatus) ProtoMessage()

func (*LoadStatus) ProtoReflect

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

func (*LoadStatus) Reset

func (x *LoadStatus) Reset()

func (*LoadStatus) String

func (x *LoadStatus) String() string

type LoadStatus_State

type LoadStatus_State int32
const (
	LoadStatus_UNKNOWN LoadStatus_State = 0
	LoadStatus_READY   LoadStatus_State = 1
	LoadStatus_ERROR   LoadStatus_State = 2
)

func (LoadStatus_State) Descriptor

func (LoadStatus_State) Enum

func (LoadStatus_State) EnumDescriptor deprecated

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

Deprecated: Use LoadStatus_State.Descriptor instead.

func (LoadStatus_State) Number

func (LoadStatus_State) String

func (x LoadStatus_State) String() string

func (LoadStatus_State) Type

type SyncRequest

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

func (*SyncRequest) Descriptor deprecated

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

Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead.

func (*SyncRequest) ProtoMessage

func (*SyncRequest) ProtoMessage()

func (*SyncRequest) ProtoReflect

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

func (*SyncRequest) Reset

func (x *SyncRequest) Reset()

func (*SyncRequest) String

func (x *SyncRequest) String() string

type SyncResponse

type SyncResponse struct {
	Status *SyncStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncResponse) Descriptor deprecated

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

Deprecated: Use SyncResponse.ProtoReflect.Descriptor instead.

func (*SyncResponse) GetStatus

func (x *SyncResponse) GetStatus() *SyncStatus

func (*SyncResponse) ProtoMessage

func (*SyncResponse) ProtoMessage()

func (*SyncResponse) ProtoReflect

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

func (*SyncResponse) Reset

func (x *SyncResponse) Reset()

func (*SyncResponse) String

func (x *SyncResponse) String() string

type SyncStatus

type SyncStatus struct {
	Status  SyncStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=services.factory.v0.SyncStatus_Status" json:"status,omitempty"`
	Message string            `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncStatus) Descriptor deprecated

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

Deprecated: Use SyncStatus.ProtoReflect.Descriptor instead.

func (*SyncStatus) GetMessage

func (x *SyncStatus) GetMessage() string

func (*SyncStatus) GetStatus

func (x *SyncStatus) GetStatus() SyncStatus_Status

func (*SyncStatus) ProtoMessage

func (*SyncStatus) ProtoMessage()

func (*SyncStatus) ProtoReflect

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

func (*SyncStatus) Reset

func (x *SyncStatus) Reset()

func (*SyncStatus) String

func (x *SyncStatus) String() string

type SyncStatus_Status

type SyncStatus_Status int32
const (
	SyncStatus_UNKNOWN SyncStatus_Status = 0
	SyncStatus_SUCCESS SyncStatus_Status = 1
	SyncStatus_ERROR   SyncStatus_Status = 2
)

func (SyncStatus_Status) Descriptor

func (SyncStatus_Status) Enum

func (SyncStatus_Status) EnumDescriptor deprecated

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

Deprecated: Use SyncStatus_Status.Descriptor instead.

func (SyncStatus_Status) Number

func (SyncStatus_Status) String

func (x SyncStatus_Status) String() string

func (SyncStatus_Status) Type

type UnimplementedFactoryServer

type UnimplementedFactoryServer struct {
}

UnimplementedFactoryServer must be embedded to have forward compatible implementations.

func (UnimplementedFactoryServer) Build

func (UnimplementedFactoryServer) Communicate

func (UnimplementedFactoryServer) Create

func (UnimplementedFactoryServer) Deploy

func (UnimplementedFactoryServer) Init

func (UnimplementedFactoryServer) Load

func (UnimplementedFactoryServer) Sync

func (UnimplementedFactoryServer) Update

type UnsafeFactoryServer

type UnsafeFactoryServer interface {
	// contains filtered or unexported methods
}

UnsafeFactoryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FactoryServer will result in compilation errors.

type UpdateRequest

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

func (*UpdateRequest) Descriptor deprecated

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

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect

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

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

type UpdateResponse

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

func (*UpdateResponse) Descriptor deprecated

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect

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

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

Jump to

Keyboard shortcuts

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