resources

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCodeLocationFromDocumentResource

func NewCodeLocationFromDocumentResource() resource.Resource

func NewCodeLocationResource

func NewCodeLocationResource() resource.Resource

func NewDeploymentResource

func NewDeploymentResource() resource.Resource

func NewTeamDeploymentGrantResource

func NewTeamDeploymentGrantResource() resource.Resource

func NewTeamMembershipResource

func NewTeamMembershipResource() resource.Resource

func NewTeamResource

func NewTeamResource() resource.Resource

func NewUserResource

func NewUserResource() resource.Resource

Types

type CodeLocationFromDocumentResource

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

func (*CodeLocationFromDocumentResource) Configure

func (*CodeLocationFromDocumentResource) Create

func (*CodeLocationFromDocumentResource) Delete

func (*CodeLocationFromDocumentResource) Metadata

func (*CodeLocationFromDocumentResource) Read

func (*CodeLocationFromDocumentResource) Schema

func (*CodeLocationFromDocumentResource) Update

type CodeLocationFromDocumentResourceModel

type CodeLocationFromDocumentResourceModel struct {
	Document types.String `tfsdk:"document"`
	Name     types.String `tfsdk:"name"`
}

type CodeLocationResource

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

func (*CodeLocationResource) ConfigValidators

func (r *CodeLocationResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*CodeLocationResource) Configure

func (*CodeLocationResource) Create

func (*CodeLocationResource) Delete

func (*CodeLocationResource) Metadata

func (*CodeLocationResource) Read

func (*CodeLocationResource) Schema

func (*CodeLocationResource) Update

type CodeLocationResourceModel

type CodeLocationResourceModel struct {
	Name             types.String `tfsdk:"name"`
	Image            types.String `tfsdk:"image"`
	CodeSource       types.Object `tfsdk:"code_source"`
	WorkingDirectory types.String `tfsdk:"working_directory"`
	ExecutablePath   types.String `tfsdk:"executable_path"`
	Attribute        types.String `tfsdk:"attribute"`
	Git              types.Object `tfsdk:"git"`
	AgentQueue       types.String `tfsdk:"agent_queue"`
}

type DeploymentResource

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

func (*DeploymentResource) Configure

func (*DeploymentResource) Create

func (*DeploymentResource) Delete

func (*DeploymentResource) ImportState

func (*DeploymentResource) Metadata

func (*DeploymentResource) Read

func (*DeploymentResource) Schema

func (*DeploymentResource) Update

type DeploymentResourceModel

type DeploymentResourceModel struct {
	Name         types.String `tfsdk:"name"`
	Id           types.Int64  `tfsdk:"id"`
	Status       types.String `tfsdk:"status"`
	Type         types.String `tfsdk:"type"`
	Settings     types.String `tfsdk:"settings_document"`
	ForceDestroy types.Bool   `tfsdk:"force_destroy"`
}

type TeamDeploymentGrantResource

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

func (*TeamDeploymentGrantResource) Configure

func (*TeamDeploymentGrantResource) Create

func (*TeamDeploymentGrantResource) Delete

func (*TeamDeploymentGrantResource) Metadata

func (*TeamDeploymentGrantResource) Read

func (*TeamDeploymentGrantResource) Schema

func (*TeamDeploymentGrantResource) Update

type TeamDeploymentGrantResourceModel

type TeamDeploymentGrantResourceModel struct {
	DeploymentId       types.Int64  `tfsdk:"deployment_id"`
	TeamId             types.String `tfsdk:"team_id"`
	Grant              types.String `tfsdk:"grant"`
	CodeLocationGrants types.Set    `tfsdk:"code_location_grants"`
	Id                 types.Int64  `tfsdk:"id"`
}

type TeamMembershipResource

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

func (*TeamMembershipResource) Configure

func (*TeamMembershipResource) Create

func (*TeamMembershipResource) Delete

func (*TeamMembershipResource) Metadata

func (*TeamMembershipResource) Read

func (*TeamMembershipResource) Schema

func (*TeamMembershipResource) Update

type TeamMembershipResourceModel

type TeamMembershipResourceModel struct {
	UserId types.Int64  `tfsdk:"user_id"`
	TeamId types.String `tfsdk:"team_id"`
}

type TeamResource

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

func (*TeamResource) Configure

func (*TeamResource) Create

func (*TeamResource) Delete

func (*TeamResource) ImportState

func (*TeamResource) Metadata

func (*TeamResource) Read

func (*TeamResource) Schema

func (*TeamResource) Update

type TeamResourceModel

type TeamResourceModel struct {
	Name types.String `tfsdk:"name"`
	Id   types.String `tfsdk:"id"`
}

type UserResource

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

func (*UserResource) Configure

func (*UserResource) Create

func (*UserResource) Delete

func (*UserResource) ImportState

func (*UserResource) Metadata

func (*UserResource) Read

func (*UserResource) Schema

func (*UserResource) Update

type UserResourceModel

type UserResourceModel struct {
	Id                       types.Int64  `tfsdk:"id"`
	Name                     types.String `tfsdk:"name"`
	Email                    types.String `tfsdk:"email"`
	Picture                  types.String `tfsdk:"picture"`
	RemoveDefaultPermissions types.Bool   `tfsdk:"remove_default_permissions"`
}

Jump to

Keyboard shortcuts

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