Documentation ¶
Index ¶
- type CloudProviderInfo
- type CloudProviderInfoList
- type CloudProviderRegionInfo
- type CloudProviderRegionInfoList
- type ClusterNodeTaint
- type ClusterRequest
- type ClusterSpec
- type IdentityProviderInfo
- type MachinePoolAutoScaling
- type MachinePoolInfo
- type MachinePoolRequest
- type OpenIDIdentityProviderInfo
- type Parameter
- type QuotaCost
- type ResourceSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudProviderInfo ¶
type CloudProviderInfoList ¶
type CloudProviderInfoList struct {
Items []CloudProviderInfo
}
type CloudProviderRegionInfo ¶
type CloudProviderRegionInfoList ¶
type CloudProviderRegionInfoList struct {
Items []CloudProviderRegionInfo
}
func (*CloudProviderRegionInfoList) Merge ¶
func (target *CloudProviderRegionInfoList) Merge(source *CloudProviderRegionInfoList)
Merge merges the items of source regions list with items of the target regions list
type ClusterNodeTaint ¶
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 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 ¶
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
Click to show internal directories.
Click to hide internal directories.