Documentation
¶
Index ¶
- Constants
- func InstallPhaseStrings() []string
- func OperatorFlagsMergeStrategy(oc *api.OpenShiftCluster, body []byte, defaultFlags api.OperatorFlags) error
- type APIServerProfile
- type ArchitectureVersion
- type ClusterProfile
- type ConsoleProfile
- type CreatedByType
- type EffectiveOutboundIP
- type EncryptionAtHost
- type FeatureProfile
- type FipsValidatedModules
- type HiveProfile
- type IngressProfile
- type Install
- type InstallPhase
- type LoadBalancerProfile
- type MIMOTaskID
- type MTUSize
- type MaintenanceManifest
- type MaintenanceManifestList
- type MaintenanceManifestState
- type MaintenanceState
- type MaintenanceTask
- type ManagedOutboundIPs
- type ManagedServiceIdentity
- type ManagedServiceIdentityType
- type MasterProfile
- type NetworkProfile
- type OIDCIssuer
- type OpenShiftCluster
- type OpenShiftClusterList
- type OpenShiftClusterProperties
- type OpenShiftVersion
- type OpenShiftVersionList
- type OpenShiftVersionProperties
- type OperatorFlags
- type OutboundIP
- type OutboundIPPrefix
- type OutboundType
- type PlatformWorkloadIdentity
- type PlatformWorkloadIdentityProfile
- type PlatformWorkloadIdentityRole
- type PlatformWorkloadIdentityRoleSet
- type PlatformWorkloadIdentityRoleSetList
- type PlatformWorkloadIdentityRoleSetProperties
- type PreconfiguredNSG
- type ProvisioningState
- type RegistryProfile
- type ResourceReference
- type SecretLocation
- type ServicePrincipalProfile
- type SoftwareDefinedNetwork
- type SystemData
- type UpgradeableTo
- type UserAssignedIdentity
- type VMSize
- type Visibility
- type WorkerProfile
Constants ¶
const ( OperatorFlagsMergeStrategyMerge string = "merge" OperatorFlagsMergeStrategyReset string = "reset" )
const APIVersion = "admin"
APIVersion contains a version string as it will be used by clients
Variables ¶
This section is empty.
Functions ¶
func InstallPhaseStrings ¶
func InstallPhaseStrings() []string
InstallPhaseStrings returns a slice of all String values of the enum
func OperatorFlagsMergeStrategy ¶
func OperatorFlagsMergeStrategy(oc *api.OpenShiftCluster, body []byte, defaultFlags api.OperatorFlags) error
merge (default): The provided cluster flags are laid on top of the cluster’s existing flags. reset: The provided cluster flags are laid on top of the default cluster flags, essentially ‘resetting’ the flags if no new flags are provided.
Types ¶
type APIServerProfile ¶
type APIServerProfile struct {
Visibility Visibility `json:"visibility,omitempty"`
URL string `json:"url,omitempty"`
IP string `json:"ip,omitempty"`
IntIP string `json:"intIp,omitempty"`
}
APIServerProfile represents an API server profile.
type ArchitectureVersion ¶
type ArchitectureVersion int
ArchitectureVersion represents an architecture version
const ( ArchitectureVersionV1 ArchitectureVersion = iota ArchitectureVersionV2 )
ArchitectureVersion constants
type ClusterProfile ¶
type ClusterProfile struct {
Domain string `json:"domain,omitempty"`
Version string `json:"version,omitempty"`
ResourceGroupID string `json:"resourceGroupId,omitempty"`
FipsValidatedModules FipsValidatedModules `json:"fipsValidatedModules,omitempty"`
OIDCIssuer *OIDCIssuer `json:"oidcIssuer,omitempty"`
}
ClusterProfile represents a cluster profile.
type ConsoleProfile ¶
type ConsoleProfile struct {
URL string `json:"url,omitempty"`
}
ConsoleProfile represents a console profile.
type CreatedByType ¶
type CreatedByType string
CreatedByType defines user type, which executed the request
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
type EffectiveOutboundIP ¶
type EffectiveOutboundIP ResourceReference
EffectiveOutboundIP represents an effective outbound IP resource of the cluster public load balancer.
type EncryptionAtHost ¶
type EncryptionAtHost string
EncryptionAtHost represents encryption at host state
const ( EncryptionAtHostEnabled EncryptionAtHost = "Enabled" EncryptionAtHostDisabled EncryptionAtHost = "Disabled" )
EncryptionAtHost constants
type FeatureProfile ¶
type FeatureProfile struct {
GatewayEnabled bool `json:"gatewayEnabled,omitempty" mutable:"true"`
}
FeatureProfile represents a feature profile.
type FipsValidatedModules ¶
type FipsValidatedModules string
FipsValidatedModules determines if FIPS is used.
const ( FipsValidatedModulesEnabled FipsValidatedModules = "Enabled" FipsValidatedModulesDisabled FipsValidatedModules = "Disabled" )
FipsValidatedModules constants.
type HiveProfile ¶
type IngressProfile ¶
type IngressProfile struct {
Name string `json:"name,omitempty"`
Visibility Visibility `json:"visibility,omitempty"`
IP string `json:"ip,omitempty"`
}
IngressProfile represents an ingress profile.
type Install ¶
type Install struct {
Now time.Time `json:"now,omitempty"`
Phase InstallPhase `json:"phase"`
}
Install represents an install process.
type InstallPhase ¶
type InstallPhase int
InstallPhase represents an install phase.
const ( InstallPhaseBootstrap InstallPhase = iota InstallPhaseRemoveBootstrap )
InstallPhase constants.
func InstallPhaseString ¶
func InstallPhaseString(s string) (InstallPhase, error)
InstallPhaseString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func InstallPhaseValues ¶
func InstallPhaseValues() []InstallPhase
InstallPhaseValues returns all values of the enum
func (InstallPhase) IsAInstallPhase ¶
func (i InstallPhase) IsAInstallPhase() bool
IsAInstallPhase returns "true" if the value is listed in the enum definition. "false" otherwise
func (InstallPhase) MarshalJSON ¶
func (p InstallPhase) MarshalJSON() ([]byte, error)
MarshalJSON marshals an InstallPhase
func (InstallPhase) String ¶
func (i InstallPhase) String() string
func (*InstallPhase) UnmarshalJSON ¶
func (p *InstallPhase) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals an InstallPhase
type LoadBalancerProfile ¶
type LoadBalancerProfile struct {
// The desired managed outbound IPs for the cluster public load balancer.
ManagedOutboundIPs *ManagedOutboundIPs `json:"managedOutboundIps,omitempty"`
// The list of effective outbound IP addresses of the public load balancer.
EffectiveOutboundIPs []EffectiveOutboundIP `json:"effectiveOutboundIps,omitempty" swagger:"readOnly"`
// The desired outbound IP resources for the cluster load balancer.
OutboundIPs []OutboundIP `json:"outboundIps,omitempty"`
// The desired outbound IP Prefix resources for the cluster load balancer.
OutboundIPPrefixes []OutboundIPPrefix `json:"outboundIpPrefixes,omitempty"`
// The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 1024.
AllocatedOutboundPorts *int `json:"allocatedOutboundPorts,omitempty"`
}
LoadBalancerProfile represents the profile of the cluster public load balancer.
type MIMOTaskID ¶
type MIMOTaskID string
type MTUSize ¶
type MTUSize int
MTUSize represents the MTU size of a cluster (Maximum transmission unit)
type MaintenanceManifest ¶
type MaintenanceManifest struct {
// The ID for the resource.
ID string `json:"id,omitempty"`
ClusterResourceID string `json:"clusterResourceID,omitempty"`
State MaintenanceManifestState `json:"state,omitempty"`
StatusText string `json:"statusText,omitempty"`
MaintenanceTaskID MIMOTaskID `json:"maintenanceTaskID,omitempty"`
Priority int `json:"priority,omitempty"`
// RunAfter defines the earliest that this manifest should start running
RunAfter int `json:"runAfter,omitempty"`
// RunBefore defines the latest that this manifest should start running
RunBefore int `json:"runBefore,omitempty"`
}
type MaintenanceManifestList ¶
type MaintenanceManifestList struct {
// The list of MaintenanceManifests.
MaintenanceManifests []*MaintenanceManifest `json:"value"`
// The link used to get the next page of operations.
NextLink string `json:"nextLink,omitempty"`
}
MaintenanceManifestList represents a list of MaintenanceManifests.
type MaintenanceManifestState ¶
type MaintenanceManifestState string
const ( MaintenanceManifestStatePending MaintenanceManifestState = "Pending" MaintenanceManifestStateInProgress MaintenanceManifestState = "InProgress" MaintenanceManifestStateCompleted MaintenanceManifestState = "Completed" MaintenanceManifestStateFailed MaintenanceManifestState = "Failed" MaintenanceManifestStateRetriesExceeded MaintenanceManifestState = "RetriesExceeded" MaintenanceManifestStateTimedOut MaintenanceManifestState = "TimedOut" MaintenanceManifestStateCancelled MaintenanceManifestState = "Cancelled" )
type MaintenanceState ¶
type MaintenanceState string
MaintenanceState represents the maintenance state of a cluster. This is used by cluster monitornig stack to emit maintenance signals to customers.
const ( MaintenanceStateNone MaintenanceState = "None" MaintenanceStatePending MaintenanceState = "Pending" MaintenanceStatePlanned MaintenanceState = "Planned" MaintenanceStateUnplanned MaintenanceState = "Unplanned" MaintenanceStateCustomerActionNeeded MaintenanceState = "CustomerActionNeeded" )
type MaintenanceTask ¶
type MaintenanceTask string
const ( MaintenanceTaskEverything MaintenanceTask = "Everything" MaintenanceTaskOperator MaintenanceTask = "OperatorUpdate" MaintenanceTaskRenewCerts MaintenanceTask = "CertificatesRenewal" MaintenanceTaskSyncClusterObject MaintenanceTask = "SyncClusterObject" MaintenanceTaskMigrateLoadBalancer MaintenanceTask = "MigrateLoadBalancer" MaintenanceTaskPending MaintenanceTask = "Pending" // None signal should only be used when (1) admin update fails and (2) SRE fixes the failed admin update without running another admin updates // Admin update success should automatically set the cluster into None state MaintenanceTaskNone MaintenanceTask = "None" // Customer action needed signal should only be used when (1) admin update fails and (2) customer needs to take action to resolve the failure // To remove the signal after customer takes action, use maintenance task None MaintenanceTaskCustomerActionNeeded MaintenanceTask = "CustomerActionNeeded" )
type ManagedOutboundIPs ¶
type ManagedOutboundIPs struct {
// Count represents the desired number of IPv4 outbound IPs created and managed by Azure for the cluster public load balancer. Allowed values are in the range of 1 - 20. The default value is 1.
Count int `json:"count,omitempty"`
}
ManagedOutboundIPs represents the desired managed outbound IPs for the cluster public load balancer.
type ManagedServiceIdentity ¶
type ManagedServiceIdentity struct {
// The type of the ManagedServiceIdentity resource.
Type ManagedServiceIdentityType `json:"type,omitempty"`
// The PrincipalID of the Identity resource.
PrincipalID string `json:"principalId,omitempty" swagger:"readOnly"`
// The TenantID provided by the MSI RP
TenantID string `json:"tenantId,omitempty" swagger:"readOnly"`
// A map of user assigned identities attached to the cluster, specified in a type required by Microsoft's Managed Identity team.
UserAssignedIdentities map[string]UserAssignedIdentity `json:"userAssignedIdentities,omitempty"`
}
ManagedServiceIdentity stores information about the cluster MSI(s) in a workload identity cluster.
type ManagedServiceIdentityType ¶
type ManagedServiceIdentityType string
The ManagedServiceIdentity type.
const ( ManagedServiceIdentityNone ManagedServiceIdentityType = "None" ManagedServiceIdentitySystemAssigned ManagedServiceIdentityType = "SystemAssigned" ManagedServiceIdentityUserAssigned ManagedServiceIdentityType = "UserAssigned" ManagedServiceIdentitySystemAssignedUserAssigned ManagedServiceIdentityType = "SystemAssigned,UserAssigned" )
ManagedServiceIdentityType constants
type MasterProfile ¶
type MasterProfile struct {
VMSize VMSize `json:"vmSize,omitempty"`
SubnetID string `json:"subnetId,omitempty"`
EncryptionAtHost EncryptionAtHost `json:"encryptionAtHost,omitempty"`
DiskEncryptionSetID string `json:"diskEncryptionSetId,omitempty"`
}
MasterProfile represents a master profile.
type NetworkProfile ¶
type NetworkProfile struct {
// The software defined network (SDN) to use when installing the cluster.
SoftwareDefinedNetwork SoftwareDefinedNetwork `json:"softwareDefinedNetwork,omitempty"`
PodCIDR string `json:"podCidr,omitempty"`
ServiceCIDR string `json:"serviceCidr,omitempty"`
MTUSize MTUSize `json:"mtuSize,omitempty"`
OutboundType OutboundType `json:"outboundType,omitempty" mutable:"true"`
APIServerPrivateEndpointIP string `json:"privateEndpointIp,omitempty"`
GatewayPrivateEndpointIP string `json:"gatewayPrivateEndpointIp,omitempty"`
GatewayPrivateLinkID string `json:"gatewayPrivateLinkId,omitempty"`
PreconfiguredNSG PreconfiguredNSG `json:"preconfiguredNSG,omitempty"`
LoadBalancerProfile *LoadBalancerProfile `json:"loadBalancerProfile,omitempty"`
}
NetworkProfile represents a network profile.
type OIDCIssuer ¶
type OIDCIssuer string
OIDCIssuer represents the URL of the managed OIDC issuer in a workload identity cluster.
type OpenShiftCluster ¶
type OpenShiftCluster struct {
ID string `json:"id,omitempty" mutable:"case"`
Name string `json:"name,omitempty" mutable:"case"`
Type string `json:"type,omitempty" mutable:"case"`
Location string `json:"location,omitempty"`
Tags map[string]string `json:"tags,omitempty"`
Properties OpenShiftClusterProperties `json:"properties,omitempty"`
Identity *ManagedServiceIdentity `json:"identity,omitempty"`
OperatorFlagsMergeStrategy string `json:"operatorFlagsMergeStrategy,omitempty" mutable:"true"`
}
OpenShiftCluster represents an Azure Red Hat OpenShift cluster.
type OpenShiftClusterList ¶
type OpenShiftClusterList struct {
// The list of OpenShift clusters.
OpenShiftClusters []*OpenShiftCluster `json:"value"`
// The link used to get the next page of operations.
NextLink string `json:"nextLink,omitempty"`
}
OpenShiftClusterList represents a list of OpenShift clusters.
type OpenShiftClusterProperties ¶
type OpenShiftClusterProperties struct {
ArchitectureVersion ArchitectureVersion `json:"architectureVersion"` // ArchitectureVersion is int so 0 is valid value to be returned
ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
LastProvisioningState ProvisioningState `json:"lastProvisioningState,omitempty"`
FailedProvisioningState ProvisioningState `json:"failedProvisioningState,omitempty"`
LastAdminUpdateError string `json:"lastAdminUpdateError,omitempty"`
MaintenanceTask MaintenanceTask `json:"maintenanceTask,omitempty" mutable:"true"`
OperatorFlags OperatorFlags `json:"operatorFlags,omitempty" mutable:"true"`
OperatorVersion string `json:"operatorVersion,omitempty" mutable:"true"`
CreatedAt time.Time `json:"createdAt,omitempty"`
CreatedBy string `json:"createdBy,omitempty"`
ProvisionedBy string `json:"provisionedBy,omitempty"`
ClusterProfile ClusterProfile `json:"clusterProfile,omitempty"`
FeatureProfile FeatureProfile `json:"featureProfile,omitempty"`
ConsoleProfile ConsoleProfile `json:"consoleProfile,omitempty"`
ServicePrincipalProfile *ServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"`
PlatformWorkloadIdentityProfile *PlatformWorkloadIdentityProfile `json:"platformWorkloadIdentityProfile,omitempty"`
NetworkProfile NetworkProfile `json:"networkProfile,omitempty"`
MasterProfile MasterProfile `json:"masterProfile,omitempty"`
// WorkerProfiles is used to store the worker profile data that was sent in the api request
WorkerProfiles []WorkerProfile `json:"workerProfiles,omitempty"`
// WorkerProfilesStatus is used to store the enriched worker profile data
WorkerProfilesStatus []WorkerProfile `json:"workerProfilesStatus,omitempty" swagger:"readOnly"`
APIServerProfile APIServerProfile `json:"apiserverProfile,omitempty"`
IngressProfiles []IngressProfile `json:"ingressProfiles,omitempty"`
Install *Install `json:"install,omitempty"`
StorageSuffix string `json:"storageSuffix,omitempty"`
RegistryProfiles []RegistryProfile `json:"registryProfiles,omitempty"`
ImageRegistryStorageAccountName string `json:"imageRegistryStorageAccountName,omitempty"`
InfraID string `json:"infraId,omitempty"`
HiveProfile HiveProfile `json:"hiveProfile,omitempty"`
MaintenanceState MaintenanceState `json:"maintenanceState,omitempty"`
}
OpenShiftClusterProperties represents an OpenShift cluster's properties.
type OpenShiftVersion ¶
type OpenShiftVersion struct {
// The ID for the resource.
ID string `json:"id,omitempty"`
// Name of the resource.
Name string `json:"name,omitempty"`
// The resource type.
Type string `json:"type,omitempty" mutable:"case"`
// The properties for the OpenShiftVersion resource.
Properties OpenShiftVersionProperties `json:"properties,omitempty"`
}
type OpenShiftVersionList ¶
type OpenShiftVersionList struct {
OpenShiftVersions []*OpenShiftVersion `json:"value"`
}
OpenShiftVersionList represents a list of OpenShift versions that can be installed.
type OpenShiftVersionProperties ¶
type OpenShiftVersionProperties struct {
// Version represents the version to create the cluster at.
Version string `json:"version,omitempty"`
OpenShiftPullspec string `json:"openShiftPullspec,omitempty" mutable:"true"`
InstallerPullspec string `json:"installerPullspec,omitempty" mutable:"true"`
Enabled bool `json:"enabled" mutable:"true"`
Default bool `json:"default" mutable:"true"`
}
OpenShiftVersionProperties represents the properties of an OpenShiftVersion.
type OutboundIP ¶
type OutboundIP ResourceReference
OutboundIP represents a desired outbound IP resource for the cluster load balancer.
type OutboundIPPrefix ¶
type OutboundIPPrefix ResourceReference
OutboundIPPrefix represents a desired outbound IP Prefix resource for the cluster load balancer.
type OutboundType ¶
type OutboundType string
The outbound routing strategy used to provide your cluster egress to the internet.
const ( OutboundTypeUserDefinedRouting OutboundType = "UserDefinedRouting" OutboundTypeLoadbalancer OutboundType = "Loadbalancer" )
OutboundType constants.
type PlatformWorkloadIdentity ¶
type PlatformWorkloadIdentity struct {
// The resource ID of the PlatformWorkloadIdentity resource
ResourceID string `json:"resourceId,omitempty"`
// The ClientID of the PlatformWorkloadIdentity resource
ClientID string `json:"clientId,omitempty" swagger:"readOnly"`
// The ObjectID of the PlatformWorkloadIdentity resource
ObjectID string `json:"objectId,omitempty" swagger:"readOnly"`
}
PlatformWorkloadIdentity stores information representing a single workload identity.
type PlatformWorkloadIdentityProfile ¶
type PlatformWorkloadIdentityProfile struct {
UpgradeableTo *UpgradeableTo `json:"upgradeableTo,omitempty"`
PlatformWorkloadIdentities map[string]PlatformWorkloadIdentity `json:"platformWorkloadIdentities,omitempty"`
}
PlatformWorkloadIdentityProfile encapsulates all information that is specific to workload identity clusters.
type PlatformWorkloadIdentityRole ¶
type PlatformWorkloadIdentityRole struct {
// OperatorName represents the name of the operator that this role is for.
OperatorName string `json:"operatorName,omitempty" mutable:"true" validate:"required"`
// RoleDefinitionName represents the name of the role.
RoleDefinitionName string `json:"roleDefinitionName,omitempty" mutable:"true" validate:"required"`
// RoleDefinitionID represents the resource ID of the role definition.
RoleDefinitionID string `json:"roleDefinitionId,omitempty" mutable:"true" validate:"required"`
// ServiceAccounts represents the set of service accounts associated with the given operator, since each service account needs its own federated credential.
ServiceAccounts []string `json:"serviceAccounts,omitempty" mutable:"true" validate:"required"`
// SecretLocation represents the location of the in-cluster secret containing credentials for the platform workload identity.
SecretLocation SecretLocation `json:"secretLocation,omitempty" mutable:"true" validate:"required"`
}
PlatformWorkloadIdentityRole represents a mapping from a particular OCP operator to the built-in role that should be assigned to that operator's corresponding managed identity.
type PlatformWorkloadIdentityRoleSet ¶
type PlatformWorkloadIdentityRoleSet struct {
// The ID for the resource.
ID string `json:"id,omitempty" mutable:"case"`
// Name of the resource.
Name string `json:"name,omitempty" mutable:"case"`
// The resource type.
Type string `json:"type,omitempty" mutable:"case"`
// The properties for the PlatformWorkloadIdentityRoleSet resource.
Properties PlatformWorkloadIdentityRoleSetProperties `json:"properties,omitempty"`
}
PlatformWorkloadIdentityRoleSet represents a mapping from the names of OCP operators to the built-in roles that should be assigned to those operator's corresponding managed identities for a particular OCP version.
type PlatformWorkloadIdentityRoleSetList ¶
type PlatformWorkloadIdentityRoleSetList struct {
// The list of role sets.
PlatformWorkloadIdentityRoleSets []*PlatformWorkloadIdentityRoleSet `json:"value"`
}
PlatformWorkloadIdentityRoleSetList represents a List of role sets.
type PlatformWorkloadIdentityRoleSetProperties ¶
type PlatformWorkloadIdentityRoleSetProperties struct {
// OpenShiftVersion represents the version associated with this set of roles.
OpenShiftVersion string `json:"openShiftVersion,omitempty"`
// PlatformWorkloadIdentityRoles represents the set of roles associated with this version.
PlatformWorkloadIdentityRoles []PlatformWorkloadIdentityRole `json:"platformWorkloadIdentityRoles,omitempty" mutable:"true"`
}
PlatformWorkloadIdentityRoleSetProperties represents the properties of a PlatformWorkloadIdentityRoleSet resource.
type PreconfiguredNSG ¶
type PreconfiguredNSG string
PreconfiguredNSG represents whether customers want to use their own NSG attached to the subnets
const ( PreconfiguredNSGEnabled PreconfiguredNSG = "Enabled" PreconfiguredNSGDisabled PreconfiguredNSG = "Disabled" )
PreconfiguredNSG constants
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState represents a provisioning state.
const ( ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateUpdating ProvisioningState = "Updating" ProvisioningStateAdminUpdating ProvisioningState = "AdminUpdating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateFailed ProvisioningState = "Failed" )
ProvisioningState constants
type RegistryProfile ¶
type RegistryProfile struct {
Name string `json:"name,omitempty"`
Username string `json:"username,omitempty"`
// IssueDate is when the username/password for the registry was last updated.
IssueDate *time.Time `json:"issueDate,omitempty"`
}
RegistryProfile represents a registry profile
type ResourceReference ¶
type ResourceReference struct {
// The fully qualified Azure resource id.
ID string `json:"id,omitempty"`
}
ResourceReference represents a reference to an Azure resource.
type SecretLocation ¶
type SecretLocation struct {
Namespace string `json:"namespace,omitempty" mutable:"true" validate:"required"`
Name string `json:"name,omitempty" mutable:"true" validate:"required"`
}
SecretLocation represents the location of the in-cluster secret containing credentials for the platform workload identity.
type ServicePrincipalProfile ¶
type ServicePrincipalProfile struct {
ClientID string `json:"clientId,omitempty"`
SPObjectID string `json:"spObjectId,omitempty"`
ClientSecret string `json:"clientSecret,omitempty"`
}
ServicePrincipalProfile represents a service principal profile.
type SoftwareDefinedNetwork ¶
type SoftwareDefinedNetwork string
SoftwareDefinedNetwork constants.
const ( SoftwareDefinedNetworkOVNKubernetes SoftwareDefinedNetwork = "OVNKubernetes" SoftwareDefinedNetworkOpenShiftSDN SoftwareDefinedNetwork = "OpenShiftSDN" )
type SystemData ¶
type SystemData struct {
CreatedBy string `json:"createdBy,omitempty"`
CreatedByType CreatedByType `json:"createdByType,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
LastModifiedBy string `json:"lastModifiedBy,omitempty"`
LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"`
}
SystemData metadata pertaining to creation and last modification of the resource.
type UpgradeableTo ¶
type UpgradeableTo string
UpgradeableTo stores a single OpenShift version a workload identity cluster can be upgraded to
type UserAssignedIdentity ¶
type UserAssignedIdentity struct {
// The ClientID of the ClusterUserAssignedIdentity resource
ClientID string `json:"clientId,omitempty" swagger:"readOnly"`
// The PrincipalID of the ClusterUserAssignedIdentity resource
PrincipalID string `json:"principalId,omitempty" swagger:"readOnly"`
}
UserAssignedIdentity stores information about a user-assigned managed identity in a predefined format required by Microsoft's Managed Identity team.
type VMSize ¶
type VMSize string
VMSize represents a VM size.
const ( VMSizeStandardD2sV3 VMSize = "Standard_D2s_v3" VMSizeStandardD4sV3 VMSize = "Standard_D4s_v3" VMSizeStandardD8sV3 VMSize = "Standard_D8s_v3" VMSizeStandardD16sV3 VMSize = "Standard_D16s_v3" VMSizeStandardD32sV3 VMSize = "Standard_D32s_v3" VMSizeStandardD4sV4 VMSize = "Standard_D4s_v4" VMSizeStandardD8sV4 VMSize = "Standard_D8s_v4" VMSizeStandardD16sV4 VMSize = "Standard_D16s_v4" VMSizeStandardD32sV4 VMSize = "Standard_D32s_v4" VMSizeStandardD64sV4 VMSize = "Standard_D64s_v4" VMSizeStandardD4sV5 VMSize = "Standard_D4s_v5" VMSizeStandardD8sV5 VMSize = "Standard_D8s_v5" VMSizeStandardD16sV5 VMSize = "Standard_D16s_v5" VMSizeStandardD32sV5 VMSize = "Standard_D32s_v5" VMSizeStandardD64sV5 VMSize = "Standard_D64s_v5" VMSizeStandardD96sV5 VMSize = "Standard_D96s_v5" VMSizeStandardD4asV4 VMSize = "Standard_D4as_v4" VMSizeStandardD8asV4 VMSize = "Standard_D8as_v4" VMSizeStandardD16asV4 VMSize = "Standard_D16as_v4" VMSizeStandardD32asV4 VMSize = "Standard_D32as_v4" VMSizeStandardD64asV4 VMSize = "Standard_D64as_v4" VMSizeStandardD96asV4 VMSize = "Standard_D96as_v4" VMSizeStandardD4asV5 VMSize = "Standard_D4as_v5" VMSizeStandardD8asV5 VMSize = "Standard_D8as_v5" VMSizeStandardD16asV5 VMSize = "Standard_D16as_v5" VMSizeStandardD32asV5 VMSize = "Standard_D32as_v5" VMSizeStandardD64asV5 VMSize = "Standard_D64as_v5" VMSizeStandardD96asV5 VMSize = "Standard_D96as_v5" VMSizeStandardD4dsV5 VMSize = "Standard_D4ds_v5" VMSizeStandardD8dsV5 VMSize = "Standard_D8ds_v5" VMSizeStandardD16dsV5 VMSize = "Standard_D16ds_v5" VMSizeStandardD32dsV5 VMSize = "Standard_D32ds_v5" VMSizeStandardD64dsV5 VMSize = "Standard_D64ds_v5" VMSizeStandardD96dsV5 VMSize = "Standard_D96ds_v5" VMSizeStandardD4sV6 VMSize = "Standard_D4s_v6" VMSizeStandardD8sV6 VMSize = "Standard_D8s_v6" VMSizeStandardD16sV6 VMSize = "Standard_D16s_v6" VMSizeStandardD32sV6 VMSize = "Standard_D32s_v6" VMSizeStandardD64sV6 VMSize = "Standard_D64s_v6" VMSizeStandardD96sV6 VMSize = "Standard_D96s_v6" VMSizeStandardD4dsV6 VMSize = "Standard_D4ds_v6" VMSizeStandardD8dsV6 VMSize = "Standard_D8ds_v6" VMSizeStandardD16dsV6 VMSize = "Standard_D16ds_v6" VMSizeStandardD32dsV6 VMSize = "Standard_D32ds_v6" VMSizeStandardD64dsV6 VMSize = "Standard_D64ds_v6" VMSizeStandardD96dsV6 VMSize = "Standard_D96ds_v6" VMSizeStandardE4sV3 VMSize = "Standard_E4s_v3" VMSizeStandardE8sV3 VMSize = "Standard_E8s_v3" VMSizeStandardE16sV3 VMSize = "Standard_E16s_v3" VMSizeStandardE32sV3 VMSize = "Standard_E32s_v3" VMSizeStandardE2sV4 VMSize = "Standard_E2s_v4" VMSizeStandardE4sV4 VMSize = "Standard_E4s_v4" VMSizeStandardE8sV4 VMSize = "Standard_E8s_v4" VMSizeStandardE16sV4 VMSize = "Standard_E16s_v4" VMSizeStandardE20sV4 VMSize = "Standard_E20s_v4" VMSizeStandardE32sV4 VMSize = "Standard_E32s_v4" VMSizeStandardE48sV4 VMSize = "Standard_E48s_v4" VMSizeStandardE64sV4 VMSize = "Standard_E64s_v4" VMSizeStandardE2sV5 VMSize = "Standard_E2s_v5" VMSizeStandardE4sV5 VMSize = "Standard_E4s_v5" VMSizeStandardE8sV5 VMSize = "Standard_E8s_v5" VMSizeStandardE16sV5 VMSize = "Standard_E16s_v5" VMSizeStandardE20sV5 VMSize = "Standard_E20s_v5" VMSizeStandardE32sV5 VMSize = "Standard_E32s_v5" VMSizeStandardE48sV5 VMSize = "Standard_E48s_v5" VMSizeStandardE64sV5 VMSize = "Standard_E64s_v5" VMSizeStandardE96sV5 VMSize = "Standard_E96s_v5" VMSizeStandardE4asV4 VMSize = "Standard_E4as_v4" VMSizeStandardE8asV4 VMSize = "Standard_E8as_v4" VMSizeStandardE16asV4 VMSize = "Standard_E16as_v4" VMSizeStandardE20asV4 VMSize = "Standard_E20as_v4" VMSizeStandardE32asV4 VMSize = "Standard_E32as_v4" VMSizeStandardE48asV4 VMSize = "Standard_E48as_v4" VMSizeStandardE64asV4 VMSize = "Standard_E64as_v4" VMSizeStandardE96asV4 VMSize = "Standard_E96as_v4" VMSizeStandardE8asV5 VMSize = "Standard_E8as_v5" VMSizeStandardE16asV5 VMSize = "Standard_E16as_v5" VMSizeStandardE20asV5 VMSize = "Standard_E20as_v5" VMSizeStandardE32asV5 VMSize = "Standard_E32as_v5" VMSizeStandardE48asV5 VMSize = "Standard_E48as_v5" VMSizeStandardE64asV5 VMSize = "Standard_E64as_v5" VMSizeStandardE96asV5 VMSize = "Standard_E96as_v5" VMSizeStandardE64isV3 VMSize = "Standard_E64is_v3" VMSizeStandardE80isV4 VMSize = "Standard_E80is_v4" VMSizeStandardE80idsV4 VMSize = "Standard_E80ids_v4" VMSizeStandardE96dsV5 VMSize = "Standard_E96ds_v5" VMSizeStandardE104isV5 VMSize = "Standard_E104is_v5" VMSizeStandardE104idsV5 VMSize = "Standard_E104ids_v5" VMSizeStandardF4sV2 VMSize = "Standard_F4s_v2" VMSizeStandardF8sV2 VMSize = "Standard_F8s_v2" VMSizeStandardF16sV2 VMSize = "Standard_F16s_v2" VMSizeStandardF32sV2 VMSize = "Standard_F32s_v2" VMSizeStandardF72sV2 VMSize = "Standard_F72s_v2" VMSizeStandardM128ms VMSize = "Standard_M128ms" VMSizeStandardL4s VMSize = "Standard_L4s" VMSizeStandardL8s VMSize = "Standard_L8s" VMSizeStandardL16s VMSize = "Standard_L16s" VMSizeStandardL32s VMSize = "Standard_L32s" VMSizeStandardL8sV2 VMSize = "Standard_L8s_v2" VMSizeStandardL16sV2 VMSize = "Standard_L16s_v2" VMSizeStandardL32sV2 VMSize = "Standard_L32s_v2" VMSizeStandardL48sV2 VMSize = "Standard_L48s_v2" VMSizeStandardL64sV2 VMSize = "Standard_L64s_v2" VMSizeStandardL8sV3 VMSize = "Standard_L8s_v3" VMSizeStandardL16sV3 VMSize = "Standard_L16s_v3" VMSizeStandardL32sV3 VMSize = "Standard_L32s_v3" VMSizeStandardL48sV3 VMSize = "Standard_L48s_v3" VMSizeStandardL64sV3 VMSize = "Standard_L64s_v3" VMSizeStandardL4sV4 VMSize = "Standard_L4s_v4" VMSizeStandardL8sV4 VMSize = "Standard_L8s_v4" VMSizeStandardL16sV4 VMSize = "Standard_L16s_v4" VMSizeStandardL32sV4 VMSize = "Standard_L32s_v4" VMSizeStandardL48sV4 VMSize = "Standard_L48s_v4" VMSizeStandardL64sV4 VMSize = "Standard_L64s_v4" VMSizeStandardL80sV4 VMSize = "Standard_L80s_v4" VMSizeStandardD4lsV6 VMSize = "Standard_D4ls_v6" VMSizeStandardD8lsV6 VMSize = "Standard_D8ls_v6" VMSizeStandardD16lsV6 VMSize = "Standard_D16ls_v6" VMSizeStandardD32lsV6 VMSize = "Standard_D32ls_v6" VMSizeStandardD48lsV6 VMSize = "Standard_D48ls_v6" VMSizeStandardD64lsV6 VMSize = "Standard_D64ls_v6" VMSizeStandardD96lsV6 VMSize = "Standard_D96ls_v6" VMSizeStandardD4ldsV6 VMSize = "Standard_D4lds_v6" VMSizeStandardD8ldsV6 VMSize = "Standard_D8lds_v6" VMSizeStandardD16ldsV6 VMSize = "Standard_D1l6ds_v6" VMSizeStandardD32ldsV6 VMSize = "Standard_D32lds_v6" VMSizeStandardD48ldsV6 VMSize = "Standard_D48lds_v6" VMSizeStandardD64ldsV6 VMSize = "Standard_D64lds_v6" VMSizeStandardD96ldsV6 VMSize = "Standard_D96lds_v6" // GPU VMs VMSizeStandardNC4asT4V3 VMSize = "Standard_NC4as_T4_v3" VMSizeStandardNC8asT4V3 VMSize = "Standard_NC8as_T4_v3" VMSizeStandardNC16asT4V3 VMSize = "Standard_NC16as_T4_v3" VMSizeStandardNC64asT4V3 VMSize = "Standard_NC64as_T4_v3" VMSizeStandardNC6sV3 VMSize = "Standard_NC6s_v3" VMSizeStandardNC12sV3 VMSize = "Standard_NC12s_v3" VMSizeStandardNC24sV3 VMSize = "Standard_NC24s_v3" VMSizeStandardNC24rsV3 VMSize = "Standard_NC24rs_v3" )
VMSize constants.
type Visibility ¶
type Visibility string
Visibility represents visibility.
const ( VisibilityPublic Visibility = "Public" VisibilityPrivate Visibility = "Private" )
Visibility constants
type WorkerProfile ¶
type WorkerProfile struct {
Name string `json:"name,omitempty"`
VMSize VMSize `json:"vmSize,omitempty"`
DiskSizeGB int `json:"diskSizeGB,omitempty"`
SubnetID string `json:"subnetId,omitempty"`
Count int `json:"count,omitempty"`
EncryptionAtHost EncryptionAtHost `json:"encryptionAtHost,omitempty"`
DiskEncryptionSetID string `json:"diskEncryptionSetId,omitempty"`
}
WorkerProfile represents a worker profile.
Source Files
¶
- generate.go
- marshal.go
- mimo.go
- mimo_convert.go
- mimo_validatestatic.go
- openshiftcluster.go
- openshiftcluster_convert.go
- openshiftcluster_validatestatic.go
- openshiftversion.go
- openshiftversion_convert.go
- openshiftversion_validatestatic.go
- operatorflags.go
- platformworkloadidentityroleset.go
- platformworkloadidentityroleset_convert.go
- platformworkloadidentityroleset_validatestatic.go
- register.go
- zz_generated_installphase_enumer.go