submodule

package
v0.0.0-...-6abda91 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfo

type FileInfo struct {
	Name string
	Path string
	Type string
}

type Info

type Info struct {
	Branch        string
	Commit        string // Optional: if specified, use this commit instead of parsing from branch
	SubmodulePath string
	URL           string
	PathToYAMLS   string
}

func (Info) FetchYAMLs

func (i Info) FetchYAMLs() ([]runtime.Object, error)

FetchYAMLs fetches YAML files from the specified directory in the submodule commit and prints them

func (Info) Parse

func (i Info) Parse() (string, error)

Parse the Info into a git hash for the submodule

Jump to

Keyboard shortcuts

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