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.
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.
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.
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.
Index ¶
- func GreenBox(tittle string, msg string)
- func PrintOutput(data [][]string, format string)
- func PrintRasaXStatus(version *rtypes.VersionEndpointResponse, url string, flags *types.RasaCtlFlags)
- func PrintTable(header []string, data [][]string)
- func PrintTableNoHeader(data [][]string)
- func RedBox(tittle string, msg string)
- func YellowBox(tittle string, msg string)
- type SpinnerMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintOutput ¶
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 ¶
PrintTable prints a table in the terminal.
func PrintTableNoHeader ¶
func PrintTableNoHeader(data [][]string)
PrintTableNoHeader prints a table without headers in the terminal.
Types ¶
type SpinnerMessage ¶
type SpinnerMessage struct {
// contains filtered or unexported fields
}
SpinnerMessage defines a 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()