types

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: 1 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.

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

View Source
const (
	CloudProviderUnknown      = "Unknown"
	CloudProviderGoogle       = "GCP"
	CloudProviderAmazon       = "AWS"
	CloudProviderAlibaba      = "Alibaba Cloud"
	CloudProviderAzure        = "Azure"
	CloudProviderDigitalOcean = "Digital Ocean"
	CloudProviderOracle       = "Oracle Cloud"
)
View Source
const (
	// HelmChartNameRasaX stores a name of helm chart used to deploy Rasa X / Enterprise.
	HelmChartNameRasaX string = "rasa-x"

	// HelmChartVersionRasaX storage a version of helm chart used to deploy Rasa X / Enterprise.
	HelmChartVersionRasaX string = "4.3.3"
)
View Source
const (
	RasaCtlLocalDomain     string = "rasactl.localhost"
	RasaCtlAuthUserEnv     string = "RASACTL_AUTH_USER"
	RasaCtlAuthPasswordEnv string = "RASACTL_AUTH_PASSWORD" //nolint:golint,gosec
)
View Source
const (
	StateRasaXVersion      string = "rasa-x-version"
	StateRasaWorkerVersion string = "rasa-worker-version"
	StateProjectPath       string = "project-path"
	StateEnterprise        string = "enterprise"
	StateHelmChartName     string = "helm-chart-name"
	StateHelmReleaseName   string = "helm-release-name"
	StateHelmChartVersion  string = "helm-chart-version"
	StateHelmReleaseStatus string = "helm-release-status"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudProvider

type CloudProvider string

type HelmConfigurationSpec

type HelmConfigurationSpec struct {
	Timeout      time.Duration
	ReleaseName  string
	Version      string
	ReuseValues  bool
	StartProject bool
	Atomic       bool
	Wait         bool
}

HelmConfigurationSpec stores a configuration for the helm client.

type KubernetesBackendType

type KubernetesBackendType string
const (
	// KubernetesBackendLocal indicates if a Kubernetes cluster used as a backend is running
	// locally. The local type means that 127.0.0.1 address is used to connect to the Kubernetes API.
	KubernetesBackendLocal KubernetesBackendType = "local"

	// KubernetesBackendRemote indicates if a Kubernetes cluster used as a backend is running
	// remotely. The remote type means that external IP address is used to connect to the Kubernetes API.
	KubernetesBackendRemote KubernetesBackendType = "remote"
)

type RasaCtlAuthFlags

type RasaCtlAuthFlags struct {
	Login struct {
		Username      string
		Password      string
		PasswordStdin bool
	}
}

type RasaCtlConfigFlags

type RasaCtlConfigFlags struct {
	CreateFile bool
}

type RasaCtlConnectRasaFlags

type RasaCtlConnectRasaFlags struct {
	RunSeparateWorker bool
	Port              int
	ExtraArgs         []string
}

type RasaCtlDeleteFlags

type RasaCtlDeleteFlags struct {
	Force bool
	Prune bool
}

type RasaCtlEnterpriseFlags

type RasaCtlEnterpriseFlags struct {
	Activate struct {
		License      string
		LicenseStdin bool
	}
}

type RasaCtlGlobalFlags

type RasaCtlGlobalFlags struct {
	Debug   bool
	Verbose bool
}

type RasaCtlLogsFlags

type RasaCtlLogsFlags struct {
	TailLines int64
	Container string
	Follow    bool
	Previous  bool
}

type RasaCtlModelFlags

type RasaCtlModelFlags struct {
	Upload struct {
		File string
	}
	Download struct {
		Name     string
		FilePath string
	}
	Tag struct {
		Name  string
		Model string
	}
	Delete struct {
		Name string
	}
}

type RasaCtlStartFlags

type RasaCtlStartFlags struct {
	Create             bool
	ProjectPath        string
	Project            bool
	RasaXPassword      string
	RasaXPasswordStdin bool
	UseEdgeRelease     bool
}

type RasaCtlStartUpgradeFlags

type RasaCtlStartUpgradeFlags struct {
	ValuesFile string
}

type RasaCtlStatusFlags

type RasaCtlStatusFlags struct {
	Details bool
	Output  string
}

type RepositorySpec

type RepositorySpec struct {
	Name string
	URL  string
}

RepositorySpec stores data related to a helm repository.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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