provider

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 64 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func NewBootstrapGitResource

func NewBootstrapGitResource() resource.Resource

func NewInstallDataSource added in v0.25.0

func NewInstallDataSource() datasource.DataSource

func NewProviderResourceData added in v0.25.0

func NewProviderResourceData(ctx context.Context, data ProviderModel) (*providerResourceData, error)

func NewSyncDataSource added in v0.25.0

func NewSyncDataSource() datasource.DataSource

Types

type Git added in v0.25.0

type Git struct {
	Url                   customtypes.URL `tfsdk:"url"`
	Branch                types.String    `tfsdk:"branch"`
	AuthorName            types.String    `tfsdk:"author_name"`
	AuthorEmail           types.String    `tfsdk:"author_email"`
	GpgKeyRing            types.String    `tfsdk:"gpg_key_ring"`
	GpgPassphrase         types.String    `tfsdk:"gpg_passphrase"`
	GpgKeyID              types.String    `tfsdk:"gpg_key_id"`
	CommitMessageAppendix types.String    `tfsdk:"commit_message_appendix"`
	Ssh                   *Ssh            `tfsdk:"ssh"`
	Http                  *Http           `tfsdk:"http"`
}

type Http

type Http struct {
	Username             types.String `tfsdk:"username"`
	Password             types.String `tfsdk:"password"`
	InsecureHttpAllowed  types.Bool   `tfsdk:"allow_insecure_http"`
	CertificateAuthority types.String `tfsdk:"certificate_authority"`
}

type Kubernetes added in v0.25.0

type Kubernetes struct {
	Host                  types.String    `tfsdk:"host"`
	Username              types.String    `tfsdk:"username"`
	Password              types.String    `tfsdk:"password"`
	Insecure              types.Bool      `tfsdk:"insecure"`
	ClientCertificate     types.String    `tfsdk:"client_certificate"`
	ClientKey             types.String    `tfsdk:"client_key"`
	ClusterCACertificate  types.String    `tfsdk:"cluster_ca_certificate"`
	ConfigPaths           types.Set       `tfsdk:"config_paths"`
	ConfigPath            types.String    `tfsdk:"config_path"`
	ConfigContext         types.String    `tfsdk:"config_context"`
	ConfigContextAuthInfo types.String    `tfsdk:"config_context_auth_info"`
	ConfigContextCluster  types.String    `tfsdk:"config_context_cluster"`
	Token                 types.String    `tfsdk:"token"`
	ProxyURL              types.String    `tfsdk:"proxy_url"`
	Exec                  *KubernetesExec `tfsdk:"exec"`
}

type KubernetesExec added in v1.0.0

type KubernetesExec struct {
	APIVersion types.String `tfsdk:"api_version"`
	Command    types.String `tfsdk:"command"`
	Env        types.Map    `tfsdk:"env"`
	Args       types.List   `tfsdk:"args"`
}

type ProviderModel added in v0.25.0

type ProviderModel struct {
	Kubernetes *Kubernetes `tfsdk:"kubernetes"`
	Git        *Git        `tfsdk:"git"`
}

type Ssh

type Ssh struct {
	Username   types.String `tfsdk:"username"`
	Password   types.String `tfsdk:"password"`
	PrivateKey types.String `tfsdk:"private_key"`
}

Jump to

Keyboard shortcuts

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