tekton

package
v0.0.0-...-daa3d23 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	PluginConfigFile     string `envconfig:"TEKTON_PLUGIN_CONFIG_FILE" default:"/tekton_plugin_config.json"`
	CrossplaneConfigFile string `envconfig:"CROSSPLANE_PLUGIN_CONFIG_FILE" default:"/crossplane_plugin_config.json"`
	DomainName           string `envconfig:"DOMAIN_NAME" default:"capten"`
}

type DefaultAppList

type DefaultAppList struct {
	DefaultApps []DefaultApps `yaml:"defaultApps"`
}

type DefaultApps

type DefaultApps struct {
	Name           string `yaml:"name" json:"name,omitempty"`
	ValuesPath     string `yaml:"valuesPath" json:"valuesPath,omitempty"`
	RepoURL        string `yaml:"repoURL" json:"repoURL,omitempty"`
	Namespace      string `yaml:"namespace" json:"namespace,omitempty"`
	Chart          string `yaml:"chart" json:"chart,omitempty"`
	TargetRevision string `yaml:"targetRevision" json:"targetRevision,omitempty"`
}

type Dest

type Dest struct {
	Server string `json:"server,omitempty"`
}

type GlobalValues

type GlobalValues struct {
	ClusterConfigPath string `json:"clusterConfigPath,omitempty"`
}

type SecretNames

type SecretNames struct {
	Name string `json:"name,omitempty"`
}

type Source

type Source struct {
	RepoURL        string `json:"repoURL,omitempty"`
	TargetRevision string `json:"targetRevision,omitempty"`
}

type TektonApp

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

func NewTektonApp

func NewTektonApp() (*TektonApp, error)

type TektonConfigValues

type TektonConfigValues struct {
	Project          string            `json:"project,omitempty"`
	Src              Source            `json:"source,omitempty"`
	Destination      Dest              `json:"destination,omitempty"`
	TektonPath       string            `json:"tektonPath,omitempty"`
	TektonPipelines  *[]TektonPipeline `json:"tektonPipelines,omitempty"`
	PiplelinePath    string            `json:"piplelinePath,omitempty"`
	ClusterTasksPath string            `json:"clusterTasksPath,omitempty"`
}

type TektonPieplineConfigValues

type TektonPieplineConfigValues struct {
	PipelineName      string         `json:"pipelineName,omitempty"`
	IngressDomainName string         `json:"ingressDomainName,omitempty"`
	Namespace         string         `json:"namespace,omitempty"`
	SecretName        *[]SecretNames `json:"secretName,omitempty"`
}

type TektonPipeline

type TektonPipeline struct {
	Name string `json:"name,omitempty"`
}

type TektonpipelineActivty

type TektonpipelineActivty struct{}

func (*TektonpipelineActivty) ConfigurationActivity

func (c *TektonpipelineActivty) ConfigurationActivity(ctx context.Context, params model.ConfigureParameters, payload json.RawMessage) (model.ResponsePayload, error)

Jump to

Keyboard shortcuts

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