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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DataAppService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.metaprov.modelaapi.services.dataapp.v1.DataAppService",
	HandlerType: (*DataAppServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListDataApps",
			Handler:    _DataAppService_ListDataApps_Handler,
		},
		{
			MethodName: "CreateDataApp",
			Handler:    _DataAppService_CreateDataApp_Handler,
		},
		{
			MethodName: "GetDataApp",
			Handler:    _DataAppService_GetDataApp_Handler,
		},
		{
			MethodName: "UpdateDataApp",
			Handler:    _DataAppService_UpdateDataApp_Handler,
		},
		{
			MethodName: "DeleteDataApp",
			Handler:    _DataAppService_DeleteDataApp_Handler,
		},
		{
			MethodName: "PauseDataApp",
			Handler:    _DataAppService_PauseDataApp_Handler,
		},
		{
			MethodName: "RunDataApp",
			Handler:    _DataAppService_RunDataApp_Handler,
		},
		{
			MethodName: "ResumeDataApp",
			Handler:    _DataAppService_ResumeDataApp_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/metaprov/modelaapi/services/dataapp/v1/dataapp.proto",
}

DataAppService_ServiceDesc is the grpc.ServiceDesc for DataAppService 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_github_com_metaprov_modelaapi_services_dataapp_v1_dataapp_proto protoreflect.FileDescriptor

Functions

func RegisterDataAppServiceServer

func RegisterDataAppServiceServer(s grpc.ServiceRegistrar, srv DataAppServiceServer)

Types

type CreateDataAppRequest

