packer_service

package
v0.94.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 13 Imported by: 2

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 an image 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 an image build in the provided image iteration it is called once for each build source in a packer build run the request will error if the build for a given cloud provider 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 an iteration

func (*Client) PackerServiceCreateIteration

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

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

func (*Client) PackerServiceCreateRegistry

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

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

func (*Client) PackerServiceDeleteBucket

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

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

func (*Client) PackerServiceDeleteBuild

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

PackerServiceDeleteBuild deletes a build in the provided iteration

func (*Client) PackerServiceDeleteChannel

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

PackerServiceDeleteChannel deletes a channel

func (*Client) PackerServiceDeleteIteration

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

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

func (*Client) PackerServiceDeleteRegistry

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

PackerServiceDeleteRegistry deactivates an active h c p packer registry deactivating a registry will stop any additional billing for the resource setting the hard delete param to true will delete the registry and any associated resources from the database

func (*Client) PackerServiceGetBucket

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

PackerServiceGetBucket gets a bucket with its latest completed iteration

func (*Client) PackerServiceGetBuild

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

PackerServiceGetBuild gets a build with its list of images

func (*Client) PackerServiceGetChannel

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

PackerServiceGetChannel gets a channel with the iteration that it is currently assigned if any

func (*Client) PackerServiceGetIteration

func (a *Client) PackerServiceGetIteration(params *PackerServiceGetIterationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetIterationOK, error)

PackerServiceGetIteration allows the user to get an iteration using one of the following identifiers iteration id incremental version fingerprint these are supplied as a query parameter e g images bucket slug iteration fingerprint fingerprint

func (*Client) PackerServiceGetRegistry

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

PackerServiceGetRegistry gets a 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) PackerServiceListBucketAncestry added in v0.36.0

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

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

func (*Client) PackerServiceListBuckets

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

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

func (*Client) PackerServiceListBuilds

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

PackerServiceListBuilds lists every existing build and its images for an iteration

func (*Client) PackerServiceListChannelHistory added in v0.39.0

func (a *Client) PackerServiceListChannelHistory(params *PackerServiceListChannelHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListChannelHistoryOK, error)

PackerServiceListChannelHistory lists a channel assignment 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) PackerServiceListIterations

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

PackerServiceListIterations lists every existing iteration 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 a bucket s information

func (*Client) PackerServiceUpdateBuild

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

PackerServiceUpdateBuild updates an image 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 a channel to clear or point to a new iteration

func (*Client) PackerServiceUpdateIteration

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

PackerServiceUpdateIteration this API can be used to revoke restore or complete an iteration revoking can be done at any time to complete or incomplete iterations immediately or in the future depending on the passing timestamp when an iteration is revoked all its descendants will automatically get revoked unless skip descendants revocation is set descendants will get revoked asynchronously to the request revoked iterations cannot be updated unless restored to make build specific updates for builds within the iteration use the update build endpoint

func (*Client) PackerServiceUpdateRegistry

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

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.23.0

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)

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

	PackerServiceCreateRegistry(params *PackerServiceCreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateRegistryOK, 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)

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

	PackerServiceDeleteRegistry(params *PackerServiceDeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteRegistryOK, 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)

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

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

	PackerServiceGetRegistryTFCRunTaskAPI(params *PackerServiceGetRegistryTFCRunTaskAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetRegistryTFCRunTaskAPIOK, 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)

	PackerServiceListChannelHistory(params *PackerServiceListChannelHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListChannelHistoryOK, error)

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

	PackerServiceListIterations(params *PackerServiceListIterationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListIterationsOK, 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)

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

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

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new packer service API client.

type PackerServiceCreateBucketBody added in v0.28.0

type PackerServiceCreateBucketBody struct {

	// Human-readable name for the bucket.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// A short description of what this bucket's images are for.
	Description string `json:"description,omitempty"`

	// A key:value map for custom, user-settable metadata about your bucket.
	Labels map[string]string `json:"labels,omitempty"`

	// location
	Location *PackerServiceCreateBucketParamsBodyLocation `json:"location,omitempty"`
}

PackerServiceCreateBucketBody packer service create bucket body swagger:model PackerServiceCreateBucketBody

func (*PackerServiceCreateBucketBody) ContextValidate added in v0.28.0

func (o *PackerServiceCreateBucketBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packer service create bucket body based on the context it is used

func (*PackerServiceCreateBucketBody) MarshalBinary added in v0.28.0

func (o *PackerServiceCreateBucketBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceCreateBucketBody) UnmarshalBinary added in v0.28.0

func (o *PackerServiceCreateBucketBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceCreateBucketBody) Validate added in v0.28.0

func (o *PackerServiceCreateBucketBody) Validate(formats strfmt.Registry) error

Validate validates this packer service create bucket body

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 added in v0.23.0

func (o *PackerServiceCreateBucketDefault) IsClientError() bool

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

func (*PackerServiceCreateBucketDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceCreateBucketDefault) IsRedirect() bool

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

func (*PackerServiceCreateBucketDefault) IsServerError added in v0.23.0

func (o *PackerServiceCreateBucketDefault) IsServerError() bool

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

func (*PackerServiceCreateBucketDefault) IsSuccess added in v0.23.0

func (o *PackerServiceCreateBucketDefault) IsSuccess() bool

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

func (*PackerServiceCreateBucketDefault) String added in v0.23.0

type PackerServiceCreateBucketOK

type PackerServiceCreateBucketOK struct {
	Payload *models.HashicorpCloudPackerCreateBucketResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceCreateBucketOK) String() string

type PackerServiceCreateBucketParams

type PackerServiceCreateBucketParams struct {

	// Body.
	Body PackerServiceCreateBucketBody

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

PackerServiceCreateBucketParams contains all the parameters to send to the API endpoint

for the packer service create bucket operation.

Typically these are written to a http.Request.

func NewPackerServiceCreateBucketParams

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 added in v0.23.0

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) 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 added in v0.23.0

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) WithTimeout

WithTimeout adds the timeout to the packer service create bucket params

func (*PackerServiceCreateBucketParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceCreateBucketParamsBodyLocation added in v0.28.0

type PackerServiceCreateBucketParamsBodyLocation 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"`
}

PackerServiceCreateBucketParamsBodyLocation Location represents a target for an operation in HCP. swagger:model PackerServiceCreateBucketParamsBodyLocation

func (*PackerServiceCreateBucketParamsBodyLocation) ContextValidate added in v0.28.0

ContextValidate validate this packer service create bucket params body location based on the context it is used

func (*PackerServiceCreateBucketParamsBodyLocation) MarshalBinary added in v0.28.0

func (o *PackerServiceCreateBucketParamsBodyLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceCreateBucketParamsBodyLocation) UnmarshalBinary added in v0.28.0

func (o *PackerServiceCreateBucketParamsBodyLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceCreateBucketParamsBodyLocation) Validate added in v0.28.0

Validate validates this packer service create bucket params body location

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 PackerServiceCreateBuildBody added in v0.28.0

type PackerServiceCreateBuildBody struct {

	// Information about the build to create.
	Build *models.HashicorpCloudPackerBuildCreateBody `json:"build,omitempty"`

	// Fingerprint of the iteration set by Packer when you call `packer build`.
	// Refer to the Packer documentation for more information on how this value is set.
	// The fingerprint can be used as an identifier for the iteration.
	Fingerprint string `json:"fingerprint,omitempty"`

	// location
	Location *PackerServiceCreateBuildParamsBodyLocation `json:"location,omitempty"`
}

PackerServiceCreateBuildBody packer service create build body swagger:model PackerServiceCreateBuildBody

func (*PackerServiceCreateBuildBody) ContextValidate added in v0.28.0

func (o *PackerServiceCreateBuildBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packer service create build body based on the context it is used

func (*PackerServiceCreateBuildBody) MarshalBinary added in v0.28.0

func (o *PackerServiceCreateBuildBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceCreateBuildBody) UnmarshalBinary added in v0.28.0

func (o *PackerServiceCreateBuildBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceCreateBuildBody) Validate added in v0.28.0

func (o *PackerServiceCreateBuildBody) Validate(formats strfmt.Registry) error

Validate validates this packer service create build body

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 added in v0.23.0

func (o *PackerServiceCreateBuildDefault) IsClientError() bool

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

func (*PackerServiceCreateBuildDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceCreateBuildDefault) IsRedirect() bool

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

func (*PackerServiceCreateBuildDefault) IsServerError added in v0.23.0

func (o *PackerServiceCreateBuildDefault) IsServerError() bool

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

func (*PackerServiceCreateBuildDefault) IsSuccess added in v0.23.0

func (o *PackerServiceCreateBuildDefault) IsSuccess() bool

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

func (*PackerServiceCreateBuildDefault) String added in v0.23.0

type PackerServiceCreateBuildOK

type PackerServiceCreateBuildOK struct {
	Payload *models.HashicorpCloudPackerCreateBuildResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceCreateBuildOK) String() string

type PackerServiceCreateBuildParams

type PackerServiceCreateBuildParams struct {

	// Body.
	Body PackerServiceCreateBuildBody

	/* BucketSlug.

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

	/* IterationID.

	   ULID of the iteration that this build should be associated with.
	*/
	IterationID string

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

PackerServiceCreateBuildParams contains all the parameters to send to the API endpoint

for the packer service create build operation.

Typically these are written to a http.Request.

func NewPackerServiceCreateBuildParams

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) SetBucketSlug

func (o *PackerServiceCreateBuildParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug 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 added in v0.23.0

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service create build params

func (*PackerServiceCreateBuildParams) SetIterationID

func (o *PackerServiceCreateBuildParams) SetIterationID(iterationID string)

SetIterationID adds the iterationId 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) 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) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service create build params

func (*PackerServiceCreateBuildParams) WithContext

WithContext adds the context to the packer service create build params

func (*PackerServiceCreateBuildParams) WithDefaults added in v0.23.0

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) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service create build params

func (*PackerServiceCreateBuildParams) WithIterationID

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

WithIterationID adds the iterationID 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) WithTimeout

WithTimeout adds the timeout to the packer service create build params

func (*PackerServiceCreateBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceCreateBuildParamsBodyLocation added in v0.28.0

type PackerServiceCreateBuildParamsBodyLocation 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"`
}

PackerServiceCreateBuildParamsBodyLocation Location represents a target for an operation in HCP. swagger:model PackerServiceCreateBuildParamsBodyLocation

func (*PackerServiceCreateBuildParamsBodyLocation) ContextValidate added in v0.28.0

ContextValidate validate this packer service create build params body location based on the context it is used

func (*PackerServiceCreateBuildParamsBodyLocation) MarshalBinary added in v0.28.0

func (o *PackerServiceCreateBuildParamsBodyLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceCreateBuildParamsBodyLocation) UnmarshalBinary added in v0.28.0

func (o *PackerServiceCreateBuildParamsBodyLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceCreateBuildParamsBodyLocation) Validate added in v0.28.0

Validate validates this packer service create build params body location

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 PackerServiceCreateChannelBody added in v0.28.0

type PackerServiceCreateChannelBody struct {

	// Fingerprint of the iteration set by Packer when you call `packer build`.
	// Refer to the Packer documentation for more information on how this value is set.
	// The fingerprint can be used as an identifier for the iteration.
	Fingerprint string `json:"fingerprint,omitempty"`

	// The human-readable version number assigned to this iteration.
	IncrementalVersion int32 `json:"incremental_version,omitempty"`

	// ULID of the iteration.
	IterationID string `json:"iteration_id,omitempty"`

	// location
	Location *PackerServiceCreateChannelParamsBodyLocation `json:"location,omitempty"`

	// When set, will set the channel access in HCP Packer registry. The channel is unrestricted by default;
	Restriction *models.HashicorpCloudPackerCreateChannelRequestRestriction `json:"restriction,omitempty"`

	// Human-readable name for the channel.
	Slug string `json:"slug,omitempty"`
}

PackerServiceCreateChannelBody packer service create channel body swagger:model PackerServiceCreateChannelBody

func (*PackerServiceCreateChannelBody) ContextValidate added in v0.28.0

func (o *PackerServiceCreateChannelBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packer service create channel body based on the context it is used

func (*PackerServiceCreateChannelBody) MarshalBinary added in v0.28.0

func (o *PackerServiceCreateChannelBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceCreateChannelBody) UnmarshalBinary added in v0.28.0

func (o *PackerServiceCreateChannelBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceCreateChannelBody) Validate added in v0.28.0

func (o *PackerServiceCreateChannelBody) Validate(formats strfmt.Registry) error

Validate validates this packer service create channel body

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 added in v0.23.0

func (o *PackerServiceCreateChannelDefault) IsClientError() bool

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

func (*PackerServiceCreateChannelDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceCreateChannelDefault) IsRedirect() bool

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

func (*PackerServiceCreateChannelDefault) IsServerError added in v0.23.0

func (o *PackerServiceCreateChannelDefault) IsServerError() bool

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

func (*PackerServiceCreateChannelDefault) IsSuccess added in v0.23.0

func (o *PackerServiceCreateChannelDefault) IsSuccess() bool

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

func (*PackerServiceCreateChannelDefault) String added in v0.23.0

type PackerServiceCreateChannelOK

type PackerServiceCreateChannelOK struct {
	Payload *models.HashicorpCloudPackerCreateChannelResponse
}

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 added in v0.82.0

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

func (*PackerServiceCreateChannelOK) Error

func (*PackerServiceCreateChannelOK) GetPayload

func (*PackerServiceCreateChannelOK) IsClientError added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

type PackerServiceCreateChannelParams

type PackerServiceCreateChannelParams struct {

	// Body.
	Body PackerServiceCreateChannelBody

	/* BucketSlug.

	   Human-readable name for the bucket to associate the channel with.
	*/
	BucketSlug string

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

PackerServiceCreateChannelParams contains all the parameters to send to the API endpoint

for the packer service create channel operation.

Typically these are written to a http.Request.

func NewPackerServiceCreateChannelParams

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) SetBucketSlug

func (o *PackerServiceCreateChannelParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetContext

SetContext adds the context to the packer service create channel params

func (*PackerServiceCreateChannelParams) SetDefaults added in v0.23.0

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) 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) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithContext

WithContext adds the context to the packer service create channel params

func (*PackerServiceCreateChannelParams) WithDefaults added in v0.23.0

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) WithTimeout

WithTimeout adds the timeout to the packer service create channel params

func (*PackerServiceCreateChannelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceCreateChannelParamsBodyLocation added in v0.28.0

type PackerServiceCreateChannelParamsBodyLocation 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"`
}

PackerServiceCreateChannelParamsBodyLocation Location represents a target for an operation in HCP. swagger:model PackerServiceCreateChannelParamsBodyLocation

func (*PackerServiceCreateChannelParamsBodyLocation) ContextValidate added in v0.28.0

ContextValidate validate this packer service create channel params body location based on the context it is used

func (*PackerServiceCreateChannelParamsBodyLocation) MarshalBinary added in v0.28.0

MarshalBinary interface implementation

func (*PackerServiceCreateChannelParamsBodyLocation) UnmarshalBinary added in v0.28.0

UnmarshalBinary interface implementation

func (*PackerServiceCreateChannelParamsBodyLocation) Validate added in v0.28.0

Validate validates this packer service create channel params body location

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 PackerServiceCreateIterationBody added in v0.28.0

type PackerServiceCreateIterationBody struct {

	// Fingerprint of the iteration set by Packer when you call `packer build`.
	// Refer to the Packer documentation for more information on how this value is set.
	// The fingerprint can be used as an identifier for the iteration.
	// A valid fingerprint is 1-40 characters long and contains only ASCII letters, numbers, hyphens, dots, quotes,
	// and underscores.
	Fingerprint string `json:"fingerprint,omitempty"`

	// location
	Location *PackerServiceCreateIterationParamsBodyLocation `json:"location,omitempty"`

	// The type of Packer configuration template used to build this iteration.
	TemplateType *models.HashicorpCloudPackerIterationTemplateType `json:"template_type,omitempty"`
}

PackerServiceCreateIterationBody packer service create iteration body swagger:model PackerServiceCreateIterationBody

func (*PackerServiceCreateIterationBody) ContextValidate added in v0.28.0

func (o *PackerServiceCreateIterationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packer service create iteration body based on the context it is used

func (*PackerServiceCreateIterationBody) MarshalBinary added in v0.28.0

func (o *PackerServiceCreateIterationBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceCreateIterationBody) UnmarshalBinary added in v0.28.0

func (o *PackerServiceCreateIterationBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceCreateIterationBody) Validate added in v0.28.0

Validate validates this packer service create iteration body

type PackerServiceCreateIterationDefault

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

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

An unexpected error response.

func NewPackerServiceCreateIterationDefault

func NewPackerServiceCreateIterationDefault(code int) *PackerServiceCreateIterationDefault

NewPackerServiceCreateIterationDefault creates a PackerServiceCreateIterationDefault with default headers values

func (*PackerServiceCreateIterationDefault) Code

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

func (*PackerServiceCreateIterationDefault) Error

func (*PackerServiceCreateIterationDefault) GetPayload

func (*PackerServiceCreateIterationDefault) IsClientError added in v0.23.0

func (o *PackerServiceCreateIterationDefault) IsClientError() bool

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

func (*PackerServiceCreateIterationDefault) IsCode added in v0.23.0

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

func (*PackerServiceCreateIterationDefault) IsRedirect added in v0.23.0

func (o *PackerServiceCreateIterationDefault) IsRedirect() bool

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

func (*PackerServiceCreateIterationDefault) IsServerError added in v0.23.0

func (o *PackerServiceCreateIterationDefault) IsServerError() bool

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

func (*PackerServiceCreateIterationDefault) IsSuccess added in v0.23.0

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

func (*PackerServiceCreateIterationDefault) String added in v0.23.0

type PackerServiceCreateIterationOK

type PackerServiceCreateIterationOK struct {
	Payload *models.HashicorpCloudPackerCreateIterationResponse
}

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

A successful response.

func NewPackerServiceCreateIterationOK

func NewPackerServiceCreateIterationOK() *PackerServiceCreateIterationOK

NewPackerServiceCreateIterationOK creates a PackerServiceCreateIterationOK with default headers values

func (*PackerServiceCreateIterationOK) Code added in v0.82.0

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

func (*PackerServiceCreateIterationOK) Error

func (*PackerServiceCreateIterationOK) GetPayload

func (*PackerServiceCreateIterationOK) IsClientError added in v0.23.0

func (o *PackerServiceCreateIterationOK) IsClientError() bool

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

func (*PackerServiceCreateIterationOK) IsCode added in v0.23.0

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

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

func (*PackerServiceCreateIterationOK) IsRedirect added in v0.23.0

func (o *PackerServiceCreateIterationOK) IsRedirect() bool

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

func (*PackerServiceCreateIterationOK) IsServerError added in v0.23.0

func (o *PackerServiceCreateIterationOK) IsServerError() bool

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

func (*PackerServiceCreateIterationOK) IsSuccess added in v0.23.0

func (o *PackerServiceCreateIterationOK) IsSuccess() bool

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

func (*PackerServiceCreateIterationOK) String added in v0.23.0

type PackerServiceCreateIterationParams

type PackerServiceCreateIterationParams struct {

	// Body.
	Body PackerServiceCreateIterationBody

	/* BucketSlug.

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

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

PackerServiceCreateIterationParams contains all the parameters to send to the API endpoint

for the packer service create iteration operation.

Typically these are written to a http.Request.

func NewPackerServiceCreateIterationParams

func NewPackerServiceCreateIterationParams() *PackerServiceCreateIterationParams

NewPackerServiceCreateIterationParams creates a new PackerServiceCreateIterationParams 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 NewPackerServiceCreateIterationParamsWithContext

func NewPackerServiceCreateIterationParamsWithContext(ctx context.Context) *PackerServiceCreateIterationParams

NewPackerServiceCreateIterationParamsWithContext creates a new PackerServiceCreateIterationParams object with the ability to set a context for a request.

func NewPackerServiceCreateIterationParamsWithHTTPClient

func NewPackerServiceCreateIterationParamsWithHTTPClient(client *http.Client) *PackerServiceCreateIterationParams

NewPackerServiceCreateIterationParamsWithHTTPClient creates a new PackerServiceCreateIterationParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceCreateIterationParamsWithTimeout

func NewPackerServiceCreateIterationParamsWithTimeout(timeout time.Duration) *PackerServiceCreateIterationParams

NewPackerServiceCreateIterationParamsWithTimeout creates a new PackerServiceCreateIterationParams object with the ability to set a timeout on a request.

func (*PackerServiceCreateIterationParams) SetBody

SetBody adds the body to the packer service create iteration params

func (*PackerServiceCreateIterationParams) SetBucketSlug

func (o *PackerServiceCreateIterationParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service create iteration params

func (*PackerServiceCreateIterationParams) SetContext

SetContext adds the context to the packer service create iteration params

func (*PackerServiceCreateIterationParams) SetDefaults added in v0.23.0

func (o *PackerServiceCreateIterationParams) SetDefaults()

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

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

func (*PackerServiceCreateIterationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service create iteration params

func (*PackerServiceCreateIterationParams) SetLocationOrganizationID

func (o *PackerServiceCreateIterationParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service create iteration params

func (*PackerServiceCreateIterationParams) SetLocationProjectID

func (o *PackerServiceCreateIterationParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service create iteration params

func (*PackerServiceCreateIterationParams) SetTimeout

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

SetTimeout adds the timeout to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithBody

WithBody adds the body to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithContext

WithContext adds the context to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithDefaults added in v0.23.0

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

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

func (*PackerServiceCreateIterationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WithTimeout

WithTimeout adds the timeout to the packer service create iteration params

func (*PackerServiceCreateIterationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceCreateIterationParamsBodyLocation added in v0.28.0

type PackerServiceCreateIterationParamsBodyLocation 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"`
}

PackerServiceCreateIterationParamsBodyLocation Location represents a target for an operation in HCP. swagger:model PackerServiceCreateIterationParamsBodyLocation

func (*PackerServiceCreateIterationParamsBodyLocation) ContextValidate added in v0.28.0

ContextValidate validate this packer service create iteration params body location based on the context it is used

func (*PackerServiceCreateIterationParamsBodyLocation) MarshalBinary added in v0.28.0

MarshalBinary interface implementation

func (*PackerServiceCreateIterationParamsBodyLocation) UnmarshalBinary added in v0.28.0

UnmarshalBinary interface implementation

func (*PackerServiceCreateIterationParamsBodyLocation) Validate added in v0.28.0

Validate validates this packer service create iteration params body location

type PackerServiceCreateIterationReader

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

PackerServiceCreateIterationReader is a Reader for the PackerServiceCreateIteration structure.

func (*PackerServiceCreateIterationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceCreateRegistryBody added in v0.28.0

type PackerServiceCreateRegistryBody struct {

	// Feature tier of the Registry.
	FeatureTier *models.HashicorpCloudPackerRegistryConfigTier `json:"feature_tier,omitempty"`

	// location
	Location *PackerServiceCreateRegistryParamsBodyLocation `json:"location,omitempty"`
}

PackerServiceCreateRegistryBody packer service create registry body swagger:model PackerServiceCreateRegistryBody

func (*PackerServiceCreateRegistryBody) ContextValidate added in v0.28.0

func (o *PackerServiceCreateRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packer service create registry body based on the context it is used

func (*PackerServiceCreateRegistryBody) MarshalBinary added in v0.28.0

func (o *PackerServiceCreateRegistryBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceCreateRegistryBody) UnmarshalBinary added in v0.28.0

func (o *PackerServiceCreateRegistryBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceCreateRegistryBody) Validate added in v0.28.0

Validate validates this packer service create registry body

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 added in v0.23.0

func (o *PackerServiceCreateRegistryDefault) IsClientError() bool

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

func (*PackerServiceCreateRegistryDefault) IsCode added in v0.23.0

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

func (*PackerServiceCreateRegistryDefault) IsRedirect added in v0.23.0

func (o *PackerServiceCreateRegistryDefault) IsRedirect() bool

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

func (*PackerServiceCreateRegistryDefault) IsServerError added in v0.23.0

func (o *PackerServiceCreateRegistryDefault) IsServerError() bool

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

func (*PackerServiceCreateRegistryDefault) IsSuccess added in v0.23.0

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

func (*PackerServiceCreateRegistryDefault) String added in v0.23.0

type PackerServiceCreateRegistryOK

type PackerServiceCreateRegistryOK struct {
	Payload *models.HashicorpCloudPackerCreateRegistryResponse
}

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 added in v0.82.0

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

func (*PackerServiceCreateRegistryOK) Error

func (*PackerServiceCreateRegistryOK) GetPayload

func (*PackerServiceCreateRegistryOK) IsClientError added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

type PackerServiceCreateRegistryParams

type PackerServiceCreateRegistryParams struct {

	// Body.
	Body PackerServiceCreateRegistryBody

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

PackerServiceCreateRegistryParams contains all the parameters to send to the API endpoint

for the packer service create registry operation.

Typically these are written to a http.Request.

func NewPackerServiceCreateRegistryParams

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 added in v0.23.0

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) 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 added in v0.23.0

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) WithTimeout

WithTimeout adds the timeout to the packer service create registry params

func (*PackerServiceCreateRegistryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceCreateRegistryParamsBodyLocation added in v0.28.0

type PackerServiceCreateRegistryParamsBodyLocation 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"`
}

PackerServiceCreateRegistryParamsBodyLocation Location represents a target for an operation in HCP. swagger:model PackerServiceCreateRegistryParamsBodyLocation

func (*PackerServiceCreateRegistryParamsBodyLocation) ContextValidate added in v0.28.0

ContextValidate validate this packer service create registry params body location based on the context it is used

func (*PackerServiceCreateRegistryParamsBodyLocation) MarshalBinary added in v0.28.0

MarshalBinary interface implementation

func (*PackerServiceCreateRegistryParamsBodyLocation) UnmarshalBinary added in v0.28.0

UnmarshalBinary interface implementation

func (*PackerServiceCreateRegistryParamsBodyLocation) Validate added in v0.28.0

Validate validates this packer service create registry params body location

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 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 added in v0.23.0

func (o *PackerServiceDeleteBucketDefault) IsClientError() bool

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

func (*PackerServiceDeleteBucketDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceDeleteBucketDefault) IsRedirect() bool

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

func (*PackerServiceDeleteBucketDefault) IsServerError added in v0.23.0

func (o *PackerServiceDeleteBucketDefault) IsServerError() bool

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

func (*PackerServiceDeleteBucketDefault) IsSuccess added in v0.23.0

func (o *PackerServiceDeleteBucketDefault) IsSuccess() bool

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

func (*PackerServiceDeleteBucketDefault) String added in v0.23.0

type PackerServiceDeleteBucketOK

type PackerServiceDeleteBucketOK struct {
	Payload models.HashicorpCloudPackerDeleteBucketResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceDeleteBucketOK) String() string

type PackerServiceDeleteBucketParams

type PackerServiceDeleteBucketParams struct {

	/* BucketSlug.

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

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

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

PackerServiceDeleteBucketParams contains all the parameters to send to the API endpoint

for the packer service delete bucket operation.

Typically these are written to a http.Request.

func NewPackerServiceDeleteBucketParams

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) SetBucketSlug

func (o *PackerServiceDeleteBucketParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug 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 added in v0.23.0

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) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithContext

WithContext adds the context to the packer service delete bucket params

func (*PackerServiceDeleteBucketParams) WithDefaults added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceDeleteBuildDefault) IsClientError() bool

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

func (*PackerServiceDeleteBuildDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceDeleteBuildDefault) IsRedirect() bool

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

func (*PackerServiceDeleteBuildDefault) IsServerError added in v0.23.0

func (o *PackerServiceDeleteBuildDefault) IsServerError() bool

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

func (*PackerServiceDeleteBuildDefault) IsSuccess added in v0.23.0

func (o *PackerServiceDeleteBuildDefault) IsSuccess() bool

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

func (*PackerServiceDeleteBuildDefault) String added in v0.23.0

type PackerServiceDeleteBuildOK

type PackerServiceDeleteBuildOK struct {
	Payload models.HashicorpCloudPackerDeleteBuildResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceDeleteBuildOK) String() string

type PackerServiceDeleteBuildParams

type PackerServiceDeleteBuildParams struct {

	/* BuildID.

	   ULID of the build that should be deleted.
	*/
	BuildID string

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

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

PackerServiceDeleteBuildParams contains all the parameters to send to the API endpoint

for the packer service delete build operation.

Typically these are written to a http.Request.

func NewPackerServiceDeleteBuildParams

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) 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 added in v0.23.0

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) 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) 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 added in v0.23.0

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) 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 added in v0.23.0

