Categorygithub.com/napptive/grpc-playground-apps-go
modulepackage
0.45.0
Repository: https://github.com/napptive/grpc-playground-apps-go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
RegisterAppsHandler registers the http handlers for service Apps to "mux".
RegisterAppsHandlerClient registers the http handlers for service Apps to "mux".
RegisterAppsHandlerFromEndpoint is same as RegisterAppsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterAppsHandlerServer registers the http handlers for service Apps to "mux".
No description provided by the author
RegisterWorkflowsHandler registers the http handlers for service Workflows to "mux".
RegisterWorkflowsHandlerClient registers the http handlers for service Workflows to "mux".
RegisterWorkflowsHandlerFromEndpoint is same as RegisterWorkflowsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterWorkflowsHandlerServer registers the http handlers for service Workflows to "mux".
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AppError signals that the application is on an error state.
AppOk signals that are elements of a given application are running.
AppRunning signals that are elements of a given application are running.
AppScheduled when an application with cronJobs are waiting to execute the jobs.
AppStopped signals that all the application components are stopped.
AppSuspended when the workflow is suspended waiting for a manual relaunch.
AppTerminated when an application without deployments neither statefulsets, only workflow and/or jobs terminated.
Unknown with an undetermined status.
AppWarning signals that some of the elements of an application are not running.
ERROR signals that there has been an error on a component.
OK signals that all the replicas of the component are running.
RUNNING signals that all the replicas of the component are running.
SCHEDULED a cronJob component is waiting to execute the jobs.
STOPPED when the component is stopped.
TERMINATED All the task in a job are terminated.
Unknown with an undetermined status.
WARNING signals that some of the replicas of the component are running but some remain.
DeployFromType_FromData to indicate the deploy request contains the application files.
DeployFromType_FromRepo to indicate the deploy request contains the repo url where the application is.
No description provided by the author
GIT repository.
No description provided by the author

# Variables

Enum value maps for AppDataType.
Enum value maps for AppDataType.
Enum value maps for AppLanguage.
Enum value maps for AppLanguage.
Enum value maps for AppStatus.
Enum value maps for AppStatus.
Enum value maps for ComponentStatus.
Enum value maps for ComponentStatus.
Enum value maps for DeploySource.
Enum value maps for DeploySource.
No description provided by the author
No description provided by the author
Enum value maps for RepoType.
Enum value maps for RepoType.

# Structs

AppInfoRequest with the information required to ask for an application.
AppInfoRequestValidationError is the validation error returned by AppInfoRequest.Validate if the designated constraints aren't met.
Application top level entity.
No description provided by the author
No description provided by the author
ApplicationFromRepoConfigurationValidationError is the validation error returned by ApplicationFromRepoConfiguration.Validate if the designated constraints aren't met.
ApplicationInstanceConfiguration with the configuration with which the application will be deployed.
ApplicationInstanceConfigurationValidationError is the validation error returned by ApplicationInstanceConfiguration.Validate if the designated constraints aren't met.
ApplicationLogs.
ApplicationLogsValidationError is the validation error returned by ApplicationLogs.Validate if the designated constraints aren't met.
ApplicationValidationError is the validation error returned by Application.Validate if the designated constraints aren't met.
AppSummary with a summary of an application.
AppSummaryListResponse with a subset of applications.
AppSummaryListResponseValidationError is the validation error returned by AppSummaryListResponse.Validate if the designated constraints aren't met.
AppSummaryValidationError is the validation error returned by AppSummary.Validate if the designated constraints aren't met.
ComponentReplicas with the number of replicas of a component.
ComponentReplicasValidationError is the validation error returned by ComponentReplicas.Validate if the designated constraints aren't met.
ComponentSummary with the information a component for now only replicas and AvailableStop info TODO: Add Status, ingress and images.
ComponentSummaryValidationError is the validation error returned by ComponentSummary.Validate if the designated constraints aren't met.
DeployApplicationRequest with the information required to send a deploy request.
DeployApplicationRequestValidationError is the validation error returned by DeployApplicationRequest.Validate if the designated constraints aren't met.
DeployApplicationResponse with the response of a deploy operation.
DeployApplicationResponseValidationError is the validation error returned by DeployApplicationResponse.Validate if the designated constraints aren't met.
IngressInfo with the relevant information about an ingress.
IngressInfoValidationError is the validation error returned by IngressInfo.Validate if the designated constraints aren't met.
IngressList with a list of ingresses.
IngressListValidationError is the validation error returned by IngressList.Validate if the designated constraints aren't met.
LogEntry with a log info.
LogEntryValidationError is the validation error returned by LogEntry.Validate if the designated constraints aren't met.
LogRequest with the information required to ask for application logs.
LogRequestValidationError is the validation error returned by LogRequest.Validate if the designated constraints aren't met.
RemoveApplicationRequest to remove an application instance.
RemoveApplicationRequestValidationError is the validation error returned by RemoveApplicationRequest.Validate if the designated constraints aren't met.
No description provided by the author
ResumeApplicationComponentsRequestValidationError is the validation error returned by ResumeApplicationComponentsRequest.Validate if the designated constraints aren't met.
ResumeWorkflowRequest to resume a workflow application.
ResumeWorkflowRequestValidationError is the validation error returned by ResumeWorkflowRequest.Validate if the designated constraints aren't met.
ScaleRequest with the information required to scale an application.
ScaleRequestValidationError is the validation error returned by ScaleRequest.Validate if the designated constraints aren't met.
StopApplicationComponents with the information required to stop application components.
StopApplicationComponentsRequestValidationError is the validation error returned by StopApplicationComponentsRequest.Validate if the designated constraints aren't met.
UnimplementedAppsServer can be embedded to have forward compatible implementations.
UnimplementedWorkflowsServer can be embedded to have forward compatible implementations.
UpdateApplicationRequest with the information required to update a deployed application.
UpdateApplicationRequestValidationError is the validation error returned by UpdateApplicationRequest.Validate if the designated constraints aren't met.
ValidateRepoAccessRequest with the information required to validate if repo is accessible.
ValidateRepoAccessRequestValidationError is the validation error returned by ValidateRepoAccessRequest.Validate if the designated constraints aren't met.

