actions

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 27 Imported by: 0

Documentation

Overview

Package actions holds actions called by the root git-remote-oci command.

Package actions holds actions called by the root git-remote-oci command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Git

type Git struct {

	// ConfigFiles contains a list of potential configuration file locations.
	ConfigFiles []string
	// contains filtered or unexported fields
}

Git represents the base action.

func NewGit

func NewGit(in io.Reader, out io.Writer, gitDir, shortname, address, version string, cfgFiles []string) *Git

NewGit creates a new Tool with default values.

func (*Git) GetConfig

func (action *Git) GetConfig(ctx context.Context) (c *v1alpha1.Configuration, err error)

GetConfig loads Configuration using the current git-remote-oci options.

func (*Git) GetScheme

func (action *Git) GetScheme() *runtime.Scheme

GetScheme returns the runtime scheme used for configuration file loading.

func (*Git) Run

func (action *Git) Run(ctx context.Context) error

Run runs the the primary git-remote-oci action.

type GitLFS

type GitLFS struct {

	// ConfigFiles contains a list of potential configuration file locations.
	ConfigFiles []string
	// contains filtered or unexported fields
}

GitLFS represents the base action.

func NewGitLFS

func NewGitLFS(in io.Reader, out io.Writer, version string, cfgFiles []string) *GitLFS

NewGitLFS creates a new Tool with default values.

func (*GitLFS) GetConfig

func (action *GitLFS) GetConfig(ctx context.Context) (c *v1alpha1.Configuration, err error)

GetConfig loads Configuration using the current git-remote-oci options.

func (*GitLFS) GetScheme

func (action *GitLFS) GetScheme() *runtime.Scheme

GetScheme returns the runtime scheme used for configuration file loading.

func (*GitLFS) Run

func (action *GitLFS) Run(ctx context.Context) error

Run runs the the primary git-remote-oci action.

Jump to

Keyboard shortcuts

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