serviceendpoints

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateResourceServiceEndpoint

func CreateResourceServiceEndpoint(ctx context.Context, projectId string, args *serviceendpoints.CreateOrUpdateServiceEndpointArgs, serviceEndpointsClient *serviceendpoints.Client, pipelinesClient *pipelines.Client, resp *resource.CreateResponse) (*serviceendpoints.ServiceEndpoint, error)

func DeleteResourceServiceEndpoint

func DeleteResourceServiceEndpoint(ctx context.Context, id string, projectId string, serviceEndpointsClient *serviceendpoints.Client, resp *resource.DeleteResponse)

func GetServiceEndpointResourceSchemaBase

func GetServiceEndpointResourceSchemaBase(description string) schema.Schema

func NewServiceEndpointAzureRmResource

func NewServiceEndpointAzureRmResource() resource.Resource

func NewServiceEndpointBitbucketResource

func NewServiceEndpointBitbucketResource() resource.Resource

func NewServiceEndpointDockerRegistryResource added in v0.6.0

func NewServiceEndpointDockerRegistryResource() resource.Resource

func NewServiceEndpointGenericResource added in v0.6.0

func NewServiceEndpointGenericResource() resource.Resource

func NewServiceEndpointGitHubResource

func NewServiceEndpointGitHubResource() resource.Resource

func NewServiceEndpointJFrogResource added in v0.5.0

func NewServiceEndpointJFrogResource() resource.Resource

func NewServiceEndpointKubernetesResource

func NewServiceEndpointKubernetesResource() resource.Resource

func NewServiceEndpointNpmResource added in v0.6.0

func NewServiceEndpointNpmResource() resource.Resource

func NewServiceEndpointNuGetResource added in v0.6.0

func NewServiceEndpointNuGetResource() resource.Resource

func NewServiceEndpointPermissionsResource added in v0.5.0

func NewServiceEndpointPermissionsResource() resource.Resource

func NewServiceEndpointShareResource

func NewServiceEndpointShareResource() resource.Resource

func NewServiceEndpointSonarCloudResource added in v0.6.2

func NewServiceEndpointSonarCloudResource() resource.Resource

func NewServiceEndpointVsAppCenterResource

func NewServiceEndpointVsAppCenterResource() resource.Resource

func ReadResourceServiceEndpoint

func ReadResourceServiceEndpoint(ctx context.Context, id string, projectId string, serviceEndpointsClient *serviceendpoints.Client, pipelinesClient *pipelines.Client, resp *resource.ReadResponse) (*serviceendpoints.ServiceEndpoint, bool, error)

func UpdateResourceServiceEndpoint

func UpdateResourceServiceEndpoint(ctx context.Context, id string, projectId string, args *serviceendpoints.CreateOrUpdateServiceEndpointArgs, serviceEndpointsClient *serviceendpoints.Client, pipelinesClient *pipelines.Client, resp *resource.UpdateResponse) (*serviceendpoints.ServiceEndpoint, error)

Types

type ServiceEndpointAzureRmResource

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

func (*ServiceEndpointAzureRmResource) Configure

func (*ServiceEndpointAzureRmResource) Create

func (*ServiceEndpointAzureRmResource) Delete

func (*ServiceEndpointAzureRmResource) Metadata

func (*ServiceEndpointAzureRmResource) Read

func (*ServiceEndpointAzureRmResource) Schema

func (*ServiceEndpointAzureRmResource) Update

type ServiceEndpointAzureRmResourceModel

type ServiceEndpointAzureRmResourceModel struct {
	Description         *string      `tfsdk:"description"`
	Id                  types.String `tfsdk:"id"`
	GrantAllPipelines   bool         `tfsdk:"grant_all_pipelines"`
	Name                string       `tfsdk:"name"`
	ProjectId           string       `tfsdk:"project_id"`
	ServicePrincipalId  string       `tfsdk:"service_principal_id"`
	ServicePrincipalKey string       `tfsdk:"service_principal_key"`
	SubscriptionId      string       `tfsdk:"subscription_id"`
	SubscriptionName    string       `tfsdk:"subscription_name"`
	TenantId            string       `tfsdk:"tenant_id"`
}

type ServiceEndpointBitbucketResource

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

func (*ServiceEndpointBitbucketResource) Configure

func (*ServiceEndpointBitbucketResource) Create

