Documentation ¶
Index ¶
- type BroadcastCloudeventOK
- type BroadcastCloudeventParams
- func NewBroadcastCloudeventParams() *BroadcastCloudeventParams
- func NewBroadcastCloudeventParamsWithContext(ctx context.Context) *BroadcastCloudeventParams
- func NewBroadcastCloudeventParamsWithHTTPClient(client *http.Client) *BroadcastCloudeventParams
- func NewBroadcastCloudeventParamsWithTimeout(timeout time.Duration) *BroadcastCloudeventParams
- func (o *BroadcastCloudeventParams) SetCloudevent(cloudevent interface{})
- func (o *BroadcastCloudeventParams) SetContext(ctx context.Context)
- func (o *BroadcastCloudeventParams) SetDefaults()
- func (o *BroadcastCloudeventParams) SetHTTPClient(client *http.Client)
- func (o *BroadcastCloudeventParams) SetNamespace(namespace string)
- func (o *BroadcastCloudeventParams) SetTimeout(timeout time.Duration)
- func (o *BroadcastCloudeventParams) WithCloudevent(cloudevent interface{}) *BroadcastCloudeventParams
- func (o *BroadcastCloudeventParams) WithContext(ctx context.Context) *BroadcastCloudeventParams
- func (o *BroadcastCloudeventParams) WithDefaults() *BroadcastCloudeventParams
- func (o *BroadcastCloudeventParams) WithHTTPClient(client *http.Client) *BroadcastCloudeventParams
- func (o *BroadcastCloudeventParams) WithNamespace(namespace string) *BroadcastCloudeventParams
- func (o *BroadcastCloudeventParams) WithTimeout(timeout time.Duration) *BroadcastCloudeventParams
- func (o *BroadcastCloudeventParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BroadcastCloudeventReader
- type Client
- func (a *Client) BroadcastCloudevent(params *BroadcastCloudeventParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BroadcastCloudeventOK, error)
- func (a *Client) JqPlayground(params *JqPlaygroundParams, authInfo runtime.ClientAuthInfoWriter, ...) (*JqPlaygroundOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Version(params *VersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*VersionOK, error)
- type ClientOption
- type ClientService
- type JqPlaygroundBadRequest
- type JqPlaygroundBody
- type JqPlaygroundInternalServerError
- type JqPlaygroundOK
- type JqPlaygroundParams
- func (o *JqPlaygroundParams) SetContext(ctx context.Context)
- func (o *JqPlaygroundParams) SetDefaults()
- func (o *JqPlaygroundParams) SetHTTPClient(client *http.Client)
- func (o *JqPlaygroundParams) SetJQPayload(jQPayload JqPlaygroundBody)
- func (o *JqPlaygroundParams) SetTimeout(timeout time.Duration)
- func (o *JqPlaygroundParams) WithContext(ctx context.Context) *JqPlaygroundParams
- func (o *JqPlaygroundParams) WithDefaults() *JqPlaygroundParams
- func (o *JqPlaygroundParams) WithHTTPClient(client *http.Client) *JqPlaygroundParams
- func (o *JqPlaygroundParams) WithJQPayload(jQPayload JqPlaygroundBody) *JqPlaygroundParams
- func (o *JqPlaygroundParams) WithTimeout(timeout time.Duration) *JqPlaygroundParams
- func (o *JqPlaygroundParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JqPlaygroundReader
- type VersionOK
- type VersionParams
- func (o *VersionParams) SetContext(ctx context.Context)
- func (o *VersionParams) SetDefaults()
- func (o *VersionParams) SetHTTPClient(client *http.Client)
- func (o *VersionParams) SetTimeout(timeout time.Duration)
- func (o *VersionParams) WithContext(ctx context.Context) *VersionParams
- func (o *VersionParams) WithDefaults() *VersionParams
- func (o *VersionParams) WithHTTPClient(client *http.Client) *VersionParams
- func (o *VersionParams) WithTimeout(timeout time.Duration) *VersionParams
- func (o *VersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VersionReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BroadcastCloudeventOK ¶
type BroadcastCloudeventOK struct { }
BroadcastCloudeventOK describes a response with status code 200, with default header values.
successfully sent cloud event
func NewBroadcastCloudeventOK ¶
func NewBroadcastCloudeventOK() *BroadcastCloudeventOK
NewBroadcastCloudeventOK creates a BroadcastCloudeventOK with default headers values
func (*BroadcastCloudeventOK) Error ¶
func (o *BroadcastCloudeventOK) Error() string
type BroadcastCloudeventParams ¶
type BroadcastCloudeventParams struct { /* Cloudevent. Cloud Event request to be sent. */ Cloudevent interface{} /* Namespace. target namespace */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BroadcastCloudeventParams contains all the parameters to send to the API endpoint
for the broadcast cloudevent operation. Typically these are written to a http.Request.
func NewBroadcastCloudeventParams ¶
func NewBroadcastCloudeventParams() *BroadcastCloudeventParams
NewBroadcastCloudeventParams creates a new BroadcastCloudeventParams 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 NewBroadcastCloudeventParamsWithContext ¶
func NewBroadcastCloudeventParamsWithContext(ctx context.Context) *BroadcastCloudeventParams
NewBroadcastCloudeventParamsWithContext creates a new BroadcastCloudeventParams object with the ability to set a context for a request.
func NewBroadcastCloudeventParamsWithHTTPClient ¶
func NewBroadcastCloudeventParamsWithHTTPClient(client *http.Client) *BroadcastCloudeventParams
NewBroadcastCloudeventParamsWithHTTPClient creates a new BroadcastCloudeventParams object with the ability to set a custom HTTPClient for a request.
func NewBroadcastCloudeventParamsWithTimeout ¶
func NewBroadcastCloudeventParamsWithTimeout(timeout time.Duration) *BroadcastCloudeventParams
NewBroadcastCloudeventParamsWithTimeout creates a new BroadcastCloudeventParams object with the ability to set a timeout on a request.
func (*BroadcastCloudeventParams) SetCloudevent ¶
func (o *BroadcastCloudeventParams) SetCloudevent(cloudevent interface{})
SetCloudevent adds the cloudevent to the broadcast cloudevent params
func (*BroadcastCloudeventParams) SetContext ¶
func (o *BroadcastCloudeventParams) SetContext(ctx context.Context)
SetContext adds the context to the broadcast cloudevent params
func (*BroadcastCloudeventParams) SetDefaults ¶
func (o *BroadcastCloudeventParams) SetDefaults()
SetDefaults hydrates default values in the broadcast cloudevent params (not the query body).
All values with no default are reset to their zero value.
func (*BroadcastCloudeventParams) SetHTTPClient ¶
func (o *BroadcastCloudeventParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the broadcast cloudevent params
func (*BroadcastCloudeventParams) SetNamespace ¶
func (o *BroadcastCloudeventParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the broadcast cloudevent params
func (*BroadcastCloudeventParams) SetTimeout ¶
func (o *BroadcastCloudeventParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the broadcast cloudevent params
func (*BroadcastCloudeventParams) WithCloudevent ¶
func (o *BroadcastCloudeventParams) WithCloudevent(cloudevent interface{}) *BroadcastCloudeventParams
WithCloudevent adds the cloudevent to the broadcast cloudevent params
func (*BroadcastCloudeventParams) WithContext ¶
func (o *BroadcastCloudeventParams) WithContext(ctx context.Context) *BroadcastCloudeventParams
WithContext adds the context to the broadcast cloudevent params
func (*BroadcastCloudeventParams) WithDefaults ¶
func (o *BroadcastCloudeventParams) WithDefaults() *BroadcastCloudeventParams
WithDefaults hydrates default values in the broadcast cloudevent params (not the query body).
All values with no default are reset to their zero value.
func (*BroadcastCloudeventParams) WithHTTPClient ¶
func (o *BroadcastCloudeventParams) WithHTTPClient(client *http.Client) *BroadcastCloudeventParams
WithHTTPClient adds the HTTPClient to the broadcast cloudevent params
func (*BroadcastCloudeventParams) WithNamespace ¶
func (o *BroadcastCloudeventParams) WithNamespace(namespace string) *BroadcastCloudeventParams
WithNamespace adds the namespace to the broadcast cloudevent params
func (*BroadcastCloudeventParams) WithTimeout ¶
func (o *BroadcastCloudeventParams) WithTimeout(timeout time.Duration) *BroadcastCloudeventParams
WithTimeout adds the timeout to the broadcast cloudevent params
func (*BroadcastCloudeventParams) WriteToRequest ¶
func (o *BroadcastCloudeventParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BroadcastCloudeventReader ¶
type BroadcastCloudeventReader struct {
// contains filtered or unexported fields
}
BroadcastCloudeventReader is a Reader for the BroadcastCloudevent structure.
func (*BroadcastCloudeventReader) ReadResponse ¶
func (o *BroadcastCloudeventReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for other API
func (*Client) BroadcastCloudevent ¶
func (a *Client) BroadcastCloudevent(params *BroadcastCloudeventParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BroadcastCloudeventOK, error)
BroadcastCloudevent broadcasts cloud event Broadcast a cloud event to a namespace.
Cloud events posted to this api will be picked up by any workflows listening to the same event type on the namescape. The body of this request should follow the cloud event core specification defined at https://github.com/cloudevents/spec .
func (*Client) JqPlayground ¶
func (a *Client) JqPlayground(params *JqPlaygroundParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*JqPlaygroundOK, error)
JqPlayground js q playground api to test jq queries
JQ Playground is a sandbox where you can test jq queries with custom data.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Version ¶
func (a *Client) Version(params *VersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VersionOK, error)
Version returns version information for servers in the cluster
Returns version information for servers in the cluster.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { BroadcastCloudevent(params *BroadcastCloudeventParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BroadcastCloudeventOK, error) JqPlayground(params *JqPlaygroundParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*JqPlaygroundOK, error) Version(params *VersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VersionOK, 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 other API client.
type JqPlaygroundBadRequest ¶
type JqPlaygroundBadRequest struct { }
JqPlaygroundBadRequest describes a response with status code 400, with default header values.
the request was invalid
func NewJqPlaygroundBadRequest ¶
func NewJqPlaygroundBadRequest() *JqPlaygroundBadRequest
NewJqPlaygroundBadRequest creates a JqPlaygroundBadRequest with default headers values
func (*JqPlaygroundBadRequest) Error ¶
func (o *JqPlaygroundBadRequest) Error() string
type JqPlaygroundBody ¶
type JqPlaygroundBody struct { // JSON data encoded in base64 // Required: true Data *string `json:"data"` // jq query to manipulate JSON data // Required: true Query *string `json:"query"` }
JqPlaygroundBody jq playground body // Example: {"data":"eyJhIjogMSwgImIiOiAyLCAiYyI6IDQsICJkIjogN30=","query":"map(select(. \u003e= 2))"} swagger:model JqPlaygroundBody
func (*JqPlaygroundBody) ContextValidate ¶
ContextValidate validates this jq playground body based on context it is used
func (*JqPlaygroundBody) MarshalBinary ¶
func (o *JqPlaygroundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JqPlaygroundBody) UnmarshalBinary ¶
func (o *JqPlaygroundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JqPlaygroundInternalServerError ¶
type JqPlaygroundInternalServerError struct { }
JqPlaygroundInternalServerError describes a response with status code 500, with default header values.
an unexpected internal error occurred
func NewJqPlaygroundInternalServerError ¶
func NewJqPlaygroundInternalServerError() *JqPlaygroundInternalServerError
NewJqPlaygroundInternalServerError creates a JqPlaygroundInternalServerError with default headers values
func (*JqPlaygroundInternalServerError) Error ¶
func (o *JqPlaygroundInternalServerError) Error() string
type JqPlaygroundOK ¶
type JqPlaygroundOK struct { }
JqPlaygroundOK describes a response with status code 200, with default header values.
jq query was successful
func NewJqPlaygroundOK ¶
func NewJqPlaygroundOK() *JqPlaygroundOK
NewJqPlaygroundOK creates a JqPlaygroundOK with default headers values
func (*JqPlaygroundOK) Error ¶
func (o *JqPlaygroundOK) Error() string
type JqPlaygroundParams ¶
type JqPlaygroundParams struct { /* JQPayload. Payload that contains both the JSON data to manipulate and jq query. */ JQPayload JqPlaygroundBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JqPlaygroundParams contains all the parameters to send to the API endpoint
for the jq playground operation. Typically these are written to a http.Request.
func NewJqPlaygroundParams ¶
func NewJqPlaygroundParams() *JqPlaygroundParams
NewJqPlaygroundParams creates a new JqPlaygroundParams 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 NewJqPlaygroundParamsWithContext ¶
func NewJqPlaygroundParamsWithContext(ctx context.Context) *JqPlaygroundParams
NewJqPlaygroundParamsWithContext creates a new JqPlaygroundParams object with the ability to set a context for a request.
func NewJqPlaygroundParamsWithHTTPClient ¶
func NewJqPlaygroundParamsWithHTTPClient(client *http.Client) *JqPlaygroundParams
NewJqPlaygroundParamsWithHTTPClient creates a new JqPlaygroundParams object with the ability to set a custom HTTPClient for a request.
func NewJqPlaygroundParamsWithTimeout ¶
func NewJqPlaygroundParamsWithTimeout(timeout time.Duration) *JqPlaygroundParams
NewJqPlaygroundParamsWithTimeout creates a new JqPlaygroundParams object with the ability to set a timeout on a request.
func (*JqPlaygroundParams) SetContext ¶
func (o *JqPlaygroundParams) SetContext(ctx context.Context)
SetContext adds the context to the jq playground params
func (*JqPlaygroundParams) SetDefaults ¶
func (o *JqPlaygroundParams) SetDefaults()
SetDefaults hydrates default values in the jq playground params (not the query body).
All values with no default are reset to their zero value.
func (*JqPlaygroundParams) SetHTTPClient ¶
func (o *JqPlaygroundParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the jq playground params
func (*JqPlaygroundParams) SetJQPayload ¶
func (o *JqPlaygroundParams) SetJQPayload(jQPayload JqPlaygroundBody)
SetJQPayload adds the jQPayload to the jq playground params
func (*JqPlaygroundParams) SetTimeout ¶
func (o *JqPlaygroundParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the jq playground params
func (*JqPlaygroundParams) WithContext ¶
func (o *JqPlaygroundParams) WithContext(ctx context.Context) *JqPlaygroundParams
WithContext adds the context to the jq playground params
func (*JqPlaygroundParams) WithDefaults ¶
func (o *JqPlaygroundParams) WithDefaults() *JqPlaygroundParams
WithDefaults hydrates default values in the jq playground params (not the query body).
All values with no default are reset to their zero value.
func (*JqPlaygroundParams) WithHTTPClient ¶
func (o *JqPlaygroundParams) WithHTTPClient(client *http.Client) *JqPlaygroundParams
WithHTTPClient adds the HTTPClient to the jq playground params
func (*JqPlaygroundParams) WithJQPayload ¶
func (o *JqPlaygroundParams) WithJQPayload(jQPayload JqPlaygroundBody) *JqPlaygroundParams
WithJQPayload adds the jQPayload to the jq playground params
func (*JqPlaygroundParams) WithTimeout ¶
func (o *JqPlaygroundParams) WithTimeout(timeout time.Duration) *JqPlaygroundParams
WithTimeout adds the timeout to the jq playground params
func (*JqPlaygroundParams) WriteToRequest ¶
func (o *JqPlaygroundParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JqPlaygroundReader ¶
type JqPlaygroundReader struct {
// contains filtered or unexported fields
}
JqPlaygroundReader is a Reader for the JqPlayground structure.
func (*JqPlaygroundReader) ReadResponse ¶
func (o *JqPlaygroundReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type VersionOK ¶
type VersionOK struct { }
VersionOK describes a response with status code 200, with default header values.
version query was successful
func NewVersionOK ¶
func NewVersionOK() *VersionOK
NewVersionOK creates a VersionOK with default headers values
type VersionParams ¶
type VersionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VersionParams contains all the parameters to send to the API endpoint
for the version operation. Typically these are written to a http.Request.
func NewVersionParams ¶
func NewVersionParams() *VersionParams
NewVersionParams creates a new VersionParams 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 NewVersionParamsWithContext ¶
func NewVersionParamsWithContext(ctx context.Context) *VersionParams
NewVersionParamsWithContext creates a new VersionParams object with the ability to set a context for a request.
func NewVersionParamsWithHTTPClient ¶
func NewVersionParamsWithHTTPClient(client *http.Client) *VersionParams
NewVersionParamsWithHTTPClient creates a new VersionParams object with the ability to set a custom HTTPClient for a request.
func NewVersionParamsWithTimeout ¶
func NewVersionParamsWithTimeout(timeout time.Duration) *VersionParams
NewVersionParamsWithTimeout creates a new VersionParams object with the ability to set a timeout on a request.
func (*VersionParams) SetContext ¶
func (o *VersionParams) SetContext(ctx context.Context)
SetContext adds the context to the version params
func (*VersionParams) SetDefaults ¶
func (o *VersionParams) SetDefaults()
SetDefaults hydrates default values in the version params (not the query body).
All values with no default are reset to their zero value.
func (*VersionParams) SetHTTPClient ¶
func (o *VersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the version params
func (*VersionParams) SetTimeout ¶
func (o *VersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the version params
func (*VersionParams) WithContext ¶
func (o *VersionParams) WithContext(ctx context.Context) *VersionParams
WithContext adds the context to the version params
func (*VersionParams) WithDefaults ¶
func (o *VersionParams) WithDefaults() *VersionParams
WithDefaults hydrates default values in the version params (not the query body).
All values with no default are reset to their zero value.
func (*VersionParams) WithHTTPClient ¶
func (o *VersionParams) WithHTTPClient(client *http.Client) *VersionParams
WithHTTPClient adds the HTTPClient to the version params
func (*VersionParams) WithTimeout ¶
func (o *VersionParams) WithTimeout(timeout time.Duration) *VersionParams
WithTimeout adds the timeout to the version params
func (*VersionParams) WriteToRequest ¶
func (o *VersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VersionReader ¶
type VersionReader struct {
// contains filtered or unexported fields
}
VersionReader is a Reader for the Version structure.
func (*VersionReader) ReadResponse ¶
func (o *VersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.