serviceendpoints

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MPL-2.0 Imports: 17 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 NewServiceEndpointGitHubResource

func NewServiceEndpointGitHubResource() resource.Resource

func NewServiceEndpointKubernetesResource

func NewServiceEndpointKubernetesResource() resource.Resource

func NewServiceEndpointShareResource

func NewServiceEndpointShareResource() 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 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 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 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 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