v1

package
v0.6.310 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_metaprov_modelaapi_services_modelasystem_v1_modelasystem_proto protoreflect.FileDescriptor
View Source
var ModelaSystemService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.metaprov.modelaapi.services.modelasystem.v1.ModelaSystemService",
	HandlerType: (*ModelaSystemServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DownloadLogfile",
			Handler:    _ModelaSystemService_DownloadLogfile_Handler,
		},
		{
			MethodName: "BackupDatabase",
			Handler:    _ModelaSystemService_BackupDatabase_Handler,
		},
		{
			MethodName: "BackupEtcd",
			Handler:    _ModelaSystemService_BackupEtcd_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/metaprov/modelaapi/services/modelasystem/v1/modelasystem.proto",
}

ModelaSystemService_ServiceDesc is the grpc.ServiceDesc for ModelaSystemService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterModelaSystemServiceServer

func RegisterModelaSystemServiceServer(s grpc.ServiceRegistrar, srv ModelaSystemServiceServer)

Types

type BackupDatabaseRequest

type BackupDatabaseRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Bucket    string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Path      string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

Backup database

func (*BackupDatabaseRequest) Descriptor deprecated

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

Deprecated: Use BackupDatabaseRequest.ProtoReflect.Descriptor instead.

func (*BackupDatabaseRequest) GetBucket

func (x *BackupDatabaseRequest) GetBucket() string

func (*BackupDatabaseRequest) GetNamespace

func (x *BackupDatabaseRequest) GetNamespace() string

func (*BackupDatabaseRequest) GetPath

func (x *BackupDatabaseRequest) GetPath() string

func (*BackupDatabaseRequest) ProtoMessage

func (*BackupDatabaseRequest) ProtoMessage()

func (*BackupDatabaseRequest) ProtoReflect

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

func (*BackupDatabaseRequest) Reset

func (x *BackupDatabaseRequest) Reset()

func (*BackupDatabaseRequest) String

func (x *BackupDatabaseRequest) String() string

type BackupDatabaseResponse

type BackupDatabaseResponse struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupDatabaseResponse) Descriptor deprecated

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

Deprecated: Use BackupDatabaseResponse.ProtoReflect.Descriptor instead.

func (*BackupDatabaseResponse) GetPath

func (x *BackupDatabaseResponse) GetPath() string

func (*BackupDatabaseResponse) ProtoMessage

func (*BackupDatabaseResponse) ProtoMessage()

func (*BackupDatabaseResponse) ProtoReflect

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

func (*BackupDatabaseResponse) Reset

func (x *BackupDatabaseResponse) Reset()

func (*BackupDatabaseResponse) String

func (x *BackupDatabaseResponse) String() string

type BackupEtcdRequest

type BackupEtcdRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Bucket    string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Path      string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

Backup etcd

func (*BackupEtcdRequest) Descriptor deprecated

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

Deprecated: Use BackupEtcdRequest.ProtoReflect.Descriptor instead.

func (*BackupEtcdRequest) GetBucket

func (x *BackupEtcdRequest) GetBucket() string

func (*BackupEtcdRequest) GetNamespace

func (x *BackupEtcdRequest) GetNamespace() string

func (*BackupEtcdRequest) GetPath

func (x *BackupEtcdRequest) GetPath() string

func (*BackupEtcdRequest) ProtoMessage

func (*BackupEtcdRequest) ProtoMessage()

func (*BackupEtcdRequest) ProtoReflect

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

func (*BackupEtcdRequest) Reset

func (x *BackupEtcdRequest) Reset()

func (*BackupEtcdRequest) String

func (x *BackupEtcdRequest) String() string

type BackupEtcdResponse

type BackupEtcdResponse struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupEtcdResponse) Descriptor deprecated

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

Deprecated: Use BackupEtcdResponse.ProtoReflect.Descriptor instead.

func (*BackupEtcdResponse) GetPath

