Documentation ¶
Index ¶
- type Client
- func (a *Client) PackerServiceCreateBucket(params *PackerServiceCreateBucketParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceCreateBucketOK, error)
- func (a *Client) PackerServiceCreateBuild(params *PackerServiceCreateBuildParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceCreateBuildOK, error)
- func (a *Client) PackerServiceCreateChannel(params *PackerServiceCreateChannelParams, ...) (*PackerServiceCreateChannelOK, error)
- func (a *Client) PackerServiceCreateRegistry(params *PackerServiceCreateRegistryParams, ...) (*PackerServiceCreateRegistryOK, error)
- func (a *Client) PackerServiceCreateVersion(params *PackerServiceCreateVersionParams, ...) (*PackerServiceCreateVersionOK, error)
- func (a *Client) PackerServiceDeleteBucket(params *PackerServiceDeleteBucketParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceDeleteBucketOK, error)
- func (a *Client) PackerServiceDeleteBuild(params *PackerServiceDeleteBuildParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceDeleteBuildOK, error)
- func (a *Client) PackerServiceDeleteChannel(params *PackerServiceDeleteChannelParams, ...) (*PackerServiceDeleteChannelOK, error)
- func (a *Client) PackerServiceDeleteRegistry(params *PackerServiceDeleteRegistryParams, ...) (*PackerServiceDeleteRegistryOK, error)
- func (a *Client) PackerServiceDeleteVersion(params *PackerServiceDeleteVersionParams, ...) (*PackerServiceDeleteVersionOK, error)
- func (a *Client) PackerServiceGetBucket(params *PackerServiceGetBucketParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceGetBucketOK, error)
- func (a *Client) PackerServiceGetBuild(params *PackerServiceGetBuildParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceGetBuildOK, error)
- func (a *Client) PackerServiceGetChannel(params *PackerServiceGetChannelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceGetChannelOK, error)
- func (a *Client) PackerServiceGetRegistry(params *PackerServiceGetRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceGetRegistryOK, error)
- func (a *Client) PackerServiceGetRegistryTFCRunTaskAPI(params *PackerServiceGetRegistryTFCRunTaskAPIParams, ...) (*PackerServiceGetRegistryTFCRunTaskAPIOK, error)
- func (a *Client) PackerServiceGetVersion(params *PackerServiceGetVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceGetVersionOK, error)
- func (a *Client) PackerServiceListBucketAncestry(params *PackerServiceListBucketAncestryParams, ...) (*PackerServiceListBucketAncestryOK, error)
- func (a *Client) PackerServiceListBuckets(params *PackerServiceListBucketsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceListBucketsOK, error)
- func (a *Client) PackerServiceListBuilds(params *PackerServiceListBuildsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceListBuildsOK, error)
- func (a *Client) PackerServiceListChannelAssignmentHistory(params *PackerServiceListChannelAssignmentHistoryParams, ...) (*PackerServiceListChannelAssignmentHistoryOK, error)
- func (a *Client) PackerServiceListChannels(params *PackerServiceListChannelsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceListChannelsOK, error)
- func (a *Client) PackerServiceListVersions(params *PackerServiceListVersionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceListVersionsOK, error)
- func (a *Client) PackerServiceRegenerateTFCRunTaskHmacKey(params *PackerServiceRegenerateTFCRunTaskHmacKeyParams, ...) (*PackerServiceRegenerateTFCRunTaskHmacKeyOK, error)
- func (a *Client) PackerServiceUpdateBucket(params *PackerServiceUpdateBucketParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceUpdateBucketOK, error)
- func (a *Client) PackerServiceUpdateBuild(params *PackerServiceUpdateBuildParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PackerServiceUpdateBuildOK, error)
- func (a *Client) PackerServiceUpdateChannel(params *PackerServiceUpdateChannelParams, ...) (*PackerServiceUpdateChannelOK, error)
- func (a *Client) PackerServiceUpdateRegistry(params *PackerServiceUpdateRegistryParams, ...) (*PackerServiceUpdateRegistryOK, error)
- func (a *Client) PackerServiceUpdateVersion(params *PackerServiceUpdateVersionParams, ...) (*PackerServiceUpdateVersionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PackerServiceCreateBucketDefault
- func (o *PackerServiceCreateBucketDefault) Code() int
- func (o *PackerServiceCreateBucketDefault) Error() string
- func (o *PackerServiceCreateBucketDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceCreateBucketDefault) IsClientError() bool
- func (o *PackerServiceCreateBucketDefault) IsCode(code int) bool
- func (o *PackerServiceCreateBucketDefault) IsRedirect() bool
- func (o *PackerServiceCreateBucketDefault) IsServerError() bool
- func (o *PackerServiceCreateBucketDefault) IsSuccess() bool
- func (o *PackerServiceCreateBucketDefault) String() string
- type PackerServiceCreateBucketOK
- func (o *PackerServiceCreateBucketOK) Code() int
- func (o *PackerServiceCreateBucketOK) Error() string
- func (o *PackerServiceCreateBucketOK) GetPayload() *models.HashicorpCloudPacker20230101CreateBucketResponse
- func (o *PackerServiceCreateBucketOK) IsClientError() bool
- func (o *PackerServiceCreateBucketOK) IsCode(code int) bool
- func (o *PackerServiceCreateBucketOK) IsRedirect() bool
- func (o *PackerServiceCreateBucketOK) IsServerError() bool
- func (o *PackerServiceCreateBucketOK) IsSuccess() bool
- func (o *PackerServiceCreateBucketOK) String() string
- type PackerServiceCreateBucketParams
- func NewPackerServiceCreateBucketParams() *PackerServiceCreateBucketParams
- func NewPackerServiceCreateBucketParamsWithContext(ctx context.Context) *PackerServiceCreateBucketParams
- func NewPackerServiceCreateBucketParamsWithHTTPClient(client *http.Client) *PackerServiceCreateBucketParams
- func NewPackerServiceCreateBucketParamsWithTimeout(timeout time.Duration) *PackerServiceCreateBucketParams
- func (o *PackerServiceCreateBucketParams) SetBody(body *models.HashicorpCloudPacker20230101CreateBucketBody)
- func (o *PackerServiceCreateBucketParams) SetContext(ctx context.Context)
- func (o *PackerServiceCreateBucketParams) SetDefaults()
- func (o *PackerServiceCreateBucketParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceCreateBucketParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceCreateBucketParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceCreateBucketParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceCreateBucketParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceCreateBucketParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceCreateBucketParams) WithBody(body *models.HashicorpCloudPacker20230101CreateBucketBody) *PackerServiceCreateBucketParams
- func (o *PackerServiceCreateBucketParams) WithContext(ctx context.Context) *PackerServiceCreateBucketParams
- func (o *PackerServiceCreateBucketParams) WithDefaults() *PackerServiceCreateBucketParams
- func (o *PackerServiceCreateBucketParams) WithHTTPClient(client *http.Client) *PackerServiceCreateBucketParams
- func (o *PackerServiceCreateBucketParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateBucketParams
- func (o *PackerServiceCreateBucketParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateBucketParams
- func (o *PackerServiceCreateBucketParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceCreateBucketParams
- func (o *PackerServiceCreateBucketParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceCreateBucketParams
- func (o *PackerServiceCreateBucketParams) WithTimeout(timeout time.Duration) *PackerServiceCreateBucketParams
- func (o *PackerServiceCreateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceCreateBucketReader
- type PackerServiceCreateBuildDefault
- func (o *PackerServiceCreateBuildDefault) Code() int
- func (o *PackerServiceCreateBuildDefault) Error() string
- func (o *PackerServiceCreateBuildDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceCreateBuildDefault) IsClientError() bool
- func (o *PackerServiceCreateBuildDefault) IsCode(code int) bool
- func (o *PackerServiceCreateBuildDefault) IsRedirect() bool
- func (o *PackerServiceCreateBuildDefault) IsServerError() bool
- func (o *PackerServiceCreateBuildDefault) IsSuccess() bool
- func (o *PackerServiceCreateBuildDefault) String() string
- type PackerServiceCreateBuildOK
- func (o *PackerServiceCreateBuildOK) Code() int
- func (o *PackerServiceCreateBuildOK) Error() string
- func (o *PackerServiceCreateBuildOK) GetPayload() *models.HashicorpCloudPacker20230101CreateBuildResponse
- func (o *PackerServiceCreateBuildOK) IsClientError() bool
- func (o *PackerServiceCreateBuildOK) IsCode(code int) bool
- func (o *PackerServiceCreateBuildOK) IsRedirect() bool
- func (o *PackerServiceCreateBuildOK) IsServerError() bool
- func (o *PackerServiceCreateBuildOK) IsSuccess() bool
- func (o *PackerServiceCreateBuildOK) String() string
- type PackerServiceCreateBuildParams
- func NewPackerServiceCreateBuildParams() *PackerServiceCreateBuildParams
- func NewPackerServiceCreateBuildParamsWithContext(ctx context.Context) *PackerServiceCreateBuildParams
- func NewPackerServiceCreateBuildParamsWithHTTPClient(client *http.Client) *PackerServiceCreateBuildParams
- func NewPackerServiceCreateBuildParamsWithTimeout(timeout time.Duration) *PackerServiceCreateBuildParams
- func (o *PackerServiceCreateBuildParams) SetBody(body *models.HashicorpCloudPacker20230101CreateBuildBody)
- func (o *PackerServiceCreateBuildParams) SetBucketName(bucketName string)
- func (o *PackerServiceCreateBuildParams) SetContext(ctx context.Context)
- func (o *PackerServiceCreateBuildParams) SetDefaults()
- func (o *PackerServiceCreateBuildParams) SetFingerprint(fingerprint string)
- func (o *PackerServiceCreateBuildParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceCreateBuildParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceCreateBuildParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceCreateBuildParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceCreateBuildParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceCreateBuildParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceCreateBuildParams) WithBody(body *models.HashicorpCloudPacker20230101CreateBuildBody) *PackerServiceCreateBuildParams
- func (o *PackerServiceCreateBuildParams) WithBucketName(bucketName string) *PackerServiceCreateBuildParams
- func (o *PackerServiceCreateBuildParams) WithContext(ctx context.Context) *PackerServiceCreateBuildParams
- func (o *PackerServiceCreateBuildParams) WithDefaults() *PackerServiceCreateBuildParams
- func (o *PackerServiceCreateBuildParams) WithFingerprint(fingerprint string) *PackerServiceCreateBuildParams
- func (o *PackerServiceCreateBuildParams) WithHTTPClient(client *http.Client) *PackerServiceCreateBuildParams
- func (o *PackerServiceCreateBuildParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateBuildParams
- func (o *PackerServiceCreateBuildParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateBuildParams
- func (o *PackerServiceCreateBuildParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceCreateBuildParams
- func (o *PackerServiceCreateBuildParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceCreateBuildParams
- func (o *PackerServiceCreateBuildParams) WithTimeout(timeout time.Duration) *PackerServiceCreateBuildParams
- func (o *PackerServiceCreateBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceCreateBuildReader
- type PackerServiceCreateChannelDefault
- func (o *PackerServiceCreateChannelDefault) Code() int
- func (o *PackerServiceCreateChannelDefault) Error() string
- func (o *PackerServiceCreateChannelDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceCreateChannelDefault) IsClientError() bool
- func (o *PackerServiceCreateChannelDefault) IsCode(code int) bool
- func (o *PackerServiceCreateChannelDefault) IsRedirect() bool
- func (o *PackerServiceCreateChannelDefault) IsServerError() bool
- func (o *PackerServiceCreateChannelDefault) IsSuccess() bool
- func (o *PackerServiceCreateChannelDefault) String() string
- type PackerServiceCreateChannelOK
- func (o *PackerServiceCreateChannelOK) Code() int
- func (o *PackerServiceCreateChannelOK) Error() string
- func (o *PackerServiceCreateChannelOK) GetPayload() *models.HashicorpCloudPacker20230101CreateChannelResponse
- func (o *PackerServiceCreateChannelOK) IsClientError() bool
- func (o *PackerServiceCreateChannelOK) IsCode(code int) bool
- func (o *PackerServiceCreateChannelOK) IsRedirect() bool
- func (o *PackerServiceCreateChannelOK) IsServerError() bool
- func (o *PackerServiceCreateChannelOK) IsSuccess() bool
- func (o *PackerServiceCreateChannelOK) String() string
- type PackerServiceCreateChannelParams
- func NewPackerServiceCreateChannelParams() *PackerServiceCreateChannelParams
- func NewPackerServiceCreateChannelParamsWithContext(ctx context.Context) *PackerServiceCreateChannelParams
- func NewPackerServiceCreateChannelParamsWithHTTPClient(client *http.Client) *PackerServiceCreateChannelParams
- func NewPackerServiceCreateChannelParamsWithTimeout(timeout time.Duration) *PackerServiceCreateChannelParams
- func (o *PackerServiceCreateChannelParams) SetBody(body *models.HashicorpCloudPacker20230101CreateChannelBody)
- func (o *PackerServiceCreateChannelParams) SetBucketName(bucketName string)
- func (o *PackerServiceCreateChannelParams) SetContext(ctx context.Context)
- func (o *PackerServiceCreateChannelParams) SetDefaults()
- func (o *PackerServiceCreateChannelParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceCreateChannelParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceCreateChannelParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceCreateChannelParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceCreateChannelParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceCreateChannelParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceCreateChannelParams) WithBody(body *models.HashicorpCloudPacker20230101CreateChannelBody) *PackerServiceCreateChannelParams
- func (o *PackerServiceCreateChannelParams) WithBucketName(bucketName string) *PackerServiceCreateChannelParams
- func (o *PackerServiceCreateChannelParams) WithContext(ctx context.Context) *PackerServiceCreateChannelParams
- func (o *PackerServiceCreateChannelParams) WithDefaults() *PackerServiceCreateChannelParams
- func (o *PackerServiceCreateChannelParams) WithHTTPClient(client *http.Client) *PackerServiceCreateChannelParams
- func (o *PackerServiceCreateChannelParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateChannelParams
- func (o *PackerServiceCreateChannelParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateChannelParams
- func (o *PackerServiceCreateChannelParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceCreateChannelParams
- func (o *PackerServiceCreateChannelParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceCreateChannelParams
- func (o *PackerServiceCreateChannelParams) WithTimeout(timeout time.Duration) *PackerServiceCreateChannelParams
- func (o *PackerServiceCreateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceCreateChannelReader
- type PackerServiceCreateRegistryDefault
- func (o *PackerServiceCreateRegistryDefault) Code() int
- func (o *PackerServiceCreateRegistryDefault) Error() string
- func (o *PackerServiceCreateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceCreateRegistryDefault) IsClientError() bool
- func (o *PackerServiceCreateRegistryDefault) IsCode(code int) bool
- func (o *PackerServiceCreateRegistryDefault) IsRedirect() bool
- func (o *PackerServiceCreateRegistryDefault) IsServerError() bool
- func (o *PackerServiceCreateRegistryDefault) IsSuccess() bool
- func (o *PackerServiceCreateRegistryDefault) String() string
- type PackerServiceCreateRegistryOK
- func (o *PackerServiceCreateRegistryOK) Code() int
- func (o *PackerServiceCreateRegistryOK) Error() string
- func (o *PackerServiceCreateRegistryOK) GetPayload() *models.HashicorpCloudPacker20230101CreateRegistryResponse
- func (o *PackerServiceCreateRegistryOK) IsClientError() bool
- func (o *PackerServiceCreateRegistryOK) IsCode(code int) bool
- func (o *PackerServiceCreateRegistryOK) IsRedirect() bool
- func (o *PackerServiceCreateRegistryOK) IsServerError() bool
- func (o *PackerServiceCreateRegistryOK) IsSuccess() bool
- func (o *PackerServiceCreateRegistryOK) String() string
- type PackerServiceCreateRegistryParams
- func NewPackerServiceCreateRegistryParams() *PackerServiceCreateRegistryParams
- func NewPackerServiceCreateRegistryParamsWithContext(ctx context.Context) *PackerServiceCreateRegistryParams
- func NewPackerServiceCreateRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceCreateRegistryParams
- func NewPackerServiceCreateRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceCreateRegistryParams
- func (o *PackerServiceCreateRegistryParams) SetBody(body *models.HashicorpCloudPacker20230101CreateRegistryBody)
- func (o *PackerServiceCreateRegistryParams) SetContext(ctx context.Context)
- func (o *PackerServiceCreateRegistryParams) SetDefaults()
- func (o *PackerServiceCreateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceCreateRegistryParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceCreateRegistryParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceCreateRegistryParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceCreateRegistryParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceCreateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceCreateRegistryParams) WithBody(body *models.HashicorpCloudPacker20230101CreateRegistryBody) *PackerServiceCreateRegistryParams
- func (o *PackerServiceCreateRegistryParams) WithContext(ctx context.Context) *PackerServiceCreateRegistryParams
- func (o *PackerServiceCreateRegistryParams) WithDefaults() *PackerServiceCreateRegistryParams
- func (o *PackerServiceCreateRegistryParams) WithHTTPClient(client *http.Client) *PackerServiceCreateRegistryParams
- func (o *PackerServiceCreateRegistryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateRegistryParams
- func (o *PackerServiceCreateRegistryParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateRegistryParams
- func (o *PackerServiceCreateRegistryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceCreateRegistryParams
- func (o *PackerServiceCreateRegistryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceCreateRegistryParams
- func (o *PackerServiceCreateRegistryParams) WithTimeout(timeout time.Duration) *PackerServiceCreateRegistryParams
- func (o *PackerServiceCreateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceCreateRegistryReader
- type PackerServiceCreateVersionDefault
- func (o *PackerServiceCreateVersionDefault) Code() int
- func (o *PackerServiceCreateVersionDefault) Error() string
- func (o *PackerServiceCreateVersionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceCreateVersionDefault) IsClientError() bool
- func (o *PackerServiceCreateVersionDefault) IsCode(code int) bool
- func (o *PackerServiceCreateVersionDefault) IsRedirect() bool
- func (o *PackerServiceCreateVersionDefault) IsServerError() bool
- func (o *PackerServiceCreateVersionDefault) IsSuccess() bool
- func (o *PackerServiceCreateVersionDefault) String() string
- type PackerServiceCreateVersionOK
- func (o *PackerServiceCreateVersionOK) Code() int
- func (o *PackerServiceCreateVersionOK) Error() string
- func (o *PackerServiceCreateVersionOK) GetPayload() *models.HashicorpCloudPacker20230101CreateVersionResponse
- func (o *PackerServiceCreateVersionOK) IsClientError() bool
- func (o *PackerServiceCreateVersionOK) IsCode(code int) bool
- func (o *PackerServiceCreateVersionOK) IsRedirect() bool
- func (o *PackerServiceCreateVersionOK) IsServerError() bool
- func (o *PackerServiceCreateVersionOK) IsSuccess() bool
- func (o *PackerServiceCreateVersionOK) String() string
- type PackerServiceCreateVersionParams
- func NewPackerServiceCreateVersionParams() *PackerServiceCreateVersionParams
- func NewPackerServiceCreateVersionParamsWithContext(ctx context.Context) *PackerServiceCreateVersionParams
- func NewPackerServiceCreateVersionParamsWithHTTPClient(client *http.Client) *PackerServiceCreateVersionParams
- func NewPackerServiceCreateVersionParamsWithTimeout(timeout time.Duration) *PackerServiceCreateVersionParams
- func (o *PackerServiceCreateVersionParams) SetBody(body *models.HashicorpCloudPacker20230101CreateVersionBody)
- func (o *PackerServiceCreateVersionParams) SetBucketName(bucketName string)
- func (o *PackerServiceCreateVersionParams) SetContext(ctx context.Context)
- func (o *PackerServiceCreateVersionParams) SetDefaults()
- func (o *PackerServiceCreateVersionParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceCreateVersionParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceCreateVersionParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceCreateVersionParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceCreateVersionParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceCreateVersionParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceCreateVersionParams) WithBody(body *models.HashicorpCloudPacker20230101CreateVersionBody) *PackerServiceCreateVersionParams
- func (o *PackerServiceCreateVersionParams) WithBucketName(bucketName string) *PackerServiceCreateVersionParams
- func (o *PackerServiceCreateVersionParams) WithContext(ctx context.Context) *PackerServiceCreateVersionParams
- func (o *PackerServiceCreateVersionParams) WithDefaults() *PackerServiceCreateVersionParams
- func (o *PackerServiceCreateVersionParams) WithHTTPClient(client *http.Client) *PackerServiceCreateVersionParams
- func (o *PackerServiceCreateVersionParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateVersionParams
- func (o *PackerServiceCreateVersionParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateVersionParams
- func (o *PackerServiceCreateVersionParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceCreateVersionParams
- func (o *PackerServiceCreateVersionParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceCreateVersionParams
- func (o *PackerServiceCreateVersionParams) WithTimeout(timeout time.Duration) *PackerServiceCreateVersionParams
- func (o *PackerServiceCreateVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceCreateVersionReader
- type PackerServiceDeleteBucketDefault
- func (o *PackerServiceDeleteBucketDefault) Code() int
- func (o *PackerServiceDeleteBucketDefault) Error() string
- func (o *PackerServiceDeleteBucketDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceDeleteBucketDefault) IsClientError() bool
- func (o *PackerServiceDeleteBucketDefault) IsCode(code int) bool
- func (o *PackerServiceDeleteBucketDefault) IsRedirect() bool
- func (o *PackerServiceDeleteBucketDefault) IsServerError() bool
- func (o *PackerServiceDeleteBucketDefault) IsSuccess() bool
- func (o *PackerServiceDeleteBucketDefault) String() string
- type PackerServiceDeleteBucketOK
- func (o *PackerServiceDeleteBucketOK) Code() int
- func (o *PackerServiceDeleteBucketOK) Error() string
- func (o *PackerServiceDeleteBucketOK) GetPayload() models.HashicorpCloudPacker20230101DeleteBucketResponse
- func (o *PackerServiceDeleteBucketOK) IsClientError() bool
- func (o *PackerServiceDeleteBucketOK) IsCode(code int) bool
- func (o *PackerServiceDeleteBucketOK) IsRedirect() bool
- func (o *PackerServiceDeleteBucketOK) IsServerError() bool
- func (o *PackerServiceDeleteBucketOK) IsSuccess() bool
- func (o *PackerServiceDeleteBucketOK) String() string
- type PackerServiceDeleteBucketParams
- func NewPackerServiceDeleteBucketParams() *PackerServiceDeleteBucketParams
- func NewPackerServiceDeleteBucketParamsWithContext(ctx context.Context) *PackerServiceDeleteBucketParams
- func NewPackerServiceDeleteBucketParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteBucketParams
- func NewPackerServiceDeleteBucketParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteBucketParams
- func (o *PackerServiceDeleteBucketParams) SetBucketName(bucketName string)
- func (o *PackerServiceDeleteBucketParams) SetContext(ctx context.Context)
- func (o *PackerServiceDeleteBucketParams) SetDefaults()
- func (o *PackerServiceDeleteBucketParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceDeleteBucketParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceDeleteBucketParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceDeleteBucketParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceDeleteBucketParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceDeleteBucketParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceDeleteBucketParams) WithBucketName(bucketName string) *PackerServiceDeleteBucketParams
- func (o *PackerServiceDeleteBucketParams) WithContext(ctx context.Context) *PackerServiceDeleteBucketParams
- func (o *PackerServiceDeleteBucketParams) WithDefaults() *PackerServiceDeleteBucketParams
- func (o *PackerServiceDeleteBucketParams) WithHTTPClient(client *http.Client) *PackerServiceDeleteBucketParams
- func (o *PackerServiceDeleteBucketParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteBucketParams
- func (o *PackerServiceDeleteBucketParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteBucketParams
- func (o *PackerServiceDeleteBucketParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteBucketParams
- func (o *PackerServiceDeleteBucketParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteBucketParams
- func (o *PackerServiceDeleteBucketParams) WithTimeout(timeout time.Duration) *PackerServiceDeleteBucketParams
- func (o *PackerServiceDeleteBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceDeleteBucketReader
- type PackerServiceDeleteBuildDefault
- func (o *PackerServiceDeleteBuildDefault) Code() int
- func (o *PackerServiceDeleteBuildDefault) Error() string
- func (o *PackerServiceDeleteBuildDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceDeleteBuildDefault) IsClientError() bool
- func (o *PackerServiceDeleteBuildDefault) IsCode(code int) bool
- func (o *PackerServiceDeleteBuildDefault) IsRedirect() bool
- func (o *PackerServiceDeleteBuildDefault) IsServerError() bool
- func (o *PackerServiceDeleteBuildDefault) IsSuccess() bool
- func (o *PackerServiceDeleteBuildDefault) String() string
- type PackerServiceDeleteBuildOK
- func (o *PackerServiceDeleteBuildOK) Code() int
- func (o *PackerServiceDeleteBuildOK) Error() string
- func (o *PackerServiceDeleteBuildOK) GetPayload() models.HashicorpCloudPacker20230101DeleteBuildResponse
- func (o *PackerServiceDeleteBuildOK) IsClientError() bool
- func (o *PackerServiceDeleteBuildOK) IsCode(code int) bool
- func (o *PackerServiceDeleteBuildOK) IsRedirect() bool
- func (o *PackerServiceDeleteBuildOK) IsServerError() bool
- func (o *PackerServiceDeleteBuildOK) IsSuccess() bool
- func (o *PackerServiceDeleteBuildOK) String() string
- type PackerServiceDeleteBuildParams
- func NewPackerServiceDeleteBuildParams() *PackerServiceDeleteBuildParams
- func NewPackerServiceDeleteBuildParamsWithContext(ctx context.Context) *PackerServiceDeleteBuildParams
- func NewPackerServiceDeleteBuildParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteBuildParams
- func NewPackerServiceDeleteBuildParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteBuildParams
- func (o *PackerServiceDeleteBuildParams) SetBucketName(bucketName string)
- func (o *PackerServiceDeleteBuildParams) SetBuildID(buildID string)
- func (o *PackerServiceDeleteBuildParams) SetContext(ctx context.Context)
- func (o *PackerServiceDeleteBuildParams) SetDefaults()
- func (o *PackerServiceDeleteBuildParams) SetFingerprint(fingerprint string)
- func (o *PackerServiceDeleteBuildParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceDeleteBuildParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceDeleteBuildParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceDeleteBuildParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceDeleteBuildParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceDeleteBuildParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceDeleteBuildParams) WithBucketName(bucketName string) *PackerServiceDeleteBuildParams
- func (o *PackerServiceDeleteBuildParams) WithBuildID(buildID string) *PackerServiceDeleteBuildParams
- func (o *PackerServiceDeleteBuildParams) WithContext(ctx context.Context) *PackerServiceDeleteBuildParams
- func (o *PackerServiceDeleteBuildParams) WithDefaults() *PackerServiceDeleteBuildParams
- func (o *PackerServiceDeleteBuildParams) WithFingerprint(fingerprint string) *PackerServiceDeleteBuildParams
- func (o *PackerServiceDeleteBuildParams) WithHTTPClient(client *http.Client) *PackerServiceDeleteBuildParams
- func (o *PackerServiceDeleteBuildParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteBuildParams
- func (o *PackerServiceDeleteBuildParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteBuildParams
- func (o *PackerServiceDeleteBuildParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteBuildParams
- func (o *PackerServiceDeleteBuildParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteBuildParams
- func (o *PackerServiceDeleteBuildParams) WithTimeout(timeout time.Duration) *PackerServiceDeleteBuildParams
- func (o *PackerServiceDeleteBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceDeleteBuildReader
- type PackerServiceDeleteChannelDefault
- func (o *PackerServiceDeleteChannelDefault) Code() int
- func (o *PackerServiceDeleteChannelDefault) Error() string
- func (o *PackerServiceDeleteChannelDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceDeleteChannelDefault) IsClientError() bool
- func (o *PackerServiceDeleteChannelDefault) IsCode(code int) bool
- func (o *PackerServiceDeleteChannelDefault) IsRedirect() bool
- func (o *PackerServiceDeleteChannelDefault) IsServerError() bool
- func (o *PackerServiceDeleteChannelDefault) IsSuccess() bool
- func (o *PackerServiceDeleteChannelDefault) String() string
- type PackerServiceDeleteChannelOK
- func (o *PackerServiceDeleteChannelOK) Code() int
- func (o *PackerServiceDeleteChannelOK) Error() string
- func (o *PackerServiceDeleteChannelOK) GetPayload() models.HashicorpCloudPacker20230101DeleteChannelResponse
- func (o *PackerServiceDeleteChannelOK) IsClientError() bool
- func (o *PackerServiceDeleteChannelOK) IsCode(code int) bool
- func (o *PackerServiceDeleteChannelOK) IsRedirect() bool
- func (o *PackerServiceDeleteChannelOK) IsServerError() bool
- func (o *PackerServiceDeleteChannelOK) IsSuccess() bool
- func (o *PackerServiceDeleteChannelOK) String() string
- type PackerServiceDeleteChannelParams
- func NewPackerServiceDeleteChannelParams() *PackerServiceDeleteChannelParams
- func NewPackerServiceDeleteChannelParamsWithContext(ctx context.Context) *PackerServiceDeleteChannelParams
- func NewPackerServiceDeleteChannelParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteChannelParams
- func NewPackerServiceDeleteChannelParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteChannelParams
- func (o *PackerServiceDeleteChannelParams) SetBucketName(bucketName string)
- func (o *PackerServiceDeleteChannelParams) SetChannelName(channelName string)
- func (o *PackerServiceDeleteChannelParams) SetContext(ctx context.Context)
- func (o *PackerServiceDeleteChannelParams) SetDefaults()
- func (o *PackerServiceDeleteChannelParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceDeleteChannelParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceDeleteChannelParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceDeleteChannelParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceDeleteChannelParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceDeleteChannelParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceDeleteChannelParams) WithBucketName(bucketName string) *PackerServiceDeleteChannelParams
- func (o *PackerServiceDeleteChannelParams) WithChannelName(channelName string) *PackerServiceDeleteChannelParams
- func (o *PackerServiceDeleteChannelParams) WithContext(ctx context.Context) *PackerServiceDeleteChannelParams
- func (o *PackerServiceDeleteChannelParams) WithDefaults() *PackerServiceDeleteChannelParams
- func (o *PackerServiceDeleteChannelParams) WithHTTPClient(client *http.Client) *PackerServiceDeleteChannelParams
- func (o *PackerServiceDeleteChannelParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteChannelParams
- func (o *PackerServiceDeleteChannelParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteChannelParams
- func (o *PackerServiceDeleteChannelParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteChannelParams
- func (o *PackerServiceDeleteChannelParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteChannelParams
- func (o *PackerServiceDeleteChannelParams) WithTimeout(timeout time.Duration) *PackerServiceDeleteChannelParams
- func (o *PackerServiceDeleteChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceDeleteChannelReader
- type PackerServiceDeleteRegistryDefault
- func (o *PackerServiceDeleteRegistryDefault) Code() int
- func (o *PackerServiceDeleteRegistryDefault) Error() string
- func (o *PackerServiceDeleteRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceDeleteRegistryDefault) IsClientError() bool
- func (o *PackerServiceDeleteRegistryDefault) IsCode(code int) bool
- func (o *PackerServiceDeleteRegistryDefault) IsRedirect() bool
- func (o *PackerServiceDeleteRegistryDefault) IsServerError() bool
- func (o *PackerServiceDeleteRegistryDefault) IsSuccess() bool
- func (o *PackerServiceDeleteRegistryDefault) String() string
- type PackerServiceDeleteRegistryOK
- func (o *PackerServiceDeleteRegistryOK) Code() int
- func (o *PackerServiceDeleteRegistryOK) Error() string
- func (o *PackerServiceDeleteRegistryOK) GetPayload() *models.HashicorpCloudPacker20230101DeleteRegistryResponse
- func (o *PackerServiceDeleteRegistryOK) IsClientError() bool
- func (o *PackerServiceDeleteRegistryOK) IsCode(code int) bool
- func (o *PackerServiceDeleteRegistryOK) IsRedirect() bool
- func (o *PackerServiceDeleteRegistryOK) IsServerError() bool
- func (o *PackerServiceDeleteRegistryOK) IsSuccess() bool
- func (o *PackerServiceDeleteRegistryOK) String() string
- type PackerServiceDeleteRegistryParams
- func NewPackerServiceDeleteRegistryParams() *PackerServiceDeleteRegistryParams
- func NewPackerServiceDeleteRegistryParamsWithContext(ctx context.Context) *PackerServiceDeleteRegistryParams
- func NewPackerServiceDeleteRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteRegistryParams
- func NewPackerServiceDeleteRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteRegistryParams
- func (o *PackerServiceDeleteRegistryParams) SetContext(ctx context.Context)
- func (o *PackerServiceDeleteRegistryParams) SetDefaults()
- func (o *PackerServiceDeleteRegistryParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceDeleteRegistryParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceDeleteRegistryParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceDeleteRegistryParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceDeleteRegistryParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceDeleteRegistryParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceDeleteRegistryParams) WithContext(ctx context.Context) *PackerServiceDeleteRegistryParams
- func (o *PackerServiceDeleteRegistryParams) WithDefaults() *PackerServiceDeleteRegistryParams
- func (o *PackerServiceDeleteRegistryParams) WithHTTPClient(client *http.Client) *PackerServiceDeleteRegistryParams
- func (o *PackerServiceDeleteRegistryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteRegistryParams
- func (o *PackerServiceDeleteRegistryParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteRegistryParams
- func (o *PackerServiceDeleteRegistryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteRegistryParams
- func (o *PackerServiceDeleteRegistryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteRegistryParams
- func (o *PackerServiceDeleteRegistryParams) WithTimeout(timeout time.Duration) *PackerServiceDeleteRegistryParams
- func (o *PackerServiceDeleteRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceDeleteRegistryReader
- type PackerServiceDeleteVersionDefault
- func (o *PackerServiceDeleteVersionDefault) Code() int
- func (o *PackerServiceDeleteVersionDefault) Error() string
- func (o *PackerServiceDeleteVersionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceDeleteVersionDefault) IsClientError() bool
- func (o *PackerServiceDeleteVersionDefault) IsCode(code int) bool
- func (o *PackerServiceDeleteVersionDefault) IsRedirect() bool
- func (o *PackerServiceDeleteVersionDefault) IsServerError() bool
- func (o *PackerServiceDeleteVersionDefault) IsSuccess() bool
- func (o *PackerServiceDeleteVersionDefault) String() string
- type PackerServiceDeleteVersionOK
- func (o *PackerServiceDeleteVersionOK) Code() int
- func (o *PackerServiceDeleteVersionOK) Error() string
- func (o *PackerServiceDeleteVersionOK) GetPayload() models.HashicorpCloudPacker20230101DeleteVersionResponse
- func (o *PackerServiceDeleteVersionOK) IsClientError() bool
- func (o *PackerServiceDeleteVersionOK) IsCode(code int) bool
- func (o *PackerServiceDeleteVersionOK) IsRedirect() bool
- func (o *PackerServiceDeleteVersionOK) IsServerError() bool
- func (o *PackerServiceDeleteVersionOK) IsSuccess() bool
- func (o *PackerServiceDeleteVersionOK) String() string
- type PackerServiceDeleteVersionParams
- func NewPackerServiceDeleteVersionParams() *PackerServiceDeleteVersionParams
- func NewPackerServiceDeleteVersionParamsWithContext(ctx context.Context) *PackerServiceDeleteVersionParams
- func NewPackerServiceDeleteVersionParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteVersionParams
- func NewPackerServiceDeleteVersionParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteVersionParams
- func (o *PackerServiceDeleteVersionParams) SetBucketName(bucketName string)
- func (o *PackerServiceDeleteVersionParams) SetContext(ctx context.Context)
- func (o *PackerServiceDeleteVersionParams) SetDefaults()
- func (o *PackerServiceDeleteVersionParams) SetFingerprint(fingerprint string)
- func (o *PackerServiceDeleteVersionParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceDeleteVersionParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceDeleteVersionParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceDeleteVersionParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceDeleteVersionParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceDeleteVersionParams) SetRollbackChannels(rollbackChannels *bool)
- func (o *PackerServiceDeleteVersionParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceDeleteVersionParams) WithBucketName(bucketName string) *PackerServiceDeleteVersionParams
- func (o *PackerServiceDeleteVersionParams) WithContext(ctx context.Context) *PackerServiceDeleteVersionParams
- func (o *PackerServiceDeleteVersionParams) WithDefaults() *PackerServiceDeleteVersionParams
- func (o *PackerServiceDeleteVersionParams) WithFingerprint(fingerprint string) *PackerServiceDeleteVersionParams
- func (o *PackerServiceDeleteVersionParams) WithHTTPClient(client *http.Client) *PackerServiceDeleteVersionParams
- func (o *PackerServiceDeleteVersionParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteVersionParams
- func (o *PackerServiceDeleteVersionParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteVersionParams
- func (o *PackerServiceDeleteVersionParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteVersionParams
- func (o *PackerServiceDeleteVersionParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteVersionParams
- func (o *PackerServiceDeleteVersionParams) WithRollbackChannels(rollbackChannels *bool) *PackerServiceDeleteVersionParams
- func (o *PackerServiceDeleteVersionParams) WithTimeout(timeout time.Duration) *PackerServiceDeleteVersionParams
- func (o *PackerServiceDeleteVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceDeleteVersionReader
- type PackerServiceGetBucketDefault
- func (o *PackerServiceGetBucketDefault) Code() int
- func (o *PackerServiceGetBucketDefault) Error() string
- func (o *PackerServiceGetBucketDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceGetBucketDefault) IsClientError() bool
- func (o *PackerServiceGetBucketDefault) IsCode(code int) bool
- func (o *PackerServiceGetBucketDefault) IsRedirect() bool
- func (o *PackerServiceGetBucketDefault) IsServerError() bool
- func (o *PackerServiceGetBucketDefault) IsSuccess() bool
- func (o *PackerServiceGetBucketDefault) String() string
- type PackerServiceGetBucketOK
- func (o *PackerServiceGetBucketOK) Code() int
- func (o *PackerServiceGetBucketOK) Error() string
- func (o *PackerServiceGetBucketOK) GetPayload() *models.HashicorpCloudPacker20230101GetBucketResponse
- func (o *PackerServiceGetBucketOK) IsClientError() bool
- func (o *PackerServiceGetBucketOK) IsCode(code int) bool
- func (o *PackerServiceGetBucketOK) IsRedirect() bool
- func (o *PackerServiceGetBucketOK) IsServerError() bool
- func (o *PackerServiceGetBucketOK) IsSuccess() bool
- func (o *PackerServiceGetBucketOK) String() string
- type PackerServiceGetBucketParams
- func NewPackerServiceGetBucketParams() *PackerServiceGetBucketParams
- func NewPackerServiceGetBucketParamsWithContext(ctx context.Context) *PackerServiceGetBucketParams
- func NewPackerServiceGetBucketParamsWithHTTPClient(client *http.Client) *PackerServiceGetBucketParams
- func NewPackerServiceGetBucketParamsWithTimeout(timeout time.Duration) *PackerServiceGetBucketParams
- func (o *PackerServiceGetBucketParams) SetBucketName(bucketName string)
- func (o *PackerServiceGetBucketParams) SetContext(ctx context.Context)
- func (o *PackerServiceGetBucketParams) SetDefaults()
- func (o *PackerServiceGetBucketParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceGetBucketParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceGetBucketParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceGetBucketParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceGetBucketParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceGetBucketParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceGetBucketParams) WithBucketName(bucketName string) *PackerServiceGetBucketParams
- func (o *PackerServiceGetBucketParams) WithContext(ctx context.Context) *PackerServiceGetBucketParams
- func (o *PackerServiceGetBucketParams) WithDefaults() *PackerServiceGetBucketParams
- func (o *PackerServiceGetBucketParams) WithHTTPClient(client *http.Client) *PackerServiceGetBucketParams
- func (o *PackerServiceGetBucketParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetBucketParams
- func (o *PackerServiceGetBucketParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetBucketParams
- func (o *PackerServiceGetBucketParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetBucketParams
- func (o *PackerServiceGetBucketParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetBucketParams
- func (o *PackerServiceGetBucketParams) WithTimeout(timeout time.Duration) *PackerServiceGetBucketParams
- func (o *PackerServiceGetBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceGetBucketReader
- type PackerServiceGetBuildDefault
- func (o *PackerServiceGetBuildDefault) Code() int
- func (o *PackerServiceGetBuildDefault) Error() string
- func (o *PackerServiceGetBuildDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceGetBuildDefault) IsClientError() bool
- func (o *PackerServiceGetBuildDefault) IsCode(code int) bool
- func (o *PackerServiceGetBuildDefault) IsRedirect() bool
- func (o *PackerServiceGetBuildDefault) IsServerError() bool
- func (o *PackerServiceGetBuildDefault) IsSuccess() bool
- func (o *PackerServiceGetBuildDefault) String() string
- type PackerServiceGetBuildOK
- func (o *PackerServiceGetBuildOK) Code() int
- func (o *PackerServiceGetBuildOK) Error() string
- func (o *PackerServiceGetBuildOK) GetPayload() *models.HashicorpCloudPacker20230101GetBuildResponse
- func (o *PackerServiceGetBuildOK) IsClientError() bool
- func (o *PackerServiceGetBuildOK) IsCode(code int) bool
- func (o *PackerServiceGetBuildOK) IsRedirect() bool
- func (o *PackerServiceGetBuildOK) IsServerError() bool
- func (o *PackerServiceGetBuildOK) IsSuccess() bool
- func (o *PackerServiceGetBuildOK) String() string
- type PackerServiceGetBuildParams
- func NewPackerServiceGetBuildParams() *PackerServiceGetBuildParams
- func NewPackerServiceGetBuildParamsWithContext(ctx context.Context) *PackerServiceGetBuildParams
- func NewPackerServiceGetBuildParamsWithHTTPClient(client *http.Client) *PackerServiceGetBuildParams
- func NewPackerServiceGetBuildParamsWithTimeout(timeout time.Duration) *PackerServiceGetBuildParams
- func (o *PackerServiceGetBuildParams) SetBucketName(bucketName string)
- func (o *PackerServiceGetBuildParams) SetBuildID(buildID string)
- func (o *PackerServiceGetBuildParams) SetContext(ctx context.Context)
- func (o *PackerServiceGetBuildParams) SetDefaults()
- func (o *PackerServiceGetBuildParams) SetFingerprint(fingerprint string)
- func (o *PackerServiceGetBuildParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceGetBuildParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceGetBuildParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceGetBuildParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceGetBuildParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceGetBuildParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceGetBuildParams) WithBucketName(bucketName string) *PackerServiceGetBuildParams
- func (o *PackerServiceGetBuildParams) WithBuildID(buildID string) *PackerServiceGetBuildParams
- func (o *PackerServiceGetBuildParams) WithContext(ctx context.Context) *PackerServiceGetBuildParams
- func (o *PackerServiceGetBuildParams) WithDefaults() *PackerServiceGetBuildParams
- func (o *PackerServiceGetBuildParams) WithFingerprint(fingerprint string) *PackerServiceGetBuildParams
- func (o *PackerServiceGetBuildParams) WithHTTPClient(client *http.Client) *PackerServiceGetBuildParams
- func (o *PackerServiceGetBuildParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetBuildParams
- func (o *PackerServiceGetBuildParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetBuildParams
- func (o *PackerServiceGetBuildParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetBuildParams
- func (o *PackerServiceGetBuildParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetBuildParams
- func (o *PackerServiceGetBuildParams) WithTimeout(timeout time.Duration) *PackerServiceGetBuildParams
- func (o *PackerServiceGetBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceGetBuildReader
- type PackerServiceGetChannelDefault
- func (o *PackerServiceGetChannelDefault) Code() int
- func (o *PackerServiceGetChannelDefault) Error() string
- func (o *PackerServiceGetChannelDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceGetChannelDefault) IsClientError() bool
- func (o *PackerServiceGetChannelDefault) IsCode(code int) bool
- func (o *PackerServiceGetChannelDefault) IsRedirect() bool
- func (o *PackerServiceGetChannelDefault) IsServerError() bool
- func (o *PackerServiceGetChannelDefault) IsSuccess() bool
- func (o *PackerServiceGetChannelDefault) String() string
- type PackerServiceGetChannelOK
- func (o *PackerServiceGetChannelOK) Code() int
- func (o *PackerServiceGetChannelOK) Error() string
- func (o *PackerServiceGetChannelOK) GetPayload() *models.HashicorpCloudPacker20230101GetChannelResponse
- func (o *PackerServiceGetChannelOK) IsClientError() bool
- func (o *PackerServiceGetChannelOK) IsCode(code int) bool
- func (o *PackerServiceGetChannelOK) IsRedirect() bool
- func (o *PackerServiceGetChannelOK) IsServerError() bool
- func (o *PackerServiceGetChannelOK) IsSuccess() bool
- func (o *PackerServiceGetChannelOK) String() string
- type PackerServiceGetChannelParams
- func NewPackerServiceGetChannelParams() *PackerServiceGetChannelParams
- func NewPackerServiceGetChannelParamsWithContext(ctx context.Context) *PackerServiceGetChannelParams
- func NewPackerServiceGetChannelParamsWithHTTPClient(client *http.Client) *PackerServiceGetChannelParams
- func NewPackerServiceGetChannelParamsWithTimeout(timeout time.Duration) *PackerServiceGetChannelParams
- func (o *PackerServiceGetChannelParams) SetBucketName(bucketName string)
- func (o *PackerServiceGetChannelParams) SetChannelName(channelName string)
- func (o *PackerServiceGetChannelParams) SetContext(ctx context.Context)
- func (o *PackerServiceGetChannelParams) SetDefaults()
- func (o *PackerServiceGetChannelParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceGetChannelParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceGetChannelParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceGetChannelParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceGetChannelParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceGetChannelParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceGetChannelParams) WithBucketName(bucketName string) *PackerServiceGetChannelParams
- func (o *PackerServiceGetChannelParams) WithChannelName(channelName string) *PackerServiceGetChannelParams
- func (o *PackerServiceGetChannelParams) WithContext(ctx context.Context) *PackerServiceGetChannelParams
- func (o *PackerServiceGetChannelParams) WithDefaults() *PackerServiceGetChannelParams
- func (o *PackerServiceGetChannelParams) WithHTTPClient(client *http.Client) *PackerServiceGetChannelParams
- func (o *PackerServiceGetChannelParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetChannelParams
- func (o *PackerServiceGetChannelParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetChannelParams
- func (o *PackerServiceGetChannelParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetChannelParams
- func (o *PackerServiceGetChannelParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetChannelParams
- func (o *PackerServiceGetChannelParams) WithTimeout(timeout time.Duration) *PackerServiceGetChannelParams
- func (o *PackerServiceGetChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceGetChannelReader
- type PackerServiceGetRegistryDefault
- func (o *PackerServiceGetRegistryDefault) Code() int
- func (o *PackerServiceGetRegistryDefault) Error() string
- func (o *PackerServiceGetRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceGetRegistryDefault) IsClientError() bool
- func (o *PackerServiceGetRegistryDefault) IsCode(code int) bool
- func (o *PackerServiceGetRegistryDefault) IsRedirect() bool
- func (o *PackerServiceGetRegistryDefault) IsServerError() bool
- func (o *PackerServiceGetRegistryDefault) IsSuccess() bool
- func (o *PackerServiceGetRegistryDefault) String() string
- type PackerServiceGetRegistryOK
- func (o *PackerServiceGetRegistryOK) Code() int
- func (o *PackerServiceGetRegistryOK) Error() string
- func (o *PackerServiceGetRegistryOK) GetPayload() *models.HashicorpCloudPacker20230101GetRegistryResponse
- func (o *PackerServiceGetRegistryOK) IsClientError() bool
- func (o *PackerServiceGetRegistryOK) IsCode(code int) bool
- func (o *PackerServiceGetRegistryOK) IsRedirect() bool
- func (o *PackerServiceGetRegistryOK) IsServerError() bool
- func (o *PackerServiceGetRegistryOK) IsSuccess() bool
- func (o *PackerServiceGetRegistryOK) String() string
- type PackerServiceGetRegistryParams
- func NewPackerServiceGetRegistryParams() *PackerServiceGetRegistryParams
- func NewPackerServiceGetRegistryParamsWithContext(ctx context.Context) *PackerServiceGetRegistryParams
- func NewPackerServiceGetRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceGetRegistryParams
- func NewPackerServiceGetRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceGetRegistryParams
- func (o *PackerServiceGetRegistryParams) SetContext(ctx context.Context)
- func (o *PackerServiceGetRegistryParams) SetDefaults()
- func (o *PackerServiceGetRegistryParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceGetRegistryParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceGetRegistryParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceGetRegistryParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceGetRegistryParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceGetRegistryParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceGetRegistryParams) WithContext(ctx context.Context) *PackerServiceGetRegistryParams
- func (o *PackerServiceGetRegistryParams) WithDefaults() *PackerServiceGetRegistryParams
- func (o *PackerServiceGetRegistryParams) WithHTTPClient(client *http.Client) *PackerServiceGetRegistryParams
- func (o *PackerServiceGetRegistryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetRegistryParams
- func (o *PackerServiceGetRegistryParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetRegistryParams
- func (o *PackerServiceGetRegistryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetRegistryParams
- func (o *PackerServiceGetRegistryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetRegistryParams
- func (o *PackerServiceGetRegistryParams) WithTimeout(timeout time.Duration) *PackerServiceGetRegistryParams
- func (o *PackerServiceGetRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceGetRegistryReader
- type PackerServiceGetRegistryTFCRunTaskAPIDefault
- func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) Code() int
- func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) Error() string
- func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) IsClientError() bool
- func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) IsCode(code int) bool
- func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) IsRedirect() bool
- func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) IsServerError() bool
- func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) IsSuccess() bool
- func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) String() string
- type PackerServiceGetRegistryTFCRunTaskAPIOK
- func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) Code() int
- func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) Error() string
- func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) GetPayload() *models.HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse
- func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) IsClientError() bool
- func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) IsCode(code int) bool
- func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) IsRedirect() bool
- func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) IsServerError() bool
- func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) IsSuccess() bool
- func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) String() string
- type PackerServiceGetRegistryTFCRunTaskAPIParams
- func NewPackerServiceGetRegistryTFCRunTaskAPIParams() *PackerServiceGetRegistryTFCRunTaskAPIParams
- func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithContext(ctx context.Context) *PackerServiceGetRegistryTFCRunTaskAPIParams
- func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithHTTPClient(client *http.Client) *PackerServiceGetRegistryTFCRunTaskAPIParams
- func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithTimeout(timeout time.Duration) *PackerServiceGetRegistryTFCRunTaskAPIParams
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetContext(ctx context.Context)
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetDefaults()
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetTaskType(taskType string)
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithContext(ctx context.Context) *PackerServiceGetRegistryTFCRunTaskAPIParams
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithDefaults() *PackerServiceGetRegistryTFCRunTaskAPIParams
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithHTTPClient(client *http.Client) *PackerServiceGetRegistryTFCRunTaskAPIParams
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetRegistryTFCRunTaskAPIParams
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetRegistryTFCRunTaskAPIParams
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetRegistryTFCRunTaskAPIParams
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetRegistryTFCRunTaskAPIParams
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithTaskType(taskType string) *PackerServiceGetRegistryTFCRunTaskAPIParams
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithTimeout(timeout time.Duration) *PackerServiceGetRegistryTFCRunTaskAPIParams
- func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceGetRegistryTFCRunTaskAPIReader
- type PackerServiceGetVersionDefault
- func (o *PackerServiceGetVersionDefault) Code() int
- func (o *PackerServiceGetVersionDefault) Error() string
- func (o *PackerServiceGetVersionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceGetVersionDefault) IsClientError() bool
- func (o *PackerServiceGetVersionDefault) IsCode(code int) bool
- func (o *PackerServiceGetVersionDefault) IsRedirect() bool
- func (o *PackerServiceGetVersionDefault) IsServerError() bool
- func (o *PackerServiceGetVersionDefault) IsSuccess() bool
- func (o *PackerServiceGetVersionDefault) String() string
- type PackerServiceGetVersionOK
- func (o *PackerServiceGetVersionOK) Code() int
- func (o *PackerServiceGetVersionOK) Error() string
- func (o *PackerServiceGetVersionOK) GetPayload() *models.HashicorpCloudPacker20230101GetVersionResponse
- func (o *PackerServiceGetVersionOK) IsClientError() bool
- func (o *PackerServiceGetVersionOK) IsCode(code int) bool
- func (o *PackerServiceGetVersionOK) IsRedirect() bool
- func (o *PackerServiceGetVersionOK) IsServerError() bool
- func (o *PackerServiceGetVersionOK) IsSuccess() bool
- func (o *PackerServiceGetVersionOK) String() string
- type PackerServiceGetVersionParams
- func NewPackerServiceGetVersionParams() *PackerServiceGetVersionParams
- func NewPackerServiceGetVersionParamsWithContext(ctx context.Context) *PackerServiceGetVersionParams
- func NewPackerServiceGetVersionParamsWithHTTPClient(client *http.Client) *PackerServiceGetVersionParams
- func NewPackerServiceGetVersionParamsWithTimeout(timeout time.Duration) *PackerServiceGetVersionParams
- func (o *PackerServiceGetVersionParams) SetBucketName(bucketName string)
- func (o *PackerServiceGetVersionParams) SetContext(ctx context.Context)
- func (o *PackerServiceGetVersionParams) SetDefaults()
- func (o *PackerServiceGetVersionParams) SetFingerprint(fingerprint string)
- func (o *PackerServiceGetVersionParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceGetVersionParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceGetVersionParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceGetVersionParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceGetVersionParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceGetVersionParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceGetVersionParams) WithBucketName(bucketName string) *PackerServiceGetVersionParams
- func (o *PackerServiceGetVersionParams) WithContext(ctx context.Context) *PackerServiceGetVersionParams
- func (o *PackerServiceGetVersionParams) WithDefaults() *PackerServiceGetVersionParams
- func (o *PackerServiceGetVersionParams) WithFingerprint(fingerprint string) *PackerServiceGetVersionParams
- func (o *PackerServiceGetVersionParams) WithHTTPClient(client *http.Client) *PackerServiceGetVersionParams
- func (o *PackerServiceGetVersionParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetVersionParams
- func (o *PackerServiceGetVersionParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetVersionParams
- func (o *PackerServiceGetVersionParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetVersionParams
- func (o *PackerServiceGetVersionParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetVersionParams
- func (o *PackerServiceGetVersionParams) WithTimeout(timeout time.Duration) *PackerServiceGetVersionParams
- func (o *PackerServiceGetVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceGetVersionReader
- type PackerServiceListBucketAncestryDefault
- func (o *PackerServiceListBucketAncestryDefault) Code() int
- func (o *PackerServiceListBucketAncestryDefault) Error() string
- func (o *PackerServiceListBucketAncestryDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceListBucketAncestryDefault) IsClientError() bool
- func (o *PackerServiceListBucketAncestryDefault) IsCode(code int) bool
- func (o *PackerServiceListBucketAncestryDefault) IsRedirect() bool
- func (o *PackerServiceListBucketAncestryDefault) IsServerError() bool
- func (o *PackerServiceListBucketAncestryDefault) IsSuccess() bool
- func (o *PackerServiceListBucketAncestryDefault) String() string
- type PackerServiceListBucketAncestryOK
- func (o *PackerServiceListBucketAncestryOK) Code() int
- func (o *PackerServiceListBucketAncestryOK) Error() string
- func (o *PackerServiceListBucketAncestryOK) GetPayload() *models.HashicorpCloudPacker20230101ListBucketAncestryResponse
- func (o *PackerServiceListBucketAncestryOK) IsClientError() bool
- func (o *PackerServiceListBucketAncestryOK) IsCode(code int) bool
- func (o *PackerServiceListBucketAncestryOK) IsRedirect() bool
- func (o *PackerServiceListBucketAncestryOK) IsServerError() bool
- func (o *PackerServiceListBucketAncestryOK) IsSuccess() bool
- func (o *PackerServiceListBucketAncestryOK) String() string
- type PackerServiceListBucketAncestryParams
- func NewPackerServiceListBucketAncestryParams() *PackerServiceListBucketAncestryParams
- func NewPackerServiceListBucketAncestryParamsWithContext(ctx context.Context) *PackerServiceListBucketAncestryParams
- func NewPackerServiceListBucketAncestryParamsWithHTTPClient(client *http.Client) *PackerServiceListBucketAncestryParams
- func NewPackerServiceListBucketAncestryParamsWithTimeout(timeout time.Duration) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) SetBucketName(bucketName string)
- func (o *PackerServiceListBucketAncestryParams) SetChannelName(channelName *string)
- func (o *PackerServiceListBucketAncestryParams) SetContext(ctx context.Context)
- func (o *PackerServiceListBucketAncestryParams) SetDefaults()
- func (o *PackerServiceListBucketAncestryParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceListBucketAncestryParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceListBucketAncestryParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceListBucketAncestryParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceListBucketAncestryParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceListBucketAncestryParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *PackerServiceListBucketAncestryParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *PackerServiceListBucketAncestryParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *PackerServiceListBucketAncestryParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceListBucketAncestryParams) SetType(typeVar *string)
- func (o *PackerServiceListBucketAncestryParams) SetVersionFingerprint(versionFingerprint *string)
- func (o *PackerServiceListBucketAncestryParams) WithBucketName(bucketName string) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithChannelName(channelName *string) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithContext(ctx context.Context) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithDefaults() *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithHTTPClient(client *http.Client) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithLocationProjectID(locationProjectID string) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithPaginationNextPageToken(paginationNextPageToken *string) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithPaginationPageSize(paginationPageSize *int64) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithTimeout(timeout time.Duration) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithType(typeVar *string) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WithVersionFingerprint(versionFingerprint *string) *PackerServiceListBucketAncestryParams
- func (o *PackerServiceListBucketAncestryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceListBucketAncestryReader
- type PackerServiceListBucketsDefault
- func (o *PackerServiceListBucketsDefault) Code() int
- func (o *PackerServiceListBucketsDefault) Error() string
- func (o *PackerServiceListBucketsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceListBucketsDefault) IsClientError() bool
- func (o *PackerServiceListBucketsDefault) IsCode(code int) bool
- func (o *PackerServiceListBucketsDefault) IsRedirect() bool
- func (o *PackerServiceListBucketsDefault) IsServerError() bool
- func (o *PackerServiceListBucketsDefault) IsSuccess() bool
- func (o *PackerServiceListBucketsDefault) String() string
- type PackerServiceListBucketsOK
- func (o *PackerServiceListBucketsOK) Code() int
- func (o *PackerServiceListBucketsOK) Error() string
- func (o *PackerServiceListBucketsOK) GetPayload() *models.HashicorpCloudPacker20230101ListBucketsResponse
- func (o *PackerServiceListBucketsOK) IsClientError() bool
- func (o *PackerServiceListBucketsOK) IsCode(code int) bool
- func (o *PackerServiceListBucketsOK) IsRedirect() bool
- func (o *PackerServiceListBucketsOK) IsServerError() bool
- func (o *PackerServiceListBucketsOK) IsSuccess() bool
- func (o *PackerServiceListBucketsOK) String() string
- type PackerServiceListBucketsParams
- func NewPackerServiceListBucketsParams() *PackerServiceListBucketsParams
- func NewPackerServiceListBucketsParamsWithContext(ctx context.Context) *PackerServiceListBucketsParams
- func NewPackerServiceListBucketsParamsWithHTTPClient(client *http.Client) *PackerServiceListBucketsParams
- func NewPackerServiceListBucketsParamsWithTimeout(timeout time.Duration) *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) SetContext(ctx context.Context)
- func (o *PackerServiceListBucketsParams) SetDefaults()
- func (o *PackerServiceListBucketsParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceListBucketsParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceListBucketsParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceListBucketsParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceListBucketsParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceListBucketsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *PackerServiceListBucketsParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *PackerServiceListBucketsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *PackerServiceListBucketsParams) SetSortingOrderBy(sortingOrderBy []string)
- func (o *PackerServiceListBucketsParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceListBucketsParams) WithContext(ctx context.Context) *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) WithDefaults() *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) WithHTTPClient(client *http.Client) *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) WithLocationProjectID(locationProjectID string) *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) WithPaginationPageSize(paginationPageSize *int64) *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) WithSortingOrderBy(sortingOrderBy []string) *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) WithTimeout(timeout time.Duration) *PackerServiceListBucketsParams
- func (o *PackerServiceListBucketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceListBucketsReader
- type PackerServiceListBuildsDefault
- func (o *PackerServiceListBuildsDefault) Code() int
- func (o *PackerServiceListBuildsDefault) Error() string
- func (o *PackerServiceListBuildsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceListBuildsDefault) IsClientError() bool
- func (o *PackerServiceListBuildsDefault) IsCode(code int) bool
- func (o *PackerServiceListBuildsDefault) IsRedirect() bool
- func (o *PackerServiceListBuildsDefault) IsServerError() bool
- func (o *PackerServiceListBuildsDefault) IsSuccess() bool
- func (o *PackerServiceListBuildsDefault) String() string
- type PackerServiceListBuildsOK
- func (o *PackerServiceListBuildsOK) Code() int
- func (o *PackerServiceListBuildsOK) Error() string
- func (o *PackerServiceListBuildsOK) GetPayload() *models.HashicorpCloudPacker20230101ListBuildsResponse
- func (o *PackerServiceListBuildsOK) IsClientError() bool
- func (o *PackerServiceListBuildsOK) IsCode(code int) bool
- func (o *PackerServiceListBuildsOK) IsRedirect() bool
- func (o *PackerServiceListBuildsOK) IsServerError() bool
- func (o *PackerServiceListBuildsOK) IsSuccess() bool
- func (o *PackerServiceListBuildsOK) String() string
- type PackerServiceListBuildsParams
- func NewPackerServiceListBuildsParams() *PackerServiceListBuildsParams
- func NewPackerServiceListBuildsParamsWithContext(ctx context.Context) *PackerServiceListBuildsParams
- func NewPackerServiceListBuildsParamsWithHTTPClient(client *http.Client) *PackerServiceListBuildsParams
- func NewPackerServiceListBuildsParamsWithTimeout(timeout time.Duration) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) SetBucketName(bucketName string)
- func (o *PackerServiceListBuildsParams) SetContext(ctx context.Context)
- func (o *PackerServiceListBuildsParams) SetDefaults()
- func (o *PackerServiceListBuildsParams) SetFingerprint(fingerprint string)
- func (o *PackerServiceListBuildsParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceListBuildsParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceListBuildsParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceListBuildsParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceListBuildsParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceListBuildsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *PackerServiceListBuildsParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *PackerServiceListBuildsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *PackerServiceListBuildsParams) SetSortingOrderBy(sortingOrderBy []string)
- func (o *PackerServiceListBuildsParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceListBuildsParams) WithBucketName(bucketName string) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithContext(ctx context.Context) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithDefaults() *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithFingerprint(fingerprint string) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithHTTPClient(client *http.Client) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithLocationProjectID(locationProjectID string) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithPaginationPageSize(paginationPageSize *int64) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithSortingOrderBy(sortingOrderBy []string) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WithTimeout(timeout time.Duration) *PackerServiceListBuildsParams
- func (o *PackerServiceListBuildsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceListBuildsReader
- type PackerServiceListChannelAssignmentHistoryDefault
- func (o *PackerServiceListChannelAssignmentHistoryDefault) Code() int
- func (o *PackerServiceListChannelAssignmentHistoryDefault) Error() string
- func (o *PackerServiceListChannelAssignmentHistoryDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceListChannelAssignmentHistoryDefault) IsClientError() bool
- func (o *PackerServiceListChannelAssignmentHistoryDefault) IsCode(code int) bool
- func (o *PackerServiceListChannelAssignmentHistoryDefault) IsRedirect() bool
- func (o *PackerServiceListChannelAssignmentHistoryDefault) IsServerError() bool
- func (o *PackerServiceListChannelAssignmentHistoryDefault) IsSuccess() bool
- func (o *PackerServiceListChannelAssignmentHistoryDefault) String() string
- type PackerServiceListChannelAssignmentHistoryOK
- func (o *PackerServiceListChannelAssignmentHistoryOK) Code() int
- func (o *PackerServiceListChannelAssignmentHistoryOK) Error() string
- func (o *PackerServiceListChannelAssignmentHistoryOK) GetPayload() *models.HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse
- func (o *PackerServiceListChannelAssignmentHistoryOK) IsClientError() bool
- func (o *PackerServiceListChannelAssignmentHistoryOK) IsCode(code int) bool
- func (o *PackerServiceListChannelAssignmentHistoryOK) IsRedirect() bool
- func (o *PackerServiceListChannelAssignmentHistoryOK) IsServerError() bool
- func (o *PackerServiceListChannelAssignmentHistoryOK) IsSuccess() bool
- func (o *PackerServiceListChannelAssignmentHistoryOK) String() string
- type PackerServiceListChannelAssignmentHistoryParams
- func NewPackerServiceListChannelAssignmentHistoryParams() *PackerServiceListChannelAssignmentHistoryParams
- func NewPackerServiceListChannelAssignmentHistoryParamsWithContext(ctx context.Context) *PackerServiceListChannelAssignmentHistoryParams
- func NewPackerServiceListChannelAssignmentHistoryParamsWithHTTPClient(client *http.Client) *PackerServiceListChannelAssignmentHistoryParams
- func NewPackerServiceListChannelAssignmentHistoryParamsWithTimeout(timeout time.Duration) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetBucketName(bucketName string)
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetChannelName(channelName string)
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetContext(ctx context.Context)
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetDefaults()
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *PackerServiceListChannelAssignmentHistoryParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithBucketName(bucketName string) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithChannelName(channelName string) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithContext(ctx context.Context) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithDefaults() *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithHTTPClient(client *http.Client) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithLocationProjectID(locationProjectID string) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithPaginationNextPageToken(paginationNextPageToken *string) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithPaginationPageSize(paginationPageSize *int64) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WithTimeout(timeout time.Duration) *PackerServiceListChannelAssignmentHistoryParams
- func (o *PackerServiceListChannelAssignmentHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceListChannelAssignmentHistoryReader
- type PackerServiceListChannelsDefault
- func (o *PackerServiceListChannelsDefault) Code() int
- func (o *PackerServiceListChannelsDefault) Error() string
- func (o *PackerServiceListChannelsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceListChannelsDefault) IsClientError() bool
- func (o *PackerServiceListChannelsDefault) IsCode(code int) bool
- func (o *PackerServiceListChannelsDefault) IsRedirect() bool
- func (o *PackerServiceListChannelsDefault) IsServerError() bool
- func (o *PackerServiceListChannelsDefault) IsSuccess() bool
- func (o *PackerServiceListChannelsDefault) String() string
- type PackerServiceListChannelsOK
- func (o *PackerServiceListChannelsOK) Code() int
- func (o *PackerServiceListChannelsOK) Error() string
- func (o *PackerServiceListChannelsOK) GetPayload() *models.HashicorpCloudPacker20230101ListChannelsResponse
- func (o *PackerServiceListChannelsOK) IsClientError() bool
- func (o *PackerServiceListChannelsOK) IsCode(code int) bool
- func (o *PackerServiceListChannelsOK) IsRedirect() bool
- func (o *PackerServiceListChannelsOK) IsServerError() bool
- func (o *PackerServiceListChannelsOK) IsSuccess() bool
- func (o *PackerServiceListChannelsOK) String() string
- type PackerServiceListChannelsParams
- func NewPackerServiceListChannelsParams() *PackerServiceListChannelsParams
- func NewPackerServiceListChannelsParamsWithContext(ctx context.Context) *PackerServiceListChannelsParams
- func NewPackerServiceListChannelsParamsWithHTTPClient(client *http.Client) *PackerServiceListChannelsParams
- func NewPackerServiceListChannelsParamsWithTimeout(timeout time.Duration) *PackerServiceListChannelsParams
- func (o *PackerServiceListChannelsParams) SetBucketName(bucketName string)
- func (o *PackerServiceListChannelsParams) SetContext(ctx context.Context)
- func (o *PackerServiceListChannelsParams) SetDefaults()
- func (o *PackerServiceListChannelsParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceListChannelsParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceListChannelsParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceListChannelsParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceListChannelsParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceListChannelsParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceListChannelsParams) WithBucketName(bucketName string) *PackerServiceListChannelsParams
- func (o *PackerServiceListChannelsParams) WithContext(ctx context.Context) *PackerServiceListChannelsParams
- func (o *PackerServiceListChannelsParams) WithDefaults() *PackerServiceListChannelsParams
- func (o *PackerServiceListChannelsParams) WithHTTPClient(client *http.Client) *PackerServiceListChannelsParams
- func (o *PackerServiceListChannelsParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListChannelsParams
- func (o *PackerServiceListChannelsParams) WithLocationProjectID(locationProjectID string) *PackerServiceListChannelsParams
- func (o *PackerServiceListChannelsParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListChannelsParams
- func (o *PackerServiceListChannelsParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListChannelsParams
- func (o *PackerServiceListChannelsParams) WithTimeout(timeout time.Duration) *PackerServiceListChannelsParams
- func (o *PackerServiceListChannelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceListChannelsReader
- type PackerServiceListVersionsDefault
- func (o *PackerServiceListVersionsDefault) Code() int
- func (o *PackerServiceListVersionsDefault) Error() string
- func (o *PackerServiceListVersionsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceListVersionsDefault) IsClientError() bool
- func (o *PackerServiceListVersionsDefault) IsCode(code int) bool
- func (o *PackerServiceListVersionsDefault) IsRedirect() bool
- func (o *PackerServiceListVersionsDefault) IsServerError() bool
- func (o *PackerServiceListVersionsDefault) IsSuccess() bool
- func (o *PackerServiceListVersionsDefault) String() string
- type PackerServiceListVersionsOK
- func (o *PackerServiceListVersionsOK) Code() int
- func (o *PackerServiceListVersionsOK) Error() string
- func (o *PackerServiceListVersionsOK) GetPayload() *models.HashicorpCloudPacker20230101ListVersionsResponse
- func (o *PackerServiceListVersionsOK) IsClientError() bool
- func (o *PackerServiceListVersionsOK) IsCode(code int) bool
- func (o *PackerServiceListVersionsOK) IsRedirect() bool
- func (o *PackerServiceListVersionsOK) IsServerError() bool
- func (o *PackerServiceListVersionsOK) IsSuccess() bool
- func (o *PackerServiceListVersionsOK) String() string
- type PackerServiceListVersionsParams
- func NewPackerServiceListVersionsParams() *PackerServiceListVersionsParams
- func NewPackerServiceListVersionsParamsWithContext(ctx context.Context) *PackerServiceListVersionsParams
- func NewPackerServiceListVersionsParamsWithHTTPClient(client *http.Client) *PackerServiceListVersionsParams
- func NewPackerServiceListVersionsParamsWithTimeout(timeout time.Duration) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) SetBucketName(bucketName string)
- func (o *PackerServiceListVersionsParams) SetContext(ctx context.Context)
- func (o *PackerServiceListVersionsParams) SetDefaults()
- func (o *PackerServiceListVersionsParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceListVersionsParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceListVersionsParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceListVersionsParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceListVersionsParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceListVersionsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *PackerServiceListVersionsParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *PackerServiceListVersionsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *PackerServiceListVersionsParams) SetSortingOrderBy(sortingOrderBy []string)
- func (o *PackerServiceListVersionsParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceListVersionsParams) WithBucketName(bucketName string) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WithContext(ctx context.Context) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WithDefaults() *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WithHTTPClient(client *http.Client) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WithLocationProjectID(locationProjectID string) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WithPaginationPageSize(paginationPageSize *int64) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WithSortingOrderBy(sortingOrderBy []string) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WithTimeout(timeout time.Duration) *PackerServiceListVersionsParams
- func (o *PackerServiceListVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceListVersionsReader
- type PackerServiceRegenerateTFCRunTaskHmacKeyBody
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyBody) MarshalBinary() ([]byte, error)
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyBody) UnmarshalBinary(b []byte) error
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyBody) Validate(formats strfmt.Registry) error
- type PackerServiceRegenerateTFCRunTaskHmacKeyDefault
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) Code() int
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) Error() string
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsClientError() bool
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsCode(code int) bool
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsRedirect() bool
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsServerError() bool
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsSuccess() bool
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) String() string
- type PackerServiceRegenerateTFCRunTaskHmacKeyOK
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) Code() int
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) Error() string
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) GetPayload() *models.HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsClientError() bool
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsCode(code int) bool
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsRedirect() bool
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsServerError() bool
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsSuccess() bool
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) String() string
- type PackerServiceRegenerateTFCRunTaskHmacKeyParams
- func NewPackerServiceRegenerateTFCRunTaskHmacKeyParams() *PackerServiceRegenerateTFCRunTaskHmacKeyParams
- func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithContext(ctx context.Context) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
- func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithHTTPClient(client *http.Client) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
- func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithTimeout(timeout time.Duration) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetBody(body PackerServiceRegenerateTFCRunTaskHmacKeyBody)
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetContext(ctx context.Context)
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetDefaults()
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithBody(body PackerServiceRegenerateTFCRunTaskHmacKeyBody) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithContext(ctx context.Context) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithDefaults() *PackerServiceRegenerateTFCRunTaskHmacKeyParams
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithHTTPClient(client *http.Client) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithLocationProjectID(locationProjectID string) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithTimeout(timeout time.Duration) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) Validate(formats strfmt.Registry) error
- type PackerServiceRegenerateTFCRunTaskHmacKeyReader
- type PackerServiceUpdateBucketDefault
- func (o *PackerServiceUpdateBucketDefault) Code() int
- func (o *PackerServiceUpdateBucketDefault) Error() string
- func (o *PackerServiceUpdateBucketDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceUpdateBucketDefault) IsClientError() bool
- func (o *PackerServiceUpdateBucketDefault) IsCode(code int) bool
- func (o *PackerServiceUpdateBucketDefault) IsRedirect() bool
- func (o *PackerServiceUpdateBucketDefault) IsServerError() bool
- func (o *PackerServiceUpdateBucketDefault) IsSuccess() bool
- func (o *PackerServiceUpdateBucketDefault) String() string
- type PackerServiceUpdateBucketOK
- func (o *PackerServiceUpdateBucketOK) Code() int
- func (o *PackerServiceUpdateBucketOK) Error() string
- func (o *PackerServiceUpdateBucketOK) GetPayload() *models.HashicorpCloudPacker20230101UpdateBucketResponse
- func (o *PackerServiceUpdateBucketOK) IsClientError() bool
- func (o *PackerServiceUpdateBucketOK) IsCode(code int) bool
- func (o *PackerServiceUpdateBucketOK) IsRedirect() bool
- func (o *PackerServiceUpdateBucketOK) IsServerError() bool
- func (o *PackerServiceUpdateBucketOK) IsSuccess() bool
- func (o *PackerServiceUpdateBucketOK) String() string
- type PackerServiceUpdateBucketParams
- func NewPackerServiceUpdateBucketParams() *PackerServiceUpdateBucketParams
- func NewPackerServiceUpdateBucketParamsWithContext(ctx context.Context) *PackerServiceUpdateBucketParams
- func NewPackerServiceUpdateBucketParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateBucketParams
- func NewPackerServiceUpdateBucketParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateBucketParams
- func (o *PackerServiceUpdateBucketParams) SetBody(body *models.HashicorpCloudPacker20230101UpdateBucketBody)
- func (o *PackerServiceUpdateBucketParams) SetBucketName(bucketName string)
- func (o *PackerServiceUpdateBucketParams) SetContext(ctx context.Context)
- func (o *PackerServiceUpdateBucketParams) SetDefaults()
- func (o *PackerServiceUpdateBucketParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceUpdateBucketParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceUpdateBucketParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceUpdateBucketParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceUpdateBucketParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceUpdateBucketParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceUpdateBucketParams) WithBody(body *models.HashicorpCloudPacker20230101UpdateBucketBody) *PackerServiceUpdateBucketParams
- func (o *PackerServiceUpdateBucketParams) WithBucketName(bucketName string) *PackerServiceUpdateBucketParams
- func (o *PackerServiceUpdateBucketParams) WithContext(ctx context.Context) *PackerServiceUpdateBucketParams
- func (o *PackerServiceUpdateBucketParams) WithDefaults() *PackerServiceUpdateBucketParams
- func (o *PackerServiceUpdateBucketParams) WithHTTPClient(client *http.Client) *PackerServiceUpdateBucketParams
- func (o *PackerServiceUpdateBucketParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateBucketParams
- func (o *PackerServiceUpdateBucketParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateBucketParams
- func (o *PackerServiceUpdateBucketParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceUpdateBucketParams
- func (o *PackerServiceUpdateBucketParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceUpdateBucketParams
- func (o *PackerServiceUpdateBucketParams) WithTimeout(timeout time.Duration) *PackerServiceUpdateBucketParams
- func (o *PackerServiceUpdateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceUpdateBucketReader
- type PackerServiceUpdateBuildDefault
- func (o *PackerServiceUpdateBuildDefault) Code() int
- func (o *PackerServiceUpdateBuildDefault) Error() string
- func (o *PackerServiceUpdateBuildDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceUpdateBuildDefault) IsClientError() bool
- func (o *PackerServiceUpdateBuildDefault) IsCode(code int) bool
- func (o *PackerServiceUpdateBuildDefault) IsRedirect() bool
- func (o *PackerServiceUpdateBuildDefault) IsServerError() bool
- func (o *PackerServiceUpdateBuildDefault) IsSuccess() bool
- func (o *PackerServiceUpdateBuildDefault) String() string
- type PackerServiceUpdateBuildOK
- func (o *PackerServiceUpdateBuildOK) Code() int
- func (o *PackerServiceUpdateBuildOK) Error() string
- func (o *PackerServiceUpdateBuildOK) GetPayload() *models.HashicorpCloudPacker20230101UpdateBuildResponse
- func (o *PackerServiceUpdateBuildOK) IsClientError() bool
- func (o *PackerServiceUpdateBuildOK) IsCode(code int) bool
- func (o *PackerServiceUpdateBuildOK) IsRedirect() bool
- func (o *PackerServiceUpdateBuildOK) IsServerError() bool
- func (o *PackerServiceUpdateBuildOK) IsSuccess() bool
- func (o *PackerServiceUpdateBuildOK) String() string
- type PackerServiceUpdateBuildParams
- func NewPackerServiceUpdateBuildParams() *PackerServiceUpdateBuildParams
- func NewPackerServiceUpdateBuildParamsWithContext(ctx context.Context) *PackerServiceUpdateBuildParams
- func NewPackerServiceUpdateBuildParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateBuildParams
- func NewPackerServiceUpdateBuildParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) SetBody(body *models.HashicorpCloudPacker20230101UpdateBuildBody)
- func (o *PackerServiceUpdateBuildParams) SetBucketName(bucketName string)
- func (o *PackerServiceUpdateBuildParams) SetBuildID(buildID string)
- func (o *PackerServiceUpdateBuildParams) SetContext(ctx context.Context)
- func (o *PackerServiceUpdateBuildParams) SetDefaults()
- func (o *PackerServiceUpdateBuildParams) SetFingerprint(fingerprint string)
- func (o *PackerServiceUpdateBuildParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceUpdateBuildParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceUpdateBuildParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceUpdateBuildParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceUpdateBuildParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceUpdateBuildParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceUpdateBuildParams) WithBody(body *models.HashicorpCloudPacker20230101UpdateBuildBody) *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) WithBucketName(bucketName string) *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) WithBuildID(buildID string) *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) WithContext(ctx context.Context) *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) WithDefaults() *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) WithFingerprint(fingerprint string) *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) WithHTTPClient(client *http.Client) *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) WithTimeout(timeout time.Duration) *PackerServiceUpdateBuildParams
- func (o *PackerServiceUpdateBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceUpdateBuildReader
- type PackerServiceUpdateChannelDefault
- func (o *PackerServiceUpdateChannelDefault) Code() int
- func (o *PackerServiceUpdateChannelDefault) Error() string
- func (o *PackerServiceUpdateChannelDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceUpdateChannelDefault) IsClientError() bool
- func (o *PackerServiceUpdateChannelDefault) IsCode(code int) bool
- func (o *PackerServiceUpdateChannelDefault) IsRedirect() bool
- func (o *PackerServiceUpdateChannelDefault) IsServerError() bool
- func (o *PackerServiceUpdateChannelDefault) IsSuccess() bool
- func (o *PackerServiceUpdateChannelDefault) String() string
- type PackerServiceUpdateChannelOK
- func (o *PackerServiceUpdateChannelOK) Code() int
- func (o *PackerServiceUpdateChannelOK) Error() string
- func (o *PackerServiceUpdateChannelOK) GetPayload() *models.HashicorpCloudPacker20230101UpdateChannelResponse
- func (o *PackerServiceUpdateChannelOK) IsClientError() bool
- func (o *PackerServiceUpdateChannelOK) IsCode(code int) bool
- func (o *PackerServiceUpdateChannelOK) IsRedirect() bool
- func (o *PackerServiceUpdateChannelOK) IsServerError() bool
- func (o *PackerServiceUpdateChannelOK) IsSuccess() bool
- func (o *PackerServiceUpdateChannelOK) String() string
- type PackerServiceUpdateChannelParams
- func NewPackerServiceUpdateChannelParams() *PackerServiceUpdateChannelParams
- func NewPackerServiceUpdateChannelParamsWithContext(ctx context.Context) *PackerServiceUpdateChannelParams
- func NewPackerServiceUpdateChannelParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateChannelParams
- func NewPackerServiceUpdateChannelParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateChannelParams
- func (o *PackerServiceUpdateChannelParams) SetBody(body *models.HashicorpCloudPacker20230101UpdateChannelBody)
- func (o *PackerServiceUpdateChannelParams) SetBucketName(bucketName string)
- func (o *PackerServiceUpdateChannelParams) SetChannelName(channelName string)
- func (o *PackerServiceUpdateChannelParams) SetContext(ctx context.Context)
- func (o *PackerServiceUpdateChannelParams) SetDefaults()
- func (o *PackerServiceUpdateChannelParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceUpdateChannelParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceUpdateChannelParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceUpdateChannelParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceUpdateChannelParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceUpdateChannelParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceUpdateChannelParams) WithBody(body *models.HashicorpCloudPacker20230101UpdateChannelBody) *PackerServiceUpdateChannelParams
- func (o *PackerServiceUpdateChannelParams) WithBucketName(bucketName string) *PackerServiceUpdateChannelParams
- func (o *PackerServiceUpdateChannelParams) WithChannelName(channelName string) *PackerServiceUpdateChannelParams
- func (o *PackerServiceUpdateChannelParams) WithContext(ctx context.Context) *PackerServiceUpdateChannelParams
- func (o *PackerServiceUpdateChannelParams) WithDefaults() *PackerServiceUpdateChannelParams
- func (o *PackerServiceUpdateChannelParams) WithHTTPClient(client *http.Client) *PackerServiceUpdateChannelParams
- func (o *PackerServiceUpdateChannelParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateChannelParams
- func (o *PackerServiceUpdateChannelParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateChannelParams
- func (o *PackerServiceUpdateChannelParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceUpdateChannelParams
- func (o *PackerServiceUpdateChannelParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceUpdateChannelParams
- func (o *PackerServiceUpdateChannelParams) WithTimeout(timeout time.Duration) *PackerServiceUpdateChannelParams
- func (o *PackerServiceUpdateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceUpdateChannelReader
- type PackerServiceUpdateRegistryDefault
- func (o *PackerServiceUpdateRegistryDefault) Code() int
- func (o *PackerServiceUpdateRegistryDefault) Error() string
- func (o *PackerServiceUpdateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceUpdateRegistryDefault) IsClientError() bool
- func (o *PackerServiceUpdateRegistryDefault) IsCode(code int) bool
- func (o *PackerServiceUpdateRegistryDefault) IsRedirect() bool
- func (o *PackerServiceUpdateRegistryDefault) IsServerError() bool
- func (o *PackerServiceUpdateRegistryDefault) IsSuccess() bool
- func (o *PackerServiceUpdateRegistryDefault) String() string
- type PackerServiceUpdateRegistryOK
- func (o *PackerServiceUpdateRegistryOK) Code() int
- func (o *PackerServiceUpdateRegistryOK) Error() string
- func (o *PackerServiceUpdateRegistryOK) GetPayload() *models.HashicorpCloudPacker20230101UpdateRegistryResponse
- func (o *PackerServiceUpdateRegistryOK) IsClientError() bool
- func (o *PackerServiceUpdateRegistryOK) IsCode(code int) bool
- func (o *PackerServiceUpdateRegistryOK) IsRedirect() bool
- func (o *PackerServiceUpdateRegistryOK) IsServerError() bool
- func (o *PackerServiceUpdateRegistryOK) IsSuccess() bool
- func (o *PackerServiceUpdateRegistryOK) String() string
- type PackerServiceUpdateRegistryParams
- func NewPackerServiceUpdateRegistryParams() *PackerServiceUpdateRegistryParams
- func NewPackerServiceUpdateRegistryParamsWithContext(ctx context.Context) *PackerServiceUpdateRegistryParams
- func NewPackerServiceUpdateRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateRegistryParams
- func NewPackerServiceUpdateRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateRegistryParams
- func (o *PackerServiceUpdateRegistryParams) SetBody(body *models.HashicorpCloudPacker20230101UpdateRegistryBody)
- func (o *PackerServiceUpdateRegistryParams) SetContext(ctx context.Context)
- func (o *PackerServiceUpdateRegistryParams) SetDefaults()
- func (o *PackerServiceUpdateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceUpdateRegistryParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceUpdateRegistryParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceUpdateRegistryParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceUpdateRegistryParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceUpdateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceUpdateRegistryParams) WithBody(body *models.HashicorpCloudPacker20230101UpdateRegistryBody) *PackerServiceUpdateRegistryParams
- func (o *PackerServiceUpdateRegistryParams) WithContext(ctx context.Context) *PackerServiceUpdateRegistryParams
- func (o *PackerServiceUpdateRegistryParams) WithDefaults() *PackerServiceUpdateRegistryParams
- func (o *PackerServiceUpdateRegistryParams) WithHTTPClient(client *http.Client) *PackerServiceUpdateRegistryParams
- func (o *PackerServiceUpdateRegistryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateRegistryParams
- func (o *PackerServiceUpdateRegistryParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateRegistryParams
- func (o *PackerServiceUpdateRegistryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceUpdateRegistryParams
- func (o *PackerServiceUpdateRegistryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceUpdateRegistryParams
- func (o *PackerServiceUpdateRegistryParams) WithTimeout(timeout time.Duration) *PackerServiceUpdateRegistryParams
- func (o *PackerServiceUpdateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceUpdateRegistryReader
- type PackerServiceUpdateVersionDefault
- func (o *PackerServiceUpdateVersionDefault) Code() int
- func (o *PackerServiceUpdateVersionDefault) Error() string
- func (o *PackerServiceUpdateVersionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PackerServiceUpdateVersionDefault) IsClientError() bool
- func (o *PackerServiceUpdateVersionDefault) IsCode(code int) bool
- func (o *PackerServiceUpdateVersionDefault) IsRedirect() bool
- func (o *PackerServiceUpdateVersionDefault) IsServerError() bool
- func (o *PackerServiceUpdateVersionDefault) IsSuccess() bool
- func (o *PackerServiceUpdateVersionDefault) String() string
- type PackerServiceUpdateVersionOK
- func (o *PackerServiceUpdateVersionOK) Code() int
- func (o *PackerServiceUpdateVersionOK) Error() string
- func (o *PackerServiceUpdateVersionOK) GetPayload() *models.HashicorpCloudPacker20230101UpdateVersionResponse
- func (o *PackerServiceUpdateVersionOK) IsClientError() bool
- func (o *PackerServiceUpdateVersionOK) IsCode(code int) bool
- func (o *PackerServiceUpdateVersionOK) IsRedirect() bool
- func (o *PackerServiceUpdateVersionOK) IsServerError() bool
- func (o *PackerServiceUpdateVersionOK) IsSuccess() bool
- func (o *PackerServiceUpdateVersionOK) String() string
- type PackerServiceUpdateVersionParams
- func NewPackerServiceUpdateVersionParams() *PackerServiceUpdateVersionParams
- func NewPackerServiceUpdateVersionParamsWithContext(ctx context.Context) *PackerServiceUpdateVersionParams
- func NewPackerServiceUpdateVersionParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateVersionParams
- func NewPackerServiceUpdateVersionParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateVersionParams
- func (o *PackerServiceUpdateVersionParams) SetBody(body *models.HashicorpCloudPacker20230101UpdateVersionBody)
- func (o *PackerServiceUpdateVersionParams) SetBucketName(bucketName string)
- func (o *PackerServiceUpdateVersionParams) SetContext(ctx context.Context)
- func (o *PackerServiceUpdateVersionParams) SetDefaults()
- func (o *PackerServiceUpdateVersionParams) SetFingerprint(fingerprint string)
- func (o *PackerServiceUpdateVersionParams) SetHTTPClient(client *http.Client)
- func (o *PackerServiceUpdateVersionParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *PackerServiceUpdateVersionParams) SetLocationProjectID(locationProjectID string)
- func (o *PackerServiceUpdateVersionParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *PackerServiceUpdateVersionParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *PackerServiceUpdateVersionParams) SetTimeout(timeout time.Duration)
- func (o *PackerServiceUpdateVersionParams) WithBody(body *models.HashicorpCloudPacker20230101UpdateVersionBody) *PackerServiceUpdateVersionParams
- func (o *PackerServiceUpdateVersionParams) WithBucketName(bucketName string) *PackerServiceUpdateVersionParams
- func (o *PackerServiceUpdateVersionParams) WithContext(ctx context.Context) *PackerServiceUpdateVersionParams
- func (o *PackerServiceUpdateVersionParams) WithDefaults() *PackerServiceUpdateVersionParams
- func (o *PackerServiceUpdateVersionParams) WithFingerprint(fingerprint string) *PackerServiceUpdateVersionParams
- func (o *PackerServiceUpdateVersionParams) WithHTTPClient(client *http.Client) *PackerServiceUpdateVersionParams
- func (o *PackerServiceUpdateVersionParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateVersionParams
- func (o *PackerServiceUpdateVersionParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateVersionParams
- func (o *PackerServiceUpdateVersionParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceUpdateVersionParams
- func (o *PackerServiceUpdateVersionParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceUpdateVersionParams
- func (o *PackerServiceUpdateVersionParams) WithTimeout(timeout time.Duration) *PackerServiceUpdateVersionParams
- func (o *PackerServiceUpdateVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackerServiceUpdateVersionReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for packer service API
func (*Client) PackerServiceCreateBucket ¶
func (a *Client) PackerServiceCreateBucket(params *PackerServiceCreateBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateBucketOK, error)
PackerServiceCreateBucket creates a bucket in the h c p packer registry
func (*Client) PackerServiceCreateBuild ¶
func (a *Client) PackerServiceCreateBuild(params *PackerServiceCreateBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateBuildOK, error)
PackerServiceCreateBuild creates a build in the provided version it is called once for each build source in a packer build run the request will error if the build for a given platform already exists
func (*Client) PackerServiceCreateChannel ¶
func (a *Client) PackerServiceCreateChannel(params *PackerServiceCreateChannelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateChannelOK, error)
PackerServiceCreateChannel creates a channel either empty or assigned to a version
func (*Client) PackerServiceCreateRegistry ¶
func (a *Client) PackerServiceCreateRegistry(params *PackerServiceCreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateRegistryOK, error)
PackerServiceCreateRegistry creates the h c p packer registry and starts billing for it
func (*Client) PackerServiceCreateVersion ¶
func (a *Client) PackerServiceCreateVersion(params *PackerServiceCreateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateVersionOK, error)
PackerServiceCreateVersion creates an empty version to be written to this API is called at the beginning of a new packer build and does not create individual builds for the version
func (*Client) PackerServiceDeleteBucket ¶
func (a *Client) PackerServiceDeleteBucket(params *PackerServiceDeleteBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteBucketOK, error)
PackerServiceDeleteBucket deletes the bucket and all its information such as versions builds and artifacts
func (*Client) PackerServiceDeleteBuild ¶
func (a *Client) PackerServiceDeleteBuild(params *PackerServiceDeleteBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteBuildOK, error)
PackerServiceDeleteBuild deletes a build in the provided version
func (*Client) PackerServiceDeleteChannel ¶
func (a *Client) PackerServiceDeleteChannel(params *PackerServiceDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteChannelOK, error)
PackerServiceDeleteChannel deletes a channel
func (*Client) PackerServiceDeleteRegistry ¶
func (a *Client) PackerServiceDeleteRegistry(params *PackerServiceDeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteRegistryOK, error)
PackerServiceDeleteRegistry deletes the h c p packer registry and any associated resources from the database
func (*Client) PackerServiceDeleteVersion ¶
func (a *Client) PackerServiceDeleteVersion(params *PackerServiceDeleteVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteVersionOK, error)
PackerServiceDeleteVersion deletes the version and all its information such as its builds and artifacts
func (*Client) PackerServiceGetBucket ¶
func (a *Client) PackerServiceGetBucket(params *PackerServiceGetBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetBucketOK, error)
PackerServiceGetBucket retrieves an existing bucket
func (*Client) PackerServiceGetBuild ¶
func (a *Client) PackerServiceGetBuild(params *PackerServiceGetBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetBuildOK, error)
PackerServiceGetBuild retrieves a build with its list of artifacts
func (*Client) PackerServiceGetChannel ¶
func (a *Client) PackerServiceGetChannel(params *PackerServiceGetChannelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetChannelOK, error)
PackerServiceGetChannel retrieves a channel with the version that it is currently assigned if any
func (*Client) PackerServiceGetRegistry ¶
func (a *Client) PackerServiceGetRegistry(params *PackerServiceGetRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetRegistryOK, error)
PackerServiceGetRegistry retrieves the h c p packer registry
func (*Client) PackerServiceGetRegistryTFCRunTaskAPI ¶
func (a *Client) PackerServiceGetRegistryTFCRunTaskAPI(params *PackerServiceGetRegistryTFCRunTaskAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetRegistryTFCRunTaskAPIOK, error)
PackerServiceGetRegistryTFCRunTaskAPI gets the h c p packer registry API URL and h m a c key to integrate with terraform cloud as a run task
func (*Client) PackerServiceGetVersion ¶
func (a *Client) PackerServiceGetVersion(params *PackerServiceGetVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetVersionOK, error)
PackerServiceGetVersion retrieves the version using the version fingerprint
func (*Client) PackerServiceListBucketAncestry ¶
func (a *Client) PackerServiceListBucketAncestry(params *PackerServiceListBucketAncestryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListBucketAncestryOK, error)
PackerServiceListBucketAncestry lists the ancestry relationships for the bucket this includes direct source bucket parents and downstream artifacts built directly from the bucket children
func (*Client) PackerServiceListBuckets ¶
func (a *Client) PackerServiceListBuckets(params *PackerServiceListBucketsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListBucketsOK, error)
PackerServiceListBuckets lists all existing buckets in the h c p packer registry
func (*Client) PackerServiceListBuilds ¶
func (a *Client) PackerServiceListBuilds(params *PackerServiceListBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListBuildsOK, error)
PackerServiceListBuilds lists every existing build and its artifacts for a version
func (*Client) PackerServiceListChannelAssignmentHistory ¶
func (a *Client) PackerServiceListChannelAssignmentHistory(params *PackerServiceListChannelAssignmentHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListChannelAssignmentHistoryOK, error)
PackerServiceListChannelAssignmentHistory lists a channel assignement history
func (*Client) PackerServiceListChannels ¶
func (a *Client) PackerServiceListChannels(params *PackerServiceListChannelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListChannelsOK, error)
PackerServiceListChannels lists all channels of a given bucket
func (*Client) PackerServiceListVersions ¶
func (a *Client) PackerServiceListVersions(params *PackerServiceListVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListVersionsOK, error)
PackerServiceListVersions lists every existing version of a bucket
func (*Client) PackerServiceRegenerateTFCRunTaskHmacKey ¶
func (a *Client) PackerServiceRegenerateTFCRunTaskHmacKey(params *PackerServiceRegenerateTFCRunTaskHmacKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceRegenerateTFCRunTaskHmacKeyOK, error)
PackerServiceRegenerateTFCRunTaskHmacKey regenerates the h m a c key used to sign requests from terraform cloud to h c p packer run tasks
func (*Client) PackerServiceUpdateBucket ¶
func (a *Client) PackerServiceUpdateBucket(params *PackerServiceUpdateBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateBucketOK, error)
PackerServiceUpdateBucket updates the bucket s information
func (*Client) PackerServiceUpdateBuild ¶
func (a *Client) PackerServiceUpdateBuild(params *PackerServiceUpdateBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateBuildOK, error)
PackerServiceUpdateBuild updates the build this may be most often used for modifying the status of a currently running build
func (*Client) PackerServiceUpdateChannel ¶
func (a *Client) PackerServiceUpdateChannel(params *PackerServiceUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateChannelOK, error)
PackerServiceUpdateChannel updates the channel assignment and or restriction
func (*Client) PackerServiceUpdateRegistry ¶
func (a *Client) PackerServiceUpdateRegistry(params *PackerServiceUpdateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateRegistryOK, error)
PackerServiceUpdateRegistry updates the feature tier o r activates deactivates the h c p packer registry deactivating a registry will stop any additional billing for the resource
func (*Client) PackerServiceUpdateVersion ¶
func (a *Client) PackerServiceUpdateVersion(params *PackerServiceUpdateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateVersionOK, error)
PackerServiceUpdateVersion this API can be used to revoke restore or complete a version when a version is revoked all its descendants will automatically get revoked unless skip descendants revocation is set descendants will get revoked asynchronously to the request revoked versions cannot be updated unless restored
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { PackerServiceCreateBucket(params *PackerServiceCreateBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateBucketOK, error) PackerServiceCreateBuild(params *PackerServiceCreateBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateBuildOK, error) PackerServiceCreateChannel(params *PackerServiceCreateChannelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateChannelOK, error) PackerServiceCreateRegistry(params *PackerServiceCreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateRegistryOK, error) PackerServiceCreateVersion(params *PackerServiceCreateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceCreateVersionOK, error) PackerServiceDeleteBucket(params *PackerServiceDeleteBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteBucketOK, error) PackerServiceDeleteBuild(params *PackerServiceDeleteBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteBuildOK, error) PackerServiceDeleteChannel(params *PackerServiceDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteChannelOK, error) PackerServiceDeleteRegistry(params *PackerServiceDeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteRegistryOK, error) PackerServiceDeleteVersion(params *PackerServiceDeleteVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceDeleteVersionOK, error) PackerServiceGetBucket(params *PackerServiceGetBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetBucketOK, error) PackerServiceGetBuild(params *PackerServiceGetBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetBuildOK, error) PackerServiceGetChannel(params *PackerServiceGetChannelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetChannelOK, error) PackerServiceGetRegistry(params *PackerServiceGetRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetRegistryOK, error) PackerServiceGetRegistryTFCRunTaskAPI(params *PackerServiceGetRegistryTFCRunTaskAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetRegistryTFCRunTaskAPIOK, error) PackerServiceGetVersion(params *PackerServiceGetVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceGetVersionOK, error) PackerServiceListBucketAncestry(params *PackerServiceListBucketAncestryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListBucketAncestryOK, error) PackerServiceListBuckets(params *PackerServiceListBucketsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListBucketsOK, error) PackerServiceListBuilds(params *PackerServiceListBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListBuildsOK, error) PackerServiceListChannelAssignmentHistory(params *PackerServiceListChannelAssignmentHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListChannelAssignmentHistoryOK, error) PackerServiceListChannels(params *PackerServiceListChannelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListChannelsOK, error) PackerServiceListVersions(params *PackerServiceListVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceListVersionsOK, error) PackerServiceRegenerateTFCRunTaskHmacKey(params *PackerServiceRegenerateTFCRunTaskHmacKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceRegenerateTFCRunTaskHmacKeyOK, error) PackerServiceUpdateBucket(params *PackerServiceUpdateBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateBucketOK, error) PackerServiceUpdateBuild(params *PackerServiceUpdateBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateBuildOK, error) PackerServiceUpdateChannel(params *PackerServiceUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateChannelOK, error) PackerServiceUpdateRegistry(params *PackerServiceUpdateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateRegistryOK, error) PackerServiceUpdateVersion(params *PackerServiceUpdateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PackerServiceUpdateVersionOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new packer service API client.
type PackerServiceCreateBucketDefault ¶
type PackerServiceCreateBucketDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceCreateBucketDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceCreateBucketDefault ¶
func NewPackerServiceCreateBucketDefault(code int) *PackerServiceCreateBucketDefault
NewPackerServiceCreateBucketDefault creates a PackerServiceCreateBucketDefault with default headers values
func (*PackerServiceCreateBucketDefault) Code ¶
func (o *PackerServiceCreateBucketDefault) Code() int
Code gets the status code for the packer service create bucket default response
func (*PackerServiceCreateBucketDefault) Error ¶
func (o *PackerServiceCreateBucketDefault) Error() string
func (*PackerServiceCreateBucketDefault) GetPayload ¶
func (o *PackerServiceCreateBucketDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceCreateBucketDefault) IsClientError ¶
func (o *PackerServiceCreateBucketDefault) IsClientError() bool
IsClientError returns true when this packer service create bucket default response has a 4xx status code
func (*PackerServiceCreateBucketDefault) IsCode ¶
func (o *PackerServiceCreateBucketDefault) IsCode(code int) bool
IsCode returns true when this packer service create bucket default response a status code equal to that given
func (*PackerServiceCreateBucketDefault) IsRedirect ¶
func (o *PackerServiceCreateBucketDefault) IsRedirect() bool
IsRedirect returns true when this packer service create bucket default response has a 3xx status code
func (*PackerServiceCreateBucketDefault) IsServerError ¶
func (o *PackerServiceCreateBucketDefault) IsServerError() bool
IsServerError returns true when this packer service create bucket default response has a 5xx status code
func (*PackerServiceCreateBucketDefault) IsSuccess ¶
func (o *PackerServiceCreateBucketDefault) IsSuccess() bool
IsSuccess returns true when this packer service create bucket default response has a 2xx status code
func (*PackerServiceCreateBucketDefault) String ¶
func (o *PackerServiceCreateBucketDefault) String() string
type PackerServiceCreateBucketOK ¶
type PackerServiceCreateBucketOK struct {
Payload *models.HashicorpCloudPacker20230101CreateBucketResponse
}
PackerServiceCreateBucketOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceCreateBucketOK ¶
func NewPackerServiceCreateBucketOK() *PackerServiceCreateBucketOK
NewPackerServiceCreateBucketOK creates a PackerServiceCreateBucketOK with default headers values
func (*PackerServiceCreateBucketOK) Code ¶
func (o *PackerServiceCreateBucketOK) Code() int
Code gets the status code for the packer service create bucket o k response
func (*PackerServiceCreateBucketOK) Error ¶
func (o *PackerServiceCreateBucketOK) Error() string
func (*PackerServiceCreateBucketOK) GetPayload ¶
func (o *PackerServiceCreateBucketOK) GetPayload() *models.HashicorpCloudPacker20230101CreateBucketResponse
func (*PackerServiceCreateBucketOK) IsClientError ¶
func (o *PackerServiceCreateBucketOK) IsClientError() bool
IsClientError returns true when this packer service create bucket o k response has a 4xx status code
func (*PackerServiceCreateBucketOK) IsCode ¶
func (o *PackerServiceCreateBucketOK) IsCode(code int) bool
IsCode returns true when this packer service create bucket o k response a status code equal to that given
func (*PackerServiceCreateBucketOK) IsRedirect ¶
func (o *PackerServiceCreateBucketOK) IsRedirect() bool
IsRedirect returns true when this packer service create bucket o k response has a 3xx status code
func (*PackerServiceCreateBucketOK) IsServerError ¶
func (o *PackerServiceCreateBucketOK) IsServerError() bool
IsServerError returns true when this packer service create bucket o k response has a 5xx status code
func (*PackerServiceCreateBucketOK) IsSuccess ¶
func (o *PackerServiceCreateBucketOK) IsSuccess() bool
IsSuccess returns true when this packer service create bucket o k response has a 2xx status code
func (*PackerServiceCreateBucketOK) String ¶
func (o *PackerServiceCreateBucketOK) String() string
type PackerServiceCreateBucketParams ¶
type PackerServiceCreateBucketParams struct { // Body. Body *models.HashicorpCloudPacker20230101CreateBucketBody /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceCreateBucketParams contains all the parameters to send to the API endpoint
for the packer service create bucket operation. Typically these are written to a http.Request.
func NewPackerServiceCreateBucketParams ¶
func NewPackerServiceCreateBucketParams() *PackerServiceCreateBucketParams
NewPackerServiceCreateBucketParams creates a new PackerServiceCreateBucketParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceCreateBucketParamsWithContext ¶
func NewPackerServiceCreateBucketParamsWithContext(ctx context.Context) *PackerServiceCreateBucketParams
NewPackerServiceCreateBucketParamsWithContext creates a new PackerServiceCreateBucketParams object with the ability to set a context for a request.
func NewPackerServiceCreateBucketParamsWithHTTPClient ¶
func NewPackerServiceCreateBucketParamsWithHTTPClient(client *http.Client) *PackerServiceCreateBucketParams
NewPackerServiceCreateBucketParamsWithHTTPClient creates a new PackerServiceCreateBucketParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceCreateBucketParamsWithTimeout ¶
func NewPackerServiceCreateBucketParamsWithTimeout(timeout time.Duration) *PackerServiceCreateBucketParams
NewPackerServiceCreateBucketParamsWithTimeout creates a new PackerServiceCreateBucketParams object with the ability to set a timeout on a request.
func (*PackerServiceCreateBucketParams) SetBody ¶
func (o *PackerServiceCreateBucketParams) SetBody(body *models.HashicorpCloudPacker20230101CreateBucketBody)
SetBody adds the body to the packer service create bucket params
func (*PackerServiceCreateBucketParams) SetContext ¶
func (o *PackerServiceCreateBucketParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service create bucket params
func (*PackerServiceCreateBucketParams) SetDefaults ¶
func (o *PackerServiceCreateBucketParams) SetDefaults()
SetDefaults hydrates default values in the packer service create bucket params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceCreateBucketParams) SetHTTPClient ¶
func (o *PackerServiceCreateBucketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service create bucket params
func (*PackerServiceCreateBucketParams) SetLocationOrganizationID ¶
func (o *PackerServiceCreateBucketParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service create bucket params
func (*PackerServiceCreateBucketParams) SetLocationProjectID ¶
func (o *PackerServiceCreateBucketParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service create bucket params
func (*PackerServiceCreateBucketParams) SetLocationRegionProvider ¶
func (o *PackerServiceCreateBucketParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service create bucket params
func (*PackerServiceCreateBucketParams) SetLocationRegionRegion ¶
func (o *PackerServiceCreateBucketParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service create bucket params
func (*PackerServiceCreateBucketParams) SetTimeout ¶
func (o *PackerServiceCreateBucketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service create bucket params
func (*PackerServiceCreateBucketParams) WithBody ¶
func (o *PackerServiceCreateBucketParams) WithBody(body *models.HashicorpCloudPacker20230101CreateBucketBody) *PackerServiceCreateBucketParams
WithBody adds the body to the packer service create bucket params
func (*PackerServiceCreateBucketParams) WithContext ¶
func (o *PackerServiceCreateBucketParams) WithContext(ctx context.Context) *PackerServiceCreateBucketParams
WithContext adds the context to the packer service create bucket params
func (*PackerServiceCreateBucketParams) WithDefaults ¶
func (o *PackerServiceCreateBucketParams) WithDefaults() *PackerServiceCreateBucketParams
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 ¶
func (o *PackerServiceCreateBucketParams) WithHTTPClient(client *http.Client) *PackerServiceCreateBucketParams
WithHTTPClient adds the HTTPClient to the packer service create bucket params
func (*PackerServiceCreateBucketParams) WithLocationOrganizationID ¶
func (o *PackerServiceCreateBucketParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateBucketParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service create bucket params
func (*PackerServiceCreateBucketParams) WithLocationProjectID ¶
func (o *PackerServiceCreateBucketParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateBucketParams
WithLocationProjectID adds the locationProjectID to the packer service create bucket params
func (*PackerServiceCreateBucketParams) WithLocationRegionProvider ¶
func (o *PackerServiceCreateBucketParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceCreateBucketParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service create bucket params
func (*PackerServiceCreateBucketParams) WithLocationRegionRegion ¶
func (o *PackerServiceCreateBucketParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceCreateBucketParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service create bucket params
func (*PackerServiceCreateBucketParams) WithTimeout ¶
func (o *PackerServiceCreateBucketParams) WithTimeout(timeout time.Duration) *PackerServiceCreateBucketParams
WithTimeout adds the timeout to the packer service create bucket params
func (*PackerServiceCreateBucketParams) WriteToRequest ¶
func (o *PackerServiceCreateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceCreateBucketReader ¶
type PackerServiceCreateBucketReader struct {
// contains filtered or unexported fields
}
PackerServiceCreateBucketReader is a Reader for the PackerServiceCreateBucket structure.
func (*PackerServiceCreateBucketReader) ReadResponse ¶
func (o *PackerServiceCreateBucketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceCreateBuildDefault ¶
type PackerServiceCreateBuildDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceCreateBuildDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceCreateBuildDefault ¶
func NewPackerServiceCreateBuildDefault(code int) *PackerServiceCreateBuildDefault
NewPackerServiceCreateBuildDefault creates a PackerServiceCreateBuildDefault with default headers values
func (*PackerServiceCreateBuildDefault) Code ¶
func (o *PackerServiceCreateBuildDefault) Code() int
Code gets the status code for the packer service create build default response
func (*PackerServiceCreateBuildDefault) Error ¶
func (o *PackerServiceCreateBuildDefault) Error() string
func (*PackerServiceCreateBuildDefault) GetPayload ¶
func (o *PackerServiceCreateBuildDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceCreateBuildDefault) IsClientError ¶
func (o *PackerServiceCreateBuildDefault) IsClientError() bool
IsClientError returns true when this packer service create build default response has a 4xx status code
func (*PackerServiceCreateBuildDefault) IsCode ¶
func (o *PackerServiceCreateBuildDefault) IsCode(code int) bool
IsCode returns true when this packer service create build default response a status code equal to that given
func (*PackerServiceCreateBuildDefault) IsRedirect ¶
func (o *PackerServiceCreateBuildDefault) IsRedirect() bool
IsRedirect returns true when this packer service create build default response has a 3xx status code
func (*PackerServiceCreateBuildDefault) IsServerError ¶
func (o *PackerServiceCreateBuildDefault) IsServerError() bool
IsServerError returns true when this packer service create build default response has a 5xx status code
func (*PackerServiceCreateBuildDefault) IsSuccess ¶
func (o *PackerServiceCreateBuildDefault) IsSuccess() bool
IsSuccess returns true when this packer service create build default response has a 2xx status code
func (*PackerServiceCreateBuildDefault) String ¶
func (o *PackerServiceCreateBuildDefault) String() string
type PackerServiceCreateBuildOK ¶
type PackerServiceCreateBuildOK struct {
Payload *models.HashicorpCloudPacker20230101CreateBuildResponse
}
PackerServiceCreateBuildOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceCreateBuildOK ¶
func NewPackerServiceCreateBuildOK() *PackerServiceCreateBuildOK
NewPackerServiceCreateBuildOK creates a PackerServiceCreateBuildOK with default headers values
func (*PackerServiceCreateBuildOK) Code ¶
func (o *PackerServiceCreateBuildOK) Code() int
Code gets the status code for the packer service create build o k response
func (*PackerServiceCreateBuildOK) Error ¶
func (o *PackerServiceCreateBuildOK) Error() string
func (*PackerServiceCreateBuildOK) GetPayload ¶
func (o *PackerServiceCreateBuildOK) GetPayload() *models.HashicorpCloudPacker20230101CreateBuildResponse
func (*PackerServiceCreateBuildOK) IsClientError ¶
func (o *PackerServiceCreateBuildOK) IsClientError() bool
IsClientError returns true when this packer service create build o k response has a 4xx status code
func (*PackerServiceCreateBuildOK) IsCode ¶
func (o *PackerServiceCreateBuildOK) IsCode(code int) bool
IsCode returns true when this packer service create build o k response a status code equal to that given
func (*PackerServiceCreateBuildOK) IsRedirect ¶
func (o *PackerServiceCreateBuildOK) IsRedirect() bool
IsRedirect returns true when this packer service create build o k response has a 3xx status code
func (*PackerServiceCreateBuildOK) IsServerError ¶
func (o *PackerServiceCreateBuildOK) IsServerError() bool
IsServerError returns true when this packer service create build o k response has a 5xx status code
func (*PackerServiceCreateBuildOK) IsSuccess ¶
func (o *PackerServiceCreateBuildOK) IsSuccess() bool
IsSuccess returns true when this packer service create build o k response has a 2xx status code
func (*PackerServiceCreateBuildOK) String ¶
func (o *PackerServiceCreateBuildOK) String() string
type PackerServiceCreateBuildParams ¶
type PackerServiceCreateBuildParams struct { // Body. Body *models.HashicorpCloudPacker20230101CreateBuildBody // BucketName. BucketName string // Fingerprint. Fingerprint string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceCreateBuildParams contains all the parameters to send to the API endpoint
for the packer service create build operation. Typically these are written to a http.Request.
func NewPackerServiceCreateBuildParams ¶
func NewPackerServiceCreateBuildParams() *PackerServiceCreateBuildParams
NewPackerServiceCreateBuildParams creates a new PackerServiceCreateBuildParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceCreateBuildParamsWithContext ¶
func NewPackerServiceCreateBuildParamsWithContext(ctx context.Context) *PackerServiceCreateBuildParams
NewPackerServiceCreateBuildParamsWithContext creates a new PackerServiceCreateBuildParams object with the ability to set a context for a request.
func NewPackerServiceCreateBuildParamsWithHTTPClient ¶
func NewPackerServiceCreateBuildParamsWithHTTPClient(client *http.Client) *PackerServiceCreateBuildParams
NewPackerServiceCreateBuildParamsWithHTTPClient creates a new PackerServiceCreateBuildParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceCreateBuildParamsWithTimeout ¶
func NewPackerServiceCreateBuildParamsWithTimeout(timeout time.Duration) *PackerServiceCreateBuildParams
NewPackerServiceCreateBuildParamsWithTimeout creates a new PackerServiceCreateBuildParams object with the ability to set a timeout on a request.
func (*PackerServiceCreateBuildParams) SetBody ¶
func (o *PackerServiceCreateBuildParams) SetBody(body *models.HashicorpCloudPacker20230101CreateBuildBody)
SetBody adds the body to the packer service create build params
func (*PackerServiceCreateBuildParams) SetBucketName ¶
func (o *PackerServiceCreateBuildParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service create build params
func (*PackerServiceCreateBuildParams) SetContext ¶
func (o *PackerServiceCreateBuildParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service create build params
func (*PackerServiceCreateBuildParams) SetDefaults ¶
func (o *PackerServiceCreateBuildParams) SetDefaults()
SetDefaults hydrates default values in the packer service create build params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceCreateBuildParams) SetFingerprint ¶
func (o *PackerServiceCreateBuildParams) SetFingerprint(fingerprint string)
SetFingerprint adds the fingerprint to the packer service create build params
func (*PackerServiceCreateBuildParams) SetHTTPClient ¶
func (o *PackerServiceCreateBuildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service create build params
func (*PackerServiceCreateBuildParams) SetLocationOrganizationID ¶
func (o *PackerServiceCreateBuildParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service create build params
func (*PackerServiceCreateBuildParams) SetLocationProjectID ¶
func (o *PackerServiceCreateBuildParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service create build params
func (*PackerServiceCreateBuildParams) SetLocationRegionProvider ¶
func (o *PackerServiceCreateBuildParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service create build params
func (*PackerServiceCreateBuildParams) SetLocationRegionRegion ¶
func (o *PackerServiceCreateBuildParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service create build params
func (*PackerServiceCreateBuildParams) SetTimeout ¶
func (o *PackerServiceCreateBuildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service create build params
func (*PackerServiceCreateBuildParams) WithBody ¶
func (o *PackerServiceCreateBuildParams) WithBody(body *models.HashicorpCloudPacker20230101CreateBuildBody) *PackerServiceCreateBuildParams
WithBody adds the body to the packer service create build params
func (*PackerServiceCreateBuildParams) WithBucketName ¶
func (o *PackerServiceCreateBuildParams) WithBucketName(bucketName string) *PackerServiceCreateBuildParams
WithBucketName adds the bucketName to the packer service create build params
func (*PackerServiceCreateBuildParams) WithContext ¶
func (o *PackerServiceCreateBuildParams) WithContext(ctx context.Context) *PackerServiceCreateBuildParams
WithContext adds the context to the packer service create build params
func (*PackerServiceCreateBuildParams) WithDefaults ¶
func (o *PackerServiceCreateBuildParams) WithDefaults() *PackerServiceCreateBuildParams
WithDefaults hydrates default values in the packer service create build params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceCreateBuildParams) WithFingerprint ¶
func (o *PackerServiceCreateBuildParams) WithFingerprint(fingerprint string) *PackerServiceCreateBuildParams
WithFingerprint adds the fingerprint to the packer service create build params
func (*PackerServiceCreateBuildParams) WithHTTPClient ¶
func (o *PackerServiceCreateBuildParams) WithHTTPClient(client *http.Client) *PackerServiceCreateBuildParams
WithHTTPClient adds the HTTPClient to the packer service create build params
func (*PackerServiceCreateBuildParams) WithLocationOrganizationID ¶
func (o *PackerServiceCreateBuildParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateBuildParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service create build params
func (*PackerServiceCreateBuildParams) WithLocationProjectID ¶
func (o *PackerServiceCreateBuildParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateBuildParams
WithLocationProjectID adds the locationProjectID to the packer service create build params
func (*PackerServiceCreateBuildParams) WithLocationRegionProvider ¶
func (o *PackerServiceCreateBuildParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceCreateBuildParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service create build params
func (*PackerServiceCreateBuildParams) WithLocationRegionRegion ¶
func (o *PackerServiceCreateBuildParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceCreateBuildParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service create build params
func (*PackerServiceCreateBuildParams) WithTimeout ¶
func (o *PackerServiceCreateBuildParams) WithTimeout(timeout time.Duration) *PackerServiceCreateBuildParams
WithTimeout adds the timeout to the packer service create build params
func (*PackerServiceCreateBuildParams) WriteToRequest ¶
func (o *PackerServiceCreateBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceCreateBuildReader ¶
type PackerServiceCreateBuildReader struct {
// contains filtered or unexported fields
}
PackerServiceCreateBuildReader is a Reader for the PackerServiceCreateBuild structure.
func (*PackerServiceCreateBuildReader) ReadResponse ¶
func (o *PackerServiceCreateBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceCreateChannelDefault ¶
type PackerServiceCreateChannelDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceCreateChannelDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceCreateChannelDefault ¶
func NewPackerServiceCreateChannelDefault(code int) *PackerServiceCreateChannelDefault
NewPackerServiceCreateChannelDefault creates a PackerServiceCreateChannelDefault with default headers values
func (*PackerServiceCreateChannelDefault) Code ¶
func (o *PackerServiceCreateChannelDefault) Code() int
Code gets the status code for the packer service create channel default response
func (*PackerServiceCreateChannelDefault) Error ¶
func (o *PackerServiceCreateChannelDefault) Error() string
func (*PackerServiceCreateChannelDefault) GetPayload ¶
func (o *PackerServiceCreateChannelDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceCreateChannelDefault) IsClientError ¶
func (o *PackerServiceCreateChannelDefault) IsClientError() bool
IsClientError returns true when this packer service create channel default response has a 4xx status code
func (*PackerServiceCreateChannelDefault) IsCode ¶
func (o *PackerServiceCreateChannelDefault) IsCode(code int) bool
IsCode returns true when this packer service create channel default response a status code equal to that given
func (*PackerServiceCreateChannelDefault) IsRedirect ¶
func (o *PackerServiceCreateChannelDefault) IsRedirect() bool
IsRedirect returns true when this packer service create channel default response has a 3xx status code
func (*PackerServiceCreateChannelDefault) IsServerError ¶
func (o *PackerServiceCreateChannelDefault) IsServerError() bool
IsServerError returns true when this packer service create channel default response has a 5xx status code
func (*PackerServiceCreateChannelDefault) IsSuccess ¶
func (o *PackerServiceCreateChannelDefault) IsSuccess() bool
IsSuccess returns true when this packer service create channel default response has a 2xx status code
func (*PackerServiceCreateChannelDefault) String ¶
func (o *PackerServiceCreateChannelDefault) String() string
type PackerServiceCreateChannelOK ¶
type PackerServiceCreateChannelOK struct {
Payload *models.HashicorpCloudPacker20230101CreateChannelResponse
}
PackerServiceCreateChannelOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceCreateChannelOK ¶
func NewPackerServiceCreateChannelOK() *PackerServiceCreateChannelOK
NewPackerServiceCreateChannelOK creates a PackerServiceCreateChannelOK with default headers values
func (*PackerServiceCreateChannelOK) Code ¶
func (o *PackerServiceCreateChannelOK) Code() int
Code gets the status code for the packer service create channel o k response
func (*PackerServiceCreateChannelOK) Error ¶
func (o *PackerServiceCreateChannelOK) Error() string
func (*PackerServiceCreateChannelOK) GetPayload ¶
func (o *PackerServiceCreateChannelOK) GetPayload() *models.HashicorpCloudPacker20230101CreateChannelResponse
func (*PackerServiceCreateChannelOK) IsClientError ¶
func (o *PackerServiceCreateChannelOK) IsClientError() bool
IsClientError returns true when this packer service create channel o k response has a 4xx status code
func (*PackerServiceCreateChannelOK) IsCode ¶
func (o *PackerServiceCreateChannelOK) IsCode(code int) bool
IsCode returns true when this packer service create channel o k response a status code equal to that given
func (*PackerServiceCreateChannelOK) IsRedirect ¶
func (o *PackerServiceCreateChannelOK) IsRedirect() bool
IsRedirect returns true when this packer service create channel o k response has a 3xx status code
func (*PackerServiceCreateChannelOK) IsServerError ¶
func (o *PackerServiceCreateChannelOK) IsServerError() bool
IsServerError returns true when this packer service create channel o k response has a 5xx status code
func (*PackerServiceCreateChannelOK) IsSuccess ¶
func (o *PackerServiceCreateChannelOK) IsSuccess() bool
IsSuccess returns true when this packer service create channel o k response has a 2xx status code
func (*PackerServiceCreateChannelOK) String ¶
func (o *PackerServiceCreateChannelOK) String() string
type PackerServiceCreateChannelParams ¶
type PackerServiceCreateChannelParams struct { // Body. Body *models.HashicorpCloudPacker20230101CreateChannelBody // BucketName. BucketName string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceCreateChannelParams contains all the parameters to send to the API endpoint
for the packer service create channel operation. Typically these are written to a http.Request.
func NewPackerServiceCreateChannelParams ¶
func NewPackerServiceCreateChannelParams() *PackerServiceCreateChannelParams
NewPackerServiceCreateChannelParams creates a new PackerServiceCreateChannelParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceCreateChannelParamsWithContext ¶
func NewPackerServiceCreateChannelParamsWithContext(ctx context.Context) *PackerServiceCreateChannelParams
NewPackerServiceCreateChannelParamsWithContext creates a new PackerServiceCreateChannelParams object with the ability to set a context for a request.
func NewPackerServiceCreateChannelParamsWithHTTPClient ¶
func NewPackerServiceCreateChannelParamsWithHTTPClient(client *http.Client) *PackerServiceCreateChannelParams
NewPackerServiceCreateChannelParamsWithHTTPClient creates a new PackerServiceCreateChannelParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceCreateChannelParamsWithTimeout ¶
func NewPackerServiceCreateChannelParamsWithTimeout(timeout time.Duration) *PackerServiceCreateChannelParams
NewPackerServiceCreateChannelParamsWithTimeout creates a new PackerServiceCreateChannelParams object with the ability to set a timeout on a request.
func (*PackerServiceCreateChannelParams) SetBody ¶
func (o *PackerServiceCreateChannelParams) SetBody(body *models.HashicorpCloudPacker20230101CreateChannelBody)
SetBody adds the body to the packer service create channel params
func (*PackerServiceCreateChannelParams) SetBucketName ¶
func (o *PackerServiceCreateChannelParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service create channel params
func (*PackerServiceCreateChannelParams) SetContext ¶
func (o *PackerServiceCreateChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service create channel params
func (*PackerServiceCreateChannelParams) SetDefaults ¶
func (o *PackerServiceCreateChannelParams) SetDefaults()
SetDefaults hydrates default values in the packer service create channel params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceCreateChannelParams) SetHTTPClient ¶
func (o *PackerServiceCreateChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service create channel params
func (*PackerServiceCreateChannelParams) SetLocationOrganizationID ¶
func (o *PackerServiceCreateChannelParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service create channel params
func (*PackerServiceCreateChannelParams) SetLocationProjectID ¶
func (o *PackerServiceCreateChannelParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service create channel params
func (*PackerServiceCreateChannelParams) SetLocationRegionProvider ¶
func (o *PackerServiceCreateChannelParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service create channel params
func (*PackerServiceCreateChannelParams) SetLocationRegionRegion ¶
func (o *PackerServiceCreateChannelParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service create channel params
func (*PackerServiceCreateChannelParams) SetTimeout ¶
func (o *PackerServiceCreateChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service create channel params
func (*PackerServiceCreateChannelParams) WithBody ¶
func (o *PackerServiceCreateChannelParams) WithBody(body *models.HashicorpCloudPacker20230101CreateChannelBody) *PackerServiceCreateChannelParams
WithBody adds the body to the packer service create channel params
func (*PackerServiceCreateChannelParams) WithBucketName ¶
func (o *PackerServiceCreateChannelParams) WithBucketName(bucketName string) *PackerServiceCreateChannelParams
WithBucketName adds the bucketName to the packer service create channel params
func (*PackerServiceCreateChannelParams) WithContext ¶
func (o *PackerServiceCreateChannelParams) WithContext(ctx context.Context) *PackerServiceCreateChannelParams
WithContext adds the context to the packer service create channel params
func (*PackerServiceCreateChannelParams) WithDefaults ¶
func (o *PackerServiceCreateChannelParams) WithDefaults() *PackerServiceCreateChannelParams
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 ¶
func (o *PackerServiceCreateChannelParams) WithHTTPClient(client *http.Client) *PackerServiceCreateChannelParams
WithHTTPClient adds the HTTPClient to the packer service create channel params
func (*PackerServiceCreateChannelParams) WithLocationOrganizationID ¶
func (o *PackerServiceCreateChannelParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateChannelParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service create channel params
func (*PackerServiceCreateChannelParams) WithLocationProjectID ¶
func (o *PackerServiceCreateChannelParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateChannelParams
WithLocationProjectID adds the locationProjectID to the packer service create channel params
func (*PackerServiceCreateChannelParams) WithLocationRegionProvider ¶
func (o *PackerServiceCreateChannelParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceCreateChannelParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service create channel params
func (*PackerServiceCreateChannelParams) WithLocationRegionRegion ¶
func (o *PackerServiceCreateChannelParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceCreateChannelParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service create channel params
func (*PackerServiceCreateChannelParams) WithTimeout ¶
func (o *PackerServiceCreateChannelParams) WithTimeout(timeout time.Duration) *PackerServiceCreateChannelParams
WithTimeout adds the timeout to the packer service create channel params
func (*PackerServiceCreateChannelParams) WriteToRequest ¶
func (o *PackerServiceCreateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceCreateChannelReader ¶
type PackerServiceCreateChannelReader struct {
// contains filtered or unexported fields
}
PackerServiceCreateChannelReader is a Reader for the PackerServiceCreateChannel structure.
func (*PackerServiceCreateChannelReader) ReadResponse ¶
func (o *PackerServiceCreateChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceCreateRegistryDefault ¶
type PackerServiceCreateRegistryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceCreateRegistryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceCreateRegistryDefault ¶
func NewPackerServiceCreateRegistryDefault(code int) *PackerServiceCreateRegistryDefault
NewPackerServiceCreateRegistryDefault creates a PackerServiceCreateRegistryDefault with default headers values
func (*PackerServiceCreateRegistryDefault) Code ¶
func (o *PackerServiceCreateRegistryDefault) Code() int
Code gets the status code for the packer service create registry default response
func (*PackerServiceCreateRegistryDefault) Error ¶
func (o *PackerServiceCreateRegistryDefault) Error() string
func (*PackerServiceCreateRegistryDefault) GetPayload ¶
func (o *PackerServiceCreateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceCreateRegistryDefault) IsClientError ¶
func (o *PackerServiceCreateRegistryDefault) IsClientError() bool
IsClientError returns true when this packer service create registry default response has a 4xx status code
func (*PackerServiceCreateRegistryDefault) IsCode ¶
func (o *PackerServiceCreateRegistryDefault) IsCode(code int) bool
IsCode returns true when this packer service create registry default response a status code equal to that given
func (*PackerServiceCreateRegistryDefault) IsRedirect ¶
func (o *PackerServiceCreateRegistryDefault) IsRedirect() bool
IsRedirect returns true when this packer service create registry default response has a 3xx status code
func (*PackerServiceCreateRegistryDefault) IsServerError ¶
func (o *PackerServiceCreateRegistryDefault) IsServerError() bool
IsServerError returns true when this packer service create registry default response has a 5xx status code
func (*PackerServiceCreateRegistryDefault) IsSuccess ¶
func (o *PackerServiceCreateRegistryDefault) IsSuccess() bool
IsSuccess returns true when this packer service create registry default response has a 2xx status code
func (*PackerServiceCreateRegistryDefault) String ¶
func (o *PackerServiceCreateRegistryDefault) String() string
type PackerServiceCreateRegistryOK ¶
type PackerServiceCreateRegistryOK struct {
Payload *models.HashicorpCloudPacker20230101CreateRegistryResponse
}
PackerServiceCreateRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceCreateRegistryOK ¶
func NewPackerServiceCreateRegistryOK() *PackerServiceCreateRegistryOK
NewPackerServiceCreateRegistryOK creates a PackerServiceCreateRegistryOK with default headers values
func (*PackerServiceCreateRegistryOK) Code ¶
func (o *PackerServiceCreateRegistryOK) Code() int
Code gets the status code for the packer service create registry o k response
func (*PackerServiceCreateRegistryOK) Error ¶
func (o *PackerServiceCreateRegistryOK) Error() string
func (*PackerServiceCreateRegistryOK) GetPayload ¶
func (o *PackerServiceCreateRegistryOK) GetPayload() *models.HashicorpCloudPacker20230101CreateRegistryResponse
func (*PackerServiceCreateRegistryOK) IsClientError ¶
func (o *PackerServiceCreateRegistryOK) IsClientError() bool
IsClientError returns true when this packer service create registry o k response has a 4xx status code
func (*PackerServiceCreateRegistryOK) IsCode ¶
func (o *PackerServiceCreateRegistryOK) IsCode(code int) bool
IsCode returns true when this packer service create registry o k response a status code equal to that given
func (*PackerServiceCreateRegistryOK) IsRedirect ¶
func (o *PackerServiceCreateRegistryOK) IsRedirect() bool
IsRedirect returns true when this packer service create registry o k response has a 3xx status code
func (*PackerServiceCreateRegistryOK) IsServerError ¶
func (o *PackerServiceCreateRegistryOK) IsServerError() bool
IsServerError returns true when this packer service create registry o k response has a 5xx status code
func (*PackerServiceCreateRegistryOK) IsSuccess ¶
func (o *PackerServiceCreateRegistryOK) IsSuccess() bool
IsSuccess returns true when this packer service create registry o k response has a 2xx status code
func (*PackerServiceCreateRegistryOK) String ¶
func (o *PackerServiceCreateRegistryOK) String() string
type PackerServiceCreateRegistryParams ¶
type PackerServiceCreateRegistryParams struct { // Body. Body *models.HashicorpCloudPacker20230101CreateRegistryBody /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceCreateRegistryParams contains all the parameters to send to the API endpoint
for the packer service create registry operation. Typically these are written to a http.Request.
func NewPackerServiceCreateRegistryParams ¶
func NewPackerServiceCreateRegistryParams() *PackerServiceCreateRegistryParams
NewPackerServiceCreateRegistryParams creates a new PackerServiceCreateRegistryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceCreateRegistryParamsWithContext ¶
func NewPackerServiceCreateRegistryParamsWithContext(ctx context.Context) *PackerServiceCreateRegistryParams
NewPackerServiceCreateRegistryParamsWithContext creates a new PackerServiceCreateRegistryParams object with the ability to set a context for a request.
func NewPackerServiceCreateRegistryParamsWithHTTPClient ¶
func NewPackerServiceCreateRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceCreateRegistryParams
NewPackerServiceCreateRegistryParamsWithHTTPClient creates a new PackerServiceCreateRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceCreateRegistryParamsWithTimeout ¶
func NewPackerServiceCreateRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceCreateRegistryParams
NewPackerServiceCreateRegistryParamsWithTimeout creates a new PackerServiceCreateRegistryParams object with the ability to set a timeout on a request.
func (*PackerServiceCreateRegistryParams) SetBody ¶
func (o *PackerServiceCreateRegistryParams) SetBody(body *models.HashicorpCloudPacker20230101CreateRegistryBody)
SetBody adds the body to the packer service create registry params
func (*PackerServiceCreateRegistryParams) SetContext ¶
func (o *PackerServiceCreateRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service create registry params
func (*PackerServiceCreateRegistryParams) SetDefaults ¶
func (o *PackerServiceCreateRegistryParams) SetDefaults()
SetDefaults hydrates default values in the packer service create registry params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceCreateRegistryParams) SetHTTPClient ¶
func (o *PackerServiceCreateRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service create registry params
func (*PackerServiceCreateRegistryParams) SetLocationOrganizationID ¶
func (o *PackerServiceCreateRegistryParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service create registry params
func (*PackerServiceCreateRegistryParams) SetLocationProjectID ¶
func (o *PackerServiceCreateRegistryParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service create registry params
func (*PackerServiceCreateRegistryParams) SetLocationRegionProvider ¶
func (o *PackerServiceCreateRegistryParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service create registry params
func (*PackerServiceCreateRegistryParams) SetLocationRegionRegion ¶
func (o *PackerServiceCreateRegistryParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service create registry params
func (*PackerServiceCreateRegistryParams) SetTimeout ¶
func (o *PackerServiceCreateRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service create registry params
func (*PackerServiceCreateRegistryParams) WithBody ¶
func (o *PackerServiceCreateRegistryParams) WithBody(body *models.HashicorpCloudPacker20230101CreateRegistryBody) *PackerServiceCreateRegistryParams
WithBody adds the body to the packer service create registry params
func (*PackerServiceCreateRegistryParams) WithContext ¶
func (o *PackerServiceCreateRegistryParams) WithContext(ctx context.Context) *PackerServiceCreateRegistryParams
WithContext adds the context to the packer service create registry params
func (*PackerServiceCreateRegistryParams) WithDefaults ¶
func (o *PackerServiceCreateRegistryParams) WithDefaults() *PackerServiceCreateRegistryParams
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 ¶
func (o *PackerServiceCreateRegistryParams) WithHTTPClient(client *http.Client) *PackerServiceCreateRegistryParams
WithHTTPClient adds the HTTPClient to the packer service create registry params
func (*PackerServiceCreateRegistryParams) WithLocationOrganizationID ¶
func (o *PackerServiceCreateRegistryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateRegistryParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service create registry params
func (*PackerServiceCreateRegistryParams) WithLocationProjectID ¶
func (o *PackerServiceCreateRegistryParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateRegistryParams
WithLocationProjectID adds the locationProjectID to the packer service create registry params
func (*PackerServiceCreateRegistryParams) WithLocationRegionProvider ¶
func (o *PackerServiceCreateRegistryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceCreateRegistryParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service create registry params
func (*PackerServiceCreateRegistryParams) WithLocationRegionRegion ¶
func (o *PackerServiceCreateRegistryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceCreateRegistryParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service create registry params
func (*PackerServiceCreateRegistryParams) WithTimeout ¶
func (o *PackerServiceCreateRegistryParams) WithTimeout(timeout time.Duration) *PackerServiceCreateRegistryParams
WithTimeout adds the timeout to the packer service create registry params
func (*PackerServiceCreateRegistryParams) WriteToRequest ¶
func (o *PackerServiceCreateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceCreateRegistryReader ¶
type PackerServiceCreateRegistryReader struct {
// contains filtered or unexported fields
}
PackerServiceCreateRegistryReader is a Reader for the PackerServiceCreateRegistry structure.
func (*PackerServiceCreateRegistryReader) ReadResponse ¶
func (o *PackerServiceCreateRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceCreateVersionDefault ¶
type PackerServiceCreateVersionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceCreateVersionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceCreateVersionDefault ¶
func NewPackerServiceCreateVersionDefault(code int) *PackerServiceCreateVersionDefault
NewPackerServiceCreateVersionDefault creates a PackerServiceCreateVersionDefault with default headers values
func (*PackerServiceCreateVersionDefault) Code ¶
func (o *PackerServiceCreateVersionDefault) Code() int
Code gets the status code for the packer service create version default response
func (*PackerServiceCreateVersionDefault) Error ¶
func (o *PackerServiceCreateVersionDefault) Error() string
func (*PackerServiceCreateVersionDefault) GetPayload ¶
func (o *PackerServiceCreateVersionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceCreateVersionDefault) IsClientError ¶
func (o *PackerServiceCreateVersionDefault) IsClientError() bool
IsClientError returns true when this packer service create version default response has a 4xx status code
func (*PackerServiceCreateVersionDefault) IsCode ¶
func (o *PackerServiceCreateVersionDefault) IsCode(code int) bool
IsCode returns true when this packer service create version default response a status code equal to that given
func (*PackerServiceCreateVersionDefault) IsRedirect ¶
func (o *PackerServiceCreateVersionDefault) IsRedirect() bool
IsRedirect returns true when this packer service create version default response has a 3xx status code
func (*PackerServiceCreateVersionDefault) IsServerError ¶
func (o *PackerServiceCreateVersionDefault) IsServerError() bool
IsServerError returns true when this packer service create version default response has a 5xx status code
func (*PackerServiceCreateVersionDefault) IsSuccess ¶
func (o *PackerServiceCreateVersionDefault) IsSuccess() bool
IsSuccess returns true when this packer service create version default response has a 2xx status code
func (*PackerServiceCreateVersionDefault) String ¶
func (o *PackerServiceCreateVersionDefault) String() string
type PackerServiceCreateVersionOK ¶
type PackerServiceCreateVersionOK struct {
Payload *models.HashicorpCloudPacker20230101CreateVersionResponse
}
PackerServiceCreateVersionOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceCreateVersionOK ¶
func NewPackerServiceCreateVersionOK() *PackerServiceCreateVersionOK
NewPackerServiceCreateVersionOK creates a PackerServiceCreateVersionOK with default headers values
func (*PackerServiceCreateVersionOK) Code ¶
func (o *PackerServiceCreateVersionOK) Code() int
Code gets the status code for the packer service create version o k response
func (*PackerServiceCreateVersionOK) Error ¶
func (o *PackerServiceCreateVersionOK) Error() string
func (*PackerServiceCreateVersionOK) GetPayload ¶
func (o *PackerServiceCreateVersionOK) GetPayload() *models.HashicorpCloudPacker20230101CreateVersionResponse
func (*PackerServiceCreateVersionOK) IsClientError ¶
func (o *PackerServiceCreateVersionOK) IsClientError() bool
IsClientError returns true when this packer service create version o k response has a 4xx status code
func (*PackerServiceCreateVersionOK) IsCode ¶
func (o *PackerServiceCreateVersionOK) IsCode(code int) bool
IsCode returns true when this packer service create version o k response a status code equal to that given
func (*PackerServiceCreateVersionOK) IsRedirect ¶
func (o *PackerServiceCreateVersionOK) IsRedirect() bool
IsRedirect returns true when this packer service create version o k response has a 3xx status code
func (*PackerServiceCreateVersionOK) IsServerError ¶
func (o *PackerServiceCreateVersionOK) IsServerError() bool
IsServerError returns true when this packer service create version o k response has a 5xx status code
func (*PackerServiceCreateVersionOK) IsSuccess ¶
func (o *PackerServiceCreateVersionOK) IsSuccess() bool
IsSuccess returns true when this packer service create version o k response has a 2xx status code
func (*PackerServiceCreateVersionOK) String ¶
func (o *PackerServiceCreateVersionOK) String() string
type PackerServiceCreateVersionParams ¶
type PackerServiceCreateVersionParams struct { // Body. Body *models.HashicorpCloudPacker20230101CreateVersionBody // BucketName. BucketName string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceCreateVersionParams contains all the parameters to send to the API endpoint
for the packer service create version operation. Typically these are written to a http.Request.
func NewPackerServiceCreateVersionParams ¶
func NewPackerServiceCreateVersionParams() *PackerServiceCreateVersionParams
NewPackerServiceCreateVersionParams creates a new PackerServiceCreateVersionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceCreateVersionParamsWithContext ¶
func NewPackerServiceCreateVersionParamsWithContext(ctx context.Context) *PackerServiceCreateVersionParams
NewPackerServiceCreateVersionParamsWithContext creates a new PackerServiceCreateVersionParams object with the ability to set a context for a request.
func NewPackerServiceCreateVersionParamsWithHTTPClient ¶
func NewPackerServiceCreateVersionParamsWithHTTPClient(client *http.Client) *PackerServiceCreateVersionParams
NewPackerServiceCreateVersionParamsWithHTTPClient creates a new PackerServiceCreateVersionParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceCreateVersionParamsWithTimeout ¶
func NewPackerServiceCreateVersionParamsWithTimeout(timeout time.Duration) *PackerServiceCreateVersionParams
NewPackerServiceCreateVersionParamsWithTimeout creates a new PackerServiceCreateVersionParams object with the ability to set a timeout on a request.
func (*PackerServiceCreateVersionParams) SetBody ¶
func (o *PackerServiceCreateVersionParams) SetBody(body *models.HashicorpCloudPacker20230101CreateVersionBody)
SetBody adds the body to the packer service create version params
func (*PackerServiceCreateVersionParams) SetBucketName ¶
func (o *PackerServiceCreateVersionParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service create version params
func (*PackerServiceCreateVersionParams) SetContext ¶
func (o *PackerServiceCreateVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service create version params
func (*PackerServiceCreateVersionParams) SetDefaults ¶
func (o *PackerServiceCreateVersionParams) SetDefaults()
SetDefaults hydrates default values in the packer service create version params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceCreateVersionParams) SetHTTPClient ¶
func (o *PackerServiceCreateVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service create version params
func (*PackerServiceCreateVersionParams) SetLocationOrganizationID ¶
func (o *PackerServiceCreateVersionParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service create version params
func (*PackerServiceCreateVersionParams) SetLocationProjectID ¶
func (o *PackerServiceCreateVersionParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service create version params
func (*PackerServiceCreateVersionParams) SetLocationRegionProvider ¶
func (o *PackerServiceCreateVersionParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service create version params
func (*PackerServiceCreateVersionParams) SetLocationRegionRegion ¶
func (o *PackerServiceCreateVersionParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service create version params
func (*PackerServiceCreateVersionParams) SetTimeout ¶
func (o *PackerServiceCreateVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service create version params
func (*PackerServiceCreateVersionParams) WithBody ¶
func (o *PackerServiceCreateVersionParams) WithBody(body *models.HashicorpCloudPacker20230101CreateVersionBody) *PackerServiceCreateVersionParams
WithBody adds the body to the packer service create version params
func (*PackerServiceCreateVersionParams) WithBucketName ¶
func (o *PackerServiceCreateVersionParams) WithBucketName(bucketName string) *PackerServiceCreateVersionParams
WithBucketName adds the bucketName to the packer service create version params
func (*PackerServiceCreateVersionParams) WithContext ¶
func (o *PackerServiceCreateVersionParams) WithContext(ctx context.Context) *PackerServiceCreateVersionParams
WithContext adds the context to the packer service create version params
func (*PackerServiceCreateVersionParams) WithDefaults ¶
func (o *PackerServiceCreateVersionParams) WithDefaults() *PackerServiceCreateVersionParams
WithDefaults hydrates default values in the packer service create version params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceCreateVersionParams) WithHTTPClient ¶
func (o *PackerServiceCreateVersionParams) WithHTTPClient(client *http.Client) *PackerServiceCreateVersionParams
WithHTTPClient adds the HTTPClient to the packer service create version params
func (*PackerServiceCreateVersionParams) WithLocationOrganizationID ¶
func (o *PackerServiceCreateVersionParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceCreateVersionParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service create version params
func (*PackerServiceCreateVersionParams) WithLocationProjectID ¶
func (o *PackerServiceCreateVersionParams) WithLocationProjectID(locationProjectID string) *PackerServiceCreateVersionParams
WithLocationProjectID adds the locationProjectID to the packer service create version params
func (*PackerServiceCreateVersionParams) WithLocationRegionProvider ¶
func (o *PackerServiceCreateVersionParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceCreateVersionParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service create version params
func (*PackerServiceCreateVersionParams) WithLocationRegionRegion ¶
func (o *PackerServiceCreateVersionParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceCreateVersionParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service create version params
func (*PackerServiceCreateVersionParams) WithTimeout ¶
func (o *PackerServiceCreateVersionParams) WithTimeout(timeout time.Duration) *PackerServiceCreateVersionParams
WithTimeout adds the timeout to the packer service create version params
func (*PackerServiceCreateVersionParams) WriteToRequest ¶
func (o *PackerServiceCreateVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceCreateVersionReader ¶
type PackerServiceCreateVersionReader struct {
// contains filtered or unexported fields
}
PackerServiceCreateVersionReader is a Reader for the PackerServiceCreateVersion structure.
func (*PackerServiceCreateVersionReader) ReadResponse ¶
func (o *PackerServiceCreateVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceDeleteBucketDefault ¶
type PackerServiceDeleteBucketDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceDeleteBucketDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceDeleteBucketDefault ¶
func NewPackerServiceDeleteBucketDefault(code int) *PackerServiceDeleteBucketDefault
NewPackerServiceDeleteBucketDefault creates a PackerServiceDeleteBucketDefault with default headers values
func (*PackerServiceDeleteBucketDefault) Code ¶
func (o *PackerServiceDeleteBucketDefault) Code() int
Code gets the status code for the packer service delete bucket default response
func (*PackerServiceDeleteBucketDefault) Error ¶
func (o *PackerServiceDeleteBucketDefault) Error() string
func (*PackerServiceDeleteBucketDefault) GetPayload ¶
func (o *PackerServiceDeleteBucketDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceDeleteBucketDefault) IsClientError ¶
func (o *PackerServiceDeleteBucketDefault) IsClientError() bool
IsClientError returns true when this packer service delete bucket default response has a 4xx status code
func (*PackerServiceDeleteBucketDefault) IsCode ¶
func (o *PackerServiceDeleteBucketDefault) IsCode(code int) bool
IsCode returns true when this packer service delete bucket default response a status code equal to that given
func (*PackerServiceDeleteBucketDefault) IsRedirect ¶
func (o *PackerServiceDeleteBucketDefault) IsRedirect() bool
IsRedirect returns true when this packer service delete bucket default response has a 3xx status code
func (*PackerServiceDeleteBucketDefault) IsServerError ¶
func (o *PackerServiceDeleteBucketDefault) IsServerError() bool
IsServerError returns true when this packer service delete bucket default response has a 5xx status code
func (*PackerServiceDeleteBucketDefault) IsSuccess ¶
func (o *PackerServiceDeleteBucketDefault) IsSuccess() bool
IsSuccess returns true when this packer service delete bucket default response has a 2xx status code
func (*PackerServiceDeleteBucketDefault) String ¶
func (o *PackerServiceDeleteBucketDefault) String() string
type PackerServiceDeleteBucketOK ¶
type PackerServiceDeleteBucketOK struct {
Payload models.HashicorpCloudPacker20230101DeleteBucketResponse
}
PackerServiceDeleteBucketOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceDeleteBucketOK ¶
func NewPackerServiceDeleteBucketOK() *PackerServiceDeleteBucketOK
NewPackerServiceDeleteBucketOK creates a PackerServiceDeleteBucketOK with default headers values
func (*PackerServiceDeleteBucketOK) Code ¶
func (o *PackerServiceDeleteBucketOK) Code() int
Code gets the status code for the packer service delete bucket o k response
func (*PackerServiceDeleteBucketOK) Error ¶
func (o *PackerServiceDeleteBucketOK) Error() string
func (*PackerServiceDeleteBucketOK) GetPayload ¶
func (o *PackerServiceDeleteBucketOK) GetPayload() models.HashicorpCloudPacker20230101DeleteBucketResponse
func (*PackerServiceDeleteBucketOK) IsClientError ¶
func (o *PackerServiceDeleteBucketOK) IsClientError() bool
IsClientError returns true when this packer service delete bucket o k response has a 4xx status code
func (*PackerServiceDeleteBucketOK) IsCode ¶
func (o *PackerServiceDeleteBucketOK) IsCode(code int) bool
IsCode returns true when this packer service delete bucket o k response a status code equal to that given
func (*PackerServiceDeleteBucketOK) IsRedirect ¶
func (o *PackerServiceDeleteBucketOK) IsRedirect() bool
IsRedirect returns true when this packer service delete bucket o k response has a 3xx status code
func (*PackerServiceDeleteBucketOK) IsServerError ¶
func (o *PackerServiceDeleteBucketOK) IsServerError() bool
IsServerError returns true when this packer service delete bucket o k response has a 5xx status code
func (*PackerServiceDeleteBucketOK) IsSuccess ¶
func (o *PackerServiceDeleteBucketOK) IsSuccess() bool
IsSuccess returns true when this packer service delete bucket o k response has a 2xx status code
func (*PackerServiceDeleteBucketOK) String ¶
func (o *PackerServiceDeleteBucketOK) String() string
type PackerServiceDeleteBucketParams ¶
type PackerServiceDeleteBucketParams struct { // BucketName. BucketName string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceDeleteBucketParams contains all the parameters to send to the API endpoint
for the packer service delete bucket operation. Typically these are written to a http.Request.
func NewPackerServiceDeleteBucketParams ¶
func NewPackerServiceDeleteBucketParams() *PackerServiceDeleteBucketParams
NewPackerServiceDeleteBucketParams creates a new PackerServiceDeleteBucketParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceDeleteBucketParamsWithContext ¶
func NewPackerServiceDeleteBucketParamsWithContext(ctx context.Context) *PackerServiceDeleteBucketParams
NewPackerServiceDeleteBucketParamsWithContext creates a new PackerServiceDeleteBucketParams object with the ability to set a context for a request.
func NewPackerServiceDeleteBucketParamsWithHTTPClient ¶
func NewPackerServiceDeleteBucketParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteBucketParams
NewPackerServiceDeleteBucketParamsWithHTTPClient creates a new PackerServiceDeleteBucketParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceDeleteBucketParamsWithTimeout ¶
func NewPackerServiceDeleteBucketParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteBucketParams
NewPackerServiceDeleteBucketParamsWithTimeout creates a new PackerServiceDeleteBucketParams object with the ability to set a timeout on a request.
func (*PackerServiceDeleteBucketParams) SetBucketName ¶
func (o *PackerServiceDeleteBucketParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service delete bucket params
func (*PackerServiceDeleteBucketParams) SetContext ¶
func (o *PackerServiceDeleteBucketParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service delete bucket params
func (*PackerServiceDeleteBucketParams) SetDefaults ¶
func (o *PackerServiceDeleteBucketParams) SetDefaults()
SetDefaults hydrates default values in the packer service delete bucket params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceDeleteBucketParams) SetHTTPClient ¶
func (o *PackerServiceDeleteBucketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service delete bucket params
func (*PackerServiceDeleteBucketParams) SetLocationOrganizationID ¶
func (o *PackerServiceDeleteBucketParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service delete bucket params
func (*PackerServiceDeleteBucketParams) SetLocationProjectID ¶
func (o *PackerServiceDeleteBucketParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service delete bucket params
func (*PackerServiceDeleteBucketParams) SetLocationRegionProvider ¶
func (o *PackerServiceDeleteBucketParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service delete bucket params
func (*PackerServiceDeleteBucketParams) SetLocationRegionRegion ¶
func (o *PackerServiceDeleteBucketParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service delete bucket params
func (*PackerServiceDeleteBucketParams) SetTimeout ¶
func (o *PackerServiceDeleteBucketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service delete bucket params
func (*PackerServiceDeleteBucketParams) WithBucketName ¶
func (o *PackerServiceDeleteBucketParams) WithBucketName(bucketName string) *PackerServiceDeleteBucketParams
WithBucketName adds the bucketName to the packer service delete bucket params
func (*PackerServiceDeleteBucketParams) WithContext ¶
func (o *PackerServiceDeleteBucketParams) WithContext(ctx context.Context) *PackerServiceDeleteBucketParams
WithContext adds the context to the packer service delete bucket params
func (*PackerServiceDeleteBucketParams) WithDefaults ¶
func (o *PackerServiceDeleteBucketParams) WithDefaults() *PackerServiceDeleteBucketParams
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 ¶
func (o *PackerServiceDeleteBucketParams) WithHTTPClient(client *http.Client) *PackerServiceDeleteBucketParams
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 ¶
func (o *PackerServiceDeleteBucketParams) WithTimeout(timeout time.Duration) *PackerServiceDeleteBucketParams
WithTimeout adds the timeout to the packer service delete bucket params
func (*PackerServiceDeleteBucketParams) WriteToRequest ¶
func (o *PackerServiceDeleteBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PackerServiceDeleteBuildDefault) Code() int
Code gets the status code for the packer service delete build default response
func (*PackerServiceDeleteBuildDefault) Error ¶
func (o *PackerServiceDeleteBuildDefault) Error() string
func (*PackerServiceDeleteBuildDefault) GetPayload ¶
func (o *PackerServiceDeleteBuildDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceDeleteBuildDefault) IsClientError ¶
func (o *PackerServiceDeleteBuildDefault) IsClientError() bool
IsClientError returns true when this packer service delete build default response has a 4xx status code
func (*PackerServiceDeleteBuildDefault) IsCode ¶
func (o *PackerServiceDeleteBuildDefault) IsCode(code int) bool
IsCode returns true when this packer service delete build default response a status code equal to that given
func (*PackerServiceDeleteBuildDefault) IsRedirect ¶
func (o *PackerServiceDeleteBuildDefault) IsRedirect() bool
IsRedirect returns true when this packer service delete build default response has a 3xx status code
func (*PackerServiceDeleteBuildDefault) IsServerError ¶
func (o *PackerServiceDeleteBuildDefault) IsServerError() bool
IsServerError returns true when this packer service delete build default response has a 5xx status code
func (*PackerServiceDeleteBuildDefault) IsSuccess ¶
func (o *PackerServiceDeleteBuildDefault) IsSuccess() bool
IsSuccess returns true when this packer service delete build default response has a 2xx status code
func (*PackerServiceDeleteBuildDefault) String ¶
func (o *PackerServiceDeleteBuildDefault) String() string
type PackerServiceDeleteBuildOK ¶
type PackerServiceDeleteBuildOK struct {
Payload models.HashicorpCloudPacker20230101DeleteBuildResponse
}
PackerServiceDeleteBuildOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceDeleteBuildOK ¶
func NewPackerServiceDeleteBuildOK() *PackerServiceDeleteBuildOK
NewPackerServiceDeleteBuildOK creates a PackerServiceDeleteBuildOK with default headers values
func (*PackerServiceDeleteBuildOK) Code ¶
func (o *PackerServiceDeleteBuildOK) Code() int
Code gets the status code for the packer service delete build o k response
func (*PackerServiceDeleteBuildOK) Error ¶
func (o *PackerServiceDeleteBuildOK) Error() string
func (*PackerServiceDeleteBuildOK) GetPayload ¶
func (o *PackerServiceDeleteBuildOK) GetPayload() models.HashicorpCloudPacker20230101DeleteBuildResponse
func (*PackerServiceDeleteBuildOK) IsClientError ¶
func (o *PackerServiceDeleteBuildOK) IsClientError() bool
IsClientError returns true when this packer service delete build o k response has a 4xx status code
func (*PackerServiceDeleteBuildOK) IsCode ¶
func (o *PackerServiceDeleteBuildOK) IsCode(code int) bool
IsCode returns true when this packer service delete build o k response a status code equal to that given
func (*PackerServiceDeleteBuildOK) IsRedirect ¶
func (o *PackerServiceDeleteBuildOK) IsRedirect() bool
IsRedirect returns true when this packer service delete build o k response has a 3xx status code
func (*PackerServiceDeleteBuildOK) IsServerError ¶
func (o *PackerServiceDeleteBuildOK) IsServerError() bool
IsServerError returns true when this packer service delete build o k response has a 5xx status code
func (*PackerServiceDeleteBuildOK) IsSuccess ¶
func (o *PackerServiceDeleteBuildOK) IsSuccess() bool
IsSuccess returns true when this packer service delete build o k response has a 2xx status code
func (*PackerServiceDeleteBuildOK) String ¶
func (o *PackerServiceDeleteBuildOK) String() string
type PackerServiceDeleteBuildParams ¶
type PackerServiceDeleteBuildParams struct { // BucketName. BucketName string // BuildID. BuildID string // Fingerprint. Fingerprint string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceDeleteBuildParams contains all the parameters to send to the API endpoint
for the packer service delete build operation. Typically these are written to a http.Request.
func NewPackerServiceDeleteBuildParams ¶
func NewPackerServiceDeleteBuildParams() *PackerServiceDeleteBuildParams
NewPackerServiceDeleteBuildParams creates a new PackerServiceDeleteBuildParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceDeleteBuildParamsWithContext ¶
func NewPackerServiceDeleteBuildParamsWithContext(ctx context.Context) *PackerServiceDeleteBuildParams
NewPackerServiceDeleteBuildParamsWithContext creates a new PackerServiceDeleteBuildParams object with the ability to set a context for a request.
func NewPackerServiceDeleteBuildParamsWithHTTPClient ¶
func NewPackerServiceDeleteBuildParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteBuildParams
NewPackerServiceDeleteBuildParamsWithHTTPClient creates a new PackerServiceDeleteBuildParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceDeleteBuildParamsWithTimeout ¶
func NewPackerServiceDeleteBuildParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteBuildParams
NewPackerServiceDeleteBuildParamsWithTimeout creates a new PackerServiceDeleteBuildParams object with the ability to set a timeout on a request.
func (*PackerServiceDeleteBuildParams) SetBucketName ¶
func (o *PackerServiceDeleteBuildParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service delete build params
func (*PackerServiceDeleteBuildParams) SetBuildID ¶
func (o *PackerServiceDeleteBuildParams) SetBuildID(buildID string)
SetBuildID adds the buildId to the packer service delete build params
func (*PackerServiceDeleteBuildParams) SetContext ¶
func (o *PackerServiceDeleteBuildParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service delete build params
func (*PackerServiceDeleteBuildParams) SetDefaults ¶
func (o *PackerServiceDeleteBuildParams) SetDefaults()
SetDefaults hydrates default values in the packer service delete build params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceDeleteBuildParams) SetFingerprint ¶
func (o *PackerServiceDeleteBuildParams) SetFingerprint(fingerprint string)
SetFingerprint adds the fingerprint to the packer service delete build params
func (*PackerServiceDeleteBuildParams) SetHTTPClient ¶
func (o *PackerServiceDeleteBuildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service delete build params
func (*PackerServiceDeleteBuildParams) SetLocationOrganizationID ¶
func (o *PackerServiceDeleteBuildParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service delete build params
func (*PackerServiceDeleteBuildParams) SetLocationProjectID ¶
func (o *PackerServiceDeleteBuildParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service delete build params
func (*PackerServiceDeleteBuildParams) SetLocationRegionProvider ¶
func (o *PackerServiceDeleteBuildParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service delete build params
func (*PackerServiceDeleteBuildParams) SetLocationRegionRegion ¶
func (o *PackerServiceDeleteBuildParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service delete build params
func (*PackerServiceDeleteBuildParams) SetTimeout ¶
func (o *PackerServiceDeleteBuildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service delete build params
func (*PackerServiceDeleteBuildParams) WithBucketName ¶
func (o *PackerServiceDeleteBuildParams) WithBucketName(bucketName string) *PackerServiceDeleteBuildParams
WithBucketName adds the bucketName to the packer service delete build params
func (*PackerServiceDeleteBuildParams) WithBuildID ¶
func (o *PackerServiceDeleteBuildParams) WithBuildID(buildID string) *PackerServiceDeleteBuildParams
WithBuildID adds the buildID to the packer service delete build params
func (*PackerServiceDeleteBuildParams) WithContext ¶
func (o *PackerServiceDeleteBuildParams) WithContext(ctx context.Context) *PackerServiceDeleteBuildParams
WithContext adds the context to the packer service delete build params
func (*PackerServiceDeleteBuildParams) WithDefaults ¶
func (o *PackerServiceDeleteBuildParams) WithDefaults() *PackerServiceDeleteBuildParams
WithDefaults hydrates default values in the packer service delete build params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceDeleteBuildParams) WithFingerprint ¶
func (o *PackerServiceDeleteBuildParams) WithFingerprint(fingerprint string) *PackerServiceDeleteBuildParams
WithFingerprint adds the fingerprint to the packer service delete build params
func (*PackerServiceDeleteBuildParams) WithHTTPClient ¶
func (o *PackerServiceDeleteBuildParams) WithHTTPClient(client *http.Client) *PackerServiceDeleteBuildParams
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 ¶
func (o *PackerServiceDeleteBuildParams) WithTimeout(timeout time.Duration) *PackerServiceDeleteBuildParams
WithTimeout adds the timeout to the packer service delete build params
func (*PackerServiceDeleteBuildParams) WriteToRequest ¶
func (o *PackerServiceDeleteBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PackerServiceDeleteChannelDefault) Code() int
Code gets the status code for the packer service delete channel default response
func (*PackerServiceDeleteChannelDefault) Error ¶
func (o *PackerServiceDeleteChannelDefault) Error() string
func (*PackerServiceDeleteChannelDefault) GetPayload ¶
func (o *PackerServiceDeleteChannelDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceDeleteChannelDefault) IsClientError ¶
func (o *PackerServiceDeleteChannelDefault) IsClientError() bool
IsClientError returns true when this packer service delete channel default response has a 4xx status code
func (*PackerServiceDeleteChannelDefault) IsCode ¶
func (o *PackerServiceDeleteChannelDefault) IsCode(code int) bool
IsCode returns true when this packer service delete channel default response a status code equal to that given
func (*PackerServiceDeleteChannelDefault) IsRedirect ¶
func (o *PackerServiceDeleteChannelDefault) IsRedirect() bool
IsRedirect returns true when this packer service delete channel default response has a 3xx status code
func (*PackerServiceDeleteChannelDefault) IsServerError ¶
func (o *PackerServiceDeleteChannelDefault) IsServerError() bool
IsServerError returns true when this packer service delete channel default response has a 5xx status code
func (*PackerServiceDeleteChannelDefault) IsSuccess ¶
func (o *PackerServiceDeleteChannelDefault) IsSuccess() bool
IsSuccess returns true when this packer service delete channel default response has a 2xx status code
func (*PackerServiceDeleteChannelDefault) String ¶
func (o *PackerServiceDeleteChannelDefault) String() string
type PackerServiceDeleteChannelOK ¶
type PackerServiceDeleteChannelOK struct {
Payload models.HashicorpCloudPacker20230101DeleteChannelResponse
}
PackerServiceDeleteChannelOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceDeleteChannelOK ¶
func NewPackerServiceDeleteChannelOK() *PackerServiceDeleteChannelOK
NewPackerServiceDeleteChannelOK creates a PackerServiceDeleteChannelOK with default headers values
func (*PackerServiceDeleteChannelOK) Code ¶
func (o *PackerServiceDeleteChannelOK) Code() int
Code gets the status code for the packer service delete channel o k response
func (*PackerServiceDeleteChannelOK) Error ¶
func (o *PackerServiceDeleteChannelOK) Error() string
func (*PackerServiceDeleteChannelOK) GetPayload ¶
func (o *PackerServiceDeleteChannelOK) GetPayload() models.HashicorpCloudPacker20230101DeleteChannelResponse
func (*PackerServiceDeleteChannelOK) IsClientError ¶
func (o *PackerServiceDeleteChannelOK) IsClientError() bool
IsClientError returns true when this packer service delete channel o k response has a 4xx status code
func (*PackerServiceDeleteChannelOK) IsCode ¶
func (o *PackerServiceDeleteChannelOK) IsCode(code int) bool
IsCode returns true when this packer service delete channel o k response a status code equal to that given
func (*PackerServiceDeleteChannelOK) IsRedirect ¶
func (o *PackerServiceDeleteChannelOK) IsRedirect() bool
IsRedirect returns true when this packer service delete channel o k response has a 3xx status code
func (*PackerServiceDeleteChannelOK) IsServerError ¶
func (o *PackerServiceDeleteChannelOK) IsServerError() bool
IsServerError returns true when this packer service delete channel o k response has a 5xx status code
func (*PackerServiceDeleteChannelOK) IsSuccess ¶
func (o *PackerServiceDeleteChannelOK) IsSuccess() bool
IsSuccess returns true when this packer service delete channel o k response has a 2xx status code
func (*PackerServiceDeleteChannelOK) String ¶
func (o *PackerServiceDeleteChannelOK) String() string
type PackerServiceDeleteChannelParams ¶
type PackerServiceDeleteChannelParams struct { // BucketName. BucketName string // ChannelName. ChannelName string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceDeleteChannelParams contains all the parameters to send to the API endpoint
for the packer service delete channel operation. Typically these are written to a http.Request.
func NewPackerServiceDeleteChannelParams ¶
func NewPackerServiceDeleteChannelParams() *PackerServiceDeleteChannelParams
NewPackerServiceDeleteChannelParams creates a new PackerServiceDeleteChannelParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceDeleteChannelParamsWithContext ¶
func NewPackerServiceDeleteChannelParamsWithContext(ctx context.Context) *PackerServiceDeleteChannelParams
NewPackerServiceDeleteChannelParamsWithContext creates a new PackerServiceDeleteChannelParams object with the ability to set a context for a request.
func NewPackerServiceDeleteChannelParamsWithHTTPClient ¶
func NewPackerServiceDeleteChannelParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteChannelParams
NewPackerServiceDeleteChannelParamsWithHTTPClient creates a new PackerServiceDeleteChannelParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceDeleteChannelParamsWithTimeout ¶
func NewPackerServiceDeleteChannelParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteChannelParams
NewPackerServiceDeleteChannelParamsWithTimeout creates a new PackerServiceDeleteChannelParams object with the ability to set a timeout on a request.
func (*PackerServiceDeleteChannelParams) SetBucketName ¶
func (o *PackerServiceDeleteChannelParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) SetChannelName ¶
func (o *PackerServiceDeleteChannelParams) SetChannelName(channelName string)
SetChannelName adds the channelName to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) SetContext ¶
func (o *PackerServiceDeleteChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) SetDefaults ¶
func (o *PackerServiceDeleteChannelParams) SetDefaults()
SetDefaults hydrates default values in the packer service delete channel params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceDeleteChannelParams) SetHTTPClient ¶
func (o *PackerServiceDeleteChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) SetLocationOrganizationID ¶
func (o *PackerServiceDeleteChannelParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) SetLocationProjectID ¶
func (o *PackerServiceDeleteChannelParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) SetLocationRegionProvider ¶
func (o *PackerServiceDeleteChannelParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) SetLocationRegionRegion ¶
func (o *PackerServiceDeleteChannelParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) SetTimeout ¶
func (o *PackerServiceDeleteChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) WithBucketName ¶
func (o *PackerServiceDeleteChannelParams) WithBucketName(bucketName string) *PackerServiceDeleteChannelParams
WithBucketName adds the bucketName to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) WithChannelName ¶
func (o *PackerServiceDeleteChannelParams) WithChannelName(channelName string) *PackerServiceDeleteChannelParams
WithChannelName adds the channelName to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) WithContext ¶
func (o *PackerServiceDeleteChannelParams) WithContext(ctx context.Context) *PackerServiceDeleteChannelParams
WithContext adds the context to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) WithDefaults ¶
func (o *PackerServiceDeleteChannelParams) WithDefaults() *PackerServiceDeleteChannelParams
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 ¶
func (o *PackerServiceDeleteChannelParams) WithHTTPClient(client *http.Client) *PackerServiceDeleteChannelParams
WithHTTPClient adds the HTTPClient to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) WithLocationOrganizationID ¶
func (o *PackerServiceDeleteChannelParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteChannelParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) WithLocationProjectID ¶
func (o *PackerServiceDeleteChannelParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteChannelParams
WithLocationProjectID adds the locationProjectID to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) WithLocationRegionProvider ¶
func (o *PackerServiceDeleteChannelParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteChannelParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) WithLocationRegionRegion ¶
func (o *PackerServiceDeleteChannelParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteChannelParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) WithTimeout ¶
func (o *PackerServiceDeleteChannelParams) WithTimeout(timeout time.Duration) *PackerServiceDeleteChannelParams
WithTimeout adds the timeout to the packer service delete channel params
func (*PackerServiceDeleteChannelParams) WriteToRequest ¶
func (o *PackerServiceDeleteChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceDeleteChannelReader ¶
type PackerServiceDeleteChannelReader struct {
// contains filtered or unexported fields
}
PackerServiceDeleteChannelReader is a Reader for the PackerServiceDeleteChannel structure.
func (*PackerServiceDeleteChannelReader) ReadResponse ¶
func (o *PackerServiceDeleteChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceDeleteRegistryDefault ¶
type PackerServiceDeleteRegistryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceDeleteRegistryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceDeleteRegistryDefault ¶
func NewPackerServiceDeleteRegistryDefault(code int) *PackerServiceDeleteRegistryDefault
NewPackerServiceDeleteRegistryDefault creates a PackerServiceDeleteRegistryDefault with default headers values
func (*PackerServiceDeleteRegistryDefault) Code ¶
func (o *PackerServiceDeleteRegistryDefault) Code() int
Code gets the status code for the packer service delete registry default response
func (*PackerServiceDeleteRegistryDefault) Error ¶
func (o *PackerServiceDeleteRegistryDefault) Error() string
func (*PackerServiceDeleteRegistryDefault) GetPayload ¶
func (o *PackerServiceDeleteRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceDeleteRegistryDefault) IsClientError ¶
func (o *PackerServiceDeleteRegistryDefault) IsClientError() bool
IsClientError returns true when this packer service delete registry default response has a 4xx status code
func (*PackerServiceDeleteRegistryDefault) IsCode ¶
func (o *PackerServiceDeleteRegistryDefault) IsCode(code int) bool
IsCode returns true when this packer service delete registry default response a status code equal to that given
func (*PackerServiceDeleteRegistryDefault) IsRedirect ¶
func (o *PackerServiceDeleteRegistryDefault) IsRedirect() bool
IsRedirect returns true when this packer service delete registry default response has a 3xx status code
func (*PackerServiceDeleteRegistryDefault) IsServerError ¶
func (o *PackerServiceDeleteRegistryDefault) IsServerError() bool
IsServerError returns true when this packer service delete registry default response has a 5xx status code
func (*PackerServiceDeleteRegistryDefault) IsSuccess ¶
func (o *PackerServiceDeleteRegistryDefault) IsSuccess() bool
IsSuccess returns true when this packer service delete registry default response has a 2xx status code
func (*PackerServiceDeleteRegistryDefault) String ¶
func (o *PackerServiceDeleteRegistryDefault) String() string
type PackerServiceDeleteRegistryOK ¶
type PackerServiceDeleteRegistryOK struct {
Payload *models.HashicorpCloudPacker20230101DeleteRegistryResponse
}
PackerServiceDeleteRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceDeleteRegistryOK ¶
func NewPackerServiceDeleteRegistryOK() *PackerServiceDeleteRegistryOK
NewPackerServiceDeleteRegistryOK creates a PackerServiceDeleteRegistryOK with default headers values
func (*PackerServiceDeleteRegistryOK) Code ¶
func (o *PackerServiceDeleteRegistryOK) Code() int
Code gets the status code for the packer service delete registry o k response
func (*PackerServiceDeleteRegistryOK) Error ¶
func (o *PackerServiceDeleteRegistryOK) Error() string
func (*PackerServiceDeleteRegistryOK) GetPayload ¶
func (o *PackerServiceDeleteRegistryOK) GetPayload() *models.HashicorpCloudPacker20230101DeleteRegistryResponse
func (*PackerServiceDeleteRegistryOK) IsClientError ¶
func (o *PackerServiceDeleteRegistryOK) IsClientError() bool
IsClientError returns true when this packer service delete registry o k response has a 4xx status code
func (*PackerServiceDeleteRegistryOK) IsCode ¶
func (o *PackerServiceDeleteRegistryOK) IsCode(code int) bool
IsCode returns true when this packer service delete registry o k response a status code equal to that given
func (*PackerServiceDeleteRegistryOK) IsRedirect ¶
func (o *PackerServiceDeleteRegistryOK) IsRedirect() bool
IsRedirect returns true when this packer service delete registry o k response has a 3xx status code
func (*PackerServiceDeleteRegistryOK) IsServerError ¶
func (o *PackerServiceDeleteRegistryOK) IsServerError() bool
IsServerError returns true when this packer service delete registry o k response has a 5xx status code
func (*PackerServiceDeleteRegistryOK) IsSuccess ¶
func (o *PackerServiceDeleteRegistryOK) IsSuccess() bool
IsSuccess returns true when this packer service delete registry o k response has a 2xx status code
func (*PackerServiceDeleteRegistryOK) String ¶
func (o *PackerServiceDeleteRegistryOK) String() string
type PackerServiceDeleteRegistryParams ¶
type PackerServiceDeleteRegistryParams struct { /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceDeleteRegistryParams contains all the parameters to send to the API endpoint
for the packer service delete registry operation. Typically these are written to a http.Request.
func NewPackerServiceDeleteRegistryParams ¶
func NewPackerServiceDeleteRegistryParams() *PackerServiceDeleteRegistryParams
NewPackerServiceDeleteRegistryParams creates a new PackerServiceDeleteRegistryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceDeleteRegistryParamsWithContext ¶
func NewPackerServiceDeleteRegistryParamsWithContext(ctx context.Context) *PackerServiceDeleteRegistryParams
NewPackerServiceDeleteRegistryParamsWithContext creates a new PackerServiceDeleteRegistryParams object with the ability to set a context for a request.
func NewPackerServiceDeleteRegistryParamsWithHTTPClient ¶
func NewPackerServiceDeleteRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteRegistryParams
NewPackerServiceDeleteRegistryParamsWithHTTPClient creates a new PackerServiceDeleteRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceDeleteRegistryParamsWithTimeout ¶
func NewPackerServiceDeleteRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteRegistryParams
NewPackerServiceDeleteRegistryParamsWithTimeout creates a new PackerServiceDeleteRegistryParams object with the ability to set a timeout on a request.
func (*PackerServiceDeleteRegistryParams) SetContext ¶
func (o *PackerServiceDeleteRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) SetDefaults ¶
func (o *PackerServiceDeleteRegistryParams) SetDefaults()
SetDefaults hydrates default values in the packer service delete registry params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceDeleteRegistryParams) SetHTTPClient ¶
func (o *PackerServiceDeleteRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) SetLocationOrganizationID ¶
func (o *PackerServiceDeleteRegistryParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) SetLocationProjectID ¶
func (o *PackerServiceDeleteRegistryParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) SetLocationRegionProvider ¶
func (o *PackerServiceDeleteRegistryParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) SetLocationRegionRegion ¶
func (o *PackerServiceDeleteRegistryParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) SetTimeout ¶
func (o *PackerServiceDeleteRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) WithContext ¶
func (o *PackerServiceDeleteRegistryParams) WithContext(ctx context.Context) *PackerServiceDeleteRegistryParams
WithContext adds the context to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) WithDefaults ¶
func (o *PackerServiceDeleteRegistryParams) WithDefaults() *PackerServiceDeleteRegistryParams
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 ¶
func (o *PackerServiceDeleteRegistryParams) WithHTTPClient(client *http.Client) *PackerServiceDeleteRegistryParams
WithHTTPClient adds the HTTPClient to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) WithLocationOrganizationID ¶
func (o *PackerServiceDeleteRegistryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteRegistryParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) WithLocationProjectID ¶
func (o *PackerServiceDeleteRegistryParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteRegistryParams
WithLocationProjectID adds the locationProjectID to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) WithLocationRegionProvider ¶
func (o *PackerServiceDeleteRegistryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteRegistryParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) WithLocationRegionRegion ¶
func (o *PackerServiceDeleteRegistryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteRegistryParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) WithTimeout ¶
func (o *PackerServiceDeleteRegistryParams) WithTimeout(timeout time.Duration) *PackerServiceDeleteRegistryParams
WithTimeout adds the timeout to the packer service delete registry params
func (*PackerServiceDeleteRegistryParams) WriteToRequest ¶
func (o *PackerServiceDeleteRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceDeleteRegistryReader ¶
type PackerServiceDeleteRegistryReader struct {
// contains filtered or unexported fields
}
PackerServiceDeleteRegistryReader is a Reader for the PackerServiceDeleteRegistry structure.
func (*PackerServiceDeleteRegistryReader) ReadResponse ¶
func (o *PackerServiceDeleteRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceDeleteVersionDefault ¶
type PackerServiceDeleteVersionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceDeleteVersionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceDeleteVersionDefault ¶
func NewPackerServiceDeleteVersionDefault(code int) *PackerServiceDeleteVersionDefault
NewPackerServiceDeleteVersionDefault creates a PackerServiceDeleteVersionDefault with default headers values
func (*PackerServiceDeleteVersionDefault) Code ¶
func (o *PackerServiceDeleteVersionDefault) Code() int
Code gets the status code for the packer service delete version default response
func (*PackerServiceDeleteVersionDefault) Error ¶
func (o *PackerServiceDeleteVersionDefault) Error() string
func (*PackerServiceDeleteVersionDefault) GetPayload ¶
func (o *PackerServiceDeleteVersionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceDeleteVersionDefault) IsClientError ¶
func (o *PackerServiceDeleteVersionDefault) IsClientError() bool
IsClientError returns true when this packer service delete version default response has a 4xx status code
func (*PackerServiceDeleteVersionDefault) IsCode ¶
func (o *PackerServiceDeleteVersionDefault) IsCode(code int) bool
IsCode returns true when this packer service delete version default response a status code equal to that given
func (*PackerServiceDeleteVersionDefault) IsRedirect ¶
func (o *PackerServiceDeleteVersionDefault) IsRedirect() bool
IsRedirect returns true when this packer service delete version default response has a 3xx status code
func (*PackerServiceDeleteVersionDefault) IsServerError ¶
func (o *PackerServiceDeleteVersionDefault) IsServerError() bool
IsServerError returns true when this packer service delete version default response has a 5xx status code
func (*PackerServiceDeleteVersionDefault) IsSuccess ¶
func (o *PackerServiceDeleteVersionDefault) IsSuccess() bool
IsSuccess returns true when this packer service delete version default response has a 2xx status code
func (*PackerServiceDeleteVersionDefault) String ¶
func (o *PackerServiceDeleteVersionDefault) String() string
type PackerServiceDeleteVersionOK ¶
type PackerServiceDeleteVersionOK struct {
Payload models.HashicorpCloudPacker20230101DeleteVersionResponse
}
PackerServiceDeleteVersionOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceDeleteVersionOK ¶
func NewPackerServiceDeleteVersionOK() *PackerServiceDeleteVersionOK
NewPackerServiceDeleteVersionOK creates a PackerServiceDeleteVersionOK with default headers values
func (*PackerServiceDeleteVersionOK) Code ¶
func (o *PackerServiceDeleteVersionOK) Code() int
Code gets the status code for the packer service delete version o k response
func (*PackerServiceDeleteVersionOK) Error ¶
func (o *PackerServiceDeleteVersionOK) Error() string
func (*PackerServiceDeleteVersionOK) GetPayload ¶
func (o *PackerServiceDeleteVersionOK) GetPayload() models.HashicorpCloudPacker20230101DeleteVersionResponse
func (*PackerServiceDeleteVersionOK) IsClientError ¶
func (o *PackerServiceDeleteVersionOK) IsClientError() bool
IsClientError returns true when this packer service delete version o k response has a 4xx status code
func (*PackerServiceDeleteVersionOK) IsCode ¶
func (o *PackerServiceDeleteVersionOK) IsCode(code int) bool
IsCode returns true when this packer service delete version o k response a status code equal to that given
func (*PackerServiceDeleteVersionOK) IsRedirect ¶
func (o *PackerServiceDeleteVersionOK) IsRedirect() bool
IsRedirect returns true when this packer service delete version o k response has a 3xx status code
func (*PackerServiceDeleteVersionOK) IsServerError ¶
func (o *PackerServiceDeleteVersionOK) IsServerError() bool
IsServerError returns true when this packer service delete version o k response has a 5xx status code
func (*PackerServiceDeleteVersionOK) IsSuccess ¶
func (o *PackerServiceDeleteVersionOK) IsSuccess() bool
IsSuccess returns true when this packer service delete version o k response has a 2xx status code
func (*PackerServiceDeleteVersionOK) String ¶
func (o *PackerServiceDeleteVersionOK) String() string
type PackerServiceDeleteVersionParams ¶
type PackerServiceDeleteVersionParams struct { // BucketName. BucketName string // Fingerprint. Fingerprint string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string /* RollbackChannels. When set to true, any user-created channels will automatically rolleback to the last valid version they were assigned to. */ RollbackChannels *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceDeleteVersionParams contains all the parameters to send to the API endpoint
for the packer service delete version operation. Typically these are written to a http.Request.
func NewPackerServiceDeleteVersionParams ¶
func NewPackerServiceDeleteVersionParams() *PackerServiceDeleteVersionParams
NewPackerServiceDeleteVersionParams creates a new PackerServiceDeleteVersionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceDeleteVersionParamsWithContext ¶
func NewPackerServiceDeleteVersionParamsWithContext(ctx context.Context) *PackerServiceDeleteVersionParams
NewPackerServiceDeleteVersionParamsWithContext creates a new PackerServiceDeleteVersionParams object with the ability to set a context for a request.
func NewPackerServiceDeleteVersionParamsWithHTTPClient ¶
func NewPackerServiceDeleteVersionParamsWithHTTPClient(client *http.Client) *PackerServiceDeleteVersionParams
NewPackerServiceDeleteVersionParamsWithHTTPClient creates a new PackerServiceDeleteVersionParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceDeleteVersionParamsWithTimeout ¶
func NewPackerServiceDeleteVersionParamsWithTimeout(timeout time.Duration) *PackerServiceDeleteVersionParams
NewPackerServiceDeleteVersionParamsWithTimeout creates a new PackerServiceDeleteVersionParams object with the ability to set a timeout on a request.
func (*PackerServiceDeleteVersionParams) SetBucketName ¶
func (o *PackerServiceDeleteVersionParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service delete version params
func (*PackerServiceDeleteVersionParams) SetContext ¶
func (o *PackerServiceDeleteVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service delete version params
func (*PackerServiceDeleteVersionParams) SetDefaults ¶
func (o *PackerServiceDeleteVersionParams) SetDefaults()
SetDefaults hydrates default values in the packer service delete version params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceDeleteVersionParams) SetFingerprint ¶
func (o *PackerServiceDeleteVersionParams) SetFingerprint(fingerprint string)
SetFingerprint adds the fingerprint to the packer service delete version params
func (*PackerServiceDeleteVersionParams) SetHTTPClient ¶
func (o *PackerServiceDeleteVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service delete version params
func (*PackerServiceDeleteVersionParams) SetLocationOrganizationID ¶
func (o *PackerServiceDeleteVersionParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service delete version params
func (*PackerServiceDeleteVersionParams) SetLocationProjectID ¶
func (o *PackerServiceDeleteVersionParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service delete version params
func (*PackerServiceDeleteVersionParams) SetLocationRegionProvider ¶
func (o *PackerServiceDeleteVersionParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service delete version params
func (*PackerServiceDeleteVersionParams) SetLocationRegionRegion ¶
func (o *PackerServiceDeleteVersionParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service delete version params
func (*PackerServiceDeleteVersionParams) SetRollbackChannels ¶
func (o *PackerServiceDeleteVersionParams) SetRollbackChannels(rollbackChannels *bool)
SetRollbackChannels adds the rollbackChannels to the packer service delete version params
func (*PackerServiceDeleteVersionParams) SetTimeout ¶
func (o *PackerServiceDeleteVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service delete version params
func (*PackerServiceDeleteVersionParams) WithBucketName ¶
func (o *PackerServiceDeleteVersionParams) WithBucketName(bucketName string) *PackerServiceDeleteVersionParams
WithBucketName adds the bucketName to the packer service delete version params
func (*PackerServiceDeleteVersionParams) WithContext ¶
func (o *PackerServiceDeleteVersionParams) WithContext(ctx context.Context) *PackerServiceDeleteVersionParams
WithContext adds the context to the packer service delete version params
func (*PackerServiceDeleteVersionParams) WithDefaults ¶
func (o *PackerServiceDeleteVersionParams) WithDefaults() *PackerServiceDeleteVersionParams
WithDefaults hydrates default values in the packer service delete version params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceDeleteVersionParams) WithFingerprint ¶
func (o *PackerServiceDeleteVersionParams) WithFingerprint(fingerprint string) *PackerServiceDeleteVersionParams
WithFingerprint adds the fingerprint to the packer service delete version params
func (*PackerServiceDeleteVersionParams) WithHTTPClient ¶
func (o *PackerServiceDeleteVersionParams) WithHTTPClient(client *http.Client) *PackerServiceDeleteVersionParams
WithHTTPClient adds the HTTPClient to the packer service delete version params
func (*PackerServiceDeleteVersionParams) WithLocationOrganizationID ¶
func (o *PackerServiceDeleteVersionParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceDeleteVersionParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service delete version params
func (*PackerServiceDeleteVersionParams) WithLocationProjectID ¶
func (o *PackerServiceDeleteVersionParams) WithLocationProjectID(locationProjectID string) *PackerServiceDeleteVersionParams
WithLocationProjectID adds the locationProjectID to the packer service delete version params
func (*PackerServiceDeleteVersionParams) WithLocationRegionProvider ¶
func (o *PackerServiceDeleteVersionParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceDeleteVersionParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service delete version params
func (*PackerServiceDeleteVersionParams) WithLocationRegionRegion ¶
func (o *PackerServiceDeleteVersionParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceDeleteVersionParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service delete version params
func (*PackerServiceDeleteVersionParams) WithRollbackChannels ¶
func (o *PackerServiceDeleteVersionParams) WithRollbackChannels(rollbackChannels *bool) *PackerServiceDeleteVersionParams
WithRollbackChannels adds the rollbackChannels to the packer service delete version params
func (*PackerServiceDeleteVersionParams) WithTimeout ¶
func (o *PackerServiceDeleteVersionParams) WithTimeout(timeout time.Duration) *PackerServiceDeleteVersionParams
WithTimeout adds the timeout to the packer service delete version params
func (*PackerServiceDeleteVersionParams) WriteToRequest ¶
func (o *PackerServiceDeleteVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceDeleteVersionReader ¶
type PackerServiceDeleteVersionReader struct {
// contains filtered or unexported fields
}
PackerServiceDeleteVersionReader is a Reader for the PackerServiceDeleteVersion structure.
func (*PackerServiceDeleteVersionReader) ReadResponse ¶
func (o *PackerServiceDeleteVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceGetBucketDefault ¶
type PackerServiceGetBucketDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceGetBucketDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceGetBucketDefault ¶
func NewPackerServiceGetBucketDefault(code int) *PackerServiceGetBucketDefault
NewPackerServiceGetBucketDefault creates a PackerServiceGetBucketDefault with default headers values
func (*PackerServiceGetBucketDefault) Code ¶
func (o *PackerServiceGetBucketDefault) Code() int
Code gets the status code for the packer service get bucket default response
func (*PackerServiceGetBucketDefault) Error ¶
func (o *PackerServiceGetBucketDefault) Error() string
func (*PackerServiceGetBucketDefault) GetPayload ¶
func (o *PackerServiceGetBucketDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceGetBucketDefault) IsClientError ¶
func (o *PackerServiceGetBucketDefault) IsClientError() bool
IsClientError returns true when this packer service get bucket default response has a 4xx status code
func (*PackerServiceGetBucketDefault) IsCode ¶
func (o *PackerServiceGetBucketDefault) IsCode(code int) bool
IsCode returns true when this packer service get bucket default response a status code equal to that given
func (*PackerServiceGetBucketDefault) IsRedirect ¶
func (o *PackerServiceGetBucketDefault) IsRedirect() bool
IsRedirect returns true when this packer service get bucket default response has a 3xx status code
func (*PackerServiceGetBucketDefault) IsServerError ¶
func (o *PackerServiceGetBucketDefault) IsServerError() bool
IsServerError returns true when this packer service get bucket default response has a 5xx status code
func (*PackerServiceGetBucketDefault) IsSuccess ¶
func (o *PackerServiceGetBucketDefault) IsSuccess() bool
IsSuccess returns true when this packer service get bucket default response has a 2xx status code
func (*PackerServiceGetBucketDefault) String ¶
func (o *PackerServiceGetBucketDefault) String() string
type PackerServiceGetBucketOK ¶
type PackerServiceGetBucketOK struct {
Payload *models.HashicorpCloudPacker20230101GetBucketResponse
}
PackerServiceGetBucketOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceGetBucketOK ¶
func NewPackerServiceGetBucketOK() *PackerServiceGetBucketOK
NewPackerServiceGetBucketOK creates a PackerServiceGetBucketOK with default headers values
func (*PackerServiceGetBucketOK) Code ¶
func (o *PackerServiceGetBucketOK) Code() int
Code gets the status code for the packer service get bucket o k response
func (*PackerServiceGetBucketOK) Error ¶
func (o *PackerServiceGetBucketOK) Error() string
func (*PackerServiceGetBucketOK) GetPayload ¶
func (o *PackerServiceGetBucketOK) GetPayload() *models.HashicorpCloudPacker20230101GetBucketResponse
func (*PackerServiceGetBucketOK) IsClientError ¶
func (o *PackerServiceGetBucketOK) IsClientError() bool
IsClientError returns true when this packer service get bucket o k response has a 4xx status code
func (*PackerServiceGetBucketOK) IsCode ¶
func (o *PackerServiceGetBucketOK) IsCode(code int) bool
IsCode returns true when this packer service get bucket o k response a status code equal to that given
func (*PackerServiceGetBucketOK) IsRedirect ¶
func (o *PackerServiceGetBucketOK) IsRedirect() bool
IsRedirect returns true when this packer service get bucket o k response has a 3xx status code
func (*PackerServiceGetBucketOK) IsServerError ¶
func (o *PackerServiceGetBucketOK) IsServerError() bool
IsServerError returns true when this packer service get bucket o k response has a 5xx status code
func (*PackerServiceGetBucketOK) IsSuccess ¶
func (o *PackerServiceGetBucketOK) IsSuccess() bool
IsSuccess returns true when this packer service get bucket o k response has a 2xx status code
func (*PackerServiceGetBucketOK) String ¶
func (o *PackerServiceGetBucketOK) String() string
type PackerServiceGetBucketParams ¶
type PackerServiceGetBucketParams struct { // BucketName. BucketName string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceGetBucketParams contains all the parameters to send to the API endpoint
for the packer service get bucket operation. Typically these are written to a http.Request.
func NewPackerServiceGetBucketParams ¶
func NewPackerServiceGetBucketParams() *PackerServiceGetBucketParams
NewPackerServiceGetBucketParams creates a new PackerServiceGetBucketParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceGetBucketParamsWithContext ¶
func NewPackerServiceGetBucketParamsWithContext(ctx context.Context) *PackerServiceGetBucketParams
NewPackerServiceGetBucketParamsWithContext creates a new PackerServiceGetBucketParams object with the ability to set a context for a request.
func NewPackerServiceGetBucketParamsWithHTTPClient ¶
func NewPackerServiceGetBucketParamsWithHTTPClient(client *http.Client) *PackerServiceGetBucketParams
NewPackerServiceGetBucketParamsWithHTTPClient creates a new PackerServiceGetBucketParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceGetBucketParamsWithTimeout ¶
func NewPackerServiceGetBucketParamsWithTimeout(timeout time.Duration) *PackerServiceGetBucketParams
NewPackerServiceGetBucketParamsWithTimeout creates a new PackerServiceGetBucketParams object with the ability to set a timeout on a request.
func (*PackerServiceGetBucketParams) SetBucketName ¶
func (o *PackerServiceGetBucketParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service get bucket params
func (*PackerServiceGetBucketParams) SetContext ¶
func (o *PackerServiceGetBucketParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service get bucket params
func (*PackerServiceGetBucketParams) SetDefaults ¶
func (o *PackerServiceGetBucketParams) SetDefaults()
SetDefaults hydrates default values in the packer service get bucket params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceGetBucketParams) SetHTTPClient ¶
func (o *PackerServiceGetBucketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service get bucket params
func (*PackerServiceGetBucketParams) SetLocationOrganizationID ¶
func (o *PackerServiceGetBucketParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service get bucket params
func (*PackerServiceGetBucketParams) SetLocationProjectID ¶
func (o *PackerServiceGetBucketParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service get bucket params
func (*PackerServiceGetBucketParams) SetLocationRegionProvider ¶
func (o *PackerServiceGetBucketParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service get bucket params
func (*PackerServiceGetBucketParams) SetLocationRegionRegion ¶
func (o *PackerServiceGetBucketParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service get bucket params
func (*PackerServiceGetBucketParams) SetTimeout ¶
func (o *PackerServiceGetBucketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service get bucket params
func (*PackerServiceGetBucketParams) WithBucketName ¶
func (o *PackerServiceGetBucketParams) WithBucketName(bucketName string) *PackerServiceGetBucketParams
WithBucketName adds the bucketName to the packer service get bucket params
func (*PackerServiceGetBucketParams) WithContext ¶
func (o *PackerServiceGetBucketParams) WithContext(ctx context.Context) *PackerServiceGetBucketParams
WithContext adds the context to the packer service get bucket params
func (*PackerServiceGetBucketParams) WithDefaults ¶
func (o *PackerServiceGetBucketParams) WithDefaults() *PackerServiceGetBucketParams
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 ¶
func (o *PackerServiceGetBucketParams) WithHTTPClient(client *http.Client) *PackerServiceGetBucketParams
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 ¶
func (o *PackerServiceGetBucketParams) WithTimeout(timeout time.Duration) *PackerServiceGetBucketParams
WithTimeout adds the timeout to the packer service get bucket params
func (*PackerServiceGetBucketParams) WriteToRequest ¶
func (o *PackerServiceGetBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PackerServiceGetBuildDefault) Code() int
Code gets the status code for the packer service get build default response
func (*PackerServiceGetBuildDefault) Error ¶
func (o *PackerServiceGetBuildDefault) Error() string
func (*PackerServiceGetBuildDefault) GetPayload ¶
func (o *PackerServiceGetBuildDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceGetBuildDefault) IsClientError ¶
func (o *PackerServiceGetBuildDefault) IsClientError() bool
IsClientError returns true when this packer service get build default response has a 4xx status code
func (*PackerServiceGetBuildDefault) IsCode ¶
func (o *PackerServiceGetBuildDefault) IsCode(code int) bool
IsCode returns true when this packer service get build default response a status code equal to that given
func (*PackerServiceGetBuildDefault) IsRedirect ¶
func (o *PackerServiceGetBuildDefault) IsRedirect() bool
IsRedirect returns true when this packer service get build default response has a 3xx status code
func (*PackerServiceGetBuildDefault) IsServerError ¶
func (o *PackerServiceGetBuildDefault) IsServerError() bool
IsServerError returns true when this packer service get build default response has a 5xx status code
func (*PackerServiceGetBuildDefault) IsSuccess ¶
func (o *PackerServiceGetBuildDefault) IsSuccess() bool
IsSuccess returns true when this packer service get build default response has a 2xx status code
func (*PackerServiceGetBuildDefault) String ¶
func (o *PackerServiceGetBuildDefault) String() string
type PackerServiceGetBuildOK ¶
type PackerServiceGetBuildOK struct {
Payload *models.HashicorpCloudPacker20230101GetBuildResponse
}
PackerServiceGetBuildOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceGetBuildOK ¶
func NewPackerServiceGetBuildOK() *PackerServiceGetBuildOK
NewPackerServiceGetBuildOK creates a PackerServiceGetBuildOK with default headers values
func (*PackerServiceGetBuildOK) Code ¶
func (o *PackerServiceGetBuildOK) Code() int
Code gets the status code for the packer service get build o k response
func (*PackerServiceGetBuildOK) Error ¶
func (o *PackerServiceGetBuildOK) Error() string
func (*PackerServiceGetBuildOK) GetPayload ¶
func (o *PackerServiceGetBuildOK) GetPayload() *models.HashicorpCloudPacker20230101GetBuildResponse
func (*PackerServiceGetBuildOK) IsClientError ¶
func (o *PackerServiceGetBuildOK) IsClientError() bool
IsClientError returns true when this packer service get build o k response has a 4xx status code
func (*PackerServiceGetBuildOK) IsCode ¶
func (o *PackerServiceGetBuildOK) IsCode(code int) bool
IsCode returns true when this packer service get build o k response a status code equal to that given
func (*PackerServiceGetBuildOK) IsRedirect ¶
func (o *PackerServiceGetBuildOK) IsRedirect() bool
IsRedirect returns true when this packer service get build o k response has a 3xx status code
func (*PackerServiceGetBuildOK) IsServerError ¶
func (o *PackerServiceGetBuildOK) IsServerError() bool
IsServerError returns true when this packer service get build o k response has a 5xx status code
func (*PackerServiceGetBuildOK) IsSuccess ¶
func (o *PackerServiceGetBuildOK) IsSuccess() bool
IsSuccess returns true when this packer service get build o k response has a 2xx status code
func (*PackerServiceGetBuildOK) String ¶
func (o *PackerServiceGetBuildOK) String() string
type PackerServiceGetBuildParams ¶
type PackerServiceGetBuildParams struct { // BucketName. BucketName string // BuildID. BuildID string // Fingerprint. Fingerprint string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceGetBuildParams contains all the parameters to send to the API endpoint
for the packer service get build operation. Typically these are written to a http.Request.
func NewPackerServiceGetBuildParams ¶
func NewPackerServiceGetBuildParams() *PackerServiceGetBuildParams
NewPackerServiceGetBuildParams creates a new PackerServiceGetBuildParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceGetBuildParamsWithContext ¶
func NewPackerServiceGetBuildParamsWithContext(ctx context.Context) *PackerServiceGetBuildParams
NewPackerServiceGetBuildParamsWithContext creates a new PackerServiceGetBuildParams object with the ability to set a context for a request.
func NewPackerServiceGetBuildParamsWithHTTPClient ¶
func NewPackerServiceGetBuildParamsWithHTTPClient(client *http.Client) *PackerServiceGetBuildParams
NewPackerServiceGetBuildParamsWithHTTPClient creates a new PackerServiceGetBuildParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceGetBuildParamsWithTimeout ¶
func NewPackerServiceGetBuildParamsWithTimeout(timeout time.Duration) *PackerServiceGetBuildParams
NewPackerServiceGetBuildParamsWithTimeout creates a new PackerServiceGetBuildParams object with the ability to set a timeout on a request.
func (*PackerServiceGetBuildParams) SetBucketName ¶
func (o *PackerServiceGetBuildParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service get build params
func (*PackerServiceGetBuildParams) SetBuildID ¶
func (o *PackerServiceGetBuildParams) SetBuildID(buildID string)
SetBuildID adds the buildId to the packer service get build params
func (*PackerServiceGetBuildParams) SetContext ¶
func (o *PackerServiceGetBuildParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service get build params
func (*PackerServiceGetBuildParams) SetDefaults ¶
func (o *PackerServiceGetBuildParams) SetDefaults()
SetDefaults hydrates default values in the packer service get build params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceGetBuildParams) SetFingerprint ¶
func (o *PackerServiceGetBuildParams) SetFingerprint(fingerprint string)
SetFingerprint adds the fingerprint to the packer service get build params
func (*PackerServiceGetBuildParams) SetHTTPClient ¶
func (o *PackerServiceGetBuildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service get build params
func (*PackerServiceGetBuildParams) SetLocationOrganizationID ¶
func (o *PackerServiceGetBuildParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service get build params
func (*PackerServiceGetBuildParams) SetLocationProjectID ¶
func (o *PackerServiceGetBuildParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service get build params
func (*PackerServiceGetBuildParams) SetLocationRegionProvider ¶
func (o *PackerServiceGetBuildParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service get build params
func (*PackerServiceGetBuildParams) SetLocationRegionRegion ¶
func (o *PackerServiceGetBuildParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service get build params
func (*PackerServiceGetBuildParams) SetTimeout ¶
func (o *PackerServiceGetBuildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service get build params
func (*PackerServiceGetBuildParams) WithBucketName ¶
func (o *PackerServiceGetBuildParams) WithBucketName(bucketName string) *PackerServiceGetBuildParams
WithBucketName adds the bucketName to the packer service get build params
func (*PackerServiceGetBuildParams) WithBuildID ¶
func (o *PackerServiceGetBuildParams) WithBuildID(buildID string) *PackerServiceGetBuildParams
WithBuildID adds the buildID to the packer service get build params
func (*PackerServiceGetBuildParams) WithContext ¶
func (o *PackerServiceGetBuildParams) WithContext(ctx context.Context) *PackerServiceGetBuildParams
WithContext adds the context to the packer service get build params
func (*PackerServiceGetBuildParams) WithDefaults ¶
func (o *PackerServiceGetBuildParams) WithDefaults() *PackerServiceGetBuildParams
WithDefaults hydrates default values in the packer service get build params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceGetBuildParams) WithFingerprint ¶
func (o *PackerServiceGetBuildParams) WithFingerprint(fingerprint string) *PackerServiceGetBuildParams
WithFingerprint adds the fingerprint to the packer service get build params
func (*PackerServiceGetBuildParams) WithHTTPClient ¶
func (o *PackerServiceGetBuildParams) WithHTTPClient(client *http.Client) *PackerServiceGetBuildParams
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 ¶
func (o *PackerServiceGetBuildParams) WithTimeout(timeout time.Duration) *PackerServiceGetBuildParams
WithTimeout adds the timeout to the packer service get build params
func (*PackerServiceGetBuildParams) WriteToRequest ¶
func (o *PackerServiceGetBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PackerServiceGetChannelDefault) Code() int
Code gets the status code for the packer service get channel default response
func (*PackerServiceGetChannelDefault) Error ¶
func (o *PackerServiceGetChannelDefault) Error() string
func (*PackerServiceGetChannelDefault) GetPayload ¶
func (o *PackerServiceGetChannelDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceGetChannelDefault) IsClientError ¶
func (o *PackerServiceGetChannelDefault) IsClientError() bool
IsClientError returns true when this packer service get channel default response has a 4xx status code
func (*PackerServiceGetChannelDefault) IsCode ¶
func (o *PackerServiceGetChannelDefault) IsCode(code int) bool
IsCode returns true when this packer service get channel default response a status code equal to that given
func (*PackerServiceGetChannelDefault) IsRedirect ¶
func (o *PackerServiceGetChannelDefault) IsRedirect() bool
IsRedirect returns true when this packer service get channel default response has a 3xx status code
func (*PackerServiceGetChannelDefault) IsServerError ¶
func (o *PackerServiceGetChannelDefault) IsServerError() bool
IsServerError returns true when this packer service get channel default response has a 5xx status code
func (*PackerServiceGetChannelDefault) IsSuccess ¶
func (o *PackerServiceGetChannelDefault) IsSuccess() bool
IsSuccess returns true when this packer service get channel default response has a 2xx status code
func (*PackerServiceGetChannelDefault) String ¶
func (o *PackerServiceGetChannelDefault) String() string
type PackerServiceGetChannelOK ¶
type PackerServiceGetChannelOK struct {
Payload *models.HashicorpCloudPacker20230101GetChannelResponse
}
PackerServiceGetChannelOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceGetChannelOK ¶
func NewPackerServiceGetChannelOK() *PackerServiceGetChannelOK
NewPackerServiceGetChannelOK creates a PackerServiceGetChannelOK with default headers values
func (*PackerServiceGetChannelOK) Code ¶
func (o *PackerServiceGetChannelOK) Code() int
Code gets the status code for the packer service get channel o k response
func (*PackerServiceGetChannelOK) Error ¶
func (o *PackerServiceGetChannelOK) Error() string
func (*PackerServiceGetChannelOK) GetPayload ¶
func (o *PackerServiceGetChannelOK) GetPayload() *models.HashicorpCloudPacker20230101GetChannelResponse
func (*PackerServiceGetChannelOK) IsClientError ¶
func (o *PackerServiceGetChannelOK) IsClientError() bool
IsClientError returns true when this packer service get channel o k response has a 4xx status code
func (*PackerServiceGetChannelOK) IsCode ¶
func (o *PackerServiceGetChannelOK) IsCode(code int) bool
IsCode returns true when this packer service get channel o k response a status code equal to that given
func (*PackerServiceGetChannelOK) IsRedirect ¶
func (o *PackerServiceGetChannelOK) IsRedirect() bool
IsRedirect returns true when this packer service get channel o k response has a 3xx status code
func (*PackerServiceGetChannelOK) IsServerError ¶
func (o *PackerServiceGetChannelOK) IsServerError() bool
IsServerError returns true when this packer service get channel o k response has a 5xx status code
func (*PackerServiceGetChannelOK) IsSuccess ¶
func (o *PackerServiceGetChannelOK) IsSuccess() bool
IsSuccess returns true when this packer service get channel o k response has a 2xx status code
func (*PackerServiceGetChannelOK) String ¶
func (o *PackerServiceGetChannelOK) String() string
type PackerServiceGetChannelParams ¶
type PackerServiceGetChannelParams struct { // BucketName. BucketName string // ChannelName. ChannelName string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceGetChannelParams contains all the parameters to send to the API endpoint
for the packer service get channel operation. Typically these are written to a http.Request.
func NewPackerServiceGetChannelParams ¶
func NewPackerServiceGetChannelParams() *PackerServiceGetChannelParams
NewPackerServiceGetChannelParams creates a new PackerServiceGetChannelParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceGetChannelParamsWithContext ¶
func NewPackerServiceGetChannelParamsWithContext(ctx context.Context) *PackerServiceGetChannelParams
NewPackerServiceGetChannelParamsWithContext creates a new PackerServiceGetChannelParams object with the ability to set a context for a request.
func NewPackerServiceGetChannelParamsWithHTTPClient ¶
func NewPackerServiceGetChannelParamsWithHTTPClient(client *http.Client) *PackerServiceGetChannelParams
NewPackerServiceGetChannelParamsWithHTTPClient creates a new PackerServiceGetChannelParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceGetChannelParamsWithTimeout ¶
func NewPackerServiceGetChannelParamsWithTimeout(timeout time.Duration) *PackerServiceGetChannelParams
NewPackerServiceGetChannelParamsWithTimeout creates a new PackerServiceGetChannelParams object with the ability to set a timeout on a request.
func (*PackerServiceGetChannelParams) SetBucketName ¶
func (o *PackerServiceGetChannelParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service get channel params
func (*PackerServiceGetChannelParams) SetChannelName ¶
func (o *PackerServiceGetChannelParams) SetChannelName(channelName string)
SetChannelName adds the channelName to the packer service get channel params
func (*PackerServiceGetChannelParams) SetContext ¶
func (o *PackerServiceGetChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service get channel params
func (*PackerServiceGetChannelParams) SetDefaults ¶
func (o *PackerServiceGetChannelParams) SetDefaults()
SetDefaults hydrates default values in the packer service get channel params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceGetChannelParams) SetHTTPClient ¶
func (o *PackerServiceGetChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service get channel params
func (*PackerServiceGetChannelParams) SetLocationOrganizationID ¶
func (o *PackerServiceGetChannelParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service get channel params
func (*PackerServiceGetChannelParams) SetLocationProjectID ¶
func (o *PackerServiceGetChannelParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service get channel params
func (*PackerServiceGetChannelParams) SetLocationRegionProvider ¶
func (o *PackerServiceGetChannelParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service get channel params
func (*PackerServiceGetChannelParams) SetLocationRegionRegion ¶
func (o *PackerServiceGetChannelParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service get channel params
func (*PackerServiceGetChannelParams) SetTimeout ¶
func (o *PackerServiceGetChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service get channel params
func (*PackerServiceGetChannelParams) WithBucketName ¶
func (o *PackerServiceGetChannelParams) WithBucketName(bucketName string) *PackerServiceGetChannelParams
WithBucketName adds the bucketName to the packer service get channel params
func (*PackerServiceGetChannelParams) WithChannelName ¶
func (o *PackerServiceGetChannelParams) WithChannelName(channelName string) *PackerServiceGetChannelParams
WithChannelName adds the channelName to the packer service get channel params
func (*PackerServiceGetChannelParams) WithContext ¶
func (o *PackerServiceGetChannelParams) WithContext(ctx context.Context) *PackerServiceGetChannelParams
WithContext adds the context to the packer service get channel params
func (*PackerServiceGetChannelParams) WithDefaults ¶
func (o *PackerServiceGetChannelParams) WithDefaults() *PackerServiceGetChannelParams
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 ¶
func (o *PackerServiceGetChannelParams) WithHTTPClient(client *http.Client) *PackerServiceGetChannelParams
WithHTTPClient adds the HTTPClient to the packer service get channel params
func (*PackerServiceGetChannelParams) WithLocationOrganizationID ¶
func (o *PackerServiceGetChannelParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetChannelParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service get channel params
func (*PackerServiceGetChannelParams) WithLocationProjectID ¶
func (o *PackerServiceGetChannelParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetChannelParams
WithLocationProjectID adds the locationProjectID to the packer service get channel params
func (*PackerServiceGetChannelParams) WithLocationRegionProvider ¶
func (o *PackerServiceGetChannelParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetChannelParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service get channel params
func (*PackerServiceGetChannelParams) WithLocationRegionRegion ¶
func (o *PackerServiceGetChannelParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetChannelParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service get channel params
func (*PackerServiceGetChannelParams) WithTimeout ¶
func (o *PackerServiceGetChannelParams) WithTimeout(timeout time.Duration) *PackerServiceGetChannelParams
WithTimeout adds the timeout to the packer service get channel params
func (*PackerServiceGetChannelParams) WriteToRequest ¶
func (o *PackerServiceGetChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceGetChannelReader ¶
type PackerServiceGetChannelReader struct {
// contains filtered or unexported fields
}
PackerServiceGetChannelReader is a Reader for the PackerServiceGetChannel structure.
func (*PackerServiceGetChannelReader) ReadResponse ¶
func (o *PackerServiceGetChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceGetRegistryDefault ¶
type PackerServiceGetRegistryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceGetRegistryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceGetRegistryDefault ¶
func NewPackerServiceGetRegistryDefault(code int) *PackerServiceGetRegistryDefault
NewPackerServiceGetRegistryDefault creates a PackerServiceGetRegistryDefault with default headers values
func (*PackerServiceGetRegistryDefault) Code ¶
func (o *PackerServiceGetRegistryDefault) Code() int
Code gets the status code for the packer service get registry default response
func (*PackerServiceGetRegistryDefault) Error ¶
func (o *PackerServiceGetRegistryDefault) Error() string
func (*PackerServiceGetRegistryDefault) GetPayload ¶
func (o *PackerServiceGetRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceGetRegistryDefault) IsClientError ¶
func (o *PackerServiceGetRegistryDefault) IsClientError() bool
IsClientError returns true when this packer service get registry default response has a 4xx status code
func (*PackerServiceGetRegistryDefault) IsCode ¶
func (o *PackerServiceGetRegistryDefault) IsCode(code int) bool
IsCode returns true when this packer service get registry default response a status code equal to that given
func (*PackerServiceGetRegistryDefault) IsRedirect ¶
func (o *PackerServiceGetRegistryDefault) IsRedirect() bool
IsRedirect returns true when this packer service get registry default response has a 3xx status code
func (*PackerServiceGetRegistryDefault) IsServerError ¶
func (o *PackerServiceGetRegistryDefault) IsServerError() bool
IsServerError returns true when this packer service get registry default response has a 5xx status code
func (*PackerServiceGetRegistryDefault) IsSuccess ¶
func (o *PackerServiceGetRegistryDefault) IsSuccess() bool
IsSuccess returns true when this packer service get registry default response has a 2xx status code
func (*PackerServiceGetRegistryDefault) String ¶
func (o *PackerServiceGetRegistryDefault) String() string
type PackerServiceGetRegistryOK ¶
type PackerServiceGetRegistryOK struct {
Payload *models.HashicorpCloudPacker20230101GetRegistryResponse
}
PackerServiceGetRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceGetRegistryOK ¶
func NewPackerServiceGetRegistryOK() *PackerServiceGetRegistryOK
NewPackerServiceGetRegistryOK creates a PackerServiceGetRegistryOK with default headers values
func (*PackerServiceGetRegistryOK) Code ¶
func (o *PackerServiceGetRegistryOK) Code() int
Code gets the status code for the packer service get registry o k response
func (*PackerServiceGetRegistryOK) Error ¶
func (o *PackerServiceGetRegistryOK) Error() string
func (*PackerServiceGetRegistryOK) GetPayload ¶
func (o *PackerServiceGetRegistryOK) GetPayload() *models.HashicorpCloudPacker20230101GetRegistryResponse
func (*PackerServiceGetRegistryOK) IsClientError ¶
func (o *PackerServiceGetRegistryOK) IsClientError() bool
IsClientError returns true when this packer service get registry o k response has a 4xx status code
func (*PackerServiceGetRegistryOK) IsCode ¶
func (o *PackerServiceGetRegistryOK) IsCode(code int) bool
IsCode returns true when this packer service get registry o k response a status code equal to that given
func (*PackerServiceGetRegistryOK) IsRedirect ¶
func (o *PackerServiceGetRegistryOK) IsRedirect() bool
IsRedirect returns true when this packer service get registry o k response has a 3xx status code
func (*PackerServiceGetRegistryOK) IsServerError ¶
func (o *PackerServiceGetRegistryOK) IsServerError() bool
IsServerError returns true when this packer service get registry o k response has a 5xx status code
func (*PackerServiceGetRegistryOK) IsSuccess ¶
func (o *PackerServiceGetRegistryOK) IsSuccess() bool
IsSuccess returns true when this packer service get registry o k response has a 2xx status code
func (*PackerServiceGetRegistryOK) String ¶
func (o *PackerServiceGetRegistryOK) String() string
type PackerServiceGetRegistryParams ¶
type PackerServiceGetRegistryParams struct { /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceGetRegistryParams contains all the parameters to send to the API endpoint
for the packer service get registry operation. Typically these are written to a http.Request.
func NewPackerServiceGetRegistryParams ¶
func NewPackerServiceGetRegistryParams() *PackerServiceGetRegistryParams
NewPackerServiceGetRegistryParams creates a new PackerServiceGetRegistryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceGetRegistryParamsWithContext ¶
func NewPackerServiceGetRegistryParamsWithContext(ctx context.Context) *PackerServiceGetRegistryParams
NewPackerServiceGetRegistryParamsWithContext creates a new PackerServiceGetRegistryParams object with the ability to set a context for a request.
func NewPackerServiceGetRegistryParamsWithHTTPClient ¶
func NewPackerServiceGetRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceGetRegistryParams
NewPackerServiceGetRegistryParamsWithHTTPClient creates a new PackerServiceGetRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceGetRegistryParamsWithTimeout ¶
func NewPackerServiceGetRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceGetRegistryParams
NewPackerServiceGetRegistryParamsWithTimeout creates a new PackerServiceGetRegistryParams object with the ability to set a timeout on a request.
func (*PackerServiceGetRegistryParams) SetContext ¶
func (o *PackerServiceGetRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service get registry params
func (*PackerServiceGetRegistryParams) SetDefaults ¶
func (o *PackerServiceGetRegistryParams) SetDefaults()
SetDefaults hydrates default values in the packer service get registry params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceGetRegistryParams) SetHTTPClient ¶
func (o *PackerServiceGetRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service get registry params
func (*PackerServiceGetRegistryParams) SetLocationOrganizationID ¶
func (o *PackerServiceGetRegistryParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service get registry params
func (*PackerServiceGetRegistryParams) SetLocationProjectID ¶
func (o *PackerServiceGetRegistryParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service get registry params
func (*PackerServiceGetRegistryParams) SetLocationRegionProvider ¶
func (o *PackerServiceGetRegistryParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service get registry params
func (*PackerServiceGetRegistryParams) SetLocationRegionRegion ¶
func (o *PackerServiceGetRegistryParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service get registry params
func (*PackerServiceGetRegistryParams) SetTimeout ¶
func (o *PackerServiceGetRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service get registry params
func (*PackerServiceGetRegistryParams) WithContext ¶
func (o *PackerServiceGetRegistryParams) WithContext(ctx context.Context) *PackerServiceGetRegistryParams
WithContext adds the context to the packer service get registry params
func (*PackerServiceGetRegistryParams) WithDefaults ¶
func (o *PackerServiceGetRegistryParams) WithDefaults() *PackerServiceGetRegistryParams
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 ¶
func (o *PackerServiceGetRegistryParams) WithHTTPClient(client *http.Client) *PackerServiceGetRegistryParams
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 ¶
func (o *PackerServiceGetRegistryParams) WithTimeout(timeout time.Duration) *PackerServiceGetRegistryParams
WithTimeout adds the timeout to the packer service get registry params
func (*PackerServiceGetRegistryParams) WriteToRequest ¶
func (o *PackerServiceGetRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) Code() int
Code gets the status code for the packer service get registry t f c run task API default response
func (*PackerServiceGetRegistryTFCRunTaskAPIDefault) Error ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) Error() string
func (*PackerServiceGetRegistryTFCRunTaskAPIDefault) GetPayload ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceGetRegistryTFCRunTaskAPIDefault) IsClientError ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) IsClientError() bool
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 ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) IsCode(code int) bool
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 ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) IsRedirect() bool
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 ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) IsServerError() bool
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 ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) IsSuccess() bool
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 ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIDefault) String() string
type PackerServiceGetRegistryTFCRunTaskAPIOK ¶
type PackerServiceGetRegistryTFCRunTaskAPIOK struct {
Payload *models.HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse
}
PackerServiceGetRegistryTFCRunTaskAPIOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceGetRegistryTFCRunTaskAPIOK ¶
func NewPackerServiceGetRegistryTFCRunTaskAPIOK() *PackerServiceGetRegistryTFCRunTaskAPIOK
NewPackerServiceGetRegistryTFCRunTaskAPIOK creates a PackerServiceGetRegistryTFCRunTaskAPIOK with default headers values
func (*PackerServiceGetRegistryTFCRunTaskAPIOK) Code ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) Code() int
Code gets the status code for the packer service get registry t f c run task Api o k response
func (*PackerServiceGetRegistryTFCRunTaskAPIOK) Error ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) Error() string
func (*PackerServiceGetRegistryTFCRunTaskAPIOK) GetPayload ¶
func (*PackerServiceGetRegistryTFCRunTaskAPIOK) IsClientError ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) IsClientError() bool
IsClientError returns true when this packer service get registry t f c run task Api o k response has a 4xx status code
func (*PackerServiceGetRegistryTFCRunTaskAPIOK) IsCode ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) IsCode(code int) bool
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 ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) IsRedirect() bool
IsRedirect returns true when this packer service get registry t f c run task Api o k response has a 3xx status code
func (*PackerServiceGetRegistryTFCRunTaskAPIOK) IsServerError ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) IsServerError() bool
IsServerError returns true when this packer service get registry t f c run task Api o k response has a 5xx status code
func (*PackerServiceGetRegistryTFCRunTaskAPIOK) IsSuccess ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) IsSuccess() bool
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 ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIOK) String() string
type PackerServiceGetRegistryTFCRunTaskAPIParams ¶
type PackerServiceGetRegistryTFCRunTaskAPIParams struct { /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string /* TaskType. The HCP Packer Terraform Cloud run task type. Currently, the only existing type is `validation`. */ TaskType string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceGetRegistryTFCRunTaskAPIParams contains all the parameters to send to the API endpoint
for the packer service get registry t f c run task API operation. Typically these are written to a http.Request.
func NewPackerServiceGetRegistryTFCRunTaskAPIParams ¶
func NewPackerServiceGetRegistryTFCRunTaskAPIParams() *PackerServiceGetRegistryTFCRunTaskAPIParams
NewPackerServiceGetRegistryTFCRunTaskAPIParams creates a new PackerServiceGetRegistryTFCRunTaskAPIParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithContext ¶
func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithContext(ctx context.Context) *PackerServiceGetRegistryTFCRunTaskAPIParams
NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithContext creates a new PackerServiceGetRegistryTFCRunTaskAPIParams object with the ability to set a context for a request.
func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithHTTPClient ¶
func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithHTTPClient(client *http.Client) *PackerServiceGetRegistryTFCRunTaskAPIParams
NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithHTTPClient creates a new PackerServiceGetRegistryTFCRunTaskAPIParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithTimeout ¶
func NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithTimeout(timeout time.Duration) *PackerServiceGetRegistryTFCRunTaskAPIParams
NewPackerServiceGetRegistryTFCRunTaskAPIParamsWithTimeout creates a new PackerServiceGetRegistryTFCRunTaskAPIParams object with the ability to set a timeout on a request.
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetContext ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service get registry t f c run task API params
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetDefaults ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetDefaults()
SetDefaults hydrates default values in the packer service get registry t f c run task API params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetHTTPClient ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service get registry t f c run task API params
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationOrganizationID ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service get registry t f c run task API params
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationProjectID ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service get registry t f c run task API params
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationRegionProvider ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service get registry t f c run task API params
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationRegionRegion ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service get registry t f c run task API params
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetTaskType ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetTaskType(taskType string)
SetTaskType adds the taskType to the packer service get registry t f c run task API params
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) SetTimeout ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service get registry t f c run task API params
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WithContext ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithContext(ctx context.Context) *PackerServiceGetRegistryTFCRunTaskAPIParams
WithContext adds the context to the packer service get registry t f c run task API params
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WithDefaults ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithDefaults() *PackerServiceGetRegistryTFCRunTaskAPIParams
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 ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithHTTPClient(client *http.Client) *PackerServiceGetRegistryTFCRunTaskAPIParams
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 ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetRegistryTFCRunTaskAPIParams
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 ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithTaskType(taskType string) *PackerServiceGetRegistryTFCRunTaskAPIParams
WithTaskType adds the taskType to the packer service get registry t f c run task API params
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WithTimeout ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WithTimeout(timeout time.Duration) *PackerServiceGetRegistryTFCRunTaskAPIParams
WithTimeout adds the timeout to the packer service get registry t f c run task API params
func (*PackerServiceGetRegistryTFCRunTaskAPIParams) WriteToRequest ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceGetRegistryTFCRunTaskAPIReader ¶
type PackerServiceGetRegistryTFCRunTaskAPIReader struct {
// contains filtered or unexported fields
}
PackerServiceGetRegistryTFCRunTaskAPIReader is a Reader for the PackerServiceGetRegistryTFCRunTaskAPI structure.
func (*PackerServiceGetRegistryTFCRunTaskAPIReader) ReadResponse ¶
func (o *PackerServiceGetRegistryTFCRunTaskAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceGetVersionDefault ¶
type PackerServiceGetVersionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceGetVersionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceGetVersionDefault ¶
func NewPackerServiceGetVersionDefault(code int) *PackerServiceGetVersionDefault
NewPackerServiceGetVersionDefault creates a PackerServiceGetVersionDefault with default headers values
func (*PackerServiceGetVersionDefault) Code ¶
func (o *PackerServiceGetVersionDefault) Code() int
Code gets the status code for the packer service get version default response
func (*PackerServiceGetVersionDefault) Error ¶
func (o *PackerServiceGetVersionDefault) Error() string
func (*PackerServiceGetVersionDefault) GetPayload ¶
func (o *PackerServiceGetVersionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceGetVersionDefault) IsClientError ¶
func (o *PackerServiceGetVersionDefault) IsClientError() bool
IsClientError returns true when this packer service get version default response has a 4xx status code
func (*PackerServiceGetVersionDefault) IsCode ¶
func (o *PackerServiceGetVersionDefault) IsCode(code int) bool
IsCode returns true when this packer service get version default response a status code equal to that given
func (*PackerServiceGetVersionDefault) IsRedirect ¶
func (o *PackerServiceGetVersionDefault) IsRedirect() bool
IsRedirect returns true when this packer service get version default response has a 3xx status code
func (*PackerServiceGetVersionDefault) IsServerError ¶
func (o *PackerServiceGetVersionDefault) IsServerError() bool
IsServerError returns true when this packer service get version default response has a 5xx status code
func (*PackerServiceGetVersionDefault) IsSuccess ¶
func (o *PackerServiceGetVersionDefault) IsSuccess() bool
IsSuccess returns true when this packer service get version default response has a 2xx status code
func (*PackerServiceGetVersionDefault) String ¶
func (o *PackerServiceGetVersionDefault) String() string
type PackerServiceGetVersionOK ¶
type PackerServiceGetVersionOK struct {
Payload *models.HashicorpCloudPacker20230101GetVersionResponse
}
PackerServiceGetVersionOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceGetVersionOK ¶
func NewPackerServiceGetVersionOK() *PackerServiceGetVersionOK
NewPackerServiceGetVersionOK creates a PackerServiceGetVersionOK with default headers values
func (*PackerServiceGetVersionOK) Code ¶
func (o *PackerServiceGetVersionOK) Code() int
Code gets the status code for the packer service get version o k response
func (*PackerServiceGetVersionOK) Error ¶
func (o *PackerServiceGetVersionOK) Error() string
func (*PackerServiceGetVersionOK) GetPayload ¶
func (o *PackerServiceGetVersionOK) GetPayload() *models.HashicorpCloudPacker20230101GetVersionResponse
func (*PackerServiceGetVersionOK) IsClientError ¶
func (o *PackerServiceGetVersionOK) IsClientError() bool
IsClientError returns true when this packer service get version o k response has a 4xx status code
func (*PackerServiceGetVersionOK) IsCode ¶
func (o *PackerServiceGetVersionOK) IsCode(code int) bool
IsCode returns true when this packer service get version o k response a status code equal to that given
func (*PackerServiceGetVersionOK) IsRedirect ¶
func (o *PackerServiceGetVersionOK) IsRedirect() bool
IsRedirect returns true when this packer service get version o k response has a 3xx status code
func (*PackerServiceGetVersionOK) IsServerError ¶
func (o *PackerServiceGetVersionOK) IsServerError() bool
IsServerError returns true when this packer service get version o k response has a 5xx status code
func (*PackerServiceGetVersionOK) IsSuccess ¶
func (o *PackerServiceGetVersionOK) IsSuccess() bool
IsSuccess returns true when this packer service get version o k response has a 2xx status code
func (*PackerServiceGetVersionOK) String ¶
func (o *PackerServiceGetVersionOK) String() string
type PackerServiceGetVersionParams ¶
type PackerServiceGetVersionParams struct { // BucketName. BucketName string // Fingerprint. Fingerprint string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceGetVersionParams contains all the parameters to send to the API endpoint
for the packer service get version operation. Typically these are written to a http.Request.
func NewPackerServiceGetVersionParams ¶
func NewPackerServiceGetVersionParams() *PackerServiceGetVersionParams
NewPackerServiceGetVersionParams creates a new PackerServiceGetVersionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceGetVersionParamsWithContext ¶
func NewPackerServiceGetVersionParamsWithContext(ctx context.Context) *PackerServiceGetVersionParams
NewPackerServiceGetVersionParamsWithContext creates a new PackerServiceGetVersionParams object with the ability to set a context for a request.
func NewPackerServiceGetVersionParamsWithHTTPClient ¶
func NewPackerServiceGetVersionParamsWithHTTPClient(client *http.Client) *PackerServiceGetVersionParams
NewPackerServiceGetVersionParamsWithHTTPClient creates a new PackerServiceGetVersionParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceGetVersionParamsWithTimeout ¶
func NewPackerServiceGetVersionParamsWithTimeout(timeout time.Duration) *PackerServiceGetVersionParams
NewPackerServiceGetVersionParamsWithTimeout creates a new PackerServiceGetVersionParams object with the ability to set a timeout on a request.
func (*PackerServiceGetVersionParams) SetBucketName ¶
func (o *PackerServiceGetVersionParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service get version params
func (*PackerServiceGetVersionParams) SetContext ¶
func (o *PackerServiceGetVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service get version params
func (*PackerServiceGetVersionParams) SetDefaults ¶
func (o *PackerServiceGetVersionParams) SetDefaults()
SetDefaults hydrates default values in the packer service get version params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceGetVersionParams) SetFingerprint ¶
func (o *PackerServiceGetVersionParams) SetFingerprint(fingerprint string)
SetFingerprint adds the fingerprint to the packer service get version params
func (*PackerServiceGetVersionParams) SetHTTPClient ¶
func (o *PackerServiceGetVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service get version params
func (*PackerServiceGetVersionParams) SetLocationOrganizationID ¶
func (o *PackerServiceGetVersionParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service get version params
func (*PackerServiceGetVersionParams) SetLocationProjectID ¶
func (o *PackerServiceGetVersionParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service get version params
func (*PackerServiceGetVersionParams) SetLocationRegionProvider ¶
func (o *PackerServiceGetVersionParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service get version params
func (*PackerServiceGetVersionParams) SetLocationRegionRegion ¶
func (o *PackerServiceGetVersionParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service get version params
func (*PackerServiceGetVersionParams) SetTimeout ¶
func (o *PackerServiceGetVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service get version params
func (*PackerServiceGetVersionParams) WithBucketName ¶
func (o *PackerServiceGetVersionParams) WithBucketName(bucketName string) *PackerServiceGetVersionParams
WithBucketName adds the bucketName to the packer service get version params
func (*PackerServiceGetVersionParams) WithContext ¶
func (o *PackerServiceGetVersionParams) WithContext(ctx context.Context) *PackerServiceGetVersionParams
WithContext adds the context to the packer service get version params
func (*PackerServiceGetVersionParams) WithDefaults ¶
func (o *PackerServiceGetVersionParams) WithDefaults() *PackerServiceGetVersionParams
WithDefaults hydrates default values in the packer service get version params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceGetVersionParams) WithFingerprint ¶
func (o *PackerServiceGetVersionParams) WithFingerprint(fingerprint string) *PackerServiceGetVersionParams
WithFingerprint adds the fingerprint to the packer service get version params
func (*PackerServiceGetVersionParams) WithHTTPClient ¶
func (o *PackerServiceGetVersionParams) WithHTTPClient(client *http.Client) *PackerServiceGetVersionParams
WithHTTPClient adds the HTTPClient to the packer service get version params
func (*PackerServiceGetVersionParams) WithLocationOrganizationID ¶
func (o *PackerServiceGetVersionParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceGetVersionParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service get version params
func (*PackerServiceGetVersionParams) WithLocationProjectID ¶
func (o *PackerServiceGetVersionParams) WithLocationProjectID(locationProjectID string) *PackerServiceGetVersionParams
WithLocationProjectID adds the locationProjectID to the packer service get version params
func (*PackerServiceGetVersionParams) WithLocationRegionProvider ¶
func (o *PackerServiceGetVersionParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceGetVersionParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service get version params
func (*PackerServiceGetVersionParams) WithLocationRegionRegion ¶
func (o *PackerServiceGetVersionParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceGetVersionParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service get version params
func (*PackerServiceGetVersionParams) WithTimeout ¶
func (o *PackerServiceGetVersionParams) WithTimeout(timeout time.Duration) *PackerServiceGetVersionParams
WithTimeout adds the timeout to the packer service get version params
func (*PackerServiceGetVersionParams) WriteToRequest ¶
func (o *PackerServiceGetVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceGetVersionReader ¶
type PackerServiceGetVersionReader struct {
// contains filtered or unexported fields
}
PackerServiceGetVersionReader is a Reader for the PackerServiceGetVersion structure.
func (*PackerServiceGetVersionReader) ReadResponse ¶
func (o *PackerServiceGetVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceListBucketAncestryDefault ¶
type PackerServiceListBucketAncestryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceListBucketAncestryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceListBucketAncestryDefault ¶
func NewPackerServiceListBucketAncestryDefault(code int) *PackerServiceListBucketAncestryDefault
NewPackerServiceListBucketAncestryDefault creates a PackerServiceListBucketAncestryDefault with default headers values
func (*PackerServiceListBucketAncestryDefault) Code ¶
func (o *PackerServiceListBucketAncestryDefault) Code() int
Code gets the status code for the packer service list bucket ancestry default response
func (*PackerServiceListBucketAncestryDefault) Error ¶
func (o *PackerServiceListBucketAncestryDefault) Error() string
func (*PackerServiceListBucketAncestryDefault) GetPayload ¶
func (o *PackerServiceListBucketAncestryDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceListBucketAncestryDefault) IsClientError ¶
func (o *PackerServiceListBucketAncestryDefault) IsClientError() bool
IsClientError returns true when this packer service list bucket ancestry default response has a 4xx status code
func (*PackerServiceListBucketAncestryDefault) IsCode ¶
func (o *PackerServiceListBucketAncestryDefault) IsCode(code int) bool
IsCode returns true when this packer service list bucket ancestry default response a status code equal to that given
func (*PackerServiceListBucketAncestryDefault) IsRedirect ¶
func (o *PackerServiceListBucketAncestryDefault) IsRedirect() bool
IsRedirect returns true when this packer service list bucket ancestry default response has a 3xx status code
func (*PackerServiceListBucketAncestryDefault) IsServerError ¶
func (o *PackerServiceListBucketAncestryDefault) IsServerError() bool
IsServerError returns true when this packer service list bucket ancestry default response has a 5xx status code
func (*PackerServiceListBucketAncestryDefault) IsSuccess ¶
func (o *PackerServiceListBucketAncestryDefault) IsSuccess() bool
IsSuccess returns true when this packer service list bucket ancestry default response has a 2xx status code
func (*PackerServiceListBucketAncestryDefault) String ¶
func (o *PackerServiceListBucketAncestryDefault) String() string
type PackerServiceListBucketAncestryOK ¶
type PackerServiceListBucketAncestryOK struct {
Payload *models.HashicorpCloudPacker20230101ListBucketAncestryResponse
}
PackerServiceListBucketAncestryOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceListBucketAncestryOK ¶
func NewPackerServiceListBucketAncestryOK() *PackerServiceListBucketAncestryOK
NewPackerServiceListBucketAncestryOK creates a PackerServiceListBucketAncestryOK with default headers values
func (*PackerServiceListBucketAncestryOK) Code ¶
func (o *PackerServiceListBucketAncestryOK) Code() int
Code gets the status code for the packer service list bucket ancestry o k response
func (*PackerServiceListBucketAncestryOK) Error ¶
func (o *PackerServiceListBucketAncestryOK) Error() string
func (*PackerServiceListBucketAncestryOK) GetPayload ¶
func (o *PackerServiceListBucketAncestryOK) GetPayload() *models.HashicorpCloudPacker20230101ListBucketAncestryResponse
func (*PackerServiceListBucketAncestryOK) IsClientError ¶
func (o *PackerServiceListBucketAncestryOK) IsClientError() bool
IsClientError returns true when this packer service list bucket ancestry o k response has a 4xx status code
func (*PackerServiceListBucketAncestryOK) IsCode ¶
func (o *PackerServiceListBucketAncestryOK) IsCode(code int) bool
IsCode returns true when this packer service list bucket ancestry o k response a status code equal to that given
func (*PackerServiceListBucketAncestryOK) IsRedirect ¶
func (o *PackerServiceListBucketAncestryOK) IsRedirect() bool
IsRedirect returns true when this packer service list bucket ancestry o k response has a 3xx status code
func (*PackerServiceListBucketAncestryOK) IsServerError ¶
func (o *PackerServiceListBucketAncestryOK) IsServerError() bool
IsServerError returns true when this packer service list bucket ancestry o k response has a 5xx status code
func (*PackerServiceListBucketAncestryOK) IsSuccess ¶
func (o *PackerServiceListBucketAncestryOK) IsSuccess() bool
IsSuccess returns true when this packer service list bucket ancestry o k response has a 2xx status code
func (*PackerServiceListBucketAncestryOK) String ¶
func (o *PackerServiceListBucketAncestryOK) String() string
type PackerServiceListBucketAncestryParams ¶
type PackerServiceListBucketAncestryParams struct { // BucketName. BucketName string /* ChannelName. An artifact channel in the artifact bucket associated with the request. This property filters the results to children whose parent version was assigned to this channel when the children were built. If not specified, the endpoint returns all children built from any version in this artifact bucket. */ ChannelName *string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string /* Type. The type of ancestry relations to list. Type 'parents' lists all the direct source artifacts for this artifact bucket. Type 'children' lists all of the child artifacts built directly from this artifact bucket. If unset, defaults to listing both parent and child relationships for the artifact bucket. Default: "ANCESTRY_TYPE_UNSET" */ Type *string /* VersionFingerprint. Fingerprint of a version that HCP Packer uses to list that version's parents. All parents are the parent artifacts Packer used to build this version. If not specified, the endpoint returns the parents of the artifact bucket's latest version. */ VersionFingerprint *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceListBucketAncestryParams contains all the parameters to send to the API endpoint
for the packer service list bucket ancestry operation. Typically these are written to a http.Request.
func NewPackerServiceListBucketAncestryParams ¶
func NewPackerServiceListBucketAncestryParams() *PackerServiceListBucketAncestryParams
NewPackerServiceListBucketAncestryParams creates a new PackerServiceListBucketAncestryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceListBucketAncestryParamsWithContext ¶
func NewPackerServiceListBucketAncestryParamsWithContext(ctx context.Context) *PackerServiceListBucketAncestryParams
NewPackerServiceListBucketAncestryParamsWithContext creates a new PackerServiceListBucketAncestryParams object with the ability to set a context for a request.
func NewPackerServiceListBucketAncestryParamsWithHTTPClient ¶
func NewPackerServiceListBucketAncestryParamsWithHTTPClient(client *http.Client) *PackerServiceListBucketAncestryParams
NewPackerServiceListBucketAncestryParamsWithHTTPClient creates a new PackerServiceListBucketAncestryParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceListBucketAncestryParamsWithTimeout ¶
func NewPackerServiceListBucketAncestryParamsWithTimeout(timeout time.Duration) *PackerServiceListBucketAncestryParams
NewPackerServiceListBucketAncestryParamsWithTimeout creates a new PackerServiceListBucketAncestryParams object with the ability to set a timeout on a request.
func (*PackerServiceListBucketAncestryParams) SetBucketName ¶
func (o *PackerServiceListBucketAncestryParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetChannelName ¶
func (o *PackerServiceListBucketAncestryParams) SetChannelName(channelName *string)
SetChannelName adds the channelName to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetContext ¶
func (o *PackerServiceListBucketAncestryParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetDefaults ¶
func (o *PackerServiceListBucketAncestryParams) SetDefaults()
SetDefaults hydrates default values in the packer service list bucket ancestry params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceListBucketAncestryParams) SetHTTPClient ¶
func (o *PackerServiceListBucketAncestryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetLocationOrganizationID ¶
func (o *PackerServiceListBucketAncestryParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetLocationProjectID ¶
func (o *PackerServiceListBucketAncestryParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetLocationRegionProvider ¶
func (o *PackerServiceListBucketAncestryParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetLocationRegionRegion ¶
func (o *PackerServiceListBucketAncestryParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetPaginationNextPageToken ¶
func (o *PackerServiceListBucketAncestryParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetPaginationPageSize ¶
func (o *PackerServiceListBucketAncestryParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetPaginationPreviousPageToken ¶
func (o *PackerServiceListBucketAncestryParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetTimeout ¶
func (o *PackerServiceListBucketAncestryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetType ¶
func (o *PackerServiceListBucketAncestryParams) SetType(typeVar *string)
SetType adds the type to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) SetVersionFingerprint ¶
func (o *PackerServiceListBucketAncestryParams) SetVersionFingerprint(versionFingerprint *string)
SetVersionFingerprint adds the versionFingerprint to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithBucketName ¶
func (o *PackerServiceListBucketAncestryParams) WithBucketName(bucketName string) *PackerServiceListBucketAncestryParams
WithBucketName adds the bucketName to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithChannelName ¶
func (o *PackerServiceListBucketAncestryParams) WithChannelName(channelName *string) *PackerServiceListBucketAncestryParams
WithChannelName adds the channelName to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithContext ¶
func (o *PackerServiceListBucketAncestryParams) WithContext(ctx context.Context) *PackerServiceListBucketAncestryParams
WithContext adds the context to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithDefaults ¶
func (o *PackerServiceListBucketAncestryParams) WithDefaults() *PackerServiceListBucketAncestryParams
WithDefaults hydrates default values in the packer service list bucket ancestry params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceListBucketAncestryParams) WithHTTPClient ¶
func (o *PackerServiceListBucketAncestryParams) WithHTTPClient(client *http.Client) *PackerServiceListBucketAncestryParams
WithHTTPClient adds the HTTPClient to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithLocationOrganizationID ¶
func (o *PackerServiceListBucketAncestryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListBucketAncestryParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithLocationProjectID ¶
func (o *PackerServiceListBucketAncestryParams) WithLocationProjectID(locationProjectID string) *PackerServiceListBucketAncestryParams
WithLocationProjectID adds the locationProjectID to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithLocationRegionProvider ¶
func (o *PackerServiceListBucketAncestryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListBucketAncestryParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithLocationRegionRegion ¶
func (o *PackerServiceListBucketAncestryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListBucketAncestryParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithPaginationNextPageToken ¶
func (o *PackerServiceListBucketAncestryParams) WithPaginationNextPageToken(paginationNextPageToken *string) *PackerServiceListBucketAncestryParams
WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithPaginationPageSize ¶
func (o *PackerServiceListBucketAncestryParams) WithPaginationPageSize(paginationPageSize *int64) *PackerServiceListBucketAncestryParams
WithPaginationPageSize adds the paginationPageSize to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithPaginationPreviousPageToken ¶
func (o *PackerServiceListBucketAncestryParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *PackerServiceListBucketAncestryParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithTimeout ¶
func (o *PackerServiceListBucketAncestryParams) WithTimeout(timeout time.Duration) *PackerServiceListBucketAncestryParams
WithTimeout adds the timeout to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithType ¶
func (o *PackerServiceListBucketAncestryParams) WithType(typeVar *string) *PackerServiceListBucketAncestryParams
WithType adds the typeVar to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WithVersionFingerprint ¶
func (o *PackerServiceListBucketAncestryParams) WithVersionFingerprint(versionFingerprint *string) *PackerServiceListBucketAncestryParams
WithVersionFingerprint adds the versionFingerprint to the packer service list bucket ancestry params
func (*PackerServiceListBucketAncestryParams) WriteToRequest ¶
func (o *PackerServiceListBucketAncestryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceListBucketAncestryReader ¶
type PackerServiceListBucketAncestryReader struct {
// contains filtered or unexported fields
}
PackerServiceListBucketAncestryReader is a Reader for the PackerServiceListBucketAncestry structure.
func (*PackerServiceListBucketAncestryReader) ReadResponse ¶
func (o *PackerServiceListBucketAncestryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceListBucketsDefault ¶
type PackerServiceListBucketsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceListBucketsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceListBucketsDefault ¶
func NewPackerServiceListBucketsDefault(code int) *PackerServiceListBucketsDefault
NewPackerServiceListBucketsDefault creates a PackerServiceListBucketsDefault with default headers values
func (*PackerServiceListBucketsDefault) Code ¶
func (o *PackerServiceListBucketsDefault) Code() int
Code gets the status code for the packer service list buckets default response
func (*PackerServiceListBucketsDefault) Error ¶
func (o *PackerServiceListBucketsDefault) Error() string
func (*PackerServiceListBucketsDefault) GetPayload ¶
func (o *PackerServiceListBucketsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceListBucketsDefault) IsClientError ¶
func (o *PackerServiceListBucketsDefault) IsClientError() bool
IsClientError returns true when this packer service list buckets default response has a 4xx status code
func (*PackerServiceListBucketsDefault) IsCode ¶
func (o *PackerServiceListBucketsDefault) IsCode(code int) bool
IsCode returns true when this packer service list buckets default response a status code equal to that given
func (*PackerServiceListBucketsDefault) IsRedirect ¶
func (o *PackerServiceListBucketsDefault) IsRedirect() bool
IsRedirect returns true when this packer service list buckets default response has a 3xx status code
func (*PackerServiceListBucketsDefault) IsServerError ¶
func (o *PackerServiceListBucketsDefault) IsServerError() bool
IsServerError returns true when this packer service list buckets default response has a 5xx status code
func (*PackerServiceListBucketsDefault) IsSuccess ¶
func (o *PackerServiceListBucketsDefault) IsSuccess() bool
IsSuccess returns true when this packer service list buckets default response has a 2xx status code
func (*PackerServiceListBucketsDefault) String ¶
func (o *PackerServiceListBucketsDefault) String() string
type PackerServiceListBucketsOK ¶
type PackerServiceListBucketsOK struct {
Payload *models.HashicorpCloudPacker20230101ListBucketsResponse
}
PackerServiceListBucketsOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceListBucketsOK ¶
func NewPackerServiceListBucketsOK() *PackerServiceListBucketsOK
NewPackerServiceListBucketsOK creates a PackerServiceListBucketsOK with default headers values
func (*PackerServiceListBucketsOK) Code ¶
func (o *PackerServiceListBucketsOK) Code() int
Code gets the status code for the packer service list buckets o k response
func (*PackerServiceListBucketsOK) Error ¶
func (o *PackerServiceListBucketsOK) Error() string
func (*PackerServiceListBucketsOK) GetPayload ¶
func (o *PackerServiceListBucketsOK) GetPayload() *models.HashicorpCloudPacker20230101ListBucketsResponse
func (*PackerServiceListBucketsOK) IsClientError ¶
func (o *PackerServiceListBucketsOK) IsClientError() bool
IsClientError returns true when this packer service list buckets o k response has a 4xx status code
func (*PackerServiceListBucketsOK) IsCode ¶
func (o *PackerServiceListBucketsOK) IsCode(code int) bool
IsCode returns true when this packer service list buckets o k response a status code equal to that given
func (*PackerServiceListBucketsOK) IsRedirect ¶
func (o *PackerServiceListBucketsOK) IsRedirect() bool
IsRedirect returns true when this packer service list buckets o k response has a 3xx status code
func (*PackerServiceListBucketsOK) IsServerError ¶
func (o *PackerServiceListBucketsOK) IsServerError() bool
IsServerError returns true when this packer service list buckets o k response has a 5xx status code
func (*PackerServiceListBucketsOK) IsSuccess ¶
func (o *PackerServiceListBucketsOK) IsSuccess() bool
IsSuccess returns true when this packer service list buckets o k response has a 2xx status code
func (*PackerServiceListBucketsOK) String ¶
func (o *PackerServiceListBucketsOK) String() string
type PackerServiceListBucketsParams ¶
type PackerServiceListBucketsParams struct { /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string /* SortingOrderBy. Specifies the list of per field ordering that should be used for sorting. The order matters as rows are sorted in order by fields and when the field matches, the next field is used to tie break the ordering. The per field default ordering is ascending. The fields should be immutabile, unique, and orderable. If the field is not unique, more than one sort fields should be passed. Example: oder_by=name,age desc,created_at asc In that case, 'name' will get the default 'ascending' order. */ SortingOrderBy []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceListBucketsParams contains all the parameters to send to the API endpoint
for the packer service list buckets operation. Typically these are written to a http.Request.
func NewPackerServiceListBucketsParams ¶
func NewPackerServiceListBucketsParams() *PackerServiceListBucketsParams
NewPackerServiceListBucketsParams creates a new PackerServiceListBucketsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceListBucketsParamsWithContext ¶
func NewPackerServiceListBucketsParamsWithContext(ctx context.Context) *PackerServiceListBucketsParams
NewPackerServiceListBucketsParamsWithContext creates a new PackerServiceListBucketsParams object with the ability to set a context for a request.
func NewPackerServiceListBucketsParamsWithHTTPClient ¶
func NewPackerServiceListBucketsParamsWithHTTPClient(client *http.Client) *PackerServiceListBucketsParams
NewPackerServiceListBucketsParamsWithHTTPClient creates a new PackerServiceListBucketsParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceListBucketsParamsWithTimeout ¶
func NewPackerServiceListBucketsParamsWithTimeout(timeout time.Duration) *PackerServiceListBucketsParams
NewPackerServiceListBucketsParamsWithTimeout creates a new PackerServiceListBucketsParams object with the ability to set a timeout on a request.
func (*PackerServiceListBucketsParams) SetContext ¶
func (o *PackerServiceListBucketsParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service list buckets params
func (*PackerServiceListBucketsParams) SetDefaults ¶
func (o *PackerServiceListBucketsParams) SetDefaults()
SetDefaults hydrates default values in the packer service list buckets params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceListBucketsParams) SetHTTPClient ¶
func (o *PackerServiceListBucketsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service list buckets params
func (*PackerServiceListBucketsParams) SetLocationOrganizationID ¶
func (o *PackerServiceListBucketsParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service list buckets params
func (*PackerServiceListBucketsParams) SetLocationProjectID ¶
func (o *PackerServiceListBucketsParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service list buckets params
func (*PackerServiceListBucketsParams) SetLocationRegionProvider ¶
func (o *PackerServiceListBucketsParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service list buckets params
func (*PackerServiceListBucketsParams) SetLocationRegionRegion ¶
func (o *PackerServiceListBucketsParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service list buckets params
func (*PackerServiceListBucketsParams) SetPaginationNextPageToken ¶
func (o *PackerServiceListBucketsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list buckets params
func (*PackerServiceListBucketsParams) SetPaginationPageSize ¶
func (o *PackerServiceListBucketsParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the packer service list buckets params
func (*PackerServiceListBucketsParams) SetPaginationPreviousPageToken ¶
func (o *PackerServiceListBucketsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list buckets params
func (*PackerServiceListBucketsParams) SetSortingOrderBy ¶
func (o *PackerServiceListBucketsParams) SetSortingOrderBy(sortingOrderBy []string)
SetSortingOrderBy adds the sortingOrderBy to the packer service list buckets params
func (*PackerServiceListBucketsParams) SetTimeout ¶
func (o *PackerServiceListBucketsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service list buckets params
func (*PackerServiceListBucketsParams) WithContext ¶
func (o *PackerServiceListBucketsParams) WithContext(ctx context.Context) *PackerServiceListBucketsParams
WithContext adds the context to the packer service list buckets params
func (*PackerServiceListBucketsParams) WithDefaults ¶
func (o *PackerServiceListBucketsParams) WithDefaults() *PackerServiceListBucketsParams
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 ¶
func (o *PackerServiceListBucketsParams) WithHTTPClient(client *http.Client) *PackerServiceListBucketsParams
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 ¶
func (o *PackerServiceListBucketsParams) WithTimeout(timeout time.Duration) *PackerServiceListBucketsParams
WithTimeout adds the timeout to the packer service list buckets params
func (*PackerServiceListBucketsParams) WriteToRequest ¶
func (o *PackerServiceListBucketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PackerServiceListBuildsDefault) Code() int
Code gets the status code for the packer service list builds default response
func (*PackerServiceListBuildsDefault) Error ¶
func (o *PackerServiceListBuildsDefault) Error() string
func (*PackerServiceListBuildsDefault) GetPayload ¶
func (o *PackerServiceListBuildsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceListBuildsDefault) IsClientError ¶
func (o *PackerServiceListBuildsDefault) IsClientError() bool
IsClientError returns true when this packer service list builds default response has a 4xx status code
func (*PackerServiceListBuildsDefault) IsCode ¶
func (o *PackerServiceListBuildsDefault) IsCode(code int) bool
IsCode returns true when this packer service list builds default response a status code equal to that given
func (*PackerServiceListBuildsDefault) IsRedirect ¶
func (o *PackerServiceListBuildsDefault) IsRedirect() bool
IsRedirect returns true when this packer service list builds default response has a 3xx status code
func (*PackerServiceListBuildsDefault) IsServerError ¶
func (o *PackerServiceListBuildsDefault) IsServerError() bool
IsServerError returns true when this packer service list builds default response has a 5xx status code
func (*PackerServiceListBuildsDefault) IsSuccess ¶
func (o *PackerServiceListBuildsDefault) IsSuccess() bool
IsSuccess returns true when this packer service list builds default response has a 2xx status code
func (*PackerServiceListBuildsDefault) String ¶
func (o *PackerServiceListBuildsDefault) String() string
type PackerServiceListBuildsOK ¶
type PackerServiceListBuildsOK struct {
Payload *models.HashicorpCloudPacker20230101ListBuildsResponse
}
PackerServiceListBuildsOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceListBuildsOK ¶
func NewPackerServiceListBuildsOK() *PackerServiceListBuildsOK
NewPackerServiceListBuildsOK creates a PackerServiceListBuildsOK with default headers values
func (*PackerServiceListBuildsOK) Code ¶
func (o *PackerServiceListBuildsOK) Code() int
Code gets the status code for the packer service list builds o k response
func (*PackerServiceListBuildsOK) Error ¶
func (o *PackerServiceListBuildsOK) Error() string
func (*PackerServiceListBuildsOK) GetPayload ¶
func (o *PackerServiceListBuildsOK) GetPayload() *models.HashicorpCloudPacker20230101ListBuildsResponse
func (*PackerServiceListBuildsOK) IsClientError ¶
func (o *PackerServiceListBuildsOK) IsClientError() bool
IsClientError returns true when this packer service list builds o k response has a 4xx status code
func (*PackerServiceListBuildsOK) IsCode ¶
func (o *PackerServiceListBuildsOK) IsCode(code int) bool
IsCode returns true when this packer service list builds o k response a status code equal to that given
func (*PackerServiceListBuildsOK) IsRedirect ¶
func (o *PackerServiceListBuildsOK) IsRedirect() bool
IsRedirect returns true when this packer service list builds o k response has a 3xx status code
func (*PackerServiceListBuildsOK) IsServerError ¶
func (o *PackerServiceListBuildsOK) IsServerError() bool
IsServerError returns true when this packer service list builds o k response has a 5xx status code
func (*PackerServiceListBuildsOK) IsSuccess ¶
func (o *PackerServiceListBuildsOK) IsSuccess() bool
IsSuccess returns true when this packer service list builds o k response has a 2xx status code
func (*PackerServiceListBuildsOK) String ¶
func (o *PackerServiceListBuildsOK) String() string
type PackerServiceListBuildsParams ¶
type PackerServiceListBuildsParams struct { // BucketName. BucketName string // Fingerprint. Fingerprint string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string /* SortingOrderBy. Specifies the list of per field ordering that should be used for sorting. The order matters as rows are sorted in order by fields and when the field matches, the next field is used to tie break the ordering. The per field default ordering is ascending. The fields should be immutabile, unique, and orderable. If the field is not unique, more than one sort fields should be passed. Example: oder_by=name,age desc,created_at asc In that case, 'name' will get the default 'ascending' order. */ SortingOrderBy []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceListBuildsParams contains all the parameters to send to the API endpoint
for the packer service list builds operation. Typically these are written to a http.Request.
func NewPackerServiceListBuildsParams ¶
func NewPackerServiceListBuildsParams() *PackerServiceListBuildsParams
NewPackerServiceListBuildsParams creates a new PackerServiceListBuildsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceListBuildsParamsWithContext ¶
func NewPackerServiceListBuildsParamsWithContext(ctx context.Context) *PackerServiceListBuildsParams
NewPackerServiceListBuildsParamsWithContext creates a new PackerServiceListBuildsParams object with the ability to set a context for a request.
func NewPackerServiceListBuildsParamsWithHTTPClient ¶
func NewPackerServiceListBuildsParamsWithHTTPClient(client *http.Client) *PackerServiceListBuildsParams
NewPackerServiceListBuildsParamsWithHTTPClient creates a new PackerServiceListBuildsParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceListBuildsParamsWithTimeout ¶
func NewPackerServiceListBuildsParamsWithTimeout(timeout time.Duration) *PackerServiceListBuildsParams
NewPackerServiceListBuildsParamsWithTimeout creates a new PackerServiceListBuildsParams object with the ability to set a timeout on a request.
func (*PackerServiceListBuildsParams) SetBucketName ¶
func (o *PackerServiceListBuildsParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service list builds params
func (*PackerServiceListBuildsParams) SetContext ¶
func (o *PackerServiceListBuildsParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service list builds params
func (*PackerServiceListBuildsParams) SetDefaults ¶
func (o *PackerServiceListBuildsParams) SetDefaults()
SetDefaults hydrates default values in the packer service list builds params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceListBuildsParams) SetFingerprint ¶
func (o *PackerServiceListBuildsParams) SetFingerprint(fingerprint string)
SetFingerprint adds the fingerprint to the packer service list builds params
func (*PackerServiceListBuildsParams) SetHTTPClient ¶
func (o *PackerServiceListBuildsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service list builds params
func (*PackerServiceListBuildsParams) SetLocationOrganizationID ¶
func (o *PackerServiceListBuildsParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service list builds params
func (*PackerServiceListBuildsParams) SetLocationProjectID ¶
func (o *PackerServiceListBuildsParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service list builds params
func (*PackerServiceListBuildsParams) SetLocationRegionProvider ¶
func (o *PackerServiceListBuildsParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service list builds params
func (*PackerServiceListBuildsParams) SetLocationRegionRegion ¶
func (o *PackerServiceListBuildsParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service list builds params
func (*PackerServiceListBuildsParams) SetPaginationNextPageToken ¶
func (o *PackerServiceListBuildsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list builds params
func (*PackerServiceListBuildsParams) SetPaginationPageSize ¶
func (o *PackerServiceListBuildsParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the packer service list builds params
func (*PackerServiceListBuildsParams) SetPaginationPreviousPageToken ¶
func (o *PackerServiceListBuildsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list builds params
func (*PackerServiceListBuildsParams) SetSortingOrderBy ¶
func (o *PackerServiceListBuildsParams) SetSortingOrderBy(sortingOrderBy []string)
SetSortingOrderBy adds the sortingOrderBy to the packer service list builds params
func (*PackerServiceListBuildsParams) SetTimeout ¶
func (o *PackerServiceListBuildsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service list builds params
func (*PackerServiceListBuildsParams) WithBucketName ¶
func (o *PackerServiceListBuildsParams) WithBucketName(bucketName string) *PackerServiceListBuildsParams
WithBucketName adds the bucketName to the packer service list builds params
func (*PackerServiceListBuildsParams) WithContext ¶
func (o *PackerServiceListBuildsParams) WithContext(ctx context.Context) *PackerServiceListBuildsParams
WithContext adds the context to the packer service list builds params
func (*PackerServiceListBuildsParams) WithDefaults ¶
func (o *PackerServiceListBuildsParams) WithDefaults() *PackerServiceListBuildsParams
WithDefaults hydrates default values in the packer service list builds params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceListBuildsParams) WithFingerprint ¶
func (o *PackerServiceListBuildsParams) WithFingerprint(fingerprint string) *PackerServiceListBuildsParams
WithFingerprint adds the fingerprint to the packer service list builds params
func (*PackerServiceListBuildsParams) WithHTTPClient ¶
func (o *PackerServiceListBuildsParams) WithHTTPClient(client *http.Client) *PackerServiceListBuildsParams
WithHTTPClient adds the HTTPClient to the packer service list builds params
func (*PackerServiceListBuildsParams) WithLocationOrganizationID ¶
func (o *PackerServiceListBuildsParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListBuildsParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service list builds params
func (*PackerServiceListBuildsParams) WithLocationProjectID ¶
func (o *PackerServiceListBuildsParams) WithLocationProjectID(locationProjectID string) *PackerServiceListBuildsParams
WithLocationProjectID adds the locationProjectID to the packer service list builds params
func (*PackerServiceListBuildsParams) WithLocationRegionProvider ¶
func (o *PackerServiceListBuildsParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListBuildsParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service list builds params
func (*PackerServiceListBuildsParams) WithLocationRegionRegion ¶
func (o *PackerServiceListBuildsParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListBuildsParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service list builds params
func (*PackerServiceListBuildsParams) WithPaginationNextPageToken ¶
func (o *PackerServiceListBuildsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *PackerServiceListBuildsParams
WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list builds params
func (*PackerServiceListBuildsParams) WithPaginationPageSize ¶
func (o *PackerServiceListBuildsParams) WithPaginationPageSize(paginationPageSize *int64) *PackerServiceListBuildsParams
WithPaginationPageSize adds the paginationPageSize to the packer service list builds params
func (*PackerServiceListBuildsParams) WithPaginationPreviousPageToken ¶
func (o *PackerServiceListBuildsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *PackerServiceListBuildsParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list builds params
func (*PackerServiceListBuildsParams) WithSortingOrderBy ¶
func (o *PackerServiceListBuildsParams) WithSortingOrderBy(sortingOrderBy []string) *PackerServiceListBuildsParams
WithSortingOrderBy adds the sortingOrderBy to the packer service list builds params
func (*PackerServiceListBuildsParams) WithTimeout ¶
func (o *PackerServiceListBuildsParams) WithTimeout(timeout time.Duration) *PackerServiceListBuildsParams
WithTimeout adds the timeout to the packer service list builds params
func (*PackerServiceListBuildsParams) WriteToRequest ¶
func (o *PackerServiceListBuildsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceListBuildsReader ¶
type PackerServiceListBuildsReader struct {
// contains filtered or unexported fields
}
PackerServiceListBuildsReader is a Reader for the PackerServiceListBuilds structure.
func (*PackerServiceListBuildsReader) ReadResponse ¶
func (o *PackerServiceListBuildsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceListChannelAssignmentHistoryDefault ¶
type PackerServiceListChannelAssignmentHistoryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceListChannelAssignmentHistoryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceListChannelAssignmentHistoryDefault ¶
func NewPackerServiceListChannelAssignmentHistoryDefault(code int) *PackerServiceListChannelAssignmentHistoryDefault
NewPackerServiceListChannelAssignmentHistoryDefault creates a PackerServiceListChannelAssignmentHistoryDefault with default headers values
func (*PackerServiceListChannelAssignmentHistoryDefault) Code ¶
func (o *PackerServiceListChannelAssignmentHistoryDefault) Code() int
Code gets the status code for the packer service list channel assignment history default response
func (*PackerServiceListChannelAssignmentHistoryDefault) Error ¶
func (o *PackerServiceListChannelAssignmentHistoryDefault) Error() string
func (*PackerServiceListChannelAssignmentHistoryDefault) GetPayload ¶
func (o *PackerServiceListChannelAssignmentHistoryDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceListChannelAssignmentHistoryDefault) IsClientError ¶
func (o *PackerServiceListChannelAssignmentHistoryDefault) IsClientError() bool
IsClientError returns true when this packer service list channel assignment history default response has a 4xx status code
func (*PackerServiceListChannelAssignmentHistoryDefault) IsCode ¶
func (o *PackerServiceListChannelAssignmentHistoryDefault) IsCode(code int) bool
IsCode returns true when this packer service list channel assignment history default response a status code equal to that given
func (*PackerServiceListChannelAssignmentHistoryDefault) IsRedirect ¶
func (o *PackerServiceListChannelAssignmentHistoryDefault) IsRedirect() bool
IsRedirect returns true when this packer service list channel assignment history default response has a 3xx status code
func (*PackerServiceListChannelAssignmentHistoryDefault) IsServerError ¶
func (o *PackerServiceListChannelAssignmentHistoryDefault) IsServerError() bool
IsServerError returns true when this packer service list channel assignment history default response has a 5xx status code
func (*PackerServiceListChannelAssignmentHistoryDefault) IsSuccess ¶
func (o *PackerServiceListChannelAssignmentHistoryDefault) IsSuccess() bool
IsSuccess returns true when this packer service list channel assignment history default response has a 2xx status code
func (*PackerServiceListChannelAssignmentHistoryDefault) String ¶
func (o *PackerServiceListChannelAssignmentHistoryDefault) String() string
type PackerServiceListChannelAssignmentHistoryOK ¶
type PackerServiceListChannelAssignmentHistoryOK struct {
Payload *models.HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse
}
PackerServiceListChannelAssignmentHistoryOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceListChannelAssignmentHistoryOK ¶
func NewPackerServiceListChannelAssignmentHistoryOK() *PackerServiceListChannelAssignmentHistoryOK
NewPackerServiceListChannelAssignmentHistoryOK creates a PackerServiceListChannelAssignmentHistoryOK with default headers values
func (*PackerServiceListChannelAssignmentHistoryOK) Code ¶
func (o *PackerServiceListChannelAssignmentHistoryOK) Code() int
Code gets the status code for the packer service list channel assignment history o k response
func (*PackerServiceListChannelAssignmentHistoryOK) Error ¶
func (o *PackerServiceListChannelAssignmentHistoryOK) Error() string
func (*PackerServiceListChannelAssignmentHistoryOK) GetPayload ¶
func (*PackerServiceListChannelAssignmentHistoryOK) IsClientError ¶
func (o *PackerServiceListChannelAssignmentHistoryOK) IsClientError() bool
IsClientError returns true when this packer service list channel assignment history o k response has a 4xx status code
func (*PackerServiceListChannelAssignmentHistoryOK) IsCode ¶
func (o *PackerServiceListChannelAssignmentHistoryOK) IsCode(code int) bool
IsCode returns true when this packer service list channel assignment history o k response a status code equal to that given
func (*PackerServiceListChannelAssignmentHistoryOK) IsRedirect ¶
func (o *PackerServiceListChannelAssignmentHistoryOK) IsRedirect() bool
IsRedirect returns true when this packer service list channel assignment history o k response has a 3xx status code
func (*PackerServiceListChannelAssignmentHistoryOK) IsServerError ¶
func (o *PackerServiceListChannelAssignmentHistoryOK) IsServerError() bool
IsServerError returns true when this packer service list channel assignment history o k response has a 5xx status code
func (*PackerServiceListChannelAssignmentHistoryOK) IsSuccess ¶
func (o *PackerServiceListChannelAssignmentHistoryOK) IsSuccess() bool
IsSuccess returns true when this packer service list channel assignment history o k response has a 2xx status code
func (*PackerServiceListChannelAssignmentHistoryOK) String ¶
func (o *PackerServiceListChannelAssignmentHistoryOK) String() string
type PackerServiceListChannelAssignmentHistoryParams ¶
type PackerServiceListChannelAssignmentHistoryParams struct { // BucketName. BucketName string // ChannelName. ChannelName string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceListChannelAssignmentHistoryParams contains all the parameters to send to the API endpoint
for the packer service list channel assignment history operation. Typically these are written to a http.Request.
func NewPackerServiceListChannelAssignmentHistoryParams ¶
func NewPackerServiceListChannelAssignmentHistoryParams() *PackerServiceListChannelAssignmentHistoryParams
NewPackerServiceListChannelAssignmentHistoryParams creates a new PackerServiceListChannelAssignmentHistoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceListChannelAssignmentHistoryParamsWithContext ¶
func NewPackerServiceListChannelAssignmentHistoryParamsWithContext(ctx context.Context) *PackerServiceListChannelAssignmentHistoryParams
NewPackerServiceListChannelAssignmentHistoryParamsWithContext creates a new PackerServiceListChannelAssignmentHistoryParams object with the ability to set a context for a request.
func NewPackerServiceListChannelAssignmentHistoryParamsWithHTTPClient ¶
func NewPackerServiceListChannelAssignmentHistoryParamsWithHTTPClient(client *http.Client) *PackerServiceListChannelAssignmentHistoryParams
NewPackerServiceListChannelAssignmentHistoryParamsWithHTTPClient creates a new PackerServiceListChannelAssignmentHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceListChannelAssignmentHistoryParamsWithTimeout ¶
func NewPackerServiceListChannelAssignmentHistoryParamsWithTimeout(timeout time.Duration) *PackerServiceListChannelAssignmentHistoryParams
NewPackerServiceListChannelAssignmentHistoryParamsWithTimeout creates a new PackerServiceListChannelAssignmentHistoryParams object with the ability to set a timeout on a request.
func (*PackerServiceListChannelAssignmentHistoryParams) SetBucketName ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) SetChannelName ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetChannelName(channelName string)
SetChannelName adds the channelName to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) SetContext ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) SetDefaults ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetDefaults()
SetDefaults hydrates default values in the packer service list channel assignment history params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceListChannelAssignmentHistoryParams) SetHTTPClient ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) SetLocationOrganizationID ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) SetLocationProjectID ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) SetLocationRegionProvider ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) SetLocationRegionRegion ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) SetPaginationNextPageToken ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) SetPaginationPageSize ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) SetPaginationPreviousPageToken ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) SetTimeout ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WithBucketName ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithBucketName(bucketName string) *PackerServiceListChannelAssignmentHistoryParams
WithBucketName adds the bucketName to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WithChannelName ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithChannelName(channelName string) *PackerServiceListChannelAssignmentHistoryParams
WithChannelName adds the channelName to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WithContext ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithContext(ctx context.Context) *PackerServiceListChannelAssignmentHistoryParams
WithContext adds the context to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WithDefaults ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithDefaults() *PackerServiceListChannelAssignmentHistoryParams
WithDefaults hydrates default values in the packer service list channel assignment history params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceListChannelAssignmentHistoryParams) WithHTTPClient ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithHTTPClient(client *http.Client) *PackerServiceListChannelAssignmentHistoryParams
WithHTTPClient adds the HTTPClient to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WithLocationOrganizationID ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListChannelAssignmentHistoryParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WithLocationProjectID ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithLocationProjectID(locationProjectID string) *PackerServiceListChannelAssignmentHistoryParams
WithLocationProjectID adds the locationProjectID to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WithLocationRegionProvider ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListChannelAssignmentHistoryParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WithLocationRegionRegion ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListChannelAssignmentHistoryParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WithPaginationNextPageToken ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithPaginationNextPageToken(paginationNextPageToken *string) *PackerServiceListChannelAssignmentHistoryParams
WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WithPaginationPageSize ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithPaginationPageSize(paginationPageSize *int64) *PackerServiceListChannelAssignmentHistoryParams
WithPaginationPageSize adds the paginationPageSize to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WithPaginationPreviousPageToken ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *PackerServiceListChannelAssignmentHistoryParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WithTimeout ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WithTimeout(timeout time.Duration) *PackerServiceListChannelAssignmentHistoryParams
WithTimeout adds the timeout to the packer service list channel assignment history params
func (*PackerServiceListChannelAssignmentHistoryParams) WriteToRequest ¶
func (o *PackerServiceListChannelAssignmentHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceListChannelAssignmentHistoryReader ¶
type PackerServiceListChannelAssignmentHistoryReader struct {
// contains filtered or unexported fields
}
PackerServiceListChannelAssignmentHistoryReader is a Reader for the PackerServiceListChannelAssignmentHistory structure.
func (*PackerServiceListChannelAssignmentHistoryReader) ReadResponse ¶
func (o *PackerServiceListChannelAssignmentHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceListChannelsDefault ¶
type PackerServiceListChannelsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceListChannelsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceListChannelsDefault ¶
func NewPackerServiceListChannelsDefault(code int) *PackerServiceListChannelsDefault
NewPackerServiceListChannelsDefault creates a PackerServiceListChannelsDefault with default headers values
func (*PackerServiceListChannelsDefault) Code ¶
func (o *PackerServiceListChannelsDefault) Code() int
Code gets the status code for the packer service list channels default response
func (*PackerServiceListChannelsDefault) Error ¶
func (o *PackerServiceListChannelsDefault) Error() string
func (*PackerServiceListChannelsDefault) GetPayload ¶
func (o *PackerServiceListChannelsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceListChannelsDefault) IsClientError ¶
func (o *PackerServiceListChannelsDefault) IsClientError() bool
IsClientError returns true when this packer service list channels default response has a 4xx status code
func (*PackerServiceListChannelsDefault) IsCode ¶
func (o *PackerServiceListChannelsDefault) IsCode(code int) bool
IsCode returns true when this packer service list channels default response a status code equal to that given
func (*PackerServiceListChannelsDefault) IsRedirect ¶
func (o *PackerServiceListChannelsDefault) IsRedirect() bool
IsRedirect returns true when this packer service list channels default response has a 3xx status code
func (*PackerServiceListChannelsDefault) IsServerError ¶
func (o *PackerServiceListChannelsDefault) IsServerError() bool
IsServerError returns true when this packer service list channels default response has a 5xx status code
func (*PackerServiceListChannelsDefault) IsSuccess ¶
func (o *PackerServiceListChannelsDefault) IsSuccess() bool
IsSuccess returns true when this packer service list channels default response has a 2xx status code
func (*PackerServiceListChannelsDefault) String ¶
func (o *PackerServiceListChannelsDefault) String() string
type PackerServiceListChannelsOK ¶
type PackerServiceListChannelsOK struct {
Payload *models.HashicorpCloudPacker20230101ListChannelsResponse
}
PackerServiceListChannelsOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceListChannelsOK ¶
func NewPackerServiceListChannelsOK() *PackerServiceListChannelsOK
NewPackerServiceListChannelsOK creates a PackerServiceListChannelsOK with default headers values
func (*PackerServiceListChannelsOK) Code ¶
func (o *PackerServiceListChannelsOK) Code() int
Code gets the status code for the packer service list channels o k response
func (*PackerServiceListChannelsOK) Error ¶
func (o *PackerServiceListChannelsOK) Error() string
func (*PackerServiceListChannelsOK) GetPayload ¶
func (o *PackerServiceListChannelsOK) GetPayload() *models.HashicorpCloudPacker20230101ListChannelsResponse
func (*PackerServiceListChannelsOK) IsClientError ¶
func (o *PackerServiceListChannelsOK) IsClientError() bool
IsClientError returns true when this packer service list channels o k response has a 4xx status code
func (*PackerServiceListChannelsOK) IsCode ¶
func (o *PackerServiceListChannelsOK) IsCode(code int) bool
IsCode returns true when this packer service list channels o k response a status code equal to that given
func (*PackerServiceListChannelsOK) IsRedirect ¶
func (o *PackerServiceListChannelsOK) IsRedirect() bool
IsRedirect returns true when this packer service list channels o k response has a 3xx status code
func (*PackerServiceListChannelsOK) IsServerError ¶
func (o *PackerServiceListChannelsOK) IsServerError() bool
IsServerError returns true when this packer service list channels o k response has a 5xx status code
func (*PackerServiceListChannelsOK) IsSuccess ¶
func (o *PackerServiceListChannelsOK) IsSuccess() bool
IsSuccess returns true when this packer service list channels o k response has a 2xx status code
func (*PackerServiceListChannelsOK) String ¶
func (o *PackerServiceListChannelsOK) String() string
type PackerServiceListChannelsParams ¶
type PackerServiceListChannelsParams struct { // BucketName. BucketName string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceListChannelsParams contains all the parameters to send to the API endpoint
for the packer service list channels operation. Typically these are written to a http.Request.
func NewPackerServiceListChannelsParams ¶
func NewPackerServiceListChannelsParams() *PackerServiceListChannelsParams
NewPackerServiceListChannelsParams creates a new PackerServiceListChannelsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceListChannelsParamsWithContext ¶
func NewPackerServiceListChannelsParamsWithContext(ctx context.Context) *PackerServiceListChannelsParams
NewPackerServiceListChannelsParamsWithContext creates a new PackerServiceListChannelsParams object with the ability to set a context for a request.
func NewPackerServiceListChannelsParamsWithHTTPClient ¶
func NewPackerServiceListChannelsParamsWithHTTPClient(client *http.Client) *PackerServiceListChannelsParams
NewPackerServiceListChannelsParamsWithHTTPClient creates a new PackerServiceListChannelsParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceListChannelsParamsWithTimeout ¶
func NewPackerServiceListChannelsParamsWithTimeout(timeout time.Duration) *PackerServiceListChannelsParams
NewPackerServiceListChannelsParamsWithTimeout creates a new PackerServiceListChannelsParams object with the ability to set a timeout on a request.
func (*PackerServiceListChannelsParams) SetBucketName ¶
func (o *PackerServiceListChannelsParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service list channels params
func (*PackerServiceListChannelsParams) SetContext ¶
func (o *PackerServiceListChannelsParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service list channels params
func (*PackerServiceListChannelsParams) SetDefaults ¶
func (o *PackerServiceListChannelsParams) SetDefaults()
SetDefaults hydrates default values in the packer service list channels params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceListChannelsParams) SetHTTPClient ¶
func (o *PackerServiceListChannelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service list channels params
func (*PackerServiceListChannelsParams) SetLocationOrganizationID ¶
func (o *PackerServiceListChannelsParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service list channels params
func (*PackerServiceListChannelsParams) SetLocationProjectID ¶
func (o *PackerServiceListChannelsParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service list channels params
func (*PackerServiceListChannelsParams) SetLocationRegionProvider ¶
func (o *PackerServiceListChannelsParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service list channels params
func (*PackerServiceListChannelsParams) SetLocationRegionRegion ¶
func (o *PackerServiceListChannelsParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service list channels params
func (*PackerServiceListChannelsParams) SetTimeout ¶
func (o *PackerServiceListChannelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service list channels params
func (*PackerServiceListChannelsParams) WithBucketName ¶
func (o *PackerServiceListChannelsParams) WithBucketName(bucketName string) *PackerServiceListChannelsParams
WithBucketName adds the bucketName to the packer service list channels params
func (*PackerServiceListChannelsParams) WithContext ¶
func (o *PackerServiceListChannelsParams) WithContext(ctx context.Context) *PackerServiceListChannelsParams
WithContext adds the context to the packer service list channels params
func (*PackerServiceListChannelsParams) WithDefaults ¶
func (o *PackerServiceListChannelsParams) WithDefaults() *PackerServiceListChannelsParams
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 ¶
func (o *PackerServiceListChannelsParams) WithHTTPClient(client *http.Client) *PackerServiceListChannelsParams
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 ¶
func (o *PackerServiceListChannelsParams) WithTimeout(timeout time.Duration) *PackerServiceListChannelsParams
WithTimeout adds the timeout to the packer service list channels params
func (*PackerServiceListChannelsParams) WriteToRequest ¶
func (o *PackerServiceListChannelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceListChannelsReader ¶
type PackerServiceListChannelsReader struct {
// contains filtered or unexported fields
}
PackerServiceListChannelsReader is a Reader for the PackerServiceListChannels structure.
func (*PackerServiceListChannelsReader) ReadResponse ¶
func (o *PackerServiceListChannelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceListVersionsDefault ¶
type PackerServiceListVersionsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceListVersionsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceListVersionsDefault ¶
func NewPackerServiceListVersionsDefault(code int) *PackerServiceListVersionsDefault
NewPackerServiceListVersionsDefault creates a PackerServiceListVersionsDefault with default headers values
func (*PackerServiceListVersionsDefault) Code ¶
func (o *PackerServiceListVersionsDefault) Code() int
Code gets the status code for the packer service list versions default response
func (*PackerServiceListVersionsDefault) Error ¶
func (o *PackerServiceListVersionsDefault) Error() string
func (*PackerServiceListVersionsDefault) GetPayload ¶
func (o *PackerServiceListVersionsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceListVersionsDefault) IsClientError ¶
func (o *PackerServiceListVersionsDefault) IsClientError() bool
IsClientError returns true when this packer service list versions default response has a 4xx status code
func (*PackerServiceListVersionsDefault) IsCode ¶
func (o *PackerServiceListVersionsDefault) IsCode(code int) bool
IsCode returns true when this packer service list versions default response a status code equal to that given
func (*PackerServiceListVersionsDefault) IsRedirect ¶
func (o *PackerServiceListVersionsDefault) IsRedirect() bool
IsRedirect returns true when this packer service list versions default response has a 3xx status code
func (*PackerServiceListVersionsDefault) IsServerError ¶
func (o *PackerServiceListVersionsDefault) IsServerError() bool
IsServerError returns true when this packer service list versions default response has a 5xx status code
func (*PackerServiceListVersionsDefault) IsSuccess ¶
func (o *PackerServiceListVersionsDefault) IsSuccess() bool
IsSuccess returns true when this packer service list versions default response has a 2xx status code
func (*PackerServiceListVersionsDefault) String ¶
func (o *PackerServiceListVersionsDefault) String() string
type PackerServiceListVersionsOK ¶
type PackerServiceListVersionsOK struct {
Payload *models.HashicorpCloudPacker20230101ListVersionsResponse
}
PackerServiceListVersionsOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceListVersionsOK ¶
func NewPackerServiceListVersionsOK() *PackerServiceListVersionsOK
NewPackerServiceListVersionsOK creates a PackerServiceListVersionsOK with default headers values
func (*PackerServiceListVersionsOK) Code ¶
func (o *PackerServiceListVersionsOK) Code() int
Code gets the status code for the packer service list versions o k response
func (*PackerServiceListVersionsOK) Error ¶
func (o *PackerServiceListVersionsOK) Error() string
func (*PackerServiceListVersionsOK) GetPayload ¶
func (o *PackerServiceListVersionsOK) GetPayload() *models.HashicorpCloudPacker20230101ListVersionsResponse
func (*PackerServiceListVersionsOK) IsClientError ¶
func (o *PackerServiceListVersionsOK) IsClientError() bool
IsClientError returns true when this packer service list versions o k response has a 4xx status code
func (*PackerServiceListVersionsOK) IsCode ¶
func (o *PackerServiceListVersionsOK) IsCode(code int) bool
IsCode returns true when this packer service list versions o k response a status code equal to that given
func (*PackerServiceListVersionsOK) IsRedirect ¶
func (o *PackerServiceListVersionsOK) IsRedirect() bool
IsRedirect returns true when this packer service list versions o k response has a 3xx status code
func (*PackerServiceListVersionsOK) IsServerError ¶
func (o *PackerServiceListVersionsOK) IsServerError() bool
IsServerError returns true when this packer service list versions o k response has a 5xx status code
func (*PackerServiceListVersionsOK) IsSuccess ¶
func (o *PackerServiceListVersionsOK) IsSuccess() bool
IsSuccess returns true when this packer service list versions o k response has a 2xx status code
func (*PackerServiceListVersionsOK) String ¶
func (o *PackerServiceListVersionsOK) String() string
type PackerServiceListVersionsParams ¶
type PackerServiceListVersionsParams struct { // BucketName. BucketName string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string /* SortingOrderBy. Specifies the list of per field ordering that should be used for sorting. The order matters as rows are sorted in order by fields and when the field matches, the next field is used to tie break the ordering. The per field default ordering is ascending. The fields should be immutabile, unique, and orderable. If the field is not unique, more than one sort fields should be passed. Example: oder_by=name,age desc,created_at asc In that case, 'name' will get the default 'ascending' order. */ SortingOrderBy []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceListVersionsParams contains all the parameters to send to the API endpoint
for the packer service list versions operation. Typically these are written to a http.Request.
func NewPackerServiceListVersionsParams ¶
func NewPackerServiceListVersionsParams() *PackerServiceListVersionsParams
NewPackerServiceListVersionsParams creates a new PackerServiceListVersionsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceListVersionsParamsWithContext ¶
func NewPackerServiceListVersionsParamsWithContext(ctx context.Context) *PackerServiceListVersionsParams
NewPackerServiceListVersionsParamsWithContext creates a new PackerServiceListVersionsParams object with the ability to set a context for a request.
func NewPackerServiceListVersionsParamsWithHTTPClient ¶
func NewPackerServiceListVersionsParamsWithHTTPClient(client *http.Client) *PackerServiceListVersionsParams
NewPackerServiceListVersionsParamsWithHTTPClient creates a new PackerServiceListVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceListVersionsParamsWithTimeout ¶
func NewPackerServiceListVersionsParamsWithTimeout(timeout time.Duration) *PackerServiceListVersionsParams
NewPackerServiceListVersionsParamsWithTimeout creates a new PackerServiceListVersionsParams object with the ability to set a timeout on a request.
func (*PackerServiceListVersionsParams) SetBucketName ¶
func (o *PackerServiceListVersionsParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service list versions params
func (*PackerServiceListVersionsParams) SetContext ¶
func (o *PackerServiceListVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service list versions params
func (*PackerServiceListVersionsParams) SetDefaults ¶
func (o *PackerServiceListVersionsParams) SetDefaults()
SetDefaults hydrates default values in the packer service list versions params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceListVersionsParams) SetHTTPClient ¶
func (o *PackerServiceListVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service list versions params
func (*PackerServiceListVersionsParams) SetLocationOrganizationID ¶
func (o *PackerServiceListVersionsParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service list versions params
func (*PackerServiceListVersionsParams) SetLocationProjectID ¶
func (o *PackerServiceListVersionsParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service list versions params
func (*PackerServiceListVersionsParams) SetLocationRegionProvider ¶
func (o *PackerServiceListVersionsParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service list versions params
func (*PackerServiceListVersionsParams) SetLocationRegionRegion ¶
func (o *PackerServiceListVersionsParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service list versions params
func (*PackerServiceListVersionsParams) SetPaginationNextPageToken ¶
func (o *PackerServiceListVersionsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the packer service list versions params
func (*PackerServiceListVersionsParams) SetPaginationPageSize ¶
func (o *PackerServiceListVersionsParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the packer service list versions params
func (*PackerServiceListVersionsParams) SetPaginationPreviousPageToken ¶
func (o *PackerServiceListVersionsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list versions params
func (*PackerServiceListVersionsParams) SetSortingOrderBy ¶
func (o *PackerServiceListVersionsParams) SetSortingOrderBy(sortingOrderBy []string)
SetSortingOrderBy adds the sortingOrderBy to the packer service list versions params
func (*PackerServiceListVersionsParams) SetTimeout ¶
func (o *PackerServiceListVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service list versions params
func (*PackerServiceListVersionsParams) WithBucketName ¶
func (o *PackerServiceListVersionsParams) WithBucketName(bucketName string) *PackerServiceListVersionsParams
WithBucketName adds the bucketName to the packer service list versions params
func (*PackerServiceListVersionsParams) WithContext ¶
func (o *PackerServiceListVersionsParams) WithContext(ctx context.Context) *PackerServiceListVersionsParams
WithContext adds the context to the packer service list versions params
func (*PackerServiceListVersionsParams) WithDefaults ¶
func (o *PackerServiceListVersionsParams) WithDefaults() *PackerServiceListVersionsParams
WithDefaults hydrates default values in the packer service list versions params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceListVersionsParams) WithHTTPClient ¶
func (o *PackerServiceListVersionsParams) WithHTTPClient(client *http.Client) *PackerServiceListVersionsParams
WithHTTPClient adds the HTTPClient to the packer service list versions params
func (*PackerServiceListVersionsParams) WithLocationOrganizationID ¶
func (o *PackerServiceListVersionsParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceListVersionsParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service list versions params
func (*PackerServiceListVersionsParams) WithLocationProjectID ¶
func (o *PackerServiceListVersionsParams) WithLocationProjectID(locationProjectID string) *PackerServiceListVersionsParams
WithLocationProjectID adds the locationProjectID to the packer service list versions params
func (*PackerServiceListVersionsParams) WithLocationRegionProvider ¶
func (o *PackerServiceListVersionsParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceListVersionsParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service list versions params
func (*PackerServiceListVersionsParams) WithLocationRegionRegion ¶
func (o *PackerServiceListVersionsParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceListVersionsParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service list versions params
func (*PackerServiceListVersionsParams) WithPaginationNextPageToken ¶
func (o *PackerServiceListVersionsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *PackerServiceListVersionsParams
WithPaginationNextPageToken adds the paginationNextPageToken to the packer service list versions params
func (*PackerServiceListVersionsParams) WithPaginationPageSize ¶
func (o *PackerServiceListVersionsParams) WithPaginationPageSize(paginationPageSize *int64) *PackerServiceListVersionsParams
WithPaginationPageSize adds the paginationPageSize to the packer service list versions params
func (*PackerServiceListVersionsParams) WithPaginationPreviousPageToken ¶
func (o *PackerServiceListVersionsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *PackerServiceListVersionsParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the packer service list versions params
func (*PackerServiceListVersionsParams) WithSortingOrderBy ¶
func (o *PackerServiceListVersionsParams) WithSortingOrderBy(sortingOrderBy []string) *PackerServiceListVersionsParams
WithSortingOrderBy adds the sortingOrderBy to the packer service list versions params
func (*PackerServiceListVersionsParams) WithTimeout ¶
func (o *PackerServiceListVersionsParams) WithTimeout(timeout time.Duration) *PackerServiceListVersionsParams
WithTimeout adds the timeout to the packer service list versions params
func (*PackerServiceListVersionsParams) WriteToRequest ¶
func (o *PackerServiceListVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceListVersionsReader ¶
type PackerServiceListVersionsReader struct {
// contains filtered or unexported fields
}
PackerServiceListVersionsReader is a Reader for the PackerServiceListVersions structure.
func (*PackerServiceListVersionsReader) ReadResponse ¶
func (o *PackerServiceListVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceRegenerateTFCRunTaskHmacKeyBody ¶
type PackerServiceRegenerateTFCRunTaskHmacKeyBody struct { // location Location *PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation `json:"location,omitempty"` }
PackerServiceRegenerateTFCRunTaskHmacKeyBody packer service regenerate t f c run task hmac key body swagger:model PackerServiceRegenerateTFCRunTaskHmacKeyBody
func (*PackerServiceRegenerateTFCRunTaskHmacKeyBody) ContextValidate ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this packer service regenerate t f c run task hmac key body based on the context it is used
func (*PackerServiceRegenerateTFCRunTaskHmacKeyBody) MarshalBinary ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PackerServiceRegenerateTFCRunTaskHmacKeyBody) UnmarshalBinary ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) Code() int
Code gets the status code for the packer service regenerate t f c run task hmac key default response
func (*PackerServiceRegenerateTFCRunTaskHmacKeyDefault) Error ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) Error() string
func (*PackerServiceRegenerateTFCRunTaskHmacKeyDefault) GetPayload ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsClientError ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsClientError() bool
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsCode(code int) bool
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsRedirect() bool
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsServerError() bool
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) IsSuccess() bool
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyDefault) String() string
type PackerServiceRegenerateTFCRunTaskHmacKeyOK ¶
type PackerServiceRegenerateTFCRunTaskHmacKeyOK struct {
Payload *models.HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse
}
PackerServiceRegenerateTFCRunTaskHmacKeyOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceRegenerateTFCRunTaskHmacKeyOK ¶
func NewPackerServiceRegenerateTFCRunTaskHmacKeyOK() *PackerServiceRegenerateTFCRunTaskHmacKeyOK
NewPackerServiceRegenerateTFCRunTaskHmacKeyOK creates a PackerServiceRegenerateTFCRunTaskHmacKeyOK with default headers values
func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) Code ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) Code() int
Code gets the status code for the packer service regenerate t f c run task hmac key o k response
func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) Error ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) Error() string
func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) GetPayload ¶
func (*PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsClientError ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsClientError() bool
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsCode(code int) bool
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsRedirect() bool
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsServerError() bool
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) IsSuccess() bool
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyOK) String() string
type PackerServiceRegenerateTFCRunTaskHmacKeyParams ¶
type PackerServiceRegenerateTFCRunTaskHmacKeyParams struct { // Body. Body PackerServiceRegenerateTFCRunTaskHmacKeyBody /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceRegenerateTFCRunTaskHmacKeyParams contains all the parameters to send to the API endpoint
for the packer service regenerate t f c run task hmac key operation. Typically these are written to a http.Request.
func NewPackerServiceRegenerateTFCRunTaskHmacKeyParams ¶
func NewPackerServiceRegenerateTFCRunTaskHmacKeyParams() *PackerServiceRegenerateTFCRunTaskHmacKeyParams
NewPackerServiceRegenerateTFCRunTaskHmacKeyParams creates a new PackerServiceRegenerateTFCRunTaskHmacKeyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithContext ¶
func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithContext(ctx context.Context) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithContext creates a new PackerServiceRegenerateTFCRunTaskHmacKeyParams object with the ability to set a context for a request.
func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithHTTPClient ¶
func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithHTTPClient(client *http.Client) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithHTTPClient creates a new PackerServiceRegenerateTFCRunTaskHmacKeyParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithTimeout ¶
func NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithTimeout(timeout time.Duration) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
NewPackerServiceRegenerateTFCRunTaskHmacKeyParamsWithTimeout creates a new PackerServiceRegenerateTFCRunTaskHmacKeyParams object with the ability to set a timeout on a request.
func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetBody ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetBody(body PackerServiceRegenerateTFCRunTaskHmacKeyBody)
SetBody adds the body to the packer service regenerate t f c run task hmac key params
func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetContext ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service regenerate t f c run task hmac key params
func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetDefaults ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetDefaults()
SetDefaults hydrates default values in the packer service regenerate t f c run task hmac key params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetHTTPClient ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service regenerate t f c run task hmac key params
func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithBody ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithBody(body PackerServiceRegenerateTFCRunTaskHmacKeyBody) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
WithBody adds the body to the packer service regenerate t f c run task hmac key params
func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithContext ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithContext(ctx context.Context) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
WithContext adds the context to the packer service regenerate t f c run task hmac key params
func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithDefaults ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithDefaults() *PackerServiceRegenerateTFCRunTaskHmacKeyParams
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithHTTPClient(client *http.Client) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithLocationProjectID(locationProjectID string) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
WithLocationProjectID adds the locationProjectID to the packer service regenerate t f c run task hmac key params
func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithTimeout ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WithTimeout(timeout time.Duration) *PackerServiceRegenerateTFCRunTaskHmacKeyParams
WithTimeout adds the timeout to the packer service regenerate t f c run task hmac key params
func (*PackerServiceRegenerateTFCRunTaskHmacKeyParams) WriteToRequest ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation ¶
type PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation struct { // region is the region that the resource is located in. It is // optional if the object being referenced is a global object. Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"` }
PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation Location represents a target for an operation in HCP. swagger:model PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation
func (*PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) ContextValidate ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) UnmarshalBinary ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PackerServiceRegenerateTFCRunTaskHmacKeyReader ¶
type PackerServiceRegenerateTFCRunTaskHmacKeyReader struct {
// contains filtered or unexported fields
}
PackerServiceRegenerateTFCRunTaskHmacKeyReader is a Reader for the PackerServiceRegenerateTFCRunTaskHmacKey structure.
func (*PackerServiceRegenerateTFCRunTaskHmacKeyReader) ReadResponse ¶
func (o *PackerServiceRegenerateTFCRunTaskHmacKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceUpdateBucketDefault ¶
type PackerServiceUpdateBucketDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceUpdateBucketDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceUpdateBucketDefault ¶
func NewPackerServiceUpdateBucketDefault(code int) *PackerServiceUpdateBucketDefault
NewPackerServiceUpdateBucketDefault creates a PackerServiceUpdateBucketDefault with default headers values
func (*PackerServiceUpdateBucketDefault) Code ¶
func (o *PackerServiceUpdateBucketDefault) Code() int
Code gets the status code for the packer service update bucket default response
func (*PackerServiceUpdateBucketDefault) Error ¶
func (o *PackerServiceUpdateBucketDefault) Error() string
func (*PackerServiceUpdateBucketDefault) GetPayload ¶
func (o *PackerServiceUpdateBucketDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceUpdateBucketDefault) IsClientError ¶
func (o *PackerServiceUpdateBucketDefault) IsClientError() bool
IsClientError returns true when this packer service update bucket default response has a 4xx status code
func (*PackerServiceUpdateBucketDefault) IsCode ¶
func (o *PackerServiceUpdateBucketDefault) IsCode(code int) bool
IsCode returns true when this packer service update bucket default response a status code equal to that given
func (*PackerServiceUpdateBucketDefault) IsRedirect ¶
func (o *PackerServiceUpdateBucketDefault) IsRedirect() bool
IsRedirect returns true when this packer service update bucket default response has a 3xx status code
func (*PackerServiceUpdateBucketDefault) IsServerError ¶
func (o *PackerServiceUpdateBucketDefault) IsServerError() bool
IsServerError returns true when this packer service update bucket default response has a 5xx status code
func (*PackerServiceUpdateBucketDefault) IsSuccess ¶
func (o *PackerServiceUpdateBucketDefault) IsSuccess() bool
IsSuccess returns true when this packer service update bucket default response has a 2xx status code
func (*PackerServiceUpdateBucketDefault) String ¶
func (o *PackerServiceUpdateBucketDefault) String() string
type PackerServiceUpdateBucketOK ¶
type PackerServiceUpdateBucketOK struct {
Payload *models.HashicorpCloudPacker20230101UpdateBucketResponse
}
PackerServiceUpdateBucketOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceUpdateBucketOK ¶
func NewPackerServiceUpdateBucketOK() *PackerServiceUpdateBucketOK
NewPackerServiceUpdateBucketOK creates a PackerServiceUpdateBucketOK with default headers values
func (*PackerServiceUpdateBucketOK) Code ¶
func (o *PackerServiceUpdateBucketOK) Code() int
Code gets the status code for the packer service update bucket o k response
func (*PackerServiceUpdateBucketOK) Error ¶
func (o *PackerServiceUpdateBucketOK) Error() string
func (*PackerServiceUpdateBucketOK) GetPayload ¶
func (o *PackerServiceUpdateBucketOK) GetPayload() *models.HashicorpCloudPacker20230101UpdateBucketResponse
func (*PackerServiceUpdateBucketOK) IsClientError ¶
func (o *PackerServiceUpdateBucketOK) IsClientError() bool
IsClientError returns true when this packer service update bucket o k response has a 4xx status code
func (*PackerServiceUpdateBucketOK) IsCode ¶
func (o *PackerServiceUpdateBucketOK) IsCode(code int) bool
IsCode returns true when this packer service update bucket o k response a status code equal to that given
func (*PackerServiceUpdateBucketOK) IsRedirect ¶
func (o *PackerServiceUpdateBucketOK) IsRedirect() bool
IsRedirect returns true when this packer service update bucket o k response has a 3xx status code
func (*PackerServiceUpdateBucketOK) IsServerError ¶
func (o *PackerServiceUpdateBucketOK) IsServerError() bool
IsServerError returns true when this packer service update bucket o k response has a 5xx status code
func (*PackerServiceUpdateBucketOK) IsSuccess ¶
func (o *PackerServiceUpdateBucketOK) IsSuccess() bool
IsSuccess returns true when this packer service update bucket o k response has a 2xx status code
func (*PackerServiceUpdateBucketOK) String ¶
func (o *PackerServiceUpdateBucketOK) String() string
type PackerServiceUpdateBucketParams ¶
type PackerServiceUpdateBucketParams struct { // Body. Body *models.HashicorpCloudPacker20230101UpdateBucketBody // BucketName. BucketName string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceUpdateBucketParams contains all the parameters to send to the API endpoint
for the packer service update bucket operation. Typically these are written to a http.Request.
func NewPackerServiceUpdateBucketParams ¶
func NewPackerServiceUpdateBucketParams() *PackerServiceUpdateBucketParams
NewPackerServiceUpdateBucketParams creates a new PackerServiceUpdateBucketParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceUpdateBucketParamsWithContext ¶
func NewPackerServiceUpdateBucketParamsWithContext(ctx context.Context) *PackerServiceUpdateBucketParams
NewPackerServiceUpdateBucketParamsWithContext creates a new PackerServiceUpdateBucketParams object with the ability to set a context for a request.
func NewPackerServiceUpdateBucketParamsWithHTTPClient ¶
func NewPackerServiceUpdateBucketParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateBucketParams
NewPackerServiceUpdateBucketParamsWithHTTPClient creates a new PackerServiceUpdateBucketParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceUpdateBucketParamsWithTimeout ¶
func NewPackerServiceUpdateBucketParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateBucketParams
NewPackerServiceUpdateBucketParamsWithTimeout creates a new PackerServiceUpdateBucketParams object with the ability to set a timeout on a request.
func (*PackerServiceUpdateBucketParams) SetBody ¶
func (o *PackerServiceUpdateBucketParams) SetBody(body *models.HashicorpCloudPacker20230101UpdateBucketBody)
SetBody adds the body to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) SetBucketName ¶
func (o *PackerServiceUpdateBucketParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) SetContext ¶
func (o *PackerServiceUpdateBucketParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) SetDefaults ¶
func (o *PackerServiceUpdateBucketParams) SetDefaults()
SetDefaults hydrates default values in the packer service update bucket params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceUpdateBucketParams) SetHTTPClient ¶
func (o *PackerServiceUpdateBucketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) SetLocationOrganizationID ¶
func (o *PackerServiceUpdateBucketParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) SetLocationProjectID ¶
func (o *PackerServiceUpdateBucketParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) SetLocationRegionProvider ¶
func (o *PackerServiceUpdateBucketParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) SetLocationRegionRegion ¶
func (o *PackerServiceUpdateBucketParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) SetTimeout ¶
func (o *PackerServiceUpdateBucketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) WithBody ¶
func (o *PackerServiceUpdateBucketParams) WithBody(body *models.HashicorpCloudPacker20230101UpdateBucketBody) *PackerServiceUpdateBucketParams
WithBody adds the body to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) WithBucketName ¶
func (o *PackerServiceUpdateBucketParams) WithBucketName(bucketName string) *PackerServiceUpdateBucketParams
WithBucketName adds the bucketName to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) WithContext ¶
func (o *PackerServiceUpdateBucketParams) WithContext(ctx context.Context) *PackerServiceUpdateBucketParams
WithContext adds the context to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) WithDefaults ¶
func (o *PackerServiceUpdateBucketParams) WithDefaults() *PackerServiceUpdateBucketParams
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 ¶
func (o *PackerServiceUpdateBucketParams) WithHTTPClient(client *http.Client) *PackerServiceUpdateBucketParams
WithHTTPClient adds the HTTPClient to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) WithLocationOrganizationID ¶
func (o *PackerServiceUpdateBucketParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateBucketParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) WithLocationProjectID ¶
func (o *PackerServiceUpdateBucketParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateBucketParams
WithLocationProjectID adds the locationProjectID to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) WithLocationRegionProvider ¶
func (o *PackerServiceUpdateBucketParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceUpdateBucketParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) WithLocationRegionRegion ¶
func (o *PackerServiceUpdateBucketParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceUpdateBucketParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) WithTimeout ¶
func (o *PackerServiceUpdateBucketParams) WithTimeout(timeout time.Duration) *PackerServiceUpdateBucketParams
WithTimeout adds the timeout to the packer service update bucket params
func (*PackerServiceUpdateBucketParams) WriteToRequest ¶
func (o *PackerServiceUpdateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceUpdateBucketReader ¶
type PackerServiceUpdateBucketReader struct {
// contains filtered or unexported fields
}
PackerServiceUpdateBucketReader is a Reader for the PackerServiceUpdateBucket structure.
func (*PackerServiceUpdateBucketReader) ReadResponse ¶
func (o *PackerServiceUpdateBucketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceUpdateBuildDefault ¶
type PackerServiceUpdateBuildDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceUpdateBuildDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceUpdateBuildDefault ¶
func NewPackerServiceUpdateBuildDefault(code int) *PackerServiceUpdateBuildDefault
NewPackerServiceUpdateBuildDefault creates a PackerServiceUpdateBuildDefault with default headers values
func (*PackerServiceUpdateBuildDefault) Code ¶
func (o *PackerServiceUpdateBuildDefault) Code() int
Code gets the status code for the packer service update build default response
func (*PackerServiceUpdateBuildDefault) Error ¶
func (o *PackerServiceUpdateBuildDefault) Error() string
func (*PackerServiceUpdateBuildDefault) GetPayload ¶
func (o *PackerServiceUpdateBuildDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceUpdateBuildDefault) IsClientError ¶
func (o *PackerServiceUpdateBuildDefault) IsClientError() bool
IsClientError returns true when this packer service update build default response has a 4xx status code
func (*PackerServiceUpdateBuildDefault) IsCode ¶
func (o *PackerServiceUpdateBuildDefault) IsCode(code int) bool
IsCode returns true when this packer service update build default response a status code equal to that given
func (*PackerServiceUpdateBuildDefault) IsRedirect ¶
func (o *PackerServiceUpdateBuildDefault) IsRedirect() bool
IsRedirect returns true when this packer service update build default response has a 3xx status code
func (*PackerServiceUpdateBuildDefault) IsServerError ¶
func (o *PackerServiceUpdateBuildDefault) IsServerError() bool
IsServerError returns true when this packer service update build default response has a 5xx status code
func (*PackerServiceUpdateBuildDefault) IsSuccess ¶
func (o *PackerServiceUpdateBuildDefault) IsSuccess() bool
IsSuccess returns true when this packer service update build default response has a 2xx status code
func (*PackerServiceUpdateBuildDefault) String ¶
func (o *PackerServiceUpdateBuildDefault) String() string
type PackerServiceUpdateBuildOK ¶
type PackerServiceUpdateBuildOK struct {
Payload *models.HashicorpCloudPacker20230101UpdateBuildResponse
}
PackerServiceUpdateBuildOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceUpdateBuildOK ¶
func NewPackerServiceUpdateBuildOK() *PackerServiceUpdateBuildOK
NewPackerServiceUpdateBuildOK creates a PackerServiceUpdateBuildOK with default headers values
func (*PackerServiceUpdateBuildOK) Code ¶
func (o *PackerServiceUpdateBuildOK) Code() int
Code gets the status code for the packer service update build o k response
func (*PackerServiceUpdateBuildOK) Error ¶
func (o *PackerServiceUpdateBuildOK) Error() string
func (*PackerServiceUpdateBuildOK) GetPayload ¶
func (o *PackerServiceUpdateBuildOK) GetPayload() *models.HashicorpCloudPacker20230101UpdateBuildResponse
func (*PackerServiceUpdateBuildOK) IsClientError ¶
func (o *PackerServiceUpdateBuildOK) IsClientError() bool
IsClientError returns true when this packer service update build o k response has a 4xx status code
func (*PackerServiceUpdateBuildOK) IsCode ¶
func (o *PackerServiceUpdateBuildOK) IsCode(code int) bool
IsCode returns true when this packer service update build o k response a status code equal to that given
func (*PackerServiceUpdateBuildOK) IsRedirect ¶
func (o *PackerServiceUpdateBuildOK) IsRedirect() bool
IsRedirect returns true when this packer service update build o k response has a 3xx status code
func (*PackerServiceUpdateBuildOK) IsServerError ¶
func (o *PackerServiceUpdateBuildOK) IsServerError() bool
IsServerError returns true when this packer service update build o k response has a 5xx status code
func (*PackerServiceUpdateBuildOK) IsSuccess ¶
func (o *PackerServiceUpdateBuildOK) IsSuccess() bool
IsSuccess returns true when this packer service update build o k response has a 2xx status code
func (*PackerServiceUpdateBuildOK) String ¶
func (o *PackerServiceUpdateBuildOK) String() string
type PackerServiceUpdateBuildParams ¶
type PackerServiceUpdateBuildParams struct { // Body. Body *models.HashicorpCloudPacker20230101UpdateBuildBody // BucketName. BucketName string // BuildID. BuildID string // Fingerprint. Fingerprint string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceUpdateBuildParams contains all the parameters to send to the API endpoint
for the packer service update build operation. Typically these are written to a http.Request.
func NewPackerServiceUpdateBuildParams ¶
func NewPackerServiceUpdateBuildParams() *PackerServiceUpdateBuildParams
NewPackerServiceUpdateBuildParams creates a new PackerServiceUpdateBuildParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceUpdateBuildParamsWithContext ¶
func NewPackerServiceUpdateBuildParamsWithContext(ctx context.Context) *PackerServiceUpdateBuildParams
NewPackerServiceUpdateBuildParamsWithContext creates a new PackerServiceUpdateBuildParams object with the ability to set a context for a request.
func NewPackerServiceUpdateBuildParamsWithHTTPClient ¶
func NewPackerServiceUpdateBuildParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateBuildParams
NewPackerServiceUpdateBuildParamsWithHTTPClient creates a new PackerServiceUpdateBuildParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceUpdateBuildParamsWithTimeout ¶
func NewPackerServiceUpdateBuildParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateBuildParams
NewPackerServiceUpdateBuildParamsWithTimeout creates a new PackerServiceUpdateBuildParams object with the ability to set a timeout on a request.
func (*PackerServiceUpdateBuildParams) SetBody ¶
func (o *PackerServiceUpdateBuildParams) SetBody(body *models.HashicorpCloudPacker20230101UpdateBuildBody)
SetBody adds the body to the packer service update build params
func (*PackerServiceUpdateBuildParams) SetBucketName ¶
func (o *PackerServiceUpdateBuildParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service update build params
func (*PackerServiceUpdateBuildParams) SetBuildID ¶
func (o *PackerServiceUpdateBuildParams) SetBuildID(buildID string)
SetBuildID adds the buildId to the packer service update build params
func (*PackerServiceUpdateBuildParams) SetContext ¶
func (o *PackerServiceUpdateBuildParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service update build params
func (*PackerServiceUpdateBuildParams) SetDefaults ¶
func (o *PackerServiceUpdateBuildParams) SetDefaults()
SetDefaults hydrates default values in the packer service update build params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceUpdateBuildParams) SetFingerprint ¶
func (o *PackerServiceUpdateBuildParams) SetFingerprint(fingerprint string)
SetFingerprint adds the fingerprint to the packer service update build params
func (*PackerServiceUpdateBuildParams) SetHTTPClient ¶
func (o *PackerServiceUpdateBuildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service update build params
func (*PackerServiceUpdateBuildParams) SetLocationOrganizationID ¶
func (o *PackerServiceUpdateBuildParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service update build params
func (*PackerServiceUpdateBuildParams) SetLocationProjectID ¶
func (o *PackerServiceUpdateBuildParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service update build params
func (*PackerServiceUpdateBuildParams) SetLocationRegionProvider ¶
func (o *PackerServiceUpdateBuildParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service update build params
func (*PackerServiceUpdateBuildParams) SetLocationRegionRegion ¶
func (o *PackerServiceUpdateBuildParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service update build params
func (*PackerServiceUpdateBuildParams) SetTimeout ¶
func (o *PackerServiceUpdateBuildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service update build params
func (*PackerServiceUpdateBuildParams) WithBody ¶
func (o *PackerServiceUpdateBuildParams) WithBody(body *models.HashicorpCloudPacker20230101UpdateBuildBody) *PackerServiceUpdateBuildParams
WithBody adds the body to the packer service update build params
func (*PackerServiceUpdateBuildParams) WithBucketName ¶
func (o *PackerServiceUpdateBuildParams) WithBucketName(bucketName string) *PackerServiceUpdateBuildParams
WithBucketName adds the bucketName to the packer service update build params
func (*PackerServiceUpdateBuildParams) WithBuildID ¶
func (o *PackerServiceUpdateBuildParams) WithBuildID(buildID string) *PackerServiceUpdateBuildParams
WithBuildID adds the buildID to the packer service update build params
func (*PackerServiceUpdateBuildParams) WithContext ¶
func (o *PackerServiceUpdateBuildParams) WithContext(ctx context.Context) *PackerServiceUpdateBuildParams
WithContext adds the context to the packer service update build params
func (*PackerServiceUpdateBuildParams) WithDefaults ¶
func (o *PackerServiceUpdateBuildParams) WithDefaults() *PackerServiceUpdateBuildParams
WithDefaults hydrates default values in the packer service update build params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceUpdateBuildParams) WithFingerprint ¶
func (o *PackerServiceUpdateBuildParams) WithFingerprint(fingerprint string) *PackerServiceUpdateBuildParams
WithFingerprint adds the fingerprint to the packer service update build params
func (*PackerServiceUpdateBuildParams) WithHTTPClient ¶
func (o *PackerServiceUpdateBuildParams) WithHTTPClient(client *http.Client) *PackerServiceUpdateBuildParams
WithHTTPClient adds the HTTPClient to the packer service update build params
func (*PackerServiceUpdateBuildParams) WithLocationOrganizationID ¶
func (o *PackerServiceUpdateBuildParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateBuildParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service update build params
func (*PackerServiceUpdateBuildParams) WithLocationProjectID ¶
func (o *PackerServiceUpdateBuildParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateBuildParams
WithLocationProjectID adds the locationProjectID to the packer service update build params
func (*PackerServiceUpdateBuildParams) WithLocationRegionProvider ¶
func (o *PackerServiceUpdateBuildParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceUpdateBuildParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service update build params
func (*PackerServiceUpdateBuildParams) WithLocationRegionRegion ¶
func (o *PackerServiceUpdateBuildParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceUpdateBuildParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service update build params
func (*PackerServiceUpdateBuildParams) WithTimeout ¶
func (o *PackerServiceUpdateBuildParams) WithTimeout(timeout time.Duration) *PackerServiceUpdateBuildParams
WithTimeout adds the timeout to the packer service update build params
func (*PackerServiceUpdateBuildParams) WriteToRequest ¶
func (o *PackerServiceUpdateBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceUpdateBuildReader ¶
type PackerServiceUpdateBuildReader struct {
// contains filtered or unexported fields
}
PackerServiceUpdateBuildReader is a Reader for the PackerServiceUpdateBuild structure.
func (*PackerServiceUpdateBuildReader) ReadResponse ¶
func (o *PackerServiceUpdateBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceUpdateChannelDefault ¶
type PackerServiceUpdateChannelDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceUpdateChannelDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceUpdateChannelDefault ¶
func NewPackerServiceUpdateChannelDefault(code int) *PackerServiceUpdateChannelDefault
NewPackerServiceUpdateChannelDefault creates a PackerServiceUpdateChannelDefault with default headers values
func (*PackerServiceUpdateChannelDefault) Code ¶
func (o *PackerServiceUpdateChannelDefault) Code() int
Code gets the status code for the packer service update channel default response
func (*PackerServiceUpdateChannelDefault) Error ¶
func (o *PackerServiceUpdateChannelDefault) Error() string
func (*PackerServiceUpdateChannelDefault) GetPayload ¶
func (o *PackerServiceUpdateChannelDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceUpdateChannelDefault) IsClientError ¶
func (o *PackerServiceUpdateChannelDefault) IsClientError() bool
IsClientError returns true when this packer service update channel default response has a 4xx status code
func (*PackerServiceUpdateChannelDefault) IsCode ¶
func (o *PackerServiceUpdateChannelDefault) IsCode(code int) bool
IsCode returns true when this packer service update channel default response a status code equal to that given
func (*PackerServiceUpdateChannelDefault) IsRedirect ¶
func (o *PackerServiceUpdateChannelDefault) IsRedirect() bool
IsRedirect returns true when this packer service update channel default response has a 3xx status code
func (*PackerServiceUpdateChannelDefault) IsServerError ¶
func (o *PackerServiceUpdateChannelDefault) IsServerError() bool
IsServerError returns true when this packer service update channel default response has a 5xx status code
func (*PackerServiceUpdateChannelDefault) IsSuccess ¶
func (o *PackerServiceUpdateChannelDefault) IsSuccess() bool
IsSuccess returns true when this packer service update channel default response has a 2xx status code
func (*PackerServiceUpdateChannelDefault) String ¶
func (o *PackerServiceUpdateChannelDefault) String() string
type PackerServiceUpdateChannelOK ¶
type PackerServiceUpdateChannelOK struct {
Payload *models.HashicorpCloudPacker20230101UpdateChannelResponse
}
PackerServiceUpdateChannelOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceUpdateChannelOK ¶
func NewPackerServiceUpdateChannelOK() *PackerServiceUpdateChannelOK
NewPackerServiceUpdateChannelOK creates a PackerServiceUpdateChannelOK with default headers values
func (*PackerServiceUpdateChannelOK) Code ¶
func (o *PackerServiceUpdateChannelOK) Code() int
Code gets the status code for the packer service update channel o k response
func (*PackerServiceUpdateChannelOK) Error ¶
func (o *PackerServiceUpdateChannelOK) Error() string
func (*PackerServiceUpdateChannelOK) GetPayload ¶
func (o *PackerServiceUpdateChannelOK) GetPayload() *models.HashicorpCloudPacker20230101UpdateChannelResponse
func (*PackerServiceUpdateChannelOK) IsClientError ¶
func (o *PackerServiceUpdateChannelOK) IsClientError() bool
IsClientError returns true when this packer service update channel o k response has a 4xx status code
func (*PackerServiceUpdateChannelOK) IsCode ¶
func (o *PackerServiceUpdateChannelOK) IsCode(code int) bool
IsCode returns true when this packer service update channel o k response a status code equal to that given
func (*PackerServiceUpdateChannelOK) IsRedirect ¶
func (o *PackerServiceUpdateChannelOK) IsRedirect() bool
IsRedirect returns true when this packer service update channel o k response has a 3xx status code
func (*PackerServiceUpdateChannelOK) IsServerError ¶
func (o *PackerServiceUpdateChannelOK) IsServerError() bool
IsServerError returns true when this packer service update channel o k response has a 5xx status code
func (*PackerServiceUpdateChannelOK) IsSuccess ¶
func (o *PackerServiceUpdateChannelOK) IsSuccess() bool
IsSuccess returns true when this packer service update channel o k response has a 2xx status code
func (*PackerServiceUpdateChannelOK) String ¶
func (o *PackerServiceUpdateChannelOK) String() string
type PackerServiceUpdateChannelParams ¶
type PackerServiceUpdateChannelParams struct { // Body. Body *models.HashicorpCloudPacker20230101UpdateChannelBody // BucketName. BucketName string // ChannelName. ChannelName string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceUpdateChannelParams contains all the parameters to send to the API endpoint
for the packer service update channel operation. Typically these are written to a http.Request.
func NewPackerServiceUpdateChannelParams ¶
func NewPackerServiceUpdateChannelParams() *PackerServiceUpdateChannelParams
NewPackerServiceUpdateChannelParams creates a new PackerServiceUpdateChannelParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceUpdateChannelParamsWithContext ¶
func NewPackerServiceUpdateChannelParamsWithContext(ctx context.Context) *PackerServiceUpdateChannelParams
NewPackerServiceUpdateChannelParamsWithContext creates a new PackerServiceUpdateChannelParams object with the ability to set a context for a request.
func NewPackerServiceUpdateChannelParamsWithHTTPClient ¶
func NewPackerServiceUpdateChannelParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateChannelParams
NewPackerServiceUpdateChannelParamsWithHTTPClient creates a new PackerServiceUpdateChannelParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceUpdateChannelParamsWithTimeout ¶
func NewPackerServiceUpdateChannelParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateChannelParams
NewPackerServiceUpdateChannelParamsWithTimeout creates a new PackerServiceUpdateChannelParams object with the ability to set a timeout on a request.
func (*PackerServiceUpdateChannelParams) SetBody ¶
func (o *PackerServiceUpdateChannelParams) SetBody(body *models.HashicorpCloudPacker20230101UpdateChannelBody)
SetBody adds the body to the packer service update channel params
func (*PackerServiceUpdateChannelParams) SetBucketName ¶
func (o *PackerServiceUpdateChannelParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service update channel params
func (*PackerServiceUpdateChannelParams) SetChannelName ¶
func (o *PackerServiceUpdateChannelParams) SetChannelName(channelName string)
SetChannelName adds the channelName to the packer service update channel params
func (*PackerServiceUpdateChannelParams) SetContext ¶
func (o *PackerServiceUpdateChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service update channel params
func (*PackerServiceUpdateChannelParams) SetDefaults ¶
func (o *PackerServiceUpdateChannelParams) SetDefaults()
SetDefaults hydrates default values in the packer service update channel params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceUpdateChannelParams) SetHTTPClient ¶
func (o *PackerServiceUpdateChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service update channel params
func (*PackerServiceUpdateChannelParams) SetLocationOrganizationID ¶
func (o *PackerServiceUpdateChannelParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service update channel params
func (*PackerServiceUpdateChannelParams) SetLocationProjectID ¶
func (o *PackerServiceUpdateChannelParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service update channel params
func (*PackerServiceUpdateChannelParams) SetLocationRegionProvider ¶
func (o *PackerServiceUpdateChannelParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service update channel params
func (*PackerServiceUpdateChannelParams) SetLocationRegionRegion ¶
func (o *PackerServiceUpdateChannelParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service update channel params
func (*PackerServiceUpdateChannelParams) SetTimeout ¶
func (o *PackerServiceUpdateChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service update channel params
func (*PackerServiceUpdateChannelParams) WithBody ¶
func (o *PackerServiceUpdateChannelParams) WithBody(body *models.HashicorpCloudPacker20230101UpdateChannelBody) *PackerServiceUpdateChannelParams
WithBody adds the body to the packer service update channel params
func (*PackerServiceUpdateChannelParams) WithBucketName ¶
func (o *PackerServiceUpdateChannelParams) WithBucketName(bucketName string) *PackerServiceUpdateChannelParams
WithBucketName adds the bucketName to the packer service update channel params
func (*PackerServiceUpdateChannelParams) WithChannelName ¶
func (o *PackerServiceUpdateChannelParams) WithChannelName(channelName string) *PackerServiceUpdateChannelParams
WithChannelName adds the channelName to the packer service update channel params
func (*PackerServiceUpdateChannelParams) WithContext ¶
func (o *PackerServiceUpdateChannelParams) WithContext(ctx context.Context) *PackerServiceUpdateChannelParams
WithContext adds the context to the packer service update channel params
func (*PackerServiceUpdateChannelParams) WithDefaults ¶
func (o *PackerServiceUpdateChannelParams) WithDefaults() *PackerServiceUpdateChannelParams
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 ¶
func (o *PackerServiceUpdateChannelParams) WithHTTPClient(client *http.Client) *PackerServiceUpdateChannelParams
WithHTTPClient adds the HTTPClient to the packer service update channel params
func (*PackerServiceUpdateChannelParams) WithLocationOrganizationID ¶
func (o *PackerServiceUpdateChannelParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateChannelParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service update channel params
func (*PackerServiceUpdateChannelParams) WithLocationProjectID ¶
func (o *PackerServiceUpdateChannelParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateChannelParams
WithLocationProjectID adds the locationProjectID to the packer service update channel params
func (*PackerServiceUpdateChannelParams) WithLocationRegionProvider ¶
func (o *PackerServiceUpdateChannelParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceUpdateChannelParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service update channel params
func (*PackerServiceUpdateChannelParams) WithLocationRegionRegion ¶
func (o *PackerServiceUpdateChannelParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceUpdateChannelParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service update channel params
func (*PackerServiceUpdateChannelParams) WithTimeout ¶
func (o *PackerServiceUpdateChannelParams) WithTimeout(timeout time.Duration) *PackerServiceUpdateChannelParams
WithTimeout adds the timeout to the packer service update channel params
func (*PackerServiceUpdateChannelParams) WriteToRequest ¶
func (o *PackerServiceUpdateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceUpdateChannelReader ¶
type PackerServiceUpdateChannelReader struct {
// contains filtered or unexported fields
}
PackerServiceUpdateChannelReader is a Reader for the PackerServiceUpdateChannel structure.
func (*PackerServiceUpdateChannelReader) ReadResponse ¶
func (o *PackerServiceUpdateChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceUpdateRegistryDefault ¶
type PackerServiceUpdateRegistryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceUpdateRegistryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceUpdateRegistryDefault ¶
func NewPackerServiceUpdateRegistryDefault(code int) *PackerServiceUpdateRegistryDefault
NewPackerServiceUpdateRegistryDefault creates a PackerServiceUpdateRegistryDefault with default headers values
func (*PackerServiceUpdateRegistryDefault) Code ¶
func (o *PackerServiceUpdateRegistryDefault) Code() int
Code gets the status code for the packer service update registry default response
func (*PackerServiceUpdateRegistryDefault) Error ¶
func (o *PackerServiceUpdateRegistryDefault) Error() string
func (*PackerServiceUpdateRegistryDefault) GetPayload ¶
func (o *PackerServiceUpdateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceUpdateRegistryDefault) IsClientError ¶
func (o *PackerServiceUpdateRegistryDefault) IsClientError() bool
IsClientError returns true when this packer service update registry default response has a 4xx status code
func (*PackerServiceUpdateRegistryDefault) IsCode ¶
func (o *PackerServiceUpdateRegistryDefault) IsCode(code int) bool
IsCode returns true when this packer service update registry default response a status code equal to that given
func (*PackerServiceUpdateRegistryDefault) IsRedirect ¶
func (o *PackerServiceUpdateRegistryDefault) IsRedirect() bool
IsRedirect returns true when this packer service update registry default response has a 3xx status code
func (*PackerServiceUpdateRegistryDefault) IsServerError ¶
func (o *PackerServiceUpdateRegistryDefault) IsServerError() bool
IsServerError returns true when this packer service update registry default response has a 5xx status code
func (*PackerServiceUpdateRegistryDefault) IsSuccess ¶
func (o *PackerServiceUpdateRegistryDefault) IsSuccess() bool
IsSuccess returns true when this packer service update registry default response has a 2xx status code
func (*PackerServiceUpdateRegistryDefault) String ¶
func (o *PackerServiceUpdateRegistryDefault) String() string
type PackerServiceUpdateRegistryOK ¶
type PackerServiceUpdateRegistryOK struct {
Payload *models.HashicorpCloudPacker20230101UpdateRegistryResponse
}
PackerServiceUpdateRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceUpdateRegistryOK ¶
func NewPackerServiceUpdateRegistryOK() *PackerServiceUpdateRegistryOK
NewPackerServiceUpdateRegistryOK creates a PackerServiceUpdateRegistryOK with default headers values
func (*PackerServiceUpdateRegistryOK) Code ¶
func (o *PackerServiceUpdateRegistryOK) Code() int
Code gets the status code for the packer service update registry o k response
func (*PackerServiceUpdateRegistryOK) Error ¶
func (o *PackerServiceUpdateRegistryOK) Error() string
func (*PackerServiceUpdateRegistryOK) GetPayload ¶
func (o *PackerServiceUpdateRegistryOK) GetPayload() *models.HashicorpCloudPacker20230101UpdateRegistryResponse
func (*PackerServiceUpdateRegistryOK) IsClientError ¶
func (o *PackerServiceUpdateRegistryOK) IsClientError() bool
IsClientError returns true when this packer service update registry o k response has a 4xx status code
func (*PackerServiceUpdateRegistryOK) IsCode ¶
func (o *PackerServiceUpdateRegistryOK) IsCode(code int) bool
IsCode returns true when this packer service update registry o k response a status code equal to that given
func (*PackerServiceUpdateRegistryOK) IsRedirect ¶
func (o *PackerServiceUpdateRegistryOK) IsRedirect() bool
IsRedirect returns true when this packer service update registry o k response has a 3xx status code
func (*PackerServiceUpdateRegistryOK) IsServerError ¶
func (o *PackerServiceUpdateRegistryOK) IsServerError() bool
IsServerError returns true when this packer service update registry o k response has a 5xx status code
func (*PackerServiceUpdateRegistryOK) IsSuccess ¶
func (o *PackerServiceUpdateRegistryOK) IsSuccess() bool
IsSuccess returns true when this packer service update registry o k response has a 2xx status code
func (*PackerServiceUpdateRegistryOK) String ¶
func (o *PackerServiceUpdateRegistryOK) String() string
type PackerServiceUpdateRegistryParams ¶
type PackerServiceUpdateRegistryParams struct { // Body. Body *models.HashicorpCloudPacker20230101UpdateRegistryBody /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceUpdateRegistryParams contains all the parameters to send to the API endpoint
for the packer service update registry operation. Typically these are written to a http.Request.
func NewPackerServiceUpdateRegistryParams ¶
func NewPackerServiceUpdateRegistryParams() *PackerServiceUpdateRegistryParams
NewPackerServiceUpdateRegistryParams creates a new PackerServiceUpdateRegistryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceUpdateRegistryParamsWithContext ¶
func NewPackerServiceUpdateRegistryParamsWithContext(ctx context.Context) *PackerServiceUpdateRegistryParams
NewPackerServiceUpdateRegistryParamsWithContext creates a new PackerServiceUpdateRegistryParams object with the ability to set a context for a request.
func NewPackerServiceUpdateRegistryParamsWithHTTPClient ¶
func NewPackerServiceUpdateRegistryParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateRegistryParams
NewPackerServiceUpdateRegistryParamsWithHTTPClient creates a new PackerServiceUpdateRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceUpdateRegistryParamsWithTimeout ¶
func NewPackerServiceUpdateRegistryParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateRegistryParams
NewPackerServiceUpdateRegistryParamsWithTimeout creates a new PackerServiceUpdateRegistryParams object with the ability to set a timeout on a request.
func (*PackerServiceUpdateRegistryParams) SetBody ¶
func (o *PackerServiceUpdateRegistryParams) SetBody(body *models.HashicorpCloudPacker20230101UpdateRegistryBody)
SetBody adds the body to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) SetContext ¶
func (o *PackerServiceUpdateRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) SetDefaults ¶
func (o *PackerServiceUpdateRegistryParams) SetDefaults()
SetDefaults hydrates default values in the packer service update registry params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceUpdateRegistryParams) SetHTTPClient ¶
func (o *PackerServiceUpdateRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) SetLocationOrganizationID ¶
func (o *PackerServiceUpdateRegistryParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) SetLocationProjectID ¶
func (o *PackerServiceUpdateRegistryParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) SetLocationRegionProvider ¶
func (o *PackerServiceUpdateRegistryParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) SetLocationRegionRegion ¶
func (o *PackerServiceUpdateRegistryParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) SetTimeout ¶
func (o *PackerServiceUpdateRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) WithBody ¶
func (o *PackerServiceUpdateRegistryParams) WithBody(body *models.HashicorpCloudPacker20230101UpdateRegistryBody) *PackerServiceUpdateRegistryParams
WithBody adds the body to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) WithContext ¶
func (o *PackerServiceUpdateRegistryParams) WithContext(ctx context.Context) *PackerServiceUpdateRegistryParams
WithContext adds the context to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) WithDefaults ¶
func (o *PackerServiceUpdateRegistryParams) WithDefaults() *PackerServiceUpdateRegistryParams
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 ¶
func (o *PackerServiceUpdateRegistryParams) WithHTTPClient(client *http.Client) *PackerServiceUpdateRegistryParams
WithHTTPClient adds the HTTPClient to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) WithLocationOrganizationID ¶
func (o *PackerServiceUpdateRegistryParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateRegistryParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) WithLocationProjectID ¶
func (o *PackerServiceUpdateRegistryParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateRegistryParams
WithLocationProjectID adds the locationProjectID to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) WithLocationRegionProvider ¶
func (o *PackerServiceUpdateRegistryParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceUpdateRegistryParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) WithLocationRegionRegion ¶
func (o *PackerServiceUpdateRegistryParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceUpdateRegistryParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) WithTimeout ¶
func (o *PackerServiceUpdateRegistryParams) WithTimeout(timeout time.Duration) *PackerServiceUpdateRegistryParams
WithTimeout adds the timeout to the packer service update registry params
func (*PackerServiceUpdateRegistryParams) WriteToRequest ¶
func (o *PackerServiceUpdateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceUpdateRegistryReader ¶
type PackerServiceUpdateRegistryReader struct {
// contains filtered or unexported fields
}
PackerServiceUpdateRegistryReader is a Reader for the PackerServiceUpdateRegistry structure.
func (*PackerServiceUpdateRegistryReader) ReadResponse ¶
func (o *PackerServiceUpdateRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PackerServiceUpdateVersionDefault ¶
type PackerServiceUpdateVersionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PackerServiceUpdateVersionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPackerServiceUpdateVersionDefault ¶
func NewPackerServiceUpdateVersionDefault(code int) *PackerServiceUpdateVersionDefault
NewPackerServiceUpdateVersionDefault creates a PackerServiceUpdateVersionDefault with default headers values
func (*PackerServiceUpdateVersionDefault) Code ¶
func (o *PackerServiceUpdateVersionDefault) Code() int
Code gets the status code for the packer service update version default response
func (*PackerServiceUpdateVersionDefault) Error ¶
func (o *PackerServiceUpdateVersionDefault) Error() string
func (*PackerServiceUpdateVersionDefault) GetPayload ¶
func (o *PackerServiceUpdateVersionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PackerServiceUpdateVersionDefault) IsClientError ¶
func (o *PackerServiceUpdateVersionDefault) IsClientError() bool
IsClientError returns true when this packer service update version default response has a 4xx status code
func (*PackerServiceUpdateVersionDefault) IsCode ¶
func (o *PackerServiceUpdateVersionDefault) IsCode(code int) bool
IsCode returns true when this packer service update version default response a status code equal to that given
func (*PackerServiceUpdateVersionDefault) IsRedirect ¶
func (o *PackerServiceUpdateVersionDefault) IsRedirect() bool
IsRedirect returns true when this packer service update version default response has a 3xx status code
func (*PackerServiceUpdateVersionDefault) IsServerError ¶
func (o *PackerServiceUpdateVersionDefault) IsServerError() bool
IsServerError returns true when this packer service update version default response has a 5xx status code
func (*PackerServiceUpdateVersionDefault) IsSuccess ¶
func (o *PackerServiceUpdateVersionDefault) IsSuccess() bool
IsSuccess returns true when this packer service update version default response has a 2xx status code
func (*PackerServiceUpdateVersionDefault) String ¶
func (o *PackerServiceUpdateVersionDefault) String() string
type PackerServiceUpdateVersionOK ¶
type PackerServiceUpdateVersionOK struct {
Payload *models.HashicorpCloudPacker20230101UpdateVersionResponse
}
PackerServiceUpdateVersionOK describes a response with status code 200, with default header values.
A successful response.
func NewPackerServiceUpdateVersionOK ¶
func NewPackerServiceUpdateVersionOK() *PackerServiceUpdateVersionOK
NewPackerServiceUpdateVersionOK creates a PackerServiceUpdateVersionOK with default headers values
func (*PackerServiceUpdateVersionOK) Code ¶
func (o *PackerServiceUpdateVersionOK) Code() int
Code gets the status code for the packer service update version o k response
func (*PackerServiceUpdateVersionOK) Error ¶
func (o *PackerServiceUpdateVersionOK) Error() string
func (*PackerServiceUpdateVersionOK) GetPayload ¶
func (o *PackerServiceUpdateVersionOK) GetPayload() *models.HashicorpCloudPacker20230101UpdateVersionResponse
func (*PackerServiceUpdateVersionOK) IsClientError ¶
func (o *PackerServiceUpdateVersionOK) IsClientError() bool
IsClientError returns true when this packer service update version o k response has a 4xx status code
func (*PackerServiceUpdateVersionOK) IsCode ¶
func (o *PackerServiceUpdateVersionOK) IsCode(code int) bool
IsCode returns true when this packer service update version o k response a status code equal to that given
func (*PackerServiceUpdateVersionOK) IsRedirect ¶
func (o *PackerServiceUpdateVersionOK) IsRedirect() bool
IsRedirect returns true when this packer service update version o k response has a 3xx status code
func (*PackerServiceUpdateVersionOK) IsServerError ¶
func (o *PackerServiceUpdateVersionOK) IsServerError() bool
IsServerError returns true when this packer service update version o k response has a 5xx status code
func (*PackerServiceUpdateVersionOK) IsSuccess ¶
func (o *PackerServiceUpdateVersionOK) IsSuccess() bool
IsSuccess returns true when this packer service update version o k response has a 2xx status code
func (*PackerServiceUpdateVersionOK) String ¶
func (o *PackerServiceUpdateVersionOK) String() string
type PackerServiceUpdateVersionParams ¶
type PackerServiceUpdateVersionParams struct { // Body. Body *models.HashicorpCloudPacker20230101UpdateVersionBody // BucketName. BucketName string // Fingerprint. Fingerprint string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackerServiceUpdateVersionParams contains all the parameters to send to the API endpoint
for the packer service update version operation. Typically these are written to a http.Request.
func NewPackerServiceUpdateVersionParams ¶
func NewPackerServiceUpdateVersionParams() *PackerServiceUpdateVersionParams
NewPackerServiceUpdateVersionParams creates a new PackerServiceUpdateVersionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPackerServiceUpdateVersionParamsWithContext ¶
func NewPackerServiceUpdateVersionParamsWithContext(ctx context.Context) *PackerServiceUpdateVersionParams
NewPackerServiceUpdateVersionParamsWithContext creates a new PackerServiceUpdateVersionParams object with the ability to set a context for a request.
func NewPackerServiceUpdateVersionParamsWithHTTPClient ¶
func NewPackerServiceUpdateVersionParamsWithHTTPClient(client *http.Client) *PackerServiceUpdateVersionParams
NewPackerServiceUpdateVersionParamsWithHTTPClient creates a new PackerServiceUpdateVersionParams object with the ability to set a custom HTTPClient for a request.
func NewPackerServiceUpdateVersionParamsWithTimeout ¶
func NewPackerServiceUpdateVersionParamsWithTimeout(timeout time.Duration) *PackerServiceUpdateVersionParams
NewPackerServiceUpdateVersionParamsWithTimeout creates a new PackerServiceUpdateVersionParams object with the ability to set a timeout on a request.
func (*PackerServiceUpdateVersionParams) SetBody ¶
func (o *PackerServiceUpdateVersionParams) SetBody(body *models.HashicorpCloudPacker20230101UpdateVersionBody)
SetBody adds the body to the packer service update version params
func (*PackerServiceUpdateVersionParams) SetBucketName ¶
func (o *PackerServiceUpdateVersionParams) SetBucketName(bucketName string)
SetBucketName adds the bucketName to the packer service update version params
func (*PackerServiceUpdateVersionParams) SetContext ¶
func (o *PackerServiceUpdateVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the packer service update version params
func (*PackerServiceUpdateVersionParams) SetDefaults ¶
func (o *PackerServiceUpdateVersionParams) SetDefaults()
SetDefaults hydrates default values in the packer service update version params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceUpdateVersionParams) SetFingerprint ¶
func (o *PackerServiceUpdateVersionParams) SetFingerprint(fingerprint string)
SetFingerprint adds the fingerprint to the packer service update version params
func (*PackerServiceUpdateVersionParams) SetHTTPClient ¶
func (o *PackerServiceUpdateVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the packer service update version params
func (*PackerServiceUpdateVersionParams) SetLocationOrganizationID ¶
func (o *PackerServiceUpdateVersionParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the packer service update version params
func (*PackerServiceUpdateVersionParams) SetLocationProjectID ¶
func (o *PackerServiceUpdateVersionParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the packer service update version params
func (*PackerServiceUpdateVersionParams) SetLocationRegionProvider ¶
func (o *PackerServiceUpdateVersionParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the packer service update version params
func (*PackerServiceUpdateVersionParams) SetLocationRegionRegion ¶
func (o *PackerServiceUpdateVersionParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the packer service update version params
func (*PackerServiceUpdateVersionParams) SetTimeout ¶
func (o *PackerServiceUpdateVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the packer service update version params
func (*PackerServiceUpdateVersionParams) WithBody ¶
func (o *PackerServiceUpdateVersionParams) WithBody(body *models.HashicorpCloudPacker20230101UpdateVersionBody) *PackerServiceUpdateVersionParams
WithBody adds the body to the packer service update version params
func (*PackerServiceUpdateVersionParams) WithBucketName ¶
func (o *PackerServiceUpdateVersionParams) WithBucketName(bucketName string) *PackerServiceUpdateVersionParams
WithBucketName adds the bucketName to the packer service update version params
func (*PackerServiceUpdateVersionParams) WithContext ¶
func (o *PackerServiceUpdateVersionParams) WithContext(ctx context.Context) *PackerServiceUpdateVersionParams
WithContext adds the context to the packer service update version params
func (*PackerServiceUpdateVersionParams) WithDefaults ¶
func (o *PackerServiceUpdateVersionParams) WithDefaults() *PackerServiceUpdateVersionParams
WithDefaults hydrates default values in the packer service update version params (not the query body).
All values with no default are reset to their zero value.
func (*PackerServiceUpdateVersionParams) WithFingerprint ¶
func (o *PackerServiceUpdateVersionParams) WithFingerprint(fingerprint string) *PackerServiceUpdateVersionParams
WithFingerprint adds the fingerprint to the packer service update version params
func (*PackerServiceUpdateVersionParams) WithHTTPClient ¶
func (o *PackerServiceUpdateVersionParams) WithHTTPClient(client *http.Client) *PackerServiceUpdateVersionParams
WithHTTPClient adds the HTTPClient to the packer service update version params
func (*PackerServiceUpdateVersionParams) WithLocationOrganizationID ¶
func (o *PackerServiceUpdateVersionParams) WithLocationOrganizationID(locationOrganizationID string) *PackerServiceUpdateVersionParams
WithLocationOrganizationID adds the locationOrganizationID to the packer service update version params
func (*PackerServiceUpdateVersionParams) WithLocationProjectID ¶
func (o *PackerServiceUpdateVersionParams) WithLocationProjectID(locationProjectID string) *PackerServiceUpdateVersionParams
WithLocationProjectID adds the locationProjectID to the packer service update version params
func (*PackerServiceUpdateVersionParams) WithLocationRegionProvider ¶
func (o *PackerServiceUpdateVersionParams) WithLocationRegionProvider(locationRegionProvider *string) *PackerServiceUpdateVersionParams
WithLocationRegionProvider adds the locationRegionProvider to the packer service update version params
func (*PackerServiceUpdateVersionParams) WithLocationRegionRegion ¶
func (o *PackerServiceUpdateVersionParams) WithLocationRegionRegion(locationRegionRegion *string) *PackerServiceUpdateVersionParams
WithLocationRegionRegion adds the locationRegionRegion to the packer service update version params
func (*PackerServiceUpdateVersionParams) WithTimeout ¶
func (o *PackerServiceUpdateVersionParams) WithTimeout(timeout time.Duration) *PackerServiceUpdateVersionParams
WithTimeout adds the timeout to the packer service update version params
func (*PackerServiceUpdateVersionParams) WriteToRequest ¶
func (o *PackerServiceUpdateVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackerServiceUpdateVersionReader ¶
type PackerServiceUpdateVersionReader struct {
// contains filtered or unexported fields
}
PackerServiceUpdateVersionReader is a Reader for the PackerServiceUpdateVersion structure.
func (*PackerServiceUpdateVersionReader) ReadResponse ¶
func (o *PackerServiceUpdateVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- packer_service_client.go
- packer_service_create_bucket_parameters.go
- packer_service_create_bucket_responses.go
- packer_service_create_build_parameters.go
- packer_service_create_build_responses.go
- packer_service_create_channel_parameters.go
- packer_service_create_channel_responses.go
- packer_service_create_registry_parameters.go
- packer_service_create_registry_responses.go
- packer_service_create_version_parameters.go
- packer_service_create_version_responses.go
- packer_service_delete_bucket_parameters.go
- packer_service_delete_bucket_responses.go
- packer_service_delete_build_parameters.go
- packer_service_delete_build_responses.go
- packer_service_delete_channel_parameters.go
- packer_service_delete_channel_responses.go
- packer_service_delete_registry_parameters.go
- packer_service_delete_registry_responses.go
- packer_service_delete_version_parameters.go
- packer_service_delete_version_responses.go
- packer_service_get_bucket_parameters.go
- packer_service_get_bucket_responses.go
- packer_service_get_build_parameters.go
- packer_service_get_build_responses.go
- packer_service_get_channel_parameters.go
- packer_service_get_channel_responses.go
- packer_service_get_registry_parameters.go
- packer_service_get_registry_responses.go
- packer_service_get_registry_t_f_c_run_task_api_parameters.go
- packer_service_get_registry_t_f_c_run_task_api_responses.go
- packer_service_get_version_parameters.go
- packer_service_get_version_responses.go
- packer_service_list_bucket_ancestry_parameters.go
- packer_service_list_bucket_ancestry_responses.go
- packer_service_list_buckets_parameters.go
- packer_service_list_buckets_responses.go
- packer_service_list_builds_parameters.go
- packer_service_list_builds_responses.go
- packer_service_list_channel_assignment_history_parameters.go
- packer_service_list_channel_assignment_history_responses.go
- packer_service_list_channels_parameters.go
- packer_service_list_channels_responses.go
- packer_service_list_versions_parameters.go
- packer_service_list_versions_responses.go
- packer_service_regenerate_t_f_c_run_task_hmac_key_parameters.go
- packer_service_regenerate_t_f_c_run_task_hmac_key_responses.go
- packer_service_update_bucket_parameters.go
- packer_service_update_bucket_responses.go
- packer_service_update_build_parameters.go
- packer_service_update_build_responses.go
- packer_service_update_channel_parameters.go
- packer_service_update_channel_responses.go
- packer_service_update_registry_parameters.go
- packer_service_update_registry_responses.go
- packer_service_update_version_parameters.go
- packer_service_update_version_responses.go