v1alpha1

package
v0.0.0-...-cccdc27 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const OperationAppInterfaceAppTest = "/app.v1alpha1.AppInterface/AppTest"
View Source
const OperationAppInterfaceCreateAppType = "/app.v1alpha1.AppInterface/CreateAppType"
View Source
const OperationAppInterfaceDelete = "/app.v1alpha1.AppInterface/Delete"
View Source
const OperationAppInterfaceDeleteAppType = "/app.v1alpha1.AppInterface/DeleteAppType"
View Source
const OperationAppInterfaceDeleteDeployedApp = "/app.v1alpha1.AppInterface/DeleteDeployedApp"
View Source
const OperationAppInterfaceDeleteRepo = "/app.v1alpha1.AppInterface/DeleteRepo"
View Source
const OperationAppInterfaceDeployApp = "/app.v1alpha1.AppInterface/DeployApp"
View Source
const OperationAppInterfaceGet = "/app.v1alpha1.AppInterface/Get"
View Source
const OperationAppInterfaceGetAppDeployed = "/app.v1alpha1.AppInterface/GetAppDeployed"
View Source
const OperationAppInterfaceGetAppDetailByRepo = "/app.v1alpha1.AppInterface/GetAppDetailByRepo"
View Source
const OperationAppInterfaceGetAppsByRepo = "/app.v1alpha1.AppInterface/GetAppsByRepo"
View Source
const OperationAppInterfaceGetDeployedAppResources = "/app.v1alpha1.AppInterface/GetDeployedAppResources"
View Source
const OperationAppInterfaceList = "/app.v1alpha1.AppInterface/List"
View Source
const OperationAppInterfaceListAppType = "/app.v1alpha1.AppInterface/ListAppType"
View Source
const OperationAppInterfaceListDeployedApp = "/app.v1alpha1.AppInterface/ListDeployedApp"
View Source
const OperationAppInterfaceListRepo = "/app.v1alpha1.AppInterface/ListRepo"
View Source
const OperationAppInterfacePing = "/app.v1alpha1.AppInterface/Ping"
View Source
const OperationAppInterfaceSave = "/app.v1alpha1.AppInterface/Save"
View Source
const OperationAppInterfaceSaveRepo = "/app.v1alpha1.AppInterface/SaveRepo"
View Source
const OperationAppInterfaceStopApp = "/app.v1alpha1.AppInterface/StopApp"
View Source
const OperationAppInterfaceUploadApp = "/app.v1alpha1.AppInterface/UploadApp"

Variables

View Source
var (
	ErrorReason_name = map[int32]string{
		0: "SUCCEED",
		1: "FAILED",
	}
	ErrorReason_value = map[string]int32{
		"SUCCEED": 0,
		"FAILED":  1,
	}
)

Enum value maps for ErrorReason.

View Source
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)

View Source
var File_api_app_v1alpha1_app_proto protoreflect.FileDescriptor
View Source
var File_api_app_v1alpha1_error_reason_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use App.ProtoReflect.Descriptor instead.

func (*App) GetAppTypeId

func (x *App) GetAppTypeId() int64

func (*App) GetAppTypeName

func (x *App) GetAppTypeName() string

func (*App) GetIcon

func (x *App) GetIcon() string

func (*App) GetId

func (x *App) GetId() int64

func (*App) GetName

func (x *App) GetName() string

func (*App) GetUpdateTime

func (x *App) GetUpdateTime() string

func (*App) GetVersions

func (x *App) GetVersions() []*AppVersion

func (*App) ProtoMessage

func (*App) ProtoMessage()

func (*App) ProtoReflect

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

func (*App) Reset

func (x *App) Reset()

func (*App) String

