templates

package
v0.1.62 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderArgoRollouts

func RenderArgoRollouts(config *ArgoRolloutsConfig) ([]byte, error)

func RenderGitSource

func RenderGitSource(config *GitSourceConfig) ([]byte, error)

func RenderRBAC

func RenderRBAC(config *RbacConfig) ([]byte, error)

func RenderRolloutReporter

func RenderRolloutReporter(config *RolloutReporterConfig) ([]byte, error)

Types

type ArgoRolloutsConfig

type ArgoRolloutsConfig struct {
	AppName       string
	ClusterName   string
	RepoURL       string
	TargetVersion string
}

type GitSourceConfig

type GitSourceConfig struct {
	apapp.Config

	Exclude     string `json:"exclude"`
	Include     string `json:"include"`
	RuntimeName string // not coming from json
}

type RbacConfig

type RbacConfig struct {
	Namespace string
}

type RolloutReporterConfig

type RolloutReporterConfig struct {
	Name          string
	Namespace     string
	ClusterName   string
	EventEndpoint string
}

Jump to

Keyboard shortcuts

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