Documentation ¶
Index ¶
- func Get(options *common.ItemOptions) (*sdk.TemplateItem, error)
- func GetRaw(options *common.ItemOptions) (*sdk.TemplateItem, *http.Response, error)
- func List(options *ListOptions) (*sdk.PaginatedTemplateCollection, error)
- func ListRaw(options *ListOptions) (*sdk.PaginatedTemplateCollection, *http.Response, error)
- func NewItemOptions(id string) *common.ItemOptions
- func Validate(options *ValidateOptions) (bool, error)
- func ValidateRaw(options *ValidateOptions) (*sdk.TemplateCollection, *http.Response, error)
- type DefinitionData
- type DefinitionItem
- type DefinitionOptions
- type ListOptions
- type ValidateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(options *common.ItemOptions) (*sdk.TemplateItem, error)
func GetRaw ¶
func GetRaw(options *common.ItemOptions) (*sdk.TemplateItem, *http.Response, error)
func List ¶
func List(options *ListOptions) (*sdk.PaginatedTemplateCollection, error)
func ListRaw ¶
func ListRaw(options *ListOptions) (*sdk.PaginatedTemplateCollection, *http.Response, error)
func NewItemOptions ¶
func NewItemOptions(id string) *common.ItemOptions
func Validate ¶ added in v0.16.0
func Validate(options *ValidateOptions) (bool, error)
func ValidateRaw ¶ added in v0.16.0
func ValidateRaw(options *ValidateOptions) (*sdk.TemplateCollection, *http.Response, error)
Types ¶
type DefinitionData ¶
func DefinitionRaw ¶
func DefinitionRaw(options *DefinitionOptions) (DefinitionData, *http.Response, error)
type DefinitionItem ¶
type DefinitionItem struct { Data DefinitionData Bytes []byte }
func Definition ¶
func Definition(options *DefinitionOptions) (*DefinitionItem, error)
type DefinitionOptions ¶
type DefinitionOptions struct {
common.ActionOptions
}
func NewDefinitionOptions ¶
func NewDefinitionOptions(id string) *DefinitionOptions
type ListOptions ¶
type ListOptions struct { common.ListOptions Organization string TemplatesRepository string Source string Search string }
func NewListOptions ¶
func NewListOptions() *ListOptions
func (*ListOptions) UpdateFlagSet ¶
func (lo *ListOptions) UpdateFlagSet(flags *pflag.FlagSet)
type ValidateOptions ¶ added in v0.16.0
type ValidateOptions struct { common.Options sdk.TemplateValidateAction Organization string WithComponents bool }
func NewValidateOptions ¶ added in v0.16.0
func NewValidateOptions() *ValidateOptions
func (*ValidateOptions) UpdateFlagSet ¶ added in v0.16.0
func (vo *ValidateOptions) UpdateFlagSet(flags *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.