Versions in this module Expand all Collapse all v0 v0.1.0 Nov 2, 2024 Changes in this version + type ArrayFlag struct + ItemType string + Target *[]interface{} + func (f *ArrayFlag) Set(v string) error + func (f *ArrayFlag) String() string + func (f *ArrayFlag) Type() string + type CreateMethod struct + SupportsUserSettableCreate bool + type DeleteMethod struct + type GetMethod struct + type JSONFlag struct + Target interface{} + func (f *JSONFlag) Set(v string) error + func (f *JSONFlag) String() string + func (f *JSONFlag) Type() string + type ListMethod struct + type PatternInfo struct + IsResourcePattern bool + type Resource struct + CreateMethod *CreateMethod + DeleteMethod *DeleteMethod + GetMethod *GetMethod + ListMethod *ListMethod + Parents []*Resource + Pattern []string + Plural string + Schema *openapi.Schema + Singular string + UpdateMethod *UpdateMethod + func (r *Resource) ExecuteCommand(args []string) (*http.Request, error, string) + type Service struct + Client *http.Client + Headers map[string]string + func NewService(serviceDefinition ServiceDefinition, headers map[string]string) *Service + func (s *Service) ExecuteCommand(args []string) (string, error) + func (s *Service) PrintHelp() string + type ServiceDefinition struct + Resources map[string]*Resource + ServerURL string + func GetServiceDefinition(api *openapi.OpenAPI, serverURL, pathPrefix string) (*ServiceDefinition, error) + func (s *ServiceDefinition) GetResource(resource string) (*Resource, error) + type UpdateMethod struct