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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_metaprov_modelaapi_services_tenant_v1_tenant_proto protoreflect.FileDescriptor
View Source
var TenantService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.metaprov.modelaapi.services.tenant.v1.TenantService",
	HandlerType: (*TenantServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListTenantAlerts",
			Handler:    _TenantService_ListTenantAlerts_Handler,
		},
		{
			MethodName: "ListTenants",
			Handler:    _TenantService_ListTenants_Handler,
		},
		{
			MethodName: "ListTenantNames",
			Handler:    _TenantService_ListTenantNames_Handler,
		},
		{
			MethodName: "CreateTenant",
			Handler:    _TenantService_CreateTenant_Handler,
		},
		{
			MethodName: "GetTenant",
			Handler:    _TenantService_GetTenant_Handler,
		},
		{
			MethodName: "UpdateTenant",
			Handler:    _TenantService_UpdateTenant_Handler,
		},
		{
			MethodName: "DeleteTenant",
			Handler:    _TenantService_DeleteTenant_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/metaprov/modelaapi/services/tenant/v1/tenant.proto",
}

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

Functions

func RegisterTenantServiceServer

func RegisterTenantServiceServer(s grpc.ServiceRegistrar, srv TenantServiceServer)

Types

type CreateTenantRequest

type CreateTenantRequest struct {
	Tenant *v1alpha1.Tenant `protobuf:"bytes,4,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTenantRequest) Descriptor deprecated

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

Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.

func (*CreateTenantRequest) GetTenant added in v0.4.472

func (x *CreateTenantRequest) GetTenant() *v1alpha1.Tenant

func (*CreateTenantRequest) ProtoMessage

func (*CreateTenantRequest) ProtoMessage()

func (*CreateTenantRequest) ProtoReflect

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

func (*CreateTenantRequest) Reset

func (x *CreateTenantRequest) Reset()

func (*CreateTenantRequest) String

func (x *CreateTenantRequest) String() string

type CreateTenantResponse

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

func (*CreateTenantResponse) Descriptor deprecated

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

Deprecated: Use CreateTenantResponse.ProtoReflect.Descriptor instead.

func (*CreateTenantResponse) ProtoMessage

func (*CreateTenantResponse) ProtoMessage()

func (*CreateTenantResponse) ProtoReflect

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

func (*CreateTenantResponse) Reset

func (x *CreateTenantResponse) Reset()

func (*CreateTenantResponse) String

func (x *CreateTenantResponse) String() string

type DeleteTenantRequest

type DeleteTenantRequest 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 (*DeleteTenantRequest) Descriptor deprecated

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

Deprecated: Use DeleteTenantRequest.ProtoReflect.Descriptor instead.

func (*DeleteTenantRequest) GetName

func (x *DeleteTenantRequest) GetName() string

func (*DeleteTenantRequest) GetNamespace

func (x *DeleteTenantRequest) GetNamespace() string

func (*DeleteTenantRequest) ProtoMessage

func (*DeleteTenantRequest) ProtoMessage()

func (*DeleteTenantRequest) ProtoReflect

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

func (*DeleteTenantRequest) Reset

func (x *DeleteTenantRequest) Reset()

func (*DeleteTenantRequest) String

func (x *DeleteTenantRequest) String() string

type DeleteTenantResponse

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

func (*DeleteTenantResponse) Descriptor deprecated

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

Deprecated: Use DeleteTenantResponse.ProtoReflect.Descriptor instead.

func (*DeleteTenantResponse) ProtoMessage

func (*DeleteTenantResponse) ProtoMessage()

func (*DeleteTenantResponse) ProtoReflect

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

func (*DeleteTenantResponse) Reset

func (x *DeleteTenantResponse) Reset()

func (*DeleteTenantResponse) String

func (x *DeleteTenantResponse) String() string

type GetTenantRequest

type GetTenantRequest 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 (*GetTenantRequest) Descriptor deprecated

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

Deprecated: Use GetTenantRequest.ProtoReflect.Descriptor instead.

func (*GetTenantRequest) GetName

func (x *GetTenantRequest) GetName() string

func (*GetTenantRequest) GetNamespace

func (x *GetTenantRequest) GetNamespace() string

func (*GetTenantRequest) ProtoMessage

func (*GetTenantRequest) ProtoMessage()

func (*GetTenantRequest) ProtoReflect

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

func (*GetTenantRequest) Reset

func (x *GetTenantRequest) Reset()

func (*GetTenantRequest) String

func (x *GetTenantRequest) String() string

type GetTenantResponse

type GetTenantResponse struct {
	Tenant     *v1alpha1.Tenant       `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Alerts     []*v1alpha1.Alert      `protobuf:"bytes,2,rep,name=alerts,proto3" json:"alerts,omitempty"`
	Datasets   []*v1alpha11.Dataset   `protobuf:"bytes,3,rep,name=datasets,proto3" json:"datasets,omitempty"`
	Studies    []*v1alpha12.Study     `protobuf:"bytes,4,rep,name=studies,proto3" json:"studies,omitempty"`
	Models     []*v1alpha12.Model     `protobuf:"bytes,5,rep,name=models,proto3" json:"models,omitempty"`
	Predictors []*v1alpha13.Predictor `protobuf:"bytes,6,rep,name=predictors,proto3" json:"predictors,omitempty"`
	Yaml       string                 `protobuf:"bytes,7,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTenantResponse) Descriptor deprecated

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

Deprecated: Use GetTenantResponse.ProtoReflect.Descriptor instead.

func (*GetTenantResponse) GetAlerts

func (x *GetTenantResponse) GetAlerts() []*v1alpha1.Alert

func (*GetTenantResponse) GetDatasets

func (x *GetTenantResponse) GetDatasets() []*v1alpha11.Dataset

func (*GetTenantResponse) GetModels

func (x *GetTenantResponse) GetModels() []*v1alpha12.Model

func (*GetTenantResponse) GetPredictors

func (x *GetTenantResponse) GetPredictors() []*v1alpha13.Predictor

func (*GetTenantResponse) GetStudies

func (x *GetTenantResponse) GetStudies() []*v1alpha12.Study

func (*GetTenantResponse) GetTenant added in v0.4.472

func (x *GetTenantResponse) GetTenant() *v1alpha1.Tenant

func (*GetTenantResponse) GetYaml

func (x *GetTenantResponse) GetYaml() string

func (*GetTenantResponse) ProtoMessage

func (*GetTenantResponse) ProtoMessage()

func (*GetTenantResponse) ProtoReflect

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

func (*GetTenantResponse) Reset

func (x *GetTenantResponse) Reset()

func (*GetTenantResponse) String

func (x *GetTenantResponse) String() string

type ListTenantAlertsRequest added in v0.4.664

type ListTenantAlertsRequest 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 (*ListTenantAlertsRequest) Descriptor deprecated added in v0.4.664

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

Deprecated: Use ListTenantAlertsRequest.ProtoReflect.Descriptor instead.

func (*ListTenantAlertsRequest) GetLabels added in v0.4.664

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

func (*ListTenantAlertsRequest) GetNamespace added in v0.4.664

func (x *ListTenantAlertsRequest) GetNamespace() string

func (*ListTenantAlertsRequest) GetOrderBy added in v0.4.664

func (x *ListTenantAlertsRequest) GetOrderBy() string

func (*ListTenantAlertsRequest) GetPageSize added in v0.4.664

func (x *ListTenantAlertsRequest) GetPageSize() int32

func (*ListTenantAlertsRequest) GetPageToken added in v0.4.664

func (x *ListTenantAlertsRequest) GetPageToken() string

func (*ListTenantAlertsRequest) ProtoMessage added in v0.4.664

func (*ListTenantAlertsRequest) ProtoMessage()

func (*ListTenantAlertsRequest) ProtoReflect added in v0.4.664

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

func (*ListTenantAlertsRequest) Reset added in v0.4.664

func (x *ListTenantAlertsRequest) Reset()

func (*ListTenantAlertsRequest) String added in v0.4.664

func (x *ListTenantAlertsRequest) String() string

type ListTenantAlertsResponse added in v0.4.664

type ListTenantAlertsResponse struct {
	Alerts        *v1alpha1.AlertList `protobuf:"bytes,1,opt,name=alerts,proto3" json:"alerts,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 (*ListTenantAlertsResponse) Descriptor deprecated added in v0.4.664

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

Deprecated: Use ListTenantAlertsResponse.ProtoReflect.Descriptor instead.

func (*ListTenantAlertsResponse) GetAlerts added in v0.4.664

func (*ListTenantAlertsResponse) GetNextPageToken added in v0.4.664

func (x *ListTenantAlertsResponse) GetNextPageToken() string

func (*ListTenantAlertsResponse) ProtoMessage added in v0.4.664

func (*ListTenantAlertsResponse) ProtoMessage()

func (*ListTenantAlertsResponse) ProtoReflect added in v0.4.664

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

func (*ListTenantAlertsResponse) Reset added in v0.4.664

func (x *ListTenantAlertsResponse) Reset()

func (*ListTenantAlertsResponse) String added in v0.4.664

func (x *ListTenantAlertsResponse) String() string

type ListTenantNamesRequest added in v0.5.620

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

func (*ListTenantNamesRequest) Descriptor deprecated added in v0.5.620

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

Deprecated: Use ListTenantNamesRequest.ProtoReflect.Descriptor instead.

func (*ListTenantNamesRequest) ProtoMessage added in v0.5.620

func (*ListTenantNamesRequest) ProtoMessage()

func (*ListTenantNamesRequest) ProtoReflect added in v0.5.620

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

func (*ListTenantNamesRequest) Reset added in v0.5.620

func (x *ListTenantNamesRequest) Reset()

func (*ListTenantNamesRequest) String added in v0.5.620

func (x *ListTenantNamesRequest) String() string

type ListTenantNamesResponse added in v0.5.620

type ListTenantNamesResponse struct {
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTenantNamesResponse) Descriptor deprecated added in v0.5.620

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

Deprecated: Use ListTenantNamesResponse.ProtoReflect.Descriptor instead.

func (*ListTenantNamesResponse) GetNames added in v0.5.620

func (x *ListTenantNamesResponse) GetNames() []string

func (*ListTenantNamesResponse) ProtoMessage added in v0.5.620

func (*ListTenantNamesResponse) ProtoMessage()

func (*ListTenantNamesResponse) ProtoReflect added in v0.5.620

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

func (*ListTenantNamesResponse) Reset added in v0.5.620

func (x *ListTenantNamesResponse) Reset()

func (*ListTenantNamesResponse) String added in v0.5.620

func (x *ListTenantNamesResponse) String() string

type ListTenantsRequest

type ListTenantsRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListTenantsRequest) Descriptor deprecated

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

Deprecated: Use ListTenantsRequest.ProtoReflect.Descriptor instead.

func (*ListTenantsRequest) GetLabels

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

func (*ListTenantsRequest) GetNamespace

func (x *ListTenantsRequest) GetNamespace() string

func (*ListTenantsRequest) ProtoMessage

func (*ListTenantsRequest) ProtoMessage()

func (*ListTenantsRequest) ProtoReflect

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

func (*ListTenantsRequest) Reset

func (x *ListTenantsRequest) Reset()

func (*ListTenantsRequest) String

func (x *ListTenantsRequest) String() string

type ListTenantsResponse

type ListTenantsResponse struct {
	Tenants       *v1alpha1.TenantList `protobuf:"bytes,1,opt,name=tenants,proto3" json:"tenants,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 (*ListTenantsResponse) Descriptor deprecated

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

Deprecated: Use ListTenantsResponse.ProtoReflect.Descriptor instead.

func (*ListTenantsResponse) GetNextPageToken added in v0.4.472

func (x *ListTenantsResponse) GetNextPageToken() string

func (*ListTenantsResponse) GetTenants added in v0.4.472

func (x *ListTenantsResponse) GetTenants() *v1alpha1.TenantList

func (*ListTenantsResponse) ProtoMessage

func (*ListTenantsResponse) ProtoMessage()

func (*ListTenantsResponse) ProtoReflect

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

func (*ListTenantsResponse) Reset

func (x *ListTenantsResponse) Reset()

func (*ListTenantsResponse) String

func (x *ListTenantsResponse) String() string

type TenantServiceClient

type TenantServiceClient interface {
	ListTenantAlerts(ctx context.Context, in *ListTenantAlertsRequest, opts ...grpc.CallOption) (*ListTenantAlertsResponse, error)
	ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, error)
	ListTenantNames(ctx context.Context, in *ListTenantNamesRequest, opts ...grpc.CallOption) (*ListTenantNamesResponse, error)
	CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*CreateTenantResponse, error)
	GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*GetTenantResponse, error)
	UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...grpc.CallOption) (*UpdateTenantResponse, error)
	DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*DeleteTenantResponse, error)
}

TenantServiceClient is the client API for TenantService 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 TenantServiceServer

TenantServiceServer is the server API for TenantService service. All implementations must embed UnimplementedTenantServiceServer for forward compatibility

type UnimplementedTenantServiceServer

type UnimplementedTenantServiceServer struct {
}

UnimplementedTenantServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTenantServiceServer) CreateTenant

func (UnimplementedTenantServiceServer) DeleteTenant

func (UnimplementedTenantServiceServer) GetTenant

func (UnimplementedTenantServiceServer) ListTenantAlerts added in v0.4.664

func (UnimplementedTenantServiceServer) ListTenantNames added in v0.5.620

func (UnimplementedTenantServiceServer) ListTenants

func (UnimplementedTenantServiceServer) UpdateTenant

type UnsafeTenantServiceServer added in v0.4.687

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

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

type UpdateTenantRequest

type UpdateTenantRequest struct {
	Tenant    *v1alpha1.Tenant      `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,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 (*UpdateTenantRequest) Descriptor deprecated

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

Deprecated: Use UpdateTenantRequest.ProtoReflect.Descriptor instead.

func (*UpdateTenantRequest) GetFieldMask added in v0.4.422

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

func (*UpdateTenantRequest) GetTenant added in v0.4.475

func (x *UpdateTenantRequest) GetTenant() *v1alpha1.Tenant

func (*UpdateTenantRequest) ProtoMessage

func (*UpdateTenantRequest) ProtoMessage()

func (*UpdateTenantRequest) ProtoReflect

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

func (*UpdateTenantRequest) Reset

func (x *UpdateTenantRequest) Reset()

func (*UpdateTenantRequest) String

func (x *UpdateTenantRequest) String() string

type UpdateTenantResponse

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

func (*UpdateTenantResponse) Descriptor deprecated

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

Deprecated: Use UpdateTenantResponse.ProtoReflect.Descriptor instead.

func (*UpdateTenantResponse) ProtoMessage

func (*UpdateTenantResponse) ProtoMessage()

func (*UpdateTenantResponse) ProtoReflect

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

func (*UpdateTenantResponse) Reset

func (x *UpdateTenantResponse) Reset()

func (*UpdateTenantResponse) String

func (x *UpdateTenantResponse) String() string

Jump to

Keyboard shortcuts

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