localv1

package
v0.48.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package localv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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"
	LocalService_GetCurrentProject_FullMethodName = "/rill.local.v1.LocalService/GetCurrentProject"
)

Variables

View Source
var File_rill_local_v1_api_proto protoreflect.FileDescriptor
View Source
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,
		},
		{
			MethodName: "GetCurrentProject",
			Handler:    _LocalService_GetCurrentProject_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. This client ignores the HTTP middlewares.

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

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

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

Cause function returns cause value.

func (DeployProjectRequestValidationError) Error added in v0.47.0

Error satisfies the builtin error interface

func (DeployProjectRequestValidationError) ErrorName added in v0.47.0

ErrorName returns error name.

func (DeployProjectRequestValidationError) Field added in v0.47.0

Field function returns field value.

func (DeployProjectRequestValidationError) Key added in v0.47.0

Key function returns key value.

func (DeployProjectRequestValidationError) Reason added in v0.47.0

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

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

Cause function returns cause value.

func (DeployProjectResponseValidationError) Error added in v0.47.0

Error satisfies the builtin error interface

func (DeployProjectResponseValidationError) ErrorName added in v0.47.0

ErrorName returns error name.

func (DeployProjectResponseValidationError) Field added in v0.47.0

Field function returns field value.

func (DeployProjectResponseValidationError) Key added in v0.47.0

Key function returns key value.

func (DeployProjectResponseValidationError) Reason added in v0.47.0

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

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

Cause function returns cause value.

func (DeployValidationRequestValidationError) Error added in v0.47.0

Error satisfies the builtin error interface

func (DeployValidationRequestValidationError) ErrorName added in v0.47.0

ErrorName returns error name.

func (DeployValidationRequestValidationError) Field added in v0.47.0

Field function returns field value.

func (DeployValidationRequestValidationError) Key added in v0.47.0

Key function returns key value.

func (DeployValidationRequestValidationError) Reason added in v0.47.0

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

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

Cause function returns cause value.

func (DeployValidationResponseValidationError) Error added in v0.47.0

Error satisfies the builtin error interface

func (DeployValidationResponseValidationError) ErrorName added in v0.47.0

ErrorName returns error name.

func (DeployValidationResponseValidationError) Field added in v0.47.0

Field function returns field value.

func (DeployValidationResponseValidationError) Key added in v0.47.0

Key function returns key value.

func (DeployValidationResponseValidationError) Reason added in v0.47.0

Reason function returns reason value.

type GetCurrentProjectRequest added in v0.48.0

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

func (*GetCurrentProjectRequest) Descriptor deprecated added in v0.48.0

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

Deprecated: Use GetCurrentProjectRequest.ProtoReflect.Descriptor instead.

func (*GetCurrentProjectRequest) ProtoMessage added in v0.48.0

func (*GetCurrentProjectRequest) ProtoMessage()

func (*GetCurrentProjectRequest) ProtoReflect added in v0.48.0

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

func (*GetCurrentProjectRequest) Reset added in v0.48.0

func (x *GetCurrentProjectRequest) Reset()

func (*GetCurrentProjectRequest) String added in v0.48.0

func (x *GetCurrentProjectRequest) String() string

func (*GetCurrentProjectRequest) Validate added in v0.48.0

func (m *GetCurrentProjectRequest) Validate() error

Validate checks the field values on GetCurrentProjectRequest 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 (*GetCurrentProjectRequest) ValidateAll added in v0.48.0

func (m *GetCurrentProjectRequest) ValidateAll() error

ValidateAll checks the field values on GetCurrentProjectRequest 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 GetCurrentProjectRequestMultiError, or nil if none found.

type GetCurrentProjectRequestMultiError added in v0.48.0

type GetCurrentProjectRequestMultiError []error

GetCurrentProjectRequestMultiError is an error wrapping multiple validation errors returned by GetCurrentProjectRequest.ValidateAll() if the designated constraints aren't met.

func (GetCurrentProjectRequestMultiError) AllErrors added in v0.48.0

func (m GetCurrentProjectRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCurrentProjectRequestMultiError) Error added in v0.48.0

Error returns a concatenation of all the error messages it wraps.

type GetCurrentProjectRequestValidationError added in v0.48.0

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

GetCurrentProjectRequestValidationError is the validation error returned by GetCurrentProjectRequest.Validate if the designated constraints aren't met.

func (GetCurrentProjectRequestValidationError) Cause added in v0.48.0

Cause function returns cause value.

func (GetCurrentProjectRequestValidationError) Error added in v0.48.0

Error satisfies the builtin error interface

func (GetCurrentProjectRequestValidationError) ErrorName added in v0.48.0

ErrorName returns error name.

func (GetCurrentProjectRequestValidationError) Field added in v0.48.0

Field function returns field value.

func (GetCurrentProjectRequestValidationError) Key added in v0.48.0

Key function returns key value.

func (GetCurrentProjectRequestValidationError) Reason added in v0.48.0

Reason function returns reason value.

type GetCurrentProjectResponse added in v0.48.0

type GetCurrentProjectResponse struct {
	LocalProjectName string      `protobuf:"bytes,1,opt,name=local_project_name,json=localProjectName,proto3" json:"local_project_name,omitempty"`
	Project          *v1.Project `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCurrentProjectResponse) Descriptor deprecated added in v0.48.0

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

Deprecated: Use GetCurrentProjectResponse.ProtoReflect.Descriptor instead.

func (*GetCurrentProjectResponse) GetLocalProjectName added in v0.48.0

func (x *GetCurrentProjectResponse) GetLocalProjectName() string

func (*GetCurrentProjectResponse) GetProject added in v0.48.0

func (x *GetCurrentProjectResponse) GetProject() *v1.Project

func (*GetCurrentProjectResponse) ProtoMessage added in v0.48.0

func (*GetCurrentProjectResponse) ProtoMessage()

func (*GetCurrentProjectResponse) ProtoReflect added in v0.48.0

func (*GetCurrentProjectResponse) Reset added in v0.48.0

func (x *GetCurrentProjectResponse) Reset()

func (*GetCurrentProjectResponse) String added in v0.48.0

func (x *GetCurrentProjectResponse) String() string

func (*GetCurrentProjectResponse) Validate added in v0.48.0

func (m *GetCurrentProjectResponse) Validate() error

Validate checks the field values on GetCurrentProjectResponse 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 (*GetCurrentProjectResponse) ValidateAll added in v0.48.0

func (m *GetCurrentProjectResponse) ValidateAll() error

ValidateAll checks the field values on GetCurrentProjectResponse 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 GetCurrentProjectResponseMultiError, or nil if none found.

type GetCurrentProjectResponseMultiError added in v0.48.0

type GetCurrentProjectResponseMultiError []error

GetCurrentProjectResponseMultiError is an error wrapping multiple validation errors returned by GetCurrentProjectResponse.ValidateAll() if the designated constraints aren't met.

func (GetCurrentProjectResponseMultiError) AllErrors added in v0.48.0

AllErrors returns a list of validation violation errors.

func (GetCurrentProjectResponseMultiError) Error added in v0.48.0

Error returns a concatenation of all the error messages it wraps.

type GetCurrentProjectResponseValidationError added in v0.48.0

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

GetCurrentProjectResponseValidationError is the validation error returned by GetCurrentProjectResponse.Validate if the designated constraints aren't met.

func (GetCurrentProjectResponseValidationError) Cause added in v0.48.0

Cause function returns cause value.

func (GetCurrentProjectResponseValidationError) Error added in v0.48.0

Error satisfies the builtin error interface

func (GetCurrentProjectResponseValidationError) ErrorName added in v0.48.0

ErrorName returns error name.

func (GetCurrentProjectResponseValidationError) Field added in v0.48.0

Field function returns field value.

func (GetCurrentProjectResponseValidationError) Key added in v0.48.0

Key function returns key value.

func (GetCurrentProjectResponseValidationError) Reason added in v0.48.0

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

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

Cause function returns cause value.

func (GetCurrentUserRequestValidationError) Error added in v0.47.0

Error satisfies the builtin error interface

func (GetCurrentUserRequestValidationError) ErrorName added in v0.47.0

ErrorName returns error name.

func (GetCurrentUserRequestValidationError) Field added in v0.47.0

Field function returns field value.

func (GetCurrentUserRequestValidationError) Key added in v0.47.0

Key function returns key value.

func (GetCurrentUserRequestValidationError) Reason added in v0.47.0

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"`
	RillUserOrgs []string `protobuf:"bytes,2,rep,name=rill_user_orgs,json=rillUserOrgs,proto3" json:"rill_user_orgs,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) GetRillUserOrgs added in v0.48.0

func (x *GetCurrentUserResponse) GetRillUserOrgs() []string

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

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

Cause function returns cause value.

func (GetCurrentUserResponseValidationError) Error added in v0.47.0

Error satisfies the builtin error interface

func (GetCurrentUserResponseValidationError) ErrorName added in v0.47.0

ErrorName returns error name.

func (GetCurrentUserResponseValidationError) Field added in v0.47.0

Field function returns field value.

func (GetCurrentUserResponseValidationError) Key added in v0.47.0

Key function returns key value.

func (GetCurrentUserResponseValidationError) Reason added in v0.47.0

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

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

Cause function returns cause value.

func (GetMetadataRequestValidationError) Error

Error satisfies the builtin error interface

func (GetMetadataRequestValidationError) ErrorName

ErrorName returns error name.

func (GetMetadataRequestValidationError) Field

Field function returns field value.

func (GetMetadataRequestValidationError) Key

Key function returns key value.

func (GetMetadataRequestValidationError) Reason

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"`
	LoginUrl         string `protobuf:"bytes,12,opt,name=login_url,json=loginUrl,proto3" json:"login_url,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) GetLoginUrl added in v0.48.0

func (x *GetMetadataResponse) GetLoginUrl() string

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

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

Cause function returns cause value.

func (GetMetadataResponseValidationError) Error

Error satisfies the builtin error interface

func (GetMetadataResponseValidationError) ErrorName

ErrorName returns error name.

func (GetMetadataResponseValidationError) Field

Field function returns field value.

func (GetMetadataResponseValidationError) Key

Key function returns key value.

func (GetMetadataResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetVersionRequestValidationError) Error

Error satisfies the builtin error interface

func (GetVersionRequestValidationError) ErrorName

ErrorName returns error name.

func (GetVersionRequestValidationError) Field

Field function returns field value.

func (GetVersionRequestValidationError) Key

Key function returns key value.

func (GetVersionRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetVersionResponseValidationError) Error

Error satisfies the builtin error interface

func (GetVersionResponseValidationError) ErrorName

ErrorName returns error name.

func (GetVersionResponseValidationError) Field

Field function returns field value.

func (GetVersionResponseValidationError) Key

Key function returns key value.

func (GetVersionResponseValidationError) Reason

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)
	// GetCurrentUser returns the locally logged in user
	GetCurrentUser(ctx context.Context, in *GetCurrentUserRequest, opts ...grpc.CallOption) (*GetCurrentUserResponse, error)
	// GetCurrentProject returns the rill cloud project connected to the local project
	GetCurrentProject(ctx context.Context, in *GetCurrentProjectRequest, opts ...grpc.CallOption) (*GetCurrentProjectResponse, 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.

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)
	// GetCurrentUser returns the locally logged in user
	GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserResponse, error)
	// GetCurrentProject returns the rill cloud project connected to the local project
	GetCurrentProject(context.Context, *GetCurrentProjectRequest) (*GetCurrentProjectResponse, 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

Cause function returns cause value.

func (PingRequestValidationError) Error

Error satisfies the builtin error interface

func (PingRequestValidationError) ErrorName

func (e PingRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PingRequestValidationError) Field

Field function returns field value.

func (PingRequestValidationError) Key

Key function returns key value.

func (PingRequestValidationError) Reason

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

Cause function returns cause value.

func (PingResponseValidationError) Error

Error satisfies the builtin error interface

func (PingResponseValidationError) ErrorName

func (e PingResponseValidationError) ErrorName() string

ErrorName returns error name.

func (PingResponseValidationError) Field

Field function returns field value.

func (PingResponseValidationError) Key

Key function returns key value.

func (PingResponseValidationError) Reason

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

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

Cause function returns cause value.

func (PushToGithubRequestValidationError) Error added in v0.47.0

Error satisfies the builtin error interface

func (PushToGithubRequestValidationError) ErrorName added in v0.47.0

ErrorName returns error name.

func (PushToGithubRequestValidationError) Field added in v0.47.0

Field function returns field value.

func (PushToGithubRequestValidationError) Key added in v0.47.0

Key function returns key value.

func (PushToGithubRequestValidationError) Reason added in v0.47.0

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

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

Cause function returns cause value.

func (PushToGithubResponseValidationError) Error added in v0.47.0

Error satisfies the builtin error interface

func (PushToGithubResponseValidationError) ErrorName added in v0.47.0

ErrorName returns error name.

func (PushToGithubResponseValidationError) Field added in v0.47.0

Field function returns field value.

func (PushToGithubResponseValidationError) Key added in v0.47.0

Key function returns key value.

func (PushToGithubResponseValidationError) Reason added in v0.47.0

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

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

Cause function returns cause value.

func (RedeployProjectRequestValidationError) Error added in v0.47.0

Error satisfies the builtin error interface

func (RedeployProjectRequestValidationError) ErrorName added in v0.47.0

ErrorName returns error name.

func (RedeployProjectRequestValidationError) Field added in v0.47.0

Field function returns field value.

func (RedeployProjectRequestValidationError) Key added in v0.47.0

Key function returns key value.

func (RedeployProjectRequestValidationError) Reason added in v0.47.0

Reason function returns reason value.

type RedeployProjectResponse added in v0.47.0

type RedeployProjectResponse struct {
	FrontendUrl string `protobuf:"bytes,1,opt,name=frontend_url,json=frontendUrl,proto3" json:"frontend_url,omitempty"`
	// 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) GetFrontendUrl added in v0.48.0

func (x *RedeployProjectResponse) GetFrontendUrl() string

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

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

Cause function returns cause value.

func (RedeployProjectResponseValidationError) Error added in v0.47.0

Error satisfies the builtin error interface

func (RedeployProjectResponseValidationError) ErrorName added in v0.47.0

ErrorName returns error name.

func (RedeployProjectResponseValidationError) Field added in v0.47.0

Field function returns field value.

func (RedeployProjectResponseValidationError) Key added in v0.47.0

Key function returns key value.

func (RedeployProjectResponseValidationError) Reason added in v0.47.0

Reason function returns reason value.

type UnimplementedLocalServiceServer

type UnimplementedLocalServiceServer struct{}

UnimplementedLocalServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedLocalServiceServer) DeployProject added in v0.47.0

func (UnimplementedLocalServiceServer) DeployValidation added in v0.47.0

func (UnimplementedLocalServiceServer) GetCurrentProject added in v0.48.0

func (UnimplementedLocalServiceServer) GetCurrentUser added in v0.47.0

func (UnimplementedLocalServiceServer) GetMetadata

func (UnimplementedLocalServiceServer) GetVersion

func (UnimplementedLocalServiceServer) Ping

func (UnimplementedLocalServiceServer) PushToGithub added in v0.47.0

func (UnimplementedLocalServiceServer) RedeployProject added in v0.47.0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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