func (o *PackerServiceDeleteChannelDefault) IsClientError() bool

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

func (*PackerServiceDeleteChannelDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceDeleteChannelDefault) IsRedirect() bool

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

func (*PackerServiceDeleteChannelDefault) IsServerError added in v0.23.0

func (o *PackerServiceDeleteChannelDefault) IsServerError() bool

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

func (*PackerServiceDeleteChannelDefault) IsSuccess added in v0.23.0

func (o *PackerServiceDeleteChannelDefault) IsSuccess() bool

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

func (*PackerServiceDeleteChannelDefault) String added in v0.23.0

type PackerServiceDeleteChannelOK

type PackerServiceDeleteChannelOK struct {
	Payload models.HashicorpCloudPackerDeleteChannelResponse
}

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 added in v0.82.0

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

func (*PackerServiceDeleteChannelOK) Error

func (*PackerServiceDeleteChannelOK) GetPayload

func (*PackerServiceDeleteChannelOK) IsClientError added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

type PackerServiceDeleteChannelParams

type PackerServiceDeleteChannelParams struct {

	/* BucketSlug.

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

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

	/* Slug.

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

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

PackerServiceDeleteChannelParams contains all the parameters to send to the API endpoint

for the packer service delete channel operation.

Typically these are written to a http.Request.

func NewPackerServiceDeleteChannelParams

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) SetBucketSlug

func (o *PackerServiceDeleteChannelParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetContext

SetContext adds the context to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) SetDefaults added in v0.23.0

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) SetSlug

func (o *PackerServiceDeleteChannelParams) SetSlug(slug string)

SetSlug adds the slug 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) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithContext

WithContext adds the context to the packer service delete channel params

func (*PackerServiceDeleteChannelParams) WithDefaults added in v0.23.0

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) WithSlug

WithSlug adds the slug 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 PackerServiceDeleteIterationDefault

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

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

An unexpected error response.

func NewPackerServiceDeleteIterationDefault

func NewPackerServiceDeleteIterationDefault(code int) *PackerServiceDeleteIterationDefault

NewPackerServiceDeleteIterationDefault creates a PackerServiceDeleteIterationDefault with default headers values

func (*PackerServiceDeleteIterationDefault) Code

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

func (*PackerServiceDeleteIterationDefault) Error

func (*PackerServiceDeleteIterationDefault) GetPayload

func (*PackerServiceDeleteIterationDefault) IsClientError added in v0.23.0

func (o *PackerServiceDeleteIterationDefault) IsClientError() bool

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

func (*PackerServiceDeleteIterationDefault) IsCode added in v0.23.0

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

func (*PackerServiceDeleteIterationDefault) IsRedirect added in v0.23.0

func (o *PackerServiceDeleteIterationDefault) IsRedirect() bool

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

func (*PackerServiceDeleteIterationDefault) IsServerError added in v0.23.0

func (o *PackerServiceDeleteIterationDefault) IsServerError() bool

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

func (*PackerServiceDeleteIterationDefault) IsSuccess added in v0.23.0

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

func (*PackerServiceDeleteIterationDefault) String added in v0.23.0

type PackerServiceDeleteIterationOK

type PackerServiceDeleteIterationOK struct {
	Payload models.HashicorpCloudPackerDeleteIterationResponse
}

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

A successful response.

func NewPackerServiceDeleteIterationOK

func NewPackerServiceDeleteIterationOK() *PackerServiceDeleteIterationOK

NewPackerServiceDeleteIterationOK creates a PackerServiceDeleteIterationOK with default headers values

func (*PackerServiceDeleteIterationOK) Code added in v0.82.0

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

func (*PackerServiceDeleteIterationOK) Error

func (*PackerServiceDeleteIterationOK) GetPayload

func (*PackerServiceDeleteIterationOK) IsClientError added in v0.23.0

func (o *PackerServiceDeleteIterationOK) IsClientError() bool

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

func (*PackerServiceDeleteIterationOK) IsCode added in v0.23.0

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

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

func (*PackerServiceDeleteIterationOK) IsRedirect added in v0.23.0

func (o *PackerServiceDeleteIterationOK) IsRedirect() bool

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

func (*PackerServiceDeleteIterationOK) IsServerError added in v0.23.0

func (o *PackerServiceDeleteIterationOK) IsServerError() bool

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

func (*PackerServiceDeleteIterationOK) IsSuccess added in v0.23.0

func (o *PackerServiceDeleteIterationOK) IsSuccess() bool

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

func (*PackerServiceDeleteIterationOK) String added in v0.23.0

type PackerServiceDeleteIterationParams

type PackerServiceDeleteIterationParams struct {

	/* BucketSlug.

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

	/* IterationID.

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

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

	/* RollbackChannels.

	   When set to true, any user created channels will be rolled back to the last valid iteration they were assigned to.
	*/
	RollbackChannels *bool

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

PackerServiceDeleteIterationParams contains all the parameters to send to the API endpoint

for the packer service delete iteration operation.

Typically these are written to a http.Request.

func NewPackerServiceDeleteIterationParams

func NewPackerServiceDeleteIterationParams() *PackerServiceDeleteIterationParams

NewPackerServiceDeleteIterationParams creates a new PackerServiceDeleteIterationParams 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 NewPackerServiceDeleteIterationParamsWithContext

func NewPackerServiceDeleteIterationParamsWithContext(ctx context.Context) *PackerServiceDeleteIterationParams

NewPackerServiceDeleteIterationParamsWithContext creates a new PackerServiceDeleteIterationParams object with the ability to set a context for a request.

func NewPackerServiceDeleteIterationParamsWithHTTPClient

func NewPackerServiceDeleteIterationParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteIterationParams

NewPackerServiceDeleteIterationParamsWithHTTPClient creates a new PackerServiceDeleteIterationParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceDeleteIterationParamsWithTimeout

func NewPackerServiceDeleteIterationParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteIterationParams

NewPackerServiceDeleteIterationParamsWithTimeout creates a new PackerServiceDeleteIterationParams object with the ability to set a timeout on a request.

func (*PackerServiceDeleteIterationParams) SetBucketSlug

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

SetBucketSlug adds the bucketSlug to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetContext

SetContext adds the context to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetDefaults added in v0.23.0

func (o *PackerServiceDeleteIterationParams) SetDefaults()

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

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

func (*PackerServiceDeleteIterationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetIterationID

func (o *PackerServiceDeleteIterationParams) SetIterationID(iterationID string)

SetIterationID adds the iterationId to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetLocationOrganizationID

func (o *PackerServiceDeleteIterationParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetLocationProjectID

func (o *PackerServiceDeleteIterationParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetRollbackChannels added in v0.39.0

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

SetRollbackChannels adds the rollbackChannels to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) SetTimeout

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

SetTimeout adds the timeout to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithContext

WithContext adds the context to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithDefaults added in v0.23.0

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

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

func (*PackerServiceDeleteIterationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithIterationID

WithIterationID adds the iterationID to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithRollbackChannels added in v0.39.0

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

WithRollbackChannels adds the rollbackChannels to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WithTimeout

WithTimeout adds the timeout to the packer service delete iteration params

func (*PackerServiceDeleteIterationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceDeleteIterationReader

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

PackerServiceDeleteIterationReader is a Reader for the PackerServiceDeleteIteration structure.

func (*PackerServiceDeleteIterationReader) ReadResponse

func (o *PackerServiceDeleteIterationReader) 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 added in v0.23.0

func (o *PackerServiceDeleteRegistryDefault) IsClientError() bool

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

func (*PackerServiceDeleteRegistryDefault) IsCode added in v0.23.0

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

func (*PackerServiceDeleteRegistryDefault) IsRedirect added in v0.23.0

func (o *PackerServiceDeleteRegistryDefault) IsRedirect() bool

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

func (*PackerServiceDeleteRegistryDefault) IsServerError added in v0.23.0

func (o *PackerServiceDeleteRegistryDefault) IsServerError() bool

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

func (*PackerServiceDeleteRegistryDefault) IsSuccess added in v0.23.0

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

func (*PackerServiceDeleteRegistryDefault) String added in v0.23.0

type PackerServiceDeleteRegistryOK

type PackerServiceDeleteRegistryOK struct {
	Payload *models.HashicorpCloudPackerDeleteRegistryResponse
}

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 added in v0.82.0

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

func (*PackerServiceDeleteRegistryOK) Error

func (*PackerServiceDeleteRegistryOK) GetPayload

func (*PackerServiceDeleteRegistryOK) IsClientError added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

type PackerServiceDeleteRegistryParams

type PackerServiceDeleteRegistryParams struct {

	/* HardDelete.

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

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

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

PackerServiceDeleteRegistryParams contains all the parameters to send to the API endpoint

for the packer service delete registry operation.

Typically these are written to a http.Request.

func NewPackerServiceDeleteRegistryParams

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 added in v0.23.0

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) SetHardDelete

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

SetHardDelete adds the hardDelete 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 added in v0.23.0

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) WithHardDelete

WithHardDelete adds the hardDelete 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 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 added in v0.23.0

func (o *PackerServiceGetBucketDefault) IsClientError() bool

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

func (*PackerServiceGetBucketDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceGetBucketDefault) IsRedirect() bool

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

func (*PackerServiceGetBucketDefault) IsServerError added in v0.23.0

func (o *PackerServiceGetBucketDefault) IsServerError() bool

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

func (*PackerServiceGetBucketDefault) IsSuccess added in v0.23.0

func (o *PackerServiceGetBucketDefault) IsSuccess() bool

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

func (*PackerServiceGetBucketDefault) String added in v0.23.0

type PackerServiceGetBucketOK

type PackerServiceGetBucketOK struct {
	Payload *models.HashicorpCloudPackerGetBucketResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceGetBucketOK) String() string

type PackerServiceGetBucketParams

type PackerServiceGetBucketParams struct {

	/* BucketID.

	   ULID of the bucket.
	*/
	BucketID *string

	/* BucketSlug.

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

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

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

PackerServiceGetBucketParams contains all the parameters to send to the API endpoint

for the packer service get bucket operation.

Typically these are written to a http.Request.

func NewPackerServiceGetBucketParams

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) SetBucketID

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

SetBucketID adds the bucketId to the packer service get bucket params

func (*PackerServiceGetBucketParams) SetBucketSlug

func (o *PackerServiceGetBucketParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug 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 added in v0.23.0

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) WithBucketID

WithBucketID adds the bucketID to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithBucketSlug

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

WithBucketSlug adds the bucketSlug to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithContext

WithContext adds the context to the packer service get bucket params

func (*PackerServiceGetBucketParams) WithDefaults added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceGetBuildDefault) IsClientError() bool

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

func (*PackerServiceGetBuildDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceGetBuildDefault) IsRedirect() bool

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

func (*PackerServiceGetBuildDefault) IsServerError added in v0.23.0

func (o *PackerServiceGetBuildDefault) IsServerError() bool

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

func (*PackerServiceGetBuildDefault) IsSuccess added in v0.23.0

func (o *PackerServiceGetBuildDefault) IsSuccess() bool

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

func (*PackerServiceGetBuildDefault) String added in v0.23.0

type PackerServiceGetBuildOK

type PackerServiceGetBuildOK struct {
	Payload *models.HashicorpCloudPackerGetBuildResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceGetBuildOK) String() string

type PackerServiceGetBuildParams

type PackerServiceGetBuildParams struct {

	/* BuildID.

	   ULID of the build that should be retrieved.
	*/
	BuildID string

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

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

PackerServiceGetBuildParams contains all the parameters to send to the API endpoint

for the packer service get build operation.

Typically these are written to a http.Request.

func NewPackerServiceGetBuildParams

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) 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 added in v0.23.0

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) 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) 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 added in v0.23.0

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) 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 added in v0.23.0

func (o *PackerServiceGetChannelDefault) IsClientError() bool

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

func (*PackerServiceGetChannelDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceGetChannelDefault) IsRedirect() bool

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

func (*PackerServiceGetChannelDefault) IsServerError added in v0.23.0

func (o *PackerServiceGetChannelDefault) IsServerError() bool

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

func (*PackerServiceGetChannelDefault) IsSuccess added in v0.23.0

func (o *PackerServiceGetChannelDefault) IsSuccess() bool

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

func (*PackerServiceGetChannelDefault) String added in v0.23.0

type PackerServiceGetChannelOK

type PackerServiceGetChannelOK struct {
	Payload *models.HashicorpCloudPackerGetChannelResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceGetChannelOK) String() string

type PackerServiceGetChannelParams

type PackerServiceGetChannelParams struct {

	/* BucketSlug.

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

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

	/* Slug.

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

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

PackerServiceGetChannelParams contains all the parameters to send to the API endpoint

for the packer service get channel operation.

Typically these are written to a http.Request.

func NewPackerServiceGetChannelParams

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) SetBucketSlug

func (o *PackerServiceGetChannelParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug 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 added in v0.23.0

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) SetSlug

func (o *PackerServiceGetChannelParams) SetSlug(slug string)

SetSlug adds the slug 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) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service get channel params

func (*PackerServiceGetChannelParams) WithContext

WithContext adds the context to the packer service get channel params

func (*PackerServiceGetChannelParams) WithDefaults added in v0.23.0

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) WithSlug

WithSlug adds the slug 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 PackerServiceGetIterationDefault

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

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

An unexpected error response.

func NewPackerServiceGetIterationDefault

func NewPackerServiceGetIterationDefault(code int) *PackerServiceGetIterationDefault

NewPackerServiceGetIterationDefault creates a PackerServiceGetIterationDefault with default headers values

func (*PackerServiceGetIterationDefault) Code

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

func (*PackerServiceGetIterationDefault) Error

func (*PackerServiceGetIterationDefault) GetPayload

func (*PackerServiceGetIterationDefault) IsClientError added in v0.23.0

func (o *PackerServiceGetIterationDefault) IsClientError() bool

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

func (*PackerServiceGetIterationDefault) IsCode added in v0.23.0

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

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

func (*PackerServiceGetIterationDefault) IsRedirect added in v0.23.0

func (o *PackerServiceGetIterationDefault) IsRedirect() bool

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

func (*PackerServiceGetIterationDefault) IsServerError added in v0.23.0

func (o *PackerServiceGetIterationDefault) IsServerError() bool

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

func (*PackerServiceGetIterationDefault) IsSuccess added in v0.23.0

func (o *PackerServiceGetIterationDefault) IsSuccess() bool

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

func (*PackerServiceGetIterationDefault) String added in v0.23.0

type PackerServiceGetIterationOK

type PackerServiceGetIterationOK struct {
	Payload *models.HashicorpCloudPackerGetIterationResponse
}

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

A successful response.

func NewPackerServiceGetIterationOK

func NewPackerServiceGetIterationOK() *PackerServiceGetIterationOK

NewPackerServiceGetIterationOK creates a PackerServiceGetIterationOK with default headers values

func (*PackerServiceGetIterationOK) Code added in v0.82.0

func (o *PackerServiceGetIterationOK) Code() int

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

func (*PackerServiceGetIterationOK) Error

func (*PackerServiceGetIterationOK) GetPayload

func (*PackerServiceGetIterationOK) IsClientError added in v0.23.0

func (o *PackerServiceGetIterationOK) IsClientError() bool

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

func (*PackerServiceGetIterationOK) IsCode added in v0.23.0

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

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

func (*PackerServiceGetIterationOK) IsRedirect added in v0.23.0

func (o *PackerServiceGetIterationOK) IsRedirect() bool

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

func (*PackerServiceGetIterationOK) IsServerError added in v0.23.0

func (o *PackerServiceGetIterationOK) IsServerError() bool

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

func (*PackerServiceGetIterationOK) IsSuccess added in v0.23.0

func (o *PackerServiceGetIterationOK) IsSuccess() bool

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

func (*PackerServiceGetIterationOK) String added in v0.23.0

func (o *PackerServiceGetIterationOK) String() string

type PackerServiceGetIterationParams

type PackerServiceGetIterationParams struct {

	/* BucketSlug.

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

	/* Fingerprint.

	     Fingerprint of the iteration set by Packer when you call `packer build`.
	Refer to the Packer documentation for more information on how this value is set.
	The fingerprint can be used as an identifier for the iteration.
	*/
	Fingerprint *string

	/* IncrementalVersion.

	   The human-readable version number assigned to this iteration.

	   Format: int32
	*/
	IncrementalVersion *int32

	/* IterationID.

	   ULID of the iteration.
	*/
	IterationID *string

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

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

PackerServiceGetIterationParams contains all the parameters to send to the API endpoint

for the packer service get iteration operation.

Typically these are written to a http.Request.

func NewPackerServiceGetIterationParams

func NewPackerServiceGetIterationParams() *PackerServiceGetIterationParams

NewPackerServiceGetIterationParams creates a new PackerServiceGetIterationParams 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 NewPackerServiceGetIterationParamsWithContext

func NewPackerServiceGetIterationParamsWithContext(ctx context.Context) *PackerServiceGetIterationParams

NewPackerServiceGetIterationParamsWithContext creates a new PackerServiceGetIterationParams object with the ability to set a context for a request.

func NewPackerServiceGetIterationParamsWithHTTPClient

func NewPackerServiceGetIterationParamsWithHTTPClient(client *http.Client) *PackerServiceGetIterationParams

NewPackerServiceGetIterationParamsWithHTTPClient creates a new PackerServiceGetIterationParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceGetIterationParamsWithTimeout

func NewPackerServiceGetIterationParamsWithTimeout(timeout time.Duration) *PackerServiceGetIterationParams

NewPackerServiceGetIterationParamsWithTimeout creates a new PackerServiceGetIterationParams object with the ability to set a timeout on a request.

func (*PackerServiceGetIterationParams) SetBucketSlug

func (o *PackerServiceGetIterationParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetContext

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

SetContext adds the context to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetDefaults added in v0.23.0

func (o *PackerServiceGetIterationParams) SetDefaults()

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

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

func (*PackerServiceGetIterationParams) SetFingerprint

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

SetFingerprint adds the fingerprint to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetIncrementalVersion

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

SetIncrementalVersion adds the incrementalVersion to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetIterationID

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

SetIterationID adds the iterationId to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetLocationOrganizationID

func (o *PackerServiceGetIterationParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetLocationProjectID

func (o *PackerServiceGetIterationParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service get iteration params

func (*PackerServiceGetIterationParams) SetTimeout

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

SetTimeout adds the timeout to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithContext

WithContext adds the context to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithDefaults added in v0.23.0

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

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

func (*PackerServiceGetIterationParams) WithFingerprint

WithFingerprint adds the fingerprint to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithIncrementalVersion

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

WithIncrementalVersion adds the incrementalVersion to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithIterationID

WithIterationID adds the iterationID to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service get iteration params

func (*PackerServiceGetIterationParams) WithTimeout

WithTimeout adds the timeout to the packer service get iteration params

func (*PackerServiceGetIterationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceGetIterationReader

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

PackerServiceGetIterationReader is a Reader for the PackerServiceGetIteration structure.

func (*PackerServiceGetIterationReader) ReadResponse

func (o *PackerServiceGetIterationReader) 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 added in v0.23.0

func (o *PackerServiceGetRegistryDefault) IsClientError() bool

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

func (*PackerServiceGetRegistryDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceGetRegistryDefault) IsRedirect() bool

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

func (*PackerServiceGetRegistryDefault) IsServerError added in v0.23.0

func (o *PackerServiceGetRegistryDefault) IsServerError() bool

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

func (*PackerServiceGetRegistryDefault) IsSuccess added in v0.23.0

func (o *PackerServiceGetRegistryDefault) IsSuccess() bool

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

func (*PackerServiceGetRegistryDefault) String added in v0.23.0

type PackerServiceGetRegistryOK

type PackerServiceGetRegistryOK struct {
	Payload *models.HashicorpCloudPackerGetRegistryResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

type PackerServiceGetRegistryTFCRunTaskAPIOK

type PackerServiceGetRegistryTFCRunTaskAPIOK struct {
	Payload *models.HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 PackerServiceListBucketAncestryDefault added in v0.36.0

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 added in v0.36.0

func NewPackerServiceListBucketAncestryDefault(code int) *PackerServiceListBucketAncestryDefault

NewPackerServiceListBucketAncestryDefault creates a PackerServiceListBucketAncestryDefault with default headers values

func (*PackerServiceListBucketAncestryDefault) Code added in v0.36.0

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

func (*PackerServiceListBucketAncestryDefault) Error added in v0.36.0

func (*PackerServiceListBucketAncestryDefault) GetPayload added in v0.36.0

func (*PackerServiceListBucketAncestryDefault) IsClientError added in v0.36.0

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 added in v0.36.0

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

func (*PackerServiceListBucketAncestryDefault) IsRedirect added in v0.36.0

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

func (*PackerServiceListBucketAncestryDefault) IsServerError added in v0.36.0

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 added in v0.36.0

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

func (*PackerServiceListBucketAncestryDefault) String added in v0.36.0

type PackerServiceListBucketAncestryOK added in v0.36.0

type PackerServiceListBucketAncestryOK struct {
	Payload *models.HashicorpCloudPackerListBucketAncestryResponse
}

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

A successful response.

func NewPackerServiceListBucketAncestryOK added in v0.36.0

func NewPackerServiceListBucketAncestryOK() *PackerServiceListBucketAncestryOK

NewPackerServiceListBucketAncestryOK creates a PackerServiceListBucketAncestryOK with default headers values

func (*PackerServiceListBucketAncestryOK) Code added in v0.82.0

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

func (*PackerServiceListBucketAncestryOK) Error added in v0.36.0

func (*PackerServiceListBucketAncestryOK) GetPayload added in v0.36.0

func (*PackerServiceListBucketAncestryOK) IsClientError added in v0.36.0

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 added in v0.36.0

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 added in v0.36.0

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 added in v0.36.0

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 added in v0.36.0

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 added in v0.36.0

type PackerServiceListBucketAncestryParams added in v0.36.0

type PackerServiceListBucketAncestryParams struct {

	/* BucketSlug.

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

	/* Channel.

	     An image channel in the image bucket associated with the request. This property filters the results to children whose parent iteration  was assigned to this channel when the children were built.
	If not specified, the endpoint returns all children built from any iteration in this image bucket.
	*/
	Channel *string

	/* Fingerprint.

	     Fingerprint of an iteration that HCP Packer uses to list that iteration's parents.
	All parents are the parent images Packer used to build this iteration. If not specified, the endpoint returns the parents of the image bucket's latest iteration.
	*/
	Fingerprint *string

	/* IncrementalVersion.

	     The human-readable version number of an iteration that HCP Packer uses to list that iteration's parents.
	All parents are the parent images Packer used to build this iteration. If not specified, the endpoint returns the parents of the image bucket's latest iteration.

	     Format: int32
	*/
	IncrementalVersion *int32

	/* IterationID.

	     ULID of the iteration that HCP Packer uses to list that iteration's parents.
	All parents are the parent images Packer used to build this iteration. If not specified, the endpoint returns the parents of the image bucket's latest iteration.
	*/
	IterationID *string

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

	/* PaginationNextPageToken.

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

	/* PaginationPageSize.

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

	     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 images for this image bucket.
	Type 'children' lists all of the child images built directly from this image bucket.
	If not specified, defaults to listing both parent and child relationships for the image bucket.
	*/
	Type *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 added in v0.36.0

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 added in v0.36.0

func NewPackerServiceListBucketAncestryParamsWithContext(ctx context.Context) *PackerServiceListBucketAncestryParams

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

func NewPackerServiceListBucketAncestryParamsWithHTTPClient added in v0.36.0

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 added in v0.36.0

func NewPackerServiceListBucketAncestryParamsWithTimeout(timeout time.Duration) *PackerServiceListBucketAncestryParams

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

func (*PackerServiceListBucketAncestryParams) SetBucketSlug added in v0.36.0

func (o *PackerServiceListBucketAncestryParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetChannel added in v0.36.0

func (o *PackerServiceListBucketAncestryParams) SetChannel(channel *string)

SetChannel adds the channel to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetContext added in v0.36.0

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

func (*PackerServiceListBucketAncestryParams) SetDefaults added in v0.36.0

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) SetFingerprint added in v0.36.0

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

SetFingerprint adds the fingerprint to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetHTTPClient added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) SetIncrementalVersion added in v0.36.0

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

SetIncrementalVersion adds the incrementalVersion to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetIterationID added in v0.36.0

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

SetIterationID adds the iterationId to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) SetLocationOrganizationID added in v0.36.0

func (o *PackerServiceListBucketAncestryParams) SetLocationOrganizationID(locationOrganizationID string)

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

func (*PackerServiceListBucketAncestryParams) SetLocationProjectID added in v0.36.0

func (o *PackerServiceListBucketAncestryParams) SetLocationProjectID(locationProjectID string)

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

func (*PackerServiceListBucketAncestryParams) SetLocationRegionProvider added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) SetLocationRegionRegion added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) SetPaginationNextPageToken added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) SetPaginationPageSize added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) SetPaginationPreviousPageToken added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) SetTimeout added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) SetType added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) WithBucketSlug added in v0.36.0

WithBucketSlug adds the bucketSlug to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithChannel added in v0.36.0

WithChannel adds the channel to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithContext added in v0.36.0

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

func (*PackerServiceListBucketAncestryParams) WithDefaults added in v0.36.0

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) WithFingerprint added in v0.36.0

