status

package
v0.0.0-...-601a7b6 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Copyright © 2021 Rasa Technologies GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GreenBox

func GreenBox(tittle string, msg string)

GreenBox prints a green color box in the terminal.

func PrintOutput

func PrintOutput(data [][]string, format string)

PrintOutput returns string based on the output format.

func PrintRasaXStatus

func PrintRasaXStatus(version *rtypes.VersionEndpointResponse, url string, flags *types.RasaCtlFlags)

PrintRasaXStatus prints a box with details for Rasa X deployment.

func PrintTable

func PrintTable(header []string, data [][]string)

PrintTable prints a table in the terminal.

func PrintTableNoHeader

func PrintTableNoHeader(data [][]string)

PrintTableNoHeader prints a table without headers in the terminal.

func RedBox

func RedBox(tittle string, msg string)

RedBox prints a red color box in the terminal.

func YellowBox

func YellowBox(tittle string, msg string)

YellowBox prints a yellow box in the terminal.

Types

type SpinnerMessage

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

SpinnerMessage defines a spinner object.

func NewSpinner

func NewSpinner() *SpinnerMessage

NewSpinner creates a new spinner object.

func (*SpinnerMessage) Message

func (s *SpinnerMessage) Message(msg string)

Message adds a message to the Spinner object.

func (*SpinnerMessage) Stop

func (s *SpinnerMessage) Stop()

Jump to

Keyboard shortcuts

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