project

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create added in v0.18.0

func Create(options *CreateOptions) (*sdk.ProjectItem, error)

func CreateRaw added in v0.18.0

func CreateRaw(options *CreateOptions) (*sdk.ProjectItem, *http.Response, error)

func Delete added in v0.18.0

func Delete(options *DeleteOptions) error

func DeleteRaw added in v0.18.0

func DeleteRaw(options *DeleteOptions) (*http.Response, error)

func EditBuildSettings added in v0.18.0

func EditBuildSettings(options *EditBuildSettingsOptions) (*sdk.ProjectItem, error)

func EditBuildSettingsRaw added in v0.18.0

func EditBuildSettingsRaw(options *EditBuildSettingsOptions) (*sdk.ProjectItem, *http.Response, error)

func EditSettings added in v0.18.0

func EditSettings(options *EditSettingsOptions) (*sdk.ProjectItem, error)

func EditSettingsRaw added in v0.18.0

func EditSettingsRaw(options *EditSettingsOptions) (*sdk.ProjectItem, *http.Response, error)

func Get

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

func GetRaw

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

func List

func NewItemOptions

func NewItemOptions(id string) *common.ItemOptions

Types

type CreateOptions added in v0.18.0

type CreateOptions struct {
	common.Options

	sdk.ProjectCreateAction
}

func NewCreateOptions added in v0.18.0

func NewCreateOptions() *CreateOptions

func (*CreateOptions) UpdateFlagSet added in v0.18.0

func (co *CreateOptions) UpdateFlagSet(flags *pflag.FlagSet)

type DeleteOptions added in v0.18.0

type DeleteOptions struct {
	common.ItemOptions
}

func NewDeleteOptions added in v0.18.0

func NewDeleteOptions() *DeleteOptions

type EditBuildSettingsOptions added in v0.18.0

type EditBuildSettingsOptions struct {
	build_settings.EditOptions

	sdk.ProjectEditBuildSettingsAction
}

func NewEditBuildSettingsOptions added in v0.18.0

func NewEditBuildSettingsOptions(project string) *EditBuildSettingsOptions

type EditSettingsData added in v0.18.0

type EditSettingsData struct {
	Name string

	Labels       map[string]string
	LabelReplace bool
}

type EditSettingsOptions added in v0.18.0

type EditSettingsOptions struct {
	common.ItemOptions

	sdk.ProjectEditSettingsAction

	EditSettingsData
}

func NewEditSettingsOptions added in v0.18.0

func NewEditSettingsOptions(project string) *EditSettingsOptions

func (*EditSettingsOptions) UpdateFlagSet added in v0.18.0

func (eso *EditSettingsOptions) UpdateFlagSet(flags *pflag.FlagSet)

type ListOptions

type ListOptions struct {
	common.ListOptions

	Organization string

	Search string

	Labels map[string]string
}

func NewListOptions

func NewListOptions() *ListOptions

func (*ListOptions) UpdateFlagSet added in v0.15.1

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