Documentation ¶
Overview ¶
Package localv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterLocalServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterLocalServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LocalServiceClient) error
- func RegisterLocalServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterLocalServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LocalServiceServer) error
- func RegisterLocalServiceServer(s grpc.ServiceRegistrar, srv LocalServiceServer)
- type DeployProjectRequest
- func (*DeployProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployProjectRequest) GetOrg() string
- func (x *DeployProjectRequest) GetProjectName() string
- func (x *DeployProjectRequest) GetUpload() bool
- func (*DeployProjectRequest) ProtoMessage()
- func (x *DeployProjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeployProjectRequest) Reset()
- func (x *DeployProjectRequest) String() string
- func (m *DeployProjectRequest) Validate() error
- func (m *DeployProjectRequest) ValidateAll() error
- type DeployProjectRequestMultiError
- type DeployProjectRequestValidationError
- func (e DeployProjectRequestValidationError) Cause() error
- func (e DeployProjectRequestValidationError) Error() string
- func (e DeployProjectRequestValidationError) ErrorName() string
- func (e DeployProjectRequestValidationError) Field() string
- func (e DeployProjectRequestValidationError) Key() bool
- func (e DeployProjectRequestValidationError) Reason() string
- type DeployProjectResponse
- func (*DeployProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeployProjectResponse) GetDeployId() string
- func (x *DeployProjectResponse) GetFrontendUrl() string
- func (x *DeployProjectResponse) GetOrg() string
- func (x *DeployProjectResponse) GetProject() string
- func (*DeployProjectResponse) ProtoMessage()
- func (x *DeployProjectResponse) ProtoReflect() protoreflect.Message
- func (x *DeployProjectResponse) Reset()
- func (x *DeployProjectResponse) String() string
- func (m *DeployProjectResponse) Validate() error
- func (m *DeployProjectResponse) ValidateAll() error
- type DeployProjectResponseMultiError
- type DeployProjectResponseValidationError
- func (e DeployProjectResponseValidationError) Cause() error
- func (e DeployProjectResponseValidationError) Error() string
- func (e DeployProjectResponseValidationError) ErrorName() string
- func (e DeployProjectResponseValidationError) Field() string
- func (e DeployProjectResponseValidationError) Key() bool
- func (e DeployProjectResponseValidationError) Reason() string
- type DeployValidationRequest
- func (*DeployValidationRequest) Descriptor() ([]byte, []int)deprecated
- func (*DeployValidationRequest) ProtoMessage()
- func (x *DeployValidationRequest) ProtoReflect() protoreflect.Message
- func (x *DeployValidationRequest) Reset()
- func (x *DeployValidationRequest) String() string
- func (m *DeployValidationRequest) Validate() error
- func (m *DeployValidationRequest) ValidateAll() error
- type DeployValidationRequestMultiError
- type DeployValidationRequestValidationError
- func (e DeployValidationRequestValidationError) Cause() error
- func (e DeployValidationRequestValidationError) Error() string
- func (e DeployValidationRequestValidationError) ErrorName() string
- func (e DeployValidationRequestValidationError) Field() string
- func (e DeployValidationRequestValidationError) Key() bool
- func (e DeployValidationRequestValidationError) Reason() string
- type DeployValidationResponse
- func (*DeployValidationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeployValidationResponse) GetDeployedProjectId() string
- func (x *DeployValidationResponse) GetGithubGrantAccessUrl() string
- func (x *DeployValidationResponse) GetGithubOrganizationPermissions() map[string]v1.GithubPermission
- func (x *DeployValidationResponse) GetGithubUrl() string
- func (x *DeployValidationResponse) GetGithubUserName() string
- func (x *DeployValidationResponse) GetGithubUserPermission() v1.GithubPermission
- func (x *DeployValidationResponse) GetHasUncommittedChanges() bool
- func (x *DeployValidationResponse) GetIsAuthenticated() bool
- func (x *DeployValidationResponse) GetIsGithubConnected() bool
- func (x *DeployValidationResponse) GetIsGithubRemoteFound() bool
- func (x *DeployValidationResponse) GetIsGithubRepo() bool
- func (x *DeployValidationResponse) GetIsGithubRepoAccessGranted() bool
- func (x *DeployValidationResponse) GetLocalProjectName() string
- func (x *DeployValidationResponse) GetLoginUrl() string
- func (x *DeployValidationResponse) GetRillOrgExistsAsGithubUserName() bool
- func (x *DeployValidationResponse) GetRillUserOrgs() []string
- func (*DeployValidationResponse) ProtoMessage()
- func (x *DeployValidationResponse) ProtoReflect() protoreflect.Message
- func (x *DeployValidationResponse) Reset()
- func (x *DeployValidationResponse) String() string
- func (m *DeployValidationResponse) Validate() error
- func (m *DeployValidationResponse) ValidateAll() error
- type DeployValidationResponseMultiError
- type DeployValidationResponseValidationError
- func (e DeployValidationResponseValidationError) Cause() error
- func (e DeployValidationResponseValidationError) Error() string
- func (e DeployValidationResponseValidationError) ErrorName() string
- func (e DeployValidationResponseValidationError) Field() string
- func (e DeployValidationResponseValidationError) Key() bool
- func (e DeployValidationResponseValidationError) Reason() string
- type GetCurrentUserRequest
- func (*GetCurrentUserRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetCurrentUserRequest) ProtoMessage()
- func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetCurrentUserRequest) Reset()
- func (x *GetCurrentUserRequest) String() string
- func (m *GetCurrentUserRequest) Validate() error
- func (m *GetCurrentUserRequest) ValidateAll() error
- type GetCurrentUserRequestMultiError
- type GetCurrentUserRequestValidationError
- func (e GetCurrentUserRequestValidationError) Cause() error
- func (e GetCurrentUserRequestValidationError) Error() string
- func (e GetCurrentUserRequestValidationError) ErrorName() string
- func (e GetCurrentUserRequestValidationError) Field() string
- func (e GetCurrentUserRequestValidationError) Key() bool
- func (e GetCurrentUserRequestValidationError) Reason() string
- type GetCurrentUserResponse
- func (*GetCurrentUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCurrentUserResponse) GetUser() *v1.User
- func (*GetCurrentUserResponse) ProtoMessage()
- func (x *GetCurrentUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetCurrentUserResponse) Reset()
- func (x *GetCurrentUserResponse) String() string
- func (m *GetCurrentUserResponse) Validate() error
- func (m *GetCurrentUserResponse) ValidateAll() error
- type GetCurrentUserResponseMultiError
- type GetCurrentUserResponseValidationError
- func (e GetCurrentUserResponseValidationError) Cause() error
- func (e GetCurrentUserResponseValidationError) Error() string
- func (e GetCurrentUserResponseValidationError) ErrorName() string
- func (e GetCurrentUserResponseValidationError) Field() string
- func (e GetCurrentUserResponseValidationError) Key() bool
- func (e GetCurrentUserResponseValidationError) Reason() string
- type GetMetadataRequest
- func (*GetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetMetadataRequest) ProtoMessage()
- func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetMetadataRequest) Reset()
- func (x *GetMetadataRequest) String() string
- func (m *GetMetadataRequest) Validate() error
- func (m *GetMetadataRequest) ValidateAll() error
- type GetMetadataRequestMultiError
- type GetMetadataRequestValidationError
- func (e GetMetadataRequestValidationError) Cause() error
- func (e GetMetadataRequestValidationError) Error() string
- func (e GetMetadataRequestValidationError) ErrorName() string
- func (e GetMetadataRequestValidationError) Field() string
- func (e GetMetadataRequestValidationError) Key() bool
- func (e GetMetadataRequestValidationError) Reason() string
- type GetMetadataResponse
- func (*GetMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadataResponse) GetAnalyticsEnabled() bool
- func (x *GetMetadataResponse) GetBuildCommit() string
- func (x *GetMetadataResponse) GetBuildTime() string
- func (x *GetMetadataResponse) GetGrpcPort() int32
- func (x *GetMetadataResponse) GetInstallId() string
- func (x *GetMetadataResponse) GetInstanceId() string
- func (x *GetMetadataResponse) GetIsDev() bool
- func (x *GetMetadataResponse) GetProjectPath() string
- func (x *GetMetadataResponse) GetReadonly() bool
- func (x *GetMetadataResponse) GetUserId() string
- func (x *GetMetadataResponse) GetVersion() string
- func (*GetMetadataResponse) ProtoMessage()
- func (x *GetMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *GetMetadataResponse) Reset()
- func (x *GetMetadataResponse) String() string
- func (m *GetMetadataResponse) Validate() error
- func (m *GetMetadataResponse) ValidateAll() error
- type GetMetadataResponseMultiError
- type GetMetadataResponseValidationError
- func (e GetMetadataResponseValidationError) Cause() error
- func (e GetMetadataResponseValidationError) Error() string
- func (e GetMetadataResponseValidationError) ErrorName() string
- func (e GetMetadataResponseValidationError) Field() string
- func (e GetMetadataResponseValidationError) Key() bool
- func (e GetMetadataResponseValidationError) Reason() string
- type GetVersionRequest
- func (*GetVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetVersionRequest) ProtoMessage()
- func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetVersionRequest) Reset()
- func (x *GetVersionRequest) String() string
- func (m *GetVersionRequest) Validate() error
- func (m *GetVersionRequest) ValidateAll() error
- type GetVersionRequestMultiError
- type GetVersionRequestValidationError
- func (e GetVersionRequestValidationError) Cause() error
- func (e GetVersionRequestValidationError) Error() string
- func (e GetVersionRequestValidationError) ErrorName() string
- func (e GetVersionRequestValidationError) Field() string
- func (e GetVersionRequestValidationError) Key() bool
- func (e GetVersionRequestValidationError) Reason() string
- type GetVersionResponse
- func (*GetVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVersionResponse) GetCurrent() string
- func (x *GetVersionResponse) GetLatest() string
- func (*GetVersionResponse) ProtoMessage()
- func (x *GetVersionResponse) ProtoReflect() protoreflect.Message
- func (x *GetVersionResponse) Reset()
- func (x *GetVersionResponse) String() string
- func (m *GetVersionResponse) Validate() error
- func (m *GetVersionResponse) ValidateAll() error
- type GetVersionResponseMultiError
- type GetVersionResponseValidationError
- func (e GetVersionResponseValidationError) Cause() error
- func (e GetVersionResponseValidationError) Error() string
- func (e GetVersionResponseValidationError) ErrorName() string
- func (e GetVersionResponseValidationError) Field() string
- func (e GetVersionResponseValidationError) Key() bool
- func (e GetVersionResponseValidationError) Reason() string
- type LocalServiceClient
- type LocalServiceServer
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)deprecated
- func (*PingRequest) ProtoMessage()
- func (x *PingRequest) ProtoReflect() protoreflect.Message
- func (x *PingRequest) Reset()
- func (x *PingRequest) String() string
- func (m *PingRequest) Validate() error
- func (m *PingRequest) ValidateAll() error
- type PingRequestMultiError
- type PingRequestValidationError
- func (e PingRequestValidationError) Cause() error
- func (e PingRequestValidationError) Error() string
- func (e PingRequestValidationError) ErrorName() string
- func (e PingRequestValidationError) Field() string
- func (e PingRequestValidationError) Key() bool
- func (e PingRequestValidationError) Reason() string
- type PingResponse
- func (*PingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PingResponse) GetTime() *timestamppb.Timestamp
- func (*PingResponse) ProtoMessage()
- func (x *PingResponse) ProtoReflect() protoreflect.Message
- func (x *PingResponse) Reset()
- func (x *PingResponse) String() string
- func (m *PingResponse) Validate() error
- func (m *PingResponse) ValidateAll() error
- type PingResponseMultiError
- type PingResponseValidationError
- func (e PingResponseValidationError) Cause() error
- func (e PingResponseValidationError) Error() string
- func (e PingResponseValidationError) ErrorName() string
- func (e PingResponseValidationError) Field() string
- func (e PingResponseValidationError) Key() bool
- func (e PingResponseValidationError) Reason() string
- type PushToGithubRequest
- func (*PushToGithubRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushToGithubRequest) GetAccount() string
- func (x *PushToGithubRequest) GetRepo() string
- func (*PushToGithubRequest) ProtoMessage()
- func (x *PushToGithubRequest) ProtoReflect() protoreflect.Message
- func (x *PushToGithubRequest) Reset()
- func (x *PushToGithubRequest) String() string
- func (m *PushToGithubRequest) Validate() error
- func (m *PushToGithubRequest) ValidateAll() error
- type PushToGithubRequestMultiError
- type PushToGithubRequestValidationError
- func (e PushToGithubRequestValidationError) Cause() error
- func (e PushToGithubRequestValidationError) Error() string
- func (e PushToGithubRequestValidationError) ErrorName() string
- func (e PushToGithubRequestValidationError) Field() string
- func (e PushToGithubRequestValidationError) Key() bool
- func (e PushToGithubRequestValidationError) Reason() string
- type PushToGithubResponse
- func (*PushToGithubResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PushToGithubResponse) GetAccount() string
- func (x *PushToGithubResponse) GetGithubUrl() string
- func (x *PushToGithubResponse) GetRepo() string
- func (*PushToGithubResponse) ProtoMessage()
- func (x *PushToGithubResponse) ProtoReflect() protoreflect.Message
- func (x *PushToGithubResponse) Reset()
- func (x *PushToGithubResponse) String() string
- func (m *PushToGithubResponse) Validate() error
- func (m *PushToGithubResponse) ValidateAll() error
- type PushToGithubResponseMultiError
- type PushToGithubResponseValidationError
- func (e PushToGithubResponseValidationError) Cause() error
- func (e PushToGithubResponseValidationError) Error() string
- func (e PushToGithubResponseValidationError) ErrorName() string
- func (e PushToGithubResponseValidationError) Field() string
- func (e PushToGithubResponseValidationError) Key() bool
- func (e PushToGithubResponseValidationError) Reason() string
- type RedeployProjectRequest
- func (*RedeployProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RedeployProjectRequest) GetProjectId() string
- func (x *RedeployProjectRequest) GetReupload() bool
- func (*RedeployProjectRequest) ProtoMessage()
- func (x *RedeployProjectRequest) ProtoReflect() protoreflect.Message
- func (x *RedeployProjectRequest) Reset()
- func (x *RedeployProjectRequest) String() string
- func (m *RedeployProjectRequest) Validate() error
- func (m *RedeployProjectRequest) ValidateAll() error
- type RedeployProjectRequestMultiError
- type RedeployProjectRequestValidationError
- func (e RedeployProjectRequestValidationError) Cause() error
- func (e RedeployProjectRequestValidationError) Error() string
- func (e RedeployProjectRequestValidationError) ErrorName() string
- func (e RedeployProjectRequestValidationError) Field() string
- func (e RedeployProjectRequestValidationError) Key() bool
- func (e RedeployProjectRequestValidationError) Reason() string
- type RedeployProjectResponse
- func (*RedeployProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (*RedeployProjectResponse) ProtoMessage()
- func (x *RedeployProjectResponse) ProtoReflect() protoreflect.Message
- func (x *RedeployProjectResponse) Reset()
- func (x *RedeployProjectResponse) String() string
- func (m *RedeployProjectResponse) Validate() error
- func (m *RedeployProjectResponse) ValidateAll() error
- type RedeployProjectResponseMultiError
- type RedeployProjectResponseValidationError
- func (e RedeployProjectResponseValidationError) Cause() error
- func (e RedeployProjectResponseValidationError) Error() string
- func (e RedeployProjectResponseValidationError) ErrorName() string
- func (e RedeployProjectResponseValidationError) Field() string
- func (e RedeployProjectResponseValidationError) Key() bool
- func (e RedeployProjectResponseValidationError) Reason() string
- type UnimplementedLocalServiceServer
- func (UnimplementedLocalServiceServer) DeployProject(context.Context, *DeployProjectRequest) (*DeployProjectResponse, error)
- func (UnimplementedLocalServiceServer) DeployValidation(context.Context, *DeployValidationRequest) (*DeployValidationResponse, error)
- func (UnimplementedLocalServiceServer) GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserResponse, error)
- func (UnimplementedLocalServiceServer) GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error)
- func (UnimplementedLocalServiceServer) GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
- func (UnimplementedLocalServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedLocalServiceServer) PushToGithub(context.Context, *PushToGithubRequest) (*PushToGithubResponse, error)
- func (UnimplementedLocalServiceServer) RedeployProject(context.Context, *RedeployProjectRequest) (*RedeployProjectResponse, error)
- type UnsafeLocalServiceServer
Constants ¶
const ( LocalService_Ping_FullMethodName = "/rill.local.v1.LocalService/Ping" LocalService_GetMetadata_FullMethodName = "/rill.local.v1.LocalService/GetMetadata" LocalService_GetVersion_FullMethodName = "/rill.local.v1.LocalService/GetVersion" LocalService_DeployValidation_FullMethodName = "/rill.local.v1.LocalService/DeployValidation" LocalService_PushToGithub_FullMethodName = "/rill.local.v1.LocalService/PushToGithub" LocalService_DeployProject_FullMethodName = "/rill.local.v1.LocalService/DeployProject" LocalService_RedeployProject_FullMethodName = "/rill.local.v1.LocalService/RedeployProject" LocalService_GetCurrentUser_FullMethodName = "/rill.local.v1.LocalService/GetCurrentUser" )
Variables ¶
var File_rill_local_v1_api_proto protoreflect.FileDescriptor
var LocalService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "rill.local.v1.LocalService", HandlerType: (*LocalServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _LocalService_Ping_Handler, }, { MethodName: "GetMetadata", Handler: _LocalService_GetMetadata_Handler, }, { MethodName: "GetVersion", Handler: _LocalService_GetVersion_Handler, }, { MethodName: "DeployValidation", Handler: _LocalService_DeployValidation_Handler, }, { MethodName: "PushToGithub", Handler: _LocalService_PushToGithub_Handler, }, { MethodName: "DeployProject", Handler: _LocalService_DeployProject_Handler, }, { MethodName: "RedeployProject", Handler: _LocalService_RedeployProject_Handler, }, { MethodName: "GetCurrentUser", Handler: _LocalService_GetCurrentUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "rill/local/v1/api.proto", }
LocalService_ServiceDesc is the grpc.ServiceDesc for LocalService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLocalServiceHandler ¶
func RegisterLocalServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterLocalServiceHandler registers the http handlers for service LocalService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterLocalServiceHandlerClient ¶
func RegisterLocalServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LocalServiceClient) error
RegisterLocalServiceHandlerClient registers the http handlers for service LocalService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LocalServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LocalServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LocalServiceClient" to call the correct interceptors.
func RegisterLocalServiceHandlerFromEndpoint ¶
func RegisterLocalServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterLocalServiceHandlerFromEndpoint is same as RegisterLocalServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterLocalServiceHandlerServer ¶
func RegisterLocalServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LocalServiceServer) error
RegisterLocalServiceHandlerServer registers the http handlers for service LocalService to "mux". UnaryRPC :call LocalServiceServer 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 RegisterLocalServiceHandlerFromEndpoint instead.
func RegisterLocalServiceServer ¶
func RegisterLocalServiceServer(s grpc.ServiceRegistrar, srv LocalServiceServer)
Types ¶
type DeployProjectRequest ¶ added in v0.47.0
type DeployProjectRequest struct { Org string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` ProjectName string `protobuf:"bytes,2,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` Upload bool `protobuf:"varint,3,opt,name=upload,proto3" json:"upload,omitempty"` // contains filtered or unexported fields }
func (*DeployProjectRequest) Descriptor
deprecated
added in
v0.47.0
func (*DeployProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployProjectRequest.ProtoReflect.Descriptor instead.
func (*DeployProjectRequest) GetOrg ¶ added in v0.47.0
func (x *DeployProjectRequest) GetOrg() string
func (*DeployProjectRequest) GetProjectName ¶ added in v0.47.0
func (x *DeployProjectRequest) GetProjectName() string
func (*DeployProjectRequest) GetUpload ¶ added in v0.47.0
func (x *DeployProjectRequest) GetUpload() bool
func (*DeployProjectRequest) ProtoMessage ¶ added in v0.47.0
func (*DeployProjectRequest) ProtoMessage()
func (*DeployProjectRequest) ProtoReflect ¶ added in v0.47.0
func (x *DeployProjectRequest) ProtoReflect() protoreflect.Message
func (*DeployProjectRequest) Reset ¶ added in v0.47.0
func (x *DeployProjectRequest) Reset()
func (*DeployProjectRequest) String ¶ added in v0.47.0
func (x *DeployProjectRequest) String() string
func (*DeployProjectRequest) Validate ¶ added in v0.47.0
func (m *DeployProjectRequest) Validate() error
Validate checks the field values on DeployProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeployProjectRequest) ValidateAll ¶ added in v0.47.0
func (m *DeployProjectRequest) ValidateAll() error
ValidateAll checks the field values on DeployProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeployProjectRequestMultiError, or nil if none found.
type DeployProjectRequestMultiError ¶ added in v0.47.0
type DeployProjectRequestMultiError []error
DeployProjectRequestMultiError is an error wrapping multiple validation errors returned by DeployProjectRequest.ValidateAll() if the designated constraints aren't met.
func (DeployProjectRequestMultiError) AllErrors ¶ added in v0.47.0
func (m DeployProjectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeployProjectRequestMultiError) Error ¶ added in v0.47.0
func (m DeployProjectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeployProjectRequestValidationError ¶ added in v0.47.0
type DeployProjectRequestValidationError struct {
// contains filtered or unexported fields
}
DeployProjectRequestValidationError is the validation error returned by DeployProjectRequest.Validate if the designated constraints aren't met.
func (DeployProjectRequestValidationError) Cause ¶ added in v0.47.0
func (e DeployProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (DeployProjectRequestValidationError) Error ¶ added in v0.47.0
func (e DeployProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeployProjectRequestValidationError) ErrorName ¶ added in v0.47.0
func (e DeployProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeployProjectRequestValidationError) Field ¶ added in v0.47.0
func (e DeployProjectRequestValidationError) Field() string
Field function returns field value.
func (DeployProjectRequestValidationError) Key ¶ added in v0.47.0
func (e DeployProjectRequestValidationError) Key() bool
Key function returns key value.
func (DeployProjectRequestValidationError) Reason ¶ added in v0.47.0
func (e DeployProjectRequestValidationError) Reason() string
Reason function returns reason value.
type DeployProjectResponse ¶ added in v0.47.0
type DeployProjectResponse struct { DeployId string `protobuf:"bytes,1,opt,name=deploy_id,json=deployId,proto3" json:"deploy_id,omitempty"` Org string `protobuf:"bytes,2,opt,name=org,proto3" json:"org,omitempty"` Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` FrontendUrl string `protobuf:"bytes,4,opt,name=frontend_url,json=frontendUrl,proto3" json:"frontend_url,omitempty"` // contains filtered or unexported fields }
func (*DeployProjectResponse) Descriptor
deprecated
added in
v0.47.0
func (*DeployProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployProjectResponse.ProtoReflect.Descriptor instead.
func (*DeployProjectResponse) GetDeployId ¶ added in v0.47.0
func (x *DeployProjectResponse) GetDeployId() string
func (*DeployProjectResponse) GetFrontendUrl ¶ added in v0.47.0
func (x *DeployProjectResponse) GetFrontendUrl() string
func (*DeployProjectResponse) GetOrg ¶ added in v0.47.0
func (x *DeployProjectResponse) GetOrg() string
func (*DeployProjectResponse) GetProject ¶ added in v0.47.0
func (x *DeployProjectResponse) GetProject() string
func (*DeployProjectResponse) ProtoMessage ¶ added in v0.47.0
func (*DeployProjectResponse) ProtoMessage()
func (*DeployProjectResponse) ProtoReflect ¶ added in v0.47.0
func (x *DeployProjectResponse) ProtoReflect() protoreflect.Message
func (*DeployProjectResponse) Reset ¶ added in v0.47.0
func (x *DeployProjectResponse) Reset()
func (*DeployProjectResponse) String ¶ added in v0.47.0
func (x *DeployProjectResponse) String() string
func (*DeployProjectResponse) Validate ¶ added in v0.47.0
func (m *DeployProjectResponse) Validate() error
Validate checks the field values on DeployProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeployProjectResponse) ValidateAll ¶ added in v0.47.0
func (m *DeployProjectResponse) ValidateAll() error
ValidateAll checks the field values on DeployProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeployProjectResponseMultiError, or nil if none found.
type DeployProjectResponseMultiError ¶ added in v0.47.0
type DeployProjectResponseMultiError []error
DeployProjectResponseMultiError is an error wrapping multiple validation errors returned by DeployProjectResponse.ValidateAll() if the designated constraints aren't met.
func (DeployProjectResponseMultiError) AllErrors ¶ added in v0.47.0
func (m DeployProjectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeployProjectResponseMultiError) Error ¶ added in v0.47.0
func (m DeployProjectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeployProjectResponseValidationError ¶ added in v0.47.0
type DeployProjectResponseValidationError struct {
// contains filtered or unexported fields
}
DeployProjectResponseValidationError is the validation error returned by DeployProjectResponse.Validate if the designated constraints aren't met.
func (DeployProjectResponseValidationError) Cause ¶ added in v0.47.0
func (e DeployProjectResponseValidationError) Cause() error
Cause function returns cause value.
func (DeployProjectResponseValidationError) Error ¶ added in v0.47.0
func (e DeployProjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeployProjectResponseValidationError) ErrorName ¶ added in v0.47.0
func (e DeployProjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeployProjectResponseValidationError) Field ¶ added in v0.47.0
func (e DeployProjectResponseValidationError) Field() string
Field function returns field value.
func (DeployProjectResponseValidationError) Key ¶ added in v0.47.0
func (e DeployProjectResponseValidationError) Key() bool
Key function returns key value.
func (DeployProjectResponseValidationError) Reason ¶ added in v0.47.0
func (e DeployProjectResponseValidationError) Reason() string
Reason function returns reason value.
type DeployValidationRequest ¶ added in v0.47.0
type DeployValidationRequest struct {
// contains filtered or unexported fields
}
func (*DeployValidationRequest) Descriptor
deprecated
added in
v0.47.0
func (*DeployValidationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployValidationRequest.ProtoReflect.Descriptor instead.
func (*DeployValidationRequest) ProtoMessage ¶ added in v0.47.0
func (*DeployValidationRequest) ProtoMessage()
func (*DeployValidationRequest) ProtoReflect ¶ added in v0.47.0
func (x *DeployValidationRequest) ProtoReflect() protoreflect.Message
func (*DeployValidationRequest) Reset ¶ added in v0.47.0
func (x *DeployValidationRequest) Reset()
func (*DeployValidationRequest) String ¶ added in v0.47.0
func (x *DeployValidationRequest) String() string
func (*DeployValidationRequest) Validate ¶ added in v0.47.0
func (m *DeployValidationRequest) Validate() error
Validate checks the field values on DeployValidationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeployValidationRequest) ValidateAll ¶ added in v0.47.0
func (m *DeployValidationRequest) ValidateAll() error
ValidateAll checks the field values on DeployValidationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeployValidationRequestMultiError, or nil if none found.
type DeployValidationRequestMultiError ¶ added in v0.47.0
type DeployValidationRequestMultiError []error
DeployValidationRequestMultiError is an error wrapping multiple validation errors returned by DeployValidationRequest.ValidateAll() if the designated constraints aren't met.
func (DeployValidationRequestMultiError) AllErrors ¶ added in v0.47.0
func (m DeployValidationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeployValidationRequestMultiError) Error ¶ added in v0.47.0
func (m DeployValidationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeployValidationRequestValidationError ¶ added in v0.47.0
type DeployValidationRequestValidationError struct {
// contains filtered or unexported fields
}
DeployValidationRequestValidationError is the validation error returned by DeployValidationRequest.Validate if the designated constraints aren't met.
func (DeployValidationRequestValidationError) Cause ¶ added in v0.47.0
func (e DeployValidationRequestValidationError) Cause() error
Cause function returns cause value.
func (DeployValidationRequestValidationError) Error ¶ added in v0.47.0
func (e DeployValidationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeployValidationRequestValidationError) ErrorName ¶ added in v0.47.0
func (e DeployValidationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeployValidationRequestValidationError) Field ¶ added in v0.47.0
func (e DeployValidationRequestValidationError) Field() string
Field function returns field value.
func (DeployValidationRequestValidationError) Key ¶ added in v0.47.0
func (e DeployValidationRequestValidationError) Key() bool
Key function returns key value.
func (DeployValidationRequestValidationError) Reason ¶ added in v0.47.0
func (e DeployValidationRequestValidationError) Reason() string
Reason function returns reason value.
type DeployValidationResponse ¶ added in v0.47.0
type DeployValidationResponse struct { IsAuthenticated bool `protobuf:"varint,1,opt,name=is_authenticated,json=isAuthenticated,proto3" json:"is_authenticated,omitempty"` // if true below fields are relevant after login LoginUrl string `protobuf:"bytes,2,opt,name=login_url,json=loginUrl,proto3" json:"login_url,omitempty"` // redirect to this if is_authenticated is false IsGithubConnected bool `protobuf:"varint,3,opt,name=is_github_connected,json=isGithubConnected,proto3" json:"is_github_connected,omitempty"` // if true below fields are relevant after github install GithubGrantAccessUrl string `protobuf:"bytes,4,opt,name=github_grant_access_url,json=githubGrantAccessUrl,proto3" json:"github_grant_access_url,omitempty"` // redirect to this if is_github_connected or is_github_repo_access_granted is false GithubUserName string `protobuf:"bytes,5,opt,name=github_user_name,json=githubUserName,proto3" json:"github_user_name,omitempty"` GithubUserPermission v1.GithubPermission `` // if unspecified then github app not installed on user account /* 160-byte string literal not displayed */ GithubOrganizationPermissions map[string]v1.GithubPermission `` /* 275-byte string literal not displayed */ IsGithubRepo bool `protobuf:"varint,8,opt,name=is_github_repo,json=isGithubRepo,proto3" json:"is_github_repo,omitempty"` IsGithubRemoteFound bool `protobuf:"varint,9,opt,name=is_github_remote_found,json=isGithubRemoteFound,proto3" json:"is_github_remote_found,omitempty"` // only applicable when is_github_repo is true IsGithubRepoAccessGranted bool `` // relevant only when is_github_repo is true and remote found, if false redirect to github_grant_access_url /* 144-byte string literal not displayed */ GithubUrl string `protobuf:"bytes,11,opt,name=github_url,json=githubUrl,proto3" json:"github_url,omitempty"` // only applicable when is_github_repo is true and remote found HasUncommittedChanges *bool `` // only applicable when is_github_repo is true and remote found /* 134-byte string literal not displayed */ RillOrgExistsAsGithubUserName bool `` // only applicable when user does not have any orgs /* 160-byte string literal not displayed */ RillUserOrgs []string `protobuf:"bytes,14,rep,name=rill_user_orgs,json=rillUserOrgs,proto3" json:"rill_user_orgs,omitempty"` LocalProjectName string `protobuf:"bytes,15,opt,name=local_project_name,json=localProjectName,proto3" json:"local_project_name,omitempty"` DeployedProjectId string `protobuf:"bytes,16,opt,name=deployed_project_id,json=deployedProjectId,proto3" json:"deployed_project_id,omitempty"` // contains filtered or unexported fields }
func (*DeployValidationResponse) Descriptor
deprecated
added in
v0.47.0
func (*DeployValidationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployValidationResponse.ProtoReflect.Descriptor instead.
func (*DeployValidationResponse) GetDeployedProjectId ¶ added in v0.47.0
func (x *DeployValidationResponse) GetDeployedProjectId() string
func (*DeployValidationResponse) GetGithubGrantAccessUrl ¶ added in v0.47.0
func (x *DeployValidationResponse) GetGithubGrantAccessUrl() string
func (*DeployValidationResponse) GetGithubOrganizationPermissions ¶ added in v0.47.0
func (x *DeployValidationResponse) GetGithubOrganizationPermissions() map[string]v1.GithubPermission
func (*DeployValidationResponse) GetGithubUrl ¶ added in v0.47.0
func (x *DeployValidationResponse) GetGithubUrl() string
func (*DeployValidationResponse) GetGithubUserName ¶ added in v0.47.0
func (x *DeployValidationResponse) GetGithubUserName() string
func (*DeployValidationResponse) GetGithubUserPermission ¶ added in v0.47.0
func (x *DeployValidationResponse) GetGithubUserPermission() v1.GithubPermission
func (*DeployValidationResponse) GetHasUncommittedChanges ¶ added in v0.47.0
func (x *DeployValidationResponse) GetHasUncommittedChanges() bool
func (*DeployValidationResponse) GetIsAuthenticated ¶ added in v0.47.0
func (x *DeployValidationResponse) GetIsAuthenticated() bool
func (*DeployValidationResponse) GetIsGithubConnected ¶ added in v0.47.0
func (x *DeployValidationResponse) GetIsGithubConnected() bool
func (*DeployValidationResponse) GetIsGithubRemoteFound ¶ added in v0.47.0
func (x *DeployValidationResponse) GetIsGithubRemoteFound() bool
func (*DeployValidationResponse) GetIsGithubRepo ¶ added in v0.47.0
func (x *DeployValidationResponse) GetIsGithubRepo() bool
func (*DeployValidationResponse) GetIsGithubRepoAccessGranted ¶ added in v0.47.0
func (x *DeployValidationResponse) GetIsGithubRepoAccessGranted() bool
func (*DeployValidationResponse) GetLocalProjectName ¶ added in v0.47.0
func (x *DeployValidationResponse) GetLocalProjectName() string
func (*DeployValidationResponse) GetLoginUrl ¶ added in v0.47.0
func (x *DeployValidationResponse) GetLoginUrl() string
func (*DeployValidationResponse) GetRillOrgExistsAsGithubUserName ¶ added in v0.47.0
func (x *DeployValidationResponse) GetRillOrgExistsAsGithubUserName() bool
func (*DeployValidationResponse) GetRillUserOrgs ¶ added in v0.47.0
func (x *DeployValidationResponse) GetRillUserOrgs() []string
func (*DeployValidationResponse) ProtoMessage ¶ added in v0.47.0
func (*DeployValidationResponse) ProtoMessage()
func (*DeployValidationResponse) ProtoReflect ¶ added in v0.47.0
func (x *DeployValidationResponse) ProtoReflect() protoreflect.Message
func (*DeployValidationResponse) Reset ¶ added in v0.47.0
func (x *DeployValidationResponse) Reset()
func (*DeployValidationResponse) String ¶ added in v0.47.0
func (x *DeployValidationResponse) String() string
func (*DeployValidationResponse) Validate ¶ added in v0.47.0
func (m *DeployValidationResponse) Validate() error
Validate checks the field values on DeployValidationResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeployValidationResponse) ValidateAll ¶ added in v0.47.0
func (m *DeployValidationResponse) ValidateAll() error
ValidateAll checks the field values on DeployValidationResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeployValidationResponseMultiError, or nil if none found.
type DeployValidationResponseMultiError ¶ added in v0.47.0
type DeployValidationResponseMultiError []error
DeployValidationResponseMultiError is an error wrapping multiple validation errors returned by DeployValidationResponse.ValidateAll() if the designated constraints aren't met.
func (DeployValidationResponseMultiError) AllErrors ¶ added in v0.47.0
func (m DeployValidationResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeployValidationResponseMultiError) Error ¶ added in v0.47.0
func (m DeployValidationResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeployValidationResponseValidationError ¶ added in v0.47.0
type DeployValidationResponseValidationError struct {
// contains filtered or unexported fields
}
DeployValidationResponseValidationError is the validation error returned by DeployValidationResponse.Validate if the designated constraints aren't met.
func (DeployValidationResponseValidationError) Cause ¶ added in v0.47.0
func (e DeployValidationResponseValidationError) Cause() error
Cause function returns cause value.
func (DeployValidationResponseValidationError) Error ¶ added in v0.47.0
func (e DeployValidationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeployValidationResponseValidationError) ErrorName ¶ added in v0.47.0
func (e DeployValidationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeployValidationResponseValidationError) Field ¶ added in v0.47.0
func (e DeployValidationResponseValidationError) Field() string
Field function returns field value.
func (DeployValidationResponseValidationError) Key ¶ added in v0.47.0
func (e DeployValidationResponseValidationError) Key() bool
Key function returns key value.
func (DeployValidationResponseValidationError) Reason ¶ added in v0.47.0
func (e DeployValidationResponseValidationError) Reason() string
Reason function returns reason value.
type GetCurrentUserRequest ¶ added in v0.47.0
type GetCurrentUserRequest struct {
// contains filtered or unexported fields
}
func (*GetCurrentUserRequest) Descriptor
deprecated
added in
v0.47.0
func (*GetCurrentUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentUserRequest.ProtoReflect.Descriptor instead.
func (*GetCurrentUserRequest) ProtoMessage ¶ added in v0.47.0
func (*GetCurrentUserRequest) ProtoMessage()
func (*GetCurrentUserRequest) ProtoReflect ¶ added in v0.47.0
func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message
func (*GetCurrentUserRequest) Reset ¶ added in v0.47.0
func (x *GetCurrentUserRequest) Reset()
func (*GetCurrentUserRequest) String ¶ added in v0.47.0
func (x *GetCurrentUserRequest) String() string
func (*GetCurrentUserRequest) Validate ¶ added in v0.47.0
func (m *GetCurrentUserRequest) Validate() error
Validate checks the field values on GetCurrentUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetCurrentUserRequest) ValidateAll ¶ added in v0.47.0
func (m *GetCurrentUserRequest) ValidateAll() error
ValidateAll checks the field values on GetCurrentUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCurrentUserRequestMultiError, or nil if none found.
type GetCurrentUserRequestMultiError ¶ added in v0.47.0
type GetCurrentUserRequestMultiError []error
GetCurrentUserRequestMultiError is an error wrapping multiple validation errors returned by GetCurrentUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetCurrentUserRequestMultiError) AllErrors ¶ added in v0.47.0
func (m GetCurrentUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCurrentUserRequestMultiError) Error ¶ added in v0.47.0
func (m GetCurrentUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCurrentUserRequestValidationError ¶ added in v0.47.0
type GetCurrentUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetCurrentUserRequestValidationError is the validation error returned by GetCurrentUserRequest.Validate if the designated constraints aren't met.
func (GetCurrentUserRequestValidationError) Cause ¶ added in v0.47.0
func (e GetCurrentUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCurrentUserRequestValidationError) Error ¶ added in v0.47.0
func (e GetCurrentUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCurrentUserRequestValidationError) ErrorName ¶ added in v0.47.0
func (e GetCurrentUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCurrentUserRequestValidationError) Field ¶ added in v0.47.0
func (e GetCurrentUserRequestValidationError) Field() string
Field function returns field value.
func (GetCurrentUserRequestValidationError) Key ¶ added in v0.47.0
func (e GetCurrentUserRequestValidationError) Key() bool
Key function returns key value.
func (GetCurrentUserRequestValidationError) Reason ¶ added in v0.47.0
func (e GetCurrentUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetCurrentUserResponse ¶ added in v0.47.0
type GetCurrentUserResponse struct { User *v1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetCurrentUserResponse) Descriptor
deprecated
added in
v0.47.0
func (*GetCurrentUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentUserResponse.ProtoReflect.Descriptor instead.
func (*GetCurrentUserResponse) GetUser ¶ added in v0.47.0
func (x *GetCurrentUserResponse) GetUser() *v1.User
func (*GetCurrentUserResponse) ProtoMessage ¶ added in v0.47.0
func (*GetCurrentUserResponse) ProtoMessage()
func (*GetCurrentUserResponse) ProtoReflect ¶ added in v0.47.0
func (x *GetCurrentUserResponse) ProtoReflect() protoreflect.Message
func (*GetCurrentUserResponse) Reset ¶ added in v0.47.0
func (x *GetCurrentUserResponse) Reset()
func (*GetCurrentUserResponse) String ¶ added in v0.47.0
func (x *GetCurrentUserResponse) String() string
func (*GetCurrentUserResponse) Validate ¶ added in v0.47.0
func (m *GetCurrentUserResponse) Validate() error
Validate checks the field values on GetCurrentUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetCurrentUserResponse) ValidateAll ¶ added in v0.47.0
func (m *GetCurrentUserResponse) ValidateAll() error
ValidateAll checks the field values on GetCurrentUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCurrentUserResponseMultiError, or nil if none found.
type GetCurrentUserResponseMultiError ¶ added in v0.47.0
type GetCurrentUserResponseMultiError []error
GetCurrentUserResponseMultiError is an error wrapping multiple validation errors returned by GetCurrentUserResponse.ValidateAll() if the designated constraints aren't met.
func (GetCurrentUserResponseMultiError) AllErrors ¶ added in v0.47.0
func (m GetCurrentUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCurrentUserResponseMultiError) Error ¶ added in v0.47.0
func (m GetCurrentUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCurrentUserResponseValidationError ¶ added in v0.47.0
type GetCurrentUserResponseValidationError struct {
// contains filtered or unexported fields
}
GetCurrentUserResponseValidationError is the validation error returned by GetCurrentUserResponse.Validate if the designated constraints aren't met.
func (GetCurrentUserResponseValidationError) Cause ¶ added in v0.47.0
func (e GetCurrentUserResponseValidationError) Cause() error
Cause function returns cause value.
func (GetCurrentUserResponseValidationError) Error ¶ added in v0.47.0
func (e GetCurrentUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetCurrentUserResponseValidationError) ErrorName ¶ added in v0.47.0
func (e GetCurrentUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetCurrentUserResponseValidationError) Field ¶ added in v0.47.0
func (e GetCurrentUserResponseValidationError) Field() string
Field function returns field value.
func (GetCurrentUserResponseValidationError) Key ¶ added in v0.47.0
func (e GetCurrentUserResponseValidationError) Key() bool
Key function returns key value.
func (GetCurrentUserResponseValidationError) Reason ¶ added in v0.47.0
func (e GetCurrentUserResponseValidationError) Reason() string
Reason function returns reason value.
type GetMetadataRequest ¶
type GetMetadataRequest struct {
// contains filtered or unexported fields
}
func (*GetMetadataRequest) Descriptor
deprecated
func (*GetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetMetadataRequest) ProtoMessage ¶
func (*GetMetadataRequest) ProtoMessage()
func (*GetMetadataRequest) ProtoReflect ¶
func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetMetadataRequest) Reset ¶
func (x *GetMetadataRequest) Reset()
func (*GetMetadataRequest) String ¶
func (x *GetMetadataRequest) String() string
func (*GetMetadataRequest) Validate ¶
func (m *GetMetadataRequest) Validate() error
Validate checks the field values on GetMetadataRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetMetadataRequest) ValidateAll ¶
func (m *GetMetadataRequest) ValidateAll() error
ValidateAll checks the field values on GetMetadataRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetMetadataRequestMultiError, or nil if none found.
type GetMetadataRequestMultiError ¶
type GetMetadataRequestMultiError []error
GetMetadataRequestMultiError is an error wrapping multiple validation errors returned by GetMetadataRequest.ValidateAll() if the designated constraints aren't met.
func (GetMetadataRequestMultiError) AllErrors ¶
func (m GetMetadataRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMetadataRequestMultiError) Error ¶
func (m GetMetadataRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMetadataRequestValidationError ¶
type GetMetadataRequestValidationError struct {
// contains filtered or unexported fields
}
GetMetadataRequestValidationError is the validation error returned by GetMetadataRequest.Validate if the designated constraints aren't met.
func (GetMetadataRequestValidationError) Cause ¶
func (e GetMetadataRequestValidationError) Cause() error
Cause function returns cause value.
func (GetMetadataRequestValidationError) Error ¶
func (e GetMetadataRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetMetadataRequestValidationError) ErrorName ¶
func (e GetMetadataRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetMetadataRequestValidationError) Field ¶
func (e GetMetadataRequestValidationError) Field() string
Field function returns field value.
func (GetMetadataRequestValidationError) Key ¶
func (e GetMetadataRequestValidationError) Key() bool
Key function returns key value.
func (GetMetadataRequestValidationError) Reason ¶
func (e GetMetadataRequestValidationError) Reason() string
Reason function returns reason value.
type GetMetadataResponse ¶
type GetMetadataResponse struct { InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` ProjectPath string `protobuf:"bytes,2,opt,name=project_path,json=projectPath,proto3" json:"project_path,omitempty"` InstallId string `protobuf:"bytes,3,opt,name=install_id,json=installId,proto3" json:"install_id,omitempty"` UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` BuildCommit string `protobuf:"bytes,6,opt,name=build_commit,json=buildCommit,proto3" json:"build_commit,omitempty"` BuildTime string `protobuf:"bytes,7,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"` IsDev bool `protobuf:"varint,8,opt,name=is_dev,json=isDev,proto3" json:"is_dev,omitempty"` AnalyticsEnabled bool `protobuf:"varint,9,opt,name=analytics_enabled,json=analyticsEnabled,proto3" json:"analytics_enabled,omitempty"` Readonly bool `protobuf:"varint,10,opt,name=readonly,proto3" json:"readonly,omitempty"` GrpcPort int32 `protobuf:"varint,11,opt,name=grpc_port,json=grpcPort,proto3" json:"grpc_port,omitempty"` // contains filtered or unexported fields }
func (*GetMetadataResponse) Descriptor
deprecated
func (*GetMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadataResponse.ProtoReflect.Descriptor instead.
func (*GetMetadataResponse) GetAnalyticsEnabled ¶
func (x *GetMetadataResponse) GetAnalyticsEnabled() bool
func (*GetMetadataResponse) GetBuildCommit ¶
func (x *GetMetadataResponse) GetBuildCommit() string
func (*GetMetadataResponse) GetBuildTime ¶
func (x *GetMetadataResponse) GetBuildTime() string
func (*GetMetadataResponse) GetGrpcPort ¶
func (x *GetMetadataResponse) GetGrpcPort() int32
func (*GetMetadataResponse) GetInstallId ¶
func (x *GetMetadataResponse) GetInstallId() string
func (*GetMetadataResponse) GetInstanceId ¶
func (x *GetMetadataResponse) GetInstanceId() string
func (*GetMetadataResponse) GetIsDev ¶
func (x *GetMetadataResponse) GetIsDev() bool
func (*GetMetadataResponse) GetProjectPath ¶
func (x *GetMetadataResponse) GetProjectPath() string
func (*GetMetadataResponse) GetReadonly ¶
func (x *GetMetadataResponse) GetReadonly() bool
func (*GetMetadataResponse) GetUserId ¶
func (x *GetMetadataResponse) GetUserId() string
func (*GetMetadataResponse) GetVersion ¶
func (x *GetMetadataResponse) GetVersion() string
func (*GetMetadataResponse) ProtoMessage ¶
func (*GetMetadataResponse) ProtoMessage()
func (*GetMetadataResponse) ProtoReflect ¶
func (x *GetMetadataResponse) ProtoReflect() protoreflect.Message
func (*GetMetadataResponse) Reset ¶
func (x *GetMetadataResponse) Reset()
func (*GetMetadataResponse) String ¶
func (x *GetMetadataResponse) String() string
func (*GetMetadataResponse) Validate ¶
func (m *GetMetadataResponse) Validate() error
Validate checks the field values on GetMetadataResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetMetadataResponse) ValidateAll ¶
func (m *GetMetadataResponse) ValidateAll() error
ValidateAll checks the field values on GetMetadataResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetMetadataResponseMultiError, or nil if none found.
type GetMetadataResponseMultiError ¶
type GetMetadataResponseMultiError []error
GetMetadataResponseMultiError is an error wrapping multiple validation errors returned by GetMetadataResponse.ValidateAll() if the designated constraints aren't met.
func (GetMetadataResponseMultiError) AllErrors ¶
func (m GetMetadataResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMetadataResponseMultiError) Error ¶
func (m GetMetadataResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMetadataResponseValidationError ¶
type GetMetadataResponseValidationError struct {
// contains filtered or unexported fields
}
GetMetadataResponseValidationError is the validation error returned by GetMetadataResponse.Validate if the designated constraints aren't met.
func (GetMetadataResponseValidationError) Cause ¶
func (e GetMetadataResponseValidationError) Cause() error
Cause function returns cause value.
func (GetMetadataResponseValidationError) Error ¶
func (e GetMetadataResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetMetadataResponseValidationError) ErrorName ¶
func (e GetMetadataResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetMetadataResponseValidationError) Field ¶
func (e GetMetadataResponseValidationError) Field() string
Field function returns field value.
func (GetMetadataResponseValidationError) Key ¶
func (e GetMetadataResponseValidationError) Key() bool
Key function returns key value.
func (GetMetadataResponseValidationError) Reason ¶
func (e GetMetadataResponseValidationError) Reason() string
Reason function returns reason value.
type GetVersionRequest ¶
type GetVersionRequest struct {
// contains filtered or unexported fields
}
func (*GetVersionRequest) Descriptor
deprecated
func (*GetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) ProtoMessage ¶
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) ProtoReflect ¶
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
func (*GetVersionRequest) Reset ¶
func (x *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶
func (x *GetVersionRequest) String() string
func (*GetVersionRequest) Validate ¶
func (m *GetVersionRequest) Validate() error
Validate checks the field values on GetVersionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetVersionRequest) ValidateAll ¶
func (m *GetVersionRequest) ValidateAll() error
ValidateAll checks the field values on GetVersionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetVersionRequestMultiError, or nil if none found.
type GetVersionRequestMultiError ¶
type GetVersionRequestMultiError []error
GetVersionRequestMultiError is an error wrapping multiple validation errors returned by GetVersionRequest.ValidateAll() if the designated constraints aren't met.
func (GetVersionRequestMultiError) AllErrors ¶
func (m GetVersionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetVersionRequestMultiError) Error ¶
func (m GetVersionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetVersionRequestValidationError ¶
type GetVersionRequestValidationError struct {
// contains filtered or unexported fields
}
GetVersionRequestValidationError is the validation error returned by GetVersionRequest.Validate if the designated constraints aren't met.
func (GetVersionRequestValidationError) Cause ¶
func (e GetVersionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetVersionRequestValidationError) Error ¶
func (e GetVersionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetVersionRequestValidationError) ErrorName ¶
func (e GetVersionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetVersionRequestValidationError) Field ¶
func (e GetVersionRequestValidationError) Field() string
Field function returns field value.
func (GetVersionRequestValidationError) Key ¶
func (e GetVersionRequestValidationError) Key() bool
Key function returns key value.
func (GetVersionRequestValidationError) Reason ¶
func (e GetVersionRequestValidationError) Reason() string
Reason function returns reason value.
type GetVersionResponse ¶
type GetVersionResponse struct { Current string `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` Latest string `protobuf:"bytes,2,opt,name=latest,proto3" json:"latest,omitempty"` // contains filtered or unexported fields }
func (*GetVersionResponse) Descriptor
deprecated
func (*GetVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead.
func (*GetVersionResponse) GetCurrent ¶
func (x *GetVersionResponse) GetCurrent() string
func (*GetVersionResponse) GetLatest ¶
func (x *GetVersionResponse) GetLatest() string
func (*GetVersionResponse) ProtoMessage ¶
func (*GetVersionResponse) ProtoMessage()
func (*GetVersionResponse) ProtoReflect ¶
func (x *GetVersionResponse) ProtoReflect() protoreflect.Message
func (*GetVersionResponse) Reset ¶
func (x *GetVersionResponse) Reset()
func (*GetVersionResponse) String ¶
func (x *GetVersionResponse) String() string
func (*GetVersionResponse) Validate ¶
func (m *GetVersionResponse) Validate() error
Validate checks the field values on GetVersionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetVersionResponse) ValidateAll ¶
func (m *GetVersionResponse) ValidateAll() error
ValidateAll checks the field values on GetVersionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetVersionResponseMultiError, or nil if none found.
type GetVersionResponseMultiError ¶
type GetVersionResponseMultiError []error
GetVersionResponseMultiError is an error wrapping multiple validation errors returned by GetVersionResponse.ValidateAll() if the designated constraints aren't met.
func (GetVersionResponseMultiError) AllErrors ¶
func (m GetVersionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetVersionResponseMultiError) Error ¶
func (m GetVersionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetVersionResponseValidationError ¶
type GetVersionResponseValidationError struct {
// contains filtered or unexported fields
}
GetVersionResponseValidationError is the validation error returned by GetVersionResponse.Validate if the designated constraints aren't met.
func (GetVersionResponseValidationError) Cause ¶
func (e GetVersionResponseValidationError) Cause() error
Cause function returns cause value.
func (GetVersionResponseValidationError) Error ¶
func (e GetVersionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetVersionResponseValidationError) ErrorName ¶
func (e GetVersionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetVersionResponseValidationError) Field ¶
func (e GetVersionResponseValidationError) Field() string
Field function returns field value.
func (GetVersionResponseValidationError) Key ¶
func (e GetVersionResponseValidationError) Key() bool
Key function returns key value.
func (GetVersionResponseValidationError) Reason ¶
func (e GetVersionResponseValidationError) Reason() string
Reason function returns reason value.
type LocalServiceClient ¶
type LocalServiceClient interface { // Ping returns the current time. Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) // GetMetadata returns information about the local Rill instance. GetMetadata(ctx context.Context, in *GetMetadataRequest, opts ...grpc.CallOption) (*GetMetadataResponse, error) // GetVersion returns details about the current and latest available Rill versions. GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*GetVersionResponse, error) // DeployValidation validates a deploy request. DeployValidation(ctx context.Context, in *DeployValidationRequest, opts ...grpc.CallOption) (*DeployValidationResponse, error) // PushToGithub create a Git repo from local project and pushed to users git account. PushToGithub(ctx context.Context, in *PushToGithubRequest, opts ...grpc.CallOption) (*PushToGithubResponse, error) // DeployProject deploys the local project to the Rill cloud. DeployProject(ctx context.Context, in *DeployProjectRequest, opts ...grpc.CallOption) (*DeployProjectResponse, error) // RedeployProject updates a deployed project. RedeployProject(ctx context.Context, in *RedeployProjectRequest, opts ...grpc.CallOption) (*RedeployProjectResponse, error) // User returns the locally logged in user GetCurrentUser(ctx context.Context, in *GetCurrentUserRequest, opts ...grpc.CallOption) (*GetCurrentUserResponse, error) }
LocalServiceClient is the client API for LocalService 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 NewLocalServiceClient ¶
func NewLocalServiceClient(cc grpc.ClientConnInterface) LocalServiceClient
type LocalServiceServer ¶
type LocalServiceServer interface { // Ping returns the current time. Ping(context.Context, *PingRequest) (*PingResponse, error) // GetMetadata returns information about the local Rill instance. GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error) // GetVersion returns details about the current and latest available Rill versions. GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error) // DeployValidation validates a deploy request. DeployValidation(context.Context, *DeployValidationRequest) (*DeployValidationResponse, error) // PushToGithub create a Git repo from local project and pushed to users git account. PushToGithub(context.Context, *PushToGithubRequest) (*PushToGithubResponse, error) // DeployProject deploys the local project to the Rill cloud. DeployProject(context.Context, *DeployProjectRequest) (*DeployProjectResponse, error) // RedeployProject updates a deployed project. RedeployProject(context.Context, *RedeployProjectRequest) (*RedeployProjectResponse, error) // User returns the locally logged in user GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserResponse, error) // contains filtered or unexported methods }
LocalServiceServer is the server API for LocalService service. All implementations must embed UnimplementedLocalServiceServer for forward compatibility
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
func (*PingRequest) Validate ¶
func (m *PingRequest) Validate() error
Validate checks the field values on PingRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PingRequest) ValidateAll ¶
func (m *PingRequest) ValidateAll() error
ValidateAll checks the field values on PingRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PingRequestMultiError, or nil if none found.
type PingRequestMultiError ¶
type PingRequestMultiError []error
PingRequestMultiError is an error wrapping multiple validation errors returned by PingRequest.ValidateAll() if the designated constraints aren't met.
func (PingRequestMultiError) AllErrors ¶
func (m PingRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PingRequestMultiError) Error ¶
func (m PingRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PingRequestValidationError ¶
type PingRequestValidationError struct {
// contains filtered or unexported fields
}
PingRequestValidationError is the validation error returned by PingRequest.Validate if the designated constraints aren't met.
func (PingRequestValidationError) Cause ¶
func (e PingRequestValidationError) Cause() error
Cause function returns cause value.
func (PingRequestValidationError) Error ¶
func (e PingRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PingRequestValidationError) ErrorName ¶
func (e PingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PingRequestValidationError) Field ¶
func (e PingRequestValidationError) Field() string
Field function returns field value.
func (PingRequestValidationError) Key ¶
func (e PingRequestValidationError) Key() bool
Key function returns key value.
func (PingRequestValidationError) Reason ¶
func (e PingRequestValidationError) Reason() string
Reason function returns reason value.
type PingResponse ¶
type PingResponse struct { Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetTime ¶
func (x *PingResponse) GetTime() *timestamppb.Timestamp
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
func (*PingResponse) Validate ¶
func (m *PingResponse) Validate() error
Validate checks the field values on PingResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PingResponse) ValidateAll ¶
func (m *PingResponse) ValidateAll() error
ValidateAll checks the field values on PingResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PingResponseMultiError, or nil if none found.
type PingResponseMultiError ¶
type PingResponseMultiError []error
PingResponseMultiError is an error wrapping multiple validation errors returned by PingResponse.ValidateAll() if the designated constraints aren't met.
func (PingResponseMultiError) AllErrors ¶
func (m PingResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PingResponseMultiError) Error ¶
func (m PingResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PingResponseValidationError ¶
type PingResponseValidationError struct {
// contains filtered or unexported fields
}
PingResponseValidationError is the validation error returned by PingResponse.Validate if the designated constraints aren't met.
func (PingResponseValidationError) Cause ¶
func (e PingResponseValidationError) Cause() error
Cause function returns cause value.
func (PingResponseValidationError) Error ¶
func (e PingResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PingResponseValidationError) ErrorName ¶
func (e PingResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PingResponseValidationError) Field ¶
func (e PingResponseValidationError) Field() string
Field function returns field value.
func (PingResponseValidationError) Key ¶
func (e PingResponseValidationError) Key() bool
Key function returns key value.
func (PingResponseValidationError) Reason ¶
func (e PingResponseValidationError) Reason() string
Reason function returns reason value.
type PushToGithubRequest ¶ added in v0.47.0
type PushToGithubRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*PushToGithubRequest) Descriptor
deprecated
added in
v0.47.0
func (*PushToGithubRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushToGithubRequest.ProtoReflect.Descriptor instead.
func (*PushToGithubRequest) GetAccount ¶ added in v0.47.0
func (x *PushToGithubRequest) GetAccount() string
func (*PushToGithubRequest) GetRepo ¶ added in v0.47.0
func (x *PushToGithubRequest) GetRepo() string
func (*PushToGithubRequest) ProtoMessage ¶ added in v0.47.0
func (*PushToGithubRequest) ProtoMessage()
func (*PushToGithubRequest) ProtoReflect ¶ added in v0.47.0
func (x *PushToGithubRequest) ProtoReflect() protoreflect.Message
func (*PushToGithubRequest) Reset ¶ added in v0.47.0
func (x *PushToGithubRequest) Reset()
func (*PushToGithubRequest) String ¶ added in v0.47.0
func (x *PushToGithubRequest) String() string
func (*PushToGithubRequest) Validate ¶ added in v0.47.0
func (m *PushToGithubRequest) Validate() error
Validate checks the field values on PushToGithubRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PushToGithubRequest) ValidateAll ¶ added in v0.47.0
func (m *PushToGithubRequest) ValidateAll() error
ValidateAll checks the field values on PushToGithubRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PushToGithubRequestMultiError, or nil if none found.
type PushToGithubRequestMultiError ¶ added in v0.47.0
type PushToGithubRequestMultiError []error
PushToGithubRequestMultiError is an error wrapping multiple validation errors returned by PushToGithubRequest.ValidateAll() if the designated constraints aren't met.
func (PushToGithubRequestMultiError) AllErrors ¶ added in v0.47.0
func (m PushToGithubRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PushToGithubRequestMultiError) Error ¶ added in v0.47.0
func (m PushToGithubRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PushToGithubRequestValidationError ¶ added in v0.47.0
type PushToGithubRequestValidationError struct {
// contains filtered or unexported fields
}
PushToGithubRequestValidationError is the validation error returned by PushToGithubRequest.Validate if the designated constraints aren't met.
func (PushToGithubRequestValidationError) Cause ¶ added in v0.47.0
func (e PushToGithubRequestValidationError) Cause() error
Cause function returns cause value.
func (PushToGithubRequestValidationError) Error ¶ added in v0.47.0
func (e PushToGithubRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PushToGithubRequestValidationError) ErrorName ¶ added in v0.47.0
func (e PushToGithubRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PushToGithubRequestValidationError) Field ¶ added in v0.47.0
func (e PushToGithubRequestValidationError) Field() string
Field function returns field value.
func (PushToGithubRequestValidationError) Key ¶ added in v0.47.0
func (e PushToGithubRequestValidationError) Key() bool
Key function returns key value.
func (PushToGithubRequestValidationError) Reason ¶ added in v0.47.0
func (e PushToGithubRequestValidationError) Reason() string
Reason function returns reason value.
type PushToGithubResponse ¶ added in v0.47.0
type PushToGithubResponse struct { GithubUrl string `protobuf:"bytes,1,opt,name=github_url,json=githubUrl,proto3" json:"github_url,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Repo string `protobuf:"bytes,3,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*PushToGithubResponse) Descriptor
deprecated
added in
v0.47.0
func (*PushToGithubResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushToGithubResponse.ProtoReflect.Descriptor instead.
func (*PushToGithubResponse) GetAccount ¶ added in v0.47.0
func (x *PushToGithubResponse) GetAccount() string
func (*PushToGithubResponse) GetGithubUrl ¶ added in v0.47.0
func (x *PushToGithubResponse) GetGithubUrl() string
func (*PushToGithubResponse) GetRepo ¶ added in v0.47.0
func (x *PushToGithubResponse) GetRepo() string
func (*PushToGithubResponse) ProtoMessage ¶ added in v0.47.0
func (*PushToGithubResponse) ProtoMessage()
func (*PushToGithubResponse) ProtoReflect ¶ added in v0.47.0
func (x *PushToGithubResponse) ProtoReflect() protoreflect.Message
func (*PushToGithubResponse) Reset ¶ added in v0.47.0
func (x *PushToGithubResponse) Reset()
func (*PushToGithubResponse) String ¶ added in v0.47.0
func (x *PushToGithubResponse) String() string
func (*PushToGithubResponse) Validate ¶ added in v0.47.0
func (m *PushToGithubResponse) Validate() error
Validate checks the field values on PushToGithubResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PushToGithubResponse) ValidateAll ¶ added in v0.47.0
func (m *PushToGithubResponse) ValidateAll() error
ValidateAll checks the field values on PushToGithubResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PushToGithubResponseMultiError, or nil if none found.
type PushToGithubResponseMultiError ¶ added in v0.47.0
type PushToGithubResponseMultiError []error
PushToGithubResponseMultiError is an error wrapping multiple validation errors returned by PushToGithubResponse.ValidateAll() if the designated constraints aren't met.
func (PushToGithubResponseMultiError) AllErrors ¶ added in v0.47.0
func (m PushToGithubResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PushToGithubResponseMultiError) Error ¶ added in v0.47.0
func (m PushToGithubResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PushToGithubResponseValidationError ¶ added in v0.47.0
type PushToGithubResponseValidationError struct {
// contains filtered or unexported fields
}
PushToGithubResponseValidationError is the validation error returned by PushToGithubResponse.Validate if the designated constraints aren't met.
func (PushToGithubResponseValidationError) Cause ¶ added in v0.47.0
func (e PushToGithubResponseValidationError) Cause() error
Cause function returns cause value.
func (PushToGithubResponseValidationError) Error ¶ added in v0.47.0
func (e PushToGithubResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PushToGithubResponseValidationError) ErrorName ¶ added in v0.47.0
func (e PushToGithubResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PushToGithubResponseValidationError) Field ¶ added in v0.47.0
func (e PushToGithubResponseValidationError) Field() string
Field function returns field value.
func (PushToGithubResponseValidationError) Key ¶ added in v0.47.0
func (e PushToGithubResponseValidationError) Key() bool
Key function returns key value.
func (PushToGithubResponseValidationError) Reason ¶ added in v0.47.0
func (e PushToGithubResponseValidationError) Reason() string
Reason function returns reason value.
type RedeployProjectRequest ¶ added in v0.47.0
type RedeployProjectRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Reupload bool `protobuf:"varint,2,opt,name=reupload,proto3" json:"reupload,omitempty"` // contains filtered or unexported fields }
func (*RedeployProjectRequest) Descriptor
deprecated
added in
v0.47.0
func (*RedeployProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use RedeployProjectRequest.ProtoReflect.Descriptor instead.
func (*RedeployProjectRequest) GetProjectId ¶ added in v0.47.0
func (x *RedeployProjectRequest) GetProjectId() string
func (*RedeployProjectRequest) GetReupload ¶ added in v0.47.0
func (x *RedeployProjectRequest) GetReupload() bool
func (*RedeployProjectRequest) ProtoMessage ¶ added in v0.47.0
func (*RedeployProjectRequest) ProtoMessage()
func (*RedeployProjectRequest) ProtoReflect ¶ added in v0.47.0
func (x *RedeployProjectRequest) ProtoReflect() protoreflect.Message
func (*RedeployProjectRequest) Reset ¶ added in v0.47.0
func (x *RedeployProjectRequest) Reset()
func (*RedeployProjectRequest) String ¶ added in v0.47.0
func (x *RedeployProjectRequest) String() string
func (*RedeployProjectRequest) Validate ¶ added in v0.47.0
func (m *RedeployProjectRequest) Validate() error
Validate checks the field values on RedeployProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RedeployProjectRequest) ValidateAll ¶ added in v0.47.0
func (m *RedeployProjectRequest) ValidateAll() error
ValidateAll checks the field values on RedeployProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RedeployProjectRequestMultiError, or nil if none found.
type RedeployProjectRequestMultiError ¶ added in v0.47.0
type RedeployProjectRequestMultiError []error
RedeployProjectRequestMultiError is an error wrapping multiple validation errors returned by RedeployProjectRequest.ValidateAll() if the designated constraints aren't met.
func (RedeployProjectRequestMultiError) AllErrors ¶ added in v0.47.0
func (m RedeployProjectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RedeployProjectRequestMultiError) Error ¶ added in v0.47.0
func (m RedeployProjectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RedeployProjectRequestValidationError ¶ added in v0.47.0
type RedeployProjectRequestValidationError struct {
// contains filtered or unexported fields
}
RedeployProjectRequestValidationError is the validation error returned by RedeployProjectRequest.Validate if the designated constraints aren't met.
func (RedeployProjectRequestValidationError) Cause ¶ added in v0.47.0
func (e RedeployProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (RedeployProjectRequestValidationError) Error ¶ added in v0.47.0
func (e RedeployProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RedeployProjectRequestValidationError) ErrorName ¶ added in v0.47.0
func (e RedeployProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RedeployProjectRequestValidationError) Field ¶ added in v0.47.0
func (e RedeployProjectRequestValidationError) Field() string
Field function returns field value.
func (RedeployProjectRequestValidationError) Key ¶ added in v0.47.0
func (e RedeployProjectRequestValidationError) Key() bool
Key function returns key value.
func (RedeployProjectRequestValidationError) Reason ¶ added in v0.47.0
func (e RedeployProjectRequestValidationError) Reason() string
Reason function returns reason value.
type RedeployProjectResponse ¶ added in v0.47.0
type RedeployProjectResponse struct {
// contains filtered or unexported fields
}
func (*RedeployProjectResponse) Descriptor
deprecated
added in
v0.47.0
func (*RedeployProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use RedeployProjectResponse.ProtoReflect.Descriptor instead.
func (*RedeployProjectResponse) ProtoMessage ¶ added in v0.47.0
func (*RedeployProjectResponse) ProtoMessage()
func (*RedeployProjectResponse) ProtoReflect ¶ added in v0.47.0
func (x *RedeployProjectResponse) ProtoReflect() protoreflect.Message
func (*RedeployProjectResponse) Reset ¶ added in v0.47.0
func (x *RedeployProjectResponse) Reset()
func (*RedeployProjectResponse) String ¶ added in v0.47.0
func (x *RedeployProjectResponse) String() string
func (*RedeployProjectResponse) Validate ¶ added in v0.47.0
func (m *RedeployProjectResponse) Validate() error
Validate checks the field values on RedeployProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RedeployProjectResponse) ValidateAll ¶ added in v0.47.0
func (m *RedeployProjectResponse) ValidateAll() error
ValidateAll checks the field values on RedeployProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RedeployProjectResponseMultiError, or nil if none found.
type RedeployProjectResponseMultiError ¶ added in v0.47.0
type RedeployProjectResponseMultiError []error
RedeployProjectResponseMultiError is an error wrapping multiple validation errors returned by RedeployProjectResponse.ValidateAll() if the designated constraints aren't met.
func (RedeployProjectResponseMultiError) AllErrors ¶ added in v0.47.0
func (m RedeployProjectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RedeployProjectResponseMultiError) Error ¶ added in v0.47.0
func (m RedeployProjectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RedeployProjectResponseValidationError ¶ added in v0.47.0
type RedeployProjectResponseValidationError struct {
// contains filtered or unexported fields
}
RedeployProjectResponseValidationError is the validation error returned by RedeployProjectResponse.Validate if the designated constraints aren't met.
func (RedeployProjectResponseValidationError) Cause ¶ added in v0.47.0
func (e RedeployProjectResponseValidationError) Cause() error
Cause function returns cause value.
func (RedeployProjectResponseValidationError) Error ¶ added in v0.47.0
func (e RedeployProjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RedeployProjectResponseValidationError) ErrorName ¶ added in v0.47.0
func (e RedeployProjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RedeployProjectResponseValidationError) Field ¶ added in v0.47.0
func (e RedeployProjectResponseValidationError) Field() string
Field function returns field value.
func (RedeployProjectResponseValidationError) Key ¶ added in v0.47.0
func (e RedeployProjectResponseValidationError) Key() bool
Key function returns key value.
func (RedeployProjectResponseValidationError) Reason ¶ added in v0.47.0
func (e RedeployProjectResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedLocalServiceServer ¶
type UnimplementedLocalServiceServer struct { }
UnimplementedLocalServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLocalServiceServer) DeployProject ¶ added in v0.47.0
func (UnimplementedLocalServiceServer) DeployProject(context.Context, *DeployProjectRequest) (*DeployProjectResponse, error)
func (UnimplementedLocalServiceServer) DeployValidation ¶ added in v0.47.0
func (UnimplementedLocalServiceServer) DeployValidation(context.Context, *DeployValidationRequest) (*DeployValidationResponse, error)
func (UnimplementedLocalServiceServer) GetCurrentUser ¶ added in v0.47.0
func (UnimplementedLocalServiceServer) GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserResponse, error)
func (UnimplementedLocalServiceServer) GetMetadata ¶
func (UnimplementedLocalServiceServer) GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error)
func (UnimplementedLocalServiceServer) GetVersion ¶
func (UnimplementedLocalServiceServer) GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
func (UnimplementedLocalServiceServer) Ping ¶
func (UnimplementedLocalServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedLocalServiceServer) PushToGithub ¶ added in v0.47.0
func (UnimplementedLocalServiceServer) PushToGithub(context.Context, *PushToGithubRequest) (*PushToGithubResponse, error)
func (UnimplementedLocalServiceServer) RedeployProject ¶ added in v0.47.0
func (UnimplementedLocalServiceServer) RedeployProject(context.Context, *RedeployProjectRequest) (*RedeployProjectResponse, error)
type UnsafeLocalServiceServer ¶
type UnsafeLocalServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLocalServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LocalServiceServer will result in compilation errors.