func (*ServiceEndpointBitbucketResource) Delete

func (*ServiceEndpointBitbucketResource) Metadata

func (*ServiceEndpointBitbucketResource) Read

func (*ServiceEndpointBitbucketResource) Schema

func (*ServiceEndpointBitbucketResource) Update

type ServiceEndpointBitbucketResourceModel

type ServiceEndpointBitbucketResourceModel struct {
	Description       *string      `tfsdk:"description"`
	Id                types.String `tfsdk:"id"`
	GrantAllPipelines bool         `tfsdk:"grant_all_pipelines"`
	Name              string       `tfsdk:"name"`
	Password          string       `tfsdk:"password"`
	ProjectId         string       `tfsdk:"project_id"`
	UserName          string       `tfsdk:"username"`
}

type ServiceEndpointDockerRegistryResource added in v0.6.0

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

func (*ServiceEndpointDockerRegistryResource) Configure added in v0.6.0

func (*ServiceEndpointDockerRegistryResource) Create added in v0.6.0

func (*ServiceEndpointDockerRegistryResource) Delete added in v0.6.0

func (*ServiceEndpointDockerRegistryResource) Metadata added in v0.6.0

func (*ServiceEndpointDockerRegistryResource) Read added in v0.6.0

func (*ServiceEndpointDockerRegistryResource) Schema added in v0.6.0

func (*ServiceEndpointDockerRegistryResource) Update added in v0.6.0

type ServiceEndpointDockerRegistryResourceModel added in v0.6.0

type ServiceEndpointDockerRegistryResourceModel struct {
	Description       *string      `tfsdk:"description"`
	GrantAllPipelines bool         `tfsdk:"grant_all_pipelines"`
	Id                types.String `tfsdk:"id"`
	Name              string       `tfsdk:"name"`
	Password          string       `tfsdk:"password"`
	ProjectId         string       `tfsdk:"project_id"`
	URL               string       `tfsdk:"url"`
	Username          string       `tfsdk:"username"`
}

type ServiceEndpointGenericResource added in v0.6.0

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

func (*ServiceEndpointGenericResource) Configure added in v0.6.0

func (*ServiceEndpointGenericResource) Create added in v0.6.0

func (*ServiceEndpointGenericResource) Delete added in v0.6.0

func (*ServiceEndpointGenericResource) Metadata added in v0.6.0

func (*ServiceEndpointGenericResource) Read added in v0.6.0

func (*ServiceEndpointGenericResource) Schema added in v0.6.0

func (*ServiceEndpointGenericResource) Update added in v0.6.0

type ServiceEndpointGenericResourceModel added in v0.6.0

type ServiceEndpointGenericResourceModel struct {
	Description       *string      `tfsdk:"description"`
	GrantAllPipelines bool         `tfsdk:"grant_all_pipelines"`
	Id                types.String `tfsdk:"id"`
	Name              string       `tfsdk:"name"`
	Password          types.String `tfsdk:"password"`
	ProjectId         string       `tfsdk:"project_id"`
	URL               string       `tfsdk:"url"`
	Username          types.String `tfsdk:"username"`
}

type ServiceEndpointGitHubResource

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

func (*ServiceEndpointGitHubResource) Configure

func (*ServiceEndpointGitHubResource) Create

func (*ServiceEndpointGitHubResource) Delete

func (*ServiceEndpointGitHubResource) Metadata

func (*ServiceEndpointGitHubResource) Read

func (*ServiceEndpointGitHubResource) Schema

func (*ServiceEndpointGitHubResource) Update

type ServiceEndpointGitHubResourceModel

type ServiceEndpointGitHubResourceModel struct {
	AccessToken       string       `tfsdk:"access_token"`
	Description       *string      `tfsdk:"description"`
	GrantAllPipelines bool         `tfsdk:"grant_all_pipelines"`
	Id                types.String `tfsdk:"id"`
	Name              string       `tfsdk:"name"`
	ProjectId         string       `tfsdk:"project_id"`
}

type ServiceEndpointJFrogResource added in v0.5.0

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

func (*ServiceEndpointJFrogResource) Configure added in v0.5.0

func (*ServiceEndpointJFrogResource) Create added in v0.5.0

func (*ServiceEndpointJFrogResource) Delete added in v0.5.0

func (*ServiceEndpointJFrogResource) Metadata added in v0.5.0

func (*ServiceEndpointJFrogResource) Read added in v0.5.0

