provider

package
v7.11.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 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 added in v7.8.0

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

func Framework added in v7.8.0

func Framework() func() provider.Provider

func SdkV2 added in v7.8.0

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 added in v7.8.0

type ArtifactoryProvider struct {
	// contains filtered or unexported fields
}

func (*ArtifactoryProvider) Configure added in v7.8.0

func (*ArtifactoryProvider) DataSources added in v7.8.0

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

DataSources satisfies the provider.Provider interface for ArtifactoryProvider.

func (*ArtifactoryProvider) Metadata added in v7.8.0

Metadata satisfies the provider.Provider interface for ArtifactoryProvider

func (*ArtifactoryProvider) Resources added in v7.8.0

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

Resources satisfies the provider.Provider interface for ArtifactoryProvider.

func (*ArtifactoryProvider) Schema added in v7.8.0

Schema satisfies the provider.Provider interface for ArtifactoryProvider.

type ArtifactoryProviderModel added in v7.8.0

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