Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAppInterfaceServer(s grpc.ServiceRegistrar, srv AppInterfaceServer)
- type AppInterfaceClient
- type AppInterfaceServer
- type AppItems
- type AppReleaseReq
- func (*AppReleaseReq) Descriptor() ([]byte, []int)deprecated
- func (x *AppReleaseReq) GetApp() *biz.App
- func (x *AppReleaseReq) GetRelease() *biz.AppRelease
- func (x *AppReleaseReq) GetRepo() *biz.AppRepo
- func (x *AppReleaseReq) GetVersion() *biz.AppVersion
- func (*AppReleaseReq) ProtoMessage()
- func (x *AppReleaseReq) ProtoReflect() protoreflect.Message
- func (x *AppReleaseReq) Reset()
- func (x *AppReleaseReq) String() string
- type AppReleaseResourceItems
- func (*AppReleaseResourceItems) Descriptor() ([]byte, []int)deprecated
- func (x *AppReleaseResourceItems) GetResources() []*biz.AppReleaseResource
- func (*AppReleaseResourceItems) ProtoMessage()
- func (x *AppReleaseResourceItems) ProtoReflect() protoreflect.Message
- func (x *AppReleaseResourceItems) Reset()
- func (x *AppReleaseResourceItems) String() string
- type CheckClusterResponse
- func (*CheckClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckClusterResponse) GetOk() bool
- func (*CheckClusterResponse) ProtoMessage()
- func (x *CheckClusterResponse) ProtoReflect() protoreflect.Message
- func (x *CheckClusterResponse) Reset()
- func (x *CheckClusterResponse) String() string
- type DeleteAppVersionReq
- func (*DeleteAppVersionReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAppVersionReq) GetApp() *biz.App
- func (x *DeleteAppVersionReq) GetVersion() *biz.AppVersion
- func (*DeleteAppVersionReq) ProtoMessage()
- func (x *DeleteAppVersionReq) ProtoReflect() protoreflect.Message
- func (x *DeleteAppVersionReq) Reset()
- func (x *DeleteAppVersionReq) String() string
- type FileUploadRequest
- func (*FileUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FileUploadRequest) GetChunk() string
- func (x *FileUploadRequest) GetFileName() string
- func (x *FileUploadRequest) GetFinish() bool
- func (x *FileUploadRequest) GetIcon() string
- func (x *FileUploadRequest) GetResume() bool
- func (*FileUploadRequest) ProtoMessage()
- func (x *FileUploadRequest) ProtoReflect() protoreflect.Message
- func (x *FileUploadRequest) Reset()
- func (x *FileUploadRequest) String() string
- type GetAppAndVersionInfo
- func (*GetAppAndVersionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppAndVersionInfo) GetApp() *biz.App
- func (x *GetAppAndVersionInfo) GetVersion() *biz.AppVersion
- func (*GetAppAndVersionInfo) ProtoMessage()
- func (x *GetAppAndVersionInfo) ProtoReflect() protoreflect.Message
- func (x *GetAppAndVersionInfo) Reset()
- func (x *GetAppAndVersionInfo) String() string
- type GetAppDetailByRepoReq
- func (*GetAppDetailByRepoReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppDetailByRepoReq) GetAppName() string
- func (x *GetAppDetailByRepoReq) GetRepo() *biz.AppRepo
- func (x *GetAppDetailByRepoReq) GetVersion() string
- func (*GetAppDetailByRepoReq) ProtoMessage()
- func (x *GetAppDetailByRepoReq) ProtoReflect() protoreflect.Message
- func (x *GetAppDetailByRepoReq) Reset()
- func (x *GetAppDetailByRepoReq) String() string
- type InitResponse
- func (*InitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitResponse) GetApps() []*biz.App
- func (x *InitResponse) GetReleases() []*biz.AppRelease
- func (*InitResponse) ProtoMessage()
- func (x *InitResponse) ProtoReflect() protoreflect.Message
- func (x *InitResponse) Reset()
- func (x *InitResponse) String() string
- type InstallBasicComponentReq
- func (*InstallBasicComponentReq) Descriptor() ([]byte, []int)deprecated
- func (x *InstallBasicComponentReq) GetBasicComponentAppType() biz.BasicComponentAppType
- func (*InstallBasicComponentReq) ProtoMessage()
- func (x *InstallBasicComponentReq) ProtoReflect() protoreflect.Message
- func (x *InstallBasicComponentReq) Reset()
- func (x *InstallBasicComponentReq) String() string
- type InstallBasicComponentResponse
- func (*InstallBasicComponentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstallBasicComponentResponse) GetApps() []*biz.App
- func (x *InstallBasicComponentResponse) GetReleases() []*biz.AppRelease
- func (*InstallBasicComponentResponse) ProtoMessage()
- func (x *InstallBasicComponentResponse) ProtoReflect() protoreflect.Message
- func (x *InstallBasicComponentResponse) Reset()
- func (x *InstallBasicComponentResponse) String() string
- type ReloadAppReleaseReq
- func (*ReloadAppReleaseReq) Descriptor() ([]byte, []int)deprecated
- func (x *ReloadAppReleaseReq) GetAppReleaseName() string
- func (*ReloadAppReleaseReq) ProtoMessage()
- func (x *ReloadAppReleaseReq) ProtoReflect() protoreflect.Message
- func (x *ReloadAppReleaseReq) Reset()
- func (x *ReloadAppReleaseReq) String() string
- type UnimplementedAppInterfaceServer
- func (UnimplementedAppInterfaceServer) AddAppRepo(context.Context, *biz.AppRepo) (*biz.AppRepo, error)
- func (UnimplementedAppInterfaceServer) AppRelease(context.Context, *AppReleaseReq) (*biz.AppRelease, error)
- func (UnimplementedAppInterfaceServer) CheckCluster(context.Context, *emptypb.Empty) (*CheckClusterResponse, error)
- func (UnimplementedAppInterfaceServer) DeleteApp(context.Context, *biz.App) (*common.Msg, error)
- func (UnimplementedAppInterfaceServer) DeleteAppRelease(context.Context, *biz.AppRelease) (*common.Msg, error)
- func (UnimplementedAppInterfaceServer) DeleteAppVersion(context.Context, *DeleteAppVersionReq) (*common.Msg, error)
- func (UnimplementedAppInterfaceServer) GetAppAndVersionInfo(context.Context, *GetAppAndVersionInfo) (*GetAppAndVersionInfo, error)
- func (UnimplementedAppInterfaceServer) GetAppDetailByRepo(context.Context, *GetAppDetailByRepoReq) (*biz.App, error)
- func (UnimplementedAppInterfaceServer) GetAppReleaseResources(context.Context, *biz.AppRelease) (*AppReleaseResourceItems, error)
- func (UnimplementedAppInterfaceServer) GetAppsByRepo(context.Context, *biz.AppRepo) (*AppItems, error)
- func (UnimplementedAppInterfaceServer) InstallBasicComponent(context.Context, *InstallBasicComponentReq) (*InstallBasicComponentResponse, error)
- func (UnimplementedAppInterfaceServer) ReloadAppReleaseResource(context.Context, *biz.AppReleaseResource) (*common.Msg, error)
- func (UnimplementedAppInterfaceServer) UploadApp(context.Context, *FileUploadRequest) (*GetAppAndVersionInfo, error)
- type UnsafeAppInterfaceServer
Constants ¶
const ( AppInterface_UploadApp_FullMethodName = "/clusterruntime.api.app.AppInterface/UploadApp" AppInterface_CheckCluster_FullMethodName = "/clusterruntime.api.app.AppInterface/CheckCluster" AppInterface_InstallBasicComponent_FullMethodName = "/clusterruntime.api.app.AppInterface/InstallBasicComponent" AppInterface_GetAppReleaseResources_FullMethodName = "/clusterruntime.api.app.AppInterface/GetAppReleaseResources" AppInterface_DeleteApp_FullMethodName = "/clusterruntime.api.app.AppInterface/DeleteApp" AppInterface_DeleteAppVersion_FullMethodName = "/clusterruntime.api.app.AppInterface/DeleteAppVersion" AppInterface_GetAppAndVersionInfo_FullMethodName = "/clusterruntime.api.app.AppInterface/GetAppAndVersionInfo" AppInterface_AppRelease_FullMethodName = "/clusterruntime.api.app.AppInterface/AppRelease" AppInterface_ReloadAppReleaseResource_FullMethodName = "/clusterruntime.api.app.AppInterface/ReloadAppReleaseResource" AppInterface_DeleteAppRelease_FullMethodName = "/clusterruntime.api.app.AppInterface/DeleteAppRelease" AppInterface_AddAppRepo_FullMethodName = "/clusterruntime.api.app.AppInterface/AddAppRepo" AppInterface_GetAppsByRepo_FullMethodName = "/clusterruntime.api.app.AppInterface/GetAppsByRepo" AppInterface_GetAppDetailByRepo_FullMethodName = "/clusterruntime.api.app.AppInterface/GetAppDetailByRepo" )
Variables ¶
var AppInterface_ServiceDesc = grpc.ServiceDesc{ ServiceName: "clusterruntime.api.app.AppInterface", HandlerType: (*AppInterfaceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UploadApp", Handler: _AppInterface_UploadApp_Handler, }, { MethodName: "CheckCluster", Handler: _AppInterface_CheckCluster_Handler, }, { MethodName: "InstallBasicComponent", Handler: _AppInterface_InstallBasicComponent_Handler, }, { MethodName: "GetAppReleaseResources", Handler: _AppInterface_GetAppReleaseResources_Handler, }, { MethodName: "DeleteApp", Handler: _AppInterface_DeleteApp_Handler, }, { MethodName: "DeleteAppVersion", Handler: _AppInterface_DeleteAppVersion_Handler, }, { MethodName: "GetAppAndVersionInfo", Handler: _AppInterface_GetAppAndVersionInfo_Handler, }, { MethodName: "AppRelease", Handler: _AppInterface_AppRelease_Handler, }, { MethodName: "ReloadAppReleaseResource", Handler: _AppInterface_ReloadAppReleaseResource_Handler, }, { MethodName: "DeleteAppRelease", Handler: _AppInterface_DeleteAppRelease_Handler, }, { MethodName: "AddAppRepo", Handler: _AppInterface_AddAppRepo_Handler, }, { MethodName: "GetAppsByRepo", Handler: _AppInterface_GetAppsByRepo_Handler, }, { MethodName: "GetAppDetailByRepo", Handler: _AppInterface_GetAppDetailByRepo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "internal/repository/clusterruntime/api/app/app.proto", }
AppInterface_ServiceDesc is the grpc.ServiceDesc for AppInterface service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_internal_repository_clusterruntime_api_app_app_proto protoreflect.FileDescriptor
var File_internal_repository_clusterruntime_api_app_message_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAppInterfaceServer ¶
func RegisterAppInterfaceServer(s grpc.ServiceRegistrar, srv AppInterfaceServer)
Types ¶
type AppInterfaceClient ¶
type AppInterfaceClient interface { UploadApp(ctx context.Context, in *FileUploadRequest, opts ...grpc.CallOption) (*GetAppAndVersionInfo, error) CheckCluster(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CheckClusterResponse, error) InstallBasicComponent(ctx context.Context, in *InstallBasicComponentReq, opts ...grpc.CallOption) (*InstallBasicComponentResponse, error) GetAppReleaseResources(ctx context.Context, in *biz.AppRelease, opts ...grpc.CallOption) (*AppReleaseResourceItems, error) DeleteApp(ctx context.Context, in *biz.App, opts ...grpc.CallOption) (*common.Msg, error) DeleteAppVersion(ctx context.Context, in *DeleteAppVersionReq, opts ...grpc.CallOption) (*common.Msg, error) GetAppAndVersionInfo(ctx context.Context, in *GetAppAndVersionInfo, opts ...grpc.CallOption) (*GetAppAndVersionInfo, error) AppRelease(ctx context.Context, in *AppReleaseReq, opts ...grpc.CallOption) (*biz.AppRelease, error) ReloadAppReleaseResource(ctx context.Context, in *biz.AppReleaseResource, opts ...grpc.CallOption) (*common.Msg, error) DeleteAppRelease(ctx context.Context, in *biz.AppRelease, opts ...grpc.CallOption) (*common.Msg, error) AddAppRepo(ctx context.Context, in *biz.AppRepo, opts ...grpc.CallOption) (*biz.AppRepo, error) GetAppsByRepo(ctx context.Context, in *biz.AppRepo, opts ...grpc.CallOption) (*AppItems, error) GetAppDetailByRepo(ctx context.Context, in *GetAppDetailByRepoReq, opts ...grpc.CallOption) (*biz.App, error) }
AppInterfaceClient is the client API for AppInterface 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 NewAppInterfaceClient ¶
func NewAppInterfaceClient(cc grpc.ClientConnInterface) AppInterfaceClient
type AppInterfaceServer ¶
type AppInterfaceServer interface { UploadApp(context.Context, *FileUploadRequest) (*GetAppAndVersionInfo, error) CheckCluster(context.Context, *emptypb.Empty) (*CheckClusterResponse, error) InstallBasicComponent(context.Context, *InstallBasicComponentReq) (*InstallBasicComponentResponse, error) GetAppReleaseResources(context.Context, *biz.AppRelease) (*AppReleaseResourceItems, error) DeleteApp(context.Context, *biz.App) (*common.Msg, error) DeleteAppVersion(context.Context, *DeleteAppVersionReq) (*common.Msg, error) GetAppAndVersionInfo(context.Context, *GetAppAndVersionInfo) (*GetAppAndVersionInfo, error) AppRelease(context.Context, *AppReleaseReq) (*biz.AppRelease, error) ReloadAppReleaseResource(context.Context, *biz.AppReleaseResource) (*common.Msg, error) DeleteAppRelease(context.Context, *biz.AppRelease) (*common.Msg, error) AddAppRepo(context.Context, *biz.AppRepo) (*biz.AppRepo, error) GetAppsByRepo(context.Context, *biz.AppRepo) (*AppItems, error) GetAppDetailByRepo(context.Context, *GetAppDetailByRepoReq) (*biz.App, error) // contains filtered or unexported methods }
AppInterfaceServer is the server API for AppInterface service. All implementations must embed UnimplementedAppInterfaceServer for forward compatibility.
type AppItems ¶
type AppItems struct { Apps []*biz.App `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"` // contains filtered or unexported fields }
func (*AppItems) Descriptor
deprecated
func (*AppItems) ProtoMessage ¶
func (*AppItems) ProtoMessage()
func (*AppItems) ProtoReflect ¶
func (x *AppItems) ProtoReflect() protoreflect.Message
type AppReleaseReq ¶
type AppReleaseReq struct { App *biz.App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"` Version *biz.AppVersion `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Release *biz.AppRelease `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty"` Repo *biz.AppRepo `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*AppReleaseReq) Descriptor
deprecated
func (*AppReleaseReq) Descriptor() ([]byte, []int)
Deprecated: Use AppReleaseReq.ProtoReflect.Descriptor instead.
func (*AppReleaseReq) GetApp ¶
func (x *AppReleaseReq) GetApp() *biz.App
func (*AppReleaseReq) GetRelease ¶
func (x *AppReleaseReq) GetRelease() *biz.AppRelease
func (*AppReleaseReq) GetRepo ¶
func (x *AppReleaseReq) GetRepo() *biz.AppRepo
func (*AppReleaseReq) GetVersion ¶
func (x *AppReleaseReq) GetVersion() *biz.AppVersion
func (*AppReleaseReq) ProtoMessage ¶
func (*AppReleaseReq) ProtoMessage()
func (*AppReleaseReq) ProtoReflect ¶
func (x *AppReleaseReq) ProtoReflect() protoreflect.Message
func (*AppReleaseReq) Reset ¶
func (x *AppReleaseReq) Reset()
func (*AppReleaseReq) String ¶
func (x *AppReleaseReq) String() string
type AppReleaseResourceItems ¶
type AppReleaseResourceItems struct { Resources []*biz.AppReleaseResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*AppReleaseResourceItems) Descriptor
deprecated
func (*AppReleaseResourceItems) Descriptor() ([]byte, []int)
Deprecated: Use AppReleaseResourceItems.ProtoReflect.Descriptor instead.
func (*AppReleaseResourceItems) GetResources ¶
func (x *AppReleaseResourceItems) GetResources() []*biz.AppReleaseResource
func (*AppReleaseResourceItems) ProtoMessage ¶
func (*AppReleaseResourceItems) ProtoMessage()
func (*AppReleaseResourceItems) ProtoReflect ¶
func (x *AppReleaseResourceItems) ProtoReflect() protoreflect.Message
func (*AppReleaseResourceItems) Reset ¶
func (x *AppReleaseResourceItems) Reset()
func (*AppReleaseResourceItems) String ¶
func (x *AppReleaseResourceItems) String() string
type CheckClusterResponse ¶
type CheckClusterResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*CheckClusterResponse) Descriptor
deprecated
func (*CheckClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckClusterResponse.ProtoReflect.Descriptor instead.
func (*CheckClusterResponse) GetOk ¶
func (x *CheckClusterResponse) GetOk() bool
func (*CheckClusterResponse) ProtoMessage ¶
func (*CheckClusterResponse) ProtoMessage()
func (*CheckClusterResponse) ProtoReflect ¶
func (x *CheckClusterResponse) ProtoReflect() protoreflect.Message
func (*CheckClusterResponse) Reset ¶
func (x *CheckClusterResponse) Reset()
func (*CheckClusterResponse) String ¶
func (x *CheckClusterResponse) String() string
type DeleteAppVersionReq ¶
type DeleteAppVersionReq struct { App *biz.App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"` Version *biz.AppVersion `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*DeleteAppVersionReq) Descriptor
deprecated
func (*DeleteAppVersionReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAppVersionReq.ProtoReflect.Descriptor instead.
func (*DeleteAppVersionReq) GetApp ¶
func (x *DeleteAppVersionReq) GetApp() *biz.App
func (*DeleteAppVersionReq) GetVersion ¶
func (x *DeleteAppVersionReq) GetVersion() *biz.AppVersion
func (*DeleteAppVersionReq) ProtoMessage ¶
func (*DeleteAppVersionReq) ProtoMessage()
func (*DeleteAppVersionReq) ProtoReflect ¶
func (x *DeleteAppVersionReq) ProtoReflect() protoreflect.Message
func (*DeleteAppVersionReq) Reset ¶
func (x *DeleteAppVersionReq) Reset()
func (*DeleteAppVersionReq) String ¶
func (x *DeleteAppVersionReq) String() string
type FileUploadRequest ¶
type FileUploadRequest struct { Icon string `protobuf:"bytes,1,opt,name=icon,proto3" json:"icon,omitempty"` FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` Chunk string `protobuf:"bytes,3,opt,name=chunk,proto3" json:"chunk,omitempty"` Resume bool `protobuf:"varint,4,opt,name=resume,proto3" json:"resume,omitempty"` Finish bool `protobuf:"varint,5,opt,name=finish,proto3" json:"finish,omitempty"` // contains filtered or unexported fields }
func (*FileUploadRequest) Descriptor
deprecated
func (*FileUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileUploadRequest.ProtoReflect.Descriptor instead.
func (*FileUploadRequest) GetChunk ¶
func (x *FileUploadRequest) GetChunk() string
func (*FileUploadRequest) GetFileName ¶
func (x *FileUploadRequest) GetFileName() string
func (*FileUploadRequest) GetFinish ¶
func (x *FileUploadRequest) GetFinish() bool
func (*FileUploadRequest) GetIcon ¶
func (x *FileUploadRequest) GetIcon() string
func (*FileUploadRequest) GetResume ¶
func (x *FileUploadRequest) GetResume() bool
func (*FileUploadRequest) ProtoMessage ¶
func (*FileUploadRequest) ProtoMessage()
func (*FileUploadRequest) ProtoReflect ¶
func (x *FileUploadRequest) ProtoReflect() protoreflect.Message
func (*FileUploadRequest) Reset ¶
func (x *FileUploadRequest) Reset()
func (*FileUploadRequest) String ¶
func (x *FileUploadRequest) String() string
type GetAppAndVersionInfo ¶
type GetAppAndVersionInfo struct { App *biz.App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"` Version *biz.AppVersion `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*GetAppAndVersionInfo) Descriptor
deprecated
func (*GetAppAndVersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use GetAppAndVersionInfo.ProtoReflect.Descriptor instead.
func (*GetAppAndVersionInfo) GetApp ¶
func (x *GetAppAndVersionInfo) GetApp() *biz.App
func (*GetAppAndVersionInfo) GetVersion ¶
func (x *GetAppAndVersionInfo) GetVersion() *biz.AppVersion
func (*GetAppAndVersionInfo) ProtoMessage ¶
func (*GetAppAndVersionInfo) ProtoMessage()
func (*GetAppAndVersionInfo) ProtoReflect ¶
func (x *GetAppAndVersionInfo) ProtoReflect() protoreflect.Message
func (*GetAppAndVersionInfo) Reset ¶
func (x *GetAppAndVersionInfo) Reset()
func (*GetAppAndVersionInfo) String ¶
func (x *GetAppAndVersionInfo) String() string
type GetAppDetailByRepoReq ¶
type GetAppDetailByRepoReq struct { Repo *biz.AppRepo `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` AppName string `protobuf:"bytes,2,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*GetAppDetailByRepoReq) Descriptor
deprecated
func (*GetAppDetailByRepoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAppDetailByRepoReq.ProtoReflect.Descriptor instead.
func (*GetAppDetailByRepoReq) GetAppName ¶
func (x *GetAppDetailByRepoReq) GetAppName() string
func (*GetAppDetailByRepoReq) GetRepo ¶
func (x *GetAppDetailByRepoReq) GetRepo() *biz.AppRepo
func (*GetAppDetailByRepoReq) GetVersion ¶
func (x *GetAppDetailByRepoReq) GetVersion() string
func (*GetAppDetailByRepoReq) ProtoMessage ¶
func (*GetAppDetailByRepoReq) ProtoMessage()
func (*GetAppDetailByRepoReq) ProtoReflect ¶
func (x *GetAppDetailByRepoReq) ProtoReflect() protoreflect.Message
func (*GetAppDetailByRepoReq) Reset ¶
func (x *GetAppDetailByRepoReq) Reset()
func (*GetAppDetailByRepoReq) String ¶
func (x *GetAppDetailByRepoReq) String() string
type InitResponse ¶
type InitResponse struct { Apps []*biz.App `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"` Releases []*biz.AppRelease `protobuf:"bytes,2,rep,name=releases,proto3" json:"releases,omitempty"` // contains filtered or unexported fields }
func (*InitResponse) Descriptor
deprecated
func (*InitResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitResponse.ProtoReflect.Descriptor instead.
func (*InitResponse) GetApps ¶
func (x *InitResponse) GetApps() []*biz.App
func (*InitResponse) GetReleases ¶
func (x *InitResponse) GetReleases() []*biz.AppRelease
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 InstallBasicComponentReq ¶
type InstallBasicComponentReq struct { BasicComponentAppType biz.BasicComponentAppType `` /* 164-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InstallBasicComponentReq) Descriptor
deprecated
func (*InstallBasicComponentReq) Descriptor() ([]byte, []int)
Deprecated: Use InstallBasicComponentReq.ProtoReflect.Descriptor instead.
func (*InstallBasicComponentReq) GetBasicComponentAppType ¶
func (x *InstallBasicComponentReq) GetBasicComponentAppType() biz.BasicComponentAppType
func (*InstallBasicComponentReq) ProtoMessage ¶
func (*InstallBasicComponentReq) ProtoMessage()
func (*InstallBasicComponentReq) ProtoReflect ¶
func (x *InstallBasicComponentReq) ProtoReflect() protoreflect.Message
func (*InstallBasicComponentReq) Reset ¶
func (x *InstallBasicComponentReq) Reset()
func (*InstallBasicComponentReq) String ¶
func (x *InstallBasicComponentReq) String() string
type InstallBasicComponentResponse ¶
type InstallBasicComponentResponse struct { Apps []*biz.App `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"` Releases []*biz.AppRelease `protobuf:"bytes,2,rep,name=releases,proto3" json:"releases,omitempty"` // contains filtered or unexported fields }
func (*InstallBasicComponentResponse) Descriptor
deprecated
func (*InstallBasicComponentResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstallBasicComponentResponse.ProtoReflect.Descriptor instead.
func (*InstallBasicComponentResponse) GetApps ¶
func (x *InstallBasicComponentResponse) GetApps() []*biz.App
func (*InstallBasicComponentResponse) GetReleases ¶
func (x *InstallBasicComponentResponse) GetReleases() []*biz.AppRelease
func (*InstallBasicComponentResponse) ProtoMessage ¶
func (*InstallBasicComponentResponse) ProtoMessage()
func (*InstallBasicComponentResponse) ProtoReflect ¶
func (x *InstallBasicComponentResponse) ProtoReflect() protoreflect.Message
func (*InstallBasicComponentResponse) Reset ¶
func (x *InstallBasicComponentResponse) Reset()
func (*InstallBasicComponentResponse) String ¶
func (x *InstallBasicComponentResponse) String() string
type ReloadAppReleaseReq ¶
type ReloadAppReleaseReq struct { AppReleaseName string `protobuf:"bytes,1,opt,name=AppReleaseName,proto3" json:"AppReleaseName,omitempty"` // contains filtered or unexported fields }
func (*ReloadAppReleaseReq) Descriptor
deprecated
func (*ReloadAppReleaseReq) Descriptor() ([]byte, []int)
Deprecated: Use ReloadAppReleaseReq.ProtoReflect.Descriptor instead.
func (*ReloadAppReleaseReq) GetAppReleaseName ¶
func (x *ReloadAppReleaseReq) GetAppReleaseName() string
func (*ReloadAppReleaseReq) ProtoMessage ¶
func (*ReloadAppReleaseReq) ProtoMessage()
func (*ReloadAppReleaseReq) ProtoReflect ¶
func (x *ReloadAppReleaseReq) ProtoReflect() protoreflect.Message
func (*ReloadAppReleaseReq) Reset ¶
func (x *ReloadAppReleaseReq) Reset()
func (*ReloadAppReleaseReq) String ¶
func (x *ReloadAppReleaseReq) String() string
type UnimplementedAppInterfaceServer ¶
type UnimplementedAppInterfaceServer struct{}
UnimplementedAppInterfaceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAppInterfaceServer) AddAppRepo ¶
func (UnimplementedAppInterfaceServer) AppRelease ¶
func (UnimplementedAppInterfaceServer) AppRelease(context.Context, *AppReleaseReq) (*biz.AppRelease, error)
func (UnimplementedAppInterfaceServer) CheckCluster ¶
func (UnimplementedAppInterfaceServer) CheckCluster(context.Context, *emptypb.Empty) (*CheckClusterResponse, error)
func (UnimplementedAppInterfaceServer) DeleteAppRelease ¶
func (UnimplementedAppInterfaceServer) DeleteAppRelease(context.Context, *biz.AppRelease) (*common.Msg, error)
func (UnimplementedAppInterfaceServer) DeleteAppVersion ¶
func (UnimplementedAppInterfaceServer) DeleteAppVersion(context.Context, *DeleteAppVersionReq) (*common.Msg, error)
func (UnimplementedAppInterfaceServer) GetAppAndVersionInfo ¶
func (UnimplementedAppInterfaceServer) GetAppAndVersionInfo(context.Context, *GetAppAndVersionInfo) (*GetAppAndVersionInfo, error)
func (UnimplementedAppInterfaceServer) GetAppDetailByRepo ¶
func (UnimplementedAppInterfaceServer) GetAppDetailByRepo(context.Context, *GetAppDetailByRepoReq) (*biz.App, error)
func (UnimplementedAppInterfaceServer) GetAppReleaseResources ¶
func (UnimplementedAppInterfaceServer) GetAppReleaseResources(context.Context, *biz.AppRelease) (*AppReleaseResourceItems, error)
func (UnimplementedAppInterfaceServer) GetAppsByRepo ¶
func (UnimplementedAppInterfaceServer) InstallBasicComponent ¶
func (UnimplementedAppInterfaceServer) InstallBasicComponent(context.Context, *InstallBasicComponentReq) (*InstallBasicComponentResponse, error)
func (UnimplementedAppInterfaceServer) ReloadAppReleaseResource ¶
func (UnimplementedAppInterfaceServer) ReloadAppReleaseResource(context.Context, *biz.AppReleaseResource) (*common.Msg, error)
func (UnimplementedAppInterfaceServer) UploadApp ¶
func (UnimplementedAppInterfaceServer) UploadApp(context.Context, *FileUploadRequest) (*GetAppAndVersionInfo, error)
type UnsafeAppInterfaceServer ¶
type UnsafeAppInterfaceServer interface {
// contains filtered or unexported methods
}
UnsafeAppInterfaceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppInterfaceServer will result in compilation errors.