Documentation ¶
Index ¶
- func ArtifactoryFile() *schema.Resource
- func ArtifactoryFileInfo() *schema.Resource
- func NewFileListDataSource() datasource.DataSource
- type Checksums
- type FileInfo
- type FileListAPIModel
- type FileListAttribute
- type FileListDataSource
- func (d *FileListDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *FileListDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *FileListDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *FileListDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type FileListDataSourceModel
- type FileListMetadataTimestamps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArtifactoryFile ¶
func ArtifactoryFileInfo ¶
func NewFileListDataSource ¶
func NewFileListDataSource() datasource.DataSource
Types ¶
type FileInfo ¶
type FileInfo struct { Repo string `json:"repo,omitempty"` Path string `json:"path,omitempty"` Created string `json:"created,omitempty"` CreatedBy string `json:"createdBy,omitempty"` LastModified string `json:"lastModified,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` LastUpdated string `json:"lastUpdated,omitempty"` DownloadUri string `json:"downloadUri,omitempty"` MimeType string `json:"mimeType,omitempty"` Size int `json:"size,string,omitempty"` Checksums Checksums `json:"checksums,omitempty"` OriginalChecksums Checksums `json:"originalChecksums,omitempty"` Uri string `json:"uri,omitempty"` }
type FileListAPIModel ¶
type FileListAPIModel struct { Uri string `json:"uri"` Created time.Time `json:"created"` Files []FileListAttribute `json:"files"` }
type FileListAttribute ¶
type FileListDataSource ¶
type FileListDataSource struct { ProviderData util.ProviderMetadata TypeName string }
func (*FileListDataSource) Configure ¶
func (d *FileListDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*FileListDataSource) Metadata ¶
func (d *FileListDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*FileListDataSource) Read ¶
func (d *FileListDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*FileListDataSource) Schema ¶
func (d *FileListDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type FileListDataSourceModel ¶
type FileListDataSourceModel struct { RepositoryKey types.String `tfsdk:"repository_key"` FolderPath types.String `tfsdk:"folder_path"` DeepListing types.Bool `tfsdk:"deep_listing"` Depth types.Int64 `tfsdk:"depth"` ListFolders types.Bool `tfsdk:"list_folders"` MetadataTimestamps types.Bool `tfsdk:"metadata_timestamps"` IncludeRootPath types.Bool `tfsdk:"include_root_path"` Uri types.String `tfsdk:"uri"` Created types.String `tfsdk:"created"` Files types.List `tfsdk:"files"` }
func (*FileListDataSourceModel) FromAPIModel ¶
func (m *FileListDataSourceModel) FromAPIModel(ctx context.Context, data FileListAPIModel) (ds diag.Diagnostics)
type FileListMetadataTimestamps ¶
type FileListMetadataTimestamps struct {
Properties string `json:"properties"`
}
Click to show internal directories.
Click to hide internal directories.