Documentation ¶
Index ¶
- Variables
- type Archive
- func (archive *Archive) All(opts ...shared.PaginationParamsOption) ([]Chart, error)
- func (archive *Archive) ListFirstPage(opts ...shared.PaginationParamsOption) (*shared.Page[Chart], error)
- func (archive *Archive) ListPageAfter(id int64, opts ...shared.PaginationParamsOption) (*shared.Page[Chart], error)
- func (archive *Archive) ListPageBefore(id int64, opts ...shared.PaginationParamsOption) (*shared.Page[Chart], error)
- type Chart
- type ChartValidationResult
- type Charts
- func (charts *Charts) AddCategory(chartKey string, category events.Category) error
- func (charts *Charts) AddTag(chartKey string, tag string) error
- func (charts *Charts) Copy(chartKey string) (*Chart, error)
- func (charts *Charts) CopyDraftVersion(chartKey string) (*Chart, error)
- func (charts *Charts) CopyToWorkspace(chartKey string, targetWorkspaceKey string) (*Chart, error)
- func (charts *Charts) Create(params *CreateChartParams) (*Chart, error)
- func (charts *Charts) DiscardDraftVersion(chartKey string) error
- func (charts *Charts) List() *shared.Lister[Chart]
- func (charts *Charts) ListAll() ([]Chart, error)
- func (charts *Charts) ListAllTags() ([]string, error)
- func (charts *Charts) ListCategories(chartKey string) ([]events.Category, error)
- func (charts *Charts) ListFirstPage(opts ...shared.PaginationParamsOption) (*shared.Page[Chart], error)
- func (charts *Charts) ListPageAfter(id int64, opts ...shared.PaginationParamsOption) (*shared.Page[Chart], error)
- func (charts *Charts) ListPageBefore(id int64, opts ...shared.PaginationParamsOption) (*shared.Page[Chart], error)
- func (charts *Charts) MoveOutOfArchive(chartKey string) error
- func (charts *Charts) MoveToArchive(chartKey string) error
- func (charts *Charts) PublishDraftVersion(chartKey string) error
- func (charts *Charts) RemoveCategory(chartKey string, categoryKey events.CategoryKey) error
- func (charts *Charts) RemoveTag(chartKey string, tag string) error
- func (charts *Charts) Retrieve(chartKey string) (*Chart, error)
- func (charts *Charts) RetrieveDraftVersion(chartKey string) (map[string]interface{}, error)
- func (charts *Charts) RetrieveDraftVersionThumbnail(chartKey string) (*os.File, error)
- func (charts *Charts) RetrievePublishedVersion(chartKey string) (map[string]interface{}, error)
- func (charts *Charts) RetrievePublishedVersionThumbnail(chartKey string) (*os.File, error)
- func (charts *Charts) RetrieveWithEvents(chartKey string) (*Chart, error)
- func (charts *Charts) Update(chartKey string, params *UpdateChartParams) error
- func (charts *Charts) ValidateDraftVersion(key string) (*ChartValidationResult, error)
- func (charts *Charts) ValidatePublishedVersion(key string) (*ChartValidationResult, error)
- type CreateChartParams
- type Tags
- type UpdateChartParams
Constants ¶
This section is empty.
Variables ¶
View Source
var ChartSupport chartSupportNS
Functions ¶
This section is empty.
Types ¶
type Archive ¶
type Archive struct {
Client *req.Client
}
func (*Archive) All ¶
func (archive *Archive) All(opts ...shared.PaginationParamsOption) ([]Chart, error)
func (*Archive) ListFirstPage ¶ added in v0.0.5
func (*Archive) ListPageAfter ¶ added in v0.0.5
func (*Archive) ListPageBefore ¶ added in v0.0.5
type Chart ¶
type Chart struct { Id int64 `json:"id"` Key string `json:"key"` Name string `json:"name"` Status string `json:"status"` Tags []string `json:"tags"` PublishedVersionThumbnailUrl string `json:"publishedVersionThumbnailUrl"` DraftVersionThumbnailUrl string `json:"draftVersionThumbnailUrl"` Events []events.Event `json:"events"` Archived bool `json:"archived"` Validation ChartValidationResult `json:"validation"` }
type ChartValidationResult ¶
type Charts ¶
type Charts struct { Client *req.Client Archive *Archive }
func (*Charts) AddCategory ¶
func (*Charts) CopyDraftVersion ¶
func (*Charts) CopyToWorkspace ¶
func (*Charts) DiscardDraftVersion ¶
func (*Charts) ListAllTags ¶
func (*Charts) ListCategories ¶
func (*Charts) ListFirstPage ¶
func (*Charts) ListPageAfter ¶ added in v0.0.5
func (*Charts) ListPageBefore ¶ added in v0.0.5
func (*Charts) MoveOutOfArchive ¶
func (*Charts) MoveToArchive ¶
func (*Charts) PublishDraftVersion ¶
func (*Charts) RemoveCategory ¶
func (charts *Charts) RemoveCategory(chartKey string, categoryKey events.CategoryKey) error
func (*Charts) RetrieveDraftVersion ¶
func (*Charts) RetrieveDraftVersionThumbnail ¶ added in v0.0.5
func (*Charts) RetrievePublishedVersion ¶
func (*Charts) RetrievePublishedVersionThumbnail ¶ added in v0.0.5
func (*Charts) RetrieveWithEvents ¶
func (*Charts) Update ¶
func (charts *Charts) Update(chartKey string, params *UpdateChartParams) error
func (*Charts) ValidateDraftVersion ¶
func (charts *Charts) ValidateDraftVersion(key string) (*ChartValidationResult, error)
func (*Charts) ValidatePublishedVersion ¶
func (charts *Charts) ValidatePublishedVersion(key string) (*ChartValidationResult, error)
type CreateChartParams ¶
type UpdateChartParams ¶
Click to show internal directories.
Click to hide internal directories.