repository

package
v12.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const EndPoint = "artifactory/api/repositories/"

Variables

This section is empty.

Functions

func MkRepoReadDataSource

func MkRepoReadDataSource(pack packer.PackFunc, construct repository.Constructor) schema.ReadContextFunc

func NewRepositoriesDataSource

func NewRepositoriesDataSource() datasource.DataSource

Types

type RepositoriesAPIModel

type RepositoriesAPIModel struct {
	Key         string `json:"key"`
	Type        string `json:"type"`
	Description string `json:"description"`
	URL         string `json:"url"`
	PackageType string `json:"packageType"`
}

type RepositoriesDataSource

type RepositoriesDataSource struct {
	ProviderData util.ProviderMetadata
}

func (*RepositoriesDataSource) Configure

func (*RepositoriesDataSource) Metadata

func (*RepositoriesDataSource) Read

func (*RepositoriesDataSource) Schema

type RepositoriesDataSourceModel

type RepositoriesDataSourceModel struct {
	RepositoryType types.String `tfsdk:"repository_type"`
	PackageType    types.String `tfsdk:"package_type"`
	ProjectKey     types.String `tfsdk:"project_key"`
	Repos          types.Set    `tfsdk:"repos"`
}

func (*RepositoriesDataSourceModel) FromAPIModel

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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