resource

package
v10.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArtifactResource

func NewArtifactResource() resource.Resource

Types

type ArtifactResource

type ArtifactResource struct {
	ProviderData util.ProviderMetadata
	TypeName     string
}

func (*ArtifactResource) Configure

func (*ArtifactResource) Create

func (*ArtifactResource) Delete

func (*ArtifactResource) Metadata

func (*ArtifactResource) Read

func (*ArtifactResource) Schema

func (*ArtifactResource) Update

type ArtifactResourceAPIModel

type ArtifactResourceAPIModel struct {
	Repository  string                            `json:"repo"`
	Path        string                            `json:"path"`
	Checksums   ArtifactResourceChecksumsAPIModel `json:"checksums"`
	Created     string                            `json:"created"`
	CreatedBy   string                            `json:"createdBy"`
	DownloadURI string                            `json:"downloadUri"`
	MimeType    string                            `json:"mimeType"`
	Size        string                            `json:"size"`
	URI         string                            `json:"uri"`
}

type ArtifactResourceChecksumsAPIModel

type ArtifactResourceChecksumsAPIModel struct {
	MD5    string `json:"md5"`
	SHA1   string `json:"sha1"`
	SHA256 string `json:"sha256"`
}

type ArtifactResourceModel

type ArtifactResourceModel struct {
	Repository     types.String `tfsdk:"repository"`
	Path           types.String `tfsdk:"path"`
	FilePath       types.String `tfsdk:"file_path"`
	ChecksumMD5    types.String `tfsdk:"checksum_md5"`
	ChecksumSHA1   types.String `tfsdk:"checksum_sha1"`
	ChecksumSHA256 types.String `tfsdk:"checksum_sha256"`
	Created        types.String `tfsdk:"created"`
	CreatedBy      types.String `tfsdk:"created_by"`
	DownloadURI    types.String `tfsdk:"download_uri"`
	MimeType       types.String `tfsdk:"mime_type"`
	Size           types.Int64  `tfsdk:"size"`
	URI            types.String `tfsdk:"uri"`
}

Directories

Path Synopsis
Package user supports the resource artifactory_user and artifactory_managed_user, which use the new terraform-plugin-framework
Package user supports the resource artifactory_user and artifactory_managed_user, which use the new terraform-plugin-framework

Jump to

Keyboard shortcuts

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