provider

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: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

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(_ 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"`
	OIDCProviderName     types.String `tfsdk:"oidc_provider_name"`
	TFCCredentialTagName types.String `tfsdk:"tfc_credential_tag_name"`
}

ArtifactoryProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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