WithFingerprint adds the fingerprint to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithHTTPClient added in v0.36.0

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

func (*PackerServiceListBucketAncestryParams) WithIncrementalVersion added in v0.36.0

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

WithIncrementalVersion adds the incrementalVersion to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithIterationID added in v0.36.0

WithIterationID adds the iterationID to the packer service list bucket ancestry params

func (*PackerServiceListBucketAncestryParams) WithLocationOrganizationID added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) WithLocationProjectID added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) WithLocationRegionProvider added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) WithLocationRegionRegion added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) WithPaginationNextPageToken added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) WithPaginationPageSize added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) WithPaginationPreviousPageToken added in v0.36.0

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

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

func (*PackerServiceListBucketAncestryParams) WithTimeout added in v0.36.0

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

func (*PackerServiceListBucketAncestryParams) WithType added in v0.36.0

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

func (*PackerServiceListBucketAncestryParams) WriteToRequest added in v0.36.0

WriteToRequest writes these params to a swagger request

type PackerServiceListBucketAncestryReader added in v0.36.0

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

PackerServiceListBucketAncestryReader is a Reader for the PackerServiceListBucketAncestry structure.

func (*PackerServiceListBucketAncestryReader) ReadResponse added in v0.36.0

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 added in v0.23.0

func (o *PackerServiceListBucketsDefault) IsClientError() bool

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