func (x *BackupEtcdResponse) GetPath() string

func (*BackupEtcdResponse) ProtoMessage

func (*BackupEtcdResponse) ProtoMessage()

func (*BackupEtcdResponse) ProtoReflect

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

func (*BackupEtcdResponse) Reset

func (x *BackupEtcdResponse) Reset()

func (*BackupEtcdResponse) String

func (x *BackupEtcdResponse) String() string

type DownloadLogFileRequest

type DownloadLogFileRequest struct {
	Tenant    string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Bucket    string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Path      string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadLogFileRequest) Descriptor deprecated

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

Deprecated: Use DownloadLogFileRequest.ProtoReflect.Descriptor instead.

func (*DownloadLogFileRequest) GetBucket

func (x *DownloadLogFileRequest) GetBucket() string

func (*DownloadLogFileRequest) GetNamespace

func (x *DownloadLogFileRequest) GetNamespace() string

func (*DownloadLogFileRequest) GetPath

func (x *DownloadLogFileRequest) GetPath() string

func (*DownloadLogFileRequest) GetTenant added in v0.5.567

func (x *DownloadLogFileRequest) GetTenant() string

func (*DownloadLogFileRequest) ProtoMessage

func (*DownloadLogFileRequest) ProtoMessage()

func (*DownloadLogFileRequest) ProtoReflect

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

func (*DownloadLogFileRequest) Reset

func (x *DownloadLogFileRequest) Reset()

func (*DownloadLogFileRequest) String

func (x *DownloadLogFileRequest) String() string

type DownloadLogFileResponse

type DownloadLogFileResponse struct {
	Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadLogFileResponse) Descriptor deprecated

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

Deprecated: Use DownloadLogFileResponse.ProtoReflect.Descriptor instead.

func (*DownloadLogFileResponse) GetResult

func (x *DownloadLogFileResponse) GetResult() []byte

func (*DownloadLogFileResponse) ProtoMessage

func (*DownloadLogFileResponse) ProtoMessage()

func (*DownloadLogFileResponse) ProtoReflect

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

func (*DownloadLogFileResponse) Reset

func (x *DownloadLogFileResponse) Reset()

func (*DownloadLogFileResponse) String

func (x *DownloadLogFileResponse) String() string

type ModelaSystemServiceClient

type ModelaSystemServiceClient interface {
	DownloadLogfile(ctx context.Context, in *DownloadLogFileRequest, opts ...grpc.CallOption) (*DownloadLogFileResponse, error)
	BackupDatabase(ctx context.Context, in *BackupDatabaseRequest, opts ...grpc.CallOption) (*BackupDatabaseResponse, error)
	BackupEtcd(ctx context.Context, in *BackupEtcdRequest, opts ...grpc.CallOption) (*BackupEtcdResponse, error)
}

ModelaSystemServiceClient is the client API for ModelaSystemService 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 ModelaSystemServiceServer

type ModelaSystemServiceServer interface {
	DownloadLogfile(context.Context, *DownloadLogFileRequest) (*DownloadLogFileResponse, error)
	BackupDatabase(context.Context, *BackupDatabaseRequest) (*BackupDatabaseResponse, error)
	BackupEtcd(context.Context, *BackupEtcdRequest) (*BackupEtcdResponse, error)
	// contains filtered or unexported methods
}

ModelaSystemServiceServer is the server API for ModelaSystemService service. All implementations must embed UnimplementedModelaSystemServiceServer for forward compatibility

type UnimplementedModelaSystemServiceServer

type UnimplementedModelaSystemServiceServer struct {
}

UnimplementedModelaSystemServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedModelaSystemServiceServer) BackupDatabase

func (UnimplementedModelaSystemServiceServer) BackupEtcd

func (UnimplementedModelaSystemServiceServer) DownloadLogfile

type UnsafeModelaSystemServiceServer added in v0.4.687

type UnsafeModelaSystemServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeModelaSystemServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModelaSystemServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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