packer_service

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for packer service API

func (*Client) PackerServiceCreateBucket added in v0.14.0

func (a *Client) PackerServiceCreateBucket(params *PackerServiceCreateBucketParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceCreateBucketOK, error)

PackerServiceCreateBucket creates bucket creates a image bucket in the h c p packer registry

func (*Client) PackerServiceCreateBuild added in v0.14.0

func (a *Client) PackerServiceCreateBuild(params *PackerServiceCreateBuildParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceCreateBuildOK, error)

PackerServiceCreateBuild creates build will create an image build in the provided image bucket and iteration it s called once for each build source in a packer build run if the build for a given cloud provider already exists then the create method will fail

func (*Client) PackerServiceCreateChannel added in v0.14.0

func (a *Client) PackerServiceCreateChannel(params *PackerServiceCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceCreateChannelOK, error)

PackerServiceCreateChannel creates channel creates a channel either empty or pointing to an iteration

func (*Client) PackerServiceCreateIteration added in v0.14.0

func (a *Client) PackerServiceCreateIteration(params *PackerServiceCreateIterationParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceCreateIterationOK, error)

PackerServiceCreateIteration creates iteration will given a bucket create a new empty iteration to be written to this is called at the beginning of a new packer build if an image iteration with the same iteration number already exists this call will return an error this will not create individual builds for the iteration it will only create the iteration placeholder

func (*Client) PackerServiceCreateRegistry added in v0.14.0

func (a *Client) PackerServiceCreateRegistry(params *PackerServiceCreateRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceCreateRegistryOK, error)

PackerServiceCreateRegistry creates registry creates an h c p packer registry and start billing for it

func (*Client) PackerServiceDeleteBucket added in v0.14.0

func (a *Client) PackerServiceDeleteBucket(params *PackerServiceDeleteBucketParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceDeleteBucketOK, error)

PackerServiceDeleteBucket deletes bucket deletes a bucket and all its information such as iterations and builds

func (*Client) PackerServiceDeleteBuild added in v0.14.0

func (a *Client) PackerServiceDeleteBuild(params *PackerServiceDeleteBuildParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceDeleteBuildOK, error)

PackerServiceDeleteBuild deletes build deletes a build in the provided bucket and iteration

func (*Client) PackerServiceDeleteChannel added in v0.14.0

func (a *Client) PackerServiceDeleteChannel(params *PackerServiceDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceDeleteChannelOK, error)

PackerServiceDeleteChannel deletes channel will delete a channel

func (*Client) PackerServiceDeleteIteration added in v0.14.0

func (a *Client) PackerServiceDeleteIteration(params *PackerServiceDeleteIterationParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceDeleteIterationOK, error)

PackerServiceDeleteIteration deletes iteration deletes an iteration and all its information such as its builds

func (*Client) PackerServiceDeleteRegistry added in v0.14.0

func (a *Client) PackerServiceDeleteRegistry(params *PackerServiceDeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceDeleteRegistryOK, error)

PackerServiceDeleteRegistry deletes registry by default soft deletes an h c p packer registry by making it deactivated soft deletion includes stopping billing set hard delete to true to also delete the registry from database

func (*Client) PackerServiceGetBucket added in v0.14.0

func (a *Client) PackerServiceGetBucket(params *PackerServiceGetBucketParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceGetBucketOK, error)

PackerServiceGetBucket gets bucket returns a bucket with its latest completed iteration

func (*Client) PackerServiceGetBuild added in v0.14.0

func (a *Client) PackerServiceGetBuild(params *PackerServiceGetBuildParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceGetBuildOK, error)

PackerServiceGetBuild gets build returns a build with its list of images if the requested build iteration is revoked and the requester is a service principal the image id URL will be omitted from the response to avoid automation scripts to use a revoked image

func (*Client) PackerServiceGetChannel added in v0.14.0

func (a *Client) PackerServiceGetChannel(params *PackerServiceGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceGetChannelOK, error)

PackerServiceGetChannel gets channel returns a channel with the iteration it s pointing to if any if the requested iteration is revoked and the requester is a service principal the image id URL will be omitted from the response to avoid automation scripts to use a revoked image

func (*Client) PackerServiceGetIteration added in v0.14.0

func (a *Client) PackerServiceGetIteration(params *PackerServiceGetIterationParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceGetIterationOK, error)
PackerServiceGetIteration gets iteration allows the user to retrieve an iteration using one of the following identifiers iteration id incremental version fingerprint

These are supplied as a query parameter. For example:

images/{bucket_slug}/iteration?fingerprint={fingerprint}

bucket_slug must always be set because it is possible for iterations to have the same incremental_version or fingerprint across buckets.

If the requested iteration is revoked and the requester is a service principal, the image id/URL will be omitted from the response to avoid automation scripts to use a revoked image.

func (*Client) PackerServiceGetRegistry added in v0.14.0

func (a *Client) PackerServiceGetRegistry(params *PackerServiceGetRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceGetRegistryOK, error)

PackerServiceGetRegistry gets registry returns an h c p packer registry either activated or not

func (*Client) PackerServiceListBuckets added in v0.14.0

func (a *Client) PackerServiceListBuckets(params *PackerServiceListBucketsParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceListBucketsOK, error)

PackerServiceListBuckets lists buckets returns every existing bucket in the h c p packer registry and their last completed iteration

func (*Client) PackerServiceListBuilds added in v0.14.0

func (a *Client) PackerServiceListBuilds(params *PackerServiceListBuildsParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceListBuildsOK, error)

PackerServiceListBuilds lists builds returns every existing build and its images for a bucket iteration if the requested iteration is revoked and the requester is a service principal the image id URL will be omitted from the response to avoid automation scripts to use a revoked image

func (*Client) PackerServiceListChannels added in v0.14.0

func (a *Client) PackerServiceListChannels(params *PackerServiceListChannelsParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceListChannelsOK, error)

PackerServiceListChannels lists channels will return all channels of a given bucket

func (*Client) PackerServiceListIterations added in v0.14.0

func (a *Client) PackerServiceListIterations(params *PackerServiceListIterationsParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceListIterationsOK, error)

PackerServiceListIterations lists iterations returns every existing iteration of a bucket either complete or incomplete

func (*Client) PackerServiceUpdateBucket added in v0.14.0

func (a *Client) PackerServiceUpdateBucket(params *PackerServiceUpdateBucketParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceUpdateBucketOK, error)

PackerServiceUpdateBucket updates bucket updates a bucket s basic information

func (*Client) PackerServiceUpdateBuild added in v0.14.0

func (a *Client) PackerServiceUpdateBuild(params *PackerServiceUpdateBuildParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceUpdateBuildOK, error)

PackerServiceUpdateBuild updates build will update an image build this may be most often used for modifying the status of a currently running build

func (*Client) PackerServiceUpdateChannel added in v0.14.0

func (a *Client) PackerServiceUpdateChannel(params *PackerServiceUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceUpdateChannelOK, error)

PackerServiceUpdateChannel updates channel updates a channel to point to a new iteration

func (*Client) PackerServiceUpdateIteration added in v0.14.0

func (a *Client) PackerServiceUpdateIteration(params *PackerServiceUpdateIterationParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceUpdateIterationOK, error)

PackerServiceUpdateIteration updates iteration can be used to mark an iteration complete revoke revoking can be done at any time to complete or incomplete iterations immediately or in the future depending on the passing timestamp revoked iterations cannot be updated to make build specific updates for builds within the iteration use the update build endpoint

func (*Client) PackerServiceUpdateRegistry added in v0.16.0

func (a *Client) PackerServiceUpdateRegistry(params *PackerServiceUpdateRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceUpdateRegistryOK, error)

