Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewCachedImageResource() resource.Resource
- type CachedImageResource
- func (r *CachedImageResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *CachedImageResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CachedImageResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CachedImageResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *CachedImageResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CachedImageResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CachedImageResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CachedImageResourceModel
- type EnvbuilderProvider
- func (p *EnvbuilderProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *EnvbuilderProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *EnvbuilderProvider) Functions(ctx context.Context) []func() function.Function
- func (p *EnvbuilderProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *EnvbuilderProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *EnvbuilderProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type EnvbuilderProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCachedImageResource ¶
Types ¶
type CachedImageResource ¶
type CachedImageResource struct {
// contains filtered or unexported fields
}
CachedImageResource defines the resource implementation.
func (*CachedImageResource) Configure ¶
func (r *CachedImageResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CachedImageResource) Create ¶
func (r *CachedImageResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CachedImageResource) Delete ¶
func (r *CachedImageResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CachedImageResource) Metadata ¶
func (r *CachedImageResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*CachedImageResource) Read ¶
func (r *CachedImageResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CachedImageResource) Schema ¶
func (r *CachedImageResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CachedImageResource) Update ¶
func (r *CachedImageResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 (p *EnvbuilderProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
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 (p *EnvbuilderProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*EnvbuilderProvider) Resources ¶
func (p *EnvbuilderProvider) Resources(ctx context.Context) []func() resource.Resource
func (*EnvbuilderProvider) Schema ¶
func (p *EnvbuilderProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type EnvbuilderProviderModel ¶
type EnvbuilderProviderModel struct{}
EnvbuilderProviderModel describes the provider data model.
Click to show internal directories.
Click to hide internal directories.