provider

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ImportPathKey is used for common "importpath" resource attribute
	ImportPathKey = "importpath"
	// WorkingDirKey is used for common "working_dir" resource attribute
	WorkingDirKey = "working_dir"
	// PlatformsKey is used for common "platforms" resource attribute
	PlatformsKey = "platforms"
	// SBOMKey is used for common "sbom" resource attribute
	SBOMKey = "sbom"
	// BaseImageKey is used for common "base_image" resource attribute
	BaseImageKey = "base_image"
	// TagsKey is used for common "tags" resource attribute
	TagsKey = "tags"
	// TagOnlyKey is used for common "tag_only" resource attribute
	TagOnlyKey = "tag_only"
	// PushKey is used for common "push" resource attribute
	PushKey = "push"
	// FilenamesKey is used for common "filenames" resource attribute
	FilenamesKey = "filenames"
	// RecursiveKey is used for common "recursive" resource attribute
	RecursiveKey = "recursive"
	// SelectorKey is used for common "selector" resource attribute
	SelectorKey = "selector"
	// ImageRefKey is used for common "image_ref" resource attribute
	ImageRefKey = "image_ref"
	// ManifestsKey is used for common "manifests" resource attribute
	ManifestsKey = "manifests"
	// RepoKey is used for common "repo" resource attribute
	RepoKey = "repo"
)

Variables

This section is empty.

Functions

func New

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

func StringSlice

func StringSlice(in []interface{}) []string

Types

type Opts added in v0.0.7

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

func NewProviderOpts

func NewProviderOpts(meta interface{}) (*Opts, error)

type Resolved

type Resolved struct {
	ID        string
	Manifests []string
}

type Resolver

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

func NewResolver

func NewResolver(d *schema.ResourceData, meta interface{}) (*Resolver, error)

func (*Resolver) Resolve

func (r *Resolver) Resolve(ctx context.Context) (*Resolved, error)

type ResolverInt added in v0.0.7

type ResolverInt interface {
	Resolve(ctx context.Context) (*Resolved, error)
}

Jump to

Keyboard shortcuts

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