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.
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.
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.
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 ¶
- Constants
- type RasaCtl
- func (r *RasaCtl) Add() error
- func (r *RasaCtl) AuthLogin() error
- func (r *RasaCtl) AuthLogout() error
- func (r *RasaCtl) CheckDeploymentStatus() (bool, bool, error)
- func (r *RasaCtl) ConfigUseDeployment() error
- func (r *RasaCtl) ConnectRasa() error
- func (r *RasaCtl) CreateAndJoinKindNode() error
- func (r *RasaCtl) Delete() error
- func (r *RasaCtl) EnterpriseActivate() error
- func (r *RasaCtl) EnterpriseDeactivate() error
- func (r *RasaCtl) GetAllHelmValues() error
- func (r *RasaCtl) GetKindControlPlaneNodeInfo() error
- func (r *RasaCtl) GetRasaXToken() (string, error)
- func (r *RasaCtl) GetRasaXURL() (string, error)
- func (r *RasaCtl) GetReleaseStatus(releaseName string) (string, *release.Release, error)
- func (r *RasaCtl) InitClients() error
- func (r *RasaCtl) List() error
- func (r *RasaCtl) Logs(args []string) error
- func (r *RasaCtl) ModelDelete() error
- func (r *RasaCtl) ModelDownload() error
- func (r *RasaCtl) ModelList() error
- func (r *RasaCtl) ModelTag() error
- func (r *RasaCtl) ModelUpload() error
- func (r *RasaCtl) SetNamespaceClients(namespace string) error
- func (r *RasaCtl) Start() error
- func (r *RasaCtl) Status() error
- func (r *RasaCtl) Stop() error
- func (r *RasaCtl) Upgrade() error
Constants ¶
const ( StatusStopped = "Stopped" StatusRunning = "Running" StatusInstalling = "Installing" StatusUpgrading = "Upgrading" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RasaCtl ¶
type RasaCtl struct { // KubernetesClient defines the Kubernetes client. KubernetesClient k8s.KubernetesInterface // HelmClient defines the helm client. HelmClient helm.Interface // RasaXClient defines the Rasa X client. RasaXClient *rasax.RasaX // DockerClient defines the Docker client. DockerClient docker.Interface // Log defines logger. Log logr.Logger // Spinner stores a spinner object. Spinner *status.SpinnerMessage // Namespace is a namespace name. Namespace string // CloudProvider stores a type of a detected cloud provider. CloudProvider *cloud.Provider // Flags stores the command flags. Flags *types.RasaCtlFlags // contains filtered or unexported fields }
RasaCtl defines the rasactl client.
func (*RasaCtl) AuthLogout ¶
func (*RasaCtl) CheckDeploymentStatus ¶
CheckDeploymentStatus checks if a given deployment is deployed and running.
It returns 'true' as the first value if the deployment is deployed, and 'true' as the second value if the deployment is running.
func (*RasaCtl) ConfigUseDeployment ¶
ConfigUseDeployment sets the current-deployment in the configuration file.
func (*RasaCtl) ConnectRasa ¶
ConnectRasa connects a local rasa server to a given deployment.
func (*RasaCtl) CreateAndJoinKindNode ¶
CreateAndJoinKindNode creates and joins a kind node.
func (*RasaCtl) EnterpriseActivate ¶
EnterpriseActivate activates an Enterprise license.
func (*RasaCtl) EnterpriseDeactivate ¶
EnterpriseDeactivate deactivates an Enterprise license.
func (*RasaCtl) GetAllHelmValues ¶
GetAllHelmValues gets all evaluated values for a given helm release, and stores it in KubernetesClient.Helm.Values, HelmClient.Values.
func (*RasaCtl) GetKindControlPlaneNodeInfo ¶
GetKindControlPlaneNodeInfo gets information about a kind control plane node and stores data in the DockerClient.Kind object.
func (*RasaCtl) GetRasaXToken ¶
func (*RasaCtl) GetRasaXURL ¶
GetRasaXURL returns a Rasa X URL.
func (*RasaCtl) GetReleaseStatus ¶
GetReleaseStatus returns project status, helm release, and err for a given helm release name
func (*RasaCtl) InitClients ¶
InitClients initializes clients.
func (*RasaCtl) ModelDelete ¶
func (*RasaCtl) ModelDownload ¶
func (*RasaCtl) ModelUpload ¶
func (*RasaCtl) SetNamespaceClients ¶
SetNamespaceClients sets namespace for initialized clients.