Documentation ¶
Index ¶
- func ReleaseToModule(releaseSlug string) string
- type DeleteModule500Response
- type DeleteRelease500Response
- type GetFile400Response
- type GetModule404Response
- type GetModule500Response
- type GetRelease404Response
- type GetRelease500Response
- type ModuleOperationsApi
- func (s *ModuleOperationsApi) DeleteModule(ctx context.Context, moduleSlug string, reason string) (gen.ImplResponse, error)
- func (s *ModuleOperationsApi) DeprecateModule(ctx context.Context, moduleSlug string, ...) (gen.ImplResponse, error)
- func (s *ModuleOperationsApi) GetModule(ctx context.Context, moduleSlug string, withHtml bool, includeFields []string, ...) (gen.ImplResponse, error)
- func (s *ModuleOperationsApi) GetModules(ctx context.Context, limit int32, offset int32, sortBy string, query string, ...) (gen.ImplResponse, error)
- type ReleaseOperationsApi
- func (s *ReleaseOperationsApi) AddRelease(ctx context.Context, addReleaseRequest gen.AddReleaseRequest) (gen.ImplResponse, error)
- func (s *ReleaseOperationsApi) DeleteRelease(ctx context.Context, releaseSlug string, reason string) (gen.ImplResponse, error)
- func (s *ReleaseOperationsApi) GetFile(ctx context.Context, filename string) (gen.ImplResponse, error)
- func (s *ReleaseOperationsApi) GetRelease(ctx context.Context, releaseSlug string, withHtml bool, includeFields []string, ...) (gen.ImplResponse, error)
- func (s *ReleaseOperationsApi) GetReleasePlan(ctx context.Context, releaseSlug string, planName string) (gen.ImplResponse, error)
- func (s *ReleaseOperationsApi) GetReleasePlans(ctx context.Context, releaseSlug string) (gen.ImplResponse, error)
- func (s *ReleaseOperationsApi) GetReleases(ctx context.Context, limit int32, offset int32, sortBy string, module string, ...) (gen.ImplResponse, error)
- type SearchFilterOperationsApi
- func (s *SearchFilterOperationsApi) AddSearchFilter(ctx context.Context, searchFilterSlug string, withHtml bool, ...) (gen.ImplResponse, error)
- func (s *SearchFilterOperationsApi) DeleteUserSearchFilter(ctx context.Context, id int32) (gen.ImplResponse, error)
- func (s *SearchFilterOperationsApi) GetUserSearchFilters(ctx context.Context) (gen.ImplResponse, error)
- type UserOperationsApi
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseToModule ¶
Types ¶
type DeleteModule500Response ¶
type GetFile400Response ¶
type GetModule404Response ¶
type GetModule500Response ¶
type GetRelease404Response ¶
type GetRelease500Response ¶
type ModuleOperationsApi ¶
type ModuleOperationsApi struct {
gen.ModuleOperationsAPIServicer
}
func NewModuleOperationsApi ¶
func NewModuleOperationsApi() *ModuleOperationsApi
func (*ModuleOperationsApi) DeleteModule ¶
func (s *ModuleOperationsApi) DeleteModule(ctx context.Context, moduleSlug string, reason string) (gen.ImplResponse, error)
DeleteModule - Delete module
func (*ModuleOperationsApi) DeprecateModule ¶
func (s *ModuleOperationsApi) DeprecateModule(ctx context.Context, moduleSlug string, deprecationRequest gen.DeprecationRequest) (gen.ImplResponse, error)
DeprecateModule - Deprecate module
func (*ModuleOperationsApi) GetModule ¶
func (s *ModuleOperationsApi) GetModule(ctx context.Context, moduleSlug string, withHtml bool, includeFields []string, excludeFields []string, ifModifiedSince string) (gen.ImplResponse, error)
GetModule - Fetch module
func (*ModuleOperationsApi) GetModules ¶
func (s *ModuleOperationsApi) GetModules(ctx context.Context, limit int32, offset int32, sortBy string, query string, tag string, owner string, withTasks bool, withPlans bool, withPdk bool, premium bool, excludePremium bool, endorsements []string, operatingsystem string, operatingsystemrelease string, peRequirement string, puppetRequirement string, withMinimumScore int32, moduleGroups []string, showDeleted bool, hideDeprecated bool, onlyLatest bool, slugs []string, withHtml bool, includeFields []string, excludeFields []string, ifModifiedSince string, startsWith string, supported bool, withReleaseSince string) (gen.ImplResponse, error)
GetModules - List modules
type ReleaseOperationsApi ¶
type ReleaseOperationsApi struct {
gen.ReleaseOperationsAPIServicer
}
func NewReleaseOperationsApi ¶
func NewReleaseOperationsApi() *ReleaseOperationsApi
func (*ReleaseOperationsApi) AddRelease ¶
func (s *ReleaseOperationsApi) AddRelease(ctx context.Context, addReleaseRequest gen.AddReleaseRequest) (gen.ImplResponse, error)
AddRelease - Create module release
func (*ReleaseOperationsApi) DeleteRelease ¶
func (s *ReleaseOperationsApi) DeleteRelease(ctx context.Context, releaseSlug string, reason string) (gen.ImplResponse, error)
DeleteRelease - Delete module release
func (*ReleaseOperationsApi) GetFile ¶
func (s *ReleaseOperationsApi) GetFile(ctx context.Context, filename string) (gen.ImplResponse, error)
GetFile - Download module release
func (*ReleaseOperationsApi) GetRelease ¶
func (s *ReleaseOperationsApi) GetRelease(ctx context.Context, releaseSlug string, withHtml bool, includeFields []string, excludeFields []string, ifModifiedSince string) (gen.ImplResponse, error)
GetRelease - Fetch module release
func (*ReleaseOperationsApi) GetReleasePlan ¶
func (s *ReleaseOperationsApi) GetReleasePlan(ctx context.Context, releaseSlug string, planName string) (gen.ImplResponse, error)
GetReleasePlan - Fetch module release plan
func (*ReleaseOperationsApi) GetReleasePlans ¶
func (s *ReleaseOperationsApi) GetReleasePlans(ctx context.Context, releaseSlug string) (gen.ImplResponse, error)
GetReleasePlans - List module release plans
func (*ReleaseOperationsApi) GetReleases ¶
func (s *ReleaseOperationsApi) GetReleases(ctx context.Context, limit int32, offset int32, sortBy string, module string, owner string, withPdk bool, operatingsystem string, operatingsystemrelease string, peRequirement string, puppetRequirement string, moduleGroups []string, showDeleted bool, hideDeprecated bool, withHtml bool, includeFields []string, excludeFields []string, ifModifiedSince string, supported bool) (gen.ImplResponse, error)
GetReleases - List module releases
type SearchFilterOperationsApi ¶
type SearchFilterOperationsApi struct {
gen.SearchFilterOperationsAPIServicer
}
func NewSearchFilterOperationsApi ¶
func NewSearchFilterOperationsApi() *SearchFilterOperationsApi
func (*SearchFilterOperationsApi) AddSearchFilter ¶
func (s *SearchFilterOperationsApi) AddSearchFilter(ctx context.Context, searchFilterSlug string, withHtml bool, includeFields []string, excludeFields []string, ifModifiedSince string) (gen.ImplResponse, error)
AddSearchFilter - Create search filter
func (*SearchFilterOperationsApi) DeleteUserSearchFilter ¶
func (s *SearchFilterOperationsApi) DeleteUserSearchFilter(ctx context.Context, id int32) (gen.ImplResponse, error)
DeleteUserSearchFilter - Delete search filter by ID
func (*SearchFilterOperationsApi) GetUserSearchFilters ¶
func (s *SearchFilterOperationsApi) GetUserSearchFilters(ctx context.Context) (gen.ImplResponse, error)
GetUserSearchFilters - Get user's search filters
type UserOperationsApi ¶
type UserOperationsApi struct {
gen.UserOperationsAPIServicer
}
func NewUserOperationsApi ¶
func NewUserOperationsApi() *UserOperationsApi
Click to show internal directories.
Click to hide internal directories.