Documentation
¶
Index ¶
- Variables
- func RegisterTenantServiceServer(s *grpc.Server, srv TenantServiceServer)
- type CreateTenantRequest
- func (*CreateTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTenantRequest) GetTenant() *v1alpha1.Tenant
- func (*CreateTenantRequest) ProtoMessage()
- func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTenantRequest) Reset()
- func (x *CreateTenantRequest) String() string
- type CreateTenantResponse
- type DeleteTenantRequest
- func (*DeleteTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTenantRequest) GetName() string
- func (x *DeleteTenantRequest) GetNamespace() string
- func (*DeleteTenantRequest) ProtoMessage()
- func (x *DeleteTenantRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTenantRequest) Reset()
- func (x *DeleteTenantRequest) String() string
- type DeleteTenantResponse
- type GetTenantRequest
- func (*GetTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTenantRequest) GetName() string
- func (x *GetTenantRequest) GetNamespace() string
- func (*GetTenantRequest) ProtoMessage()
- func (x *GetTenantRequest) ProtoReflect() protoreflect.Message
- func (x *GetTenantRequest) Reset()
- func (x *GetTenantRequest) String() string
- type GetTenantResponse
- func (*GetTenantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTenantResponse) GetAlerts() []*v1alpha1.Alert
- func (x *GetTenantResponse) GetDatasets() []*v1alpha11.Dataset
- func (x *GetTenantResponse) GetModels() []*v1alpha12.Model
- func (x *GetTenantResponse) GetPredictors() []*v1alpha13.Predictor
- func (x *GetTenantResponse) GetStudies() []*v1alpha12.Study
- func (x *GetTenantResponse) GetTenant() *v1alpha1.Tenant
- func (x *GetTenantResponse) GetYaml() string
- func (*GetTenantResponse) ProtoMessage()
- func (x *GetTenantResponse) ProtoReflect() protoreflect.Message
- func (x *GetTenantResponse) Reset()
- func (x *GetTenantResponse) String() string
- type ListTenantsRequest
- func (*ListTenantsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantsRequest) GetLabels() map[string]string
- func (x *ListTenantsRequest) GetNamespace() string
- func (*ListTenantsRequest) ProtoMessage()
- func (x *ListTenantsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTenantsRequest) Reset()
- func (x *ListTenantsRequest) String() string
- type ListTenantsResponse
- func (*ListTenantsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantsResponse) GetNextPageToken() string
- func (x *ListTenantsResponse) GetTenants() *v1alpha1.TenantList
- func (*ListTenantsResponse) ProtoMessage()
- func (x *ListTenantsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTenantsResponse) Reset()
- func (x *ListTenantsResponse) String() string
- type TenantServiceClient
- type TenantServiceServer
- type UnimplementedTenantServiceServer
- func (*UnimplementedTenantServiceServer) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error)
- func (*UnimplementedTenantServiceServer) DeleteTenant(context.Context, *DeleteTenantRequest) (*DeleteTenantResponse, error)
- func (*UnimplementedTenantServiceServer) GetTenant(context.Context, *GetTenantRequest) (*GetTenantResponse, error)
- func (*UnimplementedTenantServiceServer) ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
- func (*UnimplementedTenantServiceServer) UpdateTenant(context.Context, *UpdateTenantRequest) (*UpdateTenantResponse, error)
- type UpdateTenantRequest
- func (*UpdateTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTenantRequest) GetFieldMask() *field_mask.FieldMask
- func (x *UpdateTenantRequest) GetTenant() *v1alpha1.Tenant
- func (*UpdateTenantRequest) ProtoMessage()
- func (x *UpdateTenantRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTenantRequest) Reset()
- func (x *UpdateTenantRequest) String() string
- type UpdateTenantResponse
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modelaapi_services_tenant_v1_tenant_proto protoreflect.FileDescriptor
Functions ¶
func RegisterTenantServiceServer ¶
func RegisterTenantServiceServer(s *grpc.Server, 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 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 { ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTenantServiceClient ¶
func NewTenantServiceClient(cc grpc.ClientConnInterface) TenantServiceClient
type TenantServiceServer ¶
type TenantServiceServer interface { ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error) GetTenant(context.Context, *GetTenantRequest) (*GetTenantResponse, error) UpdateTenant(context.Context, *UpdateTenantRequest) (*UpdateTenantResponse, error) DeleteTenant(context.Context, *DeleteTenantRequest) (*DeleteTenantResponse, error) }
TenantServiceServer is the server API for TenantService service.
type UnimplementedTenantServiceServer ¶
type UnimplementedTenantServiceServer struct { }
UnimplementedTenantServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTenantServiceServer) CreateTenant ¶
func (*UnimplementedTenantServiceServer) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error)
func (*UnimplementedTenantServiceServer) DeleteTenant ¶
func (*UnimplementedTenantServiceServer) DeleteTenant(context.Context, *DeleteTenantRequest) (*DeleteTenantResponse, error)
func (*UnimplementedTenantServiceServer) GetTenant ¶
func (*UnimplementedTenantServiceServer) GetTenant(context.Context, *GetTenantRequest) (*GetTenantResponse, error)
func (*UnimplementedTenantServiceServer) ListTenants ¶
func (*UnimplementedTenantServiceServer) ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
func (*UnimplementedTenantServiceServer) UpdateTenant ¶
func (*UnimplementedTenantServiceServer) UpdateTenant(context.Context, *UpdateTenantRequest) (*UpdateTenantResponse, error)
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