composer

package
v0.0.0-...-fd19b33 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package composer provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Generated OpenAPI clients for the Composer service.

Index

Constants

View Source
const (
	BearerScopes = "Bearer.Scopes"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSEC2CloneCompose

type AWSEC2CloneCompose struct {
	Region            string    `json:"region"`
	ShareWithAccounts *[]string `json:"share_with_accounts,omitempty"`
}

AWSEC2CloneCompose defines model for AWSEC2CloneCompose.

type AWSEC2UploadOptions

type AWSEC2UploadOptions struct {
	Region            string   `json:"region"`
	ShareWithAccounts []string `json:"share_with_accounts"`
	SnapshotName      *string  `json:"snapshot_name,omitempty"`
}

AWSEC2UploadOptions defines model for AWSEC2UploadOptions.

type AWSEC2UploadStatus

type AWSEC2UploadStatus struct {
	Ami    string `json:"ami"`
	Region string `json:"region"`
}

AWSEC2UploadStatus defines model for AWSEC2UploadStatus.

type AWSS3UploadOptions

type AWSS3UploadOptions struct {
	// Public If set to false (the default value), a long, obfuscated URL
	// is returned. Its expiration might be sooner than for other upload
	// targets.
	//
	// If set to true, a shorter URL is returned and
	// its expiration is the same as for the other upload targets.
	Public *bool  `json:"public,omitempty"`
	Region string `json:"region"`
}

AWSS3UploadOptions defines model for AWSS3UploadOptions.

type AWSS3UploadStatus

type AWSS3UploadStatus struct {
	Url string `json:"url"`
}

AWSS3UploadStatus defines model for AWSS3UploadStatus.

type AzureUploadOptions

type AzureUploadOptions struct {
	// HyperVGeneration Choose the VM Image HyperV generation, different features on Azure are available
	// depending on the HyperV generation.
	HyperVGeneration *AzureUploadOptionsHyperVGeneration `json:"hyper_v_generation,omitempty"`

	// ImageName Name of the uploaded image. It must be unique in the given resource group.
	// If name is omitted from the request, a random one based on a UUID is
	// generated.
	ImageName *string `json:"image_name,omitempty"`

	// Location Location of the provided resource_group, where the image should be uploaded and registered.
	// How to list all locations:
	// https://docs.microsoft.com/en-us/cli/azure/account?view=azure-cli-latest#az_account_list_locations'
	// If the location is not specified, it is deducted from the provided resource_group.
	Location *string `json:"location,omitempty"`

	// ResourceGroup Name of the resource group where the image should be uploaded.
	ResourceGroup string `json:"resource_group"`

	// SubscriptionId ID of subscription where the image should be uploaded.
	SubscriptionId string `json:"subscription_id"`

	// TenantId ID of the tenant where the image should be uploaded.
	// How to find it in the Azure Portal:
	// https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-how-to-find-tenant
	TenantId string `json:"tenant_id"`
}

AzureUploadOptions defines model for AzureUploadOptions.

type AzureUploadOptionsHyperVGeneration

type AzureUploadOptionsHyperVGeneration string

AzureUploadOptionsHyperVGeneration Choose the VM Image HyperV generation, different features on Azure are available depending on the HyperV generation.

Defines values for AzureUploadOptionsHyperVGeneration.

type AzureUploadStatus

type AzureUploadStatus struct {
	ImageName string `json:"image_name"`
}

AzureUploadStatus defines model for AzureUploadStatus.

type Blueprint

type Blueprint struct {
	// Containers Container images to embed into the final artfact
	Containers     *[]Container             `json:"containers,omitempty"`
	Customizations *BlueprintCustomizations `json:"customizations,omitempty"`
	Description    *string                  `json:"description,omitempty"`

	// Distro The distribution to use for the compose. If left empty the host
	// distro will be used.
	Distro *string `json:"distro,omitempty"`

	// Groups Package groups to be installed
	Groups *[]PackageGroup `json:"groups,omitempty"`

	// Modules An alias for packages, retained for backwards compatability
	Modules *[]Package `json:"modules,omitempty"`
	Name    string     `json:"name"`

	// Packages Packages to be installed
	Packages *[]Package `json:"packages,omitempty"`

	// Version A semver version number
	Version *string `json:"version,omitempty"`
}

Blueprint defines model for Blueprint.

type BlueprintCustomizations

type BlueprintCustomizations struct {
	// Directories Directories to create in the final artifact
	Directories *[]Directory `json:"directories,omitempty"`

	// Fdo FIDO device onboard configuration
	Fdo *FDO `json:"fdo,omitempty"`

	// Files Files to create in the final artifact
	Files *[]BlueprintFile `json:"files,omitempty"`

	// Filesystem List of filesystem mountpoints to create
	Filesystem *[]BlueprintFilesystem `json:"filesystem,omitempty"`

	// Fips Enable FIPS mode
	Fips *bool `json:"fips,omitempty"`

	// Firewall Firewalld configuration
	Firewall *BlueprintFirewall `json:"firewall,omitempty"`

	// Group List of groups to create
	Group *[]Group `json:"group,omitempty"`

	// Hostname Configures the hostname
	Hostname *string `json:"hostname,omitempty"`

	// Ignition Ignition configuration
	Ignition *Ignition `json:"ignition,omitempty"`

	// InstallationDevice Name of the installation device, currently only useful for the edge-simplified-installer type
	InstallationDevice *string    `json:"installation_device,omitempty"`
	Installer          *Installer `json:"installer,omitempty"`
	Kernel             *Kernel    `json:"kernel,omitempty"`

	// Locale Locale configuration
	Locale   *Locale            `json:"locale,omitempty"`
	Openscap *BlueprintOpenSCAP `json:"openscap,omitempty"`

	// PartitioningMode Select how the disk image will be partitioned. 'auto-lvm' will use raw unless
	// there are one or more mountpoints in which case it will use LVM. 'lvm' always
	// uses LVM, even when there are no extra mountpoints. 'raw' uses raw partitions
	// even when there are one or more mountpoints.
	PartitioningMode *BlueprintCustomizationsPartitioningMode `json:"partitioning_mode,omitempty"`

	// Repositories Repositories to write to /etc/yum.repos.d/ in the final image. Note
	// that these are not used at build time.
	Repositories *[]BlueprintRepository `json:"repositories,omitempty"`
	Rhsm         *RHSMCustomization     `json:"rhsm,omitempty"`
	Rpm          *RPMCustomization      `json:"rpm,omitempty"`
	Services     *Services              `json:"services,omitempty"`

	// Sshkey List of ssh keys
	Sshkey *[]SSHKey `json:"sshkey,omitempty"`

	// Timezone Timezone configuration
	Timezone *Timezone `json:"timezone,omitempty"`

	// User List of users to create
	User *[]BlueprintUser `json:"user,omitempty"`
}

BlueprintCustomizations defines model for BlueprintCustomizations.

type BlueprintCustomizationsPartitioningMode

type BlueprintCustomizationsPartitioningMode string

BlueprintCustomizationsPartitioningMode Select how the disk image will be partitioned. 'auto-lvm' will use raw unless there are one or more mountpoints in which case it will use LVM. 'lvm' always uses LVM, even when there are no extra mountpoints. 'raw' uses raw partitions even when there are one or more mountpoints.

const (
	BlueprintCustomizationsPartitioningModeAutoLvm BlueprintCustomizationsPartitioningMode = "auto-lvm"
	BlueprintCustomizationsPartitioningModeLvm     BlueprintCustomizationsPartitioningMode = "lvm"
	BlueprintCustomizationsPartitioningModeRaw     BlueprintCustomizationsPartitioningMode = "raw"
)

Defines values for BlueprintCustomizationsPartitioningMode.

type BlueprintFile

type BlueprintFile struct {
	// Data Contents of the file as plain text
	Data *string `json:"data,omitempty"`

	// Group Group of the file as a gid or a group name
	Group *BlueprintFile_Group `json:"group,omitempty"`

	// Mode Permissions string for the file in octal format
	Mode *string `json:"mode,omitempty"`

	// Path Path to the file
	Path string `json:"path"`

	// User Owner of the file as a uid or a user name
	User *BlueprintFile_User `json:"user,omitempty"`
}

BlueprintFile A custom file to create in the final artifact.

type BlueprintFileGroup0

type BlueprintFileGroup0 = string

BlueprintFileGroup0 defines model for .

type BlueprintFileGroup1

type BlueprintFileGroup1 = int

BlueprintFileGroup1 defines model for .

type BlueprintFileUser0

type BlueprintFileUser0 = string

BlueprintFileUser0 defines model for .

type BlueprintFileUser1

type BlueprintFileUser1 = int

BlueprintFileUser1 defines model for .

type BlueprintFile_Group

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

BlueprintFile_Group Group of the file as a gid or a group name

func (BlueprintFile_Group) AsBlueprintFileGroup0

func (t BlueprintFile_Group) AsBlueprintFileGroup0() (BlueprintFileGroup0, error)

AsBlueprintFileGroup0 returns the union data inside the BlueprintFile_Group as a BlueprintFileGroup0

func (BlueprintFile_Group) AsBlueprintFileGroup1

func (t BlueprintFile_Group) AsBlueprintFileGroup1() (BlueprintFileGroup1, error)

AsBlueprintFileGroup1 returns the union data inside the BlueprintFile_Group as a BlueprintFileGroup1

func (*BlueprintFile_Group) FromBlueprintFileGroup0

func (t *BlueprintFile_Group) FromBlueprintFileGroup0(v BlueprintFileGroup0) error

FromBlueprintFileGroup0 overwrites any union data inside the BlueprintFile_Group as the provided BlueprintFileGroup0

func (*BlueprintFile_Group) FromBlueprintFileGroup1

func (t *BlueprintFile_Group) FromBlueprintFileGroup1(v BlueprintFileGroup1) error

FromBlueprintFileGroup1 overwrites any union data inside the BlueprintFile_Group as the provided BlueprintFileGroup1

func (BlueprintFile_Group) MarshalJSON

func (t BlueprintFile_Group) MarshalJSON() ([]byte, error)

func (*BlueprintFile_Group) MergeBlueprintFileGroup0

func (t *BlueprintFile_Group) MergeBlueprintFileGroup0(v BlueprintFileGroup0) error

MergeBlueprintFileGroup0 performs a merge with any union data inside the BlueprintFile_Group, using the provided BlueprintFileGroup0

func (*BlueprintFile_Group) MergeBlueprintFileGroup1

func (t *BlueprintFile_Group) MergeBlueprintFileGroup1(v BlueprintFileGroup1) error

MergeBlueprintFileGroup1 performs a merge with any union data inside the BlueprintFile_Group, using the provided BlueprintFileGroup1

func (*BlueprintFile_Group) UnmarshalJSON

func (t *BlueprintFile_Group) UnmarshalJSON(b []byte) error

type BlueprintFile_User

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

BlueprintFile_User Owner of the file as a uid or a user name

func (BlueprintFile_User) AsBlueprintFileUser0

func (t BlueprintFile_User) AsBlueprintFileUser0() (BlueprintFileUser0, error)

AsBlueprintFileUser0 returns the union data inside the BlueprintFile_User as a BlueprintFileUser0

func (BlueprintFile_User) AsBlueprintFileUser1

func (t BlueprintFile_User) AsBlueprintFileUser1() (BlueprintFileUser1, error)

AsBlueprintFileUser1 returns the union data inside the BlueprintFile_User as a BlueprintFileUser1

func (*BlueprintFile_User) FromBlueprintFileUser0

func (t *BlueprintFile_User) FromBlueprintFileUser0(v BlueprintFileUser0) error

FromBlueprintFileUser0 overwrites any union data inside the BlueprintFile_User as the provided BlueprintFileUser0

func (*BlueprintFile_User) FromBlueprintFileUser1

func (t *BlueprintFile_User) FromBlueprintFileUser1(v BlueprintFileUser1) error

FromBlueprintFileUser1 overwrites any union data inside the BlueprintFile_User as the provided BlueprintFileUser1

func (BlueprintFile_User) MarshalJSON

func (t BlueprintFile_User) MarshalJSON() ([]byte, error)

func (*BlueprintFile_User) MergeBlueprintFileUser0

func (t *BlueprintFile_User) MergeBlueprintFileUser0(v BlueprintFileUser0) error

MergeBlueprintFileUser0 performs a merge with any union data inside the BlueprintFile_User, using the provided BlueprintFileUser0

func (*BlueprintFile_User) MergeBlueprintFileUser1

func (t *BlueprintFile_User) MergeBlueprintFileUser1(v BlueprintFileUser1) error

MergeBlueprintFileUser1 performs a merge with any union data inside the BlueprintFile_User, using the provided BlueprintFileUser1

func (*BlueprintFile_User) UnmarshalJSON

func (t *BlueprintFile_User) UnmarshalJSON(b []byte) error

type BlueprintFilesystem

type BlueprintFilesystem struct {
	// Minsize size of the filesystem in bytes
	Minsize    uint64 `json:"minsize"`
	Mountpoint string `json:"mountpoint"`
}

BlueprintFilesystem defines model for BlueprintFilesystem.

type BlueprintFirewall

type BlueprintFirewall struct {
	// Ports List of ports (or port ranges) and protocols to open
	Ports *[]string `json:"ports,omitempty"`

	// Services Firewalld services to enable or disable
	Services *FirewallServices `json:"services,omitempty"`
	Zones    *[]FirewallZones  `json:"zones,omitempty"`
}

BlueprintFirewall Firewalld configuration

type BlueprintOpenSCAP

type BlueprintOpenSCAP struct {
	Datastream    *string                `json:"datastream,omitempty"`
	JsonTailoring *OpenSCAPJSONTailoring `json:"json_tailoring,omitempty"`

	// PolicyId Puts a specified policy ID in the RHSM facts, so that any instances registered to
	// insights will be automatically connected to the compliance policy in the console.
	PolicyId  *openapi_types.UUID `json:"policy_id,omitempty"`
	ProfileId string              `json:"profile_id"`
	Tailoring *OpenSCAPTailoring  `json:"tailoring,omitempty"`
}

BlueprintOpenSCAP defines model for BlueprintOpenSCAP.

type BlueprintRepository

type BlueprintRepository struct {
	Baseurls   *[]string `json:"baseurls,omitempty"`
	Enabled    *bool     `json:"enabled,omitempty"`
	Filename   *string   `json:"filename,omitempty"`
	Gpgcheck   *bool     `json:"gpgcheck,omitempty"`
	Gpgkeys    *[]string `json:"gpgkeys,omitempty"`
	Id         string    `json:"id"`
	Metalink   *string   `json:"metalink,omitempty"`
	Mirrorlist *string   `json:"mirrorlist,omitempty"`

	// ModuleHotfixes Disables modularity filtering for this repository.
	ModuleHotfixes *bool   `json:"module_hotfixes,omitempty"`
	Name           *string `json:"name,omitempty"`
	Priority       *int    `json:"priority,omitempty"`
	RepoGpgcheck   *bool   `json:"repo_gpgcheck,omitempty"`
	Sslverify      *bool   `json:"sslverify,omitempty"`
}

BlueprintRepository defines model for BlueprintRepository.

type BlueprintUser

type BlueprintUser struct {
	Description *string `json:"description,omitempty"`

	// Gid Group id to use instead of the default
	Gid *int `json:"gid,omitempty"`

	// Groups A list of additional groups to add the user to
	Groups *[]string `json:"groups,omitempty"`

	// Home The user's home directory
	Home *string `json:"home,omitempty"`

	// Key ssh public key
	Key  *string `json:"key,omitempty"`
	Name string  `json:"name"`

	// Password If the password starts with $6$, $5$, or $2b$ it will be stored as
	// an encrypted password. Otherwise it will be treated as a plain text
	// password.
	Password *string `json:"password,omitempty"`

	// Shell Login shell to use
	Shell *string `json:"shell,omitempty"`

	// Uid User id to use instead of the default
	Uid *int `json:"uid,omitempty"`
}

BlueprintUser defines model for BlueprintUser.

type CloneComposeBody

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

CloneComposeBody defines model for CloneComposeBody.

func (CloneComposeBody) AsAWSEC2CloneCompose

func (t CloneComposeBody) AsAWSEC2CloneCompose() (AWSEC2CloneCompose, error)

AsAWSEC2CloneCompose returns the union data inside the CloneComposeBody as a AWSEC2CloneCompose

func (*CloneComposeBody) FromAWSEC2CloneCompose

func (t *CloneComposeBody) FromAWSEC2CloneCompose(v AWSEC2CloneCompose) error

FromAWSEC2CloneCompose overwrites any union data inside the CloneComposeBody as the provided AWSEC2CloneCompose

func (CloneComposeBody) MarshalJSON

func (t CloneComposeBody) MarshalJSON() ([]byte, error)

func (*CloneComposeBody) MergeAWSEC2CloneCompose

func (t *CloneComposeBody) MergeAWSEC2CloneCompose(v AWSEC2CloneCompose) error

MergeAWSEC2CloneCompose performs a merge with any union data inside the CloneComposeBody, using the provided AWSEC2CloneCompose

func (*CloneComposeBody) UnmarshalJSON

func (t *CloneComposeBody) UnmarshalJSON(b []byte) error

type CloneComposeResponse

type CloneComposeResponse struct {
	Href string             `json:"href"`
	Id   openapi_types.UUID `json:"id"`
	Kind string             `json:"kind"`
}

CloneComposeResponse defines model for CloneComposeResponse.

type CloneStatus

type CloneStatus struct {
	Href    string              `json:"href"`
	Id      string              `json:"id"`
	Kind    string              `json:"kind"`
	Options CloneStatus_Options `json:"options"`
	Status  UploadStatusValue   `json:"status"`
	Type    UploadTypes         `json:"type"`
}

CloneStatus defines model for CloneStatus.

type CloneStatus_Options

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

CloneStatus_Options defines model for CloneStatus.Options.

func (CloneStatus_Options) AsAWSEC2UploadStatus

func (t CloneStatus_Options) AsAWSEC2UploadStatus() (AWSEC2UploadStatus, error)

AsAWSEC2UploadStatus returns the union data inside the CloneStatus_Options as a AWSEC2UploadStatus

func (CloneStatus_Options) AsAWSS3UploadStatus

func (t CloneStatus_Options) AsAWSS3UploadStatus() (AWSS3UploadStatus, error)

AsAWSS3UploadStatus returns the union data inside the CloneStatus_Options as a AWSS3UploadStatus

func (CloneStatus_Options) AsAzureUploadStatus

func (t CloneStatus_Options) AsAzureUploadStatus() (AzureUploadStatus, error)

AsAzureUploadStatus returns the union data inside the CloneStatus_Options as a AzureUploadStatus

func (CloneStatus_Options) AsContainerUploadStatus

func (t CloneStatus_Options) AsContainerUploadStatus() (ContainerUploadStatus, error)

AsContainerUploadStatus returns the union data inside the CloneStatus_Options as a ContainerUploadStatus

func (CloneStatus_Options) AsGCPUploadStatus

func (t CloneStatus_Options) AsGCPUploadStatus() (GCPUploadStatus, error)

AsGCPUploadStatus returns the union data inside the CloneStatus_Options as a GCPUploadStatus

func (CloneStatus_Options) AsOCIUploadStatus

func (t CloneStatus_Options) AsOCIUploadStatus() (OCIUploadStatus, error)

AsOCIUploadStatus returns the union data inside the CloneStatus_Options as a OCIUploadStatus

func (CloneStatus_Options) AsPulpOSTreeUploadStatus

func (t CloneStatus_Options) AsPulpOSTreeUploadStatus() (PulpOSTreeUploadStatus, error)

AsPulpOSTreeUploadStatus returns the union data inside the CloneStatus_Options as a PulpOSTreeUploadStatus

func (*CloneStatus_Options) FromAWSEC2UploadStatus

func (t *CloneStatus_Options) FromAWSEC2UploadStatus(v AWSEC2UploadStatus) error

FromAWSEC2UploadStatus overwrites any union data inside the CloneStatus_Options as the provided AWSEC2UploadStatus

func (*CloneStatus_Options) FromAWSS3UploadStatus

func (t *CloneStatus_Options) FromAWSS3UploadStatus(v AWSS3UploadStatus) error

FromAWSS3UploadStatus overwrites any union data inside the CloneStatus_Options as the provided AWSS3UploadStatus

func (*CloneStatus_Options) FromAzureUploadStatus

func (t *CloneStatus_Options) FromAzureUploadStatus(v AzureUploadStatus) error

FromAzureUploadStatus overwrites any union data inside the CloneStatus_Options as the provided AzureUploadStatus

func (*CloneStatus_Options) FromContainerUploadStatus

func (t *CloneStatus_Options) FromContainerUploadStatus(v ContainerUploadStatus) error

FromContainerUploadStatus overwrites any union data inside the CloneStatus_Options as the provided ContainerUploadStatus

func (*CloneStatus_Options) FromGCPUploadStatus

func (t *CloneStatus_Options) FromGCPUploadStatus(v GCPUploadStatus) error

FromGCPUploadStatus overwrites any union data inside the CloneStatus_Options as the provided GCPUploadStatus

func (*CloneStatus_Options) FromOCIUploadStatus

func (t *CloneStatus_Options) FromOCIUploadStatus(v OCIUploadStatus) error

FromOCIUploadStatus overwrites any union data inside the CloneStatus_Options as the provided OCIUploadStatus

func (*CloneStatus_Options) FromPulpOSTreeUploadStatus

func (t *CloneStatus_Options) FromPulpOSTreeUploadStatus(v PulpOSTreeUploadStatus) error

FromPulpOSTreeUploadStatus overwrites any union data inside the CloneStatus_Options as the provided PulpOSTreeUploadStatus

func (CloneStatus_Options) MarshalJSON

func (t CloneStatus_Options) MarshalJSON() ([]byte, error)

func (*CloneStatus_Options) MergeAWSEC2UploadStatus

func (t *CloneStatus_Options) MergeAWSEC2UploadStatus(v AWSEC2UploadStatus) error

MergeAWSEC2UploadStatus performs a merge with any union data inside the CloneStatus_Options, using the provided AWSEC2UploadStatus

func (*CloneStatus_Options) MergeAWSS3UploadStatus

func (t *CloneStatus_Options) MergeAWSS3UploadStatus(v AWSS3UploadStatus) error

MergeAWSS3UploadStatus performs a merge with any union data inside the CloneStatus_Options, using the provided AWSS3UploadStatus

func (*CloneStatus_Options) MergeAzureUploadStatus

func (t *CloneStatus_Options) MergeAzureUploadStatus(v AzureUploadStatus) error

MergeAzureUploadStatus performs a merge with any union data inside the CloneStatus_Options, using the provided AzureUploadStatus

func (*CloneStatus_Options) MergeContainerUploadStatus

func (t *CloneStatus_Options) MergeContainerUploadStatus(v ContainerUploadStatus) error

MergeContainerUploadStatus performs a merge with any union data inside the CloneStatus_Options, using the provided ContainerUploadStatus

func (*CloneStatus_Options) MergeGCPUploadStatus

func (t *CloneStatus_Options) MergeGCPUploadStatus(v GCPUploadStatus) error

MergeGCPUploadStatus performs a merge with any union data inside the CloneStatus_Options, using the provided GCPUploadStatus

func (*CloneStatus_Options) MergeOCIUploadStatus

func (t *CloneStatus_Options) MergeOCIUploadStatus(v OCIUploadStatus) error

MergeOCIUploadStatus performs a merge with any union data inside the CloneStatus_Options, using the provided OCIUploadStatus

func (*CloneStatus_Options) MergePulpOSTreeUploadStatus

func (t *CloneStatus_Options) MergePulpOSTreeUploadStatus(v PulpOSTreeUploadStatus) error

MergePulpOSTreeUploadStatus performs a merge with any union data inside the CloneStatus_Options, using the provided PulpOSTreeUploadStatus

func (*CloneStatus_Options) UnmarshalJSON

func (t *CloneStatus_Options) UnmarshalJSON(b []byte) error

type ComposeId

type ComposeId struct {
	Href string             `json:"href"`
	Id   openapi_types.UUID `json:"id"`
	Kind string             `json:"kind"`
}

ComposeId defines model for ComposeId.

type ComposeLogs

type ComposeLogs struct {
	Href        string        `json:"href"`
	Id          string        `json:"id"`
	ImageBuilds []interface{} `json:"image_builds"`
	Kind        string        `json:"kind"`
	Koji        *KojiLogs     `json:"koji,omitempty"`
}

ComposeLogs defines model for ComposeLogs.

type ComposeManifests

type ComposeManifests struct {
	Href      string        `json:"href"`
	Id        string        `json:"id"`
	Kind      string        `json:"kind"`
	Manifests []interface{} `json:"manifests"`
}

ComposeManifests defines model for ComposeManifests.

type ComposeMetadata

type ComposeMetadata struct {
	Href string `json:"href"`
	Id   string `json:"id"`
	Kind string `json:"kind"`

	// OstreeCommit ID (hash) of the built commit
	OstreeCommit *string `json:"ostree_commit,omitempty"`

	// Packages Package list including NEVRA
	Packages *[]PackageMetadata `json:"packages,omitempty"`
}

ComposeMetadata defines model for ComposeMetadata.

type ComposeRequest

type ComposeRequest struct {
	Blueprint      *Blueprint      `json:"blueprint,omitempty"`
	Customizations *Customizations `json:"customizations,omitempty"`
	Distribution   string          `json:"distribution"`
	ImageRequest   *ImageRequest   `json:"image_request,omitempty"`
	ImageRequests  *[]ImageRequest `json:"image_requests,omitempty"`
	Koji           *Koji           `json:"koji,omitempty"`
}

ComposeRequest defines model for ComposeRequest.

type ComposeSBOMs

type ComposeSBOMs struct {
	Href string `json:"href"`
	Id   string `json:"id"`

	// Items The SBOM documents for each image built in the compose.
	Items [][]ImageSBOM `json:"items"`
	Kind  string        `json:"kind"`
}

ComposeSBOMs defines model for ComposeSBOMs.

type ComposeStatus

type ComposeStatus struct {
	Href          string             `json:"href"`
	Id            string             `json:"id"`
	ImageStatus   ImageStatus        `json:"image_status"`
	ImageStatuses *[]ImageStatus     `json:"image_statuses,omitempty"`
	Kind          string             `json:"kind"`
	KojiStatus    *KojiStatus        `json:"koji_status,omitempty"`
	Status        ComposeStatusValue `json:"status"`
}

ComposeStatus defines model for ComposeStatus.

type ComposeStatusError

type ComposeStatusError struct {
	Details *interface{} `json:"details,omitempty"`
	Id      int          `json:"id"`
	Reason  string       `json:"reason"`
}

ComposeStatusError defines model for ComposeStatusError.

type ComposeStatusValue

type ComposeStatusValue string

ComposeStatusValue defines model for ComposeStatusValue.

const (
	ComposeStatusValueFailure ComposeStatusValue = "failure"
	ComposeStatusValuePending ComposeStatusValue = "pending"
	ComposeStatusValueSuccess ComposeStatusValue = "success"
)

Defines values for ComposeStatusValue.

type ComposerClient

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

func NewClient

func NewClient(conf ComposerClientConfig) (*ComposerClient, error)

func (*ComposerClient) CloneCompose

func (cc *ComposerClient) CloneCompose(id uuid.UUID, clone CloneComposeBody) (*http.Response, error)

func (*ComposerClient) CloneStatus

func (cc *ComposerClient) CloneStatus(id uuid.UUID) (*http.Response, error)

func (*ComposerClient) Compose

func (cc *ComposerClient) Compose(compose ComposeRequest) (*http.Response, error)

func (*ComposerClient) ComposeMetadata

func (cc *ComposerClient) ComposeMetadata(id uuid.UUID) (*http.Response, error)

func (*ComposerClient) ComposeStatus

func (cc *ComposerClient) ComposeStatus(id uuid.UUID) (*http.Response, error)

func (*ComposerClient) OpenAPI

func (cc *ComposerClient) OpenAPI() (*http.Response, error)

type ComposerClientConfig

type ComposerClientConfig struct {
	URL     string
	CA      string
	Tokener oauth2.Tokener
}

type Container

type Container struct {
	// Name Name to use for the container from the image
	Name *string `json:"name,omitempty"`

	// Source Reference to the container to embed
	Source string `json:"source"`

	// TlsVerify Control TLS verifification
	TlsVerify *bool `json:"tls_verify,omitempty"`
}

Container defines model for Container.

type ContainerUploadOptions

type ContainerUploadOptions struct {
	// Name Name for the created container image
	Name *string `json:"name,omitempty"`

	// Tag Tag for the created container image
	Tag *string `json:"tag,omitempty"`
}

ContainerUploadOptions defines model for ContainerUploadOptions.

type ContainerUploadStatus

type ContainerUploadStatus struct {
	// Digest Digest of the manifest of the uploaded container on the registry
	Digest string `json:"digest"`

	// Url FQDN of the uploaded image
	Url string `json:"url"`
}

ContainerUploadStatus defines model for ContainerUploadStatus.

type CustomRepository

type CustomRepository struct {
	Baseurl        *[]string `json:"baseurl,omitempty"`
	CheckGpg       *bool     `json:"check_gpg,omitempty"`
	CheckRepoGpg   *bool     `json:"check_repo_gpg,omitempty"`
	Enabled        *bool     `json:"enabled,omitempty"`
	Filename       *string   `json:"filename,omitempty"`
	Gpgkey         *[]string `json:"gpgkey,omitempty"`
	Id             string    `json:"id"`
	Metalink       *string   `json:"metalink,omitempty"`
	Mirrorlist     *string   `json:"mirrorlist,omitempty"`
	ModuleHotfixes *bool     `json:"module_hotfixes,omitempty"`
	Name           *string   `json:"name,omitempty"`
	Priority       *int      `json:"priority,omitempty"`
	SslVerify      *bool     `json:"ssl_verify,omitempty"`
}

CustomRepository defines model for CustomRepository.

type Customizations

type Customizations struct {
	Containers *[]Container `json:"containers,omitempty"`

	// CustomRepositories Extra repositories for packages specified in customizations. These
	// repositories will be used to depsolve and retrieve packages. Additionally,
	// these packages will be saved and imported to the `/etc/yum.repos.d/` directory
	// on the image
	CustomRepositories *[]CustomRepository `json:"custom_repositories,omitempty"`
	Directories        *[]Directory        `json:"directories,omitempty"`

	// Fdo FIDO device onboard configuration
	Fdo        *FDO          `json:"fdo,omitempty"`
	Files      *[]File       `json:"files,omitempty"`
	Filesystem *[]Filesystem `json:"filesystem,omitempty"`

	// Fips System FIPS mode setup
	Fips *FIPS `json:"fips,omitempty"`

	// Firewall Firewalld configuration
	Firewall *FirewallCustomization `json:"firewall,omitempty"`

	// Groups List of groups to create
	Groups *[]Group `json:"groups,omitempty"`

	// Hostname Configures the hostname
	Hostname *string `json:"hostname,omitempty"`

	// Ignition Ignition configuration
	Ignition *Ignition `json:"ignition,omitempty"`

	// InstallationDevice Name of the installation device, currently only useful for the edge-simplified-installer type
	InstallationDevice *string    `json:"installation_device,omitempty"`
	Installer          *Installer `json:"installer,omitempty"`
	Kernel             *Kernel    `json:"kernel,omitempty"`

	// Locale Locale configuration
	Locale   *Locale   `json:"locale,omitempty"`
	Openscap *OpenSCAP `json:"openscap,omitempty"`
	Packages *[]string `json:"packages,omitempty"`

	// PartitioningMode Select how the disk image will be partitioned. 'auto-lvm' will use raw unless
	// there are one or more mountpoints in which case it will use LVM. 'lvm' always
	// uses LVM, even when there are no extra mountpoints. 'raw' uses raw partitions
	// even when there are one or more mountpoints.
	PartitioningMode *CustomizationsPartitioningMode `json:"partitioning_mode,omitempty"`

	// PayloadRepositories Extra repositories for packages specified in customizations. These
	// repositories will only be used to depsolve and retrieve packages
	// for the OS itself (they will not be available for the build root or
	// any other part of the build process). The package_sets field for these
	// repositories is ignored.
	PayloadRepositories *[]Repository      `json:"payload_repositories,omitempty"`
	Rhsm                *RHSMCustomization `json:"rhsm,omitempty"`
	Rpm                 *RPMCustomization  `json:"rpm,omitempty"`
	Services            *Services          `json:"services,omitempty"`
	Subscription        *Subscription      `json:"subscription,omitempty"`

	// Timezone Timezone configuration
	Timezone *Timezone `json:"timezone,omitempty"`
	Users    *[]User   `json:"users,omitempty"`
}

Customizations defines model for Customizations.

type CustomizationsPartitioningMode

type CustomizationsPartitioningMode string

CustomizationsPartitioningMode Select how the disk image will be partitioned. 'auto-lvm' will use raw unless there are one or more mountpoints in which case it will use LVM. 'lvm' always uses LVM, even when there are no extra mountpoints. 'raw' uses raw partitions even when there are one or more mountpoints.

const (
	CustomizationsPartitioningModeAutoLvm CustomizationsPartitioningMode = "auto-lvm"
	CustomizationsPartitioningModeLvm     CustomizationsPartitioningMode = "lvm"
	CustomizationsPartitioningModeRaw     CustomizationsPartitioningMode = "raw"
)

Defines values for CustomizationsPartitioningMode.

type DNFPluginConfig

type DNFPluginConfig struct {
	Enabled *bool `json:"enabled,omitempty"`
}

DNFPluginConfig defines model for DNFPluginConfig.

type Directory

type Directory struct {
	// EnsureParents Ensure that the parent directories exist
	EnsureParents *bool `json:"ensure_parents,omitempty"`

	// Group Group of the directory as a group name or a gid
	Group *Directory_Group `json:"group,omitempty"`

	// Mode Permissions string for the directory in octal format
	Mode *string `json:"mode,omitempty"`

	// Path Path to the directory
	Path string `json:"path"`

	// User Owner of the directory as a user name or a uid
	User *Directory_User `json:"user,omitempty"`
}

Directory A custom directory to create in the final artifact.

type DirectoryGroup0

type DirectoryGroup0 = string

DirectoryGroup0 defines model for .

type DirectoryGroup1

type DirectoryGroup1 = int

DirectoryGroup1 defines model for .

type DirectoryUser0

type DirectoryUser0 = string

DirectoryUser0 defines model for .

type DirectoryUser1

type DirectoryUser1 = int

DirectoryUser1 defines model for .

type Directory_Group

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

Directory_Group Group of the directory as a group name or a gid

func (Directory_Group) AsDirectoryGroup0

func (t Directory_Group) AsDirectoryGroup0() (DirectoryGroup0, error)

AsDirectoryGroup0 returns the union data inside the Directory_Group as a DirectoryGroup0

func (Directory_Group) AsDirectoryGroup1

func (t Directory_Group) AsDirectoryGroup1() (DirectoryGroup1, error)

AsDirectoryGroup1 returns the union data inside the Directory_Group as a DirectoryGroup1

func (*Directory_Group) FromDirectoryGroup0

func (t *Directory_Group) FromDirectoryGroup0(v DirectoryGroup0) error

FromDirectoryGroup0 overwrites any union data inside the Directory_Group as the provided DirectoryGroup0

func (*Directory_Group) FromDirectoryGroup1

func (t *Directory_Group) FromDirectoryGroup1(v DirectoryGroup1) error

FromDirectoryGroup1 overwrites any union data inside the Directory_Group as the provided DirectoryGroup1

func (Directory_Group) MarshalJSON

func (t Directory_Group) MarshalJSON() ([]byte, error)

func (*Directory_Group) MergeDirectoryGroup0

func (t *Directory_Group) MergeDirectoryGroup0(v DirectoryGroup0) error

MergeDirectoryGroup0 performs a merge with any union data inside the Directory_Group, using the provided DirectoryGroup0

func (*Directory_Group) MergeDirectoryGroup1

func (t *Directory_Group) MergeDirectoryGroup1(v DirectoryGroup1) error

MergeDirectoryGroup1 performs a merge with any union data inside the Directory_Group, using the provided DirectoryGroup1

func (*Directory_Group) UnmarshalJSON

func (t *Directory_Group) UnmarshalJSON(b []byte) error

type Directory_User

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

Directory_User Owner of the directory as a user name or a uid

func (Directory_User) AsDirectoryUser0

func (t Directory_User) AsDirectoryUser0() (DirectoryUser0, error)

AsDirectoryUser0 returns the union data inside the Directory_User as a DirectoryUser0

func (Directory_User) AsDirectoryUser1

func (t Directory_User) AsDirectoryUser1() (DirectoryUser1, error)

AsDirectoryUser1 returns the union data inside the Directory_User as a DirectoryUser1

func (*Directory_User) FromDirectoryUser0

func (t *Directory_User) FromDirectoryUser0(v DirectoryUser0) error

FromDirectoryUser0 overwrites any union data inside the Directory_User as the provided DirectoryUser0

func (*Directory_User) FromDirectoryUser1

func (t *Directory_User) FromDirectoryUser1(v DirectoryUser1) error

FromDirectoryUser1 overwrites any union data inside the Directory_User as the provided DirectoryUser1

func (Directory_User) MarshalJSON

func (t Directory_User) MarshalJSON() ([]byte, error)

func (*Directory_User) MergeDirectoryUser0

func (t *Directory_User) MergeDirectoryUser0(v DirectoryUser0) error

MergeDirectoryUser0 performs a merge with any union data inside the Directory_User, using the provided DirectoryUser0

func (*Directory_User) MergeDirectoryUser1

func (t *Directory_User) MergeDirectoryUser1(v DirectoryUser1) error

MergeDirectoryUser1 performs a merge with any union data inside the Directory_User, using the provided DirectoryUser1

func (*Directory_User) UnmarshalJSON

func (t *Directory_User) UnmarshalJSON(b []byte) error

type Error

type Error struct {
	Code        string       `json:"code"`
	Details     *interface{} `json:"details,omitempty"`
	Href        string       `json:"href"`
	Id          string       `json:"id"`
	Kind        string       `json:"kind"`
	OperationId string       `json:"operation_id"`
	Reason      string       `json:"reason"`
}

Error defines model for Error.

type ErrorList

type ErrorList struct {
	Items []Error `json:"items"`
	Kind  string  `json:"kind"`
	Page  int     `json:"page"`
	Size  int     `json:"size"`
	Total int     `json:"total"`
}

ErrorList defines model for ErrorList.

type FDO

type FDO struct {
	DiMfgStringTypeMacIface *string `json:"di_mfg_string_type_mac_iface,omitempty"`
	DiunPubKeyHash          *string `json:"diun_pub_key_hash,omitempty"`
	DiunPubKeyInsecure      *string `json:"diun_pub_key_insecure,omitempty"`
	DiunPubKeyRootCerts     *string `json:"diun_pub_key_root_certs,omitempty"`
	ManufacturingServerUrl  *string `json:"manufacturing_server_url,omitempty"`
}

FDO FIDO device onboard configuration

type FIPS

type FIPS struct {
	// Enabled Enables the system FIPS mode
	Enabled *bool `json:"enabled,omitempty"`
}

FIPS System FIPS mode setup

type File

type File struct {
	// Data Contents of the file as plain text
	Data *string `json:"data,omitempty"`

	// EnsureParents Ensure that the parent directories exist
	EnsureParents *bool `json:"ensure_parents,omitempty"`

	// Group Group of the file as a gid or a group name
	Group *File_Group `json:"group,omitempty"`

	// Mode Permissions string for the file in octal format
	Mode *string `json:"mode,omitempty"`

	// Path Path to the file
	Path string `json:"path"`

	// User Owner of the file as a uid or a user name
	User *File_User `json:"user,omitempty"`
}

File A custom file to create in the final artifact.

type FileGroup0

type FileGroup0 = string

FileGroup0 defines model for .

type FileGroup1

type FileGroup1 = int

FileGroup1 defines model for .

type FileUser0

type FileUser0 = string

FileUser0 defines model for .

type FileUser1

type FileUser1 = int

FileUser1 defines model for .

type File_Group

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

File_Group Group of the file as a gid or a group name

func (File_Group) AsFileGroup0

func (t File_Group) AsFileGroup0() (FileGroup0, error)

AsFileGroup0 returns the union data inside the File_Group as a FileGroup0

func (File_Group) AsFileGroup1

func (t File_Group) AsFileGroup1() (FileGroup1, error)

AsFileGroup1 returns the union data inside the File_Group as a FileGroup1

func (*File_Group) FromFileGroup0

func (t *File_Group) FromFileGroup0(v FileGroup0) error

FromFileGroup0 overwrites any union data inside the File_Group as the provided FileGroup0

func (*File_Group) FromFileGroup1

func (t *File_Group) FromFileGroup1(v FileGroup1) error

FromFileGroup1 overwrites any union data inside the File_Group as the provided FileGroup1

func (File_Group) MarshalJSON

func (t File_Group) MarshalJSON() ([]byte, error)

func (*File_Group) MergeFileGroup0

func (t *File_Group) MergeFileGroup0(v FileGroup0) error

MergeFileGroup0 performs a merge with any union data inside the File_Group, using the provided FileGroup0

func (*File_Group) MergeFileGroup1

func (t *File_Group) MergeFileGroup1(v FileGroup1) error

MergeFileGroup1 performs a merge with any union data inside the File_Group, using the provided FileGroup1

func (*File_Group) UnmarshalJSON

func (t *File_Group) UnmarshalJSON(b []byte) error

type File_User

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

File_User Owner of the file as a uid or a user name

func (File_User) AsFileUser0

func (t File_User) AsFileUser0() (FileUser0, error)

AsFileUser0 returns the union data inside the File_User as a FileUser0

func (File_User) AsFileUser1

func (t File_User) AsFileUser1() (FileUser1, error)

AsFileUser1 returns the union data inside the File_User as a FileUser1

func (*File_User) FromFileUser0

func (t *File_User) FromFileUser0(v FileUser0) error

FromFileUser0 overwrites any union data inside the File_User as the provided FileUser0

func (*File_User) FromFileUser1

func (t *File_User) FromFileUser1(v FileUser1) error

FromFileUser1 overwrites any union data inside the File_User as the provided FileUser1

func (File_User) MarshalJSON

func (t File_User) MarshalJSON() ([]byte, error)

func (*File_User) MergeFileUser0

func (t *File_User) MergeFileUser0(v FileUser0) error

MergeFileUser0 performs a merge with any union data inside the File_User, using the provided FileUser0

func (*File_User) MergeFileUser1

func (t *File_User) MergeFileUser1(v FileUser1) error

MergeFileUser1 performs a merge with any union data inside the File_User, using the provided FileUser1

func (*File_User) UnmarshalJSON

func (t *File_User) UnmarshalJSON(b []byte) error

type Filesystem

type Filesystem struct {
	// MinSize size of the filesystem in bytes
	MinSize    uint64 `json:"min_size"`
	Mountpoint string `json:"mountpoint"`
}

Filesystem defines model for Filesystem.

type FirewallCustomization

type FirewallCustomization struct {
	// Ports List of ports (or port ranges) and protocols to open
	Ports *[]string `json:"ports,omitempty"`

	// Services Firewalld services to enable or disable
	Services *FirewallServices `json:"services,omitempty"`
}

FirewallCustomization Firewalld configuration

type FirewallServices

type FirewallServices struct {
	// Disabled List of services to disable
	Disabled *[]string `json:"disabled,omitempty"`

	// Enabled List of services to enable
	Enabled *[]string `json:"enabled,omitempty"`
}

FirewallServices Firewalld services to enable or disable

type FirewallZones

type FirewallZones struct {
	// Name name of the zone, if left empty the sources will apply to
	// the default zone.
	Name *string `json:"name,omitempty"`

	// Sources List of sources for the zone
	Sources *[]string `json:"sources,omitempty"`
}

FirewallZones Bind a list of network sources to a zone to restrict traffic from those sources based on the settings of the zone.

type GCPUploadOptions

type GCPUploadOptions struct {
	// Bucket Name of an existing STANDARD Storage class Bucket.
	Bucket *string `json:"bucket,omitempty"`

	// ImageName The name to use for the imported and shared Compute Engine image.
	// The image name must be unique within the GCP project, which is used
	// for the OS image upload and import. If not specified a random
	// 'composer-api-<uuid>' string is used as the image name.
	ImageName *string `json:"image_name,omitempty"`

	// Region The GCP region where the OS image will be imported to and shared from.
	// The value must be a valid GCP location. See https://cloud.google.com/storage/docs/locations.
	// If not specified, the multi-region location closest to the source
	// (source Storage Bucket location) is chosen automatically.
	Region string `json:"region"`

	// ShareWithAccounts List of valid Google accounts to share the imported Compute Engine image with.
	// Each string must contain a specifier of the account type. Valid formats are:
	//   - 'user:{emailid}': An email address that represents a specific
	//     Google account. For example, 'alice@example.com'.
	//   - 'serviceAccount:{emailid}': An email address that represents a
	//     service account. For example, 'my-other-app@appspot.gserviceaccount.com'.
	//   - 'group:{emailid}': An email address that represents a Google group.
	//     For example, 'admins@example.com'.
	//   - 'domain:{domain}': The G Suite domain (primary) that represents all
	//     the users of that domain. For example, 'google.com' or 'example.com'.
	// If not specified, the imported Compute Engine image is not shared with any
	// account.
	ShareWithAccounts *[]string `json:"share_with_accounts,omitempty"`
}

GCPUploadOptions defines model for GCPUploadOptions.

type GCPUploadStatus

type GCPUploadStatus struct {
	ImageName string `json:"image_name"`
	ProjectId string `json:"project_id"`
}

GCPUploadStatus defines model for GCPUploadStatus.

type GetErrorListParams

type GetErrorListParams struct {
	// Page Page index
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items in each page
	Size *Size `form:"size,omitempty" json:"size,omitempty"`
}

GetErrorListParams defines parameters for GetErrorList.

type Group

type Group struct {
	// Gid Group id of the group to create (optional)
	Gid *int `json:"gid,omitempty"`

	// Name Name of the group to create
	Name string `json:"name"`
}

Group defines model for Group.

type Ignition

type Ignition struct {
	Embedded  *IgnitionEmbedded  `json:"embedded,omitempty"`
	Firstboot *IgnitionFirstboot `json:"firstboot,omitempty"`
}

Ignition Ignition configuration

type IgnitionEmbedded

type IgnitionEmbedded struct {
	Config string `json:"config"`
}

IgnitionEmbedded defines model for IgnitionEmbedded.

type IgnitionFirstboot

type IgnitionFirstboot struct {
	// Url Provisioning URL
	Url string `json:"url"`
}

IgnitionFirstboot defines model for IgnitionFirstboot.

type ImageRequest

type ImageRequest struct {
	Architecture string       `json:"architecture"`
	ImageType    ImageTypes   `json:"image_type"`
	Ostree       *OSTree      `json:"ostree,omitempty"`
	Repositories []Repository `json:"repositories"`

	// Size Size of image, in bytes. When set to 0 the image size is a minimum
	// defined by the image type.
	Size *uint64 `json:"size,omitempty"`

	// UploadOptions Options for a given upload destination.
	// This should really be oneOf but AWSS3UploadOptions is a subset of
	// AWSEC2UploadOptions. This means that all AWSEC2UploadOptions objects
	// are also valid AWSS3UploadOptionas objects which violates the oneOf
	// rules. Therefore, we have to use anyOf here but be aware that it isn't
	// possible to mix and match more schemas together.
	UploadOptions *UploadOptions `json:"upload_options,omitempty"`

	// UploadTargets The type and options for multiple upload targets. Each item defines
	// a separate upload destination with its own options. Multiple
	// different targets as well as multiple targets of the same kind are
	// supported.
	UploadTargets *[]UploadTarget `json:"upload_targets,omitempty"`
}

ImageRequest defines model for ImageRequest.

type ImageSBOM

type ImageSBOM struct {
	// PipelineName The name of the osbuild pipeline which has the packages described
	// in the SBOM installed.
	PipelineName string `json:"pipeline_name"`

	// PipelinePurpose The purpose of the pipeline. The `buildroot` pipeline was used for
	// the build environment dueing the image build. The `image` pipeline
	// represents the actual content of the image. Due to the nature of
	// some image types, there may be multiple pipelines of the same
	// purpose.
	PipelinePurpose ImageSBOMPipelinePurpose `json:"pipeline_purpose"`

	// Sbom The SBOM document in the 'sbom_type' format.
	Sbom interface{} `json:"sbom"`

	// SbomType The type of the SBOM document. Currently only SPDX is supported.
	SbomType ImageSBOMSbomType `json:"sbom_type"`
}

ImageSBOM defines model for ImageSBOM.

type ImageSBOMPipelinePurpose

type ImageSBOMPipelinePurpose string

ImageSBOMPipelinePurpose The purpose of the pipeline. The `buildroot` pipeline was used for the build environment dueing the image build. The `image` pipeline represents the actual content of the image. Due to the nature of some image types, there may be multiple pipelines of the same purpose.

const (
	Buildroot ImageSBOMPipelinePurpose = "buildroot"
	Image     ImageSBOMPipelinePurpose = "image"
)

Defines values for ImageSBOMPipelinePurpose.

type ImageSBOMSbomType

type ImageSBOMSbomType string

ImageSBOMSbomType The type of the SBOM document. Currently only SPDX is supported.

const (
	Spdx ImageSBOMSbomType = "spdx"
)

Defines values for ImageSBOMSbomType.

type ImageStatus

type ImageStatus struct {
	Error          *ComposeStatusError `json:"error,omitempty"`
	Status         ImageStatusValue    `json:"status"`
	UploadStatus   *UploadStatus       `json:"upload_status,omitempty"`
	UploadStatuses *[]UploadStatus     `json:"upload_statuses,omitempty"`
}

ImageStatus defines model for ImageStatus.

type ImageStatusValue

type ImageStatusValue string

ImageStatusValue defines model for ImageStatusValue.

const (
	ImageStatusValueBuilding    ImageStatusValue = "building"
	ImageStatusValueFailure     ImageStatusValue = "failure"
	ImageStatusValuePending     ImageStatusValue = "pending"
	ImageStatusValueRegistering ImageStatusValue = "registering"
	ImageStatusValueSuccess     ImageStatusValue = "success"
	ImageStatusValueUploading   ImageStatusValue = "uploading"
)

Defines values for ImageStatusValue.

type ImageTypes

type ImageTypes string

ImageTypes defines model for ImageTypes.

const (
	ImageTypesAws                    ImageTypes = "aws"
	ImageTypesAwsHaRhui              ImageTypes = "aws-ha-rhui"
	ImageTypesAwsRhui                ImageTypes = "aws-rhui"
	ImageTypesAwsSapRhui             ImageTypes = "aws-sap-rhui"
	ImageTypesAzure                  ImageTypes = "azure"
	ImageTypesAzureEap7Rhui          ImageTypes = "azure-eap7-rhui"
	ImageTypesAzureRhui              ImageTypes = "azure-rhui"
	ImageTypesAzureSapRhui           ImageTypes = "azure-sap-rhui"
	ImageTypesEdgeCommit             ImageTypes = "edge-commit"
	ImageTypesEdgeContainer          ImageTypes = "edge-container"
	ImageTypesEdgeInstaller          ImageTypes = "edge-installer"
	ImageTypesGcp                    ImageTypes = "gcp"
	ImageTypesGcpRhui                ImageTypes = "gcp-rhui"
	ImageTypesGuestImage             ImageTypes = "guest-image"
	ImageTypesImageInstaller         ImageTypes = "image-installer"
	ImageTypesIotBootableContainer   ImageTypes = "iot-bootable-container"
	ImageTypesIotCommit              ImageTypes = "iot-commit"
	ImageTypesIotContainer           ImageTypes = "iot-container"
	ImageTypesIotInstaller           ImageTypes = "iot-installer"
	ImageTypesIotRawImage            ImageTypes = "iot-raw-image"
	ImageTypesIotSimplifiedInstaller ImageTypes = "iot-simplified-installer"
	ImageTypesLiveInstaller          ImageTypes = "live-installer"
	ImageTypesMinimalRaw             ImageTypes = "minimal-raw"
	ImageTypesOci                    ImageTypes = "oci"
	ImageTypesVsphere                ImageTypes = "vsphere"
	ImageTypesVsphereOva             ImageTypes = "vsphere-ova"
	ImageTypesWsl                    ImageTypes = "wsl"
)

Defines values for ImageTypes.

type ImportKeys

type ImportKeys struct {
	Files *[]string `json:"files,omitempty"`
}

ImportKeys defines model for ImportKeys.

type Installer

type Installer struct {
	SudoNopasswd *[]string `json:"sudo-nopasswd,omitempty"`
	Unattended   *bool     `json:"unattended,omitempty"`
}

Installer defines model for Installer.

type Kernel

type Kernel struct {
	// Append Appends arguments to the bootloader kernel command line
	Append *string `json:"append,omitempty"`

	// Name Name of the kernel to use
	Name *string `json:"name,omitempty"`
}

Kernel defines model for Kernel.

type Koji

type Koji struct {
	Name    string `json:"name"`
	Release string `json:"release"`
	Server  string `json:"server"`
	TaskId  int    `json:"task_id"`
	Version string `json:"version"`
}

Koji defines model for Koji.

type KojiLogs

type KojiLogs struct {
	Import interface{} `json:"import"`
	Init   interface{} `json:"init"`
}

KojiLogs defines model for KojiLogs.

type KojiStatus

type KojiStatus struct {
	BuildId *int `json:"build_id,omitempty"`
}

KojiStatus defines model for KojiStatus.

type List

type List struct {
	Kind  string `json:"kind"`
	Page  int    `json:"page"`
	Size  int    `json:"size"`
	Total int    `json:"total"`
}

List defines model for List.

type LocalUploadOptions

type LocalUploadOptions struct {
	// LocalSave This is used in combination with the OSBUILD_LOCALSAVE environmental
	// variable on the server to enable saving the compose locally. This
	// is for development use only, and is not available to users.
	LocalSave bool `json:"local_save"`
}

LocalUploadOptions defines model for LocalUploadOptions.

type Locale

type Locale struct {
	// Keyboard Sets the keyboard layout
	Keyboard *string `json:"keyboard,omitempty"`

	// Languages List of locales to be installed, the first one becomes primary, subsequent ones are secondary
	Languages *[]string `json:"languages,omitempty"`
}

Locale Locale configuration

type OCIUploadOptions

type OCIUploadOptions = map[string]interface{}

OCIUploadOptions defines model for OCIUploadOptions.

type OCIUploadStatus

type OCIUploadStatus struct {
	Url string `json:"url"`
}

OCIUploadStatus defines model for OCIUploadStatus.

type OSTree

type OSTree struct {
	// Contenturl A URL which, if set, is used for fetching content. Implies that `url` is set as well,
	// which will be used for metadata only.
	Contenturl *string `json:"contenturl,omitempty"`

	// Parent Can be either a commit (example: 02604b2da6e954bd34b8b82a835e5a77d2b60ffa), or a branch-like reference (example: rhel/8/x86_64/edge)
	Parent *string `json:"parent,omitempty"`
	Ref    *string `json:"ref,omitempty"`

	// Rhsm Determines whether a valid subscription manager (candlepin) identity is required to
	// access this repository. Consumer certificates will be used as client certificates when
	// fetching metadata and content.
	Rhsm *bool   `json:"rhsm,omitempty"`
	Url  *string `json:"url,omitempty"`
}

OSTree defines model for OSTree.

type ObjectReference

type ObjectReference struct {
	Href string `json:"href"`
	Id   string `json:"id"`
	Kind string `json:"kind"`
}

ObjectReference defines model for ObjectReference.

type OpenSCAP

type OpenSCAP struct {
	JsonTailoring *OpenSCAPJSONTailoring `json:"json_tailoring,omitempty"`

	// PolicyId Puts a specified policy ID in the RHSM facts, so that any instances registered to
	// insights will be automatically connected to the compliance policy in the console.
	PolicyId  *openapi_types.UUID `json:"policy_id,omitempty"`
	ProfileId string              `json:"profile_id"`
	Tailoring *OpenSCAPTailoring  `json:"tailoring,omitempty"`
}

OpenSCAP defines model for OpenSCAP.

type OpenSCAPJSONTailoring

type OpenSCAPJSONTailoring struct {
	Filepath  string `json:"filepath"`
	ProfileId string `json:"profile_id"`
}

OpenSCAPJSONTailoring defines model for OpenSCAPJSONTailoring.

type OpenSCAPTailoring

type OpenSCAPTailoring struct {
	Selected   *[]string `json:"selected,omitempty"`
	Unselected *[]string `json:"unselected,omitempty"`
}

OpenSCAPTailoring defines model for OpenSCAPTailoring.

type Package

type Package struct {
	// Name Name of the package to install. File globbing is supported,
	// eg. 'openssh-*'
	Name string `json:"name"`

	// Version Optional version of the package to install. If left blank the
	// latest available version will be used. Wildcards are supported
	// eg. '4.11.*'
	Version *string `json:"version,omitempty"`
}

Package defines model for Package.

type PackageGroup

type PackageGroup struct {
	// Name Package group name
	Name string `json:"name"`
}

PackageGroup defines model for PackageGroup.

type PackageMetadata

type PackageMetadata struct {
	Arch      string  `json:"arch"`
	Epoch     *string `json:"epoch,omitempty"`
	Name      string  `json:"name"`
	Release   string  `json:"release"`
	Sigmd5    string  `json:"sigmd5"`
	Signature *string `json:"signature,omitempty"`
	Type      string  `json:"type"`
	Version   string  `json:"version"`
}

PackageMetadata defines model for PackageMetadata.

type Page

type Page = string

Page defines model for page.

type PostCloneComposeJSONRequestBody

type PostCloneComposeJSONRequestBody = CloneComposeBody

PostCloneComposeJSONRequestBody defines body for PostCloneCompose for application/json ContentType.

type PostComposeJSONRequestBody

type PostComposeJSONRequestBody = ComposeRequest

PostComposeJSONRequestBody defines body for PostCompose for application/json ContentType.

type PulpOSTreeUploadOptions

type PulpOSTreeUploadOptions struct {
	// Basepath Basepath for distributing the repository
	Basepath string `json:"basepath"`

	// Repository Repository to import the ostree commit to
	Repository    *string `json:"repository,omitempty"`
	ServerAddress *string `json:"server_address,omitempty"`
}

PulpOSTreeUploadOptions defines model for PulpOSTreeUploadOptions.

type PulpOSTreeUploadStatus

type PulpOSTreeUploadStatus struct {
	RepoUrl string `json:"repo_url"`
}

PulpOSTreeUploadStatus defines model for PulpOSTreeUploadStatus.

type RHSMConfig

type RHSMConfig struct {
	DnfPlugins          *SubManDNFPluginsConfig `json:"dnf_plugins,omitempty"`
	SubscriptionManager *SubManConfig           `json:"subscription_manager,omitempty"`
}

RHSMConfig defines model for RHSMConfig.

type RHSMCustomization

type RHSMCustomization struct {
	Config *RHSMConfig `json:"config,omitempty"`
}

RHSMCustomization defines model for RHSMCustomization.

type RPMCustomization

type RPMCustomization struct {
	ImportKeys *ImportKeys `json:"import_keys,omitempty"`
}

RPMCustomization defines model for RPMCustomization.

type Repository

type Repository struct {
	Baseurl  *string `json:"baseurl,omitempty"`
	CheckGpg *bool   `json:"check_gpg,omitempty"`

	// CheckRepoGpg Enables gpg verification of the repository metadata
	CheckRepoGpg *bool `json:"check_repo_gpg,omitempty"`

	// Gpgkey GPG key used to sign packages in this repository.
	Gpgkey     *string `json:"gpgkey,omitempty"`
	IgnoreSsl  *bool   `json:"ignore_ssl,omitempty"`
	Metalink   *string `json:"metalink,omitempty"`
	Mirrorlist *string `json:"mirrorlist,omitempty"`

	// ModuleHotfixes Disables modularity filtering for this repository.
	ModuleHotfixes *bool `json:"module_hotfixes,omitempty"`

	// PackageSets Naming package sets for a repository assigns it to a specific part
	// (pipeline) of the build process.
	PackageSets *[]string `json:"package_sets,omitempty"`

	// Rhsm Determines whether a valid subscription is required to access this repository.
	Rhsm *bool `json:"rhsm,omitempty"`
}

Repository Repository configuration. At least one of the 'baseurl', 'mirrorlist', 'metalink' properties must be specified. If more of them are specified, the order of precedence is the same as listed above.

type SSHKey

type SSHKey struct {
	// Key Adds the key to the user's authorized_keys file
	Key string `json:"key"`

	// User User to configure the ssh key for
	User string `json:"user"`
}

SSHKey defines model for SSHKey.

type Services

type Services struct {
	// Disabled List of services to disable by default
	Disabled *[]string `json:"disabled,omitempty"`

	// Enabled List of services to enable by default
	Enabled *[]string `json:"enabled,omitempty"`

	// Masked List of services to mask by default
	Masked *[]string `json:"masked,omitempty"`
}

Services defines model for Services.

type Size

type Size = string

Size defines model for size.

type SubManConfig

type SubManConfig struct {
	Rhsm      *SubManRHSMConfig      `json:"rhsm,omitempty"`
	Rhsmcertd *SubManRHSMCertdConfig `json:"rhsmcertd,omitempty"`
}

SubManConfig defines model for SubManConfig.

type SubManDNFPluginsConfig

type SubManDNFPluginsConfig struct {
	ProductId           *DNFPluginConfig `json:"product_id,omitempty"`
	SubscriptionManager *DNFPluginConfig `json:"subscription_manager,omitempty"`
}

SubManDNFPluginsConfig defines model for SubManDNFPluginsConfig.

type SubManRHSMCertdConfig

type SubManRHSMCertdConfig struct {
	AutoRegistration *bool `json:"auto_registration,omitempty"`
}

SubManRHSMCertdConfig defines model for SubManRHSMCertdConfig.

type SubManRHSMConfig

type SubManRHSMConfig struct {
	ManageRepos *bool `json:"manage_repos,omitempty"`
}

SubManRHSMConfig defines model for SubManRHSMConfig.

type Subscription

type Subscription struct {
	ActivationKey string `json:"activation_key"`
	BaseUrl       string `json:"base_url"`
	Insights      bool   `json:"insights"`
	Organization  string `json:"organization"`

	// Rhc Optional flag to use rhc to register the system, which also always enables Insights.
	Rhc       *bool  `json:"rhc,omitempty"`
	ServerUrl string `json:"server_url"`
}

Subscription defines model for Subscription.

type Timezone

type Timezone struct {
	// Ntpservers List of ntp servers
	Ntpservers *[]string `json:"ntpservers,omitempty"`

	// Timezone Name of the timezone, defaults to UTC
	Timezone *string `json:"timezone,omitempty"`
}

Timezone Timezone configuration

type UploadOptions

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

UploadOptions Options for a given upload destination. This should really be oneOf but AWSS3UploadOptions is a subset of AWSEC2UploadOptions. This means that all AWSEC2UploadOptions objects are also valid AWSS3UploadOptionas objects which violates the oneOf rules. Therefore, we have to use anyOf here but be aware that it isn't possible to mix and match more schemas together.

func (UploadOptions) AsAWSEC2UploadOptions

func (t UploadOptions) AsAWSEC2UploadOptions() (AWSEC2UploadOptions, error)

AsAWSEC2UploadOptions returns the union data inside the UploadOptions as a AWSEC2UploadOptions

func (UploadOptions) AsAWSS3UploadOptions

func (t UploadOptions) AsAWSS3UploadOptions() (AWSS3UploadOptions, error)

AsAWSS3UploadOptions returns the union data inside the UploadOptions as a AWSS3UploadOptions

func (UploadOptions) AsAzureUploadOptions

func (t UploadOptions) AsAzureUploadOptions() (AzureUploadOptions, error)

AsAzureUploadOptions returns the union data inside the UploadOptions as a AzureUploadOptions

func (UploadOptions) AsContainerUploadOptions

func (t UploadOptions) AsContainerUploadOptions() (ContainerUploadOptions, error)

AsContainerUploadOptions returns the union data inside the UploadOptions as a ContainerUploadOptions

func (UploadOptions) AsGCPUploadOptions

func (t UploadOptions) AsGCPUploadOptions() (GCPUploadOptions, error)

AsGCPUploadOptions returns the union data inside the UploadOptions as a GCPUploadOptions

func (UploadOptions) AsLocalUploadOptions

func (t UploadOptions) AsLocalUploadOptions() (LocalUploadOptions, error)

AsLocalUploadOptions returns the union data inside the UploadOptions as a LocalUploadOptions

func (UploadOptions) AsOCIUploadOptions

func (t UploadOptions) AsOCIUploadOptions() (OCIUploadOptions, error)

AsOCIUploadOptions returns the union data inside the UploadOptions as a OCIUploadOptions

func (UploadOptions) AsPulpOSTreeUploadOptions

func (t UploadOptions) AsPulpOSTreeUploadOptions() (PulpOSTreeUploadOptions, error)

AsPulpOSTreeUploadOptions returns the union data inside the UploadOptions as a PulpOSTreeUploadOptions

func (*UploadOptions) FromAWSEC2UploadOptions

func (t *UploadOptions) FromAWSEC2UploadOptions(v AWSEC2UploadOptions) error

FromAWSEC2UploadOptions overwrites any union data inside the UploadOptions as the provided AWSEC2UploadOptions

func (*UploadOptions) FromAWSS3UploadOptions

func (t *UploadOptions) FromAWSS3UploadOptions(v AWSS3UploadOptions) error

FromAWSS3UploadOptions overwrites any union data inside the UploadOptions as the provided AWSS3UploadOptions

func (*UploadOptions) FromAzureUploadOptions

func (t *UploadOptions) FromAzureUploadOptions(v AzureUploadOptions) error

FromAzureUploadOptions overwrites any union data inside the UploadOptions as the provided AzureUploadOptions

func (*UploadOptions) FromContainerUploadOptions

func (t *UploadOptions) FromContainerUploadOptions(v ContainerUploadOptions) error

FromContainerUploadOptions overwrites any union data inside the UploadOptions as the provided ContainerUploadOptions

func (*UploadOptions) FromGCPUploadOptions

func (t *UploadOptions) FromGCPUploadOptions(v GCPUploadOptions) error

FromGCPUploadOptions overwrites any union data inside the UploadOptions as the provided GCPUploadOptions

func (*UploadOptions) FromLocalUploadOptions

func (t *UploadOptions) FromLocalUploadOptions(v LocalUploadOptions) error

FromLocalUploadOptions overwrites any union data inside the UploadOptions as the provided LocalUploadOptions

func (*UploadOptions) FromOCIUploadOptions

func (t *UploadOptions) FromOCIUploadOptions(v OCIUploadOptions) error

FromOCIUploadOptions overwrites any union data inside the UploadOptions as the provided OCIUploadOptions

func (*UploadOptions) FromPulpOSTreeUploadOptions

func (t *UploadOptions) FromPulpOSTreeUploadOptions(v PulpOSTreeUploadOptions) error

FromPulpOSTreeUploadOptions overwrites any union data inside the UploadOptions as the provided PulpOSTreeUploadOptions

func (UploadOptions) MarshalJSON

func (t UploadOptions) MarshalJSON() ([]byte, error)

func (*UploadOptions) MergeAWSEC2UploadOptions

func (t *UploadOptions) MergeAWSEC2UploadOptions(v AWSEC2UploadOptions) error

MergeAWSEC2UploadOptions performs a merge with any union data inside the UploadOptions, using the provided AWSEC2UploadOptions

func (*UploadOptions) MergeAWSS3UploadOptions

func (t *UploadOptions) MergeAWSS3UploadOptions(v AWSS3UploadOptions) error

MergeAWSS3UploadOptions performs a merge with any union data inside the UploadOptions, using the provided AWSS3UploadOptions

func (*UploadOptions) MergeAzureUploadOptions

func (t *UploadOptions) MergeAzureUploadOptions(v AzureUploadOptions) error

MergeAzureUploadOptions performs a merge with any union data inside the UploadOptions, using the provided AzureUploadOptions

func (*UploadOptions) MergeContainerUploadOptions

func (t *UploadOptions) MergeContainerUploadOptions(v ContainerUploadOptions) error

MergeContainerUploadOptions performs a merge with any union data inside the UploadOptions, using the provided ContainerUploadOptions

func (*UploadOptions) MergeGCPUploadOptions

func (t *UploadOptions) MergeGCPUploadOptions(v GCPUploadOptions) error

MergeGCPUploadOptions performs a merge with any union data inside the UploadOptions, using the provided GCPUploadOptions

func (*UploadOptions) MergeLocalUploadOptions

func (t *UploadOptions) MergeLocalUploadOptions(v LocalUploadOptions) error

MergeLocalUploadOptions performs a merge with any union data inside the UploadOptions, using the provided LocalUploadOptions

func (*UploadOptions) MergeOCIUploadOptions

func (t *UploadOptions) MergeOCIUploadOptions(v OCIUploadOptions) error

MergeOCIUploadOptions performs a merge with any union data inside the UploadOptions, using the provided OCIUploadOptions

func (*UploadOptions) MergePulpOSTreeUploadOptions

func (t *UploadOptions) MergePulpOSTreeUploadOptions(v PulpOSTreeUploadOptions) error

MergePulpOSTreeUploadOptions performs a merge with any union data inside the UploadOptions, using the provided PulpOSTreeUploadOptions

func (*UploadOptions) UnmarshalJSON

func (t *UploadOptions) UnmarshalJSON(b []byte) error

type UploadStatus

type UploadStatus struct {
	Options UploadStatus_Options `json:"options"`
	Status  UploadStatusValue    `json:"status"`
	Type    UploadTypes          `json:"type"`
}

UploadStatus defines model for UploadStatus.

type UploadStatusValue

type UploadStatusValue string

UploadStatusValue defines model for UploadStatusValue.

const (
	Failure UploadStatusValue = "failure"
	Pending UploadStatusValue = "pending"
	Running UploadStatusValue = "running"
	Success UploadStatusValue = "success"
)

Defines values for UploadStatusValue.

type UploadStatus_Options

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

UploadStatus_Options defines model for UploadStatus.Options.

func (UploadStatus_Options) AsAWSEC2UploadStatus

func (t UploadStatus_Options) AsAWSEC2UploadStatus() (AWSEC2UploadStatus, error)

AsAWSEC2UploadStatus returns the union data inside the UploadStatus_Options as a AWSEC2UploadStatus

func (UploadStatus_Options) AsAWSS3UploadStatus

func (t UploadStatus_Options) AsAWSS3UploadStatus() (AWSS3UploadStatus, error)

AsAWSS3UploadStatus returns the union data inside the UploadStatus_Options as a AWSS3UploadStatus

func (UploadStatus_Options) AsAzureUploadStatus

func (t UploadStatus_Options) AsAzureUploadStatus() (AzureUploadStatus, error)

AsAzureUploadStatus returns the union data inside the UploadStatus_Options as a AzureUploadStatus

func (UploadStatus_Options) AsContainerUploadStatus

func (t UploadStatus_Options) AsContainerUploadStatus() (ContainerUploadStatus, error)

AsContainerUploadStatus returns the union data inside the UploadStatus_Options as a ContainerUploadStatus

func (UploadStatus_Options) AsGCPUploadStatus

func (t UploadStatus_Options) AsGCPUploadStatus() (GCPUploadStatus, error)

AsGCPUploadStatus returns the union data inside the UploadStatus_Options as a GCPUploadStatus

func (UploadStatus_Options) AsOCIUploadStatus

func (t UploadStatus_Options) AsOCIUploadStatus() (OCIUploadStatus, error)

AsOCIUploadStatus returns the union data inside the UploadStatus_Options as a OCIUploadStatus

func (UploadStatus_Options) AsPulpOSTreeUploadStatus

func (t UploadStatus_Options) AsPulpOSTreeUploadStatus() (PulpOSTreeUploadStatus, error)

AsPulpOSTreeUploadStatus returns the union data inside the UploadStatus_Options as a PulpOSTreeUploadStatus

func (*UploadStatus_Options) FromAWSEC2UploadStatus

func (t *UploadStatus_Options) FromAWSEC2UploadStatus(v AWSEC2UploadStatus) error

FromAWSEC2UploadStatus overwrites any union data inside the UploadStatus_Options as the provided AWSEC2UploadStatus

func (*UploadStatus_Options) FromAWSS3UploadStatus

func (t *UploadStatus_Options) FromAWSS3UploadStatus(v AWSS3UploadStatus) error

FromAWSS3UploadStatus overwrites any union data inside the UploadStatus_Options as the provided AWSS3UploadStatus

func (*UploadStatus_Options) FromAzureUploadStatus

func (t *UploadStatus_Options) FromAzureUploadStatus(v AzureUploadStatus) error

FromAzureUploadStatus overwrites any union data inside the UploadStatus_Options as the provided AzureUploadStatus

func (*UploadStatus_Options) FromContainerUploadStatus

func (t *UploadStatus_Options) FromContainerUploadStatus(v ContainerUploadStatus) error

FromContainerUploadStatus overwrites any union data inside the UploadStatus_Options as the provided ContainerUploadStatus

func (*UploadStatus_Options) FromGCPUploadStatus

func (t *UploadStatus_Options) FromGCPUploadStatus(v GCPUploadStatus) error

FromGCPUploadStatus overwrites any union data inside the UploadStatus_Options as the provided GCPUploadStatus

func (*UploadStatus_Options) FromOCIUploadStatus

func (t *UploadStatus_Options) FromOCIUploadStatus(v OCIUploadStatus) error

FromOCIUploadStatus overwrites any union data inside the UploadStatus_Options as the provided OCIUploadStatus

func (*UploadStatus_Options) FromPulpOSTreeUploadStatus

func (t *UploadStatus_Options) FromPulpOSTreeUploadStatus(v PulpOSTreeUploadStatus) error

FromPulpOSTreeUploadStatus overwrites any union data inside the UploadStatus_Options as the provided PulpOSTreeUploadStatus

func (UploadStatus_Options) MarshalJSON

func (t UploadStatus_Options) MarshalJSON() ([]byte, error)

func (*UploadStatus_Options) MergeAWSEC2UploadStatus

func (t *UploadStatus_Options) MergeAWSEC2UploadStatus(v AWSEC2UploadStatus) error

MergeAWSEC2UploadStatus performs a merge with any union data inside the UploadStatus_Options, using the provided AWSEC2UploadStatus

func (*UploadStatus_Options) MergeAWSS3UploadStatus

func (t *UploadStatus_Options) MergeAWSS3UploadStatus(v AWSS3UploadStatus) error

MergeAWSS3UploadStatus performs a merge with any union data inside the UploadStatus_Options, using the provided AWSS3UploadStatus

func (*UploadStatus_Options) MergeAzureUploadStatus

func (t *UploadStatus_Options) MergeAzureUploadStatus(v AzureUploadStatus) error

MergeAzureUploadStatus performs a merge with any union data inside the UploadStatus_Options, using the provided AzureUploadStatus

func (*UploadStatus_Options) MergeContainerUploadStatus

func (t *UploadStatus_Options) MergeContainerUploadStatus(v ContainerUploadStatus) error

MergeContainerUploadStatus performs a merge with any union data inside the UploadStatus_Options, using the provided ContainerUploadStatus

func (*UploadStatus_Options) MergeGCPUploadStatus

func (t *UploadStatus_Options) MergeGCPUploadStatus(v GCPUploadStatus) error

MergeGCPUploadStatus performs a merge with any union data inside the UploadStatus_Options, using the provided GCPUploadStatus

func (*UploadStatus_Options) MergeOCIUploadStatus

func (t *UploadStatus_Options) MergeOCIUploadStatus(v OCIUploadStatus) error

MergeOCIUploadStatus performs a merge with any union data inside the UploadStatus_Options, using the provided OCIUploadStatus

func (*UploadStatus_Options) MergePulpOSTreeUploadStatus

func (t *UploadStatus_Options) MergePulpOSTreeUploadStatus(v PulpOSTreeUploadStatus) error

MergePulpOSTreeUploadStatus performs a merge with any union data inside the UploadStatus_Options, using the provided PulpOSTreeUploadStatus

func (*UploadStatus_Options) UnmarshalJSON

func (t *UploadStatus_Options) UnmarshalJSON(b []byte) error

type UploadTarget

type UploadTarget struct {
	Type UploadTypes `json:"type"`

	// UploadOptions Options for a given upload destination.
	// This should really be oneOf but AWSS3UploadOptions is a subset of
	// AWSEC2UploadOptions. This means that all AWSEC2UploadOptions objects
	// are also valid AWSS3UploadOptionas objects which violates the oneOf
	// rules. Therefore, we have to use anyOf here but be aware that it isn't
	// possible to mix and match more schemas together.
	UploadOptions UploadOptions `json:"upload_options"`
}

UploadTarget defines model for UploadTarget.

type UploadTypes

type UploadTypes string

UploadTypes defines model for UploadTypes.

const (
	UploadTypesAws              UploadTypes = "aws"
	UploadTypesAwsS3            UploadTypes = "aws.s3"
	UploadTypesAzure            UploadTypes = "azure"
	UploadTypesContainer        UploadTypes = "container"
	UploadTypesGcp              UploadTypes = "gcp"
	UploadTypesLocal            UploadTypes = "local"
	UploadTypesOciObjectstorage UploadTypes = "oci.objectstorage"
	UploadTypesPulpOstree       UploadTypes = "pulp.ostree"
)

Defines values for UploadTypes.

type User

type User struct {
	Groups *[]string `json:"groups,omitempty"`
	Key    *string   `json:"key,omitempty"`
	Name   string    `json:"name"`

	// Password If the password starts with $6$, $5$, or $2b$ it will be stored as
	// an encrypted password. Otherwise it will be treated as a plain text
	// password.
	Password *string `json:"password,omitempty"`
}

User defines model for User.

Jump to

Keyboard shortcuts

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