packer_service

package
v0.87.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 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

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

PackerServiceCreateBucket creates a bucket in the h c p packer registry

func (*Client) PackerServiceCreateBuild

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

PackerServiceCreateBuild creates a build in the provided version it is called once for each build source in a packer build run the request will error if the build for a given platform already exists

func (*Client) PackerServiceCreateChannel

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

PackerServiceCreateChannel creates a channel either empty or assigned to a version

func (*Client) PackerServiceCreateRegistry

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

PackerServiceCreateRegistry creates the h c p packer registry and starts billing for it

func (*Client) PackerServiceCreateVersion

func (a *Client) PackerServiceCreateVersion(params *PackerServiceCreateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateVersionOK, error)

PackerServiceCreateVersion creates an empty version to be written to this API is called at the beginning of a new packer build and does not create individual builds for the version

func (*Client) PackerServiceDeleteBucket

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

PackerServiceDeleteBucket deletes the bucket and all its information such as versions builds and artifacts

func (*Client) PackerServiceDeleteBuild

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

PackerServiceDeleteBuild deletes a build in the provided version

func (*Client) PackerServiceDeleteChannel

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

PackerServiceDeleteChannel deletes a channel

func (*Client) PackerServiceDeleteRegistry

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

PackerServiceDeleteRegistry deletes the h c p packer registry and any associated resources from the database

func (*Client) PackerServiceDeleteVersion

func (a *Client) PackerServiceDeleteVersion(params *PackerServiceDeleteVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteVersionOK, error)

PackerServiceDeleteVersion deletes the version and all its information such as its builds and artifacts

func (*Client) PackerServiceGetBucket

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

PackerServiceGetBucket retrieves an existing bucket

func (*Client) PackerServiceGetBuild

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

PackerServiceGetBuild retrieves a build with its list of artifacts

func (*Client) PackerServiceGetChannel

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

PackerServiceGetChannel retrieves a channel with the version that it is currently assigned if any

func (*Client) PackerServiceGetRegistry

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

PackerServiceGetRegistry retrieves the h c p packer registry

func (*Client) PackerServiceGetRegistryTFCRunTaskAPI

func (a *Client) PackerServiceGetRegistryTFCRunTaskAPI(params *PackerServiceGetRegistryTFCRunTaskAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetRegistryTFCRunTaskAPIOK, error)

PackerServiceGetRegistryTFCRunTaskAPI gets the h c p packer registry API URL and h m a c key to integrate with terraform cloud as a run task

func (*Client) PackerServiceGetVersion

func (a *Client) PackerServiceGetVersion(params *PackerServiceGetVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetVersionOK, error)

PackerServiceGetVersion retrieves the version using the version fingerprint

func (*Client) PackerServiceListBucketAncestry

func (a *Client) PackerServiceListBucketAncestry(params *PackerServiceListBucketAncestryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListBucketAncestryOK, error)

PackerServiceListBucketAncestry lists the ancestry relationships for the bucket this includes direct source bucket parents and downstream artifacts built directly from the bucket children

func (*Client) PackerServiceListBuckets

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

PackerServiceListBuckets lists all existing buckets in the h c p packer registry

func (*Client) PackerServiceListBuilds

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

PackerServiceListBuilds lists every existing build and its artifacts for a version

func (*Client) PackerServiceListChannelAssignmentHistory

PackerServiceListChannelAssignmentHistory lists a channel assignement history

func (*Client) PackerServiceListChannels

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

PackerServiceListChannels lists all channels of a given bucket

func (*Client) PackerServiceListVersions

func (a *Client) PackerServiceListVersions(params *PackerServiceListVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListVersionsOK, error)

PackerServiceListVersions lists every existing version of a bucket

func (*Client) PackerServiceRegenerateTFCRunTaskHmacKey

PackerServiceRegenerateTFCRunTaskHmacKey regenerates the h m a c key used to sign requests from terraform cloud to h c p packer run tasks

func (*Client) PackerServiceUpdateBucket

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

PackerServiceUpdateBucket updates the bucket s information

func (*Client) PackerServiceUpdateBuild

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

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

func (*Client) PackerServiceUpdateChannel

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

PackerServiceUpdateChannel updates the channel assignment and or restriction

func (*Client) PackerServiceUpdateRegistry

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

PackerServiceUpdateRegistry updates the feature tier o r activates deactivates the h c p packer registry deactivating a registry will stop any additional billing for the resource

func (*Client) PackerServiceUpdateVersion

func (a *Client) PackerServiceUpdateVersion(params *PackerServiceUpdateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateVersionOK, error)