type CreateDataAppRequest struct {
	Dataapp *v1alpha1.DataApp `protobuf:"bytes,1,opt,name=dataapp,proto3" json:"dataapp,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDataAppRequest) Descriptor deprecated

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

Deprecated: Use CreateDataAppRequest.ProtoReflect.Descriptor instead.

func (*CreateDataAppRequest) GetDataapp added in v0.4.472

func (x *CreateDataAppRequest) GetDataapp() *v1alpha1.DataApp

func (*CreateDataAppRequest) ProtoMessage

func (*CreateDataAppRequest) ProtoMessage()

func (*CreateDataAppRequest) ProtoReflect

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

func (*CreateDataAppRequest) Reset

func (x *CreateDataAppRequest) Reset()

func (*CreateDataAppRequest) String

func (x *CreateDataAppRequest) String() string

type CreateDataAppResponse

type CreateDataAppResponse struct {
	// contains filtered or unexported fields
}

func (*CreateDataAppResponse) Descriptor deprecated

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

Deprecated: Use CreateDataAppResponse.ProtoReflect.Descriptor instead.

func (*CreateDataAppResponse) ProtoMessage

func (*CreateDataAppResponse) ProtoMessage()

func (*CreateDataAppResponse) ProtoReflect

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

func (*CreateDataAppResponse) Reset

func (x *CreateDataAppResponse) Reset()

func (*CreateDataAppResponse) String

func (x *CreateDataAppResponse) String() string

type DataAppServiceClient

type DataAppServiceClient interface {
	ListDataApps(ctx context.Context, in *ListDataAppsRequest, opts ...grpc.CallOption) (*ListDataAppsResponse, error)
	CreateDataApp(ctx context.Context, in *CreateDataAppRequest, opts ...grpc.CallOption) (*CreateDataAppResponse, error)
	GetDataApp(ctx context.Context, in *GetDataAppRequest, opts ...grpc.CallOption) (*GetDataAppResponse, error)
	UpdateDataApp(ctx context.Context, in *UpdateDataAppRequest, opts ...grpc.CallOption) (*UpdateDataAppResponse, error)
	DeleteDataApp(ctx context.Context, in *DeleteDataAppRequest, opts ...grpc.CallOption) (*DeleteDataAppResponse, error)
	PauseDataApp(ctx context.Context, in *PauseDataAppRequest, opts ...grpc.CallOption) (*PauseDataAppResponse, error)
	RunDataApp(ctx context.Context, in *RunDataAppRequest, opts ...grpc.CallOption) (*RunDataAppResponse, error)
	ResumeDataApp(ctx context.Context, in *ResumeDataAppRequest, opts ...grpc.CallOption) (*ResumeDataAppResponse, error)
}

DataAppServiceClient is the client API for DataAppService 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 DataAppServiceServer

DataAppServiceServer is the server API for DataAppService service. All implementations must embed UnimplementedDataAppServiceServer for forward compatibility

type DeleteDataAppRequest

type DeleteDataAppRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDataAppRequest) Descriptor deprecated

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

Deprecated: Use DeleteDataAppRequest.ProtoReflect.Descriptor instead.

func (*DeleteDataAppRequest) GetName

func (x *DeleteDataAppRequest) GetName() string

func (*DeleteDataAppRequest) GetNamespace

func (x *DeleteDataAppRequest) GetNamespace() string

func (*DeleteDataAppRequest) ProtoMessage

func (*DeleteDataAppRequest) ProtoMessage()

func (*DeleteDataAppRequest) ProtoReflect

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

func (*DeleteDataAppRequest) Reset

func (x *DeleteDataAppRequest) Reset()

func (*DeleteDataAppRequest) String

func (x *DeleteDataAppRequest) String() string

type DeleteDataAppResponse

type DeleteDataAppResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteDataAppResponse) Descriptor deprecated

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

Deprecated: Use DeleteDataAppResponse.ProtoReflect.Descriptor instead.

func (*DeleteDataAppResponse) ProtoMessage

func (*DeleteDataAppResponse) ProtoMessage()

func (*DeleteDataAppResponse) ProtoReflect

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

func (*DeleteDataAppResponse) Reset

func (x *DeleteDataAppResponse) Reset()

func (*DeleteDataAppResponse) String

func (x *DeleteDataAppResponse) String() string

type GetDataAppRequest

type GetDataAppRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDataAppRequest) Descriptor deprecated

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

Deprecated: Use GetDataAppRequest.ProtoReflect.Descriptor instead.

func (*GetDataAppRequest) GetName

func (x *GetDataAppRequest) GetName() string

func (*GetDataAppRequest) GetNamespace

func (x *GetDataAppRequest) GetNamespace() string

func (*GetDataAppRequest) ProtoMessage

func (*GetDataAppRequest) ProtoMessage()

func (*GetDataAppRequest) ProtoReflect

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

func (*GetDataAppRequest) Reset

func (x *GetDataAppRequest) Reset()

func (*GetDataAppRequest) String

func (x *GetDataAppRequest) String() string

type GetDataAppResponse

type GetDataAppResponse struct {
	Dataapp *v1alpha1.DataApp `protobuf:"bytes,1,opt,name=dataapp,proto3" json:"dataapp,omitempty"`
	Yaml    string            `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDataAppResponse) Descriptor deprecated

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

Deprecated: Use GetDataAppResponse.ProtoReflect.Descriptor instead.

func (*GetDataAppResponse) GetDataapp added in v0.4.475

func (x *GetDataAppResponse) GetDataapp() *v1alpha1.DataApp

func (*GetDataAppResponse) GetYaml

func (x *GetDataAppResponse) GetYaml() string

func (*GetDataAppResponse) ProtoMessage

func (*GetDataAppResponse) ProtoMessage()

func (*GetDataAppResponse) ProtoReflect

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

func (*GetDataAppResponse) Reset

func (x *GetDataAppResponse) Reset()

func (*GetDataAppResponse) String

func (x *GetDataAppResponse) String() string

type ListDataAppsRequest

type ListDataAppsRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	PageSize  int32             `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string            `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string            `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDataAppsRequest) Descriptor deprecated

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

Deprecated: Use ListDataAppsRequest.ProtoReflect.Descriptor instead.

func (*ListDataAppsRequest) GetLabels

func (x *ListDataAppsRequest) GetLabels() map[string]string

func (*ListDataAppsRequest) GetNamespace

func (x *ListDataAppsRequest) GetNamespace() string

func (*ListDataAppsRequest) GetOrderBy added in v0.4.414

func (x *ListDataAppsRequest) GetOrderBy() string

func (*ListDataAppsRequest) GetPageSize added in v0.4.414

func (x *ListDataAppsRequest) GetPageSize() int32

func (*ListDataAppsRequest) GetPageToken added in v0.4.414

func (x *ListDataAppsRequest) GetPageToken() string

func (*ListDataAppsRequest) ProtoMessage

func (*ListDataAppsRequest) ProtoMessage()

func (*ListDataAppsRequest) ProtoReflect

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

func (*ListDataAppsRequest) Reset

func (x *ListDataAppsRequest) Reset()

func (*ListDataAppsRequest) String

func (x *ListDataAppsRequest) String() string

type ListDataAppsResponse

type ListDataAppsResponse struct {
	Dataapps      *v1alpha1.DataAppList `protobuf:"bytes,1,opt,name=dataapps,proto3" json:"dataapps,omitempty"`
	NextPageToken string                `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDataAppsResponse) Descriptor deprecated

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

Deprecated: Use ListDataAppsResponse.ProtoReflect.Descriptor instead.

func (*ListDataAppsResponse) GetDataapps added in v0.4.472

func (x *ListDataAppsResponse) GetDataapps() *v1alpha1.DataAppList

func (*ListDataAppsResponse) GetNextPageToken added in v0.4.472

func (x *ListDataAppsResponse) GetNextPageToken() string

func (*ListDataAppsResponse) ProtoMessage

func (*ListDataAppsResponse) ProtoMessage()

func (*ListDataAppsResponse) ProtoReflect

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

func (*ListDataAppsResponse) Reset

func (x *ListDataAppsResponse) Reset()

func (*ListDataAppsResponse) String

func (x *ListDataAppsResponse) String() string

type PauseDataAppRequest

type PauseDataAppRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PauseDataAppRequest) Descriptor deprecated

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

Deprecated: Use PauseDataAppRequest.ProtoReflect.Descriptor instead.

func (*PauseDataAppRequest) GetName

func (x *PauseDataAppRequest) GetName() string

func (*PauseDataAppRequest) GetNamespace

func (x *PauseDataAppRequest) GetNamespace() string

func (*PauseDataAppRequest) ProtoMessage

func (*PauseDataAppRequest) ProtoMessage()

func (*PauseDataAppRequest) ProtoReflect

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

func (*PauseDataAppRequest) Reset

func (x *PauseDataAppRequest) Reset()

func (*PauseDataAppRequest) String

func (x *PauseDataAppRequest) String() string

type PauseDataAppResponse

type PauseDataAppResponse struct {
	// contains filtered or unexported fields
}

func (*PauseDataAppResponse) Descriptor deprecated

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

Deprecated: Use PauseDataAppResponse.ProtoReflect.Descriptor instead.

func (*PauseDataAppResponse) ProtoMessage

func (*PauseDataAppResponse) ProtoMessage()

func (*PauseDataAppResponse) ProtoReflect

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

func (*PauseDataAppResponse) Reset

func (x *PauseDataAppResponse) Reset()

func (*PauseDataAppResponse) String

func (x *PauseDataAppResponse) String() string

type ResumeDataAppRequest

type ResumeDataAppRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeDataAppRequest) Descriptor deprecated

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

Deprecated: Use ResumeDataAppRequest.ProtoReflect.Descriptor instead.

func (*ResumeDataAppRequest) GetName

func (x *ResumeDataAppRequest) GetName() string

func (*ResumeDataAppRequest) GetNamespace

func (x *ResumeDataAppRequest) GetNamespace() string

func (*ResumeDataAppRequest) ProtoMessage

func (*ResumeDataAppRequest) ProtoMessage()

func (*ResumeDataAppRequest) ProtoReflect

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

func (*ResumeDataAppRequest) Reset

func (x *ResumeDataAppRequest) Reset()

func (*ResumeDataAppRequest) String

func (x *ResumeDataAppRequest) String() string

type ResumeDataAppResponse

type ResumeDataAppResponse struct {
	// contains filtered or unexported fields
}

func (*ResumeDataAppResponse) Descriptor deprecated

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

Deprecated: Use ResumeDataAppResponse.ProtoReflect.Descriptor instead.

func (*ResumeDataAppResponse) ProtoMessage

func (*ResumeDataAppResponse) ProtoMessage()