func (*PackerServiceListBucketsDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceListBucketsDefault) IsRedirect() bool

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

func (*PackerServiceListBucketsDefault) IsServerError added in v0.23.0

func (o *PackerServiceListBucketsDefault) IsServerError() bool

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

func (*PackerServiceListBucketsDefault) IsSuccess added in v0.23.0

func (o *PackerServiceListBucketsDefault) IsSuccess() bool

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

func (*PackerServiceListBucketsDefault) String added in v0.23.0

type PackerServiceListBucketsOK

type PackerServiceListBucketsOK struct {
	Payload *models.HashicorpCloudPackerListBucketsResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceListBuildsDefault) IsClientError() bool

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

func (*PackerServiceListBuildsDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceListBuildsDefault) IsRedirect() bool

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

func (*PackerServiceListBuildsDefault) IsServerError added in v0.23.0

func (o *PackerServiceListBuildsDefault) IsServerError() bool

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

func (*PackerServiceListBuildsDefault) IsSuccess added in v0.23.0

func (o *PackerServiceListBuildsDefault) IsSuccess() bool

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

func (*PackerServiceListBuildsDefault) String added in v0.23.0

type PackerServiceListBuildsOK

type PackerServiceListBuildsOK struct {
	Payload *models.HashicorpCloudPackerListBuildsResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceListBuildsOK) String() string

type PackerServiceListBuildsParams