PackerServiceUpdateVersion this API can be used to revoke restore or complete a version when a version is revoked all its descendants will automatically get revoked unless skip descendants revocation is set descendants will get revoked asynchronously to the request revoked versions cannot be updated unless restored

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

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

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

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

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

	PackerServiceCreateVersion(params *PackerServiceCreateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateVersionOK, error)

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

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

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

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

	PackerServiceDeleteVersion(params *PackerServiceDeleteVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteVersionOK, error)

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

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

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

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

	PackerServiceGetRegistryTFCRunTaskAPI(params *PackerServiceGetRegistryTFCRunTaskAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetRegistryTFCRunTaskAPIOK, error)

	PackerServiceGetVersion(params *PackerServiceGetVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetVersionOK, error)

	PackerServiceListBucketAncestry(params *PackerServiceListBucketAncestryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListBucketAncestryOK, error)

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

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

	PackerServiceListChannelAssignmentHistory(params *PackerServiceListChannelAssignmentHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListChannelAssignmentHistoryOK, error)

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

	PackerServiceListVersions(params *PackerServiceListVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListVersionsOK, error)

	PackerServiceRegenerateTFCRunTaskHmacKey(params *PackerServiceRegenerateTFCRunTaskHmacKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceRegenerateTFCRunTaskHmacKeyOK, error)

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

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

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

	PackerServiceUpdateRegistry(params *PackerServiceUpdateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateRegistryOK, error)

	PackerServiceUpdateVersion(params *PackerServiceUpdateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateVersionOK, 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

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

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

An unexpected error response.

func NewPackerServiceCreateBucketDefault

func NewPackerServiceCreateBucketDefault(code int) *PackerServiceCreateBucketDefault

NewPackerServiceCreateBucketDefault creates a PackerServiceCreateBucketDefault with default headers values

func (*PackerServiceCreateBucketDefault) Code

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

func (*PackerServiceCreateBucketDefault) Error

func (*PackerServiceCreateBucketDefault) GetPayload

func (*PackerServiceCreateBucketDefault) IsClientError

func (o *PackerServiceCreateBucketDefault) IsClientError() bool

IsClientError returns true when this packer service create bucket default response has a 4xx status code

func (*PackerServiceCreateBucketDefault) IsCode

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

IsCode returns true when this packer service create bucket default response a status code equal to that given

func (*PackerServiceCreateBucketDefault) IsRedirect

func (o *PackerServiceCreateBucketDefault) IsRedirect() bool

IsRedirect returns true when this packer service create bucket default response has a 3xx status code

func (*PackerServiceCreateBucketDefault) IsServerError

func (o *PackerServiceCreateBucketDefault) IsServerError() bool

IsServerError returns true when this packer service create bucket default response has a 5xx status code

func (*PackerServiceCreateBucketDefault) IsSuccess

func (o *PackerServiceCreateBucketDefault) IsSuccess() bool

IsSuccess returns true when this packer service create bucket default response has a 2xx status code

func (*PackerServiceCreateBucketDefault) String

type PackerServiceCreateBucketOK

type PackerServiceCreateBucketOK struct {
	Payload *models.HashicorpCloudPacker20230101CreateBucketResponse
}

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

A successful response.

func NewPackerServiceCreateBucketOK

func NewPackerServiceCreateBucketOK() *PackerServiceCreateBucketOK

NewPackerServiceCreateBucketOK creates a PackerServiceCreateBucketOK with default headers values

func (*PackerServiceCreateBucketOK) Code

func (o *PackerServiceCreateBucketOK) Code() int

Code gets the status code for the packer service create bucket o k response

func (*PackerServiceCreateBucketOK) Error

func (*PackerServiceCreateBucketOK) GetPayload

func (*PackerServiceCreateBucketOK) IsClientError

func (o *PackerServiceCreateBucketOK) IsClientError() bool

IsClientError returns true when this packer service create bucket o k response has a 4xx status code

func (*PackerServiceCreateBucketOK) IsCode

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

IsCode returns true when this packer service create bucket o k response a status code equal to that given

func (*PackerServiceCreateBucketOK) IsRedirect

func (o *PackerServiceCreateBucketOK) IsRedirect() bool

IsRedirect returns true when this packer service create bucket o k response has a 3xx status code

func (*PackerServiceCreateBucketOK) IsServerError

func (o *PackerServiceCreateBucketOK) IsServerError() bool

IsServerError returns true when this packer service create bucket o k response has a 5xx status code

func (*PackerServiceCreateBucketOK) IsSuccess

func (o *PackerServiceCreateBucketOK) IsSuccess() bool

IsSuccess returns true when this packer service create bucket o k response has a 2xx status code

func (*PackerServiceCreateBucketOK) String

func (o *PackerServiceCreateBucketOK) String() string

type PackerServiceCreateBucketParams

type PackerServiceCreateBucketParams struct {

	// Body.
	Body *models.HashicorpCloudPacker20230101CreateBucketBody

	/* 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
}

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

func NewPackerServiceCreateBucketParams() *PackerServiceCreateBucketParams

NewPackerServiceCreateBucketParams creates a new PackerServiceCreateBucketParams object, with the default timeout for this client.

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

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

func NewPackerServiceCreateBucketParamsWithContext

func NewPackerServiceCreateBucketParamsWithContext(ctx context.Context) *PackerServiceCreateBucketParams

NewPackerServiceCreateBucketParamsWithContext creates a new PackerServiceCreateBucketParams object with the ability to set a context for a request.

func NewPackerServiceCreateBucketParamsWithHTTPClient

func NewPackerServiceCreateBucketParamsWithHTTPClient(client *http.Client) *PackerServiceCreateBucketParams

NewPackerServiceCreateBucketParamsWithHTTPClient creates a new PackerServiceCreateBucketParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceCreateBucketParamsWithTimeout

func NewPackerServiceCreateBucketParamsWithTimeout(timeout time.Duration) *PackerServiceCreateBucketParams

NewPackerServiceCreateBucketParamsWithTimeout creates a new PackerServiceCreateBucketParams object with the ability to set a timeout on a request.

func (*PackerServiceCreateBucketParams) SetBody

SetBody adds the body to the packer service create bucket params

func (*PackerServiceCreateBucketParams) SetContext

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

SetContext adds the context to the packer service create bucket params

func (*PackerServiceCreateBucketParams) SetDefaults

func (o *PackerServiceCreateBucketParams) SetDefaults()

SetDefaults hydrates default values in the packer service create bucket params (not the query body).

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

func (*PackerServiceCreateBucketParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service create bucket params

func (*PackerServiceCreateBucketParams) SetLocationOrganizationID

func (o *PackerServiceCreateBucketParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service create bucket params

func (*PackerServiceCreateBucketParams) SetLocationProjectID

func (o *PackerServiceCreateBucketParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service create bucket params

func (*PackerServiceCreateBucketParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service create bucket params

func (*PackerServiceCreateBucketParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service create bucket params

func (*PackerServiceCreateBucketParams) SetTimeout

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

SetTimeout adds the timeout to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithBody

WithBody adds the body to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithContext

WithContext adds the context to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithDefaults

WithDefaults hydrates default values in the packer service create bucket params (not the query body).

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

func (*PackerServiceCreateBucketParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WithTimeout

WithTimeout adds the timeout to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceCreateBucketReader

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

PackerServiceCreateBucketReader is a Reader for the PackerServiceCreateBucket structure.

func (*PackerServiceCreateBucketReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceCreateBuildDefault

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

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

An unexpected error response.

func NewPackerServiceCreateBuildDefault

func NewPackerServiceCreateBuildDefault(code int) *PackerServiceCreateBuildDefault

NewPackerServiceCreateBuildDefault creates a PackerServiceCreateBuildDefault with default headers values

func (*PackerServiceCreateBuildDefault) Code

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

func (*PackerServiceCreateBuildDefault) Error

func (*PackerServiceCreateBuildDefault) GetPayload

func (*PackerServiceCreateBuildDefault) IsClientError

func (o *PackerServiceCreateBuildDefault) IsClientError() bool

IsClientError returns true when this packer service create build default response has a 4xx status code

func (*PackerServiceCreateBuildDefault) IsCode

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

IsCode returns true when this packer service create build default response a status code equal to that given

func (*PackerServiceCreateBuildDefault) IsRedirect

func (o *PackerServiceCreateBuildDefault) IsRedirect() bool

IsRedirect returns true when this packer service create build default response has a 3xx status code

func (*PackerServiceCreateBuildDefault) IsServerError

func (o *PackerServiceCreateBuildDefault) IsServerError() bool

IsServerError returns true when this packer service create build default response has a 5xx status code

func (*PackerServiceCreateBuildDefault) IsSuccess

func (o *PackerServiceCreateBuildDefault) IsSuccess() bool

IsSuccess returns true when this packer service create build default response has a 2xx status code

func (*PackerServiceCreateBuildDefault) String

type PackerServiceCreateBuildOK

type PackerServiceCreateBuildOK struct {
	Payload *models.HashicorpCloudPacker20230101CreateBuildResponse
}

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

A successful response.

func NewPackerServiceCreateBuildOK

func NewPackerServiceCreateBuildOK() *PackerServiceCreateBuildOK

NewPackerServiceCreateBuildOK creates a PackerServiceCreateBuildOK with default headers values

func (*PackerServiceCreateBuildOK) Code

func (o *PackerServiceCreateBuildOK) Code() int

Code gets the status code for the packer service create build o k response

func (*PackerServiceCreateBuildOK) Error

func (*PackerServiceCreateBuildOK) GetPayload

func (*PackerServiceCreateBuildOK) IsClientError

func (o *PackerServiceCreateBuildOK) IsClientError() bool

IsClientError returns true when this packer service create build o k response has a 4xx status code

func (*PackerServiceCreateBuildOK) IsCode

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

IsCode returns true when this packer service create build o k response a status code equal to that given

func (*PackerServiceCreateBuildOK) IsRedirect

func (o *PackerServiceCreateBuildOK) IsRedirect() bool

IsRedirect returns true when this packer service create build o k response has a 3xx status code

func (*PackerServiceCreateBuildOK) IsServerError

func (o *PackerServiceCreateBuildOK) IsServerError() bool

IsServerError returns true when this packer service create build o k response has a 5xx status code

func (*PackerServiceCreateBuildOK) IsSuccess

func (o *PackerServiceCreateBuildOK) IsSuccess() bool

IsSuccess returns true when this packer service create build o k response has a 2xx status code

func (*PackerServiceCreateBuildOK) String

func (o *PackerServiceCreateBuildOK) String() string

type PackerServiceCreateBuildParams

type PackerServiceCreateBuildParams struct {

	// Body.
	Body *models.HashicorpCloudPacker20230101CreateBuildBody

	// BucketName.
	BucketName string

	// Fingerprint.
	Fingerprint 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
}

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

func NewPackerServiceCreateBuildParams() *PackerServiceCreateBuildParams

NewPackerServiceCreateBuildParams creates a new PackerServiceCreateBuildParams object, with the default timeout for this client.

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

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

func NewPackerServiceCreateBuildParamsWithContext

func NewPackerServiceCreateBuildParamsWithContext(ctx context.Context) *PackerServiceCreateBuildParams

NewPackerServiceCreateBuildParamsWithContext creates a new PackerServiceCreateBuildParams object with the ability to set a context for a request.

func NewPackerServiceCreateBuildParamsWithHTTPClient

func NewPackerServiceCreateBuildParamsWithHTTPClient(client *http.Client) *PackerServiceCreateBuildParams

NewPackerServiceCreateBuildParamsWithHTTPClient creates a new PackerServiceCreateBuildParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceCreateBuildParamsWithTimeout

func NewPackerServiceCreateBuildParamsWithTimeout(timeout time.Duration) *PackerServiceCreateBuildParams

NewPackerServiceCreateBuildParamsWithTimeout creates a new PackerServiceCreateBuildParams object with the ability to set a timeout on a request.

func (*PackerServiceCreateBuildParams) SetBody

SetBody adds the body to the packer service create build params

func (*PackerServiceCreateBuildParams) SetBucketName

func (o *PackerServiceCreateBuildParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service create build params

func (*PackerServiceCreateBuildParams) SetContext

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

SetContext adds the context to the packer service create build params

func (*PackerServiceCreateBuildParams) SetDefaults

func (o *PackerServiceCreateBuildParams) SetDefaults()

SetDefaults hydrates default values in the packer service create build params (not the query body).

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

func (*PackerServiceCreateBuildParams) SetFingerprint

func (o *PackerServiceCreateBuildParams) SetFingerprint(fingerprint string)

SetFingerprint adds the fingerprint to the packer service create build params

func (*PackerServiceCreateBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service create build params

func (*PackerServiceCreateBuildParams) SetLocationOrganizationID

func (o *PackerServiceCreateBuildParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service create build params

func (*PackerServiceCreateBuildParams) SetLocationProjectID

func (o *PackerServiceCreateBuildParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service create build params

func (*PackerServiceCreateBuildParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service create build params

func (*PackerServiceCreateBuildParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service create build params

func (*PackerServiceCreateBuildParams) SetTimeout

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

SetTimeout adds the timeout to the packer service create build params

func (*PackerServiceCreateBuildParams) WithBody

WithBody adds the body to the packer service create build params

func (*PackerServiceCreateBuildParams) WithBucketName

WithBucketName adds the bucketName to the packer service create build params

func (*PackerServiceCreateBuildParams) WithContext

WithContext adds the context to the packer service create build params

func (*PackerServiceCreateBuildParams) WithDefaults

WithDefaults hydrates default values in the packer service create build params (not the query body).

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

func (*PackerServiceCreateBuildParams) WithFingerprint

func (o *PackerServiceCreateBuildParams) WithFingerprint(fingerprint string) *PackerServiceCreateBuildParams

WithFingerprint adds the fingerprint to the packer service create build params

func (*PackerServiceCreateBuildParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service create build params

func (*PackerServiceCreateBuildParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service create build params

func (*PackerServiceCreateBuildParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service create build params

func (*PackerServiceCreateBuildParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service create build params

func (*PackerServiceCreateBuildParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service create build params

func (*PackerServiceCreateBuildParams) WithTimeout

WithTimeout adds the timeout to the packer service create build params

func (*PackerServiceCreateBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceCreateBuildReader

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

PackerServiceCreateBuildReader is a Reader for the PackerServiceCreateBuild structure.

func (*PackerServiceCreateBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceCreateChannelDefault

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

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

An unexpected error response.

func NewPackerServiceCreateChannelDefault

func NewPackerServiceCreateChannelDefault(code int) *PackerServiceCreateChannelDefault

NewPackerServiceCreateChannelDefault creates a PackerServiceCreateChannelDefault with default headers values

func (*PackerServiceCreateChannelDefault) Code

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

func (*PackerServiceCreateChannelDefault) Error

func (*PackerServiceCreateChannelDefault) GetPayload

func (*PackerServiceCreateChannelDefault) IsClientError

func (o *PackerServiceCreateChannelDefault) IsClientError() bool

IsClientError returns true when this packer service create channel default response has a 4xx status code

func (*PackerServiceCreateChannelDefault) IsCode

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

IsCode returns true when this packer service create channel default response a status code equal to that given

func (*PackerServiceCreateChannelDefault) IsRedirect

func (o *PackerServiceCreateChannelDefault) IsRedirect() bool

IsRedirect returns true when this packer service create channel default response has a 3xx status code

func (*PackerServiceCreateChannelDefault) IsServerError

func (o *PackerServiceCreateChannelDefault) IsServerError() bool

IsServerError returns true when this packer service create channel default response has a 5xx status code

func (*PackerServiceCreateChannelDefault) IsSuccess

func (o *PackerServiceCreateChannelDefault) IsSuccess() bool

IsSuccess returns true when this packer service create channel default response has a 2xx status code

func (*PackerServiceCreateChannelDefault) String

type PackerServiceCreateChannelOK

type PackerServiceCreateChannelOK struct {
	Payload *models.HashicorpCloudPacker20230101CreateChannelResponse
}

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

A successful response.

func NewPackerServiceCreateChannelOK

func NewPackerServiceCreateChannelOK() *PackerServiceCreateChannelOK

NewPackerServiceCreateChannelOK creates a PackerServiceCreateChannelOK with default headers values

func (*PackerServiceCreateChannelOK) Code

Code gets the status code for the packer service create channel o k response

func (*PackerServiceCreateChannelOK) Error

func (*PackerServiceCreateChannelOK) GetPayload

func (*PackerServiceCreateChannelOK) IsClientError

func (o *PackerServiceCreateChannelOK) IsClientError() bool

IsClientError returns true when this packer service create channel o k response has a 4xx status code

func (*PackerServiceCreateChannelOK) IsCode

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

IsCode returns true when this packer service create channel o k response a status code equal to that given

func (*PackerServiceCreateChannelOK) IsRedirect

func (o *PackerServiceCreateChannelOK) IsRedirect() bool

IsRedirect returns true when this packer service create channel o k response has a 3xx status code

func (*PackerServiceCreateChannelOK) IsServerError

func (o *PackerServiceCreateChannelOK) IsServerError() bool

IsServerError returns true when this packer service create channel o k response has a 5xx status code

func (*PackerServiceCreateChannelOK) IsSuccess

func (o *PackerServiceCreateChannelOK) IsSuccess() bool

IsSuccess returns true when this packer service create channel o k response has a 2xx status code

func (*PackerServiceCreateChannelOK) String

type PackerServiceCreateChannelParams

type PackerServiceCreateChannelParams struct {

	// Body.
	Body *models.HashicorpCloudPacker20230101CreateChannelBody

	// BucketName.
	BucketName 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
}

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

func NewPackerServiceCreateChannelParams() *PackerServiceCreateChannelParams

NewPackerServiceCreateChannelParams creates a new PackerServiceCreateChannelParams object, with the default timeout for this client.

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

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

func NewPackerServiceCreateChannelParamsWithContext

func NewPackerServiceCreateChannelParamsWithContext(ctx context.Context) *PackerServiceCreateChannelParams

NewPackerServiceCreateChannelParamsWithContext creates a new PackerServiceCreateChannelParams object with the ability to set a context for a request.

func NewPackerServiceCreateChannelParamsWithHTTPClient

func NewPackerServiceCreateChannelParamsWithHTTPClient(client *http.Client) *PackerServiceCreateChannelParams

NewPackerServiceCreateChannelParamsWithHTTPClient creates a new PackerServiceCreateChannelParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceCreateChannelParamsWithTimeout

func NewPackerServiceCreateChannelParamsWithTimeout(timeout time.Duration) *PackerServiceCreateChannelParams

NewPackerServiceCreateChannelParamsWithTimeout creates a new PackerServiceCreateChannelParams object with the ability to set a timeout on a request.

func (*PackerServiceCreateChannelParams) SetBody

SetBody adds the body to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetBucketName

func (o *PackerServiceCreateChannelParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetContext

SetContext adds the context to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetDefaults

func (o *PackerServiceCreateChannelParams) SetDefaults()

SetDefaults hydrates default values in the packer service create channel params (not the query body).

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

func (*PackerServiceCreateChannelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetLocationOrganizationID

func (o *PackerServiceCreateChannelParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetLocationProjectID

func (o *PackerServiceCreateChannelParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetTimeout

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

SetTimeout adds the timeout to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithBody

WithBody adds the body to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithBucketName

WithBucketName adds the bucketName to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithContext

WithContext adds the context to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithDefaults

WithDefaults hydrates default values in the packer service create channel params (not the query body).

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

func (*PackerServiceCreateChannelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithTimeout

WithTimeout adds the timeout to the packer service create channel params

func (*PackerServiceCreateChannelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceCreateChannelReader

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

PackerServiceCreateChannelReader is a Reader for the PackerServiceCreateChannel structure.

func (*PackerServiceCreateChannelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceCreateRegistryDefault

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

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

An unexpected error response.

func NewPackerServiceCreateRegistryDefault

func NewPackerServiceCreateRegistryDefault(code int) *PackerServiceCreateRegistryDefault

NewPackerServiceCreateRegistryDefault creates a PackerServiceCreateRegistryDefault with default headers values

func (*PackerServiceCreateRegistryDefault) Code

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

func (*PackerServiceCreateRegistryDefault) Error

func (*PackerServiceCreateRegistryDefault) GetPayload

func (*PackerServiceCreateRegistryDefault) IsClientError

func (o *PackerServiceCreateRegistryDefault) IsClientError() bool

IsClientError returns true when this packer service create registry default response has a 4xx status code

func (*PackerServiceCreateRegistryDefault) IsCode

IsCode returns true when this packer service create registry default response a status code equal to that given

func (*PackerServiceCreateRegistryDefault) IsRedirect

func (o *PackerServiceCreateRegistryDefault) IsRedirect() bool

IsRedirect returns true when this packer service create registry default response has a 3xx status code

func (*PackerServiceCreateRegistryDefault) IsServerError

func (o *PackerServiceCreateRegistryDefault) IsServerError() bool

IsServerError returns true when this packer service create registry default response has a 5xx status code

func (*PackerServiceCreateRegistryDefault) IsSuccess

IsSuccess returns true when this packer service create registry default response has a 2xx status code

func (*PackerServiceCreateRegistryDefault) String

type PackerServiceCreateRegistryOK

type PackerServiceCreateRegistryOK struct {
	Payload *models.HashicorpCloudPacker20230101CreateRegistryResponse
}

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

A successful response.

func NewPackerServiceCreateRegistryOK

func NewPackerServiceCreateRegistryOK() *PackerServiceCreateRegistryOK

NewPackerServiceCreateRegistryOK creates a PackerServiceCreateRegistryOK with default headers values

func (*PackerServiceCreateRegistryOK) Code

Code gets the status code for the packer service create registry o k response

func (*PackerServiceCreateRegistryOK) Error

func (*PackerServiceCreateRegistryOK) GetPayload

func (*PackerServiceCreateRegistryOK) IsClientError

func (o *PackerServiceCreateRegistryOK) IsClientError() bool

IsClientError returns true when this packer service create registry o k response has a 4xx status code

func (*PackerServiceCreateRegistryOK) IsCode

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

IsCode returns true when this packer service create registry o k response a status code equal to that given

func (*PackerServiceCreateRegistryOK) IsRedirect

func (o *PackerServiceCreateRegistryOK) IsRedirect() bool

IsRedirect returns true when this packer service create registry o k response has a 3xx status code

func (*PackerServiceCreateRegistryOK) IsServerError

func (o *PackerServiceCreateRegistryOK) IsServerError() bool

IsServerError returns true when this packer service create registry o k response has a 5xx status code

func (*PackerServiceCreateRegistryOK) IsSuccess

func (o *PackerServiceCreateRegistryOK) IsSuccess() bool

IsSuccess returns true when this packer service create registry o k response has a 2xx status code

func (*PackerServiceCreateRegistryOK) String

type PackerServiceCreateRegistryParams

type PackerServiceCreateRegistryParams struct {

	// Body.
	Body *models.HashicorpCloudPacker20230101CreateRegistryBody

	/* 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
}

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

func NewPackerServiceCreateRegistryParams() *PackerServiceCreateRegistryParams

NewPackerServiceCreateRegistryParams creates a new PackerServiceCreateRegistryParams object, with the default timeout for this client.

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

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

func NewPackerServiceCreateRegistryParamsWithContext

func NewPackerServiceCreateRegistryParamsWithContext(ctx context.Context) *PackerServiceCreateRegistryParams

NewPackerServiceCreateRegistryParamsWithContext creates a new PackerServiceCreateRegistryParams object with the ability to set a context for a request.

func NewPackerServiceCreateRegistryParamsWithHTTPClient

func NewPackerServiceCreateRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceCreateRegistryParams

NewPackerServiceCreateRegistryParamsWithHTTPClient creates a new PackerServiceCreateRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceCreateRegistryParamsWithTimeout

func NewPackerServiceCreateRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceCreateRegistryParams

NewPackerServiceCreateRegistryParamsWithTimeout creates a new PackerServiceCreateRegistryParams object with the ability to set a timeout on a request.

func (*PackerServiceCreateRegistryParams) SetBody

SetBody adds the body to the packer service create registry params

func (*PackerServiceCreateRegistryParams) SetContext

SetContext adds the context to the packer service create registry params

func (*PackerServiceCreateRegistryParams) SetDefaults

func (o *PackerServiceCreateRegistryParams) SetDefaults()

SetDefaults hydrates default values in the packer service create registry params (not the query body).

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

func (*PackerServiceCreateRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service create registry params

func (*PackerServiceCreateRegistryParams) SetLocationOrganizationID

func (o *PackerServiceCreateRegistryParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service create registry params

func (*PackerServiceCreateRegistryParams) SetLocationProjectID

func (o *PackerServiceCreateRegistryParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service create registry params

func (*PackerServiceCreateRegistryParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service create registry params

func (*PackerServiceCreateRegistryParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service create registry params

func (*PackerServiceCreateRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithBody

WithBody adds the body to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithContext

WithContext adds the context to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithDefaults

WithDefaults hydrates default values in the packer service create registry params (not the query body).

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

func (*PackerServiceCreateRegistryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WithTimeout

WithTimeout adds the timeout to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceCreateRegistryReader

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

PackerServiceCreateRegistryReader is a Reader for the PackerServiceCreateRegistry structure.

func (*PackerServiceCreateRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceCreateVersionDefault

type PackerServiceCreateVersionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewPackerServiceCreateVersionDefault

func NewPackerServiceCreateVersionDefault(code int) *PackerServiceCreateVersionDefault

NewPackerServiceCreateVersionDefault creates a PackerServiceCreateVersionDefault with default headers values

func (*PackerServiceCreateVersionDefault) Code

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

func (*PackerServiceCreateVersionDefault) Error

func (*PackerServiceCreateVersionDefault) GetPayload

func (*PackerServiceCreateVersionDefault) IsClientError

func (o *PackerServiceCreateVersionDefault) IsClientError() bool

IsClientError returns true when this packer service create version default response has a 4xx status code

func (*PackerServiceCreateVersionDefault) IsCode

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

IsCode returns true when this packer service create version default response a status code equal to that given

func (*PackerServiceCreateVersionDefault) IsRedirect

func (o *PackerServiceCreateVersionDefault) IsRedirect() bool

IsRedirect returns true when this packer service create version default response has a 3xx status code

func (*PackerServiceCreateVersionDefault) IsServerError

func (o *PackerServiceCreateVersionDefault) IsServerError() bool

IsServerError returns true when this packer service create version default response has a 5xx status code

func (*PackerServiceCreateVersionDefault) IsSuccess

func (o *PackerServiceCreateVersionDefault) IsSuccess() bool

IsSuccess returns true when this packer service create version default response has a 2xx status code

func (*PackerServiceCreateVersionDefault) String

type PackerServiceCreateVersionOK

type PackerServiceCreateVersionOK struct {
	Payload *models.HashicorpCloudPacker20230101CreateVersionResponse
}

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

A successful response.

func NewPackerServiceCreateVersionOK

func NewPackerServiceCreateVersionOK() *PackerServiceCreateVersionOK

NewPackerServiceCreateVersionOK creates a PackerServiceCreateVersionOK with default headers values

func (*PackerServiceCreateVersionOK) Code

Code gets the status code for the packer service create version o k response

func (*PackerServiceCreateVersionOK) Error

func (*PackerServiceCreateVersionOK) GetPayload

func (*PackerServiceCreateVersionOK) IsClientError

func (o *PackerServiceCreateVersionOK) IsClientError() bool

IsClientError returns true when this packer service create version o k response has a 4xx status code

func (*PackerServiceCreateVersionOK) IsCode

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

IsCode returns true when this packer service create version o k response a status code equal to that given

func (*PackerServiceCreateVersionOK) IsRedirect

func (o *PackerServiceCreateVersionOK) IsRedirect() bool

IsRedirect returns true when this packer service create version o k response has a 3xx status code

func (*PackerServiceCreateVersionOK) IsServerError

func (o *PackerServiceCreateVersionOK) IsServerError() bool

IsServerError returns true when this packer service create version o k response has a 5xx status code

func (*PackerServiceCreateVersionOK) IsSuccess

func (o *PackerServiceCreateVersionOK) IsSuccess() bool

IsSuccess returns true when this packer service create version o k response has a 2xx status code

func (*PackerServiceCreateVersionOK) String

type PackerServiceCreateVersionParams

type PackerServiceCreateVersionParams struct {

	// Body.
	Body *models.HashicorpCloudPacker20230101CreateVersionBody

	// BucketName.
	BucketName 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
}

PackerServiceCreateVersionParams contains all the parameters to send to the API endpoint

for the packer service create version operation.

Typically these are written to a http.Request.

func NewPackerServiceCreateVersionParams

func NewPackerServiceCreateVersionParams() *PackerServiceCreateVersionParams

NewPackerServiceCreateVersionParams creates a new PackerServiceCreateVersionParams object, with the default timeout for this client.

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

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

func NewPackerServiceCreateVersionParamsWithContext

func NewPackerServiceCreateVersionParamsWithContext(ctx context.Context) *PackerServiceCreateVersionParams

NewPackerServiceCreateVersionParamsWithContext creates a new PackerServiceCreateVersionParams object with the ability to set a context for a request.

func NewPackerServiceCreateVersionParamsWithHTTPClient

func NewPackerServiceCreateVersionParamsWithHTTPClient(client *http.Client) *PackerServiceCreateVersionParams

NewPackerServiceCreateVersionParamsWithHTTPClient creates a new PackerServiceCreateVersionParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceCreateVersionParamsWithTimeout

func NewPackerServiceCreateVersionParamsWithTimeout(timeout time.Duration) *PackerServiceCreateVersionParams

NewPackerServiceCreateVersionParamsWithTimeout creates a new PackerServiceCreateVersionParams object with the ability to set a timeout on a request.

func (*PackerServiceCreateVersionParams) SetBody

SetBody adds the body to the packer service create version params

func (*PackerServiceCreateVersionParams) SetBucketName

func (o *PackerServiceCreateVersionParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service create version params

func (*PackerServiceCreateVersionParams) SetContext

SetContext adds the context to the packer service create version params

func (*PackerServiceCreateVersionParams) SetDefaults

func (o *PackerServiceCreateVersionParams) SetDefaults()

SetDefaults hydrates default values in the packer service create version params (not the query body).

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

func (*PackerServiceCreateVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service create version params

func (*PackerServiceCreateVersionParams) SetLocationOrganizationID

func (o *PackerServiceCreateVersionParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service create version params

func (*PackerServiceCreateVersionParams) SetLocationProjectID

func (o *PackerServiceCreateVersionParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service create version params

func (*PackerServiceCreateVersionParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service create version params

func (*PackerServiceCreateVersionParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service create version params

func (*PackerServiceCreateVersionParams) SetTimeout

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

SetTimeout adds the timeout to the packer service create version params

func (*PackerServiceCreateVersionParams) WithBody

WithBody adds the body to the packer service create version params

func (*PackerServiceCreateVersionParams) WithBucketName

WithBucketName adds the bucketName to the packer service create version params

func (*PackerServiceCreateVersionParams) WithContext

WithContext adds the context to the packer service create version params

func (*PackerServiceCreateVersionParams) WithDefaults

WithDefaults hydrates default values in the packer service create version params (not the query body).

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

func (*PackerServiceCreateVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service create version params

func (*PackerServiceCreateVersionParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service create version params

func (*PackerServiceCreateVersionParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service create version params

func (*PackerServiceCreateVersionParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service create version params

func (*PackerServiceCreateVersionParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service create version params

func (*PackerServiceCreateVersionParams) WithTimeout

WithTimeout adds the timeout to the packer service create version params

func (*PackerServiceCreateVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceCreateVersionReader

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

PackerServiceCreateVersionReader is a Reader for the PackerServiceCreateVersion structure.

func (*PackerServiceCreateVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceDeleteBucketDefault

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

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

An unexpected error response.

func NewPackerServiceDeleteBucketDefault

func NewPackerServiceDeleteBucketDefault(code int) *PackerServiceDeleteBucketDefault

NewPackerServiceDeleteBucketDefault creates a PackerServiceDeleteBucketDefault with default headers values

func (*PackerServiceDeleteBucketDefault) Code

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

func (*PackerServiceDeleteBucketDefault) Error

func (*PackerServiceDeleteBucketDefault) GetPayload

func (*PackerServiceDeleteBucketDefault) IsClientError

func (o *PackerServiceDeleteBucketDefault) IsClientError() bool

IsClientError returns true when this packer service delete bucket default response has a 4xx status code

func (*PackerServiceDeleteBucketDefault) IsCode

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

IsCode returns true when this packer service delete bucket default response a status code equal to that given

func (*PackerServiceDeleteBucketDefault) IsRedirect

func (o *PackerServiceDeleteBucketDefault) IsRedirect() bool

IsRedirect returns true when this packer service delete bucket default response has a 3xx status code

func (*PackerServiceDeleteBucketDefault) IsServerError

func (o *PackerServiceDeleteBucketDefault) IsServerError() bool

IsServerError returns true when this packer service delete bucket default response has a 5xx status code

func (*PackerServiceDeleteBucketDefault) IsSuccess

func (o *PackerServiceDeleteBucketDefault) IsSuccess() bool

IsSuccess returns true when this packer service delete bucket default response has a 2xx status code

func (*PackerServiceDeleteBucketDefault) String

type PackerServiceDeleteBucketOK

type PackerServiceDeleteBucketOK struct {
	Payload models.HashicorpCloudPacker20230101DeleteBucketResponse
}

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

A successful response.

func NewPackerServiceDeleteBucketOK

func NewPackerServiceDeleteBucketOK() *PackerServiceDeleteBucketOK

NewPackerServiceDeleteBucketOK creates a PackerServiceDeleteBucketOK with default headers values

func (*PackerServiceDeleteBucketOK) Code

func (o *PackerServiceDeleteBucketOK) Code() int

Code gets the status code for the packer service delete bucket o k response

func (*PackerServiceDeleteBucketOK) Error

func (*PackerServiceDeleteBucketOK) GetPayload

func (*PackerServiceDeleteBucketOK) IsClientError

func (o *PackerServiceDeleteBucketOK) IsClientError() bool

IsClientError returns true when this packer service delete bucket o k response has a 4xx status code

func (*PackerServiceDeleteBucketOK) IsCode

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

IsCode returns true when this packer service delete bucket o k response a status code equal to that given

func (*PackerServiceDeleteBucketOK) IsRedirect

func (o *PackerServiceDeleteBucketOK) IsRedirect() bool

IsRedirect returns true when this packer service delete bucket o k response has a 3xx status code

func (*PackerServiceDeleteBucketOK) IsServerError

func (o *PackerServiceDeleteBucketOK) IsServerError() bool

IsServerError returns true when this packer service delete bucket o k response has a 5xx status code

func (*PackerServiceDeleteBucketOK) IsSuccess

func (o *PackerServiceDeleteBucketOK) IsSuccess() bool

IsSuccess returns true when this packer service delete bucket o k response has a 2xx status code

func (*PackerServiceDeleteBucketOK) String

func (o *PackerServiceDeleteBucketOK) String() string

type PackerServiceDeleteBucketParams

type PackerServiceDeleteBucketParams struct {

	// BucketName.
	BucketName 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

func NewPackerServiceDeleteBucketParams() *PackerServiceDeleteBucketParams

NewPackerServiceDeleteBucketParams creates a new PackerServiceDeleteBucketParams object, with the default timeout for this client.

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

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

func NewPackerServiceDeleteBucketParamsWithContext

func NewPackerServiceDeleteBucketParamsWithContext(ctx context.Context) *PackerServiceDeleteBucketParams

NewPackerServiceDeleteBucketParamsWithContext creates a new PackerServiceDeleteBucketParams object with the ability to set a context for a request.

func NewPackerServiceDeleteBucketParamsWithHTTPClient

func NewPackerServiceDeleteBucketParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteBucketParams

NewPackerServiceDeleteBucketParamsWithHTTPClient creates a new PackerServiceDeleteBucketParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceDeleteBucketParamsWithTimeout

func NewPackerServiceDeleteBucketParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteBucketParams

NewPackerServiceDeleteBucketParamsWithTimeout creates a new PackerServiceDeleteBucketParams object with the ability to set a timeout on a request.

func (*PackerServiceDeleteBucketParams) SetBucketName

func (o *PackerServiceDeleteBucketParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetContext

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

SetContext adds the context to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetDefaults

func (o *PackerServiceDeleteBucketParams) SetDefaults()

SetDefaults hydrates default values in the packer service delete bucket params (not the query body).

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

func (*PackerServiceDeleteBucketParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetLocationOrganizationID

func (o *PackerServiceDeleteBucketParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetLocationProjectID

func (o *PackerServiceDeleteBucketParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) SetTimeout

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

SetTimeout adds the timeout to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithBucketName

WithBucketName adds the bucketName to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithContext

WithContext adds the context to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithDefaults

WithDefaults hydrates default values in the packer service delete bucket params (not the query body).

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

func (*PackerServiceDeleteBucketParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithTimeout

WithTimeout adds the timeout to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceDeleteBucketReader

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

PackerServiceDeleteBucketReader is a Reader for the PackerServiceDeleteBucket structure.

func (*PackerServiceDeleteBucketReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceDeleteBuildDefault

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

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

An unexpected error response.

func NewPackerServiceDeleteBuildDefault

func NewPackerServiceDeleteBuildDefault(code int) *PackerServiceDeleteBuildDefault

NewPackerServiceDeleteBuildDefault creates a PackerServiceDeleteBuildDefault with default headers values

func (*PackerServiceDeleteBuildDefault) Code

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

func (*PackerServiceDeleteBuildDefault) Error

func (*PackerServiceDeleteBuildDefault) GetPayload

func (*PackerServiceDeleteBuildDefault) IsClientError

func (o *PackerServiceDeleteBuildDefault) IsClientError() bool

IsClientError returns true when this packer service delete build default response has a 4xx status code

func (*PackerServiceDeleteBuildDefault) IsCode

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

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

func (*PackerServiceDeleteBuildDefault) IsRedirect

func (o *PackerServiceDeleteBuildDefault) IsRedirect() bool

IsRedirect returns true when this packer service delete build default response has a 3xx status code

func (*PackerServiceDeleteBuildDefault) IsServerError

func (o *PackerServiceDeleteBuildDefault) IsServerError() bool

IsServerError returns true when this packer service delete build default response has a 5xx status code

func (*PackerServiceDeleteBuildDefault) IsSuccess

func (o *PackerServiceDeleteBuildDefault) IsSuccess() bool

IsSuccess returns true when this packer service delete build default response has a 2xx status code

func (*PackerServiceDeleteBuildDefault) String

type PackerServiceDeleteBuildOK

type PackerServiceDeleteBuildOK struct {
	Payload models.HashicorpCloudPacker20230101DeleteBuildResponse
}

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

A successful response.

func NewPackerServiceDeleteBuildOK

func NewPackerServiceDeleteBuildOK() *PackerServiceDeleteBuildOK

NewPackerServiceDeleteBuildOK creates a PackerServiceDeleteBuildOK with default headers values

func (*PackerServiceDeleteBuildOK) Code

func (o *PackerServiceDeleteBuildOK) Code() int

Code gets the status code for the packer service delete build o k response

func (*PackerServiceDeleteBuildOK) Error

func (*PackerServiceDeleteBuildOK) GetPayload

func (*PackerServiceDeleteBuildOK) IsClientError

func (o *PackerServiceDeleteBuildOK) IsClientError() bool

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

func (*PackerServiceDeleteBuildOK) IsCode

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

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

func (*PackerServiceDeleteBuildOK) IsRedirect

func (o *PackerServiceDeleteBuildOK) IsRedirect() bool

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

func (*PackerServiceDeleteBuildOK) IsServerError

func (o *PackerServiceDeleteBuildOK) IsServerError() bool

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

func (*PackerServiceDeleteBuildOK) IsSuccess

func (o *PackerServiceDeleteBuildOK) IsSuccess() bool

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

func (*PackerServiceDeleteBuildOK) String

func (o *PackerServiceDeleteBuildOK) String() string

type PackerServiceDeleteBuildParams

type PackerServiceDeleteBuildParams struct {

	// BucketName.
	BucketName string

	// BuildID.
	BuildID string

	// Fingerprint.
	Fingerprint 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

func NewPackerServiceDeleteBuildParams() *PackerServiceDeleteBuildParams

NewPackerServiceDeleteBuildParams creates a new PackerServiceDeleteBuildParams object, with the default timeout for this client.

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

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

func NewPackerServiceDeleteBuildParamsWithContext

func NewPackerServiceDeleteBuildParamsWithContext(ctx context.Context) *PackerServiceDeleteBuildParams

NewPackerServiceDeleteBuildParamsWithContext creates a new PackerServiceDeleteBuildParams object with the ability to set a context for a request.

func NewPackerServiceDeleteBuildParamsWithHTTPClient

func NewPackerServiceDeleteBuildParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteBuildParams

NewPackerServiceDeleteBuildParamsWithHTTPClient creates a new PackerServiceDeleteBuildParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceDeleteBuildParamsWithTimeout

func NewPackerServiceDeleteBuildParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteBuildParams

NewPackerServiceDeleteBuildParamsWithTimeout creates a new PackerServiceDeleteBuildParams object with the ability to set a timeout on a request.

func (*PackerServiceDeleteBuildParams) SetBucketName

func (o *PackerServiceDeleteBuildParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetBuildID

func (o *PackerServiceDeleteBuildParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetContext

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

SetContext adds the context to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetDefaults

func (o *PackerServiceDeleteBuildParams) SetDefaults()

SetDefaults hydrates default values in the packer service delete build params (not the query body).

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

func (*PackerServiceDeleteBuildParams) SetFingerprint

func (o *PackerServiceDeleteBuildParams) SetFingerprint(fingerprint string)

SetFingerprint adds the fingerprint to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetLocationOrganizationID

func (o *PackerServiceDeleteBuildParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetLocationProjectID

func (o *PackerServiceDeleteBuildParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service delete build params

func (*PackerServiceDeleteBuildParams) SetTimeout

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

SetTimeout adds the timeout to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithBucketName

WithBucketName adds the bucketName to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithBuildID

WithBuildID adds the buildID to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithContext

WithContext adds the context to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithDefaults

WithDefaults hydrates default values in the packer service delete build params (not the query body).

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

func (*PackerServiceDeleteBuildParams) WithFingerprint

func (o *PackerServiceDeleteBuildParams) WithFingerprint(fingerprint string) *PackerServiceDeleteBuildParams

WithFingerprint adds the fingerprint to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WithTimeout

WithTimeout adds the timeout to the packer service delete build params

func (*PackerServiceDeleteBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceDeleteBuildReader

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

PackerServiceDeleteBuildReader is a Reader for the PackerServiceDeleteBuild structure.

func (*PackerServiceDeleteBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceDeleteChannelDefault

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

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

An unexpected error response.

func NewPackerServiceDeleteChannelDefault

func NewPackerServiceDeleteChannelDefault(code int) *PackerServiceDeleteChannelDefault

NewPackerServiceDeleteChannelDefault creates a PackerServiceDeleteChannelDefault with default headers values

func (*PackerServiceDeleteChannelDefault) Code

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

func (*PackerServiceDeleteChannelDefault) Error

func (*PackerServiceDeleteChannelDefault) GetPayload

func (*PackerServiceDeleteChannelDefault) IsClientError

func (o *PackerServiceDeleteChannelDefault) IsClientError() bool

IsClientError returns true when this packer service delete channel default response has a 4xx status code

func (*PackerServiceDeleteChannelDefault) IsCode

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

IsCode returns true when this packer service delete channel default response a status code equal to that given

func (*PackerServiceDeleteChannelDefault) IsRedirect

func (o *PackerServiceDeleteChannelDefault) IsRedirect() bool

IsRedirect returns true when this packer service delete channel default response has a 3xx status code

func (*PackerServiceDeleteChannelDefault) IsServerError

func (o *PackerServiceDeleteChannelDefault) IsServerError() bool

IsServerError returns true when this packer service delete channel default response has a 5xx status code

func (*PackerServiceDeleteChannelDefault) IsSuccess

func (o *PackerServiceDeleteChannelDefault) IsSuccess() bool

IsSuccess returns true when this packer service delete channel default response has a 2xx status code

func (*PackerServiceDeleteChannelDefault) String

type PackerServiceDeleteChannelOK

type PackerServiceDeleteChannelOK struct {
	Payload models.HashicorpCloudPacker20230101DeleteChannelResponse
}

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

A successful response.

func NewPackerServiceDeleteChannelOK

func NewPackerServiceDeleteChannelOK() *PackerServiceDeleteChannelOK

NewPackerServiceDeleteChannelOK creates a PackerServiceDeleteChannelOK with default headers values

func (*PackerServiceDeleteChannelOK) Code

Code gets the status code for the packer service delete channel o k response

func (*PackerServiceDeleteChannelOK) Error

func (*PackerServiceDeleteChannelOK) GetPayload

func (*PackerServiceDeleteChannelOK) IsClientError

func (o *PackerServiceDeleteChannelOK) IsClientError() bool

IsClientError returns true when this packer service delete channel o k response has a 4xx status code

func (*PackerServiceDeleteChannelOK) IsCode

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

IsCode returns true when this packer service delete channel o k response a status code equal to that given

func (*PackerServiceDeleteChannelOK) IsRedirect

func (o *PackerServiceDeleteChannelOK) IsRedirect() bool

IsRedirect returns true when this packer service delete channel o k response has a 3xx status code

func (*PackerServiceDeleteChannelOK) IsServerError

func (o *PackerServiceDeleteChannelOK) IsServerError() bool

IsServerError returns true when this packer service delete channel o k response has a 5xx status code

func (*PackerServiceDeleteChannelOK) IsSuccess

func (o *PackerServiceDeleteChannelOK) IsSuccess() bool

IsSuccess returns true when this packer service delete channel o k response has a 2xx status code

func (*PackerServiceDeleteChannelOK) String

type PackerServiceDeleteChannelParams

type PackerServiceDeleteChannelParams struct {

	// BucketName.
	BucketName string

	// ChannelName.
	ChannelName 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
}

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

func NewPackerServiceDeleteChannelParams() *PackerServiceDeleteChannelParams

NewPackerServiceDeleteChannelParams creates a new PackerServiceDeleteChannelParams object, with the default timeout for this client.

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

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

func NewPackerServiceDeleteChannelParamsWithContext

func NewPackerServiceDeleteChannelParamsWithContext(ctx context.Context) *PackerServiceDeleteChannelParams

NewPackerServiceDeleteChannelParamsWithContext creates a new PackerServiceDeleteChannelParams object with the ability to set a context for a request.

func NewPackerServiceDeleteChannelParamsWithHTTPClient

func NewPackerServiceDeleteChannelParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteChannelParams

NewPackerServiceDeleteChannelParamsWithHTTPClient creates a new PackerServiceDeleteChannelParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceDeleteChannelParamsWithTimeout

func NewPackerServiceDeleteChannelParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteChannelParams

NewPackerServiceDeleteChannelParamsWithTimeout creates a new PackerServiceDeleteChannelParams object with the ability to set a timeout on a request.

func (*PackerServiceDeleteChannelParams) SetBucketName

func (o *PackerServiceDeleteChannelParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetChannelName

func (o *PackerServiceDeleteChannelParams) SetChannelName(channelName string)

SetChannelName adds the channelName to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetContext

SetContext adds the context to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetDefaults

func (o *PackerServiceDeleteChannelParams) SetDefaults()

SetDefaults hydrates default values in the packer service delete channel params (not the query body).

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

func (*PackerServiceDeleteChannelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetLocationOrganizationID

func (o *PackerServiceDeleteChannelParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetLocationProjectID

func (o *PackerServiceDeleteChannelParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetTimeout

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

SetTimeout adds the timeout to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithBucketName

WithBucketName adds the bucketName to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithChannelName

WithChannelName adds the channelName to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithContext

WithContext adds the context to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithDefaults

WithDefaults hydrates default values in the packer service delete channel params (not the query body).

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

func (*PackerServiceDeleteChannelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithTimeout

WithTimeout adds the timeout to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceDeleteChannelReader

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

PackerServiceDeleteChannelReader is a Reader for the PackerServiceDeleteChannel structure.

func (*PackerServiceDeleteChannelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceDeleteRegistryDefault

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

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

An unexpected error response.

func NewPackerServiceDeleteRegistryDefault

func NewPackerServiceDeleteRegistryDefault(code int) *PackerServiceDeleteRegistryDefault

NewPackerServiceDeleteRegistryDefault creates a PackerServiceDeleteRegistryDefault with default headers values

func (*PackerServiceDeleteRegistryDefault) Code

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

func (*PackerServiceDeleteRegistryDefault) Error

func (*PackerServiceDeleteRegistryDefault) GetPayload

func (*PackerServiceDeleteRegistryDefault) IsClientError

func (o *PackerServiceDeleteRegistryDefault) IsClientError() bool

IsClientError returns true when this packer service delete registry default response has a 4xx status code

func (*PackerServiceDeleteRegistryDefault) IsCode

IsCode returns true when this packer service delete registry default response a status code equal to that given

func (*PackerServiceDeleteRegistryDefault) IsRedirect

func (o *PackerServiceDeleteRegistryDefault) IsRedirect() bool

IsRedirect returns true when this packer service delete registry default response has a 3xx status code

func (*PackerServiceDeleteRegistryDefault) IsServerError

func (o *PackerServiceDeleteRegistryDefault) IsServerError() bool

IsServerError returns true when this packer service delete registry default response has a 5xx status code

func (*PackerServiceDeleteRegistryDefault) IsSuccess

IsSuccess returns true when this packer service delete registry default response has a 2xx status code

func (*PackerServiceDeleteRegistryDefault) String

type PackerServiceDeleteRegistryOK

type PackerServiceDeleteRegistryOK struct {
	Payload *models.HashicorpCloudPacker20230101DeleteRegistryResponse
}

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

A successful response.

func NewPackerServiceDeleteRegistryOK

func NewPackerServiceDeleteRegistryOK() *PackerServiceDeleteRegistryOK

NewPackerServiceDeleteRegistryOK creates a PackerServiceDeleteRegistryOK with default headers values

func (*PackerServiceDeleteRegistryOK) Code

Code gets the status code for the packer service delete registry o k response

func (*PackerServiceDeleteRegistryOK) Error

func (*PackerServiceDeleteRegistryOK) GetPayload

func (*PackerServiceDeleteRegistryOK) IsClientError

func (o *PackerServiceDeleteRegistryOK) IsClientError() bool

IsClientError returns true when this packer service delete registry o k response has a 4xx status code

func (*PackerServiceDeleteRegistryOK) IsCode

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

IsCode returns true when this packer service delete registry o k response a status code equal to that given

func (*PackerServiceDeleteRegistryOK) IsRedirect

func (o *PackerServiceDeleteRegistryOK) IsRedirect() bool

IsRedirect returns true when this packer service delete registry o k response has a 3xx status code

func (*PackerServiceDeleteRegistryOK) IsServerError

func (o *PackerServiceDeleteRegistryOK) IsServerError() bool

IsServerError returns true when this packer service delete registry o k response has a 5xx status code

func (*PackerServiceDeleteRegistryOK) IsSuccess

func (o *PackerServiceDeleteRegistryOK) IsSuccess() bool

IsSuccess returns true when this packer service delete registry o k response has a 2xx status code

func (*PackerServiceDeleteRegistryOK) String

type PackerServiceDeleteRegistryParams

type PackerServiceDeleteRegistryParams 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
}

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

func NewPackerServiceDeleteRegistryParams() *PackerServiceDeleteRegistryParams

NewPackerServiceDeleteRegistryParams creates a new PackerServiceDeleteRegistryParams object, with the default timeout for this client.

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

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

func NewPackerServiceDeleteRegistryParamsWithContext

func NewPackerServiceDeleteRegistryParamsWithContext(ctx context.Context) *PackerServiceDeleteRegistryParams

NewPackerServiceDeleteRegistryParamsWithContext creates a new PackerServiceDeleteRegistryParams object with the ability to set a context for a request.

func NewPackerServiceDeleteRegistryParamsWithHTTPClient

func NewPackerServiceDeleteRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteRegistryParams

NewPackerServiceDeleteRegistryParamsWithHTTPClient creates a new PackerServiceDeleteRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceDeleteRegistryParamsWithTimeout

func NewPackerServiceDeleteRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteRegistryParams

NewPackerServiceDeleteRegistryParamsWithTimeout creates a new PackerServiceDeleteRegistryParams object with the ability to set a timeout on a request.

func (*PackerServiceDeleteRegistryParams) SetContext

SetContext adds the context to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetDefaults

func (o *PackerServiceDeleteRegistryParams) SetDefaults()

SetDefaults hydrates default values in the packer service delete registry params (not the query body).

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

func (*PackerServiceDeleteRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetLocationOrganizationID

func (o *PackerServiceDeleteRegistryParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetLocationProjectID

func (o *PackerServiceDeleteRegistryParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithContext

WithContext adds the context to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithDefaults

WithDefaults hydrates default values in the packer service delete registry params (not the query body).

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

func (*PackerServiceDeleteRegistryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WithTimeout

WithTimeout adds the timeout to the packer service delete registry params

func (*PackerServiceDeleteRegistryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceDeleteRegistryReader

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

PackerServiceDeleteRegistryReader is a Reader for the PackerServiceDeleteRegistry structure.

func (*PackerServiceDeleteRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceDeleteVersionDefault

type PackerServiceDeleteVersionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewPackerServiceDeleteVersionDefault

func NewPackerServiceDeleteVersionDefault(code int) *PackerServiceDeleteVersionDefault

NewPackerServiceDeleteVersionDefault creates a PackerServiceDeleteVersionDefault with default headers values

func (*PackerServiceDeleteVersionDefault) Code

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

func (*PackerServiceDeleteVersionDefault) Error

func (*PackerServiceDeleteVersionDefault) GetPayload

func (*PackerServiceDeleteVersionDefault) IsClientError

func (o *PackerServiceDeleteVersionDefault) IsClientError() bool

IsClientError returns true when this packer service delete version default response has a 4xx status code

func (*PackerServiceDeleteVersionDefault) IsCode

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

IsCode returns true when this packer service delete version default response a status code equal to that given

func (*PackerServiceDeleteVersionDefault) IsRedirect

func (o *PackerServiceDeleteVersionDefault) IsRedirect() bool

IsRedirect returns true when this packer service delete version default response has a 3xx status code

func (*PackerServiceDeleteVersionDefault) IsServerError

func (o *PackerServiceDeleteVersionDefault) IsServerError() bool

IsServerError returns true when this packer service delete version default response has a 5xx status code

func (*PackerServiceDeleteVersionDefault) IsSuccess

func (o *PackerServiceDeleteVersionDefault) IsSuccess() bool

IsSuccess returns true when this packer service delete version default response has a 2xx status code

func (*PackerServiceDeleteVersionDefault) String

type PackerServiceDeleteVersionOK

type PackerServiceDeleteVersionOK struct {
	Payload models.HashicorpCloudPacker20230101DeleteVersionResponse
}

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

A successful response.

func NewPackerServiceDeleteVersionOK

func NewPackerServiceDeleteVersionOK() *PackerServiceDeleteVersionOK

NewPackerServiceDeleteVersionOK creates a PackerServiceDeleteVersionOK with default headers values

func (*PackerServiceDeleteVersionOK) Code

Code gets the status code for the packer service delete version o k response

func (*PackerServiceDeleteVersionOK) Error

func (*PackerServiceDeleteVersionOK) GetPayload

func (*PackerServiceDeleteVersionOK) IsClientError

func (o *PackerServiceDeleteVersionOK) IsClientError() bool

IsClientError returns true when this packer service delete version o k response has a 4xx status code

func (*PackerServiceDeleteVersionOK) IsCode

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

IsCode returns true when this packer service delete version o k response a status code equal to that given

func (*PackerServiceDeleteVersionOK) IsRedirect

func (o *PackerServiceDeleteVersionOK) IsRedirect() bool

IsRedirect returns true when this packer service delete version o k response has a 3xx status code

func (*PackerServiceDeleteVersionOK) IsServerError

func (o *PackerServiceDeleteVersionOK) IsServerError() bool

IsServerError returns true when this packer service delete version o k response has a 5xx status code

func (*PackerServiceDeleteVersionOK) IsSuccess

func (o *PackerServiceDeleteVersionOK) IsSuccess() bool

IsSuccess returns true when this packer service delete version o k response has a 2xx status code

func (*PackerServiceDeleteVersionOK) String

type PackerServiceDeleteVersionParams

type PackerServiceDeleteVersionParams struct {

	// BucketName.
	BucketName string

	// Fingerprint.
	Fingerprint 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

	/* RollbackChannels.

	     When set to true, any user-created channels will automatically rolleback
	to the last valid version they were assigned to.
	*/
	RollbackChannels *bool

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

PackerServiceDeleteVersionParams contains all the parameters to send to the API endpoint

for the packer service delete version operation.

Typically these are written to a http.Request.

func NewPackerServiceDeleteVersionParams

func NewPackerServiceDeleteVersionParams() *PackerServiceDeleteVersionParams

NewPackerServiceDeleteVersionParams creates a new PackerServiceDeleteVersionParams object, with the default timeout for this client.

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

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

func NewPackerServiceDeleteVersionParamsWithContext

func NewPackerServiceDeleteVersionParamsWithContext(ctx context.Context) *PackerServiceDeleteVersionParams

NewPackerServiceDeleteVersionParamsWithContext creates a new PackerServiceDeleteVersionParams object with the ability to set a context for a request.

func NewPackerServiceDeleteVersionParamsWithHTTPClient

func NewPackerServiceDeleteVersionParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteVersionParams

NewPackerServiceDeleteVersionParamsWithHTTPClient creates a new PackerServiceDeleteVersionParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceDeleteVersionParamsWithTimeout

func NewPackerServiceDeleteVersionParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteVersionParams

NewPackerServiceDeleteVersionParamsWithTimeout creates a new PackerServiceDeleteVersionParams object with the ability to set a timeout on a request.

func (*PackerServiceDeleteVersionParams) SetBucketName

func (o *PackerServiceDeleteVersionParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service delete version params

func (*PackerServiceDeleteVersionParams) SetContext

SetContext adds the context to the packer service delete version params

func (*PackerServiceDeleteVersionParams) SetDefaults

func (o *PackerServiceDeleteVersionParams) SetDefaults()

SetDefaults hydrates default values in the packer service delete version params (not the query body).

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

func (*PackerServiceDeleteVersionParams) SetFingerprint

func (o *PackerServiceDeleteVersionParams) SetFingerprint(fingerprint string)

SetFingerprint adds the fingerprint to the packer service delete version params

func (*PackerServiceDeleteVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service delete version params

func (*PackerServiceDeleteVersionParams) SetLocationOrganizationID

func (o *PackerServiceDeleteVersionParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service delete version params

func (*PackerServiceDeleteVersionParams) SetLocationProjectID

func (o *PackerServiceDeleteVersionParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service delete version params

func (*PackerServiceDeleteVersionParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service delete version params

func (*PackerServiceDeleteVersionParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service delete version params

func (*PackerServiceDeleteVersionParams) SetRollbackChannels

func (o *PackerServiceDeleteVersionParams) SetRollbackChannels(rollbackChannels *bool)

SetRollbackChannels adds the rollbackChannels to the packer service delete version params

func (*PackerServiceDeleteVersionParams) SetTimeout

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

SetTimeout adds the timeout to the packer service delete version params

func (*PackerServiceDeleteVersionParams) WithBucketName

WithBucketName adds the bucketName to the packer service delete version params

func (*PackerServiceDeleteVersionParams) WithContext

WithContext adds the context to the packer service delete version params

func (*PackerServiceDeleteVersionParams) WithDefaults

WithDefaults hydrates default values in the packer service delete version params (not the query body).

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

func (*PackerServiceDeleteVersionParams) WithFingerprint

WithFingerprint adds the fingerprint to the packer service delete version params

func (*PackerServiceDeleteVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service delete version params

func (*PackerServiceDeleteVersionParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service delete version params

func (*PackerServiceDeleteVersionParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service delete version params

func (*PackerServiceDeleteVersionParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service delete version params

func (*PackerServiceDeleteVersionParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service delete version params

func (*PackerServiceDeleteVersionParams) WithRollbackChannels

func (o *PackerServiceDeleteVersionParams) WithRollbackChannels(rollbackChannels *bool) *PackerServiceDeleteVersionParams

WithRollbackChannels adds the rollbackChannels to the packer service delete version params

func (*PackerServiceDeleteVersionParams) WithTimeout

WithTimeout adds the timeout to the packer service delete version params

func (*PackerServiceDeleteVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceDeleteVersionReader

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

PackerServiceDeleteVersionReader is a Reader for the PackerServiceDeleteVersion structure.

func (*PackerServiceDeleteVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceGetBucketDefault

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

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

An unexpected error response.

func NewPackerServiceGetBucketDefault

func NewPackerServiceGetBucketDefault(code int) *PackerServiceGetBucketDefault

NewPackerServiceGetBucketDefault creates a PackerServiceGetBucketDefault with default headers values

func (*PackerServiceGetBucketDefault) Code

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

func (*PackerServiceGetBucketDefault) Error

func (*PackerServiceGetBucketDefault) GetPayload

func (*PackerServiceGetBucketDefault) IsClientError

func (o *PackerServiceGetBucketDefault) IsClientError() bool

IsClientError returns true when this packer service get bucket default response has a 4xx status code

func (*PackerServiceGetBucketDefault) IsCode

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

IsCode returns true when this packer service get bucket default response a status code equal to that given

func (*PackerServiceGetBucketDefault) IsRedirect

func (o *PackerServiceGetBucketDefault) IsRedirect() bool

IsRedirect returns true when this packer service get bucket default response has a 3xx status code

func (*PackerServiceGetBucketDefault) IsServerError

func (o *PackerServiceGetBucketDefault) IsServerError() bool

IsServerError returns true when this packer service get bucket default response has a 5xx status code

func (*PackerServiceGetBucketDefault) IsSuccess

func (o *PackerServiceGetBucketDefault) IsSuccess() bool

IsSuccess returns true when this packer service get bucket default response has a 2xx status code

func (*PackerServiceGetBucketDefault) String

type PackerServiceGetBucketOK

type PackerServiceGetBucketOK struct {
	Payload *models.HashicorpCloudPacker20230101GetBucketResponse
}

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

A successful response.

func NewPackerServiceGetBucketOK

func NewPackerServiceGetBucketOK() *PackerServiceGetBucketOK

NewPackerServiceGetBucketOK creates a PackerServiceGetBucketOK with default headers values

func (*PackerServiceGetBucketOK) Code

func (o *PackerServiceGetBucketOK) Code() int

Code gets the status code for the packer service get bucket o k response

func (*PackerServiceGetBucketOK) Error

func (o *PackerServiceGetBucketOK) Error() string

func (*PackerServiceGetBucketOK) GetPayload

func (*PackerServiceGetBucketOK) IsClientError

func (o *PackerServiceGetBucketOK) IsClientError() bool

IsClientError returns true when this packer service get bucket o k response has a 4xx status code

func (*PackerServiceGetBucketOK) IsCode

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

IsCode returns true when this packer service get bucket o k response a status code equal to that given

func (*PackerServiceGetBucketOK) IsRedirect

func (o *PackerServiceGetBucketOK) IsRedirect() bool

IsRedirect returns true when this packer service get bucket o k response has a 3xx status code

func (*PackerServiceGetBucketOK) IsServerError

func (o *PackerServiceGetBucketOK) IsServerError() bool

IsServerError returns true when this packer service get bucket o k response has a 5xx status code

func (*PackerServiceGetBucketOK) IsSuccess

func (o *PackerServiceGetBucketOK) IsSuccess() bool

IsSuccess returns true when this packer service get bucket o k response has a 2xx status code

func (*PackerServiceGetBucketOK) String

func (o *PackerServiceGetBucketOK) String() string

type PackerServiceGetBucketParams

type PackerServiceGetBucketParams struct {

	// BucketName.
	BucketName 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

func NewPackerServiceGetBucketParams() *PackerServiceGetBucketParams

NewPackerServiceGetBucketParams creates a new PackerServiceGetBucketParams object, with the default timeout for this client.

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

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

func NewPackerServiceGetBucketParamsWithContext

func NewPackerServiceGetBucketParamsWithContext(ctx context.Context) *PackerServiceGetBucketParams

NewPackerServiceGetBucketParamsWithContext creates a new PackerServiceGetBucketParams object with the ability to set a context for a request.

func NewPackerServiceGetBucketParamsWithHTTPClient

func NewPackerServiceGetBucketParamsWithHTTPClient(client *http.Client) *PackerServiceGetBucketParams

NewPackerServiceGetBucketParamsWithHTTPClient creates a new PackerServiceGetBucketParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceGetBucketParamsWithTimeout

func NewPackerServiceGetBucketParamsWithTimeout(timeout time.Duration) *PackerServiceGetBucketParams

NewPackerServiceGetBucketParamsWithTimeout creates a new PackerServiceGetBucketParams object with the ability to set a timeout on a request.

func (*PackerServiceGetBucketParams) SetBucketName

func (o *PackerServiceGetBucketParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetContext

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

SetContext adds the context to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetDefaults

func (o *PackerServiceGetBucketParams) SetDefaults()

SetDefaults hydrates default values in the packer service get bucket params (not the query body).

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

func (*PackerServiceGetBucketParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetLocationOrganizationID

func (o *PackerServiceGetBucketParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetLocationProjectID

func (o *PackerServiceGetBucketParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetTimeout

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

SetTimeout adds the timeout to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithBucketName

func (o *PackerServiceGetBucketParams) WithBucketName(bucketName string) *PackerServiceGetBucketParams

WithBucketName adds the bucketName to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithContext

WithContext adds the context to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithDefaults

WithDefaults hydrates default values in the packer service get bucket params (not the query body).

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

func (*PackerServiceGetBucketParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithTimeout

WithTimeout adds the timeout to the packer service get bucket params

func (*PackerServiceGetBucketParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceGetBucketReader

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

PackerServiceGetBucketReader is a Reader for the PackerServiceGetBucket structure.

func (*PackerServiceGetBucketReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceGetBuildDefault

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

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

An unexpected error response.

func NewPackerServiceGetBuildDefault

func NewPackerServiceGetBuildDefault(code int) *PackerServiceGetBuildDefault

NewPackerServiceGetBuildDefault creates a PackerServiceGetBuildDefault with default headers values

func (*PackerServiceGetBuildDefault) Code

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

func (*PackerServiceGetBuildDefault) Error

func (*PackerServiceGetBuildDefault) GetPayload

func (*PackerServiceGetBuildDefault) IsClientError

func (o *PackerServiceGetBuildDefault) IsClientError() bool

IsClientError returns true when this packer service get build default response has a 4xx status code

func (*PackerServiceGetBuildDefault) IsCode

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

IsCode returns true when this packer service get build default response a status code equal to that given

func (*PackerServiceGetBuildDefault) IsRedirect

func (o *PackerServiceGetBuildDefault) IsRedirect() bool

IsRedirect returns true when this packer service get build default response has a 3xx status code

func (*PackerServiceGetBuildDefault) IsServerError

func (o *PackerServiceGetBuildDefault) IsServerError() bool

IsServerError returns true when this packer service get build default response has a 5xx status code

func (*PackerServiceGetBuildDefault) IsSuccess

func (o *PackerServiceGetBuildDefault) IsSuccess() bool

IsSuccess returns true when this packer service get build default response has a 2xx status code

func (*PackerServiceGetBuildDefault) String

type PackerServiceGetBuildOK

type PackerServiceGetBuildOK struct {
	Payload *models.HashicorpCloudPacker20230101GetBuildResponse
}

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

A successful response.

func NewPackerServiceGetBuildOK

func NewPackerServiceGetBuildOK() *PackerServiceGetBuildOK

NewPackerServiceGetBuildOK creates a PackerServiceGetBuildOK with default headers values

func (*PackerServiceGetBuildOK) Code

func (o *PackerServiceGetBuildOK) Code() int

Code gets the status code for the packer service get build o k response

func (*PackerServiceGetBuildOK) Error

func (o *PackerServiceGetBuildOK) Error() string

func (*PackerServiceGetBuildOK) GetPayload

func (*PackerServiceGetBuildOK) IsClientError

func (o *PackerServiceGetBuildOK) IsClientError() bool

IsClientError returns true when this packer service get build o k response has a 4xx status code

func (*PackerServiceGetBuildOK) IsCode

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

IsCode returns true when this packer service get build o k response a status code equal to that given

func (*PackerServiceGetBuildOK) IsRedirect

func (o *PackerServiceGetBuildOK) IsRedirect() bool

IsRedirect returns true when this packer service get build o k response has a 3xx status code

func (*PackerServiceGetBuildOK) IsServerError

func (o *PackerServiceGetBuildOK) IsServerError() bool

IsServerError returns true when this packer service get build o k response has a 5xx status code

func (*PackerServiceGetBuildOK) IsSuccess

func (o *PackerServiceGetBuildOK) IsSuccess() bool

IsSuccess returns true when this packer service get build o k response has a 2xx status code

func (*PackerServiceGetBuildOK) String

func (o *PackerServiceGetBuildOK) String() string

type PackerServiceGetBuildParams

type PackerServiceGetBuildParams struct {

	// BucketName.
	BucketName string

	// BuildID.
	BuildID string

	// Fingerprint.
	Fingerprint 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

func NewPackerServiceGetBuildParams() *PackerServiceGetBuildParams

NewPackerServiceGetBuildParams creates a new PackerServiceGetBuildParams object, with the default timeout for this client.

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

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

func NewPackerServiceGetBuildParamsWithContext

func NewPackerServiceGetBuildParamsWithContext(ctx context.Context) *PackerServiceGetBuildParams

NewPackerServiceGetBuildParamsWithContext creates a new PackerServiceGetBuildParams object with the ability to set a context for a request.

func NewPackerServiceGetBuildParamsWithHTTPClient

func NewPackerServiceGetBuildParamsWithHTTPClient(client *http.Client) *PackerServiceGetBuildParams

NewPackerServiceGetBuildParamsWithHTTPClient creates a new PackerServiceGetBuildParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceGetBuildParamsWithTimeout

func NewPackerServiceGetBuildParamsWithTimeout(timeout time.Duration) *PackerServiceGetBuildParams

NewPackerServiceGetBuildParamsWithTimeout creates a new PackerServiceGetBuildParams object with the ability to set a timeout on a request.

func (*PackerServiceGetBuildParams) SetBucketName

func (o *PackerServiceGetBuildParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service get build params

func (*PackerServiceGetBuildParams) SetBuildID

func (o *PackerServiceGetBuildParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the packer service get build params

func (*PackerServiceGetBuildParams) SetContext

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

SetContext adds the context to the packer service get build params

func (*PackerServiceGetBuildParams) SetDefaults

func (o *PackerServiceGetBuildParams) SetDefaults()

SetDefaults hydrates default values in the packer service get build params (not the query body).

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

func (*PackerServiceGetBuildParams) SetFingerprint

func (o *PackerServiceGetBuildParams) SetFingerprint(fingerprint string)

SetFingerprint adds the fingerprint to the packer service get build params

func (*PackerServiceGetBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service get build params

func (*PackerServiceGetBuildParams) SetLocationOrganizationID

func (o *PackerServiceGetBuildParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service get build params

func (*PackerServiceGetBuildParams) SetLocationProjectID

func (o *PackerServiceGetBuildParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service get build params

func (*PackerServiceGetBuildParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service get build params

func (*PackerServiceGetBuildParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service get build params

func (*PackerServiceGetBuildParams) SetTimeout

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

SetTimeout adds the timeout to the packer service get build params

func (*PackerServiceGetBuildParams) WithBucketName

func (o *PackerServiceGetBuildParams) WithBucketName(bucketName string) *PackerServiceGetBuildParams

WithBucketName adds the bucketName to the packer service get build params

func (*PackerServiceGetBuildParams) WithBuildID

WithBuildID adds the buildID to the packer service get build params

func (*PackerServiceGetBuildParams) WithContext

WithContext adds the context to the packer service get build params

func (*PackerServiceGetBuildParams) WithDefaults

WithDefaults hydrates default values in the packer service get build params (not the query body).

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

func (*PackerServiceGetBuildParams) WithFingerprint

func (o *PackerServiceGetBuildParams) WithFingerprint(fingerprint string) *PackerServiceGetBuildParams

WithFingerprint adds the fingerprint to the packer service get build params

func (*PackerServiceGetBuildParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service get build params

func (*PackerServiceGetBuildParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service get build params

func (*PackerServiceGetBuildParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service get build params

func (*PackerServiceGetBuildParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service get build params

func (*PackerServiceGetBuildParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service get build params

func (*PackerServiceGetBuildParams) WithTimeout

WithTimeout adds the timeout to the packer service get build params

func (*PackerServiceGetBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceGetBuildReader

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

PackerServiceGetBuildReader is a Reader for the PackerServiceGetBuild structure.

func (*PackerServiceGetBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceGetChannelDefault

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

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

An unexpected error response.

func NewPackerServiceGetChannelDefault

func NewPackerServiceGetChannelDefault(code int) *PackerServiceGetChannelDefault

NewPackerServiceGetChannelDefault creates a PackerServiceGetChannelDefault with default headers values

func (*PackerServiceGetChannelDefault) Code

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

func (*PackerServiceGetChannelDefault) Error

func (*PackerServiceGetChannelDefault) GetPayload

func (*PackerServiceGetChannelDefault) IsClientError

func (o *PackerServiceGetChannelDefault) IsClientError() bool

IsClientError returns true when this packer service get channel default response has a 4xx status code

func (*PackerServiceGetChannelDefault) IsCode

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

IsCode returns true when this packer service get channel default response a status code equal to that given

func (*PackerServiceGetChannelDefault) IsRedirect

func (o *PackerServiceGetChannelDefault) IsRedirect() bool

IsRedirect returns true when this packer service get channel default response has a 3xx status code

func (*PackerServiceGetChannelDefault) IsServerError

func (o *PackerServiceGetChannelDefault) IsServerError() bool

IsServerError returns true when this packer service get channel default response has a 5xx status code

func (*PackerServiceGetChannelDefault) IsSuccess

func (o *PackerServiceGetChannelDefault) IsSuccess() bool

IsSuccess returns true when this packer service get channel default response has a 2xx status code

func (*PackerServiceGetChannelDefault) String

type PackerServiceGetChannelOK

type PackerServiceGetChannelOK struct {
	Payload *models.HashicorpCloudPacker20230101GetChannelResponse
}

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

A successful response.

func NewPackerServiceGetChannelOK

func NewPackerServiceGetChannelOK() *PackerServiceGetChannelOK

NewPackerServiceGetChannelOK creates a PackerServiceGetChannelOK with default headers values

func (*PackerServiceGetChannelOK) Code

func (o *PackerServiceGetChannelOK) Code() int

Code gets the status code for the packer service get channel o k response

func (*PackerServiceGetChannelOK) Error

func (o *PackerServiceGetChannelOK) Error() string

func (*PackerServiceGetChannelOK) GetPayload

func (*PackerServiceGetChannelOK) IsClientError

func (o *PackerServiceGetChannelOK) IsClientError() bool

IsClientError returns true when this packer service get channel o k response has a 4xx status code

func (*PackerServiceGetChannelOK) IsCode

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

IsCode returns true when this packer service get channel o k response a status code equal to that given

func (*PackerServiceGetChannelOK) IsRedirect

func (o *PackerServiceGetChannelOK) IsRedirect() bool

IsRedirect returns true when this packer service get channel o k response has a 3xx status code

func (*PackerServiceGetChannelOK) IsServerError

func (o *PackerServiceGetChannelOK) IsServerError() bool

IsServerError returns true when this packer service get channel o k response has a 5xx status code

func (*PackerServiceGetChannelOK) IsSuccess

func (o *PackerServiceGetChannelOK) IsSuccess() bool

IsSuccess returns true when this packer service get channel o k response has a 2xx status code

func (*PackerServiceGetChannelOK) String

func (o *PackerServiceGetChannelOK) String() string

type PackerServiceGetChannelParams

type PackerServiceGetChannelParams struct {

	// BucketName.
	BucketName string

	// ChannelName.
	ChannelName 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
}

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

func NewPackerServiceGetChannelParams() *PackerServiceGetChannelParams

NewPackerServiceGetChannelParams creates a new PackerServiceGetChannelParams object, with the default timeout for this client.

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

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

func NewPackerServiceGetChannelParamsWithContext

func NewPackerServiceGetChannelParamsWithContext(ctx context.Context) *PackerServiceGetChannelParams

NewPackerServiceGetChannelParamsWithContext creates a new PackerServiceGetChannelParams object with the ability to set a context for a request.

func NewPackerServiceGetChannelParamsWithHTTPClient

func NewPackerServiceGetChannelParamsWithHTTPClient(client *http.Client) *PackerServiceGetChannelParams

NewPackerServiceGetChannelParamsWithHTTPClient creates a new PackerServiceGetChannelParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceGetChannelParamsWithTimeout

func NewPackerServiceGetChannelParamsWithTimeout(timeout time.Duration) *PackerServiceGetChannelParams

NewPackerServiceGetChannelParamsWithTimeout creates a new PackerServiceGetChannelParams object with the ability to set a timeout on a request.

func (*PackerServiceGetChannelParams) SetBucketName

func (o *PackerServiceGetChannelParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service get channel params

func (*PackerServiceGetChannelParams) SetChannelName

func (o *PackerServiceGetChannelParams) SetChannelName(channelName string)

SetChannelName adds the channelName to the packer service get channel params

func (*PackerServiceGetChannelParams) SetContext

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

SetContext adds the context to the packer service get channel params

func (*PackerServiceGetChannelParams) SetDefaults

func (o *PackerServiceGetChannelParams) SetDefaults()

SetDefaults hydrates default values in the packer service get channel params (not the query body).

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

func (*PackerServiceGetChannelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service get channel params

func (*PackerServiceGetChannelParams) SetLocationOrganizationID

func (o *PackerServiceGetChannelParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service get channel params

func (*PackerServiceGetChannelParams) SetLocationProjectID

func (o *PackerServiceGetChannelParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service get channel params

func (*PackerServiceGetChannelParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service get channel params

func (*PackerServiceGetChannelParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service get channel params

func (*PackerServiceGetChannelParams) SetTimeout

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

SetTimeout adds the timeout to the packer service get channel params

func (*PackerServiceGetChannelParams) WithBucketName

WithBucketName adds the bucketName to the packer service get channel params

func (*PackerServiceGetChannelParams) WithChannelName

func (o *PackerServiceGetChannelParams) WithChannelName(channelName string) *PackerServiceGetChannelParams

WithChannelName adds the channelName to the packer service get channel params

func (*PackerServiceGetChannelParams) WithContext

WithContext adds the context to the packer service get channel params

func (*PackerServiceGetChannelParams) WithDefaults

WithDefaults hydrates default values in the packer service get channel params (not the query body).

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

func (*PackerServiceGetChannelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service get channel params

func (*PackerServiceGetChannelParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service get channel params

func (*PackerServiceGetChannelParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service get channel params

func (*PackerServiceGetChannelParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service get channel params

func (*PackerServiceGetChannelParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service get channel params

func (*PackerServiceGetChannelParams) WithTimeout

WithTimeout adds the timeout to the packer service get channel params

func (*PackerServiceGetChannelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceGetChannelReader

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

PackerServiceGetChannelReader is a Reader for the PackerServiceGetChannel structure.

func (*PackerServiceGetChannelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceGetRegistryDefault

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

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

An unexpected error response.

func NewPackerServiceGetRegistryDefault

func NewPackerServiceGetRegistryDefault(code int) *PackerServiceGetRegistryDefault

NewPackerServiceGetRegistryDefault creates a PackerServiceGetRegistryDefault with default headers values

func (*PackerServiceGetRegistryDefault) Code

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

func (*PackerServiceGetRegistryDefault) Error

func (*PackerServiceGetRegistryDefault) GetPayload

func (*PackerServiceGetRegistryDefault) IsClientError

func (o *PackerServiceGetRegistryDefault) IsClientError() bool

IsClientError returns true when this packer service get registry default response has a 4xx status code

func (*PackerServiceGetRegistryDefault) IsCode

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

IsCode returns true when this packer service get registry default response a status code equal to that given

func (*PackerServiceGetRegistryDefault) IsRedirect

func (o *PackerServiceGetRegistryDefault) IsRedirect() bool

IsRedirect returns true when this packer service get registry default response has a 3xx status code

func (*PackerServiceGetRegistryDefault) IsServerError

func (o *PackerServiceGetRegistryDefault) IsServerError() bool

IsServerError returns true when this packer service get registry default response has a 5xx status code

func (*PackerServiceGetRegistryDefault) IsSuccess

func (o *PackerServiceGetRegistryDefault) IsSuccess() bool

IsSuccess returns true when this packer service get registry default response has a 2xx status code

func (*PackerServiceGetRegistryDefault) String

type PackerServiceGetRegistryOK

type PackerServiceGetRegistryOK struct {
	Payload *models.HashicorpCloudPacker20230101GetRegistryResponse
}

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

A successful response.

func NewPackerServiceGetRegistryOK

func NewPackerServiceGetRegistryOK() *PackerServiceGetRegistryOK

NewPackerServiceGetRegistryOK creates a PackerServiceGetRegistryOK with default headers values

func (*PackerServiceGetRegistryOK) Code

func (o *PackerServiceGetRegistryOK) Code() int

Code gets the status code for the packer service get registry o k response

func (*PackerServiceGetRegistryOK) Error

func (*PackerServiceGetRegistryOK) GetPayload

func (*PackerServiceGetRegistryOK) IsClientError

func (o *PackerServiceGetRegistryOK) IsClientError() bool

IsClientError returns true when this packer service get registry o k response has a 4xx status code

func (*PackerServiceGetRegistryOK) IsCode

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

IsCode returns true when this packer service get registry o k response a status code equal to that given

func (*PackerServiceGetRegistryOK) IsRedirect

func (o *PackerServiceGetRegistryOK) IsRedirect() bool

IsRedirect returns true when this packer service get registry o k response has a 3xx status code

func (*PackerServiceGetRegistryOK) IsServerError

func (o *PackerServiceGetRegistryOK) IsServerError() bool

IsServerError returns true when this packer service get registry o k response has a 5xx status code

func (*PackerServiceGetRegistryOK) IsSuccess

func (o *PackerServiceGetRegistryOK) IsSuccess() bool

IsSuccess returns true when this packer service get registry o k response has a 2xx status code

func (*PackerServiceGetRegistryOK) String

func (o *PackerServiceGetRegistryOK) String() string

type PackerServiceGetRegistryParams

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

func NewPackerServiceGetRegistryParams() *PackerServiceGetRegistryParams

NewPackerServiceGetRegistryParams creates a new PackerServiceGetRegistryParams object, with the default timeout for this client.

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

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

func NewPackerServiceGetRegistryParamsWithContext

func NewPackerServiceGetRegistryParamsWithContext(ctx context.Context) *PackerServiceGetRegistryParams

NewPackerServiceGetRegistryParamsWithContext creates a new PackerServiceGetRegistryParams object with the ability to set a context for a request.

func NewPackerServiceGetRegistryParamsWithHTTPClient

func NewPackerServiceGetRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceGetRegistryParams

NewPackerServiceGetRegistryParamsWithHTTPClient creates a new PackerServiceGetRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceGetRegistryParamsWithTimeout

func NewPackerServiceGetRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceGetRegistryParams

NewPackerServiceGetRegistryParamsWithTimeout creates a new PackerServiceGetRegistryParams object with the ability to set a timeout on a request.

func (*PackerServiceGetRegistryParams) SetContext

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

SetContext adds the context to the packer service get registry params

func (*PackerServiceGetRegistryParams) SetDefaults

func (o *PackerServiceGetRegistryParams) SetDefaults()

SetDefaults hydrates default values in the packer service get registry params (not the query body).

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

func (*PackerServiceGetRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service get registry params

func (*PackerServiceGetRegistryParams) SetLocationOrganizationID

func (o *PackerServiceGetRegistryParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service get registry params

func (*PackerServiceGetRegistryParams) SetLocationProjectID

func (o *PackerServiceGetRegistryParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service get registry params

func (*PackerServiceGetRegistryParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service get registry params

func (*PackerServiceGetRegistryParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service get registry params

func (*PackerServiceGetRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithContext

WithContext adds the context to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithDefaults

WithDefaults hydrates default values in the packer service get registry params (not the query body).

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

func (*PackerServiceGetRegistryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service get registry params

func (*PackerServiceGetRegistryParams) WithTimeout

WithTimeout adds the timeout to the packer service get registry params

func (*PackerServiceGetRegistryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceGetRegistryReader

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

PackerServiceGetRegistryReader is a Reader for the PackerServiceGetRegistry structure.

func (*PackerServiceGetRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceGetRegistryTFCRunTaskAPIDefault

type PackerServiceGetRegistryTFCRunTaskAPIDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewPackerServiceGetRegistryTFCRunTaskAPIDefault

func NewPackerServiceGetRegistryTFCRunTaskAPIDefault(code int) *PackerServiceGetRegistryTFCRunTaskAPIDefault

NewPackerServiceGetRegistryTFCRunTaskAPIDefault creates a PackerServiceGetRegistryTFCRunTaskAPIDefault with default headers values

func (*PackerServiceGetRegistryTFCRunTaskAPIDefault) Code

Code gets the status code for the packer service get registry t f c run task API default response

func (*PackerServiceGetRegistryTFCRunTaskAPIDefault) Error

func (*PackerServiceGetRegistryTFCRunTaskAPIDefault) GetPayload

func (*PackerServiceGetRegistryTFCRunTaskAPIDefault) IsClientError

IsClientError returns true when this packer service get registry t f c run task API default response has a 4xx status code

func (*PackerServiceGetRegistryTFCRunTaskAPIDefault) IsCode

IsCode returns true when this packer service get registry t f c run task API default response a status code equal to that given

func (*PackerServiceGetRegistryTFCRunTaskAPIDefault) IsRedirect

IsRedirect returns true when this packer service get registry t f c run task API default response has a 3xx status code

func (*PackerServiceGetRegistryTFCRunTaskAPIDefault) IsServerError

IsServerError returns true when this packer service get registry t f c run task API default response has a 5xx status code

func (*PackerServiceGetRegistryTFCRunTaskAPIDefault) IsSuccess

IsSuccess returns true when this packer service get registry t f c run task API default response has a 2xx status code

func (*PackerServiceGetRegistryTFCRunTaskAPIDefault) String

type PackerServiceGetRegistryTFCRunTaskAPIOK

type PackerServiceGetRegistryTFCRunTaskAPIOK struct {
	Payload *models.HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse
}

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

A successful response.

func NewPackerServiceGetRegistryTFCRunTaskAPIOK

func NewPackerServiceGetRegistryTFCRunTaskAPIOK() *PackerServiceGetRegistryTFCRunTaskAPIOK

NewPackerServiceGetRegistryTFCRunTaskAPIOK creates a PackerServiceGetRegistryTFCRunTaskAPIOK with default headers values

func (*PackerServiceGetRegistryTFCRunTaskAPIOK) Code

Code gets the status code for the packer service get registry t f c run task Api o k response

func (*PackerServiceGetRegistryTFCRunTaskAPIOK) Error

func (*PackerServiceGetRegistryTFCRunTaskAPIOK) GetPayload

func (*PackerServiceGetRegistryTFCRunTaskAPIOK) IsClientError

func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) IsClientError() bool

IsClientError returns true when this packer service get registry t f c run task Api o k response has a 4xx status code

func (*PackerServiceGetRegistryTFCRunTaskAPIOK) IsCode

IsCode returns true when this packer service get registry t f c run task Api o k response a status code equal to that given

func (*PackerServiceGetRegistryTFCRunTaskAPIOK) IsRedirect

IsRedirect returns true when this packer service get registry t f c run task Api o k response has a 3xx status code

func (*PackerServiceGetRegistryTFCRunTaskAPIOK) IsServerError

func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) IsServerError() bool

IsServerError returns true when this packer service get registry t f c run task Api o k response has a 5xx status code

func (*PackerServiceGetRegistryTFCRunTaskAPIOK) IsSuccess

IsSuccess returns true when this packer service get registry t f c run task Api o k response has a 2xx status code

func (*PackerServiceGetRegistryTFCRunTaskAPIOK) String

type PackerServiceGetRegistryTFCRunTaskAPIParams

type PackerServiceGetRegistryTFCRunTaskAPIParams 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

	/* TaskType.

	     The HCP Packer Terraform Cloud run task type.
	Currently, the only existing type is `validation`.
	*/
	TaskType string

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

PackerServiceGetRegistryTFCRunTaskAPIParams contains all the parameters to send to the API endpoint

for the packer service get registry t f c run task API operation.

Typically these are written to a http.Request.

func NewPackerServiceGetRegistryTFCRunTaskAPIParams

func NewPackerServiceGetRegistryTFCRunTaskAPIParams() *PackerServiceGetRegistryTFCRunTaskAPIParams

NewPackerServiceGetRegistryTFCRunTaskAPIParams creates a new PackerServiceGetRegistryTFCRunTaskAPIParams object, with the default timeout for this client.

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

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

func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithContext

func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithContext(ctx context.Context) *PackerServiceGetRegistryTFCRunTaskAPIParams

NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithContext creates a new PackerServiceGetRegistryTFCRunTaskAPIParams object with the ability to set a context for a request.

func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithHTTPClient

func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithHTTPClient(client *http.Client) *PackerServiceGetRegistryTFCRunTaskAPIParams

NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithHTTPClient creates a new PackerServiceGetRegistryTFCRunTaskAPIParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithTimeout

func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithTimeout(timeout time.Duration) *PackerServiceGetRegistryTFCRunTaskAPIParams

NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithTimeout creates a new PackerServiceGetRegistryTFCRunTaskAPIParams object with the ability to set a timeout on a request.

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetContext

SetContext adds the context to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetDefaults

SetDefaults hydrates default values in the packer service get registry t f c run task API params (not the query body).

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

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationOrganizationID

func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationProjectID

func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetTaskType

func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetTaskType(taskType string)

SetTaskType adds the taskType to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetTimeout

SetTimeout adds the timeout to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WithContext

WithContext adds the context to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WithDefaults

WithDefaults hydrates default values in the packer service get registry t f c run task API params (not the query body).

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

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WithLocationProjectID

WithLocationProjectID adds the locationProjectID to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WithTaskType

WithTaskType adds the taskType to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WithTimeout

WithTimeout adds the timeout to the packer service get registry t f c run task API params

func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceGetRegistryTFCRunTaskAPIReader

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

PackerServiceGetRegistryTFCRunTaskAPIReader is a Reader for the PackerServiceGetRegistryTFCRunTaskAPI structure.

func (*PackerServiceGetRegistryTFCRunTaskAPIReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceGetVersionDefault

type PackerServiceGetVersionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewPackerServiceGetVersionDefault

func NewPackerServiceGetVersionDefault(code int) *PackerServiceGetVersionDefault

NewPackerServiceGetVersionDefault creates a PackerServiceGetVersionDefault with default headers values

func (*PackerServiceGetVersionDefault) Code

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

func (*PackerServiceGetVersionDefault) Error

func (*PackerServiceGetVersionDefault) GetPayload

func (*PackerServiceGetVersionDefault) IsClientError

func (o *PackerServiceGetVersionDefault) IsClientError() bool

IsClientError returns true when this packer service get version default response has a 4xx status code

func (*PackerServiceGetVersionDefault) IsCode

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

IsCode returns true when this packer service get version default response a status code equal to that given

func (*PackerServiceGetVersionDefault) IsRedirect

func (o *PackerServiceGetVersionDefault) IsRedirect() bool

IsRedirect returns true when this packer service get version default response has a 3xx status code

func (*PackerServiceGetVersionDefault) IsServerError

func (o *PackerServiceGetVersionDefault) IsServerError() bool

IsServerError returns true when this packer service get version default response has a 5xx status code

func (*PackerServiceGetVersionDefault) IsSuccess

func (o *PackerServiceGetVersionDefault) IsSuccess() bool

IsSuccess returns true when this packer service get version default response has a 2xx status code

func (*PackerServiceGetVersionDefault) String

type PackerServiceGetVersionOK

type PackerServiceGetVersionOK struct {
	Payload *models.HashicorpCloudPacker20230101GetVersionResponse
}

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

A successful response.

func NewPackerServiceGetVersionOK

func NewPackerServiceGetVersionOK() *PackerServiceGetVersionOK

NewPackerServiceGetVersionOK creates a PackerServiceGetVersionOK with default headers values

func (*PackerServiceGetVersionOK) Code

func (o *PackerServiceGetVersionOK) Code() int

Code gets the status code for the packer service get version o k response

func (*PackerServiceGetVersionOK) Error

func (o *PackerServiceGetVersionOK) Error() string

func (*PackerServiceGetVersionOK) GetPayload

func (*PackerServiceGetVersionOK) IsClientError

func (o *PackerServiceGetVersionOK) IsClientError() bool

IsClientError returns true when this packer service get version o k response has a 4xx status code

func (*PackerServiceGetVersionOK) IsCode

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

IsCode returns true when this packer service get version o k response a status code equal to that given

func (*PackerServiceGetVersionOK) IsRedirect

func (o *PackerServiceGetVersionOK) IsRedirect() bool

IsRedirect returns true when this packer service get version o k response has a 3xx status code

func (*PackerServiceGetVersionOK) IsServerError

func (o *PackerServiceGetVersionOK) IsServerError() bool

IsServerError returns true when this packer service get version o k response has a 5xx status code

func (*PackerServiceGetVersionOK) IsSuccess

func (o *PackerServiceGetVersionOK) IsSuccess() bool

IsSuccess returns true when this packer service get version o k response has a 2xx status code

func (*PackerServiceGetVersionOK) String

func (o *PackerServiceGetVersionOK) String() string

type PackerServiceGetVersionParams

type PackerServiceGetVersionParams struct {

	// BucketName.
	BucketName string

	// Fingerprint.
	Fingerprint 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
}

PackerServiceGetVersionParams contains all the parameters to send to the API endpoint

for the packer service get version operation.

Typically these are written to a http.Request.

func NewPackerServiceGetVersionParams

func NewPackerServiceGetVersionParams() *PackerServiceGetVersionParams

NewPackerServiceGetVersionParams creates a new PackerServiceGetVersionParams object, with the default timeout for this client.

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

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

func NewPackerServiceGetVersionParamsWithContext

func NewPackerServiceGetVersionParamsWithContext(ctx context.Context) *PackerServiceGetVersionParams

NewPackerServiceGetVersionParamsWithContext creates a new PackerServiceGetVersionParams object with the ability to set a context for a request.

func NewPackerServiceGetVersionParamsWithHTTPClient

func NewPackerServiceGetVersionParamsWithHTTPClient(client *http.Client) *PackerServiceGetVersionParams

NewPackerServiceGetVersionParamsWithHTTPClient creates a new PackerServiceGetVersionParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceGetVersionParamsWithTimeout

func NewPackerServiceGetVersionParamsWithTimeout(timeout time.Duration) *PackerServiceGetVersionParams

NewPackerServiceGetVersionParamsWithTimeout creates a new PackerServiceGetVersionParams object with the ability to set a timeout on a request.

func (*PackerServiceGetVersionParams) SetBucketName

func (o *PackerServiceGetVersionParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service get version params

func (*PackerServiceGetVersionParams) SetContext

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

SetContext adds the context to the packer service get version params

func (*PackerServiceGetVersionParams) SetDefaults

func (o *PackerServiceGetVersionParams) SetDefaults()

SetDefaults hydrates default values in the packer service get version params (not the query body).

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

func (*PackerServiceGetVersionParams) SetFingerprint

func (o *PackerServiceGetVersionParams) SetFingerprint(fingerprint string)

SetFingerprint adds the fingerprint to the packer service get version params

func (*PackerServiceGetVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service get version params

func (*PackerServiceGetVersionParams) SetLocationOrganizationID

func (o *PackerServiceGetVersionParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service get version params

func (*PackerServiceGetVersionParams) SetLocationProjectID

func (o *PackerServiceGetVersionParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service get version params

func (*PackerServiceGetVersionParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service get version params

func (*PackerServiceGetVersionParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service get version params

func (*PackerServiceGetVersionParams) SetTimeout

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

SetTimeout adds the timeout to the packer service get version params

func (*PackerServiceGetVersionParams) WithBucketName

WithBucketName adds the bucketName to the packer service get version params

func (*PackerServiceGetVersionParams) WithContext

WithContext adds the context to the packer service get version params

func (*PackerServiceGetVersionParams) WithDefaults

WithDefaults hydrates default values in the packer service get version params (not the query body).

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

func (*PackerServiceGetVersionParams) WithFingerprint

func (o *PackerServiceGetVersionParams) WithFingerprint(fingerprint string) *PackerServiceGetVersionParams

WithFingerprint adds the fingerprint to the packer service get version params

func (*PackerServiceGetVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service get version params

func (*PackerServiceGetVersionParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service get version params

func (*PackerServiceGetVersionParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service get version params

func (*PackerServiceGetVersionParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service get version params

func (*PackerServiceGetVersionParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service get version params

func (*PackerServiceGetVersionParams) WithTimeout

WithTimeout adds the timeout to the packer service get version params

func (*PackerServiceGetVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceGetVersionReader

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

PackerServiceGetVersionReader is a Reader for the PackerServiceGetVersion structure.

func (*PackerServiceGetVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceListBucketAncestryDefault

type PackerServiceListBucketAncestryDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewPackerServiceListBucketAncestryDefault

func NewPackerServiceListBucketAncestryDefault(code int) *PackerServiceListBucketAncestryDefault

NewPackerServiceListBucketAncestryDefault creates a PackerServiceListBucketAncestryDefault with default headers values

func (*PackerServiceListBucketAncestryDefault) Code

Code gets the status code for the packer service list bucket ancestry default response

func (*PackerServiceListBucketAncestryDefault) Error

func (*PackerServiceListBucketAncestryDefault) GetPayload

func (*PackerServiceListBucketAncestryDefault) IsClientError

func (o *PackerServiceListBucketAncestryDefault) IsClientError() bool

IsClientError returns true when this packer service list bucket ancestry default response has a 4xx status code

func (*PackerServiceListBucketAncestryDefault) IsCode

IsCode returns true when this packer service list bucket ancestry default response a status code equal to that given

func (*PackerServiceListBucketAncestryDefault) IsRedirect

IsRedirect returns true when this packer service list bucket ancestry default response has a 3xx status code

func (*PackerServiceListBucketAncestryDefault) IsServerError

func (o *PackerServiceListBucketAncestryDefault) IsServerError() bool

IsServerError returns true when this packer service list bucket ancestry default response has a 5xx status code

func (*PackerServiceListBucketAncestryDefault) IsSuccess

IsSuccess returns true when this packer service list bucket ancestry default response has a 2xx status code

func (*PackerServiceListBucketAncestryDefault) String

type PackerServiceListBucketAncestryOK

type PackerServiceListBucketAncestryOK struct {
	Payload *models.HashicorpCloudPacker20230101ListBucketAncestryResponse
}

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

A successful response.

func NewPackerServiceListBucketAncestryOK

func NewPackerServiceListBucketAncestryOK() *PackerServiceListBucketAncestryOK

NewPackerServiceListBucketAncestryOK creates a PackerServiceListBucketAncestryOK with default headers values

func (*PackerServiceListBucketAncestryOK) Code

Code gets the status code for the packer service list bucket ancestry o k response

func (*PackerServiceListBucketAncestryOK) Error

func (*PackerServiceListBucketAncestryOK) GetPayload

func (*PackerServiceListBucketAncestryOK) IsClientError

func (o *PackerServiceListBucketAncestryOK) IsClientError() bool

IsClientError returns true when this packer service list bucket ancestry o k response has a 4xx status code

func (*PackerServiceListBucketAncestryOK) IsCode

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

IsCode returns true when this packer service list bucket ancestry o k response a status code equal to that given

func (*PackerServiceListBucketAncestryOK) IsRedirect

func (o *PackerServiceListBucketAncestryOK) IsRedirect() bool

IsRedirect returns true when this packer service list bucket ancestry o k response has a 3xx status code

func (*PackerServiceListBucketAncestryOK) IsServerError

func (o *PackerServiceListBucketAncestryOK) IsServerError() bool

IsServerError returns true when this packer service list bucket ancestry o k response has a 5xx status code

func (*PackerServiceListBucketAncestryOK) IsSuccess

func (o *PackerServiceListBucketAncestryOK) IsSuccess() bool

IsSuccess returns true when this packer service list bucket ancestry o k response has a 2xx status code

func (*PackerServiceListBucketAncestryOK) String

type PackerServiceListBucketAncestryParams

type PackerServiceListBucketAncestryParams struct {

	// BucketName.
	BucketName string

	/* ChannelName.

	     An artifact channel in the artifact bucket associated with the request.
	This property filters the results to children whose parent version was
	assigned to this channel when the children were built.
	If not specified, the endpoint returns all children built from any version in this artifact bucket.
	*/
	ChannelName *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.

	     Format: int64
	*/
	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

	/* Type.

	     The type of ancestry relations to list.
	Type 'parents' lists all the direct source artifacts for this artifact bucket.
	Type 'children' lists all of the child artifacts built directly from this artifact bucket.
	If unset, defaults to listing both parent and child relationships for the artifact bucket.

	     Default: "ANCESTRY_TYPE_UNSET"
	*/
	Type *string

	/* VersionFingerprint.

	     Fingerprint of a version that HCP Packer uses to list that version's parents.
	All parents are the parent artifacts Packer used to build this version.
	If not specified, the endpoint returns the parents of the artifact bucket's latest version.
	*/
	VersionFingerprint *string

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

PackerServiceListBucketAncestryParams contains all the parameters to send to the API endpoint

for the packer service list bucket ancestry operation.

Typically these are written to a http.Request.

func NewPackerServiceListBucketAncestryParams

func NewPackerServiceListBucketAncestryParams() *PackerServiceListBucketAncestryParams

NewPackerServiceListBucketAncestryParams creates a new PackerServiceListBucketAncestryParams object, with the default timeout for this client.

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

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

func NewPackerServiceListBucketAncestryParamsWithContext

func NewPackerServiceListBucketAncestryParamsWithContext(ctx context.Context) *PackerServiceListBucketAncestryParams

NewPackerServiceListBucketAncestryParamsWithContext creates a new PackerServiceListBucketAncestryParams object with the ability to set a context for a request.

func NewPackerServiceListBucketAncestryParamsWithHTTPClient

func NewPackerServiceListBucketAncestryParamsWithHTTPClient(client *http.Client) *PackerServiceListBucketAncestryParams

NewPackerServiceListBucketAncestryParamsWithHTTPClient creates a new PackerServiceListBucketAncestryParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceListBucketAncestryParamsWithTimeout

func NewPackerServiceListBucketAncestryParamsWithTimeout(timeout time.Duration) *PackerServiceListBucketAncestryParams

NewPackerServiceListBucketAncestryParamsWithTimeout creates a new PackerServiceListBucketAncestryParams object with the ability to set a timeout on a request.

func (*PackerServiceListBucketAncestryParams) SetBucketName

func (o *PackerServiceListBucketAncestryParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetChannelName

func (o *PackerServiceListBucketAncestryParams) SetChannelName(channelName *string)

SetChannelName adds the channelName to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetContext

SetContext adds the context to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetDefaults

func (o *PackerServiceListBucketAncestryParams) SetDefaults()

SetDefaults hydrates default values in the packer service list bucket ancestry params (not the query body).

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

func (*PackerServiceListBucketAncestryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetLocationOrganizationID

func (o *PackerServiceListBucketAncestryParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetLocationProjectID

func (o *PackerServiceListBucketAncestryParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetPaginationNextPageToken

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

SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetPaginationPageSize

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

SetPaginationPageSize adds the paginationPageSize to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetPaginationPreviousPageToken

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetTimeout

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

SetTimeout adds the timeout to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetType

func (o *PackerServiceListBucketAncestryParams) SetType(typeVar *string)

SetType adds the type to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetVersionFingerprint

func (o *PackerServiceListBucketAncestryParams) SetVersionFingerprint(versionFingerprint *string)

SetVersionFingerprint adds the versionFingerprint to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithBucketName

WithBucketName adds the bucketName to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithChannelName

WithChannelName adds the channelName to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithContext

WithContext adds the context to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithDefaults

WithDefaults hydrates default values in the packer service list bucket ancestry params (not the query body).

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

func (*PackerServiceListBucketAncestryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithPaginationNextPageToken

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

WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithPaginationPageSize

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

WithPaginationPageSize adds the paginationPageSize to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithPaginationPreviousPageToken

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithTimeout

WithTimeout adds the timeout to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithType

WithType adds the typeVar to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithVersionFingerprint

func (o *PackerServiceListBucketAncestryParams) WithVersionFingerprint(versionFingerprint *string) *PackerServiceListBucketAncestryParams

WithVersionFingerprint adds the versionFingerprint to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceListBucketAncestryReader

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

PackerServiceListBucketAncestryReader is a Reader for the PackerServiceListBucketAncestry structure.

func (*PackerServiceListBucketAncestryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceListBucketsDefault

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

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

An unexpected error response.

func NewPackerServiceListBucketsDefault

func NewPackerServiceListBucketsDefault(code int) *PackerServiceListBucketsDefault

NewPackerServiceListBucketsDefault creates a PackerServiceListBucketsDefault with default headers values

func (*PackerServiceListBucketsDefault) Code

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

func (*PackerServiceListBucketsDefault) Error

func (*PackerServiceListBucketsDefault) GetPayload

func (*PackerServiceListBucketsDefault) IsClientError

func (o *PackerServiceListBucketsDefault) IsClientError() bool

IsClientError returns true when this packer service list buckets default response has a 4xx status code

func (*PackerServiceListBucketsDefault) IsCode

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

IsCode returns true when this packer service list buckets default response a status code equal to that given

func (*PackerServiceListBucketsDefault) IsRedirect

func (o *PackerServiceListBucketsDefault) IsRedirect() bool

IsRedirect returns true when this packer service list buckets default response has a 3xx status code

func (*PackerServiceListBucketsDefault) IsServerError

func (o *PackerServiceListBucketsDefault) IsServerError() bool

IsServerError returns true when this packer service list buckets default response has a 5xx status code

func (*PackerServiceListBucketsDefault) IsSuccess

func (o *PackerServiceListBucketsDefault) IsSuccess() bool

IsSuccess returns true when this packer service list buckets default response has a 2xx status code

func (*PackerServiceListBucketsDefault) String

type PackerServiceListBucketsOK

type PackerServiceListBucketsOK struct {
	Payload *models.HashicorpCloudPacker20230101ListBucketsResponse
}

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

A successful response.

func NewPackerServiceListBucketsOK

func NewPackerServiceListBucketsOK() *PackerServiceListBucketsOK

NewPackerServiceListBucketsOK creates a PackerServiceListBucketsOK with default headers values

func (*PackerServiceListBucketsOK) Code

func (o *PackerServiceListBucketsOK) Code() int

Code gets the status code for the packer service list buckets o k response

func (*PackerServiceListBucketsOK) Error

func (*PackerServiceListBucketsOK) GetPayload

func (*PackerServiceListBucketsOK) IsClientError

func (o *PackerServiceListBucketsOK) IsClientError() bool

IsClientError returns true when this packer service list buckets o k response has a 4xx status code

func (*PackerServiceListBucketsOK) IsCode

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

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

func (*PackerServiceListBucketsOK) IsRedirect

func (o *PackerServiceListBucketsOK) IsRedirect() bool

IsRedirect returns true when this packer service list buckets o k response has a 3xx status code

func (*PackerServiceListBucketsOK) IsServerError

func (o *PackerServiceListBucketsOK) IsServerError() bool

IsServerError returns true when this packer service list buckets o k response has a 5xx status code

func (*PackerServiceListBucketsOK) IsSuccess

func (o *PackerServiceListBucketsOK) IsSuccess() bool

IsSuccess returns true when this packer service list buckets o k response has a 2xx status code

func (*PackerServiceListBucketsOK) String

func (o *PackerServiceListBucketsOK) String() string

type PackerServiceListBucketsParams

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.

	     Format: int64
	*/
	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

func NewPackerServiceListBucketsParams() *PackerServiceListBucketsParams

NewPackerServiceListBucketsParams creates a new PackerServiceListBucketsParams object, with the default timeout for this client.

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

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

func NewPackerServiceListBucketsParamsWithContext

func NewPackerServiceListBucketsParamsWithContext(ctx context.Context) *PackerServiceListBucketsParams

NewPackerServiceListBucketsParamsWithContext creates a new PackerServiceListBucketsParams object with the ability to set a context for a request.

func NewPackerServiceListBucketsParamsWithHTTPClient

func NewPackerServiceListBucketsParamsWithHTTPClient(client *http.Client) *PackerServiceListBucketsParams

NewPackerServiceListBucketsParamsWithHTTPClient creates a new PackerServiceListBucketsParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceListBucketsParamsWithTimeout

func NewPackerServiceListBucketsParamsWithTimeout(timeout time.Duration) *PackerServiceListBucketsParams

NewPackerServiceListBucketsParamsWithTimeout creates a new PackerServiceListBucketsParams object with the ability to set a timeout on a request.

func (*PackerServiceListBucketsParams) SetContext

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

SetContext adds the context to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetDefaults

func (o *PackerServiceListBucketsParams) SetDefaults()

SetDefaults hydrates default values in the packer service list buckets params (not the query body).

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

func (*PackerServiceListBucketsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetLocationOrganizationID

func (o *PackerServiceListBucketsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetLocationProjectID

func (o *PackerServiceListBucketsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetPaginationNextPageToken

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

SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetPaginationPageSize

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

SetPaginationPageSize adds the paginationPageSize to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetPaginationPreviousPageToken

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetSortingOrderBy

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

SetSortingOrderBy adds the sortingOrderBy to the packer service list buckets params

func (*PackerServiceListBucketsParams) SetTimeout

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

SetTimeout adds the timeout to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithContext

WithContext adds the context to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithDefaults

WithDefaults hydrates default values in the packer service list buckets params (not the query body).

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

func (*PackerServiceListBucketsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithPaginationNextPageToken

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

WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithPaginationPageSize

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

WithPaginationPageSize adds the paginationPageSize to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithPaginationPreviousPageToken

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithSortingOrderBy

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

WithSortingOrderBy adds the sortingOrderBy to the packer service list buckets params

func (*PackerServiceListBucketsParams) WithTimeout

WithTimeout adds the timeout to the packer service list buckets params

func (*PackerServiceListBucketsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceListBucketsReader

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

PackerServiceListBucketsReader is a Reader for the PackerServiceListBuckets structure.

func (*PackerServiceListBucketsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceListBuildsDefault

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

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

An unexpected error response.

func NewPackerServiceListBuildsDefault

func NewPackerServiceListBuildsDefault(code int) *PackerServiceListBuildsDefault

NewPackerServiceListBuildsDefault creates a PackerServiceListBuildsDefault with default headers values

func (*PackerServiceListBuildsDefault) Code

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

func (*PackerServiceListBuildsDefault) Error

func (*PackerServiceListBuildsDefault) GetPayload

func (*PackerServiceListBuildsDefault) IsClientError

func (o *PackerServiceListBuildsDefault) IsClientError() bool

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

func (*PackerServiceListBuildsDefault) IsCode

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

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

func (*PackerServiceListBuildsDefault) IsRedirect

func (o *PackerServiceListBuildsDefault) IsRedirect() bool

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

func (*PackerServiceListBuildsDefault) IsServerError

func (o *PackerServiceListBuildsDefault) IsServerError() bool

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

func (*PackerServiceListBuildsDefault) IsSuccess

func (o *PackerServiceListBuildsDefault) IsSuccess() bool

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

func (*PackerServiceListBuildsDefault) String

type PackerServiceListBuildsOK

type PackerServiceListBuildsOK struct {
	Payload *models.HashicorpCloudPacker20230101ListBuildsResponse
}

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

A successful response.

func NewPackerServiceListBuildsOK

func NewPackerServiceListBuildsOK() *PackerServiceListBuildsOK

NewPackerServiceListBuildsOK creates a PackerServiceListBuildsOK with default headers values

func (*PackerServiceListBuildsOK) Code

func (o *PackerServiceListBuildsOK) Code() int

Code gets the status code for the packer service list builds o k response

func (*PackerServiceListBuildsOK) Error

func (o *PackerServiceListBuildsOK) Error() string

func (*PackerServiceListBuildsOK) GetPayload

func (*PackerServiceListBuildsOK) IsClientError

func (o *PackerServiceListBuildsOK) IsClientError() bool

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

func (*PackerServiceListBuildsOK) IsCode

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

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

func (*PackerServiceListBuildsOK) IsRedirect

func (o *PackerServiceListBuildsOK) IsRedirect() bool

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

func (*PackerServiceListBuildsOK) IsServerError

func (o *PackerServiceListBuildsOK) IsServerError() bool

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

func (*PackerServiceListBuildsOK) IsSuccess

func (o *PackerServiceListBuildsOK) IsSuccess() bool

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

func (*PackerServiceListBuildsOK) String

func (o *PackerServiceListBuildsOK) String() string

type PackerServiceListBuildsParams

type PackerServiceListBuildsParams struct {

	// BucketName.
	BucketName string

	// Fingerprint.
	Fingerprint 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.

	     Format: int64
	*/
	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

func NewPackerServiceListBuildsParams() *PackerServiceListBuildsParams

NewPackerServiceListBuildsParams creates a new PackerServiceListBuildsParams object, with the default timeout for this client.

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

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

func NewPackerServiceListBuildsParamsWithContext

func NewPackerServiceListBuildsParamsWithContext(ctx context.Context) *PackerServiceListBuildsParams

NewPackerServiceListBuildsParamsWithContext creates a new PackerServiceListBuildsParams object with the ability to set a context for a request.

func NewPackerServiceListBuildsParamsWithHTTPClient

func NewPackerServiceListBuildsParamsWithHTTPClient(client *http.Client) *PackerServiceListBuildsParams

NewPackerServiceListBuildsParamsWithHTTPClient creates a new PackerServiceListBuildsParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceListBuildsParamsWithTimeout

func NewPackerServiceListBuildsParamsWithTimeout(timeout time.Duration) *PackerServiceListBuildsParams

NewPackerServiceListBuildsParamsWithTimeout creates a new PackerServiceListBuildsParams object with the ability to set a timeout on a request.

func (*PackerServiceListBuildsParams) SetBucketName

func (o *PackerServiceListBuildsParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service list builds params

func (*PackerServiceListBuildsParams) SetContext

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

SetContext adds the context to the packer service list builds params

func (*PackerServiceListBuildsParams) SetDefaults

func (o *PackerServiceListBuildsParams) SetDefaults()

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

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

func (*PackerServiceListBuildsParams) SetFingerprint

func (o *PackerServiceListBuildsParams) SetFingerprint(fingerprint string)

SetFingerprint adds the fingerprint to the packer service list builds params

func (*PackerServiceListBuildsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service list builds params

func (*PackerServiceListBuildsParams) SetLocationOrganizationID

func (o *PackerServiceListBuildsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service list builds params

func (*PackerServiceListBuildsParams) SetLocationProjectID

func (o *PackerServiceListBuildsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service list builds params

func (*PackerServiceListBuildsParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service list builds params

func (*PackerServiceListBuildsParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service list builds params

func (*PackerServiceListBuildsParams) SetPaginationNextPageToken

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

SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list builds params

func (*PackerServiceListBuildsParams) SetPaginationPageSize

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

SetPaginationPageSize adds the paginationPageSize to the packer service list builds params

func (*PackerServiceListBuildsParams) SetPaginationPreviousPageToken

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list builds params

func (*PackerServiceListBuildsParams) SetSortingOrderBy

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

SetSortingOrderBy adds the sortingOrderBy to the packer service list builds params

func (*PackerServiceListBuildsParams) SetTimeout

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

SetTimeout adds the timeout to the packer service list builds params

func (*PackerServiceListBuildsParams) WithBucketName

WithBucketName adds the bucketName to the packer service list builds params

func (*PackerServiceListBuildsParams) WithContext

WithContext adds the context to the packer service list builds params

func (*PackerServiceListBuildsParams) WithDefaults

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

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

func (*PackerServiceListBuildsParams) WithFingerprint

func (o *PackerServiceListBuildsParams) WithFingerprint(fingerprint string) *PackerServiceListBuildsParams

WithFingerprint adds the fingerprint to the packer service list builds params

func (*PackerServiceListBuildsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service list builds params

func (*PackerServiceListBuildsParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service list builds params

func (*PackerServiceListBuildsParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service list builds params

func (*PackerServiceListBuildsParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service list builds params

func (*PackerServiceListBuildsParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service list builds params

func (*PackerServiceListBuildsParams) WithPaginationNextPageToken

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

WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list builds params

func (*PackerServiceListBuildsParams) WithPaginationPageSize

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

WithPaginationPageSize adds the paginationPageSize to the packer service list builds params

func (*PackerServiceListBuildsParams) WithPaginationPreviousPageToken

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list builds params

func (*PackerServiceListBuildsParams) WithSortingOrderBy

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

WithSortingOrderBy adds the sortingOrderBy to the packer service list builds params

func (*PackerServiceListBuildsParams) WithTimeout

WithTimeout adds the timeout to the packer service list builds params

func (*PackerServiceListBuildsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceListBuildsReader

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

PackerServiceListBuildsReader is a Reader for the PackerServiceListBuilds structure.

func (*PackerServiceListBuildsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceListChannelAssignmentHistoryDefault

type PackerServiceListChannelAssignmentHistoryDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewPackerServiceListChannelAssignmentHistoryDefault

func NewPackerServiceListChannelAssignmentHistoryDefault(code int) *PackerServiceListChannelAssignmentHistoryDefault

NewPackerServiceListChannelAssignmentHistoryDefault creates a PackerServiceListChannelAssignmentHistoryDefault with default headers values

func (*PackerServiceListChannelAssignmentHistoryDefault) Code

Code gets the status code for the packer service list channel assignment history default response

func (*PackerServiceListChannelAssignmentHistoryDefault) Error

func (*PackerServiceListChannelAssignmentHistoryDefault) GetPayload

func (*PackerServiceListChannelAssignmentHistoryDefault) IsClientError

IsClientError returns true when this packer service list channel assignment history default response has a 4xx status code

func (*PackerServiceListChannelAssignmentHistoryDefault) IsCode

IsCode returns true when this packer service list channel assignment history default response a status code equal to that given

func (*PackerServiceListChannelAssignmentHistoryDefault) IsRedirect

IsRedirect returns true when this packer service list channel assignment history default response has a 3xx status code

func (*PackerServiceListChannelAssignmentHistoryDefault) IsServerError

IsServerError returns true when this packer service list channel assignment history default response has a 5xx status code

func (*PackerServiceListChannelAssignmentHistoryDefault) IsSuccess

IsSuccess returns true when this packer service list channel assignment history default response has a 2xx status code

func (*PackerServiceListChannelAssignmentHistoryDefault) String

type PackerServiceListChannelAssignmentHistoryOK

type PackerServiceListChannelAssignmentHistoryOK struct {
	Payload *models.HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse
}

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

A successful response.

func NewPackerServiceListChannelAssignmentHistoryOK

func NewPackerServiceListChannelAssignmentHistoryOK() *PackerServiceListChannelAssignmentHistoryOK

NewPackerServiceListChannelAssignmentHistoryOK creates a PackerServiceListChannelAssignmentHistoryOK with default headers values

func (*PackerServiceListChannelAssignmentHistoryOK) Code

Code gets the status code for the packer service list channel assignment history o k response

func (*PackerServiceListChannelAssignmentHistoryOK) Error

func (*PackerServiceListChannelAssignmentHistoryOK) IsClientError

IsClientError returns true when this packer service list channel assignment history o k response has a 4xx status code

func (*PackerServiceListChannelAssignmentHistoryOK) IsCode

IsCode returns true when this packer service list channel assignment history o k response a status code equal to that given

func (*PackerServiceListChannelAssignmentHistoryOK) IsRedirect

IsRedirect returns true when this packer service list channel assignment history o k response has a 3xx status code

func (*PackerServiceListChannelAssignmentHistoryOK) IsServerError

IsServerError returns true when this packer service list channel assignment history o k response has a 5xx status code

func (*PackerServiceListChannelAssignmentHistoryOK) IsSuccess

IsSuccess returns true when this packer service list channel assignment history o k response has a 2xx status code

func (*PackerServiceListChannelAssignmentHistoryOK) String

type PackerServiceListChannelAssignmentHistoryParams

type PackerServiceListChannelAssignmentHistoryParams struct {

	// BucketName.
	BucketName string

	// ChannelName.
	ChannelName 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.

	     Format: int64
	*/
	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

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

PackerServiceListChannelAssignmentHistoryParams contains all the parameters to send to the API endpoint

for the packer service list channel assignment history operation.

Typically these are written to a http.Request.

func NewPackerServiceListChannelAssignmentHistoryParams

func NewPackerServiceListChannelAssignmentHistoryParams() *PackerServiceListChannelAssignmentHistoryParams

NewPackerServiceListChannelAssignmentHistoryParams creates a new PackerServiceListChannelAssignmentHistoryParams object, with the default timeout for this client.

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

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

func NewPackerServiceListChannelAssignmentHistoryParamsWithContext

func NewPackerServiceListChannelAssignmentHistoryParamsWithContext(ctx context.Context) *PackerServiceListChannelAssignmentHistoryParams

NewPackerServiceListChannelAssignmentHistoryParamsWithContext creates a new PackerServiceListChannelAssignmentHistoryParams object with the ability to set a context for a request.

func NewPackerServiceListChannelAssignmentHistoryParamsWithHTTPClient

func NewPackerServiceListChannelAssignmentHistoryParamsWithHTTPClient(client *http.Client) *PackerServiceListChannelAssignmentHistoryParams

NewPackerServiceListChannelAssignmentHistoryParamsWithHTTPClient creates a new PackerServiceListChannelAssignmentHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceListChannelAssignmentHistoryParamsWithTimeout

func NewPackerServiceListChannelAssignmentHistoryParamsWithTimeout(timeout time.Duration) *PackerServiceListChannelAssignmentHistoryParams

NewPackerServiceListChannelAssignmentHistoryParamsWithTimeout creates a new PackerServiceListChannelAssignmentHistoryParams object with the ability to set a timeout on a request.

func (*PackerServiceListChannelAssignmentHistoryParams) SetBucketName

func (o *PackerServiceListChannelAssignmentHistoryParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) SetChannelName

func (o *PackerServiceListChannelAssignmentHistoryParams) SetChannelName(channelName string)

SetChannelName adds the channelName to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) SetContext

SetContext adds the context to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) SetDefaults

SetDefaults hydrates default values in the packer service list channel assignment history params (not the query body).

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

func (*PackerServiceListChannelAssignmentHistoryParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) SetLocationOrganizationID

func (o *PackerServiceListChannelAssignmentHistoryParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) SetLocationProjectID

func (o *PackerServiceListChannelAssignmentHistoryParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) SetPaginationNextPageToken

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

SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) SetPaginationPageSize

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

SetPaginationPageSize adds the paginationPageSize to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) SetPaginationPreviousPageToken

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) SetTimeout

SetTimeout adds the timeout to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WithBucketName

WithBucketName adds the bucketName to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WithChannelName

WithChannelName adds the channelName to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WithContext

WithContext adds the context to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WithDefaults

WithDefaults hydrates default values in the packer service list channel assignment history params (not the query body).

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

func (*PackerServiceListChannelAssignmentHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WithLocationOrganizationID

WithLocationOrganizationID adds the locationOrganizationID to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WithLocationProjectID

WithLocationProjectID adds the locationProjectID to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WithLocationRegionRegion

WithLocationRegionRegion adds the locationRegionRegion to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WithPaginationNextPageToken

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

WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WithPaginationPageSize

WithPaginationPageSize adds the paginationPageSize to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WithPaginationPreviousPageToken

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WithTimeout

WithTimeout adds the timeout to the packer service list channel assignment history params

func (*PackerServiceListChannelAssignmentHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceListChannelAssignmentHistoryReader

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

PackerServiceListChannelAssignmentHistoryReader is a Reader for the PackerServiceListChannelAssignmentHistory structure.

func (*PackerServiceListChannelAssignmentHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceListChannelsDefault

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

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

An unexpected error response.

func NewPackerServiceListChannelsDefault

func NewPackerServiceListChannelsDefault(code int) *PackerServiceListChannelsDefault

NewPackerServiceListChannelsDefault creates a PackerServiceListChannelsDefault with default headers values

func (*PackerServiceListChannelsDefault) Code

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

func (*PackerServiceListChannelsDefault) Error

func (*PackerServiceListChannelsDefault) GetPayload

func (*PackerServiceListChannelsDefault) IsClientError

func (o *PackerServiceListChannelsDefault) IsClientError() bool

IsClientError returns true when this packer service list channels default response has a 4xx status code

func (*PackerServiceListChannelsDefault) IsCode

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

IsCode returns true when this packer service list channels default response a status code equal to that given

func (*PackerServiceListChannelsDefault) IsRedirect

func (o *PackerServiceListChannelsDefault) IsRedirect() bool

IsRedirect returns true when this packer service list channels default response has a 3xx status code

func (*PackerServiceListChannelsDefault) IsServerError

func (o *PackerServiceListChannelsDefault) IsServerError() bool

IsServerError returns true when this packer service list channels default response has a 5xx status code

func (*PackerServiceListChannelsDefault) IsSuccess

func (o *PackerServiceListChannelsDefault) IsSuccess() bool

IsSuccess returns true when this packer service list channels default response has a 2xx status code

func (*PackerServiceListChannelsDefault) String

type PackerServiceListChannelsOK

type PackerServiceListChannelsOK struct {
	Payload *models.HashicorpCloudPacker20230101ListChannelsResponse
}

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

A successful response.

func NewPackerServiceListChannelsOK

func NewPackerServiceListChannelsOK() *PackerServiceListChannelsOK

NewPackerServiceListChannelsOK creates a PackerServiceListChannelsOK with default headers values

func (*PackerServiceListChannelsOK) Code

func (o *PackerServiceListChannelsOK) Code() int

Code gets the status code for the packer service list channels o k response

func (*PackerServiceListChannelsOK) Error

func (*PackerServiceListChannelsOK) GetPayload

func (*PackerServiceListChannelsOK) IsClientError

func (o *PackerServiceListChannelsOK) IsClientError() bool

IsClientError returns true when this packer service list channels o k response has a 4xx status code

func (*PackerServiceListChannelsOK) IsCode

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

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

func (*PackerServiceListChannelsOK) IsRedirect

func (o *PackerServiceListChannelsOK) IsRedirect() bool

IsRedirect returns true when this packer service list channels o k response has a 3xx status code

func (*PackerServiceListChannelsOK) IsServerError

func (o *PackerServiceListChannelsOK) IsServerError() bool

IsServerError returns true when this packer service list channels o k response has a 5xx status code

func (*PackerServiceListChannelsOK) IsSuccess

func (o *PackerServiceListChannelsOK) IsSuccess() bool

IsSuccess returns true when this packer service list channels o k response has a 2xx status code

func (*PackerServiceListChannelsOK) String

func (o *PackerServiceListChannelsOK) String() string

type PackerServiceListChannelsParams

type PackerServiceListChannelsParams struct {

	// BucketName.
	BucketName 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

func NewPackerServiceListChannelsParams() *PackerServiceListChannelsParams

NewPackerServiceListChannelsParams creates a new PackerServiceListChannelsParams object, with the default timeout for this client.

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

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

func NewPackerServiceListChannelsParamsWithContext

func NewPackerServiceListChannelsParamsWithContext(ctx context.Context) *PackerServiceListChannelsParams

NewPackerServiceListChannelsParamsWithContext creates a new PackerServiceListChannelsParams object with the ability to set a context for a request.

func NewPackerServiceListChannelsParamsWithHTTPClient

func NewPackerServiceListChannelsParamsWithHTTPClient(client *http.Client) *PackerServiceListChannelsParams

NewPackerServiceListChannelsParamsWithHTTPClient creates a new PackerServiceListChannelsParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceListChannelsParamsWithTimeout

func NewPackerServiceListChannelsParamsWithTimeout(timeout time.Duration) *PackerServiceListChannelsParams

NewPackerServiceListChannelsParamsWithTimeout creates a new PackerServiceListChannelsParams object with the ability to set a timeout on a request.

func (*PackerServiceListChannelsParams) SetBucketName

func (o *PackerServiceListChannelsParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service list channels params

func (*PackerServiceListChannelsParams) SetContext

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

SetContext adds the context to the packer service list channels params

func (*PackerServiceListChannelsParams) SetDefaults

func (o *PackerServiceListChannelsParams) SetDefaults()

SetDefaults hydrates default values in the packer service list channels params (not the query body).

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

func (*PackerServiceListChannelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service list channels params

func (*PackerServiceListChannelsParams) SetLocationOrganizationID

func (o *PackerServiceListChannelsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service list channels params

func (*PackerServiceListChannelsParams) SetLocationProjectID

func (o *PackerServiceListChannelsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service list channels params

func (*PackerServiceListChannelsParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service list channels params

func (*PackerServiceListChannelsParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service list channels params

func (*PackerServiceListChannelsParams) SetTimeout

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

SetTimeout adds the timeout to the packer service list channels params

func (*PackerServiceListChannelsParams) WithBucketName

WithBucketName adds the bucketName to the packer service list channels params

func (*PackerServiceListChannelsParams) WithContext

WithContext adds the context to the packer service list channels params

func (*PackerServiceListChannelsParams) WithDefaults

WithDefaults hydrates default values in the packer service list channels params (not the query body).

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

func (*PackerServiceListChannelsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service list channels params

func (*PackerServiceListChannelsParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service list channels params

func (*PackerServiceListChannelsParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service list channels params

func (*PackerServiceListChannelsParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service list channels params

func (*PackerServiceListChannelsParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service list channels params

func (*PackerServiceListChannelsParams) WithTimeout

WithTimeout adds the timeout to the packer service list channels params

func (*PackerServiceListChannelsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceListChannelsReader

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

PackerServiceListChannelsReader is a Reader for the PackerServiceListChannels structure.

func (*PackerServiceListChannelsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceListVersionsDefault

type PackerServiceListVersionsDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewPackerServiceListVersionsDefault

func NewPackerServiceListVersionsDefault(code int) *PackerServiceListVersionsDefault

NewPackerServiceListVersionsDefault creates a PackerServiceListVersionsDefault with default headers values

func (*PackerServiceListVersionsDefault) Code

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

func (*PackerServiceListVersionsDefault) Error

func (*PackerServiceListVersionsDefault) GetPayload

func (*PackerServiceListVersionsDefault) IsClientError

func (o *PackerServiceListVersionsDefault) IsClientError() bool

IsClientError returns true when this packer service list versions default response has a 4xx status code

func (*PackerServiceListVersionsDefault) IsCode

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

IsCode returns true when this packer service list versions default response a status code equal to that given

func (*PackerServiceListVersionsDefault) IsRedirect

func (o *PackerServiceListVersionsDefault) IsRedirect() bool

IsRedirect returns true when this packer service list versions default response has a 3xx status code

func (*PackerServiceListVersionsDefault) IsServerError

func (o *PackerServiceListVersionsDefault) IsServerError() bool

IsServerError returns true when this packer service list versions default response has a 5xx status code

func (*PackerServiceListVersionsDefault) IsSuccess

func (o *PackerServiceListVersionsDefault) IsSuccess() bool

IsSuccess returns true when this packer service list versions default response has a 2xx status code

func (*PackerServiceListVersionsDefault) String

type PackerServiceListVersionsOK

type PackerServiceListVersionsOK struct {
	Payload *models.HashicorpCloudPacker20230101ListVersionsResponse
}

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

A successful response.

func NewPackerServiceListVersionsOK

func NewPackerServiceListVersionsOK() *PackerServiceListVersionsOK

NewPackerServiceListVersionsOK creates a PackerServiceListVersionsOK with default headers values

func (*PackerServiceListVersionsOK) Code

func (o *PackerServiceListVersionsOK) Code() int

Code gets the status code for the packer service list versions o k response

func (*PackerServiceListVersionsOK) Error

func (*PackerServiceListVersionsOK) GetPayload

func (*PackerServiceListVersionsOK) IsClientError

func (o *PackerServiceListVersionsOK) IsClientError() bool

IsClientError returns true when this packer service list versions o k response has a 4xx status code

func (*PackerServiceListVersionsOK) IsCode

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

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

func (*PackerServiceListVersionsOK) IsRedirect

func (o *PackerServiceListVersionsOK) IsRedirect() bool

IsRedirect returns true when this packer service list versions o k response has a 3xx status code

func (*PackerServiceListVersionsOK) IsServerError

func (o *PackerServiceListVersionsOK) IsServerError() bool

IsServerError returns true when this packer service list versions o k response has a 5xx status code

func (*PackerServiceListVersionsOK) IsSuccess

func (o *PackerServiceListVersionsOK) IsSuccess() bool

IsSuccess returns true when this packer service list versions o k response has a 2xx status code

func (*PackerServiceListVersionsOK) String

func (o *PackerServiceListVersionsOK) String() string

type PackerServiceListVersionsParams

type PackerServiceListVersionsParams struct {

	// BucketName.
	BucketName 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.

	     Format: int64
	*/
	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
}

PackerServiceListVersionsParams contains all the parameters to send to the API endpoint

for the packer service list versions operation.

Typically these are written to a http.Request.

func NewPackerServiceListVersionsParams

func NewPackerServiceListVersionsParams() *PackerServiceListVersionsParams

NewPackerServiceListVersionsParams creates a new PackerServiceListVersionsParams object, with the default timeout for this client.

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

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

func NewPackerServiceListVersionsParamsWithContext

func NewPackerServiceListVersionsParamsWithContext(ctx context.Context) *PackerServiceListVersionsParams

NewPackerServiceListVersionsParamsWithContext creates a new PackerServiceListVersionsParams object with the ability to set a context for a request.

func NewPackerServiceListVersionsParamsWithHTTPClient

func NewPackerServiceListVersionsParamsWithHTTPClient(client *http.Client) *PackerServiceListVersionsParams

NewPackerServiceListVersionsParamsWithHTTPClient creates a new PackerServiceListVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceListVersionsParamsWithTimeout

func NewPackerServiceListVersionsParamsWithTimeout(timeout time.Duration) *PackerServiceListVersionsParams

NewPackerServiceListVersionsParamsWithTimeout creates a new PackerServiceListVersionsParams object with the ability to set a timeout on a request.

func (*PackerServiceListVersionsParams) SetBucketName

func (o *PackerServiceListVersionsParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service list versions params

func (*PackerServiceListVersionsParams) SetContext

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

SetContext adds the context to the packer service list versions params

func (*PackerServiceListVersionsParams) SetDefaults

func (o *PackerServiceListVersionsParams) SetDefaults()

SetDefaults hydrates default values in the packer service list versions params (not the query body).

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

func (*PackerServiceListVersionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service list versions params

func (*PackerServiceListVersionsParams) SetLocationOrganizationID

func (o *PackerServiceListVersionsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service list versions params

func (*PackerServiceListVersionsParams) SetLocationProjectID

func (o *PackerServiceListVersionsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service list versions params

func (*PackerServiceListVersionsParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service list versions params

func (*PackerServiceListVersionsParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service list versions params

func (*PackerServiceListVersionsParams) SetPaginationNextPageToken

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

SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list versions params

func (*PackerServiceListVersionsParams) SetPaginationPageSize

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

SetPaginationPageSize adds the paginationPageSize to the packer service list versions params

func (*PackerServiceListVersionsParams) SetPaginationPreviousPageToken

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list versions params

func (*PackerServiceListVersionsParams) SetSortingOrderBy

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

SetSortingOrderBy adds the sortingOrderBy to the packer service list versions params

func (*PackerServiceListVersionsParams) SetTimeout

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

SetTimeout adds the timeout to the packer service list versions params

func (*PackerServiceListVersionsParams) WithBucketName

WithBucketName adds the bucketName to the packer service list versions params

func (*PackerServiceListVersionsParams) WithContext

WithContext adds the context to the packer service list versions params

func (*PackerServiceListVersionsParams) WithDefaults

WithDefaults hydrates default values in the packer service list versions params (not the query body).

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

func (*PackerServiceListVersionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service list versions params

func (*PackerServiceListVersionsParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service list versions params

func (*PackerServiceListVersionsParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service list versions params

func (*PackerServiceListVersionsParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service list versions params

func (*PackerServiceListVersionsParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service list versions params

func (*PackerServiceListVersionsParams) WithPaginationNextPageToken

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

WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list versions params

func (*PackerServiceListVersionsParams) WithPaginationPageSize

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

WithPaginationPageSize adds the paginationPageSize to the packer service list versions params

func (*PackerServiceListVersionsParams) WithPaginationPreviousPageToken

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list versions params

func (*PackerServiceListVersionsParams) WithSortingOrderBy

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

WithSortingOrderBy adds the sortingOrderBy to the packer service list versions params

func (*PackerServiceListVersionsParams) WithTimeout

WithTimeout adds the timeout to the packer service list versions params

func (*PackerServiceListVersionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceListVersionsReader

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

PackerServiceListVersionsReader is a Reader for the PackerServiceListVersions structure.

func (*PackerServiceListVersionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceRegenerateTFCRunTaskHmacKeyBody

type PackerServiceRegenerateTFCRunTaskHmacKeyBody struct {

	// location
	Location *PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation `json:"location,omitempty"`
}

PackerServiceRegenerateTFCRunTaskHmacKeyBody packer service regenerate t f c run task hmac key body swagger:model PackerServiceRegenerateTFCRunTaskHmacKeyBody

func (*PackerServiceRegenerateTFCRunTaskHmacKeyBody) ContextValidate

ContextValidate validate this packer service regenerate t f c run task hmac key body based on the context it is used

func (*PackerServiceRegenerateTFCRunTaskHmacKeyBody) MarshalBinary

MarshalBinary interface implementation

func (*PackerServiceRegenerateTFCRunTaskHmacKeyBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PackerServiceRegenerateTFCRunTaskHmacKeyBody) Validate

Validate validates this packer service regenerate t f c run task hmac key body

type PackerServiceRegenerateTFCRunTaskHmacKeyDefault

type PackerServiceRegenerateTFCRunTaskHmacKeyDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewPackerServiceRegenerateTFCRunTaskHmacKeyDefault

func NewPackerServiceRegenerateTFCRunTaskHmacKeyDefault(code int) *PackerServiceRegenerateTFCRunTaskHmacKeyDefault

NewPackerServiceRegenerateTFCRunTaskHmacKeyDefault creates a PackerServiceRegenerateTFCRunTaskHmacKeyDefault with default headers values

func (*PackerServiceRegenerateTFCRunTaskHmacKeyDefault) Code

Code gets the status code for the packer service regenerate t f c run task hmac key default response

func (*PackerServiceRegenerateTFCRunTaskHmacKeyDefault) Error

func (*PackerServiceRegenerateTFCRunTaskHmacKeyDefault) GetPayload

func (*PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsClientError

IsClientError returns true when this packer service regenerate t f c run task hmac key default response has a 4xx status code

func (*PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsCode

IsCode returns true when this packer service regenerate t f c run task hmac key default response a status code equal to that given

func (*PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsRedirect

IsRedirect returns true when this packer service regenerate t f c run task hmac key default response has a 3xx status code

func (*PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsServerError

IsServerError returns true when this packer service regenerate t f c run task hmac key default response has a 5xx status code

func (*PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsSuccess

IsSuccess returns true when this packer service regenerate t f c run task hmac key default response has a 2xx status code

func (*PackerServiceRegenerateTFCRunTaskHmacKeyDefault) String

type PackerServiceRegenerateTFCRunTaskHmacKeyOK

type PackerServiceRegenerateTFCRunTaskHmacKeyOK struct {
	Payload *models.HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse
}

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

A successful response.

func NewPackerServiceRegenerateTFCRunTaskHmacKeyOK

func NewPackerServiceRegenerateTFCRunTaskHmacKeyOK() *PackerServiceRegenerateTFCRunTaskHmacKeyOK

NewPackerServiceRegenerateTFCRunTaskHmacKeyOK creates a PackerServiceRegenerateTFCRunTaskHmacKeyOK with default headers values

func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) Code

Code gets the status code for the packer service regenerate t f c run task hmac key o k response

func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) Error

func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsClientError

IsClientError returns true when this packer service regenerate t f c run task hmac key o k response has a 4xx status code

func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsCode

IsCode returns true when this packer service regenerate t f c run task hmac key o k response a status code equal to that given

func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsRedirect

IsRedirect returns true when this packer service regenerate t f c run task hmac key o k response has a 3xx status code

func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsServerError

IsServerError returns true when this packer service regenerate t f c run task hmac key o k response has a 5xx status code

func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsSuccess

IsSuccess returns true when this packer service regenerate t f c run task hmac key o k response has a 2xx status code

func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) String

type PackerServiceRegenerateTFCRunTaskHmacKeyParams

type PackerServiceRegenerateTFCRunTaskHmacKeyParams struct {

	// Body.
	Body PackerServiceRegenerateTFCRunTaskHmacKeyBody

	/* 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
}

PackerServiceRegenerateTFCRunTaskHmacKeyParams contains all the parameters to send to the API endpoint

for the packer service regenerate t f c run task hmac key operation.

Typically these are written to a http.Request.

func NewPackerServiceRegenerateTFCRunTaskHmacKeyParams

func NewPackerServiceRegenerateTFCRunTaskHmacKeyParams() *PackerServiceRegenerateTFCRunTaskHmacKeyParams

NewPackerServiceRegenerateTFCRunTaskHmacKeyParams creates a new PackerServiceRegenerateTFCRunTaskHmacKeyParams object, with the default timeout for this client.

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

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

func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithContext

func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithContext(ctx context.Context) *PackerServiceRegenerateTFCRunTaskHmacKeyParams

NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithContext creates a new PackerServiceRegenerateTFCRunTaskHmacKeyParams object with the ability to set a context for a request.

func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithHTTPClient

func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithHTTPClient(client *http.Client) *PackerServiceRegenerateTFCRunTaskHmacKeyParams

NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithHTTPClient creates a new PackerServiceRegenerateTFCRunTaskHmacKeyParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithTimeout

func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithTimeout(timeout time.Duration) *PackerServiceRegenerateTFCRunTaskHmacKeyParams

NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithTimeout creates a new PackerServiceRegenerateTFCRunTaskHmacKeyParams object with the ability to set a timeout on a request.

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetBody

SetBody adds the body to the packer service regenerate t f c run task hmac key params

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetContext

SetContext adds the context to the packer service regenerate t f c run task hmac key params

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetDefaults

SetDefaults hydrates default values in the packer service regenerate t f c run task hmac key params (not the query body).

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

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the packer service regenerate t f c run task hmac key params

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetLocationOrganizationID

func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service regenerate t f c run task hmac key params

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetLocationProjectID

func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service regenerate t f c run task hmac key params

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetTimeout

SetTimeout adds the timeout to the packer service regenerate t f c run task hmac key params

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithBody

WithBody adds the body to the packer service regenerate t f c run task hmac key params

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithContext

WithContext adds the context to the packer service regenerate t f c run task hmac key params

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithDefaults

WithDefaults hydrates default values in the packer service regenerate t f c run task hmac key params (not the query body).

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

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service regenerate t f c run task hmac key params

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service regenerate t f c run task hmac key params

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithLocationProjectID

WithLocationProjectID adds the locationProjectID to the packer service regenerate t f c run task hmac key params

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithTimeout

WithTimeout adds the timeout to the packer service regenerate t f c run task hmac key params

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation

type PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation struct {

	// region is the region that the resource is located in. It is
	// optional if the object being referenced is a global object.
	Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"`
}

PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation Location represents a target for an operation in HCP. swagger:model PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) ContextValidate

ContextValidate validate this packer service regenerate t f c run task hmac key params body location based on the context it is used

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) MarshalBinary

MarshalBinary interface implementation

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) Validate

Validate validates this packer service regenerate t f c run task hmac key params body location

type PackerServiceRegenerateTFCRunTaskHmacKeyReader

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

PackerServiceRegenerateTFCRunTaskHmacKeyReader is a Reader for the PackerServiceRegenerateTFCRunTaskHmacKey structure.

func (*PackerServiceRegenerateTFCRunTaskHmacKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceUpdateBucketDefault

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

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

An unexpected error response.

func NewPackerServiceUpdateBucketDefault

func NewPackerServiceUpdateBucketDefault(code int) *PackerServiceUpdateBucketDefault

NewPackerServiceUpdateBucketDefault creates a PackerServiceUpdateBucketDefault with default headers values

func (*PackerServiceUpdateBucketDefault) Code

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

func (*PackerServiceUpdateBucketDefault) Error

func (*PackerServiceUpdateBucketDefault) GetPayload

func (*PackerServiceUpdateBucketDefault) IsClientError

func (o *PackerServiceUpdateBucketDefault) IsClientError() bool

IsClientError returns true when this packer service update bucket default response has a 4xx status code

func (*PackerServiceUpdateBucketDefault) IsCode

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

IsCode returns true when this packer service update bucket default response a status code equal to that given

func (*PackerServiceUpdateBucketDefault) IsRedirect

func (o *PackerServiceUpdateBucketDefault) IsRedirect() bool

IsRedirect returns true when this packer service update bucket default response has a 3xx status code

func (*PackerServiceUpdateBucketDefault) IsServerError

func (o *PackerServiceUpdateBucketDefault) IsServerError() bool

IsServerError returns true when this packer service update bucket default response has a 5xx status code

func (*PackerServiceUpdateBucketDefault) IsSuccess

func (o *PackerServiceUpdateBucketDefault) IsSuccess() bool

IsSuccess returns true when this packer service update bucket default response has a 2xx status code

func (*PackerServiceUpdateBucketDefault) String

type PackerServiceUpdateBucketOK

type PackerServiceUpdateBucketOK struct {
	Payload *models.HashicorpCloudPacker20230101UpdateBucketResponse
}

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

A successful response.

func NewPackerServiceUpdateBucketOK

func NewPackerServiceUpdateBucketOK() *PackerServiceUpdateBucketOK

NewPackerServiceUpdateBucketOK creates a PackerServiceUpdateBucketOK with default headers values

func (*PackerServiceUpdateBucketOK) Code

func (o *PackerServiceUpdateBucketOK) Code() int

Code gets the status code for the packer service update bucket o k response

func (*PackerServiceUpdateBucketOK) Error

func (*PackerServiceUpdateBucketOK) GetPayload

func (*PackerServiceUpdateBucketOK) IsClientError

func (o *PackerServiceUpdateBucketOK) IsClientError() bool

IsClientError returns true when this packer service update bucket o k response has a 4xx status code

func (*PackerServiceUpdateBucketOK) IsCode

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

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

func (*PackerServiceUpdateBucketOK) IsRedirect

func (o *PackerServiceUpdateBucketOK) IsRedirect() bool

IsRedirect returns true when this packer service update bucket o k response has a 3xx status code

func (*PackerServiceUpdateBucketOK) IsServerError

func (o *PackerServiceUpdateBucketOK) IsServerError() bool

IsServerError returns true when this packer service update bucket o k response has a 5xx status code

func (*PackerServiceUpdateBucketOK) IsSuccess

func (o *PackerServiceUpdateBucketOK) IsSuccess() bool

IsSuccess returns true when this packer service update bucket o k response has a 2xx status code

func (*PackerServiceUpdateBucketOK) String

func (o *PackerServiceUpdateBucketOK) String() string

type PackerServiceUpdateBucketParams

type PackerServiceUpdateBucketParams struct {

	// Body.
	Body *models.HashicorpCloudPacker20230101UpdateBucketBody

	// BucketName.
	BucketName 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
}

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

func NewPackerServiceUpdateBucketParams() *PackerServiceUpdateBucketParams

NewPackerServiceUpdateBucketParams creates a new PackerServiceUpdateBucketParams object, with the default timeout for this client.

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

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

func NewPackerServiceUpdateBucketParamsWithContext

func NewPackerServiceUpdateBucketParamsWithContext(ctx context.Context) *PackerServiceUpdateBucketParams

NewPackerServiceUpdateBucketParamsWithContext creates a new PackerServiceUpdateBucketParams object with the ability to set a context for a request.

func NewPackerServiceUpdateBucketParamsWithHTTPClient

func NewPackerServiceUpdateBucketParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateBucketParams

NewPackerServiceUpdateBucketParamsWithHTTPClient creates a new PackerServiceUpdateBucketParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceUpdateBucketParamsWithTimeout

func NewPackerServiceUpdateBucketParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateBucketParams

NewPackerServiceUpdateBucketParamsWithTimeout creates a new PackerServiceUpdateBucketParams object with the ability to set a timeout on a request.

func (*PackerServiceUpdateBucketParams) SetBody

SetBody adds the body to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetBucketName

func (o *PackerServiceUpdateBucketParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetContext

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

SetContext adds the context to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetDefaults

func (o *PackerServiceUpdateBucketParams) SetDefaults()

SetDefaults hydrates default values in the packer service update bucket params (not the query body).

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

func (*PackerServiceUpdateBucketParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetLocationOrganizationID

func (o *PackerServiceUpdateBucketParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetLocationProjectID

func (o *PackerServiceUpdateBucketParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) SetTimeout

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

SetTimeout adds the timeout to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithBody

WithBody adds the body to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithBucketName

WithBucketName adds the bucketName to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithContext

WithContext adds the context to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithDefaults

WithDefaults hydrates default values in the packer service update bucket params (not the query body).

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

func (*PackerServiceUpdateBucketParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithTimeout

WithTimeout adds the timeout to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateBucketReader

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

PackerServiceUpdateBucketReader is a Reader for the PackerServiceUpdateBucket structure.

func (*PackerServiceUpdateBucketReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceUpdateBuildDefault

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

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

An unexpected error response.

func NewPackerServiceUpdateBuildDefault

func NewPackerServiceUpdateBuildDefault(code int) *PackerServiceUpdateBuildDefault

NewPackerServiceUpdateBuildDefault creates a PackerServiceUpdateBuildDefault with default headers values

func (*PackerServiceUpdateBuildDefault) Code

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

func (*PackerServiceUpdateBuildDefault) Error

func (*PackerServiceUpdateBuildDefault) GetPayload

func (*PackerServiceUpdateBuildDefault) IsClientError

func (o *PackerServiceUpdateBuildDefault) IsClientError() bool

IsClientError returns true when this packer service update build default response has a 4xx status code

func (*PackerServiceUpdateBuildDefault) IsCode

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

IsCode returns true when this packer service update build default response a status code equal to that given

func (*PackerServiceUpdateBuildDefault) IsRedirect

func (o *PackerServiceUpdateBuildDefault) IsRedirect() bool

IsRedirect returns true when this packer service update build default response has a 3xx status code

func (*PackerServiceUpdateBuildDefault) IsServerError

func (o *PackerServiceUpdateBuildDefault) IsServerError() bool

IsServerError returns true when this packer service update build default response has a 5xx status code

func (*PackerServiceUpdateBuildDefault) IsSuccess

func (o *PackerServiceUpdateBuildDefault) IsSuccess() bool

IsSuccess returns true when this packer service update build default response has a 2xx status code

func (*PackerServiceUpdateBuildDefault) String

type PackerServiceUpdateBuildOK

type PackerServiceUpdateBuildOK struct {
	Payload *models.HashicorpCloudPacker20230101UpdateBuildResponse
}

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

A successful response.

func NewPackerServiceUpdateBuildOK

func NewPackerServiceUpdateBuildOK() *PackerServiceUpdateBuildOK

NewPackerServiceUpdateBuildOK creates a PackerServiceUpdateBuildOK with default headers values

func (*PackerServiceUpdateBuildOK) Code

func (o *PackerServiceUpdateBuildOK) Code() int

Code gets the status code for the packer service update build o k response

func (*PackerServiceUpdateBuildOK) Error

func (*PackerServiceUpdateBuildOK) GetPayload

func (*PackerServiceUpdateBuildOK) IsClientError

func (o *PackerServiceUpdateBuildOK) IsClientError() bool

IsClientError returns true when this packer service update build o k response has a 4xx status code

func (*PackerServiceUpdateBuildOK) IsCode

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

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

func (*PackerServiceUpdateBuildOK) IsRedirect

func (o *PackerServiceUpdateBuildOK) IsRedirect() bool

IsRedirect returns true when this packer service update build o k response has a 3xx status code

func (*PackerServiceUpdateBuildOK) IsServerError

func (o *PackerServiceUpdateBuildOK) IsServerError() bool

IsServerError returns true when this packer service update build o k response has a 5xx status code

func (*PackerServiceUpdateBuildOK) IsSuccess

func (o *PackerServiceUpdateBuildOK) IsSuccess() bool

IsSuccess returns true when this packer service update build o k response has a 2xx status code

func (*PackerServiceUpdateBuildOK) String

func (o *PackerServiceUpdateBuildOK) String() string

type PackerServiceUpdateBuildParams

type PackerServiceUpdateBuildParams struct {

	// Body.
	Body *models.HashicorpCloudPacker20230101UpdateBuildBody

	// BucketName.
	BucketName string

	// BuildID.
	BuildID string

	// Fingerprint.
	Fingerprint 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
}

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

func NewPackerServiceUpdateBuildParams() *PackerServiceUpdateBuildParams

NewPackerServiceUpdateBuildParams creates a new PackerServiceUpdateBuildParams object, with the default timeout for this client.

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

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

func NewPackerServiceUpdateBuildParamsWithContext

func NewPackerServiceUpdateBuildParamsWithContext(ctx context.Context) *PackerServiceUpdateBuildParams

NewPackerServiceUpdateBuildParamsWithContext creates a new PackerServiceUpdateBuildParams object with the ability to set a context for a request.

func NewPackerServiceUpdateBuildParamsWithHTTPClient

func NewPackerServiceUpdateBuildParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateBuildParams

NewPackerServiceUpdateBuildParamsWithHTTPClient creates a new PackerServiceUpdateBuildParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceUpdateBuildParamsWithTimeout

func NewPackerServiceUpdateBuildParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateBuildParams

NewPackerServiceUpdateBuildParamsWithTimeout creates a new PackerServiceUpdateBuildParams object with the ability to set a timeout on a request.

func (*PackerServiceUpdateBuildParams) SetBody

SetBody adds the body to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetBucketName

func (o *PackerServiceUpdateBuildParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetBuildID

func (o *PackerServiceUpdateBuildParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetContext

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

SetContext adds the context to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetDefaults

func (o *PackerServiceUpdateBuildParams) SetDefaults()

SetDefaults hydrates default values in the packer service update build params (not the query body).

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

func (*PackerServiceUpdateBuildParams) SetFingerprint

func (o *PackerServiceUpdateBuildParams) SetFingerprint(fingerprint string)

SetFingerprint adds the fingerprint to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetLocationOrganizationID

func (o *PackerServiceUpdateBuildParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetLocationProjectID

func (o *PackerServiceUpdateBuildParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service update build params

func (*PackerServiceUpdateBuildParams) SetTimeout

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

SetTimeout adds the timeout to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithBody

WithBody adds the body to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithBucketName

WithBucketName adds the bucketName to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithBuildID

WithBuildID adds the buildID to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithContext

WithContext adds the context to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithDefaults

WithDefaults hydrates default values in the packer service update build params (not the query body).

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

func (*PackerServiceUpdateBuildParams) WithFingerprint

func (o *PackerServiceUpdateBuildParams) WithFingerprint(fingerprint string) *PackerServiceUpdateBuildParams

WithFingerprint adds the fingerprint to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service update build params

func (*PackerServiceUpdateBuildParams) WithTimeout

WithTimeout adds the timeout to the packer service update build params

func (*PackerServiceUpdateBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateBuildReader

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

PackerServiceUpdateBuildReader is a Reader for the PackerServiceUpdateBuild structure.

func (*PackerServiceUpdateBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceUpdateChannelDefault

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

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

An unexpected error response.

func NewPackerServiceUpdateChannelDefault

func NewPackerServiceUpdateChannelDefault(code int) *PackerServiceUpdateChannelDefault

NewPackerServiceUpdateChannelDefault creates a PackerServiceUpdateChannelDefault with default headers values

func (*PackerServiceUpdateChannelDefault) Code

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

func (*PackerServiceUpdateChannelDefault) Error

func (*PackerServiceUpdateChannelDefault) GetPayload

func (*PackerServiceUpdateChannelDefault) IsClientError

func (o *PackerServiceUpdateChannelDefault) IsClientError() bool

IsClientError returns true when this packer service update channel default response has a 4xx status code

func (*PackerServiceUpdateChannelDefault) IsCode

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

IsCode returns true when this packer service update channel default response a status code equal to that given

func (*PackerServiceUpdateChannelDefault) IsRedirect

func (o *PackerServiceUpdateChannelDefault) IsRedirect() bool

IsRedirect returns true when this packer service update channel default response has a 3xx status code

func (*PackerServiceUpdateChannelDefault) IsServerError

func (o *PackerServiceUpdateChannelDefault) IsServerError() bool

IsServerError returns true when this packer service update channel default response has a 5xx status code

func (*PackerServiceUpdateChannelDefault) IsSuccess

func (o *PackerServiceUpdateChannelDefault) IsSuccess() bool

IsSuccess returns true when this packer service update channel default response has a 2xx status code

func (*PackerServiceUpdateChannelDefault) String

type PackerServiceUpdateChannelOK

type PackerServiceUpdateChannelOK struct {
	Payload *models.HashicorpCloudPacker20230101UpdateChannelResponse
}

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

A successful response.

func NewPackerServiceUpdateChannelOK

func NewPackerServiceUpdateChannelOK() *PackerServiceUpdateChannelOK

NewPackerServiceUpdateChannelOK creates a PackerServiceUpdateChannelOK with default headers values

func (*PackerServiceUpdateChannelOK) Code

Code gets the status code for the packer service update channel o k response

func (*PackerServiceUpdateChannelOK) Error

func (*PackerServiceUpdateChannelOK) GetPayload

func (*PackerServiceUpdateChannelOK) IsClientError

func (o *PackerServiceUpdateChannelOK) IsClientError() bool

IsClientError returns true when this packer service update channel o k response has a 4xx status code

func (*PackerServiceUpdateChannelOK) IsCode

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

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

func (*PackerServiceUpdateChannelOK) IsRedirect

func (o *PackerServiceUpdateChannelOK) IsRedirect() bool

IsRedirect returns true when this packer service update channel o k response has a 3xx status code

func (*PackerServiceUpdateChannelOK) IsServerError

func (o *PackerServiceUpdateChannelOK) IsServerError() bool

IsServerError returns true when this packer service update channel o k response has a 5xx status code

func (*PackerServiceUpdateChannelOK) IsSuccess

func (o *PackerServiceUpdateChannelOK) IsSuccess() bool

IsSuccess returns true when this packer service update channel o k response has a 2xx status code

func (*PackerServiceUpdateChannelOK) String

type PackerServiceUpdateChannelParams

type PackerServiceUpdateChannelParams struct {

	// Body.
	Body *models.HashicorpCloudPacker20230101UpdateChannelBody

	// BucketName.
	BucketName string

	// ChannelName.
	ChannelName 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
}

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

func NewPackerServiceUpdateChannelParams() *PackerServiceUpdateChannelParams

NewPackerServiceUpdateChannelParams creates a new PackerServiceUpdateChannelParams object, with the default timeout for this client.

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

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

func NewPackerServiceUpdateChannelParamsWithContext

func NewPackerServiceUpdateChannelParamsWithContext(ctx context.Context) *PackerServiceUpdateChannelParams

NewPackerServiceUpdateChannelParamsWithContext creates a new PackerServiceUpdateChannelParams object with the ability to set a context for a request.

func NewPackerServiceUpdateChannelParamsWithHTTPClient

func NewPackerServiceUpdateChannelParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateChannelParams

NewPackerServiceUpdateChannelParamsWithHTTPClient creates a new PackerServiceUpdateChannelParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceUpdateChannelParamsWithTimeout

func NewPackerServiceUpdateChannelParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateChannelParams

NewPackerServiceUpdateChannelParamsWithTimeout creates a new PackerServiceUpdateChannelParams object with the ability to set a timeout on a request.

func (*PackerServiceUpdateChannelParams) SetBody

SetBody adds the body to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetBucketName

func (o *PackerServiceUpdateChannelParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetChannelName

func (o *PackerServiceUpdateChannelParams) SetChannelName(channelName string)

SetChannelName adds the channelName to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetContext

SetContext adds the context to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetDefaults

func (o *PackerServiceUpdateChannelParams) SetDefaults()

SetDefaults hydrates default values in the packer service update channel params (not the query body).

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

func (*PackerServiceUpdateChannelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetLocationOrganizationID

func (o *PackerServiceUpdateChannelParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetLocationProjectID

func (o *PackerServiceUpdateChannelParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetTimeout

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

SetTimeout adds the timeout to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithBody

WithBody adds the body to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithBucketName

WithBucketName adds the bucketName to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithChannelName

WithChannelName adds the channelName to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithContext

WithContext adds the context to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithDefaults

WithDefaults hydrates default values in the packer service update channel params (not the query body).

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

func (*PackerServiceUpdateChannelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithTimeout

WithTimeout adds the timeout to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateChannelReader

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

PackerServiceUpdateChannelReader is a Reader for the PackerServiceUpdateChannel structure.

func (*PackerServiceUpdateChannelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceUpdateRegistryDefault

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

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

An unexpected error response.

func NewPackerServiceUpdateRegistryDefault

func NewPackerServiceUpdateRegistryDefault(code int) *PackerServiceUpdateRegistryDefault

NewPackerServiceUpdateRegistryDefault creates a PackerServiceUpdateRegistryDefault with default headers values

func (*PackerServiceUpdateRegistryDefault) Code

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

func (*PackerServiceUpdateRegistryDefault) Error

func (*PackerServiceUpdateRegistryDefault) GetPayload

func (*PackerServiceUpdateRegistryDefault) IsClientError

func (o *PackerServiceUpdateRegistryDefault) IsClientError() bool

IsClientError returns true when this packer service update registry default response has a 4xx status code

func (*PackerServiceUpdateRegistryDefault) IsCode

IsCode returns true when this packer service update registry default response a status code equal to that given

func (*PackerServiceUpdateRegistryDefault) IsRedirect

func (o *PackerServiceUpdateRegistryDefault) IsRedirect() bool

IsRedirect returns true when this packer service update registry default response has a 3xx status code

func (*PackerServiceUpdateRegistryDefault) IsServerError

func (o *PackerServiceUpdateRegistryDefault) IsServerError() bool

IsServerError returns true when this packer service update registry default response has a 5xx status code

func (*PackerServiceUpdateRegistryDefault) IsSuccess

IsSuccess returns true when this packer service update registry default response has a 2xx status code

func (*PackerServiceUpdateRegistryDefault) String

type PackerServiceUpdateRegistryOK

type PackerServiceUpdateRegistryOK struct {
	Payload *models.HashicorpCloudPacker20230101UpdateRegistryResponse
}

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

A successful response.

func NewPackerServiceUpdateRegistryOK

func NewPackerServiceUpdateRegistryOK() *PackerServiceUpdateRegistryOK

NewPackerServiceUpdateRegistryOK creates a PackerServiceUpdateRegistryOK with default headers values

func (*PackerServiceUpdateRegistryOK) Code

Code gets the status code for the packer service update registry o k response

func (*PackerServiceUpdateRegistryOK) Error

func (*PackerServiceUpdateRegistryOK) GetPayload

func (*PackerServiceUpdateRegistryOK) IsClientError

func (o *PackerServiceUpdateRegistryOK) IsClientError() bool

IsClientError returns true when this packer service update registry o k response has a 4xx status code

func (*PackerServiceUpdateRegistryOK) IsCode

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

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

func (*PackerServiceUpdateRegistryOK) IsRedirect

func (o *PackerServiceUpdateRegistryOK) IsRedirect() bool

IsRedirect returns true when this packer service update registry o k response has a 3xx status code

func (*PackerServiceUpdateRegistryOK) IsServerError

func (o *PackerServiceUpdateRegistryOK) IsServerError() bool

IsServerError returns true when this packer service update registry o k response has a 5xx status code

func (*PackerServiceUpdateRegistryOK) IsSuccess

func (o *PackerServiceUpdateRegistryOK) IsSuccess() bool

IsSuccess returns true when this packer service update registry o k response has a 2xx status code

func (*PackerServiceUpdateRegistryOK) String

type PackerServiceUpdateRegistryParams

type PackerServiceUpdateRegistryParams struct {

	// Body.
	Body *models.HashicorpCloudPacker20230101UpdateRegistryBody

	/* 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
}

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

func NewPackerServiceUpdateRegistryParams() *PackerServiceUpdateRegistryParams

NewPackerServiceUpdateRegistryParams creates a new PackerServiceUpdateRegistryParams object, with the default timeout for this client.

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

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

func NewPackerServiceUpdateRegistryParamsWithContext

func NewPackerServiceUpdateRegistryParamsWithContext(ctx context.Context) *PackerServiceUpdateRegistryParams

NewPackerServiceUpdateRegistryParamsWithContext creates a new PackerServiceUpdateRegistryParams object with the ability to set a context for a request.

func NewPackerServiceUpdateRegistryParamsWithHTTPClient

func NewPackerServiceUpdateRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateRegistryParams

NewPackerServiceUpdateRegistryParamsWithHTTPClient creates a new PackerServiceUpdateRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceUpdateRegistryParamsWithTimeout

func NewPackerServiceUpdateRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateRegistryParams

NewPackerServiceUpdateRegistryParamsWithTimeout creates a new PackerServiceUpdateRegistryParams object with the ability to set a timeout on a request.

func (*PackerServiceUpdateRegistryParams) SetBody

SetBody adds the body to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) SetContext

SetContext adds the context to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) SetDefaults

func (o *PackerServiceUpdateRegistryParams) SetDefaults()

SetDefaults hydrates default values in the packer service update registry params (not the query body).

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

func (*PackerServiceUpdateRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) SetLocationOrganizationID

func (o *PackerServiceUpdateRegistryParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) SetLocationProjectID

func (o *PackerServiceUpdateRegistryParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithBody

WithBody adds the body to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithContext

WithContext adds the context to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithDefaults

WithDefaults hydrates default values in the packer service update registry params (not the query body).

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

func (*PackerServiceUpdateRegistryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WithTimeout

WithTimeout adds the timeout to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateRegistryReader

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

PackerServiceUpdateRegistryReader is a Reader for the PackerServiceUpdateRegistry structure.

func (*PackerServiceUpdateRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceUpdateVersionDefault

type PackerServiceUpdateVersionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewPackerServiceUpdateVersionDefault

func NewPackerServiceUpdateVersionDefault(code int) *PackerServiceUpdateVersionDefault

NewPackerServiceUpdateVersionDefault creates a PackerServiceUpdateVersionDefault with default headers values

func (*PackerServiceUpdateVersionDefault) Code

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

func (*PackerServiceUpdateVersionDefault) Error

func (*PackerServiceUpdateVersionDefault) GetPayload

func (*PackerServiceUpdateVersionDefault) IsClientError

func (o *PackerServiceUpdateVersionDefault) IsClientError() bool

IsClientError returns true when this packer service update version default response has a 4xx status code

func (*PackerServiceUpdateVersionDefault) IsCode

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

IsCode returns true when this packer service update version default response a status code equal to that given

func (*PackerServiceUpdateVersionDefault) IsRedirect

func (o *PackerServiceUpdateVersionDefault) IsRedirect() bool

IsRedirect returns true when this packer service update version default response has a 3xx status code

func (*PackerServiceUpdateVersionDefault) IsServerError

func (o *PackerServiceUpdateVersionDefault) IsServerError() bool

IsServerError returns true when this packer service update version default response has a 5xx status code

func (*PackerServiceUpdateVersionDefault) IsSuccess

func (o *PackerServiceUpdateVersionDefault) IsSuccess() bool

IsSuccess returns true when this packer service update version default response has a 2xx status code

func (*PackerServiceUpdateVersionDefault) String

type PackerServiceUpdateVersionOK

type PackerServiceUpdateVersionOK struct {
	Payload *models.HashicorpCloudPacker20230101UpdateVersionResponse
}

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

A successful response.

func NewPackerServiceUpdateVersionOK

func NewPackerServiceUpdateVersionOK() *PackerServiceUpdateVersionOK

NewPackerServiceUpdateVersionOK creates a PackerServiceUpdateVersionOK with default headers values

func (*PackerServiceUpdateVersionOK) Code

Code gets the status code for the packer service update version o k response

func (*PackerServiceUpdateVersionOK) Error

func (*PackerServiceUpdateVersionOK) GetPayload

func (*PackerServiceUpdateVersionOK) IsClientError

func (o *PackerServiceUpdateVersionOK) IsClientError() bool

IsClientError returns true when this packer service update version o k response has a 4xx status code

func (*PackerServiceUpdateVersionOK) IsCode

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

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

func (*PackerServiceUpdateVersionOK) IsRedirect

func (o *PackerServiceUpdateVersionOK) IsRedirect() bool

IsRedirect returns true when this packer service update version o k response has a 3xx status code

func (*PackerServiceUpdateVersionOK) IsServerError

func (o *PackerServiceUpdateVersionOK) IsServerError() bool

IsServerError returns true when this packer service update version o k response has a 5xx status code

func (*PackerServiceUpdateVersionOK) IsSuccess

func (o *PackerServiceUpdateVersionOK) IsSuccess() bool

IsSuccess returns true when this packer service update version o k response has a 2xx status code

func (*PackerServiceUpdateVersionOK) String

type PackerServiceUpdateVersionParams

type PackerServiceUpdateVersionParams struct {

	// Body.
	Body *models.HashicorpCloudPacker20230101UpdateVersionBody

	// BucketName.
	BucketName string

	// Fingerprint.
	Fingerprint 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
}

PackerServiceUpdateVersionParams contains all the parameters to send to the API endpoint

for the packer service update version operation.

Typically these are written to a http.Request.

func NewPackerServiceUpdateVersionParams

func NewPackerServiceUpdateVersionParams() *PackerServiceUpdateVersionParams

NewPackerServiceUpdateVersionParams creates a new PackerServiceUpdateVersionParams object, with the default timeout for this client.

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

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

func NewPackerServiceUpdateVersionParamsWithContext

func NewPackerServiceUpdateVersionParamsWithContext(ctx context.Context) *PackerServiceUpdateVersionParams

NewPackerServiceUpdateVersionParamsWithContext creates a new PackerServiceUpdateVersionParams object with the ability to set a context for a request.

func NewPackerServiceUpdateVersionParamsWithHTTPClient

func NewPackerServiceUpdateVersionParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateVersionParams

NewPackerServiceUpdateVersionParamsWithHTTPClient creates a new PackerServiceUpdateVersionParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceUpdateVersionParamsWithTimeout

func NewPackerServiceUpdateVersionParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateVersionParams

NewPackerServiceUpdateVersionParamsWithTimeout creates a new PackerServiceUpdateVersionParams object with the ability to set a timeout on a request.

func (*PackerServiceUpdateVersionParams) SetBody

SetBody adds the body to the packer service update version params

func (*PackerServiceUpdateVersionParams) SetBucketName

func (o *PackerServiceUpdateVersionParams) SetBucketName(bucketName string)

SetBucketName adds the bucketName to the packer service update version params

func (*PackerServiceUpdateVersionParams) SetContext

SetContext adds the context to the packer service update version params

func (*PackerServiceUpdateVersionParams) SetDefaults

func (o *PackerServiceUpdateVersionParams) SetDefaults()

SetDefaults hydrates default values in the packer service update version params (not the query body).

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

func (*PackerServiceUpdateVersionParams) SetFingerprint

func (o *PackerServiceUpdateVersionParams) SetFingerprint(fingerprint string)

SetFingerprint adds the fingerprint to the packer service update version params

func (*PackerServiceUpdateVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service update version params

func (*PackerServiceUpdateVersionParams) SetLocationOrganizationID

func (o *PackerServiceUpdateVersionParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service update version params

func (*PackerServiceUpdateVersionParams) SetLocationProjectID

func (o *PackerServiceUpdateVersionParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service update version params

func (*PackerServiceUpdateVersionParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service update version params

func (*PackerServiceUpdateVersionParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service update version params

func (*PackerServiceUpdateVersionParams) SetTimeout

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

SetTimeout adds the timeout to the packer service update version params

func (*PackerServiceUpdateVersionParams) WithBody

WithBody adds the body to the packer service update version params

func (*PackerServiceUpdateVersionParams) WithBucketName

WithBucketName adds the bucketName to the packer service update version params

func (*PackerServiceUpdateVersionParams) WithContext

WithContext adds the context to the packer service update version params

func (*PackerServiceUpdateVersionParams) WithDefaults

WithDefaults hydrates default values in the packer service update version params (not the query body).

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

func (*PackerServiceUpdateVersionParams) WithFingerprint

WithFingerprint adds the fingerprint to the packer service update version params

func (*PackerServiceUpdateVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service update version params

func (*PackerServiceUpdateVersionParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service update version params

func (*PackerServiceUpdateVersionParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service update version params

func (*PackerServiceUpdateVersionParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service update version params

func (*PackerServiceUpdateVersionParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service update version params

func (*PackerServiceUpdateVersionParams) WithTimeout

WithTimeout adds the timeout to the packer service update version params

func (*PackerServiceUpdateVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateVersionReader

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

PackerServiceUpdateVersionReader is a Reader for the PackerServiceUpdateVersion structure.

func (*PackerServiceUpdateVersionReader) ReadResponse

func (o *PackerServiceUpdateVersionReader) 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