fabric

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppendFabricToBuildDefault

type AppendFabricToBuildDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

AppendFabricToBuildDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewAppendFabricToBuildDefault

func NewAppendFabricToBuildDefault(code int) *AppendFabricToBuildDefault

NewAppendFabricToBuildDefault creates a AppendFabricToBuildDefault with default headers values

func (*AppendFabricToBuildDefault) Code

func (o *AppendFabricToBuildDefault) Code() int

Code gets the status code for the append fabric to build default response

func (*AppendFabricToBuildDefault) Error

func (*AppendFabricToBuildDefault) GetPayload

func (*AppendFabricToBuildDefault) IsClientError

func (o *AppendFabricToBuildDefault) IsClientError() bool

IsClientError returns true when this append fabric to build default response has a 4xx status code

func (*AppendFabricToBuildDefault) IsCode

func (o *AppendFabricToBuildDefault) IsCode(code int) bool

IsCode returns true when this append fabric to build default response a status code equal to that given

func (*AppendFabricToBuildDefault) IsRedirect

func (o *AppendFabricToBuildDefault) IsRedirect() bool

IsRedirect returns true when this append fabric to build default response has a 3xx status code

func (*AppendFabricToBuildDefault) IsServerError

func (o *AppendFabricToBuildDefault) IsServerError() bool

IsServerError returns true when this append fabric to build default response has a 5xx status code

func (*AppendFabricToBuildDefault) IsSuccess

func (o *AppendFabricToBuildDefault) IsSuccess() bool

IsSuccess returns true when this append fabric to build default response has a 2xx status code

func (*AppendFabricToBuildDefault) String

func (o *AppendFabricToBuildDefault) String() string

type AppendFabricToBuildForbidden

type AppendFabricToBuildForbidden struct {
	Payload *models.GeneralError
}

AppendFabricToBuildForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewAppendFabricToBuildForbidden

func NewAppendFabricToBuildForbidden() *AppendFabricToBuildForbidden

NewAppendFabricToBuildForbidden creates a AppendFabricToBuildForbidden with default headers values

func (*AppendFabricToBuildForbidden) Code

Code gets the status code for the append fabric to build forbidden response

func (*AppendFabricToBuildForbidden) Error

func (*AppendFabricToBuildForbidden) GetPayload

func (*AppendFabricToBuildForbidden) IsClientError

func (o *AppendFabricToBuildForbidden) IsClientError() bool

IsClientError returns true when this append fabric to build forbidden response has a 4xx status code

func (*AppendFabricToBuildForbidden) IsCode

func (o *AppendFabricToBuildForbidden) IsCode(code int) bool

IsCode returns true when this append fabric to build forbidden response a status code equal to that given

func (*AppendFabricToBuildForbidden) IsRedirect

func (o *AppendFabricToBuildForbidden) IsRedirect() bool

IsRedirect returns true when this append fabric to build forbidden response has a 3xx status code

func (*AppendFabricToBuildForbidden) IsServerError

func (o *AppendFabricToBuildForbidden) IsServerError() bool

IsServerError returns true when this append fabric to build forbidden response has a 5xx status code

func (*AppendFabricToBuildForbidden) IsSuccess

func (o *AppendFabricToBuildForbidden) IsSuccess() bool

IsSuccess returns true when this append fabric to build forbidden response has a 2xx status code

func (*AppendFabricToBuildForbidden) String

type AppendFabricToBuildNotAcceptable

type AppendFabricToBuildNotAcceptable struct {
	Payload *models.GeneralError
}

AppendFabricToBuildNotAcceptable describes a response with status code 406, with default header values.

Failed to update build

func NewAppendFabricToBuildNotAcceptable

func NewAppendFabricToBuildNotAcceptable() *AppendFabricToBuildNotAcceptable

NewAppendFabricToBuildNotAcceptable creates a AppendFabricToBuildNotAcceptable with default headers values

func (*AppendFabricToBuildNotAcceptable) Code

Code gets the status code for the append fabric to build not acceptable response

func (*AppendFabricToBuildNotAcceptable) Error

func (*AppendFabricToBuildNotAcceptable) GetPayload

func (*AppendFabricToBuildNotAcceptable) IsClientError

func (o *AppendFabricToBuildNotAcceptable) IsClientError() bool

IsClientError returns true when this append fabric to build not acceptable response has a 4xx status code

func (*AppendFabricToBuildNotAcceptable) IsCode

func (o *AppendFabricToBuildNotAcceptable) IsCode(code int) bool

IsCode returns true when this append fabric to build not acceptable response a status code equal to that given

func (*AppendFabricToBuildNotAcceptable) IsRedirect

func (o *AppendFabricToBuildNotAcceptable) IsRedirect() bool

IsRedirect returns true when this append fabric to build not acceptable response has a 3xx status code

func (*AppendFabricToBuildNotAcceptable) IsServerError

func (o *AppendFabricToBuildNotAcceptable) IsServerError() bool

IsServerError returns true when this append fabric to build not acceptable response has a 5xx status code

func (*AppendFabricToBuildNotAcceptable) IsSuccess

func (o *AppendFabricToBuildNotAcceptable) IsSuccess() bool

IsSuccess returns true when this append fabric to build not acceptable response has a 2xx status code

func (*AppendFabricToBuildNotAcceptable) String

type AppendFabricToBuildNotFound

type AppendFabricToBuildNotFound struct {
	Payload *models.GeneralError
}

AppendFabricToBuildNotFound describes a response with status code 404, with default header values.

Fabric or build not found

func NewAppendFabricToBuildNotFound

func NewAppendFabricToBuildNotFound() *AppendFabricToBuildNotFound

NewAppendFabricToBuildNotFound creates a AppendFabricToBuildNotFound with default headers values

func (*AppendFabricToBuildNotFound) Code

func (o *AppendFabricToBuildNotFound) Code() int

Code gets the status code for the append fabric to build not found response

func (*AppendFabricToBuildNotFound) Error

func (*AppendFabricToBuildNotFound) GetPayload

func (*AppendFabricToBuildNotFound) IsClientError

func (o *AppendFabricToBuildNotFound) IsClientError() bool

IsClientError returns true when this append fabric to build not found response has a 4xx status code

func (*AppendFabricToBuildNotFound) IsCode

func (o *AppendFabricToBuildNotFound) IsCode(code int) bool

IsCode returns true when this append fabric to build not found response a status code equal to that given

func (*AppendFabricToBuildNotFound) IsRedirect

func (o *AppendFabricToBuildNotFound) IsRedirect() bool

IsRedirect returns true when this append fabric to build not found response has a 3xx status code

func (*AppendFabricToBuildNotFound) IsServerError

func (o *AppendFabricToBuildNotFound) IsServerError() bool

IsServerError returns true when this append fabric to build not found response has a 5xx status code

func (*AppendFabricToBuildNotFound) IsSuccess

func (o *AppendFabricToBuildNotFound) IsSuccess() bool

IsSuccess returns true when this append fabric to build not found response has a 2xx status code

func (*AppendFabricToBuildNotFound) String

func (o *AppendFabricToBuildNotFound) String() string

type AppendFabricToBuildOK

type AppendFabricToBuildOK struct {
	Payload *models.GeneralError
}

AppendFabricToBuildOK describes a response with status code 200, with default header values.

Plain success message

func NewAppendFabricToBuildOK

func NewAppendFabricToBuildOK() *AppendFabricToBuildOK

NewAppendFabricToBuildOK creates a AppendFabricToBuildOK with default headers values

func (*AppendFabricToBuildOK) Code

func (o *AppendFabricToBuildOK) Code() int

Code gets the status code for the append fabric to build o k response

func (*AppendFabricToBuildOK) Error

func (o *AppendFabricToBuildOK) Error() string

func (*AppendFabricToBuildOK) GetPayload

func (o *AppendFabricToBuildOK) GetPayload() *models.GeneralError

func (*AppendFabricToBuildOK) IsClientError

func (o *AppendFabricToBuildOK) IsClientError() bool

IsClientError returns true when this append fabric to build o k response has a 4xx status code

func (*AppendFabricToBuildOK) IsCode

func (o *AppendFabricToBuildOK) IsCode(code int) bool

IsCode returns true when this append fabric to build o k response a status code equal to that given

