Documentation
¶
Index ¶
- Variables
- func RegisterLabServiceServer(s *grpc.Server, srv LabServiceServer)
- type CreateLabRequest
- type CreateLabResponse
- type DeleteLabRequest
- func (*DeleteLabRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteLabRequest) GetName() string
- func (x *DeleteLabRequest) GetNamespace() string
- func (*DeleteLabRequest) ProtoMessage()
- func (x *DeleteLabRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteLabRequest) Reset()
- func (x *DeleteLabRequest) String() string
- type DeleteLabResponse
- type GetLabNamespacesRequest
- func (*GetLabNamespacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLabNamespacesRequest) GetName() string
- func (x *GetLabNamespacesRequest) GetNamespace() string
- func (*GetLabNamespacesRequest) ProtoMessage()
- func (x *GetLabNamespacesRequest) ProtoReflect() protoreflect.Message
- func (x *GetLabNamespacesRequest) Reset()
- func (x *GetLabNamespacesRequest) String() string
- type GetLabNamespacesResponse
- func (*GetLabNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLabNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo
- func (*GetLabNamespacesResponse) ProtoMessage()
- func (x *GetLabNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *GetLabNamespacesResponse) Reset()
- func (x *GetLabNamespacesResponse) String() string
- type GetLabRequest
- func (*GetLabRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLabRequest) GetName() string
- func (x *GetLabRequest) GetNamespace() string
- func (*GetLabRequest) ProtoMessage()
- func (x *GetLabRequest) ProtoReflect() protoreflect.Message
- func (x *GetLabRequest) Reset()
- func (x *GetLabRequest) String() string
- type GetLabResponse
- func (*GetLabResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLabResponse) GetLab() *v1alpha1.Lab
- func (x *GetLabResponse) GetYaml() string
- func (*GetLabResponse) ProtoMessage()
- func (x *GetLabResponse) ProtoReflect() protoreflect.Message
- func (x *GetLabResponse) Reset()
- func (x *GetLabResponse) String() string
- type LabResponse
- type LabServiceClient
- type LabServiceServer
- type ListLabsRequest
- func (*ListLabsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLabsRequest) GetLabels() map[string]string
- func (x *ListLabsRequest) GetNamespace() string
- func (x *ListLabsRequest) GetOrderBy() string
- func (x *ListLabsRequest) GetPageSize() int32
- func (x *ListLabsRequest) GetPageToken() string
- func (*ListLabsRequest) ProtoMessage()
- func (x *ListLabsRequest) ProtoReflect() protoreflect.Message
- func (x *ListLabsRequest) Reset()
- func (x *ListLabsRequest) String() string
- type ListLabsResponse
- func (*ListLabsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLabsResponse) GetLabs() *v1alpha1.LabList
- func (x *ListLabsResponse) GetNextPageToken() string
- func (*ListLabsResponse) ProtoMessage()
- func (x *ListLabsResponse) ProtoReflect() protoreflect.Message
- func (x *ListLabsResponse) Reset()
- func (x *ListLabsResponse) String() string
- type UnimplementedLabServiceServer
- func (*UnimplementedLabServiceServer) CreateLab(context.Context, *CreateLabRequest) (*CreateLabResponse, error)
- func (*UnimplementedLabServiceServer) DeleteLab(context.Context, *DeleteLabRequest) (*DeleteLabResponse, error)
- func (*UnimplementedLabServiceServer) GetLab(context.Context, *GetLabRequest) (*GetLabResponse, error)
- func (*UnimplementedLabServiceServer) ListLabs(context.Context, *ListLabsRequest) (*ListLabsResponse, error)
- func (*UnimplementedLabServiceServer) UpdateLab(context.Context, *UpdateLabRequest) (*UpdateLabResponse, error)
- type UpdateLabRequest
- func (*UpdateLabRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLabRequest) GetFieldMask() *field_mask.FieldMask
- func (x *UpdateLabRequest) GetLab() *v1alpha1.Lab
- func (*UpdateLabRequest) ProtoMessage()
- func (x *UpdateLabRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLabRequest) Reset()
- func (x *UpdateLabRequest) String() string
- type UpdateLabResponse
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modelaapi_services_lab_v1_lab_proto protoreflect.FileDescriptor
Functions ¶
func RegisterLabServiceServer ¶
func RegisterLabServiceServer(s *grpc.Server, srv LabServiceServer)
Types ¶
type CreateLabRequest ¶
type CreateLabRequest struct { Lab *v1alpha1.Lab `protobuf:"bytes,1,opt,name=lab,proto3" json:"lab,omitempty"` // contains filtered or unexported fields }
func (*CreateLabRequest) Descriptor
deprecated
func (*CreateLabRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLabRequest.ProtoReflect.Descriptor instead.
func (*CreateLabRequest) GetLab ¶ added in v0.4.472
func (x *CreateLabRequest) GetLab() *v1alpha1.Lab
func (*CreateLabRequest) ProtoMessage ¶
func (*CreateLabRequest) ProtoMessage()
func (*CreateLabRequest) ProtoReflect ¶
func (x *CreateLabRequest) ProtoReflect() protoreflect.Message
func (*CreateLabRequest) Reset ¶
func (x *CreateLabRequest) Reset()
func (*CreateLabRequest) String ¶
func (x *CreateLabRequest) String() string
type CreateLabResponse ¶
type CreateLabResponse struct {
// contains filtered or unexported fields
}
func (*CreateLabResponse) Descriptor
deprecated
func (*CreateLabResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateLabResponse.ProtoReflect.Descriptor instead.
func (*CreateLabResponse) ProtoMessage ¶
func (*CreateLabResponse) ProtoMessage()
func (*CreateLabResponse) ProtoReflect ¶
func (x *CreateLabResponse) ProtoReflect() protoreflect.Message
func (*CreateLabResponse) Reset ¶
func (x *CreateLabResponse) Reset()
func (*CreateLabResponse) String ¶
func (x *CreateLabResponse) String() string
type DeleteLabRequest ¶
type DeleteLabRequest 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 (*DeleteLabRequest) Descriptor
deprecated
func (*DeleteLabRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLabRequest.ProtoReflect.Descriptor instead.
func (*DeleteLabRequest) GetName ¶
func (x *DeleteLabRequest) GetName() string
func (*DeleteLabRequest) GetNamespace ¶
func (x *DeleteLabRequest) GetNamespace() string
func (*DeleteLabRequest) ProtoMessage ¶
func (*DeleteLabRequest) ProtoMessage()
func (*DeleteLabRequest) ProtoReflect ¶
func (x *DeleteLabRequest) ProtoReflect() protoreflect.Message
func (*DeleteLabRequest) Reset ¶
func (x *DeleteLabRequest) Reset()
func (*DeleteLabRequest) String ¶
func (x *DeleteLabRequest) String() string
type DeleteLabResponse ¶
type DeleteLabResponse struct {
// contains filtered or unexported fields
}
func (*DeleteLabResponse) Descriptor
deprecated
func (*DeleteLabResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLabResponse.ProtoReflect.Descriptor instead.
func (*DeleteLabResponse) ProtoMessage ¶
func (*DeleteLabResponse) ProtoMessage()
func (*DeleteLabResponse) ProtoReflect ¶
func (x *DeleteLabResponse) ProtoReflect() protoreflect.Message
func (*DeleteLabResponse) Reset ¶
func (x *DeleteLabResponse) Reset()
func (*DeleteLabResponse) String ¶
func (x *DeleteLabResponse) String() string
type GetLabNamespacesRequest ¶
type GetLabNamespacesRequest 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 (*GetLabNamespacesRequest) Descriptor
deprecated
func (*GetLabNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLabNamespacesRequest.ProtoReflect.Descriptor instead.
func (*GetLabNamespacesRequest) GetName ¶
func (x *GetLabNamespacesRequest) GetName() string
func (*GetLabNamespacesRequest) GetNamespace ¶
func (x *GetLabNamespacesRequest) GetNamespace() string
func (*GetLabNamespacesRequest) ProtoMessage ¶
func (*GetLabNamespacesRequest) ProtoMessage()
func (*GetLabNamespacesRequest) ProtoReflect ¶
func (x *GetLabNamespacesRequest) ProtoReflect() protoreflect.Message
func (*GetLabNamespacesRequest) Reset ¶
func (x *GetLabNamespacesRequest) Reset()
func (*GetLabNamespacesRequest) String ¶
func (x *GetLabNamespacesRequest) String() string
type GetLabNamespacesResponse ¶
type GetLabNamespacesResponse struct { Namespaces []*v1.NamespaceInfo `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*GetLabNamespacesResponse) Descriptor
deprecated
func (*GetLabNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLabNamespacesResponse.ProtoReflect.Descriptor instead.
func (*GetLabNamespacesResponse) GetNamespaces ¶
func (x *GetLabNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo
func (*GetLabNamespacesResponse) ProtoMessage ¶
func (*GetLabNamespacesResponse) ProtoMessage()
func (*GetLabNamespacesResponse) ProtoReflect ¶
func (x *GetLabNamespacesResponse) ProtoReflect() protoreflect.Message
func (*GetLabNamespacesResponse) Reset ¶
func (x *GetLabNamespacesResponse) Reset()
func (*GetLabNamespacesResponse) String ¶
func (x *GetLabNamespacesResponse) String() string
type GetLabRequest ¶
type GetLabRequest 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 (*GetLabRequest) Descriptor
deprecated
func (*GetLabRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLabRequest.ProtoReflect.Descriptor instead.
func (*GetLabRequest) GetName ¶
func (x *GetLabRequest) GetName() string
func (*GetLabRequest) GetNamespace ¶
func (x *GetLabRequest) GetNamespace() string
func (*GetLabRequest) ProtoMessage ¶
func (*GetLabRequest) ProtoMessage()
func (*GetLabRequest) ProtoReflect ¶
func (x *GetLabRequest) ProtoReflect() protoreflect.Message
func (*GetLabRequest) Reset ¶
func (x *GetLabRequest) Reset()
func (*GetLabRequest) String ¶
func (x *GetLabRequest) String() string
type GetLabResponse ¶
type GetLabResponse struct { Lab *v1alpha1.Lab `protobuf:"bytes,1,opt,name=lab,proto3" json:"lab,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*GetLabResponse) Descriptor
deprecated
func (*GetLabResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLabResponse.ProtoReflect.Descriptor instead.
func (*GetLabResponse) GetLab ¶ added in v0.4.475
func (x *GetLabResponse) GetLab() *v1alpha1.Lab
func (*GetLabResponse) GetYaml ¶
func (x *GetLabResponse) GetYaml() string
func (*GetLabResponse) ProtoMessage ¶
func (*GetLabResponse) ProtoMessage()
func (*GetLabResponse) ProtoReflect ¶
func (x *GetLabResponse) ProtoReflect() protoreflect.Message
func (*GetLabResponse) Reset ¶
func (x *GetLabResponse) Reset()
func (*GetLabResponse) String ¶
func (x *GetLabResponse) String() string
type LabResponse ¶
type LabResponse struct {
// contains filtered or unexported fields
}
func (*LabResponse) Descriptor
deprecated
func (*LabResponse) Descriptor() ([]byte, []int)
Deprecated: Use LabResponse.ProtoReflect.Descriptor instead.
func (*LabResponse) ProtoMessage ¶
func (*LabResponse) ProtoMessage()
func (*LabResponse) ProtoReflect ¶
func (x *LabResponse) ProtoReflect() protoreflect.Message
func (*LabResponse) Reset ¶
func (x *LabResponse) Reset()
func (*LabResponse) String ¶
func (x *LabResponse) String() string
type LabServiceClient ¶
type LabServiceClient interface { ListLabs(ctx context.Context, in *ListLabsRequest, opts ...grpc.CallOption) (*ListLabsResponse, error) CreateLab(ctx context.Context, in *CreateLabRequest, opts ...grpc.CallOption) (*CreateLabResponse, error) GetLab(ctx context.Context, in *GetLabRequest, opts ...grpc.CallOption) (*GetLabResponse, error) UpdateLab(ctx context.Context, in *UpdateLabRequest, opts ...grpc.CallOption) (*UpdateLabResponse, error) DeleteLab(ctx context.Context, in *DeleteLabRequest, opts ...grpc.CallOption) (*DeleteLabResponse, error) }
LabServiceClient is the client API for LabService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLabServiceClient ¶
func NewLabServiceClient(cc grpc.ClientConnInterface) LabServiceClient
type LabServiceServer ¶
type LabServiceServer interface { ListLabs(context.Context, *ListLabsRequest) (*ListLabsResponse, error) CreateLab(context.Context, *CreateLabRequest) (*CreateLabResponse, error) GetLab(context.Context, *GetLabRequest) (*GetLabResponse, error) UpdateLab(context.Context, *UpdateLabRequest) (*UpdateLabResponse, error) DeleteLab(context.Context, *DeleteLabRequest) (*DeleteLabResponse, error) }
LabServiceServer is the server API for LabService service.
type ListLabsRequest ¶
type ListLabsRequest 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 (*ListLabsRequest) Descriptor
deprecated
func (*ListLabsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLabsRequest.ProtoReflect.Descriptor instead.
func (*ListLabsRequest) GetLabels ¶
func (x *ListLabsRequest) GetLabels() map[string]string
func (*ListLabsRequest) GetNamespace ¶
func (x *ListLabsRequest) GetNamespace() string
func (*ListLabsRequest) GetOrderBy ¶ added in v0.4.414
func (x *ListLabsRequest) GetOrderBy() string
func (*ListLabsRequest) GetPageSize ¶ added in v0.4.414
func (x *ListLabsRequest) GetPageSize() int32
func (*ListLabsRequest) GetPageToken ¶ added in v0.4.414
func (x *ListLabsRequest) GetPageToken() string
func (*ListLabsRequest) ProtoMessage ¶
func (*ListLabsRequest) ProtoMessage()
func (*ListLabsRequest) ProtoReflect ¶
func (x *ListLabsRequest) ProtoReflect() protoreflect.Message
func (*ListLabsRequest) Reset ¶
func (x *ListLabsRequest) Reset()
func (*ListLabsRequest) String ¶
func (x *ListLabsRequest) String() string
type ListLabsResponse ¶
type ListLabsResponse struct { Labs *v1alpha1.LabList `protobuf:"bytes,1,opt,name=labs,proto3" json:"labs,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 (*ListLabsResponse) Descriptor
deprecated
func (*ListLabsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLabsResponse.ProtoReflect.Descriptor instead.
func (*ListLabsResponse) GetLabs ¶ added in v0.4.472
func (x *ListLabsResponse) GetLabs() *v1alpha1.LabList
func (*ListLabsResponse) GetNextPageToken ¶ added in v0.4.472
func (x *ListLabsResponse) GetNextPageToken() string
func (*ListLabsResponse) ProtoMessage ¶
func (*ListLabsResponse) ProtoMessage()
func (*ListLabsResponse) ProtoReflect ¶
func (x *ListLabsResponse) ProtoReflect() protoreflect.Message
func (*ListLabsResponse) Reset ¶
func (x *ListLabsResponse) Reset()
func (*ListLabsResponse) String ¶
func (x *ListLabsResponse) String() string
type UnimplementedLabServiceServer ¶
type UnimplementedLabServiceServer struct { }
UnimplementedLabServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedLabServiceServer) CreateLab ¶
func (*UnimplementedLabServiceServer) CreateLab(context.Context, *CreateLabRequest) (*CreateLabResponse, error)
func (*UnimplementedLabServiceServer) DeleteLab ¶
func (*UnimplementedLabServiceServer) DeleteLab(context.Context, *DeleteLabRequest) (*DeleteLabResponse, error)
func (*UnimplementedLabServiceServer) GetLab ¶
func (*UnimplementedLabServiceServer) GetLab(context.Context, *GetLabRequest) (*GetLabResponse, error)
func (*UnimplementedLabServiceServer) ListLabs ¶
func (*UnimplementedLabServiceServer) ListLabs(context.Context, *ListLabsRequest) (*ListLabsResponse, error)
func (*UnimplementedLabServiceServer) UpdateLab ¶
func (*UnimplementedLabServiceServer) UpdateLab(context.Context, *UpdateLabRequest) (*UpdateLabResponse, error)
type UpdateLabRequest ¶
type UpdateLabRequest struct { Lab *v1alpha1.Lab `protobuf:"bytes,1,opt,name=lab,proto3" json:"lab,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 (*UpdateLabRequest) Descriptor
deprecated
func (*UpdateLabRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLabRequest.ProtoReflect.Descriptor instead.
func (*UpdateLabRequest) GetFieldMask ¶ added in v0.4.422
func (x *UpdateLabRequest) GetFieldMask() *field_mask.FieldMask
func (*UpdateLabRequest) GetLab ¶ added in v0.4.475
func (x *UpdateLabRequest) GetLab() *v1alpha1.Lab
func (*UpdateLabRequest) ProtoMessage ¶
func (*UpdateLabRequest) ProtoMessage()
func (*UpdateLabRequest) ProtoReflect ¶
func (x *UpdateLabRequest) ProtoReflect() protoreflect.Message
func (*UpdateLabRequest) Reset ¶
func (x *UpdateLabRequest) Reset()
func (*UpdateLabRequest) String ¶
func (x *UpdateLabRequest) String() string
type UpdateLabResponse ¶
type UpdateLabResponse struct {
// contains filtered or unexported fields
}
func (*UpdateLabResponse) Descriptor
deprecated
func (*UpdateLabResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLabResponse.ProtoReflect.Descriptor instead.
func (*UpdateLabResponse) ProtoMessage ¶
func (*UpdateLabResponse) ProtoMessage()
func (*UpdateLabResponse) ProtoReflect ¶
func (x *UpdateLabResponse) ProtoReflect() protoreflect.Message
func (*UpdateLabResponse) Reset ¶
func (x *UpdateLabResponse) Reset()
func (*UpdateLabResponse) String ¶
func (x *UpdateLabResponse) String() string