PackerServiceUpdateRegistry updates registry update the feature tier of h c p packer registry

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	PackerServiceCreateBucket(params *PackerServiceCreateBucketParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceCreateBucketOK, error)

	PackerServiceCreateBuild(params *PackerServiceCreateBuildParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceCreateBuildOK, error)

	PackerServiceCreateChannel(params *PackerServiceCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceCreateChannelOK, error)

	PackerServiceCreateIteration(params *PackerServiceCreateIterationParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceCreateIterationOK, error)

	PackerServiceCreateRegistry(params *PackerServiceCreateRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceCreateRegistryOK, error)

	PackerServiceDeleteBucket(params *PackerServiceDeleteBucketParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceDeleteBucketOK, error)

	PackerServiceDeleteBuild(params *PackerServiceDeleteBuildParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceDeleteBuildOK, error)

	PackerServiceDeleteChannel(params *PackerServiceDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceDeleteChannelOK, error)

	PackerServiceDeleteIteration(params *PackerServiceDeleteIterationParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceDeleteIterationOK, error)

	PackerServiceDeleteRegistry(params *PackerServiceDeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceDeleteRegistryOK, error)

	PackerServiceGetBucket(params *PackerServiceGetBucketParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceGetBucketOK, error)

	PackerServiceGetBuild(params *PackerServiceGetBuildParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceGetBuildOK, error)

	PackerServiceGetChannel(params *PackerServiceGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceGetChannelOK, error)

	PackerServiceGetIteration(params *PackerServiceGetIterationParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceGetIterationOK, error)

	PackerServiceGetRegistry(params *PackerServiceGetRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceGetRegistryOK, error)

	PackerServiceListBuckets(params *PackerServiceListBucketsParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceListBucketsOK, error)

	PackerServiceListBuilds(params *PackerServiceListBuildsParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceListBuildsOK, error)

	PackerServiceListChannels(params *PackerServiceListChannelsParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceListChannelsOK, error)

	PackerServiceListIterations(params *PackerServiceListIterationsParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceListIterationsOK, error)

	PackerServiceUpdateBucket(params *PackerServiceUpdateBucketParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceUpdateBucketOK, error)

	PackerServiceUpdateBuild(params *PackerServiceUpdateBuildParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceUpdateBuildOK, error)

	PackerServiceUpdateChannel(params *PackerServiceUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceUpdateChannelOK, error)

	PackerServiceUpdateIteration(params *PackerServiceUpdateIterationParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceUpdateIterationOK, error)

	PackerServiceUpdateRegistry(params *PackerServiceUpdateRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*PackerServiceUpdateRegistryOK, 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 packer service API client.

type PackerServiceCreateBucketDefault added in v0.14.0

type PackerServiceCreateBucketDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceCreateBucketDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceCreateBucketDefault added in v0.14.0

func NewPackerServiceCreateBucketDefault(code int) *PackerServiceCreateBucketDefault

NewPackerServiceCreateBucketDefault creates a PackerServiceCreateBucketDefault with default headers values

func (*PackerServiceCreateBucketDefault) Code added in v0.14.0

Code gets the status code for the packer service create bucket default response

func (*PackerServiceCreateBucketDefault) Error added in v0.14.0

func (*PackerServiceCreateBucketDefault) GetPayload added in v0.14.0

type PackerServiceCreateBucketOK added in v0.14.0

type PackerServiceCreateBucketOK struct {
	Payload *models.HashicorpCloudPackerCreateBucketResponse
}

PackerServiceCreateBucketOK handles this case with default header values.

A successful response.

func NewPackerServiceCreateBucketOK added in v0.14.0

func NewPackerServiceCreateBucketOK() *PackerServiceCreateBucketOK

NewPackerServiceCreateBucketOK creates a PackerServiceCreateBucketOK with default headers values

func (*PackerServiceCreateBucketOK) Error added in v0.14.0

func (*PackerServiceCreateBucketOK) GetPayload added in v0.14.0

type PackerServiceCreateBucketParams added in v0.14.0

type PackerServiceCreateBucketParams struct {

	/*Body*/
	Body *models.HashicorpCloudPackerCreateBucketRequest
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

PackerServiceCreateBucketParams contains all the parameters to send to the API endpoint for the packer service create bucket operation typically these are written to a http.Request

func NewPackerServiceCreateBucketParams added in v0.14.0

func NewPackerServiceCreateBucketParams() *PackerServiceCreateBucketParams

NewPackerServiceCreateBucketParams creates a new PackerServiceCreateBucketParams object with the default values initialized.

func NewPackerServiceCreateBucketParamsWithContext added in v0.14.0

func NewPackerServiceCreateBucketParamsWithContext(ctx context.Context) *PackerServiceCreateBucketParams

NewPackerServiceCreateBucketParamsWithContext creates a new PackerServiceCreateBucketParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceCreateBucketParamsWithHTTPClient added in v0.14.0

func NewPackerServiceCreateBucketParamsWithHTTPClient(client *http.Client) *PackerServiceCreateBucketParams

NewPackerServiceCreateBucketParamsWithHTTPClient creates a new PackerServiceCreateBucketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceCreateBucketParamsWithTimeout added in v0.14.0

func NewPackerServiceCreateBucketParamsWithTimeout(timeout time.Duration) *PackerServiceCreateBucketParams

NewPackerServiceCreateBucketParamsWithTimeout creates a new PackerServiceCreateBucketParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceCreateBucketParams) SetBody added in v0.14.0

SetBody adds the body to the packer service create bucket params

func (*PackerServiceCreateBucketParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service create bucket params

func (*PackerServiceCreateBucketParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service create bucket params

func (*PackerServiceCreateBucketParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceCreateBucketParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service create bucket params

func (*PackerServiceCreateBucketParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceCreateBucketParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service create bucket params

func (*PackerServiceCreateBucketParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithBody added in v0.14.0

WithBody adds the body to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithContext added in v0.14.0

WithContext adds the context to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceCreateBucketParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateBucketParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceCreateBucketParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateBucketParams

WithLocationProjectID adds the locationProjectID to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceCreateBucketReader added in v0.14.0

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

PackerServiceCreateBucketReader is a Reader for the PackerServiceCreateBucket structure.

func (*PackerServiceCreateBucketReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceCreateBuildDefault added in v0.14.0

type PackerServiceCreateBuildDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceCreateBuildDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceCreateBuildDefault added in v0.14.0

func NewPackerServiceCreateBuildDefault(code int) *PackerServiceCreateBuildDefault

NewPackerServiceCreateBuildDefault creates a PackerServiceCreateBuildDefault with default headers values

func (*PackerServiceCreateBuildDefault) Code added in v0.14.0

Code gets the status code for the packer service create build default response

func (*PackerServiceCreateBuildDefault) Error added in v0.14.0

func (*PackerServiceCreateBuildDefault) GetPayload added in v0.14.0

type PackerServiceCreateBuildOK added in v0.14.0

type PackerServiceCreateBuildOK struct {
	Payload *models.HashicorpCloudPackerCreateBuildResponse
}

PackerServiceCreateBuildOK handles this case with default header values.

A successful response.

func NewPackerServiceCreateBuildOK added in v0.14.0

func NewPackerServiceCreateBuildOK() *PackerServiceCreateBuildOK

NewPackerServiceCreateBuildOK creates a PackerServiceCreateBuildOK with default headers values

func (*PackerServiceCreateBuildOK) Error added in v0.14.0

func (*PackerServiceCreateBuildOK) GetPayload added in v0.14.0

type PackerServiceCreateBuildParams added in v0.14.0

type PackerServiceCreateBuildParams struct {

	/*Body*/
	Body *models.HashicorpCloudPackerCreateBuildRequest
	/*BucketSlug
	  Human-readable name for the bucket.

	*/
	BucketSlug string
	/*IterationID
	  Unique identifier of the iteration that this build should be associated
	with.

	*/
	IterationID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

PackerServiceCreateBuildParams contains all the parameters to send to the API endpoint for the packer service create build operation typically these are written to a http.Request

func NewPackerServiceCreateBuildParams added in v0.14.0

func NewPackerServiceCreateBuildParams() *PackerServiceCreateBuildParams

NewPackerServiceCreateBuildParams creates a new PackerServiceCreateBuildParams object with the default values initialized.

func NewPackerServiceCreateBuildParamsWithContext added in v0.14.0

func NewPackerServiceCreateBuildParamsWithContext(ctx context.Context) *PackerServiceCreateBuildParams

NewPackerServiceCreateBuildParamsWithContext creates a new PackerServiceCreateBuildParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceCreateBuildParamsWithHTTPClient added in v0.14.0

func NewPackerServiceCreateBuildParamsWithHTTPClient(client *http.Client) *PackerServiceCreateBuildParams

NewPackerServiceCreateBuildParamsWithHTTPClient creates a new PackerServiceCreateBuildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceCreateBuildParamsWithTimeout added in v0.14.0

func NewPackerServiceCreateBuildParamsWithTimeout(timeout time.Duration) *PackerServiceCreateBuildParams

NewPackerServiceCreateBuildParamsWithTimeout creates a new PackerServiceCreateBuildParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceCreateBuildParams) SetBody added in v0.14.0

SetBody adds the body to the packer service create build params

func (*PackerServiceCreateBuildParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceCreateBuildParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service create build params

func (*PackerServiceCreateBuildParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service create build params

func (*PackerServiceCreateBuildParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service create build params

func (*PackerServiceCreateBuildParams) SetIterationID added in v0.14.0

func (o *PackerServiceCreateBuildParams) SetIterationID(iterationID string)

SetIterationID adds the iterationId to the packer service create build params

func (*PackerServiceCreateBuildParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceCreateBuildParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service create build params

func (*PackerServiceCreateBuildParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceCreateBuildParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service create build params

func (*PackerServiceCreateBuildParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service create build params

func (*PackerServiceCreateBuildParams) WithBody added in v0.14.0

WithBody adds the body to the packer service create build params

func (*PackerServiceCreateBuildParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service create build params

func (*PackerServiceCreateBuildParams) WithContext added in v0.14.0

WithContext adds the context to the packer service create build params

func (*PackerServiceCreateBuildParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service create build params

func (*PackerServiceCreateBuildParams) WithIterationID added in v0.14.0

func (o *PackerServiceCreateBuildParams) WithIterationID(iterationID string) *PackerServiceCreateBuildParams

WithIterationID adds the iterationID to the packer service create build params

func (*PackerServiceCreateBuildParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceCreateBuildParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateBuildParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service create build params

func (*PackerServiceCreateBuildParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceCreateBuildParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateBuildParams

WithLocationProjectID adds the locationProjectID to the packer service create build params

func (*PackerServiceCreateBuildParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service create build params

func (*PackerServiceCreateBuildParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceCreateBuildReader added in v0.14.0

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

PackerServiceCreateBuildReader is a Reader for the PackerServiceCreateBuild structure.

func (*PackerServiceCreateBuildReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceCreateChannelDefault added in v0.14.0

type PackerServiceCreateChannelDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceCreateChannelDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceCreateChannelDefault added in v0.14.0

func NewPackerServiceCreateChannelDefault(code int) *PackerServiceCreateChannelDefault

NewPackerServiceCreateChannelDefault creates a PackerServiceCreateChannelDefault with default headers values

func (*PackerServiceCreateChannelDefault) Code added in v0.14.0

Code gets the status code for the packer service create channel default response

func (*PackerServiceCreateChannelDefault) Error added in v0.14.0

func (*PackerServiceCreateChannelDefault) GetPayload added in v0.14.0

type PackerServiceCreateChannelOK added in v0.14.0

type PackerServiceCreateChannelOK struct {
	Payload *models.HashicorpCloudPackerCreateChannelResponse
}

PackerServiceCreateChannelOK handles this case with default header values.

A successful response.

func NewPackerServiceCreateChannelOK added in v0.14.0

func NewPackerServiceCreateChannelOK() *PackerServiceCreateChannelOK

NewPackerServiceCreateChannelOK creates a PackerServiceCreateChannelOK with default headers values

func (*PackerServiceCreateChannelOK) Error added in v0.14.0

func (*PackerServiceCreateChannelOK) GetPayload added in v0.14.0

type PackerServiceCreateChannelParams added in v0.14.0

type PackerServiceCreateChannelParams struct {

	/*Body*/
	Body *models.HashicorpCloudPackerCreateChannelRequest
	/*BucketSlug
	  Human-readable name for the bucket to associate the channel with.

	*/
	BucketSlug string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

PackerServiceCreateChannelParams contains all the parameters to send to the API endpoint for the packer service create channel operation typically these are written to a http.Request

func NewPackerServiceCreateChannelParams added in v0.14.0

func NewPackerServiceCreateChannelParams() *PackerServiceCreateChannelParams

NewPackerServiceCreateChannelParams creates a new PackerServiceCreateChannelParams object with the default values initialized.

func NewPackerServiceCreateChannelParamsWithContext added in v0.14.0

func NewPackerServiceCreateChannelParamsWithContext(ctx context.Context) *PackerServiceCreateChannelParams

NewPackerServiceCreateChannelParamsWithContext creates a new PackerServiceCreateChannelParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceCreateChannelParamsWithHTTPClient added in v0.14.0

func NewPackerServiceCreateChannelParamsWithHTTPClient(client *http.Client) *PackerServiceCreateChannelParams

NewPackerServiceCreateChannelParamsWithHTTPClient creates a new PackerServiceCreateChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceCreateChannelParamsWithTimeout added in v0.14.0

func NewPackerServiceCreateChannelParamsWithTimeout(timeout time.Duration) *PackerServiceCreateChannelParams

NewPackerServiceCreateChannelParamsWithTimeout creates a new PackerServiceCreateChannelParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceCreateChannelParams) SetBody added in v0.14.0

SetBody adds the body to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceCreateChannelParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetContext added in v0.14.0

SetContext adds the context to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceCreateChannelParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceCreateChannelParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithBody added in v0.14.0

WithBody adds the body to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithContext added in v0.14.0

WithContext adds the context to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceCreateChannelParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateChannelParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceCreateChannelParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateChannelParams

WithLocationProjectID adds the locationProjectID to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service create channel params

func (*PackerServiceCreateChannelParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceCreateChannelReader added in v0.14.0

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

PackerServiceCreateChannelReader is a Reader for the PackerServiceCreateChannel structure.

func (*PackerServiceCreateChannelReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceCreateIterationDefault added in v0.14.0

type PackerServiceCreateIterationDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceCreateIterationDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceCreateIterationDefault added in v0.14.0

func NewPackerServiceCreateIterationDefault(code int) *PackerServiceCreateIterationDefault

NewPackerServiceCreateIterationDefault creates a PackerServiceCreateIterationDefault with default headers values

func (*PackerServiceCreateIterationDefault) Code added in v0.14.0

Code gets the status code for the packer service create iteration default response

func (*PackerServiceCreateIterationDefault) Error added in v0.14.0

func (*PackerServiceCreateIterationDefault) GetPayload added in v0.14.0

type PackerServiceCreateIterationOK added in v0.14.0

type PackerServiceCreateIterationOK struct {
	Payload *models.HashicorpCloudPackerCreateIterationResponse
}

PackerServiceCreateIterationOK handles this case with default header values.

A successful response.

func NewPackerServiceCreateIterationOK added in v0.14.0

func NewPackerServiceCreateIterationOK() *PackerServiceCreateIterationOK

NewPackerServiceCreateIterationOK creates a PackerServiceCreateIterationOK with default headers values

func (*PackerServiceCreateIterationOK) Error added in v0.14.0

func (*PackerServiceCreateIterationOK) GetPayload added in v0.14.0

type PackerServiceCreateIterationParams added in v0.14.0

type PackerServiceCreateIterationParams struct {

	/*Body*/
	Body *models.HashicorpCloudPackerCreateIterationRequest
	/*BucketSlug
	  Human-readable name for the bucket.

	*/
	BucketSlug string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

PackerServiceCreateIterationParams contains all the parameters to send to the API endpoint for the packer service create iteration operation typically these are written to a http.Request

func NewPackerServiceCreateIterationParams added in v0.14.0

func NewPackerServiceCreateIterationParams() *PackerServiceCreateIterationParams

NewPackerServiceCreateIterationParams creates a new PackerServiceCreateIterationParams object with the default values initialized.

func NewPackerServiceCreateIterationParamsWithContext added in v0.14.0

func NewPackerServiceCreateIterationParamsWithContext(ctx context.Context) *PackerServiceCreateIterationParams

NewPackerServiceCreateIterationParamsWithContext creates a new PackerServiceCreateIterationParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceCreateIterationParamsWithHTTPClient added in v0.14.0

func NewPackerServiceCreateIterationParamsWithHTTPClient(client *http.Client) *PackerServiceCreateIterationParams

NewPackerServiceCreateIterationParamsWithHTTPClient creates a new PackerServiceCreateIterationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceCreateIterationParamsWithTimeout added in v0.14.0

func NewPackerServiceCreateIterationParamsWithTimeout(timeout time.Duration) *PackerServiceCreateIterationParams

NewPackerServiceCreateIterationParamsWithTimeout creates a new PackerServiceCreateIterationParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceCreateIterationParams) SetBody added in v0.14.0

SetBody adds the body to the packer service create iteration params

func (*PackerServiceCreateIterationParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceCreateIterationParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service create iteration params

func (*PackerServiceCreateIterationParams) SetContext added in v0.14.0

SetContext adds the context to the packer service create iteration params

func (*PackerServiceCreateIterationParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service create iteration params

func (*PackerServiceCreateIterationParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceCreateIterationParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service create iteration params

func (*PackerServiceCreateIterationParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceCreateIterationParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service create iteration params

func (*PackerServiceCreateIterationParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithBody added in v0.14.0

WithBody adds the body to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithContext added in v0.14.0

WithContext adds the context to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceCreateIterationParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateIterationParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceCreateIterationParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateIterationParams

WithLocationProjectID adds the locationProjectID to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceCreateIterationReader added in v0.14.0

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

PackerServiceCreateIterationReader is a Reader for the PackerServiceCreateIteration structure.

func (*PackerServiceCreateIterationReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceCreateRegistryDefault added in v0.14.0

type PackerServiceCreateRegistryDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceCreateRegistryDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceCreateRegistryDefault added in v0.14.0

func NewPackerServiceCreateRegistryDefault(code int) *PackerServiceCreateRegistryDefault

NewPackerServiceCreateRegistryDefault creates a PackerServiceCreateRegistryDefault with default headers values

func (*PackerServiceCreateRegistryDefault) Code added in v0.14.0

Code gets the status code for the packer service create registry default response

func (*PackerServiceCreateRegistryDefault) Error added in v0.14.0

func (*PackerServiceCreateRegistryDefault) GetPayload added in v0.14.0

type PackerServiceCreateRegistryOK added in v0.14.0

type PackerServiceCreateRegistryOK struct {
	Payload *models.HashicorpCloudPackerCreateRegistryResponse
}

PackerServiceCreateRegistryOK handles this case with default header values.

A successful response.

func NewPackerServiceCreateRegistryOK added in v0.14.0

func NewPackerServiceCreateRegistryOK() *PackerServiceCreateRegistryOK

NewPackerServiceCreateRegistryOK creates a PackerServiceCreateRegistryOK with default headers values

func (*PackerServiceCreateRegistryOK) Error added in v0.14.0

func (*PackerServiceCreateRegistryOK) GetPayload added in v0.14.0

type PackerServiceCreateRegistryParams added in v0.14.0

type PackerServiceCreateRegistryParams struct {

	/*Body*/
	Body *models.HashicorpCloudPackerCreateRegistryRequest
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

PackerServiceCreateRegistryParams contains all the parameters to send to the API endpoint for the packer service create registry operation typically these are written to a http.Request

func NewPackerServiceCreateRegistryParams added in v0.14.0

func NewPackerServiceCreateRegistryParams() *PackerServiceCreateRegistryParams

NewPackerServiceCreateRegistryParams creates a new PackerServiceCreateRegistryParams object with the default values initialized.

func NewPackerServiceCreateRegistryParamsWithContext added in v0.14.0

func NewPackerServiceCreateRegistryParamsWithContext(ctx context.Context) *PackerServiceCreateRegistryParams

NewPackerServiceCreateRegistryParamsWithContext creates a new PackerServiceCreateRegistryParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceCreateRegistryParamsWithHTTPClient added in v0.14.0

func NewPackerServiceCreateRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceCreateRegistryParams

NewPackerServiceCreateRegistryParamsWithHTTPClient creates a new PackerServiceCreateRegistryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceCreateRegistryParamsWithTimeout added in v0.14.0

func NewPackerServiceCreateRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceCreateRegistryParams

NewPackerServiceCreateRegistryParamsWithTimeout creates a new PackerServiceCreateRegistryParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceCreateRegistryParams) SetBody added in v0.14.0

SetBody adds the body to the packer service create registry params

func (*PackerServiceCreateRegistryParams) SetContext added in v0.14.0

SetContext adds the context to the packer service create registry params

func (*PackerServiceCreateRegistryParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service create registry params

func (*PackerServiceCreateRegistryParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceCreateRegistryParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service create registry params

func (*PackerServiceCreateRegistryParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceCreateRegistryParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service create registry params

func (*PackerServiceCreateRegistryParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithBody added in v0.14.0

WithBody adds the body to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithContext added in v0.14.0

WithContext adds the context to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceCreateRegistryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateRegistryParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceCreateRegistryParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateRegistryParams

WithLocationProjectID adds the locationProjectID to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceCreateRegistryReader added in v0.14.0

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

PackerServiceCreateRegistryReader is a Reader for the PackerServiceCreateRegistry structure.

func (*PackerServiceCreateRegistryReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceDeleteBucketDefault added in v0.14.0

type PackerServiceDeleteBucketDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceDeleteBucketDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceDeleteBucketDefault added in v0.14.0

func NewPackerServiceDeleteBucketDefault(code int) *PackerServiceDeleteBucketDefault

NewPackerServiceDeleteBucketDefault creates a PackerServiceDeleteBucketDefault with default headers values

func (*PackerServiceDeleteBucketDefault) Code added in v0.14.0

Code gets the status code for the packer service delete bucket default response

func (*PackerServiceDeleteBucketDefault) Error added in v0.14.0

func (*PackerServiceDeleteBucketDefault) GetPayload added in v0.14.0

type PackerServiceDeleteBucketOK added in v0.14.0

type PackerServiceDeleteBucketOK struct {
	Payload models.HashicorpCloudPackerDeleteBucketResponse
}

PackerServiceDeleteBucketOK handles this case with default header values.

A successful response.

func NewPackerServiceDeleteBucketOK added in v0.14.0

func NewPackerServiceDeleteBucketOK() *PackerServiceDeleteBucketOK

NewPackerServiceDeleteBucketOK creates a PackerServiceDeleteBucketOK with default headers values

func (*PackerServiceDeleteBucketOK) Error added in v0.14.0

func (*PackerServiceDeleteBucketOK) GetPayload added in v0.14.0

type PackerServiceDeleteBucketParams added in v0.14.0

type PackerServiceDeleteBucketParams struct {

	/*BucketSlug
	  Human-readable name for the bucket.

	*/
	BucketSlug string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

PackerServiceDeleteBucketParams contains all the parameters to send to the API endpoint for the packer service delete bucket operation typically these are written to a http.Request

func NewPackerServiceDeleteBucketParams added in v0.14.0

func NewPackerServiceDeleteBucketParams() *PackerServiceDeleteBucketParams

NewPackerServiceDeleteBucketParams creates a new PackerServiceDeleteBucketParams object with the default values initialized.

func NewPackerServiceDeleteBucketParamsWithContext added in v0.14.0

func NewPackerServiceDeleteBucketParamsWithContext(ctx context.Context) *PackerServiceDeleteBucketParams

NewPackerServiceDeleteBucketParamsWithContext creates a new PackerServiceDeleteBucketParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceDeleteBucketParamsWithHTTPClient added in v0.14.0

func NewPackerServiceDeleteBucketParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteBucketParams

NewPackerServiceDeleteBucketParamsWithHTTPClient creates a new PackerServiceDeleteBucketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceDeleteBucketParamsWithTimeout added in v0.14.0

func NewPackerServiceDeleteBucketParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteBucketParams

NewPackerServiceDeleteBucketParamsWithTimeout creates a new PackerServiceDeleteBucketParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceDeleteBucketParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceDeleteBucketParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceDeleteBucketParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceDeleteBucketParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceDeleteBucketParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceDeleteBucketParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithContext added in v0.14.0

WithContext adds the context to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceDeleteBucketParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteBucketParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceDeleteBucketParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteBucketParams

WithLocationProjectID adds the locationProjectID to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceDeleteBucketParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteBucketParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceDeleteBucketParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteBucketParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceDeleteBucketReader added in v0.14.0

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

PackerServiceDeleteBucketReader is a Reader for the PackerServiceDeleteBucket structure.

func (*PackerServiceDeleteBucketReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceDeleteBuildDefault added in v0.14.0

type PackerServiceDeleteBuildDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceDeleteBuildDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceDeleteBuildDefault added in v0.14.0

func NewPackerServiceDeleteBuildDefault(code int) *PackerServiceDeleteBuildDefault

NewPackerServiceDeleteBuildDefault creates a PackerServiceDeleteBuildDefault with default headers values

func (*PackerServiceDeleteBuildDefault) Code added in v0.14.0

Code gets the status code for the packer service delete build default response

func (*PackerServiceDeleteBuildDefault) Error added in v0.14.0

func (*PackerServiceDeleteBuildDefault) GetPayload added in v0.14.0

type PackerServiceDeleteBuildOK added in v0.14.0

type PackerServiceDeleteBuildOK struct {
	Payload models.HashicorpCloudPackerDeleteBuildResponse
}

PackerServiceDeleteBuildOK handles this case with default header values.

A successful response.

func NewPackerServiceDeleteBuildOK added in v0.14.0

func NewPackerServiceDeleteBuildOK() *PackerServiceDeleteBuildOK

NewPackerServiceDeleteBuildOK creates a PackerServiceDeleteBuildOK with default headers values

func (*PackerServiceDeleteBuildOK) Error added in v0.14.0

func (*PackerServiceDeleteBuildOK) GetPayload added in v0.14.0

type PackerServiceDeleteBuildParams added in v0.14.0

type PackerServiceDeleteBuildParams struct {

	/*BuildID
	  Unique identifier of the build that should be deleted; this ID was
	created and set by the HCP Packer registry when the build was created.

	*/
	BuildID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

PackerServiceDeleteBuildParams contains all the parameters to send to the API endpoint for the packer service delete build operation typically these are written to a http.Request

func NewPackerServiceDeleteBuildParams added in v0.14.0

func NewPackerServiceDeleteBuildParams() *PackerServiceDeleteBuildParams

NewPackerServiceDeleteBuildParams creates a new PackerServiceDeleteBuildParams object with the default values initialized.

func NewPackerServiceDeleteBuildParamsWithContext added in v0.14.0

func NewPackerServiceDeleteBuildParamsWithContext(ctx context.Context) *PackerServiceDeleteBuildParams

NewPackerServiceDeleteBuildParamsWithContext creates a new PackerServiceDeleteBuildParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceDeleteBuildParamsWithHTTPClient added in v0.14.0

func NewPackerServiceDeleteBuildParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteBuildParams

NewPackerServiceDeleteBuildParamsWithHTTPClient creates a new PackerServiceDeleteBuildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceDeleteBuildParamsWithTimeout added in v0.14.0

func NewPackerServiceDeleteBuildParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteBuildParams

NewPackerServiceDeleteBuildParamsWithTimeout creates a new PackerServiceDeleteBuildParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceDeleteBuildParams) SetBuildID added in v0.14.0

func (o *PackerServiceDeleteBuildParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceDeleteBuildParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceDeleteBuildParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceDeleteBuildParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceDeleteBuildParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithBuildID added in v0.14.0

WithBuildID adds the buildID to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithContext added in v0.14.0

WithContext adds the context to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceDeleteBuildParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteBuildParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceDeleteBuildParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteBuildParams

WithLocationProjectID adds the locationProjectID to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceDeleteBuildParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteBuildParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceDeleteBuildParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteBuildParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceDeleteBuildReader added in v0.14.0

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

PackerServiceDeleteBuildReader is a Reader for the PackerServiceDeleteBuild structure.

func (*PackerServiceDeleteBuildReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceDeleteChannelDefault added in v0.14.0

type PackerServiceDeleteChannelDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceDeleteChannelDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceDeleteChannelDefault added in v0.14.0

func NewPackerServiceDeleteChannelDefault(code int) *PackerServiceDeleteChannelDefault

NewPackerServiceDeleteChannelDefault creates a PackerServiceDeleteChannelDefault with default headers values

func (*PackerServiceDeleteChannelDefault) Code added in v0.14.0

Code gets the status code for the packer service delete channel default response

func (*PackerServiceDeleteChannelDefault) Error added in v0.14.0

func (*PackerServiceDeleteChannelDefault) GetPayload added in v0.14.0

type PackerServiceDeleteChannelOK added in v0.14.0

type PackerServiceDeleteChannelOK struct {
	Payload models.HashicorpCloudPackerDeleteChannelResponse
}

PackerServiceDeleteChannelOK handles this case with default header values.

A successful response.

func NewPackerServiceDeleteChannelOK added in v0.14.0

func NewPackerServiceDeleteChannelOK() *PackerServiceDeleteChannelOK

NewPackerServiceDeleteChannelOK creates a PackerServiceDeleteChannelOK with default headers values

func (*PackerServiceDeleteChannelOK) Error added in v0.14.0

func (*PackerServiceDeleteChannelOK) GetPayload added in v0.14.0

type PackerServiceDeleteChannelParams added in v0.14.0

type PackerServiceDeleteChannelParams struct {

	/*BucketSlug
	  Human-readable name for the bucket that the channel is associated with.

	*/
	BucketSlug string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string
	/*Slug
	  Human-readable name for the channel.

	*/
	Slug string

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

PackerServiceDeleteChannelParams contains all the parameters to send to the API endpoint for the packer service delete channel operation typically these are written to a http.Request

func NewPackerServiceDeleteChannelParams added in v0.14.0

func NewPackerServiceDeleteChannelParams() *PackerServiceDeleteChannelParams

NewPackerServiceDeleteChannelParams creates a new PackerServiceDeleteChannelParams object with the default values initialized.

func NewPackerServiceDeleteChannelParamsWithContext added in v0.14.0

func NewPackerServiceDeleteChannelParamsWithContext(ctx context.Context) *PackerServiceDeleteChannelParams

NewPackerServiceDeleteChannelParamsWithContext creates a new PackerServiceDeleteChannelParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceDeleteChannelParamsWithHTTPClient added in v0.14.0

func NewPackerServiceDeleteChannelParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteChannelParams

NewPackerServiceDeleteChannelParamsWithHTTPClient creates a new PackerServiceDeleteChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceDeleteChannelParamsWithTimeout added in v0.14.0

func NewPackerServiceDeleteChannelParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteChannelParams

NewPackerServiceDeleteChannelParamsWithTimeout creates a new PackerServiceDeleteChannelParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceDeleteChannelParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceDeleteChannelParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetContext added in v0.14.0

SetContext adds the context to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceDeleteChannelParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceDeleteChannelParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceDeleteChannelParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceDeleteChannelParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetSlug added in v0.14.0

func (o *PackerServiceDeleteChannelParams) SetSlug(slug string)

SetSlug adds the slug to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithContext added in v0.14.0

WithContext adds the context to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceDeleteChannelParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteChannelParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceDeleteChannelParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteChannelParams

WithLocationProjectID adds the locationProjectID to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceDeleteChannelParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteChannelParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceDeleteChannelParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteChannelParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithSlug added in v0.14.0

WithSlug adds the slug to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceDeleteChannelReader added in v0.14.0

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

PackerServiceDeleteChannelReader is a Reader for the PackerServiceDeleteChannel structure.

func (*PackerServiceDeleteChannelReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceDeleteIterationDefault added in v0.14.0

type PackerServiceDeleteIterationDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceDeleteIterationDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceDeleteIterationDefault added in v0.14.0

func NewPackerServiceDeleteIterationDefault(code int) *PackerServiceDeleteIterationDefault

NewPackerServiceDeleteIterationDefault creates a PackerServiceDeleteIterationDefault with default headers values

func (*PackerServiceDeleteIterationDefault) Code added in v0.14.0

Code gets the status code for the packer service delete iteration default response

func (*PackerServiceDeleteIterationDefault) Error added in v0.14.0

func (*PackerServiceDeleteIterationDefault) GetPayload added in v0.14.0

type PackerServiceDeleteIterationOK added in v0.14.0

type PackerServiceDeleteIterationOK struct {
	Payload models.HashicorpCloudPackerDeleteIterationResponse
}

PackerServiceDeleteIterationOK handles this case with default header values.

A successful response.

func NewPackerServiceDeleteIterationOK added in v0.14.0

func NewPackerServiceDeleteIterationOK() *PackerServiceDeleteIterationOK

NewPackerServiceDeleteIterationOK creates a PackerServiceDeleteIterationOK with default headers values

func (*PackerServiceDeleteIterationOK) Error added in v0.14.0

func (*PackerServiceDeleteIterationOK) GetPayload added in v0.14.0

type PackerServiceDeleteIterationParams added in v0.14.0

type PackerServiceDeleteIterationParams struct {

	/*BucketSlug
	  Human-readable name for the bucket.

	*/
	BucketSlug *string
	/*IterationID
	  Unique identifier of the iteration. This was created and set by the
	HCP Packer registry when the iteration was created.

	*/
	IterationID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

PackerServiceDeleteIterationParams contains all the parameters to send to the API endpoint for the packer service delete iteration operation typically these are written to a http.Request

func NewPackerServiceDeleteIterationParams added in v0.14.0

func NewPackerServiceDeleteIterationParams() *PackerServiceDeleteIterationParams

NewPackerServiceDeleteIterationParams creates a new PackerServiceDeleteIterationParams object with the default values initialized.

func NewPackerServiceDeleteIterationParamsWithContext added in v0.14.0

func NewPackerServiceDeleteIterationParamsWithContext(ctx context.Context) *PackerServiceDeleteIterationParams

NewPackerServiceDeleteIterationParamsWithContext creates a new PackerServiceDeleteIterationParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceDeleteIterationParamsWithHTTPClient added in v0.14.0

func NewPackerServiceDeleteIterationParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteIterationParams

NewPackerServiceDeleteIterationParamsWithHTTPClient creates a new PackerServiceDeleteIterationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceDeleteIterationParamsWithTimeout added in v0.14.0

func NewPackerServiceDeleteIterationParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteIterationParams

NewPackerServiceDeleteIterationParamsWithTimeout creates a new PackerServiceDeleteIterationParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceDeleteIterationParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceDeleteIterationParams) SetBucketSlug(bucketSlug *string)

SetBucketSlug adds the bucketSlug to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetContext added in v0.14.0

SetContext adds the context to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetIterationID added in v0.14.0

func (o *PackerServiceDeleteIterationParams) SetIterationID(iterationID string)

SetIterationID adds the iterationId to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceDeleteIterationParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceDeleteIterationParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceDeleteIterationParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceDeleteIterationParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithContext added in v0.14.0

WithContext adds the context to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithIterationID added in v0.14.0

WithIterationID adds the iterationID to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceDeleteIterationParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteIterationParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceDeleteIterationParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteIterationParams

WithLocationProjectID adds the locationProjectID to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceDeleteIterationParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteIterationParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceDeleteIterationParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteIterationParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceDeleteIterationReader added in v0.14.0

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

PackerServiceDeleteIterationReader is a Reader for the PackerServiceDeleteIteration structure.

func (*PackerServiceDeleteIterationReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceDeleteRegistryDefault added in v0.14.0

type PackerServiceDeleteRegistryDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceDeleteRegistryDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceDeleteRegistryDefault added in v0.14.0

func NewPackerServiceDeleteRegistryDefault(code int) *PackerServiceDeleteRegistryDefault

NewPackerServiceDeleteRegistryDefault creates a PackerServiceDeleteRegistryDefault with default headers values

func (*PackerServiceDeleteRegistryDefault) Code added in v0.14.0

Code gets the status code for the packer service delete registry default response

func (*PackerServiceDeleteRegistryDefault) Error added in v0.14.0

func (*PackerServiceDeleteRegistryDefault) GetPayload added in v0.14.0

type PackerServiceDeleteRegistryOK added in v0.14.0

type PackerServiceDeleteRegistryOK struct {
	Payload *models.HashicorpCloudPackerDeleteRegistryResponse
}

PackerServiceDeleteRegistryOK handles this case with default header values.

A successful response.

func NewPackerServiceDeleteRegistryOK added in v0.14.0

func NewPackerServiceDeleteRegistryOK() *PackerServiceDeleteRegistryOK

NewPackerServiceDeleteRegistryOK creates a PackerServiceDeleteRegistryOK with default headers values

func (*PackerServiceDeleteRegistryOK) Error added in v0.14.0

func (*PackerServiceDeleteRegistryOK) GetPayload added in v0.14.0

type PackerServiceDeleteRegistryParams added in v0.14.0

type PackerServiceDeleteRegistryParams struct {

	/*HardDelete
	  When set to true, the registry will be deleted from database
	and recovery will no longer be possible.

	*/
	HardDelete *bool
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

PackerServiceDeleteRegistryParams contains all the parameters to send to the API endpoint for the packer service delete registry operation typically these are written to a http.Request

func NewPackerServiceDeleteRegistryParams added in v0.14.0

func NewPackerServiceDeleteRegistryParams() *PackerServiceDeleteRegistryParams

NewPackerServiceDeleteRegistryParams creates a new PackerServiceDeleteRegistryParams object with the default values initialized.

func NewPackerServiceDeleteRegistryParamsWithContext added in v0.14.0

func NewPackerServiceDeleteRegistryParamsWithContext(ctx context.Context) *PackerServiceDeleteRegistryParams

NewPackerServiceDeleteRegistryParamsWithContext creates a new PackerServiceDeleteRegistryParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceDeleteRegistryParamsWithHTTPClient added in v0.14.0

func NewPackerServiceDeleteRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteRegistryParams

NewPackerServiceDeleteRegistryParamsWithHTTPClient creates a new PackerServiceDeleteRegistryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceDeleteRegistryParamsWithTimeout added in v0.14.0

func NewPackerServiceDeleteRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteRegistryParams

NewPackerServiceDeleteRegistryParamsWithTimeout creates a new PackerServiceDeleteRegistryParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceDeleteRegistryParams) SetContext added in v0.14.0

SetContext adds the context to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetHardDelete added in v0.16.0

func (o *PackerServiceDeleteRegistryParams) SetHardDelete(hardDelete *bool)

SetHardDelete adds the hardDelete to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceDeleteRegistryParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceDeleteRegistryParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceDeleteRegistryParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceDeleteRegistryParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithContext added in v0.14.0

WithContext adds the context to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithHardDelete added in v0.16.0

WithHardDelete adds the hardDelete to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceDeleteRegistryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteRegistryParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceDeleteRegistryParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteRegistryParams

WithLocationProjectID adds the locationProjectID to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceDeleteRegistryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteRegistryParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceDeleteRegistryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteRegistryParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceDeleteRegistryReader added in v0.14.0

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

PackerServiceDeleteRegistryReader is a Reader for the PackerServiceDeleteRegistry structure.

func (*PackerServiceDeleteRegistryReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceGetBucketDefault added in v0.14.0

type PackerServiceGetBucketDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceGetBucketDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceGetBucketDefault added in v0.14.0

func NewPackerServiceGetBucketDefault(code int) *PackerServiceGetBucketDefault

NewPackerServiceGetBucketDefault creates a PackerServiceGetBucketDefault with default headers values

func (*PackerServiceGetBucketDefault) Code added in v0.14.0

Code gets the status code for the packer service get bucket default response

func (*PackerServiceGetBucketDefault) Error added in v0.14.0

func (*PackerServiceGetBucketDefault) GetPayload added in v0.14.0

type PackerServiceGetBucketOK added in v0.14.0

type PackerServiceGetBucketOK struct {
	Payload *models.HashicorpCloudPackerGetBucketResponse
}

PackerServiceGetBucketOK handles this case with default header values.

A successful response.

func NewPackerServiceGetBucketOK added in v0.14.0

func NewPackerServiceGetBucketOK() *PackerServiceGetBucketOK

NewPackerServiceGetBucketOK creates a PackerServiceGetBucketOK with default headers values

func (*PackerServiceGetBucketOK) Error added in v0.14.0

func (o *PackerServiceGetBucketOK) Error() string

func (*PackerServiceGetBucketOK) GetPayload added in v0.14.0

type PackerServiceGetBucketParams added in v0.14.0

type PackerServiceGetBucketParams struct {

	/*BucketID
	  Unique identifier of the bucket; created and set by the HCP Packer
	registry when the bucket is created.

	*/
	BucketID *string
	/*BucketSlug
	  Human-readable name for the bucket.

	*/
	BucketSlug string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

PackerServiceGetBucketParams contains all the parameters to send to the API endpoint for the packer service get bucket operation typically these are written to a http.Request

func NewPackerServiceGetBucketParams added in v0.14.0

func NewPackerServiceGetBucketParams() *PackerServiceGetBucketParams

NewPackerServiceGetBucketParams creates a new PackerServiceGetBucketParams object with the default values initialized.

func NewPackerServiceGetBucketParamsWithContext added in v0.14.0

func NewPackerServiceGetBucketParamsWithContext(ctx context.Context) *PackerServiceGetBucketParams

NewPackerServiceGetBucketParamsWithContext creates a new PackerServiceGetBucketParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceGetBucketParamsWithHTTPClient added in v0.14.0

func NewPackerServiceGetBucketParamsWithHTTPClient(client *http.Client) *PackerServiceGetBucketParams

NewPackerServiceGetBucketParamsWithHTTPClient creates a new PackerServiceGetBucketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceGetBucketParamsWithTimeout added in v0.14.0

func NewPackerServiceGetBucketParamsWithTimeout(timeout time.Duration) *PackerServiceGetBucketParams

NewPackerServiceGetBucketParamsWithTimeout creates a new PackerServiceGetBucketParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceGetBucketParams) SetBucketID added in v0.14.0

func (o *PackerServiceGetBucketParams) SetBucketID(bucketID *string)

SetBucketID adds the bucketId to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceGetBucketParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceGetBucketParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceGetBucketParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceGetBucketParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceGetBucketParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithBucketID added in v0.14.0

WithBucketID adds the bucketID to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithBucketSlug added in v0.14.0

func (o *PackerServiceGetBucketParams) WithBucketSlug(bucketSlug string) *PackerServiceGetBucketParams

WithBucketSlug adds the bucketSlug to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithContext added in v0.14.0

WithContext adds the context to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceGetBucketParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetBucketParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceGetBucketParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetBucketParams

WithLocationProjectID adds the locationProjectID to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceGetBucketParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetBucketParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceGetBucketParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetBucketParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service get bucket params

func (*PackerServiceGetBucketParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceGetBucketReader added in v0.14.0

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

PackerServiceGetBucketReader is a Reader for the PackerServiceGetBucket structure.

func (*PackerServiceGetBucketReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceGetBuildDefault added in v0.14.0

type PackerServiceGetBuildDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceGetBuildDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceGetBuildDefault added in v0.14.0

func NewPackerServiceGetBuildDefault(code int) *PackerServiceGetBuildDefault

NewPackerServiceGetBuildDefault creates a PackerServiceGetBuildDefault with default headers values

func (*PackerServiceGetBuildDefault) Code added in v0.14.0

Code gets the status code for the packer service get build default response

func (*PackerServiceGetBuildDefault) Error added in v0.14.0

func (*PackerServiceGetBuildDefault) GetPayload added in v0.14.0

type PackerServiceGetBuildOK added in v0.14.0

type PackerServiceGetBuildOK struct {
	Payload *models.HashicorpCloudPackerGetBuildResponse
}

PackerServiceGetBuildOK handles this case with default header values.

A successful response.

func NewPackerServiceGetBuildOK added in v0.14.0

func NewPackerServiceGetBuildOK() *PackerServiceGetBuildOK

NewPackerServiceGetBuildOK creates a PackerServiceGetBuildOK with default headers values

func (*PackerServiceGetBuildOK) Error added in v0.14.0

func (o *PackerServiceGetBuildOK) Error() string

func (*PackerServiceGetBuildOK) GetPayload added in v0.14.0

type PackerServiceGetBuildParams added in v0.14.0

type PackerServiceGetBuildParams struct {

	/*BuildID
	  Unique identifier of the build that should be retrieved; this ID was
	created and set by the HCP Packer registry when the build was created.

	*/
	BuildID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

PackerServiceGetBuildParams contains all the parameters to send to the API endpoint for the packer service get build operation typically these are written to a http.Request

func NewPackerServiceGetBuildParams added in v0.14.0

func NewPackerServiceGetBuildParams() *PackerServiceGetBuildParams

NewPackerServiceGetBuildParams creates a new PackerServiceGetBuildParams object with the default values initialized.

func NewPackerServiceGetBuildParamsWithContext added in v0.14.0

func NewPackerServiceGetBuildParamsWithContext(ctx context.Context) *PackerServiceGetBuildParams

NewPackerServiceGetBuildParamsWithContext creates a new PackerServiceGetBuildParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceGetBuildParamsWithHTTPClient added in v0.14.0

func NewPackerServiceGetBuildParamsWithHTTPClient(client *http.Client) *PackerServiceGetBuildParams

NewPackerServiceGetBuildParamsWithHTTPClient creates a new PackerServiceGetBuildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceGetBuildParamsWithTimeout added in v0.14.0

func NewPackerServiceGetBuildParamsWithTimeout(timeout time.Duration) *PackerServiceGetBuildParams

NewPackerServiceGetBuildParamsWithTimeout creates a new PackerServiceGetBuildParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceGetBuildParams) SetBuildID added in v0.14.0

func (o *PackerServiceGetBuildParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the packer service get build params

func (*PackerServiceGetBuildParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service get build params

func (*PackerServiceGetBuildParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service get build params

func (*PackerServiceGetBuildParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceGetBuildParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service get build params

func (*PackerServiceGetBuildParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceGetBuildParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service get build params

func (*PackerServiceGetBuildParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceGetBuildParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service get build params

func (*PackerServiceGetBuildParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceGetBuildParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service get build params

func (*PackerServiceGetBuildParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service get build params

func (*PackerServiceGetBuildParams) WithBuildID added in v0.14.0

WithBuildID adds the buildID to the packer service get build params

func (*PackerServiceGetBuildParams) WithContext added in v0.14.0

WithContext adds the context to the packer service get build params

func (*PackerServiceGetBuildParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service get build params

func (*PackerServiceGetBuildParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceGetBuildParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetBuildParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service get build params

func (*PackerServiceGetBuildParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceGetBuildParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetBuildParams

WithLocationProjectID adds the locationProjectID to the packer service get build params

func (*PackerServiceGetBuildParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceGetBuildParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetBuildParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service get build params

func (*PackerServiceGetBuildParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceGetBuildParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetBuildParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service get build params

func (*PackerServiceGetBuildParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service get build params

func (*PackerServiceGetBuildParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceGetBuildReader added in v0.14.0

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

PackerServiceGetBuildReader is a Reader for the PackerServiceGetBuild structure.

func (*PackerServiceGetBuildReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceGetChannelDefault added in v0.14.0

type PackerServiceGetChannelDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceGetChannelDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceGetChannelDefault added in v0.14.0

func NewPackerServiceGetChannelDefault(code int) *PackerServiceGetChannelDefault

NewPackerServiceGetChannelDefault creates a PackerServiceGetChannelDefault with default headers values

func (*PackerServiceGetChannelDefault) Code added in v0.14.0

Code gets the status code for the packer service get channel default response

func (*PackerServiceGetChannelDefault) Error added in v0.14.0

func (*PackerServiceGetChannelDefault) GetPayload added in v0.14.0

type PackerServiceGetChannelOK added in v0.14.0

type PackerServiceGetChannelOK struct {
	Payload *models.HashicorpCloudPackerGetChannelResponse
}

PackerServiceGetChannelOK handles this case with default header values.

A successful response.

func NewPackerServiceGetChannelOK added in v0.14.0

func NewPackerServiceGetChannelOK() *PackerServiceGetChannelOK

NewPackerServiceGetChannelOK creates a PackerServiceGetChannelOK with default headers values

func (*PackerServiceGetChannelOK) Error added in v0.14.0

func (o *PackerServiceGetChannelOK) Error() string

func (*PackerServiceGetChannelOK) GetPayload added in v0.14.0

type PackerServiceGetChannelParams added in v0.14.0

type PackerServiceGetChannelParams struct {

	/*BucketSlug
	  Human-readable name for the bucket that the channel is associated with.

	*/
	BucketSlug string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string
	/*Slug
	  Human-readable name for the channel.

	*/
	Slug string

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

PackerServiceGetChannelParams contains all the parameters to send to the API endpoint for the packer service get channel operation typically these are written to a http.Request

func NewPackerServiceGetChannelParams added in v0.14.0

func NewPackerServiceGetChannelParams() *PackerServiceGetChannelParams

NewPackerServiceGetChannelParams creates a new PackerServiceGetChannelParams object with the default values initialized.

func NewPackerServiceGetChannelParamsWithContext added in v0.14.0

func NewPackerServiceGetChannelParamsWithContext(ctx context.Context) *PackerServiceGetChannelParams

NewPackerServiceGetChannelParamsWithContext creates a new PackerServiceGetChannelParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceGetChannelParamsWithHTTPClient added in v0.14.0

func NewPackerServiceGetChannelParamsWithHTTPClient(client *http.Client) *PackerServiceGetChannelParams

NewPackerServiceGetChannelParamsWithHTTPClient creates a new PackerServiceGetChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceGetChannelParamsWithTimeout added in v0.14.0

func NewPackerServiceGetChannelParamsWithTimeout(timeout time.Duration) *PackerServiceGetChannelParams

NewPackerServiceGetChannelParamsWithTimeout creates a new PackerServiceGetChannelParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceGetChannelParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceGetChannelParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service get channel params

func (*PackerServiceGetChannelParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service get channel params

func (*PackerServiceGetChannelParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service get channel params

func (*PackerServiceGetChannelParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceGetChannelParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service get channel params

func (*PackerServiceGetChannelParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceGetChannelParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service get channel params

func (*PackerServiceGetChannelParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceGetChannelParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service get channel params

func (*PackerServiceGetChannelParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceGetChannelParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service get channel params

func (*PackerServiceGetChannelParams) SetSlug added in v0.14.0

func (o *PackerServiceGetChannelParams) SetSlug(slug string)

SetSlug adds the slug to the packer service get channel params

func (*PackerServiceGetChannelParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service get channel params

func (*PackerServiceGetChannelParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service get channel params

func (*PackerServiceGetChannelParams) WithContext added in v0.14.0

WithContext adds the context to the packer service get channel params

func (*PackerServiceGetChannelParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service get channel params

func (*PackerServiceGetChannelParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceGetChannelParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetChannelParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service get channel params

func (*PackerServiceGetChannelParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceGetChannelParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetChannelParams

WithLocationProjectID adds the locationProjectID to the packer service get channel params

func (*PackerServiceGetChannelParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceGetChannelParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetChannelParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service get channel params

func (*PackerServiceGetChannelParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceGetChannelParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetChannelParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service get channel params

func (*PackerServiceGetChannelParams) WithSlug added in v0.14.0

WithSlug adds the slug to the packer service get channel params

func (*PackerServiceGetChannelParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service get channel params

func (*PackerServiceGetChannelParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceGetChannelReader added in v0.14.0

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

PackerServiceGetChannelReader is a Reader for the PackerServiceGetChannel structure.

func (*PackerServiceGetChannelReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceGetIterationDefault added in v0.14.0

type PackerServiceGetIterationDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceGetIterationDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceGetIterationDefault added in v0.14.0

func NewPackerServiceGetIterationDefault(code int) *PackerServiceGetIterationDefault

NewPackerServiceGetIterationDefault creates a PackerServiceGetIterationDefault with default headers values

func (*PackerServiceGetIterationDefault) Code added in v0.14.0

Code gets the status code for the packer service get iteration default response

func (*PackerServiceGetIterationDefault) Error added in v0.14.0

func (*PackerServiceGetIterationDefault) GetPayload added in v0.14.0

type PackerServiceGetIterationOK added in v0.14.0

type PackerServiceGetIterationOK struct {
	Payload *models.HashicorpCloudPackerGetIterationResponse
}

PackerServiceGetIterationOK handles this case with default header values.

A successful response.

func NewPackerServiceGetIterationOK added in v0.14.0

func NewPackerServiceGetIterationOK() *PackerServiceGetIterationOK

NewPackerServiceGetIterationOK creates a PackerServiceGetIterationOK with default headers values

func (*PackerServiceGetIterationOK) Error added in v0.14.0

func (*PackerServiceGetIterationOK) GetPayload added in v0.14.0

type PackerServiceGetIterationParams added in v0.14.0

type PackerServiceGetIterationParams struct {

	/*BucketSlug
	  Human-readable name for the bucket.

	*/
	BucketSlug string
	/*Fingerprint
	  Fingerprint of the iteration. The fingerprint is set by Packer when you
	call `packer build`. It will most often correspond to a git commit sha,
	but can be manually overridden by setting the environment variable
	`HCP_PACKER_BUILD_FINGERPRINT`.

	*/
	Fingerprint *string
	/*IncrementalVersion
	  The human-readable version number assigned to this iteration.

	*/
	IncrementalVersion *int32
	/*IterationID
	  Unique identifier of the iteration. This was created and set by the
	HCP Packer registry when the iteration was created.

	*/
	IterationID *string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

PackerServiceGetIterationParams contains all the parameters to send to the API endpoint for the packer service get iteration operation typically these are written to a http.Request

func NewPackerServiceGetIterationParams added in v0.14.0

func NewPackerServiceGetIterationParams() *PackerServiceGetIterationParams

NewPackerServiceGetIterationParams creates a new PackerServiceGetIterationParams object with the default values initialized.

func NewPackerServiceGetIterationParamsWithContext added in v0.14.0

func NewPackerServiceGetIterationParamsWithContext(ctx context.Context) *PackerServiceGetIterationParams

NewPackerServiceGetIterationParamsWithContext creates a new PackerServiceGetIterationParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceGetIterationParamsWithHTTPClient added in v0.14.0

func NewPackerServiceGetIterationParamsWithHTTPClient(client *http.Client) *PackerServiceGetIterationParams

NewPackerServiceGetIterationParamsWithHTTPClient creates a new PackerServiceGetIterationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceGetIterationParamsWithTimeout added in v0.14.0

func NewPackerServiceGetIterationParamsWithTimeout(timeout time.Duration) *PackerServiceGetIterationParams

NewPackerServiceGetIterationParamsWithTimeout creates a new PackerServiceGetIterationParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceGetIterationParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceGetIterationParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetFingerprint added in v0.14.0

func (o *PackerServiceGetIterationParams) SetFingerprint(fingerprint *string)

SetFingerprint adds the fingerprint to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetIncrementalVersion added in v0.14.0

func (o *PackerServiceGetIterationParams) SetIncrementalVersion(incrementalVersion *int32)

SetIncrementalVersion adds the incrementalVersion to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetIterationID added in v0.14.0

func (o *PackerServiceGetIterationParams) SetIterationID(iterationID *string)

SetIterationID adds the iterationId to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceGetIterationParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceGetIterationParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceGetIterationParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceGetIterationParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithContext added in v0.14.0

WithContext adds the context to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithFingerprint added in v0.14.0

WithFingerprint adds the fingerprint to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithIncrementalVersion added in v0.14.0

func (o *PackerServiceGetIterationParams) WithIncrementalVersion(incrementalVersion *int32) *PackerServiceGetIterationParams

WithIncrementalVersion adds the incrementalVersion to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithIterationID added in v0.14.0

WithIterationID adds the iterationID to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceGetIterationParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetIterationParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceGetIterationParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetIterationParams

WithLocationProjectID adds the locationProjectID to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceGetIterationParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetIterationParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceGetIterationParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetIterationParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service get iteration params

func (*PackerServiceGetIterationParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceGetIterationReader added in v0.14.0

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

PackerServiceGetIterationReader is a Reader for the PackerServiceGetIteration structure.

func (*PackerServiceGetIterationReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceGetRegistryDefault added in v0.14.0

type PackerServiceGetRegistryDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceGetRegistryDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceGetRegistryDefault added in v0.14.0

func NewPackerServiceGetRegistryDefault(code int) *PackerServiceGetRegistryDefault

NewPackerServiceGetRegistryDefault creates a PackerServiceGetRegistryDefault with default headers values

func (*PackerServiceGetRegistryDefault) Code added in v0.14.0

Code gets the status code for the packer service get registry default response

func (*PackerServiceGetRegistryDefault) Error added in v0.14.0

func (*PackerServiceGetRegistryDefault) GetPayload added in v0.14.0

type PackerServiceGetRegistryOK added in v0.14.0

type PackerServiceGetRegistryOK struct {
	Payload *models.HashicorpCloudPackerGetRegistryResponse
}

PackerServiceGetRegistryOK handles this case with default header values.

A successful response.

func NewPackerServiceGetRegistryOK added in v0.14.0

func NewPackerServiceGetRegistryOK() *PackerServiceGetRegistryOK

NewPackerServiceGetRegistryOK creates a PackerServiceGetRegistryOK with default headers values

func (*PackerServiceGetRegistryOK) Error added in v0.14.0

func (*PackerServiceGetRegistryOK) GetPayload added in v0.14.0

type PackerServiceGetRegistryParams added in v0.14.0

type PackerServiceGetRegistryParams struct {

	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

PackerServiceGetRegistryParams contains all the parameters to send to the API endpoint for the packer service get registry operation typically these are written to a http.Request

func NewPackerServiceGetRegistryParams added in v0.14.0

func NewPackerServiceGetRegistryParams() *PackerServiceGetRegistryParams

NewPackerServiceGetRegistryParams creates a new PackerServiceGetRegistryParams object with the default values initialized.

func NewPackerServiceGetRegistryParamsWithContext added in v0.14.0

func NewPackerServiceGetRegistryParamsWithContext(ctx context.Context) *PackerServiceGetRegistryParams

NewPackerServiceGetRegistryParamsWithContext creates a new PackerServiceGetRegistryParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceGetRegistryParamsWithHTTPClient added in v0.14.0

func NewPackerServiceGetRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceGetRegistryParams

NewPackerServiceGetRegistryParamsWithHTTPClient creates a new PackerServiceGetRegistryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceGetRegistryParamsWithTimeout added in v0.14.0

func NewPackerServiceGetRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceGetRegistryParams

NewPackerServiceGetRegistryParamsWithTimeout creates a new PackerServiceGetRegistryParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceGetRegistryParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service get registry params

func (*PackerServiceGetRegistryParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service get registry params

func (*PackerServiceGetRegistryParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceGetRegistryParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service get registry params

func (*PackerServiceGetRegistryParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceGetRegistryParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service get registry params

func (*PackerServiceGetRegistryParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceGetRegistryParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service get registry params

func (*PackerServiceGetRegistryParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceGetRegistryParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service get registry params

func (*PackerServiceGetRegistryParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithContext added in v0.14.0

WithContext adds the context to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceGetRegistryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetRegistryParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceGetRegistryParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetRegistryParams

WithLocationProjectID adds the locationProjectID to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceGetRegistryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetRegistryParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceGetRegistryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetRegistryParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service get registry params

func (*PackerServiceGetRegistryParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceGetRegistryReader added in v0.14.0

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

PackerServiceGetRegistryReader is a Reader for the PackerServiceGetRegistry structure.

func (*PackerServiceGetRegistryReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceListBucketsDefault added in v0.14.0

type PackerServiceListBucketsDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceListBucketsDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceListBucketsDefault added in v0.14.0

func NewPackerServiceListBucketsDefault(code int) *PackerServiceListBucketsDefault

NewPackerServiceListBucketsDefault creates a PackerServiceListBucketsDefault with default headers values

func (*PackerServiceListBucketsDefault) Code added in v0.14.0

Code gets the status code for the packer service list buckets default response

func (*PackerServiceListBucketsDefault) Error added in v0.14.0

func (*PackerServiceListBucketsDefault) GetPayload added in v0.14.0

type PackerServiceListBucketsOK added in v0.14.0

type PackerServiceListBucketsOK struct {
	Payload *models.HashicorpCloudPackerListBucketsResponse
}

PackerServiceListBucketsOK handles this case with default header values.

A successful response.

func NewPackerServiceListBucketsOK added in v0.14.0

func NewPackerServiceListBucketsOK() *PackerServiceListBucketsOK

NewPackerServiceListBucketsOK creates a PackerServiceListBucketsOK with default headers values

func (*PackerServiceListBucketsOK) Error added in v0.14.0

func (*PackerServiceListBucketsOK) GetPayload added in v0.14.0

type PackerServiceListBucketsParams added in v0.14.0

type PackerServiceListBucketsParams struct {

	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string
	/*PaginationNextPageToken
	  Specifies a page token to use to retrieve the next page. Set this to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.

	*/
	PaginationNextPageToken *string
	/*PaginationPageSize
	  The max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	*/
	PaginationPageSize *int64
	/*PaginationPreviousPageToken
	  Specifies a page token to use to retrieve the previous page. Set this to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.

	*/
	PaginationPreviousPageToken *string
	/*SortingOrderBy
	  Specifies the list of per field ordering that should be used for sorting.
	The order matters as rows are sorted in order by fields and when the field
	matches, the next field is used to tie break the ordering.
	The per field default ordering is ascending.

	The fields should be immutabile, unique, and orderable. If the field is
	not unique, more than one sort fields should be passed.

	Example: oder_by=name,age desc,created_at asc
	In that case, 'name' will get the default 'ascending' order.

	*/
	SortingOrderBy []string

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

PackerServiceListBucketsParams contains all the parameters to send to the API endpoint for the packer service list buckets operation typically these are written to a http.Request

func NewPackerServiceListBucketsParams added in v0.14.0

func NewPackerServiceListBucketsParams() *PackerServiceListBucketsParams

NewPackerServiceListBucketsParams creates a new PackerServiceListBucketsParams object with the default values initialized.

func NewPackerServiceListBucketsParamsWithContext added in v0.14.0

func NewPackerServiceListBucketsParamsWithContext(ctx context.Context) *PackerServiceListBucketsParams

NewPackerServiceListBucketsParamsWithContext creates a new PackerServiceListBucketsParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceListBucketsParamsWithHTTPClient added in v0.14.0

func NewPackerServiceListBucketsParamsWithHTTPClient(client *http.Client) *PackerServiceListBucketsParams

NewPackerServiceListBucketsParamsWithHTTPClient creates a new PackerServiceListBucketsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceListBucketsParamsWithTimeout added in v0.14.0

func NewPackerServiceListBucketsParamsWithTimeout(timeout time.Duration) *PackerServiceListBucketsParams

NewPackerServiceListBucketsParamsWithTimeout creates a new PackerServiceListBucketsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceListBucketsParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceListBucketsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceListBucketsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceListBucketsParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceListBucketsParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetPaginationNextPageToken added in v0.14.0

func (o *PackerServiceListBucketsParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetPaginationPageSize added in v0.14.0

func (o *PackerServiceListBucketsParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetPaginationPreviousPageToken added in v0.14.0

func (o *PackerServiceListBucketsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetSortingOrderBy added in v0.14.0

func (o *PackerServiceListBucketsParams) SetSortingOrderBy(sortingOrderBy []string)

SetSortingOrderBy adds the sortingOrderBy to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithContext added in v0.14.0

WithContext adds the context to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceListBucketsParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListBucketsParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceListBucketsParams) WithLocationProjectID(locationProjectID string) *PackerServiceListBucketsParams

WithLocationProjectID adds the locationProjectID to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceListBucketsParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListBucketsParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceListBucketsParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListBucketsParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithPaginationNextPageToken added in v0.14.0

func (o *PackerServiceListBucketsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *PackerServiceListBucketsParams

WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithPaginationPageSize added in v0.14.0

func (o *PackerServiceListBucketsParams) WithPaginationPageSize(paginationPageSize *int64) *PackerServiceListBucketsParams

WithPaginationPageSize adds the paginationPageSize to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithPaginationPreviousPageToken added in v0.14.0

func (o *PackerServiceListBucketsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *PackerServiceListBucketsParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithSortingOrderBy added in v0.14.0

func (o *PackerServiceListBucketsParams) WithSortingOrderBy(sortingOrderBy []string) *PackerServiceListBucketsParams

WithSortingOrderBy adds the sortingOrderBy to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service list buckets params

func (*PackerServiceListBucketsParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceListBucketsReader added in v0.14.0

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

PackerServiceListBucketsReader is a Reader for the PackerServiceListBuckets structure.

func (*PackerServiceListBucketsReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceListBuildsDefault added in v0.14.0

type PackerServiceListBuildsDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceListBuildsDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceListBuildsDefault added in v0.14.0

func NewPackerServiceListBuildsDefault(code int) *PackerServiceListBuildsDefault

NewPackerServiceListBuildsDefault creates a PackerServiceListBuildsDefault with default headers values

func (*PackerServiceListBuildsDefault) Code added in v0.14.0

Code gets the status code for the packer service list builds default response

func (*PackerServiceListBuildsDefault) Error added in v0.14.0

func (*PackerServiceListBuildsDefault) GetPayload added in v0.14.0

type PackerServiceListBuildsOK added in v0.14.0

type PackerServiceListBuildsOK struct {
	Payload *models.HashicorpCloudPackerListBuildsResponse
}

PackerServiceListBuildsOK handles this case with default header values.

A successful response.

func NewPackerServiceListBuildsOK added in v0.14.0

func NewPackerServiceListBuildsOK() *PackerServiceListBuildsOK

NewPackerServiceListBuildsOK creates a PackerServiceListBuildsOK with default headers values

func (*PackerServiceListBuildsOK) Error added in v0.14.0

func (o *PackerServiceListBuildsOK) Error() string

func (*PackerServiceListBuildsOK) GetPayload added in v0.14.0

type PackerServiceListBuildsParams added in v0.14.0

type PackerServiceListBuildsParams struct {

	/*BucketSlug
	  Human-readable name for the bucket to list builds for.

	*/
	BucketSlug string
	/*IterationID
	  Unique identifier of the iteration to list builds for; this was
	created and set by the HCP Packer registry when the iteration was created.

	*/
	IterationID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string
	/*PaginationNextPageToken
	  Specifies a page token to use to retrieve the next page. Set this to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.

	*/
	PaginationNextPageToken *string
	/*PaginationPageSize
	  The max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	*/
	PaginationPageSize *int64
	/*PaginationPreviousPageToken
	  Specifies a page token to use to retrieve the previous page. Set this to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.

	*/
	PaginationPreviousPageToken *string
	/*SortingOrderBy
	  Specifies the list of per field ordering that should be used for sorting.
	The order matters as rows are sorted in order by fields and when the field
	matches, the next field is used to tie break the ordering.
	The per field default ordering is ascending.

	The fields should be immutabile, unique, and orderable. If the field is
	not unique, more than one sort fields should be passed.

	Example: oder_by=name,age desc,created_at asc
	In that case, 'name' will get the default 'ascending' order.

	*/
	SortingOrderBy []string

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

PackerServiceListBuildsParams contains all the parameters to send to the API endpoint for the packer service list builds operation typically these are written to a http.Request

func NewPackerServiceListBuildsParams added in v0.14.0

func NewPackerServiceListBuildsParams() *PackerServiceListBuildsParams

NewPackerServiceListBuildsParams creates a new PackerServiceListBuildsParams object with the default values initialized.

func NewPackerServiceListBuildsParamsWithContext added in v0.14.0

func NewPackerServiceListBuildsParamsWithContext(ctx context.Context) *PackerServiceListBuildsParams

NewPackerServiceListBuildsParamsWithContext creates a new PackerServiceListBuildsParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceListBuildsParamsWithHTTPClient added in v0.14.0

func NewPackerServiceListBuildsParamsWithHTTPClient(client *http.Client) *PackerServiceListBuildsParams

NewPackerServiceListBuildsParamsWithHTTPClient creates a new PackerServiceListBuildsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceListBuildsParamsWithTimeout added in v0.14.0

func NewPackerServiceListBuildsParamsWithTimeout(timeout time.Duration) *PackerServiceListBuildsParams

NewPackerServiceListBuildsParamsWithTimeout creates a new PackerServiceListBuildsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceListBuildsParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceListBuildsParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service list builds params

func (*PackerServiceListBuildsParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service list builds params

func (*PackerServiceListBuildsParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service list builds params

func (*PackerServiceListBuildsParams) SetIterationID added in v0.14.0

func (o *PackerServiceListBuildsParams) SetIterationID(iterationID string)

SetIterationID adds the iterationId to the packer service list builds params

func (*PackerServiceListBuildsParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceListBuildsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service list builds params

func (*PackerServiceListBuildsParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceListBuildsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service list builds params

func (*PackerServiceListBuildsParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceListBuildsParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service list builds params

func (*PackerServiceListBuildsParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceListBuildsParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service list builds params

func (*PackerServiceListBuildsParams) SetPaginationNextPageToken added in v0.14.0

func (o *PackerServiceListBuildsParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list builds params

func (*PackerServiceListBuildsParams) SetPaginationPageSize added in v0.14.0

func (o *PackerServiceListBuildsParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the packer service list builds params

func (*PackerServiceListBuildsParams) SetPaginationPreviousPageToken added in v0.14.0

func (o *PackerServiceListBuildsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list builds params

func (*PackerServiceListBuildsParams) SetSortingOrderBy added in v0.14.0

func (o *PackerServiceListBuildsParams) SetSortingOrderBy(sortingOrderBy []string)

SetSortingOrderBy adds the sortingOrderBy to the packer service list builds params

func (*PackerServiceListBuildsParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service list builds params

func (*PackerServiceListBuildsParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service list builds params

func (*PackerServiceListBuildsParams) WithContext added in v0.14.0

WithContext adds the context to the packer service list builds params

func (*PackerServiceListBuildsParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service list builds params

func (*PackerServiceListBuildsParams) WithIterationID added in v0.14.0

func (o *PackerServiceListBuildsParams) WithIterationID(iterationID string) *PackerServiceListBuildsParams

WithIterationID adds the iterationID to the packer service list builds params

func (*PackerServiceListBuildsParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceListBuildsParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListBuildsParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service list builds params

func (*PackerServiceListBuildsParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceListBuildsParams) WithLocationProjectID(locationProjectID string) *PackerServiceListBuildsParams

WithLocationProjectID adds the locationProjectID to the packer service list builds params

func (*PackerServiceListBuildsParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceListBuildsParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListBuildsParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service list builds params

func (*PackerServiceListBuildsParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceListBuildsParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListBuildsParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service list builds params

func (*PackerServiceListBuildsParams) WithPaginationNextPageToken added in v0.14.0

func (o *PackerServiceListBuildsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *PackerServiceListBuildsParams

WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list builds params

func (*PackerServiceListBuildsParams) WithPaginationPageSize added in v0.14.0

func (o *PackerServiceListBuildsParams) WithPaginationPageSize(paginationPageSize *int64) *PackerServiceListBuildsParams

WithPaginationPageSize adds the paginationPageSize to the packer service list builds params

func (*PackerServiceListBuildsParams) WithPaginationPreviousPageToken added in v0.14.0

func (o *PackerServiceListBuildsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *PackerServiceListBuildsParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list builds params

func (*PackerServiceListBuildsParams) WithSortingOrderBy added in v0.14.0

func (o *PackerServiceListBuildsParams) WithSortingOrderBy(sortingOrderBy []string) *PackerServiceListBuildsParams

WithSortingOrderBy adds the sortingOrderBy to the packer service list builds params

func (*PackerServiceListBuildsParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service list builds params

func (*PackerServiceListBuildsParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceListBuildsReader added in v0.14.0

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

PackerServiceListBuildsReader is a Reader for the PackerServiceListBuilds structure.

func (*PackerServiceListBuildsReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceListChannelsDefault added in v0.14.0

type PackerServiceListChannelsDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceListChannelsDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceListChannelsDefault added in v0.14.0

func NewPackerServiceListChannelsDefault(code int) *PackerServiceListChannelsDefault

NewPackerServiceListChannelsDefault creates a PackerServiceListChannelsDefault with default headers values

func (*PackerServiceListChannelsDefault) Code added in v0.14.0

Code gets the status code for the packer service list channels default response

func (*PackerServiceListChannelsDefault) Error added in v0.14.0

func (*PackerServiceListChannelsDefault) GetPayload added in v0.14.0

type PackerServiceListChannelsOK added in v0.14.0

type PackerServiceListChannelsOK struct {
	Payload *models.HashicorpCloudPackerListChannelsResponse
}

PackerServiceListChannelsOK handles this case with default header values.

A successful response.

func NewPackerServiceListChannelsOK added in v0.14.0

func NewPackerServiceListChannelsOK() *PackerServiceListChannelsOK

NewPackerServiceListChannelsOK creates a PackerServiceListChannelsOK with default headers values

func (*PackerServiceListChannelsOK) Error added in v0.14.0

func (*PackerServiceListChannelsOK) GetPayload added in v0.14.0

type PackerServiceListChannelsParams added in v0.14.0

type PackerServiceListChannelsParams struct {

	/*BucketSlug
	  Human-readable name for the bucket you want to list channels for.

	*/
	BucketSlug string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

PackerServiceListChannelsParams contains all the parameters to send to the API endpoint for the packer service list channels operation typically these are written to a http.Request

func NewPackerServiceListChannelsParams added in v0.14.0

func NewPackerServiceListChannelsParams() *PackerServiceListChannelsParams

NewPackerServiceListChannelsParams creates a new PackerServiceListChannelsParams object with the default values initialized.

func NewPackerServiceListChannelsParamsWithContext added in v0.14.0

func NewPackerServiceListChannelsParamsWithContext(ctx context.Context) *PackerServiceListChannelsParams

NewPackerServiceListChannelsParamsWithContext creates a new PackerServiceListChannelsParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceListChannelsParamsWithHTTPClient added in v0.14.0

func NewPackerServiceListChannelsParamsWithHTTPClient(client *http.Client) *PackerServiceListChannelsParams

NewPackerServiceListChannelsParamsWithHTTPClient creates a new PackerServiceListChannelsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceListChannelsParamsWithTimeout added in v0.14.0

func NewPackerServiceListChannelsParamsWithTimeout(timeout time.Duration) *PackerServiceListChannelsParams

NewPackerServiceListChannelsParamsWithTimeout creates a new PackerServiceListChannelsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceListChannelsParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceListChannelsParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service list channels params

func (*PackerServiceListChannelsParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service list channels params

func (*PackerServiceListChannelsParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service list channels params

func (*PackerServiceListChannelsParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceListChannelsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service list channels params

func (*PackerServiceListChannelsParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceListChannelsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service list channels params

func (*PackerServiceListChannelsParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceListChannelsParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service list channels params

func (*PackerServiceListChannelsParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceListChannelsParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service list channels params

func (*PackerServiceListChannelsParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service list channels params

func (*PackerServiceListChannelsParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service list channels params

func (*PackerServiceListChannelsParams) WithContext added in v0.14.0

WithContext adds the context to the packer service list channels params

func (*PackerServiceListChannelsParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service list channels params

func (*PackerServiceListChannelsParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceListChannelsParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListChannelsParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service list channels params

func (*PackerServiceListChannelsParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceListChannelsParams) WithLocationProjectID(locationProjectID string) *PackerServiceListChannelsParams

WithLocationProjectID adds the locationProjectID to the packer service list channels params

func (*PackerServiceListChannelsParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceListChannelsParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListChannelsParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service list channels params

func (*PackerServiceListChannelsParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceListChannelsParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListChannelsParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service list channels params

func (*PackerServiceListChannelsParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service list channels params

func (*PackerServiceListChannelsParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceListChannelsReader added in v0.14.0

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

PackerServiceListChannelsReader is a Reader for the PackerServiceListChannels structure.

func (*PackerServiceListChannelsReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceListIterationsDefault added in v0.14.0

type PackerServiceListIterationsDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceListIterationsDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceListIterationsDefault added in v0.14.0

func NewPackerServiceListIterationsDefault(code int) *PackerServiceListIterationsDefault

NewPackerServiceListIterationsDefault creates a PackerServiceListIterationsDefault with default headers values

func (*PackerServiceListIterationsDefault) Code added in v0.14.0

Code gets the status code for the packer service list iterations default response

func (*PackerServiceListIterationsDefault) Error added in v0.14.0

func (*PackerServiceListIterationsDefault) GetPayload added in v0.14.0

type PackerServiceListIterationsOK added in v0.14.0

type PackerServiceListIterationsOK struct {
	Payload *models.HashicorpCloudPackerListIterationsResponse
}

PackerServiceListIterationsOK handles this case with default header values.

A successful response.

func NewPackerServiceListIterationsOK added in v0.14.0

func NewPackerServiceListIterationsOK() *PackerServiceListIterationsOK

NewPackerServiceListIterationsOK creates a PackerServiceListIterationsOK with default headers values

func (*PackerServiceListIterationsOK) Error added in v0.14.0

func (*PackerServiceListIterationsOK) GetPayload added in v0.14.0

type PackerServiceListIterationsParams added in v0.14.0

type PackerServiceListIterationsParams struct {

	/*BucketSlug
	  Human-readable name for the bucket.

	*/
	BucketSlug string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string
	/*PaginationNextPageToken
	  Specifies a page token to use to retrieve the next page. Set this to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.

	*/
	PaginationNextPageToken *string
	/*PaginationPageSize
	  The max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	*/
	PaginationPageSize *int64
	/*PaginationPreviousPageToken
	  Specifies a page token to use to retrieve the previous page. Set this to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.

	*/
	PaginationPreviousPageToken *string
	/*SortingOrderBy
	  Specifies the list of per field ordering that should be used for sorting.
	The order matters as rows are sorted in order by fields and when the field
	matches, the next field is used to tie break the ordering.
	The per field default ordering is ascending.

	The fields should be immutabile, unique, and orderable. If the field is
	not unique, more than one sort fields should be passed.

	Example: oder_by=name,age desc,created_at asc
	In that case, 'name' will get the default 'ascending' order.

	*/
	SortingOrderBy []string

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

PackerServiceListIterationsParams contains all the parameters to send to the API endpoint for the packer service list iterations operation typically these are written to a http.Request

func NewPackerServiceListIterationsParams added in v0.14.0

func NewPackerServiceListIterationsParams() *PackerServiceListIterationsParams

NewPackerServiceListIterationsParams creates a new PackerServiceListIterationsParams object with the default values initialized.

func NewPackerServiceListIterationsParamsWithContext added in v0.14.0

func NewPackerServiceListIterationsParamsWithContext(ctx context.Context) *PackerServiceListIterationsParams

NewPackerServiceListIterationsParamsWithContext creates a new PackerServiceListIterationsParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceListIterationsParamsWithHTTPClient added in v0.14.0

func NewPackerServiceListIterationsParamsWithHTTPClient(client *http.Client) *PackerServiceListIterationsParams

NewPackerServiceListIterationsParamsWithHTTPClient creates a new PackerServiceListIterationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceListIterationsParamsWithTimeout added in v0.14.0

func NewPackerServiceListIterationsParamsWithTimeout(timeout time.Duration) *PackerServiceListIterationsParams

NewPackerServiceListIterationsParamsWithTimeout creates a new PackerServiceListIterationsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceListIterationsParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceListIterationsParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetContext added in v0.14.0

SetContext adds the context to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceListIterationsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceListIterationsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetLocationRegionProvider added in v0.14.0

func (o *PackerServiceListIterationsParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetLocationRegionRegion added in v0.14.0

func (o *PackerServiceListIterationsParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetPaginationNextPageToken added in v0.14.0

func (o *PackerServiceListIterationsParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetPaginationPageSize added in v0.14.0

func (o *PackerServiceListIterationsParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetPaginationPreviousPageToken added in v0.14.0

func (o *PackerServiceListIterationsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetSortingOrderBy added in v0.14.0

func (o *PackerServiceListIterationsParams) SetSortingOrderBy(sortingOrderBy []string)

SetSortingOrderBy adds the sortingOrderBy to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithContext added in v0.14.0

WithContext adds the context to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceListIterationsParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListIterationsParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceListIterationsParams) WithLocationProjectID(locationProjectID string) *PackerServiceListIterationsParams

WithLocationProjectID adds the locationProjectID to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithLocationRegionProvider added in v0.14.0

func (o *PackerServiceListIterationsParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListIterationsParams

WithLocationRegionProvider adds the locationRegionProvider to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithLocationRegionRegion added in v0.14.0

func (o *PackerServiceListIterationsParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListIterationsParams

WithLocationRegionRegion adds the locationRegionRegion to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithPaginationNextPageToken added in v0.14.0

func (o *PackerServiceListIterationsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *PackerServiceListIterationsParams

WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithPaginationPageSize added in v0.14.0

func (o *PackerServiceListIterationsParams) WithPaginationPageSize(paginationPageSize *int64) *PackerServiceListIterationsParams

WithPaginationPageSize adds the paginationPageSize to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithPaginationPreviousPageToken added in v0.14.0

func (o *PackerServiceListIterationsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *PackerServiceListIterationsParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithSortingOrderBy added in v0.14.0

func (o *PackerServiceListIterationsParams) WithSortingOrderBy(sortingOrderBy []string) *PackerServiceListIterationsParams

WithSortingOrderBy adds the sortingOrderBy to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service list iterations params

func (*PackerServiceListIterationsParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceListIterationsReader added in v0.14.0

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

PackerServiceListIterationsReader is a Reader for the PackerServiceListIterations structure.

func (*PackerServiceListIterationsReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceUpdateBucketDefault added in v0.14.0

type PackerServiceUpdateBucketDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceUpdateBucketDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceUpdateBucketDefault added in v0.14.0

func NewPackerServiceUpdateBucketDefault(code int) *PackerServiceUpdateBucketDefault

NewPackerServiceUpdateBucketDefault creates a PackerServiceUpdateBucketDefault with default headers values

func (*PackerServiceUpdateBucketDefault) Code added in v0.14.0

Code gets the status code for the packer service update bucket default response

func (*PackerServiceUpdateBucketDefault) Error added in v0.14.0

func (*PackerServiceUpdateBucketDefault) GetPayload added in v0.14.0

type PackerServiceUpdateBucketOK added in v0.14.0

type PackerServiceUpdateBucketOK struct {
	Payload *models.HashicorpCloudPackerUpdateBucketResponse
}

PackerServiceUpdateBucketOK handles this case with default header values.

A successful response.

func NewPackerServiceUpdateBucketOK added in v0.14.0

func NewPackerServiceUpdateBucketOK() *PackerServiceUpdateBucketOK

NewPackerServiceUpdateBucketOK creates a PackerServiceUpdateBucketOK with default headers values

func (*PackerServiceUpdateBucketOK) Error added in v0.14.0

func (*PackerServiceUpdateBucketOK) GetPayload added in v0.14.0

type PackerServiceUpdateBucketParams added in v0.14.0

type PackerServiceUpdateBucketParams struct {

	/*Body*/
	Body *models.HashicorpCloudPackerUpdateBucketRequest
	/*BucketSlug
	  Human-readable name for the bucket.

	*/
	BucketSlug string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

PackerServiceUpdateBucketParams contains all the parameters to send to the API endpoint for the packer service update bucket operation typically these are written to a http.Request

func NewPackerServiceUpdateBucketParams added in v0.14.0

func NewPackerServiceUpdateBucketParams() *PackerServiceUpdateBucketParams

NewPackerServiceUpdateBucketParams creates a new PackerServiceUpdateBucketParams object with the default values initialized.

func NewPackerServiceUpdateBucketParamsWithContext added in v0.14.0

func NewPackerServiceUpdateBucketParamsWithContext(ctx context.Context) *PackerServiceUpdateBucketParams

NewPackerServiceUpdateBucketParamsWithContext creates a new PackerServiceUpdateBucketParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceUpdateBucketParamsWithHTTPClient added in v0.14.0

func NewPackerServiceUpdateBucketParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateBucketParams

NewPackerServiceUpdateBucketParamsWithHTTPClient creates a new PackerServiceUpdateBucketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceUpdateBucketParamsWithTimeout added in v0.14.0

func NewPackerServiceUpdateBucketParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateBucketParams

NewPackerServiceUpdateBucketParamsWithTimeout creates a new PackerServiceUpdateBucketParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceUpdateBucketParams) SetBody added in v0.14.0

SetBody adds the body to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceUpdateBucketParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceUpdateBucketParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceUpdateBucketParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithBody added in v0.14.0

WithBody adds the body to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithContext added in v0.14.0

WithContext adds the context to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceUpdateBucketParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateBucketParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceUpdateBucketParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateBucketParams

WithLocationProjectID adds the locationProjectID to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateBucketReader added in v0.14.0

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

PackerServiceUpdateBucketReader is a Reader for the PackerServiceUpdateBucket structure.

func (*PackerServiceUpdateBucketReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceUpdateBuildDefault added in v0.14.0

type PackerServiceUpdateBuildDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceUpdateBuildDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceUpdateBuildDefault added in v0.14.0

func NewPackerServiceUpdateBuildDefault(code int) *PackerServiceUpdateBuildDefault

NewPackerServiceUpdateBuildDefault creates a PackerServiceUpdateBuildDefault with default headers values

func (*PackerServiceUpdateBuildDefault) Code added in v0.14.0

Code gets the status code for the packer service update build default response

func (*PackerServiceUpdateBuildDefault) Error added in v0.14.0

func (*PackerServiceUpdateBuildDefault) GetPayload added in v0.14.0

type PackerServiceUpdateBuildOK added in v0.14.0

type PackerServiceUpdateBuildOK struct {
	Payload *models.HashicorpCloudPackerUpdateBuildResponse
}

PackerServiceUpdateBuildOK handles this case with default header values.

A successful response.

func NewPackerServiceUpdateBuildOK added in v0.14.0

func NewPackerServiceUpdateBuildOK() *PackerServiceUpdateBuildOK

NewPackerServiceUpdateBuildOK creates a PackerServiceUpdateBuildOK with default headers values

func (*PackerServiceUpdateBuildOK) Error added in v0.14.0

func (*PackerServiceUpdateBuildOK) GetPayload added in v0.14.0

type PackerServiceUpdateBuildParams added in v0.14.0

type PackerServiceUpdateBuildParams struct {

	/*Body*/
	Body *models.HashicorpCloudPackerUpdateBuildRequest
	/*BuildID
	  Unique identifier of the build that should be updated; this ID was
	created and set by the HCP Packer registry when the build was created.

	*/
	BuildID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

PackerServiceUpdateBuildParams contains all the parameters to send to the API endpoint for the packer service update build operation typically these are written to a http.Request

func NewPackerServiceUpdateBuildParams added in v0.14.0

func NewPackerServiceUpdateBuildParams() *PackerServiceUpdateBuildParams

NewPackerServiceUpdateBuildParams creates a new PackerServiceUpdateBuildParams object with the default values initialized.

func NewPackerServiceUpdateBuildParamsWithContext added in v0.14.0

func NewPackerServiceUpdateBuildParamsWithContext(ctx context.Context) *PackerServiceUpdateBuildParams

NewPackerServiceUpdateBuildParamsWithContext creates a new PackerServiceUpdateBuildParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceUpdateBuildParamsWithHTTPClient added in v0.14.0

func NewPackerServiceUpdateBuildParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateBuildParams

NewPackerServiceUpdateBuildParamsWithHTTPClient creates a new PackerServiceUpdateBuildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceUpdateBuildParamsWithTimeout added in v0.14.0

func NewPackerServiceUpdateBuildParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateBuildParams

NewPackerServiceUpdateBuildParamsWithTimeout creates a new PackerServiceUpdateBuildParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceUpdateBuildParams) SetBody added in v0.14.0

SetBody adds the body to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetBuildID added in v0.14.0

func (o *PackerServiceUpdateBuildParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetContext added in v0.14.0

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

SetContext adds the context to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceUpdateBuildParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceUpdateBuildParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithBody added in v0.14.0

WithBody adds the body to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithBuildID added in v0.14.0

WithBuildID adds the buildID to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithContext added in v0.14.0

WithContext adds the context to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceUpdateBuildParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateBuildParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceUpdateBuildParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateBuildParams

WithLocationProjectID adds the locationProjectID to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service update build params

func (*PackerServiceUpdateBuildParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateBuildReader added in v0.14.0

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

PackerServiceUpdateBuildReader is a Reader for the PackerServiceUpdateBuild structure.

func (*PackerServiceUpdateBuildReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceUpdateChannelDefault added in v0.14.0

type PackerServiceUpdateChannelDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceUpdateChannelDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceUpdateChannelDefault added in v0.14.0

func NewPackerServiceUpdateChannelDefault(code int) *PackerServiceUpdateChannelDefault

NewPackerServiceUpdateChannelDefault creates a PackerServiceUpdateChannelDefault with default headers values

func (*PackerServiceUpdateChannelDefault) Code added in v0.14.0

Code gets the status code for the packer service update channel default response

func (*PackerServiceUpdateChannelDefault) Error added in v0.14.0

func (*PackerServiceUpdateChannelDefault) GetPayload added in v0.14.0

type PackerServiceUpdateChannelOK added in v0.14.0

type PackerServiceUpdateChannelOK struct {
	Payload *models.HashicorpCloudPackerUpdateChannelResponse
}

PackerServiceUpdateChannelOK handles this case with default header values.

A successful response.

func NewPackerServiceUpdateChannelOK added in v0.14.0

func NewPackerServiceUpdateChannelOK() *PackerServiceUpdateChannelOK

NewPackerServiceUpdateChannelOK creates a PackerServiceUpdateChannelOK with default headers values

func (*PackerServiceUpdateChannelOK) Error added in v0.14.0

func (*PackerServiceUpdateChannelOK) GetPayload added in v0.14.0

type PackerServiceUpdateChannelParams added in v0.14.0

type PackerServiceUpdateChannelParams struct {

	/*Body*/
	Body *models.HashicorpCloudPackerUpdateChannelRequest
	/*BucketSlug
	  Human-readable name for the bucket that the channel is associated with.

	*/
	BucketSlug string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*Slug
	  Human-readable name for the channel.

	*/
	Slug string

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

PackerServiceUpdateChannelParams contains all the parameters to send to the API endpoint for the packer service update channel operation typically these are written to a http.Request

func NewPackerServiceUpdateChannelParams added in v0.14.0

func NewPackerServiceUpdateChannelParams() *PackerServiceUpdateChannelParams

NewPackerServiceUpdateChannelParams creates a new PackerServiceUpdateChannelParams object with the default values initialized.

func NewPackerServiceUpdateChannelParamsWithContext added in v0.14.0

func NewPackerServiceUpdateChannelParamsWithContext(ctx context.Context) *PackerServiceUpdateChannelParams

NewPackerServiceUpdateChannelParamsWithContext creates a new PackerServiceUpdateChannelParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceUpdateChannelParamsWithHTTPClient added in v0.14.0

func NewPackerServiceUpdateChannelParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateChannelParams

NewPackerServiceUpdateChannelParamsWithHTTPClient creates a new PackerServiceUpdateChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceUpdateChannelParamsWithTimeout added in v0.14.0

func NewPackerServiceUpdateChannelParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateChannelParams

NewPackerServiceUpdateChannelParamsWithTimeout creates a new PackerServiceUpdateChannelParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceUpdateChannelParams) SetBody added in v0.14.0

SetBody adds the body to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetBucketSlug added in v0.14.0

func (o *PackerServiceUpdateChannelParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetContext added in v0.14.0

SetContext adds the context to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceUpdateChannelParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceUpdateChannelParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetSlug added in v0.14.0

func (o *PackerServiceUpdateChannelParams) SetSlug(slug string)

SetSlug adds the slug to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithBody added in v0.14.0

WithBody adds the body to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithBucketSlug added in v0.14.0

WithBucketSlug adds the bucketSlug to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithContext added in v0.14.0

WithContext adds the context to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceUpdateChannelParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateChannelParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceUpdateChannelParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateChannelParams

WithLocationProjectID adds the locationProjectID to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithSlug added in v0.14.0

WithSlug adds the slug to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateChannelReader added in v0.14.0

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

PackerServiceUpdateChannelReader is a Reader for the PackerServiceUpdateChannel structure.

func (*PackerServiceUpdateChannelReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceUpdateIterationDefault added in v0.14.0

type PackerServiceUpdateIterationDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceUpdateIterationDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceUpdateIterationDefault added in v0.14.0

func NewPackerServiceUpdateIterationDefault(code int) *PackerServiceUpdateIterationDefault

NewPackerServiceUpdateIterationDefault creates a PackerServiceUpdateIterationDefault with default headers values

func (*PackerServiceUpdateIterationDefault) Code added in v0.14.0

Code gets the status code for the packer service update iteration default response

func (*PackerServiceUpdateIterationDefault) Error added in v0.14.0

func (*PackerServiceUpdateIterationDefault) GetPayload added in v0.14.0

type PackerServiceUpdateIterationOK added in v0.14.0

type PackerServiceUpdateIterationOK struct {
	Payload *models.HashicorpCloudPackerUpdateIterationResponse
}

PackerServiceUpdateIterationOK handles this case with default header values.

A successful response.

func NewPackerServiceUpdateIterationOK added in v0.14.0

func NewPackerServiceUpdateIterationOK() *PackerServiceUpdateIterationOK

NewPackerServiceUpdateIterationOK creates a PackerServiceUpdateIterationOK with default headers values

func (*PackerServiceUpdateIterationOK) Error added in v0.14.0

func (*PackerServiceUpdateIterationOK) GetPayload added in v0.14.0

type PackerServiceUpdateIterationParams added in v0.14.0

type PackerServiceUpdateIterationParams struct {

	/*Body*/
	Body *models.HashicorpCloudPackerUpdateIterationRequest
	/*IterationID
	  Unique identifier of the iteration. This was created and set by the
	HCP Packer registry when the iteration was created.

	*/
	IterationID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

PackerServiceUpdateIterationParams contains all the parameters to send to the API endpoint for the packer service update iteration operation typically these are written to a http.Request

func NewPackerServiceUpdateIterationParams added in v0.14.0

func NewPackerServiceUpdateIterationParams() *PackerServiceUpdateIterationParams

NewPackerServiceUpdateIterationParams creates a new PackerServiceUpdateIterationParams object with the default values initialized.

func NewPackerServiceUpdateIterationParamsWithContext added in v0.14.0

func NewPackerServiceUpdateIterationParamsWithContext(ctx context.Context) *PackerServiceUpdateIterationParams

NewPackerServiceUpdateIterationParamsWithContext creates a new PackerServiceUpdateIterationParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceUpdateIterationParamsWithHTTPClient added in v0.14.0

func NewPackerServiceUpdateIterationParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateIterationParams

NewPackerServiceUpdateIterationParamsWithHTTPClient creates a new PackerServiceUpdateIterationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceUpdateIterationParamsWithTimeout added in v0.14.0

func NewPackerServiceUpdateIterationParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateIterationParams

NewPackerServiceUpdateIterationParamsWithTimeout creates a new PackerServiceUpdateIterationParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceUpdateIterationParams) SetBody added in v0.14.0

SetBody adds the body to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) SetContext added in v0.14.0

SetContext adds the context to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) SetHTTPClient added in v0.14.0

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

SetHTTPClient adds the HTTPClient to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) SetIterationID added in v0.14.0

func (o *PackerServiceUpdateIterationParams) SetIterationID(iterationID string)

SetIterationID adds the iterationId to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) SetLocationOrganizationID added in v0.14.0

func (o *PackerServiceUpdateIterationParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) SetLocationProjectID added in v0.14.0

func (o *PackerServiceUpdateIterationParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) SetTimeout added in v0.14.0

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

SetTimeout adds the timeout to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithBody added in v0.14.0

WithBody adds the body to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithContext added in v0.14.0

WithContext adds the context to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithHTTPClient added in v0.14.0

WithHTTPClient adds the HTTPClient to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithIterationID added in v0.14.0

WithIterationID adds the iterationID to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithLocationOrganizationID added in v0.14.0

func (o *PackerServiceUpdateIterationParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateIterationParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithLocationProjectID added in v0.14.0

func (o *PackerServiceUpdateIterationParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateIterationParams

WithLocationProjectID adds the locationProjectID to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithTimeout added in v0.14.0

WithTimeout adds the timeout to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WriteToRequest added in v0.14.0

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateIterationReader added in v0.14.0

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

PackerServiceUpdateIterationReader is a Reader for the PackerServiceUpdateIteration structure.

func (*PackerServiceUpdateIterationReader) ReadResponse added in v0.14.0

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

ReadResponse reads a server response into the received o.

type PackerServiceUpdateRegistryDefault added in v0.16.0

type PackerServiceUpdateRegistryDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

PackerServiceUpdateRegistryDefault handles this case with default header values.

An unexpected error response.

func NewPackerServiceUpdateRegistryDefault added in v0.16.0

func NewPackerServiceUpdateRegistryDefault(code int) *PackerServiceUpdateRegistryDefault

NewPackerServiceUpdateRegistryDefault creates a PackerServiceUpdateRegistryDefault with default headers values

func (*PackerServiceUpdateRegistryDefault) Code added in v0.16.0

Code gets the status code for the packer service update registry default response

func (*PackerServiceUpdateRegistryDefault) Error added in v0.16.0

func (*PackerServiceUpdateRegistryDefault) GetPayload added in v0.16.0

type PackerServiceUpdateRegistryOK added in v0.16.0

type PackerServiceUpdateRegistryOK struct {
	Payload *models.HashicorpCloudPackerUpdateRegistryResponse
}

PackerServiceUpdateRegistryOK handles this case with default header values.

A successful response.

func NewPackerServiceUpdateRegistryOK added in v0.16.0

func NewPackerServiceUpdateRegistryOK() *PackerServiceUpdateRegistryOK

NewPackerServiceUpdateRegistryOK creates a PackerServiceUpdateRegistryOK with default headers values

func (*PackerServiceUpdateRegistryOK) Error added in v0.16.0

func (*PackerServiceUpdateRegistryOK) GetPayload added in v0.16.0

type PackerServiceUpdateRegistryParams added in v0.16.0

type PackerServiceUpdateRegistryParams struct {

	/*Body*/
	Body *models.HashicorpCloudPackerUpdateRegistryRequest
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

PackerServiceUpdateRegistryParams contains all the parameters to send to the API endpoint for the packer service update registry operation typically these are written to a http.Request

func NewPackerServiceUpdateRegistryParams added in v0.16.0

func NewPackerServiceUpdateRegistryParams() *PackerServiceUpdateRegistryParams

NewPackerServiceUpdateRegistryParams creates a new PackerServiceUpdateRegistryParams object with the default values initialized.

func NewPackerServiceUpdateRegistryParamsWithContext added in v0.16.0

func NewPackerServiceUpdateRegistryParamsWithContext(ctx context.Context) *PackerServiceUpdateRegistryParams

NewPackerServiceUpdateRegistryParamsWithContext creates a new PackerServiceUpdateRegistryParams object with the default values initialized, and the ability to set a context for a request

func NewPackerServiceUpdateRegistryParamsWithHTTPClient added in v0.16.0

func NewPackerServiceUpdateRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateRegistryParams

NewPackerServiceUpdateRegistryParamsWithHTTPClient creates a new PackerServiceUpdateRegistryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPackerServiceUpdateRegistryParamsWithTimeout added in v0.16.0

func NewPackerServiceUpdateRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateRegistryParams

NewPackerServiceUpdateRegistryParamsWithTimeout creates a new PackerServiceUpdateRegistryParams object with the default values initialized, and the ability to set a timeout on a request

func (*PackerServiceUpdateRegistryParams) SetBody added in v0.16.0

SetBody adds the body to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) SetContext added in v0.16.0

SetContext adds the context to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) SetHTTPClient added in v0.16.0

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

SetHTTPClient adds the HTTPClient to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) SetLocationOrganizationID added in v0.16.0

func (o *PackerServiceUpdateRegistryParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) SetLocationProjectID added in v0.16.0

func (o *PackerServiceUpdateRegistryParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) SetTimeout added in v0.16.0

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

SetTimeout adds the timeout to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithBody added in v0.16.0

WithBody adds the body to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithContext added in v0.16.0

WithContext adds the context to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithHTTPClient added in v0.16.0

WithHTTPClient adds the HTTPClient to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithLocationOrganizationID added in v0.16.0

func (o *PackerServiceUpdateRegistryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateRegistryParams

WithLocationOrganizationID adds the locationOrganizationID to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithLocationProjectID added in v0.16.0

func (o *PackerServiceUpdateRegistryParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateRegistryParams

WithLocationProjectID adds the locationProjectID to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithTimeout added in v0.16.0

WithTimeout adds the timeout to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WriteToRequest added in v0.16.0

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateRegistryReader added in v0.16.0

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

PackerServiceUpdateRegistryReader is a Reader for the PackerServiceUpdateRegistry structure.

func (*PackerServiceUpdateRegistryReader) ReadResponse added in v0.16.0

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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