Documentation ¶
Index ¶
- Constants
- func New(version string) func() tfsdk.Provider
- type AWSCredentials
- type AWSCredentialsDataSource
- type Application
- type ApplicationGitRepository
- type ApplicationPort
- type ApplicationStorage
- type ClientEnum
- type Cluster
- type ClusterRoute
- type ClusterRouteList
- type CustomDomain
- type CustomDomainList
- type Database
- type Environment
- type EnvironmentVariable
- type EnvironmentVariableList
- type Organization
- type Project
- type ScalewayCredentials
- type ScalewayCredentialsDataSource
- type Secret
- type SecretList
Constants ¶
View Source
const APITokenEnvName = "KUBEWORKZ_API_TOKEN"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AWSCredentials ¶
type Application ¶
type Application struct { Id types.String `tfsdk:"id"` EnvironmentId types.String `tfsdk:"environment_id"` Name types.String `tfsdk:"name"` GitRepository *ApplicationGitRepository `tfsdk:"git_repository"` BuildMode types.String `tfsdk:"build_mode"` DockerfilePath types.String `tfsdk:"dockerfile_path"` BuildpackLanguage types.String `tfsdk:"buildpack_language"` CPU types.Int64 `tfsdk:"cpu"` Memory types.Int64 `tfsdk:"memory"` MinRunningInstances types.Int64 `tfsdk:"min_running_instances"` MaxRunningInstances types.Int64 `tfsdk:"max_running_instances"` AutoPreview types.Bool `tfsdk:"auto_preview"` Storage []ApplicationStorage `tfsdk:"storage"` Ports []ApplicationPort `tfsdk:"ports"` CustomDomains types.Set `tfsdk:"custom_domains"` BuiltInEnvironmentVariables types.Set `tfsdk:"built_in_environment_variables"` EnvironmentVariables types.Set `tfsdk:"environment_variables"` Secrets types.Set `tfsdk:"secrets"` ExternalHost types.String `tfsdk:"external_host"` InternalHost types.String `tfsdk:"internal_host"` State types.String `tfsdk:"state"` }
func (Application) BuiltInEnvironmentVariableList ¶
func (app Application) BuiltInEnvironmentVariableList() EnvironmentVariableList
func (Application) CustomDomainsList ¶
func (app Application) CustomDomainsList() CustomDomainList
func (Application) EnvironmentVariableList ¶
func (app Application) EnvironmentVariableList() EnvironmentVariableList
func (Application) SecretList ¶
func (app Application) SecretList() SecretList
type ApplicationPort ¶
type ApplicationStorage ¶
type ClientEnum ¶
type ClientEnum interface { kubeworkz.BuildModeEnum | kubeworkz.BuildPackLanguageEnum | kubeworkz.CloudProviderEnum | kubeworkz.CustomDomainStatusEnum | kubeworkz.DatabaseAccessibilityEnum | kubeworkz.DatabaseModeEnum | kubeworkz.DatabaseTypeEnum | kubeworkz.EnvironmentModeEnum | kubeworkz.KubernetesEnum | kubeworkz.PlanEnum | kubeworkz.PortProtocolEnum | kubeworkz.StateEnum | kubeworkz.StorageTypeEnum }
type Cluster ¶
type Cluster struct { Id types.String `tfsdk:"id"` OrganizationId types.String `tfsdk:"organization_id"` CredentialsId types.String `tfsdk:"credentials_id"` Name types.String `tfsdk:"name"` CloudProvider types.String `tfsdk:"cloud_provider"` Region types.String `tfsdk:"region"` Description types.String `tfsdk:"description"` KubernetesMode types.String `tfsdk:"kubernetes_mode"` InstanceType types.String `tfsdk:"instance_type"` MinRunningNodes types.Int64 `tfsdk:"min_running_nodes"` MaxRunningNodes types.Int64 `tfsdk:"max_running_nodes"` Features types.Object `tfsdk:"features"` RoutingTables types.Set `tfsdk:"routing_table"` State types.String `tfsdk:"state"` }
type ClusterRoute ¶
type ClusterRouteList ¶
type ClusterRouteList []ClusterRoute
type CustomDomain ¶
type CustomDomainList ¶
type CustomDomainList []CustomDomain
type Database ¶
type Database struct { Id types.String `tfsdk:"id"` EnvironmentId types.String `tfsdk:"environment_id"` Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` Version types.String `tfsdk:"version"` Mode types.String `tfsdk:"mode"` Accessibility types.String `tfsdk:"accessibility"` CPU types.Int64 `tfsdk:"cpu"` Memory types.Int64 `tfsdk:"memory"` ExternalHost types.String `tfsdk:"external_host"` InternalHost types.String `tfsdk:"internal_host"` Port types.Int64 `tfsdk:"port"` Login types.String `tfsdk:"login"` Password types.String `tfsdk:"password"` Storage types.Int64 `tfsdk:"storage"` State types.String `tfsdk:"state"` }
type Environment ¶
type Environment struct { Id types.String `tfsdk:"id"` ProjectId types.String `tfsdk:"project_id"` ClusterId types.String `tfsdk:"cluster_id"` Name types.String `tfsdk:"name"` Mode types.String `tfsdk:"mode"` BuiltInEnvironmentVariables types.Set `tfsdk:"built_in_environment_variables"` EnvironmentVariables types.Set `tfsdk:"environment_variables"` Secrets types.Set `tfsdk:"secrets"` }
func (Environment) BuiltInEnvironmentVariableList ¶
func (e Environment) BuiltInEnvironmentVariableList() EnvironmentVariableList
func (Environment) EnvironmentVariableList ¶
func (e Environment) EnvironmentVariableList() EnvironmentVariableList
func (Environment) SecretList ¶
func (e Environment) SecretList() SecretList
type EnvironmentVariable ¶
type EnvironmentVariableList ¶
type EnvironmentVariableList []EnvironmentVariable
type Organization ¶
type Project ¶
type Project struct { Id types.String `tfsdk:"id"` OrganizationId types.String `tfsdk:"organization_id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` BuiltInEnvironmentVariables types.Set `tfsdk:"built_in_environment_variables"` EnvironmentVariables types.Set `tfsdk:"environment_variables"` Secrets types.Set `tfsdk:"secrets"` }
func (Project) BuiltInEnvironmentVariableList ¶
func (p Project) BuiltInEnvironmentVariableList() EnvironmentVariableList
func (Project) EnvironmentVariableList ¶
func (p Project) EnvironmentVariableList() EnvironmentVariableList
func (Project) SecretList ¶
func (p Project) SecretList() SecretList
type ScalewayCredentials ¶
type ScalewayCredentials struct { Id types.String `tfsdk:"id"` OrganizationId types.String `tfsdk:"organization_id"` Name types.String `tfsdk:"name"` ScalewayAccessKey types.String `tfsdk:"scaleway_access_key"` ScalewaySecretKey types.String `tfsdk:"scaleway_secret_key"` ScalewayProjectId types.String `tfsdk:"scaleway_project_id"` }
type SecretList ¶
type SecretList []Secret
Source Files ¶
- cluster_route_model.go
- custom_domain_model.go
- data_source_application.go
- data_source_aws_credentials.go
- data_source_cluster.go
- data_source_database.go
- data_source_environment.go
- data_source_organization.go
- data_source_project.go
- data_source_scaleway_credentials.go
- environment_variable_model.go
- provider.go
- resource_application.go
- resource_application_model.go
- resource_aws_credentials.go
- resource_aws_credentials_model.go
- resource_cluster.go
- resource_cluster_model.go
- resource_database.go
- resource_database_model.go
- resource_environment.go
- resource_environment_model.go
- resource_organization.go
- resource_organization_model.go
- resource_project.go
- resource_project_model.go
- resource_scaleway_credentials.go
- resource_scaleway_credentials_model.go
- secret_model.go
- types_conversions.go
Click to show internal directories.
Click to hide internal directories.