Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterModelaSystemServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterModelaSystemServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModelaSystemServiceClient) error
- func RegisterModelaSystemServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterModelaSystemServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModelaSystemServiceServer) error
- func RegisterModelaSystemServiceServer(s grpc.ServiceRegistrar, srv ModelaSystemServiceServer)
- type BackupDatabaseRequest
- func (*BackupDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupDatabaseRequest) GetBucket() string
- func (x *BackupDatabaseRequest) GetNamespace() string
- func (x *BackupDatabaseRequest) GetPath() string
- func (*BackupDatabaseRequest) ProtoMessage()
- func (x *BackupDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *BackupDatabaseRequest) Reset()
- func (x *BackupDatabaseRequest) String() string
- type BackupDatabaseResponse
- func (*BackupDatabaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BackupDatabaseResponse) GetPath() string
- func (*BackupDatabaseResponse) ProtoMessage()
- func (x *BackupDatabaseResponse) ProtoReflect() protoreflect.Message
- func (x *BackupDatabaseResponse) Reset()
- func (x *BackupDatabaseResponse) String() string
- type BackupEtcdRequest
- func (*BackupEtcdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupEtcdRequest) GetBucket() string
- func (x *BackupEtcdRequest) GetNamespace() string
- func (x *BackupEtcdRequest) GetPath() string
- func (*BackupEtcdRequest) ProtoMessage()
- func (x *BackupEtcdRequest) ProtoReflect() protoreflect.Message
- func (x *BackupEtcdRequest) Reset()
- func (x *BackupEtcdRequest) String() string
- type BackupEtcdResponse
- func (*BackupEtcdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BackupEtcdResponse) GetPath() string
- func (*BackupEtcdResponse) ProtoMessage()
- func (x *BackupEtcdResponse) ProtoReflect() protoreflect.Message
- func (x *BackupEtcdResponse) Reset()
- func (x *BackupEtcdResponse) String() string
- type CreateModelaSystemRequest
- func (*CreateModelaSystemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModelaSystemRequest) GetModelasystem() *v1alpha1.ModelaSystem
- func (x *CreateModelaSystemRequest) GetPassword() string
- func (*CreateModelaSystemRequest) ProtoMessage()
- func (x *CreateModelaSystemRequest) ProtoReflect() protoreflect.Message
- func (x *CreateModelaSystemRequest) Reset()
- func (x *CreateModelaSystemRequest) String() string
- type CreateModelaSystemResponse
- type DeleteModelaSystemRequest
- func (*DeleteModelaSystemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteModelaSystemRequest) GetName() string
- func (x *DeleteModelaSystemRequest) GetNamespace() string
- func (*DeleteModelaSystemRequest) ProtoMessage()
- func (x *DeleteModelaSystemRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteModelaSystemRequest) Reset()
- func (x *DeleteModelaSystemRequest) String() string
- type DeleteModelaSystemResponse
- type DownloadLogFileRequest
- func (*DownloadLogFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadLogFileRequest) GetBucket() string
- func (x *DownloadLogFileRequest) GetNamespace() string
- func (x *DownloadLogFileRequest) GetPath() string
- func (*DownloadLogFileRequest) ProtoMessage()
- func (x *DownloadLogFileRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadLogFileRequest) Reset()
- func (x *DownloadLogFileRequest) String() string
- type DownloadLogFileResponse
- func (*DownloadLogFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadLogFileResponse) GetResult() []byte
- func (*DownloadLogFileResponse) ProtoMessage()
- func (x *DownloadLogFileResponse) ProtoReflect() protoreflect.Message
- func (x *DownloadLogFileResponse) Reset()
- func (x *DownloadLogFileResponse) String() string
- type GetModelaSystemNamespacesRequest
- func (*GetModelaSystemNamespacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelaSystemNamespacesRequest) GetName() string
- func (x *GetModelaSystemNamespacesRequest) GetNamespace() string
- func (*GetModelaSystemNamespacesRequest) ProtoMessage()
- func (x *GetModelaSystemNamespacesRequest) ProtoReflect() protoreflect.Message
- func (x *GetModelaSystemNamespacesRequest) Reset()
- func (x *GetModelaSystemNamespacesRequest) String() string
- type GetModelaSystemNamespacesResponse
- func (*GetModelaSystemNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelaSystemNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo
- func (*GetModelaSystemNamespacesResponse) ProtoMessage()
- func (x *GetModelaSystemNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *GetModelaSystemNamespacesResponse) Reset()
- func (x *GetModelaSystemNamespacesResponse) String() string
- type GetModelaSystemRequest
- func (*GetModelaSystemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelaSystemRequest) GetName() string
- func (x *GetModelaSystemRequest) GetNamespace() string
- func (*GetModelaSystemRequest) ProtoMessage()
- func (x *GetModelaSystemRequest) ProtoReflect() protoreflect.Message
- func (x *GetModelaSystemRequest) Reset()
- func (x *GetModelaSystemRequest) String() string
- type GetModelaSystemResponse
- func (*GetModelaSystemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelaSystemResponse) GetModelasystem() *v1alpha1.ModelaSystem
- func (x *GetModelaSystemResponse) GetYaml() string
- func (*GetModelaSystemResponse) ProtoMessage()
- func (x *GetModelaSystemResponse) ProtoReflect() protoreflect.Message
- func (x *GetModelaSystemResponse) Reset()
- func (x *GetModelaSystemResponse) String() string
- type ListModelaSystemsRequest
- func (*ListModelaSystemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelaSystemsRequest) GetLabels() map[string]string
- func (x *ListModelaSystemsRequest) GetNamespace() string
- func (*ListModelaSystemsRequest) ProtoMessage()
- func (x *ListModelaSystemsRequest) ProtoReflect() protoreflect.Message
- func (x *ListModelaSystemsRequest) Reset()
- func (x *ListModelaSystemsRequest) String() string
- type ListModelaSystemsResponse
- func (*ListModelaSystemsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelaSystemsResponse) GetModelasystems() *v1alpha1.ModelaSystemList
- func (*ListModelaSystemsResponse) ProtoMessage()
- func (x *ListModelaSystemsResponse) ProtoReflect() protoreflect.Message
- func (x *ListModelaSystemsResponse) Reset()
- func (x *ListModelaSystemsResponse) String() string
- type LogoutResponse
- type ModelaSystemCreateResponse
- type ModelaSystemGetByNameRequest
- func (*ModelaSystemGetByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModelaSystemGetByNameRequest) GetName() string
- func (x *ModelaSystemGetByNameRequest) GetNamespace() string
- func (*ModelaSystemGetByNameRequest) ProtoMessage()
- func (x *ModelaSystemGetByNameRequest) ProtoReflect() protoreflect.Message
- func (x *ModelaSystemGetByNameRequest) Reset()
- func (x *ModelaSystemGetByNameRequest) String() string
- type ModelaSystemLogoutRequest
- func (*ModelaSystemLogoutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModelaSystemLogoutRequest) GetToken() string
- func (*ModelaSystemLogoutRequest) ProtoMessage()
- func (x *ModelaSystemLogoutRequest) ProtoReflect() protoreflect.Message
- func (x *ModelaSystemLogoutRequest) Reset()
- func (x *ModelaSystemLogoutRequest) String() string
- type ModelaSystemResponse
- type ModelaSystemServiceClient
- type ModelaSystemServiceServer
- type ResetPasswordResponse
- type UnimplementedModelaSystemServiceServer
- func (UnimplementedModelaSystemServiceServer) BackupDatabase(context.Context, *BackupDatabaseRequest) (*BackupDatabaseResponse, error)
- func (UnimplementedModelaSystemServiceServer) BackupEtcd(context.Context, *BackupEtcdRequest) (*BackupEtcdResponse, error)
- func (UnimplementedModelaSystemServiceServer) CreateModelaSystem(context.Context, *CreateModelaSystemRequest) (*CreateModelaSystemResponse, error)
- func (UnimplementedModelaSystemServiceServer) DeleteModelaSystem(context.Context, *DeleteModelaSystemRequest) (*DeleteModelaSystemResponse, error)
- func (UnimplementedModelaSystemServiceServer) DownloadLogfile(context.Context, *DownloadLogFileRequest) (*DownloadLogFileResponse, error)
- func (UnimplementedModelaSystemServiceServer) GetModelaSystem(context.Context, *GetModelaSystemRequest) (*GetModelaSystemResponse, error)
- func (UnimplementedModelaSystemServiceServer) ListModelaSystems(context.Context, *ListModelaSystemsRequest) (*ListModelaSystemsResponse, error)
- func (UnimplementedModelaSystemServiceServer) UpdateModelaSystem(context.Context, *UpdateModelaSystemRequest) (*UpdateModelaSystemResponse, error)
- type UnsafeModelaSystemServiceServer
- type UpdateModelaSystemRequest
- func (*UpdateModelaSystemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateModelaSystemRequest) GetFieldMask() *field_mask.FieldMask
- func (x *UpdateModelaSystemRequest) GetModelasystem() *v1alpha1.ModelaSystem
- func (*UpdateModelaSystemRequest) ProtoMessage()
- func (x *UpdateModelaSystemRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateModelaSystemRequest) Reset()
- func (x *UpdateModelaSystemRequest) String() string
- type UpdateModelaSystemResponse
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modelaapi_services_modelasystem_v1_modelasystem_proto protoreflect.FileDescriptor
var ModelaSystemService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "github.com.metaprov.modelaapi.services.modelasystem.v1.ModelaSystemService", HandlerType: (*ModelaSystemServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListModelaSystems", Handler: _ModelaSystemService_ListModelaSystems_Handler, }, { MethodName: "CreateModelaSystem", Handler: _ModelaSystemService_CreateModelaSystem_Handler, }, { MethodName: "GetModelaSystem", Handler: _ModelaSystemService_GetModelaSystem_Handler, }, { MethodName: "UpdateModelaSystem", Handler: _ModelaSystemService_UpdateModelaSystem_Handler, }, { MethodName: "DeleteModelaSystem", Handler: _ModelaSystemService_DeleteModelaSystem_Handler, }, { 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 RegisterModelaSystemServiceHandler ¶ added in v0.4.687
func RegisterModelaSystemServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterModelaSystemServiceHandler registers the http handlers for service ModelaSystemService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterModelaSystemServiceHandlerClient ¶ added in v0.4.687
func RegisterModelaSystemServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModelaSystemServiceClient) error
RegisterModelaSystemServiceHandlerClient registers the http handlers for service ModelaSystemService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ModelaSystemServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ModelaSystemServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ModelaSystemServiceClient" to call the correct interceptors.
func RegisterModelaSystemServiceHandlerFromEndpoint ¶ added in v0.4.687
func RegisterModelaSystemServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterModelaSystemServiceHandlerFromEndpoint is same as RegisterModelaSystemServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterModelaSystemServiceHandlerServer ¶ added in v0.4.687
func RegisterModelaSystemServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModelaSystemServiceServer) error
RegisterModelaSystemServiceHandlerServer registers the http handlers for service ModelaSystemService to "mux". UnaryRPC :call ModelaSystemServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterModelaSystemServiceHandlerFromEndpoint instead.
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 CreateModelaSystemRequest ¶
type CreateModelaSystemRequest struct { Modelasystem *v1alpha1.ModelaSystem `protobuf:"bytes,1,opt,name=modelasystem,proto3" json:"modelasystem,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CreateModelaSystemRequest) Descriptor
deprecated
func (*CreateModelaSystemRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelaSystemRequest.ProtoReflect.Descriptor instead.
func (*CreateModelaSystemRequest) GetModelasystem ¶ added in v0.4.480
func (x *CreateModelaSystemRequest) GetModelasystem() *v1alpha1.ModelaSystem
func (*CreateModelaSystemRequest) GetPassword ¶
func (x *CreateModelaSystemRequest) GetPassword() string
func (*CreateModelaSystemRequest) ProtoMessage ¶
func (*CreateModelaSystemRequest) ProtoMessage()
func (*CreateModelaSystemRequest) ProtoReflect ¶
func (x *CreateModelaSystemRequest) ProtoReflect() protoreflect.Message
func (*CreateModelaSystemRequest) Reset ¶
func (x *CreateModelaSystemRequest) Reset()
func (*CreateModelaSystemRequest) String ¶
func (x *CreateModelaSystemRequest) String() string
type CreateModelaSystemResponse ¶
type CreateModelaSystemResponse struct {
// contains filtered or unexported fields
}
func (*CreateModelaSystemResponse) Descriptor
deprecated
func (*CreateModelaSystemResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelaSystemResponse.ProtoReflect.Descriptor instead.
func (*CreateModelaSystemResponse) ProtoMessage ¶
func (*CreateModelaSystemResponse) ProtoMessage()
func (*CreateModelaSystemResponse) ProtoReflect ¶
func (x *CreateModelaSystemResponse) ProtoReflect() protoreflect.Message
func (*CreateModelaSystemResponse) Reset ¶
func (x *CreateModelaSystemResponse) Reset()
func (*CreateModelaSystemResponse) String ¶
func (x *CreateModelaSystemResponse) String() string
type DeleteModelaSystemRequest ¶
type DeleteModelaSystemRequest 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 (*DeleteModelaSystemRequest) Descriptor
deprecated
func (*DeleteModelaSystemRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModelaSystemRequest.ProtoReflect.Descriptor instead.
func (*DeleteModelaSystemRequest) GetName ¶
func (x *DeleteModelaSystemRequest) GetName() string
func (*DeleteModelaSystemRequest) GetNamespace ¶
func (x *DeleteModelaSystemRequest) GetNamespace() string
func (*DeleteModelaSystemRequest) ProtoMessage ¶
func (*DeleteModelaSystemRequest) ProtoMessage()
func (*DeleteModelaSystemRequest) ProtoReflect ¶
func (x *DeleteModelaSystemRequest) ProtoReflect() protoreflect.Message
func (*DeleteModelaSystemRequest) Reset ¶
func (x *DeleteModelaSystemRequest) Reset()
func (*DeleteModelaSystemRequest) String ¶
func (x *DeleteModelaSystemRequest) String() string
type DeleteModelaSystemResponse ¶
type DeleteModelaSystemResponse struct {
// contains filtered or unexported fields
}
func (*DeleteModelaSystemResponse) Descriptor
deprecated
func (*DeleteModelaSystemResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModelaSystemResponse.ProtoReflect.Descriptor instead.
func (*DeleteModelaSystemResponse) ProtoMessage ¶
func (*DeleteModelaSystemResponse) ProtoMessage()
func (*DeleteModelaSystemResponse) ProtoReflect ¶
func (x *DeleteModelaSystemResponse) ProtoReflect() protoreflect.Message
func (*DeleteModelaSystemResponse) Reset ¶
func (x *DeleteModelaSystemResponse) Reset()
func (*DeleteModelaSystemResponse) String ¶
func (x *DeleteModelaSystemResponse) String() string
type DownloadLogFileRequest ¶
type DownloadLogFileRequest 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 }
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) 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 GetModelaSystemNamespacesRequest ¶
type GetModelaSystemNamespacesRequest 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 (*GetModelaSystemNamespacesRequest) Descriptor
deprecated
func (*GetModelaSystemNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelaSystemNamespacesRequest.ProtoReflect.Descriptor instead.
func (*GetModelaSystemNamespacesRequest) GetName ¶
func (x *GetModelaSystemNamespacesRequest) GetName() string
func (*GetModelaSystemNamespacesRequest) GetNamespace ¶
func (x *GetModelaSystemNamespacesRequest) GetNamespace() string
func (*GetModelaSystemNamespacesRequest) ProtoMessage ¶
func (*GetModelaSystemNamespacesRequest) ProtoMessage()
func (*GetModelaSystemNamespacesRequest) ProtoReflect ¶
func (x *GetModelaSystemNamespacesRequest) ProtoReflect() protoreflect.Message
func (*GetModelaSystemNamespacesRequest) Reset ¶
func (x *GetModelaSystemNamespacesRequest) Reset()
func (*GetModelaSystemNamespacesRequest) String ¶
func (x *GetModelaSystemNamespacesRequest) String() string
type GetModelaSystemNamespacesResponse ¶
type GetModelaSystemNamespacesResponse struct { Namespaces []*v1.NamespaceInfo `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*GetModelaSystemNamespacesResponse) Descriptor
deprecated
func (*GetModelaSystemNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModelaSystemNamespacesResponse.ProtoReflect.Descriptor instead.
func (*GetModelaSystemNamespacesResponse) GetNamespaces ¶
func (x *GetModelaSystemNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo
func (*GetModelaSystemNamespacesResponse) ProtoMessage ¶
func (*GetModelaSystemNamespacesResponse) ProtoMessage()
func (*GetModelaSystemNamespacesResponse) ProtoReflect ¶
func (x *GetModelaSystemNamespacesResponse) ProtoReflect() protoreflect.Message
func (*GetModelaSystemNamespacesResponse) Reset ¶
func (x *GetModelaSystemNamespacesResponse) Reset()
func (*GetModelaSystemNamespacesResponse) String ¶
func (x *GetModelaSystemNamespacesResponse) String() string
type GetModelaSystemRequest ¶
type GetModelaSystemRequest 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 (*GetModelaSystemRequest) Descriptor
deprecated
func (*GetModelaSystemRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelaSystemRequest.ProtoReflect.Descriptor instead.
func (*GetModelaSystemRequest) GetName ¶
func (x *GetModelaSystemRequest) GetName() string
func (*GetModelaSystemRequest) GetNamespace ¶
func (x *GetModelaSystemRequest) GetNamespace() string
func (*GetModelaSystemRequest) ProtoMessage ¶
func (*GetModelaSystemRequest) ProtoMessage()
func (*GetModelaSystemRequest) ProtoReflect ¶
func (x *GetModelaSystemRequest) ProtoReflect() protoreflect.Message
func (*GetModelaSystemRequest) Reset ¶
func (x *GetModelaSystemRequest) Reset()
func (*GetModelaSystemRequest) String ¶
func (x *GetModelaSystemRequest) String() string
type GetModelaSystemResponse ¶
type GetModelaSystemResponse struct { Modelasystem *v1alpha1.ModelaSystem `protobuf:"bytes,1,opt,name=modelasystem,proto3" json:"modelasystem,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*GetModelaSystemResponse) Descriptor
deprecated
func (*GetModelaSystemResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModelaSystemResponse.ProtoReflect.Descriptor instead.
func (*GetModelaSystemResponse) GetModelasystem ¶ added in v0.4.480
func (x *GetModelaSystemResponse) GetModelasystem() *v1alpha1.ModelaSystem
func (*GetModelaSystemResponse) GetYaml ¶
func (x *GetModelaSystemResponse) GetYaml() string
func (*GetModelaSystemResponse) ProtoMessage ¶
func (*GetModelaSystemResponse) ProtoMessage()
func (*GetModelaSystemResponse) ProtoReflect ¶
func (x *GetModelaSystemResponse) ProtoReflect() protoreflect.Message
func (*GetModelaSystemResponse) Reset ¶
func (x *GetModelaSystemResponse) Reset()
func (*GetModelaSystemResponse) String ¶
func (x *GetModelaSystemResponse) String() string
type ListModelaSystemsRequest ¶
type ListModelaSystemsRequest 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 (*ListModelaSystemsRequest) Descriptor
deprecated
func (*ListModelaSystemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModelaSystemsRequest.ProtoReflect.Descriptor instead.
func (*ListModelaSystemsRequest) GetLabels ¶
func (x *ListModelaSystemsRequest) GetLabels() map[string]string
func (*ListModelaSystemsRequest) GetNamespace ¶
func (x *ListModelaSystemsRequest) GetNamespace() string
func (*ListModelaSystemsRequest) ProtoMessage ¶
func (*ListModelaSystemsRequest) ProtoMessage()
func (*ListModelaSystemsRequest) ProtoReflect ¶
func (x *ListModelaSystemsRequest) ProtoReflect() protoreflect.Message
func (*ListModelaSystemsRequest) Reset ¶
func (x *ListModelaSystemsRequest) Reset()
func (*ListModelaSystemsRequest) String ¶
func (x *ListModelaSystemsRequest) String() string
type ListModelaSystemsResponse ¶
type ListModelaSystemsResponse struct { Modelasystems *v1alpha1.ModelaSystemList `protobuf:"bytes,1,opt,name=modelasystems,proto3" json:"modelasystems,omitempty"` // contains filtered or unexported fields }
func (*ListModelaSystemsResponse) Descriptor
deprecated
func (*ListModelaSystemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListModelaSystemsResponse.ProtoReflect.Descriptor instead.
func (*ListModelaSystemsResponse) GetModelasystems ¶ added in v0.4.480
func (x *ListModelaSystemsResponse) GetModelasystems() *v1alpha1.ModelaSystemList
func (*ListModelaSystemsResponse) ProtoMessage ¶
func (*ListModelaSystemsResponse) ProtoMessage()
func (*ListModelaSystemsResponse) ProtoReflect ¶
func (x *ListModelaSystemsResponse) ProtoReflect() protoreflect.Message
func (*ListModelaSystemsResponse) Reset ¶
func (x *ListModelaSystemsResponse) Reset()
func (*ListModelaSystemsResponse) String ¶
func (x *ListModelaSystemsResponse) String() string
type LogoutResponse ¶
type LogoutResponse struct {
// contains filtered or unexported fields
}
func (*LogoutResponse) Descriptor
deprecated
func (*LogoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.
func (*LogoutResponse) ProtoMessage ¶
func (*LogoutResponse) ProtoMessage()
func (*LogoutResponse) ProtoReflect ¶
func (x *LogoutResponse) ProtoReflect() protoreflect.Message
func (*LogoutResponse) Reset ¶
func (x *LogoutResponse) Reset()
func (*LogoutResponse) String ¶
func (x *LogoutResponse) String() string
type ModelaSystemCreateResponse ¶
type ModelaSystemCreateResponse struct {
// contains filtered or unexported fields
}
func (*ModelaSystemCreateResponse) Descriptor
deprecated
func (*ModelaSystemCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModelaSystemCreateResponse.ProtoReflect.Descriptor instead.
func (*ModelaSystemCreateResponse) ProtoMessage ¶
func (*ModelaSystemCreateResponse) ProtoMessage()
func (*ModelaSystemCreateResponse) ProtoReflect ¶
func (x *ModelaSystemCreateResponse) ProtoReflect() protoreflect.Message
func (*ModelaSystemCreateResponse) Reset ¶
func (x *ModelaSystemCreateResponse) Reset()
func (*ModelaSystemCreateResponse) String ¶
func (x *ModelaSystemCreateResponse) String() string
type ModelaSystemGetByNameRequest ¶
type ModelaSystemGetByNameRequest 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 (*ModelaSystemGetByNameRequest) Descriptor
deprecated
func (*ModelaSystemGetByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModelaSystemGetByNameRequest.ProtoReflect.Descriptor instead.
func (*ModelaSystemGetByNameRequest) GetName ¶
func (x *ModelaSystemGetByNameRequest) GetName() string
func (*ModelaSystemGetByNameRequest) GetNamespace ¶
func (x *ModelaSystemGetByNameRequest) GetNamespace() string
func (*ModelaSystemGetByNameRequest) ProtoMessage ¶
func (*ModelaSystemGetByNameRequest) ProtoMessage()
func (*ModelaSystemGetByNameRequest) ProtoReflect ¶
func (x *ModelaSystemGetByNameRequest) ProtoReflect() protoreflect.Message
func (*ModelaSystemGetByNameRequest) Reset ¶
func (x *ModelaSystemGetByNameRequest) Reset()
func (*ModelaSystemGetByNameRequest) String ¶
func (x *ModelaSystemGetByNameRequest) String() string
type ModelaSystemLogoutRequest ¶
type ModelaSystemLogoutRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // jwt token // contains filtered or unexported fields }
func (*ModelaSystemLogoutRequest) Descriptor
deprecated
func (*ModelaSystemLogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModelaSystemLogoutRequest.ProtoReflect.Descriptor instead.
func (*ModelaSystemLogoutRequest) GetToken ¶
func (x *ModelaSystemLogoutRequest) GetToken() string
func (*ModelaSystemLogoutRequest) ProtoMessage ¶
func (*ModelaSystemLogoutRequest) ProtoMessage()
func (*ModelaSystemLogoutRequest) ProtoReflect ¶
func (x *ModelaSystemLogoutRequest) ProtoReflect() protoreflect.Message
func (*ModelaSystemLogoutRequest) Reset ¶
func (x *ModelaSystemLogoutRequest) Reset()
func (*ModelaSystemLogoutRequest) String ¶
func (x *ModelaSystemLogoutRequest) String() string
type ModelaSystemResponse ¶
type ModelaSystemResponse struct {
// contains filtered or unexported fields
}
func (*ModelaSystemResponse) Descriptor
deprecated
func (*ModelaSystemResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModelaSystemResponse.ProtoReflect.Descriptor instead.
func (*ModelaSystemResponse) ProtoMessage ¶
func (*ModelaSystemResponse) ProtoMessage()
func (*ModelaSystemResponse) ProtoReflect ¶
func (x *ModelaSystemResponse) ProtoReflect() protoreflect.Message
func (*ModelaSystemResponse) Reset ¶
func (x *ModelaSystemResponse) Reset()
func (*ModelaSystemResponse) String ¶
func (x *ModelaSystemResponse) String() string
type ModelaSystemServiceClient ¶
type ModelaSystemServiceClient interface { ListModelaSystems(ctx context.Context, in *ListModelaSystemsRequest, opts ...grpc.CallOption) (*ListModelaSystemsResponse, error) CreateModelaSystem(ctx context.Context, in *CreateModelaSystemRequest, opts ...grpc.CallOption) (*CreateModelaSystemResponse, error) GetModelaSystem(ctx context.Context, in *GetModelaSystemRequest, opts ...grpc.CallOption) (*GetModelaSystemResponse, error) UpdateModelaSystem(ctx context.Context, in *UpdateModelaSystemRequest, opts ...grpc.CallOption) (*UpdateModelaSystemResponse, error) DeleteModelaSystem(ctx context.Context, in *DeleteModelaSystemRequest, opts ...grpc.CallOption) (*DeleteModelaSystemResponse, error) 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.
func NewModelaSystemServiceClient ¶
func NewModelaSystemServiceClient(cc grpc.ClientConnInterface) ModelaSystemServiceClient
type ModelaSystemServiceServer ¶
type ModelaSystemServiceServer interface { ListModelaSystems(context.Context, *ListModelaSystemsRequest) (*ListModelaSystemsResponse, error) CreateModelaSystem(context.Context, *CreateModelaSystemRequest) (*CreateModelaSystemResponse, error) GetModelaSystem(context.Context, *GetModelaSystemRequest) (*GetModelaSystemResponse, error) UpdateModelaSystem(context.Context, *UpdateModelaSystemRequest) (*UpdateModelaSystemResponse, error) DeleteModelaSystem(context.Context, *DeleteModelaSystemRequest) (*DeleteModelaSystemResponse, error) 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 ResetPasswordResponse ¶
type ResetPasswordResponse struct {
// contains filtered or unexported fields
}
func (*ResetPasswordResponse) Descriptor
deprecated
func (*ResetPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.
func (*ResetPasswordResponse) ProtoMessage ¶
func (*ResetPasswordResponse) ProtoMessage()
func (*ResetPasswordResponse) ProtoReflect ¶
func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message
func (*ResetPasswordResponse) Reset ¶
func (x *ResetPasswordResponse) Reset()
func (*ResetPasswordResponse) String ¶
func (x *ResetPasswordResponse) String() string
type UnimplementedModelaSystemServiceServer ¶
type UnimplementedModelaSystemServiceServer struct { }
UnimplementedModelaSystemServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedModelaSystemServiceServer) BackupDatabase ¶
func (UnimplementedModelaSystemServiceServer) BackupDatabase(context.Context, *BackupDatabaseRequest) (*BackupDatabaseResponse, error)
func (UnimplementedModelaSystemServiceServer) BackupEtcd ¶
func (UnimplementedModelaSystemServiceServer) BackupEtcd(context.Context, *BackupEtcdRequest) (*BackupEtcdResponse, error)
func (UnimplementedModelaSystemServiceServer) CreateModelaSystem ¶
func (UnimplementedModelaSystemServiceServer) CreateModelaSystem(context.Context, *CreateModelaSystemRequest) (*CreateModelaSystemResponse, error)
func (UnimplementedModelaSystemServiceServer) DeleteModelaSystem ¶
func (UnimplementedModelaSystemServiceServer) DeleteModelaSystem(context.Context, *DeleteModelaSystemRequest) (*DeleteModelaSystemResponse, error)
func (UnimplementedModelaSystemServiceServer) DownloadLogfile ¶
func (UnimplementedModelaSystemServiceServer) DownloadLogfile(context.Context, *DownloadLogFileRequest) (*DownloadLogFileResponse, error)
func (UnimplementedModelaSystemServiceServer) GetModelaSystem ¶
func (UnimplementedModelaSystemServiceServer) GetModelaSystem(context.Context, *GetModelaSystemRequest) (*GetModelaSystemResponse, error)
func (UnimplementedModelaSystemServiceServer) ListModelaSystems ¶
func (UnimplementedModelaSystemServiceServer) ListModelaSystems(context.Context, *ListModelaSystemsRequest) (*ListModelaSystemsResponse, error)
func (UnimplementedModelaSystemServiceServer) UpdateModelaSystem ¶
func (UnimplementedModelaSystemServiceServer) UpdateModelaSystem(context.Context, *UpdateModelaSystemRequest) (*UpdateModelaSystemResponse, error)
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.
type UpdateModelaSystemRequest ¶
type UpdateModelaSystemRequest struct { Modelasystem *v1alpha1.ModelaSystem `protobuf:"bytes,1,opt,name=modelasystem,proto3" json:"modelasystem,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 (*UpdateModelaSystemRequest) Descriptor
deprecated
func (*UpdateModelaSystemRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModelaSystemRequest.ProtoReflect.Descriptor instead.
func (*UpdateModelaSystemRequest) GetFieldMask ¶ added in v0.4.489
func (x *UpdateModelaSystemRequest) GetFieldMask() *field_mask.FieldMask
func (*UpdateModelaSystemRequest) GetModelasystem ¶ added in v0.4.480
func (x *UpdateModelaSystemRequest) GetModelasystem() *v1alpha1.ModelaSystem
func (*UpdateModelaSystemRequest) ProtoMessage ¶
func (*UpdateModelaSystemRequest) ProtoMessage()
func (*UpdateModelaSystemRequest) ProtoReflect ¶
func (x *UpdateModelaSystemRequest) ProtoReflect() protoreflect.Message
func (*UpdateModelaSystemRequest) Reset ¶
func (x *UpdateModelaSystemRequest) Reset()
func (*UpdateModelaSystemRequest) String ¶
func (x *UpdateModelaSystemRequest) String() string
type UpdateModelaSystemResponse ¶
type UpdateModelaSystemResponse struct {
// contains filtered or unexported fields
}
func (*UpdateModelaSystemResponse) Descriptor
deprecated
func (*UpdateModelaSystemResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModelaSystemResponse.ProtoReflect.Descriptor instead.
func (*UpdateModelaSystemResponse) ProtoMessage ¶
func (*UpdateModelaSystemResponse) ProtoMessage()
func (*UpdateModelaSystemResponse) ProtoReflect ¶
func (x *UpdateModelaSystemResponse) ProtoReflect() protoreflect.Message
func (*UpdateModelaSystemResponse) Reset ¶
func (x *UpdateModelaSystemResponse) Reset()
func (*UpdateModelaSystemResponse) String ¶
func (x *UpdateModelaSystemResponse) String() string