Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptTextHTML(r *runtime.ClientOperation)
- func WithAcceptTextPlain(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeTextPlain(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetGitignoreTemplateInfo(params *GetGitignoreTemplateInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGitignoreTemplateInfoOK, error)
- func (a *Client) GetLabelTemplateInfo(params *GetLabelTemplateInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLabelTemplateInfoOK, error)
- func (a *Client) GetLicenseTemplateInfo(params *GetLicenseTemplateInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLicenseTemplateInfoOK, error)
- func (a *Client) GetNodeInfo(params *GetNodeInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNodeInfoOK, error)
- func (a *Client) GetSigningKey(params *GetSigningKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSigningKeyOK, error)
- func (a *Client) GetVersion(params *GetVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetVersionOK, error)
- func (a *Client) ListGitignoresTemplates(params *ListGitignoresTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListGitignoresTemplatesOK, error)
- func (a *Client) ListLabelTemplates(params *ListLabelTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListLabelTemplatesOK, error)
- func (a *Client) ListLicenseTemplates(params *ListLicenseTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListLicenseTemplatesOK, error)
- func (a *Client) RenderMarkdown(params *RenderMarkdownParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RenderMarkdownOK, error)
- func (a *Client) RenderMarkdownRaw(params *RenderMarkdownRawParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RenderMarkdownRawOK, error)
- func (a *Client) RenderMarkup(params *RenderMarkupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RenderMarkupOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetGitignoreTemplateInfoNotFound
- func (o *GetGitignoreTemplateInfoNotFound) Code() int
- func (o *GetGitignoreTemplateInfoNotFound) Error() string
- func (o *GetGitignoreTemplateInfoNotFound) IsClientError() bool
- func (o *GetGitignoreTemplateInfoNotFound) IsCode(code int) bool
- func (o *GetGitignoreTemplateInfoNotFound) IsRedirect() bool
- func (o *GetGitignoreTemplateInfoNotFound) IsServerError() bool
- func (o *GetGitignoreTemplateInfoNotFound) IsSuccess() bool
- func (o *GetGitignoreTemplateInfoNotFound) String() string
- type GetGitignoreTemplateInfoOK
- func (o *GetGitignoreTemplateInfoOK) Code() int
- func (o *GetGitignoreTemplateInfoOK) Error() string
- func (o *GetGitignoreTemplateInfoOK) GetPayload() *models.GitignoreTemplateInfo
- func (o *GetGitignoreTemplateInfoOK) IsClientError() bool
- func (o *GetGitignoreTemplateInfoOK) IsCode(code int) bool
- func (o *GetGitignoreTemplateInfoOK) IsRedirect() bool
- func (o *GetGitignoreTemplateInfoOK) IsServerError() bool
- func (o *GetGitignoreTemplateInfoOK) IsSuccess() bool
- func (o *GetGitignoreTemplateInfoOK) String() string
- type GetGitignoreTemplateInfoParams
- func NewGetGitignoreTemplateInfoParams() *GetGitignoreTemplateInfoParams
- func NewGetGitignoreTemplateInfoParamsWithContext(ctx context.Context) *GetGitignoreTemplateInfoParams
- func NewGetGitignoreTemplateInfoParamsWithHTTPClient(client *http.Client) *GetGitignoreTemplateInfoParams
- func NewGetGitignoreTemplateInfoParamsWithTimeout(timeout time.Duration) *GetGitignoreTemplateInfoParams
- func (o *GetGitignoreTemplateInfoParams) SetContext(ctx context.Context)
- func (o *GetGitignoreTemplateInfoParams) SetDefaults()
- func (o *GetGitignoreTemplateInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetGitignoreTemplateInfoParams) SetName(name string)
- func (o *GetGitignoreTemplateInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetGitignoreTemplateInfoParams) WithContext(ctx context.Context) *GetGitignoreTemplateInfoParams
- func (o *GetGitignoreTemplateInfoParams) WithDefaults() *GetGitignoreTemplateInfoParams
- func (o *GetGitignoreTemplateInfoParams) WithHTTPClient(client *http.Client) *GetGitignoreTemplateInfoParams
- func (o *GetGitignoreTemplateInfoParams) WithName(name string) *GetGitignoreTemplateInfoParams
- func (o *GetGitignoreTemplateInfoParams) WithTimeout(timeout time.Duration) *GetGitignoreTemplateInfoParams
- func (o *GetGitignoreTemplateInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGitignoreTemplateInfoReader
- type GetLabelTemplateInfoNotFound
- func (o *GetLabelTemplateInfoNotFound) Code() int
- func (o *GetLabelTemplateInfoNotFound) Error() string
- func (o *GetLabelTemplateInfoNotFound) IsClientError() bool
- func (o *GetLabelTemplateInfoNotFound) IsCode(code int) bool
- func (o *GetLabelTemplateInfoNotFound) IsRedirect() bool
- func (o *GetLabelTemplateInfoNotFound) IsServerError() bool
- func (o *GetLabelTemplateInfoNotFound) IsSuccess() bool
- func (o *GetLabelTemplateInfoNotFound) String() string
- type GetLabelTemplateInfoOK
- func (o *GetLabelTemplateInfoOK) Code() int
- func (o *GetLabelTemplateInfoOK) Error() string
- func (o *GetLabelTemplateInfoOK) GetPayload() []*models.LabelTemplate
- func (o *GetLabelTemplateInfoOK) IsClientError() bool
- func (o *GetLabelTemplateInfoOK) IsCode(code int) bool
- func (o *GetLabelTemplateInfoOK) IsRedirect() bool
- func (o *GetLabelTemplateInfoOK) IsServerError() bool
- func (o *GetLabelTemplateInfoOK) IsSuccess() bool
- func (o *GetLabelTemplateInfoOK) String() string
- type GetLabelTemplateInfoParams
- func NewGetLabelTemplateInfoParams() *GetLabelTemplateInfoParams
- func NewGetLabelTemplateInfoParamsWithContext(ctx context.Context) *GetLabelTemplateInfoParams
- func NewGetLabelTemplateInfoParamsWithHTTPClient(client *http.Client) *GetLabelTemplateInfoParams
- func NewGetLabelTemplateInfoParamsWithTimeout(timeout time.Duration) *GetLabelTemplateInfoParams
- func (o *GetLabelTemplateInfoParams) SetContext(ctx context.Context)
- func (o *GetLabelTemplateInfoParams) SetDefaults()
- func (o *GetLabelTemplateInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetLabelTemplateInfoParams) SetName(name string)
- func (o *GetLabelTemplateInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetLabelTemplateInfoParams) WithContext(ctx context.Context) *GetLabelTemplateInfoParams
- func (o *GetLabelTemplateInfoParams) WithDefaults() *GetLabelTemplateInfoParams
- func (o *GetLabelTemplateInfoParams) WithHTTPClient(client *http.Client) *GetLabelTemplateInfoParams
- func (o *GetLabelTemplateInfoParams) WithName(name string) *GetLabelTemplateInfoParams
- func (o *GetLabelTemplateInfoParams) WithTimeout(timeout time.Duration) *GetLabelTemplateInfoParams
- func (o *GetLabelTemplateInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLabelTemplateInfoReader
- type GetLicenseTemplateInfoNotFound
- func (o *GetLicenseTemplateInfoNotFound) Code() int
- func (o *GetLicenseTemplateInfoNotFound) Error() string
- func (o *GetLicenseTemplateInfoNotFound) IsClientError() bool
- func (o *GetLicenseTemplateInfoNotFound) IsCode(code int) bool
- func (o *GetLicenseTemplateInfoNotFound) IsRedirect() bool
- func (o *GetLicenseTemplateInfoNotFound) IsServerError() bool
- func (o *GetLicenseTemplateInfoNotFound) IsSuccess() bool
- func (o *GetLicenseTemplateInfoNotFound) String() string
- type GetLicenseTemplateInfoOK
- func (o *GetLicenseTemplateInfoOK) Code() int
- func (o *GetLicenseTemplateInfoOK) Error() string
- func (o *GetLicenseTemplateInfoOK) GetPayload() *models.LicenseTemplateInfo
- func (o *GetLicenseTemplateInfoOK) IsClientError() bool
- func (o *GetLicenseTemplateInfoOK) IsCode(code int) bool
- func (o *GetLicenseTemplateInfoOK) IsRedirect() bool
- func (o *GetLicenseTemplateInfoOK) IsServerError() bool
- func (o *GetLicenseTemplateInfoOK) IsSuccess() bool
- func (o *GetLicenseTemplateInfoOK) String() string
- type GetLicenseTemplateInfoParams
- func NewGetLicenseTemplateInfoParams() *GetLicenseTemplateInfoParams
- func NewGetLicenseTemplateInfoParamsWithContext(ctx context.Context) *GetLicenseTemplateInfoParams
- func NewGetLicenseTemplateInfoParamsWithHTTPClient(client *http.Client) *GetLicenseTemplateInfoParams
- func NewGetLicenseTemplateInfoParamsWithTimeout(timeout time.Duration) *GetLicenseTemplateInfoParams
- func (o *GetLicenseTemplateInfoParams) SetContext(ctx context.Context)
- func (o *GetLicenseTemplateInfoParams) SetDefaults()
- func (o *GetLicenseTemplateInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetLicenseTemplateInfoParams) SetName(name string)
- func (o *GetLicenseTemplateInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetLicenseTemplateInfoParams) WithContext(ctx context.Context) *GetLicenseTemplateInfoParams
- func (o *GetLicenseTemplateInfoParams) WithDefaults() *GetLicenseTemplateInfoParams
- func (o *GetLicenseTemplateInfoParams) WithHTTPClient(client *http.Client) *GetLicenseTemplateInfoParams
- func (o *GetLicenseTemplateInfoParams) WithName(name string) *GetLicenseTemplateInfoParams
- func (o *GetLicenseTemplateInfoParams) WithTimeout(timeout time.Duration) *GetLicenseTemplateInfoParams
- func (o *GetLicenseTemplateInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLicenseTemplateInfoReader
- type GetNodeInfoOK
- func (o *GetNodeInfoOK) Code() int
- func (o *GetNodeInfoOK) Error() string
- func (o *GetNodeInfoOK) GetPayload() *models.NodeInfo
- func (o *GetNodeInfoOK) IsClientError() bool
- func (o *GetNodeInfoOK) IsCode(code int) bool
- func (o *GetNodeInfoOK) IsRedirect() bool
- func (o *GetNodeInfoOK) IsServerError() bool
- func (o *GetNodeInfoOK) IsSuccess() bool
- func (o *GetNodeInfoOK) String() string
- type GetNodeInfoParams
- func (o *GetNodeInfoParams) SetContext(ctx context.Context)
- func (o *GetNodeInfoParams) SetDefaults()
- func (o *GetNodeInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetNodeInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetNodeInfoParams) WithContext(ctx context.Context) *GetNodeInfoParams
- func (o *GetNodeInfoParams) WithDefaults() *GetNodeInfoParams
- func (o *GetNodeInfoParams) WithHTTPClient(client *http.Client) *GetNodeInfoParams
- func (o *GetNodeInfoParams) WithTimeout(timeout time.Duration) *GetNodeInfoParams
- func (o *GetNodeInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNodeInfoReader
- type GetSigningKeyOK
- func (o *GetSigningKeyOK) Code() int
- func (o *GetSigningKeyOK) Error() string
- func (o *GetSigningKeyOK) GetPayload() string
- func (o *GetSigningKeyOK) IsClientError() bool
- func (o *GetSigningKeyOK) IsCode(code int) bool
- func (o *GetSigningKeyOK) IsRedirect() bool
- func (o *GetSigningKeyOK) IsServerError() bool
- func (o *GetSigningKeyOK) IsSuccess() bool
- func (o *GetSigningKeyOK) String() string
- type GetSigningKeyParams
- func (o *GetSigningKeyParams) SetContext(ctx context.Context)
- func (o *GetSigningKeyParams) SetDefaults()
- func (o *GetSigningKeyParams) SetHTTPClient(client *http.Client)
- func (o *GetSigningKeyParams) SetTimeout(timeout time.Duration)
- func (o *GetSigningKeyParams) WithContext(ctx context.Context) *GetSigningKeyParams
- func (o *GetSigningKeyParams) WithDefaults() *GetSigningKeyParams
- func (o *GetSigningKeyParams) WithHTTPClient(client *http.Client) *GetSigningKeyParams
- func (o *GetSigningKeyParams) WithTimeout(timeout time.Duration) *GetSigningKeyParams
- func (o *GetSigningKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSigningKeyReader
- type GetVersionOK
- func (o *GetVersionOK) Code() int
- func (o *GetVersionOK) Error() string
- func (o *GetVersionOK) GetPayload() *models.ServerVersion
- func (o *GetVersionOK) IsClientError() bool
- func (o *GetVersionOK) IsCode(code int) bool
- func (o *GetVersionOK) IsRedirect() bool
- func (o *GetVersionOK) IsServerError() bool
- func (o *GetVersionOK) IsSuccess() bool
- func (o *GetVersionOK) String() string
- type GetVersionParams
- func (o *GetVersionParams) SetContext(ctx context.Context)
- func (o *GetVersionParams) SetDefaults()
- func (o *GetVersionParams) SetHTTPClient(client *http.Client)
- func (o *GetVersionParams) SetTimeout(timeout time.Duration)
- func (o *GetVersionParams) WithContext(ctx context.Context) *GetVersionParams
- func (o *GetVersionParams) WithDefaults() *GetVersionParams
- func (o *GetVersionParams) WithHTTPClient(client *http.Client) *GetVersionParams
- func (o *GetVersionParams) WithTimeout(timeout time.Duration) *GetVersionParams
- func (o *GetVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVersionReader
- type ListGitignoresTemplatesOK
- func (o *ListGitignoresTemplatesOK) Code() int
- func (o *ListGitignoresTemplatesOK) Error() string
- func (o *ListGitignoresTemplatesOK) GetPayload() []string
- func (o *ListGitignoresTemplatesOK) IsClientError() bool
- func (o *ListGitignoresTemplatesOK) IsCode(code int) bool
- func (o *ListGitignoresTemplatesOK) IsRedirect() bool
- func (o *ListGitignoresTemplatesOK) IsServerError() bool
- func (o *ListGitignoresTemplatesOK) IsSuccess() bool
- func (o *ListGitignoresTemplatesOK) String() string
- type ListGitignoresTemplatesParams
- func NewListGitignoresTemplatesParams() *ListGitignoresTemplatesParams
- func NewListGitignoresTemplatesParamsWithContext(ctx context.Context) *ListGitignoresTemplatesParams
- func NewListGitignoresTemplatesParamsWithHTTPClient(client *http.Client) *ListGitignoresTemplatesParams
- func NewListGitignoresTemplatesParamsWithTimeout(timeout time.Duration) *ListGitignoresTemplatesParams
- func (o *ListGitignoresTemplatesParams) SetContext(ctx context.Context)
- func (o *ListGitignoresTemplatesParams) SetDefaults()
- func (o *ListGitignoresTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *ListGitignoresTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *ListGitignoresTemplatesParams) WithContext(ctx context.Context) *ListGitignoresTemplatesParams
- func (o *ListGitignoresTemplatesParams) WithDefaults() *ListGitignoresTemplatesParams
- func (o *ListGitignoresTemplatesParams) WithHTTPClient(client *http.Client) *ListGitignoresTemplatesParams
- func (o *ListGitignoresTemplatesParams) WithTimeout(timeout time.Duration) *ListGitignoresTemplatesParams
- func (o *ListGitignoresTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGitignoresTemplatesReader
- type ListLabelTemplatesOK
- func (o *ListLabelTemplatesOK) Code() int
- func (o *ListLabelTemplatesOK) Error() string
- func (o *ListLabelTemplatesOK) GetPayload() []string
- func (o *ListLabelTemplatesOK) IsClientError() bool
- func (o *ListLabelTemplatesOK) IsCode(code int) bool
- func (o *ListLabelTemplatesOK) IsRedirect() bool
- func (o *ListLabelTemplatesOK) IsServerError() bool
- func (o *ListLabelTemplatesOK) IsSuccess() bool
- func (o *ListLabelTemplatesOK) String() string
- type ListLabelTemplatesParams
- func NewListLabelTemplatesParams() *ListLabelTemplatesParams
- func NewListLabelTemplatesParamsWithContext(ctx context.Context) *ListLabelTemplatesParams
- func NewListLabelTemplatesParamsWithHTTPClient(client *http.Client) *ListLabelTemplatesParams
- func NewListLabelTemplatesParamsWithTimeout(timeout time.Duration) *ListLabelTemplatesParams
- func (o *ListLabelTemplatesParams) SetContext(ctx context.Context)
- func (o *ListLabelTemplatesParams) SetDefaults()
- func (o *ListLabelTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *ListLabelTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *ListLabelTemplatesParams) WithContext(ctx context.Context) *ListLabelTemplatesParams
- func (o *ListLabelTemplatesParams) WithDefaults() *ListLabelTemplatesParams
- func (o *ListLabelTemplatesParams) WithHTTPClient(client *http.Client) *ListLabelTemplatesParams
- func (o *ListLabelTemplatesParams) WithTimeout(timeout time.Duration) *ListLabelTemplatesParams
- func (o *ListLabelTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListLabelTemplatesReader
- type ListLicenseTemplatesOK
- func (o *ListLicenseTemplatesOK) Code() int
- func (o *ListLicenseTemplatesOK) Error() string
- func (o *ListLicenseTemplatesOK) GetPayload() []*models.LicensesTemplateListEntry
- func (o *ListLicenseTemplatesOK) IsClientError() bool
- func (o *ListLicenseTemplatesOK) IsCode(code int) bool
- func (o *ListLicenseTemplatesOK) IsRedirect() bool
- func (o *ListLicenseTemplatesOK) IsServerError() bool
- func (o *ListLicenseTemplatesOK) IsSuccess() bool
- func (o *ListLicenseTemplatesOK) String() string
- type ListLicenseTemplatesParams
- func NewListLicenseTemplatesParams() *ListLicenseTemplatesParams
- func NewListLicenseTemplatesParamsWithContext(ctx context.Context) *ListLicenseTemplatesParams
- func NewListLicenseTemplatesParamsWithHTTPClient(client *http.Client) *ListLicenseTemplatesParams
- func NewListLicenseTemplatesParamsWithTimeout(timeout time.Duration) *ListLicenseTemplatesParams
- func (o *ListLicenseTemplatesParams) SetContext(ctx context.Context)
- func (o *ListLicenseTemplatesParams) SetDefaults()
- func (o *ListLicenseTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *ListLicenseTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *ListLicenseTemplatesParams) WithContext(ctx context.Context) *ListLicenseTemplatesParams
- func (o *ListLicenseTemplatesParams) WithDefaults() *ListLicenseTemplatesParams
- func (o *ListLicenseTemplatesParams) WithHTTPClient(client *http.Client) *ListLicenseTemplatesParams
- func (o *ListLicenseTemplatesParams) WithTimeout(timeout time.Duration) *ListLicenseTemplatesParams
- func (o *ListLicenseTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListLicenseTemplatesReader
- type RenderMarkdownOK
- func (o *RenderMarkdownOK) Code() int
- func (o *RenderMarkdownOK) Error() string
- func (o *RenderMarkdownOK) GetPayload() string
- func (o *RenderMarkdownOK) IsClientError() bool
- func (o *RenderMarkdownOK) IsCode(code int) bool
- func (o *RenderMarkdownOK) IsRedirect() bool
- func (o *RenderMarkdownOK) IsServerError() bool
- func (o *RenderMarkdownOK) IsSuccess() bool
- func (o *RenderMarkdownOK) String() string
- type RenderMarkdownParams
- func NewRenderMarkdownParams() *RenderMarkdownParams
- func NewRenderMarkdownParamsWithContext(ctx context.Context) *RenderMarkdownParams
- func NewRenderMarkdownParamsWithHTTPClient(client *http.Client) *RenderMarkdownParams
- func NewRenderMarkdownParamsWithTimeout(timeout time.Duration) *RenderMarkdownParams
- func (o *RenderMarkdownParams) SetBody(body *models.MarkdownOption)
- func (o *RenderMarkdownParams) SetContext(ctx context.Context)
- func (o *RenderMarkdownParams) SetDefaults()
- func (o *RenderMarkdownParams) SetHTTPClient(client *http.Client)
- func (o *RenderMarkdownParams) SetTimeout(timeout time.Duration)
- func (o *RenderMarkdownParams) WithBody(body *models.MarkdownOption) *RenderMarkdownParams
- func (o *RenderMarkdownParams) WithContext(ctx context.Context) *RenderMarkdownParams
- func (o *RenderMarkdownParams) WithDefaults() *RenderMarkdownParams
- func (o *RenderMarkdownParams) WithHTTPClient(client *http.Client) *RenderMarkdownParams
- func (o *RenderMarkdownParams) WithTimeout(timeout time.Duration) *RenderMarkdownParams
- func (o *RenderMarkdownParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RenderMarkdownRawOK
- func (o *RenderMarkdownRawOK) Code() int
- func (o *RenderMarkdownRawOK) Error() string
- func (o *RenderMarkdownRawOK) GetPayload() string
- func (o *RenderMarkdownRawOK) IsClientError() bool
- func (o *RenderMarkdownRawOK) IsCode(code int) bool
- func (o *RenderMarkdownRawOK) IsRedirect() bool
- func (o *RenderMarkdownRawOK) IsServerError() bool
- func (o *RenderMarkdownRawOK) IsSuccess() bool
- func (o *RenderMarkdownRawOK) String() string
- type RenderMarkdownRawParams
- func NewRenderMarkdownRawParams() *RenderMarkdownRawParams
- func NewRenderMarkdownRawParamsWithContext(ctx context.Context) *RenderMarkdownRawParams
- func NewRenderMarkdownRawParamsWithHTTPClient(client *http.Client) *RenderMarkdownRawParams
- func NewRenderMarkdownRawParamsWithTimeout(timeout time.Duration) *RenderMarkdownRawParams
- func (o *RenderMarkdownRawParams) SetBody(body string)
- func (o *RenderMarkdownRawParams) SetContext(ctx context.Context)
- func (o *RenderMarkdownRawParams) SetDefaults()
- func (o *RenderMarkdownRawParams) SetHTTPClient(client *http.Client)
- func (o *RenderMarkdownRawParams) SetTimeout(timeout time.Duration)
- func (o *RenderMarkdownRawParams) WithBody(body string) *RenderMarkdownRawParams
- func (o *RenderMarkdownRawParams) WithContext(ctx context.Context) *RenderMarkdownRawParams
- func (o *RenderMarkdownRawParams) WithDefaults() *RenderMarkdownRawParams
- func (o *RenderMarkdownRawParams) WithHTTPClient(client *http.Client) *RenderMarkdownRawParams
- func (o *RenderMarkdownRawParams) WithTimeout(timeout time.Duration) *RenderMarkdownRawParams
- func (o *RenderMarkdownRawParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RenderMarkdownRawReader
- type RenderMarkdownRawUnprocessableEntity
- func (o *RenderMarkdownRawUnprocessableEntity) Code() int
- func (o *RenderMarkdownRawUnprocessableEntity) Error() string
- func (o *RenderMarkdownRawUnprocessableEntity) IsClientError() bool
- func (o *RenderMarkdownRawUnprocessableEntity) IsCode(code int) bool
- func (o *RenderMarkdownRawUnprocessableEntity) IsRedirect() bool
- func (o *RenderMarkdownRawUnprocessableEntity) IsServerError() bool
- func (o *RenderMarkdownRawUnprocessableEntity) IsSuccess() bool
- func (o *RenderMarkdownRawUnprocessableEntity) String() string
- type RenderMarkdownReader
- type RenderMarkdownUnprocessableEntity
- func (o *RenderMarkdownUnprocessableEntity) Code() int
- func (o *RenderMarkdownUnprocessableEntity) Error() string
- func (o *RenderMarkdownUnprocessableEntity) IsClientError() bool
- func (o *RenderMarkdownUnprocessableEntity) IsCode(code int) bool
- func (o *RenderMarkdownUnprocessableEntity) IsRedirect() bool
- func (o *RenderMarkdownUnprocessableEntity) IsServerError() bool
- func (o *RenderMarkdownUnprocessableEntity) IsSuccess() bool
- func (o *RenderMarkdownUnprocessableEntity) String() string
- type RenderMarkupOK
- func (o *RenderMarkupOK) Code() int
- func (o *RenderMarkupOK) Error() string
- func (o *RenderMarkupOK) GetPayload() string
- func (o *RenderMarkupOK) IsClientError() bool
- func (o *RenderMarkupOK) IsCode(code int) bool
- func (o *RenderMarkupOK) IsRedirect() bool
- func (o *RenderMarkupOK) IsServerError() bool
- func (o *RenderMarkupOK) IsSuccess() bool
- func (o *RenderMarkupOK) String() string
- type RenderMarkupParams
- func (o *RenderMarkupParams) SetBody(body *models.MarkupOption)
- func (o *RenderMarkupParams) SetContext(ctx context.Context)
- func (o *RenderMarkupParams) SetDefaults()
- func (o *RenderMarkupParams) SetHTTPClient(client *http.Client)
- func (o *RenderMarkupParams) SetTimeout(timeout time.Duration)
- func (o *RenderMarkupParams) WithBody(body *models.MarkupOption) *RenderMarkupParams
- func (o *RenderMarkupParams) WithContext(ctx context.Context) *RenderMarkupParams
- func (o *RenderMarkupParams) WithDefaults() *RenderMarkupParams
- func (o *RenderMarkupParams) WithHTTPClient(client *http.Client) *RenderMarkupParams
- func (o *RenderMarkupParams) WithTimeout(timeout time.Duration) *RenderMarkupParams
- func (o *RenderMarkupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RenderMarkupReader
- type RenderMarkupUnprocessableEntity
- func (o *RenderMarkupUnprocessableEntity) Code() int
- func (o *RenderMarkupUnprocessableEntity) Error() string
- func (o *RenderMarkupUnprocessableEntity) IsClientError() bool
- func (o *RenderMarkupUnprocessableEntity) IsCode(code int) bool
- func (o *RenderMarkupUnprocessableEntity) IsRedirect() bool
- func (o *RenderMarkupUnprocessableEntity) IsServerError() bool
- func (o *RenderMarkupUnprocessableEntity) IsSuccess() bool
- func (o *RenderMarkupUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptTextHTML ¶
func WithAcceptTextHTML(r *runtime.ClientOperation)
WithAcceptTextHTML sets the Accept header to "text/html".
func WithAcceptTextPlain ¶
func WithAcceptTextPlain(r *runtime.ClientOperation)
WithAcceptTextPlain sets the Accept header to "text/plain".
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeTextPlain ¶
func WithContentTypeTextPlain(r *runtime.ClientOperation)
WithContentTypeTextPlain sets the Content-Type header to "text/plain".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for miscellaneous API
func (*Client) GetGitignoreTemplateInfo ¶
func (a *Client) GetGitignoreTemplateInfo(params *GetGitignoreTemplateInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGitignoreTemplateInfoOK, error)
GetGitignoreTemplateInfo returns information about a gitignore template
func (*Client) GetLabelTemplateInfo ¶
func (a *Client) GetLabelTemplateInfo(params *GetLabelTemplateInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLabelTemplateInfoOK, error)
GetLabelTemplateInfo returns all labels in a template
func (*Client) GetLicenseTemplateInfo ¶
func (a *Client) GetLicenseTemplateInfo(params *GetLicenseTemplateInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLicenseTemplateInfoOK, error)
GetLicenseTemplateInfo returns information about a license template
func (*Client) GetNodeInfo ¶
func (a *Client) GetNodeInfo(params *GetNodeInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNodeInfoOK, error)
GetNodeInfo returns the nodeinfo of the gitea application
func (*Client) GetSigningKey ¶
func (a *Client) GetSigningKey(params *GetSigningKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSigningKeyOK, error)
GetSigningKey gets default signing key gpg
func (*Client) GetVersion ¶
func (a *Client) GetVersion(params *GetVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVersionOK, error)
GetVersion returns the version of the gitea application
func (*Client) ListGitignoresTemplates ¶
func (a *Client) ListGitignoresTemplates(params *ListGitignoresTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGitignoresTemplatesOK, error)
ListGitignoresTemplates returns a list of all gitignore templates
func (*Client) ListLabelTemplates ¶
func (a *Client) ListLabelTemplates(params *ListLabelTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListLabelTemplatesOK, error)
ListLabelTemplates returns a list of all label templates
func (*Client) ListLicenseTemplates ¶
func (a *Client) ListLicenseTemplates(params *ListLicenseTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListLicenseTemplatesOK, error)
ListLicenseTemplates returns a list of all license templates
func (*Client) RenderMarkdown ¶
func (a *Client) RenderMarkdown(params *RenderMarkdownParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderMarkdownOK, error)
RenderMarkdown renders a markdown document as HTML
func (*Client) RenderMarkdownRaw ¶
func (a *Client) RenderMarkdownRaw(params *RenderMarkdownRawParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderMarkdownRawOK, error)
RenderMarkdownRaw renders raw markdown as HTML
func (*Client) RenderMarkup ¶
func (a *Client) RenderMarkup(params *RenderMarkupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderMarkupOK, error)
RenderMarkup renders a markup document as HTML
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
GetGitignoreTemplateInfo(params *GetGitignoreTemplateInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGitignoreTemplateInfoOK, error)
GetLabelTemplateInfo(params *GetLabelTemplateInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLabelTemplateInfoOK, error)
GetLicenseTemplateInfo(params *GetLicenseTemplateInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLicenseTemplateInfoOK, error)
GetNodeInfo(params *GetNodeInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNodeInfoOK, error)
GetSigningKey(params *GetSigningKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSigningKeyOK, error)
GetVersion(params *GetVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVersionOK, error)
ListGitignoresTemplates(params *ListGitignoresTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGitignoresTemplatesOK, error)
ListLabelTemplates(params *ListLabelTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListLabelTemplatesOK, error)
ListLicenseTemplates(params *ListLicenseTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListLicenseTemplatesOK, error)
RenderMarkdown(params *RenderMarkdownParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderMarkdownOK, error)
RenderMarkdownRaw(params *RenderMarkdownRawParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderMarkdownRawOK, error)
RenderMarkup(params *RenderMarkupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderMarkupOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new miscellaneous API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new miscellaneous API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new miscellaneous API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetGitignoreTemplateInfoNotFound ¶
type GetGitignoreTemplateInfoNotFound struct {
}
GetGitignoreTemplateInfoNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewGetGitignoreTemplateInfoNotFound ¶
func NewGetGitignoreTemplateInfoNotFound() *GetGitignoreTemplateInfoNotFound
NewGetGitignoreTemplateInfoNotFound creates a GetGitignoreTemplateInfoNotFound with default headers values
func (*GetGitignoreTemplateInfoNotFound) Code ¶
func (o *GetGitignoreTemplateInfoNotFound) Code() int
Code gets the status code for the get gitignore template info not found response
func (*GetGitignoreTemplateInfoNotFound) Error ¶
func (o *GetGitignoreTemplateInfoNotFound) Error() string
func (*GetGitignoreTemplateInfoNotFound) IsClientError ¶
func (o *GetGitignoreTemplateInfoNotFound) IsClientError() bool
IsClientError returns true when this get gitignore template info not found response has a 4xx status code
func (*GetGitignoreTemplateInfoNotFound) IsCode ¶
func (o *GetGitignoreTemplateInfoNotFound) IsCode(code int) bool
IsCode returns true when this get gitignore template info not found response a status code equal to that given
func (*GetGitignoreTemplateInfoNotFound) IsRedirect ¶
func (o *GetGitignoreTemplateInfoNotFound) IsRedirect() bool
IsRedirect returns true when this get gitignore template info not found response has a 3xx status code
func (*GetGitignoreTemplateInfoNotFound) IsServerError ¶
func (o *GetGitignoreTemplateInfoNotFound) IsServerError() bool
IsServerError returns true when this get gitignore template info not found response has a 5xx status code
func (*GetGitignoreTemplateInfoNotFound) IsSuccess ¶
func (o *GetGitignoreTemplateInfoNotFound) IsSuccess() bool
IsSuccess returns true when this get gitignore template info not found response has a 2xx status code
func (*GetGitignoreTemplateInfoNotFound) String ¶
func (o *GetGitignoreTemplateInfoNotFound) String() string
type GetGitignoreTemplateInfoOK ¶
type GetGitignoreTemplateInfoOK struct {
Payload *models.GitignoreTemplateInfo
}
GetGitignoreTemplateInfoOK describes a response with status code 200, with default header values.
GitignoreTemplateInfo
func NewGetGitignoreTemplateInfoOK ¶
func NewGetGitignoreTemplateInfoOK() *GetGitignoreTemplateInfoOK
NewGetGitignoreTemplateInfoOK creates a GetGitignoreTemplateInfoOK with default headers values
func (*GetGitignoreTemplateInfoOK) Code ¶
func (o *GetGitignoreTemplateInfoOK) Code() int
Code gets the status code for the get gitignore template info o k response
func (*GetGitignoreTemplateInfoOK) Error ¶
func (o *GetGitignoreTemplateInfoOK) Error() string
func (*GetGitignoreTemplateInfoOK) GetPayload ¶
func (o *GetGitignoreTemplateInfoOK) GetPayload() *models.GitignoreTemplateInfo
func (*GetGitignoreTemplateInfoOK) IsClientError ¶
func (o *GetGitignoreTemplateInfoOK) IsClientError() bool
IsClientError returns true when this get gitignore template info o k response has a 4xx status code
func (*GetGitignoreTemplateInfoOK) IsCode ¶
func (o *GetGitignoreTemplateInfoOK) IsCode(code int) bool
IsCode returns true when this get gitignore template info o k response a status code equal to that given
func (*GetGitignoreTemplateInfoOK) IsRedirect ¶
func (o *GetGitignoreTemplateInfoOK) IsRedirect() bool
IsRedirect returns true when this get gitignore template info o k response has a 3xx status code
func (*GetGitignoreTemplateInfoOK) IsServerError ¶
func (o *GetGitignoreTemplateInfoOK) IsServerError() bool
IsServerError returns true when this get gitignore template info o k response has a 5xx status code
func (*GetGitignoreTemplateInfoOK) IsSuccess ¶
func (o *GetGitignoreTemplateInfoOK) IsSuccess() bool
IsSuccess returns true when this get gitignore template info o k response has a 2xx status code
func (*GetGitignoreTemplateInfoOK) String ¶
func (o *GetGitignoreTemplateInfoOK) String() string
type GetGitignoreTemplateInfoParams ¶
type GetGitignoreTemplateInfoParams struct {
/* Name.
name of the template
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGitignoreTemplateInfoParams contains all the parameters to send to the API endpoint
for the get gitignore template info operation. Typically these are written to a http.Request.
func NewGetGitignoreTemplateInfoParams ¶
func NewGetGitignoreTemplateInfoParams() *GetGitignoreTemplateInfoParams
NewGetGitignoreTemplateInfoParams creates a new GetGitignoreTemplateInfoParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGitignoreTemplateInfoParamsWithContext ¶
func NewGetGitignoreTemplateInfoParamsWithContext(ctx context.Context) *GetGitignoreTemplateInfoParams
NewGetGitignoreTemplateInfoParamsWithContext creates a new GetGitignoreTemplateInfoParams object with the ability to set a context for a request.
func NewGetGitignoreTemplateInfoParamsWithHTTPClient ¶
func NewGetGitignoreTemplateInfoParamsWithHTTPClient(client *http.Client) *GetGitignoreTemplateInfoParams
NewGetGitignoreTemplateInfoParamsWithHTTPClient creates a new GetGitignoreTemplateInfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetGitignoreTemplateInfoParamsWithTimeout ¶
func NewGetGitignoreTemplateInfoParamsWithTimeout(timeout time.Duration) *GetGitignoreTemplateInfoParams
NewGetGitignoreTemplateInfoParamsWithTimeout creates a new GetGitignoreTemplateInfoParams object with the ability to set a timeout on a request.
func (*GetGitignoreTemplateInfoParams) SetContext ¶
func (o *GetGitignoreTemplateInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get gitignore template info params
func (*GetGitignoreTemplateInfoParams) SetDefaults ¶
func (o *GetGitignoreTemplateInfoParams) SetDefaults()
SetDefaults hydrates default values in the get gitignore template info params (not the query body).
All values with no default are reset to their zero value.
func (*GetGitignoreTemplateInfoParams) SetHTTPClient ¶
func (o *GetGitignoreTemplateInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get gitignore template info params
func (*GetGitignoreTemplateInfoParams) SetName ¶
func (o *GetGitignoreTemplateInfoParams) SetName(name string)
SetName adds the name to the get gitignore template info params
func (*GetGitignoreTemplateInfoParams) SetTimeout ¶
func (o *GetGitignoreTemplateInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get gitignore template info params
func (*GetGitignoreTemplateInfoParams) WithContext ¶
func (o *GetGitignoreTemplateInfoParams) WithContext(ctx context.Context) *GetGitignoreTemplateInfoParams
WithContext adds the context to the get gitignore template info params
func (*GetGitignoreTemplateInfoParams) WithDefaults ¶
func (o *GetGitignoreTemplateInfoParams) WithDefaults() *GetGitignoreTemplateInfoParams
WithDefaults hydrates default values in the get gitignore template info params (not the query body).
All values with no default are reset to their zero value.
func (*GetGitignoreTemplateInfoParams) WithHTTPClient ¶
func (o *GetGitignoreTemplateInfoParams) WithHTTPClient(client *http.Client) *GetGitignoreTemplateInfoParams
WithHTTPClient adds the HTTPClient to the get gitignore template info params
func (*GetGitignoreTemplateInfoParams) WithName ¶
func (o *GetGitignoreTemplateInfoParams) WithName(name string) *GetGitignoreTemplateInfoParams
WithName adds the name to the get gitignore template info params
func (*GetGitignoreTemplateInfoParams) WithTimeout ¶
func (o *GetGitignoreTemplateInfoParams) WithTimeout(timeout time.Duration) *GetGitignoreTemplateInfoParams
WithTimeout adds the timeout to the get gitignore template info params
func (*GetGitignoreTemplateInfoParams) WriteToRequest ¶
func (o *GetGitignoreTemplateInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGitignoreTemplateInfoReader ¶
type GetGitignoreTemplateInfoReader struct {
// contains filtered or unexported fields
}
GetGitignoreTemplateInfoReader is a Reader for the GetGitignoreTemplateInfo structure.
func (*GetGitignoreTemplateInfoReader) ReadResponse ¶
func (o *GetGitignoreTemplateInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLabelTemplateInfoNotFound ¶
type GetLabelTemplateInfoNotFound struct {
}
GetLabelTemplateInfoNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewGetLabelTemplateInfoNotFound ¶
func NewGetLabelTemplateInfoNotFound() *GetLabelTemplateInfoNotFound
NewGetLabelTemplateInfoNotFound creates a GetLabelTemplateInfoNotFound with default headers values
func (*GetLabelTemplateInfoNotFound) Code ¶
func (o *GetLabelTemplateInfoNotFound) Code() int
Code gets the status code for the get label template info not found response
func (*GetLabelTemplateInfoNotFound) Error ¶
func (o *GetLabelTemplateInfoNotFound) Error() string
func (*GetLabelTemplateInfoNotFound) IsClientError ¶
func (o *GetLabelTemplateInfoNotFound) IsClientError() bool
IsClientError returns true when this get label template info not found response has a 4xx status code
func (*GetLabelTemplateInfoNotFound) IsCode ¶
func (o *GetLabelTemplateInfoNotFound) IsCode(code int) bool
IsCode returns true when this get label template info not found response a status code equal to that given
func (*GetLabelTemplateInfoNotFound) IsRedirect ¶
func (o *GetLabelTemplateInfoNotFound) IsRedirect() bool
IsRedirect returns true when this get label template info not found response has a 3xx status code
func (*GetLabelTemplateInfoNotFound) IsServerError ¶
func (o *GetLabelTemplateInfoNotFound) IsServerError() bool
IsServerError returns true when this get label template info not found response has a 5xx status code
func (*GetLabelTemplateInfoNotFound) IsSuccess ¶
func (o *GetLabelTemplateInfoNotFound) IsSuccess() bool
IsSuccess returns true when this get label template info not found response has a 2xx status code
func (*GetLabelTemplateInfoNotFound) String ¶
func (o *GetLabelTemplateInfoNotFound) String() string
type GetLabelTemplateInfoOK ¶
type GetLabelTemplateInfoOK struct {
Payload []*models.LabelTemplate
}
GetLabelTemplateInfoOK describes a response with status code 200, with default header values.
LabelTemplateInfo
func NewGetLabelTemplateInfoOK ¶
func NewGetLabelTemplateInfoOK() *GetLabelTemplateInfoOK
NewGetLabelTemplateInfoOK creates a GetLabelTemplateInfoOK with default headers values
func (*GetLabelTemplateInfoOK) Code ¶
func (o *GetLabelTemplateInfoOK) Code() int
Code gets the status code for the get label template info o k response
func (*GetLabelTemplateInfoOK) Error ¶
func (o *GetLabelTemplateInfoOK) Error() string
func (*GetLabelTemplateInfoOK) GetPayload ¶
func (o *GetLabelTemplateInfoOK) GetPayload() []*models.LabelTemplate
func (*GetLabelTemplateInfoOK) IsClientError ¶
func (o *GetLabelTemplateInfoOK) IsClientError() bool
IsClientError returns true when this get label template info o k response has a 4xx status code
func (*GetLabelTemplateInfoOK) IsCode ¶
func (o *GetLabelTemplateInfoOK) IsCode(code int) bool
IsCode returns true when this get label template info o k response a status code equal to that given
func (*GetLabelTemplateInfoOK) IsRedirect ¶
func (o *GetLabelTemplateInfoOK) IsRedirect() bool
IsRedirect returns true when this get label template info o k response has a 3xx status code
func (*GetLabelTemplateInfoOK) IsServerError ¶
func (o *GetLabelTemplateInfoOK) IsServerError() bool
IsServerError returns true when this get label template info o k response has a 5xx status code
func (*GetLabelTemplateInfoOK) IsSuccess ¶
func (o *GetLabelTemplateInfoOK) IsSuccess() bool
IsSuccess returns true when this get label template info o k response has a 2xx status code
func (*GetLabelTemplateInfoOK) String ¶
func (o *GetLabelTemplateInfoOK) String() string
type GetLabelTemplateInfoParams ¶
type GetLabelTemplateInfoParams struct {
/* Name.
name of the template
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetLabelTemplateInfoParams contains all the parameters to send to the API endpoint
for the get label template info operation. Typically these are written to a http.Request.
func NewGetLabelTemplateInfoParams ¶
func NewGetLabelTemplateInfoParams() *GetLabelTemplateInfoParams
NewGetLabelTemplateInfoParams creates a new GetLabelTemplateInfoParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetLabelTemplateInfoParamsWithContext ¶
func NewGetLabelTemplateInfoParamsWithContext(ctx context.Context) *GetLabelTemplateInfoParams
NewGetLabelTemplateInfoParamsWithContext creates a new GetLabelTemplateInfoParams object with the ability to set a context for a request.
func NewGetLabelTemplateInfoParamsWithHTTPClient ¶
func NewGetLabelTemplateInfoParamsWithHTTPClient(client *http.Client) *GetLabelTemplateInfoParams
NewGetLabelTemplateInfoParamsWithHTTPClient creates a new GetLabelTemplateInfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetLabelTemplateInfoParamsWithTimeout ¶
func NewGetLabelTemplateInfoParamsWithTimeout(timeout time.Duration) *GetLabelTemplateInfoParams
NewGetLabelTemplateInfoParamsWithTimeout creates a new GetLabelTemplateInfoParams object with the ability to set a timeout on a request.
func (*GetLabelTemplateInfoParams) SetContext ¶
func (o *GetLabelTemplateInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get label template info params
func (*GetLabelTemplateInfoParams) SetDefaults ¶
func (o *GetLabelTemplateInfoParams) SetDefaults()
SetDefaults hydrates default values in the get label template info params (not the query body).
All values with no default are reset to their zero value.
func (*GetLabelTemplateInfoParams) SetHTTPClient ¶
func (o *GetLabelTemplateInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get label template info params
func (*GetLabelTemplateInfoParams) SetName ¶
func (o *GetLabelTemplateInfoParams) SetName(name string)
SetName adds the name to the get label template info params
func (*GetLabelTemplateInfoParams) SetTimeout ¶
func (o *GetLabelTemplateInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get label template info params
func (*GetLabelTemplateInfoParams) WithContext ¶
func (o *GetLabelTemplateInfoParams) WithContext(ctx context.Context) *GetLabelTemplateInfoParams
WithContext adds the context to the get label template info params
func (*GetLabelTemplateInfoParams) WithDefaults ¶
func (o *GetLabelTemplateInfoParams) WithDefaults() *GetLabelTemplateInfoParams
WithDefaults hydrates default values in the get label template info params (not the query body).
All values with no default are reset to their zero value.
func (*GetLabelTemplateInfoParams) WithHTTPClient ¶
func (o *GetLabelTemplateInfoParams) WithHTTPClient(client *http.Client) *GetLabelTemplateInfoParams
WithHTTPClient adds the HTTPClient to the get label template info params
func (*GetLabelTemplateInfoParams) WithName ¶
func (o *GetLabelTemplateInfoParams) WithName(name string) *GetLabelTemplateInfoParams
WithName adds the name to the get label template info params
func (*GetLabelTemplateInfoParams) WithTimeout ¶
func (o *GetLabelTemplateInfoParams) WithTimeout(timeout time.Duration) *GetLabelTemplateInfoParams
WithTimeout adds the timeout to the get label template info params
func (*GetLabelTemplateInfoParams) WriteToRequest ¶
func (o *GetLabelTemplateInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLabelTemplateInfoReader ¶
type GetLabelTemplateInfoReader struct {
// contains filtered or unexported fields
}
GetLabelTemplateInfoReader is a Reader for the GetLabelTemplateInfo structure.
func (*GetLabelTemplateInfoReader) ReadResponse ¶
func (o *GetLabelTemplateInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLicenseTemplateInfoNotFound ¶
type GetLicenseTemplateInfoNotFound struct {
}
GetLicenseTemplateInfoNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewGetLicenseTemplateInfoNotFound ¶
func NewGetLicenseTemplateInfoNotFound() *GetLicenseTemplateInfoNotFound
NewGetLicenseTemplateInfoNotFound creates a GetLicenseTemplateInfoNotFound with default headers values
func (*GetLicenseTemplateInfoNotFound) Code ¶
func (o *GetLicenseTemplateInfoNotFound) Code() int
Code gets the status code for the get license template info not found response
func (*GetLicenseTemplateInfoNotFound) Error ¶
func (o *GetLicenseTemplateInfoNotFound) Error() string
func (*GetLicenseTemplateInfoNotFound) IsClientError ¶
func (o *GetLicenseTemplateInfoNotFound) IsClientError() bool
IsClientError returns true when this get license template info not found response has a 4xx status code
func (*GetLicenseTemplateInfoNotFound) IsCode ¶
func (o *GetLicenseTemplateInfoNotFound) IsCode(code int) bool
IsCode returns true when this get license template info not found response a status code equal to that given
func (*GetLicenseTemplateInfoNotFound) IsRedirect ¶
func (o *GetLicenseTemplateInfoNotFound) IsRedirect() bool
IsRedirect returns true when this get license template info not found response has a 3xx status code
func (*GetLicenseTemplateInfoNotFound) IsServerError ¶
func (o *GetLicenseTemplateInfoNotFound) IsServerError() bool
IsServerError returns true when this get license template info not found response has a 5xx status code
func (*GetLicenseTemplateInfoNotFound) IsSuccess ¶
func (o *GetLicenseTemplateInfoNotFound) IsSuccess() bool
IsSuccess returns true when this get license template info not found response has a 2xx status code
func (*GetLicenseTemplateInfoNotFound) String ¶
func (o *GetLicenseTemplateInfoNotFound) String() string
type GetLicenseTemplateInfoOK ¶
type GetLicenseTemplateInfoOK struct {
Payload *models.LicenseTemplateInfo
}
GetLicenseTemplateInfoOK describes a response with status code 200, with default header values.
LicenseTemplateInfo
func NewGetLicenseTemplateInfoOK ¶
func NewGetLicenseTemplateInfoOK() *GetLicenseTemplateInfoOK
NewGetLicenseTemplateInfoOK creates a GetLicenseTemplateInfoOK with default headers values
func (*GetLicenseTemplateInfoOK) Code ¶
func (o *GetLicenseTemplateInfoOK) Code() int
Code gets the status code for the get license template info o k response
func (*GetLicenseTemplateInfoOK) Error ¶
func (o *GetLicenseTemplateInfoOK) Error() string
func (*GetLicenseTemplateInfoOK) GetPayload ¶
func (o *GetLicenseTemplateInfoOK) GetPayload() *models.LicenseTemplateInfo
func (*GetLicenseTemplateInfoOK) IsClientError ¶
func (o *GetLicenseTemplateInfoOK) IsClientError() bool
IsClientError returns true when this get license template info o k response has a 4xx status code
func (*GetLicenseTemplateInfoOK) IsCode ¶
func (o *GetLicenseTemplateInfoOK) IsCode(code int) bool
IsCode returns true when this get license template info o k response a status code equal to that given
func (*GetLicenseTemplateInfoOK) IsRedirect ¶
func (o *GetLicenseTemplateInfoOK) IsRedirect() bool
IsRedirect returns true when this get license template info o k response has a 3xx status code
func (*GetLicenseTemplateInfoOK) IsServerError ¶
func (o *GetLicenseTemplateInfoOK) IsServerError() bool
IsServerError returns true when this get license template info o k response has a 5xx status code
func (*GetLicenseTemplateInfoOK) IsSuccess ¶
func (o *GetLicenseTemplateInfoOK) IsSuccess() bool
IsSuccess returns true when this get license template info o k response has a 2xx status code
func (*GetLicenseTemplateInfoOK) String ¶
func (o *GetLicenseTemplateInfoOK) String() string
type GetLicenseTemplateInfoParams ¶
type GetLicenseTemplateInfoParams struct {
/* Name.
name of the license
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetLicenseTemplateInfoParams contains all the parameters to send to the API endpoint
for the get license template info operation. Typically these are written to a http.Request.
func NewGetLicenseTemplateInfoParams ¶
func NewGetLicenseTemplateInfoParams() *GetLicenseTemplateInfoParams
NewGetLicenseTemplateInfoParams creates a new GetLicenseTemplateInfoParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetLicenseTemplateInfoParamsWithContext ¶
func NewGetLicenseTemplateInfoParamsWithContext(ctx context.Context) *GetLicenseTemplateInfoParams
NewGetLicenseTemplateInfoParamsWithContext creates a new GetLicenseTemplateInfoParams object with the ability to set a context for a request.
func NewGetLicenseTemplateInfoParamsWithHTTPClient ¶
func NewGetLicenseTemplateInfoParamsWithHTTPClient(client *http.Client) *GetLicenseTemplateInfoParams
NewGetLicenseTemplateInfoParamsWithHTTPClient creates a new GetLicenseTemplateInfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetLicenseTemplateInfoParamsWithTimeout ¶
func NewGetLicenseTemplateInfoParamsWithTimeout(timeout time.Duration) *GetLicenseTemplateInfoParams
NewGetLicenseTemplateInfoParamsWithTimeout creates a new GetLicenseTemplateInfoParams object with the ability to set a timeout on a request.
func (*GetLicenseTemplateInfoParams) SetContext ¶
func (o *GetLicenseTemplateInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get license template info params
func (*GetLicenseTemplateInfoParams) SetDefaults ¶
func (o *GetLicenseTemplateInfoParams) SetDefaults()
SetDefaults hydrates default values in the get license template info params (not the query body).
All values with no default are reset to their zero value.
func (*GetLicenseTemplateInfoParams) SetHTTPClient ¶
func (o *GetLicenseTemplateInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get license template info params
func (*GetLicenseTemplateInfoParams) SetName ¶
func (o *GetLicenseTemplateInfoParams) SetName(name string)
SetName adds the name to the get license template info params
func (*GetLicenseTemplateInfoParams) SetTimeout ¶
func (o *GetLicenseTemplateInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get license template info params
func (*GetLicenseTemplateInfoParams) WithContext ¶
func (o *GetLicenseTemplateInfoParams) WithContext(ctx context.Context) *GetLicenseTemplateInfoParams
WithContext adds the context to the get license template info params
func (*GetLicenseTemplateInfoParams) WithDefaults ¶
func (o *GetLicenseTemplateInfoParams) WithDefaults() *GetLicenseTemplateInfoParams
WithDefaults hydrates default values in the get license template info params (not the query body).
All values with no default are reset to their zero value.
func (*GetLicenseTemplateInfoParams) WithHTTPClient ¶
func (o *GetLicenseTemplateInfoParams) WithHTTPClient(client *http.Client) *GetLicenseTemplateInfoParams
WithHTTPClient adds the HTTPClient to the get license template info params
func (*GetLicenseTemplateInfoParams) WithName ¶
func (o *GetLicenseTemplateInfoParams) WithName(name string) *GetLicenseTemplateInfoParams
WithName adds the name to the get license template info params
func (*GetLicenseTemplateInfoParams) WithTimeout ¶
func (o *GetLicenseTemplateInfoParams) WithTimeout(timeout time.Duration) *GetLicenseTemplateInfoParams
WithTimeout adds the timeout to the get license template info params
func (*GetLicenseTemplateInfoParams) WriteToRequest ¶
func (o *GetLicenseTemplateInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLicenseTemplateInfoReader ¶
type GetLicenseTemplateInfoReader struct {
// contains filtered or unexported fields
}
GetLicenseTemplateInfoReader is a Reader for the GetLicenseTemplateInfo structure.
func (*GetLicenseTemplateInfoReader) ReadResponse ¶
func (o *GetLicenseTemplateInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNodeInfoOK ¶
GetNodeInfoOK describes a response with status code 200, with default header values.
NodeInfo
func NewGetNodeInfoOK ¶
func NewGetNodeInfoOK() *GetNodeInfoOK
NewGetNodeInfoOK creates a GetNodeInfoOK with default headers values
func (*GetNodeInfoOK) Code ¶
func (o *GetNodeInfoOK) Code() int
Code gets the status code for the get node info o k response
func (*GetNodeInfoOK) Error ¶
func (o *GetNodeInfoOK) Error() string
func (*GetNodeInfoOK) GetPayload ¶
func (o *GetNodeInfoOK) GetPayload() *models.NodeInfo
func (*GetNodeInfoOK) IsClientError ¶
func (o *GetNodeInfoOK) IsClientError() bool
IsClientError returns true when this get node info o k response has a 4xx status code
func (*GetNodeInfoOK) IsCode ¶
func (o *GetNodeInfoOK) IsCode(code int) bool
IsCode returns true when this get node info o k response a status code equal to that given
func (*GetNodeInfoOK) IsRedirect ¶
func (o *GetNodeInfoOK) IsRedirect() bool
IsRedirect returns true when this get node info o k response has a 3xx status code
func (*GetNodeInfoOK) IsServerError ¶
func (o *GetNodeInfoOK) IsServerError() bool
IsServerError returns true when this get node info o k response has a 5xx status code
func (*GetNodeInfoOK) IsSuccess ¶
func (o *GetNodeInfoOK) IsSuccess() bool
IsSuccess returns true when this get node info o k response has a 2xx status code
func (*GetNodeInfoOK) String ¶
func (o *GetNodeInfoOK) String() string
type GetNodeInfoParams ¶
type GetNodeInfoParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetNodeInfoParams contains all the parameters to send to the API endpoint
for the get node info operation. Typically these are written to a http.Request.
func NewGetNodeInfoParams ¶
func NewGetNodeInfoParams() *GetNodeInfoParams
NewGetNodeInfoParams creates a new GetNodeInfoParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNodeInfoParamsWithContext ¶
func NewGetNodeInfoParamsWithContext(ctx context.Context) *GetNodeInfoParams
NewGetNodeInfoParamsWithContext creates a new GetNodeInfoParams object with the ability to set a context for a request.
func NewGetNodeInfoParamsWithHTTPClient ¶
func NewGetNodeInfoParamsWithHTTPClient(client *http.Client) *GetNodeInfoParams
NewGetNodeInfoParamsWithHTTPClient creates a new GetNodeInfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetNodeInfoParamsWithTimeout ¶
func NewGetNodeInfoParamsWithTimeout(timeout time.Duration) *GetNodeInfoParams
NewGetNodeInfoParamsWithTimeout creates a new GetNodeInfoParams object with the ability to set a timeout on a request.
func (*GetNodeInfoParams) SetContext ¶
func (o *GetNodeInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get node info params
func (*GetNodeInfoParams) SetDefaults ¶
func (o *GetNodeInfoParams) SetDefaults()
SetDefaults hydrates default values in the get node info params (not the query body).
All values with no default are reset to their zero value.
func (*GetNodeInfoParams) SetHTTPClient ¶
func (o *GetNodeInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get node info params
func (*GetNodeInfoParams) SetTimeout ¶
func (o *GetNodeInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get node info params
func (*GetNodeInfoParams) WithContext ¶
func (o *GetNodeInfoParams) WithContext(ctx context.Context) *GetNodeInfoParams
WithContext adds the context to the get node info params
func (*GetNodeInfoParams) WithDefaults ¶
func (o *GetNodeInfoParams) WithDefaults() *GetNodeInfoParams
WithDefaults hydrates default values in the get node info params (not the query body).
All values with no default are reset to their zero value.
func (*GetNodeInfoParams) WithHTTPClient ¶
func (o *GetNodeInfoParams) WithHTTPClient(client *http.Client) *GetNodeInfoParams
WithHTTPClient adds the HTTPClient to the get node info params
func (*GetNodeInfoParams) WithTimeout ¶
func (o *GetNodeInfoParams) WithTimeout(timeout time.Duration) *GetNodeInfoParams
WithTimeout adds the timeout to the get node info params
func (*GetNodeInfoParams) WriteToRequest ¶
func (o *GetNodeInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNodeInfoReader ¶
type GetNodeInfoReader struct {
// contains filtered or unexported fields
}
GetNodeInfoReader is a Reader for the GetNodeInfo structure.
func (*GetNodeInfoReader) ReadResponse ¶
func (o *GetNodeInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSigningKeyOK ¶
type GetSigningKeyOK struct {
Payload string
}
GetSigningKeyOK describes a response with status code 200, with default header values.
GPG armored public key
func NewGetSigningKeyOK ¶
func NewGetSigningKeyOK() *GetSigningKeyOK
NewGetSigningKeyOK creates a GetSigningKeyOK with default headers values
func (*GetSigningKeyOK) Code ¶
func (o *GetSigningKeyOK) Code() int
Code gets the status code for the get signing key o k response
func (*GetSigningKeyOK) Error ¶
func (o *GetSigningKeyOK) Error() string
func (*GetSigningKeyOK) GetPayload ¶
func (o *GetSigningKeyOK) GetPayload() string
func (*GetSigningKeyOK) IsClientError ¶
func (o *GetSigningKeyOK) IsClientError() bool
IsClientError returns true when this get signing key o k response has a 4xx status code
func (*GetSigningKeyOK) IsCode ¶
func (o *GetSigningKeyOK) IsCode(code int) bool
IsCode returns true when this get signing key o k response a status code equal to that given
func (*GetSigningKeyOK) IsRedirect ¶
func (o *GetSigningKeyOK) IsRedirect() bool
IsRedirect returns true when this get signing key o k response has a 3xx status code
func (*GetSigningKeyOK) IsServerError ¶
func (o *GetSigningKeyOK) IsServerError() bool
IsServerError returns true when this get signing key o k response has a 5xx status code
func (*GetSigningKeyOK) IsSuccess ¶
func (o *GetSigningKeyOK) IsSuccess() bool
IsSuccess returns true when this get signing key o k response has a 2xx status code
func (*GetSigningKeyOK) String ¶
func (o *GetSigningKeyOK) String() string
type GetSigningKeyParams ¶
type GetSigningKeyParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetSigningKeyParams contains all the parameters to send to the API endpoint
for the get signing key operation. Typically these are written to a http.Request.
func NewGetSigningKeyParams ¶
func NewGetSigningKeyParams() *GetSigningKeyParams
NewGetSigningKeyParams creates a new GetSigningKeyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSigningKeyParamsWithContext ¶
func NewGetSigningKeyParamsWithContext(ctx context.Context) *GetSigningKeyParams
NewGetSigningKeyParamsWithContext creates a new GetSigningKeyParams object with the ability to set a context for a request.
func NewGetSigningKeyParamsWithHTTPClient ¶
func NewGetSigningKeyParamsWithHTTPClient(client *http.Client) *GetSigningKeyParams
NewGetSigningKeyParamsWithHTTPClient creates a new GetSigningKeyParams object with the ability to set a custom HTTPClient for a request.
func NewGetSigningKeyParamsWithTimeout ¶
func NewGetSigningKeyParamsWithTimeout(timeout time.Duration) *GetSigningKeyParams
NewGetSigningKeyParamsWithTimeout creates a new GetSigningKeyParams object with the ability to set a timeout on a request.
func (*GetSigningKeyParams) SetContext ¶
func (o *GetSigningKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get signing key params
func (*GetSigningKeyParams) SetDefaults ¶
func (o *GetSigningKeyParams) SetDefaults()
SetDefaults hydrates default values in the get signing key params (not the query body).
All values with no default are reset to their zero value.
func (*GetSigningKeyParams) SetHTTPClient ¶
func (o *GetSigningKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get signing key params
func (*GetSigningKeyParams) SetTimeout ¶
func (o *GetSigningKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get signing key params
func (*GetSigningKeyParams) WithContext ¶
func (o *GetSigningKeyParams) WithContext(ctx context.Context) *GetSigningKeyParams
WithContext adds the context to the get signing key params
func (*GetSigningKeyParams) WithDefaults ¶
func (o *GetSigningKeyParams) WithDefaults() *GetSigningKeyParams
WithDefaults hydrates default values in the get signing key params (not the query body).
All values with no default are reset to their zero value.
func (*GetSigningKeyParams) WithHTTPClient ¶
func (o *GetSigningKeyParams) WithHTTPClient(client *http.Client) *GetSigningKeyParams
WithHTTPClient adds the HTTPClient to the get signing key params
func (*GetSigningKeyParams) WithTimeout ¶
func (o *GetSigningKeyParams) WithTimeout(timeout time.Duration) *GetSigningKeyParams
WithTimeout adds the timeout to the get signing key params
func (*GetSigningKeyParams) WriteToRequest ¶
func (o *GetSigningKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSigningKeyReader ¶
type GetSigningKeyReader struct {
// contains filtered or unexported fields
}
GetSigningKeyReader is a Reader for the GetSigningKey structure.
func (*GetSigningKeyReader) ReadResponse ¶
func (o *GetSigningKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVersionOK ¶
type GetVersionOK struct {
Payload *models.ServerVersion
}
GetVersionOK describes a response with status code 200, with default header values.
ServerVersion
func NewGetVersionOK ¶
func NewGetVersionOK() *GetVersionOK
NewGetVersionOK creates a GetVersionOK with default headers values
func (*GetVersionOK) Code ¶
func (o *GetVersionOK) Code() int
Code gets the status code for the get version o k response
func (*GetVersionOK) Error ¶
func (o *GetVersionOK) Error() string
func (*GetVersionOK) GetPayload ¶
func (o *GetVersionOK) GetPayload() *models.ServerVersion
func (*GetVersionOK) IsClientError ¶
func (o *GetVersionOK) IsClientError() bool
IsClientError returns true when this get version o k response has a 4xx status code
func (*GetVersionOK) IsCode ¶
func (o *GetVersionOK) IsCode(code int) bool
IsCode returns true when this get version o k response a status code equal to that given
func (*GetVersionOK) IsRedirect ¶
func (o *GetVersionOK) IsRedirect() bool
IsRedirect returns true when this get version o k response has a 3xx status code
func (*GetVersionOK) IsServerError ¶
func (o *GetVersionOK) IsServerError() bool
IsServerError returns true when this get version o k response has a 5xx status code
func (*GetVersionOK) IsSuccess ¶
func (o *GetVersionOK) IsSuccess() bool
IsSuccess returns true when this get version o k response has a 2xx status code
func (*GetVersionOK) String ¶
func (o *GetVersionOK) String() string
type GetVersionParams ¶
type GetVersionParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetVersionParams contains all the parameters to send to the API endpoint
for the get version operation. Typically these are written to a http.Request.
func NewGetVersionParams ¶
func NewGetVersionParams() *GetVersionParams
NewGetVersionParams creates a new GetVersionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetVersionParamsWithContext ¶
func NewGetVersionParamsWithContext(ctx context.Context) *GetVersionParams
NewGetVersionParamsWithContext creates a new GetVersionParams object with the ability to set a context for a request.
func NewGetVersionParamsWithHTTPClient ¶
func NewGetVersionParamsWithHTTPClient(client *http.Client) *GetVersionParams
NewGetVersionParamsWithHTTPClient creates a new GetVersionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVersionParamsWithTimeout ¶
func NewGetVersionParamsWithTimeout(timeout time.Duration) *GetVersionParams
NewGetVersionParamsWithTimeout creates a new GetVersionParams object with the ability to set a timeout on a request.
func (*GetVersionParams) SetContext ¶
func (o *GetVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the get version params
func (*GetVersionParams) SetDefaults ¶
func (o *GetVersionParams) SetDefaults()
SetDefaults hydrates default values in the get version params (not the query body).
All values with no default are reset to their zero value.
func (*GetVersionParams) SetHTTPClient ¶
func (o *GetVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get version params
func (*GetVersionParams) SetTimeout ¶
func (o *GetVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get version params
func (*GetVersionParams) WithContext ¶
func (o *GetVersionParams) WithContext(ctx context.Context) *GetVersionParams
WithContext adds the context to the get version params
func (*GetVersionParams) WithDefaults ¶
func (o *GetVersionParams) WithDefaults() *GetVersionParams
WithDefaults hydrates default values in the get version params (not the query body).
All values with no default are reset to their zero value.
func (*GetVersionParams) WithHTTPClient ¶
func (o *GetVersionParams) WithHTTPClient(client *http.Client) *GetVersionParams
WithHTTPClient adds the HTTPClient to the get version params
func (*GetVersionParams) WithTimeout ¶
func (o *GetVersionParams) WithTimeout(timeout time.Duration) *GetVersionParams
WithTimeout adds the timeout to the get version params
func (*GetVersionParams) WriteToRequest ¶
func (o *GetVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVersionReader ¶
type GetVersionReader struct {
// contains filtered or unexported fields
}
GetVersionReader is a Reader for the GetVersion structure.
func (*GetVersionReader) ReadResponse ¶
func (o *GetVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListGitignoresTemplatesOK ¶
type ListGitignoresTemplatesOK struct {
Payload []string
}
ListGitignoresTemplatesOK describes a response with status code 200, with default header values.
GitignoreTemplateList
func NewListGitignoresTemplatesOK ¶
func NewListGitignoresTemplatesOK() *ListGitignoresTemplatesOK
NewListGitignoresTemplatesOK creates a ListGitignoresTemplatesOK with default headers values
func (*ListGitignoresTemplatesOK) Code ¶
func (o *ListGitignoresTemplatesOK) Code() int
Code gets the status code for the list gitignores templates o k response
func (*ListGitignoresTemplatesOK) Error ¶
func (o *ListGitignoresTemplatesOK) Error() string
func (*ListGitignoresTemplatesOK) GetPayload ¶
func (o *ListGitignoresTemplatesOK) GetPayload() []string
func (*ListGitignoresTemplatesOK) IsClientError ¶
func (o *ListGitignoresTemplatesOK) IsClientError() bool
IsClientError returns true when this list gitignores templates o k response has a 4xx status code
func (*ListGitignoresTemplatesOK) IsCode ¶
func (o *ListGitignoresTemplatesOK) IsCode(code int) bool
IsCode returns true when this list gitignores templates o k response a status code equal to that given
func (*ListGitignoresTemplatesOK) IsRedirect ¶
func (o *ListGitignoresTemplatesOK) IsRedirect() bool
IsRedirect returns true when this list gitignores templates o k response has a 3xx status code
func (*ListGitignoresTemplatesOK) IsServerError ¶
func (o *ListGitignoresTemplatesOK) IsServerError() bool
IsServerError returns true when this list gitignores templates o k response has a 5xx status code
func (*ListGitignoresTemplatesOK) IsSuccess ¶
func (o *ListGitignoresTemplatesOK) IsSuccess() bool
IsSuccess returns true when this list gitignores templates o k response has a 2xx status code
func (*ListGitignoresTemplatesOK) String ¶
func (o *ListGitignoresTemplatesOK) String() string
type ListGitignoresTemplatesParams ¶
type ListGitignoresTemplatesParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListGitignoresTemplatesParams contains all the parameters to send to the API endpoint
for the list gitignores templates operation. Typically these are written to a http.Request.
func NewListGitignoresTemplatesParams ¶
func NewListGitignoresTemplatesParams() *ListGitignoresTemplatesParams
NewListGitignoresTemplatesParams creates a new ListGitignoresTemplatesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListGitignoresTemplatesParamsWithContext ¶
func NewListGitignoresTemplatesParamsWithContext(ctx context.Context) *ListGitignoresTemplatesParams
NewListGitignoresTemplatesParamsWithContext creates a new ListGitignoresTemplatesParams object with the ability to set a context for a request.
func NewListGitignoresTemplatesParamsWithHTTPClient ¶
func NewListGitignoresTemplatesParamsWithHTTPClient(client *http.Client) *ListGitignoresTemplatesParams
NewListGitignoresTemplatesParamsWithHTTPClient creates a new ListGitignoresTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewListGitignoresTemplatesParamsWithTimeout ¶
func NewListGitignoresTemplatesParamsWithTimeout(timeout time.Duration) *ListGitignoresTemplatesParams
NewListGitignoresTemplatesParamsWithTimeout creates a new ListGitignoresTemplatesParams object with the ability to set a timeout on a request.
func (*ListGitignoresTemplatesParams) SetContext ¶
func (o *ListGitignoresTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the list gitignores templates params
func (*ListGitignoresTemplatesParams) SetDefaults ¶
func (o *ListGitignoresTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the list gitignores templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListGitignoresTemplatesParams) SetHTTPClient ¶
func (o *ListGitignoresTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list gitignores templates params
func (*ListGitignoresTemplatesParams) SetTimeout ¶
func (o *ListGitignoresTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list gitignores templates params
func (*ListGitignoresTemplatesParams) WithContext ¶
func (o *ListGitignoresTemplatesParams) WithContext(ctx context.Context) *ListGitignoresTemplatesParams
WithContext adds the context to the list gitignores templates params
func (*ListGitignoresTemplatesParams) WithDefaults ¶
func (o *ListGitignoresTemplatesParams) WithDefaults() *ListGitignoresTemplatesParams
WithDefaults hydrates default values in the list gitignores templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListGitignoresTemplatesParams) WithHTTPClient ¶
func (o *ListGitignoresTemplatesParams) WithHTTPClient(client *http.Client) *ListGitignoresTemplatesParams
WithHTTPClient adds the HTTPClient to the list gitignores templates params
func (*ListGitignoresTemplatesParams) WithTimeout ¶
func (o *ListGitignoresTemplatesParams) WithTimeout(timeout time.Duration) *ListGitignoresTemplatesParams
WithTimeout adds the timeout to the list gitignores templates params
func (*ListGitignoresTemplatesParams) WriteToRequest ¶
func (o *ListGitignoresTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListGitignoresTemplatesReader ¶
type ListGitignoresTemplatesReader struct {
// contains filtered or unexported fields
}
ListGitignoresTemplatesReader is a Reader for the ListGitignoresTemplates structure.
func (*ListGitignoresTemplatesReader) ReadResponse ¶
func (o *ListGitignoresTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListLabelTemplatesOK ¶
type ListLabelTemplatesOK struct {
Payload []string
}
ListLabelTemplatesOK describes a response with status code 200, with default header values.
LabelTemplateList
func NewListLabelTemplatesOK ¶
func NewListLabelTemplatesOK() *ListLabelTemplatesOK
NewListLabelTemplatesOK creates a ListLabelTemplatesOK with default headers values
func (*ListLabelTemplatesOK) Code ¶
func (o *ListLabelTemplatesOK) Code() int
Code gets the status code for the list label templates o k response
func (*ListLabelTemplatesOK) Error ¶
func (o *ListLabelTemplatesOK) Error() string
func (*ListLabelTemplatesOK) GetPayload ¶
func (o *ListLabelTemplatesOK) GetPayload() []string
func (*ListLabelTemplatesOK) IsClientError ¶
func (o *ListLabelTemplatesOK) IsClientError() bool
IsClientError returns true when this list label templates o k response has a 4xx status code
func (*ListLabelTemplatesOK) IsCode ¶
func (o *ListLabelTemplatesOK) IsCode(code int) bool
IsCode returns true when this list label templates o k response a status code equal to that given
func (*ListLabelTemplatesOK) IsRedirect ¶
func (o *ListLabelTemplatesOK) IsRedirect() bool
IsRedirect returns true when this list label templates o k response has a 3xx status code
func (*ListLabelTemplatesOK) IsServerError ¶
func (o *ListLabelTemplatesOK) IsServerError() bool
IsServerError returns true when this list label templates o k response has a 5xx status code
func (*ListLabelTemplatesOK) IsSuccess ¶
func (o *ListLabelTemplatesOK) IsSuccess() bool
IsSuccess returns true when this list label templates o k response has a 2xx status code
func (*ListLabelTemplatesOK) String ¶
func (o *ListLabelTemplatesOK) String() string
type ListLabelTemplatesParams ¶
type ListLabelTemplatesParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListLabelTemplatesParams contains all the parameters to send to the API endpoint
for the list label templates operation. Typically these are written to a http.Request.
func NewListLabelTemplatesParams ¶
func NewListLabelTemplatesParams() *ListLabelTemplatesParams
NewListLabelTemplatesParams creates a new ListLabelTemplatesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListLabelTemplatesParamsWithContext ¶
func NewListLabelTemplatesParamsWithContext(ctx context.Context) *ListLabelTemplatesParams
NewListLabelTemplatesParamsWithContext creates a new ListLabelTemplatesParams object with the ability to set a context for a request.
func NewListLabelTemplatesParamsWithHTTPClient ¶
func NewListLabelTemplatesParamsWithHTTPClient(client *http.Client) *ListLabelTemplatesParams
NewListLabelTemplatesParamsWithHTTPClient creates a new ListLabelTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewListLabelTemplatesParamsWithTimeout ¶
func NewListLabelTemplatesParamsWithTimeout(timeout time.Duration) *ListLabelTemplatesParams
NewListLabelTemplatesParamsWithTimeout creates a new ListLabelTemplatesParams object with the ability to set a timeout on a request.
func (*ListLabelTemplatesParams) SetContext ¶
func (o *ListLabelTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the list label templates params
func (*ListLabelTemplatesParams) SetDefaults ¶
func (o *ListLabelTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the list label templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListLabelTemplatesParams) SetHTTPClient ¶
func (o *ListLabelTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list label templates params
func (*ListLabelTemplatesParams) SetTimeout ¶
func (o *ListLabelTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list label templates params
func (*ListLabelTemplatesParams) WithContext ¶
func (o *ListLabelTemplatesParams) WithContext(ctx context.Context) *ListLabelTemplatesParams
WithContext adds the context to the list label templates params
func (*ListLabelTemplatesParams) WithDefaults ¶
func (o *ListLabelTemplatesParams) WithDefaults() *ListLabelTemplatesParams
WithDefaults hydrates default values in the list label templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListLabelTemplatesParams) WithHTTPClient ¶
func (o *ListLabelTemplatesParams) WithHTTPClient(client *http.Client) *ListLabelTemplatesParams
WithHTTPClient adds the HTTPClient to the list label templates params
func (*ListLabelTemplatesParams) WithTimeout ¶
func (o *ListLabelTemplatesParams) WithTimeout(timeout time.Duration) *ListLabelTemplatesParams
WithTimeout adds the timeout to the list label templates params
func (*ListLabelTemplatesParams) WriteToRequest ¶
func (o *ListLabelTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListLabelTemplatesReader ¶
type ListLabelTemplatesReader struct {
// contains filtered or unexported fields
}
ListLabelTemplatesReader is a Reader for the ListLabelTemplates structure.
func (*ListLabelTemplatesReader) ReadResponse ¶
func (o *ListLabelTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListLicenseTemplatesOK ¶
type ListLicenseTemplatesOK struct {
Payload []*models.LicensesTemplateListEntry
}
ListLicenseTemplatesOK describes a response with status code 200, with default header values.
LicenseTemplateList
func NewListLicenseTemplatesOK ¶
func NewListLicenseTemplatesOK() *ListLicenseTemplatesOK
NewListLicenseTemplatesOK creates a ListLicenseTemplatesOK with default headers values
func (*ListLicenseTemplatesOK) Code ¶
func (o *ListLicenseTemplatesOK) Code() int
Code gets the status code for the list license templates o k response
func (*ListLicenseTemplatesOK) Error ¶
func (o *ListLicenseTemplatesOK) Error() string
func (*ListLicenseTemplatesOK) GetPayload ¶
func (o *ListLicenseTemplatesOK) GetPayload() []*models.LicensesTemplateListEntry
func (*ListLicenseTemplatesOK) IsClientError ¶
func (o *ListLicenseTemplatesOK) IsClientError() bool
IsClientError returns true when this list license templates o k response has a 4xx status code
func (*ListLicenseTemplatesOK) IsCode ¶
func (o *ListLicenseTemplatesOK) IsCode(code int) bool
IsCode returns true when this list license templates o k response a status code equal to that given
func (*ListLicenseTemplatesOK) IsRedirect ¶
func (o *ListLicenseTemplatesOK) IsRedirect() bool
IsRedirect returns true when this list license templates o k response has a 3xx status code
func (*ListLicenseTemplatesOK) IsServerError ¶
func (o *ListLicenseTemplatesOK) IsServerError() bool
IsServerError returns true when this list license templates o k response has a 5xx status code
func (*ListLicenseTemplatesOK) IsSuccess ¶
func (o *ListLicenseTemplatesOK) IsSuccess() bool
IsSuccess returns true when this list license templates o k response has a 2xx status code
func (*ListLicenseTemplatesOK) String ¶
func (o *ListLicenseTemplatesOK) String() string
type ListLicenseTemplatesParams ¶
type ListLicenseTemplatesParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListLicenseTemplatesParams contains all the parameters to send to the API endpoint
for the list license templates operation. Typically these are written to a http.Request.
func NewListLicenseTemplatesParams ¶
func NewListLicenseTemplatesParams() *ListLicenseTemplatesParams
NewListLicenseTemplatesParams creates a new ListLicenseTemplatesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListLicenseTemplatesParamsWithContext ¶
func NewListLicenseTemplatesParamsWithContext(ctx context.Context) *ListLicenseTemplatesParams
NewListLicenseTemplatesParamsWithContext creates a new ListLicenseTemplatesParams object with the ability to set a context for a request.
func NewListLicenseTemplatesParamsWithHTTPClient ¶
func NewListLicenseTemplatesParamsWithHTTPClient(client *http.Client) *ListLicenseTemplatesParams
NewListLicenseTemplatesParamsWithHTTPClient creates a new ListLicenseTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewListLicenseTemplatesParamsWithTimeout ¶
func NewListLicenseTemplatesParamsWithTimeout(timeout time.Duration) *ListLicenseTemplatesParams
NewListLicenseTemplatesParamsWithTimeout creates a new ListLicenseTemplatesParams object with the ability to set a timeout on a request.
func (*ListLicenseTemplatesParams) SetContext ¶
func (o *ListLicenseTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the list license templates params
func (*ListLicenseTemplatesParams) SetDefaults ¶
func (o *ListLicenseTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the list license templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListLicenseTemplatesParams) SetHTTPClient ¶
func (o *ListLicenseTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list license templates params
func (*ListLicenseTemplatesParams) SetTimeout ¶
func (o *ListLicenseTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list license templates params
func (*ListLicenseTemplatesParams) WithContext ¶
func (o *ListLicenseTemplatesParams) WithContext(ctx context.Context) *ListLicenseTemplatesParams
WithContext adds the context to the list license templates params
func (*ListLicenseTemplatesParams) WithDefaults ¶
func (o *ListLicenseTemplatesParams) WithDefaults() *ListLicenseTemplatesParams
WithDefaults hydrates default values in the list license templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListLicenseTemplatesParams) WithHTTPClient ¶
func (o *ListLicenseTemplatesParams) WithHTTPClient(client *http.Client) *ListLicenseTemplatesParams
WithHTTPClient adds the HTTPClient to the list license templates params
func (*ListLicenseTemplatesParams) WithTimeout ¶
func (o *ListLicenseTemplatesParams) WithTimeout(timeout time.Duration) *ListLicenseTemplatesParams
WithTimeout adds the timeout to the list license templates params
func (*ListLicenseTemplatesParams) WriteToRequest ¶
func (o *ListLicenseTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListLicenseTemplatesReader ¶
type ListLicenseTemplatesReader struct {
// contains filtered or unexported fields
}
ListLicenseTemplatesReader is a Reader for the ListLicenseTemplates structure.
func (*ListLicenseTemplatesReader) ReadResponse ¶
func (o *ListLicenseTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RenderMarkdownOK ¶
type RenderMarkdownOK struct {
Payload string
}
RenderMarkdownOK describes a response with status code 200, with default header values.
MarkdownRender is a rendered markdown document
func NewRenderMarkdownOK ¶
func NewRenderMarkdownOK() *RenderMarkdownOK
NewRenderMarkdownOK creates a RenderMarkdownOK with default headers values
func (*RenderMarkdownOK) Code ¶
func (o *RenderMarkdownOK) Code() int
Code gets the status code for the render markdown o k response
func (*RenderMarkdownOK) Error ¶
func (o *RenderMarkdownOK) Error() string
func (*RenderMarkdownOK) GetPayload ¶
func (o *RenderMarkdownOK) GetPayload() string
func (*RenderMarkdownOK) IsClientError ¶
func (o *RenderMarkdownOK) IsClientError() bool
IsClientError returns true when this render markdown o k response has a 4xx status code
func (*RenderMarkdownOK) IsCode ¶
func (o *RenderMarkdownOK) IsCode(code int) bool
IsCode returns true when this render markdown o k response a status code equal to that given
func (*RenderMarkdownOK) IsRedirect ¶
func (o *RenderMarkdownOK) IsRedirect() bool
IsRedirect returns true when this render markdown o k response has a 3xx status code
func (*RenderMarkdownOK) IsServerError ¶
func (o *RenderMarkdownOK) IsServerError() bool
IsServerError returns true when this render markdown o k response has a 5xx status code
func (*RenderMarkdownOK) IsSuccess ¶
func (o *RenderMarkdownOK) IsSuccess() bool
IsSuccess returns true when this render markdown o k response has a 2xx status code
func (*RenderMarkdownOK) String ¶
func (o *RenderMarkdownOK) String() string
type RenderMarkdownParams ¶
type RenderMarkdownParams struct {
// Body.
Body *models.MarkdownOption
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RenderMarkdownParams contains all the parameters to send to the API endpoint
for the render markdown operation. Typically these are written to a http.Request.
func NewRenderMarkdownParams ¶
func NewRenderMarkdownParams() *RenderMarkdownParams
NewRenderMarkdownParams creates a new RenderMarkdownParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRenderMarkdownParamsWithContext ¶
func NewRenderMarkdownParamsWithContext(ctx context.Context) *RenderMarkdownParams
NewRenderMarkdownParamsWithContext creates a new RenderMarkdownParams object with the ability to set a context for a request.
func NewRenderMarkdownParamsWithHTTPClient ¶
func NewRenderMarkdownParamsWithHTTPClient(client *http.Client) *RenderMarkdownParams
NewRenderMarkdownParamsWithHTTPClient creates a new RenderMarkdownParams object with the ability to set a custom HTTPClient for a request.
func NewRenderMarkdownParamsWithTimeout ¶
func NewRenderMarkdownParamsWithTimeout(timeout time.Duration) *RenderMarkdownParams
NewRenderMarkdownParamsWithTimeout creates a new RenderMarkdownParams object with the ability to set a timeout on a request.
func (*RenderMarkdownParams) SetBody ¶
func (o *RenderMarkdownParams) SetBody(body *models.MarkdownOption)
SetBody adds the body to the render markdown params
func (*RenderMarkdownParams) SetContext ¶
func (o *RenderMarkdownParams) SetContext(ctx context.Context)
SetContext adds the context to the render markdown params
func (*RenderMarkdownParams) SetDefaults ¶
func (o *RenderMarkdownParams) SetDefaults()
SetDefaults hydrates default values in the render markdown params (not the query body).
All values with no default are reset to their zero value.
func (*RenderMarkdownParams) SetHTTPClient ¶
func (o *RenderMarkdownParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the render markdown params
func (*RenderMarkdownParams) SetTimeout ¶
func (o *RenderMarkdownParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the render markdown params
func (*RenderMarkdownParams) WithBody ¶
func (o *RenderMarkdownParams) WithBody(body *models.MarkdownOption) *RenderMarkdownParams
WithBody adds the body to the render markdown params
func (*RenderMarkdownParams) WithContext ¶
func (o *RenderMarkdownParams) WithContext(ctx context.Context) *RenderMarkdownParams
WithContext adds the context to the render markdown params
func (*RenderMarkdownParams) WithDefaults ¶
func (o *RenderMarkdownParams) WithDefaults() *RenderMarkdownParams
WithDefaults hydrates default values in the render markdown params (not the query body).
All values with no default are reset to their zero value.
func (*RenderMarkdownParams) WithHTTPClient ¶
func (o *RenderMarkdownParams) WithHTTPClient(client *http.Client) *RenderMarkdownParams
WithHTTPClient adds the HTTPClient to the render markdown params
func (*RenderMarkdownParams) WithTimeout ¶
func (o *RenderMarkdownParams) WithTimeout(timeout time.Duration) *RenderMarkdownParams
WithTimeout adds the timeout to the render markdown params
func (*RenderMarkdownParams) WriteToRequest ¶
func (o *RenderMarkdownParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RenderMarkdownRawOK ¶
type RenderMarkdownRawOK struct {
Payload string
}
RenderMarkdownRawOK describes a response with status code 200, with default header values.
MarkdownRender is a rendered markdown document
func NewRenderMarkdownRawOK ¶
func NewRenderMarkdownRawOK() *RenderMarkdownRawOK
NewRenderMarkdownRawOK creates a RenderMarkdownRawOK with default headers values
func (*RenderMarkdownRawOK) Code ¶
func (o *RenderMarkdownRawOK) Code() int
Code gets the status code for the render markdown raw o k response
func (*RenderMarkdownRawOK) Error ¶
func (o *RenderMarkdownRawOK) Error() string
func (*RenderMarkdownRawOK) GetPayload ¶
func (o *RenderMarkdownRawOK) GetPayload() string
func (*RenderMarkdownRawOK) IsClientError ¶
func (o *RenderMarkdownRawOK) IsClientError() bool
IsClientError returns true when this render markdown raw o k response has a 4xx status code
func (*RenderMarkdownRawOK) IsCode ¶
func (o *RenderMarkdownRawOK) IsCode(code int) bool
IsCode returns true when this render markdown raw o k response a status code equal to that given
func (*RenderMarkdownRawOK) IsRedirect ¶
func (o *RenderMarkdownRawOK) IsRedirect() bool
IsRedirect returns true when this render markdown raw o k response has a 3xx status code
func (*RenderMarkdownRawOK) IsServerError ¶
func (o *RenderMarkdownRawOK) IsServerError() bool
IsServerError returns true when this render markdown raw o k response has a 5xx status code
func (*RenderMarkdownRawOK) IsSuccess ¶
func (o *RenderMarkdownRawOK) IsSuccess() bool
IsSuccess returns true when this render markdown raw o k response has a 2xx status code
func (*RenderMarkdownRawOK) String ¶
func (o *RenderMarkdownRawOK) String() string
type RenderMarkdownRawParams ¶
type RenderMarkdownRawParams struct {
/* Body.
Request body to render
*/
Body string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RenderMarkdownRawParams contains all the parameters to send to the API endpoint
for the render markdown raw operation. Typically these are written to a http.Request.
func NewRenderMarkdownRawParams ¶
func NewRenderMarkdownRawParams() *RenderMarkdownRawParams
NewRenderMarkdownRawParams creates a new RenderMarkdownRawParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRenderMarkdownRawParamsWithContext ¶
func NewRenderMarkdownRawParamsWithContext(ctx context.Context) *RenderMarkdownRawParams
NewRenderMarkdownRawParamsWithContext creates a new RenderMarkdownRawParams object with the ability to set a context for a request.
func NewRenderMarkdownRawParamsWithHTTPClient ¶
func NewRenderMarkdownRawParamsWithHTTPClient(client *http.Client) *RenderMarkdownRawParams
NewRenderMarkdownRawParamsWithHTTPClient creates a new RenderMarkdownRawParams object with the ability to set a custom HTTPClient for a request.
func NewRenderMarkdownRawParamsWithTimeout ¶
func NewRenderMarkdownRawParamsWithTimeout(timeout time.Duration) *RenderMarkdownRawParams
NewRenderMarkdownRawParamsWithTimeout creates a new RenderMarkdownRawParams object with the ability to set a timeout on a request.
func (*RenderMarkdownRawParams) SetBody ¶
func (o *RenderMarkdownRawParams) SetBody(body string)
SetBody adds the body to the render markdown raw params
func (*RenderMarkdownRawParams) SetContext ¶
func (o *RenderMarkdownRawParams) SetContext(ctx context.Context)
SetContext adds the context to the render markdown raw params
func (*RenderMarkdownRawParams) SetDefaults ¶
func (o *RenderMarkdownRawParams) SetDefaults()
SetDefaults hydrates default values in the render markdown raw params (not the query body).
All values with no default are reset to their zero value.
func (*RenderMarkdownRawParams) SetHTTPClient ¶
func (o *RenderMarkdownRawParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the render markdown raw params
func (*RenderMarkdownRawParams) SetTimeout ¶
func (o *RenderMarkdownRawParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the render markdown raw params
func (*RenderMarkdownRawParams) WithBody ¶
func (o *RenderMarkdownRawParams) WithBody(body string) *RenderMarkdownRawParams
WithBody adds the body to the render markdown raw params
func (*RenderMarkdownRawParams) WithContext ¶
func (o *RenderMarkdownRawParams) WithContext(ctx context.Context) *RenderMarkdownRawParams
WithContext adds the context to the render markdown raw params
func (*RenderMarkdownRawParams) WithDefaults ¶
func (o *RenderMarkdownRawParams) WithDefaults() *RenderMarkdownRawParams
WithDefaults hydrates default values in the render markdown raw params (not the query body).
All values with no default are reset to their zero value.
func (*RenderMarkdownRawParams) WithHTTPClient ¶
func (o *RenderMarkdownRawParams) WithHTTPClient(client *http.Client) *RenderMarkdownRawParams
WithHTTPClient adds the HTTPClient to the render markdown raw params
func (*RenderMarkdownRawParams) WithTimeout ¶
func (o *RenderMarkdownRawParams) WithTimeout(timeout time.Duration) *RenderMarkdownRawParams
WithTimeout adds the timeout to the render markdown raw params
func (*RenderMarkdownRawParams) WriteToRequest ¶
func (o *RenderMarkdownRawParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RenderMarkdownRawReader ¶
type RenderMarkdownRawReader struct {
// contains filtered or unexported fields
}
RenderMarkdownRawReader is a Reader for the RenderMarkdownRaw structure.
func (*RenderMarkdownRawReader) ReadResponse ¶
func (o *RenderMarkdownRawReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RenderMarkdownRawUnprocessableEntity ¶
RenderMarkdownRawUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewRenderMarkdownRawUnprocessableEntity ¶
func NewRenderMarkdownRawUnprocessableEntity() *RenderMarkdownRawUnprocessableEntity
NewRenderMarkdownRawUnprocessableEntity creates a RenderMarkdownRawUnprocessableEntity with default headers values
func (*RenderMarkdownRawUnprocessableEntity) Code ¶
func (o *RenderMarkdownRawUnprocessableEntity) Code() int
Code gets the status code for the render markdown raw unprocessable entity response
func (*RenderMarkdownRawUnprocessableEntity) Error ¶
func (o *RenderMarkdownRawUnprocessableEntity) Error() string
func (*RenderMarkdownRawUnprocessableEntity) IsClientError ¶
func (o *RenderMarkdownRawUnprocessableEntity) IsClientError() bool
IsClientError returns true when this render markdown raw unprocessable entity response has a 4xx status code
func (*RenderMarkdownRawUnprocessableEntity) IsCode ¶
func (o *RenderMarkdownRawUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this render markdown raw unprocessable entity response a status code equal to that given
func (*RenderMarkdownRawUnprocessableEntity) IsRedirect ¶
func (o *RenderMarkdownRawUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this render markdown raw unprocessable entity response has a 3xx status code
func (*RenderMarkdownRawUnprocessableEntity) IsServerError ¶
func (o *RenderMarkdownRawUnprocessableEntity) IsServerError() bool
IsServerError returns true when this render markdown raw unprocessable entity response has a 5xx status code
func (*RenderMarkdownRawUnprocessableEntity) IsSuccess ¶
func (o *RenderMarkdownRawUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this render markdown raw unprocessable entity response has a 2xx status code
func (*RenderMarkdownRawUnprocessableEntity) String ¶
func (o *RenderMarkdownRawUnprocessableEntity) String() string
type RenderMarkdownReader ¶
type RenderMarkdownReader struct {
// contains filtered or unexported fields
}
RenderMarkdownReader is a Reader for the RenderMarkdown structure.
func (*RenderMarkdownReader) ReadResponse ¶
func (o *RenderMarkdownReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RenderMarkdownUnprocessableEntity ¶
RenderMarkdownUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewRenderMarkdownUnprocessableEntity ¶
func NewRenderMarkdownUnprocessableEntity() *RenderMarkdownUnprocessableEntity
NewRenderMarkdownUnprocessableEntity creates a RenderMarkdownUnprocessableEntity with default headers values
func (*RenderMarkdownUnprocessableEntity) Code ¶
func (o *RenderMarkdownUnprocessableEntity) Code() int
Code gets the status code for the render markdown unprocessable entity response
func (*RenderMarkdownUnprocessableEntity) Error ¶
func (o *RenderMarkdownUnprocessableEntity) Error() string
func (*RenderMarkdownUnprocessableEntity) IsClientError ¶
func (o *RenderMarkdownUnprocessableEntity) IsClientError() bool
IsClientError returns true when this render markdown unprocessable entity response has a 4xx status code
func (*RenderMarkdownUnprocessableEntity) IsCode ¶
func (o *RenderMarkdownUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this render markdown unprocessable entity response a status code equal to that given
func (*RenderMarkdownUnprocessableEntity) IsRedirect ¶
func (o *RenderMarkdownUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this render markdown unprocessable entity response has a 3xx status code
func (*RenderMarkdownUnprocessableEntity) IsServerError ¶
func (o *RenderMarkdownUnprocessableEntity) IsServerError() bool
IsServerError returns true when this render markdown unprocessable entity response has a 5xx status code
func (*RenderMarkdownUnprocessableEntity) IsSuccess ¶
func (o *RenderMarkdownUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this render markdown unprocessable entity response has a 2xx status code
func (*RenderMarkdownUnprocessableEntity) String ¶
func (o *RenderMarkdownUnprocessableEntity) String() string
type RenderMarkupOK ¶
type RenderMarkupOK struct {
Payload string
}
RenderMarkupOK describes a response with status code 200, with default header values.
MarkupRender is a rendered markup document
func NewRenderMarkupOK ¶
func NewRenderMarkupOK() *RenderMarkupOK
NewRenderMarkupOK creates a RenderMarkupOK with default headers values
func (*RenderMarkupOK) Code ¶
func (o *RenderMarkupOK) Code() int
Code gets the status code for the render markup o k response
func (*RenderMarkupOK) Error ¶
func (o *RenderMarkupOK) Error() string
func (*RenderMarkupOK) GetPayload ¶
func (o *RenderMarkupOK) GetPayload() string
func (*RenderMarkupOK) IsClientError ¶
func (o *RenderMarkupOK) IsClientError() bool
IsClientError returns true when this render markup o k response has a 4xx status code
func (*RenderMarkupOK) IsCode ¶
func (o *RenderMarkupOK) IsCode(code int) bool
IsCode returns true when this render markup o k response a status code equal to that given
func (*RenderMarkupOK) IsRedirect ¶
func (o *RenderMarkupOK) IsRedirect() bool
IsRedirect returns true when this render markup o k response has a 3xx status code
func (*RenderMarkupOK) IsServerError ¶
func (o *RenderMarkupOK) IsServerError() bool
IsServerError returns true when this render markup o k response has a 5xx status code
func (*RenderMarkupOK) IsSuccess ¶
func (o *RenderMarkupOK) IsSuccess() bool
IsSuccess returns true when this render markup o k response has a 2xx status code
func (*RenderMarkupOK) String ¶
func (o *RenderMarkupOK) String() string
type RenderMarkupParams ¶
type RenderMarkupParams struct {
// Body.
Body *models.MarkupOption
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RenderMarkupParams contains all the parameters to send to the API endpoint
for the render markup operation. Typically these are written to a http.Request.
func NewRenderMarkupParams ¶
func NewRenderMarkupParams() *RenderMarkupParams
NewRenderMarkupParams creates a new RenderMarkupParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRenderMarkupParamsWithContext ¶
func NewRenderMarkupParamsWithContext(ctx context.Context) *RenderMarkupParams
NewRenderMarkupParamsWithContext creates a new RenderMarkupParams object with the ability to set a context for a request.
func NewRenderMarkupParamsWithHTTPClient ¶
func NewRenderMarkupParamsWithHTTPClient(client *http.Client) *RenderMarkupParams
NewRenderMarkupParamsWithHTTPClient creates a new RenderMarkupParams object with the ability to set a custom HTTPClient for a request.
func NewRenderMarkupParamsWithTimeout ¶
func NewRenderMarkupParamsWithTimeout(timeout time.Duration) *RenderMarkupParams
NewRenderMarkupParamsWithTimeout creates a new RenderMarkupParams object with the ability to set a timeout on a request.
func (*RenderMarkupParams) SetBody ¶
func (o *RenderMarkupParams) SetBody(body *models.MarkupOption)
SetBody adds the body to the render markup params
func (*RenderMarkupParams) SetContext ¶
func (o *RenderMarkupParams) SetContext(ctx context.Context)
SetContext adds the context to the render markup params
func (*RenderMarkupParams) SetDefaults ¶
func (o *RenderMarkupParams) SetDefaults()
SetDefaults hydrates default values in the render markup params (not the query body).
All values with no default are reset to their zero value.
func (*RenderMarkupParams) SetHTTPClient ¶
func (o *RenderMarkupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the render markup params
func (*RenderMarkupParams) SetTimeout ¶
func (o *RenderMarkupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the render markup params
func (*RenderMarkupParams) WithBody ¶
func (o *RenderMarkupParams) WithBody(body *models.MarkupOption) *RenderMarkupParams
WithBody adds the body to the render markup params
func (*RenderMarkupParams) WithContext ¶
func (o *RenderMarkupParams) WithContext(ctx context.Context) *RenderMarkupParams
WithContext adds the context to the render markup params
func (*RenderMarkupParams) WithDefaults ¶
func (o *RenderMarkupParams) WithDefaults() *RenderMarkupParams
WithDefaults hydrates default values in the render markup params (not the query body).
All values with no default are reset to their zero value.
func (*RenderMarkupParams) WithHTTPClient ¶
func (o *RenderMarkupParams) WithHTTPClient(client *http.Client) *RenderMarkupParams
WithHTTPClient adds the HTTPClient to the render markup params
func (*RenderMarkupParams) WithTimeout ¶
func (o *RenderMarkupParams) WithTimeout(timeout time.Duration) *RenderMarkupParams
WithTimeout adds the timeout to the render markup params
func (*RenderMarkupParams) WriteToRequest ¶
func (o *RenderMarkupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RenderMarkupReader ¶
type RenderMarkupReader struct {
// contains filtered or unexported fields
}
RenderMarkupReader is a Reader for the RenderMarkup structure.
func (*RenderMarkupReader) ReadResponse ¶
func (o *RenderMarkupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RenderMarkupUnprocessableEntity ¶
RenderMarkupUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewRenderMarkupUnprocessableEntity ¶
func NewRenderMarkupUnprocessableEntity() *RenderMarkupUnprocessableEntity
NewRenderMarkupUnprocessableEntity creates a RenderMarkupUnprocessableEntity with default headers values
func (*RenderMarkupUnprocessableEntity) Code ¶
func (o *RenderMarkupUnprocessableEntity) Code() int
Code gets the status code for the render markup unprocessable entity response
func (*RenderMarkupUnprocessableEntity) Error ¶
func (o *RenderMarkupUnprocessableEntity) Error() string
func (*RenderMarkupUnprocessableEntity) IsClientError ¶
func (o *RenderMarkupUnprocessableEntity) IsClientError() bool
IsClientError returns true when this render markup unprocessable entity response has a 4xx status code
func (*RenderMarkupUnprocessableEntity) IsCode ¶
func (o *RenderMarkupUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this render markup unprocessable entity response a status code equal to that given
func (*RenderMarkupUnprocessableEntity) IsRedirect ¶
func (o *RenderMarkupUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this render markup unprocessable entity response has a 3xx status code
func (*RenderMarkupUnprocessableEntity) IsServerError ¶
func (o *RenderMarkupUnprocessableEntity) IsServerError() bool
IsServerError returns true when this render markup unprocessable entity response has a 5xx status code
func (*RenderMarkupUnprocessableEntity) IsSuccess ¶
func (o *RenderMarkupUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this render markup unprocessable entity response has a 2xx status code
func (*RenderMarkupUnprocessableEntity) String ¶
func (o *RenderMarkupUnprocessableEntity) String() string
Source Files
¶
- get_gitignore_template_info_parameters.go
- get_gitignore_template_info_responses.go
- get_label_template_info_parameters.go
- get_label_template_info_responses.go
- get_license_template_info_parameters.go
- get_license_template_info_responses.go
- get_node_info_parameters.go
- get_node_info_responses.go
- get_signing_key_parameters.go
- get_signing_key_responses.go
- get_version_parameters.go
- get_version_responses.go
- list_gitignores_templates_parameters.go
- list_gitignores_templates_responses.go
- list_label_templates_parameters.go
- list_label_templates_responses.go
- list_license_templates_parameters.go
- list_license_templates_responses.go
- miscellaneous_client.go
- render_markdown_parameters.go
- render_markdown_raw_parameters.go
- render_markdown_raw_responses.go
- render_markdown_responses.go
- render_markup_parameters.go
- render_markup_responses.go