v3

package
v0.0.0-...-c0d40e6 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseToModule

func ReleaseToModule(releaseSlug string) string

Types

type DeleteModule500Response

type DeleteModule500Response struct {
	Message string   `json:"message,omitempty"`
	Errors  []string `json:"errors,omitempty"`
}

type DeleteRelease500Response

type DeleteRelease500Response struct {
	Message string   `json:"message,omitempty"`
	Errors  []string `json:"errors,omitempty"`
}

type GetFile400Response

type GetFile400Response struct {
	Message string `json:"message,omitempty"`

	Errors []string `json:"errors,omitempty"`
}

type GetModule404Response

type GetModule404Response struct {
	Message string   `json:"message,omitempty"`
	Errors  []string `json:"errors,omitempty"`
}

type GetModule500Response

type GetModule500Response struct {
	Message string   `json:"message,omitempty"`
	Errors  []string `json:"errors,omitempty"`
}

type GetRelease404Response

type GetRelease404Response struct {
	Message string `json:"message,omitempty"`

	Errors []string `json:"errors,omitempty"`
}

type GetRelease500Response

type GetRelease500Response struct {
	Message string   `json:"message,omitempty"`
	Errors  []string `json:"errors,omitempty"`
}

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

func (*UserOperationsApi) GetUser

func (s *UserOperationsApi) GetUser(ctx context.Context, userSlug string, withHtml bool, includeFields []string, excludeFields []string, ifModifiedSince string) (gen.ImplResponse, error)

GetUser - Fetch user

func (*UserOperationsApi) GetUsers

func (s *UserOperationsApi) GetUsers(ctx context.Context, limit int32, offset int32, sortBy string, withHtml bool, includeFields []string, excludeFields []string, ifModifiedSince string) (gen.ImplResponse, error)

GetUsers - List users

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL