Documentation ¶
Index ¶
- func NewArtifactResource() resource.Resource
- type ArtifactResource
- func (r *ArtifactResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ArtifactResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ArtifactResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ArtifactResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ArtifactResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ArtifactResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ArtifactResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ArtifactResourceAPIModel
- type ArtifactResourceChecksumsAPIModel
- type ArtifactResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewArtifactResource ¶
Types ¶
type ArtifactResource ¶
type ArtifactResource struct { ProviderData util.ProviderMetadata TypeName string }
func (*ArtifactResource) Configure ¶
func (r *ArtifactResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ArtifactResource) Create ¶
func (r *ArtifactResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ArtifactResource) Delete ¶
func (r *ArtifactResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ArtifactResource) Metadata ¶
func (r *ArtifactResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ArtifactResource) Read ¶
func (r *ArtifactResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ArtifactResource) Schema ¶
func (r *ArtifactResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ArtifactResource) Update ¶
func (r *ArtifactResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 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 |
Click to show internal directories.
Click to hide internal directories.