provider

package
v10.8.4 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 36 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "10.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"`
	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