type PackerServiceListBuildsParams struct {

	/* BucketSlug.

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

	/* IterationID.

	   ULID of the iteration to list builds for.
	*/
	IterationID string

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

	/* PaginationNextPageToken.

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

	/* PaginationPageSize.

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

	     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) SetBucketSlug

func (o *PackerServiceListBuildsParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug 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 added in v0.23.0

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service list builds params

func (*PackerServiceListBuildsParams) SetIterationID

func (o *PackerServiceListBuildsParams) SetIterationID(iterationID string)

SetIterationID adds the iterationId 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) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service list builds params

func (*PackerServiceListBuildsParams) WithContext

WithContext adds the context to the packer service list builds params

func (*PackerServiceListBuildsParams) WithDefaults added in v0.23.0

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) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service list builds params

func (*PackerServiceListBuildsParams) WithIterationID

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

WithIterationID adds the iterationID 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 PackerServiceListChannelHistoryDefault added in v0.39.0

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

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

An unexpected error response.

func NewPackerServiceListChannelHistoryDefault added in v0.39.0

func NewPackerServiceListChannelHistoryDefault(code int) *PackerServiceListChannelHistoryDefault

NewPackerServiceListChannelHistoryDefault creates a PackerServiceListChannelHistoryDefault with default headers values

func (*PackerServiceListChannelHistoryDefault) Code added in v0.39.0

Code gets the status code for the packer service list channel history default response

func (*PackerServiceListChannelHistoryDefault) Error added in v0.39.0

func (*PackerServiceListChannelHistoryDefault) GetPayload added in v0.39.0

func (*PackerServiceListChannelHistoryDefault) IsClientError added in v0.39.0

func (o *PackerServiceListChannelHistoryDefault) IsClientError() bool

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

func (*PackerServiceListChannelHistoryDefault) IsCode added in v0.39.0

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

func (*PackerServiceListChannelHistoryDefault) IsRedirect added in v0.39.0

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

func (*PackerServiceListChannelHistoryDefault) IsServerError added in v0.39.0

func (o *PackerServiceListChannelHistoryDefault) IsServerError() bool

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

func (*PackerServiceListChannelHistoryDefault) IsSuccess added in v0.39.0

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

func (*PackerServiceListChannelHistoryDefault) String added in v0.39.0

type PackerServiceListChannelHistoryOK added in v0.39.0

type PackerServiceListChannelHistoryOK struct {
	Payload *models.HashicorpCloudPackerListChannelHistoryResponse
}

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

A successful response.

func NewPackerServiceListChannelHistoryOK added in v0.39.0

func NewPackerServiceListChannelHistoryOK() *PackerServiceListChannelHistoryOK

NewPackerServiceListChannelHistoryOK creates a PackerServiceListChannelHistoryOK with default headers values

func (*PackerServiceListChannelHistoryOK) Code added in v0.82.0

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

func (*PackerServiceListChannelHistoryOK) Error added in v0.39.0

func (*PackerServiceListChannelHistoryOK) GetPayload added in v0.39.0

func (*PackerServiceListChannelHistoryOK) IsClientError added in v0.39.0

func (o *PackerServiceListChannelHistoryOK) IsClientError() bool

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

func (*PackerServiceListChannelHistoryOK) IsCode added in v0.39.0

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

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

func (*PackerServiceListChannelHistoryOK) IsRedirect added in v0.39.0

func (o *PackerServiceListChannelHistoryOK) IsRedirect() bool

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

func (*PackerServiceListChannelHistoryOK) IsServerError added in v0.39.0

func (o *PackerServiceListChannelHistoryOK) IsServerError() bool

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

func (*PackerServiceListChannelHistoryOK) IsSuccess added in v0.39.0

func (o *PackerServiceListChannelHistoryOK) IsSuccess() bool

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

func (*PackerServiceListChannelHistoryOK) String added in v0.39.0

type PackerServiceListChannelHistoryParams added in v0.39.0

type PackerServiceListChannelHistoryParams struct {

	/* BucketSlug.

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

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

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

	/* Slug.

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

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

PackerServiceListChannelHistoryParams contains all the parameters to send to the API endpoint

for the packer service list channel history operation.

Typically these are written to a http.Request.

func NewPackerServiceListChannelHistoryParams added in v0.39.0

func NewPackerServiceListChannelHistoryParams() *PackerServiceListChannelHistoryParams

NewPackerServiceListChannelHistoryParams creates a new PackerServiceListChannelHistoryParams 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 NewPackerServiceListChannelHistoryParamsWithContext added in v0.39.0

func NewPackerServiceListChannelHistoryParamsWithContext(ctx context.Context) *PackerServiceListChannelHistoryParams

NewPackerServiceListChannelHistoryParamsWithContext creates a new PackerServiceListChannelHistoryParams object with the ability to set a context for a request.

func NewPackerServiceListChannelHistoryParamsWithHTTPClient added in v0.39.0

func NewPackerServiceListChannelHistoryParamsWithHTTPClient(client *http.Client) *PackerServiceListChannelHistoryParams

NewPackerServiceListChannelHistoryParamsWithHTTPClient creates a new PackerServiceListChannelHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceListChannelHistoryParamsWithTimeout added in v0.39.0

func NewPackerServiceListChannelHistoryParamsWithTimeout(timeout time.Duration) *PackerServiceListChannelHistoryParams

NewPackerServiceListChannelHistoryParamsWithTimeout creates a new PackerServiceListChannelHistoryParams object with the ability to set a timeout on a request.

func (*PackerServiceListChannelHistoryParams) SetBucketSlug added in v0.39.0

func (o *PackerServiceListChannelHistoryParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) SetContext added in v0.39.0

SetContext adds the context to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) SetDefaults added in v0.39.0

func (o *PackerServiceListChannelHistoryParams) SetDefaults()

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

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

func (*PackerServiceListChannelHistoryParams) SetHTTPClient added in v0.39.0

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

SetHTTPClient adds the HTTPClient to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) SetLocationOrganizationID added in v0.39.0

func (o *PackerServiceListChannelHistoryParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) SetLocationProjectID added in v0.39.0

func (o *PackerServiceListChannelHistoryParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) SetLocationRegionProvider added in v0.39.0

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) SetLocationRegionRegion added in v0.39.0

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) SetPaginationNextPageToken added in v0.39.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) SetPaginationPageSize added in v0.39.0

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

SetPaginationPageSize adds the paginationPageSize to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) SetPaginationPreviousPageToken added in v0.39.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) SetSlug added in v0.39.0

SetSlug adds the slug to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) SetTimeout added in v0.39.0

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

SetTimeout adds the timeout to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WithBucketSlug added in v0.39.0

WithBucketSlug adds the bucketSlug to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WithContext added in v0.39.0

WithContext adds the context to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WithDefaults added in v0.39.0

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

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

func (*PackerServiceListChannelHistoryParams) WithHTTPClient added in v0.39.0

WithHTTPClient adds the HTTPClient to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WithLocationOrganizationID added in v0.39.0

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WithLocationProjectID added in v0.39.0

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

WithLocationProjectID adds the locationProjectID to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WithLocationRegionProvider added in v0.39.0

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WithLocationRegionRegion added in v0.39.0

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WithPaginationNextPageToken added in v0.39.0

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

WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WithPaginationPageSize added in v0.39.0

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

WithPaginationPageSize adds the paginationPageSize to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WithPaginationPreviousPageToken added in v0.39.0

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WithSlug added in v0.39.0

WithSlug adds the slug to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WithTimeout added in v0.39.0

WithTimeout adds the timeout to the packer service list channel history params

func (*PackerServiceListChannelHistoryParams) WriteToRequest added in v0.39.0

WriteToRequest writes these params to a swagger request

type PackerServiceListChannelHistoryReader added in v0.39.0

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

PackerServiceListChannelHistoryReader is a Reader for the PackerServiceListChannelHistory structure.

func (*PackerServiceListChannelHistoryReader) ReadResponse added in v0.39.0

func (o *PackerServiceListChannelHistoryReader) 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 added in v0.23.0

func (o *PackerServiceListChannelsDefault) IsClientError() bool

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

func (*PackerServiceListChannelsDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceListChannelsDefault) IsRedirect() bool

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

func (*PackerServiceListChannelsDefault) IsServerError added in v0.23.0

func (o *PackerServiceListChannelsDefault) IsServerError() bool

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

func (*PackerServiceListChannelsDefault) IsSuccess added in v0.23.0

func (o *PackerServiceListChannelsDefault) IsSuccess() bool

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

func (*PackerServiceListChannelsDefault) String added in v0.23.0

type PackerServiceListChannelsOK

type PackerServiceListChannelsOK struct {
	Payload *models.HashicorpCloudPackerListChannelsResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceListChannelsOK) String() string

type PackerServiceListChannelsParams

type PackerServiceListChannelsParams struct {

	/* BucketSlug.

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

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

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

PackerServiceListChannelsParams contains all the parameters to send to the API endpoint

for the packer service list channels operation.

Typically these are written to a http.Request.

func NewPackerServiceListChannelsParams

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) SetBucketSlug

func (o *PackerServiceListChannelsParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug 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 added in v0.23.0

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) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service list channels params

func (*PackerServiceListChannelsParams) WithContext

WithContext adds the context to the packer service list channels params

func (*PackerServiceListChannelsParams) WithDefaults added in v0.23.0

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 PackerServiceListIterationsDefault

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

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

An unexpected error response.

func NewPackerServiceListIterationsDefault

func NewPackerServiceListIterationsDefault(code int) *PackerServiceListIterationsDefault

NewPackerServiceListIterationsDefault creates a PackerServiceListIterationsDefault with default headers values

func (*PackerServiceListIterationsDefault) Code

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

func (*PackerServiceListIterationsDefault) Error

func (*PackerServiceListIterationsDefault) GetPayload

func (*PackerServiceListIterationsDefault) IsClientError added in v0.23.0

func (o *PackerServiceListIterationsDefault) IsClientError() bool

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

func (*PackerServiceListIterationsDefault) IsCode added in v0.23.0

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

func (*PackerServiceListIterationsDefault) IsRedirect added in v0.23.0

func (o *PackerServiceListIterationsDefault) IsRedirect() bool

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

func (*PackerServiceListIterationsDefault) IsServerError added in v0.23.0

func (o *PackerServiceListIterationsDefault) IsServerError() bool

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

func (*PackerServiceListIterationsDefault) IsSuccess added in v0.23.0

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

func (*PackerServiceListIterationsDefault) String added in v0.23.0

type PackerServiceListIterationsOK

type PackerServiceListIterationsOK struct {
	Payload *models.HashicorpCloudPackerListIterationsResponse
}

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

A successful response.

func NewPackerServiceListIterationsOK

func NewPackerServiceListIterationsOK() *PackerServiceListIterationsOK

NewPackerServiceListIterationsOK creates a PackerServiceListIterationsOK with default headers values

func (*PackerServiceListIterationsOK) Code added in v0.82.0

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

func (*PackerServiceListIterationsOK) Error

func (*PackerServiceListIterationsOK) GetPayload

func (*PackerServiceListIterationsOK) IsClientError added in v0.23.0

func (o *PackerServiceListIterationsOK) IsClientError() bool

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

func (*PackerServiceListIterationsOK) IsCode added in v0.23.0

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

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

func (*PackerServiceListIterationsOK) IsRedirect added in v0.23.0

func (o *PackerServiceListIterationsOK) IsRedirect() bool

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

func (*PackerServiceListIterationsOK) IsServerError added in v0.23.0

func (o *PackerServiceListIterationsOK) IsServerError() bool

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

func (*PackerServiceListIterationsOK) IsSuccess added in v0.23.0

func (o *PackerServiceListIterationsOK) IsSuccess() bool

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

func (*PackerServiceListIterationsOK) String added in v0.23.0

type PackerServiceListIterationsParams

type PackerServiceListIterationsParams struct {

	/* BucketSlug.

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

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

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

	/* LocationRegionRegion.

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

	/* PaginationNextPageToken.

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

	/* PaginationPageSize.

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

	     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
}

PackerServiceListIterationsParams contains all the parameters to send to the API endpoint

for the packer service list iterations operation.

Typically these are written to a http.Request.

func NewPackerServiceListIterationsParams

func NewPackerServiceListIterationsParams() *PackerServiceListIterationsParams

NewPackerServiceListIterationsParams creates a new PackerServiceListIterationsParams 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 NewPackerServiceListIterationsParamsWithContext

func NewPackerServiceListIterationsParamsWithContext(ctx context.Context) *PackerServiceListIterationsParams

NewPackerServiceListIterationsParamsWithContext creates a new PackerServiceListIterationsParams object with the ability to set a context for a request.

func NewPackerServiceListIterationsParamsWithHTTPClient

func NewPackerServiceListIterationsParamsWithHTTPClient(client *http.Client) *PackerServiceListIterationsParams

NewPackerServiceListIterationsParamsWithHTTPClient creates a new PackerServiceListIterationsParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceListIterationsParamsWithTimeout

func NewPackerServiceListIterationsParamsWithTimeout(timeout time.Duration) *PackerServiceListIterationsParams

NewPackerServiceListIterationsParamsWithTimeout creates a new PackerServiceListIterationsParams object with the ability to set a timeout on a request.

func (*PackerServiceListIterationsParams) SetBucketSlug

func (o *PackerServiceListIterationsParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetContext

SetContext adds the context to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetDefaults added in v0.23.0

func (o *PackerServiceListIterationsParams) SetDefaults()

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

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

func (*PackerServiceListIterationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetLocationOrganizationID

func (o *PackerServiceListIterationsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetLocationProjectID

func (o *PackerServiceListIterationsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetPaginationNextPageToken

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

SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetPaginationPageSize

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

SetPaginationPageSize adds the paginationPageSize to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetPaginationPreviousPageToken

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetSortingOrderBy

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

SetSortingOrderBy adds the sortingOrderBy to the packer service list iterations params

func (*PackerServiceListIterationsParams) SetTimeout

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

SetTimeout adds the timeout to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithContext

WithContext adds the context to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithDefaults added in v0.23.0

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

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

func (*PackerServiceListIterationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithPaginationNextPageToken

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

WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithPaginationPageSize

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

WithPaginationPageSize adds the paginationPageSize to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithPaginationPreviousPageToken

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithSortingOrderBy

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

WithSortingOrderBy adds the sortingOrderBy to the packer service list iterations params

func (*PackerServiceListIterationsParams) WithTimeout

WithTimeout adds the timeout to the packer service list iterations params

func (*PackerServiceListIterationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceListIterationsReader

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

PackerServiceListIterationsReader is a Reader for the PackerServiceListIterations structure.

func (*PackerServiceListIterationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceRegenerateTFCRunTaskHmacKeyBody added in v0.28.0

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 added in v0.28.0

ContextValidate validate this packer service regenerate t f c run task hmac key body based on the context it is used

func (*PackerServiceRegenerateTFCRunTaskHmacKeyBody) MarshalBinary added in v0.28.0

MarshalBinary interface implementation

func (*PackerServiceRegenerateTFCRunTaskHmacKeyBody) UnmarshalBinary added in v0.28.0

UnmarshalBinary interface implementation

func (*PackerServiceRegenerateTFCRunTaskHmacKeyBody) Validate added in v0.28.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

type PackerServiceRegenerateTFCRunTaskHmacKeyOK

type PackerServiceRegenerateTFCRunTaskHmacKeyOK struct {
	Payload *models.HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse
}

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 added in v0.82.0

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) GetPayload

func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsClientError added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.28.0

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 added in v0.28.0

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 added in v0.28.0

MarshalBinary interface implementation

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) UnmarshalBinary added in v0.28.0

UnmarshalBinary interface implementation

func (*PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) Validate added in v0.28.0

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 PackerServiceUpdateBucketBody added in v0.28.0

type PackerServiceUpdateBucketBody struct {

	// A short description of what this bucket's images are for.
	Description string `json:"description,omitempty"`

	// A key:value map for custom, user-settable metadata about your bucket.
	Labels map[string]string `json:"labels,omitempty"`

	// location
	Location *PackerServiceUpdateBucketParamsBodyLocation `json:"location,omitempty"`

	// A list of the cloud providers or other platforms that are included in the latest complete iteration. e.g aws, gcp, or azure.
	Platforms []string `json:"platforms"`
}

PackerServiceUpdateBucketBody packer service update bucket body swagger:model PackerServiceUpdateBucketBody

func (*PackerServiceUpdateBucketBody) ContextValidate added in v0.28.0

func (o *PackerServiceUpdateBucketBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packer service update bucket body based on the context it is used

func (*PackerServiceUpdateBucketBody) MarshalBinary added in v0.28.0

func (o *PackerServiceUpdateBucketBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceUpdateBucketBody) UnmarshalBinary added in v0.28.0

func (o *PackerServiceUpdateBucketBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceUpdateBucketBody) Validate added in v0.28.0

func (o *PackerServiceUpdateBucketBody) Validate(formats strfmt.Registry) error

Validate validates this packer service update bucket body

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 added in v0.23.0

func (o *PackerServiceUpdateBucketDefault) IsClientError() bool

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

func (*PackerServiceUpdateBucketDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceUpdateBucketDefault) IsRedirect() bool

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

func (*PackerServiceUpdateBucketDefault) IsServerError added in v0.23.0

func (o *PackerServiceUpdateBucketDefault) IsServerError() bool

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

func (*PackerServiceUpdateBucketDefault) IsSuccess added in v0.23.0

func (o *PackerServiceUpdateBucketDefault) IsSuccess() bool

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

func (*PackerServiceUpdateBucketDefault) String added in v0.23.0

type PackerServiceUpdateBucketOK

type PackerServiceUpdateBucketOK struct {
	Payload *models.HashicorpCloudPackerUpdateBucketResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceUpdateBucketOK) String() string

type PackerServiceUpdateBucketParams

type PackerServiceUpdateBucketParams struct {

	// Body.
	Body PackerServiceUpdateBucketBody

	/* BucketSlug.

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

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

PackerServiceUpdateBucketParams contains all the parameters to send to the API endpoint

for the packer service update bucket operation.

Typically these are written to a http.Request.

func NewPackerServiceUpdateBucketParams

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) SetBucketSlug

func (o *PackerServiceUpdateBucketParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug 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 added in v0.23.0

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) 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) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithContext

WithContext adds the context to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WithDefaults added in v0.23.0

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) WithTimeout

WithTimeout adds the timeout to the packer service update bucket params

func (*PackerServiceUpdateBucketParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateBucketParamsBodyLocation added in v0.28.0

type PackerServiceUpdateBucketParamsBodyLocation 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"`
}

PackerServiceUpdateBucketParamsBodyLocation Location represents a target for an operation in HCP. swagger:model PackerServiceUpdateBucketParamsBodyLocation

func (*PackerServiceUpdateBucketParamsBodyLocation) ContextValidate added in v0.28.0

ContextValidate validate this packer service update bucket params body location based on the context it is used

func (*PackerServiceUpdateBucketParamsBodyLocation) MarshalBinary added in v0.28.0

func (o *PackerServiceUpdateBucketParamsBodyLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceUpdateBucketParamsBodyLocation) UnmarshalBinary added in v0.28.0

func (o *PackerServiceUpdateBucketParamsBodyLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceUpdateBucketParamsBodyLocation) Validate added in v0.28.0

Validate validates this packer service update bucket params body location

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 PackerServiceUpdateBuildBody added in v0.28.0

type PackerServiceUpdateBuildBody struct {

	// location
	Location *PackerServiceUpdateBuildParamsBodyLocation `json:"location,omitempty"`

	// Information about the build you are updating.
	Updates *models.HashicorpCloudPackerBuildUpdates `json:"updates,omitempty"`
}

PackerServiceUpdateBuildBody packer service update build body swagger:model PackerServiceUpdateBuildBody

func (*PackerServiceUpdateBuildBody) ContextValidate added in v0.28.0

func (o *PackerServiceUpdateBuildBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packer service update build body based on the context it is used

func (*PackerServiceUpdateBuildBody) MarshalBinary added in v0.28.0

func (o *PackerServiceUpdateBuildBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceUpdateBuildBody) UnmarshalBinary added in v0.28.0

func (o *PackerServiceUpdateBuildBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceUpdateBuildBody) Validate added in v0.28.0

func (o *PackerServiceUpdateBuildBody) Validate(formats strfmt.Registry) error

Validate validates this packer service update build body

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 added in v0.23.0

func (o *PackerServiceUpdateBuildDefault) IsClientError() bool

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

func (*PackerServiceUpdateBuildDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceUpdateBuildDefault) IsRedirect() bool

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

func (*PackerServiceUpdateBuildDefault) IsServerError added in v0.23.0

func (o *PackerServiceUpdateBuildDefault) IsServerError() bool

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

func (*PackerServiceUpdateBuildDefault) IsSuccess added in v0.23.0

func (o *PackerServiceUpdateBuildDefault) IsSuccess() bool

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

func (*PackerServiceUpdateBuildDefault) String added in v0.23.0

type PackerServiceUpdateBuildOK

type PackerServiceUpdateBuildOK struct {
	Payload *models.HashicorpCloudPackerUpdateBuildResponse
}

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 added in v0.82.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceUpdateBuildOK) String() string

type PackerServiceUpdateBuildParams

type PackerServiceUpdateBuildParams struct {

	// Body.
	Body PackerServiceUpdateBuildBody

	/* BuildID.

	   ULID of the build that should be updated.
	*/
	BuildID string

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

PackerServiceUpdateBuildParams contains all the parameters to send to the API endpoint

for the packer service update build operation.

Typically these are written to a http.Request.

func NewPackerServiceUpdateBuildParams

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) 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 added in v0.23.0

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) 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) 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) 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 added in v0.23.0

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) 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) WithTimeout

