Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAppInterfaceHTTPServer(s *http.Server, srv AppInterfaceHTTPServer)
- func RegisterAppInterfaceServer(s grpc.ServiceRegistrar, srv AppInterfaceServer)
- type App
- func (*App) Descriptor() ([]byte, []int)deprecated
- func (x *App) GetAppTypeId() int64
- func (x *App) GetAppTypeName() string
- func (x *App) GetIcon() string
- func (x *App) GetId() int64
- func (x *App) GetName() string
- func (x *App) GetUpdateTime() string
- func (x *App) GetVersions() []*AppVersion
- func (*App) ProtoMessage()
- func (x *App) ProtoReflect() protoreflect.Message
- func (x *App) Reset()
- func (x *App) String() string
- type AppDeployedResource
- func (*AppDeployedResource) Descriptor() ([]byte, []int)deprecated
- func (x *AppDeployedResource) GetEvents() []string
- func (x *AppDeployedResource) GetKind() string
- func (x *AppDeployedResource) GetName() string
- func (x *AppDeployedResource) GetStartedAt() string
- func (x *AppDeployedResource) GetStatus() []string
- func (*AppDeployedResource) ProtoMessage()
- func (x *AppDeployedResource) ProtoReflect() protoreflect.Message
- func (x *AppDeployedResource) Reset()
- func (x *AppDeployedResource) String() string
- type AppHelmRepo
- func (*AppHelmRepo) Descriptor() ([]byte, []int)deprecated
- func (x *AppHelmRepo) GetDescription() string
- func (x *AppHelmRepo) GetId() int64
- func (x *AppHelmRepo) GetName() string
- func (x *AppHelmRepo) GetUrl() string
- func (*AppHelmRepo) ProtoMessage()
- func (x *AppHelmRepo) ProtoReflect() protoreflect.Message
- func (x *AppHelmRepo) Reset()
- func (x *AppHelmRepo) String() string
- type AppHelmRepoList
- type AppHelmRepoReq
- func (*AppHelmRepoReq) Descriptor() ([]byte, []int)deprecated
- func (x *AppHelmRepoReq) GetAppName() string
- func (x *AppHelmRepoReq) GetId() int64
- func (x *AppHelmRepoReq) GetVersion() string
- func (*AppHelmRepoReq) ProtoMessage()
- func (x *AppHelmRepoReq) ProtoReflect() protoreflect.Message
- func (x *AppHelmRepoReq) Reset()
- func (x *AppHelmRepoReq) String() string
- type AppInterfaceClient
- type AppInterfaceHTTPClient
- type AppInterfaceHTTPClientImpl
- func (c *AppInterfaceHTTPClientImpl) AppTest(ctx context.Context, in *DeployAppReq, opts ...http.CallOption) (*DeployApp, error)
- func (c *AppInterfaceHTTPClientImpl) CreateAppType(ctx context.Context, in *AppType, opts ...http.CallOption) (*Msg, error)
- func (c *AppInterfaceHTTPClientImpl) Delete(ctx context.Context, in *AppReq, opts ...http.CallOption) (*Msg, error)
- func (c *AppInterfaceHTTPClientImpl) DeleteAppType(ctx context.Context, in *AppTypeReq, opts ...http.CallOption) (*Msg, error)
- func (c *AppInterfaceHTTPClientImpl) DeleteDeployedApp(ctx context.Context, in *DeployAppReq, opts ...http.CallOption) (*Msg, error)
- func (c *AppInterfaceHTTPClientImpl) DeleteRepo(ctx context.Context, in *AppHelmRepoReq, opts ...http.CallOption) (*Msg, error)
- func (c *AppInterfaceHTTPClientImpl) DeployApp(ctx context.Context, in *DeployAppReq, opts ...http.CallOption) (*DeployApp, error)
- func (c *AppInterfaceHTTPClientImpl) Get(ctx context.Context, in *AppReq, opts ...http.CallOption) (*App, error)
- func (c *AppInterfaceHTTPClientImpl) GetAppDeployed(ctx context.Context, in *DeployApp, opts ...http.CallOption) (*DeployApp, error)
- func (c *AppInterfaceHTTPClientImpl) GetAppDetailByRepo(ctx context.Context, in *AppHelmRepoReq, opts ...http.CallOption) (*App, error)
- func (c *AppInterfaceHTTPClientImpl) GetAppsByRepo(ctx context.Context, in *AppHelmRepoReq, opts ...http.CallOption) (*AppList, error)
- func (c *AppInterfaceHTTPClientImpl) GetDeployedAppResources(ctx context.Context, in *DeployAppReq, opts ...http.CallOption) (*DeployAppResources, error)
- func (c *AppInterfaceHTTPClientImpl) List(ctx context.Context, in *AppReq, opts ...http.CallOption) (*AppList, error)
- func (c *AppInterfaceHTTPClientImpl) ListAppType(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*AppTypeList, error)
- func (c *AppInterfaceHTTPClientImpl) ListDeployedApp(ctx context.Context, in *DeployAppReq, opts ...http.CallOption) (*DeployAppList, error)
- func (c *AppInterfaceHTTPClientImpl) ListRepo(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*AppHelmRepoList, error)
- func (c *AppInterfaceHTTPClientImpl) Ping(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*Msg, error)
- func (c *AppInterfaceHTTPClientImpl) Save(ctx context.Context, in *App, opts ...http.CallOption) (*Msg, error)
- func (c *AppInterfaceHTTPClientImpl) SaveRepo(ctx context.Context, in *AppHelmRepo, opts ...http.CallOption) (*Msg, error)
- func (c *AppInterfaceHTTPClientImpl) StopApp(ctx context.Context, in *DeployAppReq, opts ...http.CallOption) (*Msg, error)
- func (c *AppInterfaceHTTPClientImpl) UploadApp(ctx context.Context, in *FileUploadRequest, opts ...http.CallOption) (*App, error)
- type AppInterfaceHTTPServer
- type AppInterfaceServer
- type AppList
- func (*AppList) Descriptor() ([]byte, []int)deprecated
- func (x *AppList) GetItemCount() int32
- func (x *AppList) GetItems() []*App
- func (x *AppList) GetPageCount() int32
- func (*AppList) ProtoMessage()
- func (x *AppList) ProtoReflect() protoreflect.Message
- func (x *AppList) Reset()
- func (x *AppList) String() string
- type AppReq
- func (*AppReq) Descriptor() ([]byte, []int)deprecated
- func (x *AppReq) GetAppTypeId() int64
- func (x *AppReq) GetId() int64
- func (x *AppReq) GetName() string
- func (x *AppReq) GetPage() int32
- func (x *AppReq) GetPageSize() int32
- func (x *AppReq) GetState() string
- func (x *AppReq) GetVersionId() int64
- func (*AppReq) ProtoMessage()
- func (x *AppReq) ProtoReflect() protoreflect.Message
- func (x *AppReq) Reset()
- func (x *AppReq) String() string
- type AppType
- type AppTypeList
- type AppTypeReq
- type AppVersion
- func (*AppVersion) Descriptor() ([]byte, []int)deprecated
- func (x *AppVersion) GetAppId() int64
- func (x *AppVersion) GetAppName() string
- func (x *AppVersion) GetChart() string
- func (x *AppVersion) GetConfig() string
- func (x *AppVersion) GetDescription() string
- func (x *AppVersion) GetId() int64
- func (x *AppVersion) GetMetadata() *Metadata
- func (x *AppVersion) GetReadme() string
- func (x *AppVersion) GetState() string
- func (x *AppVersion) GetTestResult() string
- func (x *AppVersion) GetVersion() string
- func (*AppVersion) ProtoMessage()
- func (x *AppVersion) ProtoReflect() protoreflect.Message
- func (x *AppVersion) Reset()
- func (x *AppVersion) String() string
- type Dependency
- func (*Dependency) Descriptor() ([]byte, []int)deprecated
- func (x *Dependency) GetAlias() string
- func (x *Dependency) GetCondition() string
- func (x *Dependency) GetEnabled() bool
- func (x *Dependency) GetImportValues() []string
- func (x *Dependency) GetName() string
- func (x *Dependency) GetRepository() string
- func (x *Dependency) GetTags() []string
- func (x *Dependency) GetVersion() string
- func (*Dependency) ProtoMessage()
- func (x *Dependency) ProtoReflect() protoreflect.Message
- func (x *Dependency) Reset()
- func (x *Dependency) String() string
- type DeployApp
- func (*DeployApp) Descriptor() ([]byte, []int)deprecated
- func (x *DeployApp) GetAppId() int64
- func (x *DeployApp) GetAppName() string
- func (x *DeployApp) GetChart() string
- func (x *DeployApp) GetClusterId() int64
- func (x *DeployApp) GetConfig() string
- func (x *DeployApp) GetCreateTime() string
- func (x *DeployApp) GetId() int64
- func (x *DeployApp) GetIsTest() bool
- func (x *DeployApp) GetLogs() string
- func (x *DeployApp) GetManifest() string
- func (x *DeployApp) GetNamespace() string
- func (x *DeployApp) GetNotes() string
- func (x *DeployApp) GetProjectId() int64
- func (x *DeployApp) GetReleaseName() string
- func (x *DeployApp) GetState() string
- func (x *DeployApp) GetUpdateTime() string
- func (x *DeployApp) GetUserId() int64
- func (x *DeployApp) GetUserName() string
- func (x *DeployApp) GetVersion() string
- func (x *DeployApp) GetVersionId() int64
- func (*DeployApp) ProtoMessage()
- func (x *DeployApp) ProtoReflect() protoreflect.Message
- func (x *DeployApp) Reset()
- func (x *DeployApp) String() string
- type DeployAppList
- func (*DeployAppList) Descriptor() ([]byte, []int)deprecated
- func (x *DeployAppList) GetCount() int32
- func (x *DeployAppList) GetItems() []*DeployApp
- func (*DeployAppList) ProtoMessage()
- func (x *DeployAppList) ProtoReflect() protoreflect.Message
- func (x *DeployAppList) Reset()
- func (x *DeployAppList) String() string
- type DeployAppReq
- func (*DeployAppReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeployAppReq) GetAppId() int64
- func (x *DeployAppReq) GetAppName() string
- func (x *DeployAppReq) GetAppTypeId() int64
- func (x *DeployAppReq) GetClusterId() int64
- func (x *DeployAppReq) GetConfig() string
- func (x *DeployAppReq) GetId() int64
- func (x *DeployAppReq) GetNamespace() string
- func (x *DeployAppReq) GetPage() int32
- func (x *DeployAppReq) GetPageSize() int32
- func (x *DeployAppReq) GetProjectId() int64
- func (x *DeployAppReq) GetReleaseName() string
- func (x *DeployAppReq) GetRepoId() int64
- func (x *DeployAppReq) GetVersion() string
- func (x *DeployAppReq) GetVersionId() int64
- func (*DeployAppReq) ProtoMessage()
- func (x *DeployAppReq) ProtoReflect() protoreflect.Message
- func (x *DeployAppReq) Reset()
- func (x *DeployAppReq) String() string
- type DeployAppResources
- func (*DeployAppResources) Descriptor() ([]byte, []int)deprecated
- func (x *DeployAppResources) GetItems() []*AppDeployedResource
- func (*DeployAppResources) ProtoMessage()
- func (x *DeployAppResources) ProtoReflect() protoreflect.Message
- func (x *DeployAppResources) Reset()
- func (x *DeployAppResources) String() string
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
- 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 FileUploadResponse
- func (*FileUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FileUploadResponse) GetFileName() string
- func (*FileUploadResponse) ProtoMessage()
- func (x *FileUploadResponse) ProtoReflect() protoreflect.Message
- func (x *FileUploadResponse) Reset()
- func (x *FileUploadResponse) String() string
- type Maintainer
- func (*Maintainer) Descriptor() ([]byte, []int)deprecated
- func (x *Maintainer) GetEmail() string
- func (x *Maintainer) GetName() string
- func (x *Maintainer) GetUrl() string
- func (*Maintainer) ProtoMessage()
- func (x *Maintainer) ProtoReflect() protoreflect.Message
- func (x *Maintainer) Reset()
- func (x *Maintainer) String() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetAnnotations() map[string]string
- func (x *Metadata) GetApiVersion() string
- func (x *Metadata) GetAppVersion() string
- func (x *Metadata) GetCondition() string
- func (x *Metadata) GetDependencies() []*Dependency
- func (x *Metadata) GetDeprecated() bool
- func (x *Metadata) GetDescription() string
- func (x *Metadata) GetHome() string
- func (x *Metadata) GetIcon() string
- func (x *Metadata) GetKeywords() []string
- func (x *Metadata) GetKubeVersion() string
- func (x *Metadata) GetMaintainers() []*Maintainer
- func (x *Metadata) GetName() string
- func (x *Metadata) GetSources() []string
- func (x *Metadata) GetTags() string
- func (x *Metadata) GetType() string
- func (x *Metadata) GetVersion() string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type Msg
- type UnimplementedAppInterfaceServer
- func (UnimplementedAppInterfaceServer) AppTest(context.Context, *DeployAppReq) (*DeployApp, error)
- func (UnimplementedAppInterfaceServer) CreateAppType(context.Context, *AppType) (*Msg, error)
- func (UnimplementedAppInterfaceServer) Delete(context.Context, *AppReq) (*Msg, error)
- func (UnimplementedAppInterfaceServer) DeleteAppType(context.Context, *AppTypeReq) (*Msg, error)
- func (UnimplementedAppInterfaceServer) DeleteDeployedApp(context.Context, *DeployAppReq) (*Msg, error)
- func (UnimplementedAppInterfaceServer) DeleteRepo(context.Context, *AppHelmRepoReq) (*Msg, error)
- func (UnimplementedAppInterfaceServer) DeployApp(context.Context, *DeployAppReq) (*DeployApp, error)
- func (UnimplementedAppInterfaceServer) Get(context.Context, *AppReq) (*App, error)
- func (UnimplementedAppInterfaceServer) GetAppDeployed(context.Context, *DeployApp) (*DeployApp, error)
- func (UnimplementedAppInterfaceServer) GetAppDetailByRepo(context.Context, *AppHelmRepoReq) (*App, error)
- func (UnimplementedAppInterfaceServer) GetAppsByRepo(context.Context, *AppHelmRepoReq) (*AppList, error)
- func (UnimplementedAppInterfaceServer) GetDeployedAppResources(context.Context, *DeployAppReq) (*DeployAppResources, error)
- func (UnimplementedAppInterfaceServer) List(context.Context, *AppReq) (*AppList, error)
- func (UnimplementedAppInterfaceServer) ListAppType(context.Context, *emptypb.Empty) (*AppTypeList, error)
- func (UnimplementedAppInterfaceServer) ListDeployedApp(context.Context, *DeployAppReq) (*DeployAppList, error)
- func (UnimplementedAppInterfaceServer) ListRepo(context.Context, *emptypb.Empty) (*AppHelmRepoList, error)
- func (UnimplementedAppInterfaceServer) Ping(context.Context, *emptypb.Empty) (*Msg, error)
- func (UnimplementedAppInterfaceServer) Save(context.Context, *App) (*Msg, error)
- func (UnimplementedAppInterfaceServer) SaveRepo(context.Context, *AppHelmRepo) (*Msg, error)
- func (UnimplementedAppInterfaceServer) StopApp(context.Context, *DeployAppReq) (*Msg, error)
- func (UnimplementedAppInterfaceServer) UploadApp(context.Context, *FileUploadRequest) (*App, error)
- type UnsafeAppInterfaceServer
Constants ¶
const ( AppInterface_Ping_FullMethodName = "/app.v1alpha1.AppInterface/Ping" AppInterface_UploadApp_FullMethodName = "/app.v1alpha1.AppInterface/UploadApp" AppInterface_Save_FullMethodName = "/app.v1alpha1.AppInterface/Save" AppInterface_Get_FullMethodName = "/app.v1alpha1.AppInterface/Get" AppInterface_List_FullMethodName = "/app.v1alpha1.AppInterface/List" AppInterface_Delete_FullMethodName = "/app.v1alpha1.AppInterface/Delete" AppInterface_CreateAppType_FullMethodName = "/app.v1alpha1.AppInterface/CreateAppType" AppInterface_ListAppType_FullMethodName = "/app.v1alpha1.AppInterface/ListAppType" AppInterface_DeleteAppType_FullMethodName = "/app.v1alpha1.AppInterface/DeleteAppType" AppInterface_AppTest_FullMethodName = "/app.v1alpha1.AppInterface/AppTest" AppInterface_GetAppDeployed_FullMethodName = "/app.v1alpha1.AppInterface/GetAppDeployed" AppInterface_DeployApp_FullMethodName = "/app.v1alpha1.AppInterface/DeployApp" AppInterface_ListDeployedApp_FullMethodName = "/app.v1alpha1.AppInterface/ListDeployedApp" AppInterface_StopApp_FullMethodName = "/app.v1alpha1.AppInterface/StopApp" AppInterface_DeleteDeployedApp_FullMethodName = "/app.v1alpha1.AppInterface/DeleteDeployedApp" AppInterface_GetDeployedAppResources_FullMethodName = "/app.v1alpha1.AppInterface/GetDeployedAppResources" AppInterface_SaveRepo_FullMethodName = "/app.v1alpha1.AppInterface/SaveRepo" AppInterface_ListRepo_FullMethodName = "/app.v1alpha1.AppInterface/ListRepo" AppInterface_DeleteRepo_FullMethodName = "/app.v1alpha1.AppInterface/DeleteRepo" AppInterface_GetAppsByRepo_FullMethodName = "/app.v1alpha1.AppInterface/GetAppsByRepo" AppInterface_GetAppDetailByRepo_FullMethodName = "/app.v1alpha1.AppInterface/GetAppDetailByRepo" )
const OperationAppInterfaceAppTest = "/app.v1alpha1.AppInterface/AppTest"
const OperationAppInterfaceCreateAppType = "/app.v1alpha1.AppInterface/CreateAppType"
const OperationAppInterfaceDelete = "/app.v1alpha1.AppInterface/Delete"
const OperationAppInterfaceDeleteAppType = "/app.v1alpha1.AppInterface/DeleteAppType"
const OperationAppInterfaceDeleteDeployedApp = "/app.v1alpha1.AppInterface/DeleteDeployedApp"
const OperationAppInterfaceDeleteRepo = "/app.v1alpha1.AppInterface/DeleteRepo"
const OperationAppInterfaceDeployApp = "/app.v1alpha1.AppInterface/DeployApp"
const OperationAppInterfaceGet = "/app.v1alpha1.AppInterface/Get"
const OperationAppInterfaceGetAppDeployed = "/app.v1alpha1.AppInterface/GetAppDeployed"
const OperationAppInterfaceGetAppDetailByRepo = "/app.v1alpha1.AppInterface/GetAppDetailByRepo"
const OperationAppInterfaceGetAppsByRepo = "/app.v1alpha1.AppInterface/GetAppsByRepo"
const OperationAppInterfaceGetDeployedAppResources = "/app.v1alpha1.AppInterface/GetDeployedAppResources"
const OperationAppInterfaceList = "/app.v1alpha1.AppInterface/List"
const OperationAppInterfaceListAppType = "/app.v1alpha1.AppInterface/ListAppType"
const OperationAppInterfaceListDeployedApp = "/app.v1alpha1.AppInterface/ListDeployedApp"
const OperationAppInterfaceListRepo = "/app.v1alpha1.AppInterface/ListRepo"
const OperationAppInterfacePing = "/app.v1alpha1.AppInterface/Ping"
const OperationAppInterfaceSave = "/app.v1alpha1.AppInterface/Save"
const OperationAppInterfaceSaveRepo = "/app.v1alpha1.AppInterface/SaveRepo"
const OperationAppInterfaceStopApp = "/app.v1alpha1.AppInterface/StopApp"
const OperationAppInterfaceUploadApp = "/app.v1alpha1.AppInterface/UploadApp"
Variables ¶
var ( ErrorReason_name = map[int32]string{ 0: "SUCCEED", 1: "FAILED", } ErrorReason_value = map[string]int32{ "SUCCEED": 0, "FAILED": 1, } )
Enum value maps for ErrorReason.
var AppInterface_ServiceDesc = grpc.ServiceDesc{ ServiceName: "app.v1alpha1.AppInterface", HandlerType: (*AppInterfaceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _AppInterface_Ping_Handler, }, { MethodName: "UploadApp", Handler: _AppInterface_UploadApp_Handler, }, { MethodName: "Save", Handler: _AppInterface_Save_Handler, }, { MethodName: "Get", Handler: _AppInterface_Get_Handler, }, { MethodName: "List", Handler: _AppInterface_List_Handler, }, { MethodName: "Delete", Handler: _AppInterface_Delete_Handler, }, { MethodName: "CreateAppType", Handler: _AppInterface_CreateAppType_Handler, }, { MethodName: "ListAppType", Handler: _AppInterface_ListAppType_Handler, }, { MethodName: "DeleteAppType", Handler: _AppInterface_DeleteAppType_Handler, }, { MethodName: "AppTest", Handler: _AppInterface_AppTest_Handler, }, { MethodName: "GetAppDeployed", Handler: _AppInterface_GetAppDeployed_Handler, }, { MethodName: "DeployApp", Handler: _AppInterface_DeployApp_Handler, }, { MethodName: "ListDeployedApp", Handler: _AppInterface_ListDeployedApp_Handler, }, { MethodName: "StopApp", Handler: _AppInterface_StopApp_Handler, }, { MethodName: "DeleteDeployedApp", Handler: _AppInterface_DeleteDeployedApp_Handler, }, { MethodName: "GetDeployedAppResources", Handler: _AppInterface_GetDeployedAppResources_Handler, }, { MethodName: "SaveRepo", Handler: _AppInterface_SaveRepo_Handler, }, { MethodName: "ListRepo", Handler: _AppInterface_ListRepo_Handler, }, { MethodName: "DeleteRepo", Handler: _AppInterface_DeleteRepo_Handler, }, { MethodName: "GetAppsByRepo", Handler: _AppInterface_GetAppsByRepo_Handler, }, { MethodName: "GetAppDetailByRepo", Handler: _AppInterface_GetAppDetailByRepo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/app/v1alpha1/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_api_app_v1alpha1_app_proto protoreflect.FileDescriptor
var File_api_app_v1alpha1_error_reason_proto protoreflect.FileDescriptor
var File_api_app_v1alpha1_message_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAppInterfaceHTTPServer ¶
func RegisterAppInterfaceHTTPServer(s *http.Server, srv AppInterfaceHTTPServer)
func RegisterAppInterfaceServer ¶
func RegisterAppInterfaceServer(s grpc.ServiceRegistrar, srv AppInterfaceServer)
Types ¶
type App ¶
type App struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"` AppTypeId int64 `protobuf:"varint,4,opt,name=app_type_id,proto3" json:"app_type_id,omitempty"` AppTypeName string `protobuf:"bytes,5,opt,name=app_type_name,proto3" json:"app_type_name,omitempty"` Versions []*AppVersion `protobuf:"bytes,6,rep,name=versions,proto3" json:"versions,omitempty"` UpdateTime string `protobuf:"bytes,8,opt,name=update_time,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*App) Descriptor
deprecated
func (*App) GetAppTypeId ¶
func (*App) GetAppTypeName ¶
func (*App) GetUpdateTime ¶
func (*App) GetVersions ¶
func (x *App) GetVersions() []*AppVersion
func (*App) ProtoMessage ¶
func (*App) ProtoMessage()
func (*App) ProtoReflect ¶
func (x *App) ProtoReflect() protoreflect.Message
type AppDeployedResource ¶
type AppDeployedResource struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Events []string `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` StartedAt string `protobuf:"bytes,4,opt,name=started_at,proto3" json:"started_at,omitempty"` Status []string `protobuf:"bytes,5,rep,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*AppDeployedResource) Descriptor
deprecated
func (*AppDeployedResource) Descriptor() ([]byte, []int)
Deprecated: Use AppDeployedResource.ProtoReflect.Descriptor instead.
func (*AppDeployedResource) GetEvents ¶
func (x *AppDeployedResource) GetEvents() []string
func (*AppDeployedResource) GetKind ¶
func (x *AppDeployedResource) GetKind() string
func (*AppDeployedResource) GetName ¶
func (x *AppDeployedResource) GetName() string
func (*AppDeployedResource) GetStartedAt ¶
func (x *AppDeployedResource) GetStartedAt() string
func (*AppDeployedResource) GetStatus ¶
func (x *AppDeployedResource) GetStatus() []string
func (*AppDeployedResource) ProtoMessage ¶
func (*AppDeployedResource) ProtoMessage()
func (*AppDeployedResource) ProtoReflect ¶
func (x *AppDeployedResource) ProtoReflect() protoreflect.Message
func (*AppDeployedResource) Reset ¶
func (x *AppDeployedResource) Reset()
func (*AppDeployedResource) String ¶
func (x *AppDeployedResource) String() string
type AppHelmRepo ¶
type AppHelmRepo struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*AppHelmRepo) Descriptor
deprecated
func (*AppHelmRepo) Descriptor() ([]byte, []int)
Deprecated: Use AppHelmRepo.ProtoReflect.Descriptor instead.
func (*AppHelmRepo) GetDescription ¶
func (x *AppHelmRepo) GetDescription() string
func (*AppHelmRepo) GetId ¶
func (x *AppHelmRepo) GetId() int64
func (*AppHelmRepo) GetName ¶
func (x *AppHelmRepo) GetName() string
func (*AppHelmRepo) GetUrl ¶
func (x *AppHelmRepo) GetUrl() string
func (*AppHelmRepo) ProtoMessage ¶
func (*AppHelmRepo) ProtoMessage()
func (*AppHelmRepo) ProtoReflect ¶
func (x *AppHelmRepo) ProtoReflect() protoreflect.Message
func (*AppHelmRepo) Reset ¶
func (x *AppHelmRepo) Reset()
func (*AppHelmRepo) String ¶
func (x *AppHelmRepo) String() string
type AppHelmRepoList ¶
type AppHelmRepoList struct { Items []*AppHelmRepo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AppHelmRepoList) Descriptor
deprecated
func (*AppHelmRepoList) Descriptor() ([]byte, []int)
Deprecated: Use AppHelmRepoList.ProtoReflect.Descriptor instead.
func (*AppHelmRepoList) GetItems ¶
func (x *AppHelmRepoList) GetItems() []*AppHelmRepo
func (*AppHelmRepoList) ProtoMessage ¶
func (*AppHelmRepoList) ProtoMessage()
func (*AppHelmRepoList) ProtoReflect ¶
func (x *AppHelmRepoList) ProtoReflect() protoreflect.Message
func (*AppHelmRepoList) Reset ¶
func (x *AppHelmRepoList) Reset()
func (*AppHelmRepoList) String ¶
func (x *AppHelmRepoList) String() string
type AppHelmRepoReq ¶
type AppHelmRepoReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` AppName string `protobuf:"bytes,2,opt,name=app_name,proto3" json:"app_name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*AppHelmRepoReq) Descriptor
deprecated
func (*AppHelmRepoReq) Descriptor() ([]byte, []int)
Deprecated: Use AppHelmRepoReq.ProtoReflect.Descriptor instead.
func (*AppHelmRepoReq) GetAppName ¶
func (x *AppHelmRepoReq) GetAppName() string
func (*AppHelmRepoReq) GetId ¶
func (x *AppHelmRepoReq) GetId() int64
func (*AppHelmRepoReq) GetVersion ¶
func (x *AppHelmRepoReq) GetVersion() string
func (*AppHelmRepoReq) ProtoMessage ¶
func (*AppHelmRepoReq) ProtoMessage()
func (*AppHelmRepoReq) ProtoReflect ¶
func (x *AppHelmRepoReq) ProtoReflect() protoreflect.Message
func (*AppHelmRepoReq) Reset ¶
func (x *AppHelmRepoReq) Reset()
func (*AppHelmRepoReq) String ¶
func (x *AppHelmRepoReq) String() string
type AppInterfaceClient ¶
type AppInterfaceClient interface { Ping(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Msg, error) UploadApp(ctx context.Context, in *FileUploadRequest, opts ...grpc.CallOption) (*App, error) Save(ctx context.Context, in *App, opts ...grpc.CallOption) (*Msg, error) Get(ctx context.Context, in *AppReq, opts ...grpc.CallOption) (*App, error) List(ctx context.Context, in *AppReq, opts ...grpc.CallOption) (*AppList, error) Delete(ctx context.Context, in *AppReq, opts ...grpc.CallOption) (*Msg, error) CreateAppType(ctx context.Context, in *AppType, opts ...grpc.CallOption) (*Msg, error) ListAppType(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AppTypeList, error) DeleteAppType(ctx context.Context, in *AppTypeReq, opts ...grpc.CallOption) (*Msg, error) AppTest(ctx context.Context, in *DeployAppReq, opts ...grpc.CallOption) (*DeployApp, error) GetAppDeployed(ctx context.Context, in *DeployApp, opts ...grpc.CallOption) (*DeployApp, error) DeployApp(ctx context.Context, in *DeployAppReq, opts ...grpc.CallOption) (*DeployApp, error) ListDeployedApp(ctx context.Context, in *DeployAppReq, opts ...grpc.CallOption) (*DeployAppList, error) StopApp(ctx context.Context, in *DeployAppReq, opts ...grpc.CallOption) (*Msg, error) DeleteDeployedApp(ctx context.Context, in *DeployAppReq, opts ...grpc.CallOption) (*Msg, error) GetDeployedAppResources(ctx context.Context, in *DeployAppReq, opts ...grpc.CallOption) (*DeployAppResources, error) SaveRepo(ctx context.Context, in *AppHelmRepo, opts ...grpc.CallOption) (*Msg, error) ListRepo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AppHelmRepoList, error) DeleteRepo(ctx context.Context, in *AppHelmRepoReq, opts ...grpc.CallOption) (*Msg, error) GetAppsByRepo(ctx context.Context, in *AppHelmRepoReq, opts ...grpc.CallOption) (*AppList, error) GetAppDetailByRepo(ctx context.Context, in *AppHelmRepoReq, opts ...grpc.CallOption) (*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 AppInterfaceHTTPClient ¶
type AppInterfaceHTTPClient interface { AppTest(ctx context.Context, req *DeployAppReq, opts ...http.CallOption) (rsp *DeployApp, err error) CreateAppType(ctx context.Context, req *AppType, opts ...http.CallOption) (rsp *Msg, err error) Delete(ctx context.Context, req *AppReq, opts ...http.CallOption) (rsp *Msg, err error) DeleteAppType(ctx context.Context, req *AppTypeReq, opts ...http.CallOption) (rsp *Msg, err error) DeleteDeployedApp(ctx context.Context, req *DeployAppReq, opts ...http.CallOption) (rsp *Msg, err error) DeleteRepo(ctx context.Context, req *AppHelmRepoReq, opts ...http.CallOption) (rsp *Msg, err error) DeployApp(ctx context.Context, req *DeployAppReq, opts ...http.CallOption) (rsp *DeployApp, err error) Get(ctx context.Context, req *AppReq, opts ...http.CallOption) (rsp *App, err error) GetAppDeployed(ctx context.Context, req *DeployApp, opts ...http.CallOption) (rsp *DeployApp, err error) GetAppDetailByRepo(ctx context.Context, req *AppHelmRepoReq, opts ...http.CallOption) (rsp *App, err error) GetAppsByRepo(ctx context.Context, req *AppHelmRepoReq, opts ...http.CallOption) (rsp *AppList, err error) GetDeployedAppResources(ctx context.Context, req *DeployAppReq, opts ...http.CallOption) (rsp *DeployAppResources, err error) List(ctx context.Context, req *AppReq, opts ...http.CallOption) (rsp *AppList, err error) ListAppType(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *AppTypeList, err error) ListDeployedApp(ctx context.Context, req *DeployAppReq, opts ...http.CallOption) (rsp *DeployAppList, err error) ListRepo(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *AppHelmRepoList, err error) Ping(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *Msg, err error) Save(ctx context.Context, req *App, opts ...http.CallOption) (rsp *Msg, err error) SaveRepo(ctx context.Context, req *AppHelmRepo, opts ...http.CallOption) (rsp *Msg, err error) StopApp(ctx context.Context, req *DeployAppReq, opts ...http.CallOption) (rsp *Msg, err error) UploadApp(ctx context.Context, req *FileUploadRequest, opts ...http.CallOption) (rsp *App, err error) }
func NewAppInterfaceHTTPClient ¶
func NewAppInterfaceHTTPClient(client *http.Client) AppInterfaceHTTPClient
type AppInterfaceHTTPClientImpl ¶
type AppInterfaceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AppInterfaceHTTPClientImpl) AppTest ¶
func (c *AppInterfaceHTTPClientImpl) AppTest(ctx context.Context, in *DeployAppReq, opts ...http.CallOption) (*DeployApp, error)
func (*AppInterfaceHTTPClientImpl) CreateAppType ¶
func (c *AppInterfaceHTTPClientImpl) CreateAppType(ctx context.Context, in *AppType, opts ...http.CallOption) (*Msg, error)
func (*AppInterfaceHTTPClientImpl) Delete ¶
func (c *AppInterfaceHTTPClientImpl) Delete(ctx context.Context, in *AppReq, opts ...http.CallOption) (*Msg, error)
func (*AppInterfaceHTTPClientImpl) DeleteAppType ¶
func (c *AppInterfaceHTTPClientImpl) DeleteAppType(ctx context.Context, in *AppTypeReq, opts ...http.CallOption) (*Msg, error)
func (*AppInterfaceHTTPClientImpl) DeleteDeployedApp ¶
func (c *AppInterfaceHTTPClientImpl) DeleteDeployedApp(ctx context.Context, in *DeployAppReq, opts ...http.CallOption) (*Msg, error)
func (*AppInterfaceHTTPClientImpl) DeleteRepo ¶
func (c *AppInterfaceHTTPClientImpl) DeleteRepo(ctx context.Context, in *AppHelmRepoReq, opts ...http.CallOption) (*Msg, error)
func (*AppInterfaceHTTPClientImpl) DeployApp ¶
func (c *AppInterfaceHTTPClientImpl) DeployApp(ctx context.Context, in *DeployAppReq, opts ...http.CallOption) (*DeployApp, error)
func (*AppInterfaceHTTPClientImpl) Get ¶
func (c *AppInterfaceHTTPClientImpl) Get(ctx context.Context, in *AppReq, opts ...http.CallOption) (*App, error)
func (*AppInterfaceHTTPClientImpl) GetAppDeployed ¶
func (c *AppInterfaceHTTPClientImpl) GetAppDeployed(ctx context.Context, in *DeployApp, opts ...http.CallOption) (*DeployApp, error)
func (*AppInterfaceHTTPClientImpl) GetAppDetailByRepo ¶
func (c *AppInterfaceHTTPClientImpl) GetAppDetailByRepo(ctx context.Context, in *AppHelmRepoReq, opts ...http.CallOption) (*App, error)
func (*AppInterfaceHTTPClientImpl) GetAppsByRepo ¶
func (c *AppInterfaceHTTPClientImpl) GetAppsByRepo(ctx context.Context, in *AppHelmRepoReq, opts ...http.CallOption) (*AppList, error)
func (*AppInterfaceHTTPClientImpl) GetDeployedAppResources ¶
func (c *AppInterfaceHTTPClientImpl) GetDeployedAppResources(ctx context.Context, in *DeployAppReq, opts ...http.CallOption) (*DeployAppResources, error)
func (*AppInterfaceHTTPClientImpl) List ¶
func (c *AppInterfaceHTTPClientImpl) List(ctx context.Context, in *AppReq, opts ...http.CallOption) (*AppList, error)
func (*AppInterfaceHTTPClientImpl) ListAppType ¶
func (c *AppInterfaceHTTPClientImpl) ListAppType(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*AppTypeList, error)
func (*AppInterfaceHTTPClientImpl) ListDeployedApp ¶
func (c *AppInterfaceHTTPClientImpl) ListDeployedApp(ctx context.Context, in *DeployAppReq, opts ...http.CallOption) (*DeployAppList, error)
func (*AppInterfaceHTTPClientImpl) ListRepo ¶
func (c *AppInterfaceHTTPClientImpl) ListRepo(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*AppHelmRepoList, error)
func (*AppInterfaceHTTPClientImpl) Ping ¶
func (c *AppInterfaceHTTPClientImpl) Ping(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*Msg, error)
func (*AppInterfaceHTTPClientImpl) Save ¶
func (c *AppInterfaceHTTPClientImpl) Save(ctx context.Context, in *App, opts ...http.CallOption) (*Msg, error)
func (*AppInterfaceHTTPClientImpl) SaveRepo ¶
func (c *AppInterfaceHTTPClientImpl) SaveRepo(ctx context.Context, in *AppHelmRepo, opts ...http.CallOption) (*Msg, error)
func (*AppInterfaceHTTPClientImpl) StopApp ¶
func (c *AppInterfaceHTTPClientImpl) StopApp(ctx context.Context, in *DeployAppReq, opts ...http.CallOption) (*Msg, error)
func (*AppInterfaceHTTPClientImpl) UploadApp ¶
func (c *AppInterfaceHTTPClientImpl) UploadApp(ctx context.Context, in *FileUploadRequest, opts ...http.CallOption) (*App, error)
type AppInterfaceHTTPServer ¶
type AppInterfaceHTTPServer interface { AppTest(context.Context, *DeployAppReq) (*DeployApp, error) CreateAppType(context.Context, *AppType) (*Msg, error) Delete(context.Context, *AppReq) (*Msg, error) DeleteAppType(context.Context, *AppTypeReq) (*Msg, error) DeleteDeployedApp(context.Context, *DeployAppReq) (*Msg, error) DeleteRepo(context.Context, *AppHelmRepoReq) (*Msg, error) DeployApp(context.Context, *DeployAppReq) (*DeployApp, error) Get(context.Context, *AppReq) (*App, error) GetAppDeployed(context.Context, *DeployApp) (*DeployApp, error) GetAppDetailByRepo(context.Context, *AppHelmRepoReq) (*App, error) GetAppsByRepo(context.Context, *AppHelmRepoReq) (*AppList, error) GetDeployedAppResources(context.Context, *DeployAppReq) (*DeployAppResources, error) List(context.Context, *AppReq) (*AppList, error) ListAppType(context.Context, *emptypb.Empty) (*AppTypeList, error) ListDeployedApp(context.Context, *DeployAppReq) (*DeployAppList, error) ListRepo(context.Context, *emptypb.Empty) (*AppHelmRepoList, error) Ping(context.Context, *emptypb.Empty) (*Msg, error) Save(context.Context, *App) (*Msg, error) SaveRepo(context.Context, *AppHelmRepo) (*Msg, error) StopApp(context.Context, *DeployAppReq) (*Msg, error) UploadApp(context.Context, *FileUploadRequest) (*App, error) }
type AppInterfaceServer ¶
type AppInterfaceServer interface { Ping(context.Context, *emptypb.Empty) (*Msg, error) UploadApp(context.Context, *FileUploadRequest) (*App, error) Save(context.Context, *App) (*Msg, error) Get(context.Context, *AppReq) (*App, error) List(context.Context, *AppReq) (*AppList, error) Delete(context.Context, *AppReq) (*Msg, error) CreateAppType(context.Context, *AppType) (*Msg, error) ListAppType(context.Context, *emptypb.Empty) (*AppTypeList, error) DeleteAppType(context.Context, *AppTypeReq) (*Msg, error) AppTest(context.Context, *DeployAppReq) (*DeployApp, error) GetAppDeployed(context.Context, *DeployApp) (*DeployApp, error) DeployApp(context.Context, *DeployAppReq) (*DeployApp, error) ListDeployedApp(context.Context, *DeployAppReq) (*DeployAppList, error) StopApp(context.Context, *DeployAppReq) (*Msg, error) DeleteDeployedApp(context.Context, *DeployAppReq) (*Msg, error) GetDeployedAppResources(context.Context, *DeployAppReq) (*DeployAppResources, error) SaveRepo(context.Context, *AppHelmRepo) (*Msg, error) ListRepo(context.Context, *emptypb.Empty) (*AppHelmRepoList, error) DeleteRepo(context.Context, *AppHelmRepoReq) (*Msg, error) GetAppsByRepo(context.Context, *AppHelmRepoReq) (*AppList, error) GetAppDetailByRepo(context.Context, *AppHelmRepoReq) (*App, error) // contains filtered or unexported methods }
AppInterfaceServer is the server API for AppInterface service. All implementations must embed UnimplementedAppInterfaceServer for forward compatibility
type AppList ¶
type AppList struct { ItemCount int32 `protobuf:"varint,1,opt,name=itemCount,proto3" json:"itemCount,omitempty"` PageCount int32 `protobuf:"varint,2,opt,name=pageCount,proto3" json:"pageCount,omitempty"` Items []*App `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AppList) Descriptor
deprecated
func (*AppList) GetItemCount ¶
func (*AppList) GetPageCount ¶
func (*AppList) ProtoMessage ¶
func (*AppList) ProtoMessage()
func (*AppList) ProtoReflect ¶
func (x *AppList) ProtoReflect() protoreflect.Message
type AppReq ¶
type AppReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,proto3" json:"page_size,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` AppTypeId int64 `protobuf:"varint,6,opt,name=app_type_id,proto3" json:"app_type_id,omitempty"` VersionId int64 `protobuf:"varint,7,opt,name=version_id,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
func (*AppReq) Descriptor
deprecated
func (*AppReq) GetAppTypeId ¶
func (*AppReq) GetPageSize ¶
func (*AppReq) GetVersionId ¶
func (*AppReq) ProtoMessage ¶
func (*AppReq) ProtoMessage()
func (*AppReq) ProtoReflect ¶
func (x *AppReq) ProtoReflect() protoreflect.Message
type AppType ¶
type AppType struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AppType) Descriptor
deprecated
func (*AppType) ProtoMessage ¶
func (*AppType) ProtoMessage()
func (*AppType) ProtoReflect ¶
func (x *AppType) ProtoReflect() protoreflect.Message
type AppTypeList ¶
type AppTypeList struct { Items []*AppType `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AppTypeList) Descriptor
deprecated
func (*AppTypeList) Descriptor() ([]byte, []int)
Deprecated: Use AppTypeList.ProtoReflect.Descriptor instead.
func (*AppTypeList) GetItems ¶
func (x *AppTypeList) GetItems() []*AppType
func (*AppTypeList) ProtoMessage ¶
func (*AppTypeList) ProtoMessage()
func (*AppTypeList) ProtoReflect ¶
func (x *AppTypeList) ProtoReflect() protoreflect.Message
func (*AppTypeList) Reset ¶
func (x *AppTypeList) Reset()
func (*AppTypeList) String ¶
func (x *AppTypeList) String() string
type AppTypeReq ¶
type AppTypeReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AppTypeReq) Descriptor
deprecated
func (*AppTypeReq) Descriptor() ([]byte, []int)
Deprecated: Use AppTypeReq.ProtoReflect.Descriptor instead.
func (*AppTypeReq) GetId ¶
func (x *AppTypeReq) GetId() int64
func (*AppTypeReq) ProtoMessage ¶
func (*AppTypeReq) ProtoMessage()
func (*AppTypeReq) ProtoReflect ¶
func (x *AppTypeReq) ProtoReflect() protoreflect.Message
func (*AppTypeReq) Reset ¶
func (x *AppTypeReq) Reset()
func (*AppTypeReq) String ¶
func (x *AppTypeReq) String() string
type AppVersion ¶
type AppVersion struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` AppId int64 `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` AppName string `protobuf:"bytes,3,opt,name=app_name,proto3" json:"app_name,omitempty"` Chart string `protobuf:"bytes,4,opt,name=chart,proto3" json:"chart,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` Config string `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` Readme string `protobuf:"bytes,8,opt,name=readme,proto3" json:"readme,omitempty"` State string `protobuf:"bytes,9,opt,name=state,proto3" json:"state,omitempty"` TestResult string `protobuf:"bytes,10,opt,name=test_result,proto3" json:"test_result,omitempty"` Metadata *Metadata `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*AppVersion) Descriptor
deprecated
func (*AppVersion) Descriptor() ([]byte, []int)
Deprecated: Use AppVersion.ProtoReflect.Descriptor instead.
func (*AppVersion) GetAppId ¶
func (x *AppVersion) GetAppId() int64
func (*AppVersion) GetAppName ¶
func (x *AppVersion) GetAppName() string
func (*AppVersion) GetChart ¶
func (x *AppVersion) GetChart() string
func (*AppVersion) GetConfig ¶
func (x *AppVersion) GetConfig() string
func (*AppVersion) GetDescription ¶
func (x *AppVersion) GetDescription() string
func (*AppVersion) GetId ¶
func (x *AppVersion) GetId() int64
func (*AppVersion) GetMetadata ¶
func (x *AppVersion) GetMetadata() *Metadata
func (*AppVersion) GetReadme ¶
func (x *AppVersion) GetReadme() string
func (*AppVersion) GetState ¶
func (x *AppVersion) GetState() string
func (*AppVersion) GetTestResult ¶
func (x *AppVersion) GetTestResult() string
func (*AppVersion) GetVersion ¶
func (x *AppVersion) GetVersion() string
func (*AppVersion) ProtoMessage ¶
func (*AppVersion) ProtoMessage()
func (*AppVersion) ProtoReflect ¶
func (x *AppVersion) ProtoReflect() protoreflect.Message
func (*AppVersion) Reset ¶
func (x *AppVersion) Reset()
func (*AppVersion) String ¶
func (x *AppVersion) String() string
type Dependency ¶
type Dependency struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` Condition string `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"` Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"` ImportValues []string `protobuf:"bytes,7,rep,name=import_values,proto3" json:"import_values,omitempty"` Alias string `protobuf:"bytes,8,opt,name=alias,proto3" json:"alias,omitempty"` // contains filtered or unexported fields }
func (*Dependency) Descriptor
deprecated
func (*Dependency) Descriptor() ([]byte, []int)
Deprecated: Use Dependency.ProtoReflect.Descriptor instead.
func (*Dependency) GetAlias ¶
func (x *Dependency) GetAlias() string
func (*Dependency) GetCondition ¶
func (x *Dependency) GetCondition() string
func (*Dependency) GetEnabled ¶
func (x *Dependency) GetEnabled() bool
func (*Dependency) GetImportValues ¶
func (x *Dependency) GetImportValues() []string
func (*Dependency) GetName ¶
func (x *Dependency) GetName() string
func (*Dependency) GetRepository ¶
func (x *Dependency) GetRepository() string
func (*Dependency) GetTags ¶
func (x *Dependency) GetTags() []string
func (*Dependency) GetVersion ¶
func (x *Dependency) GetVersion() string
func (*Dependency) ProtoMessage ¶
func (*Dependency) ProtoMessage()
func (*Dependency) ProtoReflect ¶
func (x *Dependency) ProtoReflect() protoreflect.Message
func (*Dependency) Reset ¶
func (x *Dependency) Reset()
func (*Dependency) String ¶
func (x *Dependency) String() string
type DeployApp ¶
type DeployApp struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ReleaseName string `protobuf:"bytes,2,opt,name=release_name,proto3" json:"release_name,omitempty"` AppId int64 `protobuf:"varint,3,opt,name=app_id,proto3" json:"app_id,omitempty"` VersionId int64 `protobuf:"varint,4,opt,name=version_id,proto3" json:"version_id,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` Chart string `protobuf:"bytes,6,opt,name=chart,proto3" json:"chart,omitempty"` ClusterId int64 `protobuf:"varint,7,opt,name=cluster_id,proto3" json:"cluster_id,omitempty"` ProjectId int64 `protobuf:"varint,8,opt,name=project_id,proto3" json:"project_id,omitempty"` UserId int64 `protobuf:"varint,9,opt,name=user_id,proto3" json:"user_id,omitempty"` Namespace string `protobuf:"bytes,10,opt,name=namespace,proto3" json:"namespace,omitempty"` Config string `protobuf:"bytes,11,opt,name=config,proto3" json:"config,omitempty"` State string `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"` IsTest bool `protobuf:"varint,13,opt,name=is_test,proto3" json:"is_test,omitempty"` Manifest string `protobuf:"bytes,14,opt,name=manifest,proto3" json:"manifest,omitempty"` Notes string `protobuf:"bytes,15,opt,name=notes,proto3" json:"notes,omitempty"` UserName string `protobuf:"bytes,16,opt,name=user_name,proto3" json:"user_name,omitempty"` AppName string `protobuf:"bytes,17,opt,name=app_name,proto3" json:"app_name,omitempty"` Logs string `protobuf:"bytes,18,opt,name=logs,proto3" json:"logs,omitempty"` CreateTime string `protobuf:"bytes,19,opt,name=create_time,proto3" json:"create_time,omitempty"` UpdateTime string `protobuf:"bytes,20,opt,name=update_time,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*DeployApp) Descriptor
deprecated
func (*DeployApp) GetAppName ¶
func (*DeployApp) GetClusterId ¶
func (*DeployApp) GetCreateTime ¶
func (*DeployApp) GetManifest ¶
func (*DeployApp) GetNamespace ¶
func (*DeployApp) GetProjectId ¶
func (*DeployApp) GetReleaseName ¶
func (*DeployApp) GetUpdateTime ¶
func (*DeployApp) GetUserName ¶
func (*DeployApp) GetVersion ¶
func (*DeployApp) GetVersionId ¶
func (*DeployApp) ProtoMessage ¶
func (*DeployApp) ProtoMessage()
func (*DeployApp) ProtoReflect ¶
func (x *DeployApp) ProtoReflect() protoreflect.Message
type DeployAppList ¶
type DeployAppList struct { Items []*DeployApp `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*DeployAppList) Descriptor
deprecated
func (*DeployAppList) Descriptor() ([]byte, []int)
Deprecated: Use DeployAppList.ProtoReflect.Descriptor instead.
func (*DeployAppList) GetCount ¶
func (x *DeployAppList) GetCount() int32
func (*DeployAppList) GetItems ¶
func (x *DeployAppList) GetItems() []*DeployApp
func (*DeployAppList) ProtoMessage ¶
func (*DeployAppList) ProtoMessage()
func (*DeployAppList) ProtoReflect ¶
func (x *DeployAppList) ProtoReflect() protoreflect.Message
func (*DeployAppList) Reset ¶
func (x *DeployAppList) Reset()
func (*DeployAppList) String ¶
func (x *DeployAppList) String() string
type DeployAppReq ¶
type DeployAppReq struct { AppId int64 `protobuf:"varint,1,opt,name=app_id,proto3" json:"app_id,omitempty"` VersionId int64 `protobuf:"varint,2,opt,name=version_id,proto3" json:"version_id,omitempty"` ClusterId int64 `protobuf:"varint,3,opt,name=cluster_id,proto3" json:"cluster_id,omitempty"` ProjectId int64 `protobuf:"varint,4,opt,name=project_id,proto3" json:"project_id,omitempty"` Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` ReleaseName string `protobuf:"bytes,6,opt,name=release_name,proto3" json:"release_name,omitempty"` Namespace string `protobuf:"bytes,7,opt,name=namespace,proto3" json:"namespace,omitempty"` Page int32 `protobuf:"varint,8,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,9,opt,name=page_size,proto3" json:"page_size,omitempty"` AppName string `protobuf:"bytes,10,opt,name=app_name,proto3" json:"app_name,omitempty"` Version string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"` AppTypeId int64 `protobuf:"varint,12,opt,name=app_type_id,proto3" json:"app_type_id,omitempty"` RepoId int64 `protobuf:"varint,13,opt,name=repo_id,proto3" json:"repo_id,omitempty"` Config string `protobuf:"bytes,14,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*DeployAppReq) Descriptor
deprecated
func (*DeployAppReq) Descriptor() ([]byte, []int)
Deprecated: Use DeployAppReq.ProtoReflect.Descriptor instead.
func (*DeployAppReq) GetAppId ¶
func (x *DeployAppReq) GetAppId() int64
func (*DeployAppReq) GetAppName ¶
func (x *DeployAppReq) GetAppName() string
func (*DeployAppReq) GetAppTypeId ¶
func (x *DeployAppReq) GetAppTypeId() int64
func (*DeployAppReq) GetClusterId ¶
func (x *DeployAppReq) GetClusterId() int64
func (*DeployAppReq) GetConfig ¶
func (x *DeployAppReq) GetConfig() string
func (*DeployAppReq) GetId ¶
func (x *DeployAppReq) GetId() int64
func (*DeployAppReq) GetNamespace ¶
func (x *DeployAppReq) GetNamespace() string
func (*DeployAppReq) GetPage ¶
func (x *DeployAppReq) GetPage() int32
func (*DeployAppReq) GetPageSize ¶
func (x *DeployAppReq) GetPageSize() int32
func (*DeployAppReq) GetProjectId ¶
func (x *DeployAppReq) GetProjectId() int64
func (*DeployAppReq) GetReleaseName ¶
func (x *DeployAppReq) GetReleaseName() string
func (*DeployAppReq) GetRepoId ¶
func (x *DeployAppReq) GetRepoId() int64
func (*DeployAppReq) GetVersion ¶
func (x *DeployAppReq) GetVersion() string
func (*DeployAppReq) GetVersionId ¶
func (x *DeployAppReq) GetVersionId() int64
func (*DeployAppReq) ProtoMessage ¶
func (*DeployAppReq) ProtoMessage()
func (*DeployAppReq) ProtoReflect ¶
func (x *DeployAppReq) ProtoReflect() protoreflect.Message
func (*DeployAppReq) Reset ¶
func (x *DeployAppReq) Reset()
func (*DeployAppReq) String ¶
func (x *DeployAppReq) String() string
type DeployAppResources ¶
type DeployAppResources struct { Items []*AppDeployedResource `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*DeployAppResources) Descriptor
deprecated
func (*DeployAppResources) Descriptor() ([]byte, []int)
Deprecated: Use DeployAppResources.ProtoReflect.Descriptor instead.
func (*DeployAppResources) GetItems ¶
func (x *DeployAppResources) GetItems() []*AppDeployedResource
func (*DeployAppResources) ProtoMessage ¶
func (*DeployAppResources) ProtoMessage()
func (*DeployAppResources) ProtoReflect ¶
func (x *DeployAppResources) ProtoReflect() protoreflect.Message
func (*DeployAppResources) Reset ¶
func (x *DeployAppResources) Reset()
func (*DeployAppResources) String ¶
func (x *DeployAppResources) String() string
type ErrorReason ¶
type ErrorReason int32
const ( ErrorReason_SUCCEED ErrorReason = 0 ErrorReason_FAILED ErrorReason = 1 )
func (ErrorReason) Descriptor ¶
func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorReason) Enum ¶
func (x ErrorReason) Enum() *ErrorReason
func (ErrorReason) EnumDescriptor
deprecated
func (ErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) Number ¶
func (x ErrorReason) Number() protoreflect.EnumNumber
func (ErrorReason) String ¶
func (x ErrorReason) String() string
func (ErrorReason) Type ¶
func (ErrorReason) Type() protoreflect.EnumType
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 FileUploadResponse ¶
type FileUploadResponse struct { FileName string `protobuf:"bytes,1,opt,name=file_name,proto3" json:"file_name,omitempty"` // contains filtered or unexported fields }
func (*FileUploadResponse) Descriptor
deprecated
func (*FileUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileUploadResponse.ProtoReflect.Descriptor instead.
func (*FileUploadResponse) GetFileName ¶
func (x *FileUploadResponse) GetFileName() string
func (*FileUploadResponse) ProtoMessage ¶
func (*FileUploadResponse) ProtoMessage()
func (*FileUploadResponse) ProtoReflect ¶
func (x *FileUploadResponse) ProtoReflect() protoreflect.Message
func (*FileUploadResponse) Reset ¶
func (x *FileUploadResponse) Reset()
func (*FileUploadResponse) String ¶
func (x *FileUploadResponse) String() string
type Maintainer ¶
type Maintainer struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*Maintainer) Descriptor
deprecated
func (*Maintainer) Descriptor() ([]byte, []int)
Deprecated: Use Maintainer.ProtoReflect.Descriptor instead.
func (*Maintainer) GetEmail ¶
func (x *Maintainer) GetEmail() string
func (*Maintainer) GetName ¶
func (x *Maintainer) GetName() string
func (*Maintainer) GetUrl ¶
func (x *Maintainer) GetUrl() string
func (*Maintainer) ProtoMessage ¶
func (*Maintainer) ProtoMessage()
func (*Maintainer) ProtoReflect ¶
func (x *Maintainer) ProtoReflect() protoreflect.Message
func (*Maintainer) Reset ¶
func (x *Maintainer) Reset()
func (*Maintainer) String ¶
func (x *Maintainer) String() string
type Metadata ¶
type Metadata struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Home string `protobuf:"bytes,2,opt,name=home,proto3" json:"home,omitempty"` Sources []string `protobuf:"bytes,3,rep,name=sources,proto3" json:"sources,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Keywords []string `protobuf:"bytes,6,rep,name=keywords,proto3" json:"keywords,omitempty"` Maintainers []*Maintainer `protobuf:"bytes,7,rep,name=maintainers,proto3" json:"maintainers,omitempty"` Icon string `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"` ApiVersion string `protobuf:"bytes,9,opt,name=api_version,proto3" json:"api_version,omitempty"` Condition string `protobuf:"bytes,10,opt,name=condition,proto3" json:"condition,omitempty"` Tags string `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"` AppVersion string `protobuf:"bytes,12,opt,name=app_version,proto3" json:"app_version,omitempty"` Deprecated bool `protobuf:"varint,13,opt,name=deprecated,proto3" json:"deprecated,omitempty"` Annotations map[string]string `` /* 164-byte string literal not displayed */ KubeVersion string `protobuf:"bytes,15,opt,name=kube_version,proto3" json:"kube_version,omitempty"` Dependencies []*Dependency `protobuf:"bytes,16,rep,name=dependencies,proto3" json:"dependencies,omitempty"` Type string `protobuf:"bytes,17,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetAnnotations ¶
func (*Metadata) GetApiVersion ¶
func (*Metadata) GetAppVersion ¶
func (*Metadata) GetCondition ¶
func (*Metadata) GetDependencies ¶
func (x *Metadata) GetDependencies() []*Dependency
func (*Metadata) GetDeprecated ¶
func (*Metadata) GetDescription ¶
func (*Metadata) GetKeywords ¶
func (*Metadata) GetKubeVersion ¶
func (*Metadata) GetMaintainers ¶
func (x *Metadata) GetMaintainers() []*Maintainer
func (*Metadata) GetSources ¶
func (*Metadata) GetVersion ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Msg ¶
type Msg struct { Reason ErrorReason `protobuf:"varint,1,opt,name=Reason,proto3,enum=app.v1alpha1.ErrorReason" json:"Reason,omitempty"` Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*Msg) Descriptor
deprecated
func (*Msg) GetMessage ¶
func (*Msg) GetReason ¶
func (x *Msg) GetReason() ErrorReason
func (*Msg) ProtoMessage ¶
func (*Msg) ProtoMessage()
func (*Msg) ProtoReflect ¶
func (x *Msg) ProtoReflect() protoreflect.Message
type UnimplementedAppInterfaceServer ¶
type UnimplementedAppInterfaceServer struct { }
UnimplementedAppInterfaceServer must be embedded to have forward compatible implementations.
func (UnimplementedAppInterfaceServer) AppTest ¶
func (UnimplementedAppInterfaceServer) AppTest(context.Context, *DeployAppReq) (*DeployApp, error)
func (UnimplementedAppInterfaceServer) CreateAppType ¶
func (UnimplementedAppInterfaceServer) DeleteAppType ¶
func (UnimplementedAppInterfaceServer) DeleteAppType(context.Context, *AppTypeReq) (*Msg, error)
func (UnimplementedAppInterfaceServer) DeleteDeployedApp ¶
func (UnimplementedAppInterfaceServer) DeleteDeployedApp(context.Context, *DeployAppReq) (*Msg, error)
func (UnimplementedAppInterfaceServer) DeleteRepo ¶
func (UnimplementedAppInterfaceServer) DeleteRepo(context.Context, *AppHelmRepoReq) (*Msg, error)
func (UnimplementedAppInterfaceServer) DeployApp ¶
func (UnimplementedAppInterfaceServer) DeployApp(context.Context, *DeployAppReq) (*DeployApp, error)
func (UnimplementedAppInterfaceServer) GetAppDeployed ¶
func (UnimplementedAppInterfaceServer) GetAppDetailByRepo ¶
func (UnimplementedAppInterfaceServer) GetAppDetailByRepo(context.Context, *AppHelmRepoReq) (*App, error)
func (UnimplementedAppInterfaceServer) GetAppsByRepo ¶
func (UnimplementedAppInterfaceServer) GetAppsByRepo(context.Context, *AppHelmRepoReq) (*AppList, error)
func (UnimplementedAppInterfaceServer) GetDeployedAppResources ¶
func (UnimplementedAppInterfaceServer) GetDeployedAppResources(context.Context, *DeployAppReq) (*DeployAppResources, error)
func (UnimplementedAppInterfaceServer) ListAppType ¶
func (UnimplementedAppInterfaceServer) ListAppType(context.Context, *emptypb.Empty) (*AppTypeList, error)
func (UnimplementedAppInterfaceServer) ListDeployedApp ¶
func (UnimplementedAppInterfaceServer) ListDeployedApp(context.Context, *DeployAppReq) (*DeployAppList, error)
func (UnimplementedAppInterfaceServer) ListRepo ¶
func (UnimplementedAppInterfaceServer) ListRepo(context.Context, *emptypb.Empty) (*AppHelmRepoList, error)
func (UnimplementedAppInterfaceServer) SaveRepo ¶
func (UnimplementedAppInterfaceServer) SaveRepo(context.Context, *AppHelmRepo) (*Msg, error)
func (UnimplementedAppInterfaceServer) StopApp ¶
func (UnimplementedAppInterfaceServer) StopApp(context.Context, *DeployAppReq) (*Msg, error)
func (UnimplementedAppInterfaceServer) UploadApp ¶
func (UnimplementedAppInterfaceServer) UploadApp(context.Context, *FileUploadRequest) (*App, 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.