provider

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Overview

authorization.go

cockroachdb.go

Index

Constants

View Source
const (
	SessionTTLOptionNone = ""
	// hours
	SessionTTLOption3Hours = "3h"
	SessionTTLOption6Hours = "6h"
	// days
	SessionTTLOption1days   = "1d"
	SessionTTLOption3days   = "3d"
	SessionTTLOption7days   = "7d"
	SessionTTLOption30days  = "30d"
	SessionTTLOption60days  = "60d"
	SessionTTLOption90days  = "90d"
	SessionTTLOption180days = "180d"
	SessionTTLOption360days = "360d"
)
View Source
const (
	SessionTypeDefault = "direct"
	SessionTypeDirect  = "direct"
	SessionTypeScript  = "script"
	SessionTypeClient  = "client"
)
View Source
const (
	EndpointMemoryDefault = "256Mi"
	EndpointMemory128     = "128Mi"
	EndpointMemory256     = "256Mi"
	EndpointMemory512     = "512Mi"
	EndpointMemory1024    = "1024Mi"
	EndpointMemory2048    = "2048Mi"
	EndpointMemory4096    = "4096Mi"
	EndpointMemory8192    = "8192Mi"
)
View Source
const (
	EndpointCPUDefault = "0.5"
	EndpointCPU0125    = "0.125"
	EndpointCPU025     = "0.25"
	EndpointCPU050     = "0.5"
	EndpointCPU100     = "1"
	EndpointCPU200     = "2"
	EndpointCPU400     = "4"
	EndpointCPU800     = "8"
)

Variables

View Source
var (
	ErrResourceNameNotFound = errors.New("resource name not found")
	ErrAttributeNotFound    = errors.New("attribute not found")
	ErrAttributeBadType     = errors.New("attribute has bad type")
)

Functions

func New

func New(version string) func() *schema.Provider

Types

type AWSCLIIntegrationConfiguration

type AWSCLIIntegrationConfiguration struct {
	Name               string `yaml:"name"`
	Version            string `yaml:"version"`
	AWSRegionName      string `yaml:"aws_region_name"`
	AWSAccessKeyID     string `yaml:"aws_access_key_id"`
	AWSSecretAccessKey string `yaml:"aws_secret_access_key"`
}

type AWSDocumentDBIntegrationConfiguration added in v0.0.6

type AWSDocumentDBIntegrationConfiguration struct {
	Name string `yaml:"name"`
	URI  string `yaml:"uri"`
}

type AWSRedshiftIntegrationConfiguration added in v0.0.8

type AWSRedshiftIntegrationConfiguration struct {
	Version      string `yaml:"version"`
	Name         string `yaml:"name"`
	Username     string `yaml:"username"`
	Password     string `yaml:"password"`
	DatabaseName string `yaml:"databaseName"`
	HostName     string `yaml:"hostname"`
	Port         string `yaml:"port"`
	SSLMode      string `yaml:"sslMode"`
}

type AWSSecretsManagerConfiguration added in v0.0.21

type AWSSecretsManagerConfiguration struct {
	Version       string `yaml:"version"`
	Name          string `yaml:"name"`
	AWSRegionName string `yaml:"aws_region_name"`
	AWSARN        string `yaml:"aws_arn"`
}

type AdaptiveCLISVCToken

type AdaptiveCLISVCToken struct {
	Token        string `json:"token"`
	WorkspaceURL string `json:"url"`
}

type AuthorizationConfiguration added in v0.0.3

type AuthorizationConfiguration struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	// Authorization model has changed since v0.4.0
	//Resource    string `json:"resource"`
	ResourceType string `json:"resource_type"`
	Permission   string `json:"permission"`
}

type AzureIntegrationConfiguration

type AzureIntegrationConfiguration struct {
	Version       string `yaml:"version"`
	Name          string `yaml:"name"`
	TenantID      string `yaml:"tenantID"`
	ApplicationID string `yaml:"applicationID"`
	ClientSecret  string `yaml:"clientSecret"`
}

type CockroachDBIntegrationConfiguration

type CockroachDBIntegrationConfiguration struct {
	Name         string `yaml:"name"`
	Username     string `yaml:"username"`
	Password     string `yaml:"password"`
	DatabaseName string `yaml:"databaseName"`
	HostName     string `yaml:"hostname"`
	Port         string `yaml:"port"`
	SSLMode      string `yaml:"sslMode"`
	RootCert     string `yaml:"rootCert"`
}

type GCPIntegrationConfiguration

type GCPIntegrationConfiguration struct {
	Version   string `yaml:"version"`
	Name      string `yaml:"name"`
	ProjectID string `yaml:"project_id"`
	KeyFile   string `yaml:"key_file"`
}

type GoogleOAuthIntegrationConfiguration

type GoogleOAuthIntegrationConfiguration struct {
	Version      string `yaml:"Version"`
	Name         string `yaml:"name"`
	Domain       string `yaml:"domain"`
	ClientID     string `yaml:"clientID"`
	ClientSecret string `yaml:"clientSecret"`
}

