Documentation
¶
Index ¶
- type Compute
- type CreateNetworkPolicyBadRequest
- type CreateNetworkPolicyDefault
- type CreateNetworkPolicyInternalServerError
- type CreateNetworkPolicyOK
- type CreateNetworkPolicyParams
- func NewCreateNetworkPolicyParams() *CreateNetworkPolicyParams
- func NewCreateNetworkPolicyParamsWithContext(ctx context.Context) *CreateNetworkPolicyParams
- func NewCreateNetworkPolicyParamsWithHTTPClient(client *http.Client) *CreateNetworkPolicyParams
- func NewCreateNetworkPolicyParamsWithTimeout(timeout time.Duration) *CreateNetworkPolicyParams
- func (o *CreateNetworkPolicyParams) SetBody(body *models.V1CreateNetworkPolicyRequest)
- func (o *CreateNetworkPolicyParams) SetContext(ctx context.Context)
- func (o *CreateNetworkPolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkPolicyParams) SetNetworkPolicyStackID(networkPolicyStackID string)
- func (o *CreateNetworkPolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkPolicyParams) WithBody(body *models.V1CreateNetworkPolicyRequest) *CreateNetworkPolicyParams
- func (o *CreateNetworkPolicyParams) WithContext(ctx context.Context) *CreateNetworkPolicyParams
- func (o *CreateNetworkPolicyParams) WithHTTPClient(client *http.Client) *CreateNetworkPolicyParams
- func (o *CreateNetworkPolicyParams) WithNetworkPolicyStackID(networkPolicyStackID string) *CreateNetworkPolicyParams
- func (o *CreateNetworkPolicyParams) WithTimeout(timeout time.Duration) *CreateNetworkPolicyParams
- func (o *CreateNetworkPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkPolicyReader
- type CreateNetworkPolicyUnauthorized
- type CreateWorkloadBadRequest
- type CreateWorkloadDefault
- type CreateWorkloadInternalServerError
- type CreateWorkloadOK
- type CreateWorkloadParams
- func NewCreateWorkloadParams() *CreateWorkloadParams
- func NewCreateWorkloadParamsWithContext(ctx context.Context) *CreateWorkloadParams
- func NewCreateWorkloadParamsWithHTTPClient(client *http.Client) *CreateWorkloadParams
- func NewCreateWorkloadParamsWithTimeout(timeout time.Duration) *CreateWorkloadParams
- func (o *CreateWorkloadParams) SetBody(body *models.V1CreateWorkloadRequest)
- func (o *CreateWorkloadParams) SetContext(ctx context.Context)
- func (o *CreateWorkloadParams) SetHTTPClient(client *http.Client)
- func (o *CreateWorkloadParams) SetStackID(stackID string)
- func (o *CreateWorkloadParams) SetTimeout(timeout time.Duration)
- func (o *CreateWorkloadParams) WithBody(body *models.V1CreateWorkloadRequest) *CreateWorkloadParams
- func (o *CreateWorkloadParams) WithContext(ctx context.Context) *CreateWorkloadParams
- func (o *CreateWorkloadParams) WithHTTPClient(client *http.Client) *CreateWorkloadParams
- func (o *CreateWorkloadParams) WithStackID(stackID string) *CreateWorkloadParams
- func (o *CreateWorkloadParams) WithTimeout(timeout time.Duration) *CreateWorkloadParams
- func (o *CreateWorkloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateWorkloadReader
- type CreateWorkloadUnauthorized
- type DeleteNetworkPolicyDefault
- type DeleteNetworkPolicyInternalServerError
- type DeleteNetworkPolicyNoContent
- type DeleteNetworkPolicyParams
- func NewDeleteNetworkPolicyParams() *DeleteNetworkPolicyParams
- func NewDeleteNetworkPolicyParamsWithContext(ctx context.Context) *DeleteNetworkPolicyParams
- func NewDeleteNetworkPolicyParamsWithHTTPClient(client *http.Client) *DeleteNetworkPolicyParams
- func NewDeleteNetworkPolicyParamsWithTimeout(timeout time.Duration) *DeleteNetworkPolicyParams
- func (o *DeleteNetworkPolicyParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkPolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkPolicyParams) SetNetworkPolicyID(networkPolicyID string)
- func (o *DeleteNetworkPolicyParams) SetStackID(stackID string)
- func (o *DeleteNetworkPolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkPolicyParams) WithContext(ctx context.Context) *DeleteNetworkPolicyParams
- func (o *DeleteNetworkPolicyParams) WithHTTPClient(client *http.Client) *DeleteNetworkPolicyParams
- func (o *DeleteNetworkPolicyParams) WithNetworkPolicyID(networkPolicyID string) *DeleteNetworkPolicyParams
- func (o *DeleteNetworkPolicyParams) WithStackID(stackID string) *DeleteNetworkPolicyParams
- func (o *DeleteNetworkPolicyParams) WithTimeout(timeout time.Duration) *DeleteNetworkPolicyParams
- func (o *DeleteNetworkPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkPolicyReader
- type DeleteNetworkPolicyUnauthorized
- type DeleteWorkloadDefault
- type DeleteWorkloadInternalServerError
- type DeleteWorkloadNoContent
- type DeleteWorkloadParams
- func NewDeleteWorkloadParams() *DeleteWorkloadParams
- func NewDeleteWorkloadParamsWithContext(ctx context.Context) *DeleteWorkloadParams
- func NewDeleteWorkloadParamsWithHTTPClient(client *http.Client) *DeleteWorkloadParams
- func NewDeleteWorkloadParamsWithTimeout(timeout time.Duration) *DeleteWorkloadParams
- func (o *DeleteWorkloadParams) SetContext(ctx context.Context)
- func (o *DeleteWorkloadParams) SetHTTPClient(client *http.Client)
- func (o *DeleteWorkloadParams) SetStackID(stackID string)
- func (o *DeleteWorkloadParams) SetTimeout(timeout time.Duration)
- func (o *DeleteWorkloadParams) SetWorkloadID(workloadID string)
- func (o *DeleteWorkloadParams) WithContext(ctx context.Context) *DeleteWorkloadParams
- func (o *DeleteWorkloadParams) WithHTTPClient(client *http.Client) *DeleteWorkloadParams
- func (o *DeleteWorkloadParams) WithStackID(stackID string) *DeleteWorkloadParams
- func (o *DeleteWorkloadParams) WithTimeout(timeout time.Duration) *DeleteWorkloadParams
- func (o *DeleteWorkloadParams) WithWorkloadID(workloadID string) *DeleteWorkloadParams
- func (o *DeleteWorkloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteWorkloadReader
- type DeleteWorkloadUnauthorized
- type GetLocationsDefault
- type GetLocationsInternalServerError
- type GetLocationsOK
- type GetLocationsParams
- func (o *GetLocationsParams) SetContext(ctx context.Context)
- func (o *GetLocationsParams) SetHTTPClient(client *http.Client)
- func (o *GetLocationsParams) SetPageRequestAfter(pageRequestAfter *string)
- func (o *GetLocationsParams) SetPageRequestFilter(pageRequestFilter *string)
- func (o *GetLocationsParams) SetPageRequestFirst(pageRequestFirst *string)
- func (o *GetLocationsParams) SetPageRequestSortBy(pageRequestSortBy *string)
- func (o *GetLocationsParams) SetTimeout(timeout time.Duration)
- func (o *GetLocationsParams) WithContext(ctx context.Context) *GetLocationsParams
- func (o *GetLocationsParams) WithHTTPClient(client *http.Client) *GetLocationsParams
- func (o *GetLocationsParams) WithPageRequestAfter(pageRequestAfter *string) *GetLocationsParams
- func (o *GetLocationsParams) WithPageRequestFilter(pageRequestFilter *string) *GetLocationsParams
- func (o *GetLocationsParams) WithPageRequestFirst(pageRequestFirst *string) *GetLocationsParams
- func (o *GetLocationsParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetLocationsParams
- func (o *GetLocationsParams) WithTimeout(timeout time.Duration) *GetLocationsParams
- func (o *GetLocationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLocationsReader
- type GetLocationsUnauthorized
- type GetNetworkPoliciesDefault
- type GetNetworkPoliciesInternalServerError
- type GetNetworkPoliciesOK
- type GetNetworkPoliciesParams
- func NewGetNetworkPoliciesParams() *GetNetworkPoliciesParams
- func NewGetNetworkPoliciesParamsWithContext(ctx context.Context) *GetNetworkPoliciesParams
- func NewGetNetworkPoliciesParamsWithHTTPClient(client *http.Client) *GetNetworkPoliciesParams
- func NewGetNetworkPoliciesParamsWithTimeout(timeout time.Duration) *GetNetworkPoliciesParams
- func (o *GetNetworkPoliciesParams) SetContext(ctx context.Context)
- func (o *GetNetworkPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkPoliciesParams) SetPageRequestAfter(pageRequestAfter *string)
- func (o *GetNetworkPoliciesParams) SetPageRequestFilter(pageRequestFilter *string)
- func (o *GetNetworkPoliciesParams) SetPageRequestFirst(pageRequestFirst *string)
- func (o *GetNetworkPoliciesParams) SetPageRequestSortBy(pageRequestSortBy *string)
- func (o *GetNetworkPoliciesParams) SetStackID(stackID string)
- func (o *GetNetworkPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkPoliciesParams) WithContext(ctx context.Context) *GetNetworkPoliciesParams
- func (o *GetNetworkPoliciesParams) WithHTTPClient(client *http.Client) *GetNetworkPoliciesParams
- func (o *GetNetworkPoliciesParams) WithPageRequestAfter(pageRequestAfter *string) *GetNetworkPoliciesParams
- func (o *GetNetworkPoliciesParams) WithPageRequestFilter(pageRequestFilter *string) *GetNetworkPoliciesParams
- func (o *GetNetworkPoliciesParams) WithPageRequestFirst(pageRequestFirst *string) *GetNetworkPoliciesParams
- func (o *GetNetworkPoliciesParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetNetworkPoliciesParams
- func (o *GetNetworkPoliciesParams) WithStackID(stackID string) *GetNetworkPoliciesParams
- func (o *GetNetworkPoliciesParams) WithTimeout(timeout time.Duration) *GetNetworkPoliciesParams
- func (o *GetNetworkPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkPoliciesReader
- type GetNetworkPoliciesUnauthorized
- type GetNetworkPolicyDefault
- type GetNetworkPolicyInternalServerError
- type GetNetworkPolicyOK
- type GetNetworkPolicyParams
- func NewGetNetworkPolicyParams() *GetNetworkPolicyParams
- func NewGetNetworkPolicyParamsWithContext(ctx context.Context) *GetNetworkPolicyParams
- func NewGetNetworkPolicyParamsWithHTTPClient(client *http.Client) *GetNetworkPolicyParams
- func NewGetNetworkPolicyParamsWithTimeout(timeout time.Duration) *GetNetworkPolicyParams
- func (o *GetNetworkPolicyParams) SetContext(ctx context.Context)
- func (o *GetNetworkPolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkPolicyParams) SetNetworkPolicyID(networkPolicyID string)
- func (o *GetNetworkPolicyParams) SetStackID(stackID string)
- func (o *GetNetworkPolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkPolicyParams) WithContext(ctx context.Context) *GetNetworkPolicyParams
- func (o *GetNetworkPolicyParams) WithHTTPClient(client *http.Client) *GetNetworkPolicyParams
- func (o *GetNetworkPolicyParams) WithNetworkPolicyID(networkPolicyID string) *GetNetworkPolicyParams
- func (o *GetNetworkPolicyParams) WithStackID(stackID string) *GetNetworkPolicyParams
- func (o *GetNetworkPolicyParams) WithTimeout(timeout time.Duration) *GetNetworkPolicyParams
- func (o *GetNetworkPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkPolicyReader
- type GetNetworkPolicyUnauthorized
- type GetWorkloadDefault
- type GetWorkloadInstancesDefault
- type GetWorkloadInstancesInternalServerError
- type GetWorkloadInstancesOK
- type GetWorkloadInstancesParams
- func NewGetWorkloadInstancesParams() *GetWorkloadInstancesParams
- func NewGetWorkloadInstancesParamsWithContext(ctx context.Context) *GetWorkloadInstancesParams
- func NewGetWorkloadInstancesParamsWithHTTPClient(client *http.Client) *GetWorkloadInstancesParams
- func NewGetWorkloadInstancesParamsWithTimeout(timeout time.Duration) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) SetContext(ctx context.Context)
- func (o *GetWorkloadInstancesParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkloadInstancesParams) SetPageRequestAfter(pageRequestAfter *string)
- func (o *GetWorkloadInstancesParams) SetPageRequestFilter(pageRequestFilter *string)
- func (o *GetWorkloadInstancesParams) SetPageRequestFirst(pageRequestFirst *string)
- func (o *GetWorkloadInstancesParams) SetPageRequestSortBy(pageRequestSortBy *string)
- func (o *GetWorkloadInstancesParams) SetStackID(stackID string)
- func (o *GetWorkloadInstancesParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkloadInstancesParams) SetWorkloadID(workloadID string)
- func (o *GetWorkloadInstancesParams) WithContext(ctx context.Context) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithHTTPClient(client *http.Client) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithPageRequestAfter(pageRequestAfter *string) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithPageRequestFilter(pageRequestFilter *string) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithPageRequestFirst(pageRequestFirst *string) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithStackID(stackID string) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithTimeout(timeout time.Duration) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithWorkloadID(workloadID string) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkloadInstancesReader
- type GetWorkloadInstancesUnauthorized
- type GetWorkloadInternalServerError
- type GetWorkloadOK
- type GetWorkloadParams
- func (o *GetWorkloadParams) SetContext(ctx context.Context)
- func (o *GetWorkloadParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkloadParams) SetStackID(stackID string)
- func (o *GetWorkloadParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkloadParams) SetWorkloadID(workloadID string)
- func (o *GetWorkloadParams) WithContext(ctx context.Context) *GetWorkloadParams
- func (o *GetWorkloadParams) WithHTTPClient(client *http.Client) *GetWorkloadParams
- func (o *GetWorkloadParams) WithStackID(stackID string) *GetWorkloadParams
- func (o *GetWorkloadParams) WithTimeout(timeout time.Duration) *GetWorkloadParams
- func (o *GetWorkloadParams) WithWorkloadID(workloadID string) *GetWorkloadParams
- func (o *GetWorkloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkloadReader
- type GetWorkloadUnauthorized
- type GetWorkloadsDefault
- type GetWorkloadsInternalServerError
- type GetWorkloadsOK
- type GetWorkloadsParams
- func (o *GetWorkloadsParams) SetContext(ctx context.Context)
- func (o *GetWorkloadsParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkloadsParams) SetPageRequestAfter(pageRequestAfter *string)
- func (o *GetWorkloadsParams) SetPageRequestFilter(pageRequestFilter *string)
- func (o *GetWorkloadsParams) SetPageRequestFirst(pageRequestFirst *string)
- func (o *GetWorkloadsParams) SetPageRequestSortBy(pageRequestSortBy *string)
- func (o *GetWorkloadsParams) SetStackID(stackID string)
- func (o *GetWorkloadsParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkloadsParams) WithContext(ctx context.Context) *GetWorkloadsParams
- func (o *GetWorkloadsParams) WithHTTPClient(client *http.Client) *GetWorkloadsParams
- func (o *GetWorkloadsParams) WithPageRequestAfter(pageRequestAfter *string) *GetWorkloadsParams
- func (o *GetWorkloadsParams) WithPageRequestFilter(pageRequestFilter *string) *GetWorkloadsParams
- func (o *GetWorkloadsParams) WithPageRequestFirst(pageRequestFirst *string) *GetWorkloadsParams
- func (o *GetWorkloadsParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetWorkloadsParams
- func (o *GetWorkloadsParams) WithStackID(stackID string) *GetWorkloadsParams
- func (o *GetWorkloadsParams) WithTimeout(timeout time.Duration) *GetWorkloadsParams
- func (o *GetWorkloadsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkloadsReader
- type GetWorkloadsUnauthorized
- type IPAM
- type UpdateNetworkPolicyDefault
- type UpdateNetworkPolicyInternalServerError
- type UpdateNetworkPolicyOK
- type UpdateNetworkPolicyParams
- func NewUpdateNetworkPolicyParams() *UpdateNetworkPolicyParams
- func NewUpdateNetworkPolicyParamsWithContext(ctx context.Context) *UpdateNetworkPolicyParams
- func NewUpdateNetworkPolicyParamsWithHTTPClient(client *http.Client) *UpdateNetworkPolicyParams
- func NewUpdateNetworkPolicyParamsWithTimeout(timeout time.Duration) *UpdateNetworkPolicyParams
- func (o *UpdateNetworkPolicyParams) SetBody(body *models.V1UpdateNetworkPolicyRequest)
- func (o *UpdateNetworkPolicyParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkPolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkPolicyParams) SetNetworkPolicyID(networkPolicyID string)
- func (o *UpdateNetworkPolicyParams) SetNetworkPolicyStackID(networkPolicyStackID string)
- func (o *UpdateNetworkPolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkPolicyParams) WithBody(body *models.V1UpdateNetworkPolicyRequest) *UpdateNetworkPolicyParams
- func (o *UpdateNetworkPolicyParams) WithContext(ctx context.Context) *UpdateNetworkPolicyParams
- func (o *UpdateNetworkPolicyParams) WithHTTPClient(client *http.Client) *UpdateNetworkPolicyParams
- func (o *UpdateNetworkPolicyParams) WithNetworkPolicyID(networkPolicyID string) *UpdateNetworkPolicyParams
- func (o *UpdateNetworkPolicyParams) WithNetworkPolicyStackID(networkPolicyStackID string) *UpdateNetworkPolicyParams
- func (o *UpdateNetworkPolicyParams) WithTimeout(timeout time.Duration) *UpdateNetworkPolicyParams
- func (o *UpdateNetworkPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkPolicyReader
- type UpdateNetworkPolicyUnauthorized
- type UpdateWorkloadBadRequest
- type UpdateWorkloadDefault
- type UpdateWorkloadInternalServerError
- type UpdateWorkloadOK
- type UpdateWorkloadParams
- func NewUpdateWorkloadParams() *UpdateWorkloadParams
- func NewUpdateWorkloadParamsWithContext(ctx context.Context) *UpdateWorkloadParams
- func NewUpdateWorkloadParamsWithHTTPClient(client *http.Client) *UpdateWorkloadParams
- func NewUpdateWorkloadParamsWithTimeout(timeout time.Duration) *UpdateWorkloadParams
- func (o *UpdateWorkloadParams) SetBody(body *models.V1UpdateWorkloadRequest)
- func (o *UpdateWorkloadParams) SetContext(ctx context.Context)
- func (o *UpdateWorkloadParams) SetHTTPClient(client *http.Client)
- func (o *UpdateWorkloadParams) SetStackID(stackID string)
- func (o *UpdateWorkloadParams) SetTimeout(timeout time.Duration)
- func (o *UpdateWorkloadParams) SetWorkloadID(workloadID string)
- func (o *UpdateWorkloadParams) WithBody(body *models.V1UpdateWorkloadRequest) *UpdateWorkloadParams
- func (o *UpdateWorkloadParams) WithContext(ctx context.Context) *UpdateWorkloadParams
- func (o *UpdateWorkloadParams) WithHTTPClient(client *http.Client) *UpdateWorkloadParams
- func (o *UpdateWorkloadParams) WithStackID(stackID string) *UpdateWorkloadParams
- func (o *UpdateWorkloadParams) WithTimeout(timeout time.Duration) *UpdateWorkloadParams
- func (o *UpdateWorkloadParams) WithWorkloadID(workloadID string) *UpdateWorkloadParams
- func (o *UpdateWorkloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateWorkloadReader
- type UpdateWorkloadUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compute ¶
type Compute interface {
CreateWorkload(params *CreateWorkloadParams, authInfo runtime.ClientAuthInfoWriter) (*CreateWorkloadOK, error)
DeleteWorkload(params *DeleteWorkloadParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteWorkloadNoContent, error)
GetLocations(params *GetLocationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocationsOK, error)
GetWorkload(params *GetWorkloadParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkloadOK, error)
GetWorkloads(params *GetWorkloadsParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkloadsOK, error)
UpdateWorkload(params *UpdateWorkloadParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateWorkloadOK, error)
GetWorkloadInstances(params *GetWorkloadInstancesParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkloadInstancesOK, error)
SetTransport(transport runtime.ClientTransport)
}
Compute defines the client interface
func NewCompute ¶
func NewCompute(transport runtime.ClientTransport, formats strfmt.Registry) Compute
New creates a new workload API client.
type CreateNetworkPolicyBadRequest ¶
type CreateNetworkPolicyBadRequest struct {
Payload *models.StackpathapiStatus
}
CreateNetworkPolicyBadRequest handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewCreateNetworkPolicyBadRequest ¶
func NewCreateNetworkPolicyBadRequest() *CreateNetworkPolicyBadRequest
NewCreateNetworkPolicyBadRequest creates a CreateNetworkPolicyBadRequest with default headers values
func (*CreateNetworkPolicyBadRequest) Error ¶
func (o *CreateNetworkPolicyBadRequest) Error() string
type CreateNetworkPolicyDefault ¶
type CreateNetworkPolicyDefault struct {
Payload *models.StackpathapiStatus
// contains filtered or unexported fields
}
CreateNetworkPolicyDefault handles this case with default header values.
Default error structure.
func NewCreateNetworkPolicyDefault ¶
func NewCreateNetworkPolicyDefault(code int) *CreateNetworkPolicyDefault
NewCreateNetworkPolicyDefault creates a CreateNetworkPolicyDefault with default headers values
func (*CreateNetworkPolicyDefault) Code ¶
func (o *CreateNetworkPolicyDefault) Code() int
Code gets the status code for the create network policy default response
func (*CreateNetworkPolicyDefault) Error ¶
func (o *CreateNetworkPolicyDefault) Error() string
type CreateNetworkPolicyInternalServerError ¶
type CreateNetworkPolicyInternalServerError struct {
Payload *models.StackpathapiStatus
}
CreateNetworkPolicyInternalServerError handles this case with default header values.
Internal server error.
func NewCreateNetworkPolicyInternalServerError ¶
func NewCreateNetworkPolicyInternalServerError() *CreateNetworkPolicyInternalServerError
NewCreateNetworkPolicyInternalServerError creates a CreateNetworkPolicyInternalServerError with default headers values
func (*CreateNetworkPolicyInternalServerError) Error ¶
func (o *CreateNetworkPolicyInternalServerError) Error() string
type CreateNetworkPolicyOK ¶
type CreateNetworkPolicyOK struct {
Payload *models.V1CreateNetworkPolicyResponse
}
CreateNetworkPolicyOK handles this case with default header values.
CreateNetworkPolicyOK create network policy o k
func NewCreateNetworkPolicyOK ¶
func NewCreateNetworkPolicyOK() *CreateNetworkPolicyOK
NewCreateNetworkPolicyOK creates a CreateNetworkPolicyOK with default headers values
func (*CreateNetworkPolicyOK) Error ¶
func (o *CreateNetworkPolicyOK) Error() string
type CreateNetworkPolicyParams ¶
type CreateNetworkPolicyParams struct {
/*Body*/
Body *models.V1CreateNetworkPolicyRequest
/*NetworkPolicyStackID
The ID of the stack that a network policy belongs to
*/
NetworkPolicyStackID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateNetworkPolicyParams contains all the parameters to send to the API endpoint for the create network policy operation typically these are written to a http.Request
func NewCreateNetworkPolicyParams ¶
func NewCreateNetworkPolicyParams() *CreateNetworkPolicyParams
NewCreateNetworkPolicyParams creates a new CreateNetworkPolicyParams object with the default values initialized.
func NewCreateNetworkPolicyParamsWithContext ¶
func NewCreateNetworkPolicyParamsWithContext(ctx context.Context) *CreateNetworkPolicyParams
NewCreateNetworkPolicyParamsWithContext creates a new CreateNetworkPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewCreateNetworkPolicyParamsWithHTTPClient ¶
func NewCreateNetworkPolicyParamsWithHTTPClient(client *http.Client) *CreateNetworkPolicyParams
NewCreateNetworkPolicyParamsWithHTTPClient creates a new CreateNetworkPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateNetworkPolicyParamsWithTimeout ¶
func NewCreateNetworkPolicyParamsWithTimeout(timeout time.Duration) *CreateNetworkPolicyParams
NewCreateNetworkPolicyParamsWithTimeout creates a new CreateNetworkPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateNetworkPolicyParams) SetBody ¶
func (o *CreateNetworkPolicyParams) SetBody(body *models.V1CreateNetworkPolicyRequest)
SetBody adds the body to the create network policy params
func (*CreateNetworkPolicyParams) SetContext ¶
func (o *CreateNetworkPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the create network policy params
func (*CreateNetworkPolicyParams) SetHTTPClient ¶
func (o *CreateNetworkPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create network policy params
func (*CreateNetworkPolicyParams) SetNetworkPolicyStackID ¶
func (o *CreateNetworkPolicyParams) SetNetworkPolicyStackID(networkPolicyStackID string)
SetNetworkPolicyStackID adds the networkPolicyStackId to the create network policy params
func (*CreateNetworkPolicyParams) SetTimeout ¶
func (o *CreateNetworkPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create network policy params
func (*CreateNetworkPolicyParams) WithBody ¶
func (o *CreateNetworkPolicyParams) WithBody(body *models.V1CreateNetworkPolicyRequest) *CreateNetworkPolicyParams
WithBody adds the body to the create network policy params
func (*CreateNetworkPolicyParams) WithContext ¶
func (o *CreateNetworkPolicyParams) WithContext(ctx context.Context) *CreateNetworkPolicyParams
WithContext adds the context to the create network policy params
func (*CreateNetworkPolicyParams) WithHTTPClient ¶
func (o *CreateNetworkPolicyParams) WithHTTPClient(client *http.Client) *CreateNetworkPolicyParams
WithHTTPClient adds the HTTPClient to the create network policy params
func (*CreateNetworkPolicyParams) WithNetworkPolicyStackID ¶
func (o *CreateNetworkPolicyParams) WithNetworkPolicyStackID(networkPolicyStackID string) *CreateNetworkPolicyParams
WithNetworkPolicyStackID adds the networkPolicyStackID to the create network policy params
func (*CreateNetworkPolicyParams) WithTimeout ¶
func (o *CreateNetworkPolicyParams) WithTimeout(timeout time.Duration) *CreateNetworkPolicyParams
WithTimeout adds the timeout to the create network policy params
func (*CreateNetworkPolicyParams) WriteToRequest ¶
func (o *CreateNetworkPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNetworkPolicyReader ¶
type CreateNetworkPolicyReader struct {
// contains filtered or unexported fields
}
CreateNetworkPolicyReader is a Reader for the CreateNetworkPolicy structure.
func (*CreateNetworkPolicyReader) ReadResponse ¶
func (o *CreateNetworkPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateNetworkPolicyUnauthorized ¶
type CreateNetworkPolicyUnauthorized struct {
}
CreateNetworkPolicyUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewCreateNetworkPolicyUnauthorized ¶
func NewCreateNetworkPolicyUnauthorized() *CreateNetworkPolicyUnauthorized
NewCreateNetworkPolicyUnauthorized creates a CreateNetworkPolicyUnauthorized with default headers values
func (*CreateNetworkPolicyUnauthorized) Error ¶
func (o *CreateNetworkPolicyUnauthorized) Error() string
type CreateWorkloadBadRequest ¶
type CreateWorkloadBadRequest struct {
Payload *models.StackpathapiStatus
}
CreateWorkloadBadRequest handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewCreateWorkloadBadRequest ¶
func NewCreateWorkloadBadRequest() *CreateWorkloadBadRequest
func (*CreateWorkloadBadRequest) Error ¶
func (o *CreateWorkloadBadRequest) Error() string
type CreateWorkloadDefault ¶
type CreateWorkloadDefault struct {
Payload *models.StackpathapiStatus
// contains filtered or unexported fields
}
CreateWorkloadDefault handles this case with default header values.
Default error structure.
func NewCreateWorkloadDefault ¶
func NewCreateWorkloadDefault(code int) *CreateWorkloadDefault
NewCreateWorkloadDefault creates a CreateWorkloadDefault with default headers values
func (*CreateWorkloadDefault) Code ¶
func (o *CreateWorkloadDefault) Code() int
Code gets the status code for the create workload default response
func (*CreateWorkloadDefault) Error ¶
func (o *CreateWorkloadDefault) Error() string
type CreateWorkloadInternalServerError ¶
type CreateWorkloadInternalServerError struct {
Payload *models.StackpathapiStatus
}
CreateWorkloadInternalServerError handles this case with default header values.
Internal server error.
func NewCreateWorkloadInternalServerError ¶
func NewCreateWorkloadInternalServerError() *CreateWorkloadInternalServerError
NewCreateWorkloadInternalServerError creates a CreateWorkloadInternalServerError with default headers values
func (*CreateWorkloadInternalServerError) Error ¶
func (o *CreateWorkloadInternalServerError) Error() string
type CreateWorkloadOK ¶
type CreateWorkloadOK struct {
Payload *models.V1CreateWorkloadResponse
}
CreateWorkloadOK handles this case with default header values.
CreateWorkloadOK create workload Ok
func NewCreateWorkloadOK ¶
func NewCreateWorkloadOK() *CreateWorkloadOK
NewCreateWorkloadOK creates a CreateWorkloadOK with default headers values
func (*CreateWorkloadOK) Error ¶
func (o *CreateWorkloadOK) Error() string
type CreateWorkloadParams ¶
type CreateWorkloadParams struct {
/*Body*/
Body *models.V1CreateWorkloadRequest
/*StackID
The ID of the stack to create the workload in
*/
StackID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateWorkloadParams contains all the parameters to send to the API endpoint for the create workload operation typically these are written to a http.Request
func NewCreateWorkloadParams ¶
func NewCreateWorkloadParams() *CreateWorkloadParams
NewCreateWorkloadParams creates a new CreateWorkloadParams object with the default values initialized.
func NewCreateWorkloadParamsWithContext ¶
func NewCreateWorkloadParamsWithContext(ctx context.Context) *CreateWorkloadParams
NewCreateWorkloadParamsWithContext creates a new CreateWorkloadParams object with the default values initialized, and the ability to set a context for a request
func NewCreateWorkloadParamsWithHTTPClient ¶
func NewCreateWorkloadParamsWithHTTPClient(client *http.Client) *CreateWorkloadParams
NewCreateWorkloadParamsWithHTTPClient creates a new CreateWorkloadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateWorkloadParamsWithTimeout ¶
func NewCreateWorkloadParamsWithTimeout(timeout time.Duration) *CreateWorkloadParams
NewCreateWorkloadParamsWithTimeout creates a new CreateWorkloadParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateWorkloadParams) SetBody ¶
func (o *CreateWorkloadParams) SetBody(body *models.V1CreateWorkloadRequest)
SetBody adds the body to the create workload params
func (*CreateWorkloadParams) SetContext ¶
func (o *CreateWorkloadParams) SetContext(ctx context.Context)
SetContext adds the context to the create workload params
func (*CreateWorkloadParams) SetHTTPClient ¶
func (o *CreateWorkloadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create workload params
func (*CreateWorkloadParams) SetStackID ¶
func (o *CreateWorkloadParams) SetStackID(stackID string)
SetStackID adds the stackId to the create workload params
func (*CreateWorkloadParams) SetTimeout ¶
func (o *CreateWorkloadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create workload params
func (*CreateWorkloadParams) WithBody ¶
func (o *CreateWorkloadParams) WithBody(body *models.V1CreateWorkloadRequest) *CreateWorkloadParams
WithBody adds the body to the create workload params
func (*CreateWorkloadParams) WithContext ¶
func (o *CreateWorkloadParams) WithContext(ctx context.Context) *CreateWorkloadParams
WithContext adds the context to the create workload params
func (*CreateWorkloadParams) WithHTTPClient ¶
func (o *CreateWorkloadParams) WithHTTPClient(client *http.Client) *CreateWorkloadParams
WithHTTPClient adds the HTTPClient to the create workload params
func (*CreateWorkloadParams) WithStackID ¶
func (o *CreateWorkloadParams) WithStackID(stackID string) *CreateWorkloadParams
WithStackID adds the stackID to the create workload params
func (*CreateWorkloadParams) WithTimeout ¶
func (o *CreateWorkloadParams) WithTimeout(timeout time.Duration) *CreateWorkloadParams
WithTimeout adds the timeout to the create workload params
func (*CreateWorkloadParams) WriteToRequest ¶
func (o *CreateWorkloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateWorkloadReader ¶
type CreateWorkloadReader struct {
// contains filtered or unexported fields
}
CreateWorkloadReader is a Reader for the CreateWorkload structure.
func (*CreateWorkloadReader) ReadResponse ¶
func (o *CreateWorkloadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateWorkloadUnauthorized ¶
type CreateWorkloadUnauthorized struct {
}
CreateWorkloadUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewCreateWorkloadUnauthorized ¶
func NewCreateWorkloadUnauthorized() *CreateWorkloadUnauthorized
NewCreateWorkloadUnauthorized creates a CreateWorkloadUnauthorized with default headers values
func (*CreateWorkloadUnauthorized) Error ¶
func (o *CreateWorkloadUnauthorized) Error() string
type DeleteNetworkPolicyDefault ¶
type DeleteNetworkPolicyDefault struct {
Payload *models.StackpathapiStatus
// contains filtered or unexported fields
}
DeleteNetworkPolicyDefault handles this case with default header values.
Default error structure.
func NewDeleteNetworkPolicyDefault ¶
func NewDeleteNetworkPolicyDefault(code int) *DeleteNetworkPolicyDefault
NewDeleteNetworkPolicyDefault creates a DeleteNetworkPolicyDefault with default headers values
func (*DeleteNetworkPolicyDefault) Code ¶
func (o *DeleteNetworkPolicyDefault) Code() int
Code gets the status code for the delete network policy default response
func (*DeleteNetworkPolicyDefault) Error ¶
func (o *DeleteNetworkPolicyDefault) Error() string
type DeleteNetworkPolicyInternalServerError ¶
type DeleteNetworkPolicyInternalServerError struct {
Payload *models.StackpathapiStatus
}
DeleteNetworkPolicyInternalServerError handles this case with default header values.
Internal server error.
func NewDeleteNetworkPolicyInternalServerError ¶
func NewDeleteNetworkPolicyInternalServerError() *DeleteNetworkPolicyInternalServerError
NewDeleteNetworkPolicyInternalServerError creates a DeleteNetworkPolicyInternalServerError with default headers values
func (*DeleteNetworkPolicyInternalServerError) Error ¶
func (o *DeleteNetworkPolicyInternalServerError) Error() string
type DeleteNetworkPolicyNoContent ¶
type DeleteNetworkPolicyNoContent struct {
}
DeleteNetworkPolicyNoContent handles this case with default header values.
No content
func NewDeleteNetworkPolicyNoContent ¶
func NewDeleteNetworkPolicyNoContent() *DeleteNetworkPolicyNoContent
NewDeleteNetworkPolicyNoContent creates a DeleteNetworkPolicyNoContent with default headers values
func (*DeleteNetworkPolicyNoContent) Error ¶
func (o *DeleteNetworkPolicyNoContent) Error() string
type DeleteNetworkPolicyParams ¶
type DeleteNetworkPolicyParams struct {
/*NetworkPolicyID
The ID of the network policy to delete
*/
NetworkPolicyID string
/*StackID
The ID of the stack containing the network policy to delete
*/
StackID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteNetworkPolicyParams contains all the parameters to send to the API endpoint for the delete network policy operation typically these are written to a http.Request
func NewDeleteNetworkPolicyParams ¶
func NewDeleteNetworkPolicyParams() *DeleteNetworkPolicyParams
NewDeleteNetworkPolicyParams creates a new DeleteNetworkPolicyParams object with the default values initialized.
func NewDeleteNetworkPolicyParamsWithContext ¶
func NewDeleteNetworkPolicyParamsWithContext(ctx context.Context) *DeleteNetworkPolicyParams
NewDeleteNetworkPolicyParamsWithContext creates a new DeleteNetworkPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteNetworkPolicyParamsWithHTTPClient ¶
func NewDeleteNetworkPolicyParamsWithHTTPClient(client *http.Client) *DeleteNetworkPolicyParams
NewDeleteNetworkPolicyParamsWithHTTPClient creates a new DeleteNetworkPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteNetworkPolicyParamsWithTimeout ¶
func NewDeleteNetworkPolicyParamsWithTimeout(timeout time.Duration) *DeleteNetworkPolicyParams
NewDeleteNetworkPolicyParamsWithTimeout creates a new DeleteNetworkPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteNetworkPolicyParams) SetContext ¶
func (o *DeleteNetworkPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete network policy params
func (*DeleteNetworkPolicyParams) SetHTTPClient ¶
func (o *DeleteNetworkPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete network policy params
func (*DeleteNetworkPolicyParams) SetNetworkPolicyID ¶
func (o *DeleteNetworkPolicyParams) SetNetworkPolicyID(networkPolicyID string)
SetNetworkPolicyID adds the networkPolicyId to the delete network policy params
func (*DeleteNetworkPolicyParams) SetStackID ¶
func (o *DeleteNetworkPolicyParams) SetStackID(stackID string)
SetStackID adds the stackId to the delete network policy params
func (*DeleteNetworkPolicyParams) SetTimeout ¶
func (o *DeleteNetworkPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete network policy params
func (*DeleteNetworkPolicyParams) WithContext ¶
func (o *DeleteNetworkPolicyParams) WithContext(ctx context.Context) *DeleteNetworkPolicyParams
WithContext adds the context to the delete network policy params
func (*DeleteNetworkPolicyParams) WithHTTPClient ¶
func (o *DeleteNetworkPolicyParams) WithHTTPClient(client *http.Client) *DeleteNetworkPolicyParams
WithHTTPClient adds the HTTPClient to the delete network policy params
func (*DeleteNetworkPolicyParams) WithNetworkPolicyID ¶
func (o *DeleteNetworkPolicyParams) WithNetworkPolicyID(networkPolicyID string) *DeleteNetworkPolicyParams
WithNetworkPolicyID adds the networkPolicyID to the delete network policy params
func (*DeleteNetworkPolicyParams) WithStackID ¶
func (o *DeleteNetworkPolicyParams) WithStackID(stackID string) *DeleteNetworkPolicyParams
WithStackID adds the stackID to the delete network policy params
func (*DeleteNetworkPolicyParams) WithTimeout ¶
func (o *DeleteNetworkPolicyParams) WithTimeout(timeout time.Duration) *DeleteNetworkPolicyParams
WithTimeout adds the timeout to the delete network policy params
func (*DeleteNetworkPolicyParams) WriteToRequest ¶
func (o *DeleteNetworkPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkPolicyReader ¶
type DeleteNetworkPolicyReader struct {
// contains filtered or unexported fields
}
DeleteNetworkPolicyReader is a Reader for the DeleteNetworkPolicy structure.
func (*DeleteNetworkPolicyReader) ReadResponse ¶
func (o *DeleteNetworkPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkPolicyUnauthorized ¶
type DeleteNetworkPolicyUnauthorized struct {
}
DeleteNetworkPolicyUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewDeleteNetworkPolicyUnauthorized ¶
func NewDeleteNetworkPolicyUnauthorized() *DeleteNetworkPolicyUnauthorized
NewDeleteNetworkPolicyUnauthorized creates a DeleteNetworkPolicyUnauthorized with default headers values
func (*DeleteNetworkPolicyUnauthorized) Error ¶
func (o *DeleteNetworkPolicyUnauthorized) Error() string
type DeleteWorkloadDefault ¶
type DeleteWorkloadDefault struct {
Payload *models.StackpathapiStatus
// contains filtered or unexported fields
}
DeleteWorkloadDefault handles this case with default header values.
Default error structure.
func NewDeleteWorkloadDefault ¶
func NewDeleteWorkloadDefault(code int) *DeleteWorkloadDefault
NewDeleteWorkloadDefault creates a DeleteWorkloadDefault with default headers values
func (*DeleteWorkloadDefault) Code ¶
func (o *DeleteWorkloadDefault) Code() int
Code gets the status code for the delete workload default response
func (*DeleteWorkloadDefault) Error ¶
func (o *DeleteWorkloadDefault) Error() string
type DeleteWorkloadInternalServerError ¶
type DeleteWorkloadInternalServerError struct {
Payload *models.StackpathapiStatus
}
DeleteWorkloadInternalServerError handles this case with default header values.
Internal server error.
func NewDeleteWorkloadInternalServerError ¶
func NewDeleteWorkloadInternalServerError() *DeleteWorkloadInternalServerError
NewDeleteWorkloadInternalServerError creates a DeleteWorkloadInternalServerError with default headers values
func (*DeleteWorkloadInternalServerError) Error ¶
func (o *DeleteWorkloadInternalServerError) Error() string
type DeleteWorkloadNoContent ¶
type DeleteWorkloadNoContent struct {
}
DeleteWorkloadNoContent handles this case with default header values.
No content
func NewDeleteWorkloadNoContent ¶
func NewDeleteWorkloadNoContent() *DeleteWorkloadNoContent
NewDeleteWorkloadNoContent creates a DeleteWorkloadNoContent with default headers values
func (*DeleteWorkloadNoContent) Error ¶
func (o *DeleteWorkloadNoContent) Error() string
type DeleteWorkloadParams ¶
type DeleteWorkloadParams struct {
/*StackID
The ID of the stack containing the workload to delete
*/
StackID string
/*WorkloadID
The ID of the workload to delete
*/
WorkloadID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteWorkloadParams contains all the parameters to send to the API endpoint for the delete workload operation typically these are written to a http.Request
func NewDeleteWorkloadParams ¶
func NewDeleteWorkloadParams() *DeleteWorkloadParams
NewDeleteWorkloadParams creates a new DeleteWorkloadParams object with the default values initialized.
func NewDeleteWorkloadParamsWithContext ¶
func NewDeleteWorkloadParamsWithContext(ctx context.Context) *DeleteWorkloadParams
NewDeleteWorkloadParamsWithContext creates a new DeleteWorkloadParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteWorkloadParamsWithHTTPClient ¶
func NewDeleteWorkloadParamsWithHTTPClient(client *http.Client) *DeleteWorkloadParams
NewDeleteWorkloadParamsWithHTTPClient creates a new DeleteWorkloadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteWorkloadParamsWithTimeout ¶
func NewDeleteWorkloadParamsWithTimeout(timeout time.Duration) *DeleteWorkloadParams
NewDeleteWorkloadParamsWithTimeout creates a new DeleteWorkloadParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteWorkloadParams) SetContext ¶
func (o *DeleteWorkloadParams) SetContext(ctx context.Context)
SetContext adds the context to the delete workload params
func (*DeleteWorkloadParams) SetHTTPClient ¶
func (o *DeleteWorkloadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete workload params
func (*DeleteWorkloadParams) SetStackID ¶
func (o *DeleteWorkloadParams) SetStackID(stackID string)
SetStackID adds the stackId to the delete workload params
func (*DeleteWorkloadParams) SetTimeout ¶
func (o *DeleteWorkloadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete workload params
func (*DeleteWorkloadParams) SetWorkloadID ¶
func (o *DeleteWorkloadParams) SetWorkloadID(workloadID string)
SetWorkloadID adds the workloadId to the delete workload params
func (*DeleteWorkloadParams) WithContext ¶
func (o *DeleteWorkloadParams) WithContext(ctx context.Context) *DeleteWorkloadParams
WithContext adds the context to the delete workload params
func (*DeleteWorkloadParams) WithHTTPClient ¶
func (o *DeleteWorkloadParams) WithHTTPClient(client *http.Client) *DeleteWorkloadParams
WithHTTPClient adds the HTTPClient to the delete workload params
func (*DeleteWorkloadParams) WithStackID ¶
func (o *DeleteWorkloadParams) WithStackID(stackID string) *DeleteWorkloadParams
WithStackID adds the stackID to the delete workload params
func (*DeleteWorkloadParams) WithTimeout ¶
func (o *DeleteWorkloadParams) WithTimeout(timeout time.Duration) *DeleteWorkloadParams
WithTimeout adds the timeout to the delete workload params
func (*DeleteWorkloadParams) WithWorkloadID ¶
func (o *DeleteWorkloadParams) WithWorkloadID(workloadID string) *DeleteWorkloadParams
WithWorkloadID adds the workloadID to the delete workload params
func (*DeleteWorkloadParams) WriteToRequest ¶
func (o *DeleteWorkloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteWorkloadReader ¶
type DeleteWorkloadReader struct {
// contains filtered or unexported fields
}
DeleteWorkloadReader is a Reader for the DeleteWorkload structure.
func (*DeleteWorkloadReader) ReadResponse ¶
func (o *DeleteWorkloadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteWorkloadUnauthorized ¶
type DeleteWorkloadUnauthorized struct {
}
DeleteWorkloadUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewDeleteWorkloadUnauthorized ¶
func NewDeleteWorkloadUnauthorized() *DeleteWorkloadUnauthorized
NewDeleteWorkloadUnauthorized creates a DeleteWorkloadUnauthorized with default headers values
func (*DeleteWorkloadUnauthorized) Error ¶
func (o *DeleteWorkloadUnauthorized) Error() string
type GetLocationsDefault ¶
type GetLocationsDefault struct {
Payload *models.StackpathapiStatus
// contains filtered or unexported fields
}
GetLocationsDefault handles this case with default header values.
Default error structure.
func NewGetLocationsDefault ¶
func NewGetLocationsDefault(code int) *GetLocationsDefault
NewGetLocationsDefault creates a GetLocationsDefault with default headers values
func (*GetLocationsDefault) Code ¶
func (o *GetLocationsDefault) Code() int
Code gets the status code for the get locations default response
func (*GetLocationsDefault) Error ¶
func (o *GetLocationsDefault) Error() string
type GetLocationsInternalServerError ¶
type GetLocationsInternalServerError struct {
Payload *models.StackpathapiStatus
}
GetLocationsInternalServerError handles this case with default header values.
Internal server error.
func NewGetLocationsInternalServerError ¶
func NewGetLocationsInternalServerError() *GetLocationsInternalServerError
NewGetLocationsInternalServerError creates a GetLocationsInternalServerError with default headers values
func (*GetLocationsInternalServerError) Error ¶
func (o *GetLocationsInternalServerError) Error() string
type GetLocationsOK ¶
type GetLocationsOK struct {
Payload *models.V1GetLocationsResponse
}
GetLocationsOK handles this case with default header values.
GetLocationsOK get locations Ok
func NewGetLocationsOK ¶
func NewGetLocationsOK() *GetLocationsOK
NewGetLocationsOK creates a GetLocationsOK with default headers values
func (*GetLocationsOK) Error ¶
func (o *GetLocationsOK) Error() string
type GetLocationsParams ¶
type GetLocationsParams struct {
/*PageRequestAfter
The cursor value after which data will be returned.
*/
PageRequestAfter *string
/*PageRequestFilter
SQL-style constraint filters.
*/
PageRequestFilter *string
/*PageRequestFirst
The number of items desired.
*/
PageRequestFirst *string
/*PageRequestSortBy
Sort the response by the given field.
*/
PageRequestSortBy *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetLocationsParams contains all the parameters to send to the API endpoint for the get locations operation typically these are written to a http.Request
func NewGetLocationsParams ¶
func NewGetLocationsParams() *GetLocationsParams
NewGetLocationsParams creates a new GetLocationsParams object with the default values initialized.
func NewGetLocationsParamsWithContext ¶
func NewGetLocationsParamsWithContext(ctx context.Context) *GetLocationsParams
NewGetLocationsParamsWithContext creates a new GetLocationsParams object with the default values initialized, and the ability to set a context for a request
func NewGetLocationsParamsWithHTTPClient ¶
func NewGetLocationsParamsWithHTTPClient(client *http.Client) *GetLocationsParams
NewGetLocationsParamsWithHTTPClient creates a new GetLocationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLocationsParamsWithTimeout ¶
func NewGetLocationsParamsWithTimeout(timeout time.Duration) *GetLocationsParams
NewGetLocationsParamsWithTimeout creates a new GetLocationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetLocationsParams) SetContext ¶
func (o *GetLocationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get locations params
func (*GetLocationsParams) SetHTTPClient ¶
func (o *GetLocationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get locations params
func (*GetLocationsParams) SetPageRequestAfter ¶
func (o *GetLocationsParams) SetPageRequestAfter(pageRequestAfter *string)
SetPageRequestAfter adds the pageRequestAfter to the get locations params
func (*GetLocationsParams) SetPageRequestFilter ¶
func (o *GetLocationsParams) SetPageRequestFilter(pageRequestFilter *string)
SetPageRequestFilter adds the pageRequestFilter to the get locations params
func (*GetLocationsParams) SetPageRequestFirst ¶
func (o *GetLocationsParams) SetPageRequestFirst(pageRequestFirst *string)
SetPageRequestFirst adds the pageRequestFirst to the get locations params
func (*GetLocationsParams) SetPageRequestSortBy ¶
func (o *GetLocationsParams) SetPageRequestSortBy(pageRequestSortBy *string)
SetPageRequestSortBy adds the pageRequestSortBy to the get locations params
func (*GetLocationsParams) SetTimeout ¶
func (o *GetLocationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get locations params
func (*GetLocationsParams) WithContext ¶
func (o *GetLocationsParams) WithContext(ctx context.Context) *GetLocationsParams
WithContext adds the context to the get locations params
func (*GetLocationsParams) WithHTTPClient ¶
func (o *GetLocationsParams) WithHTTPClient(client *http.Client) *GetLocationsParams
WithHTTPClient adds the HTTPClient to the get locations params
func (*GetLocationsParams) WithPageRequestAfter ¶
func (o *GetLocationsParams) WithPageRequestAfter(pageRequestAfter *string) *GetLocationsParams
WithPageRequestAfter adds the pageRequestAfter to the get locations params
func (*GetLocationsParams) WithPageRequestFilter ¶
func (o *GetLocationsParams) WithPageRequestFilter(pageRequestFilter *string) *GetLocationsParams
WithPageRequestFilter adds the pageRequestFilter to the get locations params
func (*GetLocationsParams) WithPageRequestFirst ¶
func (o *GetLocationsParams) WithPageRequestFirst(pageRequestFirst *string) *GetLocationsParams
WithPageRequestFirst adds the pageRequestFirst to the get locations params
func (*GetLocationsParams) WithPageRequestSortBy ¶
func (o *GetLocationsParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetLocationsParams
WithPageRequestSortBy adds the pageRequestSortBy to the get locations params
func (*GetLocationsParams) WithTimeout ¶
func (o *GetLocationsParams) WithTimeout(timeout time.Duration) *GetLocationsParams
WithTimeout adds the timeout to the get locations params
func (*GetLocationsParams) WriteToRequest ¶
func (o *GetLocationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLocationsReader ¶
type GetLocationsReader struct {
// contains filtered or unexported fields
}
GetLocationsReader is a Reader for the GetLocations structure.
func (*GetLocationsReader) ReadResponse ¶
func (o *GetLocationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLocationsUnauthorized ¶
type GetLocationsUnauthorized struct {
}
GetLocationsUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewGetLocationsUnauthorized ¶
func NewGetLocationsUnauthorized() *GetLocationsUnauthorized
NewGetLocationsUnauthorized creates a GetLocationsUnauthorized with default headers values
func (*GetLocationsUnauthorized) Error ¶
func (o *GetLocationsUnauthorized) Error() string
type GetNetworkPoliciesDefault ¶
type GetNetworkPoliciesDefault struct {
Payload *models.StackpathapiStatus
// contains filtered or unexported fields
}
GetNetworkPoliciesDefault handles this case with default header values.
Default error structure.
func NewGetNetworkPoliciesDefault ¶
func NewGetNetworkPoliciesDefault(code int) *GetNetworkPoliciesDefault
NewGetNetworkPoliciesDefault creates a GetNetworkPoliciesDefault with default headers values
func (*GetNetworkPoliciesDefault) Code ¶
func (o *GetNetworkPoliciesDefault) Code() int
Code gets the status code for the get network policies default response
func (*GetNetworkPoliciesDefault) Error ¶
func (o *GetNetworkPoliciesDefault) Error() string
type GetNetworkPoliciesInternalServerError ¶
type GetNetworkPoliciesInternalServerError struct {
Payload *models.StackpathapiStatus
}
GetNetworkPoliciesInternalServerError handles this case with default header values.
Internal server error.
func NewGetNetworkPoliciesInternalServerError ¶
func NewGetNetworkPoliciesInternalServerError() *GetNetworkPoliciesInternalServerError
NewGetNetworkPoliciesInternalServerError creates a GetNetworkPoliciesInternalServerError with default headers values
func (*GetNetworkPoliciesInternalServerError) Error ¶
func (o *GetNetworkPoliciesInternalServerError) Error() string
type GetNetworkPoliciesOK ¶
type GetNetworkPoliciesOK struct {
Payload *models.V1GetNetworkPoliciesResponse
}
GetNetworkPoliciesOK handles this case with default header values.
GetNetworkPoliciesOK get network policies o k
func NewGetNetworkPoliciesOK ¶
func NewGetNetworkPoliciesOK() *GetNetworkPoliciesOK
NewGetNetworkPoliciesOK creates a GetNetworkPoliciesOK with default headers values
func (*GetNetworkPoliciesOK) Error ¶
func (o *GetNetworkPoliciesOK) Error() string
type GetNetworkPoliciesParams ¶
type GetNetworkPoliciesParams struct {
/*PageRequestAfter
The cursor value after which data will be returned.
*/
PageRequestAfter *string
/*PageRequestFilter
SQL-style constraint filters.
*/
PageRequestFilter *string
/*PageRequestFirst
The number of items desired.
*/
PageRequestFirst *string
/*PageRequestSortBy
Sort the response by the given field.
*/
PageRequestSortBy *string
/*StackID
The ID of the stack to retrieve network policies from
*/
StackID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetNetworkPoliciesParams contains all the parameters to send to the API endpoint for the get network policies operation typically these are written to a http.Request
func NewGetNetworkPoliciesParams ¶
func NewGetNetworkPoliciesParams() *GetNetworkPoliciesParams
NewGetNetworkPoliciesParams creates a new GetNetworkPoliciesParams object with the default values initialized.
func NewGetNetworkPoliciesParamsWithContext ¶
func NewGetNetworkPoliciesParamsWithContext(ctx context.Context) *GetNetworkPoliciesParams
NewGetNetworkPoliciesParamsWithContext creates a new GetNetworkPoliciesParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkPoliciesParamsWithHTTPClient ¶
func NewGetNetworkPoliciesParamsWithHTTPClient(client *http.Client) *GetNetworkPoliciesParams
NewGetNetworkPoliciesParamsWithHTTPClient creates a new GetNetworkPoliciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkPoliciesParamsWithTimeout ¶
func NewGetNetworkPoliciesParamsWithTimeout(timeout time.Duration) *GetNetworkPoliciesParams
NewGetNetworkPoliciesParamsWithTimeout creates a new GetNetworkPoliciesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkPoliciesParams) SetContext ¶
func (o *GetNetworkPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the get network policies params
func (*GetNetworkPoliciesParams) SetHTTPClient ¶
func (o *GetNetworkPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network policies params
func (*GetNetworkPoliciesParams) SetPageRequestAfter ¶
func (o *GetNetworkPoliciesParams) SetPageRequestAfter(pageRequestAfter *string)
SetPageRequestAfter adds the pageRequestAfter to the get network policies params
func (*GetNetworkPoliciesParams) SetPageRequestFilter ¶
func (o *GetNetworkPoliciesParams) SetPageRequestFilter(pageRequestFilter *string)
SetPageRequestFilter adds the pageRequestFilter to the get network policies params
func (*GetNetworkPoliciesParams) SetPageRequestFirst ¶
func (o *GetNetworkPoliciesParams) SetPageRequestFirst(pageRequestFirst *string)
SetPageRequestFirst adds the pageRequestFirst to the get network policies params
func (*GetNetworkPoliciesParams) SetPageRequestSortBy ¶
func (o *GetNetworkPoliciesParams) SetPageRequestSortBy(pageRequestSortBy *string)
SetPageRequestSortBy adds the pageRequestSortBy to the get network policies params
func (*GetNetworkPoliciesParams) SetStackID ¶
func (o *GetNetworkPoliciesParams) SetStackID(stackID string)
SetStackID adds the stackId to the get network policies params
func (*GetNetworkPoliciesParams) SetTimeout ¶
func (o *GetNetworkPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network policies params
func (*GetNetworkPoliciesParams) WithContext ¶
func (o *GetNetworkPoliciesParams) WithContext(ctx context.Context) *GetNetworkPoliciesParams
WithContext adds the context to the get network policies params
func (*GetNetworkPoliciesParams) WithHTTPClient ¶
func (o *GetNetworkPoliciesParams) WithHTTPClient(client *http.Client) *GetNetworkPoliciesParams
WithHTTPClient adds the HTTPClient to the get network policies params
func (*GetNetworkPoliciesParams) WithPageRequestAfter ¶
func (o *GetNetworkPoliciesParams) WithPageRequestAfter(pageRequestAfter *string) *GetNetworkPoliciesParams
WithPageRequestAfter adds the pageRequestAfter to the get network policies params
func (*GetNetworkPoliciesParams) WithPageRequestFilter ¶
func (o *GetNetworkPoliciesParams) WithPageRequestFilter(pageRequestFilter *string) *GetNetworkPoliciesParams
WithPageRequestFilter adds the pageRequestFilter to the get network policies params
func (*GetNetworkPoliciesParams) WithPageRequestFirst ¶
func (o *GetNetworkPoliciesParams) WithPageRequestFirst(pageRequestFirst *string) *GetNetworkPoliciesParams
WithPageRequestFirst adds the pageRequestFirst to the get network policies params
func (*GetNetworkPoliciesParams) WithPageRequestSortBy ¶
func (o *GetNetworkPoliciesParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetNetworkPoliciesParams
WithPageRequestSortBy adds the pageRequestSortBy to the get network policies params
func (*GetNetworkPoliciesParams) WithStackID ¶
func (o *GetNetworkPoliciesParams) WithStackID(stackID string) *GetNetworkPoliciesParams
WithStackID adds the stackID to the get network policies params
func (*GetNetworkPoliciesParams) WithTimeout ¶
func (o *GetNetworkPoliciesParams) WithTimeout(timeout time.Duration) *GetNetworkPoliciesParams
WithTimeout adds the timeout to the get network policies params
func (*GetNetworkPoliciesParams) WriteToRequest ¶
func (o *GetNetworkPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkPoliciesReader ¶
type GetNetworkPoliciesReader struct {
// contains filtered or unexported fields
}
GetNetworkPoliciesReader is a Reader for the GetNetworkPolicies structure.
func (*GetNetworkPoliciesReader) ReadResponse ¶
func (o *GetNetworkPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkPoliciesUnauthorized ¶
type GetNetworkPoliciesUnauthorized struct {
}
GetNetworkPoliciesUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewGetNetworkPoliciesUnauthorized ¶
func NewGetNetworkPoliciesUnauthorized() *GetNetworkPoliciesUnauthorized
NewGetNetworkPoliciesUnauthorized creates a GetNetworkPoliciesUnauthorized with default headers values
func (*GetNetworkPoliciesUnauthorized) Error ¶
func (o *GetNetworkPoliciesUnauthorized) Error() string
type GetNetworkPolicyDefault ¶
type GetNetworkPolicyDefault struct {
Payload *models.StackpathapiStatus
// contains filtered or unexported fields
}
GetNetworkPolicyDefault handles this case with default header values.
Default error structure.
func NewGetNetworkPolicyDefault ¶
func NewGetNetworkPolicyDefault(code int) *GetNetworkPolicyDefault
NewGetNetworkPolicyDefault creates a GetNetworkPolicyDefault with default headers values
func (*GetNetworkPolicyDefault) Code ¶
func (o *GetNetworkPolicyDefault) Code() int
Code gets the status code for the get network policy default response
func (*GetNetworkPolicyDefault) Error ¶
func (o *GetNetworkPolicyDefault) Error() string
type GetNetworkPolicyInternalServerError ¶
type GetNetworkPolicyInternalServerError struct {
Payload *models.StackpathapiStatus
}
GetNetworkPolicyInternalServerError handles this case with default header values.
Internal server error.
func NewGetNetworkPolicyInternalServerError ¶
func NewGetNetworkPolicyInternalServerError() *GetNetworkPolicyInternalServerError
NewGetNetworkPolicyInternalServerError creates a GetNetworkPolicyInternalServerError with default headers values
func (*GetNetworkPolicyInternalServerError) Error ¶
func (o *GetNetworkPolicyInternalServerError) Error() string
type GetNetworkPolicyOK ¶
type GetNetworkPolicyOK struct {
Payload *models.V1GetNetworkPolicyResponse
}
GetNetworkPolicyOK handles this case with default header values.
GetNetworkPolicyOK get network policy o k
func NewGetNetworkPolicyOK ¶
func NewGetNetworkPolicyOK() *GetNetworkPolicyOK
NewGetNetworkPolicyOK creates a GetNetworkPolicyOK with default headers values
func (*GetNetworkPolicyOK) Error ¶
func (o *GetNetworkPolicyOK) Error() string
type GetNetworkPolicyParams ¶
type GetNetworkPolicyParams struct {
/*NetworkPolicyID
The ID the network policy to retrieve
*/
NetworkPolicyID string
/*StackID
The ID of the stack containing the network policy to retrieve
*/
StackID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetNetworkPolicyParams contains all the parameters to send to the API endpoint for the get network policy operation typically these are written to a http.Request
func NewGetNetworkPolicyParams ¶
func NewGetNetworkPolicyParams() *GetNetworkPolicyParams
NewGetNetworkPolicyParams creates a new GetNetworkPolicyParams object with the default values initialized.
func NewGetNetworkPolicyParamsWithContext ¶
func NewGetNetworkPolicyParamsWithContext(ctx context.Context) *GetNetworkPolicyParams
NewGetNetworkPolicyParamsWithContext creates a new GetNetworkPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkPolicyParamsWithHTTPClient ¶
func NewGetNetworkPolicyParamsWithHTTPClient(client *http.Client) *GetNetworkPolicyParams
NewGetNetworkPolicyParamsWithHTTPClient creates a new GetNetworkPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkPolicyParamsWithTimeout ¶
func NewGetNetworkPolicyParamsWithTimeout(timeout time.Duration) *GetNetworkPolicyParams
NewGetNetworkPolicyParamsWithTimeout creates a new GetNetworkPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkPolicyParams) SetContext ¶
func (o *GetNetworkPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the get network policy params
func (*GetNetworkPolicyParams) SetHTTPClient ¶
func (o *GetNetworkPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network policy params
func (*GetNetworkPolicyParams) SetNetworkPolicyID ¶
func (o *GetNetworkPolicyParams) SetNetworkPolicyID(networkPolicyID string)
SetNetworkPolicyID adds the networkPolicyId to the get network policy params
func (*GetNetworkPolicyParams) SetStackID ¶
func (o *GetNetworkPolicyParams) SetStackID(stackID string)
SetStackID adds the stackId to the get network policy params
func (*GetNetworkPolicyParams) SetTimeout ¶
func (o *GetNetworkPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network policy params
func (*GetNetworkPolicyParams) WithContext ¶
func (o *GetNetworkPolicyParams) WithContext(ctx context.Context) *GetNetworkPolicyParams
WithContext adds the context to the get network policy params
func (*GetNetworkPolicyParams) WithHTTPClient ¶
func (o *GetNetworkPolicyParams) WithHTTPClient(client *http.Client) *GetNetworkPolicyParams
WithHTTPClient adds the HTTPClient to the get network policy params
func (*GetNetworkPolicyParams) WithNetworkPolicyID ¶
func (o *GetNetworkPolicyParams) WithNetworkPolicyID(networkPolicyID string) *GetNetworkPolicyParams
WithNetworkPolicyID adds the networkPolicyID to the get network policy params
func (*GetNetworkPolicyParams) WithStackID ¶
func (o *GetNetworkPolicyParams) WithStackID(stackID string) *GetNetworkPolicyParams
WithStackID adds the stackID to the get network policy params
func (*GetNetworkPolicyParams) WithTimeout ¶
func (o *GetNetworkPolicyParams) WithTimeout(timeout time.Duration) *GetNetworkPolicyParams
WithTimeout adds the timeout to the get network policy params
func (*GetNetworkPolicyParams) WriteToRequest ¶
func (o *GetNetworkPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkPolicyReader ¶
type GetNetworkPolicyReader struct {
// contains filtered or unexported fields
}
GetNetworkPolicyReader is a Reader for the GetNetworkPolicy structure.
func (*GetNetworkPolicyReader) ReadResponse ¶
func (o *GetNetworkPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkPolicyUnauthorized ¶
type GetNetworkPolicyUnauthorized struct {
}
GetNetworkPolicyUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewGetNetworkPolicyUnauthorized ¶
func NewGetNetworkPolicyUnauthorized() *GetNetworkPolicyUnauthorized
NewGetNetworkPolicyUnauthorized creates a GetNetworkPolicyUnauthorized with default headers values
func (*GetNetworkPolicyUnauthorized) Error ¶
func (o *GetNetworkPolicyUnauthorized) Error() string
type GetWorkloadDefault ¶
type GetWorkloadDefault struct {
Payload *models.StackpathapiStatus
// contains filtered or unexported fields
}
GetWorkloadDefault handles this case with default header values.
Default error structure.
func NewGetWorkloadDefault ¶
func NewGetWorkloadDefault(code int) *GetWorkloadDefault
NewGetWorkloadDefault creates a GetWorkloadDefault with default headers values
func (*GetWorkloadDefault) Code ¶
func (o *GetWorkloadDefault) Code() int
Code gets the status code for the get workload default response
func (*GetWorkloadDefault) Error ¶
func (o *GetWorkloadDefault) Error() string
type GetWorkloadInstancesDefault ¶
type GetWorkloadInstancesDefault struct {
Payload *models.StackpathapiStatus
// contains filtered or unexported fields
}
GetWorkloadInstancesDefault handles this case with default header values.
Default error structure.
func NewGetWorkloadInstancesDefault ¶
func NewGetWorkloadInstancesDefault(code int) *GetWorkloadInstancesDefault
NewGetWorkloadInstancesDefault creates a GetWorkloadInstancesDefault with default headers values
func (*GetWorkloadInstancesDefault) Code ¶
func (o *GetWorkloadInstancesDefault) Code() int
Code gets the status code for the get workload instances default response
func (*GetWorkloadInstancesDefault) Error ¶
func (o *GetWorkloadInstancesDefault) Error() string
type GetWorkloadInstancesInternalServerError ¶
type GetWorkloadInstancesInternalServerError struct {
Payload *models.StackpathapiStatus
}
GetWorkloadInstancesInternalServerError handles this case with default header values.
Internal server error.
func NewGetWorkloadInstancesInternalServerError ¶
func NewGetWorkloadInstancesInternalServerError() *GetWorkloadInstancesInternalServerError
NewGetWorkloadInstancesInternalServerError creates a GetWorkloadInstancesInternalServerError with default headers values
func (*GetWorkloadInstancesInternalServerError) Error ¶
func (o *GetWorkloadInstancesInternalServerError) Error() string
type GetWorkloadInstancesOK ¶
type GetWorkloadInstancesOK struct {
Payload *models.V1GetWorkloadInstancesResponse
}
GetWorkloadInstancesOK handles this case with default header values.
GetWorkloadInstancesOK get workload instances Ok
func NewGetWorkloadInstancesOK ¶
func NewGetWorkloadInstancesOK() *GetWorkloadInstancesOK
NewGetWorkloadInstancesOK creates a GetWorkloadInstancesOK with default headers values
func (*GetWorkloadInstancesOK) Error ¶
func (o *GetWorkloadInstancesOK) Error() string
type GetWorkloadInstancesParams ¶
type GetWorkloadInstancesParams struct {
/*PageRequestAfter
The cursor value after which data will be returned.
*/
PageRequestAfter *string
/*PageRequestFilter
SQL-style constraint filters.
*/
PageRequestFilter *string
/*PageRequestFirst
The number of items desired.
*/
PageRequestFirst *string
/*PageRequestSortBy
Sort the response by the given field.
*/
PageRequestSortBy *string
/*StackID
The ID of the stack containing the workload whose instances to retrieve
*/
StackID string
/*WorkloadID
The ID the workload whose instances to retrieve
*/
WorkloadID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetWorkloadInstancesParams contains all the parameters to send to the API endpoint for the get workload instances operation typically these are written to a http.Request
func NewGetWorkloadInstancesParams ¶
func NewGetWorkloadInstancesParams() *GetWorkloadInstancesParams
NewGetWorkloadInstancesParams creates a new GetWorkloadInstancesParams object with the default values initialized.
func NewGetWorkloadInstancesParamsWithContext ¶
func NewGetWorkloadInstancesParamsWithContext(ctx context.Context) *GetWorkloadInstancesParams
NewGetWorkloadInstancesParamsWithContext creates a new GetWorkloadInstancesParams object with the default values initialized, and the ability to set a context for a request
func NewGetWorkloadInstancesParamsWithHTTPClient ¶
func NewGetWorkloadInstancesParamsWithHTTPClient(client *http.Client) *GetWorkloadInstancesParams
NewGetWorkloadInstancesParamsWithHTTPClient creates a new GetWorkloadInstancesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWorkloadInstancesParamsWithTimeout ¶
func NewGetWorkloadInstancesParamsWithTimeout(timeout time.Duration) *GetWorkloadInstancesParams
NewGetWorkloadInstancesParamsWithTimeout creates a new GetWorkloadInstancesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWorkloadInstancesParams) SetContext ¶
func (o *GetWorkloadInstancesParams) SetContext(ctx context.Context)
SetContext adds the context to the get workload instances params
func (*GetWorkloadInstancesParams) SetHTTPClient ¶
func (o *GetWorkloadInstancesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workload instances params
func (*GetWorkloadInstancesParams) SetPageRequestAfter ¶
func (o *GetWorkloadInstancesParams) SetPageRequestAfter(pageRequestAfter *string)
SetPageRequestAfter adds the pageRequestAfter to the get workload instances params
func (*GetWorkloadInstancesParams) SetPageRequestFilter ¶
func (o *GetWorkloadInstancesParams) SetPageRequestFilter(pageRequestFilter *string)
SetPageRequestFilter adds the pageRequestFilter to the get workload instances params
func (*GetWorkloadInstancesParams) SetPageRequestFirst ¶
func (o *GetWorkloadInstancesParams) SetPageRequestFirst(pageRequestFirst *string)
SetPageRequestFirst adds the pageRequestFirst to the get workload instances params
func (*GetWorkloadInstancesParams) SetPageRequestSortBy ¶
func (o *GetWorkloadInstancesParams) SetPageRequestSortBy(pageRequestSortBy *string)
SetPageRequestSortBy adds the pageRequestSortBy to the get workload instances params
func (*GetWorkloadInstancesParams) SetStackID ¶
func (o *GetWorkloadInstancesParams) SetStackID(stackID string)
SetStackID adds the stackId to the get workload instances params
func (*GetWorkloadInstancesParams) SetTimeout ¶
func (o *GetWorkloadInstancesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workload instances params
func (*GetWorkloadInstancesParams) SetWorkloadID ¶
func (o *GetWorkloadInstancesParams) SetWorkloadID(workloadID string)
SetWorkloadID adds the workloadId to the get workload instances params
func (*GetWorkloadInstancesParams) WithContext ¶
func (o *GetWorkloadInstancesParams) WithContext(ctx context.Context) *GetWorkloadInstancesParams
WithContext adds the context to the get workload instances params
func (*GetWorkloadInstancesParams) WithHTTPClient ¶
func (o *GetWorkloadInstancesParams) WithHTTPClient(client *http.Client) *GetWorkloadInstancesParams
WithHTTPClient adds the HTTPClient to the get workload instances params
func (*GetWorkloadInstancesParams) WithPageRequestAfter ¶
func (o *GetWorkloadInstancesParams) WithPageRequestAfter(pageRequestAfter *string) *GetWorkloadInstancesParams
WithPageRequestAfter adds the pageRequestAfter to the get workload instances params
func (*GetWorkloadInstancesParams) WithPageRequestFilter ¶
func (o *GetWorkloadInstancesParams) WithPageRequestFilter(pageRequestFilter *string) *GetWorkloadInstancesParams
WithPageRequestFilter adds the pageRequestFilter to the get workload instances params
func (*GetWorkloadInstancesParams) WithPageRequestFirst ¶
func (o *GetWorkloadInstancesParams) WithPageRequestFirst(pageRequestFirst *string) *GetWorkloadInstancesParams
WithPageRequestFirst adds the pageRequestFirst to the get workload instances params
func (*GetWorkloadInstancesParams) WithPageRequestSortBy ¶
func (o *GetWorkloadInstancesParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetWorkloadInstancesParams
WithPageRequestSortBy adds the pageRequestSortBy to the get workload instances params
func (*GetWorkloadInstancesParams) WithStackID ¶
func (o *GetWorkloadInstancesParams) WithStackID(stackID string) *GetWorkloadInstancesParams
WithStackID adds the stackID to the get workload instances params
func (*GetWorkloadInstancesParams) WithTimeout ¶
func (o *GetWorkloadInstancesParams) WithTimeout(timeout time.Duration) *GetWorkloadInstancesParams
WithTimeout adds the timeout to the get workload instances params
func (*GetWorkloadInstancesParams) WithWorkloadID ¶
func (o *GetWorkloadInstancesParams) WithWorkloadID(workloadID string) *GetWorkloadInstancesParams
WithWorkloadID adds the workloadID to the get workload instances params
func (*GetWorkloadInstancesParams) WriteToRequest ¶
func (o *GetWorkloadInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkloadInstancesReader ¶
type GetWorkloadInstancesReader struct {
// contains filtered or unexported fields
}
GetWorkloadInstancesReader is a Reader for the GetWorkloadInstances structure.
func (*GetWorkloadInstancesReader) ReadResponse ¶
func (o *GetWorkloadInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkloadInstancesUnauthorized ¶
type GetWorkloadInstancesUnauthorized struct {
}
GetWorkloadInstancesUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewGetWorkloadInstancesUnauthorized ¶
func NewGetWorkloadInstancesUnauthorized() *GetWorkloadInstancesUnauthorized
NewGetWorkloadInstancesUnauthorized creates a GetWorkloadInstancesUnauthorized with default headers values
func (*GetWorkloadInstancesUnauthorized) Error ¶
func (o *GetWorkloadInstancesUnauthorized) Error() string
type GetWorkloadInternalServerError ¶
type GetWorkloadInternalServerError struct {
Payload *models.StackpathapiStatus
}
GetWorkloadInternalServerError handles this case with default header values.
Internal server error.
func NewGetWorkloadInternalServerError ¶
func NewGetWorkloadInternalServerError() *GetWorkloadInternalServerError
NewGetWorkloadInternalServerError creates a GetWorkloadInternalServerError with default headers values
func (*GetWorkloadInternalServerError) Error ¶
func (o *GetWorkloadInternalServerError) Error() string
type GetWorkloadOK ¶
type GetWorkloadOK struct {
Payload *models.V1GetWorkloadResponse
}
GetWorkloadOK handles this case with default header values.
GetWorkloadOK get workload Ok
func NewGetWorkloadOK ¶
func NewGetWorkloadOK() *GetWorkloadOK
NewGetWorkloadOK creates a GetWorkloadOK with default headers values
func (*GetWorkloadOK) Error ¶
func (o *GetWorkloadOK) Error() string
type GetWorkloadParams ¶
type GetWorkloadParams struct {
/*StackID
The ID of the stack containing the workload to retrieve
*/
StackID string
/*WorkloadID
The ID the workload to retrieve
*/
WorkloadID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetWorkloadParams contains all the parameters to send to the API endpoint for the get workload operation typically these are written to a http.Request
func NewGetWorkloadParams ¶
func NewGetWorkloadParams() *GetWorkloadParams
NewGetWorkloadParams creates a new GetWorkloadParams object with the default values initialized.
func NewGetWorkloadParamsWithContext ¶
func NewGetWorkloadParamsWithContext(ctx context.Context) *GetWorkloadParams
NewGetWorkloadParamsWithContext creates a new GetWorkloadParams object with the default values initialized, and the ability to set a context for a request
func NewGetWorkloadParamsWithHTTPClient ¶
func NewGetWorkloadParamsWithHTTPClient(client *http.Client) *GetWorkloadParams
NewGetWorkloadParamsWithHTTPClient creates a new GetWorkloadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWorkloadParamsWithTimeout ¶
func NewGetWorkloadParamsWithTimeout(timeout time.Duration) *GetWorkloadParams
NewGetWorkloadParamsWithTimeout creates a new GetWorkloadParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWorkloadParams) SetContext ¶
func (o *GetWorkloadParams) SetContext(ctx context.Context)
SetContext adds the context to the get workload params
func (*GetWorkloadParams) SetHTTPClient ¶
func (o *GetWorkloadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workload params
func (*GetWorkloadParams) SetStackID ¶
func (o *GetWorkloadParams) SetStackID(stackID string)
SetStackID adds the stackId to the get workload params
func (*GetWorkloadParams) SetTimeout ¶
func (o *GetWorkloadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workload params
func (*GetWorkloadParams) SetWorkloadID ¶
func (o *GetWorkloadParams) SetWorkloadID(workloadID string)
SetWorkloadID adds the workloadId to the get workload params
func (*GetWorkloadParams) WithContext ¶
func (o *GetWorkloadParams) WithContext(ctx context.Context) *GetWorkloadParams
WithContext adds the context to the get workload params
func (*GetWorkloadParams) WithHTTPClient ¶
func (o *GetWorkloadParams) WithHTTPClient(client *http.Client) *GetWorkloadParams
WithHTTPClient adds the HTTPClient to the get workload params
func (*GetWorkloadParams) WithStackID ¶
func (o *GetWorkloadParams) WithStackID(stackID string) *GetWorkloadParams
WithStackID adds the stackID to the get workload params
func (*GetWorkloadParams) WithTimeout ¶
func (o *GetWorkloadParams) WithTimeout(timeout time.Duration) *GetWorkloadParams
WithTimeout adds the timeout to the get workload params
func (*GetWorkloadParams) WithWorkloadID ¶
func (o *GetWorkloadParams) WithWorkloadID(workloadID string) *GetWorkloadParams
WithWorkloadID adds the workloadID to the get workload params
func (*GetWorkloadParams) WriteToRequest ¶
func (o *GetWorkloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkloadReader ¶
type GetWorkloadReader struct {
// contains filtered or unexported fields
}
GetWorkloadReader is a Reader for the GetWorkload structure.
func (*GetWorkloadReader) ReadResponse ¶
func (o *GetWorkloadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkloadUnauthorized ¶
type GetWorkloadUnauthorized struct {
}
GetWorkloadUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewGetWorkloadUnauthorized ¶
func NewGetWorkloadUnauthorized() *GetWorkloadUnauthorized
NewGetWorkloadUnauthorized creates a GetWorkloadUnauthorized with default headers values
func (*GetWorkloadUnauthorized) Error ¶
func (o *GetWorkloadUnauthorized) Error() string
type GetWorkloadsDefault ¶
type GetWorkloadsDefault struct {
Payload *models.StackpathapiStatus
// contains filtered or unexported fields
}
GetWorkloadsDefault handles this case with default header values.
Default error structure.
func NewGetWorkloadsDefault ¶
func NewGetWorkloadsDefault(code int) *GetWorkloadsDefault
NewGetWorkloadsDefault creates a GetWorkloadsDefault with default headers values
func (*GetWorkloadsDefault) Code ¶
func (o *GetWorkloadsDefault) Code() int
Code gets the status code for the get workloads default response
func (*GetWorkloadsDefault) Error ¶
func (o *GetWorkloadsDefault) Error() string
type GetWorkloadsInternalServerError ¶
type GetWorkloadsInternalServerError struct {
Payload *models.StackpathapiStatus
}
GetWorkloadsInternalServerError handles this case with default header values.
Internal server error.
func NewGetWorkloadsInternalServerError ¶
func NewGetWorkloadsInternalServerError() *GetWorkloadsInternalServerError
NewGetWorkloadsInternalServerError creates a GetWorkloadsInternalServerError with default headers values
func (*GetWorkloadsInternalServerError) Error ¶
func (o *GetWorkloadsInternalServerError) Error() string
type GetWorkloadsOK ¶
type GetWorkloadsOK struct {
Payload *models.V1GetWorkloadsResponse
}
GetWorkloadsOK handles this case with default header values.
GetWorkloadsOK get workloads Ok
func NewGetWorkloadsOK ¶
func NewGetWorkloadsOK() *GetWorkloadsOK
NewGetWorkloadsOK creates a GetWorkloadsOK with default headers values
func (*GetWorkloadsOK) Error ¶
func (o *GetWorkloadsOK) Error() string
type GetWorkloadsParams ¶
type GetWorkloadsParams struct {
/*PageRequestAfter
The cursor value after which data will be returned.
*/
PageRequestAfter *string
/*PageRequestFilter
SQL-style constraint filters.
*/
PageRequestFilter *string
/*PageRequestFirst
The number of items desired.
*/
PageRequestFirst *string
/*PageRequestSortBy
Sort the response by the given field.
*/
PageRequestSortBy *string
/*StackID
The ID of the stack to retrieve workloads from
*/
StackID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetWorkloadsParams contains all the parameters to send to the API endpoint for the get workloads operation typically these are written to a http.Request
func NewGetWorkloadsParams ¶
func NewGetWorkloadsParams() *GetWorkloadsParams
NewGetWorkloadsParams creates a new GetWorkloadsParams object with the default values initialized.
func NewGetWorkloadsParamsWithContext ¶
func NewGetWorkloadsParamsWithContext(ctx context.Context) *GetWorkloadsParams
NewGetWorkloadsParamsWithContext creates a new GetWorkloadsParams object with the default values initialized, and the ability to set a context for a request
func NewGetWorkloadsParamsWithHTTPClient ¶
func NewGetWorkloadsParamsWithHTTPClient(client *http.Client) *GetWorkloadsParams
NewGetWorkloadsParamsWithHTTPClient creates a new GetWorkloadsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWorkloadsParamsWithTimeout ¶
func NewGetWorkloadsParamsWithTimeout(timeout time.Duration) *GetWorkloadsParams
NewGetWorkloadsParamsWithTimeout creates a new GetWorkloadsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWorkloadsParams) SetContext ¶
func (o *GetWorkloadsParams) SetContext(ctx context.Context)
SetContext adds the context to the get workloads params
func (*GetWorkloadsParams) SetHTTPClient ¶
func (o *GetWorkloadsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workloads params
func (*GetWorkloadsParams) SetPageRequestAfter ¶
func (o *GetWorkloadsParams) SetPageRequestAfter(pageRequestAfter *string)
SetPageRequestAfter adds the pageRequestAfter to the get workloads params
func (*GetWorkloadsParams) SetPageRequestFilter ¶
func (o *GetWorkloadsParams) SetPageRequestFilter(pageRequestFilter *string)
SetPageRequestFilter adds the pageRequestFilter to the get workloads params
func (*GetWorkloadsParams) SetPageRequestFirst ¶
func (o *GetWorkloadsParams) SetPageRequestFirst(pageRequestFirst *string)
SetPageRequestFirst adds the pageRequestFirst to the get workloads params
func (*GetWorkloadsParams) SetPageRequestSortBy ¶
func (o *GetWorkloadsParams) SetPageRequestSortBy(pageRequestSortBy *string)
SetPageRequestSortBy adds the pageRequestSortBy to the get workloads params
func (*GetWorkloadsParams) SetStackID ¶
func (o *GetWorkloadsParams) SetStackID(stackID string)
SetStackID adds the stackId to the get workloads params
func (*GetWorkloadsParams) SetTimeout ¶
func (o *GetWorkloadsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workloads params
func (*GetWorkloadsParams) WithContext ¶
func (o *GetWorkloadsParams) WithContext(ctx context.Context) *GetWorkloadsParams
WithContext adds the context to the get workloads params
func (*GetWorkloadsParams) WithHTTPClient ¶
func (o *GetWorkloadsParams) WithHTTPClient(client *http.Client) *GetWorkloadsParams
WithHTTPClient adds the HTTPClient to the get workloads params
func (*GetWorkloadsParams) WithPageRequestAfter ¶
func (o *GetWorkloadsParams) WithPageRequestAfter(pageRequestAfter *string) *GetWorkloadsParams
WithPageRequestAfter adds the pageRequestAfter to the get workloads params
func (*GetWorkloadsParams) WithPageRequestFilter ¶
func (o *GetWorkloadsParams) WithPageRequestFilter(pageRequestFilter *string) *GetWorkloadsParams
WithPageRequestFilter adds the pageRequestFilter to the get workloads params
func (*GetWorkloadsParams) WithPageRequestFirst ¶
func (o *GetWorkloadsParams) WithPageRequestFirst(pageRequestFirst *string) *GetWorkloadsParams
WithPageRequestFirst adds the pageRequestFirst to the get workloads params
func (*GetWorkloadsParams) WithPageRequestSortBy ¶
func (o *GetWorkloadsParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetWorkloadsParams
WithPageRequestSortBy adds the pageRequestSortBy to the get workloads params
func (*GetWorkloadsParams) WithStackID ¶
func (o *GetWorkloadsParams) WithStackID(stackID string) *GetWorkloadsParams
WithStackID adds the stackID to the get workloads params
func (*GetWorkloadsParams) WithTimeout ¶
func (o *GetWorkloadsParams) WithTimeout(timeout time.Duration) *GetWorkloadsParams
WithTimeout adds the timeout to the get workloads params
func (*GetWorkloadsParams) WriteToRequest ¶
func (o *GetWorkloadsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkloadsReader ¶
type GetWorkloadsReader struct {
// contains filtered or unexported fields
}
GetWorkloadsReader is a Reader for the GetWorkloads structure.
func (*GetWorkloadsReader) ReadResponse ¶
func (o *GetWorkloadsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkloadsUnauthorized ¶
type GetWorkloadsUnauthorized struct {
}
GetWorkloadsUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewGetWorkloadsUnauthorized ¶
func NewGetWorkloadsUnauthorized() *GetWorkloadsUnauthorized
NewGetWorkloadsUnauthorized creates a GetWorkloadsUnauthorized with default headers values
func (*GetWorkloadsUnauthorized) Error ¶
func (o *GetWorkloadsUnauthorized) Error() string
type IPAM ¶
type IPAM interface {
CreateNetworkPolicy(*CreateNetworkPolicyParams, runtime.ClientAuthInfoWriter) (*CreateNetworkPolicyOK, error)
DeleteNetworkPolicy(*DeleteNetworkPolicyParams, runtime.ClientAuthInfoWriter) (*DeleteNetworkPolicyNoContent, error)
GetNetworkPolicies(*GetNetworkPoliciesParams, runtime.ClientAuthInfoWriter) (*GetNetworkPoliciesOK, error)
GetNetworkPolicy(*GetNetworkPolicyParams, runtime.ClientAuthInfoWriter) (*GetNetworkPolicyOK, error)
UpdateNetworkPolicy(*UpdateNetworkPolicyParams, runtime.ClientAuthInfoWriter) (*UpdateNetworkPolicyOK, error)
}
type UpdateNetworkPolicyDefault ¶
type UpdateNetworkPolicyDefault struct {
Payload *models.StackpathapiStatus
// contains filtered or unexported fields
}
UpdateNetworkPolicyDefault handles this case with default header values.
Default error structure.
func NewUpdateNetworkPolicyDefault ¶
func NewUpdateNetworkPolicyDefault(code int) *UpdateNetworkPolicyDefault
NewUpdateNetworkPolicyDefault creates a UpdateNetworkPolicyDefault with default headers values
func (*UpdateNetworkPolicyDefault) Code ¶
func (o *UpdateNetworkPolicyDefault) Code() int
Code gets the status code for the update network policy default response
func (*UpdateNetworkPolicyDefault) Error ¶
func (o *UpdateNetworkPolicyDefault) Error() string
type UpdateNetworkPolicyInternalServerError ¶
type UpdateNetworkPolicyInternalServerError struct {
Payload *models.StackpathapiStatus
}
UpdateNetworkPolicyInternalServerError handles this case with default header values.
Internal server error.
func NewUpdateNetworkPolicyInternalServerError ¶
func NewUpdateNetworkPolicyInternalServerError() *UpdateNetworkPolicyInternalServerError
NewUpdateNetworkPolicyInternalServerError creates a UpdateNetworkPolicyInternalServerError with default headers values
func (*UpdateNetworkPolicyInternalServerError) Error ¶
func (o *UpdateNetworkPolicyInternalServerError) Error() string
type UpdateNetworkPolicyOK ¶
type UpdateNetworkPolicyOK struct {
Payload *models.V1UpdateNetworkPolicyResponse
}
UpdateNetworkPolicyOK handles this case with default header values.
UpdateNetworkPolicyOK update network policy o k
func NewUpdateNetworkPolicyOK ¶
func NewUpdateNetworkPolicyOK() *UpdateNetworkPolicyOK
NewUpdateNetworkPolicyOK creates a UpdateNetworkPolicyOK with default headers values
func (*UpdateNetworkPolicyOK) Error ¶
func (o *UpdateNetworkPolicyOK) Error() string
type UpdateNetworkPolicyParams ¶
type UpdateNetworkPolicyParams struct {
/*Body*/
Body *models.V1UpdateNetworkPolicyRequest
/*NetworkPolicyID
A network policy's unique identifier
*/
NetworkPolicyID string
/*NetworkPolicyStackID
The ID of the stack that a network policy belongs to
*/
NetworkPolicyStackID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateNetworkPolicyParams contains all the parameters to send to the API endpoint for the update network policy operation typically these are written to a http.Request
func NewUpdateNetworkPolicyParams ¶
func NewUpdateNetworkPolicyParams() *UpdateNetworkPolicyParams
NewUpdateNetworkPolicyParams creates a new UpdateNetworkPolicyParams object with the default values initialized.
func NewUpdateNetworkPolicyParamsWithContext ¶
func NewUpdateNetworkPolicyParamsWithContext(ctx context.Context) *UpdateNetworkPolicyParams
NewUpdateNetworkPolicyParamsWithContext creates a new UpdateNetworkPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateNetworkPolicyParamsWithHTTPClient ¶
func NewUpdateNetworkPolicyParamsWithHTTPClient(client *http.Client) *UpdateNetworkPolicyParams
NewUpdateNetworkPolicyParamsWithHTTPClient creates a new UpdateNetworkPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateNetworkPolicyParamsWithTimeout ¶
func NewUpdateNetworkPolicyParamsWithTimeout(timeout time.Duration) *UpdateNetworkPolicyParams
NewUpdateNetworkPolicyParamsWithTimeout creates a new UpdateNetworkPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateNetworkPolicyParams) SetBody ¶
func (o *UpdateNetworkPolicyParams) SetBody(body *models.V1UpdateNetworkPolicyRequest)
SetBody adds the body to the update network policy params
func (*UpdateNetworkPolicyParams) SetContext ¶
func (o *UpdateNetworkPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the update network policy params
func (*UpdateNetworkPolicyParams) SetHTTPClient ¶
func (o *UpdateNetworkPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network policy params
func (*UpdateNetworkPolicyParams) SetNetworkPolicyID ¶
func (o *UpdateNetworkPolicyParams) SetNetworkPolicyID(networkPolicyID string)
SetNetworkPolicyID adds the networkPolicyId to the update network policy params
func (*UpdateNetworkPolicyParams) SetNetworkPolicyStackID ¶
func (o *UpdateNetworkPolicyParams) SetNetworkPolicyStackID(networkPolicyStackID string)
SetNetworkPolicyStackID adds the networkPolicyStackId to the update network policy params
func (*UpdateNetworkPolicyParams) SetTimeout ¶
func (o *UpdateNetworkPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update network policy params
func (*UpdateNetworkPolicyParams) WithBody ¶
func (o *UpdateNetworkPolicyParams) WithBody(body *models.V1UpdateNetworkPolicyRequest) *UpdateNetworkPolicyParams
WithBody adds the body to the update network policy params
func (*UpdateNetworkPolicyParams) WithContext ¶
func (o *UpdateNetworkPolicyParams) WithContext(ctx context.Context) *UpdateNetworkPolicyParams
WithContext adds the context to the update network policy params
func (*UpdateNetworkPolicyParams) WithHTTPClient ¶
func (o *UpdateNetworkPolicyParams) WithHTTPClient(client *http.Client) *UpdateNetworkPolicyParams
WithHTTPClient adds the HTTPClient to the update network policy params
func (*UpdateNetworkPolicyParams) WithNetworkPolicyID ¶
func (o *UpdateNetworkPolicyParams) WithNetworkPolicyID(networkPolicyID string) *UpdateNetworkPolicyParams
WithNetworkPolicyID adds the networkPolicyID to the update network policy params
func (*UpdateNetworkPolicyParams) WithNetworkPolicyStackID ¶
func (o *UpdateNetworkPolicyParams) WithNetworkPolicyStackID(networkPolicyStackID string) *UpdateNetworkPolicyParams
WithNetworkPolicyStackID adds the networkPolicyStackID to the update network policy params
func (*UpdateNetworkPolicyParams) WithTimeout ¶
func (o *UpdateNetworkPolicyParams) WithTimeout(timeout time.Duration) *UpdateNetworkPolicyParams
WithTimeout adds the timeout to the update network policy params
func (*UpdateNetworkPolicyParams) WriteToRequest ¶
func (o *UpdateNetworkPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkPolicyReader ¶
type UpdateNetworkPolicyReader struct {
// contains filtered or unexported fields
}
UpdateNetworkPolicyReader is a Reader for the UpdateNetworkPolicy structure.
func (*UpdateNetworkPolicyReader) ReadResponse ¶
func (o *UpdateNetworkPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkPolicyUnauthorized ¶
type UpdateNetworkPolicyUnauthorized struct {
}
UpdateNetworkPolicyUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewUpdateNetworkPolicyUnauthorized ¶
func NewUpdateNetworkPolicyUnauthorized() *UpdateNetworkPolicyUnauthorized
NewUpdateNetworkPolicyUnauthorized creates a UpdateNetworkPolicyUnauthorized with default headers values
func (*UpdateNetworkPolicyUnauthorized) Error ¶
func (o *UpdateNetworkPolicyUnauthorized) Error() string
type UpdateWorkloadBadRequest ¶
type UpdateWorkloadBadRequest struct {
Payload *models.StackpathapiStatus
}
UpdateWorkloadBadRequest handles this case with default header values.
Returned when a bad request is attempted.
func NewUpdateWorkloadBadRequest ¶
func NewUpdateWorkloadBadRequest() *UpdateWorkloadBadRequest
NewUpdateWorkloadBadRequest creates a UpdateWorkloadUnauthorized with default headers values
func (*UpdateWorkloadBadRequest) Error ¶
func (o *UpdateWorkloadBadRequest) Error() string
type UpdateWorkloadDefault ¶
type UpdateWorkloadDefault struct {
Payload *models.StackpathapiStatus
// contains filtered or unexported fields
}
UpdateWorkloadDefault handles this case with default header values.
Default error structure.
func NewUpdateWorkloadDefault ¶
func NewUpdateWorkloadDefault(code int) *UpdateWorkloadDefault
NewUpdateWorkloadDefault creates a UpdateWorkloadDefault with default headers values
func (*UpdateWorkloadDefault) Code ¶
func (o *UpdateWorkloadDefault) Code() int
Code gets the status code for the update workload default response
func (*UpdateWorkloadDefault) Error ¶
func (o *UpdateWorkloadDefault) Error() string
type UpdateWorkloadInternalServerError ¶
type UpdateWorkloadInternalServerError struct {
Payload *models.StackpathapiStatus
}
UpdateWorkloadInternalServerError handles this case with default header values.
Internal server error.
func NewUpdateWorkloadInternalServerError ¶
func NewUpdateWorkloadInternalServerError() *UpdateWorkloadInternalServerError
NewUpdateWorkloadInternalServerError creates a UpdateWorkloadInternalServerError with default headers values
func (*UpdateWorkloadInternalServerError) Error ¶
func (o *UpdateWorkloadInternalServerError) Error() string
type UpdateWorkloadOK ¶
type UpdateWorkloadOK struct {
Payload *models.V1UpdateWorkloadResponse
}
UpdateWorkloadOK handles this case with default header values.
UpdateWorkloadOK update workload Ok
func NewUpdateWorkloadOK ¶
func NewUpdateWorkloadOK() *UpdateWorkloadOK
NewUpdateWorkloadOK creates a UpdateWorkloadOK with default headers values
func (*UpdateWorkloadOK) Error ¶
func (o *UpdateWorkloadOK) Error() string
type UpdateWorkloadParams ¶
type UpdateWorkloadParams struct {
/*Body*/
Body *models.V1UpdateWorkloadRequest
/*StackID
The ID of the stack containing the workload to update
*/
StackID string
/*WorkloadID
The ID of the workload to update
*/
WorkloadID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateWorkloadParams contains all the parameters to send to the API endpoint for the update workload operation typically these are written to a http.Request
func NewUpdateWorkloadParams ¶
func NewUpdateWorkloadParams() *UpdateWorkloadParams
NewUpdateWorkloadParams creates a new UpdateWorkloadParams object with the default values initialized.
func NewUpdateWorkloadParamsWithContext ¶
func NewUpdateWorkloadParamsWithContext(ctx context.Context) *UpdateWorkloadParams
NewUpdateWorkloadParamsWithContext creates a new UpdateWorkloadParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateWorkloadParamsWithHTTPClient ¶
func NewUpdateWorkloadParamsWithHTTPClient(client *http.Client) *UpdateWorkloadParams
NewUpdateWorkloadParamsWithHTTPClient creates a new UpdateWorkloadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateWorkloadParamsWithTimeout ¶
func NewUpdateWorkloadParamsWithTimeout(timeout time.Duration) *UpdateWorkloadParams
NewUpdateWorkloadParamsWithTimeout creates a new UpdateWorkloadParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateWorkloadParams) SetBody ¶
func (o *UpdateWorkloadParams) SetBody(body *models.V1UpdateWorkloadRequest)
SetBody adds the body to the update workload params
func (*UpdateWorkloadParams) SetContext ¶
func (o *UpdateWorkloadParams) SetContext(ctx context.Context)
SetContext adds the context to the update workload params
func (*UpdateWorkloadParams) SetHTTPClient ¶
func (o *UpdateWorkloadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update workload params
func (*UpdateWorkloadParams) SetStackID ¶
func (o *UpdateWorkloadParams) SetStackID(stackID string)
SetStackID adds the stackId to the update workload params
func (*UpdateWorkloadParams) SetTimeout ¶
func (o *UpdateWorkloadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update workload params
func (*UpdateWorkloadParams) SetWorkloadID ¶
func (o *UpdateWorkloadParams) SetWorkloadID(workloadID string)
SetWorkloadID adds the workloadId to the update workload params
func (*UpdateWorkloadParams) WithBody ¶
func (o *UpdateWorkloadParams) WithBody(body *models.V1UpdateWorkloadRequest) *UpdateWorkloadParams
WithBody adds the body to the update workload params
func (*UpdateWorkloadParams) WithContext ¶
func (o *UpdateWorkloadParams) WithContext(ctx context.Context) *UpdateWorkloadParams
WithContext adds the context to the update workload params
func (*UpdateWorkloadParams) WithHTTPClient ¶
func (o *UpdateWorkloadParams) WithHTTPClient(client *http.Client) *UpdateWorkloadParams
WithHTTPClient adds the HTTPClient to the update workload params
func (*UpdateWorkloadParams) WithStackID ¶
func (o *UpdateWorkloadParams) WithStackID(stackID string) *UpdateWorkloadParams
WithStackID adds the stackID to the update workload params
func (*UpdateWorkloadParams) WithTimeout ¶
func (o *UpdateWorkloadParams) WithTimeout(timeout time.Duration) *UpdateWorkloadParams
WithTimeout adds the timeout to the update workload params
func (*UpdateWorkloadParams) WithWorkloadID ¶
func (o *UpdateWorkloadParams) WithWorkloadID(workloadID string) *UpdateWorkloadParams
WithWorkloadID adds the workloadID to the update workload params
func (*UpdateWorkloadParams) WriteToRequest ¶
func (o *UpdateWorkloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateWorkloadReader ¶
type UpdateWorkloadReader struct {
// contains filtered or unexported fields
}
UpdateWorkloadReader is a Reader for the UpdateWorkload structure.
func (*UpdateWorkloadReader) ReadResponse ¶
func (o *UpdateWorkloadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateWorkloadUnauthorized ¶
type UpdateWorkloadUnauthorized struct {
}
UpdateWorkloadUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewUpdateWorkloadUnauthorized ¶
func NewUpdateWorkloadUnauthorized() *UpdateWorkloadUnauthorized
NewUpdateWorkloadUnauthorized creates a UpdateWorkloadUnauthorized with default headers values
func (*UpdateWorkloadUnauthorized) Error ¶
func (o *UpdateWorkloadUnauthorized) Error() string
Source Files
¶
- create_network_policy_parameters.go
- create_network_policy_responses.go
- create_workload_parameters.go
- create_workload_responses.go
- delete_network_policy_parameters.go
- delete_network_policy_responses.go
- delete_workload_parameters.go
- delete_workload_responses.go
- get_locations_parameters.go
- get_locations_responses.go
- get_network_policies_parameters.go
- get_network_policies_responses.go
- get_network_policy_parameters.go
- get_network_policy_responses.go
- get_workload_instances_parameters.go
- get_workload_instances_responses.go
- get_workload_parameters.go
- get_workload_responses.go
- get_workloads_parameters.go
- get_workloads_responses.go
- network_policy_client.go
- update_network_policy_parameters.go
- update_network_policy_responses.go
- update_workload_parameters.go
- update_workload_responses.go
- workload_client.go