v1alpha1

package
v0.1.460 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

View Source
const AWSListKind = "AWSList"

AWSListKind is the name of the type used to represent list of objects of type 'AWS'.

View Source
const AWSListLinkKind = "AWSListLink"

AWSListLinkKind is the name of the type used to represent links to list of objects of type 'AWS'.

View Source
const AWSListNilKind = "AWSListNil"

AWSNilKind is the name of the type used to nil lists of objects of type 'AWS'.

View Source
const AWSShardListKind = "AWSShardList"

AWSShardListKind is the name of the type used to represent list of objects of type 'AWS_shard'.

View Source
const AWSShardListLinkKind = "AWSShardListLink"

AWSShardListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_shard'.

View Source
const AWSShardListNilKind = "AWSShardListNil"

AWSShardNilKind is the name of the type used to nil lists of objects of type 'AWS_shard'.

View Source
const AWSVolumeListKind = "AWSVolumeList"

AWSVolumeListKind is the name of the type used to represent list of objects of type 'AWS_volume'.

View Source
const AWSVolumeListLinkKind = "AWSVolumeListLink"

AWSVolumeListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_volume'.

View Source
const AWSVolumeListNilKind = "AWSVolumeListNil"

AWSVolumeNilKind is the name of the type used to nil lists of objects of type 'AWS_volume'.

View Source
const AuditLogListKind = "AuditLogList"

AuditLogListKind is the name of the type used to represent list of objects of type 'audit_log'.

View Source
const AuditLogListLinkKind = "AuditLogListLink"

AuditLogListLinkKind is the name of the type used to represent links to list of objects of type 'audit_log'.

View Source
const AuditLogListNilKind = "AuditLogListNil"

AuditLogNilKind is the name of the type used to nil lists of objects of type 'audit_log'.

View Source
const AwsEtcdEncryptionListKind = "AwsEtcdEncryptionList"

AwsEtcdEncryptionListKind is the name of the type used to represent list of objects of type 'aws_etcd_encryption'.

View Source
const AwsEtcdEncryptionListLinkKind = "AwsEtcdEncryptionListLink"

AwsEtcdEncryptionListLinkKind is the name of the type used to represent links to list of objects of type 'aws_etcd_encryption'.

View Source
const AwsEtcdEncryptionListNilKind = "AwsEtcdEncryptionListNil"

AwsEtcdEncryptionNilKind is the name of the type used to nil lists of objects of type 'aws_etcd_encryption'.

View Source
const AzureControlPlaneManagedIdentityListKind = "AzureControlPlaneManagedIdentityList"

AzureControlPlaneManagedIdentityListKind is the name of the type used to represent list of objects of type 'azure_control_plane_managed_identity'.

View Source
const AzureControlPlaneManagedIdentityListLinkKind = "AzureControlPlaneManagedIdentityListLink"

AzureControlPlaneManagedIdentityListLinkKind is the name of the type used to represent links to list of objects of type 'azure_control_plane_managed_identity'.

View Source
const AzureControlPlaneManagedIdentityListNilKind = "AzureControlPlaneManagedIdentityListNil"

AzureControlPlaneManagedIdentityNilKind is the name of the type used to nil lists of objects of type 'azure_control_plane_managed_identity'.

View Source
const AzureDataPlaneManagedIdentityListKind = "AzureDataPlaneManagedIdentityList"

AzureDataPlaneManagedIdentityListKind is the name of the type used to represent list of objects of type 'azure_data_plane_managed_identity'.

View Source
const AzureDataPlaneManagedIdentityListLinkKind = "AzureDataPlaneManagedIdentityListLink"

AzureDataPlaneManagedIdentityListLinkKind is the name of the type used to represent links to list of objects of type 'azure_data_plane_managed_identity'.

View Source
const AzureDataPlaneManagedIdentityListNilKind = "AzureDataPlaneManagedIdentityListNil"

AzureDataPlaneManagedIdentityNilKind is the name of the type used to nil lists of objects of type 'azure_data_plane_managed_identity'.

View Source
const AzureListKind = "AzureList"

AzureListKind is the name of the type used to represent list of objects of type 'azure'.

View Source
const AzureListLinkKind = "AzureListLink"

AzureListLinkKind is the name of the type used to represent links to list of objects of type 'azure'.

View Source
const AzureListNilKind = "AzureListNil"

AzureNilKind is the name of the type used to nil lists of objects of type 'azure'.

View Source
const AzureNodesOutboundConnectivityListKind = "AzureNodesOutboundConnectivityList"

AzureNodesOutboundConnectivityListKind is the name of the type used to represent list of objects of type 'azure_nodes_outbound_connectivity'.

View Source
const AzureNodesOutboundConnectivityListLinkKind = "AzureNodesOutboundConnectivityListLink"

AzureNodesOutboundConnectivityListLinkKind is the name of the type used to represent links to list of objects of type 'azure_nodes_outbound_connectivity'.

View Source
const AzureNodesOutboundConnectivityListNilKind = "AzureNodesOutboundConnectivityListNil"

AzureNodesOutboundConnectivityNilKind is the name of the type used to nil lists of objects of type 'azure_nodes_outbound_connectivity'.

View Source
const AzureOperatorsAuthenticationListKind = "AzureOperatorsAuthenticationList"

AzureOperatorsAuthenticationListKind is the name of the type used to represent list of objects of type 'azure_operators_authentication'.

View Source
const AzureOperatorsAuthenticationListLinkKind = "AzureOperatorsAuthenticationListLink"

AzureOperatorsAuthenticationListLinkKind is the name of the type used to represent links to list of objects of type 'azure_operators_authentication'.

View Source
const AzureOperatorsAuthenticationListNilKind = "AzureOperatorsAuthenticationListNil"

AzureOperatorsAuthenticationNilKind is the name of the type used to nil lists of objects of type 'azure_operators_authentication'.

View Source
const AzureOperatorsAuthenticationManagedIdentitiesListKind = "AzureOperatorsAuthenticationManagedIdentitiesList"

AzureOperatorsAuthenticationManagedIdentitiesListKind is the name of the type used to represent list of objects of type 'azure_operators_authentication_managed_identities'.

View Source
const AzureOperatorsAuthenticationManagedIdentitiesListLinkKind = "AzureOperatorsAuthenticationManagedIdentitiesListLink"

AzureOperatorsAuthenticationManagedIdentitiesListLinkKind is the name of the type used to represent links to list of objects of type 'azure_operators_authentication_managed_identities'.

View Source
const AzureOperatorsAuthenticationManagedIdentitiesListNilKind = "AzureOperatorsAuthenticationManagedIdentitiesListNil"

AzureOperatorsAuthenticationManagedIdentitiesNilKind is the name of the type used to nil lists of objects of type 'azure_operators_authentication_managed_identities'.

View Source
const AzureServiceManagedIdentityListKind = "AzureServiceManagedIdentityList"

AzureServiceManagedIdentityListKind is the name of the type used to represent list of objects of type 'azure_service_managed_identity'.

View Source
const AzureServiceManagedIdentityListLinkKind = "AzureServiceManagedIdentityListLink"

AzureServiceManagedIdentityListLinkKind is the name of the type used to represent links to list of objects of type 'azure_service_managed_identity'.

View Source
const AzureServiceManagedIdentityListNilKind = "AzureServiceManagedIdentityListNil"

AzureServiceManagedIdentityNilKind is the name of the type used to nil lists of objects of type 'azure_service_managed_identity'.

View Source
const ByoOidcListKind = "ByoOidcList"

ByoOidcListKind is the name of the type used to represent list of objects of type 'byo_oidc'.

View Source
const ByoOidcListLinkKind = "ByoOidcListLink"

ByoOidcListLinkKind is the name of the type used to represent links to list of objects of type 'byo_oidc'.

View Source
const ByoOidcListNilKind = "ByoOidcListNil"

ByoOidcNilKind is the name of the type used to nil lists of objects of type 'byo_oidc'.

View Source
const CCSKind = "CCS"

CCSKind is the name of the type used to represent objects of type 'CCS'.

View Source
const CCSLinkKind = "CCSLink"

CCSLinkKind is the name of the type used to represent links to objects of type 'CCS'.

View Source
const CCSListKind = "CCSList"

CCSListKind is the name of the type used to represent list of objects of type 'CCS'.

View Source
const CCSListLinkKind = "CCSListLink"

CCSListLinkKind is the name of the type used to represent links to list of objects of type 'CCS'.

View Source
const CCSListNilKind = "CCSListNil"

CCSNilKind is the name of the type used to nil lists of objects of type 'CCS'.

View Source
const CCSNilKind = "CCSNil"

CCSNilKind is the name of the type used to nil references to objects of type 'CCS'.

View Source
const CloudProviderKind = "CloudProvider"

CloudProviderKind is the name of the type used to represent objects of type 'cloud_provider'.

View Source
const CloudProviderLinkKind = "CloudProviderLink"

CloudProviderLinkKind is the name of the type used to represent links to objects of type 'cloud_provider'.

View Source
const CloudProviderListKind = "CloudProviderList"

CloudProviderListKind is the name of the type used to represent list of objects of type 'cloud_provider'.

View Source
const CloudProviderListLinkKind = "CloudProviderListLink"

CloudProviderListLinkKind is the name of the type used to represent links to list of objects of type 'cloud_provider'.

View Source
const CloudProviderListNilKind = "CloudProviderListNil"

CloudProviderNilKind is the name of the type used to nil lists of objects of type 'cloud_provider'.

View Source
const CloudProviderNilKind = "CloudProviderNil"

CloudProviderNilKind is the name of the type used to nil references to objects of type 'cloud_provider'.

View Source
const CloudRegionKind = "CloudRegion"

CloudRegionKind is the name of the type used to represent objects of type 'cloud_region'.

View Source
const CloudRegionLinkKind = "CloudRegionLink"

CloudRegionLinkKind is the name of the type used to represent links to objects of type 'cloud_region'.

View Source
const CloudRegionListKind = "CloudRegionList"

CloudRegionListKind is the name of the type used to represent list of objects of type 'cloud_region'.

View Source
const CloudRegionListLinkKind = "CloudRegionListLink"

CloudRegionListLinkKind is the name of the type used to represent links to list of objects of type 'cloud_region'.

View Source
const CloudRegionListNilKind = "CloudRegionListNil"

CloudRegionNilKind is the name of the type used to nil lists of objects of type 'cloud_region'.

View Source
const CloudRegionNilKind = "CloudRegionNil"

CloudRegionNilKind is the name of the type used to nil references to objects of type 'cloud_region'.

View Source
const ClusterAPIListKind = "ClusterAPIList"

ClusterAPIListKind is the name of the type used to represent list of objects of type 'cluster_API'.

View Source
const ClusterAPIListLinkKind = "ClusterAPIListLink"

ClusterAPIListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_API'.

View Source
const ClusterAPIListNilKind = "ClusterAPIListNil"

ClusterAPINilKind is the name of the type used to nil lists of objects of type 'cluster_API'.

View Source
const ClusterConsoleListKind = "ClusterConsoleList"

ClusterConsoleListKind is the name of the type used to represent list of objects of type 'cluster_console'.

View Source
const ClusterConsoleListLinkKind = "ClusterConsoleListLink"

ClusterConsoleListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_console'.

View Source
const ClusterConsoleListNilKind = "ClusterConsoleListNil"

ClusterConsoleNilKind is the name of the type used to nil lists of objects of type 'cluster_console'.

View Source
const ClusterKind = "Cluster"

ClusterKind is the name of the type used to represent objects of type 'cluster'.

View Source
const ClusterLinkKind = "ClusterLink"

ClusterLinkKind is the name of the type used to represent links to objects of type 'cluster'.

View Source
const ClusterListKind = "ClusterList"

ClusterListKind is the name of the type used to represent list of objects of type 'cluster'.

View Source
const ClusterListLinkKind = "ClusterListLink"

ClusterListLinkKind is the name of the type used to represent links to list of objects of type 'cluster'.

View Source
const ClusterListNilKind = "ClusterListNil"

ClusterNilKind is the name of the type used to nil lists of objects of type 'cluster'.

View Source
const ClusterNilKind = "ClusterNil"

ClusterNilKind is the name of the type used to nil references to objects of type 'cluster'.

View Source
const ClusterNodesListKind = "ClusterNodesList"

ClusterNodesListKind is the name of the type used to represent list of objects of type 'cluster_nodes'.

View Source
const ClusterNodesListLinkKind = "ClusterNodesListLink"

ClusterNodesListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_nodes'.

View Source
const ClusterNodesListNilKind = "ClusterNodesListNil"

ClusterNodesNilKind is the name of the type used to nil lists of objects of type 'cluster_nodes'.

View Source
const ClusterRegistryConfigListKind = "ClusterRegistryConfigList"

ClusterRegistryConfigListKind is the name of the type used to represent list of objects of type 'cluster_registry_config'.

View Source
const ClusterRegistryConfigListLinkKind = "ClusterRegistryConfigListLink"

ClusterRegistryConfigListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_registry_config'.

View Source
const ClusterRegistryConfigListNilKind = "ClusterRegistryConfigListNil"

ClusterRegistryConfigNilKind is the name of the type used to nil lists of objects of type 'cluster_registry_config'.

View Source
const ClusterStatusKind = "ClusterStatus"

ClusterStatusKind is the name of the type used to represent objects of type 'cluster_status'.

View Source
const ClusterStatusLinkKind = "ClusterStatusLink"

ClusterStatusLinkKind is the name of the type used to represent links to objects of type 'cluster_status'.

View Source
const ClusterStatusListKind = "ClusterStatusList"

ClusterStatusListKind is the name of the type used to represent list of objects of type 'cluster_status'.

View Source
const ClusterStatusListLinkKind = "ClusterStatusListLink"

ClusterStatusListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_status'.

View Source
const ClusterStatusListNilKind = "ClusterStatusListNil"

ClusterStatusNilKind is the name of the type used to nil lists of objects of type 'cluster_status'.

View Source
const ClusterStatusNilKind = "ClusterStatusNil"

ClusterStatusNilKind is the name of the type used to nil references to objects of type 'cluster_status'.

View Source
const DNSListKind = "DNSList"

DNSListKind is the name of the type used to represent list of objects of type 'DNS'.

View Source
const DNSListLinkKind = "DNSListLink"

DNSListLinkKind is the name of the type used to represent links to list of objects of type 'DNS'.

View Source
const DNSListNilKind = "DNSListNil"

DNSNilKind is the name of the type used to nil lists of objects of type 'DNS'.

View Source
const DeleteProtectionListKind = "DeleteProtectionList"

DeleteProtectionListKind is the name of the type used to represent list of objects of type 'delete_protection'.

View Source
const DeleteProtectionListLinkKind = "DeleteProtectionListLink"

DeleteProtectionListLinkKind is the name of the type used to represent links to list of objects of type 'delete_protection'.

View Source
const DeleteProtectionListNilKind = "DeleteProtectionListNil"

DeleteProtectionNilKind is the name of the type used to nil lists of objects of type 'delete_protection'.

View Source
const ExternalAuthConfigListKind = "ExternalAuthConfigList"

ExternalAuthConfigListKind is the name of the type used to represent list of objects of type 'external_auth_config'.

View Source
const ExternalAuthConfigListLinkKind = "ExternalAuthConfigListLink"

ExternalAuthConfigListLinkKind is the name of the type used to represent links to list of objects of type 'external_auth_config'.

View Source
const ExternalAuthConfigListNilKind = "ExternalAuthConfigListNil"

ExternalAuthConfigNilKind is the name of the type used to nil lists of objects of type 'external_auth_config'.

View Source
const ExternalConfigurationListKind = "ExternalConfigurationList"

ExternalConfigurationListKind is the name of the type used to represent list of objects of type 'external_configuration'.

View Source
const ExternalConfigurationListLinkKind = "ExternalConfigurationListLink"

ExternalConfigurationListLinkKind is the name of the type used to represent links to list of objects of type 'external_configuration'.

View Source
const ExternalConfigurationListNilKind = "ExternalConfigurationListNil"

ExternalConfigurationNilKind is the name of the type used to nil lists of objects of type 'external_configuration'.

View Source
const GCPEncryptionKeyListKind = "GCPEncryptionKeyList"

GCPEncryptionKeyListKind is the name of the type used to represent list of objects of type 'GCP_encryption_key'.

View Source
const GCPEncryptionKeyListLinkKind = "GCPEncryptionKeyListLink"

GCPEncryptionKeyListLinkKind is the name of the type used to represent links to list of objects of type 'GCP_encryption_key'.

View Source
const GCPEncryptionKeyListNilKind = "GCPEncryptionKeyListNil"

GCPEncryptionKeyNilKind is the name of the type used to nil lists of objects of type 'GCP_encryption_key'.

View Source
const GCPListKind = "GCPList"

GCPListKind is the name of the type used to represent list of objects of type 'GCP'.

View Source
const GCPListLinkKind = "GCPListLink"

GCPListLinkKind is the name of the type used to represent links to list of objects of type 'GCP'.

View Source
const GCPListNilKind = "GCPListNil"

GCPNilKind is the name of the type used to nil lists of objects of type 'GCP'.

View Source
const GCPNetworkListKind = "GCPNetworkList"

GCPNetworkListKind is the name of the type used to represent list of objects of type 'GCP_network'.

View Source
const GCPNetworkListLinkKind = "GCPNetworkListLink"

GCPNetworkListLinkKind is the name of the type used to represent links to list of objects of type 'GCP_network'.

View Source
const GCPNetworkListNilKind = "GCPNetworkListNil"

GCPNetworkNilKind is the name of the type used to nil lists of objects of type 'GCP_network'.

View Source
const GCPVolumeListKind = "GCPVolumeList"

GCPVolumeListKind is the name of the type used to represent list of objects of type 'GCP_volume'.

View Source
const GCPVolumeListLinkKind = "GCPVolumeListLink"

GCPVolumeListLinkKind is the name of the type used to represent links to list of objects of type 'GCP_volume'.

View Source
const GCPVolumeListNilKind = "GCPVolumeListNil"

GCPVolumeNilKind is the name of the type used to nil lists of objects of type 'GCP_volume'.

View Source
const GcpAuthenticationListKind = "GcpAuthenticationList"

GcpAuthenticationListKind is the name of the type used to represent list of objects of type 'gcp_authentication'.

View Source
const GcpAuthenticationListLinkKind = "GcpAuthenticationListLink"

GcpAuthenticationListLinkKind is the name of the type used to represent links to list of objects of type 'gcp_authentication'.

View Source
const GcpAuthenticationListNilKind = "GcpAuthenticationListNil"

GcpAuthenticationNilKind is the name of the type used to nil lists of objects of type 'gcp_authentication'.

View Source
const GcpPrivateServiceConnectListKind = "GcpPrivateServiceConnectList"

GcpPrivateServiceConnectListKind is the name of the type used to represent list of objects of type 'gcp_private_service_connect'.

View Source
const GcpPrivateServiceConnectListLinkKind = "GcpPrivateServiceConnectListLink"

GcpPrivateServiceConnectListLinkKind is the name of the type used to represent links to list of objects of type 'gcp_private_service_connect'.

View Source
const GcpPrivateServiceConnectListNilKind = "GcpPrivateServiceConnectListNil"

GcpPrivateServiceConnectNilKind is the name of the type used to nil lists of objects of type 'gcp_private_service_connect'.

View Source
const GcpSecurityListKind = "GcpSecurityList"

GcpSecurityListKind is the name of the type used to represent list of objects of type 'gcp_security'.

View Source
const GcpSecurityListLinkKind = "GcpSecurityListLink"

GcpSecurityListLinkKind is the name of the type used to represent links to list of objects of type 'gcp_security'.

View Source
const GcpSecurityListNilKind = "GcpSecurityListNil"

GcpSecurityNilKind is the name of the type used to nil lists of objects of type 'gcp_security'.

View Source
const HTPasswdIdentityProviderListKind = "HTPasswdIdentityProviderList"

HTPasswdIdentityProviderListKind is the name of the type used to represent list of objects of type 'HT_passwd_identity_provider'.

View Source
const HTPasswdIdentityProviderListLinkKind = "HTPasswdIdentityProviderListLink"

HTPasswdIdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'HT_passwd_identity_provider'.

View Source
const HTPasswdIdentityProviderListNilKind = "HTPasswdIdentityProviderListNil"

HTPasswdIdentityProviderNilKind is the name of the type used to nil lists of objects of type 'HT_passwd_identity_provider'.

View Source
const HypershiftListKind = "HypershiftList"

HypershiftListKind is the name of the type used to represent list of objects of type 'hypershift'.

View Source
const HypershiftListLinkKind = "HypershiftListLink"

HypershiftListLinkKind is the name of the type used to represent links to list of objects of type 'hypershift'.

View Source
const HypershiftListNilKind = "HypershiftListNil"

HypershiftNilKind is the name of the type used to nil lists of objects of type 'hypershift'.

View Source
const InstanceIAMRolesListKind = "InstanceIAMRolesList"

InstanceIAMRolesListKind is the name of the type used to represent list of objects of type 'instance_IAM_roles'.

View Source
const InstanceIAMRolesListLinkKind = "InstanceIAMRolesListLink"

InstanceIAMRolesListLinkKind is the name of the type used to represent links to list of objects of type 'instance_IAM_roles'.

View Source
const InstanceIAMRolesListNilKind = "InstanceIAMRolesListNil"

InstanceIAMRolesNilKind is the name of the type used to nil lists of objects of type 'instance_IAM_roles'.

View Source
const KubeletConfigKind = "KubeletConfig"

KubeletConfigKind is the name of the type used to represent objects of type 'kubelet_config'.

View Source
const KubeletConfigLinkKind = "KubeletConfigLink"

KubeletConfigLinkKind is the name of the type used to represent links to objects of type 'kubelet_config'.

View Source
const KubeletConfigListKind = "KubeletConfigList"

KubeletConfigListKind is the name of the type used to represent list of objects of type 'kubelet_config'.

View Source
const KubeletConfigListLinkKind = "KubeletConfigListLink"

KubeletConfigListLinkKind is the name of the type used to represent links to list of objects of type 'kubelet_config'.

View Source
const KubeletConfigListNilKind = "KubeletConfigListNil"

KubeletConfigNilKind is the name of the type used to nil lists of objects of type 'kubelet_config'.

View Source
const KubeletConfigNilKind = "KubeletConfigNil"

KubeletConfigNilKind is the name of the type used to nil references to objects of type 'kubelet_config'.

View Source
const MachinePoolAutoscalingKind = "MachinePoolAutoscaling"

MachinePoolAutoscalingKind is the name of the type used to represent objects of type 'machine_pool_autoscaling'.

View Source
const MachinePoolAutoscalingLinkKind = "MachinePoolAutoscalingLink"

MachinePoolAutoscalingLinkKind is the name of the type used to represent links to objects of type 'machine_pool_autoscaling'.

View Source
const MachinePoolAutoscalingListKind = "MachinePoolAutoscalingList"

MachinePoolAutoscalingListKind is the name of the type used to represent list of objects of type 'machine_pool_autoscaling'.

View Source
const MachinePoolAutoscalingListLinkKind = "MachinePoolAutoscalingListLink"

MachinePoolAutoscalingListLinkKind is the name of the type used to represent links to list of objects of type 'machine_pool_autoscaling'.

View Source
const MachinePoolAutoscalingListNilKind = "MachinePoolAutoscalingListNil"

MachinePoolAutoscalingNilKind is the name of the type used to nil lists of objects of type 'machine_pool_autoscaling'.

View Source
const MachinePoolAutoscalingNilKind = "MachinePoolAutoscalingNil"

MachinePoolAutoscalingNilKind is the name of the type used to nil references to objects of type 'machine_pool_autoscaling'.

View Source
const MachinePoolSecurityGroupFilterListKind = "MachinePoolSecurityGroupFilterList"

MachinePoolSecurityGroupFilterListKind is the name of the type used to represent list of objects of type 'machine_pool_security_group_filter'.

View Source
const MachinePoolSecurityGroupFilterListLinkKind = "MachinePoolSecurityGroupFilterListLink"

MachinePoolSecurityGroupFilterListLinkKind is the name of the type used to represent links to list of objects of type 'machine_pool_security_group_filter'.

View Source
const MachinePoolSecurityGroupFilterListNilKind = "MachinePoolSecurityGroupFilterListNil"

MachinePoolSecurityGroupFilterNilKind is the name of the type used to nil lists of objects of type 'machine_pool_security_group_filter'.

View Source
const MachineTypeKind = "MachineType"

MachineTypeKind is the name of the type used to represent objects of type 'machine_type'.

View Source
const MachineTypeLinkKind = "MachineTypeLink"

MachineTypeLinkKind is the name of the type used to represent links to objects of type 'machine_type'.

View Source
const MachineTypeListKind = "MachineTypeList"

MachineTypeListKind is the name of the type used to represent list of objects of type 'machine_type'.

View Source
const MachineTypeListLinkKind = "MachineTypeListLink"

MachineTypeListLinkKind is the name of the type used to represent links to list of objects of type 'machine_type'.

View Source
const MachineTypeListNilKind = "MachineTypeListNil"

MachineTypeNilKind is the name of the type used to nil lists of objects of type 'machine_type'.

View Source
const MachineTypeNilKind = "MachineTypeNil"

MachineTypeNilKind is the name of the type used to nil references to objects of type 'machine_type'.

View Source
const ManagedServiceListKind = "ManagedServiceList"

ManagedServiceListKind is the name of the type used to represent list of objects of type 'managed_service'.

View Source
const ManagedServiceListLinkKind = "ManagedServiceListLink"

ManagedServiceListLinkKind is the name of the type used to represent links to list of objects of type 'managed_service'.

View Source
const ManagedServiceListNilKind = "ManagedServiceListNil"

ManagedServiceNilKind is the name of the type used to nil lists of objects of type 'managed_service'.

View Source
const NetworkListKind = "NetworkList"

NetworkListKind is the name of the type used to represent list of objects of type 'network'.

View Source
const NetworkListLinkKind = "NetworkListLink"

NetworkListLinkKind is the name of the type used to represent links to list of objects of type 'network'.

View Source
const NetworkListNilKind = "NetworkListNil"

NetworkNilKind is the name of the type used to nil lists of objects of type 'network'.

View Source
const OidcConfigListKind = "OidcConfigList"

OidcConfigListKind is the name of the type used to represent list of objects of type 'oidc_config'.

View Source
const OidcConfigListLinkKind = "OidcConfigListLink"

OidcConfigListLinkKind is the name of the type used to represent links to list of objects of type 'oidc_config'.

View Source
const OidcConfigListNilKind = "OidcConfigListNil"

OidcConfigNilKind is the name of the type used to nil lists of objects of type 'oidc_config'.

View Source
const OperatorIAMRoleListKind = "OperatorIAMRoleList"

OperatorIAMRoleListKind is the name of the type used to represent list of objects of type 'operator_IAM_role'.

View Source
const OperatorIAMRoleListLinkKind = "OperatorIAMRoleListLink"

OperatorIAMRoleListLinkKind is the name of the type used to represent links to list of objects of type 'operator_IAM_role'.

View Source
const OperatorIAMRoleListNilKind = "OperatorIAMRoleListNil"

OperatorIAMRoleNilKind is the name of the type used to nil lists of objects of type 'operator_IAM_role'.

View Source
const PrivateLinkClusterConfigurationListKind = "PrivateLinkClusterConfigurationList"

PrivateLinkClusterConfigurationListKind is the name of the type used to represent list of objects of type 'private_link_cluster_configuration'.

View Source
const PrivateLinkClusterConfigurationListLinkKind = "PrivateLinkClusterConfigurationListLink"

PrivateLinkClusterConfigurationListLinkKind is the name of the type used to represent links to list of objects of type 'private_link_cluster_configuration'.

View Source
const PrivateLinkClusterConfigurationListNilKind = "PrivateLinkClusterConfigurationListNil"

PrivateLinkClusterConfigurationNilKind is the name of the type used to nil lists of objects of type 'private_link_cluster_configuration'.

View Source
const PrivateLinkPrincipalKind = "PrivateLinkPrincipal"

PrivateLinkPrincipalKind is the name of the type used to represent objects of type 'private_link_principal'.

View Source
const PrivateLinkPrincipalLinkKind = "PrivateLinkPrincipalLink"

PrivateLinkPrincipalLinkKind is the name of the type used to represent links to objects of type 'private_link_principal'.

View Source
const PrivateLinkPrincipalListKind = "PrivateLinkPrincipalList"

PrivateLinkPrincipalListKind is the name of the type used to represent list of objects of type 'private_link_principal'.

View Source
const PrivateLinkPrincipalListLinkKind = "PrivateLinkPrincipalListLink"

PrivateLinkPrincipalListLinkKind is the name of the type used to represent links to list of objects of type 'private_link_principal'.

View Source
const PrivateLinkPrincipalListNilKind = "PrivateLinkPrincipalListNil"

PrivateLinkPrincipalNilKind is the name of the type used to nil lists of objects of type 'private_link_principal'.

View Source
const PrivateLinkPrincipalNilKind = "PrivateLinkPrincipalNil"

PrivateLinkPrincipalNilKind is the name of the type used to nil references to objects of type 'private_link_principal'.

View Source
const ProvisionShardKind = "ProvisionShard"

ProvisionShardKind is the name of the type used to represent objects of type 'provision_shard'.

View Source
const ProvisionShardLinkKind = "ProvisionShardLink"

ProvisionShardLinkKind is the name of the type used to represent links to objects of type 'provision_shard'.

View Source
const ProvisionShardListKind = "ProvisionShardList"

ProvisionShardListKind is the name of the type used to represent list of objects of type 'provision_shard'.

View Source
const ProvisionShardListLinkKind = "ProvisionShardListLink"

ProvisionShardListLinkKind is the name of the type used to represent links to list of objects of type 'provision_shard'.

View Source
const ProvisionShardListNilKind = "ProvisionShardListNil"

ProvisionShardNilKind is the name of the type used to nil lists of objects of type 'provision_shard'.

View Source
const ProvisionShardNilKind = "ProvisionShardNil"

ProvisionShardNilKind is the name of the type used to nil references to objects of type 'provision_shard'.

View Source
const ProxyListKind = "ProxyList"

ProxyListKind is the name of the type used to represent list of objects of type 'proxy'.

View Source
const ProxyListLinkKind = "ProxyListLink"

ProxyListLinkKind is the name of the type used to represent links to list of objects of type 'proxy'.

View Source
const ProxyListNilKind = "ProxyListNil"

ProxyNilKind is the name of the type used to nil lists of objects of type 'proxy'.

View Source
const RegistryAllowlistKind = "RegistryAllowlist"

RegistryAllowlistKind is the name of the type used to represent objects of type 'registry_allowlist'.

View Source
const RegistryAllowlistLinkKind = "RegistryAllowlistLink"

RegistryAllowlistLinkKind is the name of the type used to represent links to objects of type 'registry_allowlist'.

View Source
const RegistryAllowlistListKind = "RegistryAllowlistList"

RegistryAllowlistListKind is the name of the type used to represent list of objects of type 'registry_allowlist'.

View Source
const RegistryAllowlistListLinkKind = "RegistryAllowlistListLink"

RegistryAllowlistListLinkKind is the name of the type used to represent links to list of objects of type 'registry_allowlist'.

View Source
const RegistryAllowlistListNilKind = "RegistryAllowlistListNil"

RegistryAllowlistNilKind is the name of the type used to nil lists of objects of type 'registry_allowlist'.

View Source
const RegistryAllowlistNilKind = "RegistryAllowlistNil"

RegistryAllowlistNilKind is the name of the type used to nil references to objects of type 'registry_allowlist'.

View Source
const RegistryLocationListKind = "RegistryLocationList"

RegistryLocationListKind is the name of the type used to represent list of objects of type 'registry_location'.

View Source
const RegistryLocationListLinkKind = "RegistryLocationListLink"

RegistryLocationListLinkKind is the name of the type used to represent links to list of objects of type 'registry_location'.

View Source
const RegistryLocationListNilKind = "RegistryLocationListNil"

RegistryLocationNilKind is the name of the type used to nil lists of objects of type 'registry_location'.

View Source
const RegistrySourcesListKind = "RegistrySourcesList"

RegistrySourcesListKind is the name of the type used to represent list of objects of type 'registry_sources'.

View Source
const RegistrySourcesListLinkKind = "RegistrySourcesListLink"

RegistrySourcesListLinkKind is the name of the type used to represent links to list of objects of type 'registry_sources'.

View Source
const RegistrySourcesListNilKind = "RegistrySourcesListNil"

RegistrySourcesNilKind is the name of the type used to nil lists of objects of type 'registry_sources'.

View Source
const RootVolumeListKind = "RootVolumeList"

RootVolumeListKind is the name of the type used to represent list of objects of type 'root_volume'.

View Source
const RootVolumeListLinkKind = "RootVolumeListLink"

RootVolumeListLinkKind is the name of the type used to represent links to list of objects of type 'root_volume'.

View Source
const RootVolumeListNilKind = "RootVolumeListNil"

RootVolumeNilKind is the name of the type used to nil lists of objects of type 'root_volume'.

View Source
const STSListKind = "STSList"

STSListKind is the name of the type used to represent list of objects of type 'STS'.

View Source
const STSListLinkKind = "STSListLink"

STSListLinkKind is the name of the type used to represent links to list of objects of type 'STS'.

View Source
const STSListNilKind = "STSListNil"

STSNilKind is the name of the type used to nil lists of objects of type 'STS'.

View Source
const ServerConfigKind = "ServerConfig"

ServerConfigKind is the name of the type used to represent objects of type 'server_config'.

View Source
const ServerConfigLinkKind = "ServerConfigLink"

ServerConfigLinkKind is the name of the type used to represent links to objects of type 'server_config'.

View Source
const ServerConfigListKind = "ServerConfigList"

ServerConfigListKind is the name of the type used to represent list of objects of type 'server_config'.

View Source
const ServerConfigListLinkKind = "ServerConfigListLink"

ServerConfigListLinkKind is the name of the type used to represent links to list of objects of type 'server_config'.

View Source
const ServerConfigListNilKind = "ServerConfigListNil"

ServerConfigNilKind is the name of the type used to nil lists of objects of type 'server_config'.

View Source
const ServerConfigNilKind = "ServerConfigNil"

ServerConfigNilKind is the name of the type used to nil references to objects of type 'server_config'.

View Source
const ValueListKind = "ValueList"

ValueListKind is the name of the type used to represent list of objects of type 'value'.

View Source
const ValueListLinkKind = "ValueListLink"

ValueListLinkKind is the name of the type used to represent links to list of objects of type 'value'.

View Source
const ValueListNilKind = "ValueListNil"

ValueNilKind is the name of the type used to nil lists of objects of type 'value'.

Variables ¶

View Source
var OpenAPI = []byte{}/* 90415 elements not displayed */

OpenAPI contains the OpenAPI specification of the service in JSON.

Functions ¶

func MarshalAWS ¶

func MarshalAWS(object *AWS, writer io.Writer) error

MarshalAWS writes a value of the 'AWS' type to the given writer.

func MarshalAWSList ¶

func MarshalAWSList(list []*AWS, writer io.Writer) error

MarshalAWSList writes a list of values of the 'AWS' type to the given writer.

func MarshalAWSShard ¶

func MarshalAWSShard(object *AWSShard, writer io.Writer) error

MarshalAWSShard writes a value of the 'AWS_shard' type to the given writer.

func MarshalAWSShardList ¶

func MarshalAWSShardList(list []*AWSShard, writer io.Writer) error

MarshalAWSShardList writes a list of values of the 'AWS_shard' type to the given writer.

func MarshalAWSVolume ¶

func MarshalAWSVolume(object *AWSVolume, writer io.Writer) error

MarshalAWSVolume writes a value of the 'AWS_volume' type to the given writer.

func MarshalAWSVolumeList ¶

func MarshalAWSVolumeList(list []*AWSVolume, writer io.Writer) error

MarshalAWSVolumeList writes a list of values of the 'AWS_volume' type to the given writer.

func MarshalAuditLog ¶

func MarshalAuditLog(object *AuditLog, writer io.Writer) error

MarshalAuditLog writes a value of the 'audit_log' type to the given writer.

func MarshalAuditLogList ¶

func MarshalAuditLogList(list []*AuditLog, writer io.Writer) error

MarshalAuditLogList writes a list of values of the 'audit_log' type to the given writer.

func MarshalAwsEtcdEncryption ¶

func MarshalAwsEtcdEncryption(object *AwsEtcdEncryption, writer io.Writer) error

MarshalAwsEtcdEncryption writes a value of the 'aws_etcd_encryption' type to the given writer.

func MarshalAwsEtcdEncryptionList ¶

func MarshalAwsEtcdEncryptionList(list []*AwsEtcdEncryption, writer io.Writer) error

MarshalAwsEtcdEncryptionList writes a list of values of the 'aws_etcd_encryption' type to the given writer.

func MarshalAzure ¶

func MarshalAzure(object *Azure, writer io.Writer) error

MarshalAzure writes a value of the 'azure' type to the given writer.

func MarshalAzureControlPlaneManagedIdentity ¶

func MarshalAzureControlPlaneManagedIdentity(object *AzureControlPlaneManagedIdentity, writer io.Writer) error

MarshalAzureControlPlaneManagedIdentity writes a value of the 'azure_control_plane_managed_identity' type to the given writer.

func MarshalAzureControlPlaneManagedIdentityList ¶

func MarshalAzureControlPlaneManagedIdentityList(list []*AzureControlPlaneManagedIdentity, writer io.Writer) error

MarshalAzureControlPlaneManagedIdentityList writes a list of values of the 'azure_control_plane_managed_identity' type to the given writer.

func MarshalAzureDataPlaneManagedIdentity ¶

func MarshalAzureDataPlaneManagedIdentity(object *AzureDataPlaneManagedIdentity, writer io.Writer) error

MarshalAzureDataPlaneManagedIdentity writes a value of the 'azure_data_plane_managed_identity' type to the given writer.

func MarshalAzureDataPlaneManagedIdentityList ¶

func MarshalAzureDataPlaneManagedIdentityList(list []*AzureDataPlaneManagedIdentity, writer io.Writer) error

MarshalAzureDataPlaneManagedIdentityList writes a list of values of the 'azure_data_plane_managed_identity' type to the given writer.

func MarshalAzureList ¶

func MarshalAzureList(list []*Azure, writer io.Writer) error

MarshalAzureList writes a list of values of the 'azure' type to the given writer.

func MarshalAzureNodesOutboundConnectivity ¶

func MarshalAzureNodesOutboundConnectivity(object *AzureNodesOutboundConnectivity, writer io.Writer) error

MarshalAzureNodesOutboundConnectivity writes a value of the 'azure_nodes_outbound_connectivity' type to the given writer.

func MarshalAzureNodesOutboundConnectivityList ¶

func MarshalAzureNodesOutboundConnectivityList(list []*AzureNodesOutboundConnectivity, writer io.Writer) error

MarshalAzureNodesOutboundConnectivityList writes a list of values of the 'azure_nodes_outbound_connectivity' type to the given writer.

func MarshalAzureOperatorsAuthentication ¶

func MarshalAzureOperatorsAuthentication(object *AzureOperatorsAuthentication, writer io.Writer) error

MarshalAzureOperatorsAuthentication writes a value of the 'azure_operators_authentication' type to the given writer.

func MarshalAzureOperatorsAuthenticationList ¶

func MarshalAzureOperatorsAuthenticationList(list []*AzureOperatorsAuthentication, writer io.Writer) error

MarshalAzureOperatorsAuthenticationList writes a list of values of the 'azure_operators_authentication' type to the given writer.

func MarshalAzureOperatorsAuthenticationManagedIdentities ¶

func MarshalAzureOperatorsAuthenticationManagedIdentities(object *AzureOperatorsAuthenticationManagedIdentities, writer io.Writer) error

MarshalAzureOperatorsAuthenticationManagedIdentities writes a value of the 'azure_operators_authentication_managed_identities' type to the given writer.

func MarshalAzureOperatorsAuthenticationManagedIdentitiesList ¶

func MarshalAzureOperatorsAuthenticationManagedIdentitiesList(list []*AzureOperatorsAuthenticationManagedIdentities, writer io.Writer) error

MarshalAzureOperatorsAuthenticationManagedIdentitiesList writes a list of values of the 'azure_operators_authentication_managed_identities' type to the given writer.

func MarshalAzureServiceManagedIdentity ¶

func MarshalAzureServiceManagedIdentity(object *AzureServiceManagedIdentity, writer io.Writer) error

MarshalAzureServiceManagedIdentity writes a value of the 'azure_service_managed_identity' type to the given writer.

func MarshalAzureServiceManagedIdentityList ¶

func MarshalAzureServiceManagedIdentityList(list []*AzureServiceManagedIdentity, writer io.Writer) error

MarshalAzureServiceManagedIdentityList writes a list of values of the 'azure_service_managed_identity' type to the given writer.

func MarshalBillingModelList ¶

func MarshalBillingModelList(list []BillingModel, writer io.Writer) error

MarshalBillingModelList writes a list of values of the 'billing_model' type to the given writer.

func MarshalBooleanList ¶

func MarshalBooleanList(list []bool, writer io.Writer) error

MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.

func MarshalByoOidc ¶

func MarshalByoOidc(object *ByoOidc, writer io.Writer) error

MarshalByoOidc writes a value of the 'byo_oidc' type to the given writer.

func MarshalByoOidcList ¶

func MarshalByoOidcList(list []*ByoOidc, writer io.Writer) error

MarshalByoOidcList writes a list of values of the 'byo_oidc' type to the given writer.

func MarshalCCS ¶

func MarshalCCS(object *CCS, writer io.Writer) error

MarshalCCS writes a value of the 'CCS' type to the given writer.

func MarshalCCSList ¶

func MarshalCCSList(list []*CCS, writer io.Writer) error

MarshalCCSList writes a list of values of the 'CCS' type to the given writer.

func MarshalCloudProvider ¶

func MarshalCloudProvider(object *CloudProvider, writer io.Writer) error

MarshalCloudProvider writes a value of the 'cloud_provider' type to the given writer.

func MarshalCloudProviderList ¶

func MarshalCloudProviderList(list []*CloudProvider, writer io.Writer) error

MarshalCloudProviderList writes a list of values of the 'cloud_provider' type to the given writer.

func MarshalCloudRegion ¶

func MarshalCloudRegion(object *CloudRegion, writer io.Writer) error

MarshalCloudRegion writes a value of the 'cloud_region' type to the given writer.

func MarshalCloudRegionList ¶

func MarshalCloudRegionList(list []*CloudRegion, writer io.Writer) error

MarshalCloudRegionList writes a list of values of the 'cloud_region' type to the given writer.

func MarshalCluster ¶

func MarshalCluster(object *Cluster, writer io.Writer) error

MarshalCluster writes a value of the 'cluster' type to the given writer.

func MarshalClusterAPI ¶

func MarshalClusterAPI(object *ClusterAPI, writer io.Writer) error

MarshalClusterAPI writes a value of the 'cluster_API' type to the given writer.

func MarshalClusterAPIList ¶

func MarshalClusterAPIList(list []*ClusterAPI, writer io.Writer) error

MarshalClusterAPIList writes a list of values of the 'cluster_API' type to the given writer.

func MarshalClusterConfigurationModeList ¶

func MarshalClusterConfigurationModeList(list []ClusterConfigurationMode, writer io.Writer) error

MarshalClusterConfigurationModeList writes a list of values of the 'cluster_configuration_mode' type to the given writer.

func MarshalClusterConsole ¶

func MarshalClusterConsole(object *ClusterConsole, writer io.Writer) error

MarshalClusterConsole writes a value of the 'cluster_console' type to the given writer.

func MarshalClusterConsoleList ¶

func MarshalClusterConsoleList(list []*ClusterConsole, writer io.Writer) error

MarshalClusterConsoleList writes a list of values of the 'cluster_console' type to the given writer.

func MarshalClusterHealthStateList ¶

func MarshalClusterHealthStateList(list []ClusterHealthState, writer io.Writer) error

MarshalClusterHealthStateList writes a list of values of the 'cluster_health_state' type to the given writer.

func MarshalClusterList ¶

func MarshalClusterList(list []*Cluster, writer io.Writer) error

MarshalClusterList writes a list of values of the 'cluster' type to the given writer.

func MarshalClusterNodes ¶

func MarshalClusterNodes(object *ClusterNodes, writer io.Writer) error

MarshalClusterNodes writes a value of the 'cluster_nodes' type to the given writer.

func MarshalClusterNodesList ¶

func MarshalClusterNodesList(list []*ClusterNodes, writer io.Writer) error

MarshalClusterNodesList writes a list of values of the 'cluster_nodes' type to the given writer.

func MarshalClusterRegistryConfig ¶

func MarshalClusterRegistryConfig(object *ClusterRegistryConfig, writer io.Writer) error

MarshalClusterRegistryConfig writes a value of the 'cluster_registry_config' type to the given writer.

func MarshalClusterRegistryConfigList ¶

func MarshalClusterRegistryConfigList(list []*ClusterRegistryConfig, writer io.Writer) error

MarshalClusterRegistryConfigList writes a list of values of the 'cluster_registry_config' type to the given writer.

func MarshalClusterStateList ¶

func MarshalClusterStateList(list []ClusterState, writer io.Writer) error

MarshalClusterStateList writes a list of values of the 'cluster_state' type to the given writer.

func MarshalClusterStatus ¶

func MarshalClusterStatus(object *ClusterStatus, writer io.Writer) error

MarshalClusterStatus writes a value of the 'cluster_status' type to the given writer.

func MarshalClusterStatusList ¶

func MarshalClusterStatusList(list []*ClusterStatus, writer io.Writer) error

MarshalClusterStatusList writes a list of values of the 'cluster_status' type to the given writer.

func MarshalDNS ¶

func MarshalDNS(object *DNS, writer io.Writer) error

MarshalDNS writes a value of the 'DNS' type to the given writer.

func MarshalDNSList ¶

func MarshalDNSList(list []*DNS, writer io.Writer) error

MarshalDNSList writes a list of values of the 'DNS' type to the given writer.

func MarshalDateList ¶

func MarshalDateList(list []time.Time, writer io.Writer) error

MarshalDateList writes a list of values of the 'date' type to the given writer.

func MarshalDeleteProtection ¶

func MarshalDeleteProtection(object *DeleteProtection, writer io.Writer) error

MarshalDeleteProtection writes a value of the 'delete_protection' type to the given writer.

func MarshalDeleteProtectionList ¶

func MarshalDeleteProtectionList(list []*DeleteProtection, writer io.Writer) error

MarshalDeleteProtectionList writes a list of values of the 'delete_protection' type to the given writer.

func MarshalEc2MetadataHttpTokensList ¶

func MarshalEc2MetadataHttpTokensList(list []Ec2MetadataHttpTokens, writer io.Writer) error

MarshalEc2MetadataHttpTokensList writes a list of values of the 'ec_2_metadata_http_tokens' type to the given writer.

func MarshalExternalAuthConfig ¶

func MarshalExternalAuthConfig(object *ExternalAuthConfig, writer io.Writer) error

MarshalExternalAuthConfig writes a value of the 'external_auth_config' type to the given writer.

func MarshalExternalAuthConfigList ¶

func MarshalExternalAuthConfigList(list []*ExternalAuthConfig, writer io.Writer) error

MarshalExternalAuthConfigList writes a list of values of the 'external_auth_config' type to the given writer.

func MarshalExternalConfiguration ¶

func MarshalExternalConfiguration(object *ExternalConfiguration, writer io.Writer) error

MarshalExternalConfiguration writes a value of the 'external_configuration' type to the given writer.

func MarshalExternalConfigurationList ¶

func MarshalExternalConfigurationList(list []*ExternalConfiguration, writer io.Writer) error

MarshalExternalConfigurationList writes a list of values of the 'external_configuration' type to the given writer.

func MarshalFloatList ¶

func MarshalFloatList(list []float64, writer io.Writer) error

MarshalFloatList writes a list of values of the 'float' type to the given writer.

func MarshalGCP ¶

func MarshalGCP(object *GCP, writer io.Writer) error

MarshalGCP writes a value of the 'GCP' type to the given writer.

func MarshalGCPEncryptionKey ¶

func MarshalGCPEncryptionKey(object *GCPEncryptionKey, writer io.Writer) error

MarshalGCPEncryptionKey writes a value of the 'GCP_encryption_key' type to the given writer.

func MarshalGCPEncryptionKeyList ¶

func MarshalGCPEncryptionKeyList(list []*GCPEncryptionKey, writer io.Writer) error

MarshalGCPEncryptionKeyList writes a list of values of the 'GCP_encryption_key' type to the given writer.

func MarshalGCPList ¶

func MarshalGCPList(list []*GCP, writer io.Writer) error

MarshalGCPList writes a list of values of the 'GCP' type to the given writer.

func MarshalGCPNetwork ¶

func MarshalGCPNetwork(object *GCPNetwork, writer io.Writer) error

MarshalGCPNetwork writes a value of the 'GCP_network' type to the given writer.

func MarshalGCPNetworkList ¶

func MarshalGCPNetworkList(list []*GCPNetwork, writer io.Writer) error

MarshalGCPNetworkList writes a list of values of the 'GCP_network' type to the given writer.

func MarshalGCPVolume ¶

func MarshalGCPVolume(object *GCPVolume, writer io.Writer) error

MarshalGCPVolume writes a value of the 'GCP_volume' type to the given writer.

func MarshalGCPVolumeList ¶

func MarshalGCPVolumeList(list []*GCPVolume, writer io.Writer) error

MarshalGCPVolumeList writes a list of values of the 'GCP_volume' type to the given writer.

func MarshalGcpAuthentication ¶

func MarshalGcpAuthentication(object *GcpAuthentication, writer io.Writer) error

MarshalGcpAuthentication writes a value of the 'gcp_authentication' type to the given writer.

func MarshalGcpAuthenticationList ¶

func MarshalGcpAuthenticationList(list []*GcpAuthentication, writer io.Writer) error

MarshalGcpAuthenticationList writes a list of values of the 'gcp_authentication' type to the given writer.

func MarshalGcpPrivateServiceConnect ¶

func MarshalGcpPrivateServiceConnect(object *GcpPrivateServiceConnect, writer io.Writer) error

MarshalGcpPrivateServiceConnect writes a value of the 'gcp_private_service_connect' type to the given writer.

func MarshalGcpPrivateServiceConnectList ¶

func MarshalGcpPrivateServiceConnectList(list []*GcpPrivateServiceConnect, writer io.Writer) error

MarshalGcpPrivateServiceConnectList writes a list of values of the 'gcp_private_service_connect' type to the given writer.

func MarshalGcpSecurity ¶

func MarshalGcpSecurity(object *GcpSecurity, writer io.Writer) error

MarshalGcpSecurity writes a value of the 'gcp_security' type to the given writer.

func MarshalGcpSecurityList ¶

func MarshalGcpSecurityList(list []*GcpSecurity, writer io.Writer) error

MarshalGcpSecurityList writes a list of values of the 'gcp_security' type to the given writer.

func MarshalHTPasswdIdentityProvider ¶

func MarshalHTPasswdIdentityProvider(object *HTPasswdIdentityProvider, writer io.Writer) error

MarshalHTPasswdIdentityProvider writes a value of the 'HT_passwd_identity_provider' type to the given writer.

func MarshalHTPasswdIdentityProviderList ¶

func MarshalHTPasswdIdentityProviderList(list []*HTPasswdIdentityProvider, writer io.Writer) error

MarshalHTPasswdIdentityProviderList writes a list of values of the 'HT_passwd_identity_provider' type to the given writer.

func MarshalHypershift ¶

func MarshalHypershift(object *Hypershift, writer io.Writer) error

MarshalHypershift writes a value of the 'hypershift' type to the given writer.

func MarshalHypershiftList ¶

func MarshalHypershiftList(list []*Hypershift, writer io.Writer) error

MarshalHypershiftList writes a list of values of the 'hypershift' type to the given writer.

func MarshalInstanceIAMRoles ¶

func MarshalInstanceIAMRoles(object *InstanceIAMRoles, writer io.Writer) error

MarshalInstanceIAMRoles writes a value of the 'instance_IAM_roles' type to the given writer.

func MarshalInstanceIAMRolesList ¶

func MarshalInstanceIAMRolesList(list []*InstanceIAMRoles, writer io.Writer) error

MarshalInstanceIAMRolesList writes a list of values of the 'instance_IAM_roles' type to the given writer.

func MarshalIntegerList ¶

func MarshalIntegerList(list []int, writer io.Writer) error

MarshalIntegerList writes a list of values of the 'integer' type to the given writer.

func MarshalInterfaceList ¶

func MarshalInterfaceList(list []interface{}, writer io.Writer) error

MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.

func MarshalKubeletConfig ¶

func MarshalKubeletConfig(object *KubeletConfig, writer io.Writer) error

MarshalKubeletConfig writes a value of the 'kubelet_config' type to the given writer.

func MarshalKubeletConfigList ¶

func MarshalKubeletConfigList(list []*KubeletConfig, writer io.Writer) error

MarshalKubeletConfigList writes a list of values of the 'kubelet_config' type to the given writer.

func MarshalListeningMethodList ¶

func MarshalListeningMethodList(list []ListeningMethod, writer io.Writer) error

MarshalListeningMethodList writes a list of values of the 'listening_method' type to the given writer.

func MarshalLongList ¶

func MarshalLongList(list []int64, writer io.Writer) error

MarshalLongList writes a list of values of the 'long' type to the given writer.

func MarshalMachinePoolAutoscaling ¶

func MarshalMachinePoolAutoscaling(object *MachinePoolAutoscaling, writer io.Writer) error

MarshalMachinePoolAutoscaling writes a value of the 'machine_pool_autoscaling' type to the given writer.

func MarshalMachinePoolAutoscalingList ¶

func MarshalMachinePoolAutoscalingList(list []*MachinePoolAutoscaling, writer io.Writer) error

MarshalMachinePoolAutoscalingList writes a list of values of the 'machine_pool_autoscaling' type to the given writer.

func MarshalMachinePoolSecurityGroupFilter ¶

func MarshalMachinePoolSecurityGroupFilter(object *MachinePoolSecurityGroupFilter, writer io.Writer) error

MarshalMachinePoolSecurityGroupFilter writes a value of the 'machine_pool_security_group_filter' type to the given writer.

func MarshalMachinePoolSecurityGroupFilterList ¶

func MarshalMachinePoolSecurityGroupFilterList(list []*MachinePoolSecurityGroupFilter, writer io.Writer) error

MarshalMachinePoolSecurityGroupFilterList writes a list of values of the 'machine_pool_security_group_filter' type to the given writer.

func MarshalMachineType ¶

func MarshalMachineType(object *MachineType, writer io.Writer) error

MarshalMachineType writes a value of the 'machine_type' type to the given writer.

func MarshalMachineTypeCategoryList ¶

func MarshalMachineTypeCategoryList(list []MachineTypeCategory, writer io.Writer) error

MarshalMachineTypeCategoryList writes a list of values of the 'machine_type_category' type to the given writer.

func MarshalMachineTypeList ¶

func MarshalMachineTypeList(list []*MachineType, writer io.Writer) error

MarshalMachineTypeList writes a list of values of the 'machine_type' type to the given writer.

func MarshalMachineTypeSizeList ¶

func MarshalMachineTypeSizeList(list []MachineTypeSize, writer io.Writer) error

MarshalMachineTypeSizeList writes a list of values of the 'machine_type_size' type to the given writer.

func MarshalManagedService ¶

func MarshalManagedService(object *ManagedService, writer io.Writer) error

MarshalManagedService writes a value of the 'managed_service' type to the given writer.

func MarshalManagedServiceList ¶

func MarshalManagedServiceList(list []*ManagedService, writer io.Writer) error

MarshalManagedServiceList writes a list of values of the 'managed_service' type to the given writer.

func MarshalMetadata ¶

func MarshalMetadata(object *Metadata, writer io.Writer) error

MarshalMetadata writes a value of the metadata type to the given target, which can be a writer or a JSON encoder.

func MarshalNetwork ¶

func MarshalNetwork(object *Network, writer io.Writer) error

MarshalNetwork writes a value of the 'network' type to the given writer.

func MarshalNetworkList ¶

func MarshalNetworkList(list []*Network, writer io.Writer) error

MarshalNetworkList writes a list of values of the 'network' type to the given writer.

func MarshalOidcConfig ¶

func MarshalOidcConfig(object *OidcConfig, writer io.Writer) error

MarshalOidcConfig writes a value of the 'oidc_config' type to the given writer.

func MarshalOidcConfigList ¶

func MarshalOidcConfigList(list []*OidcConfig, writer io.Writer) error

MarshalOidcConfigList writes a list of values of the 'oidc_config' type to the given writer.

func MarshalOperatorIAMRole ¶

func MarshalOperatorIAMRole(object *OperatorIAMRole, writer io.Writer) error

MarshalOperatorIAMRole writes a value of the 'operator_IAM_role' type to the given writer.

func MarshalOperatorIAMRoleList ¶

func MarshalOperatorIAMRoleList(list []*OperatorIAMRole, writer io.Writer) error

MarshalOperatorIAMRoleList writes a list of values of the 'operator_IAM_role' type to the given writer.

func MarshalPrivateLinkClusterConfiguration ¶

func MarshalPrivateLinkClusterConfiguration(object *PrivateLinkClusterConfiguration, writer io.Writer) error

MarshalPrivateLinkClusterConfiguration writes a value of the 'private_link_cluster_configuration' type to the given writer.

func MarshalPrivateLinkClusterConfigurationList ¶

func MarshalPrivateLinkClusterConfigurationList(list []*PrivateLinkClusterConfiguration, writer io.Writer) error

MarshalPrivateLinkClusterConfigurationList writes a list of values of the 'private_link_cluster_configuration' type to the given writer.

func MarshalPrivateLinkPrincipal ¶

func MarshalPrivateLinkPrincipal(object *PrivateLinkPrincipal, writer io.Writer) error

MarshalPrivateLinkPrincipal writes a value of the 'private_link_principal' type to the given writer.

func MarshalPrivateLinkPrincipalList ¶

func MarshalPrivateLinkPrincipalList(list []*PrivateLinkPrincipal, writer io.Writer) error

MarshalPrivateLinkPrincipalList writes a list of values of the 'private_link_principal' type to the given writer.

func MarshalProcessorTypeList ¶

func MarshalProcessorTypeList(list []ProcessorType, writer io.Writer) error

MarshalProcessorTypeList writes a list of values of the 'processor_type' type to the given writer.

func MarshalProvisionShard ¶

func MarshalProvisionShard(object *ProvisionShard, writer io.Writer) error

MarshalProvisionShard writes a value of the 'provision_shard' type to the given writer.

func MarshalProvisionShardList ¶

func MarshalProvisionShardList(list []*ProvisionShard, writer io.Writer) error

MarshalProvisionShardList writes a list of values of the 'provision_shard' type to the given writer.

func MarshalProvisionShardTopologyList ¶

func MarshalProvisionShardTopologyList(list []ProvisionShardTopology, writer io.Writer) error

MarshalProvisionShardTopologyList writes a list of values of the 'provision_shard_topology' type to the given writer.

func MarshalProxy ¶

func MarshalProxy(object *Proxy, writer io.Writer) error

MarshalProxy writes a value of the 'proxy' type to the given writer.

func MarshalProxyList ¶

func MarshalProxyList(list []*Proxy, writer io.Writer) error

MarshalProxyList writes a list of values of the 'proxy' type to the given writer.

func MarshalRegistryAllowlist ¶

func MarshalRegistryAllowlist(object *RegistryAllowlist, writer io.Writer) error

MarshalRegistryAllowlist writes a value of the 'registry_allowlist' type to the given writer.

func MarshalRegistryAllowlistList ¶

func MarshalRegistryAllowlistList(list []*RegistryAllowlist, writer io.Writer) error

MarshalRegistryAllowlistList writes a list of values of the 'registry_allowlist' type to the given writer.

func MarshalRegistryLocation ¶

func MarshalRegistryLocation(object *RegistryLocation, writer io.Writer) error

MarshalRegistryLocation writes a value of the 'registry_location' type to the given writer.

func MarshalRegistryLocationList ¶

func MarshalRegistryLocationList(list []*RegistryLocation, writer io.Writer) error

MarshalRegistryLocationList writes a list of values of the 'registry_location' type to the given writer.

func MarshalRegistrySources ¶

func MarshalRegistrySources(object *RegistrySources, writer io.Writer) error

MarshalRegistrySources writes a value of the 'registry_sources' type to the given writer.

func MarshalRegistrySourcesList ¶

func MarshalRegistrySourcesList(list []*RegistrySources, writer io.Writer) error

MarshalRegistrySourcesList writes a list of values of the 'registry_sources' type to the given writer.

func MarshalRootVolume ¶

func MarshalRootVolume(object *RootVolume, writer io.Writer) error

MarshalRootVolume writes a value of the 'root_volume' type to the given writer.

func MarshalRootVolumeList ¶

func MarshalRootVolumeList(list []*RootVolume, writer io.Writer) error

MarshalRootVolumeList writes a list of values of the 'root_volume' type to the given writer.

func MarshalSTS ¶

func MarshalSTS(object *STS, writer io.Writer) error

MarshalSTS writes a value of the 'STS' type to the given writer.

func MarshalSTSList ¶

func MarshalSTSList(list []*STS, writer io.Writer) error

MarshalSTSList writes a list of values of the 'STS' type to the given writer.

func MarshalServerConfig ¶

func MarshalServerConfig(object *ServerConfig, writer io.Writer) error

MarshalServerConfig writes a value of the 'server_config' type to the given writer.

func MarshalServerConfigList ¶

func MarshalServerConfigList(list []*ServerConfig, writer io.Writer) error

MarshalServerConfigList writes a list of values of the 'server_config' type to the given writer.

func MarshalStringList ¶

func MarshalStringList(list []string, writer io.Writer) error

MarshalStringList writes a list of values of the 'string' type to the given writer.

func MarshalValue ¶

func MarshalValue(object *Value, writer io.Writer) error

MarshalValue writes a value of the 'value' type to the given writer.

func MarshalValueList ¶

func MarshalValueList(list []*Value, writer io.Writer) error

MarshalValueList writes a list of values of the 'value' type to the given writer.

func ReadBooleanList ¶

func ReadBooleanList(iterator *jsoniter.Iterator) []bool

ReadBooleanList reads list of values of the ”boolean' type from the given iterator.

func ReadDateList ¶

func ReadDateList(iterator *jsoniter.Iterator) []time.Time

ReadDateList reads list of values of the ”date' type from the given iterator.

func ReadFloatList ¶

func ReadFloatList(iterator *jsoniter.Iterator) []float64

ReadFloatList reads list of values of the ”float' type from the given iterator.

func ReadIntegerList ¶

func ReadIntegerList(iterator *jsoniter.Iterator) []int

ReadIntegerList reads list of values of the ”integer' type from the given iterator.

func ReadInterfaceList ¶

func ReadInterfaceList(iterator *jsoniter.Iterator) []interface{}

ReadInterfaceList reads list of values of the ”interface' type from the given iterator.

func ReadLongList ¶

func ReadLongList(iterator *jsoniter.Iterator) []int64

ReadLongList reads list of values of the ”long' type from the given iterator.

func ReadStringList ¶

func ReadStringList(iterator *jsoniter.Iterator) []string

ReadStringList reads list of values of the ”string' type from the given iterator.

func UnmarshalBooleanList ¶

func UnmarshalBooleanList(source interface{}) (items []bool, err error)

UnmarshalBooleanList reads a list of values of the 'boolean' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalDateList ¶

func UnmarshalDateList(source interface{}) (items []time.Time, err error)

UnmarshalDateList reads a list of values of the 'date' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalFloatList ¶

func UnmarshalFloatList(source interface{}) (items []float64, err error)

UnmarshalFloatList reads a list of values of the 'float' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalIntegerList ¶

func UnmarshalIntegerList(source interface{}) (items []int, err error)

UnmarshalIntegerList reads a list of values of the 'integer' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalInterfaceList ¶

func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)

UnmarshalInterfaceList reads a list of values of the 'interface' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalLongList ¶

func UnmarshalLongList(source interface{}) (items []int64, err error)

UnmarshalLongList reads a list of values of the 'long' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalStringList ¶

func UnmarshalStringList(source interface{}) (items []string, err error)

UnmarshalStringList reads a list of values of the 'string' type from the given source, which can be a slice of bytes, a string or a reader.

func WriteAWS ¶

func WriteAWS(object *AWS, stream *jsoniter.Stream)

WriteAWS writes a value of the 'AWS' type to the given stream.

func WriteAWSList ¶

func WriteAWSList(list []*AWS, stream *jsoniter.Stream)

WriteAWSList writes a list of value of the 'AWS' type to the given stream.

func WriteAWSShard ¶

func WriteAWSShard(object *AWSShard, stream *jsoniter.Stream)

WriteAWSShard writes a value of the 'AWS_shard' type to the given stream.

func WriteAWSShardList ¶

func WriteAWSShardList(list []*AWSShard, stream *jsoniter.Stream)

WriteAWSShardList writes a list of value of the 'AWS_shard' type to the given stream.

func WriteAWSVolume ¶

func WriteAWSVolume(object *AWSVolume, stream *jsoniter.Stream)

WriteAWSVolume writes a value of the 'AWS_volume' type to the given stream.

func WriteAWSVolumeList ¶

func WriteAWSVolumeList(list []*AWSVolume, stream *jsoniter.Stream)

WriteAWSVolumeList writes a list of value of the 'AWS_volume' type to the given stream.

func WriteAuditLog ¶

func WriteAuditLog(object *AuditLog, stream *jsoniter.Stream)

WriteAuditLog writes a value of the 'audit_log' type to the given stream.

func WriteAuditLogList ¶

func WriteAuditLogList(list []*AuditLog, stream *jsoniter.Stream)

WriteAuditLogList writes a list of value of the 'audit_log' type to the given stream.

func WriteAwsEtcdEncryption ¶

func WriteAwsEtcdEncryption(object *AwsEtcdEncryption, stream *jsoniter.Stream)

WriteAwsEtcdEncryption writes a value of the 'aws_etcd_encryption' type to the given stream.

func WriteAwsEtcdEncryptionList ¶

func WriteAwsEtcdEncryptionList(list []*AwsEtcdEncryption, stream *jsoniter.Stream)

WriteAwsEtcdEncryptionList writes a list of value of the 'aws_etcd_encryption' type to the given stream.

func WriteAzure ¶

func WriteAzure(object *Azure, stream *jsoniter.Stream)

WriteAzure writes a value of the 'azure' type to the given stream.

func WriteAzureControlPlaneManagedIdentity ¶

func WriteAzureControlPlaneManagedIdentity(object *AzureControlPlaneManagedIdentity, stream *jsoniter.Stream)

WriteAzureControlPlaneManagedIdentity writes a value of the 'azure_control_plane_managed_identity' type to the given stream.

func WriteAzureControlPlaneManagedIdentityList ¶

func WriteAzureControlPlaneManagedIdentityList(list []*AzureControlPlaneManagedIdentity, stream *jsoniter.Stream)

WriteAzureControlPlaneManagedIdentityList writes a list of value of the 'azure_control_plane_managed_identity' type to the given stream.

func WriteAzureDataPlaneManagedIdentity ¶

func WriteAzureDataPlaneManagedIdentity(object *AzureDataPlaneManagedIdentity, stream *jsoniter.Stream)

WriteAzureDataPlaneManagedIdentity writes a value of the 'azure_data_plane_managed_identity' type to the given stream.

func WriteAzureDataPlaneManagedIdentityList ¶

func WriteAzureDataPlaneManagedIdentityList(list []*AzureDataPlaneManagedIdentity, stream *jsoniter.Stream)

WriteAzureDataPlaneManagedIdentityList writes a list of value of the 'azure_data_plane_managed_identity' type to the given stream.

func WriteAzureList ¶

func WriteAzureList(list []*Azure, stream *jsoniter.Stream)

WriteAzureList writes a list of value of the 'azure' type to the given stream.

func WriteAzureNodesOutboundConnectivity ¶

func WriteAzureNodesOutboundConnectivity(object *AzureNodesOutboundConnectivity, stream *jsoniter.Stream)

WriteAzureNodesOutboundConnectivity writes a value of the 'azure_nodes_outbound_connectivity' type to the given stream.

func WriteAzureNodesOutboundConnectivityList ¶

func WriteAzureNodesOutboundConnectivityList(list []*AzureNodesOutboundConnectivity, stream *jsoniter.Stream)

WriteAzureNodesOutboundConnectivityList writes a list of value of the 'azure_nodes_outbound_connectivity' type to the given stream.

func WriteAzureOperatorsAuthentication ¶

func WriteAzureOperatorsAuthentication(object *AzureOperatorsAuthentication, stream *jsoniter.Stream)

WriteAzureOperatorsAuthentication writes a value of the 'azure_operators_authentication' type to the given stream.

func WriteAzureOperatorsAuthenticationList ¶

func WriteAzureOperatorsAuthenticationList(list []*AzureOperatorsAuthentication, stream *jsoniter.Stream)

WriteAzureOperatorsAuthenticationList writes a list of value of the 'azure_operators_authentication' type to the given stream.

func WriteAzureOperatorsAuthenticationManagedIdentities ¶

func WriteAzureOperatorsAuthenticationManagedIdentities(object *AzureOperatorsAuthenticationManagedIdentities, stream *jsoniter.Stream)

WriteAzureOperatorsAuthenticationManagedIdentities writes a value of the 'azure_operators_authentication_managed_identities' type to the given stream.

func WriteAzureOperatorsAuthenticationManagedIdentitiesList ¶

func WriteAzureOperatorsAuthenticationManagedIdentitiesList(list []*AzureOperatorsAuthenticationManagedIdentities, stream *jsoniter.Stream)

WriteAzureOperatorsAuthenticationManagedIdentitiesList writes a list of value of the 'azure_operators_authentication_managed_identities' type to the given stream.

func WriteAzureServiceManagedIdentity ¶

func WriteAzureServiceManagedIdentity(object *AzureServiceManagedIdentity, stream *jsoniter.Stream)

WriteAzureServiceManagedIdentity writes a value of the 'azure_service_managed_identity' type to the given stream.

func WriteAzureServiceManagedIdentityList ¶

func WriteAzureServiceManagedIdentityList(list []*AzureServiceManagedIdentity, stream *jsoniter.Stream)

WriteAzureServiceManagedIdentityList writes a list of value of the 'azure_service_managed_identity' type to the given stream.

func WriteBillingModelList ¶

func WriteBillingModelList(list []BillingModel, stream *jsoniter.Stream)

WriteBillingModelList writes a list of value of the 'billing_model' type to the given stream.

func WriteBooleanList ¶

func WriteBooleanList(list []bool, stream *jsoniter.Stream)

WriteBooleanList writes a list of value of the 'boolean' type to the given stream.

func WriteByoOidc ¶

func WriteByoOidc(object *ByoOidc, stream *jsoniter.Stream)

WriteByoOidc writes a value of the 'byo_oidc' type to the given stream.

func WriteByoOidcList ¶

func WriteByoOidcList(list []*ByoOidc, stream *jsoniter.Stream)

WriteByoOidcList writes a list of value of the 'byo_oidc' type to the given stream.

func WriteCCS ¶

func WriteCCS(object *CCS, stream *jsoniter.Stream)

WriteCCS writes a value of the 'CCS' type to the given stream.

func WriteCCSList ¶

func WriteCCSList(list []*CCS, stream *jsoniter.Stream)

WriteCCSList writes a list of value of the 'CCS' type to the given stream.

func WriteCloudProvider ¶

func WriteCloudProvider(object *CloudProvider, stream *jsoniter.Stream)

WriteCloudProvider writes a value of the 'cloud_provider' type to the given stream.

func WriteCloudProviderList ¶

func WriteCloudProviderList(list []*CloudProvider, stream *jsoniter.Stream)

WriteCloudProviderList writes a list of value of the 'cloud_provider' type to the given stream.

func WriteCloudRegion ¶

func WriteCloudRegion(object *CloudRegion, stream *jsoniter.Stream)

WriteCloudRegion writes a value of the 'cloud_region' type to the given stream.

func WriteCloudRegionList ¶

func WriteCloudRegionList(list []*CloudRegion, stream *jsoniter.Stream)

WriteCloudRegionList writes a list of value of the 'cloud_region' type to the given stream.

func WriteCluster ¶

func WriteCluster(object *Cluster, stream *jsoniter.Stream)

WriteCluster writes a value of the 'cluster' type to the given stream.

func WriteClusterAPI ¶

func WriteClusterAPI(object *ClusterAPI, stream *jsoniter.Stream)

WriteClusterAPI writes a value of the 'cluster_API' type to the given stream.

func WriteClusterAPIList ¶

func WriteClusterAPIList(list []*ClusterAPI, stream *jsoniter.Stream)

WriteClusterAPIList writes a list of value of the 'cluster_API' type to the given stream.

func WriteClusterConfigurationModeList ¶

func WriteClusterConfigurationModeList(list []ClusterConfigurationMode, stream *jsoniter.Stream)

WriteClusterConfigurationModeList writes a list of value of the 'cluster_configuration_mode' type to the given stream.

func WriteClusterConsole ¶

func WriteClusterConsole(object *ClusterConsole, stream *jsoniter.Stream)

WriteClusterConsole writes a value of the 'cluster_console' type to the given stream.

func WriteClusterConsoleList ¶

func WriteClusterConsoleList(list []*ClusterConsole, stream *jsoniter.Stream)

WriteClusterConsoleList writes a list of value of the 'cluster_console' type to the given stream.

func WriteClusterHealthStateList ¶

func WriteClusterHealthStateList(list []ClusterHealthState, stream *jsoniter.Stream)

WriteClusterHealthStateList writes a list of value of the 'cluster_health_state' type to the given stream.

func WriteClusterList ¶

func WriteClusterList(list []*Cluster, stream *jsoniter.Stream)

WriteClusterList writes a list of value of the 'cluster' type to the given stream.

func WriteClusterNodes ¶

func WriteClusterNodes(object *ClusterNodes, stream *jsoniter.Stream)

WriteClusterNodes writes a value of the 'cluster_nodes' type to the given stream.

func WriteClusterNodesList ¶

func WriteClusterNodesList(list []*ClusterNodes, stream *jsoniter.Stream)

WriteClusterNodesList writes a list of value of the 'cluster_nodes' type to the given stream.

func WriteClusterRegistryConfig ¶

func WriteClusterRegistryConfig(object *ClusterRegistryConfig, stream *jsoniter.Stream)

WriteClusterRegistryConfig writes a value of the 'cluster_registry_config' type to the given stream.

func WriteClusterRegistryConfigList ¶

func WriteClusterRegistryConfigList(list []*ClusterRegistryConfig, stream *jsoniter.Stream)

WriteClusterRegistryConfigList writes a list of value of the 'cluster_registry_config' type to the given stream.

func WriteClusterStateList ¶

func WriteClusterStateList(list []ClusterState, stream *jsoniter.Stream)

WriteClusterStateList writes a list of value of the 'cluster_state' type to the given stream.

func WriteClusterStatus ¶

func WriteClusterStatus(object *ClusterStatus, stream *jsoniter.Stream)

WriteClusterStatus writes a value of the 'cluster_status' type to the given stream.

func WriteClusterStatusList ¶

func WriteClusterStatusList(list []*ClusterStatus, stream *jsoniter.Stream)

WriteClusterStatusList writes a list of value of the 'cluster_status' type to the given stream.

func WriteDNS ¶

func WriteDNS(object *DNS, stream *jsoniter.Stream)

WriteDNS writes a value of the 'DNS' type to the given stream.

func WriteDNSList ¶

func WriteDNSList(list []*DNS, stream *jsoniter.Stream)

WriteDNSList writes a list of value of the 'DNS' type to the given stream.

func WriteDateList ¶

func WriteDateList(list []time.Time, stream *jsoniter.Stream)

WriteDateList writes a list of value of the 'date' type to the given stream.

func WriteDeleteProtection ¶

func WriteDeleteProtection(object *DeleteProtection, stream *jsoniter.Stream)

WriteDeleteProtection writes a value of the 'delete_protection' type to the given stream.

func WriteDeleteProtectionList ¶

func WriteDeleteProtectionList(list []*DeleteProtection, stream *jsoniter.Stream)

WriteDeleteProtectionList writes a list of value of the 'delete_protection' type to the given stream.

func WriteEc2MetadataHttpTokensList ¶

func WriteEc2MetadataHttpTokensList(list []Ec2MetadataHttpTokens, stream *jsoniter.Stream)

WriteEc2MetadataHttpTokensList writes a list of value of the 'ec_2_metadata_http_tokens' type to the given stream.

func WriteExternalAuthConfig ¶

func WriteExternalAuthConfig(object *ExternalAuthConfig, stream *jsoniter.Stream)

WriteExternalAuthConfig writes a value of the 'external_auth_config' type to the given stream.

func WriteExternalAuthConfigList ¶

func WriteExternalAuthConfigList(list []*ExternalAuthConfig, stream *jsoniter.Stream)

WriteExternalAuthConfigList writes a list of value of the 'external_auth_config' type to the given stream.

func WriteExternalConfiguration ¶

func WriteExternalConfiguration(object *ExternalConfiguration, stream *jsoniter.Stream)

WriteExternalConfiguration writes a value of the 'external_configuration' type to the given stream.

func WriteExternalConfigurationList ¶

func WriteExternalConfigurationList(list []*ExternalConfiguration, stream *jsoniter.Stream)

WriteExternalConfigurationList writes a list of value of the 'external_configuration' type to the given stream.

func WriteFloatList ¶

func WriteFloatList(list []float64, stream *jsoniter.Stream)

WriteFloatList writes a list of value of the 'float' type to the given stream.

func WriteGCP ¶

func WriteGCP(object *GCP, stream *jsoniter.Stream)

WriteGCP writes a value of the 'GCP' type to the given stream.

func WriteGCPEncryptionKey ¶

func WriteGCPEncryptionKey(object *GCPEncryptionKey, stream *jsoniter.Stream)

WriteGCPEncryptionKey writes a value of the 'GCP_encryption_key' type to the given stream.

func WriteGCPEncryptionKeyList ¶

func WriteGCPEncryptionKeyList(list []*GCPEncryptionKey, stream *jsoniter.Stream)

WriteGCPEncryptionKeyList writes a list of value of the 'GCP_encryption_key' type to the given stream.

func WriteGCPList ¶

func WriteGCPList(list []*GCP, stream *jsoniter.Stream)

WriteGCPList writes a list of value of the 'GCP' type to the given stream.

func WriteGCPNetwork ¶

func WriteGCPNetwork(object *GCPNetwork, stream *jsoniter.Stream)

WriteGCPNetwork writes a value of the 'GCP_network' type to the given stream.

func WriteGCPNetworkList ¶

func WriteGCPNetworkList(list []*GCPNetwork, stream *jsoniter.Stream)

WriteGCPNetworkList writes a list of value of the 'GCP_network' type to the given stream.

func WriteGCPVolume ¶

func WriteGCPVolume(object *GCPVolume, stream *jsoniter.Stream)

WriteGCPVolume writes a value of the 'GCP_volume' type to the given stream.

func WriteGCPVolumeList ¶

func WriteGCPVolumeList(list []*GCPVolume, stream *jsoniter.Stream)

WriteGCPVolumeList writes a list of value of the 'GCP_volume' type to the given stream.

func WriteGcpAuthentication ¶

func WriteGcpAuthentication(object *GcpAuthentication, stream *jsoniter.Stream)

WriteGcpAuthentication writes a value of the 'gcp_authentication' type to the given stream.

func WriteGcpAuthenticationList ¶

func WriteGcpAuthenticationList(list []*GcpAuthentication, stream *jsoniter.Stream)

WriteGcpAuthenticationList writes a list of value of the 'gcp_authentication' type to the given stream.

func WriteGcpPrivateServiceConnect ¶

func WriteGcpPrivateServiceConnect(object *GcpPrivateServiceConnect, stream *jsoniter.Stream)

WriteGcpPrivateServiceConnect writes a value of the 'gcp_private_service_connect' type to the given stream.

func WriteGcpPrivateServiceConnectList ¶

func WriteGcpPrivateServiceConnectList(list []*GcpPrivateServiceConnect, stream *jsoniter.Stream)

WriteGcpPrivateServiceConnectList writes a list of value of the 'gcp_private_service_connect' type to the given stream.

func WriteGcpSecurity ¶

func WriteGcpSecurity(object *GcpSecurity, stream *jsoniter.Stream)

WriteGcpSecurity writes a value of the 'gcp_security' type to the given stream.

func WriteGcpSecurityList ¶

func WriteGcpSecurityList(list []*GcpSecurity, stream *jsoniter.Stream)

WriteGcpSecurityList writes a list of value of the 'gcp_security' type to the given stream.

func WriteHTPasswdIdentityProvider ¶

func WriteHTPasswdIdentityProvider(object *HTPasswdIdentityProvider, stream *jsoniter.Stream)

WriteHTPasswdIdentityProvider writes a value of the 'HT_passwd_identity_provider' type to the given stream.

func WriteHTPasswdIdentityProviderList ¶

func WriteHTPasswdIdentityProviderList(list []*HTPasswdIdentityProvider, stream *jsoniter.Stream)

WriteHTPasswdIdentityProviderList writes a list of value of the 'HT_passwd_identity_provider' type to the given stream.

func WriteHypershift ¶

func WriteHypershift(object *Hypershift, stream *jsoniter.Stream)

WriteHypershift writes a value of the 'hypershift' type to the given stream.

func WriteHypershiftList ¶

func WriteHypershiftList(list []*Hypershift, stream *jsoniter.Stream)

WriteHypershiftList writes a list of value of the 'hypershift' type to the given stream.

func WriteInstanceIAMRoles ¶

func WriteInstanceIAMRoles(object *InstanceIAMRoles, stream *jsoniter.Stream)

WriteInstanceIAMRoles writes a value of the 'instance_IAM_roles' type to the given stream.

func WriteInstanceIAMRolesList ¶

func WriteInstanceIAMRolesList(list []*InstanceIAMRoles, stream *jsoniter.Stream)

WriteInstanceIAMRolesList writes a list of value of the 'instance_IAM_roles' type to the given stream.

func WriteIntegerList ¶

func WriteIntegerList(list []int, stream *jsoniter.Stream)

WriteIntegerList writes a list of value of the 'integer' type to the given stream.

func WriteInterfaceList ¶

func WriteInterfaceList(list []interface{}, stream *jsoniter.Stream)

WriteInterfaceList writes a list of value of the 'interface' type to the given stream.

func WriteKubeletConfig ¶

func WriteKubeletConfig(object *KubeletConfig, stream *jsoniter.Stream)

WriteKubeletConfig writes a value of the 'kubelet_config' type to the given stream.

func WriteKubeletConfigList ¶

func WriteKubeletConfigList(list []*KubeletConfig, stream *jsoniter.Stream)

WriteKubeletConfigList writes a list of value of the 'kubelet_config' type to the given stream.

func WriteListeningMethodList ¶

func WriteListeningMethodList(list []ListeningMethod, stream *jsoniter.Stream)

WriteListeningMethodList writes a list of value of the 'listening_method' type to the given stream.

func WriteLongList ¶

func WriteLongList(list []int64, stream *jsoniter.Stream)

WriteLongList writes a list of value of the 'long' type to the given stream.

func WriteMachinePoolAutoscaling ¶

func WriteMachinePoolAutoscaling(object *MachinePoolAutoscaling, stream *jsoniter.Stream)

WriteMachinePoolAutoscaling writes a value of the 'machine_pool_autoscaling' type to the given stream.

func WriteMachinePoolAutoscalingList ¶

func WriteMachinePoolAutoscalingList(list []*MachinePoolAutoscaling, stream *jsoniter.Stream)

WriteMachinePoolAutoscalingList writes a list of value of the 'machine_pool_autoscaling' type to the given stream.

func WriteMachinePoolSecurityGroupFilter ¶

func WriteMachinePoolSecurityGroupFilter(object *MachinePoolSecurityGroupFilter, stream *jsoniter.Stream)

WriteMachinePoolSecurityGroupFilter writes a value of the 'machine_pool_security_group_filter' type to the given stream.

func WriteMachinePoolSecurityGroupFilterList ¶

func WriteMachinePoolSecurityGroupFilterList(list []*MachinePoolSecurityGroupFilter, stream *jsoniter.Stream)

WriteMachinePoolSecurityGroupFilterList writes a list of value of the 'machine_pool_security_group_filter' type to the given stream.

func WriteMachineType ¶

func WriteMachineType(object *MachineType, stream *jsoniter.Stream)

WriteMachineType writes a value of the 'machine_type' type to the given stream.

func WriteMachineTypeCategoryList ¶

func WriteMachineTypeCategoryList(list []MachineTypeCategory, stream *jsoniter.Stream)

WriteMachineTypeCategoryList writes a list of value of the 'machine_type_category' type to the given stream.

func WriteMachineTypeList ¶

func WriteMachineTypeList(list []*MachineType, stream *jsoniter.Stream)

WriteMachineTypeList writes a list of value of the 'machine_type' type to the given stream.

func WriteMachineTypeSizeList ¶

func WriteMachineTypeSizeList(list []MachineTypeSize, stream *jsoniter.Stream)

WriteMachineTypeSizeList writes a list of value of the 'machine_type_size' type to the given stream.

func WriteManagedService ¶

func WriteManagedService(object *ManagedService, stream *jsoniter.Stream)

WriteManagedService writes a value of the 'managed_service' type to the given stream.

func WriteManagedServiceList ¶

func WriteManagedServiceList(list []*ManagedService, stream *jsoniter.Stream)

WriteManagedServiceList writes a list of value of the 'managed_service' type to the given stream.

func WriteNetwork ¶

func WriteNetwork(object *Network, stream *jsoniter.Stream)

WriteNetwork writes a value of the 'network' type to the given stream.

func WriteNetworkList ¶

func WriteNetworkList(list []*Network, stream *jsoniter.Stream)

WriteNetworkList writes a list of value of the 'network' type to the given stream.

func WriteOidcConfig ¶

func WriteOidcConfig(object *OidcConfig, stream *jsoniter.Stream)

WriteOidcConfig writes a value of the 'oidc_config' type to the given stream.

func WriteOidcConfigList ¶

func WriteOidcConfigList(list []*OidcConfig, stream *jsoniter.Stream)

WriteOidcConfigList writes a list of value of the 'oidc_config' type to the given stream.

func WriteOperatorIAMRole ¶

func WriteOperatorIAMRole(object *OperatorIAMRole, stream *jsoniter.Stream)

WriteOperatorIAMRole writes a value of the 'operator_IAM_role' type to the given stream.

func WriteOperatorIAMRoleList ¶

func WriteOperatorIAMRoleList(list []*OperatorIAMRole, stream *jsoniter.Stream)

WriteOperatorIAMRoleList writes a list of value of the 'operator_IAM_role' type to the given stream.

func WritePrivateLinkClusterConfiguration ¶

func WritePrivateLinkClusterConfiguration(object *PrivateLinkClusterConfiguration, stream *jsoniter.Stream)

WritePrivateLinkClusterConfiguration writes a value of the 'private_link_cluster_configuration' type to the given stream.

func WritePrivateLinkClusterConfigurationList ¶

func WritePrivateLinkClusterConfigurationList(list []*PrivateLinkClusterConfiguration, stream *jsoniter.Stream)

WritePrivateLinkClusterConfigurationList writes a list of value of the 'private_link_cluster_configuration' type to the given stream.

func WritePrivateLinkPrincipal ¶

func WritePrivateLinkPrincipal(object *PrivateLinkPrincipal, stream *jsoniter.Stream)

WritePrivateLinkPrincipal writes a value of the 'private_link_principal' type to the given stream.

func WritePrivateLinkPrincipalList ¶

func WritePrivateLinkPrincipalList(list []*PrivateLinkPrincipal, stream *jsoniter.Stream)

WritePrivateLinkPrincipalList writes a list of value of the 'private_link_principal' type to the given stream.

func WriteProcessorTypeList ¶

func WriteProcessorTypeList(list []ProcessorType, stream *jsoniter.Stream)

WriteProcessorTypeList writes a list of value of the 'processor_type' type to the given stream.

func WriteProvisionShard ¶

func WriteProvisionShard(object *ProvisionShard, stream *jsoniter.Stream)

WriteProvisionShard writes a value of the 'provision_shard' type to the given stream.

func WriteProvisionShardList ¶

func WriteProvisionShardList(list []*ProvisionShard, stream *jsoniter.Stream)

WriteProvisionShardList writes a list of value of the 'provision_shard' type to the given stream.

func WriteProvisionShardTopologyList ¶

func WriteProvisionShardTopologyList(list []ProvisionShardTopology, stream *jsoniter.Stream)

WriteProvisionShardTopologyList writes a list of value of the 'provision_shard_topology' type to the given stream.

func WriteProxy ¶

func WriteProxy(object *Proxy, stream *jsoniter.Stream)

WriteProxy writes a value of the 'proxy' type to the given stream.

func WriteProxyList ¶

func WriteProxyList(list []*Proxy, stream *jsoniter.Stream)

WriteProxyList writes a list of value of the 'proxy' type to the given stream.

func WriteRegistryAllowlist ¶

func WriteRegistryAllowlist(object *RegistryAllowlist, stream *jsoniter.Stream)

WriteRegistryAllowlist writes a value of the 'registry_allowlist' type to the given stream.

func WriteRegistryAllowlistList ¶

func WriteRegistryAllowlistList(list []*RegistryAllowlist, stream *jsoniter.Stream)

WriteRegistryAllowlistList writes a list of value of the 'registry_allowlist' type to the given stream.

func WriteRegistryLocation ¶

func WriteRegistryLocation(object *RegistryLocation, stream *jsoniter.Stream)

WriteRegistryLocation writes a value of the 'registry_location' type to the given stream.

func WriteRegistryLocationList ¶

func WriteRegistryLocationList(list []*RegistryLocation, stream *jsoniter.Stream)

WriteRegistryLocationList writes a list of value of the 'registry_location' type to the given stream.

func WriteRegistrySources ¶

func WriteRegistrySources(object *RegistrySources, stream *jsoniter.Stream)

WriteRegistrySources writes a value of the 'registry_sources' type to the given stream.

func WriteRegistrySourcesList ¶

func WriteRegistrySourcesList(list []*RegistrySources, stream *jsoniter.Stream)

WriteRegistrySourcesList writes a list of value of the 'registry_sources' type to the given stream.

func WriteRootVolume ¶

func WriteRootVolume(object *RootVolume, stream *jsoniter.Stream)

WriteRootVolume writes a value of the 'root_volume' type to the given stream.

func WriteRootVolumeList ¶

func WriteRootVolumeList(list []*RootVolume, stream *jsoniter.Stream)

WriteRootVolumeList writes a list of value of the 'root_volume' type to the given stream.

func WriteSTS ¶

func WriteSTS(object *STS, stream *jsoniter.Stream)

WriteSTS writes a value of the 'STS' type to the given stream.

func WriteSTSList ¶

func WriteSTSList(list []*STS, stream *jsoniter.Stream)

WriteSTSList writes a list of value of the 'STS' type to the given stream.

func WriteServerConfig ¶

func WriteServerConfig(object *ServerConfig, stream *jsoniter.Stream)

WriteServerConfig writes a value of the 'server_config' type to the given stream.

func WriteServerConfigList ¶

func WriteServerConfigList(list []*ServerConfig, stream *jsoniter.Stream)

WriteServerConfigList writes a list of value of the 'server_config' type to the given stream.

func WriteStringList ¶

func WriteStringList(list []string, stream *jsoniter.Stream)

WriteStringList writes a list of value of the 'string' type to the given stream.

func WriteValue ¶

func WriteValue(object *Value, stream *jsoniter.Stream)

WriteValue writes a value of the 'value' type to the given stream.

func WriteValueList ¶

func WriteValueList(list []*Value, stream *jsoniter.Stream)

WriteValueList writes a list of value of the 'value' type to the given stream.

Types ¶

type AWS ¶

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

AWS represents the values of the 'AWS' type.

_Amazon Web Services_ specific settings of a cluster.

func ReadAWS ¶

func ReadAWS(iterator *jsoniter.Iterator) *AWS

ReadAWS reads a value of the 'AWS' type from the given iterator.

func ReadAWSList ¶

func ReadAWSList(iterator *jsoniter.Iterator) []*AWS

ReadAWSList reads list of values of the ”AWS' type from the given iterator.

func UnmarshalAWS ¶

func UnmarshalAWS(source interface{}) (object *AWS, err error)

UnmarshalAWS reads a value of the 'AWS' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAWSList ¶

func UnmarshalAWSList(source interface{}) (items []*AWS, err error)

UnmarshalAWSList reads a list of values of the 'AWS' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AWS) AccessKeyID ¶

func (o *AWS) AccessKeyID() string

AccessKeyID returns the value of the 'access_key_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

AWS access key identifier.

func (*AWS) AccountID ¶

func (o *AWS) AccountID() string

AccountID returns the value of the 'account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

AWS account identifier.

func (*AWS) AdditionalAllowedPrincipals ¶

func (o *AWS) AdditionalAllowedPrincipals() []string

AdditionalAllowedPrincipals returns the value of the 'additional_allowed_principals' attribute, or the zero value of the type if the attribute doesn't have a value.

Additional allowed principal ARNs to be added to the hosted control plane's VPC Endpoint Service.

func (*AWS) AdditionalComputeSecurityGroupIds ¶

func (o *AWS) AdditionalComputeSecurityGroupIds() []string

AdditionalComputeSecurityGroupIds returns the value of the 'additional_compute_security_group_ids' attribute, or the zero value of the type if the attribute doesn't have a value.

Additional AWS Security Groups to be added to default worker (compute) machine pool.

func (*AWS) AdditionalControlPlaneSecurityGroupIds ¶

func (o *AWS) AdditionalControlPlaneSecurityGroupIds() []string

AdditionalControlPlaneSecurityGroupIds returns the value of the 'additional_control_plane_security_group_ids' attribute, or the zero value of the type if the attribute doesn't have a value.

Additional AWS Security Groups to be added to default control plane machine pool.

func (*AWS) AdditionalInfraSecurityGroupIds ¶

func (o *AWS) AdditionalInfraSecurityGroupIds() []string

AdditionalInfraSecurityGroupIds returns the value of the 'additional_infra_security_group_ids' attribute, or the zero value of the type if the attribute doesn't have a value.

Additional AWS Security Groups to be added to default infra machine pool.

func (*AWS) AuditLog ¶

func (o *AWS) AuditLog() *AuditLog

AuditLog returns the value of the 'audit_log' attribute, or the zero value of the type if the attribute doesn't have a value.

Audit log forwarding configuration

func (*AWS) BillingAccountID ¶

func (o *AWS) BillingAccountID() string

BillingAccountID returns the value of the 'billing_account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

BillingAccountID is the account used for billing subscriptions purchased via the marketplace

func (*AWS) Ec2MetadataHttpTokens ¶

func (o *AWS) Ec2MetadataHttpTokens() Ec2MetadataHttpTokens

Ec2MetadataHttpTokens returns the value of the 'ec_2_metadata_http_tokens' attribute, or the zero value of the type if the attribute doesn't have a value.

Which Ec2MetadataHttpTokens to use for metadata service interaction options for EC2 instances

func (*AWS) Empty ¶

func (o *AWS) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AWS) EtcdEncryption ¶

func (o *AWS) EtcdEncryption() *AwsEtcdEncryption

EtcdEncryption returns the value of the 'etcd_encryption' attribute, or the zero value of the type if the attribute doesn't have a value.

Related etcd encryption configuration

func (*AWS) GetAccessKeyID ¶

func (o *AWS) GetAccessKeyID() (value string, ok bool)

GetAccessKeyID returns the value of the 'access_key_ID' attribute and a flag indicating if the attribute has a value.

AWS access key identifier.

func (*AWS) GetAccountID ¶

func (o *AWS) GetAccountID() (value string, ok bool)

GetAccountID returns the value of the 'account_ID' attribute and a flag indicating if the attribute has a value.

AWS account identifier.

func (*AWS) GetAdditionalAllowedPrincipals ¶

func (o *AWS) GetAdditionalAllowedPrincipals() (value []string, ok bool)

GetAdditionalAllowedPrincipals returns the value of the 'additional_allowed_principals' attribute and a flag indicating if the attribute has a value.

Additional allowed principal ARNs to be added to the hosted control plane's VPC Endpoint Service.

func (*AWS) GetAdditionalComputeSecurityGroupIds ¶

func (o *AWS) GetAdditionalComputeSecurityGroupIds() (value []string, ok bool)

GetAdditionalComputeSecurityGroupIds returns the value of the 'additional_compute_security_group_ids' attribute and a flag indicating if the attribute has a value.

Additional AWS Security Groups to be added to default worker (compute) machine pool.

func (*AWS) GetAdditionalControlPlaneSecurityGroupIds ¶

func (o *AWS) GetAdditionalControlPlaneSecurityGroupIds() (value []string, ok bool)

GetAdditionalControlPlaneSecurityGroupIds returns the value of the 'additional_control_plane_security_group_ids' attribute and a flag indicating if the attribute has a value.

Additional AWS Security Groups to be added to default control plane machine pool.

func (*AWS) GetAdditionalInfraSecurityGroupIds ¶

func (o *AWS) GetAdditionalInfraSecurityGroupIds() (value []string, ok bool)

GetAdditionalInfraSecurityGroupIds returns the value of the 'additional_infra_security_group_ids' attribute and a flag indicating if the attribute has a value.

Additional AWS Security Groups to be added to default infra machine pool.

func (*AWS) GetAuditLog ¶

func (o *AWS) GetAuditLog() (value *AuditLog, ok bool)

GetAuditLog returns the value of the 'audit_log' attribute and a flag indicating if the attribute has a value.

Audit log forwarding configuration

func (*AWS) GetBillingAccountID ¶

func (o *AWS) GetBillingAccountID() (value string, ok bool)

GetBillingAccountID returns the value of the 'billing_account_ID' attribute and a flag indicating if the attribute has a value.

BillingAccountID is the account used for billing subscriptions purchased via the marketplace

func (*AWS) GetEc2MetadataHttpTokens ¶

func (o *AWS) GetEc2MetadataHttpTokens() (value Ec2MetadataHttpTokens, ok bool)

GetEc2MetadataHttpTokens returns the value of the 'ec_2_metadata_http_tokens' attribute and a flag indicating if the attribute has a value.

Which Ec2MetadataHttpTokens to use for metadata service interaction options for EC2 instances

func (*AWS) GetEtcdEncryption ¶

func (o *AWS) GetEtcdEncryption() (value *AwsEtcdEncryption, ok bool)

GetEtcdEncryption returns the value of the 'etcd_encryption' attribute and a flag indicating if the attribute has a value.

Related etcd encryption configuration

func (*AWS) GetHcpInternalCommunicationHostedZoneId ¶

func (o *AWS) GetHcpInternalCommunicationHostedZoneId() (value string, ok bool)

GetHcpInternalCommunicationHostedZoneId returns the value of the 'hcp_internal_communication_hosted_zone_id' attribute and a flag indicating if the attribute has a value.

ID of local private hosted zone for hypershift internal communication.

func (*AWS) GetKMSKeyArn ¶

func (o *AWS) GetKMSKeyArn() (value string, ok bool)

GetKMSKeyArn returns the value of the 'KMS_key_arn' attribute and a flag indicating if the attribute has a value.

Customer Managed Key to encrypt EBS Volume

func (*AWS) GetPrivateHostedZoneID ¶

func (o *AWS) GetPrivateHostedZoneID() (value string, ok bool)

GetPrivateHostedZoneID returns the value of the 'private_hosted_zone_ID' attribute and a flag indicating if the attribute has a value.

ID of private hosted zone.

func (*AWS) GetPrivateHostedZoneRoleARN ¶

func (o *AWS) GetPrivateHostedZoneRoleARN() (value string, ok bool)

GetPrivateHostedZoneRoleARN returns the value of the 'private_hosted_zone_role_ARN' attribute and a flag indicating if the attribute has a value.

Role ARN for private hosted zone.

func (o *AWS) GetPrivateLink() (value bool, ok bool)

GetPrivateLink returns the value of the 'private_link' attribute and a flag indicating if the attribute has a value.

Sets cluster to be inaccessible externally.

func (*AWS) GetPrivateLinkConfiguration ¶

func (o *AWS) GetPrivateLinkConfiguration() (value *PrivateLinkClusterConfiguration, ok bool)

GetPrivateLinkConfiguration returns the value of the 'private_link_configuration' attribute and a flag indicating if the attribute has a value.

Manages additional configuration for Private Links.

func (*AWS) GetSTS ¶

func (o *AWS) GetSTS() (value *STS, ok bool)

GetSTS returns the value of the 'STS' attribute and a flag indicating if the attribute has a value.

Contains the necessary attributes to support role-based authentication on AWS.

func (*AWS) GetSecretAccessKey ¶

func (o *AWS) GetSecretAccessKey() (value string, ok bool)

GetSecretAccessKey returns the value of the 'secret_access_key' attribute and a flag indicating if the attribute has a value.

AWS secret access key.

func (*AWS) GetSubnetIDs ¶

func (o *AWS) GetSubnetIDs() (value []string, ok bool)

GetSubnetIDs returns the value of the 'subnet_IDs' attribute and a flag indicating if the attribute has a value.

The subnet ids to be used when installing the cluster.

func (*AWS) GetTags ¶

func (o *AWS) GetTags() (value map[string]string, ok bool)

GetTags returns the value of the 'tags' attribute and a flag indicating if the attribute has a value.

Optional keys and values that the installer will add as tags to all AWS resources it creates

func (*AWS) GetVpcEndpointRoleArn ¶

func (o *AWS) GetVpcEndpointRoleArn() (value string, ok bool)

GetVpcEndpointRoleArn returns the value of the 'vpc_endpoint_role_arn' attribute and a flag indicating if the attribute has a value.

Role ARN for VPC Endpoint Service cross account role.

func (*AWS) HcpInternalCommunicationHostedZoneId ¶

func (o *AWS) HcpInternalCommunicationHostedZoneId() string

HcpInternalCommunicationHostedZoneId returns the value of the 'hcp_internal_communication_hosted_zone_id' attribute, or the zero value of the type if the attribute doesn't have a value.

ID of local private hosted zone for hypershift internal communication.

func (*AWS) KMSKeyArn ¶

func (o *AWS) KMSKeyArn() string

KMSKeyArn returns the value of the 'KMS_key_arn' attribute, or the zero value of the type if the attribute doesn't have a value.

Customer Managed Key to encrypt EBS Volume

func (*AWS) PrivateHostedZoneID ¶

func (o *AWS) PrivateHostedZoneID() string

PrivateHostedZoneID returns the value of the 'private_hosted_zone_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

ID of private hosted zone.

func (*AWS) PrivateHostedZoneRoleARN ¶

func (o *AWS) PrivateHostedZoneRoleARN() string

PrivateHostedZoneRoleARN returns the value of the 'private_hosted_zone_role_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.

Role ARN for private hosted zone.

func (o *AWS) PrivateLink() bool

PrivateLink returns the value of the 'private_link' attribute, or the zero value of the type if the attribute doesn't have a value.

Sets cluster to be inaccessible externally.

func (*AWS) PrivateLinkConfiguration ¶

func (o *AWS) PrivateLinkConfiguration() *PrivateLinkClusterConfiguration

PrivateLinkConfiguration returns the value of the 'private_link_configuration' attribute, or the zero value of the type if the attribute doesn't have a value.

Manages additional configuration for Private Links.

func (*AWS) STS ¶

func (o *AWS) STS() *STS

STS returns the value of the 'STS' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains the necessary attributes to support role-based authentication on AWS.

func (*AWS) SecretAccessKey ¶

func (o *AWS) SecretAccessKey() string

SecretAccessKey returns the value of the 'secret_access_key' attribute, or the zero value of the type if the attribute doesn't have a value.

AWS secret access key.

func (*AWS) SubnetIDs ¶

func (o *AWS) SubnetIDs() []string

SubnetIDs returns the value of the 'subnet_IDs' attribute, or the zero value of the type if the attribute doesn't have a value.

The subnet ids to be used when installing the cluster.

func (*AWS) Tags ¶

func (o *AWS) Tags() map[string]string

Tags returns the value of the 'tags' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional keys and values that the installer will add as tags to all AWS resources it creates

func (*AWS) VpcEndpointRoleArn ¶

func (o *AWS) VpcEndpointRoleArn() string

VpcEndpointRoleArn returns the value of the 'vpc_endpoint_role_arn' attribute, or the zero value of the type if the attribute doesn't have a value.

Role ARN for VPC Endpoint Service cross account role.

type AWSBuilder ¶

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

AWSBuilder contains the data and logic needed to build 'AWS' objects.

_Amazon Web Services_ specific settings of a cluster.

func NewAWS ¶

func NewAWS() *AWSBuilder

NewAWS creates a new builder of 'AWS' objects.

func (*AWSBuilder) AccessKeyID ¶

func (b *AWSBuilder) AccessKeyID(value string) *AWSBuilder

AccessKeyID sets the value of the 'access_key_ID' attribute to the given value.

func (*AWSBuilder) AccountID ¶

func (b *AWSBuilder) AccountID(value string) *AWSBuilder

AccountID sets the value of the 'account_ID' attribute to the given value.

func (*AWSBuilder) AdditionalAllowedPrincipals ¶

func (b *AWSBuilder) AdditionalAllowedPrincipals(values ...string) *AWSBuilder

AdditionalAllowedPrincipals sets the value of the 'additional_allowed_principals' attribute to the given values.

func (*AWSBuilder) AdditionalComputeSecurityGroupIds ¶

func (b *AWSBuilder) AdditionalComputeSecurityGroupIds(values ...string) *AWSBuilder

AdditionalComputeSecurityGroupIds sets the value of the 'additional_compute_security_group_ids' attribute to the given values.

func (*AWSBuilder) AdditionalControlPlaneSecurityGroupIds ¶

func (b *AWSBuilder) AdditionalControlPlaneSecurityGroupIds(values ...string) *AWSBuilder

AdditionalControlPlaneSecurityGroupIds sets the value of the 'additional_control_plane_security_group_ids' attribute to the given values.

func (*AWSBuilder) AdditionalInfraSecurityGroupIds ¶

func (b *AWSBuilder) AdditionalInfraSecurityGroupIds(values ...string) *AWSBuilder

AdditionalInfraSecurityGroupIds sets the value of the 'additional_infra_security_group_ids' attribute to the given values.

func (*AWSBuilder) AuditLog ¶

func (b *AWSBuilder) AuditLog(value *AuditLogBuilder) *AWSBuilder

AuditLog sets the value of the 'audit_log' attribute to the given value.

Contains the necessary attributes to support audit log forwarding

func (*AWSBuilder) BillingAccountID ¶

func (b *AWSBuilder) BillingAccountID(value string) *AWSBuilder

BillingAccountID sets the value of the 'billing_account_ID' attribute to the given value.

func (*AWSBuilder) Build ¶

func (b *AWSBuilder) Build() (object *AWS, err error)

Build creates a 'AWS' object using the configuration stored in the builder.

func (*AWSBuilder) Copy ¶

func (b *AWSBuilder) Copy(object *AWS) *AWSBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AWSBuilder) Ec2MetadataHttpTokens ¶

func (b *AWSBuilder) Ec2MetadataHttpTokens(value Ec2MetadataHttpTokens) *AWSBuilder

Ec2MetadataHttpTokens sets the value of the 'ec_2_metadata_http_tokens' attribute to the given value.

Which Ec2MetadataHttpTokens to use for metadata service interaction options for EC2 instances

func (*AWSBuilder) Empty ¶

func (b *AWSBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AWSBuilder) EtcdEncryption ¶

func (b *AWSBuilder) EtcdEncryption(value *AwsEtcdEncryptionBuilder) *AWSBuilder

EtcdEncryption sets the value of the 'etcd_encryption' attribute to the given value.

Contains the necessary attributes to support etcd encryption for AWS based clusters.

func (*AWSBuilder) HcpInternalCommunicationHostedZoneId ¶

func (b *AWSBuilder) HcpInternalCommunicationHostedZoneId(value string) *AWSBuilder

HcpInternalCommunicationHostedZoneId sets the value of the 'hcp_internal_communication_hosted_zone_id' attribute to the given value.

func (*AWSBuilder) KMSKeyArn ¶

func (b *AWSBuilder) KMSKeyArn(value string) *AWSBuilder

KMSKeyArn sets the value of the 'KMS_key_arn' attribute to the given value.

func (*AWSBuilder) PrivateHostedZoneID ¶

func (b *AWSBuilder) PrivateHostedZoneID(value string) *AWSBuilder

PrivateHostedZoneID sets the value of the 'private_hosted_zone_ID' attribute to the given value.

func (*AWSBuilder) PrivateHostedZoneRoleARN ¶

func (b *AWSBuilder) PrivateHostedZoneRoleARN(value string) *AWSBuilder

PrivateHostedZoneRoleARN sets the value of the 'private_hosted_zone_role_ARN' attribute to the given value.

func (b *AWSBuilder) PrivateLink(value bool) *AWSBuilder

PrivateLink sets the value of the 'private_link' attribute to the given value.

func (*AWSBuilder) PrivateLinkConfiguration ¶

func (b *AWSBuilder) PrivateLinkConfiguration(value *PrivateLinkClusterConfigurationBuilder) *AWSBuilder

PrivateLinkConfiguration sets the value of the 'private_link_configuration' attribute to the given value.

Manages the configuration for the Private Links.

func (*AWSBuilder) STS ¶

func (b *AWSBuilder) STS(value *STSBuilder) *AWSBuilder

STS sets the value of the 'STS' attribute to the given value.

Contains the necessary attributes to support role-based authentication on AWS.

func (*AWSBuilder) SecretAccessKey ¶

func (b *AWSBuilder) SecretAccessKey(value string) *AWSBuilder

SecretAccessKey sets the value of the 'secret_access_key' attribute to the given value.

func (*AWSBuilder) SubnetIDs ¶

func (b *AWSBuilder) SubnetIDs(values ...string) *AWSBuilder

SubnetIDs sets the value of the 'subnet_IDs' attribute to the given values.

func (*AWSBuilder) Tags ¶

func (b *AWSBuilder) Tags(value map[string]string) *AWSBuilder

Tags sets the value of the 'tags' attribute to the given value.

func (*AWSBuilder) VpcEndpointRoleArn ¶

func (b *AWSBuilder) VpcEndpointRoleArn(value string) *AWSBuilder

VpcEndpointRoleArn sets the value of the 'vpc_endpoint_role_arn' attribute to the given value.

type AWSList ¶

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

AWSList is a list of values of the 'AWS' type.

func (*AWSList) Each ¶

func (l *AWSList) Each(f func(item *AWS) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AWSList) Empty ¶

func (l *AWSList) Empty() bool

Empty returns true if the list is empty.

func (*AWSList) Get ¶

func (l *AWSList) Get(i int) *AWS

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AWSList) Items ¶

func (l *AWSList) Items() []*AWS

Items returns the items of the list.

func (*AWSList) Len ¶

func (l *AWSList) Len() int

Len returns the length of the list.

func (*AWSList) Range ¶

func (l *AWSList) Range(f func(index int, item *AWS) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AWSList) SetHREF ¶

func (l *AWSList) SetHREF(href string)

Items sets the items of the list.

func (*AWSList) SetItems ¶

func (l *AWSList) SetItems(items []*AWS)

Items sets the items of the list.

func (l *AWSList) SetLink(link bool)

Items sets the items of the list.

func (*AWSList) Slice ¶

func (l *AWSList) Slice() []*AWS

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AWSListBuilder ¶

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

AWSListBuilder contains the data and logic needed to build 'AWS' objects.

func NewAWSList ¶

func NewAWSList() *AWSListBuilder

NewAWSList creates a new builder of 'AWS' objects.

func (*AWSListBuilder) Build ¶

func (b *AWSListBuilder) Build() (list *AWSList, err error)

Build creates a list of 'AWS' objects using the configuration stored in the builder.

func (*AWSListBuilder) Copy ¶

func (b *AWSListBuilder) Copy(list *AWSList) *AWSListBuilder

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AWSListBuilder) Empty ¶

func (b *AWSListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AWSListBuilder) Items ¶

func (b *AWSListBuilder) Items(values ...*AWSBuilder) *AWSListBuilder

Items sets the items of the list.

type AWSShard ¶

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

AWSShard represents the values of the 'AWS_shard' type.

Config for AWS provision shards

func ReadAWSShard ¶

func ReadAWSShard(iterator *jsoniter.Iterator) *AWSShard

ReadAWSShard reads a value of the 'AWS_shard' type from the given iterator.

func ReadAWSShardList ¶

func ReadAWSShardList(iterator *jsoniter.Iterator) []*AWSShard

ReadAWSShardList reads list of values of the ”AWS_shard' type from the given iterator.

func UnmarshalAWSShard ¶

func UnmarshalAWSShard(source interface{}) (object *AWSShard, err error)

UnmarshalAWSShard reads a value of the 'AWS_shard' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAWSShardList ¶

func UnmarshalAWSShardList(source interface{}) (items []*AWSShard, err error)

UnmarshalAWSShardList reads a list of values of the 'AWS_shard' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AWSShard) ECRRepositoryURLs ¶

func (o *AWSShard) ECRRepositoryURLs() []string

ECRRepositoryURLs returns the value of the 'ECR_repository_URLs' attribute, or the zero value of the type if the attribute doesn't have a value.

ECR repository URLs of the provision shard

func (*AWSShard) Empty ¶

func (o *AWSShard) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AWSShard) GetECRRepositoryURLs ¶

func (o *AWSShard) GetECRRepositoryURLs() (value []string, ok bool)

GetECRRepositoryURLs returns the value of the 'ECR_repository_URLs' attribute and a flag indicating if the attribute has a value.

ECR repository URLs of the provision shard

type AWSShardBuilder ¶

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

AWSShardBuilder contains the data and logic needed to build 'AWS_shard' objects.

Config for AWS provision shards

func NewAWSShard ¶

func NewAWSShard() *AWSShardBuilder

NewAWSShard creates a new builder of 'AWS_shard' objects.

func (*AWSShardBuilder) Build ¶

func (b *AWSShardBuilder) Build() (object *AWSShard, err error)

Build creates a 'AWS_shard' object using the configuration stored in the builder.

func (*AWSShardBuilder) Copy ¶

func (b *AWSShardBuilder) Copy(object *AWSShard) *AWSShardBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AWSShardBuilder) ECRRepositoryURLs ¶

func (b *AWSShardBuilder) ECRRepositoryURLs(values ...string) *AWSShardBuilder

ECRRepositoryURLs sets the value of the 'ECR_repository_URLs' attribute to the given values.

func (*AWSShardBuilder) Empty ¶

func (b *AWSShardBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

type AWSShardList ¶

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

AWSShardList is a list of values of the 'AWS_shard' type.

func (*AWSShardList) Each ¶

func (l *AWSShardList) Each(f func(item *AWSShard) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AWSShardList) Empty ¶

func (l *AWSShardList) Empty() bool

Empty returns true if the list is empty.

func (*AWSShardList) Get ¶

func (l *AWSShardList) Get(i int) *AWSShard

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AWSShardList) Items ¶

func (l *AWSShardList) Items() []*AWSShard

Items returns the items of the list.

func (*AWSShardList) Len ¶

func (l *AWSShardList) Len() int

Len returns the length of the list.

func (*AWSShardList) Range ¶

func (l *AWSShardList) Range(f func(index int, item *AWSShard) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AWSShardList) SetHREF ¶

func (l *AWSShardList) SetHREF(href string)

Items sets the items of the list.

func (*AWSShardList) SetItems ¶

func (l *AWSShardList) SetItems(items []*AWSShard)

Items sets the items of the list.

func (l *AWSShardList) SetLink(link bool)

Items sets the items of the list.

func (*AWSShardList) Slice ¶

func (l *AWSShardList) Slice() []*AWSShard

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AWSShardListBuilder ¶

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

AWSShardListBuilder contains the data and logic needed to build 'AWS_shard' objects.

func NewAWSShardList ¶

func NewAWSShardList() *AWSShardListBuilder

NewAWSShardList creates a new builder of 'AWS_shard' objects.

func (*AWSShardListBuilder) Build ¶

func (b *AWSShardListBuilder) Build() (list *AWSShardList, err error)

Build creates a list of 'AWS_shard' objects using the configuration stored in the builder.

func (*AWSShardListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AWSShardListBuilder) Empty ¶

func (b *AWSShardListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AWSShardListBuilder) Items ¶

Items sets the items of the list.

type AWSVolume ¶

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

AWSVolume represents the values of the 'AWS_volume' type.

Holds settings for an AWS storage volume.

func ReadAWSVolume ¶

func ReadAWSVolume(iterator *jsoniter.Iterator) *AWSVolume

ReadAWSVolume reads a value of the 'AWS_volume' type from the given iterator.

func ReadAWSVolumeList ¶

func ReadAWSVolumeList(iterator *jsoniter.Iterator) []*AWSVolume

ReadAWSVolumeList reads list of values of the ”AWS_volume' type from the given iterator.

func UnmarshalAWSVolume ¶

func UnmarshalAWSVolume(source interface{}) (object *AWSVolume, err error)

UnmarshalAWSVolume reads a value of the 'AWS_volume' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAWSVolumeList ¶

func UnmarshalAWSVolumeList(source interface{}) (items []*AWSVolume, err error)

UnmarshalAWSVolumeList reads a list of values of the 'AWS_volume' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AWSVolume) Empty ¶

func (o *AWSVolume) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AWSVolume) GetIOPS ¶

func (o *AWSVolume) GetIOPS() (value int, ok bool)

GetIOPS returns the value of the 'IOPS' attribute and a flag indicating if the attribute has a value.

Volume provisioned IOPS.

func (*AWSVolume) GetSize ¶

func (o *AWSVolume) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' attribute and a flag indicating if the attribute has a value.

Volume size in Gib.

func (*AWSVolume) IOPS ¶

func (o *AWSVolume) IOPS() int

IOPS returns the value of the 'IOPS' attribute, or the zero value of the type if the attribute doesn't have a value.

Volume provisioned IOPS.

func (*AWSVolume) Size ¶

func (o *AWSVolume) Size() int

Size returns the value of the 'size' attribute, or the zero value of the type if the attribute doesn't have a value.

Volume size in Gib.

type AWSVolumeBuilder ¶

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

AWSVolumeBuilder contains the data and logic needed to build 'AWS_volume' objects.

Holds settings for an AWS storage volume.

func NewAWSVolume ¶

func NewAWSVolume() *AWSVolumeBuilder

NewAWSVolume creates a new builder of 'AWS_volume' objects.

func (*AWSVolumeBuilder) Build ¶

func (b *AWSVolumeBuilder) Build() (object *AWSVolume, err error)

Build creates a 'AWS_volume' object using the configuration stored in the builder.

func (*AWSVolumeBuilder) Copy ¶

func (b *AWSVolumeBuilder) Copy(object *AWSVolume) *AWSVolumeBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AWSVolumeBuilder) Empty ¶

func (b *AWSVolumeBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AWSVolumeBuilder) IOPS ¶

func (b *AWSVolumeBuilder) IOPS(value int) *AWSVolumeBuilder

IOPS sets the value of the 'IOPS' attribute to the given value.

func (*AWSVolumeBuilder) Size ¶

func (b *AWSVolumeBuilder) Size(value int) *AWSVolumeBuilder

Size sets the value of the 'size' attribute to the given value.

type AWSVolumeList ¶

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

AWSVolumeList is a list of values of the 'AWS_volume' type.

func (*AWSVolumeList) Each ¶

func (l *AWSVolumeList) Each(f func(item *AWSVolume) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AWSVolumeList) Empty ¶

func (l *AWSVolumeList) Empty() bool

Empty returns true if the list is empty.

func (*AWSVolumeList) Get ¶

func (l *AWSVolumeList) Get(i int) *AWSVolume

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AWSVolumeList) Items ¶

func (l *AWSVolumeList) Items() []*AWSVolume

Items returns the items of the list.

func (*AWSVolumeList) Len ¶

func (l *AWSVolumeList) Len() int

Len returns the length of the list.

func (*AWSVolumeList) Range ¶

func (l *AWSVolumeList) Range(f func(index int, item *AWSVolume) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AWSVolumeList) SetHREF ¶

func (l *AWSVolumeList) SetHREF(href string)

Items sets the items of the list.

func (*AWSVolumeList) SetItems ¶

func (l *AWSVolumeList) SetItems(items []*AWSVolume)

Items sets the items of the list.

func (l *AWSVolumeList) SetLink(link bool)

Items sets the items of the list.

func (*AWSVolumeList) Slice ¶

func (l *AWSVolumeList) Slice() []*AWSVolume

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AWSVolumeListBuilder ¶

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

AWSVolumeListBuilder contains the data and logic needed to build 'AWS_volume' objects.

func NewAWSVolumeList ¶

func NewAWSVolumeList() *AWSVolumeListBuilder

NewAWSVolumeList creates a new builder of 'AWS_volume' objects.

func (*AWSVolumeListBuilder) Build ¶

func (b *AWSVolumeListBuilder) Build() (list *AWSVolumeList, err error)

Build creates a list of 'AWS_volume' objects using the configuration stored in the builder.

func (*AWSVolumeListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AWSVolumeListBuilder) Empty ¶

func (b *AWSVolumeListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AWSVolumeListBuilder) Items ¶

Items sets the items of the list.

type AuditLog ¶

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

AuditLog represents the values of the 'audit_log' type.

Contains the necessary attributes to support audit log forwarding

func ReadAuditLog ¶

func ReadAuditLog(iterator *jsoniter.Iterator) *AuditLog

ReadAuditLog reads a value of the 'audit_log' type from the given iterator.

func ReadAuditLogList ¶

func ReadAuditLogList(iterator *jsoniter.Iterator) []*AuditLog

ReadAuditLogList reads list of values of the ”audit_log' type from the given iterator.

func UnmarshalAuditLog ¶

func UnmarshalAuditLog(source interface{}) (object *AuditLog, err error)

UnmarshalAuditLog reads a value of the 'audit_log' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAuditLogList ¶

func UnmarshalAuditLogList(source interface{}) (items []*AuditLog, err error)

UnmarshalAuditLogList reads a list of values of the 'audit_log' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AuditLog) Empty ¶

func (o *AuditLog) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AuditLog) GetRoleArn ¶

func (o *AuditLog) GetRoleArn() (value string, ok bool)

GetRoleArn returns the value of the 'role_arn' attribute and a flag indicating if the attribute has a value.

ARN of the CloudWatch audit log forwarding role

func (*AuditLog) RoleArn ¶

func (o *AuditLog) RoleArn() string

RoleArn returns the value of the 'role_arn' attribute, or the zero value of the type if the attribute doesn't have a value.

ARN of the CloudWatch audit log forwarding role

type AuditLogBuilder ¶

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

AuditLogBuilder contains the data and logic needed to build 'audit_log' objects.

Contains the necessary attributes to support audit log forwarding

func NewAuditLog ¶

func NewAuditLog() *AuditLogBuilder

NewAuditLog creates a new builder of 'audit_log' objects.

func (*AuditLogBuilder) Build ¶

func (b *AuditLogBuilder) Build() (object *AuditLog, err error)

Build creates a 'audit_log' object using the configuration stored in the builder.

func (*AuditLogBuilder) Copy ¶

func (b *AuditLogBuilder) Copy(object *AuditLog) *AuditLogBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AuditLogBuilder) Empty ¶

func (b *AuditLogBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AuditLogBuilder) RoleArn ¶

func (b *AuditLogBuilder) RoleArn(value string) *AuditLogBuilder

RoleArn sets the value of the 'role_arn' attribute to the given value.

type AuditLogList ¶

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

AuditLogList is a list of values of the 'audit_log' type.

func (*AuditLogList) Each ¶

func (l *AuditLogList) Each(f func(item *AuditLog) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AuditLogList) Empty ¶

func (l *AuditLogList) Empty() bool

Empty returns true if the list is empty.

func (*AuditLogList) Get ¶

func (l *AuditLogList) Get(i int) *AuditLog

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AuditLogList) Items ¶

func (l *AuditLogList) Items() []*AuditLog

Items returns the items of the list.

func (*AuditLogList) Len ¶

func (l *AuditLogList) Len() int

Len returns the length of the list.

func (*AuditLogList) Range ¶

func (l *AuditLogList) Range(f func(index int, item *AuditLog) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AuditLogList) SetHREF ¶

func (l *AuditLogList) SetHREF(href string)

Items sets the items of the list.

func (*AuditLogList) SetItems ¶

func (l *AuditLogList) SetItems(items []*AuditLog)

Items sets the items of the list.

func (l *AuditLogList) SetLink(link bool)

Items sets the items of the list.

func (*AuditLogList) Slice ¶

func (l *AuditLogList) Slice() []*AuditLog

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AuditLogListBuilder ¶

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

AuditLogListBuilder contains the data and logic needed to build 'audit_log' objects.

func NewAuditLogList ¶

func NewAuditLogList() *AuditLogListBuilder

NewAuditLogList creates a new builder of 'audit_log' objects.

func (*AuditLogListBuilder) Build ¶

func (b *AuditLogListBuilder) Build() (list *AuditLogList, err error)

Build creates a list of 'audit_log' objects using the configuration stored in the builder.

func (*AuditLogListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AuditLogListBuilder) Empty ¶

func (b *AuditLogListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AuditLogListBuilder) Items ¶

Items sets the items of the list.

type AwsEtcdEncryption ¶

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

AwsEtcdEncryption represents the values of the 'aws_etcd_encryption' type.

Contains the necessary attributes to support etcd encryption for AWS based clusters.

func ReadAwsEtcdEncryption ¶

func ReadAwsEtcdEncryption(iterator *jsoniter.Iterator) *AwsEtcdEncryption

ReadAwsEtcdEncryption reads a value of the 'aws_etcd_encryption' type from the given iterator.

func ReadAwsEtcdEncryptionList ¶

func ReadAwsEtcdEncryptionList(iterator *jsoniter.Iterator) []*AwsEtcdEncryption

ReadAwsEtcdEncryptionList reads list of values of the ”aws_etcd_encryption' type from the given iterator.

func UnmarshalAwsEtcdEncryption ¶

func UnmarshalAwsEtcdEncryption(source interface{}) (object *AwsEtcdEncryption, err error)

UnmarshalAwsEtcdEncryption reads a value of the 'aws_etcd_encryption' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAwsEtcdEncryptionList ¶

func UnmarshalAwsEtcdEncryptionList(source interface{}) (items []*AwsEtcdEncryption, err error)

UnmarshalAwsEtcdEncryptionList reads a list of values of the 'aws_etcd_encryption' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AwsEtcdEncryption) Empty ¶

func (o *AwsEtcdEncryption) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AwsEtcdEncryption) GetKMSKeyARN ¶

func (o *AwsEtcdEncryption) GetKMSKeyARN() (value string, ok bool)

GetKMSKeyARN returns the value of the 'KMS_key_ARN' attribute and a flag indicating if the attribute has a value.

ARN of the KMS to be used for the etcd encryption

func (*AwsEtcdEncryption) KMSKeyARN ¶

func (o *AwsEtcdEncryption) KMSKeyARN() string

KMSKeyARN returns the value of the 'KMS_key_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.

ARN of the KMS to be used for the etcd encryption

type AwsEtcdEncryptionBuilder ¶

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

AwsEtcdEncryptionBuilder contains the data and logic needed to build 'aws_etcd_encryption' objects.

Contains the necessary attributes to support etcd encryption for AWS based clusters.

func NewAwsEtcdEncryption ¶

func NewAwsEtcdEncryption() *AwsEtcdEncryptionBuilder

NewAwsEtcdEncryption creates a new builder of 'aws_etcd_encryption' objects.

func (*AwsEtcdEncryptionBuilder) Build ¶

func (b *AwsEtcdEncryptionBuilder) Build() (object *AwsEtcdEncryption, err error)

Build creates a 'aws_etcd_encryption' object using the configuration stored in the builder.

func (*AwsEtcdEncryptionBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AwsEtcdEncryptionBuilder) Empty ¶

func (b *AwsEtcdEncryptionBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AwsEtcdEncryptionBuilder) KMSKeyARN ¶

KMSKeyARN sets the value of the 'KMS_key_ARN' attribute to the given value.

type AwsEtcdEncryptionList ¶

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

AwsEtcdEncryptionList is a list of values of the 'aws_etcd_encryption' type.

func (*AwsEtcdEncryptionList) Each ¶

func (l *AwsEtcdEncryptionList) Each(f func(item *AwsEtcdEncryption) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AwsEtcdEncryptionList) Empty ¶

func (l *AwsEtcdEncryptionList) Empty() bool

Empty returns true if the list is empty.

func (*AwsEtcdEncryptionList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AwsEtcdEncryptionList) Items ¶

Items returns the items of the list.

func (*AwsEtcdEncryptionList) Len ¶

func (l *AwsEtcdEncryptionList) Len() int

Len returns the length of the list.

func (*AwsEtcdEncryptionList) Range ¶

func (l *AwsEtcdEncryptionList) Range(f func(index int, item *AwsEtcdEncryption) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AwsEtcdEncryptionList) SetHREF ¶

func (l *AwsEtcdEncryptionList) SetHREF(href string)

Items sets the items of the list.

func (*AwsEtcdEncryptionList) SetItems ¶

func (l *AwsEtcdEncryptionList) SetItems(items []*AwsEtcdEncryption)

Items sets the items of the list.

func (l *AwsEtcdEncryptionList) SetLink(link bool)

Items sets the items of the list.

func (*AwsEtcdEncryptionList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AwsEtcdEncryptionListBuilder ¶

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

AwsEtcdEncryptionListBuilder contains the data and logic needed to build 'aws_etcd_encryption' objects.

func NewAwsEtcdEncryptionList ¶

func NewAwsEtcdEncryptionList() *AwsEtcdEncryptionListBuilder

NewAwsEtcdEncryptionList creates a new builder of 'aws_etcd_encryption' objects.

func (*AwsEtcdEncryptionListBuilder) Build ¶

Build creates a list of 'aws_etcd_encryption' objects using the configuration stored in the builder.

func (*AwsEtcdEncryptionListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AwsEtcdEncryptionListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*AwsEtcdEncryptionListBuilder) Items ¶

Items sets the items of the list.

type Azure ¶

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

Azure represents the values of the 'azure' type.

Microsoft Azure settings of a cluster.

func ReadAzure ¶

func ReadAzure(iterator *jsoniter.Iterator) *Azure

ReadAzure reads a value of the 'azure' type from the given iterator.

func ReadAzureList ¶

func ReadAzureList(iterator *jsoniter.Iterator) []*Azure

ReadAzureList reads list of values of the ”azure' type from the given iterator.

func UnmarshalAzure ¶

func UnmarshalAzure(source interface{}) (object *Azure, err error)

UnmarshalAzure reads a value of the 'azure' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAzureList ¶

func UnmarshalAzureList(source interface{}) (items []*Azure, err error)

UnmarshalAzureList reads a list of values of the 'azure' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Azure) Empty ¶

func (o *Azure) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Azure) GetManagedResourceGroupName ¶

func (o *Azure) GetManagedResourceGroupName() (value string, ok bool)

GetManagedResourceGroupName returns the value of the 'managed_resource_group_name' attribute and a flag indicating if the attribute has a value.

The desired name of the Azure Resource Group where the Azure Resources related to the cluster are created. It must not previously exist. The Azure Resource Group is created with the given value, within the Azure Subscription `subscription_id` of the cluster. `managed_resource_group_name` cannot be equal to the value of `managed_resource_group`. `managed_resource_group_name` is located in the same Azure location as the cluster's region. Not to be confused with `resource_group_name`, which is the Azure Resource Group Name where the own Azure Resource associated to the cluster resides. Required during creation. Immutable.

func (*Azure) GetNetworkSecurityGroupResourceID ¶

func (o *Azure) GetNetworkSecurityGroupResourceID() (value string, ok bool)

GetNetworkSecurityGroupResourceID returns the value of the 'network_security_group_resource_ID' attribute and a flag indicating if the attribute has a value.

The Azure Resource ID of a pre-existing Azure Network Security Group. The Network Security Group specified in network_security_group_resource_id must already be associated to the Azure Subnet `subnet_resource_id`. It is the Azure Network Security Group associated to the cluster's subnet specified in `subnet_resource_id`. `network_security_group_resource_id` must be located in the same Azure location as the cluster's region. The Azure Subscription specified as part of `network_security_group_resource_id` must be located in the same Azure Subscription as `subscription_id`. The Azure Resource Group Name specified as part of `network_security_group_resource_id` must belong to the Azure Subscription `subscription_id`, and in the same Azure location as the cluster's region. The Azure Resource Group Name specified as part of `network_security_group_resource_id` must be a different Resource Group Name than the one specified in `managed_resource_group_name`. The Azure Resource Group Name specified as part of `network_security_group_resource_id` can be the same, or a different one than the one specified in `resource_group_name`. Required during creation. Immutable.

func (*Azure) GetNodesOutboundConnectivity ¶

func (o *Azure) GetNodesOutboundConnectivity() (value *AzureNodesOutboundConnectivity, ok bool)

GetNodesOutboundConnectivity returns the value of the 'nodes_outbound_connectivity' attribute and a flag indicating if the attribute has a value.

NodesOutboundConnectivity defines how the network outbound configuration of the Cluster's Node Pool's Nodes is performed. By default this is configured as Azure Load Balancer. This value is immutable.

func (*Azure) GetOperatorsAuthentication ¶

func (o *Azure) GetOperatorsAuthentication() (value *AzureOperatorsAuthentication, ok bool)

GetOperatorsAuthentication returns the value of the 'operators_authentication' attribute and a flag indicating if the attribute has a value.

Defines how the operators of the cluster authenticate to Azure. Required during creation. Immutable.

func (*Azure) GetResourceGroupName ¶

func (o *Azure) GetResourceGroupName() (value string, ok bool)

GetResourceGroupName returns the value of the 'resource_group_name' attribute and a flag indicating if the attribute has a value.

The Azure Resource Group Name of the cluster. It must be a pre-existing Azure Resource Group and it must exist within the Azure Subscription `subscription_id` of the cluster. `resource_group_name` is located in the same Azure location as the cluster's region. Required during creation. Immutable.

func (*Azure) GetResourceName ¶

func (o *Azure) GetResourceName() (value string, ok bool)

GetResourceName returns the value of the 'resource_name' attribute and a flag indicating if the attribute has a value.

The Azure Resource Name of the cluster. It must be within the Azure Resource Group Name `resource_group_name`. `resource_name` is located in the same Azure location as the cluster's region. Required during creation. Immutable.

func (*Azure) GetSubnetResourceID ¶

func (o *Azure) GetSubnetResourceID() (value string, ok bool)

GetSubnetResourceID returns the value of the 'subnet_resource_ID' attribute and a flag indicating if the attribute has a value.

The Azure Resource ID of a pre-existing Azure Subnet. It is an Azure Subnet used for the Data Plane of the cluster. `subnet_resource_id` must be located in the same Azure location as the cluster's region. The Azure Subscription specified as part of the `subnet_resource_id` must be located in the same Azure Subscription as `subscription_id`. The Azure Resource Group Name specified as part of `subnet_resource_id` must belong to the Azure Subscription `subscription_id`, and in the same Azure location as the cluster's region. The Azure Resource Group Name specified as part of `subnet_resource_id` must be a different Resource Group Name than the one specified in `managed_resource_group_name`. The Azure Resource Group Name specified as part of the `subnet_resource_id` can be the same, or a different one than the one specified in `resource_group_name`. Required during creation. Immutable.

func (*Azure) GetSubscriptionID ¶

func (o *Azure) GetSubscriptionID() (value string, ok bool)

GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.

The Azure Subscription ID associated with the cluster. It must belong to the Microsoft Entra Tenant ID `tenant_id`. Required during creation. Immutable.

func (*Azure) GetTenantID ¶

func (o *Azure) GetTenantID() (value string, ok bool)

GetTenantID returns the value of the 'tenant_ID' attribute and a flag indicating if the attribute has a value.

The Microsoft Entra Tenant ID where the cluster belongs. Required during creation. Immutable.

func (*Azure) ManagedResourceGroupName ¶

func (o *Azure) ManagedResourceGroupName() string

ManagedResourceGroupName returns the value of the 'managed_resource_group_name' attribute, or the zero value of the type if the attribute doesn't have a value.

The desired name of the Azure Resource Group where the Azure Resources related to the cluster are created. It must not previously exist. The Azure Resource Group is created with the given value, within the Azure Subscription `subscription_id` of the cluster. `managed_resource_group_name` cannot be equal to the value of `managed_resource_group`. `managed_resource_group_name` is located in the same Azure location as the cluster's region. Not to be confused with `resource_group_name`, which is the Azure Resource Group Name where the own Azure Resource associated to the cluster resides. Required during creation. Immutable.

func (*Azure) NetworkSecurityGroupResourceID ¶

func (o *Azure) NetworkSecurityGroupResourceID() string

NetworkSecurityGroupResourceID returns the value of the 'network_security_group_resource_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The Azure Resource ID of a pre-existing Azure Network Security Group. The Network Security Group specified in network_security_group_resource_id must already be associated to the Azure Subnet `subnet_resource_id`. It is the Azure Network Security Group associated to the cluster's subnet specified in `subnet_resource_id`. `network_security_group_resource_id` must be located in the same Azure location as the cluster's region. The Azure Subscription specified as part of `network_security_group_resource_id` must be located in the same Azure Subscription as `subscription_id`. The Azure Resource Group Name specified as part of `network_security_group_resource_id` must belong to the Azure Subscription `subscription_id`, and in the same Azure location as the cluster's region. The Azure Resource Group Name specified as part of `network_security_group_resource_id` must be a different Resource Group Name than the one specified in `managed_resource_group_name`. The Azure Resource Group Name specified as part of `network_security_group_resource_id` can be the same, or a different one than the one specified in `resource_group_name`. Required during creation. Immutable.

func (*Azure) NodesOutboundConnectivity ¶

func (o *Azure) NodesOutboundConnectivity() *AzureNodesOutboundConnectivity

NodesOutboundConnectivity returns the value of the 'nodes_outbound_connectivity' attribute, or the zero value of the type if the attribute doesn't have a value.

NodesOutboundConnectivity defines how the network outbound configuration of the Cluster's Node Pool's Nodes is performed. By default this is configured as Azure Load Balancer. This value is immutable.

func (*Azure) OperatorsAuthentication ¶

func (o *Azure) OperatorsAuthentication() *AzureOperatorsAuthentication

OperatorsAuthentication returns the value of the 'operators_authentication' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines how the operators of the cluster authenticate to Azure. Required during creation. Immutable.

func (*Azure) ResourceGroupName ¶

func (o *Azure) ResourceGroupName() string

ResourceGroupName returns the value of the 'resource_group_name' attribute, or the zero value of the type if the attribute doesn't have a value.

The Azure Resource Group Name of the cluster. It must be a pre-existing Azure Resource Group and it must exist within the Azure Subscription `subscription_id` of the cluster. `resource_group_name` is located in the same Azure location as the cluster's region. Required during creation. Immutable.

func (*Azure) ResourceName ¶

func (o *Azure) ResourceName() string

ResourceName returns the value of the 'resource_name' attribute, or the zero value of the type if the attribute doesn't have a value.

The Azure Resource Name of the cluster. It must be within the Azure Resource Group Name `resource_group_name`. `resource_name` is located in the same Azure location as the cluster's region. Required during creation. Immutable.

func (*Azure) SubnetResourceID ¶

func (o *Azure) SubnetResourceID() string

SubnetResourceID returns the value of the 'subnet_resource_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The Azure Resource ID of a pre-existing Azure Subnet. It is an Azure Subnet used for the Data Plane of the cluster. `subnet_resource_id` must be located in the same Azure location as the cluster's region. The Azure Subscription specified as part of the `subnet_resource_id` must be located in the same Azure Subscription as `subscription_id`. The Azure Resource Group Name specified as part of `subnet_resource_id` must belong to the Azure Subscription `subscription_id`, and in the same Azure location as the cluster's region. The Azure Resource Group Name specified as part of `subnet_resource_id` must be a different Resource Group Name than the one specified in `managed_resource_group_name`. The Azure Resource Group Name specified as part of the `subnet_resource_id` can be the same, or a different one than the one specified in `resource_group_name`. Required during creation. Immutable.

func (*Azure) SubscriptionID ¶

func (o *Azure) SubscriptionID() string

SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The Azure Subscription ID associated with the cluster. It must belong to the Microsoft Entra Tenant ID `tenant_id`. Required during creation. Immutable.

func (*Azure) TenantID ¶

func (o *Azure) TenantID() string

TenantID returns the value of the 'tenant_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The Microsoft Entra Tenant ID where the cluster belongs. Required during creation. Immutable.

type AzureBuilder ¶

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

AzureBuilder contains the data and logic needed to build 'azure' objects.

Microsoft Azure settings of a cluster.

func NewAzure ¶

func NewAzure() *AzureBuilder

NewAzure creates a new builder of 'azure' objects.

func (*AzureBuilder) Build ¶

func (b *AzureBuilder) Build() (object *Azure, err error)

Build creates a 'azure' object using the configuration stored in the builder.

func (*AzureBuilder) Copy ¶

func (b *AzureBuilder) Copy(object *Azure) *AzureBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureBuilder) Empty ¶

func (b *AzureBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AzureBuilder) ManagedResourceGroupName ¶

func (b *AzureBuilder) ManagedResourceGroupName(value string) *AzureBuilder

ManagedResourceGroupName sets the value of the 'managed_resource_group_name' attribute to the given value.

func (*AzureBuilder) NetworkSecurityGroupResourceID ¶

func (b *AzureBuilder) NetworkSecurityGroupResourceID(value string) *AzureBuilder

NetworkSecurityGroupResourceID sets the value of the 'network_security_group_resource_ID' attribute to the given value.

func (*AzureBuilder) NodesOutboundConnectivity ¶

func (b *AzureBuilder) NodesOutboundConnectivity(value *AzureNodesOutboundConnectivityBuilder) *AzureBuilder

NodesOutboundConnectivity sets the value of the 'nodes_outbound_connectivity' attribute to the given value.

The configuration of the node outbound connectivity

func (*AzureBuilder) OperatorsAuthentication ¶

func (b *AzureBuilder) OperatorsAuthentication(value *AzureOperatorsAuthenticationBuilder) *AzureBuilder

OperatorsAuthentication sets the value of the 'operators_authentication' attribute to the given value.

The configuration that the operators of the cluster have to authenticate to Azure.

func (*AzureBuilder) ResourceGroupName ¶

func (b *AzureBuilder) ResourceGroupName(value string) *AzureBuilder

ResourceGroupName sets the value of the 'resource_group_name' attribute to the given value.

func (*AzureBuilder) ResourceName ¶

func (b *AzureBuilder) ResourceName(value string) *AzureBuilder

ResourceName sets the value of the 'resource_name' attribute to the given value.

func (*AzureBuilder) SubnetResourceID ¶

func (b *AzureBuilder) SubnetResourceID(value string) *AzureBuilder

SubnetResourceID sets the value of the 'subnet_resource_ID' attribute to the given value.

func (*AzureBuilder) SubscriptionID ¶

func (b *AzureBuilder) SubscriptionID(value string) *AzureBuilder

SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.

func (*AzureBuilder) TenantID ¶

func (b *AzureBuilder) TenantID(value string) *AzureBuilder

TenantID sets the value of the 'tenant_ID' attribute to the given value.

type AzureControlPlaneManagedIdentity ¶

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

AzureControlPlaneManagedIdentity represents the values of the 'azure_control_plane_managed_identity' type.

Represents the information associated to an Azure User-Assigned Managed Identity belonging to the Control Plane of the cluster.

func ReadAzureControlPlaneManagedIdentity ¶

func ReadAzureControlPlaneManagedIdentity(iterator *jsoniter.Iterator) *AzureControlPlaneManagedIdentity

ReadAzureControlPlaneManagedIdentity reads a value of the 'azure_control_plane_managed_identity' type from the given iterator.

func ReadAzureControlPlaneManagedIdentityList ¶

func ReadAzureControlPlaneManagedIdentityList(iterator *jsoniter.Iterator) []*AzureControlPlaneManagedIdentity

ReadAzureControlPlaneManagedIdentityList reads list of values of the ”azure_control_plane_managed_identity' type from the given iterator.

func UnmarshalAzureControlPlaneManagedIdentity ¶

func UnmarshalAzureControlPlaneManagedIdentity(source interface{}) (object *AzureControlPlaneManagedIdentity, err error)

UnmarshalAzureControlPlaneManagedIdentity reads a value of the 'azure_control_plane_managed_identity' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAzureControlPlaneManagedIdentityList ¶

func UnmarshalAzureControlPlaneManagedIdentityList(source interface{}) (items []*AzureControlPlaneManagedIdentity, err error)

UnmarshalAzureControlPlaneManagedIdentityList reads a list of values of the 'azure_control_plane_managed_identity' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AzureControlPlaneManagedIdentity) ClientID ¶

ClientID returns the value of the 'client_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The Client ID associated to the Azure User-Assigned Managed Identity. Readonly.

func (*AzureControlPlaneManagedIdentity) Empty ¶

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AzureControlPlaneManagedIdentity) GetClientID ¶

func (o *AzureControlPlaneManagedIdentity) GetClientID() (value string, ok bool)

GetClientID returns the value of the 'client_ID' attribute and a flag indicating if the attribute has a value.

The Client ID associated to the Azure User-Assigned Managed Identity. Readonly.

func (*AzureControlPlaneManagedIdentity) GetPrincipalID ¶

func (o *AzureControlPlaneManagedIdentity) GetPrincipalID() (value string, ok bool)

GetPrincipalID returns the value of the 'principal_ID' attribute and a flag indicating if the attribute has a value.

The Principal ID associated to the Azure User-Assigned Identity. Readonly.

func (*AzureControlPlaneManagedIdentity) GetResourceID ¶

func (o *AzureControlPlaneManagedIdentity) GetResourceID() (value string, ok bool)

GetResourceID returns the value of the 'resource_ID' attribute and a flag indicating if the attribute has a value.

The Azure Resource ID of the Azure User-Assigned Managed Identity. The managed identity represented must exist before creating the cluster. The Azure Resource Group Name specified as part of the Resource ID must belong to the Azure Subscription specified in `.azure.subscription_id`, and in the same Azure location as the cluster's region. The Azure Resource Group Name specified as part of the Resource ID must be a different Resource Group Name than the one specified in `.azure.managed_resource_group_name`. The Azure Resource Group Name specified as part of the Resource ID can be the same, or a different one than the one specified in `.azure.resource_group_name`. Required during creation. Immutable.

func (*AzureControlPlaneManagedIdentity) PrincipalID ¶

func (o *AzureControlPlaneManagedIdentity) PrincipalID() string

PrincipalID returns the value of the 'principal_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The Principal ID associated to the Azure User-Assigned Identity. Readonly.

func (*AzureControlPlaneManagedIdentity) ResourceID ¶

func (o *AzureControlPlaneManagedIdentity) ResourceID() string

ResourceID returns the value of the 'resource_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The Azure Resource ID of the Azure User-Assigned Managed Identity. The managed identity represented must exist before creating the cluster. The Azure Resource Group Name specified as part of the Resource ID must belong to the Azure Subscription specified in `.azure.subscription_id`, and in the same Azure location as the cluster's region. The Azure Resource Group Name specified as part of the Resource ID must be a different Resource Group Name than the one specified in `.azure.managed_resource_group_name`. The Azure Resource Group Name specified as part of the Resource ID can be the same, or a different one than the one specified in `.azure.resource_group_name`. Required during creation. Immutable.

type AzureControlPlaneManagedIdentityBuilder ¶

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

AzureControlPlaneManagedIdentityBuilder contains the data and logic needed to build 'azure_control_plane_managed_identity' objects.

Represents the information associated to an Azure User-Assigned Managed Identity belonging to the Control Plane of the cluster.

func NewAzureControlPlaneManagedIdentity ¶

func NewAzureControlPlaneManagedIdentity() *AzureControlPlaneManagedIdentityBuilder

NewAzureControlPlaneManagedIdentity creates a new builder of 'azure_control_plane_managed_identity' objects.

func (*AzureControlPlaneManagedIdentityBuilder) Build ¶

Build creates a 'azure_control_plane_managed_identity' object using the configuration stored in the builder.

func (*AzureControlPlaneManagedIdentityBuilder) ClientID ¶

ClientID sets the value of the 'client_ID' attribute to the given value.

func (*AzureControlPlaneManagedIdentityBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureControlPlaneManagedIdentityBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AzureControlPlaneManagedIdentityBuilder) PrincipalID ¶

PrincipalID sets the value of the 'principal_ID' attribute to the given value.

func (*AzureControlPlaneManagedIdentityBuilder) ResourceID ¶

ResourceID sets the value of the 'resource_ID' attribute to the given value.

type AzureControlPlaneManagedIdentityList ¶

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

AzureControlPlaneManagedIdentityList is a list of values of the 'azure_control_plane_managed_identity' type.

func (*AzureControlPlaneManagedIdentityList) Each ¶

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureControlPlaneManagedIdentityList) Empty ¶

Empty returns true if the list is empty.

func (*AzureControlPlaneManagedIdentityList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureControlPlaneManagedIdentityList) Items ¶

Items returns the items of the list.

func (*AzureControlPlaneManagedIdentityList) Len ¶

Len returns the length of the list.

func (*AzureControlPlaneManagedIdentityList) Range ¶

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureControlPlaneManagedIdentityList) SetHREF ¶

Items sets the items of the list.

func (*AzureControlPlaneManagedIdentityList) SetItems ¶

Items sets the items of the list.

func (l *AzureControlPlaneManagedIdentityList) SetLink(link bool)

Items sets the items of the list.

func (*AzureControlPlaneManagedIdentityList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AzureControlPlaneManagedIdentityListBuilder ¶

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

AzureControlPlaneManagedIdentityListBuilder contains the data and logic needed to build 'azure_control_plane_managed_identity' objects.

func NewAzureControlPlaneManagedIdentityList ¶

func NewAzureControlPlaneManagedIdentityList() *AzureControlPlaneManagedIdentityListBuilder

NewAzureControlPlaneManagedIdentityList creates a new builder of 'azure_control_plane_managed_identity' objects.

func (*AzureControlPlaneManagedIdentityListBuilder) Build ¶

Build creates a list of 'azure_control_plane_managed_identity' objects using the configuration stored in the builder.

func (*AzureControlPlaneManagedIdentityListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureControlPlaneManagedIdentityListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*AzureControlPlaneManagedIdentityListBuilder) Items ¶

Items sets the items of the list.

type AzureDataPlaneManagedIdentity ¶

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

AzureDataPlaneManagedIdentity represents the values of the 'azure_data_plane_managed_identity' type.

Represents the information associated to an Azure User-Assigned Managed Identity belonging to the Data Plane of the cluster.

func ReadAzureDataPlaneManagedIdentity ¶

func ReadAzureDataPlaneManagedIdentity(iterator *jsoniter.Iterator) *AzureDataPlaneManagedIdentity

ReadAzureDataPlaneManagedIdentity reads a value of the 'azure_data_plane_managed_identity' type from the given iterator.

func ReadAzureDataPlaneManagedIdentityList ¶

func ReadAzureDataPlaneManagedIdentityList(iterator *jsoniter.Iterator) []*AzureDataPlaneManagedIdentity

ReadAzureDataPlaneManagedIdentityList reads list of values of the ”azure_data_plane_managed_identity' type from the given iterator.

func UnmarshalAzureDataPlaneManagedIdentity ¶

func UnmarshalAzureDataPlaneManagedIdentity(source interface{}) (object *AzureDataPlaneManagedIdentity, err error)

UnmarshalAzureDataPlaneManagedIdentity reads a value of the 'azure_data_plane_managed_identity' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAzureDataPlaneManagedIdentityList ¶

func UnmarshalAzureDataPlaneManagedIdentityList(source interface{}) (items []*AzureDataPlaneManagedIdentity, err error)

UnmarshalAzureDataPlaneManagedIdentityList reads a list of values of the 'azure_data_plane_managed_identity' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AzureDataPlaneManagedIdentity) Empty ¶

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AzureDataPlaneManagedIdentity) GetResourceID ¶

func (o *AzureDataPlaneManagedIdentity) GetResourceID() (value string, ok bool)

GetResourceID returns the value of the 'resource_ID' attribute and a flag indicating if the attribute has a value.

The Azure Resource ID of the Azure User-Assigned Managed Identity. The managed identity represented must exist before creating the cluster. The Azure Resource Group Name specified as part of the Resource ID must belong to the Azure Subscription specified in `.azure.subscription_id`, and in the same Azure location as the cluster's region. The Azure Resource Group Name specified as part of the Resource ID must be a different Resource Group Name than the one specified in `.azure.managed_resource_group_name`. The Azure Resource Group Name specified as part of the Resource ID can be the same, or a different one than the one specified in `.azure.resource_group_name`. Required during creation. Immutable.

func (*AzureDataPlaneManagedIdentity) ResourceID ¶

func (o *AzureDataPlaneManagedIdentity) ResourceID() string

ResourceID returns the value of the 'resource_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The Azure Resource ID of the Azure User-Assigned Managed Identity. The managed identity represented must exist before creating the cluster. The Azure Resource Group Name specified as part of the Resource ID must belong to the Azure Subscription specified in `.azure.subscription_id`, and in the same Azure location as the cluster's region. The Azure Resource Group Name specified as part of the Resource ID must be a different Resource Group Name than the one specified in `.azure.managed_resource_group_name`. The Azure Resource Group Name specified as part of the Resource ID can be the same, or a different one than the one specified in `.azure.resource_group_name`. Required during creation. Immutable.

type AzureDataPlaneManagedIdentityBuilder ¶

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

AzureDataPlaneManagedIdentityBuilder contains the data and logic needed to build 'azure_data_plane_managed_identity' objects.

Represents the information associated to an Azure User-Assigned Managed Identity belonging to the Data Plane of the cluster.

func NewAzureDataPlaneManagedIdentity ¶

func NewAzureDataPlaneManagedIdentity() *AzureDataPlaneManagedIdentityBuilder

NewAzureDataPlaneManagedIdentity creates a new builder of 'azure_data_plane_managed_identity' objects.

func (*AzureDataPlaneManagedIdentityBuilder) Build ¶

Build creates a 'azure_data_plane_managed_identity' object using the configuration stored in the builder.

func (*AzureDataPlaneManagedIdentityBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureDataPlaneManagedIdentityBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AzureDataPlaneManagedIdentityBuilder) ResourceID ¶

ResourceID sets the value of the 'resource_ID' attribute to the given value.

type AzureDataPlaneManagedIdentityList ¶

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

AzureDataPlaneManagedIdentityList is a list of values of the 'azure_data_plane_managed_identity' type.

func (*AzureDataPlaneManagedIdentityList) Each ¶

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureDataPlaneManagedIdentityList) Empty ¶

Empty returns true if the list is empty.

func (*AzureDataPlaneManagedIdentityList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureDataPlaneManagedIdentityList) Items ¶

Items returns the items of the list.

func (*AzureDataPlaneManagedIdentityList) Len ¶

Len returns the length of the list.

func (*AzureDataPlaneManagedIdentityList) Range ¶

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureDataPlaneManagedIdentityList) SetHREF ¶

func (l *AzureDataPlaneManagedIdentityList) SetHREF(href string)

Items sets the items of the list.

func (*AzureDataPlaneManagedIdentityList) SetItems ¶

Items sets the items of the list.

func (l *AzureDataPlaneManagedIdentityList) SetLink(link bool)

Items sets the items of the list.

func (*AzureDataPlaneManagedIdentityList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AzureDataPlaneManagedIdentityListBuilder ¶

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

AzureDataPlaneManagedIdentityListBuilder contains the data and logic needed to build 'azure_data_plane_managed_identity' objects.

func NewAzureDataPlaneManagedIdentityList ¶

func NewAzureDataPlaneManagedIdentityList() *AzureDataPlaneManagedIdentityListBuilder

NewAzureDataPlaneManagedIdentityList creates a new builder of 'azure_data_plane_managed_identity' objects.

func (*AzureDataPlaneManagedIdentityListBuilder) Build ¶

Build creates a list of 'azure_data_plane_managed_identity' objects using the configuration stored in the builder.

func (*AzureDataPlaneManagedIdentityListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureDataPlaneManagedIdentityListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*AzureDataPlaneManagedIdentityListBuilder) Items ¶

Items sets the items of the list.

type AzureList ¶

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

AzureList is a list of values of the 'azure' type.

func (*AzureList) Each ¶

func (l *AzureList) Each(f func(item *Azure) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureList) Empty ¶

func (l *AzureList) Empty() bool

Empty returns true if the list is empty.

func (*AzureList) Get ¶

func (l *AzureList) Get(i int) *Azure

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureList) Items ¶

func (l *AzureList) Items() []*Azure

Items returns the items of the list.

func (*AzureList) Len ¶

func (l *AzureList) Len() int

Len returns the length of the list.

func (*AzureList) Range ¶

func (l *AzureList) Range(f func(index int, item *Azure) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureList) SetHREF ¶

func (l *AzureList) SetHREF(href string)

Items sets the items of the list.

func (*AzureList) SetItems ¶

func (l *AzureList) SetItems(items []*Azure)

Items sets the items of the list.

func (l *AzureList) SetLink(link bool)

Items sets the items of the list.

func (*AzureList) Slice ¶

func (l *AzureList) Slice() []*Azure

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AzureListBuilder ¶

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

AzureListBuilder contains the data and logic needed to build 'azure' objects.

func NewAzureList ¶

func NewAzureList() *AzureListBuilder

NewAzureList creates a new builder of 'azure' objects.

func (*AzureListBuilder) Build ¶

func (b *AzureListBuilder) Build() (list *AzureList, err error)

Build creates a list of 'azure' objects using the configuration stored in the builder.

func (*AzureListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureListBuilder) Empty ¶

func (b *AzureListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AzureListBuilder) Items ¶

func (b *AzureListBuilder) Items(values ...*AzureBuilder) *AzureListBuilder

Items sets the items of the list.

type AzureNodesOutboundConnectivity ¶

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

AzureNodesOutboundConnectivity represents the values of the 'azure_nodes_outbound_connectivity' type.

The configuration of the node outbound connectivity

func ReadAzureNodesOutboundConnectivity ¶

func ReadAzureNodesOutboundConnectivity(iterator *jsoniter.Iterator) *AzureNodesOutboundConnectivity

ReadAzureNodesOutboundConnectivity reads a value of the 'azure_nodes_outbound_connectivity' type from the given iterator.

func ReadAzureNodesOutboundConnectivityList ¶

func ReadAzureNodesOutboundConnectivityList(iterator *jsoniter.Iterator) []*AzureNodesOutboundConnectivity

ReadAzureNodesOutboundConnectivityList reads list of values of the ”azure_nodes_outbound_connectivity' type from the given iterator.

func UnmarshalAzureNodesOutboundConnectivity ¶

func UnmarshalAzureNodesOutboundConnectivity(source interface{}) (object *AzureNodesOutboundConnectivity, err error)

UnmarshalAzureNodesOutboundConnectivity reads a value of the 'azure_nodes_outbound_connectivity' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAzureNodesOutboundConnectivityList ¶

func UnmarshalAzureNodesOutboundConnectivityList(source interface{}) (items []*AzureNodesOutboundConnectivity, err error)

UnmarshalAzureNodesOutboundConnectivityList reads a list of values of the 'azure_nodes_outbound_connectivity' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AzureNodesOutboundConnectivity) Empty ¶

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AzureNodesOutboundConnectivity) GetOutboundType ¶

func (o *AzureNodesOutboundConnectivity) GetOutboundType() (value string, ok bool)

GetOutboundType returns the value of the 'outbound_type' attribute and a flag indicating if the attribute has a value.

OutboundType is the type of network outbound configuration. The default and only accepted value is 'load_balancer'. This value is immutable.

func (*AzureNodesOutboundConnectivity) OutboundType ¶

func (o *AzureNodesOutboundConnectivity) OutboundType() string

OutboundType returns the value of the 'outbound_type' attribute, or the zero value of the type if the attribute doesn't have a value.

OutboundType is the type of network outbound configuration. The default and only accepted value is 'load_balancer'. This value is immutable.

type AzureNodesOutboundConnectivityBuilder ¶

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

AzureNodesOutboundConnectivityBuilder contains the data and logic needed to build 'azure_nodes_outbound_connectivity' objects.

The configuration of the node outbound connectivity

func NewAzureNodesOutboundConnectivity ¶

func NewAzureNodesOutboundConnectivity() *AzureNodesOutboundConnectivityBuilder

NewAzureNodesOutboundConnectivity creates a new builder of 'azure_nodes_outbound_connectivity' objects.

func (*AzureNodesOutboundConnectivityBuilder) Build ¶

Build creates a 'azure_nodes_outbound_connectivity' object using the configuration stored in the builder.

func (*AzureNodesOutboundConnectivityBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureNodesOutboundConnectivityBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AzureNodesOutboundConnectivityBuilder) OutboundType ¶

OutboundType sets the value of the 'outbound_type' attribute to the given value.

type AzureNodesOutboundConnectivityList ¶

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

AzureNodesOutboundConnectivityList is a list of values of the 'azure_nodes_outbound_connectivity' type.

func (*AzureNodesOutboundConnectivityList) Each ¶

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureNodesOutboundConnectivityList) Empty ¶

Empty returns true if the list is empty.

func (*AzureNodesOutboundConnectivityList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureNodesOutboundConnectivityList) Items ¶

Items returns the items of the list.

func (*AzureNodesOutboundConnectivityList) Len ¶

Len returns the length of the list.

func (*AzureNodesOutboundConnectivityList) Range ¶

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureNodesOutboundConnectivityList) SetHREF ¶

func (l *AzureNodesOutboundConnectivityList) SetHREF(href string)

Items sets the items of the list.

func (*AzureNodesOutboundConnectivityList) SetItems ¶

Items sets the items of the list.

func (l *AzureNodesOutboundConnectivityList) SetLink(link bool)

Items sets the items of the list.

func (*AzureNodesOutboundConnectivityList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AzureNodesOutboundConnectivityListBuilder ¶

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

AzureNodesOutboundConnectivityListBuilder contains the data and logic needed to build 'azure_nodes_outbound_connectivity' objects.

func NewAzureNodesOutboundConnectivityList ¶

func NewAzureNodesOutboundConnectivityList() *AzureNodesOutboundConnectivityListBuilder

NewAzureNodesOutboundConnectivityList creates a new builder of 'azure_nodes_outbound_connectivity' objects.

func (*AzureNodesOutboundConnectivityListBuilder) Build ¶

Build creates a list of 'azure_nodes_outbound_connectivity' objects using the configuration stored in the builder.

func (*AzureNodesOutboundConnectivityListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureNodesOutboundConnectivityListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*AzureNodesOutboundConnectivityListBuilder) Items ¶

Items sets the items of the list.

type AzureOperatorsAuthentication ¶

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

AzureOperatorsAuthentication represents the values of the 'azure_operators_authentication' type.

The configuration that the operators of the cluster have to authenticate to Azure.

func ReadAzureOperatorsAuthentication ¶

func ReadAzureOperatorsAuthentication(iterator *jsoniter.Iterator) *AzureOperatorsAuthentication

ReadAzureOperatorsAuthentication reads a value of the 'azure_operators_authentication' type from the given iterator.

func ReadAzureOperatorsAuthenticationList ¶

func ReadAzureOperatorsAuthenticationList(iterator *jsoniter.Iterator) []*AzureOperatorsAuthentication

ReadAzureOperatorsAuthenticationList reads list of values of the ”azure_operators_authentication' type from the given iterator.

func UnmarshalAzureOperatorsAuthentication ¶

func UnmarshalAzureOperatorsAuthentication(source interface{}) (object *AzureOperatorsAuthentication, err error)

UnmarshalAzureOperatorsAuthentication reads a value of the 'azure_operators_authentication' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAzureOperatorsAuthenticationList ¶

func UnmarshalAzureOperatorsAuthenticationList(source interface{}) (items []*AzureOperatorsAuthentication, err error)

UnmarshalAzureOperatorsAuthenticationList reads a list of values of the 'azure_operators_authentication' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AzureOperatorsAuthentication) Empty ¶

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AzureOperatorsAuthentication) GetManagedIdentities ¶

GetManagedIdentities returns the value of the 'managed_identities' attribute and a flag indicating if the attribute has a value.

The authentication configuration to authenticate to Azure using Azure User-Assigned Managed Identities. Required during creation.

func (*AzureOperatorsAuthentication) ManagedIdentities ¶

ManagedIdentities returns the value of the 'managed_identities' attribute, or the zero value of the type if the attribute doesn't have a value.

The authentication configuration to authenticate to Azure using Azure User-Assigned Managed Identities. Required during creation.

type AzureOperatorsAuthenticationBuilder ¶

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

AzureOperatorsAuthenticationBuilder contains the data and logic needed to build 'azure_operators_authentication' objects.

The configuration that the operators of the cluster have to authenticate to Azure.

func NewAzureOperatorsAuthentication ¶

func NewAzureOperatorsAuthentication() *AzureOperatorsAuthenticationBuilder

NewAzureOperatorsAuthentication creates a new builder of 'azure_operators_authentication' objects.

func (*AzureOperatorsAuthenticationBuilder) Build ¶

Build creates a 'azure_operators_authentication' object using the configuration stored in the builder.

func (*AzureOperatorsAuthenticationBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureOperatorsAuthenticationBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AzureOperatorsAuthenticationBuilder) ManagedIdentities ¶

ManagedIdentities sets the value of the 'managed_identities' attribute to the given value.

Represents the information related to Azure User-Assigned managed identities needed to perform Operators authentication based on Azure User-Assigned Managed Identities

type AzureOperatorsAuthenticationList ¶

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

AzureOperatorsAuthenticationList is a list of values of the 'azure_operators_authentication' type.

func (*AzureOperatorsAuthenticationList) Each ¶

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureOperatorsAuthenticationList) Empty ¶

Empty returns true if the list is empty.

func (*AzureOperatorsAuthenticationList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureOperatorsAuthenticationList) Items ¶

Items returns the items of the list.

func (*AzureOperatorsAuthenticationList) Len ¶

Len returns the length of the list.

func (*AzureOperatorsAuthenticationList) Range ¶

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureOperatorsAuthenticationList) SetHREF ¶

func (l *AzureOperatorsAuthenticationList) SetHREF(href string)

Items sets the items of the list.

func (*AzureOperatorsAuthenticationList) SetItems ¶

Items sets the items of the list.

func (l *AzureOperatorsAuthenticationList) SetLink(link bool)

Items sets the items of the list.

func (*AzureOperatorsAuthenticationList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AzureOperatorsAuthenticationListBuilder ¶

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

AzureOperatorsAuthenticationListBuilder contains the data and logic needed to build 'azure_operators_authentication' objects.

func NewAzureOperatorsAuthenticationList ¶

func NewAzureOperatorsAuthenticationList() *AzureOperatorsAuthenticationListBuilder

NewAzureOperatorsAuthenticationList creates a new builder of 'azure_operators_authentication' objects.

func (*AzureOperatorsAuthenticationListBuilder) Build ¶

Build creates a list of 'azure_operators_authentication' objects using the configuration stored in the builder.

func (*AzureOperatorsAuthenticationListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureOperatorsAuthenticationListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*AzureOperatorsAuthenticationListBuilder) Items ¶

Items sets the items of the list.

type AzureOperatorsAuthenticationManagedIdentities ¶

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

AzureOperatorsAuthenticationManagedIdentities represents the values of the 'azure_operators_authentication_managed_identities' type.

Represents the information related to Azure User-Assigned managed identities needed to perform Operators authentication based on Azure User-Assigned Managed Identities

func ReadAzureOperatorsAuthenticationManagedIdentities ¶

func ReadAzureOperatorsAuthenticationManagedIdentities(iterator *jsoniter.Iterator) *AzureOperatorsAuthenticationManagedIdentities

ReadAzureOperatorsAuthenticationManagedIdentities reads a value of the 'azure_operators_authentication_managed_identities' type from the given iterator.

func ReadAzureOperatorsAuthenticationManagedIdentitiesList ¶

func ReadAzureOperatorsAuthenticationManagedIdentitiesList(iterator *jsoniter.Iterator) []*AzureOperatorsAuthenticationManagedIdentities

ReadAzureOperatorsAuthenticationManagedIdentitiesList reads list of values of the ”azure_operators_authentication_managed_identities' type from the given iterator.

func UnmarshalAzureOperatorsAuthenticationManagedIdentities ¶

func UnmarshalAzureOperatorsAuthenticationManagedIdentities(source interface{}) (object *AzureOperatorsAuthenticationManagedIdentities, err error)

UnmarshalAzureOperatorsAuthenticationManagedIdentities reads a value of the 'azure_operators_authentication_managed_identities' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAzureOperatorsAuthenticationManagedIdentitiesList ¶

func UnmarshalAzureOperatorsAuthenticationManagedIdentitiesList(source interface{}) (items []*AzureOperatorsAuthenticationManagedIdentities, err error)

UnmarshalAzureOperatorsAuthenticationManagedIdentitiesList reads a list of values of the 'azure_operators_authentication_managed_identities' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AzureOperatorsAuthenticationManagedIdentities) ControlPlaneOperatorsManagedIdentities ¶

func (o *AzureOperatorsAuthenticationManagedIdentities) ControlPlaneOperatorsManagedIdentities() map[string]*AzureControlPlaneManagedIdentity

ControlPlaneOperatorsManagedIdentities returns the value of the 'control_plane_operators_managed_identities' attribute, or the zero value of the type if the attribute doesn't have a value.

The set of Azure User-Assigned Managed Identities leveraged for the Control Plane operators of the cluster. The set of required managed identities is dependent on the Cluster's OpenShift version. Immutable

func (*AzureOperatorsAuthenticationManagedIdentities) DataPlaneOperatorsManagedIdentities ¶

func (o *AzureOperatorsAuthenticationManagedIdentities) DataPlaneOperatorsManagedIdentities() map[string]*AzureDataPlaneManagedIdentity

DataPlaneOperatorsManagedIdentities returns the value of the 'data_plane_operators_managed_identities' attribute, or the zero value of the type if the attribute doesn't have a value.

The set of Azure User-Assigned Managed Identities leveraged for the Data Plane operators of the cluster. The set of required managed identities is dependent on the Cluster's OpenShift version. Immutable.

func (*AzureOperatorsAuthenticationManagedIdentities) Empty ¶

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AzureOperatorsAuthenticationManagedIdentities) GetControlPlaneOperatorsManagedIdentities ¶

func (o *AzureOperatorsAuthenticationManagedIdentities) GetControlPlaneOperatorsManagedIdentities() (value map[string]*AzureControlPlaneManagedIdentity, ok bool)

GetControlPlaneOperatorsManagedIdentities returns the value of the 'control_plane_operators_managed_identities' attribute and a flag indicating if the attribute has a value.

The set of Azure User-Assigned Managed Identities leveraged for the Control Plane operators of the cluster. The set of required managed identities is dependent on the Cluster's OpenShift version. Immutable

func (*AzureOperatorsAuthenticationManagedIdentities) GetDataPlaneOperatorsManagedIdentities ¶

func (o *AzureOperatorsAuthenticationManagedIdentities) GetDataPlaneOperatorsManagedIdentities() (value map[string]*AzureDataPlaneManagedIdentity, ok bool)

GetDataPlaneOperatorsManagedIdentities returns the value of the 'data_plane_operators_managed_identities' attribute and a flag indicating if the attribute has a value.

The set of Azure User-Assigned Managed Identities leveraged for the Data Plane operators of the cluster. The set of required managed identities is dependent on the Cluster's OpenShift version. Immutable.

func (*AzureOperatorsAuthenticationManagedIdentities) GetManagedIdentitiesDataPlaneIdentityUrl ¶

func (o *AzureOperatorsAuthenticationManagedIdentities) GetManagedIdentitiesDataPlaneIdentityUrl() (value string, ok bool)

GetManagedIdentitiesDataPlaneIdentityUrl returns the value of the 'managed_identities_data_plane_identity_url' attribute and a flag indicating if the attribute has a value.

The Managed Identities Data Plane Identity URL associated with the cluster. It is the URL that will be used to communicate with the Managed Identities Resource Provider (MI RP). Required during creation. Immutable.

func (*AzureOperatorsAuthenticationManagedIdentities) GetServiceManagedIdentity ¶

func (o *AzureOperatorsAuthenticationManagedIdentities) GetServiceManagedIdentity() (value *AzureServiceManagedIdentity, ok bool)

GetServiceManagedIdentity returns the value of the 'service_managed_identity' attribute and a flag indicating if the attribute has a value.

The Azure User-Assigned Managed Identity used to perform service level actions. Specifically:

  • Add Federated Identity Credentials to the identities in `data_plane_operators_managed_identities` that belong to Data Plane Cluster Operators
  • Perform permissions validation for the BYOVNet related resources associated to the Cluster

Required during creation. Immutable.

func (*AzureOperatorsAuthenticationManagedIdentities) ManagedIdentitiesDataPlaneIdentityUrl ¶

func (o *AzureOperatorsAuthenticationManagedIdentities) ManagedIdentitiesDataPlaneIdentityUrl() string

ManagedIdentitiesDataPlaneIdentityUrl returns the value of the 'managed_identities_data_plane_identity_url' attribute, or the zero value of the type if the attribute doesn't have a value.

The Managed Identities Data Plane Identity URL associated with the cluster. It is the URL that will be used to communicate with the Managed Identities Resource Provider (MI RP). Required during creation. Immutable.

func (*AzureOperatorsAuthenticationManagedIdentities) ServiceManagedIdentity ¶

ServiceManagedIdentity returns the value of the 'service_managed_identity' attribute, or the zero value of the type if the attribute doesn't have a value.

The Azure User-Assigned Managed Identity used to perform service level actions. Specifically:

  • Add Federated Identity Credentials to the identities in `data_plane_operators_managed_identities` that belong to Data Plane Cluster Operators
  • Perform permissions validation for the BYOVNet related resources associated to the Cluster

Required during creation. Immutable.

type AzureOperatorsAuthenticationManagedIdentitiesBuilder ¶

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

AzureOperatorsAuthenticationManagedIdentitiesBuilder contains the data and logic needed to build 'azure_operators_authentication_managed_identities' objects.

Represents the information related to Azure User-Assigned managed identities needed to perform Operators authentication based on Azure User-Assigned Managed Identities

func NewAzureOperatorsAuthenticationManagedIdentities ¶

func NewAzureOperatorsAuthenticationManagedIdentities() *AzureOperatorsAuthenticationManagedIdentitiesBuilder

NewAzureOperatorsAuthenticationManagedIdentities creates a new builder of 'azure_operators_authentication_managed_identities' objects.

func (*AzureOperatorsAuthenticationManagedIdentitiesBuilder) Build ¶

Build creates a 'azure_operators_authentication_managed_identities' object using the configuration stored in the builder.

func (*AzureOperatorsAuthenticationManagedIdentitiesBuilder) ControlPlaneOperatorsManagedIdentities ¶

ControlPlaneOperatorsManagedIdentities sets the value of the 'control_plane_operators_managed_identities' attribute to the given value.

func (*AzureOperatorsAuthenticationManagedIdentitiesBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureOperatorsAuthenticationManagedIdentitiesBuilder) DataPlaneOperatorsManagedIdentities ¶

DataPlaneOperatorsManagedIdentities sets the value of the 'data_plane_operators_managed_identities' attribute to the given value.

func (*AzureOperatorsAuthenticationManagedIdentitiesBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AzureOperatorsAuthenticationManagedIdentitiesBuilder) ManagedIdentitiesDataPlaneIdentityUrl ¶

ManagedIdentitiesDataPlaneIdentityUrl sets the value of the 'managed_identities_data_plane_identity_url' attribute to the given value.

func (*AzureOperatorsAuthenticationManagedIdentitiesBuilder) ServiceManagedIdentity ¶

ServiceManagedIdentity sets the value of the 'service_managed_identity' attribute to the given value.

Represents the information associated to an Azure User-Assigned Managed Identity whose purpose is to perform service level actions.

type AzureOperatorsAuthenticationManagedIdentitiesList ¶

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

AzureOperatorsAuthenticationManagedIdentitiesList is a list of values of the 'azure_operators_authentication_managed_identities' type.

func (*AzureOperatorsAuthenticationManagedIdentitiesList) Each ¶

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureOperatorsAuthenticationManagedIdentitiesList) Empty ¶

Empty returns true if the list is empty.

func (*AzureOperatorsAuthenticationManagedIdentitiesList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureOperatorsAuthenticationManagedIdentitiesList) Items ¶

Items returns the items of the list.

func (*AzureOperatorsAuthenticationManagedIdentitiesList) Len ¶

Len returns the length of the list.

func (*AzureOperatorsAuthenticationManagedIdentitiesList) Range ¶

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureOperatorsAuthenticationManagedIdentitiesList) SetHREF ¶

Items sets the items of the list.

func (*AzureOperatorsAuthenticationManagedIdentitiesList) SetItems ¶

Items sets the items of the list.

Items sets the items of the list.

func (*AzureOperatorsAuthenticationManagedIdentitiesList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AzureOperatorsAuthenticationManagedIdentitiesListBuilder ¶

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

AzureOperatorsAuthenticationManagedIdentitiesListBuilder contains the data and logic needed to build 'azure_operators_authentication_managed_identities' objects.

func NewAzureOperatorsAuthenticationManagedIdentitiesList ¶

func NewAzureOperatorsAuthenticationManagedIdentitiesList() *AzureOperatorsAuthenticationManagedIdentitiesListBuilder

NewAzureOperatorsAuthenticationManagedIdentitiesList creates a new builder of 'azure_operators_authentication_managed_identities' objects.

func (*AzureOperatorsAuthenticationManagedIdentitiesListBuilder) Build ¶

Build creates a list of 'azure_operators_authentication_managed_identities' objects using the configuration stored in the builder.

func (*AzureOperatorsAuthenticationManagedIdentitiesListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureOperatorsAuthenticationManagedIdentitiesListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*AzureOperatorsAuthenticationManagedIdentitiesListBuilder) Items ¶

Items sets the items of the list.

type AzureServiceManagedIdentity ¶

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

AzureServiceManagedIdentity represents the values of the 'azure_service_managed_identity' type.

Represents the information associated to an Azure User-Assigned Managed Identity whose purpose is to perform service level actions.

func ReadAzureServiceManagedIdentity ¶

func ReadAzureServiceManagedIdentity(iterator *jsoniter.Iterator) *AzureServiceManagedIdentity

ReadAzureServiceManagedIdentity reads a value of the 'azure_service_managed_identity' type from the given iterator.

func ReadAzureServiceManagedIdentityList ¶

func ReadAzureServiceManagedIdentityList(iterator *jsoniter.Iterator) []*AzureServiceManagedIdentity

ReadAzureServiceManagedIdentityList reads list of values of the ”azure_service_managed_identity' type from the given iterator.

func UnmarshalAzureServiceManagedIdentity ¶

func UnmarshalAzureServiceManagedIdentity(source interface{}) (object *AzureServiceManagedIdentity, err error)

UnmarshalAzureServiceManagedIdentity reads a value of the 'azure_service_managed_identity' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAzureServiceManagedIdentityList ¶

func UnmarshalAzureServiceManagedIdentityList(source interface{}) (items []*AzureServiceManagedIdentity, err error)

UnmarshalAzureServiceManagedIdentityList reads a list of values of the 'azure_service_managed_identity' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AzureServiceManagedIdentity) ClientID ¶

func (o *AzureServiceManagedIdentity) ClientID() string

ClientID returns the value of the 'client_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The Client ID associated to the Azure User-Assigned Managed Identity. Readonly.

func (*AzureServiceManagedIdentity) Empty ¶

func (o *AzureServiceManagedIdentity) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AzureServiceManagedIdentity) GetClientID ¶

func (o *AzureServiceManagedIdentity) GetClientID() (value string, ok bool)

GetClientID returns the value of the 'client_ID' attribute and a flag indicating if the attribute has a value.

The Client ID associated to the Azure User-Assigned Managed Identity. Readonly.

func (*AzureServiceManagedIdentity) GetPrincipalID ¶

func (o *AzureServiceManagedIdentity) GetPrincipalID() (value string, ok bool)

GetPrincipalID returns the value of the 'principal_ID' attribute and a flag indicating if the attribute has a value.

The Principal ID associated to the Azure User-Assigned Managed Identity. Readonly.

func (*AzureServiceManagedIdentity) GetResourceID ¶

func (o *AzureServiceManagedIdentity) GetResourceID() (value string, ok bool)

GetResourceID returns the value of the 'resource_ID' attribute and a flag indicating if the attribute has a value.

The Azure Resource ID of the Azure User-Assigned Managed Identity. The managed identity represented must exist before creating the cluster. The Azure Resource Group Name specified as part of the Resource ID must belong to the Azure Subscription specified in `.azure.subscription_id`, and in the same Azure location as the cluster's region. The Azure Resource Group Name specified as part of the Resource ID must be a different Resource Group Name than the one specified in `.azure.managed_resource_group_name`. The Azure Resource Group Name specified as part of the Resource ID can be the same, or a different one than the one specified in `.azure.resource_group_name`. Required during creation. Immutable.

func (*AzureServiceManagedIdentity) PrincipalID ¶

func (o *AzureServiceManagedIdentity) PrincipalID() string

PrincipalID returns the value of the 'principal_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The Principal ID associated to the Azure User-Assigned Managed Identity. Readonly.

func (*AzureServiceManagedIdentity) ResourceID ¶

func (o *AzureServiceManagedIdentity) ResourceID() string

ResourceID returns the value of the 'resource_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The Azure Resource ID of the Azure User-Assigned Managed Identity. The managed identity represented must exist before creating the cluster. The Azure Resource Group Name specified as part of the Resource ID must belong to the Azure Subscription specified in `.azure.subscription_id`, and in the same Azure location as the cluster's region. The Azure Resource Group Name specified as part of the Resource ID must be a different Resource Group Name than the one specified in `.azure.managed_resource_group_name`. The Azure Resource Group Name specified as part of the Resource ID can be the same, or a different one than the one specified in `.azure.resource_group_name`. Required during creation. Immutable.

type AzureServiceManagedIdentityBuilder ¶

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

AzureServiceManagedIdentityBuilder contains the data and logic needed to build 'azure_service_managed_identity' objects.

Represents the information associated to an Azure User-Assigned Managed Identity whose purpose is to perform service level actions.

func NewAzureServiceManagedIdentity ¶

func NewAzureServiceManagedIdentity() *AzureServiceManagedIdentityBuilder

NewAzureServiceManagedIdentity creates a new builder of 'azure_service_managed_identity' objects.

func (*AzureServiceManagedIdentityBuilder) Build ¶

Build creates a 'azure_service_managed_identity' object using the configuration stored in the builder.

func (*AzureServiceManagedIdentityBuilder) ClientID ¶

ClientID sets the value of the 'client_ID' attribute to the given value.

func (*AzureServiceManagedIdentityBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureServiceManagedIdentityBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AzureServiceManagedIdentityBuilder) PrincipalID ¶

PrincipalID sets the value of the 'principal_ID' attribute to the given value.

func (*AzureServiceManagedIdentityBuilder) ResourceID ¶

ResourceID sets the value of the 'resource_ID' attribute to the given value.

type AzureServiceManagedIdentityList ¶

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

AzureServiceManagedIdentityList is a list of values of the 'azure_service_managed_identity' type.

func (*AzureServiceManagedIdentityList) Each ¶

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureServiceManagedIdentityList) Empty ¶

Empty returns true if the list is empty.

func (*AzureServiceManagedIdentityList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureServiceManagedIdentityList) Items ¶

Items returns the items of the list.

func (*AzureServiceManagedIdentityList) Len ¶

Len returns the length of the list.

func (*AzureServiceManagedIdentityList) Range ¶

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AzureServiceManagedIdentityList) SetHREF ¶

func (l *AzureServiceManagedIdentityList) SetHREF(href string)

Items sets the items of the list.

func (*AzureServiceManagedIdentityList) SetItems ¶

Items sets the items of the list.

func (l *AzureServiceManagedIdentityList) SetLink(link bool)

Items sets the items of the list.

func (*AzureServiceManagedIdentityList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AzureServiceManagedIdentityListBuilder ¶

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

AzureServiceManagedIdentityListBuilder contains the data and logic needed to build 'azure_service_managed_identity' objects.

func NewAzureServiceManagedIdentityList ¶

func NewAzureServiceManagedIdentityList() *AzureServiceManagedIdentityListBuilder

NewAzureServiceManagedIdentityList creates a new builder of 'azure_service_managed_identity' objects.

func (*AzureServiceManagedIdentityListBuilder) Build ¶

Build creates a list of 'azure_service_managed_identity' objects using the configuration stored in the builder.

func (*AzureServiceManagedIdentityListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureServiceManagedIdentityListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*AzureServiceManagedIdentityListBuilder) Items ¶

Items sets the items of the list.

type BillingModel ¶

type BillingModel string

BillingModel represents the values of the 'billing_model' enumerated type.

const (
	// BillingModel Marketplace Legacy Marketplace billing model. Currently only used for tests. Use cloud-provider specific billing models instead.
	BillingModelMarketplace BillingModel = "marketplace"
	// AWS Marketplace billing model.
	BillingModelMarketplaceAWS BillingModel = "marketplace-aws"
	// GCP Marketplace billing model.
	BillingModelMarketplaceGCP BillingModel = "marketplace-gcp"
	// RH Marketplace billing model.
	BillingModelMarketplaceRHM BillingModel = "marketplace-rhm"
	// Azure Marketplace billing model.
	BillingModelMarketplaceAzure BillingModel = "marketplace-azure"
	// Standard. This is the default billing model
	BillingModelStandard BillingModel = "standard"
)

func ReadBillingModelList ¶

func ReadBillingModelList(iterator *jsoniter.Iterator) []BillingModel

ReadBillingModelList reads list of values of the ”billing_model' type from the given iterator.

func UnmarshalBillingModelList ¶

func UnmarshalBillingModelList(source interface{}) (items []BillingModel, err error)

UnmarshalBillingModelList reads a list of values of the 'billing_model' type from the given source, which can be a slice of bytes, a string or a reader.

type ByoOidc ¶

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

ByoOidc represents the values of the 'byo_oidc' type.

ByoOidc configuration.

func ReadByoOidc ¶

func ReadByoOidc(iterator *jsoniter.Iterator) *ByoOidc

ReadByoOidc reads a value of the 'byo_oidc' type from the given iterator.

func ReadByoOidcList ¶

func ReadByoOidcList(iterator *jsoniter.Iterator) []*ByoOidc

ReadByoOidcList reads list of values of the ”byo_oidc' type from the given iterator.

func UnmarshalByoOidc ¶

func UnmarshalByoOidc(source interface{}) (object *ByoOidc, err error)

UnmarshalByoOidc reads a value of the 'byo_oidc' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalByoOidcList ¶

func UnmarshalByoOidcList(source interface{}) (items []*ByoOidc, err error)

UnmarshalByoOidcList reads a list of values of the 'byo_oidc' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ByoOidc) Empty ¶

func (o *ByoOidc) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ByoOidc) Enabled ¶

func (o *ByoOidc) Enabled() bool

Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.

Boolean flag indicating if the cluster should be creating using _ByoOidc_.

By default this is `false`.

To enable it the cluster needs to be ROSA cluster and the organization of the user needs to have the `byo-oidc` feature toggle enabled.

func (*ByoOidc) GetEnabled ¶

func (o *ByoOidc) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Boolean flag indicating if the cluster should be creating using _ByoOidc_.

By default this is `false`.

To enable it the cluster needs to be ROSA cluster and the organization of the user needs to have the `byo-oidc` feature toggle enabled.

type ByoOidcBuilder ¶

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

ByoOidcBuilder contains the data and logic needed to build 'byo_oidc' objects.

ByoOidc configuration.

func NewByoOidc ¶

func NewByoOidc() *ByoOidcBuilder

NewByoOidc creates a new builder of 'byo_oidc' objects.

func (*ByoOidcBuilder) Build ¶

func (b *ByoOidcBuilder) Build() (object *ByoOidc, err error)

Build creates a 'byo_oidc' object using the configuration stored in the builder.

func (*ByoOidcBuilder) Copy ¶

func (b *ByoOidcBuilder) Copy(object *ByoOidc) *ByoOidcBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ByoOidcBuilder) Empty ¶

func (b *ByoOidcBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ByoOidcBuilder) Enabled ¶

func (b *ByoOidcBuilder) Enabled(value bool) *ByoOidcBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

type ByoOidcList ¶

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

ByoOidcList is a list of values of the 'byo_oidc' type.

func (*ByoOidcList) Each ¶

func (l *ByoOidcList) Each(f func(item *ByoOidc) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ByoOidcList) Empty ¶

func (l *ByoOidcList) Empty() bool

Empty returns true if the list is empty.

func (*ByoOidcList) Get ¶

func (l *ByoOidcList) Get(i int) *ByoOidc

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ByoOidcList) Items ¶

func (l *ByoOidcList) Items() []*ByoOidc

Items returns the items of the list.

func (*ByoOidcList) Len ¶

func (l *ByoOidcList) Len() int

Len returns the length of the list.

func (*ByoOidcList) Range ¶

func (l *ByoOidcList) Range(f func(index int, item *ByoOidc) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ByoOidcList) SetHREF ¶

func (l *ByoOidcList) SetHREF(href string)

Items sets the items of the list.

func (*ByoOidcList) SetItems ¶

func (l *ByoOidcList) SetItems(items []*ByoOidc)

Items sets the items of the list.

func (l *ByoOidcList) SetLink(link bool)

Items sets the items of the list.

func (*ByoOidcList) Slice ¶

func (l *ByoOidcList) Slice() []*ByoOidc

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ByoOidcListBuilder ¶

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

ByoOidcListBuilder contains the data and logic needed to build 'byo_oidc' objects.

func NewByoOidcList ¶

func NewByoOidcList() *ByoOidcListBuilder

NewByoOidcList creates a new builder of 'byo_oidc' objects.

func (*ByoOidcListBuilder) Build ¶

func (b *ByoOidcListBuilder) Build() (list *ByoOidcList, err error)

Build creates a list of 'byo_oidc' objects using the configuration stored in the builder.

func (*ByoOidcListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ByoOidcListBuilder) Empty ¶

func (b *ByoOidcListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ByoOidcListBuilder) Items ¶

Items sets the items of the list.

type CCS ¶

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

CCS represents the values of the 'CCS' type.

func ReadCCS ¶

func ReadCCS(iterator *jsoniter.Iterator) *CCS

ReadCCS reads a value of the 'CCS' type from the given iterator.

func ReadCCSList ¶

func ReadCCSList(iterator *jsoniter.Iterator) []*CCS

ReadCCSList reads list of values of the ”CCS' type from the given iterator.

func UnmarshalCCS ¶

func UnmarshalCCS(source interface{}) (object *CCS, err error)

UnmarshalCCS reads a value of the 'CCS' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalCCSList ¶

func UnmarshalCCSList(source interface{}) (items []*CCS, err error)

UnmarshalCCSList reads a list of values of the 'CCS' type from the given source, which can be a slice of bytes, a string or a reader.

func (*CCS) DisableSCPChecks ¶

func (o *CCS) DisableSCPChecks() bool

DisableSCPChecks returns the value of the 'disable_SCP_checks' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates if cloud permissions checks are disabled, when attempting installation of the cluster.

func (*CCS) Empty ¶

func (o *CCS) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*CCS) Enabled ¶

func (o *CCS) Enabled() bool

Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates if Customer Cloud Subscription is enabled on the cluster.

func (*CCS) GetDisableSCPChecks ¶

func (o *CCS) GetDisableSCPChecks() (value bool, ok bool)

GetDisableSCPChecks returns the value of the 'disable_SCP_checks' attribute and a flag indicating if the attribute has a value.

Indicates if cloud permissions checks are disabled, when attempting installation of the cluster.

func (*CCS) GetEnabled ¶

func (o *CCS) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Indicates if Customer Cloud Subscription is enabled on the cluster.

func (*CCS) GetHREF ¶

func (o *CCS) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*CCS) GetID ¶

func (o *CCS) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*CCS) HREF ¶

func (o *CCS) HREF() string

HREF returns the link to the object.

func (*CCS) ID ¶

func (o *CCS) ID() string

ID returns the identifier of the object.

func (*CCS) Kind ¶

func (o *CCS) Kind() string

Kind returns the name of the type of the object.

func (o *CCS) Link() bool

Link returns true if this is a link.

type CCSBuilder ¶

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

CCSBuilder contains the data and logic needed to build 'CCS' objects.

func NewCCS ¶

func NewCCS() *CCSBuilder

NewCCS creates a new builder of 'CCS' objects.

func (*CCSBuilder) Build ¶

func (b *CCSBuilder) Build() (object *CCS, err error)

Build creates a 'CCS' object using the configuration stored in the builder.

func (*CCSBuilder) Copy ¶

func (b *CCSBuilder) Copy(object *CCS) *CCSBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CCSBuilder) DisableSCPChecks ¶

func (b *CCSBuilder) DisableSCPChecks(value bool) *CCSBuilder

DisableSCPChecks sets the value of the 'disable_SCP_checks' attribute to the given value.

func (*CCSBuilder) Empty ¶

func (b *CCSBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*CCSBuilder) Enabled ¶

func (b *CCSBuilder) Enabled(value bool) *CCSBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

func (*CCSBuilder) HREF ¶

func (b *CCSBuilder) HREF(value string) *CCSBuilder

HREF sets the link to the object.

func (*CCSBuilder) ID ¶

func (b *CCSBuilder) ID(value string) *CCSBuilder

ID sets the identifier of the object.

func (b *CCSBuilder) Link(value bool) *CCSBuilder

Link sets the flag that indicates if this is a link.

type CCSList ¶

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

CCSList is a list of values of the 'CCS' type.

func (*CCSList) Each ¶

func (l *CCSList) Each(f func(item *CCS) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*CCSList) Empty ¶

func (l *CCSList) Empty() bool

Empty returns true if the list is empty.

func (*CCSList) Get ¶

func (l *CCSList) Get(i int) *CCS

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*CCSList) GetHREF ¶

func (l *CCSList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*CCSList) HREF ¶

func (l *CCSList) HREF() string

HREF returns the link to the list.

func (*CCSList) Items ¶

func (l *CCSList) Items() []*CCS

Items returns the items of the list.

func (*CCSList) Kind ¶

func (l *CCSList) Kind() string

Kind returns the name of the type of the object.

func (*CCSList) Len ¶

func (l *CCSList) Len() int

Len returns the length of the list.

func (l *CCSList) Link() bool

Link returns true iif this is a link.

func (*CCSList) Range ¶

func (l *CCSList) Range(f func(index int, item *CCS) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*CCSList) SetHREF ¶

func (l *CCSList) SetHREF(href string)

Items sets the items of the list.

func (*CCSList) SetItems ¶

func (l *CCSList) SetItems(items []*CCS)

Items sets the items of the list.

func (l *CCSList) SetLink(link bool)

Items sets the items of the list.

func (*CCSList) Slice ¶

func (l *CCSList) Slice() []*CCS

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type CCSListBuilder ¶

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

CCSListBuilder contains the data and logic needed to build 'CCS' objects.

func NewCCSList ¶

func NewCCSList() *CCSListBuilder

NewCCSList creates a new builder of 'CCS' objects.

func (*CCSListBuilder) Build ¶

func (b *CCSListBuilder) Build() (list *CCSList, err error)

Build creates a list of 'CCS' objects using the configuration stored in the builder.

func (*CCSListBuilder) Copy ¶

func (b *CCSListBuilder) Copy(list *CCSList) *CCSListBuilder

Copy copies the items of the given list into this builder, discarding any previous items.

func (*CCSListBuilder) Empty ¶

func (b *CCSListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*CCSListBuilder) Items ¶

func (b *CCSListBuilder) Items(values ...*CCSBuilder) *CCSListBuilder

Items sets the items of the list.

type Client ¶

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

Client is the client of the 'root' resource.

Root of the tree of resources of the aro_hcp service.

func NewClient ¶

func NewClient(transport http.RoundTripper, path string) *Client

NewClient creates a new client for the 'root' resource using the given transport to send the requests and receive the responses.

func (*Client) Clusters ¶

func (c *Client) Clusters() *ClustersClient

Clusters returns the target 'clusters' resource.

func (*Client) Get ¶

func (c *Client) Get() *MetadataRequest

Creates a new request for the method that retrieves the metadata.

type CloudProvider ¶

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

CloudProvider represents the values of the 'cloud_provider' type.

Cloud provider.

func ReadCloudProvider ¶

func ReadCloudProvider(iterator *jsoniter.Iterator) *CloudProvider

ReadCloudProvider reads a value of the 'cloud_provider' type from the given iterator.

func ReadCloudProviderList ¶

func ReadCloudProviderList(iterator *jsoniter.Iterator) []*CloudProvider

ReadCloudProviderList reads list of values of the ”cloud_provider' type from the given iterator.

func UnmarshalCloudProvider ¶

func UnmarshalCloudProvider(source interface{}) (object *CloudProvider, err error)

UnmarshalCloudProvider reads a value of the 'cloud_provider' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalCloudProviderList ¶

func UnmarshalCloudProviderList(source interface{}) (items []*CloudProvider, err error)

UnmarshalCloudProviderList reads a list of values of the 'cloud_provider' type from the given source, which can be a slice of bytes, a string or a reader.

func (*CloudProvider) DisplayName ¶

func (o *CloudProvider) DisplayName() string

DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.

Name of the cloud provider for display purposes. It can contain any characters, including spaces.

func (*CloudProvider) Empty ¶

func (o *CloudProvider) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*CloudProvider) GetDisplayName ¶

func (o *CloudProvider) GetDisplayName() (value string, ok bool)

GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.

Name of the cloud provider for display purposes. It can contain any characters, including spaces.

func (*CloudProvider) GetHREF ¶

func (o *CloudProvider) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*CloudProvider) GetID ¶

func (o *CloudProvider) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*CloudProvider) GetName ¶

func (o *CloudProvider) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

Human friendly identifier of the cloud provider, for example `aws`.

func (*CloudProvider) GetRegions ¶

func (o *CloudProvider) GetRegions() (value []*CloudRegion, ok bool)

GetRegions returns the value of the 'regions' attribute and a flag indicating if the attribute has a value.

(optional) Provider's regions - only included when listing providers with `fetchRegions=true`.

func (*CloudProvider) HREF ¶

func (o *CloudProvider) HREF() string

HREF returns the link to the object.

func (*CloudProvider) ID ¶

func (o *CloudProvider) ID() string

ID returns the identifier of the object.

func (*CloudProvider) Kind ¶

func (o *CloudProvider) Kind() string

Kind returns the name of the type of the object.

func (o *CloudProvider) Link() bool

Link returns true if this is a link.

func (*CloudProvider) Name ¶

func (o *CloudProvider) Name() string

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

Human friendly identifier of the cloud provider, for example `aws`.

func (*CloudProvider) Regions ¶

func (o *CloudProvider) Regions() []*CloudRegion

Regions returns the value of the 'regions' attribute, or the zero value of the type if the attribute doesn't have a value.

(optional) Provider's regions - only included when listing providers with `fetchRegions=true`.

type CloudProviderBuilder ¶

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

CloudProviderBuilder contains the data and logic needed to build 'cloud_provider' objects.

Cloud provider.

func NewCloudProvider ¶

func NewCloudProvider() *CloudProviderBuilder

NewCloudProvider creates a new builder of 'cloud_provider' objects.

func (*CloudProviderBuilder) Build ¶

func (b *CloudProviderBuilder) Build() (object *CloudProvider, err error)

Build creates a 'cloud_provider' object using the configuration stored in the builder.

func (*CloudProviderBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CloudProviderBuilder) DisplayName ¶

func (b *CloudProviderBuilder) DisplayName(value string) *CloudProviderBuilder

DisplayName sets the value of the 'display_name' attribute to the given value.

func (*CloudProviderBuilder) Empty ¶

func (b *CloudProviderBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*CloudProviderBuilder) HREF ¶

HREF sets the link to the object.

func (*CloudProviderBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*CloudProviderBuilder) Name ¶

Name sets the value of the 'name' attribute to the given value.

func (*CloudProviderBuilder) Regions ¶

Regions sets the value of the 'regions' attribute to the given values.

type CloudProviderList ¶

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

CloudProviderList is a list of values of the 'cloud_provider' type.

func (*CloudProviderList) Each ¶

func (l *CloudProviderList) Each(f func(item *CloudProvider) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*CloudProviderList) Empty ¶

func (l *CloudProviderList) Empty() bool

Empty returns true if the list is empty.

func (*CloudProviderList) Get ¶

func (l *CloudProviderList) Get(i int) *CloudProvider

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*CloudProviderList) GetHREF ¶

func (l *CloudProviderList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*CloudProviderList) HREF ¶

func (l *CloudProviderList) HREF() string

HREF returns the link to the list.

func (*CloudProviderList) Items ¶

func (l *CloudProviderList) Items() []*CloudProvider

Items returns the items of the list.

func (*CloudProviderList) Kind ¶

func (l *CloudProviderList) Kind() string

Kind returns the name of the type of the object.

func (*CloudProviderList) Len ¶

func (l *CloudProviderList) Len() int

Len returns the length of the list.

func (l *CloudProviderList) Link() bool

Link returns true iif this is a link.

func (*CloudProviderList) Range ¶

func (l *CloudProviderList) Range(f func(index int, item *CloudProvider) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*CloudProviderList) SetHREF ¶

func (l *CloudProviderList) SetHREF(href string)

Items sets the items of the list.

func (*CloudProviderList) SetItems ¶

func (l *CloudProviderList) SetItems(items []*CloudProvider)

Items sets the items of the list.

func (l *CloudProviderList) SetLink(link bool)

Items sets the items of the list.

func (*CloudProviderList) Slice ¶

func (l *CloudProviderList) Slice() []*CloudProvider

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type CloudProviderListBuilder ¶

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

CloudProviderListBuilder contains the data and logic needed to build 'cloud_provider' objects.

func NewCloudProviderList ¶

func NewCloudProviderList() *CloudProviderListBuilder

NewCloudProviderList creates a new builder of 'cloud_provider' objects.

func (*CloudProviderListBuilder) Build ¶

func (b *CloudProviderListBuilder) Build() (list *CloudProviderList, err error)

Build creates a list of 'cloud_provider' objects using the configuration stored in the builder.

func (*CloudProviderListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*CloudProviderListBuilder) Empty ¶

func (b *CloudProviderListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*CloudProviderListBuilder) Items ¶

Items sets the items of the list.

type CloudRegion ¶

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

CloudRegion represents the values of the 'cloud_region' type.

Description of a region of a cloud provider.

func ReadCloudRegion ¶

func ReadCloudRegion(iterator *jsoniter.Iterator) *CloudRegion

ReadCloudRegion reads a value of the 'cloud_region' type from the given iterator.

func ReadCloudRegionList ¶

func ReadCloudRegionList(iterator *jsoniter.Iterator) []*CloudRegion

ReadCloudRegionList reads list of values of the ”cloud_region' type from the given iterator.

func UnmarshalCloudRegion ¶

func UnmarshalCloudRegion(source interface{}) (object *CloudRegion, err error)

UnmarshalCloudRegion reads a value of the 'cloud_region' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalCloudRegionList ¶

func UnmarshalCloudRegionList(source interface{}) (items []*CloudRegion, err error)

UnmarshalCloudRegionList reads a list of values of the 'cloud_region' type from the given source, which can be a slice of bytes, a string or a reader.

func (*CloudRegion) CCSOnly ¶

func (o *CloudRegion) CCSOnly() bool

CCSOnly returns the value of the 'CCS_only' attribute, or the zero value of the type if the attribute doesn't have a value.

'true' if the region is supported only for CCS clusters, 'false' otherwise.

func (*CloudRegion) CloudProvider ¶

func (o *CloudRegion) CloudProvider() *v1.CloudProvider

CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the cloud provider that the region belongs to.

func (*CloudRegion) DisplayName ¶

func (o *CloudRegion) DisplayName() string

DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.

Name of the region for display purposes, for example `N. Virginia`.

func (*CloudRegion) Empty ¶

func (o *CloudRegion) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*CloudRegion) Enabled ¶

func (o *CloudRegion) Enabled() bool

Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.

Whether the region is enabled for deploying a managed cluster.

func (*CloudRegion) GetCCSOnly ¶

func (o *CloudRegion) GetCCSOnly() (value bool, ok bool)

GetCCSOnly returns the value of the 'CCS_only' attribute and a flag indicating if the attribute has a value.

'true' if the region is supported only for CCS clusters, 'false' otherwise.

func (*CloudRegion) GetCloudProvider ¶

func (o *CloudRegion) GetCloudProvider() (value *v1.CloudProvider, ok bool)

GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.

Link to the cloud provider that the region belongs to.

func (*CloudRegion) GetDisplayName ¶

func (o *CloudRegion) GetDisplayName() (value string, ok bool)

GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.

Name of the region for display purposes, for example `N. Virginia`.

func (*CloudRegion) GetEnabled ¶

func (o *CloudRegion) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Whether the region is enabled for deploying a managed cluster.

func (*CloudRegion) GetGovCloud ¶

func (o *CloudRegion) GetGovCloud() (value bool, ok bool)

GetGovCloud returns the value of the 'gov_cloud' attribute and a flag indicating if the attribute has a value.

Whether the region is an AWS GovCloud region.

func (*CloudRegion) GetHREF ¶

func (o *CloudRegion) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*CloudRegion) GetID ¶

func (o *CloudRegion) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*CloudRegion) GetKMSLocationID ¶

func (o *CloudRegion) GetKMSLocationID() (value string, ok bool)

GetKMSLocationID returns the value of the 'KMS_location_ID' attribute and a flag indicating if the attribute has a value.

(GCP only) Comma-separated list of KMS location IDs that can be used with this region. E.g. "global,nam4,us". Order is not guaranteed.

func (*CloudRegion) GetKMSLocationName ¶

func (o *CloudRegion) GetKMSLocationName() (value string, ok bool)

GetKMSLocationName returns the value of the 'KMS_location_name' attribute and a flag indicating if the attribute has a value.

(GCP only) Comma-separated list of display names corresponding to KMSLocationID. E.g. "Global,nam4 (Iowa, South Carolina, and Oklahoma),US". Order is not guaranteed but will match KMSLocationID. Unfortunately, this API doesn't allow robust splitting - Contact ocm-feedback@redhat.com if you want to rely on this.

func (*CloudRegion) GetName ¶

func (o *CloudRegion) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

Human friendly identifier of the region, for example `us-east-1`.

NOTE: Currently for all cloud providers and all regions `id` and `name` have exactly the same values.

func (*CloudRegion) GetSupportsHypershift ¶

func (o *CloudRegion) GetSupportsHypershift() (value bool, ok bool)

GetSupportsHypershift returns the value of the 'supports_hypershift' attribute and a flag indicating if the attribute has a value.

'true' if the region is supported for Hypershift deployments, 'false' otherwise.

func (*CloudRegion) GetSupportsMultiAZ ¶

func (o *CloudRegion) GetSupportsMultiAZ() (value bool, ok bool)

GetSupportsMultiAZ returns the value of the 'supports_multi_AZ' attribute and a flag indicating if the attribute has a value.

Whether the region supports multiple availability zones.

func (*CloudRegion) GovCloud ¶

func (o *CloudRegion) GovCloud() bool

GovCloud returns the value of the 'gov_cloud' attribute, or the zero value of the type if the attribute doesn't have a value.

Whether the region is an AWS GovCloud region.

func (*CloudRegion) HREF ¶

func (o *CloudRegion) HREF() string

HREF returns the link to the object.

func (*CloudRegion) ID ¶

func (o *CloudRegion) ID() string

ID returns the identifier of the object.

func (*CloudRegion) KMSLocationID ¶

func (o *CloudRegion) KMSLocationID() string

KMSLocationID returns the value of the 'KMS_location_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

(GCP only) Comma-separated list of KMS location IDs that can be used with this region. E.g. "global,nam4,us". Order is not guaranteed.

func (*CloudRegion) KMSLocationName ¶

func (o *CloudRegion) KMSLocationName() string

KMSLocationName returns the value of the 'KMS_location_name' attribute, or the zero value of the type if the attribute doesn't have a value.

(GCP only) Comma-separated list of display names corresponding to KMSLocationID. E.g. "Global,nam4 (Iowa, South Carolina, and Oklahoma),US". Order is not guaranteed but will match KMSLocationID. Unfortunately, this API doesn't allow robust splitting - Contact ocm-feedback@redhat.com if you want to rely on this.

func (*CloudRegion) Kind ¶

func (o *CloudRegion) Kind() string

Kind returns the name of the type of the object.

func (o *CloudRegion) Link() bool

Link returns true if this is a link.

func (*CloudRegion) Name ¶

func (o *CloudRegion) Name() string

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

Human friendly identifier of the region, for example `us-east-1`.

NOTE: Currently for all cloud providers and all regions `id` and `name` have exactly the same values.

func (*CloudRegion) SupportsHypershift ¶

func (o *CloudRegion) SupportsHypershift() bool

SupportsHypershift returns the value of the 'supports_hypershift' attribute, or the zero value of the type if the attribute doesn't have a value.

'true' if the region is supported for Hypershift deployments, 'false' otherwise.

func (*CloudRegion) SupportsMultiAZ ¶

func (o *CloudRegion) SupportsMultiAZ() bool

SupportsMultiAZ returns the value of the 'supports_multi_AZ' attribute, or the zero value of the type if the attribute doesn't have a value.

Whether the region supports multiple availability zones.

type CloudRegionBuilder ¶

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

Description of a region of a cloud provider.

func NewCloudRegion ¶

func NewCloudRegion() *CloudRegionBuilder

NewCloudRegion creates a new builder of 'cloud_region' objects.

func (*CloudRegionBuilder) Build ¶

func (b *CloudRegionBuilder) Build() (object *CloudRegion, err error)

Build creates a 'cloud_region' object using the configuration stored in the builder.

func (*CloudRegionBuilder) CCSOnly ¶

func (b *CloudRegionBuilder) CCSOnly(value bool) *CloudRegionBuilder

CCSOnly sets the value of the 'CCS_only' attribute to the given value.

func (*CloudRegionBuilder) CloudProvider ¶

CloudProvider sets the value of the 'cloud_provider' attribute to the given value.

Cloud provider.

func (*CloudRegionBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CloudRegionBuilder) DisplayName ¶

func (b *CloudRegionBuilder) DisplayName(value string) *CloudRegionBuilder

DisplayName sets the value of the 'display_name' attribute to the given value.

func (*CloudRegionBuilder) Empty ¶

func (b *CloudRegionBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*CloudRegionBuilder) Enabled ¶

func (b *CloudRegionBuilder) Enabled(value bool) *CloudRegionBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

func (*CloudRegionBuilder) GovCloud ¶

func (b *CloudRegionBuilder) GovCloud(value bool) *CloudRegionBuilder

GovCloud sets the value of the 'gov_cloud' attribute to the given value.

func (*CloudRegionBuilder) HREF ¶

HREF sets the link to the object.

func (*CloudRegionBuilder) ID ¶

ID sets the identifier of the object.

func (*CloudRegionBuilder) KMSLocationID ¶

func (b *CloudRegionBuilder) KMSLocationID(value string) *CloudRegionBuilder

KMSLocationID sets the value of the 'KMS_location_ID' attribute to the given value.

func (*CloudRegionBuilder) KMSLocationName ¶

func (b *CloudRegionBuilder) KMSLocationName(value string) *CloudRegionBuilder

KMSLocationName sets the value of the 'KMS_location_name' attribute to the given value.

func (b *CloudRegionBuilder) Link(value bool) *CloudRegionBuilder

Link sets the flag that indicates if this is a link.

func (*CloudRegionBuilder) Name ¶

Name sets the value of the 'name' attribute to the given value.

func (*CloudRegionBuilder) SupportsHypershift ¶

func (b *CloudRegionBuilder) SupportsHypershift(value bool) *CloudRegionBuilder

SupportsHypershift sets the value of the 'supports_hypershift' attribute to the given value.

func (*CloudRegionBuilder) SupportsMultiAZ ¶

func (b *CloudRegionBuilder) SupportsMultiAZ(value bool) *CloudRegionBuilder

SupportsMultiAZ sets the value of the 'supports_multi_AZ' attribute to the given value.

type CloudRegionList ¶

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

CloudRegionList is a list of values of the 'cloud_region' type.

func (*CloudRegionList) Each ¶

func (l *CloudRegionList) Each(f func(item *CloudRegion) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*CloudRegionList) Empty ¶

func (l *CloudRegionList) Empty() bool

Empty returns true if the list is empty.

func (*CloudRegionList) Get ¶

func (l *CloudRegionList) Get(i int) *CloudRegion

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*CloudRegionList) GetHREF ¶

func (l *CloudRegionList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*CloudRegionList) HREF ¶

func (l *CloudRegionList) HREF() string

HREF returns the link to the list.

func (*CloudRegionList) Items ¶

func (l *CloudRegionList) Items() []*CloudRegion

Items returns the items of the list.

func (*CloudRegionList) Kind ¶

func (l *CloudRegionList) Kind() string

Kind returns the name of the type of the object.

func (*CloudRegionList) Len ¶

func (l *CloudRegionList) Len() int

Len returns the length of the list.

func (l *CloudRegionList) Link() bool

Link returns true iif this is a link.

func (*CloudRegionList) Range ¶

func (l *CloudRegionList) Range(f func(index int, item *CloudRegion) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*CloudRegionList) SetHREF ¶

func (l *CloudRegionList) SetHREF(href string)

Items sets the items of the list.

func (*CloudRegionList) SetItems ¶

func (l *CloudRegionList) SetItems(items []*CloudRegion)

Items sets the items of the list.

func (l *CloudRegionList) SetLink(link bool)

Items sets the items of the list.

func (*CloudRegionList) Slice ¶

func (l *CloudRegionList) Slice() []*CloudRegion

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type CloudRegionListBuilder ¶

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

CloudRegionListBuilder contains the data and logic needed to build 'cloud_region' objects.

func NewCloudRegionList ¶

func NewCloudRegionList() *CloudRegionListBuilder

NewCloudRegionList creates a new builder of 'cloud_region' objects.

func (*CloudRegionListBuilder) Build ¶

func (b *CloudRegionListBuilder) Build() (list *CloudRegionList, err error)

Build creates a list of 'cloud_region' objects using the configuration stored in the builder.

func (*CloudRegionListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*CloudRegionListBuilder) Empty ¶

func (b *CloudRegionListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*CloudRegionListBuilder) Items ¶

Items sets the items of the list.

type Cluster ¶

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

Cluster represents the values of the 'cluster' type.

Definition of an _OpenShift_ cluster.

The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:

```json

{
  "cloud_provider": {
    "kind": "CloudProviderLink",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/cloud_providers/123"
  }
}

```

When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:

```json

{
  "cloud_provider": {
    "id": "123",
  }
}

```

If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.

The region attribute is mandatory when a cluster is created.

The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.

func ReadCluster ¶

func ReadCluster(iterator *jsoniter.Iterator) *Cluster

ReadCluster reads a value of the 'cluster' type from the given iterator.

func ReadClusterList ¶

func ReadClusterList(iterator *jsoniter.Iterator) []*Cluster

ReadClusterList reads list of values of the ”cluster' type from the given iterator.

func UnmarshalCluster ¶

func UnmarshalCluster(source interface{}) (object *Cluster, err error)

UnmarshalCluster reads a value of the 'cluster' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterList ¶

func UnmarshalClusterList(source interface{}) (items []*Cluster, err error)

UnmarshalClusterList reads a list of values of the 'cluster' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Cluster) API ¶

func (o *Cluster) API() *ClusterAPI

API returns the value of the 'API' attribute, or the zero value of the type if the attribute doesn't have a value.

Information about the API of the cluster.

func (*Cluster) AWS ¶

func (o *Cluster) AWS() *AWS

AWS returns the value of the 'AWS' attribute, or the zero value of the type if the attribute doesn't have a value.

Amazon Web Services settings of the cluster.

func (*Cluster) AWSInfrastructureAccessRoleGrants ¶

func (o *Cluster) AWSInfrastructureAccessRoleGrants() *v1.AWSInfrastructureAccessRoleGrantList

AWSInfrastructureAccessRoleGrants returns the value of the 'AWS_infrastructure_access_role_grants' attribute, or the zero value of the type if the attribute doesn't have a value.

List of AWS infrastructure access role grants on this cluster.

func (*Cluster) AdditionalTrustBundle ¶

func (o *Cluster) AdditionalTrustBundle() string

AdditionalTrustBundle returns the value of the 'additional_trust_bundle' attribute, or the zero value of the type if the attribute doesn't have a value.

Additional trust bundle.

func (*Cluster) Addons ¶

func (o *Cluster) Addons() *v1.AddOnInstallationList

Addons returns the value of the 'addons' attribute, or the zero value of the type if the attribute doesn't have a value.

List of add-ons on this cluster.

func (*Cluster) Autoscaler ¶

func (o *Cluster) Autoscaler() *v1.ClusterAutoscaler

Autoscaler returns the value of the 'autoscaler' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to an optional _ClusterAutoscaler_ that is coupled with the cluster.

func (*Cluster) Azure ¶

func (o *Cluster) Azure() *Azure

Azure returns the value of the 'azure' attribute, or the zero value of the type if the attribute doesn't have a value.

Microsoft Azure settings of the cluster.

func (*Cluster) BillingModel ¶

func (o *Cluster) BillingModel() BillingModel

BillingModel returns the value of the 'billing_model' attribute, or the zero value of the type if the attribute doesn't have a value.

Billing model for cluster resources.

func (*Cluster) ByoOidc ¶

func (o *Cluster) ByoOidc() *ByoOidc

ByoOidc returns the value of the 'byo_oidc' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains information about BYO OIDC.

func (*Cluster) CCS ¶

func (o *Cluster) CCS() *CCS

CCS returns the value of the 'CCS' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains configuration of a Customer Cloud Subscription cluster.

func (*Cluster) CloudProvider ¶

func (o *Cluster) CloudProvider() *v1.CloudProvider

CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the cloud provider where the cluster is installed.

func (*Cluster) Console ¶

func (o *Cluster) Console() *ClusterConsole

Console returns the value of the 'console' attribute, or the zero value of the type if the attribute doesn't have a value.

Information about the console of the cluster.

func (*Cluster) CreationTimestamp ¶

func (o *Cluster) CreationTimestamp() time.Time

CreationTimestamp returns the value of the 'creation_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.

Date and time when the cluster was initially created, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).

func (*Cluster) DNS ¶

func (o *Cluster) DNS() *DNS

DNS returns the value of the 'DNS' attribute, or the zero value of the type if the attribute doesn't have a value.

DNS settings of the cluster.

func (*Cluster) DeleteProtection ¶

func (o *Cluster) DeleteProtection() *DeleteProtection

DeleteProtection returns the value of the 'delete_protection' attribute, or the zero value of the type if the attribute doesn't have a value.

Delete protection

func (*Cluster) DisableUserWorkloadMonitoring ¶

func (o *Cluster) DisableUserWorkloadMonitoring() bool

DisableUserWorkloadMonitoring returns the value of the 'disable_user_workload_monitoring' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates whether the User workload monitoring is enabled or not It is enabled by default

func (*Cluster) DomainPrefix ¶

func (o *Cluster) DomainPrefix() string

DomainPrefix returns the value of the 'domain_prefix' attribute, or the zero value of the type if the attribute doesn't have a value.

DomainPrefix of the cluster. This prefix is optionally assigned by the user when the cluster is created. It will appear in the Cluster's domain when the cluster is provisioned.

func (*Cluster) Empty ¶

func (o *Cluster) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Cluster) EtcdEncryption ¶

func (o *Cluster) EtcdEncryption() bool

EtcdEncryption returns the value of the 'etcd_encryption' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates whether that etcd is encrypted or not. This is set only during cluster creation.

func (*Cluster) ExpirationTimestamp ¶

func (o *Cluster) ExpirationTimestamp() time.Time

ExpirationTimestamp returns the value of the 'expiration_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.

Date and time when the cluster will be automatically deleted, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt). If no timestamp is provided, the cluster will never expire.

This option is unsupported.

func (*Cluster) ExternalAuthConfig ¶

func (o *Cluster) ExternalAuthConfig() *ExternalAuthConfig

ExternalAuthConfig returns the value of the 'external_auth_config' attribute, or the zero value of the type if the attribute doesn't have a value.

External authentication configuration

func (*Cluster) ExternalConfiguration ¶

func (o *Cluster) ExternalConfiguration() *ExternalConfiguration

ExternalConfiguration returns the value of the 'external_configuration' attribute, or the zero value of the type if the attribute doesn't have a value.

ExternalConfiguration shows external configuration on the cluster.

func (*Cluster) ExternalID ¶

func (o *Cluster) ExternalID() string

ExternalID returns the value of the 'external_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

External identifier of the cluster, generated by the installer.

func (*Cluster) FIPS ¶

func (o *Cluster) FIPS() bool

FIPS returns the value of the 'FIPS' attribute, or the zero value of the type if the attribute doesn't have a value.

Create cluster that uses FIPS Validated / Modules in Process cryptographic libraries.

func (*Cluster) Flavour ¶

func (o *Cluster) Flavour() *v1.Flavour

Flavour returns the value of the 'flavour' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the _flavour_ that was used to create the cluster.

func (*Cluster) GCP ¶

func (o *Cluster) GCP() *GCP

GCP returns the value of the 'GCP' attribute, or the zero value of the type if the attribute doesn't have a value.

Google cloud platform settings of the cluster.

func (*Cluster) GCPEncryptionKey ¶

func (o *Cluster) GCPEncryptionKey() *GCPEncryptionKey

GCPEncryptionKey returns the value of the 'GCP_encryption_key' attribute, or the zero value of the type if the attribute doesn't have a value.

Key used for encryption of GCP cluster nodes.

func (*Cluster) GCPNetwork ¶

func (o *Cluster) GCPNetwork() *GCPNetwork

GCPNetwork returns the value of the 'GCP_network' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP Network.

func (*Cluster) GetAPI ¶

func (o *Cluster) GetAPI() (value *ClusterAPI, ok bool)

GetAPI returns the value of the 'API' attribute and a flag indicating if the attribute has a value.

Information about the API of the cluster.

func (*Cluster) GetAWS ¶

func (o *Cluster) GetAWS() (value *AWS, ok bool)

GetAWS returns the value of the 'AWS' attribute and a flag indicating if the attribute has a value.

Amazon Web Services settings of the cluster.

func (*Cluster) GetAWSInfrastructureAccessRoleGrants ¶

func (o *Cluster) GetAWSInfrastructureAccessRoleGrants() (value *v1.AWSInfrastructureAccessRoleGrantList, ok bool)

GetAWSInfrastructureAccessRoleGrants returns the value of the 'AWS_infrastructure_access_role_grants' attribute and a flag indicating if the attribute has a value.

List of AWS infrastructure access role grants on this cluster.

func (*Cluster) GetAdditionalTrustBundle ¶

func (o *Cluster) GetAdditionalTrustBundle() (value string, ok bool)

GetAdditionalTrustBundle returns the value of the 'additional_trust_bundle' attribute and a flag indicating if the attribute has a value.

Additional trust bundle.

func (*Cluster) GetAddons ¶

func (o *Cluster) GetAddons() (value *v1.AddOnInstallationList, ok bool)

GetAddons returns the value of the 'addons' attribute and a flag indicating if the attribute has a value.

List of add-ons on this cluster.

func (*Cluster) GetAutoscaler ¶

func (o *Cluster) GetAutoscaler() (value *v1.ClusterAutoscaler, ok bool)

GetAutoscaler returns the value of the 'autoscaler' attribute and a flag indicating if the attribute has a value.

Link to an optional _ClusterAutoscaler_ that is coupled with the cluster.

func (*Cluster) GetAzure ¶

func (o *Cluster) GetAzure() (value *Azure, ok bool)

GetAzure returns the value of the 'azure' attribute and a flag indicating if the attribute has a value.

Microsoft Azure settings of the cluster.

func (*Cluster) GetBillingModel ¶

func (o *Cluster) GetBillingModel() (value BillingModel, ok bool)

GetBillingModel returns the value of the 'billing_model' attribute and a flag indicating if the attribute has a value.

Billing model for cluster resources.

func (*Cluster) GetByoOidc ¶

func (o *Cluster) GetByoOidc() (value *ByoOidc, ok bool)

GetByoOidc returns the value of the 'byo_oidc' attribute and a flag indicating if the attribute has a value.

Contains information about BYO OIDC.

func (*Cluster) GetCCS ¶

func (o *Cluster) GetCCS() (value *CCS, ok bool)

GetCCS returns the value of the 'CCS' attribute and a flag indicating if the attribute has a value.

Contains configuration of a Customer Cloud Subscription cluster.

func (*Cluster) GetCloudProvider ¶

func (o *Cluster) GetCloudProvider() (value *v1.CloudProvider, ok bool)

GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.

Link to the cloud provider where the cluster is installed.

func (*Cluster) GetConsole ¶

func (o *Cluster) GetConsole() (value *ClusterConsole, ok bool)

GetConsole returns the value of the 'console' attribute and a flag indicating if the attribute has a value.

Information about the console of the cluster.

func (*Cluster) GetCreationTimestamp ¶

func (o *Cluster) GetCreationTimestamp() (value time.Time, ok bool)

GetCreationTimestamp returns the value of the 'creation_timestamp' attribute and a flag indicating if the attribute has a value.

Date and time when the cluster was initially created, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).

func (*Cluster) GetDNS ¶

func (o *Cluster) GetDNS() (value *DNS, ok bool)

GetDNS returns the value of the 'DNS' attribute and a flag indicating if the attribute has a value.

DNS settings of the cluster.

func (*Cluster) GetDeleteProtection ¶

func (o *Cluster) GetDeleteProtection() (value *DeleteProtection, ok bool)

GetDeleteProtection returns the value of the 'delete_protection' attribute and a flag indicating if the attribute has a value.

Delete protection

func (*Cluster) GetDisableUserWorkloadMonitoring ¶

func (o *Cluster) GetDisableUserWorkloadMonitoring() (value bool, ok bool)

GetDisableUserWorkloadMonitoring returns the value of the 'disable_user_workload_monitoring' attribute and a flag indicating if the attribute has a value.

Indicates whether the User workload monitoring is enabled or not It is enabled by default

func (*Cluster) GetDomainPrefix ¶

func (o *Cluster) GetDomainPrefix() (value string, ok bool)

GetDomainPrefix returns the value of the 'domain_prefix' attribute and a flag indicating if the attribute has a value.

DomainPrefix of the cluster. This prefix is optionally assigned by the user when the cluster is created. It will appear in the Cluster's domain when the cluster is provisioned.

func (*Cluster) GetEtcdEncryption ¶

func (o *Cluster) GetEtcdEncryption() (value bool, ok bool)

GetEtcdEncryption returns the value of the 'etcd_encryption' attribute and a flag indicating if the attribute has a value.

Indicates whether that etcd is encrypted or not. This is set only during cluster creation.

func (*Cluster) GetExpirationTimestamp ¶

func (o *Cluster) GetExpirationTimestamp() (value time.Time, ok bool)

GetExpirationTimestamp returns the value of the 'expiration_timestamp' attribute and a flag indicating if the attribute has a value.

Date and time when the cluster will be automatically deleted, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt). If no timestamp is provided, the cluster will never expire.

This option is unsupported.

func (*Cluster) GetExternalAuthConfig ¶

func (o *Cluster) GetExternalAuthConfig() (value *ExternalAuthConfig, ok bool)

GetExternalAuthConfig returns the value of the 'external_auth_config' attribute and a flag indicating if the attribute has a value.

External authentication configuration

func (*Cluster) GetExternalConfiguration ¶

func (o *Cluster) GetExternalConfiguration() (value *ExternalConfiguration, ok bool)

GetExternalConfiguration returns the value of the 'external_configuration' attribute and a flag indicating if the attribute has a value.

ExternalConfiguration shows external configuration on the cluster.

func (*Cluster) GetExternalID ¶

func (o *Cluster) GetExternalID() (value string, ok bool)

GetExternalID returns the value of the 'external_ID' attribute and a flag indicating if the attribute has a value.

External identifier of the cluster, generated by the installer.

func (*Cluster) GetFIPS ¶

func (o *Cluster) GetFIPS() (value bool, ok bool)

GetFIPS returns the value of the 'FIPS' attribute and a flag indicating if the attribute has a value.

Create cluster that uses FIPS Validated / Modules in Process cryptographic libraries.

func (*Cluster) GetFlavour ¶

func (o *Cluster) GetFlavour() (value *v1.Flavour, ok bool)

GetFlavour returns the value of the 'flavour' attribute and a flag indicating if the attribute has a value.

Link to the _flavour_ that was used to create the cluster.

func (*Cluster) GetGCP ¶

func (o *Cluster) GetGCP() (value *GCP, ok bool)

GetGCP returns the value of the 'GCP' attribute and a flag indicating if the attribute has a value.

Google cloud platform settings of the cluster.

func (*Cluster) GetGCPEncryptionKey ¶

func (o *Cluster) GetGCPEncryptionKey() (value *GCPEncryptionKey, ok bool)

GetGCPEncryptionKey returns the value of the 'GCP_encryption_key' attribute and a flag indicating if the attribute has a value.

Key used for encryption of GCP cluster nodes.

func (*Cluster) GetGCPNetwork ¶

func (o *Cluster) GetGCPNetwork() (value *GCPNetwork, ok bool)

GetGCPNetwork returns the value of the 'GCP_network' attribute and a flag indicating if the attribute has a value.

GCP Network.

func (*Cluster) GetGroups ¶

func (o *Cluster) GetGroups() (value *v1.GroupList, ok bool)

GetGroups returns the value of the 'groups' attribute and a flag indicating if the attribute has a value.

Link to the collection of groups of user of the cluster.

func (*Cluster) GetHREF ¶

func (o *Cluster) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Cluster) GetHealthState ¶

func (o *Cluster) GetHealthState() (value ClusterHealthState, ok bool)

GetHealthState returns the value of the 'health_state' attribute and a flag indicating if the attribute has a value.

HealthState indicates the overall health state of the cluster.

func (*Cluster) GetHtpasswd ¶

func (o *Cluster) GetHtpasswd() (value *HTPasswdIdentityProvider, ok bool)

GetHtpasswd returns the value of the 'htpasswd' attribute and a flag indicating if the attribute has a value.

Details for `htpasswd` identity provider.

func (*Cluster) GetHypershift ¶

func (o *Cluster) GetHypershift() (value *Hypershift, ok bool)

GetHypershift returns the value of the 'hypershift' attribute and a flag indicating if the attribute has a value.

Hypershift configuration.

func (*Cluster) GetID ¶

func (o *Cluster) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Cluster) GetIdentityProviders ¶

func (o *Cluster) GetIdentityProviders() (value *v1.IdentityProviderList, ok bool)

GetIdentityProviders returns the value of the 'identity_providers' attribute and a flag indicating if the attribute has a value.

Link to the collection of identity providers of the cluster.

func (*Cluster) GetInflightChecks ¶

func (o *Cluster) GetInflightChecks() (value *v1.InflightCheckList, ok bool)

GetInflightChecks returns the value of the 'inflight_checks' attribute and a flag indicating if the attribute has a value.

List of inflight checks on this cluster.

func (*Cluster) GetInfraID ¶

func (o *Cluster) GetInfraID() (value string, ok bool)

GetInfraID returns the value of the 'infra_ID' attribute and a flag indicating if the attribute has a value.

InfraID is used for example to name the VPCs.

func (*Cluster) GetIngresses ¶

func (o *Cluster) GetIngresses() (value *v1.IngressList, ok bool)

GetIngresses returns the value of the 'ingresses' attribute and a flag indicating if the attribute has a value.

List of ingresses on this cluster.

func (*Cluster) GetKubeletConfig ¶

func (o *Cluster) GetKubeletConfig() (value *KubeletConfig, ok bool)

GetKubeletConfig returns the value of the 'kubelet_config' attribute and a flag indicating if the attribute has a value.

Details of cluster-wide KubeletConfig

func (*Cluster) GetLoadBalancerQuota ¶

func (o *Cluster) GetLoadBalancerQuota() (value int, ok bool)

GetLoadBalancerQuota returns the value of the 'load_balancer_quota' attribute and a flag indicating if the attribute has a value.

Load Balancer quota to be assigned to the cluster.

func (*Cluster) GetMachinePools ¶

func (o *Cluster) GetMachinePools() (value *v1.MachinePoolList, ok bool)

GetMachinePools returns the value of the 'machine_pools' attribute and a flag indicating if the attribute has a value.

List of machine pools on this cluster.

func (*Cluster) GetManaged ¶

func (o *Cluster) GetManaged() (value bool, ok bool)

GetManaged returns the value of the 'managed' attribute and a flag indicating if the attribute has a value.

Flag indicating if the cluster is managed (by Red Hat) or self-managed by the user.

func (*Cluster) GetManagedService ¶

func (o *Cluster) GetManagedService() (value *ManagedService, ok bool)

GetManagedService returns the value of the 'managed_service' attribute and a flag indicating if the attribute has a value.

Contains information about Managed Service

func (*Cluster) GetMultiAZ ¶

func (o *Cluster) GetMultiAZ() (value bool, ok bool)

GetMultiAZ returns the value of the 'multi_AZ' attribute and a flag indicating if the attribute has a value.

Flag indicating if the cluster should be created with nodes in different availability zones or all the nodes in a single one randomly selected.

func (*Cluster) GetMultiArchEnabled ¶

func (o *Cluster) GetMultiArchEnabled() (value bool, ok bool)

GetMultiArchEnabled returns the value of the 'multi_arch_enabled' attribute and a flag indicating if the attribute has a value.

Indicate whether the cluster is enabled for multi arch workers

func (*Cluster) GetName ¶

func (o *Cluster) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

Name of the cluster. This name is assigned by the user when the cluster is created. This is used to uniquely identify the cluster

func (*Cluster) GetNetwork ¶

func (o *Cluster) GetNetwork() (value *Network, ok bool)

GetNetwork returns the value of the 'network' attribute and a flag indicating if the attribute has a value.

Network settings of the cluster.

func (*Cluster) GetNodeDrainGracePeriod ¶

func (o *Cluster) GetNodeDrainGracePeriod() (value *Value, ok bool)

GetNodeDrainGracePeriod returns the value of the 'node_drain_grace_period' attribute and a flag indicating if the attribute has a value.

Node drain grace period.

func (*Cluster) GetNodePools ¶

func (o *Cluster) GetNodePools() (value *v1.NodePoolList, ok bool)

GetNodePools returns the value of the 'node_pools' attribute and a flag indicating if the attribute has a value.

List of node pools on this cluster. NodePool is a scalable set of worker nodes attached to a hosted cluster.

func (*Cluster) GetNodes ¶

func (o *Cluster) GetNodes() (value *ClusterNodes, ok bool)

GetNodes returns the value of the 'nodes' attribute and a flag indicating if the attribute has a value.

Information about the nodes of the cluster.

func (*Cluster) GetOpenshiftVersion ¶

func (o *Cluster) GetOpenshiftVersion() (value string, ok bool)

GetOpenshiftVersion returns the value of the 'openshift_version' attribute and a flag indicating if the attribute has a value.

Version of _OpenShift_ installed in the cluster, for example `4.0.0-0.2`.

When retrieving a cluster this will always be reported.

When provisioning a cluster this will be ignored, as the version to deploy will be determined internally.

func (*Cluster) GetProduct ¶

func (o *Cluster) GetProduct() (value *v1.Product, ok bool)

GetProduct returns the value of the 'product' attribute and a flag indicating if the attribute has a value.

Link to the product type of this cluster.

func (*Cluster) GetProperties ¶

func (o *Cluster) GetProperties() (value map[string]string, ok bool)

GetProperties returns the value of the 'properties' attribute and a flag indicating if the attribute has a value.

User defined properties for tagging and querying.

func (*Cluster) GetProvisionShard ¶

func (o *Cluster) GetProvisionShard() (value *ProvisionShard, ok bool)

GetProvisionShard returns the value of the 'provision_shard' attribute and a flag indicating if the attribute has a value.

ProvisionShard contains the properties of the provision shard, including AWS and GCP related configurations

func (*Cluster) GetProxy ¶

func (o *Cluster) GetProxy() (value *Proxy, ok bool)

GetProxy returns the value of the 'proxy' attribute and a flag indicating if the attribute has a value.

Proxy.

func (*Cluster) GetRegion ¶

func (o *Cluster) GetRegion() (value *v1.CloudRegion, ok bool)

GetRegion returns the value of the 'region' attribute and a flag indicating if the attribute has a value.

Link to the cloud provider region where the cluster is installed.

func (*Cluster) GetRegistryConfig ¶

func (o *Cluster) GetRegistryConfig() (value *ClusterRegistryConfig, ok bool)

GetRegistryConfig returns the value of the 'registry_config' attribute and a flag indicating if the attribute has a value.

Registry configuration for the cluster

func (*Cluster) GetState ¶

func (o *Cluster) GetState() (value ClusterState, ok bool)

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

Overall state of the cluster.

func (*Cluster) GetStatus ¶

func (o *Cluster) GetStatus() (value *ClusterStatus, ok bool)

GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.

Status of cluster

func (*Cluster) GetStorageQuota ¶

func (o *Cluster) GetStorageQuota() (value *Value, ok bool)

GetStorageQuota returns the value of the 'storage_quota' attribute and a flag indicating if the attribute has a value.

Storage quota to be assigned to the cluster.

func (*Cluster) GetSubscription ¶

func (o *Cluster) GetSubscription() (value *v1.Subscription, ok bool)

GetSubscription returns the value of the 'subscription' attribute and a flag indicating if the attribute has a value.

Link to the subscription that comes from the account management service when the cluster is registered.

func (*Cluster) GetVersion ¶

func (o *Cluster) GetVersion() (value *v1.Version, ok bool)

GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.

Link to the version of _OpenShift_ that will be used to install the cluster.

func (*Cluster) Groups ¶

func (o *Cluster) Groups() *v1.GroupList

Groups returns the value of the 'groups' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the collection of groups of user of the cluster.

func (*Cluster) HREF ¶

func (o *Cluster) HREF() string

HREF returns the link to the object.

func (*Cluster) HealthState ¶

func (o *Cluster) HealthState() ClusterHealthState

HealthState returns the value of the 'health_state' attribute, or the zero value of the type if the attribute doesn't have a value.

HealthState indicates the overall health state of the cluster.

func (*Cluster) Htpasswd ¶

func (o *Cluster) Htpasswd() *HTPasswdIdentityProvider

Htpasswd returns the value of the 'htpasswd' attribute, or the zero value of the type if the attribute doesn't have a value.

Details for `htpasswd` identity provider.

func (*Cluster) Hypershift ¶

func (o *Cluster) Hypershift() *Hypershift

Hypershift returns the value of the 'hypershift' attribute, or the zero value of the type if the attribute doesn't have a value.

Hypershift configuration.

func (*Cluster) ID ¶

func (o *Cluster) ID() string

ID returns the identifier of the object.

func (*Cluster) IdentityProviders ¶

func (o *Cluster) IdentityProviders() *v1.IdentityProviderList

IdentityProviders returns the value of the 'identity_providers' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the collection of identity providers of the cluster.

func (*Cluster) InflightChecks ¶

func (o *Cluster) InflightChecks() *v1.InflightCheckList

InflightChecks returns the value of the 'inflight_checks' attribute, or the zero value of the type if the attribute doesn't have a value.

List of inflight checks on this cluster.

func (*Cluster) InfraID ¶

func (o *Cluster) InfraID() string

InfraID returns the value of the 'infra_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

InfraID is used for example to name the VPCs.

func (*Cluster) Ingresses ¶

func (o *Cluster) Ingresses() *v1.IngressList

Ingresses returns the value of the 'ingresses' attribute, or the zero value of the type if the attribute doesn't have a value.

List of ingresses on this cluster.

func (*Cluster) Kind ¶

func (o *Cluster) Kind() string

Kind returns the name of the type of the object.

func (*Cluster) KubeletConfig ¶

func (o *Cluster) KubeletConfig() *KubeletConfig

KubeletConfig returns the value of the 'kubelet_config' attribute, or the zero value of the type if the attribute doesn't have a value.

Details of cluster-wide KubeletConfig

func (o *Cluster) Link() bool

Link returns true if this is a link.

func (*Cluster) LoadBalancerQuota ¶

func (o *Cluster) LoadBalancerQuota() int

LoadBalancerQuota returns the value of the 'load_balancer_quota' attribute, or the zero value of the type if the attribute doesn't have a value.

Load Balancer quota to be assigned to the cluster.

func (*Cluster) MachinePools ¶

func (o *Cluster) MachinePools() *v1.MachinePoolList

MachinePools returns the value of the 'machine_pools' attribute, or the zero value of the type if the attribute doesn't have a value.

List of machine pools on this cluster.

func (*Cluster) Managed ¶

func (o *Cluster) Managed() bool

Managed returns the value of the 'managed' attribute, or the zero value of the type if the attribute doesn't have a value.

Flag indicating if the cluster is managed (by Red Hat) or self-managed by the user.

func (*Cluster) ManagedService ¶

func (o *Cluster) ManagedService() *ManagedService

ManagedService returns the value of the 'managed_service' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains information about Managed Service

func (*Cluster) MultiAZ ¶

func (o *Cluster) MultiAZ() bool

MultiAZ returns the value of the 'multi_AZ' attribute, or the zero value of the type if the attribute doesn't have a value.

Flag indicating if the cluster should be created with nodes in different availability zones or all the nodes in a single one randomly selected.

func (*Cluster) MultiArchEnabled ¶

func (o *Cluster) MultiArchEnabled() bool

MultiArchEnabled returns the value of the 'multi_arch_enabled' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicate whether the cluster is enabled for multi arch workers

func (*Cluster) Name ¶

func (o *Cluster) Name() string

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

Name of the cluster. This name is assigned by the user when the cluster is created. This is used to uniquely identify the cluster

func (*Cluster) Network ¶

func (o *Cluster) Network() *Network

Network returns the value of the 'network' attribute, or the zero value of the type if the attribute doesn't have a value.

Network settings of the cluster.

func (*Cluster) NodeDrainGracePeriod ¶

func (o *Cluster) NodeDrainGracePeriod() *Value

NodeDrainGracePeriod returns the value of the 'node_drain_grace_period' attribute, or the zero value of the type if the attribute doesn't have a value.

Node drain grace period.

func (*Cluster) NodePools ¶

func (o *Cluster) NodePools() *v1.NodePoolList

NodePools returns the value of the 'node_pools' attribute, or the zero value of the type if the attribute doesn't have a value.

List of node pools on this cluster. NodePool is a scalable set of worker nodes attached to a hosted cluster.

func (*Cluster) Nodes ¶

func (o *Cluster) Nodes() *ClusterNodes

Nodes returns the value of the 'nodes' attribute, or the zero value of the type if the attribute doesn't have a value.

Information about the nodes of the cluster.

func (*Cluster) OpenshiftVersion ¶

func (o *Cluster) OpenshiftVersion() string

OpenshiftVersion returns the value of the 'openshift_version' attribute, or the zero value of the type if the attribute doesn't have a value.

Version of _OpenShift_ installed in the cluster, for example `4.0.0-0.2`.

When retrieving a cluster this will always be reported.

When provisioning a cluster this will be ignored, as the version to deploy will be determined internally.

func (*Cluster) Product ¶

func (o *Cluster) Product() *v1.Product

Product returns the value of the 'product' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the product type of this cluster.

func (*Cluster) Properties ¶

func (o *Cluster) Properties() map[string]string

Properties returns the value of the 'properties' attribute, or the zero value of the type if the attribute doesn't have a value.

User defined properties for tagging and querying.

func (*Cluster) ProvisionShard ¶

func (o *Cluster) ProvisionShard() *ProvisionShard

ProvisionShard returns the value of the 'provision_shard' attribute, or the zero value of the type if the attribute doesn't have a value.

ProvisionShard contains the properties of the provision shard, including AWS and GCP related configurations

func (*Cluster) Proxy ¶

func (o *Cluster) Proxy() *Proxy

Proxy returns the value of the 'proxy' attribute, or the zero value of the type if the attribute doesn't have a value.

Proxy.

func (*Cluster) Region ¶

func (o *Cluster) Region() *v1.CloudRegion

Region returns the value of the 'region' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the cloud provider region where the cluster is installed.

func (*Cluster) RegistryConfig ¶

func (o *Cluster) RegistryConfig() *ClusterRegistryConfig

RegistryConfig returns the value of the 'registry_config' attribute, or the zero value of the type if the attribute doesn't have a value.

Registry configuration for the cluster

func (*Cluster) State ¶

func (o *Cluster) State() ClusterState

State returns the value of the 'state' attribute, or the zero value of the type if the attribute doesn't have a value.

Overall state of the cluster.

func (*Cluster) Status ¶

func (o *Cluster) Status() *ClusterStatus

Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.

Status of cluster

func (*Cluster) StorageQuota ¶

func (o *Cluster) StorageQuota() *Value

StorageQuota returns the value of the 'storage_quota' attribute, or the zero value of the type if the attribute doesn't have a value.

Storage quota to be assigned to the cluster.

func (*Cluster) Subscription ¶

func (o *Cluster) Subscription() *v1.Subscription

Subscription returns the value of the 'subscription' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the subscription that comes from the account management service when the cluster is registered.

func (*Cluster) Version ¶

func (o *Cluster) Version() *v1.Version

Version returns the value of the 'version' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the version of _OpenShift_ that will be used to install the cluster.

type ClusterAPI ¶

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

ClusterAPI represents the values of the 'cluster_API' type.

Information about the API of a cluster.

func ReadClusterAPI ¶

func ReadClusterAPI(iterator *jsoniter.Iterator) *ClusterAPI

ReadClusterAPI reads a value of the 'cluster_API' type from the given iterator.

func ReadClusterAPIList ¶

func ReadClusterAPIList(iterator *jsoniter.Iterator) []*ClusterAPI

ReadClusterAPIList reads list of values of the ”cluster_API' type from the given iterator.

func UnmarshalClusterAPI ¶

func UnmarshalClusterAPI(source interface{}) (object *ClusterAPI, err error)

UnmarshalClusterAPI reads a value of the 'cluster_API' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterAPIList ¶

func UnmarshalClusterAPIList(source interface{}) (items []*ClusterAPI, err error)

UnmarshalClusterAPIList reads a list of values of the 'cluster_API' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterAPI) Empty ¶

func (o *ClusterAPI) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterAPI) GetListening ¶

func (o *ClusterAPI) GetListening() (value ListeningMethod, ok bool)

GetListening returns the value of the 'listening' attribute and a flag indicating if the attribute has a value.

The listening method of the API server.

func (*ClusterAPI) GetURL ¶

func (o *ClusterAPI) GetURL() (value string, ok bool)

GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.

The URL of the API server of the cluster.

func (*ClusterAPI) Listening ¶

func (o *ClusterAPI) Listening() ListeningMethod

Listening returns the value of the 'listening' attribute, or the zero value of the type if the attribute doesn't have a value.

The listening method of the API server.

func (*ClusterAPI) URL ¶

func (o *ClusterAPI) URL() string

URL returns the value of the 'URL' attribute, or the zero value of the type if the attribute doesn't have a value.

The URL of the API server of the cluster.

type ClusterAPIBuilder ¶

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

ClusterAPIBuilder contains the data and logic needed to build 'cluster_API' objects.

Information about the API of a cluster.

func NewClusterAPI ¶

func NewClusterAPI() *ClusterAPIBuilder

NewClusterAPI creates a new builder of 'cluster_API' objects.

func (*ClusterAPIBuilder) Build ¶

func (b *ClusterAPIBuilder) Build() (object *ClusterAPI, err error)

Build creates a 'cluster_API' object using the configuration stored in the builder.

func (*ClusterAPIBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterAPIBuilder) Empty ¶

func (b *ClusterAPIBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterAPIBuilder) Listening ¶

Listening sets the value of the 'listening' attribute to the given value.

Cluster components listening method.

func (*ClusterAPIBuilder) URL ¶

URL sets the value of the 'URL' attribute to the given value.

type ClusterAPIList ¶

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

ClusterAPIList is a list of values of the 'cluster_API' type.

func (*ClusterAPIList) Each ¶

func (l *ClusterAPIList) Each(f func(item *ClusterAPI) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterAPIList) Empty ¶

func (l *ClusterAPIList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterAPIList) Get ¶

func (l *ClusterAPIList) Get(i int) *ClusterAPI

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterAPIList) Items ¶

func (l *ClusterAPIList) Items() []*ClusterAPI

Items returns the items of the list.

func (*ClusterAPIList) Len ¶

func (l *ClusterAPIList) Len() int

Len returns the length of the list.

func (*ClusterAPIList) Range ¶

func (l *ClusterAPIList) Range(f func(index int, item *ClusterAPI) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterAPIList) SetHREF ¶

func (l *ClusterAPIList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterAPIList) SetItems ¶

func (l *ClusterAPIList) SetItems(items []*ClusterAPI)

Items sets the items of the list.

func (l *ClusterAPIList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterAPIList) Slice ¶

func (l *ClusterAPIList) Slice() []*ClusterAPI

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ClusterAPIListBuilder ¶

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

ClusterAPIListBuilder contains the data and logic needed to build 'cluster_API' objects.

func NewClusterAPIList ¶

func NewClusterAPIList() *ClusterAPIListBuilder

NewClusterAPIList creates a new builder of 'cluster_API' objects.

func (*ClusterAPIListBuilder) Build ¶

func (b *ClusterAPIListBuilder) Build() (list *ClusterAPIList, err error)

Build creates a list of 'cluster_API' objects using the configuration stored in the builder.

func (*ClusterAPIListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterAPIListBuilder) Empty ¶

func (b *ClusterAPIListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterAPIListBuilder) Items ¶

Items sets the items of the list.

type ClusterBuilder ¶

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

ClusterBuilder contains the data and logic needed to build 'cluster' objects.

Definition of an _OpenShift_ cluster.

The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:

```json

{
  "cloud_provider": {
    "kind": "CloudProviderLink",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/cloud_providers/123"
  }
}

```

When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:

```json

{
  "cloud_provider": {
    "id": "123",
  }
}

```

If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.

The region attribute is mandatory when a cluster is created.

The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.

func NewCluster ¶

func NewCluster() *ClusterBuilder

NewCluster creates a new builder of 'cluster' objects.

func (*ClusterBuilder) API ¶

API sets the value of the 'API' attribute to the given value.

Information about the API of a cluster.

func (*ClusterBuilder) AWS ¶

func (b *ClusterBuilder) AWS(value *AWSBuilder) *ClusterBuilder

AWS sets the value of the 'AWS' attribute to the given value.

_Amazon Web Services_ specific settings of a cluster.

func (*ClusterBuilder) AWSInfrastructureAccessRoleGrants ¶

func (b *ClusterBuilder) AWSInfrastructureAccessRoleGrants(value *v1.AWSInfrastructureAccessRoleGrantListBuilder) *ClusterBuilder

AWSInfrastructureAccessRoleGrants sets the value of the 'AWS_infrastructure_access_role_grants' attribute to the given values.

func (*ClusterBuilder) AdditionalTrustBundle ¶

func (b *ClusterBuilder) AdditionalTrustBundle(value string) *ClusterBuilder

AdditionalTrustBundle sets the value of the 'additional_trust_bundle' attribute to the given value.

func (*ClusterBuilder) Addons ¶

Addons sets the value of the 'addons' attribute to the given values.

func (*ClusterBuilder) Autoscaler ¶

Autoscaler sets the value of the 'autoscaler' attribute to the given value.

Cluster-wide autoscaling configuration.

func (*ClusterBuilder) Azure ¶

func (b *ClusterBuilder) Azure(value *AzureBuilder) *ClusterBuilder

Azure sets the value of the 'azure' attribute to the given value.

Microsoft Azure settings of a cluster.

func (*ClusterBuilder) BillingModel ¶

func (b *ClusterBuilder) BillingModel(value BillingModel) *ClusterBuilder

BillingModel sets the value of the 'billing_model' attribute to the given value.

Billing model for cluster resources.

func (*ClusterBuilder) Build ¶

func (b *ClusterBuilder) Build() (object *Cluster, err error)

Build creates a 'cluster' object using the configuration stored in the builder.

func (*ClusterBuilder) ByoOidc ¶

func (b *ClusterBuilder) ByoOidc(value *ByoOidcBuilder) *ClusterBuilder

ByoOidc sets the value of the 'byo_oidc' attribute to the given value.

ByoOidc configuration.

func (*ClusterBuilder) CCS ¶

func (b *ClusterBuilder) CCS(value *CCSBuilder) *ClusterBuilder

CCS sets the value of the 'CCS' attribute to the given value.

func (*ClusterBuilder) CloudProvider ¶

func (b *ClusterBuilder) CloudProvider(value *v1.CloudProviderBuilder) *ClusterBuilder

CloudProvider sets the value of the 'cloud_provider' attribute to the given value.

Cloud provider.

func (*ClusterBuilder) Console ¶

Console sets the value of the 'console' attribute to the given value.

Information about the console of a cluster.

func (*ClusterBuilder) Copy ¶

func (b *ClusterBuilder) Copy(object *Cluster) *ClusterBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterBuilder) CreationTimestamp ¶

func (b *ClusterBuilder) CreationTimestamp(value time.Time) *ClusterBuilder

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*ClusterBuilder) DNS ¶

func (b *ClusterBuilder) DNS(value *DNSBuilder) *ClusterBuilder

DNS sets the value of the 'DNS' attribute to the given value.

DNS settings of the cluster.

func (*ClusterBuilder) DeleteProtection ¶

func (b *ClusterBuilder) DeleteProtection(value *DeleteProtectionBuilder) *ClusterBuilder

DeleteProtection sets the value of the 'delete_protection' attribute to the given value.

DeleteProtection configuration.

func (*ClusterBuilder) DisableUserWorkloadMonitoring ¶

func (b *ClusterBuilder) DisableUserWorkloadMonitoring(value bool) *ClusterBuilder

DisableUserWorkloadMonitoring sets the value of the 'disable_user_workload_monitoring' attribute to the given value.

func (*ClusterBuilder) DomainPrefix ¶

func (b *ClusterBuilder) DomainPrefix(value string) *ClusterBuilder

DomainPrefix sets the value of the 'domain_prefix' attribute to the given value.

func (*ClusterBuilder) Empty ¶

func (b *ClusterBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterBuilder) EtcdEncryption ¶

func (b *ClusterBuilder) EtcdEncryption(value bool) *ClusterBuilder

EtcdEncryption sets the value of the 'etcd_encryption' attribute to the given value.

func (*ClusterBuilder) ExpirationTimestamp ¶

func (b *ClusterBuilder) ExpirationTimestamp(value time.Time) *ClusterBuilder

ExpirationTimestamp sets the value of the 'expiration_timestamp' attribute to the given value.

func (*ClusterBuilder) ExternalAuthConfig ¶

func (b *ClusterBuilder) ExternalAuthConfig(value *ExternalAuthConfigBuilder) *ClusterBuilder

ExternalAuthConfig sets the value of the 'external_auth_config' attribute to the given value.

ExternalAuthConfig configuration

func (*ClusterBuilder) ExternalConfiguration ¶

func (b *ClusterBuilder) ExternalConfiguration(value *ExternalConfigurationBuilder) *ClusterBuilder

ExternalConfiguration sets the value of the 'external_configuration' attribute to the given value.

Representation of cluster external configuration.

func (*ClusterBuilder) ExternalID ¶

func (b *ClusterBuilder) ExternalID(value string) *ClusterBuilder

ExternalID sets the value of the 'external_ID' attribute to the given value.

func (*ClusterBuilder) FIPS ¶

func (b *ClusterBuilder) FIPS(value bool) *ClusterBuilder

FIPS sets the value of the 'FIPS' attribute to the given value.

func (*ClusterBuilder) Flavour ¶

func (b *ClusterBuilder) Flavour(value *v1.FlavourBuilder) *ClusterBuilder

Flavour sets the value of the 'flavour' attribute to the given value.

Set of predefined properties of a cluster. For example, a _huge_ flavour can be a cluster with 10 infra nodes and 1000 compute nodes.

func (*ClusterBuilder) GCP ¶

func (b *ClusterBuilder) GCP(value *GCPBuilder) *ClusterBuilder

GCP sets the value of the 'GCP' attribute to the given value.

Google cloud platform settings of a cluster.

func (*ClusterBuilder) GCPEncryptionKey ¶

func (b *ClusterBuilder) GCPEncryptionKey(value *GCPEncryptionKeyBuilder) *ClusterBuilder

GCPEncryptionKey sets the value of the 'GCP_encryption_key' attribute to the given value.

GCP Encryption Key for CCS clusters.

func (*ClusterBuilder) GCPNetwork ¶

func (b *ClusterBuilder) GCPNetwork(value *GCPNetworkBuilder) *ClusterBuilder

GCPNetwork sets the value of the 'GCP_network' attribute to the given value.

GCP Network configuration of a cluster.

func (*ClusterBuilder) Groups ¶

func (b *ClusterBuilder) Groups(value *v1.GroupListBuilder) *ClusterBuilder

Groups sets the value of the 'groups' attribute to the given values.

func (*ClusterBuilder) HREF ¶

func (b *ClusterBuilder) HREF(value string) *ClusterBuilder

HREF sets the link to the object.

func (*ClusterBuilder) HealthState ¶

func (b *ClusterBuilder) HealthState(value ClusterHealthState) *ClusterBuilder

HealthState sets the value of the 'health_state' attribute to the given value.

ClusterHealthState indicates the health of a cluster.

func (*ClusterBuilder) Htpasswd ¶

Htpasswd sets the value of the 'htpasswd' attribute to the given value.

Details for `htpasswd` identity providers.

func (*ClusterBuilder) Hypershift ¶

func (b *ClusterBuilder) Hypershift(value *HypershiftBuilder) *ClusterBuilder

Hypershift sets the value of the 'hypershift' attribute to the given value.

Hypershift configuration.

func (*ClusterBuilder) ID ¶

func (b *ClusterBuilder) ID(value string) *ClusterBuilder

ID sets the identifier of the object.

func (*ClusterBuilder) IdentityProviders ¶

func (b *ClusterBuilder) IdentityProviders(value *v1.IdentityProviderListBuilder) *ClusterBuilder

IdentityProviders sets the value of the 'identity_providers' attribute to the given values.

func (*ClusterBuilder) InflightChecks ¶

func (b *ClusterBuilder) InflightChecks(value *v1.InflightCheckListBuilder) *ClusterBuilder

InflightChecks sets the value of the 'inflight_checks' attribute to the given values.

func (*ClusterBuilder) InfraID ¶

func (b *ClusterBuilder) InfraID(value string) *ClusterBuilder

InfraID sets the value of the 'infra_ID' attribute to the given value.

func (*ClusterBuilder) Ingresses ¶

func (b *ClusterBuilder) Ingresses(value *v1.IngressListBuilder) *ClusterBuilder

Ingresses sets the value of the 'ingresses' attribute to the given values.

func (*ClusterBuilder) KubeletConfig ¶

func (b *ClusterBuilder) KubeletConfig(value *KubeletConfigBuilder) *ClusterBuilder

KubeletConfig sets the value of the 'kubelet_config' attribute to the given value.

OCM representation of KubeletConfig, exposing the fields of Kubernetes KubeletConfig that can be managed by users

func (b *ClusterBuilder) Link(value bool) *ClusterBuilder

Link sets the flag that indicates if this is a link.

func (*ClusterBuilder) LoadBalancerQuota ¶

func (b *ClusterBuilder) LoadBalancerQuota(value int) *ClusterBuilder

LoadBalancerQuota sets the value of the 'load_balancer_quota' attribute to the given value.

func (*ClusterBuilder) MachinePools ¶

func (b *ClusterBuilder) MachinePools(value *v1.MachinePoolListBuilder) *ClusterBuilder

MachinePools sets the value of the 'machine_pools' attribute to the given values.

func (*ClusterBuilder) Managed ¶

func (b *ClusterBuilder) Managed(value bool) *ClusterBuilder

Managed sets the value of the 'managed' attribute to the given value.

func (*ClusterBuilder) ManagedService ¶

func (b *ClusterBuilder) ManagedService(value *ManagedServiceBuilder) *ClusterBuilder

ManagedService sets the value of the 'managed_service' attribute to the given value.

Contains the necessary attributes to support role-based authentication on AWS.

func (*ClusterBuilder) MultiAZ ¶

func (b *ClusterBuilder) MultiAZ(value bool) *ClusterBuilder

MultiAZ sets the value of the 'multi_AZ' attribute to the given value.

func (*ClusterBuilder) MultiArchEnabled ¶

func (b *ClusterBuilder) MultiArchEnabled(value bool) *ClusterBuilder

MultiArchEnabled sets the value of the 'multi_arch_enabled' attribute to the given value.

func (*ClusterBuilder) Name ¶

func (b *ClusterBuilder) Name(value string) *ClusterBuilder

Name sets the value of the 'name' attribute to the given value.

func (*ClusterBuilder) Network ¶

func (b *ClusterBuilder) Network(value *NetworkBuilder) *ClusterBuilder

Network sets the value of the 'network' attribute to the given value.

Network configuration of a cluster.

func (*ClusterBuilder) NodeDrainGracePeriod ¶

func (b *ClusterBuilder) NodeDrainGracePeriod(value *ValueBuilder) *ClusterBuilder

NodeDrainGracePeriod sets the value of the 'node_drain_grace_period' attribute to the given value.

Numeric value and the unit used to measure it.

Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:

- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes

- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes

func (*ClusterBuilder) NodePools ¶

func (b *ClusterBuilder) NodePools(value *v1.NodePoolListBuilder) *ClusterBuilder

NodePools sets the value of the 'node_pools' attribute to the given values.

func (*ClusterBuilder) Nodes ¶

Nodes sets the value of the 'nodes' attribute to the given value.

Counts of different classes of nodes inside a cluster.

func (*ClusterBuilder) OpenshiftVersion ¶

func (b *ClusterBuilder) OpenshiftVersion(value string) *ClusterBuilder

OpenshiftVersion sets the value of the 'openshift_version' attribute to the given value.

func (*ClusterBuilder) Product ¶

func (b *ClusterBuilder) Product(value *v1.ProductBuilder) *ClusterBuilder

Product sets the value of the 'product' attribute to the given value.

Representation of an product that can be selected as a cluster type.

func (*ClusterBuilder) Properties ¶

func (b *ClusterBuilder) Properties(value map[string]string) *ClusterBuilder

Properties sets the value of the 'properties' attribute to the given value.

func (*ClusterBuilder) ProvisionShard ¶

func (b *ClusterBuilder) ProvisionShard(value *ProvisionShardBuilder) *ClusterBuilder

ProvisionShard sets the value of the 'provision_shard' attribute to the given value.

Contains the properties of the provision shard, including AWS and GCP related configurations

func (*ClusterBuilder) Proxy ¶

func (b *ClusterBuilder) Proxy(value *ProxyBuilder) *ClusterBuilder

Proxy sets the value of the 'proxy' attribute to the given value.

Proxy configuration of a cluster.

func (*ClusterBuilder) Region ¶

Region sets the value of the 'region' attribute to the given value.

Description of a region of a cloud provider.

func (*ClusterBuilder) RegistryConfig ¶

func (b *ClusterBuilder) RegistryConfig(value *ClusterRegistryConfigBuilder) *ClusterBuilder

RegistryConfig sets the value of the 'registry_config' attribute to the given value.

ClusterRegistryConfig describes the configuration of registries for the cluster. Its format reflects the OpenShift Image Configuration, for which docs are available on [docs.openshift.com](https://docs.openshift.com/container-platform/4.16/openshift_images/image-configuration.html) ```json

{
   "registry_config": {
     "registry_sources": {
       "blocked_registries": [
         "badregistry.io",
         "badregistry8.io"
       ]
     }
   }
}

```

func (*ClusterBuilder) State ¶

func (b *ClusterBuilder) State(value ClusterState) *ClusterBuilder

State sets the value of the 'state' attribute to the given value.

Overall state of a cluster.

func (*ClusterBuilder) Status ¶

Status sets the value of the 'status' attribute to the given value.

Detailed status of a cluster.

func (*ClusterBuilder) StorageQuota ¶

func (b *ClusterBuilder) StorageQuota(value *ValueBuilder) *ClusterBuilder

StorageQuota sets the value of the 'storage_quota' attribute to the given value.

Numeric value and the unit used to measure it.

Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:

- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes

- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes

func (*ClusterBuilder) Subscription ¶

func (b *ClusterBuilder) Subscription(value *v1.SubscriptionBuilder) *ClusterBuilder

Subscription sets the value of the 'subscription' attribute to the given value.

Definition of a subscription.

func (*ClusterBuilder) Version ¶

func (b *ClusterBuilder) Version(value *v1.VersionBuilder) *ClusterBuilder

Version sets the value of the 'version' attribute to the given value.

Representation of an _OpenShift_ version.

type ClusterClient ¶

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

ClusterClient is the client of the 'cluster' resource.

Manages a specific cluster.

func NewClusterClient ¶

func NewClusterClient(transport http.RoundTripper, path string) *ClusterClient

NewClusterClient creates a new client for the 'cluster' resource using the given transport to send the requests and receive the responses.

func (*ClusterClient) Delete ¶

func (c *ClusterClient) Delete() *ClusterDeleteRequest

Delete creates a request for the 'delete' method.

Deletes the cluster.

func (*ClusterClient) Get ¶

func (c *ClusterClient) Get() *ClusterGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the cluster.

func (*ClusterClient) Poll ¶

func (c *ClusterClient) Poll() *ClusterPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*ClusterClient) Status ¶ added in v0.1.458

func (c *ClusterClient) Status() *ClusterStatusClient

Status returns the target 'cluster_status' resource.

func (*ClusterClient) Update ¶

func (c *ClusterClient) Update() *ClusterUpdateRequest

Update creates a request for the 'update' method.

Updates the cluster.

type ClusterConfigurationMode ¶

type ClusterConfigurationMode string

ClusterConfigurationMode represents the values of the 'cluster_configuration_mode' enumerated type.

const (
	// Full configuration (default).
	ClusterConfigurationModeFull ClusterConfigurationMode = "full"
	// Only read configuration operations are supported.
	// The cluster can't be deleted, reshaped, configure IDPs, add/remove users, etc.
	ClusterConfigurationModeReadOnly ClusterConfigurationMode = "read_only"
)

func ReadClusterConfigurationModeList ¶

func ReadClusterConfigurationModeList(iterator *jsoniter.Iterator) []ClusterConfigurationMode

ReadClusterConfigurationModeList reads list of values of the ”cluster_configuration_mode' type from the given iterator.

func UnmarshalClusterConfigurationModeList ¶

func UnmarshalClusterConfigurationModeList(source interface{}) (items []ClusterConfigurationMode, err error)

UnmarshalClusterConfigurationModeList reads a list of values of the 'cluster_configuration_mode' type from the given source, which can be a slice of bytes, a string or a reader.

type ClusterConsole ¶

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

ClusterConsole represents the values of the 'cluster_console' type.

Information about the console of a cluster.

func ReadClusterConsole ¶

func ReadClusterConsole(iterator *jsoniter.Iterator) *ClusterConsole

ReadClusterConsole reads a value of the 'cluster_console' type from the given iterator.

func ReadClusterConsoleList ¶

func ReadClusterConsoleList(iterator *jsoniter.Iterator) []*ClusterConsole

ReadClusterConsoleList reads list of values of the ”cluster_console' type from the given iterator.

func UnmarshalClusterConsole ¶

func UnmarshalClusterConsole(source interface{}) (object *ClusterConsole, err error)

UnmarshalClusterConsole reads a value of the 'cluster_console' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterConsoleList ¶

func UnmarshalClusterConsoleList(source interface{}) (items []*ClusterConsole, err error)

UnmarshalClusterConsoleList reads a list of values of the 'cluster_console' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterConsole) Empty ¶

func (o *ClusterConsole) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterConsole) GetURL ¶

func (o *ClusterConsole) GetURL() (value string, ok bool)

GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.

The URL of the console of the cluster.

func (*ClusterConsole) URL ¶

func (o *ClusterConsole) URL() string

URL returns the value of the 'URL' attribute, or the zero value of the type if the attribute doesn't have a value.

The URL of the console of the cluster.

type ClusterConsoleBuilder ¶

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

ClusterConsoleBuilder contains the data and logic needed to build 'cluster_console' objects.

Information about the console of a cluster.

func NewClusterConsole ¶

func NewClusterConsole() *ClusterConsoleBuilder

NewClusterConsole creates a new builder of 'cluster_console' objects.

func (*ClusterConsoleBuilder) Build ¶

func (b *ClusterConsoleBuilder) Build() (object *ClusterConsole, err error)

Build creates a 'cluster_console' object using the configuration stored in the builder.

func (*ClusterConsoleBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterConsoleBuilder) Empty ¶

func (b *ClusterConsoleBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterConsoleBuilder) URL ¶

URL sets the value of the 'URL' attribute to the given value.

type ClusterConsoleList ¶

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

ClusterConsoleList is a list of values of the 'cluster_console' type.

func (*ClusterConsoleList) Each ¶

func (l *ClusterConsoleList) Each(f func(item *ClusterConsole) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterConsoleList) Empty ¶

func (l *ClusterConsoleList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterConsoleList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterConsoleList) Items ¶

func (l *ClusterConsoleList) Items() []*ClusterConsole

Items returns the items of the list.

func (*ClusterConsoleList) Len ¶

func (l *ClusterConsoleList) Len() int

Len returns the length of the list.

func (*ClusterConsoleList) Range ¶

func (l *ClusterConsoleList) Range(f func(index int, item *ClusterConsole) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterConsoleList) SetHREF ¶

func (l *ClusterConsoleList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterConsoleList) SetItems ¶

func (l *ClusterConsoleList) SetItems(items []*ClusterConsole)

Items sets the items of the list.

func (l *ClusterConsoleList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterConsoleList) Slice ¶

func (l *ClusterConsoleList) Slice() []*ClusterConsole

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ClusterConsoleListBuilder ¶

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

ClusterConsoleListBuilder contains the data and logic needed to build 'cluster_console' objects.

func NewClusterConsoleList ¶

func NewClusterConsoleList() *ClusterConsoleListBuilder

NewClusterConsoleList creates a new builder of 'cluster_console' objects.

func (*ClusterConsoleListBuilder) Build ¶

func (b *ClusterConsoleListBuilder) Build() (list *ClusterConsoleList, err error)

Build creates a list of 'cluster_console' objects using the configuration stored in the builder.

func (*ClusterConsoleListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterConsoleListBuilder) Empty ¶

func (b *ClusterConsoleListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterConsoleListBuilder) Items ¶

Items sets the items of the list.

type ClusterDeleteRequest ¶

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

ClusterDeleteRequest is the request for the 'delete' method.

func (*ClusterDeleteRequest) BestEffort ¶

func (r *ClusterDeleteRequest) BestEffort(value bool) *ClusterDeleteRequest

BestEffort sets the value of the 'best_effort' parameter.

BestEffort flag is used to check if the cluster deletion should be best-effort mode or not.

func (*ClusterDeleteRequest) DryRun ¶

DryRun sets the value of the 'dry_run' parameter.

Dry run flag is used to check if the operation can be completed, but won't delete.

func (*ClusterDeleteRequest) Header ¶

func (r *ClusterDeleteRequest) Header(name string, value interface{}) *ClusterDeleteRequest

Header adds a request header.

func (*ClusterDeleteRequest) Impersonate ¶

func (r *ClusterDeleteRequest) Impersonate(user string) *ClusterDeleteRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterDeleteRequest) Parameter ¶

func (r *ClusterDeleteRequest) Parameter(name string, value interface{}) *ClusterDeleteRequest

Parameter adds a query parameter.

func (*ClusterDeleteRequest) Send ¶

func (r *ClusterDeleteRequest) Send() (result *ClusterDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterDeleteRequest) SendContext ¶

func (r *ClusterDeleteRequest) SendContext(ctx context.Context) (result *ClusterDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClusterDeleteResponse ¶

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

ClusterDeleteResponse is the response for the 'delete' method.

func (*ClusterDeleteResponse) Error ¶

func (r *ClusterDeleteResponse) Error() *errors.Error

Error returns the response error.

func (*ClusterDeleteResponse) Header ¶

func (r *ClusterDeleteResponse) Header() http.Header

Header returns header of the response.

func (*ClusterDeleteResponse) Status ¶

func (r *ClusterDeleteResponse) Status() int

Status returns the response status code.

type ClusterGetRequest ¶

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

ClusterGetRequest is the request for the 'get' method.

func (*ClusterGetRequest) Header ¶

func (r *ClusterGetRequest) Header(name string, value interface{}) *ClusterGetRequest

Header adds a request header.

func (*ClusterGetRequest) Impersonate ¶

func (r *ClusterGetRequest) Impersonate(user string) *ClusterGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterGetRequest) Parameter ¶

func (r *ClusterGetRequest) Parameter(name string, value interface{}) *ClusterGetRequest

Parameter adds a query parameter.

func (*ClusterGetRequest) Send ¶

func (r *ClusterGetRequest) Send() (result *ClusterGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterGetRequest) SendContext ¶

func (r *ClusterGetRequest) SendContext(ctx context.Context) (result *ClusterGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClusterGetResponse ¶

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

ClusterGetResponse is the response for the 'get' method.

func (*ClusterGetResponse) Body ¶

func (r *ClusterGetResponse) Body() *Cluster

Body returns the value of the 'body' parameter.

func (*ClusterGetResponse) Error ¶

func (r *ClusterGetResponse) Error() *errors.Error

Error returns the response error.

func (*ClusterGetResponse) GetBody ¶

func (r *ClusterGetResponse) GetBody() (value *Cluster, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ClusterGetResponse) Header ¶

func (r *ClusterGetResponse) Header() http.Header

Header returns header of the response.

func (*ClusterGetResponse) Status ¶

func (r *ClusterGetResponse) Status() int

Status returns the response status code.

type ClusterHealthState ¶

type ClusterHealthState string

ClusterHealthState represents the values of the 'cluster_health_state' enumerated type.

const (
	// Cluster is Ready and healthy.
	ClusterHealthStateHealthy ClusterHealthState = "healthy"
	// Cluster is Ready and unhealthy.
	ClusterHealthStateUnhealthy ClusterHealthState = "unhealthy"
	// Cluster health is unknown.
	ClusterHealthStateUnknown ClusterHealthState = "unknown"
)

func ReadClusterHealthStateList ¶

func ReadClusterHealthStateList(iterator *jsoniter.Iterator) []ClusterHealthState

ReadClusterHealthStateList reads list of values of the ”cluster_health_state' type from the given iterator.

func UnmarshalClusterHealthStateList ¶

func UnmarshalClusterHealthStateList(source interface{}) (items []ClusterHealthState, err error)

UnmarshalClusterHealthStateList reads a list of values of the 'cluster_health_state' type from the given source, which can be a slice of bytes, a string or a reader.

type ClusterList ¶

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

ClusterList is a list of values of the 'cluster' type.

func (*ClusterList) Each ¶

func (l *ClusterList) Each(f func(item *Cluster) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterList) Empty ¶

func (l *ClusterList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterList) Get ¶

func (l *ClusterList) Get(i int) *Cluster

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterList) GetHREF ¶

func (l *ClusterList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ClusterList) HREF ¶

func (l *ClusterList) HREF() string

HREF returns the link to the list.

func (*ClusterList) Items ¶

func (l *ClusterList) Items() []*Cluster

Items returns the items of the list.

func (*ClusterList) Kind ¶

func (l *ClusterList) Kind() string

Kind returns the name of the type of the object.

func (*ClusterList) Len ¶

func (l *ClusterList) Len() int

Len returns the length of the list.

func (l *ClusterList) Link() bool

Link returns true iif this is a link.

func (*ClusterList) Range ¶

func (l *ClusterList) Range(f func(index int, item *Cluster) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterList) SetHREF ¶

func (l *ClusterList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterList) SetItems ¶

func (l *ClusterList) SetItems(items []*Cluster)

Items sets the items of the list.

func (l *ClusterList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterList) Slice ¶

func (l *ClusterList) Slice() []*Cluster

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ClusterListBuilder ¶

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

ClusterListBuilder contains the data and logic needed to build 'cluster' objects.

func NewClusterList ¶

func NewClusterList() *ClusterListBuilder

NewClusterList creates a new builder of 'cluster' objects.

func (*ClusterListBuilder) Build ¶

func (b *ClusterListBuilder) Build() (list *ClusterList, err error)

Build creates a list of 'cluster' objects using the configuration stored in the builder.

func (*ClusterListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterListBuilder) Empty ¶

func (b *ClusterListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterListBuilder) Items ¶

Items sets the items of the list.

type ClusterNodes ¶

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

ClusterNodes represents the values of the 'cluster_nodes' type.

Counts of different classes of nodes inside a cluster.

func ReadClusterNodes ¶

func ReadClusterNodes(iterator *jsoniter.Iterator) *ClusterNodes

ReadClusterNodes reads a value of the 'cluster_nodes' type from the given iterator.

func ReadClusterNodesList ¶

func ReadClusterNodesList(iterator *jsoniter.Iterator) []*ClusterNodes

ReadClusterNodesList reads list of values of the ”cluster_nodes' type from the given iterator.

func UnmarshalClusterNodes ¶

func UnmarshalClusterNodes(source interface{}) (object *ClusterNodes, err error)

UnmarshalClusterNodes reads a value of the 'cluster_nodes' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterNodesList ¶

func UnmarshalClusterNodesList(source interface{}) (items []*ClusterNodes, err error)

UnmarshalClusterNodesList reads a list of values of the 'cluster_nodes' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterNodes) AutoscaleCompute ¶

func (o *ClusterNodes) AutoscaleCompute() *MachinePoolAutoscaling

AutoscaleCompute returns the value of the 'autoscale_compute' attribute, or the zero value of the type if the attribute doesn't have a value.

Details for auto-scaling the compute machine pool. Compute and AutoscaleCompute cannot be used together.

func (*ClusterNodes) AvailabilityZones ¶

func (o *ClusterNodes) AvailabilityZones() []string

AvailabilityZones returns the value of the 'availability_zones' attribute, or the zero value of the type if the attribute doesn't have a value.

The availability zones upon which the nodes are created.

func (*ClusterNodes) Compute ¶

func (o *ClusterNodes) Compute() int

Compute returns the value of the 'compute' attribute, or the zero value of the type if the attribute doesn't have a value.

Number of compute nodes of the cluster. Compute and AutoscaleCompute cannot be used together.

func (*ClusterNodes) ComputeLabels ¶

func (o *ClusterNodes) ComputeLabels() map[string]string

ComputeLabels returns the value of the 'compute_labels' attribute, or the zero value of the type if the attribute doesn't have a value.

The labels set on the "default" compute machine pool.

func (*ClusterNodes) ComputeMachineType ¶

func (o *ClusterNodes) ComputeMachineType() *MachineType

ComputeMachineType returns the value of the 'compute_machine_type' attribute, or the zero value of the type if the attribute doesn't have a value.

The compute machine type to use, for example `r5.xlarge`.

func (*ClusterNodes) ComputeRootVolume ¶

func (o *ClusterNodes) ComputeRootVolume() *RootVolume

ComputeRootVolume returns the value of the 'compute_root_volume' attribute, or the zero value of the type if the attribute doesn't have a value.

The compute machine root volume capabilities.

func (*ClusterNodes) Empty ¶

func (o *ClusterNodes) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterNodes) GetAutoscaleCompute ¶

func (o *ClusterNodes) GetAutoscaleCompute() (value *MachinePoolAutoscaling, ok bool)

GetAutoscaleCompute returns the value of the 'autoscale_compute' attribute and a flag indicating if the attribute has a value.

Details for auto-scaling the compute machine pool. Compute and AutoscaleCompute cannot be used together.

func (*ClusterNodes) GetAvailabilityZones ¶

func (o *ClusterNodes) GetAvailabilityZones() (value []string, ok bool)

GetAvailabilityZones returns the value of the 'availability_zones' attribute and a flag indicating if the attribute has a value.

The availability zones upon which the nodes are created.

func (*ClusterNodes) GetCompute ¶

func (o *ClusterNodes) GetCompute() (value int, ok bool)

GetCompute returns the value of the 'compute' attribute and a flag indicating if the attribute has a value.

Number of compute nodes of the cluster. Compute and AutoscaleCompute cannot be used together.

func (*ClusterNodes) GetComputeLabels ¶

func (o *ClusterNodes) GetComputeLabels() (value map[string]string, ok bool)

GetComputeLabels returns the value of the 'compute_labels' attribute and a flag indicating if the attribute has a value.

The labels set on the "default" compute machine pool.

func (*ClusterNodes) GetComputeMachineType ¶

func (o *ClusterNodes) GetComputeMachineType() (value *MachineType, ok bool)

GetComputeMachineType returns the value of the 'compute_machine_type' attribute and a flag indicating if the attribute has a value.

The compute machine type to use, for example `r5.xlarge`.

func (*ClusterNodes) GetComputeRootVolume ¶

func (o *ClusterNodes) GetComputeRootVolume() (value *RootVolume, ok bool)

GetComputeRootVolume returns the value of the 'compute_root_volume' attribute and a flag indicating if the attribute has a value.

The compute machine root volume capabilities.

func (*ClusterNodes) GetInfra ¶

func (o *ClusterNodes) GetInfra() (value int, ok bool)

GetInfra returns the value of the 'infra' attribute and a flag indicating if the attribute has a value.

Number of infrastructure nodes of the cluster.

func (*ClusterNodes) GetInfraMachineType ¶

func (o *ClusterNodes) GetInfraMachineType() (value *MachineType, ok bool)

GetInfraMachineType returns the value of the 'infra_machine_type' attribute and a flag indicating if the attribute has a value.

The infra machine type to use, for example `r5.xlarge` (Optional).

func (*ClusterNodes) GetMaster ¶

func (o *ClusterNodes) GetMaster() (value int, ok bool)

GetMaster returns the value of the 'master' attribute and a flag indicating if the attribute has a value.

Number of master nodes of the cluster.

func (*ClusterNodes) GetMasterMachineType ¶

func (o *ClusterNodes) GetMasterMachineType() (value *MachineType, ok bool)

GetMasterMachineType returns the value of the 'master_machine_type' attribute and a flag indicating if the attribute has a value.

The master machine type to use, for example `r5.xlarge` (Optional).

func (*ClusterNodes) GetSecurityGroupFilters ¶

func (o *ClusterNodes) GetSecurityGroupFilters() (value []*MachinePoolSecurityGroupFilter, ok bool)

GetSecurityGroupFilters returns the value of the 'security_group_filters' attribute and a flag indicating if the attribute has a value.

List of security groups to be applied to nodes (Optional).

func (*ClusterNodes) GetTotal ¶

func (o *ClusterNodes) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' attribute and a flag indicating if the attribute has a value.

Total number of nodes of the cluster.

func (*ClusterNodes) Infra ¶

func (o *ClusterNodes) Infra() int

Infra returns the value of the 'infra' attribute, or the zero value of the type if the attribute doesn't have a value.

Number of infrastructure nodes of the cluster.

func (*ClusterNodes) InfraMachineType ¶

func (o *ClusterNodes) InfraMachineType() *MachineType

InfraMachineType returns the value of the 'infra_machine_type' attribute, or the zero value of the type if the attribute doesn't have a value.

The infra machine type to use, for example `r5.xlarge` (Optional).

func (*ClusterNodes) Master ¶

func (o *ClusterNodes) Master() int

Master returns the value of the 'master' attribute, or the zero value of the type if the attribute doesn't have a value.

Number of master nodes of the cluster.

func (*ClusterNodes) MasterMachineType ¶

func (o *ClusterNodes) MasterMachineType() *MachineType

MasterMachineType returns the value of the 'master_machine_type' attribute, or the zero value of the type if the attribute doesn't have a value.

The master machine type to use, for example `r5.xlarge` (Optional).

func (*ClusterNodes) SecurityGroupFilters ¶

func (o *ClusterNodes) SecurityGroupFilters() []*MachinePoolSecurityGroupFilter

SecurityGroupFilters returns the value of the 'security_group_filters' attribute, or the zero value of the type if the attribute doesn't have a value.

List of security groups to be applied to nodes (Optional).

func (*ClusterNodes) Total ¶

func (o *ClusterNodes) Total() int

Total returns the value of the 'total' attribute, or the zero value of the type if the attribute doesn't have a value.

Total number of nodes of the cluster.

type ClusterNodesBuilder ¶

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

ClusterNodesBuilder contains the data and logic needed to build 'cluster_nodes' objects.

Counts of different classes of nodes inside a cluster.

func NewClusterNodes ¶

func NewClusterNodes() *ClusterNodesBuilder

NewClusterNodes creates a new builder of 'cluster_nodes' objects.

func (*ClusterNodesBuilder) AutoscaleCompute ¶

AutoscaleCompute sets the value of the 'autoscale_compute' attribute to the given value.

Representation of a autoscaling in a machine pool.

func (*ClusterNodesBuilder) AvailabilityZones ¶

func (b *ClusterNodesBuilder) AvailabilityZones(values ...string) *ClusterNodesBuilder

AvailabilityZones sets the value of the 'availability_zones' attribute to the given values.

func (*ClusterNodesBuilder) Build ¶

func (b *ClusterNodesBuilder) Build() (object *ClusterNodes, err error)

Build creates a 'cluster_nodes' object using the configuration stored in the builder.

func (*ClusterNodesBuilder) Compute ¶

func (b *ClusterNodesBuilder) Compute(value int) *ClusterNodesBuilder

Compute sets the value of the 'compute' attribute to the given value.

func (*ClusterNodesBuilder) ComputeLabels ¶

func (b *ClusterNodesBuilder) ComputeLabels(value map[string]string) *ClusterNodesBuilder

ComputeLabels sets the value of the 'compute_labels' attribute to the given value.

func (*ClusterNodesBuilder) ComputeMachineType ¶

func (b *ClusterNodesBuilder) ComputeMachineType(value *MachineTypeBuilder) *ClusterNodesBuilder

ComputeMachineType sets the value of the 'compute_machine_type' attribute to the given value.

Machine type.

func (*ClusterNodesBuilder) ComputeRootVolume ¶

func (b *ClusterNodesBuilder) ComputeRootVolume(value *RootVolumeBuilder) *ClusterNodesBuilder

ComputeRootVolume sets the value of the 'compute_root_volume' attribute to the given value.

Root volume capabilities.

func (*ClusterNodesBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterNodesBuilder) Empty ¶

func (b *ClusterNodesBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterNodesBuilder) Infra ¶

func (b *ClusterNodesBuilder) Infra(value int) *ClusterNodesBuilder

Infra sets the value of the 'infra' attribute to the given value.

func (*ClusterNodesBuilder) InfraMachineType ¶

func (b *ClusterNodesBuilder) InfraMachineType(value *MachineTypeBuilder) *ClusterNodesBuilder

InfraMachineType sets the value of the 'infra_machine_type' attribute to the given value.

Machine type.

func (*ClusterNodesBuilder) Master ¶

func (b *ClusterNodesBuilder) Master(value int) *ClusterNodesBuilder

Master sets the value of the 'master' attribute to the given value.

func (*ClusterNodesBuilder) MasterMachineType ¶

func (b *ClusterNodesBuilder) MasterMachineType(value *MachineTypeBuilder) *ClusterNodesBuilder

MasterMachineType sets the value of the 'master_machine_type' attribute to the given value.

Machine type.

func (*ClusterNodesBuilder) SecurityGroupFilters ¶

SecurityGroupFilters sets the value of the 'security_group_filters' attribute to the given values.

func (*ClusterNodesBuilder) Total ¶

func (b *ClusterNodesBuilder) Total(value int) *ClusterNodesBuilder

Total sets the value of the 'total' attribute to the given value.

type ClusterNodesList ¶

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

ClusterNodesList is a list of values of the 'cluster_nodes' type.

func (*ClusterNodesList) Each ¶

func (l *ClusterNodesList) Each(f func(item *ClusterNodes) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterNodesList) Empty ¶

func (l *ClusterNodesList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterNodesList) Get ¶

func (l *ClusterNodesList) Get(i int) *ClusterNodes

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterNodesList) Items ¶

func (l *ClusterNodesList) Items() []*ClusterNodes

Items returns the items of the list.

func (*ClusterNodesList) Len ¶

func (l *ClusterNodesList) Len() int

Len returns the length of the list.

func (*ClusterNodesList) Range ¶

func (l *ClusterNodesList) Range(f func(index int, item *ClusterNodes) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterNodesList) SetHREF ¶

func (l *ClusterNodesList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterNodesList) SetItems ¶

func (l *ClusterNodesList) SetItems(items []*ClusterNodes)

Items sets the items of the list.

func (l *ClusterNodesList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterNodesList) Slice ¶

func (l *ClusterNodesList) Slice() []*ClusterNodes

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ClusterNodesListBuilder ¶

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

ClusterNodesListBuilder contains the data and logic needed to build 'cluster_nodes' objects.

func NewClusterNodesList ¶

func NewClusterNodesList() *ClusterNodesListBuilder

NewClusterNodesList creates a new builder of 'cluster_nodes' objects.

func (*ClusterNodesListBuilder) Build ¶

func (b *ClusterNodesListBuilder) Build() (list *ClusterNodesList, err error)

Build creates a list of 'cluster_nodes' objects using the configuration stored in the builder.

func (*ClusterNodesListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterNodesListBuilder) Empty ¶

func (b *ClusterNodesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterNodesListBuilder) Items ¶

Items sets the items of the list.

type ClusterPollRequest ¶

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

ClusterPollRequest is the request for the Poll method.

func (*ClusterPollRequest) Header ¶

func (r *ClusterPollRequest) Header(name string, value interface{}) *ClusterPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ClusterPollRequest) Interval ¶

func (r *ClusterPollRequest) Interval(value time.Duration) *ClusterPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ClusterPollRequest) Parameter ¶

func (r *ClusterPollRequest) Parameter(name string, value interface{}) *ClusterPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ClusterPollRequest) Predicate ¶

func (r *ClusterPollRequest) Predicate(value func(*ClusterGetResponse) bool) *ClusterPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ClusterPollRequest) StartContext ¶

func (r *ClusterPollRequest) StartContext(ctx context.Context) (response *ClusterPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ClusterPollRequest) Status ¶

func (r *ClusterPollRequest) Status(value int) *ClusterPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ClusterPollResponse ¶

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

ClusterPollResponse is the response for the Poll method.

func (*ClusterPollResponse) Body ¶

func (r *ClusterPollResponse) Body() *Cluster

Body returns the value of the 'body' parameter.

func (*ClusterPollResponse) Error ¶

func (r *ClusterPollResponse) Error() *errors.Error

Error returns the response error.

func (*ClusterPollResponse) GetBody ¶

func (r *ClusterPollResponse) GetBody() (value *Cluster, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ClusterPollResponse) Header ¶

func (r *ClusterPollResponse) Header() http.Header

Header returns header of the response.

func (*ClusterPollResponse) Status ¶

func (r *ClusterPollResponse) Status() int

Status returns the response status code.

type ClusterRegistryConfig ¶

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

ClusterRegistryConfig represents the values of the 'cluster_registry_config' type.

ClusterRegistryConfig describes the configuration of registries for the cluster. Its format reflects the OpenShift Image Configuration, for which docs are available on [docs.openshift.com](https://docs.openshift.com/container-platform/4.16/openshift_images/image-configuration.html) ```json

{
   "registry_config": {
     "registry_sources": {
       "blocked_registries": [
         "badregistry.io",
         "badregistry8.io"
       ]
     }
   }
}

```

func ReadClusterRegistryConfig ¶

func ReadClusterRegistryConfig(iterator *jsoniter.Iterator) *ClusterRegistryConfig

ReadClusterRegistryConfig reads a value of the 'cluster_registry_config' type from the given iterator.

func ReadClusterRegistryConfigList ¶

func ReadClusterRegistryConfigList(iterator *jsoniter.Iterator) []*ClusterRegistryConfig

ReadClusterRegistryConfigList reads list of values of the ”cluster_registry_config' type from the given iterator.

func UnmarshalClusterRegistryConfig ¶

func UnmarshalClusterRegistryConfig(source interface{}) (object *ClusterRegistryConfig, err error)

UnmarshalClusterRegistryConfig reads a value of the 'cluster_registry_config' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterRegistryConfigList ¶

func UnmarshalClusterRegistryConfigList(source interface{}) (items []*ClusterRegistryConfig, err error)

UnmarshalClusterRegistryConfigList reads a list of values of the 'cluster_registry_config' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterRegistryConfig) AdditionalTrustedCa ¶

func (o *ClusterRegistryConfig) AdditionalTrustedCa() map[string]string

AdditionalTrustedCa returns the value of the 'additional_trusted_ca' attribute, or the zero value of the type if the attribute doesn't have a value.

A map containing the registry hostname as the key, and the PEM-encoded certificate as the value, for each additional registry CA to trust.

func (*ClusterRegistryConfig) AllowedRegistriesForImport ¶

func (o *ClusterRegistryConfig) AllowedRegistriesForImport() []*RegistryLocation

AllowedRegistriesForImport returns the value of the 'allowed_registries_for_import' attribute, or the zero value of the type if the attribute doesn't have a value.

AllowedRegistriesForImport limits the container image registries that normal users may import images from. Set this list to the registries that you trust to contain valid Docker images and that you want applications to be able to import from. Users with permission to create Images or ImageStreamMappings via the API are not affected by this policy - typically only administrators or system integrations will have those permissions.

func (*ClusterRegistryConfig) Empty ¶

func (o *ClusterRegistryConfig) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterRegistryConfig) GetAdditionalTrustedCa ¶

func (o *ClusterRegistryConfig) GetAdditionalTrustedCa() (value map[string]string, ok bool)

GetAdditionalTrustedCa returns the value of the 'additional_trusted_ca' attribute and a flag indicating if the attribute has a value.

A map containing the registry hostname as the key, and the PEM-encoded certificate as the value, for each additional registry CA to trust.

func (*ClusterRegistryConfig) GetAllowedRegistriesForImport ¶

func (o *ClusterRegistryConfig) GetAllowedRegistriesForImport() (value []*RegistryLocation, ok bool)

GetAllowedRegistriesForImport returns the value of the 'allowed_registries_for_import' attribute and a flag indicating if the attribute has a value.

AllowedRegistriesForImport limits the container image registries that normal users may import images from. Set this list to the registries that you trust to contain valid Docker images and that you want applications to be able to import from. Users with permission to create Images or ImageStreamMappings via the API are not affected by this policy - typically only administrators or system integrations will have those permissions.

func (*ClusterRegistryConfig) GetPlatformAllowlist ¶

func (o *ClusterRegistryConfig) GetPlatformAllowlist() (value *RegistryAllowlist, ok bool)

GetPlatformAllowlist returns the value of the 'platform_allowlist' attribute and a flag indicating if the attribute has a value.

PlatformAllowlist contains a reference to a RegistryAllowlist which is a list of internal registries which needs to be whitelisted for the platform to work. It can be omitted at creation and updating and its lifecycle can be managed separately if needed.

func (*ClusterRegistryConfig) GetRegistrySources ¶

func (o *ClusterRegistryConfig) GetRegistrySources() (value *RegistrySources, ok bool)

GetRegistrySources returns the value of the 'registry_sources' attribute and a flag indicating if the attribute has a value.

RegistrySources contains configuration that determines how the container runtime should treat individual registries when accessing images for builds+pods. (e.g. whether or not to allow insecure access). It does not contain configuration for the internal cluster registry.

func (*ClusterRegistryConfig) PlatformAllowlist ¶

func (o *ClusterRegistryConfig) PlatformAllowlist() *RegistryAllowlist

PlatformAllowlist returns the value of the 'platform_allowlist' attribute, or the zero value of the type if the attribute doesn't have a value.

PlatformAllowlist contains a reference to a RegistryAllowlist which is a list of internal registries which needs to be whitelisted for the platform to work. It can be omitted at creation and updating and its lifecycle can be managed separately if needed.

func (*ClusterRegistryConfig) RegistrySources ¶

func (o *ClusterRegistryConfig) RegistrySources() *RegistrySources

RegistrySources returns the value of the 'registry_sources' attribute, or the zero value of the type if the attribute doesn't have a value.

RegistrySources contains configuration that determines how the container runtime should treat individual registries when accessing images for builds+pods. (e.g. whether or not to allow insecure access). It does not contain configuration for the internal cluster registry.

type ClusterRegistryConfigBuilder ¶

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

ClusterRegistryConfigBuilder contains the data and logic needed to build 'cluster_registry_config' objects.

ClusterRegistryConfig describes the configuration of registries for the cluster. Its format reflects the OpenShift Image Configuration, for which docs are available on [docs.openshift.com](https://docs.openshift.com/container-platform/4.16/openshift_images/image-configuration.html) ```json

{
   "registry_config": {
     "registry_sources": {
       "blocked_registries": [
         "badregistry.io",
         "badregistry8.io"
       ]
     }
   }
}

```

func NewClusterRegistryConfig ¶

func NewClusterRegistryConfig() *ClusterRegistryConfigBuilder

NewClusterRegistryConfig creates a new builder of 'cluster_registry_config' objects.

func (*ClusterRegistryConfigBuilder) AdditionalTrustedCa ¶

func (b *ClusterRegistryConfigBuilder) AdditionalTrustedCa(value map[string]string) *ClusterRegistryConfigBuilder

AdditionalTrustedCa sets the value of the 'additional_trusted_ca' attribute to the given value.

func (*ClusterRegistryConfigBuilder) AllowedRegistriesForImport ¶

func (b *ClusterRegistryConfigBuilder) AllowedRegistriesForImport(values ...*RegistryLocationBuilder) *ClusterRegistryConfigBuilder

AllowedRegistriesForImport sets the value of the 'allowed_registries_for_import' attribute to the given values.

func (*ClusterRegistryConfigBuilder) Build ¶

func (b *ClusterRegistryConfigBuilder) Build() (object *ClusterRegistryConfig, err error)

Build creates a 'cluster_registry_config' object using the configuration stored in the builder.

func (*ClusterRegistryConfigBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterRegistryConfigBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterRegistryConfigBuilder) PlatformAllowlist ¶

PlatformAllowlist sets the value of the 'platform_allowlist' attribute to the given value.

RegistryAllowlist represents a single registry allowlist.

func (*ClusterRegistryConfigBuilder) RegistrySources ¶

RegistrySources sets the value of the 'registry_sources' attribute to the given value.

RegistrySources contains configuration that determines how the container runtime should treat individual registries when accessing images for builds and pods. For instance, whether or not to allow insecure access. It does not contain configuration for the internal cluster registry.

type ClusterRegistryConfigList ¶

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

ClusterRegistryConfigList is a list of values of the 'cluster_registry_config' type.

func (*ClusterRegistryConfigList) Each ¶

func (l *ClusterRegistryConfigList) Each(f func(item *ClusterRegistryConfig) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterRegistryConfigList) Empty ¶

func (l *ClusterRegistryConfigList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterRegistryConfigList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterRegistryConfigList) Items ¶

Items returns the items of the list.

func (*ClusterRegistryConfigList) Len ¶

func (l *ClusterRegistryConfigList) Len() int

Len returns the length of the list.

func (*ClusterRegistryConfigList) Range ¶

func (l *ClusterRegistryConfigList) Range(f func(index int, item *ClusterRegistryConfig) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterRegistryConfigList) SetHREF ¶

func (l *ClusterRegistryConfigList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterRegistryConfigList) SetItems ¶

func (l *ClusterRegistryConfigList) SetItems(items []*ClusterRegistryConfig)

Items sets the items of the list.

func (l *ClusterRegistryConfigList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterRegistryConfigList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ClusterRegistryConfigListBuilder ¶

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

ClusterRegistryConfigListBuilder contains the data and logic needed to build 'cluster_registry_config' objects.

func NewClusterRegistryConfigList ¶

func NewClusterRegistryConfigList() *ClusterRegistryConfigListBuilder

NewClusterRegistryConfigList creates a new builder of 'cluster_registry_config' objects.

func (*ClusterRegistryConfigListBuilder) Build ¶

Build creates a list of 'cluster_registry_config' objects using the configuration stored in the builder.

func (*ClusterRegistryConfigListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterRegistryConfigListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ClusterRegistryConfigListBuilder) Items ¶

Items sets the items of the list.

type ClusterState ¶

type ClusterState string

ClusterState represents the values of the 'cluster_state' enumerated type.

const (
	// Error during installation.
	ClusterStateError ClusterState = "error"
	// The cluster will consume marginal cloud provider infrastructure but will be counted for quota.
	ClusterStateHibernating ClusterState = "hibernating"
	// The cluster is still being installed.
	ClusterStateInstalling ClusterState = "installing"
	// The cluster is pending resources before being provisioned.
	ClusterStatePending ClusterState = "pending"
	// The cluster is moving from 'Ready' state to 'Hibernating'.
	ClusterStatePoweringDown ClusterState = "powering_down"
	// The cluster is ready to use.
	ClusterStateReady ClusterState = "ready"
	// The cluster is moving from 'Hibernating' state to 'Ready'.
	ClusterStateResuming ClusterState = "resuming"
	// The cluster is being uninstalled.
	ClusterStateUninstalling ClusterState = "uninstalling"
	// The state of the cluster is unknown.
	ClusterStateUnknown ClusterState = "unknown"
	// The cluster is validating user input.
	ClusterStateValidating ClusterState = "validating"
	// The cluster is waiting for user action.
	ClusterStateWaiting ClusterState = "waiting"
)

func ReadClusterStateList ¶

func ReadClusterStateList(iterator *jsoniter.Iterator) []ClusterState

ReadClusterStateList reads list of values of the ”cluster_state' type from the given iterator.

func UnmarshalClusterStateList ¶

func UnmarshalClusterStateList(source interface{}) (items []ClusterState, err error)

UnmarshalClusterStateList reads a list of values of the 'cluster_state' type from the given source, which can be a slice of bytes, a string or a reader.

type ClusterStatus ¶

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

ClusterStatus represents the values of the 'cluster_status' type.

Detailed status of a cluster.

func ReadClusterStatus ¶

func ReadClusterStatus(iterator *jsoniter.Iterator) *ClusterStatus

ReadClusterStatus reads a value of the 'cluster_status' type from the given iterator.

func ReadClusterStatusList ¶

func ReadClusterStatusList(iterator *jsoniter.Iterator) []*ClusterStatus

ReadClusterStatusList reads list of values of the ”cluster_status' type from the given iterator.

func UnmarshalClusterStatus ¶

func UnmarshalClusterStatus(source interface{}) (object *ClusterStatus, err error)

UnmarshalClusterStatus reads a value of the 'cluster_status' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterStatusList ¶

func UnmarshalClusterStatusList(source interface{}) (items []*ClusterStatus, err error)

UnmarshalClusterStatusList reads a list of values of the 'cluster_status' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterStatus) ConfigurationMode ¶

func (o *ClusterStatus) ConfigurationMode() ClusterConfigurationMode

ConfigurationMode returns the value of the 'configuration_mode' attribute, or the zero value of the type if the attribute doesn't have a value.

Configuration mode

func (*ClusterStatus) CurrentCompute ¶

func (o *ClusterStatus) CurrentCompute() int

CurrentCompute returns the value of the 'current_compute' attribute, or the zero value of the type if the attribute doesn't have a value.

Current Replicas available for a Hosted Cluster

func (*ClusterStatus) DNSReady ¶

func (o *ClusterStatus) DNSReady() bool

DNSReady returns the value of the 'DNS_ready' attribute, or the zero value of the type if the attribute doesn't have a value.

DNSReady from Provisioner

func (*ClusterStatus) Description ¶

func (o *ClusterStatus) Description() string

Description returns the value of the 'description' attribute, or the zero value of the type if the attribute doesn't have a value.

Detailed description of the cluster status.

func (*ClusterStatus) Empty ¶

func (o *ClusterStatus) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterStatus) GetConfigurationMode ¶

func (o *ClusterStatus) GetConfigurationMode() (value ClusterConfigurationMode, ok bool)

GetConfigurationMode returns the value of the 'configuration_mode' attribute and a flag indicating if the attribute has a value.

Configuration mode

func (*ClusterStatus) GetCurrentCompute ¶

func (o *ClusterStatus) GetCurrentCompute() (value int, ok bool)

GetCurrentCompute returns the value of the 'current_compute' attribute and a flag indicating if the attribute has a value.

Current Replicas available for a Hosted Cluster

func (*ClusterStatus) GetDNSReady ¶

func (o *ClusterStatus) GetDNSReady() (value bool, ok bool)

GetDNSReady returns the value of the 'DNS_ready' attribute and a flag indicating if the attribute has a value.

DNSReady from Provisioner

func (*ClusterStatus) GetDescription ¶

func (o *ClusterStatus) GetDescription() (value string, ok bool)

GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.

Detailed description of the cluster status.

func (*ClusterStatus) GetHREF ¶

func (o *ClusterStatus) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ClusterStatus) GetID ¶

func (o *ClusterStatus) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ClusterStatus) GetLimitedSupportReasonCount ¶

func (o *ClusterStatus) GetLimitedSupportReasonCount() (value int, ok bool)

GetLimitedSupportReasonCount returns the value of the 'limited_support_reason_count' attribute and a flag indicating if the attribute has a value.

Limited Support Reason Count

func (*ClusterStatus) GetOIDCReady ¶

func (o *ClusterStatus) GetOIDCReady() (value bool, ok bool)

GetOIDCReady returns the value of the 'OIDC_ready' attribute and a flag indicating if the attribute has a value.

OIDCReady from user configuration.

func (*ClusterStatus) GetProvisionErrorCode ¶

func (o *ClusterStatus) GetProvisionErrorCode() (value string, ok bool)

GetProvisionErrorCode returns the value of the 'provision_error_code' attribute and a flag indicating if the attribute has a value.

Provisioning Error Code

func (*ClusterStatus) GetProvisionErrorMessage ¶

func (o *ClusterStatus) GetProvisionErrorMessage() (value string, ok bool)

GetProvisionErrorMessage returns the value of the 'provision_error_message' attribute and a flag indicating if the attribute has a value.

Provisioning Error Message

func (*ClusterStatus) GetState ¶

func (o *ClusterStatus) GetState() (value ClusterState, ok bool)

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

The overall state of the cluster.

func (*ClusterStatus) HREF ¶

func (o *ClusterStatus) HREF() string

HREF returns the link to the object.

func (*ClusterStatus) ID ¶

func (o *ClusterStatus) ID() string

ID returns the identifier of the object.

func (*ClusterStatus) Kind ¶

func (o *ClusterStatus) Kind() string

Kind returns the name of the type of the object.

func (*ClusterStatus) LimitedSupportReasonCount ¶

func (o *ClusterStatus) LimitedSupportReasonCount() int

LimitedSupportReasonCount returns the value of the 'limited_support_reason_count' attribute, or the zero value of the type if the attribute doesn't have a value.

Limited Support Reason Count

func (o *ClusterStatus) Link() bool

Link returns true if this is a link.

func (*ClusterStatus) OIDCReady ¶

func (o *ClusterStatus) OIDCReady() bool

OIDCReady returns the value of the 'OIDC_ready' attribute, or the zero value of the type if the attribute doesn't have a value.

OIDCReady from user configuration.

func (*ClusterStatus) ProvisionErrorCode ¶

func (o *ClusterStatus) ProvisionErrorCode() string

ProvisionErrorCode returns the value of the 'provision_error_code' attribute, or the zero value of the type if the attribute doesn't have a value.

Provisioning Error Code

func (*ClusterStatus) ProvisionErrorMessage ¶

func (o *ClusterStatus) ProvisionErrorMessage() string

ProvisionErrorMessage returns the value of the 'provision_error_message' attribute, or the zero value of the type if the attribute doesn't have a value.

Provisioning Error Message

func (*ClusterStatus) State ¶

func (o *ClusterStatus) State() ClusterState

State returns the value of the 'state' attribute, or the zero value of the type if the attribute doesn't have a value.

The overall state of the cluster.

type ClusterStatusBuilder ¶

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

ClusterStatusBuilder contains the data and logic needed to build 'cluster_status' objects.

Detailed status of a cluster.

func NewClusterStatus ¶

func NewClusterStatus() *ClusterStatusBuilder

NewClusterStatus creates a new builder of 'cluster_status' objects.

func (*ClusterStatusBuilder) Build ¶

func (b *ClusterStatusBuilder) Build() (object *ClusterStatus, err error)

Build creates a 'cluster_status' object using the configuration stored in the builder.

func (*ClusterStatusBuilder) ConfigurationMode ¶

ConfigurationMode sets the value of the 'configuration_mode' attribute to the given value.

Configuration mode of a cluster.

func (*ClusterStatusBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterStatusBuilder) CurrentCompute ¶

func (b *ClusterStatusBuilder) CurrentCompute(value int) *ClusterStatusBuilder

CurrentCompute sets the value of the 'current_compute' attribute to the given value.

func (*ClusterStatusBuilder) DNSReady ¶

func (b *ClusterStatusBuilder) DNSReady(value bool) *ClusterStatusBuilder

DNSReady sets the value of the 'DNS_ready' attribute to the given value.

func (*ClusterStatusBuilder) Description ¶

func (b *ClusterStatusBuilder) Description(value string) *ClusterStatusBuilder

Description sets the value of the 'description' attribute to the given value.

func (*ClusterStatusBuilder) Empty ¶

func (b *ClusterStatusBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterStatusBuilder) HREF ¶

HREF sets the link to the object.

func (*ClusterStatusBuilder) ID ¶

ID sets the identifier of the object.

func (*ClusterStatusBuilder) LimitedSupportReasonCount ¶

func (b *ClusterStatusBuilder) LimitedSupportReasonCount(value int) *ClusterStatusBuilder

LimitedSupportReasonCount sets the value of the 'limited_support_reason_count' attribute to the given value.

Link sets the flag that indicates if this is a link.

func (*ClusterStatusBuilder) OIDCReady ¶

func (b *ClusterStatusBuilder) OIDCReady(value bool) *ClusterStatusBuilder

OIDCReady sets the value of the 'OIDC_ready' attribute to the given value.

func (*ClusterStatusBuilder) ProvisionErrorCode ¶

func (b *ClusterStatusBuilder) ProvisionErrorCode(value string) *ClusterStatusBuilder

ProvisionErrorCode sets the value of the 'provision_error_code' attribute to the given value.

func (*ClusterStatusBuilder) ProvisionErrorMessage ¶

func (b *ClusterStatusBuilder) ProvisionErrorMessage(value string) *ClusterStatusBuilder

ProvisionErrorMessage sets the value of the 'provision_error_message' attribute to the given value.

func (*ClusterStatusBuilder) State ¶

State sets the value of the 'state' attribute to the given value.

Overall state of a cluster.

type ClusterStatusClient ¶ added in v0.1.458

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

ClusterStatusClient is the client of the 'cluster_status' resource.

Provides detailed information about the status of an specific cluster.

func NewClusterStatusClient ¶ added in v0.1.458

func NewClusterStatusClient(transport http.RoundTripper, path string) *ClusterStatusClient

NewClusterStatusClient creates a new client for the 'cluster_status' resource using the given transport to send the requests and receive the responses.

func (*ClusterStatusClient) Get ¶ added in v0.1.458

Get creates a request for the 'get' method.

func (*ClusterStatusClient) Poll ¶ added in v0.1.458

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type ClusterStatusGetRequest ¶ added in v0.1.458

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

ClusterStatusGetRequest is the request for the 'get' method.

func (*ClusterStatusGetRequest) Header ¶ added in v0.1.458

func (r *ClusterStatusGetRequest) Header(name string, value interface{}) *ClusterStatusGetRequest

Header adds a request header.

func (*ClusterStatusGetRequest) Impersonate ¶ added in v0.1.458

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterStatusGetRequest) Parameter ¶ added in v0.1.458

func (r *ClusterStatusGetRequest) Parameter(name string, value interface{}) *ClusterStatusGetRequest

Parameter adds a query parameter.

func (*ClusterStatusGetRequest) Send ¶ added in v0.1.458

func (r *ClusterStatusGetRequest) Send() (result *ClusterStatusGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterStatusGetRequest) SendContext ¶ added in v0.1.458

func (r *ClusterStatusGetRequest) SendContext(ctx context.Context) (result *ClusterStatusGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClusterStatusGetResponse ¶ added in v0.1.458

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

ClusterStatusGetResponse is the response for the 'get' method.

func (*ClusterStatusGetResponse) Body ¶ added in v0.1.458

Body returns the value of the 'body' parameter.

func (*ClusterStatusGetResponse) Error ¶ added in v0.1.458

Error returns the response error.

func (*ClusterStatusGetResponse) GetBody ¶ added in v0.1.458

func (r *ClusterStatusGetResponse) GetBody() (value *ClusterStatus, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ClusterStatusGetResponse) Header ¶ added in v0.1.458

func (r *ClusterStatusGetResponse) Header() http.Header

Header returns header of the response.

func (*ClusterStatusGetResponse) Status ¶ added in v0.1.458

func (r *ClusterStatusGetResponse) Status() int

Status returns the response status code.

type ClusterStatusList ¶

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

ClusterStatusList is a list of values of the 'cluster_status' type.

func (*ClusterStatusList) Each ¶

func (l *ClusterStatusList) Each(f func(item *ClusterStatus) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterStatusList) Empty ¶

func (l *ClusterStatusList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterStatusList) Get ¶

func (l *ClusterStatusList) Get(i int) *ClusterStatus

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterStatusList) GetHREF ¶

func (l *ClusterStatusList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ClusterStatusList) HREF ¶

func (l *ClusterStatusList) HREF() string

HREF returns the link to the list.

func (*ClusterStatusList) Items ¶

func (l *ClusterStatusList) Items() []*ClusterStatus

Items returns the items of the list.

func (*ClusterStatusList) Kind ¶

func (l *ClusterStatusList) Kind() string

Kind returns the name of the type of the object.

func (*ClusterStatusList) Len ¶

func (l *ClusterStatusList) Len() int

Len returns the length of the list.

func (l *ClusterStatusList) Link() bool

Link returns true iif this is a link.

func (*ClusterStatusList) Range ¶

func (l *ClusterStatusList) Range(f func(index int, item *ClusterStatus) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterStatusList) SetHREF ¶

func (l *ClusterStatusList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterStatusList) SetItems ¶

func (l *ClusterStatusList) SetItems(items []*ClusterStatus)

Items sets the items of the list.

func (l *ClusterStatusList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterStatusList) Slice ¶

func (l *ClusterStatusList) Slice() []*ClusterStatus

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ClusterStatusListBuilder ¶

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

ClusterStatusListBuilder contains the data and logic needed to build 'cluster_status' objects.

func NewClusterStatusList ¶

func NewClusterStatusList() *ClusterStatusListBuilder

NewClusterStatusList creates a new builder of 'cluster_status' objects.

func (*ClusterStatusListBuilder) Build ¶

func (b *ClusterStatusListBuilder) Build() (list *ClusterStatusList, err error)

Build creates a list of 'cluster_status' objects using the configuration stored in the builder.

func (*ClusterStatusListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterStatusListBuilder) Empty ¶

func (b *ClusterStatusListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterStatusListBuilder) Items ¶

Items sets the items of the list.

type ClusterStatusPollRequest ¶ added in v0.1.458

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

ClusterStatusPollRequest is the request for the Poll method.

func (*ClusterStatusPollRequest) Header ¶ added in v0.1.458

func (r *ClusterStatusPollRequest) Header(name string, value interface{}) *ClusterStatusPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ClusterStatusPollRequest) Interval ¶ added in v0.1.458

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ClusterStatusPollRequest) Parameter ¶ added in v0.1.458

func (r *ClusterStatusPollRequest) Parameter(name string, value interface{}) *ClusterStatusPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ClusterStatusPollRequest) Predicate ¶ added in v0.1.458

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ClusterStatusPollRequest) StartContext ¶ added in v0.1.458

func (r *ClusterStatusPollRequest) StartContext(ctx context.Context) (response *ClusterStatusPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ClusterStatusPollRequest) Status ¶ added in v0.1.458

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ClusterStatusPollResponse ¶ added in v0.1.458

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

ClusterStatusPollResponse is the response for the Poll method.

func (*ClusterStatusPollResponse) Body ¶ added in v0.1.458

Body returns the value of the 'body' parameter.

func (*ClusterStatusPollResponse) Error ¶ added in v0.1.458

Error returns the response error.

func (*ClusterStatusPollResponse) GetBody ¶ added in v0.1.458

func (r *ClusterStatusPollResponse) GetBody() (value *ClusterStatus, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ClusterStatusPollResponse) Header ¶ added in v0.1.458

Header returns header of the response.

func (*ClusterStatusPollResponse) Status ¶ added in v0.1.458

func (r *ClusterStatusPollResponse) Status() int

Status returns the response status code.

type ClusterUpdateRequest ¶

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

ClusterUpdateRequest is the request for the 'update' method.

func (*ClusterUpdateRequest) Body ¶

Body sets the value of the 'body' parameter.

func (*ClusterUpdateRequest) Header ¶

func (r *ClusterUpdateRequest) Header(name string, value interface{}) *ClusterUpdateRequest

Header adds a request header.

func (*ClusterUpdateRequest) Impersonate ¶

func (r *ClusterUpdateRequest) Impersonate(user string) *ClusterUpdateRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterUpdateRequest) Parameter ¶

func (r *ClusterUpdateRequest) Parameter(name string, value interface{}) *ClusterUpdateRequest

Parameter adds a query parameter.

func (*ClusterUpdateRequest) Send ¶

func (r *ClusterUpdateRequest) Send() (result *ClusterUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterUpdateRequest) SendContext ¶

func (r *ClusterUpdateRequest) SendContext(ctx context.Context) (result *ClusterUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClusterUpdateResponse ¶

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

ClusterUpdateResponse is the response for the 'update' method.

func (*ClusterUpdateResponse) Body ¶

func (r *ClusterUpdateResponse) Body() *Cluster

Body returns the value of the 'body' parameter.

func (*ClusterUpdateResponse) Error ¶

func (r *ClusterUpdateResponse) Error() *errors.Error

Error returns the response error.

func (*ClusterUpdateResponse) GetBody ¶

func (r *ClusterUpdateResponse) GetBody() (value *Cluster, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ClusterUpdateResponse) Header ¶

func (r *ClusterUpdateResponse) Header() http.Header

Header returns header of the response.

func (*ClusterUpdateResponse) Status ¶

func (r *ClusterUpdateResponse) Status() int

Status returns the response status code.

type ClustersAddRequest ¶

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

ClustersAddRequest is the request for the 'add' method.

func (*ClustersAddRequest) Body ¶

Body sets the value of the 'body' parameter.

Description of the cluster.

func (*ClustersAddRequest) Header ¶

func (r *ClustersAddRequest) Header(name string, value interface{}) *ClustersAddRequest

Header adds a request header.

func (*ClustersAddRequest) Impersonate ¶

func (r *ClustersAddRequest) Impersonate(user string) *ClustersAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClustersAddRequest) Parameter ¶

func (r *ClustersAddRequest) Parameter(name string, value interface{}) *ClustersAddRequest

Parameter adds a query parameter.

func (*ClustersAddRequest) Send ¶

func (r *ClustersAddRequest) Send() (result *ClustersAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClustersAddRequest) SendContext ¶

func (r *ClustersAddRequest) SendContext(ctx context.Context) (result *ClustersAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClustersAddResponse ¶

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

ClustersAddResponse is the response for the 'add' method.

func (*ClustersAddResponse) Body ¶

func (r *ClustersAddResponse) Body() *Cluster

Body returns the value of the 'body' parameter.

Description of the cluster.

func (*ClustersAddResponse) Error ¶

func (r *ClustersAddResponse) Error() *errors.Error

Error returns the response error.

func (*ClustersAddResponse) GetBody ¶

func (r *ClustersAddResponse) GetBody() (value *Cluster, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the cluster.

func (*ClustersAddResponse) Header ¶

func (r *ClustersAddResponse) Header() http.Header

Header returns header of the response.

func (*ClustersAddResponse) Status ¶

func (r *ClustersAddResponse) Status() int

Status returns the response status code.

type ClustersClient ¶

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

ClustersClient is the client of the 'clusters' resource.

Manages the collection of aro_hcp clusters.

func NewClustersClient ¶

func NewClustersClient(transport http.RoundTripper, path string) *ClustersClient

NewClustersClient creates a new client for the 'clusters' resource using the given transport to send the requests and receive the responses.

func (*ClustersClient) Add ¶

Add creates a request for the 'add' method.

Provision a new cluster and add it to the collection of clusters.

See the `register_cluster` method for adding an existing cluster.

func (*ClustersClient) Cluster ¶

func (c *ClustersClient) Cluster(id string) *ClusterClient

Cluster returns the target 'cluster' resource for the given identifier.

Returns a reference to the service that manages an specific cluster.

func (*ClustersClient) List ¶

List creates a request for the 'list' method.

Retrieves the list of clusters.

type ClustersListRequest ¶

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

ClustersListRequest is the request for the 'list' method.

func (*ClustersListRequest) Header ¶

func (r *ClustersListRequest) Header(name string, value interface{}) *ClustersListRequest

Header adds a request header.

func (*ClustersListRequest) Impersonate ¶

func (r *ClustersListRequest) Impersonate(user string) *ClustersListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClustersListRequest) Order ¶

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the cluster instead of the names of the columns of a table. For example, in order to sort the clusters descending by region identifier the value should be:

```sql region.id desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*ClustersListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ClustersListRequest) Parameter ¶

func (r *ClustersListRequest) Parameter(name string, value interface{}) *ClustersListRequest

Parameter adds a query parameter.

func (*ClustersListRequest) Search ¶

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the cluster instead of the names of the columns of a table. For example, in order to retrieve all the clusters with a name starting with `my` in the `us-east-1` region the value should be:

```sql name like 'my%' and region.id = 'us-east-1' ```

If the parameter isn't provided, or if the value is empty, then all the clusters that the user has permission to see will be returned.

func (*ClustersListRequest) Send ¶

func (r *ClustersListRequest) Send() (result *ClustersListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClustersListRequest) SendContext ¶

func (r *ClustersListRequest) SendContext(ctx context.Context) (result *ClustersListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*ClustersListRequest) Size ¶

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type ClustersListResponse ¶

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

ClustersListResponse is the response for the 'list' method.

func (*ClustersListResponse) Error ¶

func (r *ClustersListResponse) Error() *errors.Error

Error returns the response error.

func (*ClustersListResponse) GetItems ¶

func (r *ClustersListResponse) GetItems() (value *ClusterList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of clusters.

func (*ClustersListResponse) GetPage ¶

func (r *ClustersListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*ClustersListResponse) GetSize ¶

func (r *ClustersListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*ClustersListResponse) GetTotal ¶

func (r *ClustersListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*ClustersListResponse) Header ¶

func (r *ClustersListResponse) Header() http.Header

Header returns header of the response.

func (*ClustersListResponse) Items ¶

func (r *ClustersListResponse) Items() *ClusterList

Items returns the value of the 'items' parameter.

Retrieved list of clusters.

func (*ClustersListResponse) Page ¶

func (r *ClustersListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ClustersListResponse) Size ¶

func (r *ClustersListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*ClustersListResponse) Status ¶

func (r *ClustersListResponse) Status() int

Status returns the response status code.

func (*ClustersListResponse) Total ¶

func (r *ClustersListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type DNS ¶

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

DNS represents the values of the 'DNS' type.

DNS settings of the cluster.

func ReadDNS ¶

func ReadDNS(iterator *jsoniter.Iterator) *DNS

ReadDNS reads a value of the 'DNS' type from the given iterator.

func ReadDNSList ¶

func ReadDNSList(iterator *jsoniter.Iterator) []*DNS

ReadDNSList reads list of values of the ”DNS' type from the given iterator.

func UnmarshalDNS ¶

func UnmarshalDNS(source interface{}) (object *DNS, err error)

UnmarshalDNS reads a value of the 'DNS' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalDNSList ¶

func UnmarshalDNSList(source interface{}) (items []*DNS, err error)

UnmarshalDNSList reads a list of values of the 'DNS' type from the given source, which can be a slice of bytes, a string or a reader.

func (*DNS) BaseDomain ¶

func (o *DNS) BaseDomain() string

BaseDomain returns the value of the 'base_domain' attribute, or the zero value of the type if the attribute doesn't have a value.

Base DNS domain of the cluster.

During the installation of the cluster it is necessary to create multiple DNS records. They will be created as sub-domains of this domain. For example, if the domain_prefix of the cluster is `mycluster` and the base domain is `example.com` then the following DNS records will be created:

``` mycluster-api.example.com mycluster-etcd-0.example.com mycluster-etcd-1.example.com mycluster-etcd-3.example.com ```

The exact number, type and names of the created DNS record depends on the characteristics of the cluster, and may be different for different versions of _OpenShift_. Please don't rely on them. For example, to find what is the URL of the Kubernetes API server of the cluster don't assume that it will be `mycluster-api.example.com`. Instead of that use this API to retrieve the description of the cluster, and get it from the `api.url` attribute. For example, if the identifier of the cluster is `123` send a request like this:

```http GET /api/clusters_mgmt/v1/clusters/123 HTTP/1.1 ```

That will return a response like this, including the `api.url` attribute:

```json

{
    "kind": "Cluster",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/clusters/123",
        "api": {
        "url": "https://mycluster-api.example.com:6443"
    },
    ...
}

```

When the cluster is created in Amazon Web Services it is necessary to create this base DNS domain in advance, using AWS Route53 (https://console.aws.amazon.com/route53).

func (*DNS) Empty ¶

func (o *DNS) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*DNS) GetBaseDomain ¶

func (o *DNS) GetBaseDomain() (value string, ok bool)

GetBaseDomain returns the value of the 'base_domain' attribute and a flag indicating if the attribute has a value.

Base DNS domain of the cluster.

During the installation of the cluster it is necessary to create multiple DNS records. They will be created as sub-domains of this domain. For example, if the domain_prefix of the cluster is `mycluster` and the base domain is `example.com` then the following DNS records will be created:

``` mycluster-api.example.com mycluster-etcd-0.example.com mycluster-etcd-1.example.com mycluster-etcd-3.example.com ```

The exact number, type and names of the created DNS record depends on the characteristics of the cluster, and may be different for different versions of _OpenShift_. Please don't rely on them. For example, to find what is the URL of the Kubernetes API server of the cluster don't assume that it will be `mycluster-api.example.com`. Instead of that use this API to retrieve the description of the cluster, and get it from the `api.url` attribute. For example, if the identifier of the cluster is `123` send a request like this:

```http GET /api/clusters_mgmt/v1/clusters/123 HTTP/1.1 ```

That will return a response like this, including the `api.url` attribute:

```json

{
    "kind": "Cluster",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/clusters/123",
        "api": {
        "url": "https://mycluster-api.example.com:6443"
    },
    ...
}

```

When the cluster is created in Amazon Web Services it is necessary to create this base DNS domain in advance, using AWS Route53 (https://console.aws.amazon.com/route53).

type DNSBuilder ¶

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

DNSBuilder contains the data and logic needed to build 'DNS' objects.

DNS settings of the cluster.

func NewDNS ¶

func NewDNS() *DNSBuilder

NewDNS creates a new builder of 'DNS' objects.

func (*DNSBuilder) BaseDomain ¶

func (b *DNSBuilder) BaseDomain(value string) *DNSBuilder

BaseDomain sets the value of the 'base_domain' attribute to the given value.

func (*DNSBuilder) Build ¶

func (b *DNSBuilder) Build() (object *DNS, err error)

Build creates a 'DNS' object using the configuration stored in the builder.

func (*DNSBuilder) Copy ¶

func (b *DNSBuilder) Copy(object *DNS) *DNSBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*DNSBuilder) Empty ¶

func (b *DNSBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

type DNSList ¶

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

DNSList is a list of values of the 'DNS' type.

func (*DNSList) Each ¶

func (l *DNSList) Each(f func(item *DNS) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*DNSList) Empty ¶

func (l *DNSList) Empty() bool

Empty returns true if the list is empty.

func (*DNSList) Get ¶

func (l *DNSList) Get(i int) *DNS

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*DNSList) Items ¶

func (l *DNSList) Items() []*DNS

Items returns the items of the list.

func (*DNSList) Len ¶

func (l *DNSList) Len() int

Len returns the length of the list.

func (*DNSList) Range ¶

func (l *DNSList) Range(f func(index int, item *DNS) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*DNSList) SetHREF ¶

func (l *DNSList) SetHREF(href string)

Items sets the items of the list.

func (*DNSList) SetItems ¶

func (l *DNSList) SetItems(items []*DNS)

Items sets the items of the list.

func (l *DNSList) SetLink(link bool)

Items sets the items of the list.

func (*DNSList) Slice ¶

func (l *DNSList) Slice() []*DNS

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type DNSListBuilder ¶

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

DNSListBuilder contains the data and logic needed to build 'DNS' objects.

func NewDNSList ¶

func NewDNSList() *DNSListBuilder

NewDNSList creates a new builder of 'DNS' objects.

func (*DNSListBuilder) Build ¶

func (b *DNSListBuilder) Build() (list *DNSList, err error)

Build creates a list of 'DNS' objects using the configuration stored in the builder.

func (*DNSListBuilder) Copy ¶

func (b *DNSListBuilder) Copy(list *DNSList) *DNSListBuilder

Copy copies the items of the given list into this builder, discarding any previous items.

func (*DNSListBuilder) Empty ¶

func (b *DNSListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*DNSListBuilder) Items ¶

func (b *DNSListBuilder) Items(values ...*DNSBuilder) *DNSListBuilder

Items sets the items of the list.

type DeleteProtection ¶

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

DeleteProtection represents the values of the 'delete_protection' type.

DeleteProtection configuration.

func ReadDeleteProtection ¶

func ReadDeleteProtection(iterator *jsoniter.Iterator) *DeleteProtection

ReadDeleteProtection reads a value of the 'delete_protection' type from the given iterator.

func ReadDeleteProtectionList ¶

func ReadDeleteProtectionList(iterator *jsoniter.Iterator) []*DeleteProtection

ReadDeleteProtectionList reads list of values of the ”delete_protection' type from the given iterator.

func UnmarshalDeleteProtection ¶

func UnmarshalDeleteProtection(source interface{}) (object *DeleteProtection, err error)

UnmarshalDeleteProtection reads a value of the 'delete_protection' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalDeleteProtectionList ¶

func UnmarshalDeleteProtectionList(source interface{}) (items []*DeleteProtection, err error)

UnmarshalDeleteProtectionList reads a list of values of the 'delete_protection' type from the given source, which can be a slice of bytes, a string or a reader.

func (*DeleteProtection) Empty ¶

func (o *DeleteProtection) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*DeleteProtection) Enabled ¶

func (o *DeleteProtection) Enabled() bool

Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.

Boolean flag indicating if the cluster should be be using _DeleteProtection_.

By default this is `false`.

To enable it a SREP needs to patch the value through OCM API

func (*DeleteProtection) GetEnabled ¶

func (o *DeleteProtection) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Boolean flag indicating if the cluster should be be using _DeleteProtection_.

By default this is `false`.

To enable it a SREP needs to patch the value through OCM API

type DeleteProtectionBuilder ¶

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

DeleteProtectionBuilder contains the data and logic needed to build 'delete_protection' objects.

DeleteProtection configuration.

func NewDeleteProtection ¶

func NewDeleteProtection() *DeleteProtectionBuilder

NewDeleteProtection creates a new builder of 'delete_protection' objects.

func (*DeleteProtectionBuilder) Build ¶

func (b *DeleteProtectionBuilder) Build() (object *DeleteProtection, err error)

Build creates a 'delete_protection' object using the configuration stored in the builder.

func (*DeleteProtectionBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*DeleteProtectionBuilder) Empty ¶

func (b *DeleteProtectionBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*DeleteProtectionBuilder) Enabled ¶

Enabled sets the value of the 'enabled' attribute to the given value.

type DeleteProtectionList ¶

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

DeleteProtectionList is a list of values of the 'delete_protection' type.

func (*DeleteProtectionList) Each ¶

func (l *DeleteProtectionList) Each(f func(item *DeleteProtection) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*DeleteProtectionList) Empty ¶

func (l *DeleteProtectionList) Empty() bool

Empty returns true if the list is empty.

func (*DeleteProtectionList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*DeleteProtectionList) Items ¶

func (l *DeleteProtectionList) Items() []*DeleteProtection

Items returns the items of the list.

func (*DeleteProtectionList) Len ¶

func (l *DeleteProtectionList) Len() int

Len returns the length of the list.

func (*DeleteProtectionList) Range ¶

func (l *DeleteProtectionList) Range(f func(index int, item *DeleteProtection) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*DeleteProtectionList) SetHREF ¶

func (l *DeleteProtectionList) SetHREF(href string)

Items sets the items of the list.

func (*DeleteProtectionList) SetItems ¶

func (l *DeleteProtectionList) SetItems(items []*DeleteProtection)

Items sets the items of the list.

func (l *DeleteProtectionList) SetLink(link bool)

Items sets the items of the list.

func (*DeleteProtectionList) Slice ¶

func (l *DeleteProtectionList) Slice() []*DeleteProtection

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type DeleteProtectionListBuilder ¶

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

DeleteProtectionListBuilder contains the data and logic needed to build 'delete_protection' objects.

func NewDeleteProtectionList ¶

func NewDeleteProtectionList() *DeleteProtectionListBuilder

NewDeleteProtectionList creates a new builder of 'delete_protection' objects.

func (*DeleteProtectionListBuilder) Build ¶

func (b *DeleteProtectionListBuilder) Build() (list *DeleteProtectionList, err error)

Build creates a list of 'delete_protection' objects using the configuration stored in the builder.

func (*DeleteProtectionListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*DeleteProtectionListBuilder) Empty ¶

func (b *DeleteProtectionListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*DeleteProtectionListBuilder) Items ¶

Items sets the items of the list.

type Ec2MetadataHttpTokens ¶

type Ec2MetadataHttpTokens string

Ec2MetadataHttpTokens represents the values of the 'ec_2_metadata_http_tokens' enumerated type.

const (
	// imdsv2 is optional
	Ec2MetadataHttpTokensOptional Ec2MetadataHttpTokens = "optional"
	// imdsv2 is required
	Ec2MetadataHttpTokensRequired Ec2MetadataHttpTokens = "required"
)

func ReadEc2MetadataHttpTokensList ¶

func ReadEc2MetadataHttpTokensList(iterator *jsoniter.Iterator) []Ec2MetadataHttpTokens

ReadEc2MetadataHttpTokensList reads list of values of the ”ec_2_metadata_http_tokens' type from the given iterator.

func UnmarshalEc2MetadataHttpTokensList ¶

func UnmarshalEc2MetadataHttpTokensList(source interface{}) (items []Ec2MetadataHttpTokens, err error)

UnmarshalEc2MetadataHttpTokensList reads a list of values of the 'ec_2_metadata_http_tokens' type from the given source, which can be a slice of bytes, a string or a reader.

type ExternalAuthConfig ¶

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

ExternalAuthConfig represents the values of the 'external_auth_config' type.

ExternalAuthConfig configuration

func ReadExternalAuthConfig ¶

func ReadExternalAuthConfig(iterator *jsoniter.Iterator) *ExternalAuthConfig

ReadExternalAuthConfig reads a value of the 'external_auth_config' type from the given iterator.

func ReadExternalAuthConfigList ¶

func ReadExternalAuthConfigList(iterator *jsoniter.Iterator) []*ExternalAuthConfig

ReadExternalAuthConfigList reads list of values of the ”external_auth_config' type from the given iterator.

func UnmarshalExternalAuthConfig ¶

func UnmarshalExternalAuthConfig(source interface{}) (object *ExternalAuthConfig, err error)

UnmarshalExternalAuthConfig reads a value of the 'external_auth_config' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalExternalAuthConfigList ¶

func UnmarshalExternalAuthConfigList(source interface{}) (items []*ExternalAuthConfig, err error)

UnmarshalExternalAuthConfigList reads a list of values of the 'external_auth_config' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ExternalAuthConfig) Empty ¶

func (o *ExternalAuthConfig) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ExternalAuthConfig) Enabled ¶

func (o *ExternalAuthConfig) Enabled() bool

Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.

Boolean flag indicating if the cluster should use an external authentication configuration.

By default this is false.

To enable it the cluster needs to be ROSA HCP cluster and the organization of the user needs to have the `external-authentication` feature toggle enabled.

func (*ExternalAuthConfig) ExternalAuths ¶

func (o *ExternalAuthConfig) ExternalAuths() *v1.ExternalAuthList

ExternalAuths returns the value of the 'external_auths' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*ExternalAuthConfig) GetEnabled ¶

func (o *ExternalAuthConfig) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Boolean flag indicating if the cluster should use an external authentication configuration.

By default this is false.

To enable it the cluster needs to be ROSA HCP cluster and the organization of the user needs to have the `external-authentication` feature toggle enabled.

func (*ExternalAuthConfig) GetExternalAuths ¶

func (o *ExternalAuthConfig) GetExternalAuths() (value *v1.ExternalAuthList, ok bool)

GetExternalAuths returns the value of the 'external_auths' attribute and a flag indicating if the attribute has a value.

type ExternalAuthConfigBuilder ¶

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

ExternalAuthConfigBuilder contains the data and logic needed to build 'external_auth_config' objects.

ExternalAuthConfig configuration

func NewExternalAuthConfig ¶

func NewExternalAuthConfig() *ExternalAuthConfigBuilder

NewExternalAuthConfig creates a new builder of 'external_auth_config' objects.

func (*ExternalAuthConfigBuilder) Build ¶

func (b *ExternalAuthConfigBuilder) Build() (object *ExternalAuthConfig, err error)

Build creates a 'external_auth_config' object using the configuration stored in the builder.

func (*ExternalAuthConfigBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExternalAuthConfigBuilder) Empty ¶

func (b *ExternalAuthConfigBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ExternalAuthConfigBuilder) Enabled ¶

Enabled sets the value of the 'enabled' attribute to the given value.

func (*ExternalAuthConfigBuilder) ExternalAuths ¶

ExternalAuths sets the value of the 'external_auths' attribute to the given values.

type ExternalAuthConfigList ¶

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

ExternalAuthConfigList is a list of values of the 'external_auth_config' type.

func (*ExternalAuthConfigList) Each ¶

func (l *ExternalAuthConfigList) Each(f func(item *ExternalAuthConfig) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ExternalAuthConfigList) Empty ¶

func (l *ExternalAuthConfigList) Empty() bool

Empty returns true if the list is empty.

func (*ExternalAuthConfigList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ExternalAuthConfigList) Items ¶

Items returns the items of the list.

func (*ExternalAuthConfigList) Len ¶

func (l *ExternalAuthConfigList) Len() int

Len returns the length of the list.

func (*ExternalAuthConfigList) Range ¶

func (l *ExternalAuthConfigList) Range(f func(index int, item *ExternalAuthConfig) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ExternalAuthConfigList) SetHREF ¶

func (l *ExternalAuthConfigList) SetHREF(href string)

Items sets the items of the list.

func (*ExternalAuthConfigList) SetItems ¶

func (l *ExternalAuthConfigList) SetItems(items []*ExternalAuthConfig)

Items sets the items of the list.

func (l *ExternalAuthConfigList) SetLink(link bool)

Items sets the items of the list.

func (*ExternalAuthConfigList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ExternalAuthConfigListBuilder ¶

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

ExternalAuthConfigListBuilder contains the data and logic needed to build 'external_auth_config' objects.

func NewExternalAuthConfigList ¶

func NewExternalAuthConfigList() *ExternalAuthConfigListBuilder

NewExternalAuthConfigList creates a new builder of 'external_auth_config' objects.

func (*ExternalAuthConfigListBuilder) Build ¶

Build creates a list of 'external_auth_config' objects using the configuration stored in the builder.

func (*ExternalAuthConfigListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExternalAuthConfigListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ExternalAuthConfigListBuilder) Items ¶

Items sets the items of the list.

type ExternalConfiguration ¶

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

ExternalConfiguration represents the values of the 'external_configuration' type.

Representation of cluster external configuration.

func ReadExternalConfiguration ¶

func ReadExternalConfiguration(iterator *jsoniter.Iterator) *ExternalConfiguration

ReadExternalConfiguration reads a value of the 'external_configuration' type from the given iterator.

func ReadExternalConfigurationList ¶

func ReadExternalConfigurationList(iterator *jsoniter.Iterator) []*ExternalConfiguration

ReadExternalConfigurationList reads list of values of the ”external_configuration' type from the given iterator.

func UnmarshalExternalConfiguration ¶

func UnmarshalExternalConfiguration(source interface{}) (object *ExternalConfiguration, err error)

UnmarshalExternalConfiguration reads a value of the 'external_configuration' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalExternalConfigurationList ¶

func UnmarshalExternalConfigurationList(source interface{}) (items []*ExternalConfiguration, err error)

UnmarshalExternalConfigurationList reads a list of values of the 'external_configuration' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ExternalConfiguration) Empty ¶

func (o *ExternalConfiguration) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ExternalConfiguration) GetLabels ¶

func (o *ExternalConfiguration) GetLabels() (value *v1.LabelList, ok bool)

GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.

list of labels externally configured on the clusterdeployment.

func (*ExternalConfiguration) GetManifests ¶

func (o *ExternalConfiguration) GetManifests() (value *v1.ManifestList, ok bool)

GetManifests returns the value of the 'manifests' attribute and a flag indicating if the attribute has a value.

list of manifest externally configured for a hosted cluster.

func (*ExternalConfiguration) GetSyncsets ¶

func (o *ExternalConfiguration) GetSyncsets() (value *v1.SyncsetList, ok bool)

GetSyncsets returns the value of the 'syncsets' attribute and a flag indicating if the attribute has a value.

list of syncsets externally configured on the cluster.

func (*ExternalConfiguration) Labels ¶

func (o *ExternalConfiguration) Labels() *v1.LabelList

Labels returns the value of the 'labels' attribute, or the zero value of the type if the attribute doesn't have a value.

list of labels externally configured on the clusterdeployment.

func (*ExternalConfiguration) Manifests ¶

func (o *ExternalConfiguration) Manifests() *v1.ManifestList

Manifests returns the value of the 'manifests' attribute, or the zero value of the type if the attribute doesn't have a value.

list of manifest externally configured for a hosted cluster.

func (*ExternalConfiguration) Syncsets ¶

func (o *ExternalConfiguration) Syncsets() *v1.SyncsetList

Syncsets returns the value of the 'syncsets' attribute, or the zero value of the type if the attribute doesn't have a value.

list of syncsets externally configured on the cluster.

type ExternalConfigurationBuilder ¶

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

ExternalConfigurationBuilder contains the data and logic needed to build 'external_configuration' objects.

Representation of cluster external configuration.

func NewExternalConfiguration ¶

func NewExternalConfiguration() *ExternalConfigurationBuilder

NewExternalConfiguration creates a new builder of 'external_configuration' objects.

func (*ExternalConfigurationBuilder) Build ¶

func (b *ExternalConfigurationBuilder) Build() (object *ExternalConfiguration, err error)

Build creates a 'external_configuration' object using the configuration stored in the builder.

func (*ExternalConfigurationBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExternalConfigurationBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ExternalConfigurationBuilder) Labels ¶

Labels sets the value of the 'labels' attribute to the given values.

func (*ExternalConfigurationBuilder) Manifests ¶

Manifests sets the value of the 'manifests' attribute to the given values.

func (*ExternalConfigurationBuilder) Syncsets ¶

Syncsets sets the value of the 'syncsets' attribute to the given values.

type ExternalConfigurationList ¶

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

ExternalConfigurationList is a list of values of the 'external_configuration' type.

func (*ExternalConfigurationList) Each ¶

func (l *ExternalConfigurationList) Each(f func(item *ExternalConfiguration) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ExternalConfigurationList) Empty ¶

func (l *ExternalConfigurationList) Empty() bool

Empty returns true if the list is empty.

func (*ExternalConfigurationList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ExternalConfigurationList) Items ¶

Items returns the items of the list.

func (*ExternalConfigurationList) Len ¶

func (l *ExternalConfigurationList) Len() int

Len returns the length of the list.

func (*ExternalConfigurationList) Range ¶

func (l *ExternalConfigurationList) Range(f func(index int, item *ExternalConfiguration) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ExternalConfigurationList) SetHREF ¶

func (l *ExternalConfigurationList) SetHREF(href string)

Items sets the items of the list.

func (*ExternalConfigurationList) SetItems ¶

func (l *ExternalConfigurationList) SetItems(items []*ExternalConfiguration)

Items sets the items of the list.

func (l *ExternalConfigurationList) SetLink(link bool)

Items sets the items of the list.

func (*ExternalConfigurationList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ExternalConfigurationListBuilder ¶

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

ExternalConfigurationListBuilder contains the data and logic needed to build 'external_configuration' objects.

func NewExternalConfigurationList ¶

func NewExternalConfigurationList() *ExternalConfigurationListBuilder

NewExternalConfigurationList creates a new builder of 'external_configuration' objects.

func (*ExternalConfigurationListBuilder) Build ¶

Build creates a list of 'external_configuration' objects using the configuration stored in the builder.

func (*ExternalConfigurationListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExternalConfigurationListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ExternalConfigurationListBuilder) Items ¶

Items sets the items of the list.

type GCP ¶

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

GCP represents the values of the 'GCP' type.

Google cloud platform settings of a cluster.

func ReadGCP ¶

func ReadGCP(iterator *jsoniter.Iterator) *GCP

ReadGCP reads a value of the 'GCP' type from the given iterator.

func ReadGCPList ¶

func ReadGCPList(iterator *jsoniter.Iterator) []*GCP

ReadGCPList reads list of values of the ”GCP' type from the given iterator.

func UnmarshalGCP ¶

func UnmarshalGCP(source interface{}) (object *GCP, err error)

UnmarshalGCP reads a value of the 'GCP' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalGCPList ¶

func UnmarshalGCPList(source interface{}) (items []*GCP, err error)

UnmarshalGCPList reads a list of values of the 'GCP' type from the given source, which can be a slice of bytes, a string or a reader.

func (*GCP) AuthProviderX509CertURL ¶

func (o *GCP) AuthProviderX509CertURL() string

AuthProviderX509CertURL returns the value of the 'auth_provider_X509_cert_URL' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP Authentication provider x509 certificate url

func (*GCP) AuthURI ¶

func (o *GCP) AuthURI() string

AuthURI returns the value of the 'auth_URI' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP authentication uri

func (*GCP) Authentication ¶

func (o *GCP) Authentication() *GcpAuthentication

Authentication returns the value of the 'authentication' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP Authentication Method

func (*GCP) ClientEmail ¶

func (o *GCP) ClientEmail() string

ClientEmail returns the value of the 'client_email' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP client email

func (*GCP) ClientID ¶

func (o *GCP) ClientID() string

ClientID returns the value of the 'client_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP client identifier

func (*GCP) ClientX509CertURL ¶

func (o *GCP) ClientX509CertURL() string

ClientX509CertURL returns the value of the 'client_X509_cert_URL' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP client x509 certificate url

func (*GCP) Empty ¶

func (o *GCP) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GCP) GetAuthProviderX509CertURL ¶

func (o *GCP) GetAuthProviderX509CertURL() (value string, ok bool)

GetAuthProviderX509CertURL returns the value of the 'auth_provider_X509_cert_URL' attribute and a flag indicating if the attribute has a value.

GCP Authentication provider x509 certificate url

func (*GCP) GetAuthURI ¶

func (o *GCP) GetAuthURI() (value string, ok bool)

GetAuthURI returns the value of the 'auth_URI' attribute and a flag indicating if the attribute has a value.

GCP authentication uri

func (*GCP) GetAuthentication ¶

func (o *GCP) GetAuthentication() (value *GcpAuthentication, ok bool)

GetAuthentication returns the value of the 'authentication' attribute and a flag indicating if the attribute has a value.

GCP Authentication Method

func (*GCP) GetClientEmail ¶

func (o *GCP) GetClientEmail() (value string, ok bool)

GetClientEmail returns the value of the 'client_email' attribute and a flag indicating if the attribute has a value.

GCP client email

func (*GCP) GetClientID ¶

func (o *GCP) GetClientID() (value string, ok bool)

GetClientID returns the value of the 'client_ID' attribute and a flag indicating if the attribute has a value.

GCP client identifier

func (*GCP) GetClientX509CertURL ¶

func (o *GCP) GetClientX509CertURL() (value string, ok bool)

GetClientX509CertURL returns the value of the 'client_X509_cert_URL' attribute and a flag indicating if the attribute has a value.

GCP client x509 certificate url

func (*GCP) GetPrivateKey ¶

func (o *GCP) GetPrivateKey() (value string, ok bool)

GetPrivateKey returns the value of the 'private_key' attribute and a flag indicating if the attribute has a value.

GCP private key

func (*GCP) GetPrivateKeyID ¶

func (o *GCP) GetPrivateKeyID() (value string, ok bool)

GetPrivateKeyID returns the value of the 'private_key_ID' attribute and a flag indicating if the attribute has a value.

GCP private key identifier

func (*GCP) GetPrivateServiceConnect ¶

func (o *GCP) GetPrivateServiceConnect() (value *GcpPrivateServiceConnect, ok bool)

GetPrivateServiceConnect returns the value of the 'private_service_connect' attribute and a flag indicating if the attribute has a value.

GCP PrivateServiceConnect configuration

func (*GCP) GetProjectID ¶

func (o *GCP) GetProjectID() (value string, ok bool)

GetProjectID returns the value of the 'project_ID' attribute and a flag indicating if the attribute has a value.

GCP project identifier.

func (*GCP) GetSecurity ¶

func (o *GCP) GetSecurity() (value *GcpSecurity, ok bool)

GetSecurity returns the value of the 'security' attribute and a flag indicating if the attribute has a value.

GCP Security Settings

func (*GCP) GetTokenURI ¶

func (o *GCP) GetTokenURI() (value string, ok bool)

GetTokenURI returns the value of the 'token_URI' attribute and a flag indicating if the attribute has a value.

GCP token uri

func (*GCP) GetType ¶

func (o *GCP) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

GCP the type of the service the key belongs to

func (*GCP) PrivateKey ¶

func (o *GCP) PrivateKey() string

PrivateKey returns the value of the 'private_key' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP private key

func (*GCP) PrivateKeyID ¶

func (o *GCP) PrivateKeyID() string

PrivateKeyID returns the value of the 'private_key_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP private key identifier

func (*GCP) PrivateServiceConnect ¶

func (o *GCP) PrivateServiceConnect() *GcpPrivateServiceConnect

PrivateServiceConnect returns the value of the 'private_service_connect' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP PrivateServiceConnect configuration

func (*GCP) ProjectID ¶

func (o *GCP) ProjectID() string

ProjectID returns the value of the 'project_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP project identifier.

func (*GCP) Security ¶

func (o *GCP) Security() *GcpSecurity

Security returns the value of the 'security' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP Security Settings

func (*GCP) TokenURI ¶

func (o *GCP) TokenURI() string

TokenURI returns the value of the 'token_URI' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP token uri

func (*GCP) Type ¶

func (o *GCP) Type() string

Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP the type of the service the key belongs to

type GCPBuilder ¶

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

GCPBuilder contains the data and logic needed to build 'GCP' objects.

Google cloud platform settings of a cluster.

func NewGCP ¶

func NewGCP() *GCPBuilder

NewGCP creates a new builder of 'GCP' objects.

func (*GCPBuilder) AuthProviderX509CertURL ¶

func (b *GCPBuilder) AuthProviderX509CertURL(value string) *GCPBuilder

AuthProviderX509CertURL sets the value of the 'auth_provider_X509_cert_URL' attribute to the given value.

func (*GCPBuilder) AuthURI ¶

func (b *GCPBuilder) AuthURI(value string) *GCPBuilder

AuthURI sets the value of the 'auth_URI' attribute to the given value.

func (*GCPBuilder) Authentication ¶

func (b *GCPBuilder) Authentication(value *GcpAuthenticationBuilder) *GCPBuilder

Authentication sets the value of the 'authentication' attribute to the given value.

Google cloud platform authentication method of a cluster.

func (*GCPBuilder) Build ¶

func (b *GCPBuilder) Build() (object *GCP, err error)

Build creates a 'GCP' object using the configuration stored in the builder.

func (*GCPBuilder) ClientEmail ¶

func (b *GCPBuilder) ClientEmail(value string) *GCPBuilder

ClientEmail sets the value of the 'client_email' attribute to the given value.

func (*GCPBuilder) ClientID ¶

func (b *GCPBuilder) ClientID(value string) *GCPBuilder

ClientID sets the value of the 'client_ID' attribute to the given value.

func (*GCPBuilder) ClientX509CertURL ¶

func (b *GCPBuilder) ClientX509CertURL(value string) *GCPBuilder

ClientX509CertURL sets the value of the 'client_X509_cert_URL' attribute to the given value.

func (*GCPBuilder) Copy ¶

func (b *GCPBuilder) Copy(object *GCP) *GCPBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GCPBuilder) Empty ¶

func (b *GCPBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GCPBuilder) PrivateKey ¶

func (b *GCPBuilder) PrivateKey(value string) *GCPBuilder

PrivateKey sets the value of the 'private_key' attribute to the given value.

func (*GCPBuilder) PrivateKeyID ¶

func (b *GCPBuilder) PrivateKeyID(value string) *GCPBuilder

PrivateKeyID sets the value of the 'private_key_ID' attribute to the given value.

func (*GCPBuilder) PrivateServiceConnect ¶

func (b *GCPBuilder) PrivateServiceConnect(value *GcpPrivateServiceConnectBuilder) *GCPBuilder

PrivateServiceConnect sets the value of the 'private_service_connect' attribute to the given value.

Google cloud platform private service connect configuration of a cluster.

func (*GCPBuilder) ProjectID ¶

func (b *GCPBuilder) ProjectID(value string) *GCPBuilder

ProjectID sets the value of the 'project_ID' attribute to the given value.

func (*GCPBuilder) Security ¶

func (b *GCPBuilder) Security(value *GcpSecurityBuilder) *GCPBuilder

Security sets the value of the 'security' attribute to the given value.

Google cloud platform security settings of a cluster.

func (*GCPBuilder) TokenURI ¶

func (b *GCPBuilder) TokenURI(value string) *GCPBuilder

TokenURI sets the value of the 'token_URI' attribute to the given value.

func (*GCPBuilder) Type ¶

func (b *GCPBuilder) Type(value string) *GCPBuilder

Type sets the value of the 'type' attribute to the given value.

type GCPEncryptionKey ¶

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

GCPEncryptionKey represents the values of the 'GCP_encryption_key' type.

GCP Encryption Key for CCS clusters.

func ReadGCPEncryptionKey ¶

func ReadGCPEncryptionKey(iterator *jsoniter.Iterator) *GCPEncryptionKey

ReadGCPEncryptionKey reads a value of the 'GCP_encryption_key' type from the given iterator.

func ReadGCPEncryptionKeyList ¶

func ReadGCPEncryptionKeyList(iterator *jsoniter.Iterator) []*GCPEncryptionKey

ReadGCPEncryptionKeyList reads list of values of the ”GCP_encryption_key' type from the given iterator.

func UnmarshalGCPEncryptionKey ¶

func UnmarshalGCPEncryptionKey(source interface{}) (object *GCPEncryptionKey, err error)

UnmarshalGCPEncryptionKey reads a value of the 'GCP_encryption_key' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalGCPEncryptionKeyList ¶

func UnmarshalGCPEncryptionKeyList(source interface{}) (items []*GCPEncryptionKey, err error)

UnmarshalGCPEncryptionKeyList reads a list of values of the 'GCP_encryption_key' type from the given source, which can be a slice of bytes, a string or a reader.

func (*GCPEncryptionKey) Empty ¶

func (o *GCPEncryptionKey) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GCPEncryptionKey) GetKMSKeyServiceAccount ¶

func (o *GCPEncryptionKey) GetKMSKeyServiceAccount() (value string, ok bool)

GetKMSKeyServiceAccount returns the value of the 'KMS_key_service_account' attribute and a flag indicating if the attribute has a value.

Service account used to access the KMS key

func (*GCPEncryptionKey) GetKeyLocation ¶

func (o *GCPEncryptionKey) GetKeyLocation() (value string, ok bool)

GetKeyLocation returns the value of the 'key_location' attribute and a flag indicating if the attribute has a value.

Location of the encryption key ring

func (*GCPEncryptionKey) GetKeyName ¶

func (o *GCPEncryptionKey) GetKeyName() (value string, ok bool)

GetKeyName returns the value of the 'key_name' attribute and a flag indicating if the attribute has a value.

Name of the encryption key

func (*GCPEncryptionKey) GetKeyRing ¶

func (o *GCPEncryptionKey) GetKeyRing() (value string, ok bool)

GetKeyRing returns the value of the 'key_ring' attribute and a flag indicating if the attribute has a value.

Name of the key ring the encryption key is located on

func (*GCPEncryptionKey) KMSKeyServiceAccount ¶

func (o *GCPEncryptionKey) KMSKeyServiceAccount() string

KMSKeyServiceAccount returns the value of the 'KMS_key_service_account' attribute, or the zero value of the type if the attribute doesn't have a value.

Service account used to access the KMS key

func (*GCPEncryptionKey) KeyLocation ¶

func (o *GCPEncryptionKey) KeyLocation() string

KeyLocation returns the value of the 'key_location' attribute, or the zero value of the type if the attribute doesn't have a value.

Location of the encryption key ring

func (*GCPEncryptionKey) KeyName ¶

func (o *GCPEncryptionKey) KeyName() string

KeyName returns the value of the 'key_name' attribute, or the zero value of the type if the attribute doesn't have a value.

Name of the encryption key

func (*GCPEncryptionKey) KeyRing ¶

func (o *GCPEncryptionKey) KeyRing() string

KeyRing returns the value of the 'key_ring' attribute, or the zero value of the type if the attribute doesn't have a value.

Name of the key ring the encryption key is located on

type GCPEncryptionKeyBuilder ¶

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

GCPEncryptionKeyBuilder contains the data and logic needed to build 'GCP_encryption_key' objects.

GCP Encryption Key for CCS clusters.

func NewGCPEncryptionKey ¶

func NewGCPEncryptionKey() *GCPEncryptionKeyBuilder

NewGCPEncryptionKey creates a new builder of 'GCP_encryption_key' objects.

func (*GCPEncryptionKeyBuilder) Build ¶

func (b *GCPEncryptionKeyBuilder) Build() (object *GCPEncryptionKey, err error)

Build creates a 'GCP_encryption_key' object using the configuration stored in the builder.

func (*GCPEncryptionKeyBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GCPEncryptionKeyBuilder) Empty ¶

func (b *GCPEncryptionKeyBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GCPEncryptionKeyBuilder) KMSKeyServiceAccount ¶

func (b *GCPEncryptionKeyBuilder) KMSKeyServiceAccount(value string) *GCPEncryptionKeyBuilder

KMSKeyServiceAccount sets the value of the 'KMS_key_service_account' attribute to the given value.

func (*GCPEncryptionKeyBuilder) KeyLocation ¶

KeyLocation sets the value of the 'key_location' attribute to the given value.

func (*GCPEncryptionKeyBuilder) KeyName ¶

KeyName sets the value of the 'key_name' attribute to the given value.

func (*GCPEncryptionKeyBuilder) KeyRing ¶

KeyRing sets the value of the 'key_ring' attribute to the given value.

type GCPEncryptionKeyList ¶

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

GCPEncryptionKeyList is a list of values of the 'GCP_encryption_key' type.

func (*GCPEncryptionKeyList) Each ¶

func (l *GCPEncryptionKeyList) Each(f func(item *GCPEncryptionKey) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GCPEncryptionKeyList) Empty ¶

func (l *GCPEncryptionKeyList) Empty() bool

Empty returns true if the list is empty.

func (*GCPEncryptionKeyList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GCPEncryptionKeyList) Items ¶

func (l *GCPEncryptionKeyList) Items() []*GCPEncryptionKey

Items returns the items of the list.

func (*GCPEncryptionKeyList) Len ¶

func (l *GCPEncryptionKeyList) Len() int

Len returns the length of the list.

func (*GCPEncryptionKeyList) Range ¶

func (l *GCPEncryptionKeyList) Range(f func(index int, item *GCPEncryptionKey) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GCPEncryptionKeyList) SetHREF ¶

func (l *GCPEncryptionKeyList) SetHREF(href string)

Items sets the items of the list.

func (*GCPEncryptionKeyList) SetItems ¶

func (l *GCPEncryptionKeyList) SetItems(items []*GCPEncryptionKey)

Items sets the items of the list.

func (l *GCPEncryptionKeyList) SetLink(link bool)

Items sets the items of the list.

func (*GCPEncryptionKeyList) Slice ¶

func (l *GCPEncryptionKeyList) Slice() []*GCPEncryptionKey

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type GCPEncryptionKeyListBuilder ¶

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

GCPEncryptionKeyListBuilder contains the data and logic needed to build 'GCP_encryption_key' objects.

func NewGCPEncryptionKeyList ¶

func NewGCPEncryptionKeyList() *GCPEncryptionKeyListBuilder

NewGCPEncryptionKeyList creates a new builder of 'GCP_encryption_key' objects.

func (*GCPEncryptionKeyListBuilder) Build ¶

func (b *GCPEncryptionKeyListBuilder) Build() (list *GCPEncryptionKeyList, err error)

Build creates a list of 'GCP_encryption_key' objects using the configuration stored in the builder.

func (*GCPEncryptionKeyListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GCPEncryptionKeyListBuilder) Empty ¶

func (b *GCPEncryptionKeyListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GCPEncryptionKeyListBuilder) Items ¶

Items sets the items of the list.

type GCPList ¶

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

GCPList is a list of values of the 'GCP' type.

func (*GCPList) Each ¶

func (l *GCPList) Each(f func(item *GCP) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GCPList) Empty ¶

func (l *GCPList) Empty() bool

Empty returns true if the list is empty.

func (*GCPList) Get ¶

func (l *GCPList) Get(i int) *GCP

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GCPList) Items ¶

func (l *GCPList) Items() []*GCP

Items returns the items of the list.

func (*GCPList) Len ¶

func (l *GCPList) Len() int

Len returns the length of the list.

func (*GCPList) Range ¶

func (l *GCPList) Range(f func(index int, item *GCP) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GCPList) SetHREF ¶

func (l *GCPList) SetHREF(href string)

Items sets the items of the list.

func (*GCPList) SetItems ¶

func (l *GCPList) SetItems(items []*GCP)

Items sets the items of the list.

func (l *GCPList) SetLink(link bool)

Items sets the items of the list.

func (*GCPList) Slice ¶

func (l *GCPList) Slice() []*GCP

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type GCPListBuilder ¶

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

GCPListBuilder contains the data and logic needed to build 'GCP' objects.

func NewGCPList ¶

func NewGCPList() *GCPListBuilder

NewGCPList creates a new builder of 'GCP' objects.

func (*GCPListBuilder) Build ¶

func (b *GCPListBuilder) Build() (list *GCPList, err error)

Build creates a list of 'GCP' objects using the configuration stored in the builder.

func (*GCPListBuilder) Copy ¶

func (b *GCPListBuilder) Copy(list *GCPList) *GCPListBuilder

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GCPListBuilder) Empty ¶

func (b *GCPListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GCPListBuilder) Items ¶

func (b *GCPListBuilder) Items(values ...*GCPBuilder) *GCPListBuilder

Items sets the items of the list.

type GCPNetwork ¶

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

GCPNetwork represents the values of the 'GCP_network' type.

GCP Network configuration of a cluster.

func ReadGCPNetwork ¶

func ReadGCPNetwork(iterator *jsoniter.Iterator) *GCPNetwork

ReadGCPNetwork reads a value of the 'GCP_network' type from the given iterator.

func ReadGCPNetworkList ¶

func ReadGCPNetworkList(iterator *jsoniter.Iterator) []*GCPNetwork

ReadGCPNetworkList reads list of values of the ”GCP_network' type from the given iterator.

func UnmarshalGCPNetwork ¶

func UnmarshalGCPNetwork(source interface{}) (object *GCPNetwork, err error)

UnmarshalGCPNetwork reads a value of the 'GCP_network' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalGCPNetworkList ¶

func UnmarshalGCPNetworkList(source interface{}) (items []*GCPNetwork, err error)

UnmarshalGCPNetworkList reads a list of values of the 'GCP_network' type from the given source, which can be a slice of bytes, a string or a reader.

func (*GCPNetwork) ComputeSubnet ¶

func (o *GCPNetwork) ComputeSubnet() string

ComputeSubnet returns the value of the 'compute_subnet' attribute, or the zero value of the type if the attribute doesn't have a value.

Compute subnet used by the cluster.

func (*GCPNetwork) ControlPlaneSubnet ¶

func (o *GCPNetwork) ControlPlaneSubnet() string

ControlPlaneSubnet returns the value of the 'control_plane_subnet' attribute, or the zero value of the type if the attribute doesn't have a value.

Control plane subnet used by the cluster.

func (*GCPNetwork) Empty ¶

func (o *GCPNetwork) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GCPNetwork) GetComputeSubnet ¶

func (o *GCPNetwork) GetComputeSubnet() (value string, ok bool)

GetComputeSubnet returns the value of the 'compute_subnet' attribute and a flag indicating if the attribute has a value.

Compute subnet used by the cluster.

func (*GCPNetwork) GetControlPlaneSubnet ¶

func (o *GCPNetwork) GetControlPlaneSubnet() (value string, ok bool)

GetControlPlaneSubnet returns the value of the 'control_plane_subnet' attribute and a flag indicating if the attribute has a value.

Control plane subnet used by the cluster.

func (*GCPNetwork) GetVPCName ¶

func (o *GCPNetwork) GetVPCName() (value string, ok bool)

GetVPCName returns the value of the 'VPC_name' attribute and a flag indicating if the attribute has a value.

VPC mame used by the cluster.

func (*GCPNetwork) GetVPCProjectID ¶

func (o *GCPNetwork) GetVPCProjectID() (value string, ok bool)

GetVPCProjectID returns the value of the 'VPC_project_ID' attribute and a flag indicating if the attribute has a value.

The name of the host project where the shared VPC exists.

func (*GCPNetwork) VPCName ¶

func (o *GCPNetwork) VPCName() string

VPCName returns the value of the 'VPC_name' attribute, or the zero value of the type if the attribute doesn't have a value.

VPC mame used by the cluster.

func (*GCPNetwork) VPCProjectID ¶

func (o *GCPNetwork) VPCProjectID() string

VPCProjectID returns the value of the 'VPC_project_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The name of the host project where the shared VPC exists.

type GCPNetworkBuilder ¶

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

GCPNetworkBuilder contains the data and logic needed to build 'GCP_network' objects.

GCP Network configuration of a cluster.

func NewGCPNetwork ¶

func NewGCPNetwork() *GCPNetworkBuilder

NewGCPNetwork creates a new builder of 'GCP_network' objects.

func (*GCPNetworkBuilder) Build ¶

func (b *GCPNetworkBuilder) Build() (object *GCPNetwork, err error)

Build creates a 'GCP_network' object using the configuration stored in the builder.

func (*GCPNetworkBuilder) ComputeSubnet ¶

func (b *GCPNetworkBuilder) ComputeSubnet(value string) *GCPNetworkBuilder

ComputeSubnet sets the value of the 'compute_subnet' attribute to the given value.

func (*GCPNetworkBuilder) ControlPlaneSubnet ¶

func (b *GCPNetworkBuilder) ControlPlaneSubnet(value string) *GCPNetworkBuilder

ControlPlaneSubnet sets the value of the 'control_plane_subnet' attribute to the given value.

func (*GCPNetworkBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GCPNetworkBuilder) Empty ¶

func (b *GCPNetworkBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GCPNetworkBuilder) VPCName ¶

func (b *GCPNetworkBuilder) VPCName(value string) *GCPNetworkBuilder

VPCName sets the value of the 'VPC_name' attribute to the given value.

func (*GCPNetworkBuilder) VPCProjectID ¶

func (b *GCPNetworkBuilder) VPCProjectID(value string) *GCPNetworkBuilder

VPCProjectID sets the value of the 'VPC_project_ID' attribute to the given value.

type GCPNetworkList ¶

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

GCPNetworkList is a list of values of the 'GCP_network' type.

func (*GCPNetworkList) Each ¶

func (l *GCPNetworkList) Each(f func(item *GCPNetwork) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GCPNetworkList) Empty ¶

func (l *GCPNetworkList) Empty() bool

Empty returns true if the list is empty.

func (*GCPNetworkList) Get ¶

func (l *GCPNetworkList) Get(i int) *GCPNetwork

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GCPNetworkList) Items ¶

func (l *GCPNetworkList) Items() []*GCPNetwork

Items returns the items of the list.

func (*GCPNetworkList) Len ¶

func (l *GCPNetworkList) Len() int

Len returns the length of the list.

func (*GCPNetworkList) Range ¶

func (l *GCPNetworkList) Range(f func(index int, item *GCPNetwork) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GCPNetworkList) SetHREF ¶

func (l *GCPNetworkList) SetHREF(href string)

Items sets the items of the list.

func (*GCPNetworkList) SetItems ¶

func (l *GCPNetworkList) SetItems(items []*GCPNetwork)

Items sets the items of the list.

func (l *GCPNetworkList) SetLink(link bool)

Items sets the items of the list.

func (*GCPNetworkList) Slice ¶

func (l *GCPNetworkList) Slice() []*GCPNetwork

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type GCPNetworkListBuilder ¶

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

GCPNetworkListBuilder contains the data and logic needed to build 'GCP_network' objects.

func NewGCPNetworkList ¶

func NewGCPNetworkList() *GCPNetworkListBuilder

NewGCPNetworkList creates a new builder of 'GCP_network' objects.

func (*GCPNetworkListBuilder) Build ¶

func (b *GCPNetworkListBuilder) Build() (list *GCPNetworkList, err error)

Build creates a list of 'GCP_network' objects using the configuration stored in the builder.

func (*GCPNetworkListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GCPNetworkListBuilder) Empty ¶

func (b *GCPNetworkListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GCPNetworkListBuilder) Items ¶

Items sets the items of the list.

type GCPVolume ¶

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

GCPVolume represents the values of the 'GCP_volume' type.

Holds settings for an GCP storage volume.

func ReadGCPVolume ¶

func ReadGCPVolume(iterator *jsoniter.Iterator) *GCPVolume

ReadGCPVolume reads a value of the 'GCP_volume' type from the given iterator.

func ReadGCPVolumeList ¶

func ReadGCPVolumeList(iterator *jsoniter.Iterator) []*GCPVolume

ReadGCPVolumeList reads list of values of the ”GCP_volume' type from the given iterator.

func UnmarshalGCPVolume ¶

func UnmarshalGCPVolume(source interface{}) (object *GCPVolume, err error)

UnmarshalGCPVolume reads a value of the 'GCP_volume' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalGCPVolumeList ¶

func UnmarshalGCPVolumeList(source interface{}) (items []*GCPVolume, err error)

UnmarshalGCPVolumeList reads a list of values of the 'GCP_volume' type from the given source, which can be a slice of bytes, a string or a reader.

func (*GCPVolume) Empty ¶

func (o *GCPVolume) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GCPVolume) GetSize ¶

func (o *GCPVolume) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' attribute and a flag indicating if the attribute has a value.

Volume size in Gib.

func (*GCPVolume) Size ¶

func (o *GCPVolume) Size() int

Size returns the value of the 'size' attribute, or the zero value of the type if the attribute doesn't have a value.

Volume size in Gib.

type GCPVolumeBuilder ¶

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

GCPVolumeBuilder contains the data and logic needed to build 'GCP_volume' objects.

Holds settings for an GCP storage volume.

func NewGCPVolume ¶

func NewGCPVolume() *GCPVolumeBuilder

NewGCPVolume creates a new builder of 'GCP_volume' objects.

func (*GCPVolumeBuilder) Build ¶

func (b *GCPVolumeBuilder) Build() (object *GCPVolume, err error)

Build creates a 'GCP_volume' object using the configuration stored in the builder.

func (*GCPVolumeBuilder) Copy ¶

func (b *GCPVolumeBuilder) Copy(object *GCPVolume) *GCPVolumeBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GCPVolumeBuilder) Empty ¶

func (b *GCPVolumeBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GCPVolumeBuilder) Size ¶

func (b *GCPVolumeBuilder) Size(value int) *GCPVolumeBuilder

Size sets the value of the 'size' attribute to the given value.

type GCPVolumeList ¶

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

GCPVolumeList is a list of values of the 'GCP_volume' type.

func (*GCPVolumeList) Each ¶

func (l *GCPVolumeList) Each(f func(item *GCPVolume) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GCPVolumeList) Empty ¶

func (l *GCPVolumeList) Empty() bool

Empty returns true if the list is empty.

func (*GCPVolumeList) Get ¶

func (l *GCPVolumeList) Get(i int) *GCPVolume

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GCPVolumeList) Items ¶

func (l *GCPVolumeList) Items() []*GCPVolume

Items returns the items of the list.

func (*GCPVolumeList) Len ¶

func (l *GCPVolumeList) Len() int

Len returns the length of the list.

func (*GCPVolumeList) Range ¶

func (l *GCPVolumeList) Range(f func(index int, item *GCPVolume) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GCPVolumeList) SetHREF ¶

func (l *GCPVolumeList) SetHREF(href string)

Items sets the items of the list.

func (*GCPVolumeList) SetItems ¶

func (l *GCPVolumeList) SetItems(items []*GCPVolume)

Items sets the items of the list.

func (l *GCPVolumeList) SetLink(link bool)

Items sets the items of the list.

func (*GCPVolumeList) Slice ¶

func (l *GCPVolumeList) Slice() []*GCPVolume

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type GCPVolumeListBuilder ¶

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

GCPVolumeListBuilder contains the data and logic needed to build 'GCP_volume' objects.

func NewGCPVolumeList ¶

func NewGCPVolumeList() *GCPVolumeListBuilder

NewGCPVolumeList creates a new builder of 'GCP_volume' objects.

func (*GCPVolumeListBuilder) Build ¶

func (b *GCPVolumeListBuilder) Build() (list *GCPVolumeList, err error)

Build creates a list of 'GCP_volume' objects using the configuration stored in the builder.

func (*GCPVolumeListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GCPVolumeListBuilder) Empty ¶

func (b *GCPVolumeListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GCPVolumeListBuilder) Items ¶

Items sets the items of the list.

type GcpAuthentication ¶

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

GcpAuthentication represents the values of the 'gcp_authentication' type.

Google cloud platform authentication method of a cluster.

func ReadGcpAuthentication ¶

func ReadGcpAuthentication(iterator *jsoniter.Iterator) *GcpAuthentication

ReadGcpAuthentication reads a value of the 'gcp_authentication' type from the given iterator.

func ReadGcpAuthenticationList ¶

func ReadGcpAuthenticationList(iterator *jsoniter.Iterator) []*GcpAuthentication

ReadGcpAuthenticationList reads list of values of the ”gcp_authentication' type from the given iterator.

func UnmarshalGcpAuthentication ¶

func UnmarshalGcpAuthentication(source interface{}) (object *GcpAuthentication, err error)

UnmarshalGcpAuthentication reads a value of the 'gcp_authentication' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalGcpAuthenticationList ¶

func UnmarshalGcpAuthenticationList(source interface{}) (items []*GcpAuthentication, err error)

UnmarshalGcpAuthenticationList reads a list of values of the 'gcp_authentication' type from the given source, which can be a slice of bytes, a string or a reader.

func (*GcpAuthentication) Empty ¶

func (o *GcpAuthentication) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GcpAuthentication) GetHref ¶

func (o *GcpAuthentication) GetHref() (value string, ok bool)

GetHref returns the value of the 'href' attribute and a flag indicating if the attribute has a value.

Self link

func (*GcpAuthentication) GetId ¶

func (o *GcpAuthentication) GetId() (value string, ok bool)

GetId returns the value of the 'id' attribute and a flag indicating if the attribute has a value.

Unique identifier of the object

func (*GcpAuthentication) GetKind ¶

func (o *GcpAuthentication) GetKind() (value string, ok bool)

GetKind returns the value of the 'kind' attribute and a flag indicating if the attribute has a value.

Indicates the type of this object

func (*GcpAuthentication) Href ¶

func (o *GcpAuthentication) Href() string

Href returns the value of the 'href' attribute, or the zero value of the type if the attribute doesn't have a value.

Self link

func (*GcpAuthentication) Id ¶

func (o *GcpAuthentication) Id() string

Id returns the value of the 'id' attribute, or the zero value of the type if the attribute doesn't have a value.

Unique identifier of the object

func (*GcpAuthentication) Kind ¶

func (o *GcpAuthentication) Kind() string

Kind returns the value of the 'kind' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the type of this object

type GcpAuthenticationBuilder ¶

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

GcpAuthenticationBuilder contains the data and logic needed to build 'gcp_authentication' objects.

Google cloud platform authentication method of a cluster.

func NewGcpAuthentication ¶

func NewGcpAuthentication() *GcpAuthenticationBuilder

NewGcpAuthentication creates a new builder of 'gcp_authentication' objects.

func (*GcpAuthenticationBuilder) Build ¶

func (b *GcpAuthenticationBuilder) Build() (object *GcpAuthentication, err error)

Build creates a 'gcp_authentication' object using the configuration stored in the builder.

func (*GcpAuthenticationBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GcpAuthenticationBuilder) Empty ¶

func (b *GcpAuthenticationBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GcpAuthenticationBuilder) Href ¶

Href sets the value of the 'href' attribute to the given value.

func (*GcpAuthenticationBuilder) Id ¶

Id sets the value of the 'id' attribute to the given value.

func (*GcpAuthenticationBuilder) Kind ¶

Kind sets the value of the 'kind' attribute to the given value.

type GcpAuthenticationList ¶

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

GcpAuthenticationList is a list of values of the 'gcp_authentication' type.

func (*GcpAuthenticationList) Each ¶

func (l *GcpAuthenticationList) Each(f func(item *GcpAuthentication) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GcpAuthenticationList) Empty ¶

func (l *GcpAuthenticationList) Empty() bool

Empty returns true if the list is empty.

func (*GcpAuthenticationList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GcpAuthenticationList) Items ¶

Items returns the items of the list.

func (*GcpAuthenticationList) Len ¶

func (l *GcpAuthenticationList) Len() int

Len returns the length of the list.

func (*GcpAuthenticationList) Range ¶

func (l *GcpAuthenticationList) Range(f func(index int, item *GcpAuthentication) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GcpAuthenticationList) SetHREF ¶

func (l *GcpAuthenticationList) SetHREF(href string)

Items sets the items of the list.

func (*GcpAuthenticationList) SetItems ¶

func (l *GcpAuthenticationList) SetItems(items []*GcpAuthentication)

Items sets the items of the list.

func (l *GcpAuthenticationList) SetLink(link bool)

Items sets the items of the list.

func (*GcpAuthenticationList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type GcpAuthenticationListBuilder ¶

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

GcpAuthenticationListBuilder contains the data and logic needed to build 'gcp_authentication' objects.

func NewGcpAuthenticationList ¶

func NewGcpAuthenticationList() *GcpAuthenticationListBuilder

NewGcpAuthenticationList creates a new builder of 'gcp_authentication' objects.

func (*GcpAuthenticationListBuilder) Build ¶

Build creates a list of 'gcp_authentication' objects using the configuration stored in the builder.

func (*GcpAuthenticationListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GcpAuthenticationListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*GcpAuthenticationListBuilder) Items ¶

Items sets the items of the list.

type GcpPrivateServiceConnect ¶

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

GcpPrivateServiceConnect represents the values of the 'gcp_private_service_connect' type.

Google cloud platform private service connect configuration of a cluster.

func ReadGcpPrivateServiceConnect ¶

func ReadGcpPrivateServiceConnect(iterator *jsoniter.Iterator) *GcpPrivateServiceConnect

ReadGcpPrivateServiceConnect reads a value of the 'gcp_private_service_connect' type from the given iterator.

func ReadGcpPrivateServiceConnectList ¶

func ReadGcpPrivateServiceConnectList(iterator *jsoniter.Iterator) []*GcpPrivateServiceConnect

ReadGcpPrivateServiceConnectList reads list of values of the ”gcp_private_service_connect' type from the given iterator.

func UnmarshalGcpPrivateServiceConnect ¶

func UnmarshalGcpPrivateServiceConnect(source interface{}) (object *GcpPrivateServiceConnect, err error)

UnmarshalGcpPrivateServiceConnect reads a value of the 'gcp_private_service_connect' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalGcpPrivateServiceConnectList ¶

func UnmarshalGcpPrivateServiceConnectList(source interface{}) (items []*GcpPrivateServiceConnect, err error)

UnmarshalGcpPrivateServiceConnectList reads a list of values of the 'gcp_private_service_connect' type from the given source, which can be a slice of bytes, a string or a reader.

func (*GcpPrivateServiceConnect) Empty ¶

func (o *GcpPrivateServiceConnect) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GcpPrivateServiceConnect) GetServiceAttachmentSubnet ¶

func (o *GcpPrivateServiceConnect) GetServiceAttachmentSubnet() (value string, ok bool)

GetServiceAttachmentSubnet returns the value of the 'service_attachment_subnet' attribute and a flag indicating if the attribute has a value.

The name of the subnet where the PSC service attachment is created

func (*GcpPrivateServiceConnect) ServiceAttachmentSubnet ¶

func (o *GcpPrivateServiceConnect) ServiceAttachmentSubnet() string

ServiceAttachmentSubnet returns the value of the 'service_attachment_subnet' attribute, or the zero value of the type if the attribute doesn't have a value.

The name of the subnet where the PSC service attachment is created

type GcpPrivateServiceConnectBuilder ¶

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

GcpPrivateServiceConnectBuilder contains the data and logic needed to build 'gcp_private_service_connect' objects.

Google cloud platform private service connect configuration of a cluster.

func NewGcpPrivateServiceConnect ¶

func NewGcpPrivateServiceConnect() *GcpPrivateServiceConnectBuilder

NewGcpPrivateServiceConnect creates a new builder of 'gcp_private_service_connect' objects.

func (*GcpPrivateServiceConnectBuilder) Build ¶

Build creates a 'gcp_private_service_connect' object using the configuration stored in the builder.

func (*GcpPrivateServiceConnectBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GcpPrivateServiceConnectBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GcpPrivateServiceConnectBuilder) ServiceAttachmentSubnet ¶

func (b *GcpPrivateServiceConnectBuilder) ServiceAttachmentSubnet(value string) *GcpPrivateServiceConnectBuilder

ServiceAttachmentSubnet sets the value of the 'service_attachment_subnet' attribute to the given value.

type GcpPrivateServiceConnectList ¶

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

GcpPrivateServiceConnectList is a list of values of the 'gcp_private_service_connect' type.

func (*GcpPrivateServiceConnectList) Each ¶

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GcpPrivateServiceConnectList) Empty ¶

Empty returns true if the list is empty.

func (*GcpPrivateServiceConnectList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GcpPrivateServiceConnectList) Items ¶

Items returns the items of the list.

func (*GcpPrivateServiceConnectList) Len ¶

Len returns the length of the list.

func (*GcpPrivateServiceConnectList) Range ¶

func (l *GcpPrivateServiceConnectList) Range(f func(index int, item *GcpPrivateServiceConnect) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GcpPrivateServiceConnectList) SetHREF ¶

func (l *GcpPrivateServiceConnectList) SetHREF(href string)

Items sets the items of the list.

func (*GcpPrivateServiceConnectList) SetItems ¶

Items sets the items of the list.

func (l *GcpPrivateServiceConnectList) SetLink(link bool)

Items sets the items of the list.

func (*GcpPrivateServiceConnectList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type GcpPrivateServiceConnectListBuilder ¶

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

GcpPrivateServiceConnectListBuilder contains the data and logic needed to build 'gcp_private_service_connect' objects.

func NewGcpPrivateServiceConnectList ¶

func NewGcpPrivateServiceConnectList() *GcpPrivateServiceConnectListBuilder

NewGcpPrivateServiceConnectList creates a new builder of 'gcp_private_service_connect' objects.

func (*GcpPrivateServiceConnectListBuilder) Build ¶

Build creates a list of 'gcp_private_service_connect' objects using the configuration stored in the builder.

func (*GcpPrivateServiceConnectListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GcpPrivateServiceConnectListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*GcpPrivateServiceConnectListBuilder) Items ¶

Items sets the items of the list.

type GcpSecurity ¶

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

GcpSecurity represents the values of the 'gcp_security' type.

Google cloud platform security settings of a cluster.

func ReadGcpSecurity ¶

func ReadGcpSecurity(iterator *jsoniter.Iterator) *GcpSecurity

ReadGcpSecurity reads a value of the 'gcp_security' type from the given iterator.

func ReadGcpSecurityList ¶

func ReadGcpSecurityList(iterator *jsoniter.Iterator) []*GcpSecurity

ReadGcpSecurityList reads list of values of the ”gcp_security' type from the given iterator.

func UnmarshalGcpSecurity ¶

func UnmarshalGcpSecurity(source interface{}) (object *GcpSecurity, err error)

UnmarshalGcpSecurity reads a value of the 'gcp_security' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalGcpSecurityList ¶

func UnmarshalGcpSecurityList(source interface{}) (items []*GcpSecurity, err error)

UnmarshalGcpSecurityList reads a list of values of the 'gcp_security' type from the given source, which can be a slice of bytes, a string or a reader.

func (*GcpSecurity) Empty ¶

func (o *GcpSecurity) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GcpSecurity) GetSecureBoot ¶

func (o *GcpSecurity) GetSecureBoot() (value bool, ok bool)

GetSecureBoot returns the value of the 'secure_boot' attribute and a flag indicating if the attribute has a value.

Determines if Shielded VM feature "Secure Boot" should be set for the nodes of the cluster.

func (*GcpSecurity) SecureBoot ¶

func (o *GcpSecurity) SecureBoot() bool

SecureBoot returns the value of the 'secure_boot' attribute, or the zero value of the type if the attribute doesn't have a value.

Determines if Shielded VM feature "Secure Boot" should be set for the nodes of the cluster.

type GcpSecurityBuilder ¶

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

GcpSecurityBuilder contains the data and logic needed to build 'gcp_security' objects.

Google cloud platform security settings of a cluster.

func NewGcpSecurity ¶

func NewGcpSecurity() *GcpSecurityBuilder

NewGcpSecurity creates a new builder of 'gcp_security' objects.

func (*GcpSecurityBuilder) Build ¶

func (b *GcpSecurityBuilder) Build() (object *GcpSecurity, err error)

Build creates a 'gcp_security' object using the configuration stored in the builder.

func (*GcpSecurityBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GcpSecurityBuilder) Empty ¶

func (b *GcpSecurityBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GcpSecurityBuilder) SecureBoot ¶

func (b *GcpSecurityBuilder) SecureBoot(value bool) *GcpSecurityBuilder

SecureBoot sets the value of the 'secure_boot' attribute to the given value.

type GcpSecurityList ¶

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

GcpSecurityList is a list of values of the 'gcp_security' type.

func (*GcpSecurityList) Each ¶

func (l *GcpSecurityList) Each(f func(item *GcpSecurity) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GcpSecurityList) Empty ¶

func (l *GcpSecurityList) Empty() bool

Empty returns true if the list is empty.

func (*GcpSecurityList) Get ¶

func (l *GcpSecurityList) Get(i int) *GcpSecurity

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GcpSecurityList) Items ¶

func (l *GcpSecurityList) Items() []*GcpSecurity

Items returns the items of the list.

func (*GcpSecurityList) Len ¶

func (l *GcpSecurityList) Len() int

Len returns the length of the list.

func (*GcpSecurityList) Range ¶

func (l *GcpSecurityList) Range(f func(index int, item *GcpSecurity) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*GcpSecurityList) SetHREF ¶

func (l *GcpSecurityList) SetHREF(href string)

Items sets the items of the list.

func (*GcpSecurityList) SetItems ¶

func (l *GcpSecurityList) SetItems(items []*GcpSecurity)

Items sets the items of the list.

func (l *GcpSecurityList) SetLink(link bool)

Items sets the items of the list.

func (*GcpSecurityList) Slice ¶

func (l *GcpSecurityList) Slice() []*GcpSecurity

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type GcpSecurityListBuilder ¶

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

GcpSecurityListBuilder contains the data and logic needed to build 'gcp_security' objects.

func NewGcpSecurityList ¶

func NewGcpSecurityList() *GcpSecurityListBuilder

NewGcpSecurityList creates a new builder of 'gcp_security' objects.

func (*GcpSecurityListBuilder) Build ¶

func (b *GcpSecurityListBuilder) Build() (list *GcpSecurityList, err error)

Build creates a list of 'gcp_security' objects using the configuration stored in the builder.

func (*GcpSecurityListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GcpSecurityListBuilder) Empty ¶

func (b *GcpSecurityListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GcpSecurityListBuilder) Items ¶

Items sets the items of the list.

type HTPasswdIdentityProvider ¶

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

HTPasswdIdentityProvider represents the values of the 'HT_passwd_identity_provider' type.

Details for `htpasswd` identity providers.

func ReadHTPasswdIdentityProvider ¶

func ReadHTPasswdIdentityProvider(iterator *jsoniter.Iterator) *HTPasswdIdentityProvider

ReadHTPasswdIdentityProvider reads a value of the 'HT_passwd_identity_provider' type from the given iterator.

func ReadHTPasswdIdentityProviderList ¶

func ReadHTPasswdIdentityProviderList(iterator *jsoniter.Iterator) []*HTPasswdIdentityProvider

ReadHTPasswdIdentityProviderList reads list of values of the ”HT_passwd_identity_provider' type from the given iterator.

func UnmarshalHTPasswdIdentityProvider ¶

func UnmarshalHTPasswdIdentityProvider(source interface{}) (object *HTPasswdIdentityProvider, err error)

UnmarshalHTPasswdIdentityProvider reads a value of the 'HT_passwd_identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalHTPasswdIdentityProviderList ¶

func UnmarshalHTPasswdIdentityProviderList(source interface{}) (items []*HTPasswdIdentityProvider, err error)

UnmarshalHTPasswdIdentityProviderList reads a list of values of the 'HT_passwd_identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.

func (*HTPasswdIdentityProvider) Empty ¶

func (o *HTPasswdIdentityProvider) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*HTPasswdIdentityProvider) GetPassword ¶

func (o *HTPasswdIdentityProvider) GetPassword() (value string, ok bool)

GetPassword returns the value of the 'password' attribute and a flag indicating if the attribute has a value.

Password to be used in the _HTPasswd_ data file.

func (*HTPasswdIdentityProvider) GetUsername ¶

func (o *HTPasswdIdentityProvider) GetUsername() (value string, ok bool)

GetUsername returns the value of the 'username' attribute and a flag indicating if the attribute has a value.

Username to be used in the _HTPasswd_ data file.

func (*HTPasswdIdentityProvider) GetUsers ¶

func (o *HTPasswdIdentityProvider) GetUsers() (value *v1.HTPasswdUserList, ok bool)

GetUsers returns the value of the 'users' attribute and a flag indicating if the attribute has a value.

Link to the collection of _HTPasswd_ users.

func (*HTPasswdIdentityProvider) Password ¶

func (o *HTPasswdIdentityProvider) Password() string

Password returns the value of the 'password' attribute, or the zero value of the type if the attribute doesn't have a value.

Password to be used in the _HTPasswd_ data file.

func (*HTPasswdIdentityProvider) Username ¶

func (o *HTPasswdIdentityProvider) Username() string

Username returns the value of the 'username' attribute, or the zero value of the type if the attribute doesn't have a value.

Username to be used in the _HTPasswd_ data file.

func (*HTPasswdIdentityProvider) Users ¶

Users returns the value of the 'users' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the collection of _HTPasswd_ users.

type HTPasswdIdentityProviderBuilder ¶

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

HTPasswdIdentityProviderBuilder contains the data and logic needed to build 'HT_passwd_identity_provider' objects.

Details for `htpasswd` identity providers.

func NewHTPasswdIdentityProvider ¶

func NewHTPasswdIdentityProvider() *HTPasswdIdentityProviderBuilder

NewHTPasswdIdentityProvider creates a new builder of 'HT_passwd_identity_provider' objects.

func (*HTPasswdIdentityProviderBuilder) Build ¶

Build creates a 'HT_passwd_identity_provider' object using the configuration stored in the builder.

func (*HTPasswdIdentityProviderBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*HTPasswdIdentityProviderBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*HTPasswdIdentityProviderBuilder) Password ¶

Password sets the value of the 'password' attribute to the given value.

func (*HTPasswdIdentityProviderBuilder) Username ¶

Username sets the value of the 'username' attribute to the given value.

func (*HTPasswdIdentityProviderBuilder) Users ¶

Users sets the value of the 'users' attribute to the given values.

type HTPasswdIdentityProviderList ¶

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

HTPasswdIdentityProviderList is a list of values of the 'HT_passwd_identity_provider' type.

func (*HTPasswdIdentityProviderList) Each ¶

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*HTPasswdIdentityProviderList) Empty ¶

Empty returns true if the list is empty.

func (*HTPasswdIdentityProviderList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*HTPasswdIdentityProviderList) Items ¶

Items returns the items of the list.

func (*HTPasswdIdentityProviderList) Len ¶

Len returns the length of the list.

func (*HTPasswdIdentityProviderList) Range ¶

func (l *HTPasswdIdentityProviderList) Range(f func(index int, item *HTPasswdIdentityProvider) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*HTPasswdIdentityProviderList) SetHREF ¶

func (l *HTPasswdIdentityProviderList) SetHREF(href string)

Items sets the items of the list.

func (*HTPasswdIdentityProviderList) SetItems ¶

Items sets the items of the list.

func (l *HTPasswdIdentityProviderList) SetLink(link bool)

Items sets the items of the list.

func (*HTPasswdIdentityProviderList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type HTPasswdIdentityProviderListBuilder ¶

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

HTPasswdIdentityProviderListBuilder contains the data and logic needed to build 'HT_passwd_identity_provider' objects.

func NewHTPasswdIdentityProviderList ¶

func NewHTPasswdIdentityProviderList() *HTPasswdIdentityProviderListBuilder

NewHTPasswdIdentityProviderList creates a new builder of 'HT_passwd_identity_provider' objects.

func (*HTPasswdIdentityProviderListBuilder) Build ¶

Build creates a list of 'HT_passwd_identity_provider' objects using the configuration stored in the builder.

func (*HTPasswdIdentityProviderListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*HTPasswdIdentityProviderListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*HTPasswdIdentityProviderListBuilder) Items ¶

Items sets the items of the list.

type Hypershift ¶

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

Hypershift represents the values of the 'hypershift' type.

Hypershift configuration.

func ReadHypershift ¶

func ReadHypershift(iterator *jsoniter.Iterator) *Hypershift

ReadHypershift reads a value of the 'hypershift' type from the given iterator.

func ReadHypershiftList ¶

func ReadHypershiftList(iterator *jsoniter.Iterator) []*Hypershift

ReadHypershiftList reads list of values of the ”hypershift' type from the given iterator.

func UnmarshalHypershift ¶

func UnmarshalHypershift(source interface{}) (object *Hypershift, err error)

UnmarshalHypershift reads a value of the 'hypershift' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalHypershiftList ¶

func UnmarshalHypershiftList(source interface{}) (items []*Hypershift, err error)

UnmarshalHypershiftList reads a list of values of the 'hypershift' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Hypershift) Empty ¶

func (o *Hypershift) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Hypershift) Enabled ¶

func (o *Hypershift) Enabled() bool

Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.

Boolean flag indicating if the cluster should be creating using _Hypershift_.

By default this is `false`.

To enable it the cluster needs to be ROSA cluster and the organization of the user needs to have the `hypershift` capability enabled.

func (*Hypershift) GetEnabled ¶

func (o *Hypershift) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Boolean flag indicating if the cluster should be creating using _Hypershift_.

By default this is `false`.

To enable it the cluster needs to be ROSA cluster and the organization of the user needs to have the `hypershift` capability enabled.

type HypershiftBuilder ¶

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

HypershiftBuilder contains the data and logic needed to build 'hypershift' objects.

Hypershift configuration.

func NewHypershift ¶

func NewHypershift() *HypershiftBuilder

NewHypershift creates a new builder of 'hypershift' objects.

func (*HypershiftBuilder) Build ¶

func (b *HypershiftBuilder) Build() (object *Hypershift, err error)

Build creates a 'hypershift' object using the configuration stored in the builder.

func (*HypershiftBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*HypershiftBuilder) Empty ¶

func (b *HypershiftBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*HypershiftBuilder) Enabled ¶

func (b *HypershiftBuilder) Enabled(value bool) *HypershiftBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

type HypershiftList ¶

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

HypershiftList is a list of values of the 'hypershift' type.

func (*HypershiftList) Each ¶

func (l *HypershiftList) Each(f func(item *Hypershift) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*HypershiftList) Empty ¶

func (l *HypershiftList) Empty() bool

Empty returns true if the list is empty.

func (*HypershiftList) Get ¶

func (l *HypershiftList) Get(i int) *Hypershift

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*HypershiftList) Items ¶

func (l *HypershiftList) Items() []*Hypershift

Items returns the items of the list.

func (*HypershiftList) Len ¶

func (l *HypershiftList) Len() int

Len returns the length of the list.

func (*HypershiftList) Range ¶

func (l *HypershiftList) Range(f func(index int, item *Hypershift) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*HypershiftList) SetHREF ¶

func (l *HypershiftList) SetHREF(href string)

Items sets the items of the list.

func (*HypershiftList) SetItems ¶

func (l *HypershiftList) SetItems(items []*Hypershift)

Items sets the items of the list.

func (l *HypershiftList) SetLink(link bool)

Items sets the items of the list.

func (*HypershiftList) Slice ¶

func (l *HypershiftList) Slice() []*Hypershift

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type HypershiftListBuilder ¶

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

HypershiftListBuilder contains the data and logic needed to build 'hypershift' objects.

func NewHypershiftList ¶

func NewHypershiftList() *HypershiftListBuilder

NewHypershiftList creates a new builder of 'hypershift' objects.

func (*HypershiftListBuilder) Build ¶

func (b *HypershiftListBuilder) Build() (list *HypershiftList, err error)

Build creates a list of 'hypershift' objects using the configuration stored in the builder.

func (*HypershiftListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*HypershiftListBuilder) Empty ¶

func (b *HypershiftListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*HypershiftListBuilder) Items ¶

Items sets the items of the list.

type InstanceIAMRoles ¶

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

InstanceIAMRoles represents the values of the 'instance_IAM_roles' type.

Contains the necessary attributes to support role-based authentication on AWS.

func ReadInstanceIAMRoles ¶

func ReadInstanceIAMRoles(iterator *jsoniter.Iterator) *InstanceIAMRoles

ReadInstanceIAMRoles reads a value of the 'instance_IAM_roles' type from the given iterator.

func ReadInstanceIAMRolesList ¶

func ReadInstanceIAMRolesList(iterator *jsoniter.Iterator) []*InstanceIAMRoles

ReadInstanceIAMRolesList reads list of values of the ”instance_IAM_roles' type from the given iterator.

func UnmarshalInstanceIAMRoles ¶

func UnmarshalInstanceIAMRoles(source interface{}) (object *InstanceIAMRoles, err error)

UnmarshalInstanceIAMRoles reads a value of the 'instance_IAM_roles' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalInstanceIAMRolesList ¶

func UnmarshalInstanceIAMRolesList(source interface{}) (items []*InstanceIAMRoles, err error)

UnmarshalInstanceIAMRolesList reads a list of values of the 'instance_IAM_roles' type from the given source, which can be a slice of bytes, a string or a reader.

func (*InstanceIAMRoles) Empty ¶

func (o *InstanceIAMRoles) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*InstanceIAMRoles) GetMasterRoleARN ¶

func (o *InstanceIAMRoles) GetMasterRoleARN() (value string, ok bool)

GetMasterRoleARN returns the value of the 'master_role_ARN' attribute and a flag indicating if the attribute has a value.

The IAM role ARN that will be attached to master instances

func (*InstanceIAMRoles) GetWorkerRoleARN ¶

func (o *InstanceIAMRoles) GetWorkerRoleARN() (value string, ok bool)

GetWorkerRoleARN returns the value of the 'worker_role_ARN' attribute and a flag indicating if the attribute has a value.

The IAM role ARN that will be attached to worker instances

func (*InstanceIAMRoles) MasterRoleARN ¶

func (o *InstanceIAMRoles) MasterRoleARN() string

MasterRoleARN returns the value of the 'master_role_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.

The IAM role ARN that will be attached to master instances

func (*InstanceIAMRoles) WorkerRoleARN ¶

func (o *InstanceIAMRoles) WorkerRoleARN() string

WorkerRoleARN returns the value of the 'worker_role_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.

The IAM role ARN that will be attached to worker instances

type InstanceIAMRolesBuilder ¶

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

InstanceIAMRolesBuilder contains the data and logic needed to build 'instance_IAM_roles' objects.

Contains the necessary attributes to support role-based authentication on AWS.

func NewInstanceIAMRoles ¶

func NewInstanceIAMRoles() *InstanceIAMRolesBuilder

NewInstanceIAMRoles creates a new builder of 'instance_IAM_roles' objects.

func (*InstanceIAMRolesBuilder) Build ¶

func (b *InstanceIAMRolesBuilder) Build() (object *InstanceIAMRoles, err error)

Build creates a 'instance_IAM_roles' object using the configuration stored in the builder.

func (*InstanceIAMRolesBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*InstanceIAMRolesBuilder) Empty ¶

func (b *InstanceIAMRolesBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*InstanceIAMRolesBuilder) MasterRoleARN ¶

func (b *InstanceIAMRolesBuilder) MasterRoleARN(value string) *InstanceIAMRolesBuilder

MasterRoleARN sets the value of the 'master_role_ARN' attribute to the given value.

func (*InstanceIAMRolesBuilder) WorkerRoleARN ¶

func (b *InstanceIAMRolesBuilder) WorkerRoleARN(value string) *InstanceIAMRolesBuilder

WorkerRoleARN sets the value of the 'worker_role_ARN' attribute to the given value.

type InstanceIAMRolesList ¶

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

InstanceIAMRolesList is a list of values of the 'instance_IAM_roles' type.

func (*InstanceIAMRolesList) Each ¶

func (l *InstanceIAMRolesList) Each(f func(item *InstanceIAMRoles) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*InstanceIAMRolesList) Empty ¶

func (l *InstanceIAMRolesList) Empty() bool

Empty returns true if the list is empty.

func (*InstanceIAMRolesList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*InstanceIAMRolesList) Items ¶

func (l *InstanceIAMRolesList) Items() []*InstanceIAMRoles

Items returns the items of the list.

func (*InstanceIAMRolesList) Len ¶

func (l *InstanceIAMRolesList) Len() int

Len returns the length of the list.

func (*InstanceIAMRolesList) Range ¶

func (l *InstanceIAMRolesList) Range(f func(index int, item *InstanceIAMRoles) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*InstanceIAMRolesList) SetHREF ¶

func (l *InstanceIAMRolesList) SetHREF(href string)

Items sets the items of the list.

func (*InstanceIAMRolesList) SetItems ¶

func (l *InstanceIAMRolesList) SetItems(items []*InstanceIAMRoles)

Items sets the items of the list.

func (l *InstanceIAMRolesList) SetLink(link bool)

Items sets the items of the list.

func (*InstanceIAMRolesList) Slice ¶

func (l *InstanceIAMRolesList) Slice() []*InstanceIAMRoles

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type InstanceIAMRolesListBuilder ¶

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

InstanceIAMRolesListBuilder contains the data and logic needed to build 'instance_IAM_roles' objects.

func NewInstanceIAMRolesList ¶

func NewInstanceIAMRolesList() *InstanceIAMRolesListBuilder

NewInstanceIAMRolesList creates a new builder of 'instance_IAM_roles' objects.

func (*InstanceIAMRolesListBuilder) Build ¶

func (b *InstanceIAMRolesListBuilder) Build() (list *InstanceIAMRolesList, err error)

Build creates a list of 'instance_IAM_roles' objects using the configuration stored in the builder.

func (*InstanceIAMRolesListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*InstanceIAMRolesListBuilder) Empty ¶

func (b *InstanceIAMRolesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*InstanceIAMRolesListBuilder) Items ¶

Items sets the items of the list.

type KubeletConfig ¶

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

KubeletConfig represents the values of the 'kubelet_config' type.

OCM representation of KubeletConfig, exposing the fields of Kubernetes KubeletConfig that can be managed by users

func ReadKubeletConfig ¶

func ReadKubeletConfig(iterator *jsoniter.Iterator) *KubeletConfig

ReadKubeletConfig reads a value of the 'kubelet_config' type from the given iterator.

func ReadKubeletConfigList ¶

func ReadKubeletConfigList(iterator *jsoniter.Iterator) []*KubeletConfig

ReadKubeletConfigList reads list of values of the ”kubelet_config' type from the given iterator.

func UnmarshalKubeletConfig ¶

func UnmarshalKubeletConfig(source interface{}) (object *KubeletConfig, err error)

UnmarshalKubeletConfig reads a value of the 'kubelet_config' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalKubeletConfigList ¶

func UnmarshalKubeletConfigList(source interface{}) (items []*KubeletConfig, err error)

UnmarshalKubeletConfigList reads a list of values of the 'kubelet_config' type from the given source, which can be a slice of bytes, a string or a reader.

func (*KubeletConfig) Empty ¶

func (o *KubeletConfig) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*KubeletConfig) GetHREF ¶

func (o *KubeletConfig) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*KubeletConfig) GetID ¶

func (o *KubeletConfig) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*KubeletConfig) GetName ¶

func (o *KubeletConfig) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

Allows the user to specify the name to be used to identify this KubeletConfig. Optional. A name will be generated if not provided.

func (*KubeletConfig) GetPodPidsLimit ¶

func (o *KubeletConfig) GetPodPidsLimit() (value int, ok bool)

GetPodPidsLimit returns the value of the 'pod_pids_limit' attribute and a flag indicating if the attribute has a value.

Allows the user to specify the podPidsLimit to be applied via KubeletConfig. Useful if workloads have greater PIDs limit requirements than the OCP default.

func (*KubeletConfig) HREF ¶

func (o *KubeletConfig) HREF() string

HREF returns the link to the object.

func (*KubeletConfig) ID ¶

func (o *KubeletConfig) ID() string

ID returns the identifier of the object.

func (*KubeletConfig) Kind ¶

func (o *KubeletConfig) Kind() string

Kind returns the name of the type of the object.

func (o *KubeletConfig) Link() bool

Link returns true if this is a link.

func (*KubeletConfig) Name ¶

func (o *KubeletConfig) Name() string

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

Allows the user to specify the name to be used to identify this KubeletConfig. Optional. A name will be generated if not provided.

func (*KubeletConfig) PodPidsLimit ¶

func (o *KubeletConfig) PodPidsLimit() int

PodPidsLimit returns the value of the 'pod_pids_limit' attribute, or the zero value of the type if the attribute doesn't have a value.

Allows the user to specify the podPidsLimit to be applied via KubeletConfig. Useful if workloads have greater PIDs limit requirements than the OCP default.

type KubeletConfigBuilder ¶

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

KubeletConfigBuilder contains the data and logic needed to build 'kubelet_config' objects.

OCM representation of KubeletConfig, exposing the fields of Kubernetes KubeletConfig that can be managed by users

func NewKubeletConfig ¶

func NewKubeletConfig() *KubeletConfigBuilder

NewKubeletConfig creates a new builder of 'kubelet_config' objects.

func (*KubeletConfigBuilder) Build ¶

func (b *KubeletConfigBuilder) Build() (object *KubeletConfig, err error)

Build creates a 'kubelet_config' object using the configuration stored in the builder.

func (*KubeletConfigBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*KubeletConfigBuilder) Empty ¶

func (b *KubeletConfigBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*KubeletConfigBuilder) HREF ¶

HREF sets the link to the object.

func (*KubeletConfigBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*KubeletConfigBuilder) Name ¶

Name sets the value of the 'name' attribute to the given value.

func (*KubeletConfigBuilder) PodPidsLimit ¶

func (b *KubeletConfigBuilder) PodPidsLimit(value int) *KubeletConfigBuilder

PodPidsLimit sets the value of the 'pod_pids_limit' attribute to the given value.

type KubeletConfigList ¶

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

KubeletConfigList is a list of values of the 'kubelet_config' type.

func (*KubeletConfigList) Each ¶

func (l *KubeletConfigList) Each(f func(item *KubeletConfig) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*KubeletConfigList) Empty ¶

func (l *KubeletConfigList) Empty() bool

Empty returns true if the list is empty.

func (*KubeletConfigList) Get ¶

func (l *KubeletConfigList) Get(i int) *KubeletConfig

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*KubeletConfigList) GetHREF ¶

func (l *KubeletConfigList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*KubeletConfigList) HREF ¶

func (l *KubeletConfigList) HREF() string

HREF returns the link to the list.

func (*KubeletConfigList) Items ¶

func (l *KubeletConfigList) Items() []*KubeletConfig

Items returns the items of the list.

func (*KubeletConfigList) Kind ¶

func (l *KubeletConfigList) Kind() string

Kind returns the name of the type of the object.

func (*KubeletConfigList) Len ¶

func (l *KubeletConfigList) Len() int

Len returns the length of the list.

func (l *KubeletConfigList) Link() bool

Link returns true iif this is a link.

func (*KubeletConfigList) Range ¶

func (l *KubeletConfigList) Range(f func(index int, item *KubeletConfig) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*KubeletConfigList) SetHREF ¶

func (l *KubeletConfigList) SetHREF(href string)

Items sets the items of the list.

func (*KubeletConfigList) SetItems ¶

func (l *KubeletConfigList) SetItems(items []*KubeletConfig)

Items sets the items of the list.

func (l *KubeletConfigList) SetLink(link bool)

Items sets the items of the list.

func (*KubeletConfigList) Slice ¶

func (l *KubeletConfigList) Slice() []*KubeletConfig

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type KubeletConfigListBuilder ¶

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

KubeletConfigListBuilder contains the data and logic needed to build 'kubelet_config' objects.

func NewKubeletConfigList ¶

func NewKubeletConfigList() *KubeletConfigListBuilder

NewKubeletConfigList creates a new builder of 'kubelet_config' objects.

func (*KubeletConfigListBuilder) Build ¶

func (b *KubeletConfigListBuilder) Build() (list *KubeletConfigList, err error)

Build creates a list of 'kubelet_config' objects using the configuration stored in the builder.

func (*KubeletConfigListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*KubeletConfigListBuilder) Empty ¶

func (b *KubeletConfigListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*KubeletConfigListBuilder) Items ¶

Items sets the items of the list.

type ListeningMethod ¶

type ListeningMethod string

ListeningMethod represents the values of the 'listening_method' enumerated type.

const (
	// Uses both external and internal traffic.
	ListeningMethodExternal ListeningMethod = "external"
	// Uses only internal traffic.
	ListeningMethodInternal ListeningMethod = "internal"
)

func ReadListeningMethodList ¶

func ReadListeningMethodList(iterator *jsoniter.Iterator) []ListeningMethod

ReadListeningMethodList reads list of values of the ”listening_method' type from the given iterator.

func UnmarshalListeningMethodList ¶

func UnmarshalListeningMethodList(source interface{}) (items []ListeningMethod, err error)

UnmarshalListeningMethodList reads a list of values of the 'listening_method' type from the given source, which can be a slice of bytes, a string or a reader.

type MachinePoolAutoscaling ¶

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

MachinePoolAutoscaling represents the values of the 'machine_pool_autoscaling' type.

Representation of a autoscaling in a machine pool.

func ReadMachinePoolAutoscaling ¶

func ReadMachinePoolAutoscaling(iterator *jsoniter.Iterator) *MachinePoolAutoscaling

ReadMachinePoolAutoscaling reads a value of the 'machine_pool_autoscaling' type from the given iterator.

func ReadMachinePoolAutoscalingList ¶

func ReadMachinePoolAutoscalingList(iterator *jsoniter.Iterator) []*MachinePoolAutoscaling

ReadMachinePoolAutoscalingList reads list of values of the ”machine_pool_autoscaling' type from the given iterator.

func UnmarshalMachinePoolAutoscaling ¶

func UnmarshalMachinePoolAutoscaling(source interface{}) (object *MachinePoolAutoscaling, err error)

UnmarshalMachinePoolAutoscaling reads a value of the 'machine_pool_autoscaling' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalMachinePoolAutoscalingList ¶

func UnmarshalMachinePoolAutoscalingList(source interface{}) (items []*MachinePoolAutoscaling, err error)

UnmarshalMachinePoolAutoscalingList reads a list of values of the 'machine_pool_autoscaling' type from the given source, which can be a slice of bytes, a string or a reader.

func (*MachinePoolAutoscaling) Empty ¶

func (o *MachinePoolAutoscaling) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*MachinePoolAutoscaling) GetHREF ¶

func (o *MachinePoolAutoscaling) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*MachinePoolAutoscaling) GetID ¶

func (o *MachinePoolAutoscaling) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*MachinePoolAutoscaling) GetMaxReplicas ¶

func (o *MachinePoolAutoscaling) GetMaxReplicas() (value int, ok bool)

GetMaxReplicas returns the value of the 'max_replicas' attribute and a flag indicating if the attribute has a value.

The maximum number of replicas for the machine pool.

func (*MachinePoolAutoscaling) GetMinReplicas ¶

func (o *MachinePoolAutoscaling) GetMinReplicas() (value int, ok bool)

GetMinReplicas returns the value of the 'min_replicas' attribute and a flag indicating if the attribute has a value.

The minimum number of replicas for the machine pool.

func (*MachinePoolAutoscaling) HREF ¶

func (o *MachinePoolAutoscaling) HREF() string

HREF returns the link to the object.

func (*MachinePoolAutoscaling) ID ¶

ID returns the identifier of the object.

func (*MachinePoolAutoscaling) Kind ¶

func (o *MachinePoolAutoscaling) Kind() string

Kind returns the name of the type of the object.

func (o *MachinePoolAutoscaling) Link() bool

Link returns true if this is a link.

func (*MachinePoolAutoscaling) MaxReplicas ¶

func (o *MachinePoolAutoscaling) MaxReplicas() int

MaxReplicas returns the value of the 'max_replicas' attribute, or the zero value of the type if the attribute doesn't have a value.

The maximum number of replicas for the machine pool.

func (*MachinePoolAutoscaling) MinReplicas ¶

func (o *MachinePoolAutoscaling) MinReplicas() int

MinReplicas returns the value of the 'min_replicas' attribute, or the zero value of the type if the attribute doesn't have a value.

The minimum number of replicas for the machine pool.

type MachinePoolAutoscalingBuilder ¶

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

MachinePoolAutoscalingBuilder contains the data and logic needed to build 'machine_pool_autoscaling' objects.

Representation of a autoscaling in a machine pool.

func NewMachinePoolAutoscaling ¶

func NewMachinePoolAutoscaling() *MachinePoolAutoscalingBuilder

NewMachinePoolAutoscaling creates a new builder of 'machine_pool_autoscaling' objects.

func (*MachinePoolAutoscalingBuilder) Build ¶

Build creates a 'machine_pool_autoscaling' object using the configuration stored in the builder.

func (*MachinePoolAutoscalingBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*MachinePoolAutoscalingBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*MachinePoolAutoscalingBuilder) HREF ¶

HREF sets the link to the object.

func (*MachinePoolAutoscalingBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*MachinePoolAutoscalingBuilder) MaxReplicas ¶

MaxReplicas sets the value of the 'max_replicas' attribute to the given value.

func (*MachinePoolAutoscalingBuilder) MinReplicas ¶

MinReplicas sets the value of the 'min_replicas' attribute to the given value.

type MachinePoolAutoscalingList ¶

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

MachinePoolAutoscalingList is a list of values of the 'machine_pool_autoscaling' type.

func (*MachinePoolAutoscalingList) Each ¶

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*MachinePoolAutoscalingList) Empty ¶

func (l *MachinePoolAutoscalingList) Empty() bool

Empty returns true if the list is empty.

func (*MachinePoolAutoscalingList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*MachinePoolAutoscalingList) GetHREF ¶

func (l *MachinePoolAutoscalingList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*MachinePoolAutoscalingList) HREF ¶

HREF returns the link to the list.

func (*MachinePoolAutoscalingList) Items ¶

Items returns the items of the list.

func (*MachinePoolAutoscalingList) Kind ¶

Kind returns the name of the type of the object.

func (*MachinePoolAutoscalingList) Len ¶

Len returns the length of the list.

func (l *MachinePoolAutoscalingList) Link() bool

Link returns true iif this is a link.

func (*MachinePoolAutoscalingList) Range ¶

func (l *MachinePoolAutoscalingList) Range(f func(index int, item *MachinePoolAutoscaling) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*MachinePoolAutoscalingList) SetHREF ¶

func (l *MachinePoolAutoscalingList) SetHREF(href string)

Items sets the items of the list.

func (*MachinePoolAutoscalingList) SetItems ¶

func (l *MachinePoolAutoscalingList) SetItems(items []*MachinePoolAutoscaling)

Items sets the items of the list.

func (l *MachinePoolAutoscalingList) SetLink(link bool)

Items sets the items of the list.

func (*MachinePoolAutoscalingList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type MachinePoolAutoscalingListBuilder ¶

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

MachinePoolAutoscalingListBuilder contains the data and logic needed to build 'machine_pool_autoscaling' objects.

func NewMachinePoolAutoscalingList ¶

func NewMachinePoolAutoscalingList() *MachinePoolAutoscalingListBuilder

NewMachinePoolAutoscalingList creates a new builder of 'machine_pool_autoscaling' objects.

func (*MachinePoolAutoscalingListBuilder) Build ¶

Build creates a list of 'machine_pool_autoscaling' objects using the configuration stored in the builder.

func (*MachinePoolAutoscalingListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*MachinePoolAutoscalingListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*MachinePoolAutoscalingListBuilder) Items ¶

Items sets the items of the list.

type MachinePoolSecurityGroupFilter ¶

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

MachinePoolSecurityGroupFilter represents the values of the 'machine_pool_security_group_filter' type.

Security Group Filter object, containing name of the filter tag and value of the filter tag

func ReadMachinePoolSecurityGroupFilter ¶

func ReadMachinePoolSecurityGroupFilter(iterator *jsoniter.Iterator) *MachinePoolSecurityGroupFilter

ReadMachinePoolSecurityGroupFilter reads a value of the 'machine_pool_security_group_filter' type from the given iterator.

func ReadMachinePoolSecurityGroupFilterList ¶

func ReadMachinePoolSecurityGroupFilterList(iterator *jsoniter.Iterator) []*MachinePoolSecurityGroupFilter

ReadMachinePoolSecurityGroupFilterList reads list of values of the ”machine_pool_security_group_filter' type from the given iterator.

func UnmarshalMachinePoolSecurityGroupFilter ¶

func UnmarshalMachinePoolSecurityGroupFilter(source interface{}) (object *MachinePoolSecurityGroupFilter, err error)

UnmarshalMachinePoolSecurityGroupFilter reads a value of the 'machine_pool_security_group_filter' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalMachinePoolSecurityGroupFilterList ¶

func UnmarshalMachinePoolSecurityGroupFilterList(source interface{}) (items []*MachinePoolSecurityGroupFilter, err error)

UnmarshalMachinePoolSecurityGroupFilterList reads a list of values of the 'machine_pool_security_group_filter' type from the given source, which can be a slice of bytes, a string or a reader.

func (*MachinePoolSecurityGroupFilter) Empty ¶

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*MachinePoolSecurityGroupFilter) GetName ¶

func (o *MachinePoolSecurityGroupFilter) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

func (*MachinePoolSecurityGroupFilter) GetValue ¶

func (o *MachinePoolSecurityGroupFilter) GetValue() (value string, ok bool)

GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.

func (*MachinePoolSecurityGroupFilter) Name ¶

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*MachinePoolSecurityGroupFilter) Value ¶

Value returns the value of the 'value' attribute, or the zero value of the type if the attribute doesn't have a value.

type MachinePoolSecurityGroupFilterBuilder ¶

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

MachinePoolSecurityGroupFilterBuilder contains the data and logic needed to build 'machine_pool_security_group_filter' objects.

Security Group Filter object, containing name of the filter tag and value of the filter tag

func NewMachinePoolSecurityGroupFilter ¶

func NewMachinePoolSecurityGroupFilter() *MachinePoolSecurityGroupFilterBuilder

NewMachinePoolSecurityGroupFilter creates a new builder of 'machine_pool_security_group_filter' objects.

func (*MachinePoolSecurityGroupFilterBuilder) Build ¶

Build creates a 'machine_pool_security_group_filter' object using the configuration stored in the builder.

func (*MachinePoolSecurityGroupFilterBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*MachinePoolSecurityGroupFilterBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*MachinePoolSecurityGroupFilterBuilder) Name ¶

Name sets the value of the 'name' attribute to the given value.

func (*MachinePoolSecurityGroupFilterBuilder) Value ¶

Value sets the value of the 'value' attribute to the given value.

type MachinePoolSecurityGroupFilterList ¶

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

MachinePoolSecurityGroupFilterList is a list of values of the 'machine_pool_security_group_filter' type.

func (*MachinePoolSecurityGroupFilterList) Each ¶

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*MachinePoolSecurityGroupFilterList) Empty ¶

Empty returns true if the list is empty.

func (*MachinePoolSecurityGroupFilterList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*MachinePoolSecurityGroupFilterList) Items ¶

Items returns the items of the list.

func (*MachinePoolSecurityGroupFilterList) Len ¶

Len returns the length of the list.

func (*MachinePoolSecurityGroupFilterList) Range ¶

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*MachinePoolSecurityGroupFilterList) SetHREF ¶

func (l *MachinePoolSecurityGroupFilterList) SetHREF(href string)

Items sets the items of the list.

func (*MachinePoolSecurityGroupFilterList) SetItems ¶

Items sets the items of the list.

func (l *MachinePoolSecurityGroupFilterList) SetLink(link bool)

Items sets the items of the list.

func (*MachinePoolSecurityGroupFilterList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type MachinePoolSecurityGroupFilterListBuilder ¶

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

MachinePoolSecurityGroupFilterListBuilder contains the data and logic needed to build 'machine_pool_security_group_filter' objects.

func NewMachinePoolSecurityGroupFilterList ¶

func NewMachinePoolSecurityGroupFilterList() *MachinePoolSecurityGroupFilterListBuilder

NewMachinePoolSecurityGroupFilterList creates a new builder of 'machine_pool_security_group_filter' objects.

func (*MachinePoolSecurityGroupFilterListBuilder) Build ¶

Build creates a list of 'machine_pool_security_group_filter' objects using the configuration stored in the builder.

func (*MachinePoolSecurityGroupFilterListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*MachinePoolSecurityGroupFilterListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*MachinePoolSecurityGroupFilterListBuilder) Items ¶

Items sets the items of the list.

type MachineType ¶

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

MachineType represents the values of the 'machine_type' type.

Machine type.

func ReadMachineType ¶

func ReadMachineType(iterator *jsoniter.Iterator) *MachineType

ReadMachineType reads a value of the 'machine_type' type from the given iterator.

func ReadMachineTypeList ¶

func ReadMachineTypeList(iterator *jsoniter.Iterator) []*MachineType

ReadMachineTypeList reads list of values of the ”machine_type' type from the given iterator.

func UnmarshalMachineType ¶

func UnmarshalMachineType(source interface{}) (object *MachineType, err error)

UnmarshalMachineType reads a value of the 'machine_type' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalMachineTypeList ¶

func UnmarshalMachineTypeList(source interface{}) (items []*MachineType, err error)

UnmarshalMachineTypeList reads a list of values of the 'machine_type' type from the given source, which can be a slice of bytes, a string or a reader.

func (*MachineType) Architecture ¶

func (o *MachineType) Architecture() ProcessorType

Architecture returns the value of the 'architecture' attribute, or the zero value of the type if the attribute doesn't have a value.

The architecture of the machine type.

func (*MachineType) CCSOnly ¶

func (o *MachineType) CCSOnly() bool

CCSOnly returns the value of the 'CCS_only' attribute, or the zero value of the type if the attribute doesn't have a value.

'true' if the instance type is supported only for CCS clusters, 'false' otherwise.

func (*MachineType) CPU ¶

func (o *MachineType) CPU() *Value

CPU returns the value of the 'CPU' attribute, or the zero value of the type if the attribute doesn't have a value.

The amount of cpu's of the machine type.

func (*MachineType) Category ¶

func (o *MachineType) Category() MachineTypeCategory

Category returns the value of the 'category' attribute, or the zero value of the type if the attribute doesn't have a value.

The category which the machine type is suitable for.

func (*MachineType) CloudProvider ¶

func (o *MachineType) CloudProvider() *v1.CloudProvider

CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the cloud provider that the machine type belongs to.

func (*MachineType) Empty ¶

func (o *MachineType) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*MachineType) GenericName ¶

func (o *MachineType) GenericName() string

GenericName returns the value of the 'generic_name' attribute, or the zero value of the type if the attribute doesn't have a value.

Generic name for quota purposes, for example `highmem-4`. Cloud provider agnostic - many values are shared between "similar" machine types on different providers. Corresponds to `resource_name` values in "compute.node" quota cost data.

func (*MachineType) GetArchitecture ¶

func (o *MachineType) GetArchitecture() (value ProcessorType, ok bool)

GetArchitecture returns the value of the 'architecture' attribute and a flag indicating if the attribute has a value.

The architecture of the machine type.

func (*MachineType) GetCCSOnly ¶

func (o *MachineType) GetCCSOnly() (value bool, ok bool)

GetCCSOnly returns the value of the 'CCS_only' attribute and a flag indicating if the attribute has a value.

'true' if the instance type is supported only for CCS clusters, 'false' otherwise.

func (*MachineType) GetCPU ¶

func (o *MachineType) GetCPU() (value *Value, ok bool)

GetCPU returns the value of the 'CPU' attribute and a flag indicating if the attribute has a value.

The amount of cpu's of the machine type.

func (*MachineType) GetCategory ¶

func (o *MachineType) GetCategory() (value MachineTypeCategory, ok bool)

GetCategory returns the value of the 'category' attribute and a flag indicating if the attribute has a value.

The category which the machine type is suitable for.

func (*MachineType) GetCloudProvider ¶

func (o *MachineType) GetCloudProvider() (value *v1.CloudProvider, ok bool)

GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.

Link to the cloud provider that the machine type belongs to.

func (*MachineType) GetGenericName ¶

func (o *MachineType) GetGenericName() (value string, ok bool)

GetGenericName returns the value of the 'generic_name' attribute and a flag indicating if the attribute has a value.

Generic name for quota purposes, for example `highmem-4`. Cloud provider agnostic - many values are shared between "similar" machine types on different providers. Corresponds to `resource_name` values in "compute.node" quota cost data.

func (*MachineType) GetHREF ¶

func (o *MachineType) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*MachineType) GetID ¶

func (o *MachineType) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*MachineType) GetMemory ¶

func (o *MachineType) GetMemory() (value *Value, ok bool)

GetMemory returns the value of the 'memory' attribute and a flag indicating if the attribute has a value.

The amount of memory of the machine type.

func (*MachineType) GetName ¶

func (o *MachineType) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

Human friendly identifier of the machine type, for example `r5.xlarge - Memory Optimized`.

func (*MachineType) GetSize ¶

func (o *MachineType) GetSize() (value MachineTypeSize, ok bool)

GetSize returns the value of the 'size' attribute and a flag indicating if the attribute has a value.

The size of the machine type.

func (*MachineType) HREF ¶

func (o *MachineType) HREF() string

HREF returns the link to the object.

func (*MachineType) ID ¶

func (o *MachineType) ID() string

ID returns the identifier of the object.

func (*MachineType) Kind ¶

func (o *MachineType) Kind() string

Kind returns the name of the type of the object.

func (o *MachineType) Link() bool

Link returns true if this is a link.

func (*MachineType) Memory ¶

func (o *MachineType) Memory() *Value

Memory returns the value of the 'memory' attribute, or the zero value of the type if the attribute doesn't have a value.

The amount of memory of the machine type.

func (*MachineType) Name ¶

func (o *MachineType) Name() string

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

Human friendly identifier of the machine type, for example `r5.xlarge - Memory Optimized`.

func (*MachineType) Size ¶

func (o *MachineType) Size() MachineTypeSize

Size returns the value of the 'size' attribute, or the zero value of the type if the attribute doesn't have a value.

The size of the machine type.

type MachineTypeBuilder ¶

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

Machine type.

func NewMachineType ¶

func NewMachineType() *MachineTypeBuilder

NewMachineType creates a new builder of 'machine_type' objects.

func (*MachineTypeBuilder) Architecture ¶

func (b *MachineTypeBuilder) Architecture(value ProcessorType) *MachineTypeBuilder

Architecture sets the value of the 'architecture' attribute to the given value.

Processor type category.

func (*MachineTypeBuilder) Build ¶

func (b *MachineTypeBuilder) Build() (object *MachineType, err error)

Build creates a 'machine_type' object using the configuration stored in the builder.

func (*MachineTypeBuilder) CCSOnly ¶

func (b *MachineTypeBuilder) CCSOnly(value bool) *MachineTypeBuilder

CCSOnly sets the value of the 'CCS_only' attribute to the given value.

func (*MachineTypeBuilder) CPU ¶

CPU sets the value of the 'CPU' attribute to the given value.

Numeric value and the unit used to measure it.

Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:

- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes

- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes

func (*MachineTypeBuilder) Category ¶

Category sets the value of the 'category' attribute to the given value.

Machine type category.

func (*MachineTypeBuilder) CloudProvider ¶

CloudProvider sets the value of the 'cloud_provider' attribute to the given value.

Cloud provider.

func (*MachineTypeBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*MachineTypeBuilder) Empty ¶

func (b *MachineTypeBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*MachineTypeBuilder) GenericName ¶

func (b *MachineTypeBuilder) GenericName(value string) *MachineTypeBuilder

GenericName sets the value of the 'generic_name' attribute to the given value.

func (*MachineTypeBuilder) HREF ¶

HREF sets the link to the object.

func (*MachineTypeBuilder) ID ¶

ID sets the identifier of the object.

func (b *MachineTypeBuilder) Link(value bool) *MachineTypeBuilder

Link sets the flag that indicates if this is a link.

func (*MachineTypeBuilder) Memory ¶

Memory sets the value of the 'memory' attribute to the given value.

Numeric value and the unit used to measure it.

Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:

- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes

- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes

func (*MachineTypeBuilder) Name ¶

Name sets the value of the 'name' attribute to the given value.

func (*MachineTypeBuilder) Size ¶

Size sets the value of the 'size' attribute to the given value.

Machine type size.

type MachineTypeCategory ¶

type MachineTypeCategory string

MachineTypeCategory represents the values of the 'machine_type_category' enumerated type.

const (
	// Accelerated Computing machine type.
	MachineTypeCategoryAcceleratedComputing MachineTypeCategory = "accelerated_computing"
	// Compute Optimized machine type.
	MachineTypeCategoryComputeOptimized MachineTypeCategory = "compute_optimized"
	// General Purpose machine type.
	MachineTypeCategoryGeneralPurpose MachineTypeCategory = "general_purpose"
	// Memory Optimized machine type.
	MachineTypeCategoryMemoryOptimized MachineTypeCategory = "memory_optimized"
)

func ReadMachineTypeCategoryList ¶

func ReadMachineTypeCategoryList(iterator *jsoniter.Iterator) []MachineTypeCategory

ReadMachineTypeCategoryList reads list of values of the ”machine_type_category' type from the given iterator.

func UnmarshalMachineTypeCategoryList ¶

func UnmarshalMachineTypeCategoryList(source interface{}) (items []MachineTypeCategory, err error)

UnmarshalMachineTypeCategoryList reads a list of values of the 'machine_type_category' type from the given source, which can be a slice of bytes, a string or a reader.

type MachineTypeList ¶

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

MachineTypeList is a list of values of the 'machine_type' type.

func (*MachineTypeList) Each ¶

func (l *MachineTypeList) Each(f func(item *MachineType) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*MachineTypeList) Empty ¶

func (l *MachineTypeList) Empty() bool

Empty returns true if the list is empty.

func (*MachineTypeList) Get ¶

func (l *MachineTypeList) Get(i int) *MachineType

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*MachineTypeList) GetHREF ¶

func (l *MachineTypeList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*MachineTypeList) HREF ¶

func (l *MachineTypeList) HREF() string

HREF returns the link to the list.

func (*MachineTypeList) Items ¶

func (l *MachineTypeList) Items() []*MachineType

Items returns the items of the list.

func (*MachineTypeList) Kind ¶

func (l *MachineTypeList) Kind() string

Kind returns the name of the type of the object.

func (*MachineTypeList) Len ¶

func (l *MachineTypeList) Len() int

Len returns the length of the list.

func (l *MachineTypeList) Link() bool

Link returns true iif this is a link.

func (*MachineTypeList) Range ¶

func (l *MachineTypeList) Range(f func(index int, item *MachineType) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*MachineTypeList) SetHREF ¶

func (l *MachineTypeList) SetHREF(href string)

Items sets the items of the list.

func (*MachineTypeList) SetItems ¶

func (l *MachineTypeList) SetItems(items []*MachineType)

Items sets the items of the list.

func (l *MachineTypeList) SetLink(link bool)

Items sets the items of the list.

func (*MachineTypeList) Slice ¶

func (l *MachineTypeList) Slice() []*MachineType

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type MachineTypeListBuilder ¶

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

MachineTypeListBuilder contains the data and logic needed to build 'machine_type' objects.

func NewMachineTypeList ¶

func NewMachineTypeList() *MachineTypeListBuilder

NewMachineTypeList creates a new builder of 'machine_type' objects.

func (*MachineTypeListBuilder) Build ¶

func (b *MachineTypeListBuilder) Build() (list *MachineTypeList, err error)

Build creates a list of 'machine_type' objects using the configuration stored in the builder.

func (*MachineTypeListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*MachineTypeListBuilder) Empty ¶

func (b *MachineTypeListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*MachineTypeListBuilder) Items ¶

Items sets the items of the list.

type MachineTypeSize ¶

type MachineTypeSize string

MachineTypeSize represents the values of the 'machine_type_size' enumerated type.

const (
	// Large machine type (e.g. c5.4xlarge, custom-16-65536)
	MachineTypeSizeLarge MachineTypeSize = "large"
	// Medium machine type (e.g. r5.2xlarge, custom-8-32768)
	MachineTypeSizeMedium MachineTypeSize = "medium"
	// Small machine type (e.g. m5.xlarge, custom-4-16384)
	MachineTypeSizeSmall MachineTypeSize = "small"
)

func ReadMachineTypeSizeList ¶

func ReadMachineTypeSizeList(iterator *jsoniter.Iterator) []MachineTypeSize

ReadMachineTypeSizeList reads list of values of the ”machine_type_size' type from the given iterator.

func UnmarshalMachineTypeSizeList ¶

func UnmarshalMachineTypeSizeList(source interface{}) (items []MachineTypeSize, err error)

UnmarshalMachineTypeSizeList reads a list of values of the 'machine_type_size' type from the given source, which can be a slice of bytes, a string or a reader.

type ManagedService ¶

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

ManagedService represents the values of the 'managed_service' type.

Contains the necessary attributes to support role-based authentication on AWS.

func ReadManagedService ¶

func ReadManagedService(iterator *jsoniter.Iterator) *ManagedService

ReadManagedService reads a value of the 'managed_service' type from the given iterator.

func ReadManagedServiceList ¶

func ReadManagedServiceList(iterator *jsoniter.Iterator) []*ManagedService

ReadManagedServiceList reads list of values of the ”managed_service' type from the given iterator.

func UnmarshalManagedService ¶

func UnmarshalManagedService(source interface{}) (object *ManagedService, err error)

UnmarshalManagedService reads a value of the 'managed_service' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalManagedServiceList ¶

func UnmarshalManagedServiceList(source interface{}) (items []*ManagedService, err error)

UnmarshalManagedServiceList reads a list of values of the 'managed_service' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ManagedService) Empty ¶

func (o *ManagedService) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ManagedService) Enabled ¶

func (o *ManagedService) Enabled() bool

Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates whether the cluster belongs to a managed service This should only be set by the "Managed Service" service. clusters with this set can only be modified by the "Managed Service" service.

func (*ManagedService) GetEnabled ¶

func (o *ManagedService) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Indicates whether the cluster belongs to a managed service This should only be set by the "Managed Service" service. clusters with this set can only be modified by the "Managed Service" service.

type ManagedServiceBuilder ¶

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

ManagedServiceBuilder contains the data and logic needed to build 'managed_service' objects.

Contains the necessary attributes to support role-based authentication on AWS.

func NewManagedService ¶

func NewManagedService() *ManagedServiceBuilder

NewManagedService creates a new builder of 'managed_service' objects.

func (*ManagedServiceBuilder) Build ¶

func (b *ManagedServiceBuilder) Build() (object *ManagedService, err error)

Build creates a 'managed_service' object using the configuration stored in the builder.

func (*ManagedServiceBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ManagedServiceBuilder) Empty ¶

func (b *ManagedServiceBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ManagedServiceBuilder) Enabled ¶

Enabled sets the value of the 'enabled' attribute to the given value.

type ManagedServiceList ¶

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

ManagedServiceList is a list of values of the 'managed_service' type.

func (*ManagedServiceList) Each ¶

func (l *ManagedServiceList) Each(f func(item *ManagedService) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ManagedServiceList) Empty ¶

func (l *ManagedServiceList) Empty() bool

Empty returns true if the list is empty.

func (*ManagedServiceList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ManagedServiceList) Items ¶

func (l *ManagedServiceList) Items() []*ManagedService

Items returns the items of the list.

func (*ManagedServiceList) Len ¶

func (l *ManagedServiceList) Len() int

Len returns the length of the list.

func (*ManagedServiceList) Range ¶

func (l *ManagedServiceList) Range(f func(index int, item *ManagedService) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ManagedServiceList) SetHREF ¶

func (l *ManagedServiceList) SetHREF(href string)

Items sets the items of the list.

func (*ManagedServiceList) SetItems ¶

func (l *ManagedServiceList) SetItems(items []*ManagedService)

Items sets the items of the list.

func (l *ManagedServiceList) SetLink(link bool)

Items sets the items of the list.

func (*ManagedServiceList) Slice ¶

func (l *ManagedServiceList) Slice() []*ManagedService

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ManagedServiceListBuilder ¶

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

ManagedServiceListBuilder contains the data and logic needed to build 'managed_service' objects.

func NewManagedServiceList ¶

func NewManagedServiceList() *ManagedServiceListBuilder

NewManagedServiceList creates a new builder of 'managed_service' objects.

func (*ManagedServiceListBuilder) Build ¶

func (b *ManagedServiceListBuilder) Build() (list *ManagedServiceList, err error)

Build creates a list of 'managed_service' objects using the configuration stored in the builder.

func (*ManagedServiceListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ManagedServiceListBuilder) Empty ¶

func (b *ManagedServiceListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ManagedServiceListBuilder) Items ¶

Items sets the items of the list.

type Metadata ¶

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

Metadata contains the version metadata.

func UnmarshalMetadata ¶

func UnmarshalMetadata(source interface{}) (object *Metadata, err error)

UnmarshalMetadata reads a value of the metadata type from the given source, which which can be a reader, a slice of byte or a string.

func (*Metadata) GetServerVersion ¶

func (m *Metadata) GetServerVersion() (value string, ok bool)

GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.

func (*Metadata) ServerVersion ¶

func (m *Metadata) ServerVersion() string

ServerVersion returns the version of the server.

type MetadataRequest ¶

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

MetadataRequest is the request to retrieve the metadata.

func (*MetadataRequest) Header ¶

func (r *MetadataRequest) Header(name string, value interface{}) *MetadataRequest

Header adds a request header.

func (*MetadataRequest) Parameter ¶

func (r *MetadataRequest) Parameter(name string, value interface{}) *MetadataRequest

Parameter adds a query parameter.

func (*MetadataRequest) Send ¶

func (r *MetadataRequest) Send() (result *MetadataResponse, err error)

Send sends the metadata request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*MetadataRequest) SendContext ¶

func (r *MetadataRequest) SendContext(ctx context.Context) (result *MetadataResponse, err error)

SendContext sends the metadata request, waits for the response, and returns it.

type MetadataResponse ¶

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

MetadataResponse is the response for the metadata request.

func (*MetadataResponse) Body ¶

func (r *MetadataResponse) Body() *Metadata

Body returns the response body.

func (*MetadataResponse) Error ¶

func (r *MetadataResponse) Error() *errors.Error

Error returns the response error.

func (*MetadataResponse) Header ¶

func (r *MetadataResponse) Header() http.Header

Header returns header of the response.

func (*MetadataResponse) Status ¶

func (r *MetadataResponse) Status() int

Status returns the response status code.

type Network ¶

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

Network represents the values of the 'network' type.

Network configuration of a cluster.

func ReadNetwork ¶

func ReadNetwork(iterator *jsoniter.Iterator) *Network

ReadNetwork reads a value of the 'network' type from the given iterator.

func ReadNetworkList ¶

func ReadNetworkList(iterator *jsoniter.Iterator) []*Network

ReadNetworkList reads list of values of the ”network' type from the given iterator.

func UnmarshalNetwork ¶

func UnmarshalNetwork(source interface{}) (object *Network, err error)

UnmarshalNetwork reads a value of the 'network' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalNetworkList ¶

func UnmarshalNetworkList(source interface{}) (items []*Network, err error)

UnmarshalNetworkList reads a list of values of the 'network' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Network) Empty ¶

func (o *Network) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Network) GetHostPrefix ¶

func (o *Network) GetHostPrefix() (value int, ok bool)

GetHostPrefix returns the value of the 'host_prefix' attribute and a flag indicating if the attribute has a value.

Network host prefix which is defaulted to `23` if not specified.

func (*Network) GetMachineCIDR ¶

func (o *Network) GetMachineCIDR() (value string, ok bool)

GetMachineCIDR returns the value of the 'machine_CIDR' attribute and a flag indicating if the attribute has a value.

IP address block from which to assign machine IP addresses, for example `10.0.0.0/16`.

func (*Network) GetPodCIDR ¶

func (o *Network) GetPodCIDR() (value string, ok bool)

GetPodCIDR returns the value of the 'pod_CIDR' attribute and a flag indicating if the attribute has a value.

IP address block from which to assign pod IP addresses, for example `10.128.0.0/14`.

func (*Network) GetServiceCIDR ¶

func (o *Network) GetServiceCIDR() (value string, ok bool)

GetServiceCIDR returns the value of the 'service_CIDR' attribute and a flag indicating if the attribute has a value.

IP address block from which to assign service IP addresses, for example `172.30.0.0/16`.

func (*Network) GetType ¶

func (o *Network) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

The main controller responsible for rendering the core networking components.

func (*Network) HostPrefix ¶

func (o *Network) HostPrefix() int

HostPrefix returns the value of the 'host_prefix' attribute, or the zero value of the type if the attribute doesn't have a value.

Network host prefix which is defaulted to `23` if not specified.

func (*Network) MachineCIDR ¶

func (o *Network) MachineCIDR() string

MachineCIDR returns the value of the 'machine_CIDR' attribute, or the zero value of the type if the attribute doesn't have a value.

IP address block from which to assign machine IP addresses, for example `10.0.0.0/16`.

func (*Network) PodCIDR ¶

func (o *Network) PodCIDR() string

PodCIDR returns the value of the 'pod_CIDR' attribute, or the zero value of the type if the attribute doesn't have a value.

IP address block from which to assign pod IP addresses, for example `10.128.0.0/14`.

func (*Network) ServiceCIDR ¶

func (o *Network) ServiceCIDR() string

ServiceCIDR returns the value of the 'service_CIDR' attribute, or the zero value of the type if the attribute doesn't have a value.

IP address block from which to assign service IP addresses, for example `172.30.0.0/16`.

func (*Network) Type ¶

func (o *Network) Type() string

Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.

The main controller responsible for rendering the core networking components.

type NetworkBuilder ¶

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

NetworkBuilder contains the data and logic needed to build 'network' objects.

Network configuration of a cluster.

func NewNetwork ¶

func NewNetwork() *NetworkBuilder

NewNetwork creates a new builder of 'network' objects.

func (*NetworkBuilder) Build ¶

func (b *NetworkBuilder) Build() (object *Network, err error)

Build creates a 'network' object using the configuration stored in the builder.

func (*NetworkBuilder) Copy ¶

func (b *NetworkBuilder) Copy(object *Network) *NetworkBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NetworkBuilder) Empty ¶

func (b *NetworkBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*NetworkBuilder) HostPrefix ¶

func (b *NetworkBuilder) HostPrefix(value int) *NetworkBuilder

HostPrefix sets the value of the 'host_prefix' attribute to the given value.

func (*NetworkBuilder) MachineCIDR ¶

func (b *NetworkBuilder) MachineCIDR(value string) *NetworkBuilder

MachineCIDR sets the value of the 'machine_CIDR' attribute to the given value.

func (*NetworkBuilder) PodCIDR ¶

func (b *NetworkBuilder) PodCIDR(value string) *NetworkBuilder

PodCIDR sets the value of the 'pod_CIDR' attribute to the given value.

func (*NetworkBuilder) ServiceCIDR ¶

func (b *NetworkBuilder) ServiceCIDR(value string) *NetworkBuilder

ServiceCIDR sets the value of the 'service_CIDR' attribute to the given value.

func (*NetworkBuilder) Type ¶

func (b *NetworkBuilder) Type(value string) *NetworkBuilder

Type sets the value of the 'type' attribute to the given value.

type NetworkList ¶

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

NetworkList is a list of values of the 'network' type.

func (*NetworkList) Each ¶

func (l *NetworkList) Each(f func(item *Network) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*NetworkList) Empty ¶

func (l *NetworkList) Empty() bool

Empty returns true if the list is empty.

func (*NetworkList) Get ¶

func (l *NetworkList) Get(i int) *Network

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*NetworkList) Items ¶

func (l *NetworkList) Items() []*Network

Items returns the items of the list.

func (*NetworkList) Len ¶

func (l *NetworkList) Len() int

Len returns the length of the list.

func (*NetworkList) Range ¶

func (l *NetworkList) Range(f func(index int, item *Network) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*NetworkList) SetHREF ¶

func (l *NetworkList) SetHREF(href string)

Items sets the items of the list.

func (*NetworkList) SetItems ¶

func (l *NetworkList) SetItems(items []*Network)

Items sets the items of the list.

func (l *NetworkList) SetLink(link bool)

Items sets the items of the list.

func (*NetworkList) Slice ¶

func (l *NetworkList) Slice() []*Network

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type NetworkListBuilder ¶

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

NetworkListBuilder contains the data and logic needed to build 'network' objects.

func NewNetworkList ¶

func NewNetworkList() *NetworkListBuilder

NewNetworkList creates a new builder of 'network' objects.

func (*NetworkListBuilder) Build ¶

func (b *NetworkListBuilder) Build() (list *NetworkList, err error)

Build creates a list of 'network' objects using the configuration stored in the builder.

func (*NetworkListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NetworkListBuilder) Empty ¶

func (b *NetworkListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*NetworkListBuilder) Items ¶

Items sets the items of the list.

type OidcConfig ¶

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

OidcConfig represents the values of the 'oidc_config' type.

Contains the necessary attributes to support oidc configuration hosting under Red Hat or registering a Customer's byo oidc config.

func ReadOidcConfig ¶

func ReadOidcConfig(iterator *jsoniter.Iterator) *OidcConfig

ReadOidcConfig reads a value of the 'oidc_config' type from the given iterator.

func ReadOidcConfigList ¶

func ReadOidcConfigList(iterator *jsoniter.Iterator) []*OidcConfig

ReadOidcConfigList reads list of values of the ”oidc_config' type from the given iterator.

func UnmarshalOidcConfig ¶

func UnmarshalOidcConfig(source interface{}) (object *OidcConfig, err error)

UnmarshalOidcConfig reads a value of the 'oidc_config' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalOidcConfigList ¶

func UnmarshalOidcConfigList(source interface{}) (items []*OidcConfig, err error)

UnmarshalOidcConfigList reads a list of values of the 'oidc_config' type from the given source, which can be a slice of bytes, a string or a reader.

func (*OidcConfig) CreationTimestamp ¶

func (o *OidcConfig) CreationTimestamp() time.Time

CreationTimestamp returns the value of the 'creation_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.

Creation timestamp, filled in response.

func (*OidcConfig) Empty ¶

func (o *OidcConfig) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*OidcConfig) GetCreationTimestamp ¶

func (o *OidcConfig) GetCreationTimestamp() (value time.Time, ok bool)

GetCreationTimestamp returns the value of the 'creation_timestamp' attribute and a flag indicating if the attribute has a value.

Creation timestamp, filled in response.

func (*OidcConfig) GetHREF ¶

func (o *OidcConfig) GetHREF() (value string, ok bool)

GetHREF returns the value of the 'HREF' attribute and a flag indicating if the attribute has a value.

HREF for the oidc config, filled in response.

func (*OidcConfig) GetID ¶

func (o *OidcConfig) GetID() (value string, ok bool)

GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.

ID for the oidc config, filled in response.

func (*OidcConfig) GetInstallerRoleArn ¶

func (o *OidcConfig) GetInstallerRoleArn() (value string, ok bool)

GetInstallerRoleArn returns the value of the 'installer_role_arn' attribute and a flag indicating if the attribute has a value.

ARN of the AWS role to assume when installing the cluster as to reveal the secret, supplied in request. It is only to be used in Unmanaged Oidc Config.

func (*OidcConfig) GetIssuerUrl ¶

func (o *OidcConfig) GetIssuerUrl() (value string, ok bool)

GetIssuerUrl returns the value of the 'issuer_url' attribute and a flag indicating if the attribute has a value.

Issuer URL, filled in response when Managed and supplied in Unmanaged.

func (*OidcConfig) GetLastUpdateTimestamp ¶

func (o *OidcConfig) GetLastUpdateTimestamp() (value time.Time, ok bool)

GetLastUpdateTimestamp returns the value of the 'last_update_timestamp' attribute and a flag indicating if the attribute has a value.

Last update timestamp, filled when patching a valid attribute of this oidc config.

func (*OidcConfig) GetLastUsedTimestamp ¶

func (o *OidcConfig) GetLastUsedTimestamp() (value time.Time, ok bool)

GetLastUsedTimestamp returns the value of the 'last_used_timestamp' attribute and a flag indicating if the attribute has a value.

Last used timestamp, filled by the latest cluster that used this oidc config.

func (*OidcConfig) GetManaged ¶

func (o *OidcConfig) GetManaged() (value bool, ok bool)

GetManaged returns the value of the 'managed' attribute and a flag indicating if the attribute has a value.

Indicates whether it is Managed or Unmanaged (Customer hosted).

func (*OidcConfig) GetOrganizationId ¶

func (o *OidcConfig) GetOrganizationId() (value string, ok bool)

GetOrganizationId returns the value of the 'organization_id' attribute and a flag indicating if the attribute has a value.

Organization ID, filled in response respecting token provided.

func (*OidcConfig) GetReusable ¶

func (o *OidcConfig) GetReusable() (value bool, ok bool)

GetReusable returns the value of the 'reusable' attribute and a flag indicating if the attribute has a value.

Indicates whether the Oidc Config can be reused.

func (*OidcConfig) GetSecretArn ¶

func (o *OidcConfig) GetSecretArn() (value string, ok bool)

GetSecretArn returns the value of the 'secret_arn' attribute and a flag indicating if the attribute has a value.

Secrets Manager ARN for the OIDC private key, supplied in request. It is only to be used in Unmanaged Oidc Config.

func (*OidcConfig) HREF ¶

func (o *OidcConfig) HREF() string

HREF returns the value of the 'HREF' attribute, or the zero value of the type if the attribute doesn't have a value.

HREF for the oidc config, filled in response.

func (*OidcConfig) ID ¶

func (o *OidcConfig) ID() string

ID returns the value of the 'ID' attribute, or the zero value of the type if the attribute doesn't have a value.

ID for the oidc config, filled in response.

func (*OidcConfig) InstallerRoleArn ¶

func (o *OidcConfig) InstallerRoleArn() string

InstallerRoleArn returns the value of the 'installer_role_arn' attribute, or the zero value of the type if the attribute doesn't have a value.

ARN of the AWS role to assume when installing the cluster as to reveal the secret, supplied in request. It is only to be used in Unmanaged Oidc Config.

func (*OidcConfig) IssuerUrl ¶

func (o *OidcConfig) IssuerUrl() string

IssuerUrl returns the value of the 'issuer_url' attribute, or the zero value of the type if the attribute doesn't have a value.

Issuer URL, filled in response when Managed and supplied in Unmanaged.

func (*OidcConfig) LastUpdateTimestamp ¶

func (o *OidcConfig) LastUpdateTimestamp() time.Time

LastUpdateTimestamp returns the value of the 'last_update_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.

Last update timestamp, filled when patching a valid attribute of this oidc config.

func (*OidcConfig) LastUsedTimestamp ¶

func (o *OidcConfig) LastUsedTimestamp() time.Time

LastUsedTimestamp returns the value of the 'last_used_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.

Last used timestamp, filled by the latest cluster that used this oidc config.

func (*OidcConfig) Managed ¶

func (o *OidcConfig) Managed() bool

Managed returns the value of the 'managed' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates whether it is Managed or Unmanaged (Customer hosted).

func (*OidcConfig) OrganizationId ¶

func (o *OidcConfig) OrganizationId() string

OrganizationId returns the value of the 'organization_id' attribute, or the zero value of the type if the attribute doesn't have a value.

Organization ID, filled in response respecting token provided.

func (*OidcConfig) Reusable ¶

func (o *OidcConfig) Reusable() bool

Reusable returns the value of the 'reusable' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates whether the Oidc Config can be reused.

func (*OidcConfig) SecretArn ¶

func (o *OidcConfig) SecretArn() string

SecretArn returns the value of the 'secret_arn' attribute, or the zero value of the type if the attribute doesn't have a value.

Secrets Manager ARN for the OIDC private key, supplied in request. It is only to be used in Unmanaged Oidc Config.

type OidcConfigBuilder ¶

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

OidcConfigBuilder contains the data and logic needed to build 'oidc_config' objects.

Contains the necessary attributes to support oidc configuration hosting under Red Hat or registering a Customer's byo oidc config.

func NewOidcConfig ¶

func NewOidcConfig() *OidcConfigBuilder

NewOidcConfig creates a new builder of 'oidc_config' objects.

func (*OidcConfigBuilder) Build ¶

func (b *OidcConfigBuilder) Build() (object *OidcConfig, err error)

Build creates a 'oidc_config' object using the configuration stored in the builder.

func (*OidcConfigBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*OidcConfigBuilder) CreationTimestamp ¶

func (b *OidcConfigBuilder) CreationTimestamp(value time.Time) *OidcConfigBuilder

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*OidcConfigBuilder) Empty ¶

func (b *OidcConfigBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*OidcConfigBuilder) HREF ¶

func (b *OidcConfigBuilder) HREF(value string) *OidcConfigBuilder

HREF sets the value of the 'HREF' attribute to the given value.

func (*OidcConfigBuilder) ID ¶

ID sets the value of the 'ID' attribute to the given value.

func (*OidcConfigBuilder) InstallerRoleArn ¶

func (b *OidcConfigBuilder) InstallerRoleArn(value string) *OidcConfigBuilder

InstallerRoleArn sets the value of the 'installer_role_arn' attribute to the given value.

func (*OidcConfigBuilder) IssuerUrl ¶

func (b *OidcConfigBuilder) IssuerUrl(value string) *OidcConfigBuilder

IssuerUrl sets the value of the 'issuer_url' attribute to the given value.

func (*OidcConfigBuilder) LastUpdateTimestamp ¶

func (b *OidcConfigBuilder) LastUpdateTimestamp(value time.Time) *OidcConfigBuilder

LastUpdateTimestamp sets the value of the 'last_update_timestamp' attribute to the given value.

func (*OidcConfigBuilder) LastUsedTimestamp ¶

func (b *OidcConfigBuilder) LastUsedTimestamp(value time.Time) *OidcConfigBuilder

LastUsedTimestamp sets the value of the 'last_used_timestamp' attribute to the given value.

func (*OidcConfigBuilder) Managed ¶

func (b *OidcConfigBuilder) Managed(value bool) *OidcConfigBuilder

Managed sets the value of the 'managed' attribute to the given value.

func (*OidcConfigBuilder) OrganizationId ¶

func (b *OidcConfigBuilder) OrganizationId(value string) *OidcConfigBuilder

OrganizationId sets the value of the 'organization_id' attribute to the given value.

func (*OidcConfigBuilder) Reusable ¶

func (b *OidcConfigBuilder) Reusable(value bool) *OidcConfigBuilder

Reusable sets the value of the 'reusable' attribute to the given value.

func (*OidcConfigBuilder) SecretArn ¶

func (b *OidcConfigBuilder) SecretArn(value string) *OidcConfigBuilder

SecretArn sets the value of the 'secret_arn' attribute to the given value.

type OidcConfigList ¶

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

OidcConfigList is a list of values of the 'oidc_config' type.

func (*OidcConfigList) Each ¶

func (l *OidcConfigList) Each(f func(item *OidcConfig) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*OidcConfigList) Empty ¶

func (l *OidcConfigList) Empty() bool

Empty returns true if the list is empty.

func (*OidcConfigList) Get ¶

func (l *OidcConfigList) Get(i int) *OidcConfig

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*OidcConfigList) Items ¶

func (l *OidcConfigList) Items() []*OidcConfig

Items returns the items of the list.

func (*OidcConfigList) Len ¶

func (l *OidcConfigList) Len() int

Len returns the length of the list.

func (*OidcConfigList) Range ¶

func (l *OidcConfigList) Range(f func(index int, item *OidcConfig) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*OidcConfigList) SetHREF ¶

func (l *OidcConfigList) SetHREF(href string)

Items sets the items of the list.

func (*OidcConfigList) SetItems ¶

func (l *OidcConfigList) SetItems(items []*OidcConfig)

Items sets the items of the list.

func (l *OidcConfigList) SetLink(link bool)

Items sets the items of the list.

func (*OidcConfigList) Slice ¶

func (l *OidcConfigList) Slice() []*OidcConfig

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type OidcConfigListBuilder ¶

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

OidcConfigListBuilder contains the data and logic needed to build 'oidc_config' objects.

func NewOidcConfigList ¶

func NewOidcConfigList() *OidcConfigListBuilder

NewOidcConfigList creates a new builder of 'oidc_config' objects.

func (*OidcConfigListBuilder) Build ¶

func (b *OidcConfigListBuilder) Build() (list *OidcConfigList, err error)

Build creates a list of 'oidc_config' objects using the configuration stored in the builder.

func (*OidcConfigListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*OidcConfigListBuilder) Empty ¶

func (b *OidcConfigListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*OidcConfigListBuilder) Items ¶

Items sets the items of the list.

type OperatorIAMRole ¶

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

OperatorIAMRole represents the values of the 'operator_IAM_role' type.

Contains the necessary attributes to allow each operator to access the necessary AWS resources

func ReadOperatorIAMRole ¶

func ReadOperatorIAMRole(iterator *jsoniter.Iterator) *OperatorIAMRole

ReadOperatorIAMRole reads a value of the 'operator_IAM_role' type from the given iterator.

func ReadOperatorIAMRoleList ¶

func ReadOperatorIAMRoleList(iterator *jsoniter.Iterator) []*OperatorIAMRole

ReadOperatorIAMRoleList reads list of values of the ”operator_IAM_role' type from the given iterator.

func UnmarshalOperatorIAMRole ¶

func UnmarshalOperatorIAMRole(source interface{}) (object *OperatorIAMRole, err error)

UnmarshalOperatorIAMRole reads a value of the 'operator_IAM_role' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalOperatorIAMRoleList ¶

func UnmarshalOperatorIAMRoleList(source interface{}) (items []*OperatorIAMRole, err error)

UnmarshalOperatorIAMRoleList reads a list of values of the 'operator_IAM_role' type from the given source, which can be a slice of bytes, a string or a reader.

func (*OperatorIAMRole) Empty ¶

func (o *OperatorIAMRole) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*OperatorIAMRole) GetID ¶

func (o *OperatorIAMRole) GetID() (value string, ok bool)

GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.

Randomly-generated ID to identify the operator role

func (*OperatorIAMRole) GetName ¶

func (o *OperatorIAMRole) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

Name of the credentials secret used to access cloud resources

func (*OperatorIAMRole) GetNamespace ¶

func (o *OperatorIAMRole) GetNamespace() (value string, ok bool)

GetNamespace returns the value of the 'namespace' attribute and a flag indicating if the attribute has a value.

Namespace where the credentials secret lives in the cluster

func (*OperatorIAMRole) GetRoleARN ¶

func (o *OperatorIAMRole) GetRoleARN() (value string, ok bool)

GetRoleARN returns the value of the 'role_ARN' attribute and a flag indicating if the attribute has a value.

Role to assume when accessing AWS resources

func (*OperatorIAMRole) GetServiceAccount ¶

func (o *OperatorIAMRole) GetServiceAccount() (value string, ok bool)

GetServiceAccount returns the value of the 'service_account' attribute and a flag indicating if the attribute has a value.

Service account name to use when authenticating

func (*OperatorIAMRole) ID ¶

func (o *OperatorIAMRole) ID() string

ID returns the value of the 'ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Randomly-generated ID to identify the operator role

func (*OperatorIAMRole) Name ¶

func (o *OperatorIAMRole) Name() string

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

Name of the credentials secret used to access cloud resources

func (*OperatorIAMRole) Namespace ¶

func (o *OperatorIAMRole) Namespace() string

Namespace returns the value of the 'namespace' attribute, or the zero value of the type if the attribute doesn't have a value.

Namespace where the credentials secret lives in the cluster

func (*OperatorIAMRole) RoleARN ¶

func (o *OperatorIAMRole) RoleARN() string

RoleARN returns the value of the 'role_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.

Role to assume when accessing AWS resources

func (*OperatorIAMRole) ServiceAccount ¶

func (o *OperatorIAMRole) ServiceAccount() string

ServiceAccount returns the value of the 'service_account' attribute, or the zero value of the type if the attribute doesn't have a value.

Service account name to use when authenticating

type OperatorIAMRoleBuilder ¶

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

OperatorIAMRoleBuilder contains the data and logic needed to build 'operator_IAM_role' objects.

Contains the necessary attributes to allow each operator to access the necessary AWS resources

func NewOperatorIAMRole ¶

func NewOperatorIAMRole() *OperatorIAMRoleBuilder

NewOperatorIAMRole creates a new builder of 'operator_IAM_role' objects.

func (*OperatorIAMRoleBuilder) Build ¶

func (b *OperatorIAMRoleBuilder) Build() (object *OperatorIAMRole, err error)

Build creates a 'operator_IAM_role' object using the configuration stored in the builder.

func (*OperatorIAMRoleBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*OperatorIAMRoleBuilder) Empty ¶

func (b *OperatorIAMRoleBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*OperatorIAMRoleBuilder) ID ¶

ID sets the value of the 'ID' attribute to the given value.

func (*OperatorIAMRoleBuilder) Name ¶

Name sets the value of the 'name' attribute to the given value.

func (*OperatorIAMRoleBuilder) Namespace ¶

Namespace sets the value of the 'namespace' attribute to the given value.

func (*OperatorIAMRoleBuilder) RoleARN ¶

RoleARN sets the value of the 'role_ARN' attribute to the given value.

func (*OperatorIAMRoleBuilder) ServiceAccount ¶

func (b *OperatorIAMRoleBuilder) ServiceAccount(value string) *OperatorIAMRoleBuilder

ServiceAccount sets the value of the 'service_account' attribute to the given value.

type OperatorIAMRoleList ¶

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

OperatorIAMRoleList is a list of values of the 'operator_IAM_role' type.

func (*OperatorIAMRoleList) Each ¶

func (l *OperatorIAMRoleList) Each(f func(item *OperatorIAMRole) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*OperatorIAMRoleList) Empty ¶

func (l *OperatorIAMRoleList) Empty() bool

Empty returns true if the list is empty.

func (*OperatorIAMRoleList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*OperatorIAMRoleList) Items ¶

func (l *OperatorIAMRoleList) Items() []*OperatorIAMRole

Items returns the items of the list.

func (*OperatorIAMRoleList) Len ¶

func (l *OperatorIAMRoleList) Len() int

Len returns the length of the list.

func (*OperatorIAMRoleList) Range ¶

func (l *OperatorIAMRoleList) Range(f func(index int, item *OperatorIAMRole) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*OperatorIAMRoleList) SetHREF ¶

func (l *OperatorIAMRoleList) SetHREF(href string)

Items sets the items of the list.

func (*OperatorIAMRoleList) SetItems ¶

func (l *OperatorIAMRoleList) SetItems(items []*OperatorIAMRole)

Items sets the items of the list.

func (l *OperatorIAMRoleList) SetLink(link bool)

Items sets the items of the list.

func (*OperatorIAMRoleList) Slice ¶

func (l *OperatorIAMRoleList) Slice() []*OperatorIAMRole

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type OperatorIAMRoleListBuilder ¶

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

OperatorIAMRoleListBuilder contains the data and logic needed to build 'operator_IAM_role' objects.

func NewOperatorIAMRoleList ¶

func NewOperatorIAMRoleList() *OperatorIAMRoleListBuilder

NewOperatorIAMRoleList creates a new builder of 'operator_IAM_role' objects.

func (*OperatorIAMRoleListBuilder) Build ¶

func (b *OperatorIAMRoleListBuilder) Build() (list *OperatorIAMRoleList, err error)

Build creates a list of 'operator_IAM_role' objects using the configuration stored in the builder.

func (*OperatorIAMRoleListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*OperatorIAMRoleListBuilder) Empty ¶

func (b *OperatorIAMRoleListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*OperatorIAMRoleListBuilder) Items ¶

Items sets the items of the list.

type PrivateLinkClusterConfiguration ¶

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

PrivateLinkClusterConfiguration represents the values of the 'private_link_cluster_configuration' type.

Manages the configuration for the Private Links.

func ReadPrivateLinkClusterConfiguration ¶

func ReadPrivateLinkClusterConfiguration(iterator *jsoniter.Iterator) *PrivateLinkClusterConfiguration

ReadPrivateLinkClusterConfiguration reads a value of the 'private_link_cluster_configuration' type from the given iterator.

func ReadPrivateLinkClusterConfigurationList ¶

func ReadPrivateLinkClusterConfigurationList(iterator *jsoniter.Iterator) []*PrivateLinkClusterConfiguration

ReadPrivateLinkClusterConfigurationList reads list of values of the ”private_link_cluster_configuration' type from the given iterator.

func UnmarshalPrivateLinkClusterConfiguration ¶

func UnmarshalPrivateLinkClusterConfiguration(source interface{}) (object *PrivateLinkClusterConfiguration, err error)

UnmarshalPrivateLinkClusterConfiguration reads a value of the 'private_link_cluster_configuration' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalPrivateLinkClusterConfigurationList ¶

func UnmarshalPrivateLinkClusterConfigurationList(source interface{}) (items []*PrivateLinkClusterConfiguration, err error)

UnmarshalPrivateLinkClusterConfigurationList reads a list of values of the 'private_link_cluster_configuration' type from the given source, which can be a slice of bytes, a string or a reader.

func (*PrivateLinkClusterConfiguration) Empty ¶

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*PrivateLinkClusterConfiguration) GetPrincipals ¶

func (o *PrivateLinkClusterConfiguration) GetPrincipals() (value []*PrivateLinkPrincipal, ok bool)

GetPrincipals returns the value of the 'principals' attribute and a flag indicating if the attribute has a value.

List of additional principals for the Private Link

func (*PrivateLinkClusterConfiguration) Principals ¶

Principals returns the value of the 'principals' attribute, or the zero value of the type if the attribute doesn't have a value.

List of additional principals for the Private Link

type PrivateLinkClusterConfigurationBuilder ¶

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

PrivateLinkClusterConfigurationBuilder contains the data and logic needed to build 'private_link_cluster_configuration' objects.

Manages the configuration for the Private Links.

func NewPrivateLinkClusterConfiguration ¶

func NewPrivateLinkClusterConfiguration() *PrivateLinkClusterConfigurationBuilder

NewPrivateLinkClusterConfiguration creates a new builder of 'private_link_cluster_configuration' objects.

func (*PrivateLinkClusterConfigurationBuilder) Build ¶

Build creates a 'private_link_cluster_configuration' object using the configuration stored in the builder.

func (*PrivateLinkClusterConfigurationBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*PrivateLinkClusterConfigurationBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*PrivateLinkClusterConfigurationBuilder) Principals ¶

Principals sets the value of the 'principals' attribute to the given values.

type PrivateLinkClusterConfigurationList ¶

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

PrivateLinkClusterConfigurationList is a list of values of the 'private_link_cluster_configuration' type.

func (*PrivateLinkClusterConfigurationList) Each ¶

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*PrivateLinkClusterConfigurationList) Empty ¶

Empty returns true if the list is empty.

func (*PrivateLinkClusterConfigurationList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*PrivateLinkClusterConfigurationList) Items ¶

Items returns the items of the list.

func (*PrivateLinkClusterConfigurationList) Len ¶

Len returns the length of the list.

func (*PrivateLinkClusterConfigurationList) Range ¶

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*PrivateLinkClusterConfigurationList) SetHREF ¶

Items sets the items of the list.

func (*PrivateLinkClusterConfigurationList) SetItems ¶

Items sets the items of the list.

func (l *PrivateLinkClusterConfigurationList) SetLink(link bool)

Items sets the items of the list.

func (*PrivateLinkClusterConfigurationList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type PrivateLinkClusterConfigurationListBuilder ¶

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

PrivateLinkClusterConfigurationListBuilder contains the data and logic needed to build 'private_link_cluster_configuration' objects.

func NewPrivateLinkClusterConfigurationList ¶

func NewPrivateLinkClusterConfigurationList() *PrivateLinkClusterConfigurationListBuilder

NewPrivateLinkClusterConfigurationList creates a new builder of 'private_link_cluster_configuration' objects.

func (*PrivateLinkClusterConfigurationListBuilder) Build ¶

Build creates a list of 'private_link_cluster_configuration' objects using the configuration stored in the builder.

func (*PrivateLinkClusterConfigurationListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*PrivateLinkClusterConfigurationListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*PrivateLinkClusterConfigurationListBuilder) Items ¶

Items sets the items of the list.

type PrivateLinkPrincipal ¶

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

PrivateLinkPrincipal represents the values of the 'private_link_principal' type.

func ReadPrivateLinkPrincipal ¶

func ReadPrivateLinkPrincipal(iterator *jsoniter.Iterator) *PrivateLinkPrincipal

ReadPrivateLinkPrincipal reads a value of the 'private_link_principal' type from the given iterator.

func ReadPrivateLinkPrincipalList ¶

func ReadPrivateLinkPrincipalList(iterator *jsoniter.Iterator) []*PrivateLinkPrincipal

ReadPrivateLinkPrincipalList reads list of values of the ”private_link_principal' type from the given iterator.

func UnmarshalPrivateLinkPrincipal ¶

func UnmarshalPrivateLinkPrincipal(source interface{}) (object *PrivateLinkPrincipal, err error)

UnmarshalPrivateLinkPrincipal reads a value of the 'private_link_principal' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalPrivateLinkPrincipalList ¶

func UnmarshalPrivateLinkPrincipalList(source interface{}) (items []*PrivateLinkPrincipal, err error)

UnmarshalPrivateLinkPrincipalList reads a list of values of the 'private_link_principal' type from the given source, which can be a slice of bytes, a string or a reader.

func (*PrivateLinkPrincipal) Empty ¶

func (o *PrivateLinkPrincipal) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*PrivateLinkPrincipal) GetHREF ¶

func (o *PrivateLinkPrincipal) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*PrivateLinkPrincipal) GetID ¶

func (o *PrivateLinkPrincipal) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*PrivateLinkPrincipal) GetPrincipal ¶

func (o *PrivateLinkPrincipal) GetPrincipal() (value string, ok bool)

GetPrincipal returns the value of the 'principal' attribute and a flag indicating if the attribute has a value.

ARN for a principal that is allowed for this Private Link.

func (*PrivateLinkPrincipal) HREF ¶

func (o *PrivateLinkPrincipal) HREF() string

HREF returns the link to the object.

func (*PrivateLinkPrincipal) ID ¶

func (o *PrivateLinkPrincipal) ID() string

ID returns the identifier of the object.

func (*PrivateLinkPrincipal) Kind ¶

func (o *PrivateLinkPrincipal) Kind() string

Kind returns the name of the type of the object.

func (o *PrivateLinkPrincipal) Link() bool

Link returns true if this is a link.

func (*PrivateLinkPrincipal) Principal ¶

func (o *PrivateLinkPrincipal) Principal() string

Principal returns the value of the 'principal' attribute, or the zero value of the type if the attribute doesn't have a value.

ARN for a principal that is allowed for this Private Link.

type PrivateLinkPrincipalBuilder ¶

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

PrivateLinkPrincipalBuilder contains the data and logic needed to build 'private_link_principal' objects.

func NewPrivateLinkPrincipal ¶

func NewPrivateLinkPrincipal() *PrivateLinkPrincipalBuilder

NewPrivateLinkPrincipal creates a new builder of 'private_link_principal' objects.

func (*PrivateLinkPrincipalBuilder) Build ¶

func (b *PrivateLinkPrincipalBuilder) Build() (object *PrivateLinkPrincipal, err error)

Build creates a 'private_link_principal' object using the configuration stored in the builder.

func (*PrivateLinkPrincipalBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*PrivateLinkPrincipalBuilder) Empty ¶

func (b *PrivateLinkPrincipalBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*PrivateLinkPrincipalBuilder) HREF ¶

HREF sets the link to the object.

func (*PrivateLinkPrincipalBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*PrivateLinkPrincipalBuilder) Principal ¶

Principal sets the value of the 'principal' attribute to the given value.

type PrivateLinkPrincipalList ¶

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

PrivateLinkPrincipalList is a list of values of the 'private_link_principal' type.

func (*PrivateLinkPrincipalList) Each ¶

func (l *PrivateLinkPrincipalList) Each(f func(item *PrivateLinkPrincipal) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*PrivateLinkPrincipalList) Empty ¶

func (l *PrivateLinkPrincipalList) Empty() bool

Empty returns true if the list is empty.

func (*PrivateLinkPrincipalList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*PrivateLinkPrincipalList) GetHREF ¶

func (l *PrivateLinkPrincipalList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*PrivateLinkPrincipalList) HREF ¶

func (l *PrivateLinkPrincipalList) HREF() string

HREF returns the link to the list.

func (*PrivateLinkPrincipalList) Items ¶

Items returns the items of the list.

func (*PrivateLinkPrincipalList) Kind ¶

func (l *PrivateLinkPrincipalList) Kind() string

Kind returns the name of the type of the object.

func (*PrivateLinkPrincipalList) Len ¶

func (l *PrivateLinkPrincipalList) Len() int

Len returns the length of the list.

func (l *PrivateLinkPrincipalList) Link() bool

Link returns true iif this is a link.

func (*PrivateLinkPrincipalList) Range ¶

func (l *PrivateLinkPrincipalList) Range(f func(index int, item *PrivateLinkPrincipal) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*PrivateLinkPrincipalList) SetHREF ¶

func (l *PrivateLinkPrincipalList) SetHREF(href string)

Items sets the items of the list.

func (*PrivateLinkPrincipalList) SetItems ¶

func (l *PrivateLinkPrincipalList) SetItems(items []*PrivateLinkPrincipal)

Items sets the items of the list.

func (l *PrivateLinkPrincipalList) SetLink(link bool)

Items sets the items of the list.

func (*PrivateLinkPrincipalList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type PrivateLinkPrincipalListBuilder ¶

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

PrivateLinkPrincipalListBuilder contains the data and logic needed to build 'private_link_principal' objects.

func NewPrivateLinkPrincipalList ¶

func NewPrivateLinkPrincipalList() *PrivateLinkPrincipalListBuilder

NewPrivateLinkPrincipalList creates a new builder of 'private_link_principal' objects.

func (*PrivateLinkPrincipalListBuilder) Build ¶

Build creates a list of 'private_link_principal' objects using the configuration stored in the builder.

func (*PrivateLinkPrincipalListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*PrivateLinkPrincipalListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*PrivateLinkPrincipalListBuilder) Items ¶

Items sets the items of the list.

type ProcessorType ¶

type ProcessorType string

ProcessorType represents the values of the 'processor_type' enumerated type.

const (
	// Amd64
	ProcessorTypeAMD64 ProcessorType = "amd64"
	// Arm64
	ProcessorTypeARM64 ProcessorType = "arm64"
)

func ReadProcessorTypeList ¶

func ReadProcessorTypeList(iterator *jsoniter.Iterator) []ProcessorType

ReadProcessorTypeList reads list of values of the ”processor_type' type from the given iterator.

func UnmarshalProcessorTypeList ¶

func UnmarshalProcessorTypeList(source interface{}) (items []ProcessorType, err error)

UnmarshalProcessorTypeList reads a list of values of the 'processor_type' type from the given source, which can be a slice of bytes, a string or a reader.

type ProvisionShard ¶

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

ProvisionShard represents the values of the 'provision_shard' type.

Contains the properties of the provision shard, including AWS and GCP related configurations

func ReadProvisionShard ¶

func ReadProvisionShard(iterator *jsoniter.Iterator) *ProvisionShard

ReadProvisionShard reads a value of the 'provision_shard' type from the given iterator.

func ReadProvisionShardList ¶

func ReadProvisionShardList(iterator *jsoniter.Iterator) []*ProvisionShard

ReadProvisionShardList reads list of values of the ”provision_shard' type from the given iterator.

func UnmarshalProvisionShard ¶

func UnmarshalProvisionShard(source interface{}) (object *ProvisionShard, err error)

UnmarshalProvisionShard reads a value of the 'provision_shard' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalProvisionShardList ¶

func UnmarshalProvisionShardList(source interface{}) (items []*ProvisionShard, err error)

UnmarshalProvisionShardList reads a list of values of the 'provision_shard' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ProvisionShard) AWSAccountOperatorConfig ¶

func (o *ProvisionShard) AWSAccountOperatorConfig() *ServerConfig

AWSAccountOperatorConfig returns the value of the 'AWS_account_operator_config' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains the configuration for the AWS account operator.

func (*ProvisionShard) AWSBaseDomain ¶

func (o *ProvisionShard) AWSBaseDomain() string

AWSBaseDomain returns the value of the 'AWS_base_domain' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains the AWS base domain.

func (*ProvisionShard) CloudProvider ¶

func (o *ProvisionShard) CloudProvider() *v1.CloudProvider

CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains the cloud provider name.

func (*ProvisionShard) CreationTimestamp ¶

func (o *ProvisionShard) CreationTimestamp() time.Time

CreationTimestamp returns the value of the 'creation_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.

Date and time when the provision shard was initially created, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).

func (*ProvisionShard) Empty ¶

func (o *ProvisionShard) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ProvisionShard) GCPBaseDomain ¶

func (o *ProvisionShard) GCPBaseDomain() string

GCPBaseDomain returns the value of the 'GCP_base_domain' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains the GCP base domain.

func (*ProvisionShard) GCPProjectOperator ¶

func (o *ProvisionShard) GCPProjectOperator() *ServerConfig

GCPProjectOperator returns the value of the 'GCP_project_operator' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains the configuration for the GCP project operator.

func (*ProvisionShard) GetAWSAccountOperatorConfig ¶

func (o *ProvisionShard) GetAWSAccountOperatorConfig() (value *ServerConfig, ok bool)

GetAWSAccountOperatorConfig returns the value of the 'AWS_account_operator_config' attribute and a flag indicating if the attribute has a value.

Contains the configuration for the AWS account operator.

func (*ProvisionShard) GetAWSBaseDomain ¶

func (o *ProvisionShard) GetAWSBaseDomain() (value string, ok bool)

GetAWSBaseDomain returns the value of the 'AWS_base_domain' attribute and a flag indicating if the attribute has a value.

Contains the AWS base domain.

func (*ProvisionShard) GetCloudProvider ¶

func (o *ProvisionShard) GetCloudProvider() (value *v1.CloudProvider, ok bool)

GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.

Contains the cloud provider name.

func (*ProvisionShard) GetCreationTimestamp ¶

func (o *ProvisionShard) GetCreationTimestamp() (value time.Time, ok bool)

GetCreationTimestamp returns the value of the 'creation_timestamp' attribute and a flag indicating if the attribute has a value.

Date and time when the provision shard was initially created, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).

func (*ProvisionShard) GetGCPBaseDomain ¶

func (o *ProvisionShard) GetGCPBaseDomain() (value string, ok bool)

GetGCPBaseDomain returns the value of the 'GCP_base_domain' attribute and a flag indicating if the attribute has a value.

Contains the GCP base domain.

func (*ProvisionShard) GetGCPProjectOperator ¶

func (o *ProvisionShard) GetGCPProjectOperator() (value *ServerConfig, ok bool)

GetGCPProjectOperator returns the value of the 'GCP_project_operator' attribute and a flag indicating if the attribute has a value.

Contains the configuration for the GCP project operator.

func (*ProvisionShard) GetHREF ¶

func (o *ProvisionShard) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ProvisionShard) GetHiveConfig ¶

func (o *ProvisionShard) GetHiveConfig() (value *ServerConfig, ok bool)

GetHiveConfig returns the value of the 'hive_config' attribute and a flag indicating if the attribute has a value.

Contains the configuration for Hive.

func (*ProvisionShard) GetHypershiftConfig ¶

func (o *ProvisionShard) GetHypershiftConfig() (value *ServerConfig, ok bool)

GetHypershiftConfig returns the value of the 'hypershift_config' attribute and a flag indicating if the attribute has a value.

Contains the configuration for Hypershift.

func (*ProvisionShard) GetID ¶

func (o *ProvisionShard) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ProvisionShard) GetLastUpdateTimestamp ¶

func (o *ProvisionShard) GetLastUpdateTimestamp() (value time.Time, ok bool)

GetLastUpdateTimestamp returns the value of the 'last_update_timestamp' attribute and a flag indicating if the attribute has a value.

Date and time when the provision shard was last updated, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).

func (*ProvisionShard) GetManagementCluster ¶

func (o *ProvisionShard) GetManagementCluster() (value string, ok bool)

GetManagementCluster returns the value of the 'management_cluster' attribute and a flag indicating if the attribute has a value.

Contains the name of the management cluster for Hypershift clusters that are assigned to this shard. This field is populated by OCM, and must not be overwritten via API.

func (*ProvisionShard) GetRegion ¶

func (o *ProvisionShard) GetRegion() (value *v1.CloudRegion, ok bool)

GetRegion returns the value of the 'region' attribute and a flag indicating if the attribute has a value.

Contains the cloud-provider region in which the provisioner spins up the cluster.

func (*ProvisionShard) GetStatus ¶

func (o *ProvisionShard) GetStatus() (value string, ok bool)

GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.

Status of the provision shard. Possible values: active/maintenance/offline.

func (*ProvisionShard) HREF ¶

func (o *ProvisionShard) HREF() string

HREF returns the link to the object.

func (*ProvisionShard) HiveConfig ¶

func (o *ProvisionShard) HiveConfig() *ServerConfig

HiveConfig returns the value of the 'hive_config' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains the configuration for Hive.

func (*ProvisionShard) HypershiftConfig ¶

func (o *ProvisionShard) HypershiftConfig() *ServerConfig

HypershiftConfig returns the value of the 'hypershift_config' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains the configuration for Hypershift.

func (*ProvisionShard) ID ¶

func (o *ProvisionShard) ID() string

ID returns the identifier of the object.

func (*ProvisionShard) Kind ¶

func (o *ProvisionShard) Kind() string

Kind returns the name of the type of the object.

func (*ProvisionShard) LastUpdateTimestamp ¶

func (o *ProvisionShard) LastUpdateTimestamp() time.Time

LastUpdateTimestamp returns the value of the 'last_update_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.

Date and time when the provision shard was last updated, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).

func (o *ProvisionShard) Link() bool

Link returns true if this is a link.

func (*ProvisionShard) ManagementCluster ¶

func (o *ProvisionShard) ManagementCluster() string

ManagementCluster returns the value of the 'management_cluster' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains the name of the management cluster for Hypershift clusters that are assigned to this shard. This field is populated by OCM, and must not be overwritten via API.

func (*ProvisionShard) Region ¶

func (o *ProvisionShard) Region() *v1.CloudRegion

Region returns the value of the 'region' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains the cloud-provider region in which the provisioner spins up the cluster.

func (*ProvisionShard) Status ¶

func (o *ProvisionShard) Status() string

Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.

Status of the provision shard. Possible values: active/maintenance/offline.

type ProvisionShardBuilder ¶

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

ProvisionShardBuilder contains the data and logic needed to build 'provision_shard' objects.

Contains the properties of the provision shard, including AWS and GCP related configurations

func NewProvisionShard ¶

func NewProvisionShard() *ProvisionShardBuilder

NewProvisionShard creates a new builder of 'provision_shard' objects.

func (*ProvisionShardBuilder) AWSAccountOperatorConfig ¶

func (b *ProvisionShardBuilder) AWSAccountOperatorConfig(value *ServerConfigBuilder) *ProvisionShardBuilder

AWSAccountOperatorConfig sets the value of the 'AWS_account_operator_config' attribute to the given value.

Representation of a server config

func (*ProvisionShardBuilder) AWSBaseDomain ¶

func (b *ProvisionShardBuilder) AWSBaseDomain(value string) *ProvisionShardBuilder

AWSBaseDomain sets the value of the 'AWS_base_domain' attribute to the given value.

func (*ProvisionShardBuilder) Build ¶

func (b *ProvisionShardBuilder) Build() (object *ProvisionShard, err error)

Build creates a 'provision_shard' object using the configuration stored in the builder.

func (*ProvisionShardBuilder) CloudProvider ¶

CloudProvider sets the value of the 'cloud_provider' attribute to the given value.

Cloud provider.

func (*ProvisionShardBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ProvisionShardBuilder) CreationTimestamp ¶

func (b *ProvisionShardBuilder) CreationTimestamp(value time.Time) *ProvisionShardBuilder

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*ProvisionShardBuilder) Empty ¶

func (b *ProvisionShardBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ProvisionShardBuilder) GCPBaseDomain ¶

func (b *ProvisionShardBuilder) GCPBaseDomain(value string) *ProvisionShardBuilder

GCPBaseDomain sets the value of the 'GCP_base_domain' attribute to the given value.

func (*ProvisionShardBuilder) GCPProjectOperator ¶

func (b *ProvisionShardBuilder) GCPProjectOperator(value *ServerConfigBuilder) *ProvisionShardBuilder

GCPProjectOperator sets the value of the 'GCP_project_operator' attribute to the given value.

Representation of a server config

func (*ProvisionShardBuilder) HREF ¶

HREF sets the link to the object.

func (*ProvisionShardBuilder) HiveConfig ¶

HiveConfig sets the value of the 'hive_config' attribute to the given value.

Representation of a server config

func (*ProvisionShardBuilder) HypershiftConfig ¶

HypershiftConfig sets the value of the 'hypershift_config' attribute to the given value.

Representation of a server config

func (*ProvisionShardBuilder) ID ¶

ID sets the identifier of the object.

func (*ProvisionShardBuilder) LastUpdateTimestamp ¶

func (b *ProvisionShardBuilder) LastUpdateTimestamp(value time.Time) *ProvisionShardBuilder

LastUpdateTimestamp sets the value of the 'last_update_timestamp' attribute to the given value.

Link sets the flag that indicates if this is a link.

func (*ProvisionShardBuilder) ManagementCluster ¶

func (b *ProvisionShardBuilder) ManagementCluster(value string) *ProvisionShardBuilder

ManagementCluster sets the value of the 'management_cluster' attribute to the given value.

func (*ProvisionShardBuilder) Region ¶

Region sets the value of the 'region' attribute to the given value.

Description of a region of a cloud provider.

func (*ProvisionShardBuilder) Status ¶

Status sets the value of the 'status' attribute to the given value.

type ProvisionShardList ¶

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

ProvisionShardList is a list of values of the 'provision_shard' type.

func (*ProvisionShardList) Each ¶

func (l *ProvisionShardList) Each(f func(item *ProvisionShard) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ProvisionShardList) Empty ¶

func (l *ProvisionShardList) Empty() bool

Empty returns true if the list is empty.

func (*ProvisionShardList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ProvisionShardList) GetHREF ¶

func (l *ProvisionShardList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ProvisionShardList) HREF ¶

func (l *ProvisionShardList) HREF() string

HREF returns the link to the list.

func (*ProvisionShardList) Items ¶

func (l *ProvisionShardList) Items() []*ProvisionShard

Items returns the items of the list.

func (*ProvisionShardList) Kind ¶

func (l *ProvisionShardList) Kind() string

Kind returns the name of the type of the object.

func (*ProvisionShardList) Len ¶

func (l *ProvisionShardList) Len() int

Len returns the length of the list.

func (l *ProvisionShardList) Link() bool

Link returns true iif this is a link.

func (*ProvisionShardList) Range ¶

func (l *ProvisionShardList) Range(f func(index int, item *ProvisionShard) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ProvisionShardList) SetHREF ¶

func (l *ProvisionShardList) SetHREF(href string)

Items sets the items of the list.

func (*ProvisionShardList) SetItems ¶

func (l *ProvisionShardList) SetItems(items []*ProvisionShard)

Items sets the items of the list.

func (l *ProvisionShardList) SetLink(link bool)

Items sets the items of the list.

func (*ProvisionShardList) Slice ¶

func (l *ProvisionShardList) Slice() []*ProvisionShard

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ProvisionShardListBuilder ¶

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

ProvisionShardListBuilder contains the data and logic needed to build 'provision_shard' objects.

func NewProvisionShardList ¶

func NewProvisionShardList() *ProvisionShardListBuilder

NewProvisionShardList creates a new builder of 'provision_shard' objects.

func (*ProvisionShardListBuilder) Build ¶

func (b *ProvisionShardListBuilder) Build() (list *ProvisionShardList, err error)

Build creates a list of 'provision_shard' objects using the configuration stored in the builder.

func (*ProvisionShardListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ProvisionShardListBuilder) Empty ¶

func (b *ProvisionShardListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ProvisionShardListBuilder) Items ¶

Items sets the items of the list.

type ProvisionShardTopology ¶

type ProvisionShardTopology string

ProvisionShardTopology represents the values of the 'provision_shard_topology' enumerated type.

const (
	// Provision shard for hosted clusters is configured in a "dedicated" topology.
	ProvisionShardTopologyDedicated ProvisionShardTopology = "dedicated"
)

func ReadProvisionShardTopologyList ¶

func ReadProvisionShardTopologyList(iterator *jsoniter.Iterator) []ProvisionShardTopology

ReadProvisionShardTopologyList reads list of values of the ”provision_shard_topology' type from the given iterator.

func UnmarshalProvisionShardTopologyList ¶

func UnmarshalProvisionShardTopologyList(source interface{}) (items []ProvisionShardTopology, err error)

UnmarshalProvisionShardTopologyList reads a list of values of the 'provision_shard_topology' type from the given source, which can be a slice of bytes, a string or a reader.

type Proxy ¶

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

Proxy represents the values of the 'proxy' type.

Proxy configuration of a cluster.

func ReadProxy ¶

func ReadProxy(iterator *jsoniter.Iterator) *Proxy

ReadProxy reads a value of the 'proxy' type from the given iterator.

func ReadProxyList ¶

func ReadProxyList(iterator *jsoniter.Iterator) []*Proxy

ReadProxyList reads list of values of the ”proxy' type from the given iterator.

func UnmarshalProxy ¶

func UnmarshalProxy(source interface{}) (object *Proxy, err error)

UnmarshalProxy reads a value of the 'proxy' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalProxyList ¶

func UnmarshalProxyList(source interface{}) (items []*Proxy, err error)

UnmarshalProxyList reads a list of values of the 'proxy' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Proxy) Empty ¶

func (o *Proxy) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Proxy) GetHTTPProxy ¶

func (o *Proxy) GetHTTPProxy() (value string, ok bool)

GetHTTPProxy returns the value of the 'HTTP_proxy' attribute and a flag indicating if the attribute has a value.

HTTPProxy is the URL of the proxy for HTTP requests.

func (*Proxy) GetHTTPSProxy ¶

func (o *Proxy) GetHTTPSProxy() (value string, ok bool)

GetHTTPSProxy returns the value of the 'HTTPS_proxy' attribute and a flag indicating if the attribute has a value.

HTTPSProxy is the URL of the proxy for HTTPS requests.

func (*Proxy) GetNoProxy ¶

func (o *Proxy) GetNoProxy() (value string, ok bool)

GetNoProxy returns the value of the 'no_proxy' attribute and a flag indicating if the attribute has a value.

NoProxy is a comma-separated list of domains and CIDRs for which the proxy should not be used

func (*Proxy) HTTPProxy ¶

func (o *Proxy) HTTPProxy() string

HTTPProxy returns the value of the 'HTTP_proxy' attribute, or the zero value of the type if the attribute doesn't have a value.

HTTPProxy is the URL of the proxy for HTTP requests.

func (*Proxy) HTTPSProxy ¶

func (o *Proxy) HTTPSProxy() string

HTTPSProxy returns the value of the 'HTTPS_proxy' attribute, or the zero value of the type if the attribute doesn't have a value.

HTTPSProxy is the URL of the proxy for HTTPS requests.

func (*Proxy) NoProxy ¶

func (o *Proxy) NoProxy() string

NoProxy returns the value of the 'no_proxy' attribute, or the zero value of the type if the attribute doesn't have a value.

NoProxy is a comma-separated list of domains and CIDRs for which the proxy should not be used

type ProxyBuilder ¶

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

ProxyBuilder contains the data and logic needed to build 'proxy' objects.

Proxy configuration of a cluster.

func NewProxy ¶

func NewProxy() *ProxyBuilder

NewProxy creates a new builder of 'proxy' objects.

func (*ProxyBuilder) Build ¶

func (b *ProxyBuilder) Build() (object *Proxy, err error)

Build creates a 'proxy' object using the configuration stored in the builder.

func (*ProxyBuilder) Copy ¶

func (b *ProxyBuilder) Copy(object *Proxy) *ProxyBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ProxyBuilder) Empty ¶

func (b *ProxyBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ProxyBuilder) HTTPProxy ¶

func (b *ProxyBuilder) HTTPProxy(value string) *ProxyBuilder

HTTPProxy sets the value of the 'HTTP_proxy' attribute to the given value.

func (*ProxyBuilder) HTTPSProxy ¶

func (b *ProxyBuilder) HTTPSProxy(value string) *ProxyBuilder

HTTPSProxy sets the value of the 'HTTPS_proxy' attribute to the given value.

func (*ProxyBuilder) NoProxy ¶

func (b *ProxyBuilder) NoProxy(value string) *ProxyBuilder

NoProxy sets the value of the 'no_proxy' attribute to the given value.

type ProxyList ¶

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

ProxyList is a list of values of the 'proxy' type.

func (*ProxyList) Each ¶

func (l *ProxyList) Each(f func(item *Proxy) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ProxyList) Empty ¶

func (l *ProxyList) Empty() bool

Empty returns true if the list is empty.

func (*ProxyList) Get ¶

func (l *ProxyList) Get(i int) *Proxy

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ProxyList) Items ¶

func (l *ProxyList) Items() []*Proxy

Items returns the items of the list.

func (*ProxyList) Len ¶

func (l *ProxyList) Len() int

Len returns the length of the list.

func (*ProxyList) Range ¶

func (l *ProxyList) Range(f func(index int, item *Proxy) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ProxyList) SetHREF ¶

func (l *ProxyList) SetHREF(href string)

Items sets the items of the list.

func (*ProxyList) SetItems ¶

func (l *ProxyList) SetItems(items []*Proxy)

Items sets the items of the list.

func (l *ProxyList) SetLink(link bool)

Items sets the items of the list.

func (*ProxyList) Slice ¶

func (l *ProxyList) Slice() []*Proxy

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ProxyListBuilder ¶

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

ProxyListBuilder contains the data and logic needed to build 'proxy' objects.

func NewProxyList ¶

func NewProxyList() *ProxyListBuilder

NewProxyList creates a new builder of 'proxy' objects.

func (*ProxyListBuilder) Build ¶

func (b *ProxyListBuilder) Build() (list *ProxyList, err error)

Build creates a list of 'proxy' objects using the configuration stored in the builder.

func (*ProxyListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ProxyListBuilder) Empty ¶

func (b *ProxyListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ProxyListBuilder) Items ¶

func (b *ProxyListBuilder) Items(values ...*ProxyBuilder) *ProxyListBuilder

Items sets the items of the list.

type RegistryAllowlist ¶

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

RegistryAllowlist represents the values of the 'registry_allowlist' type.

RegistryAllowlist represents a single registry allowlist.

func ReadRegistryAllowlist ¶

func ReadRegistryAllowlist(iterator *jsoniter.Iterator) *RegistryAllowlist

ReadRegistryAllowlist reads a value of the 'registry_allowlist' type from the given iterator.

func ReadRegistryAllowlistList ¶

func ReadRegistryAllowlistList(iterator *jsoniter.Iterator) []*RegistryAllowlist

ReadRegistryAllowlistList reads list of values of the ”registry_allowlist' type from the given iterator.

func UnmarshalRegistryAllowlist ¶

func UnmarshalRegistryAllowlist(source interface{}) (object *RegistryAllowlist, err error)

UnmarshalRegistryAllowlist reads a value of the 'registry_allowlist' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalRegistryAllowlistList ¶

func UnmarshalRegistryAllowlistList(source interface{}) (items []*RegistryAllowlist, err error)

UnmarshalRegistryAllowlistList reads a list of values of the 'registry_allowlist' type from the given source, which can be a slice of bytes, a string or a reader.

func (*RegistryAllowlist) CloudProvider ¶

func (o *RegistryAllowlist) CloudProvider() *CloudProvider

CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.

CloudProvider is the cloud provider for which this allowlist is valid.

func (*RegistryAllowlist) CreationTimestamp ¶

func (o *RegistryAllowlist) CreationTimestamp() time.Time

CreationTimestamp returns the value of the 'creation_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.

CreationTimestamp is the date and time when the allow list has been created.

func (*RegistryAllowlist) Empty ¶

func (o *RegistryAllowlist) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*RegistryAllowlist) GetCloudProvider ¶

func (o *RegistryAllowlist) GetCloudProvider() (value *CloudProvider, ok bool)

GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.

CloudProvider is the cloud provider for which this allowlist is valid.

func (*RegistryAllowlist) GetCreationTimestamp ¶

func (o *RegistryAllowlist) GetCreationTimestamp() (value time.Time, ok bool)

GetCreationTimestamp returns the value of the 'creation_timestamp' attribute and a flag indicating if the attribute has a value.

CreationTimestamp is the date and time when the allow list has been created.

func (*RegistryAllowlist) GetHREF ¶

func (o *RegistryAllowlist) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*RegistryAllowlist) GetID ¶

func (o *RegistryAllowlist) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*RegistryAllowlist) GetRegistries ¶

func (o *RegistryAllowlist) GetRegistries() (value []string, ok bool)

GetRegistries returns the value of the 'registries' attribute and a flag indicating if the attribute has a value.

Registries is the list of registries contained in this Allowlist.

func (*RegistryAllowlist) HREF ¶

func (o *RegistryAllowlist) HREF() string

HREF returns the link to the object.

func (*RegistryAllowlist) ID ¶

func (o *RegistryAllowlist) ID() string

ID returns the identifier of the object.

func (*RegistryAllowlist) Kind ¶

func (o *RegistryAllowlist) Kind() string

Kind returns the name of the type of the object.

func (o *RegistryAllowlist) Link() bool

Link returns true if this is a link.

func (*RegistryAllowlist) Registries ¶

func (o *RegistryAllowlist) Registries() []string

Registries returns the value of the 'registries' attribute, or the zero value of the type if the attribute doesn't have a value.

Registries is the list of registries contained in this Allowlist.

type RegistryAllowlistBuilder ¶

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

RegistryAllowlistBuilder contains the data and logic needed to build 'registry_allowlist' objects.

RegistryAllowlist represents a single registry allowlist.

func NewRegistryAllowlist ¶

func NewRegistryAllowlist() *RegistryAllowlistBuilder

NewRegistryAllowlist creates a new builder of 'registry_allowlist' objects.

func (*RegistryAllowlistBuilder) Build ¶

func (b *RegistryAllowlistBuilder) Build() (object *RegistryAllowlist, err error)

Build creates a 'registry_allowlist' object using the configuration stored in the builder.

func (*RegistryAllowlistBuilder) CloudProvider ¶

CloudProvider sets the value of the 'cloud_provider' attribute to the given value.

Cloud provider.

func (*RegistryAllowlistBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*RegistryAllowlistBuilder) CreationTimestamp ¶

func (b *RegistryAllowlistBuilder) CreationTimestamp(value time.Time) *RegistryAllowlistBuilder

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*RegistryAllowlistBuilder) Empty ¶

func (b *RegistryAllowlistBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*RegistryAllowlistBuilder) HREF ¶

HREF sets the link to the object.

func (*RegistryAllowlistBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*RegistryAllowlistBuilder) Registries ¶

func (b *RegistryAllowlistBuilder) Registries(values ...string) *RegistryAllowlistBuilder

Registries sets the value of the 'registries' attribute to the given values.

type RegistryAllowlistList ¶

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

RegistryAllowlistList is a list of values of the 'registry_allowlist' type.

func (*RegistryAllowlistList) Each ¶

func (l *RegistryAllowlistList) Each(f func(item *RegistryAllowlist) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*RegistryAllowlistList) Empty ¶

func (l *RegistryAllowlistList) Empty() bool

Empty returns true if the list is empty.

func (*RegistryAllowlistList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*RegistryAllowlistList) GetHREF ¶

func (l *RegistryAllowlistList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*RegistryAllowlistList) HREF ¶

func (l *RegistryAllowlistList) HREF() string

HREF returns the link to the list.

func (*RegistryAllowlistList) Items ¶

Items returns the items of the list.

func (*RegistryAllowlistList) Kind ¶

func (l *RegistryAllowlistList) Kind() string

Kind returns the name of the type of the object.

func (*RegistryAllowlistList) Len ¶

func (l *RegistryAllowlistList) Len() int

Len returns the length of the list.

func (l *RegistryAllowlistList) Link() bool

Link returns true iif this is a link.

func (*RegistryAllowlistList) Range ¶

func (l *RegistryAllowlistList) Range(f func(index int, item *RegistryAllowlist) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*RegistryAllowlistList) SetHREF ¶

func (l *RegistryAllowlistList) SetHREF(href string)

Items sets the items of the list.

func (*RegistryAllowlistList) SetItems ¶

func (l *RegistryAllowlistList) SetItems(items []*RegistryAllowlist)

Items sets the items of the list.

func (l *RegistryAllowlistList) SetLink(link bool)

Items sets the items of the list.

func (*RegistryAllowlistList) Slice ¶

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type RegistryAllowlistListBuilder ¶

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

RegistryAllowlistListBuilder contains the data and logic needed to build 'registry_allowlist' objects.

func NewRegistryAllowlistList ¶

func NewRegistryAllowlistList() *RegistryAllowlistListBuilder

NewRegistryAllowlistList creates a new builder of 'registry_allowlist' objects.

func (*RegistryAllowlistListBuilder) Build ¶

Build creates a list of 'registry_allowlist' objects using the configuration stored in the builder.

func (*RegistryAllowlistListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*RegistryAllowlistListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*RegistryAllowlistListBuilder) Items ¶

Items sets the items of the list.

type RegistryLocation ¶

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

RegistryLocation represents the values of the 'registry_location' type.

RegistryLocation contains a location of the registry specified by the registry domain name. The domain name might include wildcards, like '*' or '??'.

func ReadRegistryLocation ¶

func ReadRegistryLocation(iterator *jsoniter.Iterator) *RegistryLocation

ReadRegistryLocation reads a value of the 'registry_location' type from the given iterator.

func ReadRegistryLocationList ¶

func ReadRegistryLocationList(iterator *jsoniter.Iterator) []*RegistryLocation

ReadRegistryLocationList reads list of values of the ”registry_location' type from the given iterator.

func UnmarshalRegistryLocation ¶

func UnmarshalRegistryLocation(source interface{}) (object *RegistryLocation, err error)

UnmarshalRegistryLocation reads a value of the 'registry_location' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalRegistryLocationList ¶

func UnmarshalRegistryLocationList(source interface{}) (items []*RegistryLocation, err error)

UnmarshalRegistryLocationList reads a list of values of the 'registry_location' type from the given source, which can be a slice of bytes, a string or a reader.

func (*RegistryLocation) DomainName ¶

func (o *RegistryLocation) DomainName() string

DomainName returns the value of the 'domain_name' attribute, or the zero value of the type if the attribute doesn't have a value.

domainName specifies a domain name for the registry In case the registry use non-standard (80 or 443) port, the port should be included in the domain name as well.

func (*RegistryLocation) Empty ¶

func (o *RegistryLocation) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*RegistryLocation) GetDomainName ¶

func (o *RegistryLocation) GetDomainName() (value string, ok bool)

GetDomainName returns the value of the 'domain_name' attribute and a flag indicating if the attribute has a value.

domainName specifies a domain name for the registry In case the registry use non-standard (80 or 443) port, the port should be included in the domain name as well.

func (*RegistryLocation) GetInsecure ¶

func (o *RegistryLocation) GetInsecure() (value bool, ok bool)

GetInsecure returns the value of the 'insecure' attribute and a flag indicating if the attribute has a value.

insecure indicates whether the registry is secure (https) or insecure (http) By default (if not specified) the registry is assumed as secure.

func (*RegistryLocation) Insecure ¶

func (o *RegistryLocation) Insecure() bool

Insecure returns the value of the 'insecure' attribute, or the zero value of the type if the attribute doesn't have a value.

insecure indicates whether the registry is secure (https) or insecure (http) By default (if not specified) the registry is assumed as secure.

type RegistryLocationBuilder ¶

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

RegistryLocationBuilder contains the data and logic needed to build 'registry_location' objects.

RegistryLocation contains a location of the registry specified by the registry domain name. The domain name might include wildcards, like '*' or '??'.

func NewRegistryLocation ¶

func NewRegistryLocation() *RegistryLocationBuilder

NewRegistryLocation creates a new builder of 'registry_location' objects.

func (*RegistryLocationBuilder) Build ¶

func (b *RegistryLocationBuilder) Build() (object *RegistryLocation, err error)

Build creates a 'registry_location' object using the configuration stored in the builder.

func (*RegistryLocationBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*RegistryLocationBuilder) DomainName ¶

DomainName sets the value of the 'domain_name' attribute to the given value.

func (*RegistryLocationBuilder) Empty ¶

func (b *RegistryLocationBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*RegistryLocationBuilder) Insecure ¶

Insecure sets the value of the 'insecure' attribute to the given value.

type RegistryLocationList ¶

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

RegistryLocationList is a list of values of the 'registry_location' type.

func (*RegistryLocationList) Each ¶

func (l *RegistryLocationList) Each(f func(item *RegistryLocation) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*RegistryLocationList) Empty ¶

func (l *RegistryLocationList) Empty() bool

Empty returns true if the list is empty.

func (*RegistryLocationList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*RegistryLocationList) Items ¶

func (l *RegistryLocationList) Items() []*RegistryLocation

Items returns the items of the list.

func (*RegistryLocationList) Len ¶

func (l *RegistryLocationList) Len() int

Len returns the length of the list.

func (*RegistryLocationList) Range ¶

func (l *RegistryLocationList) Range(f func(index int, item *RegistryLocation) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*RegistryLocationList) SetHREF ¶

func (l *RegistryLocationList) SetHREF(href string)

Items sets the items of the list.

func (*RegistryLocationList) SetItems ¶

func (l *RegistryLocationList) SetItems(items []*RegistryLocation)

Items sets the items of the list.

func (l *RegistryLocationList) SetLink(link bool)

Items sets the items of the list.

func (*RegistryLocationList) Slice ¶

func (l *RegistryLocationList) Slice() []*RegistryLocation

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type RegistryLocationListBuilder ¶

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

RegistryLocationListBuilder contains the data and logic needed to build 'registry_location' objects.

func NewRegistryLocationList ¶

func NewRegistryLocationList() *RegistryLocationListBuilder

NewRegistryLocationList creates a new builder of 'registry_location' objects.

func (*RegistryLocationListBuilder) Build ¶

func (b *RegistryLocationListBuilder) Build() (list *RegistryLocationList, err error)

Build creates a list of 'registry_location' objects using the configuration stored in the builder.

func (*RegistryLocationListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*RegistryLocationListBuilder) Empty ¶

func (b *RegistryLocationListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*RegistryLocationListBuilder) Items ¶

Items sets the items of the list.

type RegistrySources ¶

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

RegistrySources represents the values of the 'registry_sources' type.

RegistrySources contains configuration that determines how the container runtime should treat individual registries when accessing images for builds and pods. For instance, whether or not to allow insecure access. It does not contain configuration for the internal cluster registry.

func ReadRegistrySources ¶

func ReadRegistrySources(iterator *jsoniter.Iterator) *RegistrySources

ReadRegistrySources reads a value of the 'registry_sources' type from the given iterator.

func ReadRegistrySourcesList ¶

func ReadRegistrySourcesList(iterator *jsoniter.Iterator) []*RegistrySources

ReadRegistrySourcesList reads list of values of the ”registry_sources' type from the given iterator.

func UnmarshalRegistrySources ¶

func UnmarshalRegistrySources(source interface{}) (object *RegistrySources, err error)

UnmarshalRegistrySources reads a value of the 'registry_sources' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalRegistrySourcesList ¶

func UnmarshalRegistrySourcesList(source interface{}) (items []*RegistrySources, err error)

UnmarshalRegistrySourcesList reads a list of values of the 'registry_sources' type from the given source, which can be a slice of bytes, a string or a reader.

func (*RegistrySources) AllowedRegistries ¶

func (o *RegistrySources) AllowedRegistries() []string

AllowedRegistries returns the value of the 'allowed_registries' attribute, or the zero value of the type if the attribute doesn't have a value.

AllowedRegistries: registries for which image pull and push actions are allowed. To specify all subdomains, add the asterisk (*) wildcard character as a prefix to the domain name. For example, *.example.com. You can specify an individual repository within a registry. For example: reg1.io/myrepo/myapp:latest. All other registries are blocked. Mutually exclusive with `BlockedRegistries`

func (*RegistrySources) BlockedRegistries ¶

func (o *RegistrySources) BlockedRegistries() []string

BlockedRegistries returns the value of the 'blocked_registries' attribute, or the zero value of the type if the attribute doesn't have a value.

BlockedRegistries: registries for which image pull and push actions are denied. To specify all subdomains, add the asterisk (*) wildcard character as a prefix to the domain name. For example, *.example.com. You can specify an individual repository within a registry. For example: reg1.io/myrepo/myapp:latest. All other registries are allowed. Mutually exclusive with `AllowedRegistries`

func (*RegistrySources) Empty ¶

func (o *RegistrySources) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*RegistrySources) GetAllowedRegistries ¶

func (o *RegistrySources) GetAllowedRegistries() (value []string, ok bool)

GetAllowedRegistries returns the value of the 'allowed_registries' attribute and a flag indicating if the attribute has a value.

AllowedRegistries: registries for which image pull and push actions are allowed. To specify all subdomains, add the asterisk (*) wildcard character as a prefix to the domain name. For example, *.example.com. You can specify an individual repository within a registry. For example: reg1.io/myrepo/myapp:latest. All other registries are blocked. Mutually exclusive with `BlockedRegistries`

func (*RegistrySources) GetBlockedRegistries ¶

func (o *RegistrySources) GetBlockedRegistries() (value []string, ok bool)

GetBlockedRegistries returns the value of the 'blocked_registries' attribute and a flag indicating if the attribute has a value.

BlockedRegistries: registries for which image pull and push actions are denied. To specify all subdomains, add the asterisk (*) wildcard character as a prefix to the domain name. For example, *.example.com. You can specify an individual repository within a registry. For example: reg1.io/myrepo/myapp:latest. All other registries are allowed. Mutually exclusive with `AllowedRegistries`

func (*RegistrySources) GetInsecureRegistries ¶

func (o *RegistrySources) GetInsecureRegistries() (value []string, ok bool)

GetInsecureRegistries returns the value of the 'insecure_registries' attribute and a flag indicating if the attribute has a value.

InsecureRegistries are registries which do not have a valid TLS certificate or only support HTTP connections. To specify all subdomains, add the asterisk (*) wildcard character as a prefix to the domain name. For example, *.example.com. You can specify an individual repository within a registry. For example: reg1.io/myrepo/myapp:latest.

func (*RegistrySources) InsecureRegistries ¶

func (o *RegistrySources) InsecureRegistries() []string

InsecureRegistries returns the value of the 'insecure_registries' attribute, or the zero value of the type if the attribute doesn't have a value.

InsecureRegistries are registries which do not have a valid TLS certificate or only support HTTP connections. To specify all subdomains, add the asterisk (*) wildcard character as a prefix to the domain name. For example, *.example.com. You can specify an individual repository within a registry. For example: reg1.io/myrepo/myapp:latest.

type RegistrySourcesBuilder ¶

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

RegistrySourcesBuilder contains the data and logic needed to build 'registry_sources' objects.

RegistrySources contains configuration that determines how the container runtime should treat individual registries when accessing images for builds and pods. For instance, whether or not to allow insecure access. It does not contain configuration for the internal cluster registry.

func NewRegistrySources ¶

func NewRegistrySources() *RegistrySourcesBuilder

NewRegistrySources creates a new builder of 'registry_sources' objects.

func (*RegistrySourcesBuilder) AllowedRegistries ¶

func (b *RegistrySourcesBuilder) AllowedRegistries(values ...string) *RegistrySourcesBuilder

AllowedRegistries sets the value of the 'allowed_registries' attribute to the given values.

func (*RegistrySourcesBuilder) BlockedRegistries ¶

func (b *RegistrySourcesBuilder) BlockedRegistries(values ...string) *RegistrySourcesBuilder

BlockedRegistries sets the value of the 'blocked_registries' attribute to the given values.

func (*RegistrySourcesBuilder) Build ¶

func (b *RegistrySourcesBuilder) Build() (object *RegistrySources, err error)

Build creates a 'registry_sources' object using the configuration stored in the builder.

func (*RegistrySourcesBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*RegistrySourcesBuilder) Empty ¶

func (b *RegistrySourcesBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*RegistrySourcesBuilder) InsecureRegistries ¶

func (b *RegistrySourcesBuilder) InsecureRegistries(values ...string) *RegistrySourcesBuilder

InsecureRegistries sets the value of the 'insecure_registries' attribute to the given values.

type RegistrySourcesList ¶

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

RegistrySourcesList is a list of values of the 'registry_sources' type.

func (*RegistrySourcesList) Each ¶

func (l *RegistrySourcesList) Each(f func(item *RegistrySources) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*RegistrySourcesList) Empty ¶

func (l *RegistrySourcesList) Empty() bool

Empty returns true if the list is empty.

func (*RegistrySourcesList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*RegistrySourcesList) Items ¶

func (l *RegistrySourcesList) Items() []*RegistrySources

Items returns the items of the list.

func (*RegistrySourcesList) Len ¶

func (l *RegistrySourcesList) Len() int

Len returns the length of the list.

func (*RegistrySourcesList) Range ¶

func (l *RegistrySourcesList) Range(f func(index int, item *RegistrySources) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*RegistrySourcesList) SetHREF ¶

func (l *RegistrySourcesList) SetHREF(href string)

Items sets the items of the list.

func (*RegistrySourcesList) SetItems ¶

func (l *RegistrySourcesList) SetItems(items []*RegistrySources)

Items sets the items of the list.

func (l *RegistrySourcesList) SetLink(link bool)

Items sets the items of the list.

func (*RegistrySourcesList) Slice ¶

func (l *RegistrySourcesList) Slice() []*RegistrySources

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type RegistrySourcesListBuilder ¶

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

RegistrySourcesListBuilder contains the data and logic needed to build 'registry_sources' objects.

func NewRegistrySourcesList ¶

func NewRegistrySourcesList() *RegistrySourcesListBuilder

NewRegistrySourcesList creates a new builder of 'registry_sources' objects.

func (*RegistrySourcesListBuilder) Build ¶

func (b *RegistrySourcesListBuilder) Build() (list *RegistrySourcesList, err error)

Build creates a list of 'registry_sources' objects using the configuration stored in the builder.

func (*RegistrySourcesListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*RegistrySourcesListBuilder) Empty ¶

func (b *RegistrySourcesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*RegistrySourcesListBuilder) Items ¶

Items sets the items of the list.

type RootVolume ¶

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

RootVolume represents the values of the 'root_volume' type.

Root volume capabilities.

func ReadRootVolume ¶

func ReadRootVolume(iterator *jsoniter.Iterator) *RootVolume

ReadRootVolume reads a value of the 'root_volume' type from the given iterator.

func ReadRootVolumeList ¶

func ReadRootVolumeList(iterator *jsoniter.Iterator) []*RootVolume

ReadRootVolumeList reads list of values of the ”root_volume' type from the given iterator.

func UnmarshalRootVolume ¶

func UnmarshalRootVolume(source interface{}) (object *RootVolume, err error)

UnmarshalRootVolume reads a value of the 'root_volume' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalRootVolumeList ¶

func UnmarshalRootVolumeList(source interface{}) (items []*RootVolume, err error)

UnmarshalRootVolumeList reads a list of values of the 'root_volume' type from the given source, which can be a slice of bytes, a string or a reader.

func (*RootVolume) AWS ¶

func (o *RootVolume) AWS() *AWSVolume

AWS returns the value of the 'AWS' attribute, or the zero value of the type if the attribute doesn't have a value.

AWS volume specification

func (*RootVolume) Empty ¶

func (o *RootVolume) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*RootVolume) GCP ¶

func (o *RootVolume) GCP() *GCPVolume

GCP returns the value of the 'GCP' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP Volume specification

func (*RootVolume) GetAWS ¶

func (o *RootVolume) GetAWS() (value *AWSVolume, ok bool)

GetAWS returns the value of the 'AWS' attribute and a flag indicating if the attribute has a value.

AWS volume specification

func (*RootVolume) GetGCP ¶

func (o *RootVolume) GetGCP() (value *GCPVolume, ok bool)

GetGCP returns the value of the 'GCP' attribute and a flag indicating if the attribute has a value.

GCP Volume specification

type RootVolumeBuilder ¶

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

RootVolumeBuilder contains the data and logic needed to build 'root_volume' objects.

Root volume capabilities.

func NewRootVolume ¶

func NewRootVolume() *RootVolumeBuilder

NewRootVolume creates a new builder of 'root_volume' objects.

func (*RootVolumeBuilder) AWS ¶

AWS sets the value of the 'AWS' attribute to the given value.

Holds settings for an AWS storage volume.

func (*RootVolumeBuilder) Build ¶

func (b *RootVolumeBuilder) Build() (object *RootVolume, err error)

Build creates a 'root_volume' object using the configuration stored in the builder.

func (*RootVolumeBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*RootVolumeBuilder) Empty ¶

func (b *RootVolumeBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*RootVolumeBuilder) GCP ¶

GCP sets the value of the 'GCP' attribute to the given value.

Holds settings for an GCP storage volume.

type RootVolumeList ¶

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

RootVolumeList is a list of values of the 'root_volume' type.

func (*RootVolumeList) Each ¶

func (l *RootVolumeList) Each(f func(item *RootVolume) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*RootVolumeList) Empty ¶

func (l *RootVolumeList) Empty() bool

Empty returns true if the list is empty.

func (*RootVolumeList) Get ¶

func (l *RootVolumeList) Get(i int) *RootVolume

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*RootVolumeList) Items ¶

func (l *RootVolumeList) Items() []*RootVolume

Items returns the items of the list.

func (*RootVolumeList) Len ¶

func (l *RootVolumeList) Len() int

Len returns the length of the list.

func (*RootVolumeList) Range ¶

func (l *RootVolumeList) Range(f func(index int, item *RootVolume) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*RootVolumeList) SetHREF ¶

func (l *RootVolumeList) SetHREF(href string)

Items sets the items of the list.

func (*RootVolumeList) SetItems ¶

func (l *RootVolumeList) SetItems(items []*RootVolume)

Items sets the items of the list.

func (l *RootVolumeList) SetLink(link bool)

Items sets the items of the list.

func (*RootVolumeList) Slice ¶

func (l *RootVolumeList) Slice() []*RootVolume

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type RootVolumeListBuilder ¶

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

RootVolumeListBuilder contains the data and logic needed to build 'root_volume' objects.

func NewRootVolumeList ¶

func NewRootVolumeList() *RootVolumeListBuilder

NewRootVolumeList creates a new builder of 'root_volume' objects.

func (*RootVolumeListBuilder) Build ¶

func (b *RootVolumeListBuilder) Build() (list *RootVolumeList, err error)

Build creates a list of 'root_volume' objects using the configuration stored in the builder.

func (*RootVolumeListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*RootVolumeListBuilder) Empty ¶

func (b *RootVolumeListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*RootVolumeListBuilder) Items ¶

Items sets the items of the list.

type STS ¶

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

STS represents the values of the 'STS' type.

Contains the necessary attributes to support role-based authentication on AWS.

func ReadSTS ¶

func ReadSTS(iterator *jsoniter.Iterator) *STS

ReadSTS reads a value of the 'STS' type from the given iterator.

func ReadSTSList ¶

func ReadSTSList(iterator *jsoniter.Iterator) []*STS

ReadSTSList reads list of values of the ”STS' type from the given iterator.

func UnmarshalSTS ¶

func UnmarshalSTS(source interface{}) (object *STS, err error)

UnmarshalSTS reads a value of the 'STS' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSTSList ¶

func UnmarshalSTSList(source interface{}) (items []*STS, err error)

UnmarshalSTSList reads a list of values of the 'STS' type from the given source, which can be a slice of bytes, a string or a reader.

func (*STS) AutoMode ¶

func (o *STS) AutoMode() bool

AutoMode returns the value of the 'auto_mode' attribute, or the zero value of the type if the attribute doesn't have a value.

Auto creation mode for cluster - OCM will create the operator roles and OIDC provider. false by default.

func (*STS) Empty ¶

func (o *STS) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*STS) Enabled ¶

func (o *STS) Enabled() bool

Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.

If STS is enabled or disabled

func (*STS) ExternalID ¶

func (o *STS) ExternalID() string

ExternalID returns the value of the 'external_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional unique identifier when assuming role in another account

func (*STS) GetAutoMode ¶

func (o *STS) GetAutoMode() (value bool, ok bool)

GetAutoMode returns the value of the 'auto_mode' attribute and a flag indicating if the attribute has a value.

Auto creation mode for cluster - OCM will create the operator roles and OIDC provider. false by default.

func (*STS) GetEnabled ¶

func (o *STS) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

If STS is enabled or disabled

func (*STS) GetExternalID ¶

func (o *STS) GetExternalID() (value string, ok bool)

GetExternalID returns the value of the 'external_ID' attribute and a flag indicating if the attribute has a value.

Optional unique identifier when assuming role in another account

func (*STS) GetInstanceIAMRoles ¶

func (o *STS) GetInstanceIAMRoles() (value *InstanceIAMRoles, ok bool)

GetInstanceIAMRoles returns the value of the 'instance_IAM_roles' attribute and a flag indicating if the attribute has a value.

Instance IAM roles to use for the instance profiles of the master and worker instances

func (*STS) GetManagedPolicies ¶

func (o *STS) GetManagedPolicies() (value bool, ok bool)

GetManagedPolicies returns the value of the 'managed_policies' attribute and a flag indicating if the attribute has a value.

If true, cluster account and operator roles have managed policies attached.

func (*STS) GetOIDCEndpointURL ¶

func (o *STS) GetOIDCEndpointURL() (value string, ok bool)

GetOIDCEndpointURL returns the value of the 'OIDC_endpoint_URL' attribute and a flag indicating if the attribute has a value.

URL of the location where OIDC configuration and keys are available

func (*STS) GetOidcConfig ¶

func (o *STS) GetOidcConfig() (value *OidcConfig, ok bool)

GetOidcConfig returns the value of the 'oidc_config' attribute and a flag indicating if the attribute has a value.

Registered Oidc Config, if available holds information related to the oidc config.

func (*STS) GetOperatorIAMRoles ¶

func (o *STS) GetOperatorIAMRoles() (value []*OperatorIAMRole, ok bool)

GetOperatorIAMRoles returns the value of the 'operator_IAM_roles' attribute and a flag indicating if the attribute has a value.

List of roles necessary to access the AWS resources of the various operators used during installation

func (*STS) GetOperatorRolePrefix ¶

func (o *STS) GetOperatorRolePrefix() (value string, ok bool)

GetOperatorRolePrefix returns the value of the 'operator_role_prefix' attribute and a flag indicating if the attribute has a value.

Optional user provided prefix for operator roles.

func (*STS) GetPermissionBoundary ¶

func (o *STS) GetPermissionBoundary() (value string, ok bool)

GetPermissionBoundary returns the value of the 'permission_boundary' attribute and a flag indicating if the attribute has a value.

Optional user provided permission boundary.

func (*STS) GetRoleARN ¶

func (o *STS) GetRoleARN() (value string, ok bool)

GetRoleARN returns the value of the 'role_ARN' attribute and a flag indicating if the attribute has a value.

ARN of the AWS role to assume when installing the cluster

func (*STS) GetSupportRoleARN ¶

func (o *STS) GetSupportRoleARN() (value string, ok bool)

GetSupportRoleARN returns the value of the 'support_role_ARN' attribute and a flag indicating if the attribute has a value.

ARN of the AWS role used by SREs to access the cluster AWS account in order to provide support

func (*STS) InstanceIAMRoles ¶

func (o *STS) InstanceIAMRoles() *InstanceIAMRoles

InstanceIAMRoles returns the value of the 'instance_IAM_roles' attribute, or the zero value of the type if the attribute doesn't have a value.

Instance IAM roles to use for the instance profiles of the master and worker instances

func (*STS) ManagedPolicies ¶

func (o *STS) ManagedPolicies() bool

ManagedPolicies returns the value of the 'managed_policies' attribute, or the zero value of the type if the attribute doesn't have a value.

If true, cluster account and operator roles have managed policies attached.

func (*STS) OIDCEndpointURL ¶

func (o *STS) OIDCEndpointURL() string

OIDCEndpointURL returns the value of the 'OIDC_endpoint_URL' attribute, or the zero value of the type if the attribute doesn't have a value.

URL of the location where OIDC configuration and keys are available

func (*STS) OidcConfig ¶

func (o *STS) OidcConfig() *OidcConfig

OidcConfig returns the value of the 'oidc_config' attribute, or the zero value of the type if the attribute doesn't have a value.

Registered Oidc Config, if available holds information related to the oidc config.

func (*STS) OperatorIAMRoles ¶

func (o *STS) OperatorIAMRoles() []*OperatorIAMRole

OperatorIAMRoles returns the value of the 'operator_IAM_roles' attribute, or the zero value of the type if the attribute doesn't have a value.

List of roles necessary to access the AWS resources of the various operators used during installation

func (*STS) OperatorRolePrefix ¶

func (o *STS) OperatorRolePrefix() string

OperatorRolePrefix returns the value of the 'operator_role_prefix' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional user provided prefix for operator roles.

func (*STS) PermissionBoundary ¶

func (o *STS) PermissionBoundary() string

PermissionBoundary returns the value of the 'permission_boundary' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional user provided permission boundary.

func (*STS) RoleARN ¶

func (o *STS) RoleARN() string

RoleARN returns the value of the 'role_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.

ARN of the AWS role to assume when installing the cluster

func (*STS) SupportRoleARN ¶

func (o *STS) SupportRoleARN() string

SupportRoleARN returns the value of the 'support_role_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.

ARN of the AWS role used by SREs to access the cluster AWS account in order to provide support

type STSBuilder ¶

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

STSBuilder contains the data and logic needed to build 'STS' objects.

Contains the necessary attributes to support role-based authentication on AWS.

func NewSTS ¶

func NewSTS() *STSBuilder

NewSTS creates a new builder of 'STS' objects.

func (*STSBuilder) AutoMode ¶

func (b *STSBuilder) AutoMode(value bool) *STSBuilder

AutoMode sets the value of the 'auto_mode' attribute to the given value.

func (*STSBuilder) Build ¶

func (b *STSBuilder) Build() (object *STS, err error)

Build creates a 'STS' object using the configuration stored in the builder.

func (*STSBuilder) Copy ¶

func (b *STSBuilder) Copy(object *STS) *STSBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*STSBuilder) Empty ¶

func (b *STSBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*STSBuilder) Enabled ¶

func (b *STSBuilder) Enabled(value bool) *STSBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

func (*STSBuilder) ExternalID ¶

func (b *STSBuilder) ExternalID(value string) *STSBuilder

ExternalID sets the value of the 'external_ID' attribute to the given value.

func (*STSBuilder) InstanceIAMRoles ¶

func (b *STSBuilder) InstanceIAMRoles(value *InstanceIAMRolesBuilder) *STSBuilder

InstanceIAMRoles sets the value of the 'instance_IAM_roles' attribute to the given value.

Contains the necessary attributes to support role-based authentication on AWS.

func (*STSBuilder) ManagedPolicies ¶

func (b *STSBuilder) ManagedPolicies(value bool) *STSBuilder

ManagedPolicies sets the value of the 'managed_policies' attribute to the given value.

func (*STSBuilder) OIDCEndpointURL ¶

func (b *STSBuilder) OIDCEndpointURL(value string) *STSBuilder

OIDCEndpointURL sets the value of the 'OIDC_endpoint_URL' attribute to the given value.

func (*STSBuilder) OidcConfig ¶

func (b *STSBuilder) OidcConfig(value *OidcConfigBuilder) *STSBuilder

OidcConfig sets the value of the 'oidc_config' attribute to the given value.

Contains the necessary attributes to support oidc configuration hosting under Red Hat or registering a Customer's byo oidc config.

func (*STSBuilder) OperatorIAMRoles ¶

func (b *STSBuilder) OperatorIAMRoles(values ...*OperatorIAMRoleBuilder) *STSBuilder

OperatorIAMRoles sets the value of the 'operator_IAM_roles' attribute to the given values.

func (*STSBuilder) OperatorRolePrefix ¶

func (b *STSBuilder) OperatorRolePrefix(value string) *STSBuilder

OperatorRolePrefix sets the value of the 'operator_role_prefix' attribute to the given value.

func (*STSBuilder) PermissionBoundary ¶

func (b *STSBuilder) PermissionBoundary(value string) *STSBuilder

PermissionBoundary sets the value of the 'permission_boundary' attribute to the given value.

func (*STSBuilder) RoleARN ¶

func (b *STSBuilder) RoleARN(value string) *STSBuilder

RoleARN sets the value of the 'role_ARN' attribute to the given value.

func (*STSBuilder) SupportRoleARN ¶

func (b *STSBuilder) SupportRoleARN(value string) *STSBuilder

SupportRoleARN sets the value of the 'support_role_ARN' attribute to the given value.

type STSList ¶

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

STSList is a list of values of the 'STS' type.

func (*STSList) Each ¶

func (l *STSList) Each(f func(item *STS) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*STSList) Empty ¶

func (l *STSList) Empty() bool

Empty returns true if the list is empty.

func (*STSList) Get ¶

func (l *STSList) Get(i int) *STS

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*STSList) Items ¶

func (l *STSList) Items() []*STS

Items returns the items of the list.

func (*STSList) Len ¶

func (l *STSList) Len() int

Len returns the length of the list.

func (*STSList) Range ¶

func (l *STSList) Range(f func(index int, item *STS) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*STSList) SetHREF ¶

func (l *STSList) SetHREF(href string)

Items sets the items of the list.

func (*STSList) SetItems ¶

func (l *STSList) SetItems(items []*STS)

Items sets the items of the list.

func (l *STSList) SetLink(link bool)

Items sets the items of the list.

func (*STSList) Slice ¶

func (l *STSList) Slice() []*STS

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type STSListBuilder ¶

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

STSListBuilder contains the data and logic needed to build 'STS' objects.

func NewSTSList ¶

func NewSTSList() *STSListBuilder

NewSTSList creates a new builder of 'STS' objects.

func (*STSListBuilder) Build ¶

func (b *STSListBuilder) Build() (list *STSList, err error)

Build creates a list of 'STS' objects using the configuration stored in the builder.

func (*STSListBuilder) Copy ¶

func (b *STSListBuilder) Copy(list *STSList) *STSListBuilder

Copy copies the items of the given list into this builder, discarding any previous items.

func (*STSListBuilder) Empty ¶

func (b *STSListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*STSListBuilder) Items ¶

func (b *STSListBuilder) Items(values ...*STSBuilder) *STSListBuilder

Items sets the items of the list.

type ServerConfig ¶

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

ServerConfig represents the values of the 'server_config' type.

Representation of a server config

func ReadServerConfig ¶

func ReadServerConfig(iterator *jsoniter.Iterator) *ServerConfig

ReadServerConfig reads a value of the 'server_config' type from the given iterator.

func ReadServerConfigList ¶

func ReadServerConfigList(iterator *jsoniter.Iterator) []*ServerConfig

ReadServerConfigList reads list of values of the ”server_config' type from the given iterator.

func UnmarshalServerConfig ¶

func UnmarshalServerConfig(source interface{}) (object *ServerConfig, err error)

UnmarshalServerConfig reads a value of the 'server_config' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalServerConfigList ¶

func UnmarshalServerConfigList(source interface{}) (items []*ServerConfig, err error)

UnmarshalServerConfigList reads a list of values of the 'server_config' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ServerConfig) AWSShard ¶

func (o *ServerConfig) AWSShard() *AWSShard

AWSShard returns the value of the 'AWS_shard' attribute, or the zero value of the type if the attribute doesn't have a value.

Config for AWS provision shards

func (*ServerConfig) Empty ¶

func (o *ServerConfig) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ServerConfig) GetAWSShard ¶

func (o *ServerConfig) GetAWSShard() (value *AWSShard, ok bool)

GetAWSShard returns the value of the 'AWS_shard' attribute and a flag indicating if the attribute has a value.

Config for AWS provision shards

func (*ServerConfig) GetHREF ¶

func (o *ServerConfig) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ServerConfig) GetID ¶

func (o *ServerConfig) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ServerConfig) GetKubeconfig ¶

func (o *ServerConfig) GetKubeconfig() (value string, ok bool)

GetKubeconfig returns the value of the 'kubeconfig' attribute and a flag indicating if the attribute has a value.

The kubeconfig of the server.

func (*ServerConfig) GetServer ¶

func (o *ServerConfig) GetServer() (value string, ok bool)

GetServer returns the value of the 'server' attribute and a flag indicating if the attribute has a value.

The URL of the server.

func (*ServerConfig) GetTopology ¶

func (o *ServerConfig) GetTopology() (value ProvisionShardTopology, ok bool)

GetTopology returns the value of the 'topology' attribute and a flag indicating if the attribute has a value.

The topology of a provision shard (Optional).

func (*ServerConfig) HREF ¶

func (o *ServerConfig) HREF() string

HREF returns the link to the object.

func (*ServerConfig) ID ¶

func (o *ServerConfig) ID() string

ID returns the identifier of the object.

func (*ServerConfig) Kind ¶

func (o *ServerConfig) Kind() string

Kind returns the name of the type of the object.

func (*ServerConfig) Kubeconfig ¶

func (o *ServerConfig) Kubeconfig() string

Kubeconfig returns the value of the 'kubeconfig' attribute, or the zero value of the type if the attribute doesn't have a value.

The kubeconfig of the server.

func (o *ServerConfig) Link() bool

Link returns true if this is a link.

func (*ServerConfig) Server ¶

func (o *ServerConfig) Server() string

Server returns the value of the 'server' attribute, or the zero value of the type if the attribute doesn't have a value.

The URL of the server.

func (*ServerConfig) Topology ¶

func (o *ServerConfig) Topology() ProvisionShardTopology

Topology returns the value of the 'topology' attribute, or the zero value of the type if the attribute doesn't have a value.

The topology of a provision shard (Optional).

type ServerConfigBuilder ¶

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

ServerConfigBuilder contains the data and logic needed to build 'server_config' objects.

Representation of a server config

func NewServerConfig ¶

func NewServerConfig() *ServerConfigBuilder

NewServerConfig creates a new builder of 'server_config' objects.

func (*ServerConfigBuilder) AWSShard ¶

AWSShard sets the value of the 'AWS_shard' attribute to the given value.

Config for AWS provision shards

func (*ServerConfigBuilder) Build ¶

func (b *ServerConfigBuilder) Build() (object *ServerConfig, err error)

Build creates a 'server_config' object using the configuration stored in the builder.

func (*ServerConfigBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ServerConfigBuilder) Empty ¶

func (b *ServerConfigBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ServerConfigBuilder) HREF ¶

HREF sets the link to the object.

func (*ServerConfigBuilder) ID ¶

ID sets the identifier of the object.

func (*ServerConfigBuilder) Kubeconfig ¶

func (b *ServerConfigBuilder) Kubeconfig(value string) *ServerConfigBuilder

Kubeconfig sets the value of the 'kubeconfig' attribute to the given value.

Link sets the flag that indicates if this is a link.

func (*ServerConfigBuilder) Server ¶

Server sets the value of the 'server' attribute to the given value.

func (*ServerConfigBuilder) Topology ¶

Topology sets the value of the 'topology' attribute to the given value.

type ServerConfigList ¶

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

ServerConfigList is a list of values of the 'server_config' type.

func (*ServerConfigList) Each ¶

func (l *ServerConfigList) Each(f func(item *ServerConfig) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ServerConfigList) Empty ¶

func (l *ServerConfigList) Empty() bool

Empty returns true if the list is empty.

func (*ServerConfigList) Get ¶

func (l *ServerConfigList) Get(i int) *ServerConfig

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ServerConfigList) GetHREF ¶

func (l *ServerConfigList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ServerConfigList) HREF ¶

func (l *ServerConfigList) HREF() string

HREF returns the link to the list.

func (*ServerConfigList) Items ¶

func (l *ServerConfigList) Items() []*ServerConfig

Items returns the items of the list.

func (*ServerConfigList) Kind ¶

func (l *ServerConfigList) Kind() string

Kind returns the name of the type of the object.

func (*ServerConfigList) Len ¶

func (l *ServerConfigList) Len() int

Len returns the length of the list.

func (l *ServerConfigList) Link() bool

Link returns true iif this is a link.

func (*ServerConfigList) Range ¶

func (l *ServerConfigList) Range(f func(index int, item *ServerConfig) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ServerConfigList) SetHREF ¶

func (l *ServerConfigList) SetHREF(href string)

Items sets the items of the list.

func (*ServerConfigList) SetItems ¶

func (l *ServerConfigList) SetItems(items []*ServerConfig)

Items sets the items of the list.

func (l *ServerConfigList) SetLink(link bool)

Items sets the items of the list.

func (*ServerConfigList) Slice ¶

func (l *ServerConfigList) Slice() []*ServerConfig

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ServerConfigListBuilder ¶

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

ServerConfigListBuilder contains the data and logic needed to build 'server_config' objects.

func NewServerConfigList ¶

func NewServerConfigList() *ServerConfigListBuilder

NewServerConfigList creates a new builder of 'server_config' objects.

func (*ServerConfigListBuilder) Build ¶

func (b *ServerConfigListBuilder) Build() (list *ServerConfigList, err error)

Build creates a list of 'server_config' objects using the configuration stored in the builder.

func (*ServerConfigListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ServerConfigListBuilder) Empty ¶

func (b *ServerConfigListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ServerConfigListBuilder) Items ¶

Items sets the items of the list.

type Value ¶

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

Value represents the values of the 'value' type.

Numeric value and the unit used to measure it.

Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:

- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes

- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes

func ReadValue ¶

func ReadValue(iterator *jsoniter.Iterator) *Value

ReadValue reads a value of the 'value' type from the given iterator.

func ReadValueList ¶

func ReadValueList(iterator *jsoniter.Iterator) []*Value

ReadValueList reads list of values of the ”value' type from the given iterator.

func UnmarshalValue ¶

func UnmarshalValue(source interface{}) (object *Value, err error)

UnmarshalValue reads a value of the 'value' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalValueList ¶

func UnmarshalValueList(source interface{}) (items []*Value, err error)

UnmarshalValueList reads a list of values of the 'value' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Value) Empty ¶

func (o *Value) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Value) GetUnit ¶

func (o *Value) GetUnit() (value string, ok bool)

GetUnit returns the value of the 'unit' attribute and a flag indicating if the attribute has a value.

Name of the unit used to measure the value.

func (*Value) GetValue ¶

func (o *Value) GetValue() (value float64, ok bool)

GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.

Numeric value.

func (*Value) Unit ¶

func (o *Value) Unit() string

Unit returns the value of the 'unit' attribute, or the zero value of the type if the attribute doesn't have a value.

Name of the unit used to measure the value.

func (*Value) Value ¶

func (o *Value) Value() float64

Value returns the value of the 'value' attribute, or the zero value of the type if the attribute doesn't have a value.

Numeric value.

type ValueBuilder ¶

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

ValueBuilder contains the data and logic needed to build 'value' objects.

Numeric value and the unit used to measure it.

Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:

- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes

- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes

func NewValue ¶

func NewValue() *ValueBuilder

NewValue creates a new builder of 'value' objects.

func (*ValueBuilder) Build ¶

func (b *ValueBuilder) Build() (object *Value, err error)

Build creates a 'value' object using the configuration stored in the builder.

func (*ValueBuilder) Copy ¶

func (b *ValueBuilder) Copy(object *Value) *ValueBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ValueBuilder) Empty ¶

func (b *ValueBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ValueBuilder) Unit ¶

func (b *ValueBuilder) Unit(value string) *ValueBuilder

Unit sets the value of the 'unit' attribute to the given value.

func (*ValueBuilder) Value ¶

func (b *ValueBuilder) Value(value float64) *ValueBuilder

Value sets the value of the 'value' attribute to the given value.

type ValueList ¶

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

ValueList is a list of values of the 'value' type.

func (*ValueList) Each ¶

func (l *ValueList) Each(f func(item *Value) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ValueList) Empty ¶

func (l *ValueList) Empty() bool

Empty returns true if the list is empty.

func (*ValueList) Get ¶

func (l *ValueList) Get(i int) *Value

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ValueList) Items ¶

func (l *ValueList) Items() []*Value

Items returns the items of the list.

func (*ValueList) Len ¶

func (l *ValueList) Len() int

Len returns the length of the list.

func (*ValueList) Range ¶

func (l *ValueList) Range(f func(index int, item *Value) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ValueList) SetHREF ¶

func (l *ValueList) SetHREF(href string)

Items sets the items of the list.

func (*ValueList) SetItems ¶

func (l *ValueList) SetItems(items []*Value)

Items sets the items of the list.

func (l *ValueList) SetLink(link bool)

Items sets the items of the list.

func (*ValueList) Slice ¶

func (l *ValueList) Slice() []*Value

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ValueListBuilder ¶

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

ValueListBuilder contains the data and logic needed to build 'value' objects.

func NewValueList ¶

func NewValueList() *ValueListBuilder

NewValueList creates a new builder of 'value' objects.

func (*ValueListBuilder) Build ¶

func (b *ValueListBuilder) Build() (list *ValueList, err error)

Build creates a list of 'value' objects using the configuration stored in the builder.

func (*ValueListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ValueListBuilder) Empty ¶

func (b *ValueListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ValueListBuilder) Items ¶

func (b *ValueListBuilder) Items(values ...*ValueBuilder) *ValueListBuilder

Items sets the items of the list.

Source Files ¶

Jump to

Keyboard shortcuts

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