registry

package
v2.48.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceImage

func DataSourceImage() *schema.Resource

func DataSourceImageTag added in v2.46.0

func DataSourceImageTag() *schema.Resource

func DataSourceImageTagRead added in v2.46.0

func DataSourceImageTagRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DataSourceNamespace

func DataSourceNamespace() *schema.Resource

func DataSourceNamespaceRead

func DataSourceNamespaceRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DataSourceRegistryImageRead

func DataSourceRegistryImageRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func NewAPIWithRegion

func NewAPIWithRegion(d *schema.ResourceData, m interface{}) (*registry.API, scw.Region, error)

NewAPIWithRegion returns a new container registry API and the region.

func NewAPIWithRegionAndID

func NewAPIWithRegionAndID(m interface{}, id string) (*registry.API, scw.Region, string, error)

NewAPIWithRegionAndID returns a new container registry API, region and ID.

func ResourceNamespace

func ResourceNamespace() *schema.Resource

func ResourceNamespaceCreate

func ResourceNamespaceCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceNamespaceDelete

func ResourceNamespaceDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceNamespaceRead

func ResourceNamespaceRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceNamespaceUpdate

func ResourceNamespaceUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func WaitForNamespace

func WaitForNamespace(ctx context.Context, api *registry.API, region scw.Region, id string, timeout time.Duration) (*registry.Namespace, error)

Types

type ErrorRegistryMessage

type ErrorRegistryMessage struct {
	Error string `json:"error"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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