Update osbuild/images v0.59.0
Pulling in: - https://github.com/osbuild/images/pull/650 - https://github.com/osbuild/images/pull/651
This commit is contained in:
parent
57f701587d
commit
cf75093163
9 changed files with 357 additions and 22 deletions
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
|
|
@ -5,4 +5,4 @@ package aws
|
|||
const SDKName = "aws-sdk-go"
|
||||
|
||||
// SDKVersion is the version of this SDK
|
||||
const SDKVersion = "1.52.0"
|
||||
const SDKVersion = "1.52.1"
|
||||
|
|
|
|||
255
vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
generated
vendored
255
vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
generated
vendored
|
|
@ -41430,6 +41430,80 @@ func (c *EC2) GetInstanceMetadataDefaultsWithContext(ctx aws.Context, input *Get
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opGetInstanceTpmEkPub = "GetInstanceTpmEkPub"
|
||||
|
||||
// GetInstanceTpmEkPubRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetInstanceTpmEkPub operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See GetInstanceTpmEkPub for more information on using the GetInstanceTpmEkPub
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// // Example sending a request using the GetInstanceTpmEkPubRequest method.
|
||||
// req, resp := client.GetInstanceTpmEkPubRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceTpmEkPub
|
||||
func (c *EC2) GetInstanceTpmEkPubRequest(input *GetInstanceTpmEkPubInput) (req *request.Request, output *GetInstanceTpmEkPubOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetInstanceTpmEkPub,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &GetInstanceTpmEkPubInput{}
|
||||
}
|
||||
|
||||
output = &GetInstanceTpmEkPubOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// GetInstanceTpmEkPub API operation for Amazon Elastic Compute Cloud.
|
||||
//
|
||||
// Gets the public endorsement key associated with the Nitro Trusted Platform
|
||||
// Module (NitroTPM) for the specified instance.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for Amazon Elastic Compute Cloud's
|
||||
// API operation GetInstanceTpmEkPub for usage and error information.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceTpmEkPub
|
||||
func (c *EC2) GetInstanceTpmEkPub(input *GetInstanceTpmEkPubInput) (*GetInstanceTpmEkPubOutput, error) {
|
||||
req, out := c.GetInstanceTpmEkPubRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// GetInstanceTpmEkPubWithContext is the same as GetInstanceTpmEkPub with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See GetInstanceTpmEkPub for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *EC2) GetInstanceTpmEkPubWithContext(ctx aws.Context, input *GetInstanceTpmEkPubInput, opts ...request.Option) (*GetInstanceTpmEkPubOutput, error) {
|
||||
req, out := c.GetInstanceTpmEkPubRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opGetInstanceTypesFromInstanceRequirements = "GetInstanceTypesFromInstanceRequirements"
|
||||
|
||||
// GetInstanceTypesFromInstanceRequirementsRequest generates a "aws/request.Request" representing the
|
||||
|
|
@ -126617,6 +126691,155 @@ func (s *GetInstanceMetadataDefaultsOutput) SetAccountLevel(v *InstanceMetadataD
|
|||
return s
|
||||
}
|
||||
|
||||
type GetInstanceTpmEkPubInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Specify this parameter to verify whether the request will succeed, without
|
||||
// actually making the request. If the request will succeed, the response is
|
||||
// DryRunOperation. Otherwise, the response is UnauthorizedOperation.
|
||||
DryRun *bool `type:"boolean"`
|
||||
|
||||
// The ID of the instance for which to get the public endorsement key.
|
||||
//
|
||||
// InstanceId is a required field
|
||||
InstanceId *string `type:"string" required:"true"`
|
||||
|
||||
// The required public endorsement key format. Specify der for a DER-encoded
|
||||
// public key that is compatible with OpenSSL. Specify tpmt for a TPM 2.0 format
|
||||
// that is compatible with tpm2-tools. The returned key is base64 encoded.
|
||||
//
|
||||
// KeyFormat is a required field
|
||||
KeyFormat *string `type:"string" required:"true" enum:"EkPubKeyFormat"`
|
||||
|
||||
// The required public endorsement key type.
|
||||
//
|
||||
// KeyType is a required field
|
||||
KeyType *string `type:"string" required:"true" enum:"EkPubKeyType"`
|
||||
}
|
||||
|
||||
// String returns the string representation.
|
||||
//
|
||||
// API parameter values that are decorated as "sensitive" in the API will not
|
||||
// be included in the string output. The member name will be present, but the
|
||||
// value will be replaced with "sensitive".
|
||||
func (s GetInstanceTpmEkPubInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation.
|
||||
//
|
||||
// API parameter values that are decorated as "sensitive" in the API will not
|
||||
// be included in the string output. The member name will be present, but the
|
||||
// value will be replaced with "sensitive".
|
||||
func (s GetInstanceTpmEkPubInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *GetInstanceTpmEkPubInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "GetInstanceTpmEkPubInput"}
|
||||
if s.InstanceId == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("InstanceId"))
|
||||
}
|
||||
if s.KeyFormat == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("KeyFormat"))
|
||||
}
|
||||
if s.KeyType == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("KeyType"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetDryRun sets the DryRun field's value.
|
||||
func (s *GetInstanceTpmEkPubInput) SetDryRun(v bool) *GetInstanceTpmEkPubInput {
|
||||
s.DryRun = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetInstanceId sets the InstanceId field's value.
|
||||
func (s *GetInstanceTpmEkPubInput) SetInstanceId(v string) *GetInstanceTpmEkPubInput {
|
||||
s.InstanceId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetKeyFormat sets the KeyFormat field's value.
|
||||
func (s *GetInstanceTpmEkPubInput) SetKeyFormat(v string) *GetInstanceTpmEkPubInput {
|
||||
s.KeyFormat = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetKeyType sets the KeyType field's value.
|
||||
func (s *GetInstanceTpmEkPubInput) SetKeyType(v string) *GetInstanceTpmEkPubInput {
|
||||
s.KeyType = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type GetInstanceTpmEkPubOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The ID of the instance.
|
||||
InstanceId *string `locationName:"instanceId" type:"string"`
|
||||
|
||||
// The public endorsement key format.
|
||||
KeyFormat *string `locationName:"keyFormat" type:"string" enum:"EkPubKeyFormat"`
|
||||
|
||||
// The public endorsement key type.
|
||||
KeyType *string `locationName:"keyType" type:"string" enum:"EkPubKeyType"`
|
||||
|
||||
// The public endorsement key material.
|
||||
//
|
||||
// KeyValue is a sensitive parameter and its value will be
|
||||
// replaced with "sensitive" in string returned by GetInstanceTpmEkPubOutput's
|
||||
// String and GoString methods.
|
||||
KeyValue *string `locationName:"keyValue" type:"string" sensitive:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation.
|
||||
//
|
||||
// API parameter values that are decorated as "sensitive" in the API will not
|
||||
// be included in the string output. The member name will be present, but the
|
||||
// value will be replaced with "sensitive".
|
||||
func (s GetInstanceTpmEkPubOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation.
|
||||
//
|
||||
// API parameter values that are decorated as "sensitive" in the API will not
|
||||
// be included in the string output. The member name will be present, but the
|
||||
// value will be replaced with "sensitive".
|
||||
func (s GetInstanceTpmEkPubOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetInstanceId sets the InstanceId field's value.
|
||||
func (s *GetInstanceTpmEkPubOutput) SetInstanceId(v string) *GetInstanceTpmEkPubOutput {
|
||||
s.InstanceId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetKeyFormat sets the KeyFormat field's value.
|
||||
func (s *GetInstanceTpmEkPubOutput) SetKeyFormat(v string) *GetInstanceTpmEkPubOutput {
|
||||
s.KeyFormat = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetKeyType sets the KeyType field's value.
|
||||
func (s *GetInstanceTpmEkPubOutput) SetKeyType(v string) *GetInstanceTpmEkPubOutput {
|
||||
s.KeyType = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetKeyValue sets the KeyValue field's value.
|
||||
func (s *GetInstanceTpmEkPubOutput) SetKeyValue(v string) *GetInstanceTpmEkPubOutput {
|
||||
s.KeyValue = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type GetInstanceTypesFromInstanceRequirementsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
@ -192751,6 +192974,38 @@ func Ec2InstanceConnectEndpointState_Values() []string {
|
|||
}
|
||||
}
|
||||
|
||||
const (
|
||||
// EkPubKeyFormatDer is a EkPubKeyFormat enum value
|
||||
EkPubKeyFormatDer = "der"
|
||||
|
||||
// EkPubKeyFormatTpmt is a EkPubKeyFormat enum value
|
||||
EkPubKeyFormatTpmt = "tpmt"
|
||||
)
|
||||
|
||||
// EkPubKeyFormat_Values returns all elements of the EkPubKeyFormat enum
|
||||
func EkPubKeyFormat_Values() []string {
|
||||
return []string{
|
||||
EkPubKeyFormatDer,
|
||||
EkPubKeyFormatTpmt,
|
||||
}
|
||||
}
|
||||
|
||||
const (
|
||||
// EkPubKeyTypeRsa2048 is a EkPubKeyType enum value
|
||||
EkPubKeyTypeRsa2048 = "rsa-2048"
|
||||
|
||||
// EkPubKeyTypeEccSecP384 is a EkPubKeyType enum value
|
||||
EkPubKeyTypeEccSecP384 = "ecc-sec-p384"
|
||||
)
|
||||
|
||||
// EkPubKeyType_Values returns all elements of the EkPubKeyType enum
|
||||
func EkPubKeyType_Values() []string {
|
||||
return []string{
|
||||
EkPubKeyTypeRsa2048,
|
||||
EkPubKeyTypeEccSecP384,
|
||||
}
|
||||
}
|
||||
|
||||
const (
|
||||
// ElasticGpuStateAttached is a ElasticGpuState enum value
|
||||
ElasticGpuStateAttached = "ATTACHED"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue