git

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aggregate

func Aggregate(options *AggregateOptions) ([]sdk.ComponentGitCollection, error)

func Get

func Get(options *common.ItemOptions) (*sdk.ComponentGitItem, error)

func GetRaw

func GetRaw(options *common.ItemOptions) (*sdk.ComponentGitItem, *http.Response, error)

func NewItemOptions

func NewItemOptions(id string) *common.ItemOptions

Types

type AggregateOptions

type AggregateOptions struct {
	ListOptions

	Limit int
}

func NewAggregateOptions

func NewAggregateOptions() *AggregateOptions

func (*AggregateOptions) UpdateFlagSet

func (ao *AggregateOptions) UpdateFlagSet(flags *pflag.FlagSet)

type ListOptions

type ListOptions struct {
	common.ListOptions

	Organization string
	Project      string
	Environment  string

	Name          string
	GitRepository string
	GitBranch     string
}

func NewListOptions

func NewListOptions() *ListOptions

func (*ListOptions) UpdateFlagSet

func (lo *ListOptions) UpdateFlagSet(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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