provider

package
v9.9.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 37 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "9.0.0" // needs to be exported so make file can update this

Functions

func CheckEnvVars

func CheckEnvVars(vars []string, dv string) string

func Framework

func Framework() func() provider.Provider

func SdkV2

func SdkV2() *schema.Provider

SdkV2 Artifactory provider that supports configuration via Access Token Supported resources are repos, users, groups, replications, and permissions

Types

type ArtifactoryProvider

type ArtifactoryProvider struct{}

func (*ArtifactoryProvider) Configure

func (*ArtifactoryProvider) DataSources

func (p *ArtifactoryProvider) DataSources(ctx context.Context) []func() datasource.DataSource

DataSources satisfies the provider.Provider interface for ArtifactoryProvider.

func (*ArtifactoryProvider) Metadata

Metadata satisfies the provider.Provider interface for ArtifactoryProvider

func (*ArtifactoryProvider) Resources

func (p *ArtifactoryProvider) Resources(ctx context.Context) []func() resource.Resource

Resources satisfies the provider.Provider interface for ArtifactoryProvider.

func (*ArtifactoryProvider) Schema

Schema satisfies the provider.Provider interface for ArtifactoryProvider.

type ArtifactoryProviderModel

type ArtifactoryProviderModel struct {
	Url          types.String `tfsdk:"url"`
	AccessToken  types.String `tfsdk:"access_token"`
	ApiKey       types.String `tfsdk:"api_key"`
	CheckLicense types.Bool   `tfsdk:"check_license"`
}

ArtifactoryProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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