func (*ServiceEndpointJFrogResource) Schema added in v0.5.0

func (*ServiceEndpointJFrogResource) Update added in v0.5.0

type ServiceEndpointJFrogResourceModel added in v0.5.0

type ServiceEndpointJFrogResourceModel struct {
	AccessToken       types.String `tfsdk:"access_token"`
	Description       *string      `tfsdk:"description"`
	Id                types.String `tfsdk:"id"`
	GrantAllPipelines bool         `tfsdk:"grant_all_pipelines"`
	Name              string       `tfsdk:"name"`
	Password          types.String `tfsdk:"password"`
	ProjectId         string       `tfsdk:"project_id"`
	Service           string       `tfsdk:"service"`
	Username          types.String `tfsdk:"username"`
	URL               string       `tfsdk:"url"`
}

type ServiceEndpointKubeconfig

type ServiceEndpointKubeconfig struct {
	AcceptUntrustedCertificates bool   `tfsdk:"accept_untrusted_certs"`
	YamlContent                 string `tfsdk:"yaml_content"`
}

type ServiceEndpointKubernetesResource

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

func (*ServiceEndpointKubernetesResource) Configure

func (*ServiceEndpointKubernetesResource) Create

func (*ServiceEndpointKubernetesResource) Delete

func (*ServiceEndpointKubernetesResource) Metadata

func (*ServiceEndpointKubernetesResource) Read

func (*ServiceEndpointKubernetesResource) Schema

func (*ServiceEndpointKubernetesResource) Update

type ServiceEndpointKubernetesResourceModel

type ServiceEndpointKubernetesResourceModel struct {
	Description       *string                   `tfsdk:"description"`
	GrantAllPipelines bool                      `tfsdk:"grant_all_pipelines"`
	Id                types.String              `tfsdk:"id"`
	Kubeconfig        ServiceEndpointKubeconfig `tfsdk:"kubeconfig"`
	Name              string                    `tfsdk:"name"`
	ProjectId         string                    `tfsdk:"project_id"`
}

type ServiceEndpointNpmResource added in v0.6.0

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

func (*ServiceEndpointNpmResource) Configure added in v0.6.0

func (*ServiceEndpointNpmResource) Create added in v0.6.0

func (*ServiceEndpointNpmResource) Delete added in v0.6.0

func (*ServiceEndpointNpmResource) Metadata added in v0.6.0

func (*ServiceEndpointNpmResource) Read added in v0.6.0

func (*ServiceEndpointNpmResource) Schema added in v0.6.0

func (*ServiceEndpointNpmResource) Update added in v0.6.0

type ServiceEndpointNpmResourceModel added in v0.6.0

type ServiceEndpointNpmResourceModel struct {
	AccessToken       types.String `tfsdk:"access_token"`
	Description       *string      `tfsdk:"description"`
	GrantAllPipelines bool         `tfsdk:"grant_all_pipelines"`
	Id                types.String `tfsdk:"id"`
	Name              string       `tfsdk:"name"`
	Password          types.String `tfsdk:"password"`
	ProjectId         string       `tfsdk:"project_id"`
	URL               string       `tfsdk:"url"`
	Username          types.String `tfsdk:"username"`
}

type ServiceEndpointNuGetResource added in v0.6.0

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

func (*ServiceEndpointNuGetResource) Configure added in v0.6.0

func (*ServiceEndpointNuGetResource) Create added in v0.6.0

func (*ServiceEndpointNuGetResource) Delete added in v0.6.0

func (*ServiceEndpointNuGetResource) Metadata added in v0.6.0

func (*ServiceEndpointNuGetResource) Read added in v0.6.0

func (*ServiceEndpointNuGetResource) Schema added in v0.6.0

func (*ServiceEndpointNuGetResource) Update added in v0.6.0

type ServiceEndpointNuGetResourceModel added in v0.6.0

type ServiceEndpointNuGetResourceModel struct {
	ApiKey            types.String `tfsdk:"api_key"`
	Description       *string      `tfsdk:"description"`
	GrantAllPipelines bool         `tfsdk:"grant_all_pipelines"`
	Id                types.String `tfsdk:"id"`
	Name              string       `tfsdk:"name"`
	Password          types.String `tfsdk:"password"`
	ProjectId         string       `tfsdk:"project_id"`
	URL               string       `tfsdk:"url"`
	Username          types.String `tfsdk:"username"`
}

