other

package
v1.24.2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceRoutingRule

func DataSourceRoutingRule() *schema.Resource

func GetCreationPayLoad added in v1.24.1

func GetCreationPayLoad(cu *CleanUpPolicy) string

func NewCleanUpScript

func NewCleanUpScript(name string) nexusSchema.Script

func NewDeleteCleanUpScript

func NewDeleteCleanUpScript(name string) nexusSchema.Script

func ResourceCleanUpPolicy

func ResourceCleanUpPolicy() *schema.Resource

func ResourceRoutingRule

func ResourceRoutingRule() *schema.Resource

func ResourceScript

func ResourceScript() *schema.Resource

Types

type CleanUpPolicy

type CleanUpPolicy struct {
	Name     string   `json:"name"`
	Format   string   `json:"format"`
	Notes    string   `json:"notes"`
	Criteria Criteria `json:"criteria"`
}

type Criteria

type Criteria struct {
	LastDownloaded  int    `json:"lastDownloaded"`
	LastBlobUpdated int    `json:"lastBlobUpdated"`
	Regex           string `json:"regex"`
}

Jump to

Keyboard shortcuts

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