Documentation ¶
Index ¶
- func Create(options *CreateOptions) (*sdk.ProjectItem, error)
- func CreateRaw(options *CreateOptions) (*sdk.ProjectItem, *http.Response, error)
- func Delete(options *DeleteOptions) error
- func DeleteRaw(options *DeleteOptions) (*http.Response, error)
- func EditBuildSettings(options *EditBuildSettingsOptions) (*sdk.ProjectItem, error)
- func EditBuildSettingsRaw(options *EditBuildSettingsOptions) (*sdk.ProjectItem, *http.Response, error)
- func EditSettings(options *EditSettingsOptions) (*sdk.ProjectItem, error)
- func EditSettingsRaw(options *EditSettingsOptions) (*sdk.ProjectItem, *http.Response, error)
- func Get(options *common.ItemOptions) (*sdk.ProjectItem, error)
- func GetRaw(options *common.ItemOptions) (*sdk.ProjectItem, *http.Response, error)
- func List(options *ListOptions) (*sdk.PaginatedProjectCollection, error)
- func ListRaw(options *ListOptions) (*sdk.PaginatedProjectCollection, *http.Response, error)
- func NewItemOptions(id string) *common.ItemOptions
- type CreateOptions
- type DeleteOptions
- type EditBuildSettingsOptions
- type EditSettingsData
- type EditSettingsOptions
- type ListOptions
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 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 List(options *ListOptions) (*sdk.PaginatedProjectCollection, error)
func ListRaw ¶
func ListRaw(options *ListOptions) (*sdk.PaginatedProjectCollection, *http.Response, error)
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 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)
Click to show internal directories.
Click to hide internal directories.