Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewBlueprintDataSource() datasource.DataSource
- func NewGroupDataSource() datasource.DataSource
- func NewGroupResource() resource.Resource
- func NewGroupSubGroupDataSource() datasource.DataSource
- func NewGroupSubgroupResource() resource.Resource
- func NewProjectResource() resource.Resource
- func NewTeamDataSource() datasource.DataSource
- type BlueprintConfigurationModel
- type BlueprintDataSource
- func (d *BlueprintDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *BlueprintDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *BlueprintDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *BlueprintDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type BlueprintDataSourceModel
- type GroupDataSource
- func (d *GroupDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *GroupDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *GroupDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *GroupDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type GroupDataSourceModel
- type GroupResource
- func (r *GroupResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *GroupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *GroupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *GroupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *GroupResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *GroupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *GroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *GroupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type GroupResourceModel
- type GroupSubGroupDataSource
- func (d *GroupSubGroupDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *GroupSubGroupDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *GroupSubGroupDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *GroupSubGroupDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type GroupSubGroupDataSourceModel
- type GroupSubgroupResource
- func (r *GroupSubgroupResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *GroupSubgroupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *GroupSubgroupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *GroupSubgroupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *GroupSubgroupResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *GroupSubgroupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *GroupSubgroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *GroupSubgroupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type GroupSubgroupResourceModel
- type ProjectContainerBranchModel
- type ProjectContainerModel
- type ProjectContainerSourceModel
- type ProjectContainerWorkflowModel
- type ProjectDeployModel
- type ProjectResource
- func (r *ProjectResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ProjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ProjectResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ProjectResourceModel
- type ProjectWorkflowModel
- type TeamDataSource
- func (d *TeamDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *TeamDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *TeamDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *TeamDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type TeamDataSourceModel
- type ZeetProvider
- func (p *ZeetProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *ZeetProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *ZeetProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *ZeetProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *ZeetProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type ZeetProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlueprintDataSource ¶ added in v0.0.4
func NewBlueprintDataSource() datasource.DataSource
func NewGroupDataSource ¶
func NewGroupDataSource() datasource.DataSource
func NewGroupResource ¶
func NewGroupSubGroupDataSource ¶ added in v0.0.4
func NewGroupSubGroupDataSource() datasource.DataSource
func NewGroupSubgroupResource ¶ added in v0.0.3
func NewProjectResource ¶ added in v0.0.3
func NewTeamDataSource ¶
func NewTeamDataSource() datasource.DataSource
Types ¶
type BlueprintConfigurationModel ¶ added in v0.0.4
type BlueprintConfigurationModel struct { Slug types.String `tfsdk:"slug"` DisplayName types.String `tfsdk:"display_name"` Description types.String `tfsdk:"description"` Tags types.List `tfsdk:"tags"` Enabled types.Bool `tfsdk:"enabled"` Published types.Bool `tfsdk:"published"` DriverConfiguration jsontypes.Normalized `tfsdk:"driver_configuration"` RichInputSchema jsontypes.Normalized `tfsdk:"rich_input_schema"` Variables jsontypes.Normalized `tfsdk:"variables"` }
type BlueprintDataSource ¶ added in v0.0.4
type BlueprintDataSource struct {
// contains filtered or unexported fields
}
BlueprintDataSource defines the data source implementation.
func (*BlueprintDataSource) Configure ¶ added in v0.0.4
func (d *BlueprintDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*BlueprintDataSource) Metadata ¶ added in v0.0.4
func (d *BlueprintDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*BlueprintDataSource) Read ¶ added in v0.0.4
func (d *BlueprintDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*BlueprintDataSource) Schema ¶ added in v0.0.4
func (d *BlueprintDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type BlueprintDataSourceModel ¶ added in v0.0.4
type BlueprintDataSourceModel struct { Id customtypes.UUIDValue `tfsdk:"id"` Slug types.String `tfsdk:"slug"` IsOfficial types.Bool `tfsdk:"is_official"` Type types.String `tfsdk:"type"` Configuration *BlueprintConfigurationModel `tfsdk:"configuration"` }
BlueprintDataSourceModel describes the data source data model.
type GroupDataSource ¶
type GroupDataSource struct {
// contains filtered or unexported fields
}
GroupDataSource defines the data source implementation.
func (*GroupDataSource) Configure ¶
func (d *GroupDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*GroupDataSource) Metadata ¶
func (d *GroupDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*GroupDataSource) Read ¶
func (d *GroupDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*GroupDataSource) Schema ¶
func (d *GroupDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type GroupDataSourceModel ¶
type GroupDataSourceModel struct { Name types.String `tfsdk:"name"` TeamId customtypes.UUIDValue `tfsdk:"team_id"` Id customtypes.UUIDValue `tfsdk:"id"` }
GroupDataSourceModel describes the data source data model.
type GroupResource ¶
type GroupResource struct {
// contains filtered or unexported fields
}
GroupResource defines the resource implementation.
func (*GroupResource) Configure ¶
func (r *GroupResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*GroupResource) Create ¶
func (r *GroupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*GroupResource) Delete ¶
func (r *GroupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*GroupResource) ImportState ¶
func (r *GroupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*GroupResource) Metadata ¶
func (r *GroupResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*GroupResource) Read ¶
func (r *GroupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*GroupResource) Schema ¶
func (r *GroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*GroupResource) Update ¶
func (r *GroupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type GroupResourceModel ¶
type GroupResourceModel struct { Id customtypes.UUIDValue `tfsdk:"id"` TeamId customtypes.UUIDValue `tfsdk:"team_id"` Name types.String `tfsdk:"name"` }
GroupResourceModel describes the resource data model.
type GroupSubGroupDataSource ¶ added in v0.0.4
type GroupSubGroupDataSource struct {
// contains filtered or unexported fields
}
GroupSubGroupDataSource defines the data source implementation.
func (*GroupSubGroupDataSource) Configure ¶ added in v0.0.4
func (d *GroupSubGroupDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*GroupSubGroupDataSource) Metadata ¶ added in v0.0.4
func (d *GroupSubGroupDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*GroupSubGroupDataSource) Read ¶ added in v0.0.4
func (d *GroupSubGroupDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*GroupSubGroupDataSource) Schema ¶ added in v0.0.4
func (d *GroupSubGroupDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type GroupSubGroupDataSourceModel ¶ added in v0.0.4
type GroupSubGroupDataSourceModel struct { Name types.String `tfsdk:"name"` GroupId customtypes.UUIDValue `tfsdk:"group_id"` TeamId customtypes.UUIDValue `tfsdk:"team_id"` Id customtypes.UUIDValue `tfsdk:"id"` }
GroupSubGroupDataSourceModel describes the data source data model.
type GroupSubgroupResource ¶ added in v0.0.3
type GroupSubgroupResource struct {
// contains filtered or unexported fields
}
GroupSubgroupResource defines the resource implementation.
func (*GroupSubgroupResource) Configure ¶ added in v0.0.3
func (r *GroupSubgroupResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*GroupSubgroupResource) Create ¶ added in v0.0.3
func (r *GroupSubgroupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*GroupSubgroupResource) Delete ¶ added in v0.0.3
func (r *GroupSubgroupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*GroupSubgroupResource) ImportState ¶ added in v0.0.3
func (r *GroupSubgroupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*GroupSubgroupResource) Metadata ¶ added in v0.0.3
func (r *GroupSubgroupResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*GroupSubgroupResource) Read ¶ added in v0.0.3
func (r *GroupSubgroupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*GroupSubgroupResource) Schema ¶ added in v0.0.3
func (r *GroupSubgroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*GroupSubgroupResource) Update ¶ added in v0.0.3
func (r *GroupSubgroupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type GroupSubgroupResourceModel ¶ added in v0.0.3
type GroupSubgroupResourceModel struct { Id customtypes.UUIDValue `tfsdk:"id"` GroupId customtypes.UUIDValue `tfsdk:"group_id"` TeamId customtypes.UUIDValue `tfsdk:"team_id"` Name types.String `tfsdk:"name"` }
GroupSubgroupResourceModel describes the resource data model.
type ProjectContainerBranchModel ¶ added in v0.0.3
type ProjectContainerBranchModel struct { ProductionBranch types.String `tfsdk:"production_branch"` AutoDeployBranch types.Bool `tfsdk:"auto_deploy_branch"` AutoStopBranch types.Bool `tfsdk:"auto_stop_branch"` BranchIgnore types.String `tfsdk:"branch_ignore"` BranchStopIgnore types.String `tfsdk:"branch_stop_ignore"` }
type ProjectContainerModel ¶ added in v0.0.3
type ProjectContainerModel struct { RepoId customtypes.UUIDValue `tfsdk:"repo_id"` Source ProjectContainerSourceModel `tfsdk:"source"` Branch *ProjectContainerBranchModel `tfsdk:"branch"` Workflow *ProjectContainerWorkflowModel `tfsdk:"workflow"` Build jsontypes.Normalized `tfsdk:"build"` Kubernetes jsontypes.Normalized `tfsdk:"kubernetes"` }
type ProjectContainerSourceModel ¶ added in v0.0.3
type ProjectContainerSourceModel struct { Git jsontypes.Normalized `tfsdk:"git"` ContainerRegistry jsontypes.Normalized `tfsdk:"container_registry"` }
type ProjectContainerWorkflowModel ¶ added in v0.0.3
type ProjectContainerWorkflowModel struct { AutoRetry types.Bool `tfsdk:"auto_retry"` AutoRollback types.Bool `tfsdk:"auto_rollback"` ManualDeploy types.Bool `tfsdk:"manual_deploy"` PipelineClusterId customtypes.UUIDValue `tfsdk:"pipeline_cluster_id"` DeployTimeoutSeconds types.Int64 `tfsdk:"deploy_timeout_seconds"` }
type ProjectDeployModel ¶ added in v0.0.3
type ProjectDeployModel struct { Id customtypes.UUIDValue `tfsdk:"id"` DefaultWorkflowSteps []types.String `tfsdk:"default_workflow_steps"` RequirePlanApproval types.Bool `tfsdk:"require_plan_approval"` Variables jsontypes.Normalized `tfsdk:"variables"` Kubernetes jsontypes.Normalized `tfsdk:"kubernetes"` Helm jsontypes.Normalized `tfsdk:"helm"` Terraform jsontypes.Normalized `tfsdk:"terraform"` }
type ProjectResource ¶ added in v0.0.3
type ProjectResource struct {
// contains filtered or unexported fields
}
ProjectResource defines the resource implementation.
func (*ProjectResource) Configure ¶ added in v0.0.3
func (r *ProjectResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ProjectResource) Create ¶ added in v0.0.3
func (r *ProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ProjectResource) Delete ¶ added in v0.0.3
func (r *ProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ProjectResource) ImportState ¶ added in v0.0.3
func (r *ProjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ProjectResource) Metadata ¶ added in v0.0.3
func (r *ProjectResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ProjectResource) Read ¶ added in v0.0.3
func (r *ProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ProjectResource) Schema ¶ added in v0.0.3
func (r *ProjectResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ProjectResource) Update ¶ added in v0.0.3
func (r *ProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ProjectResourceModel ¶ added in v0.0.3
type ProjectResourceModel struct { TeamId customtypes.UUIDValue `tfsdk:"team_id"` GroupId customtypes.UUIDValue `tfsdk:"group_id"` SubGroupId customtypes.UUIDValue `tfsdk:"subgroup_id"` Id customtypes.UUIDValue `tfsdk:"id"` Name types.String `tfsdk:"name"` Enabled types.Bool `tfsdk:"enabled"` BlueprintId customtypes.UUIDValue `tfsdk:"blueprint_id"` // for IAC based projects Deploys []ProjectDeployModel `tfsdk:"deploys"` Workflow *ProjectWorkflowModel `tfsdk:"workflow"` // for Container based projects Container *ProjectContainerModel `tfsdk:"container"` }
ProjectResourceModel describes the resource data model.
func (*ProjectResourceModel) IsContainer ¶ added in v0.0.3
func (p *ProjectResourceModel) IsContainer() bool
func (*ProjectResourceModel) IsWorkflow ¶ added in v0.0.3
func (p *ProjectResourceModel) IsWorkflow() bool
type ProjectWorkflowModel ¶ added in v0.0.3
type ProjectWorkflowModel struct { Id customtypes.UUIDValue `tfsdk:"id"` Steps jsontypes.Normalized `tfsdk:"steps"` }
type TeamDataSource ¶
type TeamDataSource struct {
// contains filtered or unexported fields
}
TeamDataSource defines the data source implementation.
func (*TeamDataSource) Configure ¶
func (d *TeamDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*TeamDataSource) Metadata ¶
func (d *TeamDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*TeamDataSource) Read ¶
func (d *TeamDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*TeamDataSource) Schema ¶
func (d *TeamDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type TeamDataSourceModel ¶
type TeamDataSourceModel struct { Id customtypes.UUIDValue `tfsdk:"id"` Name types.String `tfsdk:"name"` }
TeamDataSourceModel describes the data source data model.
type ZeetProvider ¶
type ZeetProvider struct {
// contains filtered or unexported fields
}
ZeetProvider defines the provider implementation.
func (*ZeetProvider) Configure ¶
func (p *ZeetProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*ZeetProvider) DataSources ¶
func (p *ZeetProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*ZeetProvider) Metadata ¶
func (p *ZeetProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*ZeetProvider) Resources ¶
func (p *ZeetProvider) Resources(ctx context.Context) []func() resource.Resource
func (*ZeetProvider) Schema ¶
func (p *ZeetProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)