# Interfaces

AppsClient is the client API for Apps service.
AppsServer is the server API for Apps service.
WorkflowsClient is the client API for Workflows service.
WorkflowsServer is the server API for Workflows service.

# Type aliases

AppDataType to indicate if the data is a tgz or a YAML.
AppInfoRequestMultiError is an error wrapping multiple validation errors returned by AppInfoRequest.ValidateAll() if the designated constraints aren't met.
Language with the language with which the application is implemented.
ApplicationFromRepoConfigurationMultiError is an error wrapping multiple validation errors returned by ApplicationFromRepoConfiguration.ValidateAll() if the designated constraints aren't met.
ApplicationInstanceConfigurationMultiError is an error wrapping multiple validation errors returned by ApplicationInstanceConfiguration.ValidateAll() if the designated constraints aren't met.
ApplicationLogsMultiError is an error wrapping multiple validation errors returned by ApplicationLogs.ValidateAll() if the designated constraints aren't met.
ApplicationMultiError is an error wrapping multiple validation errors returned by Application.ValidateAll() if the designated constraints aren't met.
AppStatus defines the status of an application.
AppSummaryListResponseMultiError is an error wrapping multiple validation errors returned by AppSummaryListResponse.ValidateAll() if the designated constraints aren't met.
AppSummaryMultiError is an error wrapping multiple validation errors returned by AppSummary.ValidateAll() if the designated constraints aren't met.
ComponentReplicasMultiError is an error wrapping multiple validation errors returned by ComponentReplicas.ValidateAll() if the designated constraints aren't met.
ComponentStatus defines the status of a component associated with an application configuration.
ComponentSummaryMultiError is an error wrapping multiple validation errors returned by ComponentSummary.ValidateAll() if the designated constraints aren't met.
DeployApplicationRequestMultiError is an error wrapping multiple validation errors returned by DeployApplicationRequest.ValidateAll() if the designated constraints aren't met.
DeployApplicationResponseMultiError is an error wrapping multiple validation errors returned by DeployApplicationResponse.ValidateAll() if the designated constraints aren't met.
No description provided by the author
IngressInfoMultiError is an error wrapping multiple validation errors returned by IngressInfo.ValidateAll() if the designated constraints aren't met.
IngressListMultiError is an error wrapping multiple validation errors returned by IngressList.ValidateAll() if the designated constraints aren't met.
LogEntryMultiError is an error wrapping multiple validation errors returned by LogEntry.ValidateAll() if the designated constraints aren't met.
LogRequestMultiError is an error wrapping multiple validation errors returned by LogRequest.ValidateAll() if the designated constraints aren't met.
RemoveApplicationRequestMultiError is an error wrapping multiple validation errors returned by RemoveApplicationRequest.ValidateAll() if the designated constraints aren't met.
RepoType with the repository (GITHUB and GitLab for now).
ResumeApplicationComponentsRequestMultiError is an error wrapping multiple validation errors returned by ResumeApplicationComponentsRequest.ValidateAll() if the designated constraints aren't met.
ResumeWorkflowRequestMultiError is an error wrapping multiple validation errors returned by ResumeWorkflowRequest.ValidateAll() if the designated constraints aren't met.
ScaleRequestMultiError is an error wrapping multiple validation errors returned by ScaleRequest.ValidateAll() if the designated constraints aren't met.
StopApplicationComponentsRequestMultiError is an error wrapping multiple validation errors returned by StopApplicationComponentsRequest.ValidateAll() if the designated constraints aren't met.
UpdateApplicationRequestMultiError is an error wrapping multiple validation errors returned by UpdateApplicationRequest.ValidateAll() if the designated constraints aren't met.
ValidateRepoAccessRequestMultiError is an error wrapping multiple validation errors returned by ValidateRepoAccessRequest.ValidateAll() if the designated constraints aren't met.