jobs

package
v2.41.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIWithRegionAndID

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

NewAPIWithRegionAndID returns a new jobs API with region and ID extracted from the state

func ResourceDefinition

func ResourceDefinition() *schema.Resource

func ResourceJobDefinitionCreate

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

func ResourceJobDefinitionDelete

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

func ResourceJobDefinitionRead

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

func ResourceJobDefinitionUpdate

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

Types

type JobDefinitionCron

type JobDefinitionCron struct {
	Schedule string
	Timezone string
}

func (*JobDefinitionCron) ToCreateRequest

func (*JobDefinitionCron) ToUpdateRequest

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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