type KubernetesIntegrationConfiguration added in v0.0.3

type KubernetesIntegrationConfiguration struct {
	Name         string `yaml:"name"`
	ApiServer    string `yaml:"apiserver"`
	ClusterToken string `yaml:"token"`
	ClusterCerts string `yaml:"cacrt"`
	Namespace    string `yaml:"namespace,omitempty"`
}

type MongoAtlasIntegrationConfiguration added in v0.0.8

type MongoAtlasIntegrationConfiguration struct {
	Name           string `yaml:"name"`
	OrganisationID string `yaml:"organization_id"`
	PublicKey      string `yaml:"public_key"`
	PrivateKey     string `yaml:"private_key"`
	ProjectID      string `yaml:"project_id"`
	URI            string `yaml:"uri"`
}

type MongoDBAWSIntegrationConfiguration added in v0.0.19

type MongoDBAWSIntegrationConfiguration struct {
	Version  string `yaml:"version"`
	Name     string `yaml:"name"`
	ARN      string `yaml:"arn"`
	Region   string `yaml:"region"`
	SecretID string `yaml:"secret_id"`
	Key      string `yaml:"key"`
}

type MongoIntegrationConfiguration

type MongoIntegrationConfiguration struct {
	Name string `yaml:"name"`
	URI  string `yaml:"uri"`
}

type MySQLAWSIntegrationConfiguration added in v0.0.19

type MySQLAWSIntegrationConfiguration struct {
	Version  string `yaml:"version"`
	Name     string `yaml:"name"`
	ARN      string `yaml:"arn"`
	Region   string `yaml:"region"`
	SecretID string `yaml:"secret_id"`
}

type MySQLIntegrationConfiguration

type MySQLIntegrationConfiguration struct {
	Version      string `yaml:"version"`
	Name         string `yaml:"name"`
	Username     string `yaml:"username"`
	Password     string `yaml:"password"`
	DatabaseName string `yaml:"databaseName"`
	HostName     string `yaml:"hostname"`
	Port         string `yaml:"port"`
	SSLMode      string `yaml:"sslMode"`
}

type OktaOAuthIntegrationConfiguration

type OktaOAuthIntegrationConfiguration struct {
	Version      string `yaml:"version"`
	Name         string `yaml:"name"`
	Domain       string `yaml:"domain"`
	ClientID     string `yaml:"clientID"`
	ClientSecret string `yaml:"clientSecret"`
}

type PostgresIntegrationAWSConfiguration added in v0.0.19

type PostgresIntegrationAWSConfiguration struct {
	Name     string `yaml:"name"`
	ARN      string `yaml:"arn"`
	Region   string `yaml:"region"`
	SecretID string `yaml:"secret_id"`
}

type PostgresIntegrationConfiguration

type PostgresIntegrationConfiguration struct {
	Name         string `yaml:"name"`
	Username     string `yaml:"username"`
	Password     string `yaml:"password"`
	DatabaseName string `yaml:"databaseName"`
	HostName     string `yaml:"hostname"`
	Port         string `yaml:"port"`
	SSLMode      string `yaml:"sslMode"`
	TLSRootCert  string `yaml:"rootCert"`
	TLSCertFile  string `yaml:"crtText"`
	TLSKeyFile   string `yaml:"keyText"`
}

type RDPWindowsIntegrationConfiguration added in v0.0.15

type RDPWindowsIntegrationConfiguration struct {
	Version  string `yaml:"version"`
	Name     string `yaml:"name"`
	Hostname string `yaml:"hostname"`
	Password string `yaml:"password"`
	Username string `yaml:"username"`
	Port     string `yaml:"port"`
}

type SSHIntegrationConfiguration

type SSHIntegrationConfiguration struct {
	Version     string `yaml:"version"`
	Name        string `yaml:"name"`
	Username    string `yaml:"username"`
	UsePassword bool   `yaml:"usePassword"`
	Password    string `yaml:"password"`
	HostName    string `yaml:"hostname"`
	Port        string `yaml:"port"`
	SSHKey      string `yaml:"sshKey"`
}

type ServerListIntegrationConfiguration added in v0.1.4

type ServerListIntegrationConfiguration struct {
	Version     string `yaml:"version"`
	Hosts       string `yaml:"hosts"`
	DefaultUser string `yaml:"user"`
	SshKey      string `yaml:"sshKey"`
	Password    string `yaml:"password"`
}

type ServiceListIntegrationConfiguration

type ServiceListIntegrationConfiguration struct {
	Name    string `yaml:"name"`
	Version string `yaml:"version"`
	URLs    string `yaml:"urls"`
}

type ZeroTierConfiguration added in v0.0.8

type ZeroTierConfiguration struct {
	Name      string `yaml:"name"`
	NetworkID string `yaml:"network_id"`
	Token     string `yaml:"api_token,omitempty"`
	Version   string `yaml:"version,omitempty"`
}

Jump to

Keyboard shortcuts

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