func (x *App) String() string

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.

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 (*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 (*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 (*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 (*AppInterfaceHTTPClientImpl) Ping

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

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) Descriptor() ([]byte, []int)

Deprecated: Use AppList.ProtoReflect.Descriptor instead.

func (*AppList) GetItemCount

func (x *AppList) GetItemCount() int32

func (*AppList) GetItems

func (x *AppList) GetItems() []*App

func (*AppList) GetPageCount

func (x *AppList) GetPageCount() int32

func (*AppList) ProtoMessage

func (*AppList) ProtoMessage()

func (*AppList) ProtoReflect

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

func (*AppList) Reset

func (x *AppList) Reset()

func (*AppList) String

func (x *AppList) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use AppReq.ProtoReflect.Descriptor instead.

func (*AppReq) GetAppTypeId

func (x *AppReq) GetAppTypeId() int64

func (*AppReq) GetId

func (x *AppReq) GetId() int64

func (*AppReq) GetName

func (x *AppReq) GetName() string

func (*AppReq) GetPage

func (x *AppReq) GetPage() int32

func (*AppReq) GetPageSize

func (x *AppReq) GetPageSize() int32

func (*AppReq) GetState

func (x *AppReq) GetState() string

func (*AppReq) GetVersionId

func (x *AppReq) GetVersionId() int64

func (*AppReq) ProtoMessage

func (*AppReq) ProtoMessage()

func (*AppReq) ProtoReflect

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

func (*AppReq) Reset

func (x *AppReq) Reset()

func (*AppReq) String

func (x *AppReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use AppType.ProtoReflect.Descriptor instead.

func (*AppType) GetId

func (x *AppType) GetId() int64

func (*AppType) GetName

func (x *AppType) GetName() string

func (*AppType) ProtoMessage

func (*AppType) ProtoMessage()

func (*AppType) ProtoReflect

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

func (*AppType) Reset

func (x *AppType) Reset()

func (*AppType) String

func (x *AppType) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use DeployApp.ProtoReflect.Descriptor instead.

func (*DeployApp) GetAppId

func (x *DeployApp) GetAppId() int64

func (*DeployApp) GetAppName

func (x *DeployApp) GetAppName() string

func (*DeployApp) GetChart

func (x *DeployApp) GetChart() string

func (*DeployApp) GetClusterId

func (x *DeployApp) GetClusterId() int64

func (*DeployApp) GetConfig

func (x *DeployApp) GetConfig() string

func (*DeployApp) GetCreateTime

func (x *DeployApp) GetCreateTime() string

func (*DeployApp) GetId

func (x *DeployApp) GetId() int64

func (*DeployApp) GetIsTest

func (x *DeployApp) GetIsTest() bool

func (*DeployApp) GetLogs

func (x *DeployApp) GetLogs() string

func (*DeployApp) GetManifest

func (x *DeployApp) GetManifest() string

func (*DeployApp) GetNamespace

func (x *DeployApp) GetNamespace() string

func (*DeployApp) GetNotes

func (x *DeployApp) GetNotes() string

func (*DeployApp) GetProjectId

func (x *DeployApp) GetProjectId() int64

func (*DeployApp) GetReleaseName

func (x *DeployApp) GetReleaseName() string

func (*DeployApp) GetState

func (x *DeployApp) GetState() string

func (*DeployApp) GetUpdateTime

func (x *DeployApp) GetUpdateTime() string

func (*DeployApp) GetUserId

func (x *DeployApp) GetUserId() int64

func (*DeployApp) GetUserName

func (x *DeployApp) GetUserName() string

func (*DeployApp) GetVersion

func (x *DeployApp) GetVersion() string

func (*DeployApp) GetVersionId

func (x *DeployApp) GetVersionId() int64

func (*DeployApp) ProtoMessage

func (*DeployApp) ProtoMessage()

func (*DeployApp) ProtoReflect

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

func (*DeployApp) Reset

func (x *DeployApp) Reset()

func (*DeployApp) String

func (x *DeployApp) String() string

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAnnotations

func (x *Metadata) GetAnnotations() map[string]string

func (*Metadata) GetApiVersion

func (x *Metadata) GetApiVersion() string

func (*Metadata) GetAppVersion

func (x *Metadata) GetAppVersion() string

func (*Metadata) GetCondition

func (x *Metadata) GetCondition() string

func (*Metadata) GetDependencies

func (x *Metadata) GetDependencies() []*Dependency

func (*Metadata) GetDeprecated

func (x *Metadata) GetDeprecated() bool

func (*Metadata) GetDescription

func (x *Metadata) GetDescription() string

func (*Metadata) GetHome

func (x *Metadata) GetHome() string

func (*Metadata) GetIcon

func (x *Metadata) GetIcon() string

func (*Metadata) GetKeywords

func (x *Metadata) GetKeywords() []string

func (*Metadata) GetKubeVersion

func (x *Metadata) GetKubeVersion() string

func (*Metadata) GetMaintainers

func (x *Metadata) GetMaintainers() []*Maintainer

func (*Metadata) GetName

func (x *Metadata) GetName() string

func (*Metadata) GetSources

func (x *Metadata) GetSources() []string

func (*Metadata) GetTags

func (x *Metadata) GetTags() string

func (*Metadata) GetType

func (x *Metadata) GetType() string

func (*Metadata) GetVersion

func (x *Metadata) GetVersion() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

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 Response

func Response(failMsg ...string) *Msg

func (*Msg) Descriptor deprecated

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

Deprecated: Use Msg.ProtoReflect.Descriptor instead.

func (*Msg) GetMessage

func (x *Msg) GetMessage() string

func (*Msg) GetReason

func (x *Msg) GetReason() ErrorReason

func (*Msg) ProtoMessage

func (*Msg) ProtoMessage()

func (*Msg) ProtoReflect

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

func (*Msg) Reset

func (x *Msg) Reset()

func (*Msg) String

func (x *Msg) String() string

type UnimplementedAppInterfaceServer

type UnimplementedAppInterfaceServer struct {
}

UnimplementedAppInterfaceServer must be embedded to have forward compatible implementations.

func (UnimplementedAppInterfaceServer) AppTest

func (UnimplementedAppInterfaceServer) CreateAppType

func (UnimplementedAppInterfaceServer) Delete

func (UnimplementedAppInterfaceServer) DeleteAppType

func (UnimplementedAppInterfaceServer) DeleteDeployedApp

func (UnimplementedAppInterfaceServer) DeleteRepo

func (UnimplementedAppInterfaceServer) DeployApp

func (UnimplementedAppInterfaceServer) Get

func (UnimplementedAppInterfaceServer) GetAppDeployed

func (UnimplementedAppInterfaceServer) GetAppDetailByRepo

func (UnimplementedAppInterfaceServer) GetAppsByRepo

func (UnimplementedAppInterfaceServer) GetDeployedAppResources

func (UnimplementedAppInterfaceServer) List

func (UnimplementedAppInterfaceServer) ListAppType

func (UnimplementedAppInterfaceServer) ListDeployedApp

func (UnimplementedAppInterfaceServer) ListRepo

func (UnimplementedAppInterfaceServer) Ping

func (UnimplementedAppInterfaceServer) Save

func (UnimplementedAppInterfaceServer) SaveRepo

func (UnimplementedAppInterfaceServer) StopApp

func (UnimplementedAppInterfaceServer) UploadApp

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.

Jump to

Keyboard shortcuts

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