provider

package
v8.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 32 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "7.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 {
	// contains filtered or unexported fields
}

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