WithTimeout adds the timeout to the packer service update build params

func (*PackerServiceUpdateBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateBuildParamsBodyLocation added in v0.28.0

type PackerServiceUpdateBuildParamsBodyLocation 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"`
}

PackerServiceUpdateBuildParamsBodyLocation Location represents a target for an operation in HCP. swagger:model PackerServiceUpdateBuildParamsBodyLocation

func (*PackerServiceUpdateBuildParamsBodyLocation) ContextValidate added in v0.28.0

ContextValidate validate this packer service update build params body location based on the context it is used

func (*PackerServiceUpdateBuildParamsBodyLocation) MarshalBinary added in v0.28.0

func (o *PackerServiceUpdateBuildParamsBodyLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceUpdateBuildParamsBodyLocation) UnmarshalBinary added in v0.28.0

func (o *PackerServiceUpdateBuildParamsBodyLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceUpdateBuildParamsBodyLocation) Validate added in v0.28.0

Validate validates this packer service update build params body location

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 PackerServiceUpdateChannelBody added in v0.28.0

type PackerServiceUpdateChannelBody struct {

	// Fingerprint of the iteration set by Packer when you call `packer build`.
	// Refer to the Packer documentation for more information on how this value is set.
	// The fingerprint can be used as an identifier for the iteration.
	Fingerprint string `json:"fingerprint,omitempty"`

	// The human-readable version number assigned to this iteration.
	IncrementalVersion int32 `json:"incremental_version,omitempty"`

	// ULID of the iteration. This was created and set by the
	// HCP Packer registry when the iteration was created.
	IterationID string `json:"iteration_id,omitempty"`

	// location
	Location *PackerServiceUpdateChannelParamsBodyLocation `json:"location,omitempty"`

	// When set, the service will only update the channel with attributes listed in the mask.
	// For an empty mask list, all attributes will be updated according to their given value.
	//
	// One or more of the iteration identifiers can be listed when updating the channel assignment.
	// In this case, if paths for multiple iteration identifiers are present in the mask, the
	// values of the equivalent fields must belong to the same iteration.
	// NOTE: This is different from the behavior without a mask or with an empty mask, where the
	// first non-zero identifier (in the order iterationId, fingerprint, incrementalVersion) is the
	// only identifier used, and others are ignored.
	//
	// Examples of usage:
	// * "incrementalVersion,iterationId,fingerprint"
	// * "restriction"
	// * "restriction,iterationId"
	Mask string `json:"mask,omitempty"`

	// When set, will set the channel access in HCP Packer registry. The channel is unrestricted by default;
	Restriction *models.HashicorpCloudPackerUpdateChannelRequestRestriction `json:"restriction,omitempty"`
}

PackerServiceUpdateChannelBody packer service update channel body swagger:model PackerServiceUpdateChannelBody

func (*PackerServiceUpdateChannelBody) ContextValidate added in v0.28.0

func (o *PackerServiceUpdateChannelBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packer service update channel body based on the context it is used

func (*PackerServiceUpdateChannelBody) MarshalBinary added in v0.28.0

func (o *PackerServiceUpdateChannelBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceUpdateChannelBody) UnmarshalBinary added in v0.28.0

func (o *PackerServiceUpdateChannelBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceUpdateChannelBody) Validate added in v0.28.0

func (o *PackerServiceUpdateChannelBody) Validate(formats strfmt.Registry) error

Validate validates this packer service update channel body

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 added in v0.23.0

func (o *PackerServiceUpdateChannelDefault) IsClientError() bool

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

func (*PackerServiceUpdateChannelDefault) IsCode added in v0.23.0

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 added in v0.23.0

func (o *PackerServiceUpdateChannelDefault) IsRedirect() bool

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

func (*PackerServiceUpdateChannelDefault) IsServerError added in v0.23.0

func (o *PackerServiceUpdateChannelDefault) IsServerError() bool

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

func (*PackerServiceUpdateChannelDefault) IsSuccess added in v0.23.0

func (o *PackerServiceUpdateChannelDefault) IsSuccess() bool

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

func (*PackerServiceUpdateChannelDefault) String added in v0.23.0

type PackerServiceUpdateChannelOK

type PackerServiceUpdateChannelOK struct {
	Payload *models.HashicorpCloudPackerUpdateChannelResponse
}

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 added in v0.82.0

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

func (*PackerServiceUpdateChannelOK) Error

func (*PackerServiceUpdateChannelOK) GetPayload

func (*PackerServiceUpdateChannelOK) IsClientError added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

type PackerServiceUpdateChannelParams

type PackerServiceUpdateChannelParams struct {

	// Body.
	Body PackerServiceUpdateChannelBody

	/* BucketSlug.

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

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* Slug.

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

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

PackerServiceUpdateChannelParams contains all the parameters to send to the API endpoint

for the packer service update channel operation.

Typically these are written to a http.Request.

func NewPackerServiceUpdateChannelParams

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) SetBucketSlug

func (o *PackerServiceUpdateChannelParams) SetBucketSlug(bucketSlug string)

SetBucketSlug adds the bucketSlug to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetContext

SetContext adds the context to the packer service update channel params

func (*PackerServiceUpdateChannelParams) SetDefaults added in v0.23.0

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) SetSlug

func (o *PackerServiceUpdateChannelParams) SetSlug(slug string)

SetSlug adds the slug 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) WithBucketSlug

WithBucketSlug adds the bucketSlug to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithContext

WithContext adds the context to the packer service update channel params

func (*PackerServiceUpdateChannelParams) WithDefaults added in v0.23.0

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) WithSlug

WithSlug adds the slug 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 PackerServiceUpdateChannelParamsBodyLocation added in v0.28.0

type PackerServiceUpdateChannelParamsBodyLocation 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"`
}

PackerServiceUpdateChannelParamsBodyLocation Location represents a target for an operation in HCP. swagger:model PackerServiceUpdateChannelParamsBodyLocation

func (*PackerServiceUpdateChannelParamsBodyLocation) ContextValidate added in v0.28.0

ContextValidate validate this packer service update channel params body location based on the context it is used

func (*PackerServiceUpdateChannelParamsBodyLocation) MarshalBinary added in v0.28.0

MarshalBinary interface implementation

func (*PackerServiceUpdateChannelParamsBodyLocation) UnmarshalBinary added in v0.28.0

UnmarshalBinary interface implementation

func (*PackerServiceUpdateChannelParamsBodyLocation) Validate added in v0.28.0

Validate validates this packer service update channel params body location

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 PackerServiceUpdateIterationBody added in v0.28.0

type PackerServiceUpdateIterationBody struct {

	// Human-readable name for the bucket.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Set to "true" when all builds associated with this iteration have
	// successfully completed and uploaded metadata to the registry. When
	// "complete" is true, this iteration is considered ready to use, and can
	// have channels assigned to it.
	Complete bool `json:"complete,omitempty"`

	// location
	Location *PackerServiceUpdateIterationParamsBodyLocation `json:"location,omitempty"`

	// When set to true, will make a previously revoked iteration valid again.
	Restore bool `json:"restore,omitempty"`

	// Optional field to provide the reason for why this iteration is being revoked.
	RevocationMessage string `json:"revocation_message,omitempty"`

	// revoke_at accepts strings in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt)
	// format to represent the revocation timestamp. To instantly revoke the iteration, provide the current timestamp.
	// The revoke_at timestamp will always be recorded in UTC (Coordinated Universal Time).
	// This option is equivalent to the 'revoke_in' option and therefore only one of them should be set when updating
	// the iteration.
	// Format: date-time
	RevokeAt strfmt.DateTime `json:"revoke_at,omitempty"`

	// revoke_in accepts a signed sequence of decimal numbers with a unit suffix to represent the duration
	// to the revocation date, such as '30d' or '2h45m'.
	// Valid time units are 's', 'm', 'h', and 'd' as for seconds, minutes, hours, and days.
	// To instantly revoke the iteration, provide the duration of zero seconds ("0s").
	// The revoke_in duration will be used to calculate the iteration revocation timestamp,
	// which will be recorded as UTC (Coordinated Universal Time).
	// This option is equivalent to the 'revoke_at' option and therefore only one of them should be set when updating
	// the iteration.
	RevokeIn string `json:"revoke_in,omitempty"`

	// When set to true, any user created channels will be rolled back to the last valid iteration they were assigned to.
	RollbackChannels bool `json:"rollback_channels,omitempty"`

	// When set to true, the iteration's descendants won't inherit its revocation status.
	SkipDescendantsRevocation bool `json:"skip_descendants_revocation,omitempty"`
}

PackerServiceUpdateIterationBody packer service update iteration body swagger:model PackerServiceUpdateIterationBody

func (*PackerServiceUpdateIterationBody) ContextValidate added in v0.28.0

func (o *PackerServiceUpdateIterationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packer service update iteration body based on the context it is used

func (*PackerServiceUpdateIterationBody) MarshalBinary added in v0.28.0

func (o *PackerServiceUpdateIterationBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceUpdateIterationBody) UnmarshalBinary added in v0.28.0

func (o *PackerServiceUpdateIterationBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceUpdateIterationBody) Validate added in v0.28.0

Validate validates this packer service update iteration body

type PackerServiceUpdateIterationDefault

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

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

An unexpected error response.

func NewPackerServiceUpdateIterationDefault

func NewPackerServiceUpdateIterationDefault(code int) *PackerServiceUpdateIterationDefault

NewPackerServiceUpdateIterationDefault creates a PackerServiceUpdateIterationDefault with default headers values

func (*PackerServiceUpdateIterationDefault) Code

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

func (*PackerServiceUpdateIterationDefault) Error

func (*PackerServiceUpdateIterationDefault) GetPayload

func (*PackerServiceUpdateIterationDefault) IsClientError added in v0.23.0

func (o *PackerServiceUpdateIterationDefault) IsClientError() bool

IsClientError returns true when this packer service update iteration default response has a 4xx status code

func (*PackerServiceUpdateIterationDefault) IsCode added in v0.23.0

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

func (*PackerServiceUpdateIterationDefault) IsRedirect added in v0.23.0

func (o *PackerServiceUpdateIterationDefault) IsRedirect() bool

IsRedirect returns true when this packer service update iteration default response has a 3xx status code

func (*PackerServiceUpdateIterationDefault) IsServerError added in v0.23.0

func (o *PackerServiceUpdateIterationDefault) IsServerError() bool

IsServerError returns true when this packer service update iteration default response has a 5xx status code

func (*PackerServiceUpdateIterationDefault) IsSuccess added in v0.23.0

IsSuccess returns true when this packer service update iteration default response has a 2xx status code

func (*PackerServiceUpdateIterationDefault) String added in v0.23.0

type PackerServiceUpdateIterationOK

type PackerServiceUpdateIterationOK struct {
	Payload *models.HashicorpCloudPackerUpdateIterationResponse
}

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

A successful response.

func NewPackerServiceUpdateIterationOK

func NewPackerServiceUpdateIterationOK() *PackerServiceUpdateIterationOK

NewPackerServiceUpdateIterationOK creates a PackerServiceUpdateIterationOK with default headers values

func (*PackerServiceUpdateIterationOK) Code added in v0.82.0

Code gets the status code for the packer service update iteration o k response

func (*PackerServiceUpdateIterationOK) Error

func (*PackerServiceUpdateIterationOK) GetPayload

func (*PackerServiceUpdateIterationOK) IsClientError added in v0.23.0

func (o *PackerServiceUpdateIterationOK) IsClientError() bool

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

func (*PackerServiceUpdateIterationOK) IsCode added in v0.23.0

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

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

func (*PackerServiceUpdateIterationOK) IsRedirect added in v0.23.0

func (o *PackerServiceUpdateIterationOK) IsRedirect() bool

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

func (*PackerServiceUpdateIterationOK) IsServerError added in v0.23.0

func (o *PackerServiceUpdateIterationOK) IsServerError() bool

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

func (*PackerServiceUpdateIterationOK) IsSuccess added in v0.23.0

func (o *PackerServiceUpdateIterationOK) IsSuccess() bool

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

func (*PackerServiceUpdateIterationOK) String added in v0.23.0

type PackerServiceUpdateIterationParams

type PackerServiceUpdateIterationParams struct {

	// Body.
	Body PackerServiceUpdateIterationBody

	/* IterationID.

	   ULID of the iteration.
	*/
	IterationID string

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

PackerServiceUpdateIterationParams contains all the parameters to send to the API endpoint

for the packer service update iteration operation.

Typically these are written to a http.Request.

func NewPackerServiceUpdateIterationParams

func NewPackerServiceUpdateIterationParams() *PackerServiceUpdateIterationParams

NewPackerServiceUpdateIterationParams creates a new PackerServiceUpdateIterationParams 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 NewPackerServiceUpdateIterationParamsWithContext

func NewPackerServiceUpdateIterationParamsWithContext(ctx context.Context) *PackerServiceUpdateIterationParams

NewPackerServiceUpdateIterationParamsWithContext creates a new PackerServiceUpdateIterationParams object with the ability to set a context for a request.

func NewPackerServiceUpdateIterationParamsWithHTTPClient

func NewPackerServiceUpdateIterationParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateIterationParams

NewPackerServiceUpdateIterationParamsWithHTTPClient creates a new PackerServiceUpdateIterationParams object with the ability to set a custom HTTPClient for a request.

func NewPackerServiceUpdateIterationParamsWithTimeout

func NewPackerServiceUpdateIterationParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateIterationParams

NewPackerServiceUpdateIterationParamsWithTimeout creates a new PackerServiceUpdateIterationParams object with the ability to set a timeout on a request.

func (*PackerServiceUpdateIterationParams) SetBody

SetBody adds the body to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) SetContext

SetContext adds the context to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) SetDefaults added in v0.23.0

func (o *PackerServiceUpdateIterationParams) SetDefaults()

SetDefaults hydrates default values in the packer service update iteration params (not the query body).

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

func (*PackerServiceUpdateIterationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) SetIterationID

func (o *PackerServiceUpdateIterationParams) SetIterationID(iterationID string)

SetIterationID adds the iterationId to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) SetLocationOrganizationID

func (o *PackerServiceUpdateIterationParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) SetLocationProjectID

func (o *PackerServiceUpdateIterationParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) SetTimeout

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

SetTimeout adds the timeout to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithBody

WithBody adds the body to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithContext

WithContext adds the context to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithDefaults added in v0.23.0

WithDefaults hydrates default values in the packer service update iteration params (not the query body).

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

func (*PackerServiceUpdateIterationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithIterationID

WithIterationID adds the iterationID to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WithTimeout

WithTimeout adds the timeout to the packer service update iteration params

func (*PackerServiceUpdateIterationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateIterationParamsBodyLocation added in v0.28.0

type PackerServiceUpdateIterationParamsBodyLocation 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"`
}

PackerServiceUpdateIterationParamsBodyLocation Location represents a target for an operation in HCP. swagger:model PackerServiceUpdateIterationParamsBodyLocation

func (*PackerServiceUpdateIterationParamsBodyLocation) ContextValidate added in v0.28.0

ContextValidate validate this packer service update iteration params body location based on the context it is used

func (*PackerServiceUpdateIterationParamsBodyLocation) MarshalBinary added in v0.28.0

MarshalBinary interface implementation

func (*PackerServiceUpdateIterationParamsBodyLocation) UnmarshalBinary added in v0.28.0

UnmarshalBinary interface implementation

func (*PackerServiceUpdateIterationParamsBodyLocation) Validate added in v0.28.0

Validate validates this packer service update iteration params body location

type PackerServiceUpdateIterationReader

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

PackerServiceUpdateIterationReader is a Reader for the PackerServiceUpdateIteration structure.

func (*PackerServiceUpdateIterationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PackerServiceUpdateRegistryBody added in v0.28.0

type PackerServiceUpdateRegistryBody struct {

	// Activates a deactivated registry. A registry can only be activated
	// if the organization billing account is valid (e.g. valid credits or payment method).
	Activate bool `json:"activate,omitempty"`

	// Feature tier of the Registry.
	// When trying to update a registry to the deprecated PRIVATE_BETA tier, HCP Packer will
	// automatically update to STANDARD.
	FeatureTier *models.HashicorpCloudPackerRegistryConfigTier `json:"feature_tier,omitempty"`

	// location
	Location *PackerServiceUpdateRegistryParamsBodyLocation `json:"location,omitempty"`
}

PackerServiceUpdateRegistryBody packer service update registry body swagger:model PackerServiceUpdateRegistryBody

func (*PackerServiceUpdateRegistryBody) ContextValidate added in v0.28.0

func (o *PackerServiceUpdateRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packer service update registry body based on the context it is used

func (*PackerServiceUpdateRegistryBody) MarshalBinary added in v0.28.0

func (o *PackerServiceUpdateRegistryBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PackerServiceUpdateRegistryBody) UnmarshalBinary added in v0.28.0

func (o *PackerServiceUpdateRegistryBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PackerServiceUpdateRegistryBody) Validate added in v0.28.0

Validate validates this packer service update registry body

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 added in v0.23.0

func (o *PackerServiceUpdateRegistryDefault) IsClientError() bool

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

func (*PackerServiceUpdateRegistryDefault) IsCode added in v0.23.0

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

func (*PackerServiceUpdateRegistryDefault) IsRedirect added in v0.23.0

func (o *PackerServiceUpdateRegistryDefault) IsRedirect() bool

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

func (*PackerServiceUpdateRegistryDefault) IsServerError added in v0.23.0

func (o *PackerServiceUpdateRegistryDefault) IsServerError() bool

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

func (*PackerServiceUpdateRegistryDefault) IsSuccess added in v0.23.0

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

func (*PackerServiceUpdateRegistryDefault) String added in v0.23.0

type PackerServiceUpdateRegistryOK

type PackerServiceUpdateRegistryOK struct {
	Payload *models.HashicorpCloudPackerUpdateRegistryResponse
}

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 added in v0.82.0

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

func (*PackerServiceUpdateRegistryOK) Error

func (*PackerServiceUpdateRegistryOK) GetPayload

func (*PackerServiceUpdateRegistryOK) IsClientError added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

type PackerServiceUpdateRegistryParams

type PackerServiceUpdateRegistryParams struct {

	// Body.
	Body PackerServiceUpdateRegistryBody

	/* LocationOrganizationID.

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

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

PackerServiceUpdateRegistryParams contains all the parameters to send to the API endpoint

for the packer service update registry operation.

Typically these are written to a http.Request.

func NewPackerServiceUpdateRegistryParams

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 added in v0.23.0

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) 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 added in v0.23.0

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) WithTimeout

WithTimeout adds the timeout to the packer service update registry params

func (*PackerServiceUpdateRegistryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PackerServiceUpdateRegistryParamsBodyLocation added in v0.28.0

type PackerServiceUpdateRegistryParamsBodyLocation 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"`
}

PackerServiceUpdateRegistryParamsBodyLocation Location represents a target for an operation in HCP. swagger:model PackerServiceUpdateRegistryParamsBodyLocation

func (*PackerServiceUpdateRegistryParamsBodyLocation) ContextValidate added in v0.28.0

ContextValidate validate this packer service update registry params body location based on the context it is used

func (*PackerServiceUpdateRegistryParamsBodyLocation) MarshalBinary added in v0.28.0

MarshalBinary interface implementation

func (*PackerServiceUpdateRegistryParamsBodyLocation) UnmarshalBinary added in v0.28.0

UnmarshalBinary interface implementation

func (*PackerServiceUpdateRegistryParamsBodyLocation) Validate added in v0.28.0

Validate validates this packer service update registry params body location

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.

Source Files

Jump to

Keyboard shortcuts

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