func (*AppendFabricToBuildOK) IsRedirect

func (o *AppendFabricToBuildOK) IsRedirect() bool

IsRedirect returns true when this append fabric to build o k response has a 3xx status code

func (*AppendFabricToBuildOK) IsServerError

func (o *AppendFabricToBuildOK) IsServerError() bool

IsServerError returns true when this append fabric to build o k response has a 5xx status code

func (*AppendFabricToBuildOK) IsSuccess

func (o *AppendFabricToBuildOK) IsSuccess() bool

IsSuccess returns true when this append fabric to build o k response has a 2xx status code

func (*AppendFabricToBuildOK) String

func (o *AppendFabricToBuildOK) String() string

type AppendFabricToBuildParams

type AppendFabricToBuildParams struct {

	/* FabricBuild.

	   The build data to append
	*/
	FabricBuild *models.FabricBuildParams

	/* FabricID.

	   A fabric UUID or slug
	*/
	FabricID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AppendFabricToBuildParams contains all the parameters to send to the API endpoint

for the append fabric to build operation.

Typically these are written to a http.Request.

func NewAppendFabricToBuildParams

func NewAppendFabricToBuildParams() *AppendFabricToBuildParams

NewAppendFabricToBuildParams creates a new AppendFabricToBuildParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAppendFabricToBuildParamsWithContext

func NewAppendFabricToBuildParamsWithContext(ctx context.Context) *AppendFabricToBuildParams

NewAppendFabricToBuildParamsWithContext creates a new AppendFabricToBuildParams object with the ability to set a context for a request.

func NewAppendFabricToBuildParamsWithHTTPClient

func NewAppendFabricToBuildParamsWithHTTPClient(client *http.Client) *AppendFabricToBuildParams

NewAppendFabricToBuildParamsWithHTTPClient creates a new AppendFabricToBuildParams object with the ability to set a custom HTTPClient for a request.

func NewAppendFabricToBuildParamsWithTimeout

func NewAppendFabricToBuildParamsWithTimeout(timeout time.Duration) *AppendFabricToBuildParams

NewAppendFabricToBuildParamsWithTimeout creates a new AppendFabricToBuildParams object with the ability to set a timeout on a request.

func (*AppendFabricToBuildParams) SetContext

func (o *AppendFabricToBuildParams) SetContext(ctx context.Context)

SetContext adds the context to the append fabric to build params

func (*AppendFabricToBuildParams) SetDefaults

func (o *AppendFabricToBuildParams) SetDefaults()

SetDefaults hydrates default values in the append fabric to build params (not the query body).

All values with no default are reset to their zero value.

func (*AppendFabricToBuildParams) SetFabricBuild

func (o *AppendFabricToBuildParams) SetFabricBuild(fabricBuild *models.FabricBuildParams)

SetFabricBuild adds the fabricBuild to the append fabric to build params

func (*AppendFabricToBuildParams) SetFabricID

func (o *AppendFabricToBuildParams) SetFabricID(fabricID string)

SetFabricID adds the fabricId to the append fabric to build params

func (*AppendFabricToBuildParams) SetHTTPClient

func (o *AppendFabricToBuildParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the append fabric to build params

func (*AppendFabricToBuildParams) SetTimeout

func (o *AppendFabricToBuildParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the append fabric to build params

func (*AppendFabricToBuildParams) WithContext

WithContext adds the context to the append fabric to build params

func (*AppendFabricToBuildParams) WithDefaults

WithDefaults hydrates default values in the append fabric to build params (not the query body).

All values with no default are reset to their zero value.

func (*AppendFabricToBuildParams) WithFabricBuild

WithFabricBuild adds the fabricBuild to the append fabric to build params

func (*AppendFabricToBuildParams) WithFabricID

func (o *AppendFabricToBuildParams) WithFabricID(fabricID string) *AppendFabricToBuildParams

WithFabricID adds the fabricID to the append fabric to build params

func (*AppendFabricToBuildParams) WithHTTPClient

func (o *AppendFabricToBuildParams) WithHTTPClient(client *http.Client) *AppendFabricToBuildParams

WithHTTPClient adds the HTTPClient to the append fabric to build params

func (*AppendFabricToBuildParams) WithTimeout

WithTimeout adds the timeout to the append fabric to build params

func (*AppendFabricToBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AppendFabricToBuildPreconditionFailed

type AppendFabricToBuildPreconditionFailed struct {
	Payload *models.GeneralError
}

AppendFabricToBuildPreconditionFailed describes a response with status code 412, with default header values.

Build is already assigned

func NewAppendFabricToBuildPreconditionFailed

func NewAppendFabricToBuildPreconditionFailed() *AppendFabricToBuildPreconditionFailed

NewAppendFabricToBuildPreconditionFailed creates a AppendFabricToBuildPreconditionFailed with default headers values

func (*AppendFabricToBuildPreconditionFailed) Code

Code gets the status code for the append fabric to build precondition failed response

func (*AppendFabricToBuildPreconditionFailed) Error

func (*AppendFabricToBuildPreconditionFailed) GetPayload

func (*AppendFabricToBuildPreconditionFailed) IsClientError

func (o *AppendFabricToBuildPreconditionFailed) IsClientError() bool

IsClientError returns true when this append fabric to build precondition failed response has a 4xx status code

func (*AppendFabricToBuildPreconditionFailed) IsCode

IsCode returns true when this append fabric to build precondition failed response a status code equal to that given

func (*AppendFabricToBuildPreconditionFailed) IsRedirect

IsRedirect returns true when this append fabric to build precondition failed response has a 3xx status code

func (*AppendFabricToBuildPreconditionFailed) IsServerError

func (o *AppendFabricToBuildPreconditionFailed) IsServerError() bool

IsServerError returns true when this append fabric to build precondition failed response has a 5xx status code

func (*AppendFabricToBuildPreconditionFailed) IsSuccess

IsSuccess returns true when this append fabric to build precondition failed response has a 2xx status code

func (*AppendFabricToBuildPreconditionFailed) String

type AppendFabricToBuildReader

type AppendFabricToBuildReader struct {
	// contains filtered or unexported fields
}

AppendFabricToBuildReader is a Reader for the AppendFabricToBuild structure.

func (*AppendFabricToBuildReader) ReadResponse

func (o *AppendFabricToBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for fabric API

func (*Client) AppendFabricToBuild

func (a *Client) AppendFabricToBuild(params *AppendFabricToBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppendFabricToBuildOK, error)

AppendFabricToBuild assigns a build to a fabric version

func (*Client) DeleteFabricFromBuild

func (a *Client) DeleteFabricFromBuild(params *DeleteFabricFromBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFabricFromBuildOK, error)

DeleteFabricFromBuild unlinks a build from a fabric version

func (*Client) ListFabricBuilds

func (a *Client) ListFabricBuilds(params *ListFabricBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFabricBuildsOK, error)

ListFabricBuilds fetches the builds assigned to a fabric version

func (*Client) ListFabrics

func (a *Client) ListFabrics(params *ListFabricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFabricsOK, error)

ListFabrics fetches the available fabric versions

func (*Client) SearchFabrics

func (a *Client) SearchFabrics(params *SearchFabricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchFabricsOK, error)

SearchFabrics searches for available fabric versions

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateFabric

func (a *Client) UpdateFabric(params *UpdateFabricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateFabricOK, error)

UpdateFabric updates the available fabric versions

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AppendFabricToBuild(params *AppendFabricToBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppendFabricToBuildOK, error)

	DeleteFabricFromBuild(params *DeleteFabricFromBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFabricFromBuildOK, error)

	ListFabricBuilds(params *ListFabricBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFabricBuildsOK, error)

	ListFabrics(params *ListFabricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFabricsOK, error)

	SearchFabrics(params *SearchFabricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchFabricsOK, error)

	UpdateFabric(params *UpdateFabricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateFabricOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new fabric API client.

type DeleteFabricFromBuildDefault

type DeleteFabricFromBuildDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

DeleteFabricFromBuildDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewDeleteFabricFromBuildDefault

func NewDeleteFabricFromBuildDefault(code int) *DeleteFabricFromBuildDefault

NewDeleteFabricFromBuildDefault creates a DeleteFabricFromBuildDefault with default headers values

func (*DeleteFabricFromBuildDefault) Code

Code gets the status code for the delete fabric from build default response

func (*DeleteFabricFromBuildDefault) Error

func (*DeleteFabricFromBuildDefault) GetPayload

func (*DeleteFabricFromBuildDefault) IsClientError

func (o *DeleteFabricFromBuildDefault) IsClientError() bool

IsClientError returns true when this delete fabric from build default response has a 4xx status code

func (*DeleteFabricFromBuildDefault) IsCode

func (o *DeleteFabricFromBuildDefault) IsCode(code int) bool

IsCode returns true when this delete fabric from build default response a status code equal to that given

func (*DeleteFabricFromBuildDefault) IsRedirect

func (o *DeleteFabricFromBuildDefault) IsRedirect() bool

IsRedirect returns true when this delete fabric from build default response has a 3xx status code

func (*DeleteFabricFromBuildDefault) IsServerError

func (o *DeleteFabricFromBuildDefault) IsServerError() bool

IsServerError returns true when this delete fabric from build default response has a 5xx status code

func (*DeleteFabricFromBuildDefault) IsSuccess

func (o *DeleteFabricFromBuildDefault) IsSuccess() bool

IsSuccess returns true when this delete fabric from build default response has a 2xx status code

func (*DeleteFabricFromBuildDefault) String

type DeleteFabricFromBuildForbidden

type DeleteFabricFromBuildForbidden struct {
	Payload *models.GeneralError
}

DeleteFabricFromBuildForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewDeleteFabricFromBuildForbidden

func NewDeleteFabricFromBuildForbidden() *DeleteFabricFromBuildForbidden

NewDeleteFabricFromBuildForbidden creates a DeleteFabricFromBuildForbidden with default headers values

func (*DeleteFabricFromBuildForbidden) Code

Code gets the status code for the delete fabric from build forbidden response

func (*DeleteFabricFromBuildForbidden) Error

func (*DeleteFabricFromBuildForbidden) GetPayload

func (*DeleteFabricFromBuildForbidden) IsClientError

func (o *DeleteFabricFromBuildForbidden) IsClientError() bool

IsClientError returns true when this delete fabric from build forbidden response has a 4xx status code

func (*DeleteFabricFromBuildForbidden) IsCode

func (o *DeleteFabricFromBuildForbidden) IsCode(code int) bool

IsCode returns true when this delete fabric from build forbidden response a status code equal to that given

func (*DeleteFabricFromBuildForbidden) IsRedirect

func (o *DeleteFabricFromBuildForbidden) IsRedirect() bool

IsRedirect returns true when this delete fabric from build forbidden response has a 3xx status code

func (*DeleteFabricFromBuildForbidden) IsServerError

func (o *DeleteFabricFromBuildForbidden) IsServerError() bool

IsServerError returns true when this delete fabric from build forbidden response has a 5xx status code

func (*DeleteFabricFromBuildForbidden) IsSuccess

func (o *DeleteFabricFromBuildForbidden) IsSuccess() bool

IsSuccess returns true when this delete fabric from build forbidden response has a 2xx status code

func (*DeleteFabricFromBuildForbidden) String

type DeleteFabricFromBuildNotAcceptable

type DeleteFabricFromBuildNotAcceptable struct {
	Payload *models.GeneralError
}

DeleteFabricFromBuildNotAcceptable describes a response with status code 406, with default header values.

Failed to update build

func NewDeleteFabricFromBuildNotAcceptable

func NewDeleteFabricFromBuildNotAcceptable() *DeleteFabricFromBuildNotAcceptable

NewDeleteFabricFromBuildNotAcceptable creates a DeleteFabricFromBuildNotAcceptable with default headers values

func (*DeleteFabricFromBuildNotAcceptable) Code

Code gets the status code for the delete fabric from build not acceptable response

func (*DeleteFabricFromBuildNotAcceptable) Error

func (*DeleteFabricFromBuildNotAcceptable) GetPayload

func (*DeleteFabricFromBuildNotAcceptable) IsClientError

func (o *DeleteFabricFromBuildNotAcceptable) IsClientError() bool

IsClientError returns true when this delete fabric from build not acceptable response has a 4xx status code

func (*DeleteFabricFromBuildNotAcceptable) IsCode

IsCode returns true when this delete fabric from build not acceptable response a status code equal to that given

func (*DeleteFabricFromBuildNotAcceptable) IsRedirect

func (o *DeleteFabricFromBuildNotAcceptable) IsRedirect() bool

IsRedirect returns true when this delete fabric from build not acceptable response has a 3xx status code

func (*DeleteFabricFromBuildNotAcceptable) IsServerError

func (o *DeleteFabricFromBuildNotAcceptable) IsServerError() bool

IsServerError returns true when this delete fabric from build not acceptable response has a 5xx status code

func (*DeleteFabricFromBuildNotAcceptable) IsSuccess

IsSuccess returns true when this delete fabric from build not acceptable response has a 2xx status code

func (*DeleteFabricFromBuildNotAcceptable) String

type DeleteFabricFromBuildNotFound

type DeleteFabricFromBuildNotFound struct {
	Payload *models.GeneralError
}

DeleteFabricFromBuildNotFound describes a response with status code 404, with default header values.

Fabric or build not found

func NewDeleteFabricFromBuildNotFound

func NewDeleteFabricFromBuildNotFound() *DeleteFabricFromBuildNotFound

NewDeleteFabricFromBuildNotFound creates a DeleteFabricFromBuildNotFound with default headers values

func (*DeleteFabricFromBuildNotFound) Code

Code gets the status code for the delete fabric from build not found response

func (*DeleteFabricFromBuildNotFound) Error

func (*DeleteFabricFromBuildNotFound) GetPayload

func (*DeleteFabricFromBuildNotFound) IsClientError

func (o *DeleteFabricFromBuildNotFound) IsClientError() bool

IsClientError returns true when this delete fabric from build not found response has a 4xx status code

func (*DeleteFabricFromBuildNotFound) IsCode

func (o *DeleteFabricFromBuildNotFound) IsCode(code int) bool

IsCode returns true when this delete fabric from build not found response a status code equal to that given

func (*DeleteFabricFromBuildNotFound) IsRedirect

func (o *DeleteFabricFromBuildNotFound) IsRedirect() bool

IsRedirect returns true when this delete fabric from build not found response has a 3xx status code

func (*DeleteFabricFromBuildNotFound) IsServerError

func (o *DeleteFabricFromBuildNotFound) IsServerError() bool

IsServerError returns true when this delete fabric from build not found response has a 5xx status code

func (*DeleteFabricFromBuildNotFound) IsSuccess

func (o *DeleteFabricFromBuildNotFound) IsSuccess() bool

IsSuccess returns true when this delete fabric from build not found response has a 2xx status code

func (*DeleteFabricFromBuildNotFound) String

type DeleteFabricFromBuildOK

type DeleteFabricFromBuildOK struct {
	Payload *models.GeneralError
}

DeleteFabricFromBuildOK describes a response with status code 200, with default header values.

Plain success message

func NewDeleteFabricFromBuildOK

func NewDeleteFabricFromBuildOK() *DeleteFabricFromBuildOK

NewDeleteFabricFromBuildOK creates a DeleteFabricFromBuildOK with default headers values

func (*DeleteFabricFromBuildOK) Code

func (o *DeleteFabricFromBuildOK) Code() int

Code gets the status code for the delete fabric from build o k response

func (*DeleteFabricFromBuildOK) Error

func (o *DeleteFabricFromBuildOK) Error() string

func (*DeleteFabricFromBuildOK) GetPayload

func (o *DeleteFabricFromBuildOK) GetPayload() *models.GeneralError

func (*DeleteFabricFromBuildOK) IsClientError

func (o *DeleteFabricFromBuildOK) IsClientError() bool

IsClientError returns true when this delete fabric from build o k response has a 4xx status code

func (*DeleteFabricFromBuildOK) IsCode

func (o *DeleteFabricFromBuildOK) IsCode(code int) bool

IsCode returns true when this delete fabric from build o k response a status code equal to that given

func (*DeleteFabricFromBuildOK) IsRedirect

func (o *DeleteFabricFromBuildOK) IsRedirect() bool

IsRedirect returns true when this delete fabric from build o k response has a 3xx status code

func (*DeleteFabricFromBuildOK) IsServerError

func (o *DeleteFabricFromBuildOK) IsServerError() bool

IsServerError returns true when this delete fabric from build o k response has a 5xx status code

func (*DeleteFabricFromBuildOK) IsSuccess

func (o *DeleteFabricFromBuildOK) IsSuccess() bool

IsSuccess returns true when this delete fabric from build o k response has a 2xx status code

func (*DeleteFabricFromBuildOK) String

func (o *DeleteFabricFromBuildOK) String() string

type DeleteFabricFromBuildParams

type DeleteFabricFromBuildParams struct {

	/* FabricBuild.

	   The build data to unlink
	*/
	FabricBuild *models.FabricBuildParams

	/* FabricID.

	   A fabric UUID or slug
	*/
	FabricID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteFabricFromBuildParams contains all the parameters to send to the API endpoint

for the delete fabric from build operation.

Typically these are written to a http.Request.

func NewDeleteFabricFromBuildParams

func NewDeleteFabricFromBuildParams() *DeleteFabricFromBuildParams

NewDeleteFabricFromBuildParams creates a new DeleteFabricFromBuildParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteFabricFromBuildParamsWithContext

func NewDeleteFabricFromBuildParamsWithContext(ctx context.Context) *DeleteFabricFromBuildParams

NewDeleteFabricFromBuildParamsWithContext creates a new DeleteFabricFromBuildParams object with the ability to set a context for a request.

func NewDeleteFabricFromBuildParamsWithHTTPClient

func NewDeleteFabricFromBuildParamsWithHTTPClient(client *http.Client) *DeleteFabricFromBuildParams

NewDeleteFabricFromBuildParamsWithHTTPClient creates a new DeleteFabricFromBuildParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteFabricFromBuildParamsWithTimeout

func NewDeleteFabricFromBuildParamsWithTimeout(timeout time.Duration) *DeleteFabricFromBuildParams

NewDeleteFabricFromBuildParamsWithTimeout creates a new DeleteFabricFromBuildParams object with the ability to set a timeout on a request.

func (*DeleteFabricFromBuildParams) SetContext

func (o *DeleteFabricFromBuildParams) SetContext(ctx context.Context)

SetContext adds the context to the delete fabric from build params

func (*DeleteFabricFromBuildParams) SetDefaults

func (o *DeleteFabricFromBuildParams) SetDefaults()

SetDefaults hydrates default values in the delete fabric from build params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteFabricFromBuildParams) SetFabricBuild

func (o *DeleteFabricFromBuildParams) SetFabricBuild(fabricBuild *models.FabricBuildParams)

SetFabricBuild adds the fabricBuild to the delete fabric from build params

func (*DeleteFabricFromBuildParams) SetFabricID

func (o *DeleteFabricFromBuildParams) SetFabricID(fabricID string)

SetFabricID adds the fabricId to the delete fabric from build params

func (*DeleteFabricFromBuildParams) SetHTTPClient

func (o *DeleteFabricFromBuildParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete fabric from build params

func (*DeleteFabricFromBuildParams) SetTimeout

func (o *DeleteFabricFromBuildParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete fabric from build params

func (*DeleteFabricFromBuildParams) WithContext

WithContext adds the context to the delete fabric from build params

func (*DeleteFabricFromBuildParams) WithDefaults

WithDefaults hydrates default values in the delete fabric from build params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteFabricFromBuildParams) WithFabricBuild

WithFabricBuild adds the fabricBuild to the delete fabric from build params

func (*DeleteFabricFromBuildParams) WithFabricID

WithFabricID adds the fabricID to the delete fabric from build params

func (*DeleteFabricFromBuildParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete fabric from build params

func (*DeleteFabricFromBuildParams) WithTimeout

WithTimeout adds the timeout to the delete fabric from build params

func (*DeleteFabricFromBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteFabricFromBuildPreconditionFailed

type DeleteFabricFromBuildPreconditionFailed struct {
	Payload *models.GeneralError
}

DeleteFabricFromBuildPreconditionFailed describes a response with status code 412, with default header values.

Build is not assigned

func NewDeleteFabricFromBuildPreconditionFailed

func NewDeleteFabricFromBuildPreconditionFailed() *DeleteFabricFromBuildPreconditionFailed

NewDeleteFabricFromBuildPreconditionFailed creates a DeleteFabricFromBuildPreconditionFailed with default headers values

func (*DeleteFabricFromBuildPreconditionFailed) Code

Code gets the status code for the delete fabric from build precondition failed response

func (*DeleteFabricFromBuildPreconditionFailed) Error

func (*DeleteFabricFromBuildPreconditionFailed) GetPayload

func (*DeleteFabricFromBuildPreconditionFailed) IsClientError

func (o *DeleteFabricFromBuildPreconditionFailed) IsClientError() bool

IsClientError returns true when this delete fabric from build precondition failed response has a 4xx status code

func (*DeleteFabricFromBuildPreconditionFailed) IsCode

IsCode returns true when this delete fabric from build precondition failed response a status code equal to that given

func (*DeleteFabricFromBuildPreconditionFailed) IsRedirect

IsRedirect returns true when this delete fabric from build precondition failed response has a 3xx status code

func (*DeleteFabricFromBuildPreconditionFailed) IsServerError

func (o *DeleteFabricFromBuildPreconditionFailed) IsServerError() bool

IsServerError returns true when this delete fabric from build precondition failed response has a 5xx status code

func (*DeleteFabricFromBuildPreconditionFailed) IsSuccess

IsSuccess returns true when this delete fabric from build precondition failed response has a 2xx status code

func (*DeleteFabricFromBuildPreconditionFailed) String

type DeleteFabricFromBuildReader

type DeleteFabricFromBuildReader struct {
	// contains filtered or unexported fields
}

DeleteFabricFromBuildReader is a Reader for the DeleteFabricFromBuild structure.

func (*DeleteFabricFromBuildReader) ReadResponse

func (o *DeleteFabricFromBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListFabricBuildsDefault

type ListFabricBuildsDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ListFabricBuildsDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewListFabricBuildsDefault

func NewListFabricBuildsDefault(code int) *ListFabricBuildsDefault

NewListFabricBuildsDefault creates a ListFabricBuildsDefault with default headers values

func (*ListFabricBuildsDefault) Code

func (o *ListFabricBuildsDefault) Code() int

Code gets the status code for the list fabric builds default response

func (*ListFabricBuildsDefault) Error

func (o *ListFabricBuildsDefault) Error() string

func (*ListFabricBuildsDefault) GetPayload

func (o *ListFabricBuildsDefault) GetPayload() *models.GeneralError

func (*ListFabricBuildsDefault) IsClientError

func (o *ListFabricBuildsDefault) IsClientError() bool

IsClientError returns true when this list fabric builds default response has a 4xx status code

func (*ListFabricBuildsDefault) IsCode

func (o *ListFabricBuildsDefault) IsCode(code int) bool

IsCode returns true when this list fabric builds default response a status code equal to that given

func (*ListFabricBuildsDefault) IsRedirect

func (o *ListFabricBuildsDefault) IsRedirect() bool

IsRedirect returns true when this list fabric builds default response has a 3xx status code

func (*ListFabricBuildsDefault) IsServerError

func (o *ListFabricBuildsDefault) IsServerError() bool

IsServerError returns true when this list fabric builds default response has a 5xx status code

func (*ListFabricBuildsDefault) IsSuccess

func (o *ListFabricBuildsDefault) IsSuccess() bool

IsSuccess returns true when this list fabric builds default response has a 2xx status code

func (*ListFabricBuildsDefault) String

func (o *ListFabricBuildsDefault) String() string

type ListFabricBuildsForbidden

type ListFabricBuildsForbidden struct {
	Payload *models.GeneralError
}

ListFabricBuildsForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewListFabricBuildsForbidden

func NewListFabricBuildsForbidden() *ListFabricBuildsForbidden

NewListFabricBuildsForbidden creates a ListFabricBuildsForbidden with default headers values

func (*ListFabricBuildsForbidden) Code

func (o *ListFabricBuildsForbidden) Code() int

Code gets the status code for the list fabric builds forbidden response

func (*ListFabricBuildsForbidden) Error

func (o *ListFabricBuildsForbidden) Error() string

func (*ListFabricBuildsForbidden) GetPayload

func (*ListFabricBuildsForbidden) IsClientError

func (o *ListFabricBuildsForbidden) IsClientError() bool

IsClientError returns true when this list fabric builds forbidden response has a 4xx status code

func (*ListFabricBuildsForbidden) IsCode

func (o *ListFabricBuildsForbidden) IsCode(code int) bool

IsCode returns true when this list fabric builds forbidden response a status code equal to that given

func (*ListFabricBuildsForbidden) IsRedirect

func (o *ListFabricBuildsForbidden) IsRedirect() bool

IsRedirect returns true when this list fabric builds forbidden response has a 3xx status code

func (*ListFabricBuildsForbidden) IsServerError

func (o *ListFabricBuildsForbidden) IsServerError() bool

IsServerError returns true when this list fabric builds forbidden response has a 5xx status code

func (*ListFabricBuildsForbidden) IsSuccess

func (o *ListFabricBuildsForbidden) IsSuccess() bool

IsSuccess returns true when this list fabric builds forbidden response has a 2xx status code

func (*ListFabricBuildsForbidden) String

func (o *ListFabricBuildsForbidden) String() string

type ListFabricBuildsNotFound

type ListFabricBuildsNotFound struct {
	Payload *models.GeneralError
}

ListFabricBuildsNotFound describes a response with status code 404, with default header values.

Fabric or build not found

func NewListFabricBuildsNotFound

func NewListFabricBuildsNotFound() *ListFabricBuildsNotFound

NewListFabricBuildsNotFound creates a ListFabricBuildsNotFound with default headers values

func (*ListFabricBuildsNotFound) Code

func (o *ListFabricBuildsNotFound) Code() int

Code gets the status code for the list fabric builds not found response

func (*ListFabricBuildsNotFound) Error

func (o *ListFabricBuildsNotFound) Error() string

func (*ListFabricBuildsNotFound) GetPayload

func (o *ListFabricBuildsNotFound) GetPayload() *models.GeneralError

func (*ListFabricBuildsNotFound) IsClientError

func (o *ListFabricBuildsNotFound) IsClientError() bool

IsClientError returns true when this list fabric builds not found response has a 4xx status code

func (*ListFabricBuildsNotFound) IsCode

func (o *ListFabricBuildsNotFound) IsCode(code int) bool

IsCode returns true when this list fabric builds not found response a status code equal to that given

func (*ListFabricBuildsNotFound) IsRedirect

func (o *ListFabricBuildsNotFound) IsRedirect() bool

IsRedirect returns true when this list fabric builds not found response has a 3xx status code

func (*ListFabricBuildsNotFound) IsServerError

func (o *ListFabricBuildsNotFound) IsServerError() bool

IsServerError returns true when this list fabric builds not found response has a 5xx status code

func (*ListFabricBuildsNotFound) IsSuccess

func (o *ListFabricBuildsNotFound) IsSuccess() bool

IsSuccess returns true when this list fabric builds not found response has a 2xx status code

func (*ListFabricBuildsNotFound) String

func (o *ListFabricBuildsNotFound) String() string

type ListFabricBuildsOK

type ListFabricBuildsOK struct {
	Payload *models.FabricBuilds
}

ListFabricBuildsOK describes a response with status code 200, with default header values.

A collection of assigned builds

func NewListFabricBuildsOK

func NewListFabricBuildsOK() *ListFabricBuildsOK

NewListFabricBuildsOK creates a ListFabricBuildsOK with default headers values

func (*ListFabricBuildsOK) Code

func (o *ListFabricBuildsOK) Code() int

Code gets the status code for the list fabric builds o k response

func (*ListFabricBuildsOK) Error

func (o *ListFabricBuildsOK) Error() string

func (*ListFabricBuildsOK) GetPayload

func (o *ListFabricBuildsOK) GetPayload() *models.FabricBuilds

func (*ListFabricBuildsOK) IsClientError

func (o *ListFabricBuildsOK) IsClientError() bool

IsClientError returns true when this list fabric builds o k response has a 4xx status code

func (*ListFabricBuildsOK) IsCode

func (o *ListFabricBuildsOK) IsCode(code int) bool

IsCode returns true when this list fabric builds o k response a status code equal to that given

func (*ListFabricBuildsOK) IsRedirect

func (o *ListFabricBuildsOK) IsRedirect() bool

IsRedirect returns true when this list fabric builds o k response has a 3xx status code

func (*ListFabricBuildsOK) IsServerError

func (o *ListFabricBuildsOK) IsServerError() bool

IsServerError returns true when this list fabric builds o k response has a 5xx status code

func (*ListFabricBuildsOK) IsSuccess

func (o *ListFabricBuildsOK) IsSuccess() bool

IsSuccess returns true when this list fabric builds o k response has a 2xx status code

func (*ListFabricBuildsOK) String

func (o *ListFabricBuildsOK) String() string

type ListFabricBuildsParams

type ListFabricBuildsParams struct {

	/* FabricID.

	   A fabric UUID or slug
	*/
	FabricID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListFabricBuildsParams contains all the parameters to send to the API endpoint

for the list fabric builds operation.

Typically these are written to a http.Request.

func NewListFabricBuildsParams

func NewListFabricBuildsParams() *ListFabricBuildsParams

NewListFabricBuildsParams creates a new ListFabricBuildsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListFabricBuildsParamsWithContext

func NewListFabricBuildsParamsWithContext(ctx context.Context) *ListFabricBuildsParams

NewListFabricBuildsParamsWithContext creates a new ListFabricBuildsParams object with the ability to set a context for a request.

func NewListFabricBuildsParamsWithHTTPClient

func NewListFabricBuildsParamsWithHTTPClient(client *http.Client) *ListFabricBuildsParams

NewListFabricBuildsParamsWithHTTPClient creates a new ListFabricBuildsParams object with the ability to set a custom HTTPClient for a request.

func NewListFabricBuildsParamsWithTimeout

func NewListFabricBuildsParamsWithTimeout(timeout time.Duration) *ListFabricBuildsParams

NewListFabricBuildsParamsWithTimeout creates a new ListFabricBuildsParams object with the ability to set a timeout on a request.

func (*ListFabricBuildsParams) SetContext

func (o *ListFabricBuildsParams) SetContext(ctx context.Context)

SetContext adds the context to the list fabric builds params

func (*ListFabricBuildsParams) SetDefaults

func (o *ListFabricBuildsParams) SetDefaults()

SetDefaults hydrates default values in the list fabric builds params (not the query body).

All values with no default are reset to their zero value.

func (*ListFabricBuildsParams) SetFabricID

func (o *ListFabricBuildsParams) SetFabricID(fabricID string)

SetFabricID adds the fabricId to the list fabric builds params

func (*ListFabricBuildsParams) SetHTTPClient

func (o *ListFabricBuildsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list fabric builds params

func (*ListFabricBuildsParams) SetTimeout

func (o *ListFabricBuildsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list fabric builds params

func (*ListFabricBuildsParams) WithContext

WithContext adds the context to the list fabric builds params

func (*ListFabricBuildsParams) WithDefaults

WithDefaults hydrates default values in the list fabric builds params (not the query body).

All values with no default are reset to their zero value.

func (*ListFabricBuildsParams) WithFabricID

func (o *ListFabricBuildsParams) WithFabricID(fabricID string) *ListFabricBuildsParams

WithFabricID adds the fabricID to the list fabric builds params

func (*ListFabricBuildsParams) WithHTTPClient

func (o *ListFabricBuildsParams) WithHTTPClient(client *http.Client) *ListFabricBuildsParams

WithHTTPClient adds the HTTPClient to the list fabric builds params

func (*ListFabricBuildsParams) WithTimeout

WithTimeout adds the timeout to the list fabric builds params

func (*ListFabricBuildsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListFabricBuildsReader

type ListFabricBuildsReader struct {
	// contains filtered or unexported fields
}

ListFabricBuildsReader is a Reader for the ListFabricBuilds structure.

func (*ListFabricBuildsReader) ReadResponse

func (o *ListFabricBuildsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListFabricsDefault

type ListFabricsDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ListFabricsDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewListFabricsDefault

func NewListFabricsDefault(code int) *ListFabricsDefault

NewListFabricsDefault creates a ListFabricsDefault with default headers values

func (*ListFabricsDefault) Code

func (o *ListFabricsDefault) Code() int

Code gets the status code for the list fabrics default response

func (*ListFabricsDefault) Error

func (o *ListFabricsDefault) Error() string

func (*ListFabricsDefault) GetPayload

func (o *ListFabricsDefault) GetPayload() *models.GeneralError

func (*ListFabricsDefault) IsClientError

func (o *ListFabricsDefault) IsClientError() bool

IsClientError returns true when this list fabrics default response has a 4xx status code

func (*ListFabricsDefault) IsCode

func (o *ListFabricsDefault) IsCode(code int) bool

IsCode returns true when this list fabrics default response a status code equal to that given

func (*ListFabricsDefault) IsRedirect

func (o *ListFabricsDefault) IsRedirect() bool

IsRedirect returns true when this list fabrics default response has a 3xx status code

func (*ListFabricsDefault) IsServerError

func (o *ListFabricsDefault) IsServerError() bool

IsServerError returns true when this list fabrics default response has a 5xx status code

func (*ListFabricsDefault) IsSuccess

func (o *ListFabricsDefault) IsSuccess() bool

IsSuccess returns true when this list fabrics default response has a 2xx status code

func (*ListFabricsDefault) String

func (o *ListFabricsDefault) String() string

type ListFabricsForbidden

type ListFabricsForbidden struct {
	Payload *models.GeneralError
}

ListFabricsForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewListFabricsForbidden

func NewListFabricsForbidden() *ListFabricsForbidden

NewListFabricsForbidden creates a ListFabricsForbidden with default headers values

func (*ListFabricsForbidden) Code

func (o *ListFabricsForbidden) Code() int

Code gets the status code for the list fabrics forbidden response

func (*ListFabricsForbidden) Error

func (o *ListFabricsForbidden) Error() string

func (*ListFabricsForbidden) GetPayload

func (o *ListFabricsForbidden) GetPayload() *models.GeneralError

func (*ListFabricsForbidden) IsClientError

func (o *ListFabricsForbidden) IsClientError() bool

IsClientError returns true when this list fabrics forbidden response has a 4xx status code

func (*ListFabricsForbidden) IsCode

func (o *ListFabricsForbidden) IsCode(code int) bool

IsCode returns true when this list fabrics forbidden response a status code equal to that given

func (*ListFabricsForbidden) IsRedirect

func (o *ListFabricsForbidden) IsRedirect() bool

IsRedirect returns true when this list fabrics forbidden response has a 3xx status code

func (*ListFabricsForbidden) IsServerError

func (o *ListFabricsForbidden) IsServerError() bool

IsServerError returns true when this list fabrics forbidden response has a 5xx status code

func (*ListFabricsForbidden) IsSuccess

func (o *ListFabricsForbidden) IsSuccess() bool

IsSuccess returns true when this list fabrics forbidden response has a 2xx status code

func (*ListFabricsForbidden) String

func (o *ListFabricsForbidden) String() string

type ListFabricsOK

type ListFabricsOK struct {
	Payload *models.Fabrics
}

ListFabricsOK describes a response with status code 200, with default header values.

A collection of fabric versions

func NewListFabricsOK

func NewListFabricsOK() *ListFabricsOK

NewListFabricsOK creates a ListFabricsOK with default headers values

func (*ListFabricsOK) Code

func (o *ListFabricsOK) Code() int

Code gets the status code for the list fabrics o k response

func (*ListFabricsOK) Error

func (o *ListFabricsOK) Error() string

func (*ListFabricsOK) GetPayload

func (o *ListFabricsOK) GetPayload() *models.Fabrics

func (*ListFabricsOK) IsClientError

func (o *ListFabricsOK) IsClientError() bool

IsClientError returns true when this list fabrics o k response has a 4xx status code

func (*ListFabricsOK) IsCode

func (o *ListFabricsOK) IsCode(code int) bool

IsCode returns true when this list fabrics o k response a status code equal to that given

func (*ListFabricsOK) IsRedirect

func (o *ListFabricsOK) IsRedirect() bool

IsRedirect returns true when this list fabrics o k response has a 3xx status code

func (*ListFabricsOK) IsServerError

func (o *ListFabricsOK) IsServerError() bool

IsServerError returns true when this list fabrics o k response has a 5xx status code

func (*ListFabricsOK) IsSuccess

func (o *ListFabricsOK) IsSuccess() bool

IsSuccess returns true when this list fabrics o k response has a 2xx status code

func (*ListFabricsOK) String

func (o *ListFabricsOK) String() string

type ListFabricsParams

type ListFabricsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListFabricsParams contains all the parameters to send to the API endpoint

for the list fabrics operation.

Typically these are written to a http.Request.

func NewListFabricsParams

func NewListFabricsParams() *ListFabricsParams

NewListFabricsParams creates a new ListFabricsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListFabricsParamsWithContext

func NewListFabricsParamsWithContext(ctx context.Context) *ListFabricsParams

NewListFabricsParamsWithContext creates a new ListFabricsParams object with the ability to set a context for a request.

func NewListFabricsParamsWithHTTPClient

func NewListFabricsParamsWithHTTPClient(client *http.Client) *ListFabricsParams

NewListFabricsParamsWithHTTPClient creates a new ListFabricsParams object with the ability to set a custom HTTPClient for a request.

func NewListFabricsParamsWithTimeout

func NewListFabricsParamsWithTimeout(timeout time.Duration) *ListFabricsParams

NewListFabricsParamsWithTimeout creates a new ListFabricsParams object with the ability to set a timeout on a request.

func (*ListFabricsParams) SetContext

func (o *ListFabricsParams) SetContext(ctx context.Context)

SetContext adds the context to the list fabrics params

func (*ListFabricsParams) SetDefaults

func (o *ListFabricsParams) SetDefaults()

SetDefaults hydrates default values in the list fabrics params (not the query body).

All values with no default are reset to their zero value.

func (*ListFabricsParams) SetHTTPClient

func (o *ListFabricsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list fabrics params

func (*ListFabricsParams) SetTimeout

func (o *ListFabricsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list fabrics params

func (*ListFabricsParams) WithContext

func (o *ListFabricsParams) WithContext(ctx context.Context) *ListFabricsParams

WithContext adds the context to the list fabrics params

func (*ListFabricsParams) WithDefaults

func (o *ListFabricsParams) WithDefaults() *ListFabricsParams

WithDefaults hydrates default values in the list fabrics params (not the query body).

All values with no default are reset to their zero value.

func (*ListFabricsParams) WithHTTPClient

func (o *ListFabricsParams) WithHTTPClient(client *http.Client) *ListFabricsParams

WithHTTPClient adds the HTTPClient to the list fabrics params

func (*ListFabricsParams) WithTimeout

func (o *ListFabricsParams) WithTimeout(timeout time.Duration) *ListFabricsParams

WithTimeout adds the timeout to the list fabrics params

func (*ListFabricsParams) WriteToRequest

func (o *ListFabricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListFabricsReader

type ListFabricsReader struct {
	// contains filtered or unexported fields
}

ListFabricsReader is a Reader for the ListFabrics structure.

func (*ListFabricsReader) ReadResponse

func (o *ListFabricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SearchFabricsDefault

type SearchFabricsDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

SearchFabricsDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewSearchFabricsDefault

func NewSearchFabricsDefault(code int) *SearchFabricsDefault

NewSearchFabricsDefault creates a SearchFabricsDefault with default headers values

func (*SearchFabricsDefault) Code

func (o *SearchFabricsDefault) Code() int

Code gets the status code for the search fabrics default response

func (*SearchFabricsDefault) Error

func (o *SearchFabricsDefault) Error() string

func (*SearchFabricsDefault) GetPayload

func (o *SearchFabricsDefault) GetPayload() *models.GeneralError

func (*SearchFabricsDefault) IsClientError

func (o *SearchFabricsDefault) IsClientError() bool

IsClientError returns true when this search fabrics default response has a 4xx status code

func (*SearchFabricsDefault) IsCode

func (o *SearchFabricsDefault) IsCode(code int) bool

IsCode returns true when this search fabrics default response a status code equal to that given

func (*SearchFabricsDefault) IsRedirect

func (o *SearchFabricsDefault) IsRedirect() bool

IsRedirect returns true when this search fabrics default response has a 3xx status code

func (*SearchFabricsDefault) IsServerError

func (o *SearchFabricsDefault) IsServerError() bool

IsServerError returns true when this search fabrics default response has a 5xx status code

func (*SearchFabricsDefault) IsSuccess

func (o *SearchFabricsDefault) IsSuccess() bool

IsSuccess returns true when this search fabrics default response has a 2xx status code

func (*SearchFabricsDefault) String

func (o *SearchFabricsDefault) String() string

type SearchFabricsForbidden

type SearchFabricsForbidden struct {
	Payload *models.GeneralError
}

SearchFabricsForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewSearchFabricsForbidden

func NewSearchFabricsForbidden() *SearchFabricsForbidden

NewSearchFabricsForbidden creates a SearchFabricsForbidden with default headers values

func (*SearchFabricsForbidden) Code

func (o *SearchFabricsForbidden) Code() int

Code gets the status code for the search fabrics forbidden response

func (*SearchFabricsForbidden) Error

func (o *SearchFabricsForbidden) Error() string

func (*SearchFabricsForbidden) GetPayload

func (o *SearchFabricsForbidden) GetPayload() *models.GeneralError

func (*SearchFabricsForbidden) IsClientError

func (o *SearchFabricsForbidden) IsClientError() bool

IsClientError returns true when this search fabrics forbidden response has a 4xx status code

func (*SearchFabricsForbidden) IsCode

func (o *SearchFabricsForbidden) IsCode(code int) bool

IsCode returns true when this search fabrics forbidden response a status code equal to that given

func (*SearchFabricsForbidden) IsRedirect

func (o *SearchFabricsForbidden) IsRedirect() bool

IsRedirect returns true when this search fabrics forbidden response has a 3xx status code

func (*SearchFabricsForbidden) IsServerError

func (o *SearchFabricsForbidden) IsServerError() bool

IsServerError returns true when this search fabrics forbidden response has a 5xx status code

func (*SearchFabricsForbidden) IsSuccess

func (o *SearchFabricsForbidden) IsSuccess() bool

IsSuccess returns true when this search fabrics forbidden response has a 2xx status code

func (*SearchFabricsForbidden) String

func (o *SearchFabricsForbidden) String() string

type SearchFabricsOK

type SearchFabricsOK struct {
	Payload *models.Fabrics
}

SearchFabricsOK describes a response with status code 200, with default header values.

A collection of fabric versions

func NewSearchFabricsOK

func NewSearchFabricsOK() *SearchFabricsOK

NewSearchFabricsOK creates a SearchFabricsOK with default headers values

func (*SearchFabricsOK) Code

func (o *SearchFabricsOK) Code() int

Code gets the status code for the search fabrics o k response

func (*SearchFabricsOK) Error

func (o *SearchFabricsOK) Error() string

func (*SearchFabricsOK) GetPayload

func (o *SearchFabricsOK) GetPayload() *models.Fabrics

func (*SearchFabricsOK) IsClientError

func (o *SearchFabricsOK) IsClientError() bool

IsClientError returns true when this search fabrics o k response has a 4xx status code

func (*SearchFabricsOK) IsCode

func (o *SearchFabricsOK) IsCode(code int) bool

IsCode returns true when this search fabrics o k response a status code equal to that given

func (*SearchFabricsOK) IsRedirect

func (o *SearchFabricsOK) IsRedirect() bool

IsRedirect returns true when this search fabrics o k response has a 3xx status code

func (*SearchFabricsOK) IsServerError

func (o *SearchFabricsOK) IsServerError() bool

IsServerError returns true when this search fabrics o k response has a 5xx status code

func (*SearchFabricsOK) IsSuccess

func (o *SearchFabricsOK) IsSuccess() bool

IsSuccess returns true when this search fabrics o k response has a 2xx status code

func (*SearchFabricsOK) String

func (o *SearchFabricsOK) String() string

type SearchFabricsParams

type SearchFabricsParams struct {

	/* FabricID.

	   A search token to search fabric versions
	*/
	FabricID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SearchFabricsParams contains all the parameters to send to the API endpoint

for the search fabrics operation.

Typically these are written to a http.Request.

func NewSearchFabricsParams

func NewSearchFabricsParams() *SearchFabricsParams

NewSearchFabricsParams creates a new SearchFabricsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchFabricsParamsWithContext

func NewSearchFabricsParamsWithContext(ctx context.Context) *SearchFabricsParams

NewSearchFabricsParamsWithContext creates a new SearchFabricsParams object with the ability to set a context for a request.

func NewSearchFabricsParamsWithHTTPClient

func NewSearchFabricsParamsWithHTTPClient(client *http.Client) *SearchFabricsParams

NewSearchFabricsParamsWithHTTPClient creates a new SearchFabricsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchFabricsParamsWithTimeout

func NewSearchFabricsParamsWithTimeout(timeout time.Duration) *SearchFabricsParams

NewSearchFabricsParamsWithTimeout creates a new SearchFabricsParams object with the ability to set a timeout on a request.

func (*SearchFabricsParams) SetContext

func (o *SearchFabricsParams) SetContext(ctx context.Context)

SetContext adds the context to the search fabrics params

func (*SearchFabricsParams) SetDefaults

func (o *SearchFabricsParams) SetDefaults()

SetDefaults hydrates default values in the search fabrics params (not the query body).

All values with no default are reset to their zero value.

func (*SearchFabricsParams) SetFabricID

func (o *SearchFabricsParams) SetFabricID(fabricID string)

SetFabricID adds the fabricId to the search fabrics params

func (*SearchFabricsParams) SetHTTPClient

func (o *SearchFabricsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search fabrics params

func (*SearchFabricsParams) SetTimeout

func (o *SearchFabricsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search fabrics params

func (*SearchFabricsParams) WithContext

WithContext adds the context to the search fabrics params

func (*SearchFabricsParams) WithDefaults

func (o *SearchFabricsParams) WithDefaults() *SearchFabricsParams

WithDefaults hydrates default values in the search fabrics params (not the query body).

All values with no default are reset to their zero value.

func (*SearchFabricsParams) WithFabricID

func (o *SearchFabricsParams) WithFabricID(fabricID string) *SearchFabricsParams

WithFabricID adds the fabricID to the search fabrics params

func (*SearchFabricsParams) WithHTTPClient

func (o *SearchFabricsParams) WithHTTPClient(client *http.Client) *SearchFabricsParams

WithHTTPClient adds the HTTPClient to the search fabrics params

func (*SearchFabricsParams) WithTimeout

func (o *SearchFabricsParams) WithTimeout(timeout time.Duration) *SearchFabricsParams

WithTimeout adds the timeout to the search fabrics params

func (*SearchFabricsParams) WriteToRequest

func (o *SearchFabricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchFabricsReader

type SearchFabricsReader struct {
	// contains filtered or unexported fields
}

SearchFabricsReader is a Reader for the SearchFabrics structure.

func (*SearchFabricsReader) ReadResponse

func (o *SearchFabricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateFabricDefault

type UpdateFabricDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

UpdateFabricDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewUpdateFabricDefault

func NewUpdateFabricDefault(code int) *UpdateFabricDefault

NewUpdateFabricDefault creates a UpdateFabricDefault with default headers values

func (*UpdateFabricDefault) Code

func (o *UpdateFabricDefault) Code() int

Code gets the status code for the update fabric default response

func (*UpdateFabricDefault) Error

func (o *UpdateFabricDefault) Error() string

func (*UpdateFabricDefault) GetPayload

func (o *UpdateFabricDefault) GetPayload() *models.GeneralError

func (*UpdateFabricDefault) IsClientError

func (o *UpdateFabricDefault) IsClientError() bool

IsClientError returns true when this update fabric default response has a 4xx status code

func (*UpdateFabricDefault) IsCode

func (o *UpdateFabricDefault) IsCode(code int) bool

IsCode returns true when this update fabric default response a status code equal to that given

func (*UpdateFabricDefault) IsRedirect

func (o *UpdateFabricDefault) IsRedirect() bool

IsRedirect returns true when this update fabric default response has a 3xx status code

func (*UpdateFabricDefault) IsServerError

func (o *UpdateFabricDefault) IsServerError() bool

IsServerError returns true when this update fabric default response has a 5xx status code

func (*UpdateFabricDefault) IsSuccess

func (o *UpdateFabricDefault) IsSuccess() bool

IsSuccess returns true when this update fabric default response has a 2xx status code

func (*UpdateFabricDefault) String

func (o *UpdateFabricDefault) String() string

type UpdateFabricForbidden

type UpdateFabricForbidden struct {
	Payload *models.GeneralError
}

UpdateFabricForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewUpdateFabricForbidden

func NewUpdateFabricForbidden() *UpdateFabricForbidden

NewUpdateFabricForbidden creates a UpdateFabricForbidden with default headers values

func (*UpdateFabricForbidden) Code

func (o *UpdateFabricForbidden) Code() int

Code gets the status code for the update fabric forbidden response

func (*UpdateFabricForbidden) Error

func (o *UpdateFabricForbidden) Error() string

func (*UpdateFabricForbidden) GetPayload

func (o *UpdateFabricForbidden) GetPayload() *models.GeneralError

func (*UpdateFabricForbidden) IsClientError

func (o *UpdateFabricForbidden) IsClientError() bool

IsClientError returns true when this update fabric forbidden response has a 4xx status code

func (*UpdateFabricForbidden) IsCode

func (o *UpdateFabricForbidden) IsCode(code int) bool

IsCode returns true when this update fabric forbidden response a status code equal to that given

func (*UpdateFabricForbidden) IsRedirect

func (o *UpdateFabricForbidden) IsRedirect() bool

IsRedirect returns true when this update fabric forbidden response has a 3xx status code

func (*UpdateFabricForbidden) IsServerError

func (o *UpdateFabricForbidden) IsServerError() bool

IsServerError returns true when this update fabric forbidden response has a 5xx status code

func (*UpdateFabricForbidden) IsSuccess

func (o *UpdateFabricForbidden) IsSuccess() bool

IsSuccess returns true when this update fabric forbidden response has a 2xx status code

func (*UpdateFabricForbidden) String

func (o *UpdateFabricForbidden) String() string

type UpdateFabricOK

type UpdateFabricOK struct {
	Payload *models.GeneralError
}

UpdateFabricOK describes a response with status code 200, with default header values.

Plain success message

func NewUpdateFabricOK

func NewUpdateFabricOK() *UpdateFabricOK

NewUpdateFabricOK creates a UpdateFabricOK with default headers values

func (*UpdateFabricOK) Code

func (o *UpdateFabricOK) Code() int

Code gets the status code for the update fabric o k response

func (*UpdateFabricOK) Error

func (o *UpdateFabricOK) Error() string

func (*UpdateFabricOK) GetPayload

func (o *UpdateFabricOK) GetPayload() *models.GeneralError

func (*UpdateFabricOK) IsClientError

func (o *UpdateFabricOK) IsClientError() bool

IsClientError returns true when this update fabric o k response has a 4xx status code

func (*UpdateFabricOK) IsCode

func (o *UpdateFabricOK) IsCode(code int) bool

IsCode returns true when this update fabric o k response a status code equal to that given

func (*UpdateFabricOK) IsRedirect

func (o *UpdateFabricOK) IsRedirect() bool

IsRedirect returns true when this update fabric o k response has a 3xx status code

func (*UpdateFabricOK) IsServerError

func (o *UpdateFabricOK) IsServerError() bool

IsServerError returns true when this update fabric o k response has a 5xx status code

func (*UpdateFabricOK) IsSuccess

func (o *UpdateFabricOK) IsSuccess() bool

IsSuccess returns true when this update fabric o k response has a 2xx status code

func (*UpdateFabricOK) String

func (o *UpdateFabricOK) String() string

type UpdateFabricParams

type UpdateFabricParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateFabricParams contains all the parameters to send to the API endpoint

for the update fabric operation.

Typically these are written to a http.Request.

func NewUpdateFabricParams

func NewUpdateFabricParams() *UpdateFabricParams

NewUpdateFabricParams creates a new UpdateFabricParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateFabricParamsWithContext

func NewUpdateFabricParamsWithContext(ctx context.Context) *UpdateFabricParams

NewUpdateFabricParamsWithContext creates a new UpdateFabricParams object with the ability to set a context for a request.

func NewUpdateFabricParamsWithHTTPClient

func NewUpdateFabricParamsWithHTTPClient(client *http.Client) *UpdateFabricParams

NewUpdateFabricParamsWithHTTPClient creates a new UpdateFabricParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateFabricParamsWithTimeout

func NewUpdateFabricParamsWithTimeout(timeout time.Duration) *UpdateFabricParams

NewUpdateFabricParamsWithTimeout creates a new UpdateFabricParams object with the ability to set a timeout on a request.

func (*UpdateFabricParams) SetContext

func (o *UpdateFabricParams) SetContext(ctx context.Context)

SetContext adds the context to the update fabric params

func (*UpdateFabricParams) SetDefaults

func (o *UpdateFabricParams) SetDefaults()

SetDefaults hydrates default values in the update fabric params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateFabricParams) SetHTTPClient

func (o *UpdateFabricParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update fabric params

func (*UpdateFabricParams) SetTimeout

func (o *UpdateFabricParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update fabric params

func (*UpdateFabricParams) WithContext

WithContext adds the context to the update fabric params

func (*UpdateFabricParams) WithDefaults

func (o *UpdateFabricParams) WithDefaults() *UpdateFabricParams

WithDefaults hydrates default values in the update fabric params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateFabricParams) WithHTTPClient

func (o *UpdateFabricParams) WithHTTPClient(client *http.Client) *UpdateFabricParams

WithHTTPClient adds the HTTPClient to the update fabric params

func (*UpdateFabricParams) WithTimeout

func (o *UpdateFabricParams) WithTimeout(timeout time.Duration) *UpdateFabricParams

WithTimeout adds the timeout to the update fabric params

func (*UpdateFabricParams) WriteToRequest

func (o *UpdateFabricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateFabricReader

type UpdateFabricReader struct {
	// contains filtered or unexported fields
}

UpdateFabricReader is a Reader for the UpdateFabric structure.

func (*UpdateFabricReader) ReadResponse

func (o *UpdateFabricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateFabricServiceUnavailable

type UpdateFabricServiceUnavailable struct {
	Payload *models.GeneralError
}

UpdateFabricServiceUnavailable describes a response with status code 503, with default header values.

If remote source is not available

func NewUpdateFabricServiceUnavailable

func NewUpdateFabricServiceUnavailable() *UpdateFabricServiceUnavailable

NewUpdateFabricServiceUnavailable creates a UpdateFabricServiceUnavailable with default headers values

func (*UpdateFabricServiceUnavailable) Code

Code gets the status code for the update fabric service unavailable response

func (*UpdateFabricServiceUnavailable) Error

func (*UpdateFabricServiceUnavailable) GetPayload

func (*UpdateFabricServiceUnavailable) IsClientError

func (o *UpdateFabricServiceUnavailable) IsClientError() bool

IsClientError returns true when this update fabric service unavailable response has a 4xx status code

func (*UpdateFabricServiceUnavailable) IsCode

func (o *UpdateFabricServiceUnavailable) IsCode(code int) bool

IsCode returns true when this update fabric service unavailable response a status code equal to that given

func (*UpdateFabricServiceUnavailable) IsRedirect

func (o *UpdateFabricServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this update fabric service unavailable response has a 3xx status code

func (*UpdateFabricServiceUnavailable) IsServerError

func (o *UpdateFabricServiceUnavailable) IsServerError() bool

IsServerError returns true when this update fabric service unavailable response has a 5xx status code

func (*UpdateFabricServiceUnavailable) IsSuccess

func (o *UpdateFabricServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this update fabric service unavailable response has a 2xx status code

func (*UpdateFabricServiceUnavailable) String

Jump to

Keyboard shortcuts

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