func (*ResumeDataAppResponse) ProtoReflect

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

func (*ResumeDataAppResponse) Reset

func (x *ResumeDataAppResponse) Reset()

func (*ResumeDataAppResponse) String

func (x *ResumeDataAppResponse) String() string

type RunDataAppRequest

type RunDataAppRequest struct {
	Dataapp *v1alpha1.DataApp `protobuf:"bytes,1,opt,name=dataapp,proto3" json:"dataapp,omitempty"`
	// contains filtered or unexported fields
}

func (*RunDataAppRequest) Descriptor deprecated

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

Deprecated: Use RunDataAppRequest.ProtoReflect.Descriptor instead.

func (*RunDataAppRequest) GetDataapp added in v0.4.475

func (x *RunDataAppRequest) GetDataapp() *v1alpha1.DataApp

func (*RunDataAppRequest) ProtoMessage

func (*RunDataAppRequest) ProtoMessage()

func (*RunDataAppRequest) ProtoReflect

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

func (*RunDataAppRequest) Reset

func (x *RunDataAppRequest) Reset()

func (*RunDataAppRequest) String

func (x *RunDataAppRequest) String() string

type RunDataAppResponse

type RunDataAppResponse struct {
	// contains filtered or unexported fields
}

func (*RunDataAppResponse) Descriptor deprecated

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

Deprecated: Use RunDataAppResponse.ProtoReflect.Descriptor instead.

func (*RunDataAppResponse) ProtoMessage

func (*RunDataAppResponse) ProtoMessage()

func (*RunDataAppResponse) ProtoReflect

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

func (*RunDataAppResponse) Reset

func (x *RunDataAppResponse) Reset()

func (*RunDataAppResponse) String

func (x *RunDataAppResponse) String() string

type UnimplementedDataAppServiceServer

type UnimplementedDataAppServiceServer struct {
}

UnimplementedDataAppServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDataAppServiceServer) CreateDataApp

func (UnimplementedDataAppServiceServer) DeleteDataApp

func (UnimplementedDataAppServiceServer) GetDataApp

func (UnimplementedDataAppServiceServer) ListDataApps

func (UnimplementedDataAppServiceServer) PauseDataApp

func (UnimplementedDataAppServiceServer) ResumeDataApp

func (UnimplementedDataAppServiceServer) RunDataApp

func (UnimplementedDataAppServiceServer) UpdateDataApp

type UnsafeDataAppServiceServer added in v0.4.687

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

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

type UpdateDataAppRequest

type UpdateDataAppRequest struct {
	Dataapp   *v1alpha1.DataApp     `protobuf:"bytes,1,opt,name=dataapp,proto3" json:"dataapp,omitempty"`
	FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDataAppRequest) Descriptor deprecated

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

Deprecated: Use UpdateDataAppRequest.ProtoReflect.Descriptor instead.

func (*UpdateDataAppRequest) GetDataapp added in v0.4.475

func (x *UpdateDataAppRequest) GetDataapp() *v1alpha1.DataApp

func (*UpdateDataAppRequest) GetFieldMask added in v0.4.422

func (x *UpdateDataAppRequest) GetFieldMask() *field_mask.FieldMask

func (*UpdateDataAppRequest) ProtoMessage

func (*UpdateDataAppRequest) ProtoMessage()

func (*UpdateDataAppRequest) ProtoReflect

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

func (*UpdateDataAppRequest) Reset

func (x *UpdateDataAppRequest) Reset()

func (*UpdateDataAppRequest) String

func (x *UpdateDataAppRequest) String() string

type UpdateDataAppResponse

type UpdateDataAppResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateDataAppResponse) Descriptor deprecated

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

Deprecated: Use UpdateDataAppResponse.ProtoReflect.Descriptor instead.

func (*UpdateDataAppResponse) ProtoMessage

func (*UpdateDataAppResponse) ProtoMessage()

func (*UpdateDataAppResponse) ProtoReflect

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

func (*UpdateDataAppResponse) Reset

func (x *UpdateDataAppResponse) Reset()

func (*UpdateDataAppResponse) String

func (x *UpdateDataAppResponse) String() string

Jump to

Keyboard shortcuts

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