type ServiceEndpointPermissions added in v0.5.0

type ServiceEndpointPermissions struct {
	Administer        string `tfsdk:"administer"`
	Create            string `tfsdk:"create"`
	Use               string `tfsdk:"use"`
	ViewAuthorization string `tfsdk:"view_authorization"`
	ViewEndpoint      string `tfsdk:"view_endpoint"`
}

type ServiceEndpointPermissionsResource added in v0.5.0

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

func (*ServiceEndpointPermissionsResource) Configure added in v0.5.0

func (*ServiceEndpointPermissionsResource) Create added in v0.5.0

func (*ServiceEndpointPermissionsResource) Delete added in v0.5.0

func (*ServiceEndpointPermissionsResource) Metadata added in v0.5.0

func (*ServiceEndpointPermissionsResource) Read added in v0.5.0

func (*ServiceEndpointPermissionsResource) Schema added in v0.5.0

func (*ServiceEndpointPermissionsResource) Update added in v0.5.0

type ServiceEndpointPermissionsResourceModel added in v0.5.0

type ServiceEndpointPermissionsResourceModel struct {
	Id                  types.String               `tfsdk:"id"`
	Permissions         ServiceEndpointPermissions `tfsdk:"permissions"`
	PrincipalDescriptor types.String               `tfsdk:"principal_descriptor"`
	PrincipalName       string                     `tfsdk:"principal_name"`
	ProjectId           string                     `tfsdk:"project_id"`
}

type ServiceEndpointShareResource

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

func (*ServiceEndpointShareResource) Configure

func (*ServiceEndpointShareResource) Create

func (*ServiceEndpointShareResource) Delete

func (*ServiceEndpointShareResource) Metadata

func (*ServiceEndpointShareResource) Read

func (*ServiceEndpointShareResource) Schema

func (*ServiceEndpointShareResource) Update

type ServiceEndpointShareResourceModel

type ServiceEndpointShareResourceModel struct {
	Description string       `tfsdk:"description"`
	Id          types.String `tfsdk:"id"`
	Name        string       `tfsdk:"name"`
	ProjectId   string       `tfsdk:"project_id"`
	ProjectIds  []string     `tfsdk:"project_ids"`
}

type ServiceEndpointSonarCloudResource added in v0.6.2

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

func (*ServiceEndpointSonarCloudResource) Configure added in v0.6.2

func (*ServiceEndpointSonarCloudResource) Create added in v0.6.2

func (*ServiceEndpointSonarCloudResource) Delete added in v0.6.2

func (*ServiceEndpointSonarCloudResource) Metadata added in v0.6.2

func (*ServiceEndpointSonarCloudResource) Read added in v0.6.2

func (*ServiceEndpointSonarCloudResource) Schema added in v0.6.2

func (*ServiceEndpointSonarCloudResource) Update added in v0.6.2

type ServiceEndpointSonarCloudResourceModel added in v0.6.2

type ServiceEndpointSonarCloudResourceModel struct {
	Description       *string      `tfsdk:"description"`
	GrantAllPipelines bool         `tfsdk:"grant_all_pipelines"`
	Id                types.String `tfsdk:"id"`
	Name              string       `tfsdk:"name"`
	ProjectId         string       `tfsdk:"project_id"`
	Token             string       `tfsdk:"token"`
}

type ServiceEndpointVsAppCenterResource

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

func (*ServiceEndpointVsAppCenterResource) Configure

func (*ServiceEndpointVsAppCenterResource) Create

func (*ServiceEndpointVsAppCenterResource) Delete

func (*ServiceEndpointVsAppCenterResource) Metadata

func (*ServiceEndpointVsAppCenterResource) Read

func (*ServiceEndpointVsAppCenterResource) Schema

func (*ServiceEndpointVsAppCenterResource) Update

type ServiceEndpointVsAppCenterResourceModel

type ServiceEndpointVsAppCenterResourceModel struct {
	ApiToken          string       `tfsdk:"api_token"`
	Description       *string      `tfsdk:"description"`
	GrantAllPipelines bool         `tfsdk:"grant_all_pipelines"`
	Id                types.String `tfsdk:"id"`
	Name              string       `tfsdk:"name"`
	ProjectId         string       `tfsdk:"project_id"`
}

Jump to

Keyboard shortcuts

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