provider

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func NewEnvironmentResource

func NewEnvironmentResource() resource.Resource

func NewOrganizationResource added in v0.0.5

func NewOrganizationResource() resource.Resource

Types

type EnvironmentAWSConfigResourceModel

type EnvironmentAWSConfigResourceModel struct {
	RoleArn types.String `tfsdk:"role_arn"`
}

type EnvironmentAzureConfigResourceModel

type EnvironmentAzureConfigResourceModel struct {
	ApplicationId  types.String `tfsdk:"application_id"`
	SubscriptionId types.String `tfsdk:"subscription_id"`
	TenantId       types.String `tfsdk:"tenant_id"`
}

type EnvironmentGoogleConfigResourceModel

type EnvironmentGoogleConfigResourceModel struct {
	ProjectId           types.String `tfsdk:"project_id"`
	ServiceAccountEmail types.String `tfsdk:"service_account_email"`
}

type EnvironmentResource

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

EnvironmentResource defines the resource implementation.

func (*EnvironmentResource) Configure

func (*EnvironmentResource) Create

func (*EnvironmentResource) Delete

func (*EnvironmentResource) ImportState

func (*EnvironmentResource) Metadata

func (*EnvironmentResource) Read

func (*EnvironmentResource) Schema

func (*EnvironmentResource) Update

type EnvironmentResourceModel

type EnvironmentResourceModel struct {
	Id             types.String                          `tfsdk:"id"`
	OrganizationId types.String                          `tfsdk:"organization_id"`
	Name           types.String                          `tfsdk:"name"`
	Kind           types.String                          `tfsdk:"kind"`
	Azure          *EnvironmentAzureConfigResourceModel  `tfsdk:"azure"`
	Google         *EnvironmentGoogleConfigResourceModel `tfsdk:"google"`
	Aws            *EnvironmentAWSConfigResourceModel    `tfsdk:"aws"`
}

EnvironmentResourceModel describes the resource data model.

type OrganizationResource added in v0.0.5

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

OrganizationResource defines the resource implementation.

func (*OrganizationResource) Configure added in v0.0.5

func (*OrganizationResource) Create added in v0.0.5

func (*OrganizationResource) Delete added in v0.0.5

func (*OrganizationResource) ImportState added in v0.0.5

func (*OrganizationResource) Metadata added in v0.0.5

func (*OrganizationResource) Read added in v0.0.5

func (*OrganizationResource) Schema added in v0.0.5

func (*OrganizationResource) Update added in v0.0.5

type OrganizationResourceModel added in v0.0.5

type OrganizationResourceModel struct {
	Id          types.String `tfsdk:"id"`
	GroupId     types.String `tfsdk:"group_id"`
	Name        types.String `tfsdk:"name"`
	SourceOrgId types.String `tfsdk:"source_organization_id"`
}

OrganizationResourceModel describes the resource data model.

type SnykProvider

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

SnykProvider defines the provider implementation.

func (*SnykProvider) Configure

func (*SnykProvider) DataSources

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

func (*SnykProvider) Metadata

func (*SnykProvider) Resources

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

func (*SnykProvider) Schema

type SnykProviderModel

type SnykProviderModel struct {
	Endpoint types.String `tfsdk:"endpoint"`
	ApiToken types.String `tfsdk:"api_token"`
}

SnykProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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