provider

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Copyright 2026 YLD Limited SPDX-License-Identifier: Apache-2.0 Package provider defines the Provider interface that CI/CD platform implementations must satisfy. Each provider supports bidirectional conversion between HCL definitions and platform-native configuration formats.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	Parse(opts ProviderOps) error
	Unparse(opts ProviderOps) error
	GetProviderName() string
	GetDescription() string
	GetParseDescription() string
	GetUnparseDescription() string
}

Provider defines the interface that each CI/CD provider must implement.

type ProviderOps

type ProviderOps struct {
	File            string
	Directory       string
	OutputDirectory string
	Recursive       bool
	DryRun          bool
	YML             bool // use .yml extension instead of .yaml
}

ProviderOps holds the options passed to a provider's Parse or Unparse operation.

Directories

Path Synopsis
job

Jump to

Keyboard shortcuts

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