Documentation ¶
Index ¶
- func DataSourceImage() *schema.Resource
- func DataSourceImageTag() *schema.Resource
- func DataSourceImageTagRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func DataSourceNamespace() *schema.Resource
- func DataSourceNamespaceRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func DataSourceRegistryImageRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func NewAPIWithRegion(d *schema.ResourceData, m interface{}) (*registry.API, scw.Region, error)
- func NewAPIWithRegionAndID(m interface{}, id string) (*registry.API, scw.Region, string, error)
- func ResourceNamespace() *schema.Resource
- func ResourceNamespaceCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceNamespaceDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceNamespaceRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceNamespaceUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func WaitForNamespace(ctx context.Context, api *registry.API, region scw.Region, id string, ...) (*registry.Namespace, error)
- type ErrorRegistryMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceImage ¶
func DataSourceImageTag ¶ added in v2.46.0
func DataSourceImageTagRead ¶ added in v2.46.0
func DataSourceImageTagRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func DataSourceNamespace ¶
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 ¶
NewAPIWithRegionAndID returns a new container registry API, region and ID.
func ResourceNamespace ¶
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
Types ¶
type ErrorRegistryMessage ¶
type ErrorRegistryMessage struct {
Error string `json:"error"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.