types

package
v0.0.0-...-9b598c7 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudProviderInfo

type CloudProviderInfo struct {
	ID          string
	Name        string
	DisplayName string
}

type CloudProviderInfoList

type CloudProviderInfoList struct {
	Items []CloudProviderInfo
}

type CloudProviderRegionInfo

type CloudProviderRegionInfo struct {
	ID              string
	CloudProviderID string
	Name            string
	DisplayName     string
	SupportsMultiAZ bool
}

type CloudProviderRegionInfoList

type CloudProviderRegionInfoList struct {
	Items []CloudProviderRegionInfo
}

func (*CloudProviderRegionInfoList) Merge

Merge merges the items of source regions list with items of the target regions list

type ClusterNodeTaint

type ClusterNodeTaint struct {
	Effect string
	Key    string
	Value  string
}

type ClusterRequest

type ClusterRequest struct {
	// cloud provider requirement
	CloudProvider string
	// region of the cluster
	Region string
	// if the cluster is multi-az
	MultiAZ bool
	// AdditionalSpec Additional information that can be used by the cloud provider to use when creating a new OpenShift/k8s cluster
	AdditionalSpec api.JSON
}

ClusterRequest information about the cluster creation request

type ClusterSpec

type ClusterSpec struct {
	// internal id of the cluster. Used when making requests to the provider
	InternalID string `json:"internal_id"`
	// external id of the cluster. Some providers provide an additional id for external usage. If not provided, the InternalID will be used.
	ExternalID string `json:"external_id"`
	// the status of the cluster
	Status api.ClusterStatus `json:"status"`
	// details about the status (for example, error messages for status = failed)
	StatusDetails string `json:"status_details"`
	// additional information related to the cluster, can vary depending on the provider
	AdditionalInfo api.JSON `json:"additional_info"`
	// cloud provider region the cluster
	Region string `json:"region"`
	// cloud provider name of the cluster
	CloudProvider string `json:"cloud_provider"`
	// multi AZ availability flag of the cluster
	MultiAZ bool `json:"multi_az"`
}

ClusterSpec Information about the openshift/k8s cluster

type IdentityProviderInfo

type IdentityProviderInfo struct {
	OpenID *OpenIDIdentityProviderInfo
}

IdentityProviderInfo contains information about identity providers

type MachinePoolAutoScaling

type MachinePoolAutoScaling struct {
	MinNodes int
	MaxNodes int
}

type MachinePoolInfo

type MachinePoolInfo struct {
	ID                 string
	InstanceSize       string
	MultiAZ            bool
	AutoScalingEnabled bool
	AutoScaling        MachinePoolAutoScaling
	Replicas           int
	ClusterID          string
	NodeLabels         map[string]string
	NodeTaints         []ClusterNodeTaint
}

type MachinePoolRequest

type MachinePoolRequest struct {
	ID                 string
	InstanceSize       string
	MultiAZ            bool
	AutoScalingEnabled bool
	AutoScaling        MachinePoolAutoScaling
	Replicas           int
	ClusterID          string
	NodeLabels         map[string]string
	NodeTaints         []ClusterNodeTaint
}

type OpenIDIdentityProviderInfo

type OpenIDIdentityProviderInfo struct {
	ID           string
	Name         string
	ClientID     string
	ClientSecret string
	Issuer       string
}

OpenIDIdentityProviderInfo information for configuring an OpenID identity provider

type Parameter

type Parameter = ocm.Parameter

Specify the parameters for an installation Value will be string here and the provider will convert it to the right type

type QuotaCost

type QuotaCost struct {
	// The quota ID
	ID string
	// The maximum allowed quota for this resource
	MaxAllowed int
	// The number of quota currently consumed by this resource
	Consumed int
}

QuotaCost represents the quota cost information of a provider resource.

type ResourceSet

type ResourceSet struct {
	Name      string
	Resources []interface{}
}

ResourceSet A set of OpenShift/k8s resources

Jump to

Keyboard shortcuts

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