Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBuilderServer(s grpc.ServiceRegistrar, srv BuilderServer)
- type BuildContext
- func (*BuildContext) Descriptor() ([]byte, []int)deprecated
- func (x *BuildContext) GetDockerBuildContext() *DockerBuildContext
- func (m *BuildContext) GetKind() isBuildContext_Kind
- func (*BuildContext) ProtoMessage()
- func (x *BuildContext) ProtoReflect() protoreflect.Message
- func (x *BuildContext) Reset()
- func (x *BuildContext) String() string
- type BuildContext_DockerBuildContext
- type BuildRequest
- type BuildResponse
- func (*BuildResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildResponse) GetResult() *BuildResult
- func (x *BuildResponse) GetState() *BuildStatus
- func (*BuildResponse) ProtoMessage()
- func (x *BuildResponse) ProtoReflect() protoreflect.Message
- func (x *BuildResponse) Reset()
- func (x *BuildResponse) String() string
- type BuildResult
- func (*BuildResult) Descriptor() ([]byte, []int)deprecated
- func (x *BuildResult) GetApiHash() string
- func (x *BuildResult) GetDockerBuildResult() *DockerBuildResult
- func (m *BuildResult) GetKind() isBuildResult_Kind
- func (x *BuildResult) GetRunningHash() string
- func (x *BuildResult) GetVersion() string
- func (*BuildResult) ProtoMessage()
- func (x *BuildResult) ProtoReflect() protoreflect.Message
- func (x *BuildResult) Reset()
- func (x *BuildResult) String() string
- type BuildResult_DockerBuildResult
- type BuildStatus
- func (*BuildStatus) Descriptor() ([]byte, []int)deprecated
- func (x *BuildStatus) GetMessage() string
- func (x *BuildStatus) GetState() BuildStatus_Status
- func (*BuildStatus) ProtoMessage()
- func (x *BuildStatus) ProtoReflect() protoreflect.Message
- func (x *BuildStatus) Reset()
- func (x *BuildStatus) String() string
- type BuildStatus_Status
- func (BuildStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x BuildStatus_Status) Enum() *BuildStatus_Status
- func (BuildStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildStatus_Status) Number() protoreflect.EnumNumber
- func (x BuildStatus_Status) String() string
- func (BuildStatus_Status) Type() protoreflect.EnumType
- type BuilderClient
- type BuilderServer
- type CreateRequest
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResponse) GetEndpoints() []*v0.Endpoint
- func (x *CreateResponse) GetState() *CreateStatus
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (x *CreateResponse) String() string
- type CreateStatus
- func (*CreateStatus) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStatus) GetMessage() string
- func (x *CreateStatus) GetState() CreateStatus_Status
- func (*CreateStatus) ProtoMessage()
- func (x *CreateStatus) ProtoReflect() protoreflect.Message
- func (x *CreateStatus) Reset()
- func (x *CreateStatus) String() string
- type CreateStatus_Status
- func (CreateStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x CreateStatus_Status) Enum() *CreateStatus_Status
- func (CreateStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreateStatus_Status) Number() protoreflect.EnumNumber
- func (x CreateStatus_Status) String() string
- func (CreateStatus_Status) Type() protoreflect.EnumType
- type CreationMode
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (m *Deployment) GetKind() isDeployment_Kind
- func (x *Deployment) GetKubernetes() *KubernetesDeployment
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type DeploymentKind
- func (DeploymentKind) Descriptor() protoreflect.EnumDescriptor
- func (x DeploymentKind) Enum() *DeploymentKind
- func (DeploymentKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeploymentKind) Number() protoreflect.EnumNumber
- func (x DeploymentKind) String() string
- func (DeploymentKind) Type() protoreflect.EnumType
- type DeploymentOutput
- func (*DeploymentOutput) Descriptor() ([]byte, []int)deprecated
- func (m *DeploymentOutput) GetKind() isDeploymentOutput_Kind
- func (x *DeploymentOutput) GetKubernetes() *KubernetesDeploymentOutput
- func (*DeploymentOutput) ProtoMessage()
- func (x *DeploymentOutput) ProtoReflect() protoreflect.Message
- func (x *DeploymentOutput) Reset()
- func (x *DeploymentOutput) String() string
- type DeploymentOutput_Kubernetes
- type DeploymentRequest
- func (*DeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentRequest) GetConfiguration() *v0.Configuration
- func (x *DeploymentRequest) GetDependenciesConfigurations() []*v0.Configuration
- func (x *DeploymentRequest) GetDependenciesNetworkMappings() []*v0.NetworkMapping
- func (x *DeploymentRequest) GetDeployment() *Deployment
- func (x *DeploymentRequest) GetEnvironment() *v0.Environment
- func (x *DeploymentRequest) GetNetworkMappings() []*v0.NetworkMapping
- func (*DeploymentRequest) ProtoMessage()
- func (x *DeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *DeploymentRequest) Reset()
- func (x *DeploymentRequest) String() string
- type DeploymentResponse
- func (*DeploymentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentResponse) GetConfiguration() *v0.Configuration
- func (x *DeploymentResponse) GetDeployment() *DeploymentOutput
- func (x *DeploymentResponse) GetState() *DeploymentStatus
- func (*DeploymentResponse) ProtoMessage()
- func (x *DeploymentResponse) ProtoReflect() protoreflect.Message
- func (x *DeploymentResponse) Reset()
- func (x *DeploymentResponse) String() string
- type DeploymentStatus
- func (*DeploymentStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentStatus) GetMessage() string
- func (x *DeploymentStatus) GetState() DeploymentStatus_Status
- func (*DeploymentStatus) ProtoMessage()
- func (x *DeploymentStatus) ProtoReflect() protoreflect.Message
- func (x *DeploymentStatus) Reset()
- func (x *DeploymentStatus) String() string
- type DeploymentStatus_Status
- func (DeploymentStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x DeploymentStatus_Status) Enum() *DeploymentStatus_Status
- func (DeploymentStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeploymentStatus_Status) Number() protoreflect.EnumNumber
- func (x DeploymentStatus_Status) String() string
- func (DeploymentStatus_Status) Type() protoreflect.EnumType
- type Deployment_Kubernetes
- type DockerBuildContext
- func (*DockerBuildContext) Descriptor() ([]byte, []int)deprecated
- func (x *DockerBuildContext) GetDockerRepository() string
- func (*DockerBuildContext) ProtoMessage()
- func (x *DockerBuildContext) ProtoReflect() protoreflect.Message
- func (x *DockerBuildContext) Reset()
- func (x *DockerBuildContext) String() string
- type DockerBuildResult
- type InitRequest
- type InitResponse
- type InitStatus
- func (*InitStatus) Descriptor() ([]byte, []int)deprecated
- func (x *InitStatus) GetMessage() string
- func (x *InitStatus) GetState() InitStatus_Status
- func (*InitStatus) ProtoMessage()
- func (x *InitStatus) ProtoReflect() protoreflect.Message
- func (x *InitStatus) Reset()
- func (x *InitStatus) String() string
- type InitStatus_Status
- func (InitStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x InitStatus_Status) Enum() *InitStatus_Status
- func (InitStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x InitStatus_Status) Number() protoreflect.EnumNumber
- func (x InitStatus_Status) String() string
- func (InitStatus_Status) Type() protoreflect.EnumType
- type KubernetesDeployment
- func (*KubernetesDeployment) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesDeployment) GetBuildContext() *DockerBuildContext
- func (x *KubernetesDeployment) GetDestination() string
- func (x *KubernetesDeployment) GetNamespace() string
- func (*KubernetesDeployment) ProtoMessage()
- func (x *KubernetesDeployment) ProtoReflect() protoreflect.Message
- func (x *KubernetesDeployment) Reset()
- func (x *KubernetesDeployment) String() string
- type KubernetesDeploymentOutput
- func (*KubernetesDeploymentOutput) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesDeploymentOutput) GetKind() KubernetesDeploymentOutput_Kind
- func (*KubernetesDeploymentOutput) ProtoMessage()
- func (x *KubernetesDeploymentOutput) ProtoReflect() protoreflect.Message
- func (x *KubernetesDeploymentOutput) Reset()
- func (x *KubernetesDeploymentOutput) String() string
- type KubernetesDeploymentOutput_Kind
- func (KubernetesDeploymentOutput_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x KubernetesDeploymentOutput_Kind) Enum() *KubernetesDeploymentOutput_Kind
- func (KubernetesDeploymentOutput_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x KubernetesDeploymentOutput_Kind) Number() protoreflect.EnumNumber
- func (x KubernetesDeploymentOutput_Kind) String() string
- func (KubernetesDeploymentOutput_Kind) Type() protoreflect.EnumType
- type LoadRequest
- func (*LoadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoadRequest) GetCreationMode() *CreationMode
- func (x *LoadRequest) GetDeveloperDebug() bool
- func (x *LoadRequest) GetDisableCatch() bool
- func (x *LoadRequest) GetIdentity() *v0.ServiceIdentity
- func (x *LoadRequest) GetSyncMode() *SyncMode
- func (*LoadRequest) ProtoMessage()
- func (x *LoadRequest) ProtoReflect() protoreflect.Message
- func (x *LoadRequest) Reset()
- func (x *LoadRequest) String() string
- type LoadResponse
- func (*LoadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoadResponse) GetEndpoints() []*v0.Endpoint
- func (x *LoadResponse) GetGettingStarted() string
- func (x *LoadResponse) GetState() *LoadStatus
- func (x *LoadResponse) GetVersion() *v0.Version
- func (*LoadResponse) ProtoMessage()
- func (x *LoadResponse) ProtoReflect() protoreflect.Message
- func (x *LoadResponse) Reset()
- func (x *LoadResponse) String() string
- type LoadStatus
- func (*LoadStatus) Descriptor() ([]byte, []int)deprecated
- func (x *LoadStatus) GetMessage() string
- func (x *LoadStatus) GetState() LoadStatus_Status
- func (*LoadStatus) ProtoMessage()
- func (x *LoadStatus) ProtoReflect() protoreflect.Message
- func (x *LoadStatus) Reset()
- func (x *LoadStatus) String() string
- type LoadStatus_Status
- func (LoadStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x LoadStatus_Status) Enum() *LoadStatus_Status
- func (LoadStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoadStatus_Status) Number() protoreflect.EnumNumber
- func (x LoadStatus_Status) String() string
- func (LoadStatus_Status) Type() protoreflect.EnumType
- type SyncMode
- type SyncRequest
- type SyncResponse
- type SyncStatus
- func (*SyncStatus) Descriptor() ([]byte, []int)deprecated
- func (x *SyncStatus) GetMessage() string
- func (x *SyncStatus) GetState() SyncStatus_Status
- func (*SyncStatus) ProtoMessage()
- func (x *SyncStatus) ProtoReflect() protoreflect.Message
- func (x *SyncStatus) Reset()
- func (x *SyncStatus) String() string
- type SyncStatus_Status
- func (SyncStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x SyncStatus_Status) Enum() *SyncStatus_Status
- func (SyncStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x SyncStatus_Status) Number() protoreflect.EnumNumber
- func (x SyncStatus_Status) String() string
- func (SyncStatus_Status) Type() protoreflect.EnumType
- type UnimplementedBuilderServer
- func (UnimplementedBuilderServer) Build(context.Context, *BuildRequest) (*BuildResponse, error)
- func (UnimplementedBuilderServer) Communicate(context.Context, *v0.Engage) (*v0.InformationRequest, error)
- func (UnimplementedBuilderServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (UnimplementedBuilderServer) Deploy(context.Context, *DeploymentRequest) (*DeploymentResponse, error)
- func (UnimplementedBuilderServer) Init(context.Context, *InitRequest) (*InitResponse, error)
- func (UnimplementedBuilderServer) Load(context.Context, *LoadRequest) (*LoadResponse, error)
- func (UnimplementedBuilderServer) Sync(context.Context, *SyncRequest) (*SyncResponse, error)
- func (UnimplementedBuilderServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnsafeBuilderServer
- type UpdateRequest
- type UpdateResponse
- type UpdateStatus
- func (*UpdateStatus) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStatus) GetMessage() string
- func (x *UpdateStatus) GetState() UpdateStatus_Status
- func (*UpdateStatus) ProtoMessage()
- func (x *UpdateStatus) ProtoReflect() protoreflect.Message
- func (x *UpdateStatus) Reset()
- func (x *UpdateStatus) String() string
- type UpdateStatus_Status
- func (UpdateStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateStatus_Status) Enum() *UpdateStatus_Status
- func (UpdateStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateStatus_Status) Number() protoreflect.EnumNumber
- func (x UpdateStatus_Status) String() string
- func (UpdateStatus_Status) Type() protoreflect.EnumType
Constants ¶
const ( Builder_Load_FullMethodName = "/codefly.services.builder.v0.Builder/Load" Builder_Init_FullMethodName = "/codefly.services.builder.v0.Builder/Init" Builder_Create_FullMethodName = "/codefly.services.builder.v0.Builder/Create" Builder_Update_FullMethodName = "/codefly.services.builder.v0.Builder/Update" Builder_Sync_FullMethodName = "/codefly.services.builder.v0.Builder/Sync" Builder_Build_FullMethodName = "/codefly.services.builder.v0.Builder/Build" Builder_Deploy_FullMethodName = "/codefly.services.builder.v0.Builder/Deploy" Builder_Communicate_FullMethodName = "/codefly.services.builder.v0.Builder/Communicate" )
Variables ¶
var ( LoadStatus_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "READY", 2: "ERROR", } LoadStatus_Status_value = map[string]int32{ "UNKNOWN": 0, "READY": 1, "ERROR": 2, } )
Enum value maps for LoadStatus_Status.
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.
var ( InitStatus_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "SUCCESS", 2: "ERROR", } InitStatus_Status_value = map[string]int32{ "UNKNOWN": 0, "SUCCESS": 1, "ERROR": 2, } )
Enum value maps for InitStatus_Status.
var ( UpdateStatus_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "SUCCESS", 2: "ERROR", } UpdateStatus_Status_value = map[string]int32{ "UNKNOWN": 0, "SUCCESS": 1, "ERROR": 2, } )
Enum value maps for UpdateStatus_Status.
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.
var ( BuildStatus_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "SUCCESS", 2: "ERROR", 3: "NOOP", } BuildStatus_Status_value = map[string]int32{ "UNKNOWN": 0, "SUCCESS": 1, "ERROR": 2, "NOOP": 3, } )
Enum value maps for BuildStatus_Status.
var ( DeploymentStatus_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "SUCCESS", 2: "ERROR", 3: "NOOP", } DeploymentStatus_Status_value = map[string]int32{ "UNKNOWN": 0, "SUCCESS": 1, "ERROR": 2, "NOOP": 3, } )
Enum value maps for DeploymentStatus_Status.
var ( DeploymentKind_name = map[int32]string{ 0: "KUSTOMIZE", } DeploymentKind_value = map[string]int32{ "KUSTOMIZE": 0, } )
Enum value maps for DeploymentKind.
var ( KubernetesDeploymentOutput_Kind_name = map[int32]string{ 0: "Kustomize", } KubernetesDeploymentOutput_Kind_value = map[string]int32{ "Kustomize": 0, } )
Enum value maps for KubernetesDeploymentOutput_Kind.
var Builder_ServiceDesc = grpc.ServiceDesc{ ServiceName: "codefly.services.builder.v0.Builder", HandlerType: (*BuilderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Load", Handler: _Builder_Load_Handler, }, { MethodName: "Init", Handler: _Builder_Init_Handler, }, { MethodName: "Create", Handler: _Builder_Create_Handler, }, { MethodName: "Update", Handler: _Builder_Update_Handler, }, { MethodName: "Sync", Handler: _Builder_Sync_Handler, }, { MethodName: "Build", Handler: _Builder_Build_Handler, }, { MethodName: "Deploy", Handler: _Builder_Deploy_Handler, }, { MethodName: "Communicate", Handler: _Builder_Communicate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "codefly/services/builder/v0/builder.proto", }
Builder_ServiceDesc is the grpc.ServiceDesc for Builder service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_codefly_services_builder_v0_builder_proto protoreflect.FileDescriptor
var File_codefly_services_builder_v0_deployment_proto protoreflect.FileDescriptor
var File_codefly_services_builder_v0_docker_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBuilderServer ¶
func RegisterBuilderServer(s grpc.ServiceRegistrar, srv BuilderServer)
Types ¶
type BuildContext ¶
type BuildContext struct { // Types that are assignable to Kind: // // *BuildContext_DockerBuildContext Kind isBuildContext_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*BuildContext) Descriptor
deprecated
func (*BuildContext) Descriptor() ([]byte, []int)
Deprecated: Use BuildContext.ProtoReflect.Descriptor instead.
func (*BuildContext) GetDockerBuildContext ¶
func (x *BuildContext) GetDockerBuildContext() *DockerBuildContext
func (*BuildContext) GetKind ¶
func (m *BuildContext) GetKind() isBuildContext_Kind
func (*BuildContext) ProtoMessage ¶
func (*BuildContext) ProtoMessage()
func (*BuildContext) ProtoReflect ¶
func (x *BuildContext) ProtoReflect() protoreflect.Message
func (*BuildContext) Reset ¶
func (x *BuildContext) Reset()
func (*BuildContext) String ¶
func (x *BuildContext) String() string
type BuildContext_DockerBuildContext ¶
type BuildContext_DockerBuildContext struct {
DockerBuildContext *DockerBuildContext `protobuf:"bytes,1,opt,name=docker_build_context,json=dockerBuildContext,proto3,oneof"`
}
type BuildRequest ¶
type BuildRequest struct { BuildContext *BuildContext `protobuf:"bytes,1,opt,name=build_context,json=buildContext,proto3" json:"build_context,omitempty"` // contains filtered or unexported fields }
func (*BuildRequest) Descriptor
deprecated
func (*BuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildRequest.ProtoReflect.Descriptor instead.
func (*BuildRequest) GetBuildContext ¶
func (x *BuildRequest) GetBuildContext() *BuildContext
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 { State *BuildStatus `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` Result *BuildResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*BuildResponse) Descriptor
deprecated
func (*BuildResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildResponse.ProtoReflect.Descriptor instead.
func (*BuildResponse) GetResult ¶
func (x *BuildResponse) GetResult() *BuildResult
func (*BuildResponse) GetState ¶
func (x *BuildResponse) GetState() *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 BuildResult ¶
type BuildResult struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` RunningHash string `protobuf:"bytes,2,opt,name=running_hash,json=runningHash,proto3" json:"running_hash,omitempty"` ApiHash string `protobuf:"bytes,3,opt,name=api_hash,json=apiHash,proto3" json:"api_hash,omitempty"` // Types that are assignable to Kind: // // *BuildResult_DockerBuildResult Kind isBuildResult_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*BuildResult) Descriptor
deprecated
func (*BuildResult) Descriptor() ([]byte, []int)
Deprecated: Use BuildResult.ProtoReflect.Descriptor instead.
func (*BuildResult) GetApiHash ¶ added in v0.1.124
func (x *BuildResult) GetApiHash() string
func (*BuildResult) GetDockerBuildResult ¶
func (x *BuildResult) GetDockerBuildResult() *DockerBuildResult
func (*BuildResult) GetKind ¶
func (m *BuildResult) GetKind() isBuildResult_Kind
func (*BuildResult) GetRunningHash ¶ added in v0.1.124
func (x *BuildResult) GetRunningHash() string
func (*BuildResult) GetVersion ¶ added in v0.1.124
func (x *BuildResult) GetVersion() string
func (*BuildResult) ProtoMessage ¶
func (*BuildResult) ProtoMessage()
func (*BuildResult) ProtoReflect ¶
func (x *BuildResult) ProtoReflect() protoreflect.Message
func (*BuildResult) Reset ¶
func (x *BuildResult) Reset()
func (*BuildResult) String ¶
func (x *BuildResult) String() string
type BuildResult_DockerBuildResult ¶
type BuildResult_DockerBuildResult struct {
DockerBuildResult *DockerBuildResult `protobuf:"bytes,4,opt,name=docker_build_result,json=dockerBuildResult,proto3,oneof"`
}
type BuildStatus ¶
type BuildStatus struct { State BuildStatus_Status `protobuf:"varint,1,opt,name=state,proto3,enum=codefly.services.builder.v0.BuildStatus_Status" json:"state,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) GetState ¶
func (x *BuildStatus) GetState() 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 BuildStatus_NOOP BuildStatus_Status = 3 )
func (BuildStatus_Status) Descriptor ¶
func (BuildStatus_Status) Descriptor() protoreflect.EnumDescriptor
func (BuildStatus_Status) Enum ¶
func (x BuildStatus_Status) Enum() *BuildStatus_Status
func (BuildStatus_Status) EnumDescriptor
deprecated
func (BuildStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildStatus_Status.Descriptor instead.
func (BuildStatus_Status) Number ¶
func (x BuildStatus_Status) Number() protoreflect.EnumNumber
func (BuildStatus_Status) String ¶
func (x BuildStatus_Status) String() string
func (BuildStatus_Status) Type ¶
func (BuildStatus_Status) Type() protoreflect.EnumType
type BuilderClient ¶
type BuilderClient interface { // Load the service 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) }
BuilderClient is the client API for Builder 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.
Builder is responsible for: - creation - Docker build - Deployment manifests
func NewBuilderClient ¶
func NewBuilderClient(cc grpc.ClientConnInterface) BuilderClient
type BuilderServer ¶
type BuilderServer interface { // Load the service 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 }
BuilderServer is the server API for Builder service. All implementations must embed UnimplementedBuilderServer for forward compatibility
Builder is responsible for: - creation - Docker build - Deployment manifests
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 { State *CreateStatus `protobuf:"bytes,1,opt,name=state,proto3" json:"state,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) GetState ¶
func (x *CreateResponse) GetState() *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 { State CreateStatus_Status `protobuf:"varint,1,opt,name=state,proto3,enum=codefly.services.builder.v0.CreateStatus_Status" json:"state,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) GetState ¶
func (x *CreateStatus) GetState() 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) Descriptor() protoreflect.EnumDescriptor
func (CreateStatus_Status) Enum ¶
func (x CreateStatus_Status) Enum() *CreateStatus_Status
func (CreateStatus_Status) EnumDescriptor
deprecated
func (CreateStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreateStatus_Status.Descriptor instead.
func (CreateStatus_Status) Number ¶
func (x CreateStatus_Status) Number() protoreflect.EnumNumber
func (CreateStatus_Status) String ¶
func (x CreateStatus_Status) String() string
func (CreateStatus_Status) Type ¶
func (CreateStatus_Status) Type() protoreflect.EnumType
type CreationMode ¶
type CreationMode struct { Communicate bool `protobuf:"varint,1,opt,name=communicate,proto3" json:"communicate,omitempty"` // contains filtered or unexported fields }
func (*CreationMode) Descriptor
deprecated
func (*CreationMode) Descriptor() ([]byte, []int)
Deprecated: Use CreationMode.ProtoReflect.Descriptor instead.
func (*CreationMode) GetCommunicate ¶
func (x *CreationMode) GetCommunicate() bool
func (*CreationMode) ProtoMessage ¶
func (*CreationMode) ProtoMessage()
func (*CreationMode) ProtoReflect ¶
func (x *CreationMode) ProtoReflect() protoreflect.Message
func (*CreationMode) Reset ¶
func (x *CreationMode) Reset()
func (*CreationMode) String ¶
func (x *CreationMode) String() string
type Deployment ¶
type Deployment struct { // Types that are assignable to Kind: // // *Deployment_Kubernetes Kind isDeployment_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*Deployment) Descriptor
deprecated
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetKind ¶
func (m *Deployment) GetKind() isDeployment_Kind
func (*Deployment) GetKubernetes ¶
func (x *Deployment) GetKubernetes() *KubernetesDeployment
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) ProtoReflect ¶
func (x *Deployment) ProtoReflect() protoreflect.Message
func (*Deployment) Reset ¶
func (x *Deployment) Reset()
func (*Deployment) String ¶
func (x *Deployment) String() string
type DeploymentKind ¶
type DeploymentKind int32
const (
DeploymentKind_KUSTOMIZE DeploymentKind = 0
)
func (DeploymentKind) Descriptor ¶
func (DeploymentKind) Descriptor() protoreflect.EnumDescriptor
func (DeploymentKind) Enum ¶
func (x DeploymentKind) Enum() *DeploymentKind
func (DeploymentKind) EnumDescriptor
deprecated
func (DeploymentKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeploymentKind.Descriptor instead.
func (DeploymentKind) Number ¶
func (x DeploymentKind) Number() protoreflect.EnumNumber
func (DeploymentKind) String ¶
func (x DeploymentKind) String() string
func (DeploymentKind) Type ¶
func (DeploymentKind) Type() protoreflect.EnumType
type DeploymentOutput ¶
type DeploymentOutput struct { // Types that are assignable to Kind: // // *DeploymentOutput_Kubernetes Kind isDeploymentOutput_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*DeploymentOutput) Descriptor
deprecated
func (*DeploymentOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentOutput.ProtoReflect.Descriptor instead.
func (*DeploymentOutput) GetKind ¶
func (m *DeploymentOutput) GetKind() isDeploymentOutput_Kind
func (*DeploymentOutput) GetKubernetes ¶
func (x *DeploymentOutput) GetKubernetes() *KubernetesDeploymentOutput
func (*DeploymentOutput) ProtoMessage ¶
func (*DeploymentOutput) ProtoMessage()
func (*DeploymentOutput) ProtoReflect ¶
func (x *DeploymentOutput) ProtoReflect() protoreflect.Message
func (*DeploymentOutput) Reset ¶
func (x *DeploymentOutput) Reset()
func (*DeploymentOutput) String ¶
func (x *DeploymentOutput) String() string
type DeploymentOutput_Kubernetes ¶
type DeploymentOutput_Kubernetes struct {
Kubernetes *KubernetesDeploymentOutput `protobuf:"bytes,2,opt,name=kubernetes,proto3,oneof"`
}
type DeploymentRequest ¶
type DeploymentRequest struct { Environment *v0.Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` Deployment *Deployment `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"` Configuration *v0.Configuration `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"` DependenciesConfigurations []*v0.Configuration `` /* 139-byte string literal not displayed */ NetworkMappings []*v0.NetworkMapping `protobuf:"bytes,5,rep,name=network_mappings,json=networkMappings,proto3" json:"network_mappings,omitempty"` DependenciesNetworkMappings []*v0.NetworkMapping `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeploymentRequest) Descriptor
deprecated
func (*DeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentRequest.ProtoReflect.Descriptor instead.
func (*DeploymentRequest) GetConfiguration ¶
func (x *DeploymentRequest) GetConfiguration() *v0.Configuration
func (*DeploymentRequest) GetDependenciesConfigurations ¶
func (x *DeploymentRequest) GetDependenciesConfigurations() []*v0.Configuration
func (*DeploymentRequest) GetDependenciesNetworkMappings ¶
func (x *DeploymentRequest) GetDependenciesNetworkMappings() []*v0.NetworkMapping
func (*DeploymentRequest) GetDeployment ¶
func (x *DeploymentRequest) GetDeployment() *Deployment
func (*DeploymentRequest) GetEnvironment ¶
func (x *DeploymentRequest) GetEnvironment() *v0.Environment
func (*DeploymentRequest) GetNetworkMappings ¶
func (x *DeploymentRequest) GetNetworkMappings() []*v0.NetworkMapping
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 { State *DeploymentStatus `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` Configuration *v0.Configuration `protobuf:"bytes,2,opt,name=configuration,proto3" json:"configuration,omitempty"` Deployment *DeploymentOutput `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"` // contains filtered or unexported fields }
func (*DeploymentResponse) Descriptor
deprecated
func (*DeploymentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentResponse.ProtoReflect.Descriptor instead.
func (*DeploymentResponse) GetConfiguration ¶
func (x *DeploymentResponse) GetConfiguration() *v0.Configuration
func (*DeploymentResponse) GetDeployment ¶
func (x *DeploymentResponse) GetDeployment() *DeploymentOutput
func (*DeploymentResponse) GetState ¶
func (x *DeploymentResponse) GetState() *DeploymentStatus
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 DeploymentStatus ¶
type DeploymentStatus struct { State DeploymentStatus_Status `protobuf:"varint,1,opt,name=state,proto3,enum=codefly.services.builder.v0.DeploymentStatus_Status" json:"state,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*DeploymentStatus) Descriptor
deprecated
func (*DeploymentStatus) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentStatus.ProtoReflect.Descriptor instead.
func (*DeploymentStatus) GetMessage ¶
func (x *DeploymentStatus) GetMessage() string
func (*DeploymentStatus) GetState ¶
func (x *DeploymentStatus) GetState() DeploymentStatus_Status
func (*DeploymentStatus) ProtoMessage ¶
func (*DeploymentStatus) ProtoMessage()
func (*DeploymentStatus) ProtoReflect ¶
func (x *DeploymentStatus) ProtoReflect() protoreflect.Message
func (*DeploymentStatus) Reset ¶
func (x *DeploymentStatus) Reset()
func (*DeploymentStatus) String ¶
func (x *DeploymentStatus) String() string
type DeploymentStatus_Status ¶
type DeploymentStatus_Status int32
const ( DeploymentStatus_UNKNOWN DeploymentStatus_Status = 0 DeploymentStatus_SUCCESS DeploymentStatus_Status = 1 DeploymentStatus_ERROR DeploymentStatus_Status = 2 DeploymentStatus_NOOP DeploymentStatus_Status = 3 )
func (DeploymentStatus_Status) Descriptor ¶
func (DeploymentStatus_Status) Descriptor() protoreflect.EnumDescriptor
func (DeploymentStatus_Status) Enum ¶
func (x DeploymentStatus_Status) Enum() *DeploymentStatus_Status
func (DeploymentStatus_Status) EnumDescriptor
deprecated
func (DeploymentStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeploymentStatus_Status.Descriptor instead.
func (DeploymentStatus_Status) Number ¶
func (x DeploymentStatus_Status) Number() protoreflect.EnumNumber
func (DeploymentStatus_Status) String ¶
func (x DeploymentStatus_Status) String() string
func (DeploymentStatus_Status) Type ¶
func (DeploymentStatus_Status) Type() protoreflect.EnumType
type Deployment_Kubernetes ¶
type Deployment_Kubernetes struct {
Kubernetes *KubernetesDeployment `protobuf:"bytes,2,opt,name=kubernetes,proto3,oneof"`
}
type DockerBuildContext ¶
type DockerBuildContext struct { DockerRepository string `protobuf:"bytes,1,opt,name=docker_repository,json=dockerRepository,proto3" json:"docker_repository,omitempty"` // contains filtered or unexported fields }
func (*DockerBuildContext) Descriptor
deprecated
func (*DockerBuildContext) Descriptor() ([]byte, []int)
Deprecated: Use DockerBuildContext.ProtoReflect.Descriptor instead.
func (*DockerBuildContext) GetDockerRepository ¶
func (x *DockerBuildContext) GetDockerRepository() string
func (*DockerBuildContext) ProtoMessage ¶
func (*DockerBuildContext) ProtoMessage()
func (*DockerBuildContext) ProtoReflect ¶
func (x *DockerBuildContext) ProtoReflect() protoreflect.Message
func (*DockerBuildContext) Reset ¶
func (x *DockerBuildContext) Reset()
func (*DockerBuildContext) String ¶
func (x *DockerBuildContext) String() string
type DockerBuildResult ¶
type DockerBuildResult struct { Images []string `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
func (*DockerBuildResult) Descriptor
deprecated
func (*DockerBuildResult) Descriptor() ([]byte, []int)
Deprecated: Use DockerBuildResult.ProtoReflect.Descriptor instead.
func (*DockerBuildResult) GetImages ¶
func (x *DockerBuildResult) GetImages() []string
func (*DockerBuildResult) ProtoMessage ¶
func (*DockerBuildResult) ProtoMessage()
func (*DockerBuildResult) ProtoReflect ¶
func (x *DockerBuildResult) ProtoReflect() protoreflect.Message
func (*DockerBuildResult) Reset ¶
func (x *DockerBuildResult) Reset()
func (*DockerBuildResult) String ¶
func (x *DockerBuildResult) String() string
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"` // 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) 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 { State *InitStatus `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*InitResponse) Descriptor
deprecated
func (*InitResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitResponse.ProtoReflect.Descriptor instead.
func (*InitResponse) GetState ¶
func (x *InitResponse) GetState() *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 { State InitStatus_Status `protobuf:"varint,1,opt,name=state,proto3,enum=codefly.services.builder.v0.InitStatus_Status" json:"state,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) GetState ¶
func (x *InitStatus) GetState() 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_SUCCESS InitStatus_Status = 1 InitStatus_ERROR InitStatus_Status = 2 )
func (InitStatus_Status) Descriptor ¶
func (InitStatus_Status) Descriptor() protoreflect.EnumDescriptor
func (InitStatus_Status) Enum ¶
func (x InitStatus_Status) Enum() *InitStatus_Status
func (InitStatus_Status) EnumDescriptor
deprecated
func (InitStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use InitStatus_Status.Descriptor instead.
func (InitStatus_Status) Number ¶
func (x InitStatus_Status) Number() protoreflect.EnumNumber
func (InitStatus_Status) String ¶
func (x InitStatus_Status) String() string
func (InitStatus_Status) Type ¶
func (InitStatus_Status) Type() protoreflect.EnumType
type KubernetesDeployment ¶
type KubernetesDeployment struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` BuildContext *DockerBuildContext `protobuf:"bytes,3,opt,name=build_context,json=buildContext,proto3" json:"build_context,omitempty"` // contains filtered or unexported fields }
func (*KubernetesDeployment) Descriptor
deprecated
func (*KubernetesDeployment) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesDeployment.ProtoReflect.Descriptor instead.
func (*KubernetesDeployment) GetBuildContext ¶
func (x *KubernetesDeployment) GetBuildContext() *DockerBuildContext
func (*KubernetesDeployment) GetDestination ¶
func (x *KubernetesDeployment) GetDestination() string
func (*KubernetesDeployment) GetNamespace ¶
func (x *KubernetesDeployment) GetNamespace() string
func (*KubernetesDeployment) ProtoMessage ¶
func (*KubernetesDeployment) ProtoMessage()
func (*KubernetesDeployment) ProtoReflect ¶
func (x *KubernetesDeployment) ProtoReflect() protoreflect.Message
func (*KubernetesDeployment) Reset ¶
func (x *KubernetesDeployment) Reset()
func (*KubernetesDeployment) String ¶
func (x *KubernetesDeployment) String() string
type KubernetesDeploymentOutput ¶
type KubernetesDeploymentOutput struct { Kind KubernetesDeploymentOutput_Kind `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*KubernetesDeploymentOutput) Descriptor
deprecated
func (*KubernetesDeploymentOutput) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesDeploymentOutput.ProtoReflect.Descriptor instead.
func (*KubernetesDeploymentOutput) GetKind ¶
func (x *KubernetesDeploymentOutput) GetKind() KubernetesDeploymentOutput_Kind
func (*KubernetesDeploymentOutput) ProtoMessage ¶
func (*KubernetesDeploymentOutput) ProtoMessage()
func (*KubernetesDeploymentOutput) ProtoReflect ¶
func (x *KubernetesDeploymentOutput) ProtoReflect() protoreflect.Message
func (*KubernetesDeploymentOutput) Reset ¶
func (x *KubernetesDeploymentOutput) Reset()
func (*KubernetesDeploymentOutput) String ¶
func (x *KubernetesDeploymentOutput) String() string
type KubernetesDeploymentOutput_Kind ¶
type KubernetesDeploymentOutput_Kind int32
const (
KubernetesDeploymentOutput_Kustomize KubernetesDeploymentOutput_Kind = 0
)
func (KubernetesDeploymentOutput_Kind) Descriptor ¶
func (KubernetesDeploymentOutput_Kind) Descriptor() protoreflect.EnumDescriptor
func (KubernetesDeploymentOutput_Kind) Enum ¶
func (x KubernetesDeploymentOutput_Kind) Enum() *KubernetesDeploymentOutput_Kind
func (KubernetesDeploymentOutput_Kind) EnumDescriptor
deprecated
func (KubernetesDeploymentOutput_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use KubernetesDeploymentOutput_Kind.Descriptor instead.
func (KubernetesDeploymentOutput_Kind) Number ¶
func (x KubernetesDeploymentOutput_Kind) Number() protoreflect.EnumNumber
func (KubernetesDeploymentOutput_Kind) String ¶
func (x KubernetesDeploymentOutput_Kind) String() string
func (KubernetesDeploymentOutput_Kind) Type ¶
func (KubernetesDeploymentOutput_Kind) Type() protoreflect.EnumType
type LoadRequest ¶
type LoadRequest struct { // Developer debug DeveloperDebug bool `protobuf:"varint,1,opt,name=developer_debug,json=developerDebug,proto3" json:"developer_debug,omitempty"` // Disable catch DisableCatch bool `protobuf:"varint,2,opt,name=disable_catch,json=disableCatch,proto3" json:"disable_catch,omitempty"` // Identity of the service Identity *v0.ServiceIdentity `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` // Details for creation CreationMode *CreationMode `protobuf:"bytes,4,opt,name=creation_mode,json=creationMode,proto3" json:"creation_mode,omitempty"` // Details for sync SyncMode *SyncMode `protobuf:"bytes,5,opt,name=sync_mode,json=syncMode,proto3" json:"sync_mode,omitempty"` // contains filtered or unexported fields }
func (*LoadRequest) Descriptor
deprecated
func (*LoadRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadRequest.ProtoReflect.Descriptor instead.
func (*LoadRequest) GetCreationMode ¶
func (x *LoadRequest) GetCreationMode() *CreationMode
func (*LoadRequest) GetDeveloperDebug ¶
func (x *LoadRequest) GetDeveloperDebug() bool
func (*LoadRequest) GetDisableCatch ¶
func (x *LoadRequest) GetDisableCatch() bool
func (*LoadRequest) GetIdentity ¶
func (x *LoadRequest) GetIdentity() *v0.ServiceIdentity
func (*LoadRequest) GetSyncMode ¶
func (x *LoadRequest) GetSyncMode() *SyncMode
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 { State *LoadStatus `protobuf:"bytes,1,opt,name=state,proto3" json:"state,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) GetState ¶
func (x *LoadResponse) GetState() *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_Status `protobuf:"varint,1,opt,name=state,proto3,enum=codefly.services.builder.v0.LoadStatus_Status" 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_Status
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_Status ¶
type LoadStatus_Status int32
const ( LoadStatus_UNKNOWN LoadStatus_Status = 0 LoadStatus_READY LoadStatus_Status = 1 LoadStatus_ERROR LoadStatus_Status = 2 )
func (LoadStatus_Status) Descriptor ¶
func (LoadStatus_Status) Descriptor() protoreflect.EnumDescriptor
func (LoadStatus_Status) Enum ¶
func (x LoadStatus_Status) Enum() *LoadStatus_Status
func (LoadStatus_Status) EnumDescriptor
deprecated
func (LoadStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoadStatus_Status.Descriptor instead.
func (LoadStatus_Status) Number ¶
func (x LoadStatus_Status) Number() protoreflect.EnumNumber
func (LoadStatus_Status) String ¶
func (x LoadStatus_Status) String() string
func (LoadStatus_Status) Type ¶
func (LoadStatus_Status) Type() protoreflect.EnumType
type SyncMode ¶
type SyncMode struct { Communicate bool `protobuf:"varint,1,opt,name=communicate,proto3" json:"communicate,omitempty"` // contains filtered or unexported fields }
func (*SyncMode) Descriptor
deprecated
func (*SyncMode) GetCommunicate ¶
func (*SyncMode) ProtoMessage ¶
func (*SyncMode) ProtoMessage()
func (*SyncMode) ProtoReflect ¶
func (x *SyncMode) ProtoReflect() protoreflect.Message
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 { State *SyncStatus `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*SyncResponse) Descriptor
deprecated
func (*SyncResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncResponse.ProtoReflect.Descriptor instead.
func (*SyncResponse) GetState ¶
func (x *SyncResponse) GetState() *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 { State SyncStatus_Status `protobuf:"varint,1,opt,name=state,proto3,enum=codefly.services.builder.v0.SyncStatus_Status" json:"state,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) GetState ¶
func (x *SyncStatus) GetState() 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) Descriptor() protoreflect.EnumDescriptor
func (SyncStatus_Status) Enum ¶
func (x SyncStatus_Status) Enum() *SyncStatus_Status
func (SyncStatus_Status) EnumDescriptor
deprecated
func (SyncStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use SyncStatus_Status.Descriptor instead.
func (SyncStatus_Status) Number ¶
func (x SyncStatus_Status) Number() protoreflect.EnumNumber
func (SyncStatus_Status) String ¶
func (x SyncStatus_Status) String() string
func (SyncStatus_Status) Type ¶
func (SyncStatus_Status) Type() protoreflect.EnumType
type UnimplementedBuilderServer ¶
type UnimplementedBuilderServer struct { }
UnimplementedBuilderServer must be embedded to have forward compatible implementations.
func (UnimplementedBuilderServer) Build ¶
func (UnimplementedBuilderServer) Build(context.Context, *BuildRequest) (*BuildResponse, error)
func (UnimplementedBuilderServer) Communicate ¶
func (UnimplementedBuilderServer) Communicate(context.Context, *v0.Engage) (*v0.InformationRequest, error)
func (UnimplementedBuilderServer) Create ¶
func (UnimplementedBuilderServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedBuilderServer) Deploy ¶
func (UnimplementedBuilderServer) Deploy(context.Context, *DeploymentRequest) (*DeploymentResponse, error)
func (UnimplementedBuilderServer) Init ¶
func (UnimplementedBuilderServer) Init(context.Context, *InitRequest) (*InitResponse, error)
func (UnimplementedBuilderServer) Load ¶
func (UnimplementedBuilderServer) Load(context.Context, *LoadRequest) (*LoadResponse, error)
func (UnimplementedBuilderServer) Sync ¶
func (UnimplementedBuilderServer) Sync(context.Context, *SyncRequest) (*SyncResponse, error)
func (UnimplementedBuilderServer) Update ¶
func (UnimplementedBuilderServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnsafeBuilderServer ¶
type UnsafeBuilderServer interface {
// contains filtered or unexported methods
}
UnsafeBuilderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BuilderServer 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 { State *UpdateStatus `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetState ¶
func (x *UpdateResponse) GetState() *UpdateStatus
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
type UpdateStatus ¶
type UpdateStatus struct { State UpdateStatus_Status `protobuf:"varint,1,opt,name=state,proto3,enum=codefly.services.builder.v0.UpdateStatus_Status" json:"state,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*UpdateStatus) Descriptor
deprecated
func (*UpdateStatus) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStatus.ProtoReflect.Descriptor instead.
func (*UpdateStatus) GetMessage ¶
func (x *UpdateStatus) GetMessage() string
func (*UpdateStatus) GetState ¶
func (x *UpdateStatus) GetState() UpdateStatus_Status
func (*UpdateStatus) ProtoMessage ¶
func (*UpdateStatus) ProtoMessage()
func (*UpdateStatus) ProtoReflect ¶
func (x *UpdateStatus) ProtoReflect() protoreflect.Message
func (*UpdateStatus) Reset ¶
func (x *UpdateStatus) Reset()
func (*UpdateStatus) String ¶
func (x *UpdateStatus) String() string
type UpdateStatus_Status ¶
type UpdateStatus_Status int32
const ( UpdateStatus_UNKNOWN UpdateStatus_Status = 0 UpdateStatus_SUCCESS UpdateStatus_Status = 1 UpdateStatus_ERROR UpdateStatus_Status = 2 )
func (UpdateStatus_Status) Descriptor ¶
func (UpdateStatus_Status) Descriptor() protoreflect.EnumDescriptor
func (UpdateStatus_Status) Enum ¶
func (x UpdateStatus_Status) Enum() *UpdateStatus_Status
func (UpdateStatus_Status) EnumDescriptor
deprecated
func (UpdateStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateStatus_Status.Descriptor instead.
func (UpdateStatus_Status) Number ¶
func (x UpdateStatus_Status) Number() protoreflect.EnumNumber
func (UpdateStatus_Status) String ¶
func (x UpdateStatus_Status) String() string
func (UpdateStatus_Status) Type ¶
func (UpdateStatus_Status) Type() protoreflect.EnumType