provider

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MPL-2.0 Imports: 32 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 NewCachedImageResource

func NewCachedImageResource() resource.Resource

Types

type CachedImageResource

type CachedImageResource struct {
	// contains filtered or unexported fields
}

CachedImageResource defines the resource implementation.

func (*CachedImageResource) Configure

func (*CachedImageResource) Create

func (*CachedImageResource) Delete

func (*CachedImageResource) Metadata

func (*CachedImageResource) Read

func (*CachedImageResource) Schema

func (*CachedImageResource) Update

type CachedImageResourceModel

type CachedImageResourceModel struct {
	// Required "inputs".
	BuilderImage types.String `tfsdk:"builder_image"`
	CacheRepo    types.String `tfsdk:"cache_repo"`
	GitURL       types.String `tfsdk:"git_url"`
	// Optional "inputs".
	BaseImageCacheDir    types.String `tfsdk:"base_image_cache_dir"`
	BuildContextPath     types.String `tfsdk:"build_context_path"`
	CacheTTLDays         types.Int64  `tfsdk:"cache_ttl_days"`
	DevcontainerDir      types.String `tfsdk:"devcontainer_dir"`
	DevcontainerJSONPath types.String `tfsdk:"devcontainer_json_path"`
	DockerfilePath       types.String `tfsdk:"dockerfile_path"`
	DockerConfigBase64   types.String `tfsdk:"docker_config_base64"`
	ExitOnBuildFailure   types.Bool   `tfsdk:"exit_on_build_failure"`
	ExtraEnv             types.Map    `tfsdk:"extra_env"`
	FallbackImage        types.String `tfsdk:"fallback_image"`
	GitCloneDepth        types.Int64  `tfsdk:"git_clone_depth"`
	GitCloneSingleBranch types.Bool   `tfsdk:"git_clone_single_branch"`
	GitHTTPProxyURL      types.String `tfsdk:"git_http_proxy_url"`
	GitPassword          types.String `tfsdk:"git_password"`
	GitSSHPrivateKeyPath types.String `tfsdk:"git_ssh_private_key_path"`
	GitUsername          types.String `tfsdk:"git_username"`
	IgnorePaths          types.List   `tfsdk:"ignore_paths"`
	Insecure             types.Bool   `tfsdk:"insecure"`
	RemoteRepoBuildMode  types.Bool   `tfsdk:"remote_repo_build_mode"`
	SSLCertBase64        types.String `tfsdk:"ssl_cert_base64"`
	Verbose              types.Bool   `tfsdk:"verbose"`
	WorkspaceFolder      types.String `tfsdk:"workspace_folder"`
	// Computed "outputs".
	Env    types.List   `tfsdk:"env"`
	EnvMap types.Map    `tfsdk:"env_map"`
	Exists types.Bool   `tfsdk:"exists"`
	ID     types.String `tfsdk:"id"`
	Image  types.String `tfsdk:"image"`
}

CachedImageResourceModel describes an envbuilder cached image resource.

type EnvbuilderProvider

type EnvbuilderProvider struct {
	// contains filtered or unexported fields
}

EnvbuilderProvider defines the provider implementation.

func (*EnvbuilderProvider) Configure

func (*EnvbuilderProvider) DataSources

func (p *EnvbuilderProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*EnvbuilderProvider) Functions

func (p *EnvbuilderProvider) Functions(ctx context.Context) []func() function.Function

func (*EnvbuilderProvider) Metadata

func (*EnvbuilderProvider) Resources

func (p *EnvbuilderProvider) Resources(ctx context.Context) []func() resource.Resource

func (*EnvbuilderProvider) Schema

type EnvbuilderProviderModel

type EnvbuilderProviderModel struct{}

EnvbuilderProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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