Documentation ¶
Index ¶
- Variables
- func RegisterStorageApiServer(s grpc.ServiceRegistrar, srv StorageApiServer)
- type Application
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetDescription() string
- func (x *Application) GetId() int32
- func (x *Application) GetName() string
- func (x *Application) GetWorkspaceId() int32
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetGitopsCommitId() string
- func (x *Deployment) GetId() int32
- func (x *Deployment) GetReconcilerId() int32
- func (x *Deployment) GetStatus() string
- func (x *Deployment) GetStatusMessage() string
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type DeploymentAssignment
- func (*DeploymentAssignment) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentAssignment) GetDeploymentTargetId() int32
- func (x *DeploymentAssignment) GetGitopsCommitId() string
- func (x *DeploymentAssignment) GetId() int32
- func (x *DeploymentAssignment) GetWorkloadVersionId() int32
- func (*DeploymentAssignment) ProtoMessage()
- func (x *DeploymentAssignment) ProtoReflect() protoreflect.Message
- func (x *DeploymentAssignment) Reset()
- func (x *DeploymentAssignment) String() string
- type DeploymentTarget
- func (*DeploymentTarget) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentTarget) GetDescription() string
- func (x *DeploymentTarget) GetEnvironmentId() int32
- func (x *DeploymentTarget) GetId() int32
- func (x *DeploymentTarget) GetLabels() string
- func (x *DeploymentTarget) GetManifestsEndpoint() string
- func (x *DeploymentTarget) GetManifestsStorageType() string
- func (x *DeploymentTarget) GetName() string
- func (x *DeploymentTarget) GetWorkloadId() int32
- func (*DeploymentTarget) ProtoMessage()
- func (x *DeploymentTarget) ProtoReflect() protoreflect.Message
- func (x *DeploymentTarget) Reset()
- func (x *DeploymentTarget) String() string
- type DeploymentTargetSearch
- func (*DeploymentTargetSearch) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentTargetSearch) GetApplicationName() string
- func (x *DeploymentTargetSearch) GetDeploymentTargetName() string
- func (x *DeploymentTargetSearch) GetEnvironmentName() string
- func (x *DeploymentTargetSearch) GetWorkloadName() string
- func (x *DeploymentTargetSearch) GetWorkspaceName() string
- func (*DeploymentTargetSearch) ProtoMessage()
- func (x *DeploymentTargetSearch) ProtoReflect() protoreflect.Message
- func (x *DeploymentTargetSearch) Reset()
- func (x *DeploymentTargetSearch) String() string
- type Environment
- func (*Environment) Descriptor() ([]byte, []int)deprecated
- func (x *Environment) GetDescription() string
- func (x *Environment) GetId() int32
- func (x *Environment) GetName() string
- func (*Environment) ProtoMessage()
- func (x *Environment) ProtoReflect() protoreflect.Message
- func (x *Environment) Reset()
- func (x *Environment) String() string
- type Host
- func (*Host) Descriptor() ([]byte, []int)deprecated
- func (x *Host) GetDescription() string
- func (x *Host) GetHostType() string
- func (x *Host) GetId() int32
- func (x *Host) GetLabels() string
- func (x *Host) GetName() string
- func (*Host) ProtoMessage()
- func (x *Host) ProtoReflect() protoreflect.Message
- func (x *Host) Reset()
- func (x *Host) String() string
- type Reconciler
- func (*Reconciler) Descriptor() ([]byte, []int)deprecated
- func (x *Reconciler) GetDescription() string
- func (x *Reconciler) GetHostId() int32
- func (x *Reconciler) GetId() int32
- func (x *Reconciler) GetLabels() string
- func (x *Reconciler) GetManifestsEndpoint() string
- func (x *Reconciler) GetManifestsStorageType() string
- func (x *Reconciler) GetName() string
- func (x *Reconciler) GetReconcilerType() string
- func (*Reconciler) ProtoMessage()
- func (x *Reconciler) ProtoReflect() protoreflect.Message
- func (x *Reconciler) Reset()
- func (x *Reconciler) String() string
- type StorageApiClient
- type StorageApiServer
- type UnimplementedStorageApiServer
- func (UnimplementedStorageApiServer) GetDeploymentTarget(context.Context, *DeploymentTargetSearch) (*DeploymentTarget, error)
- func (UnimplementedStorageApiServer) UpdateApplication(context.Context, *Application) (*Application, error)
- func (UnimplementedStorageApiServer) UpdateDeployment(context.Context, *Deployment) (*Deployment, error)
- func (UnimplementedStorageApiServer) UpdateDeploymentAssignment(context.Context, *DeploymentAssignment) (*DeploymentAssignment, error)
- func (UnimplementedStorageApiServer) UpdateDeploymentTarget(context.Context, *DeploymentTarget) (*DeploymentTarget, error)
- func (UnimplementedStorageApiServer) UpdateEnvironment(context.Context, *Environment) (*Environment, error)
- func (UnimplementedStorageApiServer) UpdateHost(context.Context, *Host) (*Host, error)
- func (UnimplementedStorageApiServer) UpdateReconciler(context.Context, *Reconciler) (*Reconciler, error)
- func (UnimplementedStorageApiServer) UpdateWorkload(context.Context, *Workload) (*Workload, error)
- func (UnimplementedStorageApiServer) UpdateWorkloadVersion(context.Context, *WorkloadVersion) (*WorkloadVersion, error)
- func (UnimplementedStorageApiServer) UpdateWorkspace(context.Context, *Workspace) (*Workspace, error)
- type UnsafeStorageApiServer
- type Workload
- func (*Workload) Descriptor() ([]byte, []int)deprecated
- func (x *Workload) GetApplicationId() int32
- func (x *Workload) GetDescription() string
- func (x *Workload) GetId() int32
- func (x *Workload) GetName() string
- func (x *Workload) GetSourceEndpoint() string
- func (x *Workload) GetSourceStorageType() string
- func (*Workload) ProtoMessage()
- func (x *Workload) ProtoReflect() protoreflect.Message
- func (x *Workload) Reset()
- func (x *Workload) String() string
- type WorkloadVersion
- func (*WorkloadVersion) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadVersion) GetBuildCommitId() string
- func (x *WorkloadVersion) GetBuildId() string
- func (x *WorkloadVersion) GetId() int32
- func (x *WorkloadVersion) GetVersion() string
- func (x *WorkloadVersion) GetWorkloadId() int32
- func (*WorkloadVersion) ProtoMessage()
- func (x *WorkloadVersion) ProtoReflect() protoreflect.Message
- func (x *WorkloadVersion) Reset()
- func (x *WorkloadVersion) String() string
- type Workspace
- func (*Workspace) Descriptor() ([]byte, []int)deprecated
- func (x *Workspace) GetDescription() string
- func (x *Workspace) GetId() int32
- func (x *Workspace) GetName() string
- func (*Workspace) ProtoMessage()
- func (x *Workspace) ProtoReflect() protoreflect.Message
- func (x *Workspace) Reset()
- func (x *Workspace) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_storage_proto protoreflect.FileDescriptor
var StorageApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.StorageApi", HandlerType: (*StorageApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateWorkspace", Handler: _StorageApi_UpdateWorkspace_Handler, }, { MethodName: "UpdateApplication", Handler: _StorageApi_UpdateApplication_Handler, }, { MethodName: "UpdateWorkload", Handler: _StorageApi_UpdateWorkload_Handler, }, { MethodName: "UpdateEnvironment", Handler: _StorageApi_UpdateEnvironment_Handler, }, { MethodName: "UpdateDeploymentTarget", Handler: _StorageApi_UpdateDeploymentTarget_Handler, }, { MethodName: "UpdateWorkloadVersion", Handler: _StorageApi_UpdateWorkloadVersion_Handler, }, { MethodName: "UpdateDeploymentAssignment", Handler: _StorageApi_UpdateDeploymentAssignment_Handler, }, { MethodName: "UpdateHost", Handler: _StorageApi_UpdateHost_Handler, }, { MethodName: "UpdateReconciler", Handler: _StorageApi_UpdateReconciler_Handler, }, { MethodName: "UpdateDeployment", Handler: _StorageApi_UpdateDeployment_Handler, }, { MethodName: "GetDeploymentTarget", Handler: _StorageApi_GetDeploymentTarget_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/storage.proto", }
StorageApi_ServiceDesc is the grpc.ServiceDesc for StorageApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterStorageApiServer ¶
func RegisterStorageApiServer(s grpc.ServiceRegistrar, srv StorageApiServer)
Types ¶
type Application ¶
type Application struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` WorkspaceId int32 `protobuf:"varint,4,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` // contains filtered or unexported fields }
func (*Application) Descriptor
deprecated
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetDescription ¶
func (x *Application) GetDescription() string
func (*Application) GetId ¶
func (x *Application) GetId() int32
func (*Application) GetName ¶
func (x *Application) GetName() string
func (*Application) GetWorkspaceId ¶
func (x *Application) GetWorkspaceId() int32
func (*Application) ProtoMessage ¶
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶
func (x *Application) Reset()
func (*Application) String ¶
func (x *Application) String() string
type Deployment ¶
type Deployment struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` GitopsCommitId string `protobuf:"bytes,2,opt,name=gitops_commit_id,json=gitopsCommitId,proto3" json:"gitops_commit_id,omitempty"` ReconcilerId int32 `protobuf:"varint,3,opt,name=reconciler_id,json=reconcilerId,proto3" json:"reconciler_id,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // contains filtered or unexported fields }
func (*Deployment) Descriptor
deprecated
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetGitopsCommitId ¶
func (x *Deployment) GetGitopsCommitId() string
func (*Deployment) GetId ¶
func (x *Deployment) GetId() int32
func (*Deployment) GetReconcilerId ¶
func (x *Deployment) GetReconcilerId() int32
func (*Deployment) GetStatus ¶
func (x *Deployment) GetStatus() string
func (*Deployment) GetStatusMessage ¶
func (x *Deployment) GetStatusMessage() string
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 DeploymentAssignment ¶
type DeploymentAssignment struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DeploymentTargetId int32 `protobuf:"varint,2,opt,name=deployment_target_id,json=deploymentTargetId,proto3" json:"deployment_target_id,omitempty"` WorkloadVersionId int32 `protobuf:"varint,3,opt,name=workload_version_id,json=workloadVersionId,proto3" json:"workload_version_id,omitempty"` GitopsCommitId string `protobuf:"bytes,4,opt,name=gitops_commit_id,json=gitopsCommitId,proto3" json:"gitops_commit_id,omitempty"` // contains filtered or unexported fields }
func (*DeploymentAssignment) Descriptor
deprecated
func (*DeploymentAssignment) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentAssignment.ProtoReflect.Descriptor instead.
func (*DeploymentAssignment) GetDeploymentTargetId ¶
func (x *DeploymentAssignment) GetDeploymentTargetId() int32
func (*DeploymentAssignment) GetGitopsCommitId ¶
func (x *DeploymentAssignment) GetGitopsCommitId() string
func (*DeploymentAssignment) GetId ¶
func (x *DeploymentAssignment) GetId() int32
func (*DeploymentAssignment) GetWorkloadVersionId ¶
func (x *DeploymentAssignment) GetWorkloadVersionId() int32
func (*DeploymentAssignment) ProtoMessage ¶
func (*DeploymentAssignment) ProtoMessage()
func (*DeploymentAssignment) ProtoReflect ¶
func (x *DeploymentAssignment) ProtoReflect() protoreflect.Message
func (*DeploymentAssignment) Reset ¶
func (x *DeploymentAssignment) Reset()
func (*DeploymentAssignment) String ¶
func (x *DeploymentAssignment) String() string
type DeploymentTarget ¶
type DeploymentTarget struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` WorkloadId int32 `protobuf:"varint,4,opt,name=workload_id,json=workloadId,proto3" json:"workload_id,omitempty"` EnvironmentId int32 `protobuf:"varint,5,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` Labels string `protobuf:"bytes,6,opt,name=labels,proto3" json:"labels,omitempty"` ManifestsStorageType string `protobuf:"bytes,7,opt,name=manifests_storage_type,json=manifestsStorageType,proto3" json:"manifests_storage_type,omitempty"` ManifestsEndpoint string `protobuf:"bytes,8,opt,name=manifests_endpoint,json=manifestsEndpoint,proto3" json:"manifests_endpoint,omitempty"` // contains filtered or unexported fields }
func (*DeploymentTarget) Descriptor
deprecated
func (*DeploymentTarget) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentTarget.ProtoReflect.Descriptor instead.
func (*DeploymentTarget) GetDescription ¶
func (x *DeploymentTarget) GetDescription() string
func (*DeploymentTarget) GetEnvironmentId ¶
func (x *DeploymentTarget) GetEnvironmentId() int32
func (*DeploymentTarget) GetId ¶
func (x *DeploymentTarget) GetId() int32
func (*DeploymentTarget) GetLabels ¶
func (x *DeploymentTarget) GetLabels() string
func (*DeploymentTarget) GetManifestsEndpoint ¶
func (x *DeploymentTarget) GetManifestsEndpoint() string
func (*DeploymentTarget) GetManifestsStorageType ¶
func (x *DeploymentTarget) GetManifestsStorageType() string
func (*DeploymentTarget) GetName ¶
func (x *DeploymentTarget) GetName() string
func (*DeploymentTarget) GetWorkloadId ¶
func (x *DeploymentTarget) GetWorkloadId() int32
func (*DeploymentTarget) ProtoMessage ¶
func (*DeploymentTarget) ProtoMessage()
func (*DeploymentTarget) ProtoReflect ¶
func (x *DeploymentTarget) ProtoReflect() protoreflect.Message
func (*DeploymentTarget) Reset ¶
func (x *DeploymentTarget) Reset()
func (*DeploymentTarget) String ¶
func (x *DeploymentTarget) String() string
type DeploymentTargetSearch ¶
type DeploymentTargetSearch struct { DeploymentTargetName string `protobuf:"bytes,1,opt,name=deployment_target_name,json=deploymentTargetName,proto3" json:"deployment_target_name,omitempty"` WorkloadName string `protobuf:"bytes,2,opt,name=workload_name,json=workloadName,proto3" json:"workload_name,omitempty"` ApplicationName string `protobuf:"bytes,3,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` WorkspaceName string `protobuf:"bytes,4,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"` EnvironmentName string `protobuf:"bytes,5,opt,name=environment_name,json=environmentName,proto3" json:"environment_name,omitempty"` // contains filtered or unexported fields }
func (*DeploymentTargetSearch) Descriptor
deprecated
func (*DeploymentTargetSearch) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentTargetSearch.ProtoReflect.Descriptor instead.
func (*DeploymentTargetSearch) GetApplicationName ¶
func (x *DeploymentTargetSearch) GetApplicationName() string
func (*DeploymentTargetSearch) GetDeploymentTargetName ¶
func (x *DeploymentTargetSearch) GetDeploymentTargetName() string
func (*DeploymentTargetSearch) GetEnvironmentName ¶
func (x *DeploymentTargetSearch) GetEnvironmentName() string
func (*DeploymentTargetSearch) GetWorkloadName ¶
func (x *DeploymentTargetSearch) GetWorkloadName() string
func (*DeploymentTargetSearch) GetWorkspaceName ¶
func (x *DeploymentTargetSearch) GetWorkspaceName() string
func (*DeploymentTargetSearch) ProtoMessage ¶
func (*DeploymentTargetSearch) ProtoMessage()
func (*DeploymentTargetSearch) ProtoReflect ¶
func (x *DeploymentTargetSearch) ProtoReflect() protoreflect.Message
func (*DeploymentTargetSearch) Reset ¶
func (x *DeploymentTargetSearch) Reset()
func (*DeploymentTargetSearch) String ¶
func (x *DeploymentTargetSearch) String() string
type Environment ¶
type Environment struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Environment) Descriptor
deprecated
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetDescription ¶
func (x *Environment) GetDescription() string
func (*Environment) GetId ¶
func (x *Environment) GetId() int32
func (*Environment) GetName ¶
func (x *Environment) GetName() string
func (*Environment) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect ¶
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset ¶
func (x *Environment) Reset()
func (*Environment) String ¶
func (x *Environment) String() string
type Host ¶
type Host struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` HostType string `protobuf:"bytes,4,opt,name=host_type,json=hostType,proto3" json:"host_type,omitempty"` Labels string `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*Host) Descriptor
deprecated
func (*Host) GetDescription ¶
func (*Host) GetHostType ¶
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) ProtoReflect ¶
func (x *Host) ProtoReflect() protoreflect.Message
type Reconciler ¶
type Reconciler struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` HostId int32 `protobuf:"varint,3,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` ReconcilerType string `protobuf:"bytes,5,opt,name=reconciler_type,json=reconcilerType,proto3" json:"reconciler_type,omitempty"` Labels string `protobuf:"bytes,6,opt,name=labels,proto3" json:"labels,omitempty"` ManifestsStorageType string `protobuf:"bytes,7,opt,name=manifests_storage_type,json=manifestsStorageType,proto3" json:"manifests_storage_type,omitempty"` ManifestsEndpoint string `protobuf:"bytes,8,opt,name=manifests_endpoint,json=manifestsEndpoint,proto3" json:"manifests_endpoint,omitempty"` // contains filtered or unexported fields }
func (*Reconciler) Descriptor
deprecated
func (*Reconciler) Descriptor() ([]byte, []int)
Deprecated: Use Reconciler.ProtoReflect.Descriptor instead.
func (*Reconciler) GetDescription ¶
func (x *Reconciler) GetDescription() string
func (*Reconciler) GetHostId ¶
func (x *Reconciler) GetHostId() int32
func (*Reconciler) GetId ¶
func (x *Reconciler) GetId() int32
func (*Reconciler) GetLabels ¶
func (x *Reconciler) GetLabels() string
func (*Reconciler) GetManifestsEndpoint ¶
func (x *Reconciler) GetManifestsEndpoint() string
func (*Reconciler) GetManifestsStorageType ¶
func (x *Reconciler) GetManifestsStorageType() string
func (*Reconciler) GetName ¶
func (x *Reconciler) GetName() string
func (*Reconciler) GetReconcilerType ¶
func (x *Reconciler) GetReconcilerType() string
func (*Reconciler) ProtoMessage ¶
func (*Reconciler) ProtoMessage()
func (*Reconciler) ProtoReflect ¶
func (x *Reconciler) ProtoReflect() protoreflect.Message
func (*Reconciler) Reset ¶
func (x *Reconciler) Reset()
func (*Reconciler) String ¶
func (x *Reconciler) String() string
type StorageApiClient ¶
type StorageApiClient interface { UpdateWorkspace(ctx context.Context, in *Workspace, opts ...grpc.CallOption) (*Workspace, error) UpdateApplication(ctx context.Context, in *Application, opts ...grpc.CallOption) (*Application, error) UpdateWorkload(ctx context.Context, in *Workload, opts ...grpc.CallOption) (*Workload, error) UpdateEnvironment(ctx context.Context, in *Environment, opts ...grpc.CallOption) (*Environment, error) UpdateDeploymentTarget(ctx context.Context, in *DeploymentTarget, opts ...grpc.CallOption) (*DeploymentTarget, error) UpdateWorkloadVersion(ctx context.Context, in *WorkloadVersion, opts ...grpc.CallOption) (*WorkloadVersion, error) UpdateDeploymentAssignment(ctx context.Context, in *DeploymentAssignment, opts ...grpc.CallOption) (*DeploymentAssignment, error) UpdateHost(ctx context.Context, in *Host, opts ...grpc.CallOption) (*Host, error) UpdateReconciler(ctx context.Context, in *Reconciler, opts ...grpc.CallOption) (*Reconciler, error) UpdateDeployment(ctx context.Context, in *Deployment, opts ...grpc.CallOption) (*Deployment, error) GetDeploymentTarget(ctx context.Context, in *DeploymentTargetSearch, opts ...grpc.CallOption) (*DeploymentTarget, error) }
StorageApiClient is the client API for StorageApi 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 NewStorageApiClient ¶
func NewStorageApiClient(cc grpc.ClientConnInterface) StorageApiClient
type StorageApiServer ¶
type StorageApiServer interface { UpdateWorkspace(context.Context, *Workspace) (*Workspace, error) UpdateApplication(context.Context, *Application) (*Application, error) UpdateWorkload(context.Context, *Workload) (*Workload, error) UpdateEnvironment(context.Context, *Environment) (*Environment, error) UpdateDeploymentTarget(context.Context, *DeploymentTarget) (*DeploymentTarget, error) UpdateWorkloadVersion(context.Context, *WorkloadVersion) (*WorkloadVersion, error) UpdateDeploymentAssignment(context.Context, *DeploymentAssignment) (*DeploymentAssignment, error) UpdateHost(context.Context, *Host) (*Host, error) UpdateReconciler(context.Context, *Reconciler) (*Reconciler, error) UpdateDeployment(context.Context, *Deployment) (*Deployment, error) GetDeploymentTarget(context.Context, *DeploymentTargetSearch) (*DeploymentTarget, error) // contains filtered or unexported methods }
StorageApiServer is the server API for StorageApi service. All implementations must embed UnimplementedStorageApiServer for forward compatibility
type UnimplementedStorageApiServer ¶
type UnimplementedStorageApiServer struct { }
UnimplementedStorageApiServer must be embedded to have forward compatible implementations.
func (UnimplementedStorageApiServer) GetDeploymentTarget ¶
func (UnimplementedStorageApiServer) GetDeploymentTarget(context.Context, *DeploymentTargetSearch) (*DeploymentTarget, error)
func (UnimplementedStorageApiServer) UpdateApplication ¶
func (UnimplementedStorageApiServer) UpdateApplication(context.Context, *Application) (*Application, error)
func (UnimplementedStorageApiServer) UpdateDeployment ¶
func (UnimplementedStorageApiServer) UpdateDeployment(context.Context, *Deployment) (*Deployment, error)
func (UnimplementedStorageApiServer) UpdateDeploymentAssignment ¶
func (UnimplementedStorageApiServer) UpdateDeploymentAssignment(context.Context, *DeploymentAssignment) (*DeploymentAssignment, error)
func (UnimplementedStorageApiServer) UpdateDeploymentTarget ¶
func (UnimplementedStorageApiServer) UpdateDeploymentTarget(context.Context, *DeploymentTarget) (*DeploymentTarget, error)
func (UnimplementedStorageApiServer) UpdateEnvironment ¶
func (UnimplementedStorageApiServer) UpdateEnvironment(context.Context, *Environment) (*Environment, error)
func (UnimplementedStorageApiServer) UpdateHost ¶
func (UnimplementedStorageApiServer) UpdateReconciler ¶
func (UnimplementedStorageApiServer) UpdateReconciler(context.Context, *Reconciler) (*Reconciler, error)
func (UnimplementedStorageApiServer) UpdateWorkload ¶
func (UnimplementedStorageApiServer) UpdateWorkloadVersion ¶
func (UnimplementedStorageApiServer) UpdateWorkloadVersion(context.Context, *WorkloadVersion) (*WorkloadVersion, error)
func (UnimplementedStorageApiServer) UpdateWorkspace ¶
type UnsafeStorageApiServer ¶
type UnsafeStorageApiServer interface {
// contains filtered or unexported methods
}
UnsafeStorageApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageApiServer will result in compilation errors.
type Workload ¶
type Workload struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` SourceStorageType string `protobuf:"bytes,4,opt,name=source_storage_type,json=sourceStorageType,proto3" json:"source_storage_type,omitempty"` SourceEndpoint string `protobuf:"bytes,5,opt,name=source_endpoint,json=sourceEndpoint,proto3" json:"source_endpoint,omitempty"` ApplicationId int32 `protobuf:"varint,6,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // contains filtered or unexported fields }
func (*Workload) Descriptor
deprecated
func (*Workload) GetApplicationId ¶
func (*Workload) GetDescription ¶
func (*Workload) GetSourceEndpoint ¶
func (*Workload) GetSourceStorageType ¶
func (*Workload) ProtoMessage ¶
func (*Workload) ProtoMessage()
func (*Workload) ProtoReflect ¶
func (x *Workload) ProtoReflect() protoreflect.Message
type WorkloadVersion ¶
type WorkloadVersion struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` BuildId string `protobuf:"bytes,3,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` BuildCommitId string `protobuf:"bytes,4,opt,name=build_commit_id,json=buildCommitId,proto3" json:"build_commit_id,omitempty"` WorkloadId int32 `protobuf:"varint,5,opt,name=workload_id,json=workloadId,proto3" json:"workload_id,omitempty"` // contains filtered or unexported fields }
func (*WorkloadVersion) Descriptor
deprecated
func (*WorkloadVersion) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadVersion.ProtoReflect.Descriptor instead.
func (*WorkloadVersion) GetBuildCommitId ¶
func (x *WorkloadVersion) GetBuildCommitId() string
func (*WorkloadVersion) GetBuildId ¶
func (x *WorkloadVersion) GetBuildId() string
func (*WorkloadVersion) GetId ¶
func (x *WorkloadVersion) GetId() int32
func (*WorkloadVersion) GetVersion ¶
func (x *WorkloadVersion) GetVersion() string
func (*WorkloadVersion) GetWorkloadId ¶
func (x *WorkloadVersion) GetWorkloadId() int32
func (*WorkloadVersion) ProtoMessage ¶
func (*WorkloadVersion) ProtoMessage()
func (*WorkloadVersion) ProtoReflect ¶
func (x *WorkloadVersion) ProtoReflect() protoreflect.Message
func (*WorkloadVersion) Reset ¶
func (x *WorkloadVersion) Reset()
func (*WorkloadVersion) String ¶
func (x *WorkloadVersion) String() string
type Workspace ¶
type Workspace struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Workspace) Descriptor
deprecated
func (*Workspace) GetDescription ¶
func (*Workspace) ProtoMessage ¶
func (*Workspace) ProtoMessage()
func (*Workspace) ProtoReflect ¶
func (x *Workspace) ProtoReflect() protoreflect.Message