Documentation ¶
Index ¶
- func ExampleKubeVirtTemplate(o *ExampleKubevirtOptions) *hyperv1.KubevirtNodePoolPlatform
- type AzureCreds
- type ExampleAWSOptions
- type ExampleAWSOptionsZones
- type ExampleAgentOptions
- type ExampleAgentResources
- type ExampleAzureOptions
- type ExampleKubevirtOptions
- type ExampleNoneOptions
- type ExampleOptions
- type ExamplePowerVSOptions
- type ExamplePowerVSResources
- type ExampleResources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExampleKubeVirtTemplate ¶
func ExampleKubeVirtTemplate(o *ExampleKubevirtOptions) *hyperv1.KubevirtNodePoolPlatform
Types ¶
type AzureCreds ¶
type AzureCreds struct { SubscriptionID string `json:"subscriptionId,omitempty"` ClientID string `json:"clientId,omitempty"` ClientSecret string `json:"clientSecret,omitempty"` TenantID string `json:"tenantId,omitempty"` }
AzureCreds is the fileformat we expect for credentials. It is copied from the installer to allow using the same crededentials file for both: https://github.com/openshift/installer/blob/8fca1ade5b096d9b2cd312c4599881d099439288/pkg/asset/installconfig/azure/session.go#L36
type ExampleAWSOptions ¶
type ExampleAWSOptions struct { Region string Zones []ExampleAWSOptionsZones VPCID string SecurityGroupID string InstanceProfile string InstanceType string Roles hyperv1.AWSRolesRef KMSProviderRoleARN string KMSKeyARN string RootVolumeSize int64 RootVolumeType string RootVolumeIOPS int64 RootVolumeEncryptionKey string ResourceTags []hyperv1.AWSResourceTag EndpointAccess string ProxyAddress string }
type ExampleAWSOptionsZones ¶
type ExampleAgentOptions ¶
type ExampleAgentResources ¶
func (*ExampleAgentResources) AsObjects ¶
func (o *ExampleAgentResources) AsObjects() []crclient.Object
type ExampleAzureOptions ¶
type ExampleKubevirtOptions ¶
type ExampleKubevirtOptions struct { ServicePublishingStrategy string APIServerAddress string Memory string Cores uint32 Image string RootVolumeSize uint32 RootVolumeStorageClass string RootVolumeAccessModes string RootVolumeVolumeMode string BaseDomainPassthrough bool InfraKubeConfig []byte InfraNamespace string CacheStrategyType string InfraStorageClassMappings []string NetworkInterfaceMultiQueue *hyperv1.MultiQueueSetting QoSClass *hyperv1.QoSClass }
type ExampleNoneOptions ¶
type ExampleNoneOptions struct {
APIServerAddress string
}
type ExampleOptions ¶
type ExampleOptions struct { AdditionalTrustBundle string Namespace string Name string ReleaseImage string PullSecret []byte IssuerURL string SSHPublicKey []byte SSHPrivateKey []byte NodePoolReplicas int32 NodeDrainTimeout time.Duration ImageContentSources []hyperv1.ImageContentSource InfraID string MachineCIDR string ServiceCIDR string ClusterCIDR string NodeSelector map[string]string BaseDomain string BaseDomainPrefix string PublicZoneID string PrivateZoneID string Annotations map[string]string FIPS bool AutoRepair bool EtcdStorageClass string ExternalDNSDomain string Arch string PausedUntil string AWS *ExampleAWSOptions None *ExampleNoneOptions Agent *ExampleAgentOptions Kubevirt *ExampleKubevirtOptions Azure *ExampleAzureOptions PowerVS *ExamplePowerVSOptions NetworkType hyperv1.NetworkType ControlPlaneAvailabilityPolicy hyperv1.AvailabilityPolicy InfrastructureAvailabilityPolicy hyperv1.AvailabilityPolicy UpgradeType hyperv1.UpgradeType }
func (ExampleOptions) EtcdEncryptionKeySecret ¶
func (o ExampleOptions) EtcdEncryptionKeySecret() *corev1.Secret
func (ExampleOptions) Resources ¶
func (o ExampleOptions) Resources() *ExampleResources
type ExamplePowerVSOptions ¶
type ExamplePowerVSOptions struct { AccountID string ResourceGroup string Region string Zone string CISInstanceCRN string CloudInstanceID string Subnet string SubnetID string CloudConnection string VPCRegion string VPC string VPCSubnet string Resources ExamplePowerVSResources // nodepool related options SysType string ProcType hyperv1.PowerVSNodePoolProcType Processors string Memory int32 }
type ExamplePowerVSResources ¶
type ExamplePowerVSResources struct { KubeCloudControllerCreds *corev1.Secret NodePoolManagementCreds *corev1.Secret IngressOperatorCloudCreds *corev1.Secret StorageOperatorCloudCreds *corev1.Secret ImageRegistryOperatorCloudCreds *corev1.Secret }
func (*ExamplePowerVSResources) AsObjects ¶
func (o *ExamplePowerVSResources) AsObjects() []crclient.Object
type ExampleResources ¶
type ExampleResources struct { AdditionalTrustBundle *corev1.ConfigMap Namespace *corev1.Namespace PullSecret *corev1.Secret Resources []crclient.Object SSHKey *corev1.Secret Cluster *hyperv1.HostedCluster NodePools []*hyperv1.NodePool }
func (*ExampleResources) AsObjects ¶
func (o *ExampleResources) AsObjects() []crclient.Object
Click to show internal directories.
Click to hide internal directories.