v1alpha1

package
v0.0.430 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation ¶

Index ¶

Constants ¶

View Source
const AMIOverrideKind = "AMIOverride"

AMIOverrideKind is the name of the type used to represent objects of type 'AMI_override'.

View Source
const AMIOverrideLinkKind = "AMIOverrideLink"

AMIOverrideLinkKind is the name of the type used to represent links to objects of type 'AMI_override'.

View Source
const AMIOverrideListKind = "AMIOverrideList"

AMIOverrideListKind is the name of the type used to represent list of objects of type 'AMI_override'.

View Source
const AMIOverrideListLinkKind = "AMIOverrideListLink"

AMIOverrideListLinkKind is the name of the type used to represent links to list of objects of type 'AMI_override'.

View Source
const AMIOverrideListNilKind = "AMIOverrideListNil"

AMIOverrideNilKind is the name of the type used to nil lists of objects of type 'AMI_override'.

View Source
const AMIOverrideNilKind = "AMIOverrideNil"

AMIOverrideNilKind is the name of the type used to nil references to objects of type 'AMI_override'.

View Source
const AWSBackupConfigListKind = "AWSBackupConfigList"

AWSBackupConfigListKind is the name of the type used to represent list of objects of type 'AWS_backup_config'.

View Source
const AWSBackupConfigListLinkKind = "AWSBackupConfigListLink"

AWSBackupConfigListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_backup_config'.

View Source
const AWSBackupConfigListNilKind = "AWSBackupConfigListNil"

AWSBackupConfigNilKind is the name of the type used to nil lists of objects of type 'AWS_backup_config'.

View Source
const AWSCapacityReservationListKind = "AWSCapacityReservationList"

AWSCapacityReservationListKind is the name of the type used to represent list of objects of type 'AWS_capacity_reservation'.

View Source
const AWSCapacityReservationListLinkKind = "AWSCapacityReservationListLink"

AWSCapacityReservationListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_capacity_reservation'.

View Source
const AWSCapacityReservationListNilKind = "AWSCapacityReservationListNil"

AWSCapacityReservationNilKind is the name of the type used to nil lists of objects of type 'AWS_capacity_reservation'.

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 AWSNodePoolKind = "AWSNodePool"

AWSNodePoolKind is the name of the type used to represent objects of type 'AWS_node_pool'.

View Source
const AWSNodePoolLinkKind = "AWSNodePoolLink"

AWSNodePoolLinkKind is the name of the type used to represent links to objects of type 'AWS_node_pool'.

View Source
const AWSNodePoolListKind = "AWSNodePoolList"

AWSNodePoolListKind is the name of the type used to represent list of objects of type 'AWS_node_pool'.

View Source
const AWSNodePoolListLinkKind = "AWSNodePoolListLink"

AWSNodePoolListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_node_pool'.

View Source
const AWSNodePoolListNilKind = "AWSNodePoolListNil"

AWSNodePoolNilKind is the name of the type used to nil lists of objects of type 'AWS_node_pool'.

View Source
const AWSNodePoolNilKind = "AWSNodePoolNil"

AWSNodePoolNilKind is the name of the type used to nil references to objects of type 'AWS_node_pool'.

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 AutoscalerResourceLimitsGPULimitListKind = "AutoscalerResourceLimitsGPULimitList"

AutoscalerResourceLimitsGPULimitListKind is the name of the type used to represent list of objects of type 'autoscaler_resource_limits_GPU_limit'.

View Source
const AutoscalerResourceLimitsGPULimitListLinkKind = "AutoscalerResourceLimitsGPULimitListLink"

AutoscalerResourceLimitsGPULimitListLinkKind is the name of the type used to represent links to list of objects of type 'autoscaler_resource_limits_GPU_limit'.

View Source
const AutoscalerResourceLimitsGPULimitListNilKind = "AutoscalerResourceLimitsGPULimitListNil"

AutoscalerResourceLimitsGPULimitNilKind is the name of the type used to nil lists of objects of type 'autoscaler_resource_limits_GPU_limit'.

View Source
const AutoscalerResourceLimitsListKind = "AutoscalerResourceLimitsList"

AutoscalerResourceLimitsListKind is the name of the type used to represent list of objects of type 'autoscaler_resource_limits'.

View Source
const AutoscalerResourceLimitsListLinkKind = "AutoscalerResourceLimitsListLink"

AutoscalerResourceLimitsListLinkKind is the name of the type used to represent links to list of objects of type 'autoscaler_resource_limits'.

View Source
const AutoscalerResourceLimitsListNilKind = "AutoscalerResourceLimitsListNil"

AutoscalerResourceLimitsNilKind is the name of the type used to nil lists of objects of type 'autoscaler_resource_limits'.

View Source
const AutoscalerScaleDownConfigListKind = "AutoscalerScaleDownConfigList"

AutoscalerScaleDownConfigListKind is the name of the type used to represent list of objects of type 'autoscaler_scale_down_config'.

View Source
const AutoscalerScaleDownConfigListLinkKind = "AutoscalerScaleDownConfigListLink"

AutoscalerScaleDownConfigListLinkKind is the name of the type used to represent links to list of objects of type 'autoscaler_scale_down_config'.

View Source
const AutoscalerScaleDownConfigListNilKind = "AutoscalerScaleDownConfigListNil"

AutoscalerScaleDownConfigNilKind is the name of the type used to nil lists of objects of type 'autoscaler_scale_down_config'.

View Source
const AwsAutoNodeListKind = "AwsAutoNodeList"

AwsAutoNodeListKind is the name of the type used to represent list of objects of type 'aws_auto_node'.

View Source
const AwsAutoNodeListLinkKind = "AwsAutoNodeListLink"

AwsAutoNodeListLinkKind is the name of the type used to represent links to list of objects of type 'aws_auto_node'.

View Source
const AwsAutoNodeListNilKind = "AwsAutoNodeListNil"

AwsAutoNodeNilKind is the name of the type used to nil lists of objects of type 'aws_auto_node'.

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 AzureEtcdDataEncryptionCustomerManagedListKind = "AzureEtcdDataEncryptionCustomerManagedList"

AzureEtcdDataEncryptionCustomerManagedListKind is the name of the type used to represent list of objects of type 'azure_etcd_data_encryption_customer_managed'.

View Source
const AzureEtcdDataEncryptionCustomerManagedListLinkKind = "AzureEtcdDataEncryptionCustomerManagedListLink"

AzureEtcdDataEncryptionCustomerManagedListLinkKind is the name of the type used to represent links to list of objects of type 'azure_etcd_data_encryption_customer_managed'.

View Source
const AzureEtcdDataEncryptionCustomerManagedListNilKind = "AzureEtcdDataEncryptionCustomerManagedListNil"

AzureEtcdDataEncryptionCustomerManagedNilKind is the name of the type used to nil lists of objects of type 'azure_etcd_data_encryption_customer_managed'.

View Source
const AzureEtcdDataEncryptionListKind = "AzureEtcdDataEncryptionList"

AzureEtcdDataEncryptionListKind is the name of the type used to represent list of objects of type 'azure_etcd_data_encryption'.

View Source
const AzureEtcdDataEncryptionListLinkKind = "AzureEtcdDataEncryptionListLink"

AzureEtcdDataEncryptionListLinkKind is the name of the type used to represent links to list of objects of type 'azure_etcd_data_encryption'.

View Source
const AzureEtcdDataEncryptionListNilKind = "AzureEtcdDataEncryptionListNil"

AzureEtcdDataEncryptionNilKind is the name of the type used to nil lists of objects of type 'azure_etcd_data_encryption'.

View Source
const AzureEtcdEncryptionListKind = "AzureEtcdEncryptionList"

AzureEtcdEncryptionListKind is the name of the type used to represent list of objects of type 'azure_etcd_encryption'.

View Source
const AzureEtcdEncryptionListLinkKind = "AzureEtcdEncryptionListLink"

AzureEtcdEncryptionListLinkKind is the name of the type used to represent links to list of objects of type 'azure_etcd_encryption'.

View Source
const AzureEtcdEncryptionListNilKind = "AzureEtcdEncryptionListNil"

AzureEtcdEncryptionNilKind is the name of the type used to nil lists of objects of type 'azure_etcd_encryption'.

View Source
const AzureKmsEncryptionListKind = "AzureKmsEncryptionList"

AzureKmsEncryptionListKind is the name of the type used to represent list of objects of type 'azure_kms_encryption'.

View Source
const AzureKmsEncryptionListLinkKind = "AzureKmsEncryptionListLink"

AzureKmsEncryptionListLinkKind is the name of the type used to represent links to list of objects of type 'azure_kms_encryption'.

View Source
const AzureKmsEncryptionListNilKind = "AzureKmsEncryptionListNil"

AzureKmsEncryptionNilKind is the name of the type used to nil lists of objects of type 'azure_kms_encryption'.

View Source
const AzureKmsKeyListKind = "AzureKmsKeyList"

AzureKmsKeyListKind is the name of the type used to represent list of objects of type 'azure_kms_key'.

View Source
const AzureKmsKeyListLinkKind = "AzureKmsKeyListLink"

AzureKmsKeyListLinkKind is the name of the type used to represent links to list of objects of type 'azure_kms_key'.

View Source
const AzureKmsKeyListNilKind = "AzureKmsKeyListNil"

AzureKmsKeyNilKind is the name of the type used to nil lists of objects of type 'azure_kms_key'.

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 AzureNodePoolEncryptionAtHostListKind = "AzureNodePoolEncryptionAtHostList"

AzureNodePoolEncryptionAtHostListKind is the name of the type used to represent list of objects of type 'azure_node_pool_encryption_at_host'.

View Source
const AzureNodePoolEncryptionAtHostListLinkKind = "AzureNodePoolEncryptionAtHostListLink"

AzureNodePoolEncryptionAtHostListLinkKind is the name of the type used to represent links to list of objects of type 'azure_node_pool_encryption_at_host'.

View Source
const AzureNodePoolEncryptionAtHostListNilKind = "AzureNodePoolEncryptionAtHostListNil"

AzureNodePoolEncryptionAtHostNilKind is the name of the type used to nil lists of objects of type 'azure_node_pool_encryption_at_host'.

View Source
const AzureNodePoolListKind = "AzureNodePoolList"

AzureNodePoolListKind is the name of the type used to represent list of objects of type 'azure_node_pool'.

View Source
const AzureNodePoolListLinkKind = "AzureNodePoolListLink"

AzureNodePoolListLinkKind is the name of the type used to represent links to list of objects of type 'azure_node_pool'.

View Source
const AzureNodePoolListNilKind = "AzureNodePoolListNil"

AzureNodePoolNilKind is the name of the type used to nil lists of objects of type 'azure_node_pool'.

View Source
const AzureNodePoolOsDiskListKind = "AzureNodePoolOsDiskList"

AzureNodePoolOsDiskListKind is the name of the type used to represent list of objects of type 'azure_node_pool_os_disk'.

View Source
const AzureNodePoolOsDiskListLinkKind = "AzureNodePoolOsDiskListLink"

AzureNodePoolOsDiskListLinkKind is the name of the type used to represent links to list of objects of type 'azure_node_pool_os_disk'.

View Source
const AzureNodePoolOsDiskListNilKind = "AzureNodePoolOsDiskListNil"

AzureNodePoolOsDiskNilKind is the name of the type used to nil lists of objects of type 'azure_node_pool_os_disk'.

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 CIDRBlockAccessListKind = "CIDRBlockAccessList"

CIDRBlockAccessListKind is the name of the type used to represent list of objects of type 'CIDR_block_access'.

View Source
const CIDRBlockAccessListLinkKind = "CIDRBlockAccessListLink"

CIDRBlockAccessListLinkKind is the name of the type used to represent links to list of objects of type 'CIDR_block_access'.

View Source
const CIDRBlockAccessListNilKind = "CIDRBlockAccessListNil"

CIDRBlockAccessNilKind is the name of the type used to nil lists of objects of type 'CIDR_block_access'.

View Source
const CIDRBlockAllowAccessListKind = "CIDRBlockAllowAccessList"

CIDRBlockAllowAccessListKind is the name of the type used to represent list of objects of type 'CIDR_block_allow_access'.

View Source
const CIDRBlockAllowAccessListLinkKind = "CIDRBlockAllowAccessListLink"

CIDRBlockAllowAccessListLinkKind is the name of the type used to represent links to list of objects of type 'CIDR_block_allow_access'.

View Source
const CIDRBlockAllowAccessListNilKind = "CIDRBlockAllowAccessListNil"

CIDRBlockAllowAccessNilKind is the name of the type used to nil lists of objects of type 'CIDR_block_allow_access'.

View Source
const ClientComponentListKind = "ClientComponentList"

ClientComponentListKind is the name of the type used to represent list of objects of type 'client_component'.

View Source
const ClientComponentListLinkKind = "ClientComponentListLink"

ClientComponentListLinkKind is the name of the type used to represent links to list of objects of type 'client_component'.

View Source
const ClientComponentListNilKind = "ClientComponentListNil"

ClientComponentNilKind is the name of the type used to nil lists of objects of type 'client_component'.

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 ClusterAutoNodeListKind = "ClusterAutoNodeList"

ClusterAutoNodeListKind is the name of the type used to represent list of objects of type 'cluster_auto_node'.

View Source
const ClusterAutoNodeListLinkKind = "ClusterAutoNodeListLink"

ClusterAutoNodeListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_auto_node'.

View Source
const ClusterAutoNodeListNilKind = "ClusterAutoNodeListNil"

ClusterAutoNodeNilKind is the name of the type used to nil lists of objects of type 'cluster_auto_node'.

View Source
const ClusterAutoNodeStatusListKind = "ClusterAutoNodeStatusList"

ClusterAutoNodeStatusListKind is the name of the type used to represent list of objects of type 'cluster_auto_node_status'.

View Source
const ClusterAutoNodeStatusListLinkKind = "ClusterAutoNodeStatusListLink"

ClusterAutoNodeStatusListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_auto_node_status'.

View Source
const ClusterAutoNodeStatusListNilKind = "ClusterAutoNodeStatusListNil"

ClusterAutoNodeStatusNilKind is the name of the type used to nil lists of objects of type 'cluster_auto_node_status'.

View Source
const ClusterAutoscalerKind = "ClusterAutoscaler"

ClusterAutoscalerKind is the name of the type used to represent objects of type 'cluster_autoscaler'.

View Source
const ClusterAutoscalerLinkKind = "ClusterAutoscalerLink"

ClusterAutoscalerLinkKind is the name of the type used to represent links to objects of type 'cluster_autoscaler'.

View Source
const ClusterAutoscalerListKind = "ClusterAutoscalerList"

ClusterAutoscalerListKind is the name of the type used to represent list of objects of type 'cluster_autoscaler'.

View Source
const ClusterAutoscalerListLinkKind = "ClusterAutoscalerListLink"

ClusterAutoscalerListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_autoscaler'.

View Source
const ClusterAutoscalerListNilKind = "ClusterAutoscalerListNil"

ClusterAutoscalerNilKind is the name of the type used to nil lists of objects of type 'cluster_autoscaler'.

View Source
const ClusterAutoscalerNilKind = "ClusterAutoscalerNil"

ClusterAutoscalerNilKind is the name of the type used to nil references to objects of type 'cluster_autoscaler'.

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 ClusterImageRegistryListKind = "ClusterImageRegistryList"

ClusterImageRegistryListKind is the name of the type used to represent list of objects of type 'cluster_image_registry'.

View Source
const ClusterImageRegistryListLinkKind = "ClusterImageRegistryListLink"

ClusterImageRegistryListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_image_registry'.

View Source
const ClusterImageRegistryListNilKind = "ClusterImageRegistryListNil"

ClusterImageRegistryNilKind is the name of the type used to nil lists of objects of type 'cluster_image_registry'.

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 ControlPlaneOperatorIdentityRequirementListKind = "ControlPlaneOperatorIdentityRequirementList"

ControlPlaneOperatorIdentityRequirementListKind is the name of the type used to represent list of objects of type 'control_plane_operator_identity_requirement'.

View Source
const ControlPlaneOperatorIdentityRequirementListLinkKind = "ControlPlaneOperatorIdentityRequirementListLink"

ControlPlaneOperatorIdentityRequirementListLinkKind is the name of the type used to represent links to list of objects of type 'control_plane_operator_identity_requirement'.

View Source
const ControlPlaneOperatorIdentityRequirementListNilKind = "ControlPlaneOperatorIdentityRequirementListNil"

ControlPlaneOperatorIdentityRequirementNilKind is the name of the type used to nil lists of objects of type 'control_plane_operator_identity_requirement'.

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 DataPlaneOperatorIdentityRequirementListKind = "DataPlaneOperatorIdentityRequirementList"

DataPlaneOperatorIdentityRequirementListKind is the name of the type used to represent list of objects of type 'data_plane_operator_identity_requirement'.

View Source
const DataPlaneOperatorIdentityRequirementListLinkKind = "DataPlaneOperatorIdentityRequirementListLink"

DataPlaneOperatorIdentityRequirementListLinkKind is the name of the type used to represent links to list of objects of type 'data_plane_operator_identity_requirement'.

View Source
const DataPlaneOperatorIdentityRequirementListNilKind = "DataPlaneOperatorIdentityRequirementListNil"

DataPlaneOperatorIdentityRequirementNilKind is the name of the type used to nil lists of objects of type 'data_plane_operator_identity_requirement'.

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 ExternalAuthClaimListKind = "ExternalAuthClaimList"

ExternalAuthClaimListKind is the name of the type used to represent list of objects of type 'external_auth_claim'.

View Source
const ExternalAuthClaimListLinkKind = "ExternalAuthClaimListLink"

ExternalAuthClaimListLinkKind is the name of the type used to represent links to list of objects of type 'external_auth_claim'.

View Source
const ExternalAuthClaimListNilKind = "ExternalAuthClaimListNil"

ExternalAuthClaimNilKind is the name of the type used to nil lists of objects of type 'external_auth_claim'.

View Source
const ExternalAuthClientConfigListKind = "ExternalAuthClientConfigList"

ExternalAuthClientConfigListKind is the name of the type used to represent list of objects of type 'external_auth_client_config'.

View Source
const ExternalAuthClientConfigListLinkKind = "ExternalAuthClientConfigListLink"

ExternalAuthClientConfigListLinkKind is the name of the type used to represent links to list of objects of type 'external_auth_client_config'.

View Source
const ExternalAuthClientConfigListNilKind = "ExternalAuthClientConfigListNil"

ExternalAuthClientConfigNilKind is the name of the type used to nil lists of objects of type 'external_auth_client_config'.

View Source
const ExternalAuthConfigKind = "ExternalAuthConfig"

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

View Source
const ExternalAuthConfigLinkKind = "ExternalAuthConfigLink"

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

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 ExternalAuthConfigNilKind = "ExternalAuthConfigNil"

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

View Source
const ExternalAuthKind = "ExternalAuth"

ExternalAuthKind is the name of the type used to represent objects of type 'external_auth'.

View Source
const ExternalAuthLinkKind = "ExternalAuthLink"

ExternalAuthLinkKind is the name of the type used to represent links to objects of type 'external_auth'.

View Source
const ExternalAuthListKind = "ExternalAuthList"

ExternalAuthListKind is the name of the type used to represent list of objects of type 'external_auth'.

View Source
const ExternalAuthListLinkKind = "ExternalAuthListLink"

ExternalAuthListLinkKind is the name of the type used to represent links to list of objects of type 'external_auth'.

View Source
const ExternalAuthListNilKind = "ExternalAuthListNil"

ExternalAuthNilKind is the name of the type used to nil lists of objects of type 'external_auth'.

View Source
const ExternalAuthNilKind = "ExternalAuthNil"

ExternalAuthNilKind is the name of the type used to nil references to objects of type 'external_auth'.

View Source
const ExternalAuthStateListKind = "ExternalAuthStateList"

ExternalAuthStateListKind is the name of the type used to represent list of objects of type 'external_auth_state'.

View Source
const ExternalAuthStateListLinkKind = "ExternalAuthStateListLink"

ExternalAuthStateListLinkKind is the name of the type used to represent links to list of objects of type 'external_auth_state'.

View Source
const ExternalAuthStateListNilKind = "ExternalAuthStateListNil"

ExternalAuthStateNilKind is the name of the type used to nil lists of objects of type 'external_auth_state'.

View Source
const ExternalAuthStatusListKind = "ExternalAuthStatusList"

ExternalAuthStatusListKind is the name of the type used to represent list of objects of type 'external_auth_status'.

View Source
const ExternalAuthStatusListLinkKind = "ExternalAuthStatusListLink"

ExternalAuthStatusListLinkKind is the name of the type used to represent links to list of objects of type 'external_auth_status'.

View Source
const ExternalAuthStatusListNilKind = "ExternalAuthStatusListNil"

ExternalAuthStatusNilKind is the name of the type used to nil lists of objects of type 'external_auth_status'.

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 GCPImageOverrideKind = "GCPImageOverride"

GCPImageOverrideKind is the name of the type used to represent objects of type 'GCP_image_override'.

View Source
const GCPImageOverrideLinkKind = "GCPImageOverrideLink"

GCPImageOverrideLinkKind is the name of the type used to represent links to objects of type 'GCP_image_override'.

View Source
const GCPImageOverrideListKind = "GCPImageOverrideList"

GCPImageOverrideListKind is the name of the type used to represent list of objects of type 'GCP_image_override'.

View Source
const GCPImageOverrideListLinkKind = "GCPImageOverrideListLink"

GCPImageOverrideListLinkKind is the name of the type used to represent links to list of objects of type 'GCP_image_override'.

View Source
const GCPImageOverrideListNilKind = "GCPImageOverrideListNil"

GCPImageOverrideNilKind is the name of the type used to nil lists of objects of type 'GCP_image_override'.

View Source
const GCPImageOverrideNilKind = "GCPImageOverrideNil"

GCPImageOverrideNilKind is the name of the type used to nil references to objects of type 'GCP_image_override'.

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 GroupsClaimListKind = "GroupsClaimList"

GroupsClaimListKind is the name of the type used to represent list of objects of type 'groups_claim'.

View Source
const GroupsClaimListLinkKind = "GroupsClaimListLink"

GroupsClaimListLinkKind is the name of the type used to represent links to list of objects of type 'groups_claim'.

View Source
const GroupsClaimListNilKind = "GroupsClaimListNil"

GroupsClaimNilKind is the name of the type used to nil lists of objects of type 'groups_claim'.

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 ImageOverridesKind = "ImageOverrides"

ImageOverridesKind is the name of the type used to represent objects of type 'image_overrides'.

View Source
const ImageOverridesLinkKind = "ImageOverridesLink"

ImageOverridesLinkKind is the name of the type used to represent links to objects of type 'image_overrides'.

View Source
const ImageOverridesListKind = "ImageOverridesList"

ImageOverridesListKind is the name of the type used to represent list of objects of type 'image_overrides'.

View Source
const ImageOverridesListLinkKind = "ImageOverridesListLink"

ImageOverridesListLinkKind is the name of the type used to represent links to list of objects of type 'image_overrides'.

View Source
const ImageOverridesListNilKind = "ImageOverridesListNil"

ImageOverridesNilKind is the name of the type used to nil lists of objects of type 'image_overrides'.

View Source
const ImageOverridesNilKind = "ImageOverridesNil"

ImageOverridesNilKind is the name of the type used to nil references to objects of type 'image_overrides'.

View Source
const InflightCheckKind = "InflightCheck"

InflightCheckKind is the name of the type used to represent objects of type 'inflight_check'.

View Source
const InflightCheckLinkKind = "InflightCheckLink"

InflightCheckLinkKind is the name of the type used to represent links to objects of type 'inflight_check'.

View Source
const InflightCheckListKind = "InflightCheckList"

InflightCheckListKind is the name of the type used to represent list of objects of type 'inflight_check'.

View Source
const InflightCheckListLinkKind = "InflightCheckListLink"

InflightCheckListLinkKind is the name of the type used to represent links to list of objects of type 'inflight_check'.

View Source
const InflightCheckListNilKind = "InflightCheckListNil"

InflightCheckNilKind is the name of the type used to nil lists of objects of type 'inflight_check'.

View Source
const InflightCheckNilKind = "InflightCheckNil"

InflightCheckNilKind is the name of the type used to nil references to objects of type 'inflight_check'.

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 K8sServiceAccountOperatorIdentityRequirementListKind = "K8sServiceAccountOperatorIdentityRequirementList"

K8sServiceAccountOperatorIdentityRequirementListKind is the name of the type used to represent list of objects of type 'K8s_service_account_operator_identity_requirement'.

View Source
const K8sServiceAccountOperatorIdentityRequirementListLinkKind = "K8sServiceAccountOperatorIdentityRequirementListLink"

K8sServiceAccountOperatorIdentityRequirementListLinkKind is the name of the type used to represent links to list of objects of type 'K8s_service_account_operator_identity_requirement'.

View Source
const K8sServiceAccountOperatorIdentityRequirementListNilKind = "K8sServiceAccountOperatorIdentityRequirementListNil"

K8sServiceAccountOperatorIdentityRequirementNilKind is the name of the type used to nil lists of objects of type 'K8s_service_account_operator_identity_requirement'.

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 ManagedIdentitiesRequirementsKind = "ManagedIdentitiesRequirements"

ManagedIdentitiesRequirementsKind is the name of the type used to represent objects of type 'managed_identities_requirements'.

View Source
const ManagedIdentitiesRequirementsLinkKind = "ManagedIdentitiesRequirementsLink"

ManagedIdentitiesRequirementsLinkKind is the name of the type used to represent links to objects of type 'managed_identities_requirements'.

View Source
const ManagedIdentitiesRequirementsListKind = "ManagedIdentitiesRequirementsList"

ManagedIdentitiesRequirementsListKind is the name of the type used to represent list of objects of type 'managed_identities_requirements'.

View Source
const ManagedIdentitiesRequirementsListLinkKind = "ManagedIdentitiesRequirementsListLink"

ManagedIdentitiesRequirementsListLinkKind is the name of the type used to represent links to list of objects of type 'managed_identities_requirements'.

View Source
const ManagedIdentitiesRequirementsListNilKind = "ManagedIdentitiesRequirementsListNil"

ManagedIdentitiesRequirementsNilKind is the name of the type used to nil lists of objects of type 'managed_identities_requirements'.

View Source
const ManagedIdentitiesRequirementsNilKind = "ManagedIdentitiesRequirementsNil"

ManagedIdentitiesRequirementsNilKind is the name of the type used to nil references to objects of type 'managed_identities_requirements'.

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 NodePoolAutoscalingKind = "NodePoolAutoscaling"

NodePoolAutoscalingKind is the name of the type used to represent objects of type 'node_pool_autoscaling'.

View Source
const NodePoolAutoscalingLinkKind = "NodePoolAutoscalingLink"

NodePoolAutoscalingLinkKind is the name of the type used to represent links to objects of type 'node_pool_autoscaling'.

View Source
const NodePoolAutoscalingListKind = "NodePoolAutoscalingList"

NodePoolAutoscalingListKind is the name of the type used to represent list of objects of type 'node_pool_autoscaling'.

View Source
const NodePoolAutoscalingListLinkKind = "NodePoolAutoscalingListLink"

NodePoolAutoscalingListLinkKind is the name of the type used to represent links to list of objects of type 'node_pool_autoscaling'.

View Source
const NodePoolAutoscalingListNilKind = "NodePoolAutoscalingListNil"

NodePoolAutoscalingNilKind is the name of the type used to nil lists of objects of type 'node_pool_autoscaling'.

View Source
const NodePoolAutoscalingNilKind = "NodePoolAutoscalingNil"

NodePoolAutoscalingNilKind is the name of the type used to nil references to objects of type 'node_pool_autoscaling'.

View Source
const NodePoolKind = "NodePool"

NodePoolKind is the name of the type used to represent objects of type 'node_pool'.

View Source
const NodePoolLinkKind = "NodePoolLink"

NodePoolLinkKind is the name of the type used to represent links to objects of type 'node_pool'.

View Source
const NodePoolListKind = "NodePoolList"

NodePoolListKind is the name of the type used to represent list of objects of type 'node_pool'.

View Source
const NodePoolListLinkKind = "NodePoolListLink"

NodePoolListLinkKind is the name of the type used to represent links to list of objects of type 'node_pool'.

View Source
const NodePoolListNilKind = "NodePoolListNil"

NodePoolNilKind is the name of the type used to nil lists of objects of type 'node_pool'.

View Source
const NodePoolManagementUpgradeKind = "NodePoolManagementUpgrade"

NodePoolManagementUpgradeKind is the name of the type used to represent objects of type 'node_pool_management_upgrade'.

View Source
const NodePoolManagementUpgradeLinkKind = "NodePoolManagementUpgradeLink"

NodePoolManagementUpgradeLinkKind is the name of the type used to represent links to objects of type 'node_pool_management_upgrade'.

View Source
const NodePoolManagementUpgradeListKind = "NodePoolManagementUpgradeList"

NodePoolManagementUpgradeListKind is the name of the type used to represent list of objects of type 'node_pool_management_upgrade'.

View Source
const NodePoolManagementUpgradeListLinkKind = "NodePoolManagementUpgradeListLink"

NodePoolManagementUpgradeListLinkKind is the name of the type used to represent links to list of objects of type 'node_pool_management_upgrade'.

View Source
const NodePoolManagementUpgradeListNilKind = "NodePoolManagementUpgradeListNil"

NodePoolManagementUpgradeNilKind is the name of the type used to nil lists of objects of type 'node_pool_management_upgrade'.

View Source
const NodePoolManagementUpgradeNilKind = "NodePoolManagementUpgradeNil"

NodePoolManagementUpgradeNilKind is the name of the type used to nil references to objects of type 'node_pool_management_upgrade'.

View Source
const NodePoolNilKind = "NodePoolNil"

NodePoolNilKind is the name of the type used to nil references to objects of type 'node_pool'.

View Source
const NodePoolStateKind = "NodePoolState"

NodePoolStateKind is the name of the type used to represent objects of type 'node_pool_state'.

View Source
const NodePoolStateLinkKind = "NodePoolStateLink"

NodePoolStateLinkKind is the name of the type used to represent links to objects of type 'node_pool_state'.

View Source
const NodePoolStateListKind = "NodePoolStateList"

NodePoolStateListKind is the name of the type used to represent list of objects of type 'node_pool_state'.

View Source
const NodePoolStateListLinkKind = "NodePoolStateListLink"

NodePoolStateListLinkKind is the name of the type used to represent links to list of objects of type 'node_pool_state'.

View Source
const NodePoolStateListNilKind = "NodePoolStateListNil"

NodePoolStateNilKind is the name of the type used to nil lists of objects of type 'node_pool_state'.

View Source
const NodePoolStateNilKind = "NodePoolStateNil"

NodePoolStateNilKind is the name of the type used to nil references to objects of type 'node_pool_state'.

View Source
const NodePoolStatusKind = "NodePoolStatus"

NodePoolStatusKind is the name of the type used to represent objects of type 'node_pool_status'.

View Source
const NodePoolStatusLinkKind = "NodePoolStatusLink"

NodePoolStatusLinkKind is the name of the type used to represent links to objects of type 'node_pool_status'.

View Source
const NodePoolStatusListKind = "NodePoolStatusList"

NodePoolStatusListKind is the name of the type used to represent list of objects of type 'node_pool_status'.

View Source
const NodePoolStatusListLinkKind = "NodePoolStatusListLink"

NodePoolStatusListLinkKind is the name of the type used to represent links to list of objects of type 'node_pool_status'.

View Source
const NodePoolStatusListNilKind = "NodePoolStatusListNil"

NodePoolStatusNilKind is the name of the type used to nil lists of objects of type 'node_pool_status'.

View Source
const NodePoolStatusNilKind = "NodePoolStatusNil"

NodePoolStatusNilKind is the name of the type used to nil references to objects of type 'node_pool_status'.

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 ReleaseImageDetailsListKind = "ReleaseImageDetailsList"

ReleaseImageDetailsListKind is the name of the type used to represent list of objects of type 'release_image_details'.

View Source
const ReleaseImageDetailsListLinkKind = "ReleaseImageDetailsListLink"

ReleaseImageDetailsListLinkKind is the name of the type used to represent links to list of objects of type 'release_image_details'.

View Source
const ReleaseImageDetailsListNilKind = "ReleaseImageDetailsListNil"

ReleaseImageDetailsNilKind is the name of the type used to nil lists of objects of type 'release_image_details'.

View Source
const ReleaseImagesListKind = "ReleaseImagesList"

ReleaseImagesListKind is the name of the type used to represent list of objects of type 'release_images'.

View Source
const ReleaseImagesListLinkKind = "ReleaseImagesListLink"

ReleaseImagesListLinkKind is the name of the type used to represent links to list of objects of type 'release_images'.

View Source
const ReleaseImagesListNilKind = "ReleaseImagesListNil"

ReleaseImagesNilKind is the name of the type used to nil lists of objects of type 'release_images'.

View Source
const ResourceRangeListKind = "ResourceRangeList"

ResourceRangeListKind is the name of the type used to represent list of objects of type 'resource_range'.

View Source
const ResourceRangeListLinkKind = "ResourceRangeListLink"

ResourceRangeListLinkKind is the name of the type used to represent links to list of objects of type 'resource_range'.

View Source
const ResourceRangeListNilKind = "ResourceRangeListNil"

ResourceRangeNilKind is the name of the type used to nil lists of objects of type 'resource_range'.

View Source
const RoleDefinitionOperatorIdentityRequirementListKind = "RoleDefinitionOperatorIdentityRequirementList"

RoleDefinitionOperatorIdentityRequirementListKind is the name of the type used to represent list of objects of type 'role_definition_operator_identity_requirement'.

View Source
const RoleDefinitionOperatorIdentityRequirementListLinkKind = "RoleDefinitionOperatorIdentityRequirementListLink"

RoleDefinitionOperatorIdentityRequirementListLinkKind is the name of the type used to represent links to list of objects of type 'role_definition_operator_identity_requirement'.

View Source
const RoleDefinitionOperatorIdentityRequirementListNilKind = "RoleDefinitionOperatorIdentityRequirementListNil"

RoleDefinitionOperatorIdentityRequirementNilKind is the name of the type used to nil lists of objects of type 'role_definition_operator_identity_requirement'.

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 TaintListKind = "TaintList"

TaintListKind is the name of the type used to represent list of objects of type 'taint'.

View Source
const TaintListLinkKind = "TaintListLink"

TaintListLinkKind is the name of the type used to represent links to list of objects of type 'taint'.

View Source
const TaintListNilKind = "TaintListNil"

TaintNilKind is the name of the type used to nil lists of objects of type 'taint'.

View Source
const TokenClaimMappingsListKind = "TokenClaimMappingsList"

TokenClaimMappingsListKind is the name of the type used to represent list of objects of type 'token_claim_mappings'.

View Source
const TokenClaimMappingsListLinkKind = "TokenClaimMappingsListLink"

TokenClaimMappingsListLinkKind is the name of the type used to represent links to list of objects of type 'token_claim_mappings'.

View Source
const TokenClaimMappingsListNilKind = "TokenClaimMappingsListNil"

TokenClaimMappingsNilKind is the name of the type used to nil lists of objects of type 'token_claim_mappings'.

View Source
const TokenClaimValidationRuleListKind = "TokenClaimValidationRuleList"

TokenClaimValidationRuleListKind is the name of the type used to represent list of objects of type 'token_claim_validation_rule'.

View Source
const TokenClaimValidationRuleListLinkKind = "TokenClaimValidationRuleListLink"

TokenClaimValidationRuleListLinkKind is the name of the type used to represent links to list of objects of type 'token_claim_validation_rule'.

View Source
const TokenClaimValidationRuleListNilKind = "TokenClaimValidationRuleListNil"

TokenClaimValidationRuleNilKind is the name of the type used to nil lists of objects of type 'token_claim_validation_rule'.

View Source
const TokenIssuerListKind = "TokenIssuerList"

TokenIssuerListKind is the name of the type used to represent list of objects of type 'token_issuer'.

View Source
const TokenIssuerListLinkKind = "TokenIssuerListLink"

TokenIssuerListLinkKind is the name of the type used to represent links to list of objects of type 'token_issuer'.

View Source
const TokenIssuerListNilKind = "TokenIssuerListNil"

TokenIssuerNilKind is the name of the type used to nil lists of objects of type 'token_issuer'.

View Source
const UsernameClaimListKind = "UsernameClaimList"

UsernameClaimListKind is the name of the type used to represent list of objects of type 'username_claim'.

View Source
const UsernameClaimListLinkKind = "UsernameClaimListLink"

UsernameClaimListLinkKind is the name of the type used to represent links to list of objects of type 'username_claim'.

View Source
const UsernameClaimListNilKind = "UsernameClaimListNil"

UsernameClaimNilKind is the name of the type used to nil lists of objects of type 'username_claim'.

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'.

View Source
const VersionKind = "Version"

VersionKind is the name of the type used to represent objects of type 'version'.

View Source
const VersionLinkKind = "VersionLink"

VersionLinkKind is the name of the type used to represent links to objects of type 'version'.

View Source
const VersionListKind = "VersionList"

VersionListKind is the name of the type used to represent list of objects of type 'version'.

View Source
const VersionListLinkKind = "VersionListLink"

VersionListLinkKind is the name of the type used to represent links to list of objects of type 'version'.

View Source
const VersionListNilKind = "VersionListNil"

VersionNilKind is the name of the type used to nil lists of objects of type 'version'.

View Source
const VersionNilKind = "VersionNil"

VersionNilKind is the name of the type used to nil references to objects of type 'version'.

Variables ¶

This section is empty.

Functions ¶

func MarshalAMIOverride ¶

func MarshalAMIOverride(object *AMIOverride, writer io.Writer) error

MarshalAMIOverride writes a value of the 'AMI_override' type to the given writer.

func MarshalAMIOverrideList ¶

func MarshalAMIOverrideList(list []*AMIOverride, writer io.Writer) error

MarshalAMIOverrideList writes a list of values of the 'AMI_override' type to the given writer.

func MarshalAWS ¶

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

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

func MarshalAWSBackupConfig ¶

func MarshalAWSBackupConfig(object *AWSBackupConfig, writer io.Writer) error

MarshalAWSBackupConfig writes a value of the 'AWS_backup_config' type to the given writer.

func MarshalAWSBackupConfigList ¶

func MarshalAWSBackupConfigList(list []*AWSBackupConfig, writer io.Writer) error

MarshalAWSBackupConfigList writes a list of values of the 'AWS_backup_config' type to the given writer.

func MarshalAWSCapacityReservation ¶ added in v0.0.423

func MarshalAWSCapacityReservation(object *AWSCapacityReservation, writer io.Writer) error

MarshalAWSCapacityReservation writes a value of the 'AWS_capacity_reservation' type to the given writer.

func MarshalAWSCapacityReservationList ¶ added in v0.0.423

func MarshalAWSCapacityReservationList(list []*AWSCapacityReservation, writer io.Writer) error

MarshalAWSCapacityReservationList writes a list of values of the 'AWS_capacity_reservation' 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 MarshalAWSNodePool ¶

func MarshalAWSNodePool(object *AWSNodePool, writer io.Writer) error

MarshalAWSNodePool writes a value of the 'AWS_node_pool' type to the given writer.

func MarshalAWSNodePoolList ¶

func MarshalAWSNodePoolList(list []*AWSNodePool, writer io.Writer) error

MarshalAWSNodePoolList writes a list of values of the 'AWS_node_pool' 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 MarshalAutoscalerResourceLimits ¶ added in v0.0.430

func MarshalAutoscalerResourceLimits(object *AutoscalerResourceLimits, writer io.Writer) error

MarshalAutoscalerResourceLimits writes a value of the 'autoscaler_resource_limits' type to the given writer.

func MarshalAutoscalerResourceLimitsGPULimit ¶ added in v0.0.430

func MarshalAutoscalerResourceLimitsGPULimit(object *AutoscalerResourceLimitsGPULimit, writer io.Writer) error

MarshalAutoscalerResourceLimitsGPULimit writes a value of the 'autoscaler_resource_limits_GPU_limit' type to the given writer.

func MarshalAutoscalerResourceLimitsGPULimitList ¶ added in v0.0.430

func MarshalAutoscalerResourceLimitsGPULimitList(list []*AutoscalerResourceLimitsGPULimit, writer io.Writer) error

MarshalAutoscalerResourceLimitsGPULimitList writes a list of values of the 'autoscaler_resource_limits_GPU_limit' type to the given writer.

func MarshalAutoscalerResourceLimitsList ¶ added in v0.0.430

func MarshalAutoscalerResourceLimitsList(list []*AutoscalerResourceLimits, writer io.Writer) error

MarshalAutoscalerResourceLimitsList writes a list of values of the 'autoscaler_resource_limits' type to the given writer.

func MarshalAutoscalerScaleDownConfig ¶ added in v0.0.430

func MarshalAutoscalerScaleDownConfig(object *AutoscalerScaleDownConfig, writer io.Writer) error

MarshalAutoscalerScaleDownConfig writes a value of the 'autoscaler_scale_down_config' type to the given writer.

func MarshalAutoscalerScaleDownConfigList ¶ added in v0.0.430

func MarshalAutoscalerScaleDownConfigList(list []*AutoscalerScaleDownConfig, writer io.Writer) error

MarshalAutoscalerScaleDownConfigList writes a list of values of the 'autoscaler_scale_down_config' type to the given writer.

func MarshalAwsAutoNode ¶ added in v0.0.429

func MarshalAwsAutoNode(object *AwsAutoNode, writer io.Writer) error

MarshalAwsAutoNode writes a value of the 'aws_auto_node' type to the given writer.

func MarshalAwsAutoNodeList ¶ added in v0.0.429

func MarshalAwsAutoNodeList(list []*AwsAutoNode, writer io.Writer) error

MarshalAwsAutoNodeList writes a list of values of the 'aws_auto_node' 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 MarshalAzureEtcdDataEncryption ¶

func MarshalAzureEtcdDataEncryption(object *AzureEtcdDataEncryption, writer io.Writer) error

MarshalAzureEtcdDataEncryption writes a value of the 'azure_etcd_data_encryption' type to the given writer.

func MarshalAzureEtcdDataEncryptionCustomerManaged ¶

func MarshalAzureEtcdDataEncryptionCustomerManaged(object *AzureEtcdDataEncryptionCustomerManaged, writer io.Writer) error

MarshalAzureEtcdDataEncryptionCustomerManaged writes a value of the 'azure_etcd_data_encryption_customer_managed' type to the given writer.

func MarshalAzureEtcdDataEncryptionCustomerManagedList ¶

func MarshalAzureEtcdDataEncryptionCustomerManagedList(list []*AzureEtcdDataEncryptionCustomerManaged, writer io.Writer) error

MarshalAzureEtcdDataEncryptionCustomerManagedList writes a list of values of the 'azure_etcd_data_encryption_customer_managed' type to the given writer.

func MarshalAzureEtcdDataEncryptionList ¶

func MarshalAzureEtcdDataEncryptionList(list []*AzureEtcdDataEncryption, writer io.Writer) error

MarshalAzureEtcdDataEncryptionList writes a list of values of the 'azure_etcd_data_encryption' type to the given writer.

func MarshalAzureEtcdEncryption ¶

func MarshalAzureEtcdEncryption(object *AzureEtcdEncryption, writer io.Writer) error

MarshalAzureEtcdEncryption writes a value of the 'azure_etcd_encryption' type to the given writer.

func MarshalAzureEtcdEncryptionList ¶

func MarshalAzureEtcdEncryptionList(list []*AzureEtcdEncryption, writer io.Writer) error

MarshalAzureEtcdEncryptionList writes a list of values of the 'azure_etcd_encryption' type to the given writer.

func MarshalAzureKmsEncryption ¶

func MarshalAzureKmsEncryption(object *AzureKmsEncryption, writer io.Writer) error

MarshalAzureKmsEncryption writes a value of the 'azure_kms_encryption' type to the given writer.

func MarshalAzureKmsEncryptionList ¶

func MarshalAzureKmsEncryptionList(list []*AzureKmsEncryption, writer io.Writer) error

MarshalAzureKmsEncryptionList writes a list of values of the 'azure_kms_encryption' type to the given writer.

func MarshalAzureKmsKey ¶

func MarshalAzureKmsKey(object *AzureKmsKey, writer io.Writer) error

MarshalAzureKmsKey writes a value of the 'azure_kms_key' type to the given writer.

func MarshalAzureKmsKeyList ¶

func MarshalAzureKmsKeyList(list []*AzureKmsKey, writer io.Writer) error

MarshalAzureKmsKeyList writes a list of values of the 'azure_kms_key' 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 MarshalAzureNodePool ¶

func MarshalAzureNodePool(object *AzureNodePool, writer io.Writer) error

MarshalAzureNodePool writes a value of the 'azure_node_pool' type to the given writer.

func MarshalAzureNodePoolEncryptionAtHost ¶

func MarshalAzureNodePoolEncryptionAtHost(object *AzureNodePoolEncryptionAtHost, writer io.Writer) error

MarshalAzureNodePoolEncryptionAtHost writes a value of the 'azure_node_pool_encryption_at_host' type to the given writer.

func MarshalAzureNodePoolEncryptionAtHostList ¶

func MarshalAzureNodePoolEncryptionAtHostList(list []*AzureNodePoolEncryptionAtHost, writer io.Writer) error

MarshalAzureNodePoolEncryptionAtHostList writes a list of values of the 'azure_node_pool_encryption_at_host' type to the given writer.

func MarshalAzureNodePoolList ¶

func MarshalAzureNodePoolList(list []*AzureNodePool, writer io.Writer) error

MarshalAzureNodePoolList writes a list of values of the 'azure_node_pool' type to the given writer.

func MarshalAzureNodePoolOsDisk ¶ added in v0.0.425

func MarshalAzureNodePoolOsDisk(object *AzureNodePoolOsDisk, writer io.Writer) error

MarshalAzureNodePoolOsDisk writes a value of the 'azure_node_pool_os_disk' type to the given writer.

func MarshalAzureNodePoolOsDiskList ¶ added in v0.0.425

func MarshalAzureNodePoolOsDiskList(list []*AzureNodePoolOsDisk, writer io.Writer) error

MarshalAzureNodePoolOsDiskList writes a list of values of the 'azure_node_pool_os_disk' 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 MarshalCIDRBlockAccess ¶ added in v0.0.429

func MarshalCIDRBlockAccess(object *CIDRBlockAccess, writer io.Writer) error

MarshalCIDRBlockAccess writes a value of the 'CIDR_block_access' type to the given writer.

func MarshalCIDRBlockAccessList ¶ added in v0.0.429

func MarshalCIDRBlockAccessList(list []*CIDRBlockAccess, writer io.Writer) error

MarshalCIDRBlockAccessList writes a list of values of the 'CIDR_block_access' type to the given writer.

func MarshalCIDRBlockAllowAccess ¶ added in v0.0.429

func MarshalCIDRBlockAllowAccess(object *CIDRBlockAllowAccess, writer io.Writer) error

MarshalCIDRBlockAllowAccess writes a value of the 'CIDR_block_allow_access' type to the given writer.

func MarshalCIDRBlockAllowAccessList ¶ added in v0.0.429

func MarshalCIDRBlockAllowAccessList(list []*CIDRBlockAllowAccess, writer io.Writer) error

MarshalCIDRBlockAllowAccessList writes a list of values of the 'CIDR_block_allow_access' type to the given writer.

func MarshalClientComponent ¶

func MarshalClientComponent(object *ClientComponent, writer io.Writer) error

MarshalClientComponent writes a value of the 'client_component' type to the given writer.

func MarshalClientComponentList ¶

func MarshalClientComponentList(list []*ClientComponent, writer io.Writer) error

MarshalClientComponentList writes a list of values of the 'client_component' 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 MarshalClusterAutoNode ¶ added in v0.0.429

func MarshalClusterAutoNode(object *ClusterAutoNode, writer io.Writer) error

MarshalClusterAutoNode writes a value of the 'cluster_auto_node' type to the given writer.

func MarshalClusterAutoNodeList ¶ added in v0.0.429

func MarshalClusterAutoNodeList(list []*ClusterAutoNode, writer io.Writer) error

MarshalClusterAutoNodeList writes a list of values of the 'cluster_auto_node' type to the given writer.

func MarshalClusterAutoNodeStatus ¶ added in v0.0.429

func MarshalClusterAutoNodeStatus(object *ClusterAutoNodeStatus, writer io.Writer) error

MarshalClusterAutoNodeStatus writes a value of the 'cluster_auto_node_status' type to the given writer.

func MarshalClusterAutoNodeStatusList ¶ added in v0.0.429

func MarshalClusterAutoNodeStatusList(list []*ClusterAutoNodeStatus, writer io.Writer) error

MarshalClusterAutoNodeStatusList writes a list of values of the 'cluster_auto_node_status' type to the given writer.

func MarshalClusterAutoscaler ¶ added in v0.0.430

func MarshalClusterAutoscaler(object *ClusterAutoscaler, writer io.Writer) error

MarshalClusterAutoscaler writes a value of the 'cluster_autoscaler' type to the given writer.

func MarshalClusterAutoscalerList ¶ added in v0.0.430

func MarshalClusterAutoscalerList(list []*ClusterAutoscaler, writer io.Writer) error

MarshalClusterAutoscalerList writes a list of values of the 'cluster_autoscaler' 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 MarshalClusterImageRegistry ¶

func MarshalClusterImageRegistry(object *ClusterImageRegistry, writer io.Writer) error

MarshalClusterImageRegistry writes a value of the 'cluster_image_registry' type to the given writer.

func MarshalClusterImageRegistryList ¶

func MarshalClusterImageRegistryList(list []*ClusterImageRegistry, writer io.Writer) error

MarshalClusterImageRegistryList writes a list of values of the 'cluster_image_registry' 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 MarshalControlPlaneOperatorIdentityRequirement ¶

func MarshalControlPlaneOperatorIdentityRequirement(object *ControlPlaneOperatorIdentityRequirement, writer io.Writer) error

MarshalControlPlaneOperatorIdentityRequirement writes a value of the 'control_plane_operator_identity_requirement' type to the given writer.

func MarshalControlPlaneOperatorIdentityRequirementList ¶

func MarshalControlPlaneOperatorIdentityRequirementList(list []*ControlPlaneOperatorIdentityRequirement, writer io.Writer) error

MarshalControlPlaneOperatorIdentityRequirementList writes a list of values of the 'control_plane_operator_identity_requirement' 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 MarshalDataPlaneOperatorIdentityRequirement ¶

func MarshalDataPlaneOperatorIdentityRequirement(object *DataPlaneOperatorIdentityRequirement, writer io.Writer) error

MarshalDataPlaneOperatorIdentityRequirement writes a value of the 'data_plane_operator_identity_requirement' type to the given writer.

func MarshalDataPlaneOperatorIdentityRequirementList ¶

func MarshalDataPlaneOperatorIdentityRequirementList(list []*DataPlaneOperatorIdentityRequirement, writer io.Writer) error

MarshalDataPlaneOperatorIdentityRequirementList writes a list of values of the 'data_plane_operator_identity_requirement' 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 MarshalExternalAuth ¶

func MarshalExternalAuth(object *ExternalAuth, writer io.Writer) error

MarshalExternalAuth writes a value of the 'external_auth' type to the given writer.

func MarshalExternalAuthClaim ¶

func MarshalExternalAuthClaim(object *ExternalAuthClaim, writer io.Writer) error

MarshalExternalAuthClaim writes a value of the 'external_auth_claim' type to the given writer.

func MarshalExternalAuthClaimList ¶

func MarshalExternalAuthClaimList(list []*ExternalAuthClaim, writer io.Writer) error

MarshalExternalAuthClaimList writes a list of values of the 'external_auth_claim' type to the given writer.

func MarshalExternalAuthClientConfig ¶

func MarshalExternalAuthClientConfig(object *ExternalAuthClientConfig, writer io.Writer) error

MarshalExternalAuthClientConfig writes a value of the 'external_auth_client_config' type to the given writer.

func MarshalExternalAuthClientConfigList ¶

func MarshalExternalAuthClientConfigList(list []*ExternalAuthClientConfig, writer io.Writer) error

MarshalExternalAuthClientConfigList writes a list of values of the 'external_auth_client_config' type to the given writer.

func MarshalExternalAuthClientTypeList ¶

func MarshalExternalAuthClientTypeList(list []ExternalAuthClientType, writer io.Writer) error

MarshalExternalAuthClientTypeList writes a list of values of the 'external_auth_client_type' 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 MarshalExternalAuthConfigStateList ¶

func MarshalExternalAuthConfigStateList(list []ExternalAuthConfigState, writer io.Writer) error

MarshalExternalAuthConfigStateList writes a list of values of the 'external_auth_config_state' type to the given writer.

func MarshalExternalAuthList ¶

func MarshalExternalAuthList(list []*ExternalAuth, writer io.Writer) error

MarshalExternalAuthList writes a list of values of the 'external_auth' type to the given writer.

func MarshalExternalAuthState ¶

func MarshalExternalAuthState(object *ExternalAuthState, writer io.Writer) error

MarshalExternalAuthState writes a value of the 'external_auth_state' type to the given writer.

func MarshalExternalAuthStateList ¶

func MarshalExternalAuthStateList(list []*ExternalAuthState, writer io.Writer) error

MarshalExternalAuthStateList writes a list of values of the 'external_auth_state' type to the given writer.

func MarshalExternalAuthStatus ¶

func MarshalExternalAuthStatus(object *ExternalAuthStatus, writer io.Writer) error

MarshalExternalAuthStatus writes a value of the 'external_auth_status' type to the given writer.

func MarshalExternalAuthStatusList ¶

func MarshalExternalAuthStatusList(list []*ExternalAuthStatus, writer io.Writer) error

MarshalExternalAuthStatusList writes a list of values of the 'external_auth_status' 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 MarshalGCPImageOverride ¶

func MarshalGCPImageOverride(object *GCPImageOverride, writer io.Writer) error

MarshalGCPImageOverride writes a value of the 'GCP_image_override' type to the given writer.

func MarshalGCPImageOverrideList ¶

func MarshalGCPImageOverrideList(list []*GCPImageOverride, writer io.Writer) error

MarshalGCPImageOverrideList writes a list of values of the 'GCP_image_override' 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 MarshalGroupsClaim ¶

func MarshalGroupsClaim(object *GroupsClaim, writer io.Writer) error

MarshalGroupsClaim writes a value of the 'groups_claim' type to the given writer.

func MarshalGroupsClaimList ¶

func MarshalGroupsClaimList(list []*GroupsClaim, writer io.Writer) error

MarshalGroupsClaimList writes a list of values of the 'groups_claim' 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 MarshalImageOverrides ¶

func MarshalImageOverrides(object *ImageOverrides, writer io.Writer) error

MarshalImageOverrides writes a value of the 'image_overrides' type to the given writer.

func MarshalImageOverridesList ¶

func MarshalImageOverridesList(list []*ImageOverrides, writer io.Writer) error

MarshalImageOverridesList writes a list of values of the 'image_overrides' type to the given writer.

func MarshalInflightCheck ¶

func MarshalInflightCheck(object *InflightCheck, writer io.Writer) error

MarshalInflightCheck writes a value of the 'inflight_check' type to the given writer.

func MarshalInflightCheckList ¶

func MarshalInflightCheckList(list []*InflightCheck, writer io.Writer) error

MarshalInflightCheckList writes a list of values of the 'inflight_check' type to the given writer.

func MarshalInflightCheckStateList ¶

func MarshalInflightCheckStateList(list []InflightCheckState, writer io.Writer) error

MarshalInflightCheckStateList writes a list of values of the 'inflight_check_state' 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 MarshalK8sServiceAccountOperatorIdentityRequirement ¶

func MarshalK8sServiceAccountOperatorIdentityRequirement(object *K8sServiceAccountOperatorIdentityRequirement, writer io.Writer) error

MarshalK8sServiceAccountOperatorIdentityRequirement writes a value of the 'K8s_service_account_operator_identity_requirement' type to the given writer.

func MarshalK8sServiceAccountOperatorIdentityRequirementList ¶

func MarshalK8sServiceAccountOperatorIdentityRequirementList(list []*K8sServiceAccountOperatorIdentityRequirement, writer io.Writer) error

MarshalK8sServiceAccountOperatorIdentityRequirementList writes a list of values of the 'K8s_service_account_operator_identity_requirement' 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 MarshalManagedIdentitiesRequirements ¶

func MarshalManagedIdentitiesRequirements(object *ManagedIdentitiesRequirements, writer io.Writer) error

MarshalManagedIdentitiesRequirements writes a value of the 'managed_identities_requirements' type to the given writer.

func MarshalManagedIdentitiesRequirementsList ¶

func MarshalManagedIdentitiesRequirementsList(list []*ManagedIdentitiesRequirements, writer io.Writer) error

MarshalManagedIdentitiesRequirementsList writes a list of values of the 'managed_identities_requirements' 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 MarshalMarketTypeList ¶ added in v0.0.423

func MarshalMarketTypeList(list []MarketType, writer io.Writer) error

MarshalMarketTypeList writes a list of values of the 'market_type' 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 MarshalNodePool ¶

func MarshalNodePool(object *NodePool, writer io.Writer) error

MarshalNodePool writes a value of the 'node_pool' type to the given writer.

func MarshalNodePoolAutoscaling ¶

func MarshalNodePoolAutoscaling(object *NodePoolAutoscaling, writer io.Writer) error

MarshalNodePoolAutoscaling writes a value of the 'node_pool_autoscaling' type to the given writer.

func MarshalNodePoolAutoscalingList ¶

func MarshalNodePoolAutoscalingList(list []*NodePoolAutoscaling, writer io.Writer) error

MarshalNodePoolAutoscalingList writes a list of values of the 'node_pool_autoscaling' type to the given writer.

func MarshalNodePoolList ¶

func MarshalNodePoolList(list []*NodePool, writer io.Writer) error

MarshalNodePoolList writes a list of values of the 'node_pool' type to the given writer.

func MarshalNodePoolManagementUpgrade ¶

func MarshalNodePoolManagementUpgrade(object *NodePoolManagementUpgrade, writer io.Writer) error

MarshalNodePoolManagementUpgrade writes a value of the 'node_pool_management_upgrade' type to the given writer.

func MarshalNodePoolManagementUpgradeList ¶

func MarshalNodePoolManagementUpgradeList(list []*NodePoolManagementUpgrade, writer io.Writer) error

MarshalNodePoolManagementUpgradeList writes a list of values of the 'node_pool_management_upgrade' type to the given writer.

func MarshalNodePoolState ¶

func MarshalNodePoolState(object *NodePoolState, writer io.Writer) error

MarshalNodePoolState writes a value of the 'node_pool_state' type to the given writer.

func MarshalNodePoolStateList ¶

func MarshalNodePoolStateList(list []*NodePoolState, writer io.Writer) error

MarshalNodePoolStateList writes a list of values of the 'node_pool_state' type to the given writer.

func MarshalNodePoolStatus ¶

func MarshalNodePoolStatus(object *NodePoolStatus, writer io.Writer) error

MarshalNodePoolStatus writes a value of the 'node_pool_status' type to the given writer.

func MarshalNodePoolStatusList ¶

func MarshalNodePoolStatusList(list []*NodePoolStatus, writer io.Writer) error

MarshalNodePoolStatusList writes a list of values of the 'node_pool_status' 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 MarshalReleaseImageDetails ¶

func MarshalReleaseImageDetails(object *ReleaseImageDetails, writer io.Writer) error

MarshalReleaseImageDetails writes a value of the 'release_image_details' type to the given writer.

func MarshalReleaseImageDetailsList ¶

func MarshalReleaseImageDetailsList(list []*ReleaseImageDetails, writer io.Writer) error

MarshalReleaseImageDetailsList writes a list of values of the 'release_image_details' type to the given writer.

func MarshalReleaseImages ¶

func MarshalReleaseImages(object *ReleaseImages, writer io.Writer) error

MarshalReleaseImages writes a value of the 'release_images' type to the given writer.

func MarshalReleaseImagesList ¶

func MarshalReleaseImagesList(list []*ReleaseImages, writer io.Writer) error

MarshalReleaseImagesList writes a list of values of the 'release_images' type to the given writer.

func MarshalResourceRange ¶ added in v0.0.430

func MarshalResourceRange(object *ResourceRange, writer io.Writer) error

MarshalResourceRange writes a value of the 'resource_range' type to the given writer.

func MarshalResourceRangeList ¶ added in v0.0.430

func MarshalResourceRangeList(list []*ResourceRange, writer io.Writer) error

MarshalResourceRangeList writes a list of values of the 'resource_range' type to the given writer.

func MarshalRoleDefinitionOperatorIdentityRequirement ¶

func MarshalRoleDefinitionOperatorIdentityRequirement(object *RoleDefinitionOperatorIdentityRequirement, writer io.Writer) error

MarshalRoleDefinitionOperatorIdentityRequirement writes a value of the 'role_definition_operator_identity_requirement' type to the given writer.

func MarshalRoleDefinitionOperatorIdentityRequirementList ¶

func MarshalRoleDefinitionOperatorIdentityRequirementList(list []*RoleDefinitionOperatorIdentityRequirement, writer io.Writer) error

MarshalRoleDefinitionOperatorIdentityRequirementList writes a list of values of the 'role_definition_operator_identity_requirement' 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 MarshalTaint ¶

func MarshalTaint(object *Taint, writer io.Writer) error

MarshalTaint writes a value of the 'taint' type to the given writer.

func MarshalTaintList ¶

func MarshalTaintList(list []*Taint, writer io.Writer) error

MarshalTaintList writes a list of values of the 'taint' type to the given writer.

func MarshalTokenClaimMappings ¶

func MarshalTokenClaimMappings(object *TokenClaimMappings, writer io.Writer) error

MarshalTokenClaimMappings writes a value of the 'token_claim_mappings' type to the given writer.

func MarshalTokenClaimMappingsList ¶

func MarshalTokenClaimMappingsList(list []*TokenClaimMappings, writer io.Writer) error

MarshalTokenClaimMappingsList writes a list of values of the 'token_claim_mappings' type to the given writer.

func MarshalTokenClaimValidationRule ¶

func MarshalTokenClaimValidationRule(object *TokenClaimValidationRule, writer io.Writer) error

MarshalTokenClaimValidationRule writes a value of the 'token_claim_validation_rule' type to the given writer.

func MarshalTokenClaimValidationRuleList ¶

func MarshalTokenClaimValidationRuleList(list []*TokenClaimValidationRule, writer io.Writer) error

MarshalTokenClaimValidationRuleList writes a list of values of the 'token_claim_validation_rule' type to the given writer.

func MarshalTokenIssuer ¶

func MarshalTokenIssuer(object *TokenIssuer, writer io.Writer) error

MarshalTokenIssuer writes a value of the 'token_issuer' type to the given writer.

func MarshalTokenIssuerList ¶

func MarshalTokenIssuerList(list []*TokenIssuer, writer io.Writer) error

MarshalTokenIssuerList writes a list of values of the 'token_issuer' type to the given writer.

func MarshalUsernameClaim ¶

func MarshalUsernameClaim(object *UsernameClaim, writer io.Writer) error

MarshalUsernameClaim writes a value of the 'username_claim' type to the given writer.

func MarshalUsernameClaimList ¶

func MarshalUsernameClaimList(list []*UsernameClaim, writer io.Writer) error

MarshalUsernameClaimList writes a list of values of the 'username_claim' 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 MarshalVersion ¶

func MarshalVersion(object *Version, writer io.Writer) error

MarshalVersion writes a value of the 'version' type to the given writer.

func MarshalVersionList ¶

func MarshalVersionList(list []*Version, writer io.Writer) error

MarshalVersionList writes a list of values of the 'version' 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 WriteAMIOverride ¶

func WriteAMIOverride(object *AMIOverride, stream *jsoniter.Stream)

WriteAMIOverride writes a value of the 'AMI_override' type to the given stream.

func WriteAMIOverrideList ¶

func WriteAMIOverrideList(list []*AMIOverride, stream *jsoniter.Stream)

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

func WriteAWS ¶

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

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

func WriteAWSBackupConfig ¶

func WriteAWSBackupConfig(object *AWSBackupConfig, stream *jsoniter.Stream)

WriteAWSBackupConfig writes a value of the 'AWS_backup_config' type to the given stream.

func WriteAWSBackupConfigList ¶

func WriteAWSBackupConfigList(list []*AWSBackupConfig, stream *jsoniter.Stream)

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

func WriteAWSCapacityReservation ¶ added in v0.0.423

func WriteAWSCapacityReservation(object *AWSCapacityReservation, stream *jsoniter.Stream)

WriteAWSCapacityReservation writes a value of the 'AWS_capacity_reservation' type to the given stream.

func WriteAWSCapacityReservationList ¶ added in v0.0.423

func WriteAWSCapacityReservationList(list []*AWSCapacityReservation, stream *jsoniter.Stream)

WriteAWSCapacityReservationList writes a list of value of the 'AWS_capacity_reservation' 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 WriteAWSNodePool ¶

func WriteAWSNodePool(object *AWSNodePool, stream *jsoniter.Stream)

WriteAWSNodePool writes a value of the 'AWS_node_pool' type to the given stream.

func WriteAWSNodePoolList ¶

func WriteAWSNodePoolList(list []*AWSNodePool, stream *jsoniter.Stream)

WriteAWSNodePoolList writes a list of value of the 'AWS_node_pool' 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 WriteAutoscalerResourceLimits ¶ added in v0.0.430

func WriteAutoscalerResourceLimits(object *AutoscalerResourceLimits, stream *jsoniter.Stream)

WriteAutoscalerResourceLimits writes a value of the 'autoscaler_resource_limits' type to the given stream.

func WriteAutoscalerResourceLimitsGPULimit ¶ added in v0.0.430

func WriteAutoscalerResourceLimitsGPULimit(object *AutoscalerResourceLimitsGPULimit, stream *jsoniter.Stream)

WriteAutoscalerResourceLimitsGPULimit writes a value of the 'autoscaler_resource_limits_GPU_limit' type to the given stream.

func WriteAutoscalerResourceLimitsGPULimitList ¶ added in v0.0.430

func WriteAutoscalerResourceLimitsGPULimitList(list []*AutoscalerResourceLimitsGPULimit, stream *jsoniter.Stream)

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

func WriteAutoscalerResourceLimitsList ¶ added in v0.0.430

func WriteAutoscalerResourceLimitsList(list []*AutoscalerResourceLimits, stream *jsoniter.Stream)

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

func WriteAutoscalerScaleDownConfig ¶ added in v0.0.430

func WriteAutoscalerScaleDownConfig(object *AutoscalerScaleDownConfig, stream *jsoniter.Stream)

WriteAutoscalerScaleDownConfig writes a value of the 'autoscaler_scale_down_config' type to the given stream.

func WriteAutoscalerScaleDownConfigList ¶ added in v0.0.430

func WriteAutoscalerScaleDownConfigList(list []*AutoscalerScaleDownConfig, stream *jsoniter.Stream)

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

func WriteAwsAutoNode ¶ added in v0.0.429

func WriteAwsAutoNode(object *AwsAutoNode, stream *jsoniter.Stream)

WriteAwsAutoNode writes a value of the 'aws_auto_node' type to the given stream.

func WriteAwsAutoNodeList ¶ added in v0.0.429

func WriteAwsAutoNodeList(list []*AwsAutoNode, stream *jsoniter.Stream)

WriteAwsAutoNodeList writes a list of value of the 'aws_auto_node' 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 WriteAzureEtcdDataEncryption ¶

func WriteAzureEtcdDataEncryption(object *AzureEtcdDataEncryption, stream *jsoniter.Stream)

WriteAzureEtcdDataEncryption writes a value of the 'azure_etcd_data_encryption' type to the given stream.

func WriteAzureEtcdDataEncryptionCustomerManaged ¶

func WriteAzureEtcdDataEncryptionCustomerManaged(object *AzureEtcdDataEncryptionCustomerManaged, stream *jsoniter.Stream)

WriteAzureEtcdDataEncryptionCustomerManaged writes a value of the 'azure_etcd_data_encryption_customer_managed' type to the given stream.

func WriteAzureEtcdDataEncryptionCustomerManagedList ¶

func WriteAzureEtcdDataEncryptionCustomerManagedList(list []*AzureEtcdDataEncryptionCustomerManaged, stream *jsoniter.Stream)

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

func WriteAzureEtcdDataEncryptionList ¶

func WriteAzureEtcdDataEncryptionList(list []*AzureEtcdDataEncryption, stream *jsoniter.Stream)

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

func WriteAzureEtcdEncryption ¶

func WriteAzureEtcdEncryption(object *AzureEtcdEncryption, stream *jsoniter.Stream)

WriteAzureEtcdEncryption writes a value of the 'azure_etcd_encryption' type to the given stream.

func WriteAzureEtcdEncryptionList ¶

func WriteAzureEtcdEncryptionList(list []*AzureEtcdEncryption, stream *jsoniter.Stream)

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

func WriteAzureKmsEncryption ¶

func WriteAzureKmsEncryption(object *AzureKmsEncryption, stream *jsoniter.Stream)

WriteAzureKmsEncryption writes a value of the 'azure_kms_encryption' type to the given stream.

func WriteAzureKmsEncryptionList ¶

func WriteAzureKmsEncryptionList(list []*AzureKmsEncryption, stream *jsoniter.Stream)

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

func WriteAzureKmsKey ¶

func WriteAzureKmsKey(object *AzureKmsKey, stream *jsoniter.Stream)

WriteAzureKmsKey writes a value of the 'azure_kms_key' type to the given stream.

func WriteAzureKmsKeyList ¶

func WriteAzureKmsKeyList(list []*AzureKmsKey, stream *jsoniter.Stream)

WriteAzureKmsKeyList writes a list of value of the 'azure_kms_key' 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 WriteAzureNodePool ¶

func WriteAzureNodePool(object *AzureNodePool, stream *jsoniter.Stream)

WriteAzureNodePool writes a value of the 'azure_node_pool' type to the given stream.

func WriteAzureNodePoolEncryptionAtHost ¶

func WriteAzureNodePoolEncryptionAtHost(object *AzureNodePoolEncryptionAtHost, stream *jsoniter.Stream)

WriteAzureNodePoolEncryptionAtHost writes a value of the 'azure_node_pool_encryption_at_host' type to the given stream.

func WriteAzureNodePoolEncryptionAtHostList ¶

func WriteAzureNodePoolEncryptionAtHostList(list []*AzureNodePoolEncryptionAtHost, stream *jsoniter.Stream)

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

func WriteAzureNodePoolList ¶

func WriteAzureNodePoolList(list []*AzureNodePool, stream *jsoniter.Stream)

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

func WriteAzureNodePoolOsDisk ¶ added in v0.0.425

func WriteAzureNodePoolOsDisk(object *AzureNodePoolOsDisk, stream *jsoniter.Stream)

WriteAzureNodePoolOsDisk writes a value of the 'azure_node_pool_os_disk' type to the given stream.

func WriteAzureNodePoolOsDiskList ¶ added in v0.0.425

func WriteAzureNodePoolOsDiskList(list []*AzureNodePoolOsDisk, stream *jsoniter.Stream)

WriteAzureNodePoolOsDiskList writes a list of value of the 'azure_node_pool_os_disk' 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 WriteCIDRBlockAccess ¶ added in v0.0.429

func WriteCIDRBlockAccess(object *CIDRBlockAccess, stream *jsoniter.Stream)

WriteCIDRBlockAccess writes a value of the 'CIDR_block_access' type to the given stream.

func WriteCIDRBlockAccessList ¶ added in v0.0.429

func WriteCIDRBlockAccessList(list []*CIDRBlockAccess, stream *jsoniter.Stream)

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

func WriteCIDRBlockAllowAccess ¶ added in v0.0.429

func WriteCIDRBlockAllowAccess(object *CIDRBlockAllowAccess, stream *jsoniter.Stream)

WriteCIDRBlockAllowAccess writes a value of the 'CIDR_block_allow_access' type to the given stream.

func WriteCIDRBlockAllowAccessList ¶ added in v0.0.429

func WriteCIDRBlockAllowAccessList(list []*CIDRBlockAllowAccess, stream *jsoniter.Stream)

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

func WriteClientComponent ¶

func WriteClientComponent(object *ClientComponent, stream *jsoniter.Stream)

WriteClientComponent writes a value of the 'client_component' type to the given stream.

func WriteClientComponentList ¶

func WriteClientComponentList(list []*ClientComponent, stream *jsoniter.Stream)

WriteClientComponentList writes a list of value of the 'client_component' 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 WriteClusterAutoNode ¶ added in v0.0.429

func WriteClusterAutoNode(object *ClusterAutoNode, stream *jsoniter.Stream)

WriteClusterAutoNode writes a value of the 'cluster_auto_node' type to the given stream.

func WriteClusterAutoNodeList ¶ added in v0.0.429

func WriteClusterAutoNodeList(list []*ClusterAutoNode, stream *jsoniter.Stream)

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

func WriteClusterAutoNodeStatus ¶ added in v0.0.429

func WriteClusterAutoNodeStatus(object *ClusterAutoNodeStatus, stream *jsoniter.Stream)

WriteClusterAutoNodeStatus writes a value of the 'cluster_auto_node_status' type to the given stream.

func WriteClusterAutoNodeStatusList ¶ added in v0.0.429

func WriteClusterAutoNodeStatusList(list []*ClusterAutoNodeStatus, stream *jsoniter.Stream)

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

func WriteClusterAutoscaler ¶ added in v0.0.430

func WriteClusterAutoscaler(object *ClusterAutoscaler, stream *jsoniter.Stream)

WriteClusterAutoscaler writes a value of the 'cluster_autoscaler' type to the given stream.

func WriteClusterAutoscalerList ¶ added in v0.0.430

func WriteClusterAutoscalerList(list []*ClusterAutoscaler, stream *jsoniter.Stream)

WriteClusterAutoscalerList writes a list of value of the 'cluster_autoscaler' 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 WriteClusterImageRegistry ¶

func WriteClusterImageRegistry(object *ClusterImageRegistry, stream *jsoniter.Stream)

WriteClusterImageRegistry writes a value of the 'cluster_image_registry' type to the given stream.

func WriteClusterImageRegistryList ¶

func WriteClusterImageRegistryList(list []*ClusterImageRegistry, stream *jsoniter.Stream)

WriteClusterImageRegistryList writes a list of value of the 'cluster_image_registry' 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 WriteControlPlaneOperatorIdentityRequirement ¶

func WriteControlPlaneOperatorIdentityRequirement(object *ControlPlaneOperatorIdentityRequirement, stream *jsoniter.Stream)

WriteControlPlaneOperatorIdentityRequirement writes a value of the 'control_plane_operator_identity_requirement' type to the given stream.

func WriteControlPlaneOperatorIdentityRequirementList ¶

func WriteControlPlaneOperatorIdentityRequirementList(list []*ControlPlaneOperatorIdentityRequirement, stream *jsoniter.Stream)

WriteControlPlaneOperatorIdentityRequirementList writes a list of value of the 'control_plane_operator_identity_requirement' 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 WriteDataPlaneOperatorIdentityRequirement ¶

func WriteDataPlaneOperatorIdentityRequirement(object *DataPlaneOperatorIdentityRequirement, stream *jsoniter.Stream)

WriteDataPlaneOperatorIdentityRequirement writes a value of the 'data_plane_operator_identity_requirement' type to the given stream.

func WriteDataPlaneOperatorIdentityRequirementList ¶

func WriteDataPlaneOperatorIdentityRequirementList(list []*DataPlaneOperatorIdentityRequirement, stream *jsoniter.Stream)

WriteDataPlaneOperatorIdentityRequirementList writes a list of value of the 'data_plane_operator_identity_requirement' 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 WriteExternalAuth ¶

func WriteExternalAuth(object *ExternalAuth, stream *jsoniter.Stream)

WriteExternalAuth writes a value of the 'external_auth' type to the given stream.

func WriteExternalAuthClaim ¶

func WriteExternalAuthClaim(object *ExternalAuthClaim, stream *jsoniter.Stream)

WriteExternalAuthClaim writes a value of the 'external_auth_claim' type to the given stream.

func WriteExternalAuthClaimList ¶

func WriteExternalAuthClaimList(list []*ExternalAuthClaim, stream *jsoniter.Stream)

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

func WriteExternalAuthClientConfig ¶

func WriteExternalAuthClientConfig(object *ExternalAuthClientConfig, stream *jsoniter.Stream)

WriteExternalAuthClientConfig writes a value of the 'external_auth_client_config' type to the given stream.

func WriteExternalAuthClientConfigList ¶

func WriteExternalAuthClientConfigList(list []*ExternalAuthClientConfig, stream *jsoniter.Stream)

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

func WriteExternalAuthClientTypeList ¶

func WriteExternalAuthClientTypeList(list []ExternalAuthClientType, stream *jsoniter.Stream)

WriteExternalAuthClientTypeList writes a list of value of the 'external_auth_client_type' 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 WriteExternalAuthConfigStateList ¶

func WriteExternalAuthConfigStateList(list []ExternalAuthConfigState, stream *jsoniter.Stream)

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

func WriteExternalAuthList ¶

func WriteExternalAuthList(list []*ExternalAuth, stream *jsoniter.Stream)

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

func WriteExternalAuthState ¶

func WriteExternalAuthState(object *ExternalAuthState, stream *jsoniter.Stream)

WriteExternalAuthState writes a value of the 'external_auth_state' type to the given stream.

func WriteExternalAuthStateList ¶

func WriteExternalAuthStateList(list []*ExternalAuthState, stream *jsoniter.Stream)

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

func WriteExternalAuthStatus ¶

func WriteExternalAuthStatus(object *ExternalAuthStatus, stream *jsoniter.Stream)

WriteExternalAuthStatus writes a value of the 'external_auth_status' type to the given stream.

func WriteExternalAuthStatusList ¶

func WriteExternalAuthStatusList(list []*ExternalAuthStatus, stream *jsoniter.Stream)

WriteExternalAuthStatusList writes a list of value of the 'external_auth_status' 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 WriteGCPImageOverride ¶

func WriteGCPImageOverride(object *GCPImageOverride, stream *jsoniter.Stream)

WriteGCPImageOverride writes a value of the 'GCP_image_override' type to the given stream.

func WriteGCPImageOverrideList ¶

func WriteGCPImageOverrideList(list []*GCPImageOverride, stream *jsoniter.Stream)

WriteGCPImageOverrideList writes a list of value of the 'GCP_image_override' 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 WriteGroupsClaim ¶

func WriteGroupsClaim(object *GroupsClaim, stream *jsoniter.Stream)

WriteGroupsClaim writes a value of the 'groups_claim' type to the given stream.

func WriteGroupsClaimList ¶

func WriteGroupsClaimList(list []*GroupsClaim, stream *jsoniter.Stream)

WriteGroupsClaimList writes a list of value of the 'groups_claim' 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 WriteImageOverrides ¶

func WriteImageOverrides(object *ImageOverrides, stream *jsoniter.Stream)

WriteImageOverrides writes a value of the 'image_overrides' type to the given stream.

func WriteImageOverridesList ¶

func WriteImageOverridesList(list []*ImageOverrides, stream *jsoniter.Stream)

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

func WriteInflightCheck ¶

func WriteInflightCheck(object *InflightCheck, stream *jsoniter.Stream)

WriteInflightCheck writes a value of the 'inflight_check' type to the given stream.

func WriteInflightCheckList ¶

func WriteInflightCheckList(list []*InflightCheck, stream *jsoniter.Stream)

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

func WriteInflightCheckStateList ¶

func WriteInflightCheckStateList(list []InflightCheckState, stream *jsoniter.Stream)

WriteInflightCheckStateList writes a list of value of the 'inflight_check_state' 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 WriteK8sServiceAccountOperatorIdentityRequirement ¶

func WriteK8sServiceAccountOperatorIdentityRequirement(object *K8sServiceAccountOperatorIdentityRequirement, stream *jsoniter.Stream)

WriteK8sServiceAccountOperatorIdentityRequirement writes a value of the 'K8s_service_account_operator_identity_requirement' type to the given stream.

func WriteK8sServiceAccountOperatorIdentityRequirementList ¶

func WriteK8sServiceAccountOperatorIdentityRequirementList(list []*K8sServiceAccountOperatorIdentityRequirement, stream *jsoniter.Stream)

WriteK8sServiceAccountOperatorIdentityRequirementList writes a list of value of the 'K8s_service_account_operator_identity_requirement' 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 WriteManagedIdentitiesRequirements ¶

func WriteManagedIdentitiesRequirements(object *ManagedIdentitiesRequirements, stream *jsoniter.Stream)

WriteManagedIdentitiesRequirements writes a value of the 'managed_identities_requirements' type to the given stream.

func WriteManagedIdentitiesRequirementsList ¶

func WriteManagedIdentitiesRequirementsList(list []*ManagedIdentitiesRequirements, stream *jsoniter.Stream)

WriteManagedIdentitiesRequirementsList writes a list of value of the 'managed_identities_requirements' 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 WriteMarketTypeList ¶ added in v0.0.423

func WriteMarketTypeList(list []MarketType, stream *jsoniter.Stream)

WriteMarketTypeList writes a list of value of the 'market_type' 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 WriteNodePool ¶

func WriteNodePool(object *NodePool, stream *jsoniter.Stream)

WriteNodePool writes a value of the 'node_pool' type to the given stream.

func WriteNodePoolAutoscaling ¶

func WriteNodePoolAutoscaling(object *NodePoolAutoscaling, stream *jsoniter.Stream)

WriteNodePoolAutoscaling writes a value of the 'node_pool_autoscaling' type to the given stream.

func WriteNodePoolAutoscalingList ¶

func WriteNodePoolAutoscalingList(list []*NodePoolAutoscaling, stream *jsoniter.Stream)

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

func WriteNodePoolList ¶

func WriteNodePoolList(list []*NodePool, stream *jsoniter.Stream)

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

func WriteNodePoolManagementUpgrade ¶

func WriteNodePoolManagementUpgrade(object *NodePoolManagementUpgrade, stream *jsoniter.Stream)

WriteNodePoolManagementUpgrade writes a value of the 'node_pool_management_upgrade' type to the given stream.

func WriteNodePoolManagementUpgradeList ¶

func WriteNodePoolManagementUpgradeList(list []*NodePoolManagementUpgrade, stream *jsoniter.Stream)

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

func WriteNodePoolState ¶

func WriteNodePoolState(object *NodePoolState, stream *jsoniter.Stream)

WriteNodePoolState writes a value of the 'node_pool_state' type to the given stream.

func WriteNodePoolStateList ¶

func WriteNodePoolStateList(list []*NodePoolState, stream *jsoniter.Stream)

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

func WriteNodePoolStatus ¶

func WriteNodePoolStatus(object *NodePoolStatus, stream *jsoniter.Stream)

WriteNodePoolStatus writes a value of the 'node_pool_status' type to the given stream.

func WriteNodePoolStatusList ¶

func WriteNodePoolStatusList(list []*NodePoolStatus, stream *jsoniter.Stream)

WriteNodePoolStatusList writes a list of value of the 'node_pool_status' 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 WriteReleaseImageDetails ¶

func WriteReleaseImageDetails(object *ReleaseImageDetails, stream *jsoniter.Stream)

WriteReleaseImageDetails writes a value of the 'release_image_details' type to the given stream.

func WriteReleaseImageDetailsList ¶

func WriteReleaseImageDetailsList(list []*ReleaseImageDetails, stream *jsoniter.Stream)

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

func WriteReleaseImages ¶

func WriteReleaseImages(object *ReleaseImages, stream *jsoniter.Stream)

WriteReleaseImages writes a value of the 'release_images' type to the given stream.

func WriteReleaseImagesList ¶

func WriteReleaseImagesList(list []*ReleaseImages, stream *jsoniter.Stream)

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

func WriteResourceRange ¶ added in v0.0.430

func WriteResourceRange(object *ResourceRange, stream *jsoniter.Stream)

WriteResourceRange writes a value of the 'resource_range' type to the given stream.

func WriteResourceRangeList ¶ added in v0.0.430

func WriteResourceRangeList(list []*ResourceRange, stream *jsoniter.Stream)

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

func WriteRoleDefinitionOperatorIdentityRequirement ¶

func WriteRoleDefinitionOperatorIdentityRequirement(object *RoleDefinitionOperatorIdentityRequirement, stream *jsoniter.Stream)

WriteRoleDefinitionOperatorIdentityRequirement writes a value of the 'role_definition_operator_identity_requirement' type to the given stream.

func WriteRoleDefinitionOperatorIdentityRequirementList ¶

func WriteRoleDefinitionOperatorIdentityRequirementList(list []*RoleDefinitionOperatorIdentityRequirement, stream *jsoniter.Stream)

WriteRoleDefinitionOperatorIdentityRequirementList writes a list of value of the 'role_definition_operator_identity_requirement' 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 WriteTaint ¶

func WriteTaint(object *Taint, stream *jsoniter.Stream)

WriteTaint writes a value of the 'taint' type to the given stream.

func WriteTaintList ¶

func WriteTaintList(list []*Taint, stream *jsoniter.Stream)

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

func WriteTokenClaimMappings ¶

func WriteTokenClaimMappings(object *TokenClaimMappings, stream *jsoniter.Stream)

WriteTokenClaimMappings writes a value of the 'token_claim_mappings' type to the given stream.

func WriteTokenClaimMappingsList ¶

func WriteTokenClaimMappingsList(list []*TokenClaimMappings, stream *jsoniter.Stream)

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

func WriteTokenClaimValidationRule ¶

func WriteTokenClaimValidationRule(object *TokenClaimValidationRule, stream *jsoniter.Stream)

WriteTokenClaimValidationRule writes a value of the 'token_claim_validation_rule' type to the given stream.

func WriteTokenClaimValidationRuleList ¶

func WriteTokenClaimValidationRuleList(list []*TokenClaimValidationRule, stream *jsoniter.Stream)

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

func WriteTokenIssuer ¶

func WriteTokenIssuer(object *TokenIssuer, stream *jsoniter.Stream)

WriteTokenIssuer writes a value of the 'token_issuer' type to the given stream.

func WriteTokenIssuerList ¶

func WriteTokenIssuerList(list []*TokenIssuer, stream *jsoniter.Stream)

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

func WriteUsernameClaim ¶

func WriteUsernameClaim(object *UsernameClaim, stream *jsoniter.Stream)

WriteUsernameClaim writes a value of the 'username_claim' type to the given stream.

func WriteUsernameClaimList ¶

func WriteUsernameClaimList(list []*UsernameClaim, stream *jsoniter.Stream)

WriteUsernameClaimList writes a list of value of the 'username_claim' 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.

func WriteVersion ¶

func WriteVersion(object *Version, stream *jsoniter.Stream)

WriteVersion writes a value of the 'version' type to the given stream.

func WriteVersionList ¶

func WriteVersionList(list []*Version, stream *jsoniter.Stream)

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

Types ¶

type AMIOverride ¶

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

AMIOverride represents the values of the 'AMI_override' type.

AMIOverride specifies what Amazon Machine Image should be used for a particular product and region.

func ReadAMIOverride ¶

func ReadAMIOverride(iterator *jsoniter.Iterator) *AMIOverride

ReadAMIOverride reads a value of the 'AMI_override' type from the given iterator.

func ReadAMIOverrideList ¶

func ReadAMIOverrideList(iterator *jsoniter.Iterator) []*AMIOverride

ReadAMIOverrideList reads list of values of the ”AMI_override' type from the given iterator.

func UnmarshalAMIOverride ¶

func UnmarshalAMIOverride(source interface{}) (object *AMIOverride, err error)

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

func UnmarshalAMIOverrideList ¶

func UnmarshalAMIOverrideList(source interface{}) (items []*AMIOverride, err error)

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

func (*AMIOverride) AMI ¶

func (o *AMIOverride) AMI() string

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

AMI is the id of the Amazon Machine Image.

func (*AMIOverride) Empty ¶

func (o *AMIOverride) Empty() bool

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

func (*AMIOverride) GetAMI ¶

func (o *AMIOverride) GetAMI() (value string, ok bool)

GetAMI returns the value of the 'AMI' attribute and a flag indicating if the attribute has a value.

AMI is the id of the Amazon Machine Image.

func (*AMIOverride) GetHREF ¶

func (o *AMIOverride) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*AMIOverride) GetID ¶

func (o *AMIOverride) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*AMIOverride) GetProduct ¶

func (o *AMIOverride) 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.

func (*AMIOverride) GetRegion ¶

func (o *AMIOverride) 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.

func (*AMIOverride) HREF ¶

func (o *AMIOverride) HREF() string

HREF returns the link to the object.

func (*AMIOverride) ID ¶

func (o *AMIOverride) ID() string

ID returns the identifier of the object.

func (*AMIOverride) Kind ¶

func (o *AMIOverride) Kind() string

Kind returns the name of the type of the object.

func (o *AMIOverride) Link() bool

Link returns true if this is a link.

func (*AMIOverride) Product ¶

func (o *AMIOverride) 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.

func (*AMIOverride) Region ¶

func (o *AMIOverride) 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.

type AMIOverrideBuilder ¶

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

AMIOverride specifies what Amazon Machine Image should be used for a particular product and region.

func NewAMIOverride ¶

func NewAMIOverride() *AMIOverrideBuilder

NewAMIOverride creates a new builder of 'AMI_override' objects.

func (*AMIOverrideBuilder) AMI ¶

AMI sets the value of the 'AMI' attribute to the given value.

func (*AMIOverrideBuilder) Build ¶

func (b *AMIOverrideBuilder) Build() (object *AMIOverride, err error)

Build creates a 'AMI_override' object using the configuration stored in the builder.

func (*AMIOverrideBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AMIOverrideBuilder) Empty ¶

func (b *AMIOverrideBuilder) Empty() bool

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

func (*AMIOverrideBuilder) HREF ¶

HREF sets the link to the object.

func (*AMIOverrideBuilder) ID ¶

ID sets the identifier of the object.

func (b *AMIOverrideBuilder) Link(value bool) *AMIOverrideBuilder

Link sets the flag that indicates if this is a link.

func (*AMIOverrideBuilder) Product ¶

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 (*AMIOverrideBuilder) Region ¶

Region sets the value of the 'region' attribute to the given value.

Description of a region of a cloud provider.

type AMIOverrideList ¶

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

AMIOverrideList is a list of values of the 'AMI_override' type.

func (*AMIOverrideList) Each ¶

func (l *AMIOverrideList) Each(f func(item *AMIOverride) 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 (*AMIOverrideList) Empty ¶

func (l *AMIOverrideList) Empty() bool

Empty returns true if the list is empty.

func (*AMIOverrideList) Get ¶

func (l *AMIOverrideList) Get(i int) *AMIOverride

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AMIOverrideList) GetHREF ¶

func (l *AMIOverrideList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*AMIOverrideList) HREF ¶

func (l *AMIOverrideList) HREF() string

HREF returns the link to the list.

func (*AMIOverrideList) Items ¶

func (l *AMIOverrideList) Items() []*AMIOverride

Items returns the items of the list.

func (*AMIOverrideList) Kind ¶

func (l *AMIOverrideList) Kind() string

Kind returns the name of the type of the object.

func (*AMIOverrideList) Len ¶

func (l *AMIOverrideList) Len() int

Len returns the length of the list.

func (l *AMIOverrideList) Link() bool

Link returns true iif this is a link.

func (*AMIOverrideList) Range ¶

func (l *AMIOverrideList) Range(f func(index int, item *AMIOverride) 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 (*AMIOverrideList) SetHREF ¶

func (l *AMIOverrideList) SetHREF(href string)

Items sets the items of the list.

func (*AMIOverrideList) SetItems ¶

func (l *AMIOverrideList) SetItems(items []*AMIOverride)

Items sets the items of the list.

func (l *AMIOverrideList) SetLink(link bool)

Items sets the items of the list.

func (*AMIOverrideList) Slice ¶

func (l *AMIOverrideList) Slice() []*AMIOverride

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 AMIOverrideListBuilder ¶

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

AMIOverrideListBuilder contains the data and logic needed to build 'AMI_override' objects.

func NewAMIOverrideList ¶

func NewAMIOverrideList() *AMIOverrideListBuilder

NewAMIOverrideList creates a new builder of 'AMI_override' objects.

func (*AMIOverrideListBuilder) Build ¶

func (b *AMIOverrideListBuilder) Build() (list *AMIOverrideList, err error)

Build creates a list of 'AMI_override' objects using the configuration stored in the builder.

func (*AMIOverrideListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AMIOverrideListBuilder) Empty ¶

func (b *AMIOverrideListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AMIOverrideListBuilder) Items ¶

Items sets the items of the list.

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) AutoNode ¶ added in v0.0.429

func (o *AWS) AutoNode() *AwsAutoNode

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

AWS specific configuration for AutoNode

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) GetAutoNode ¶ added in v0.0.429

func (o *AWS) GetAutoNode() (value *AwsAutoNode, ok bool)

GetAutoNode returns the value of the 'auto_node' attribute and a flag indicating if the attribute has a value.

AWS specific configuration for AutoNode

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 AWSBackupConfig ¶

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

AWSBackupConfig represents the values of the 'AWS_backup_config' type.

Backup configuration for AWS clusters

func ReadAWSBackupConfig ¶

func ReadAWSBackupConfig(iterator *jsoniter.Iterator) *AWSBackupConfig

ReadAWSBackupConfig reads a value of the 'AWS_backup_config' type from the given iterator.

func ReadAWSBackupConfigList ¶

func ReadAWSBackupConfigList(iterator *jsoniter.Iterator) []*AWSBackupConfig

ReadAWSBackupConfigList reads list of values of the ”AWS_backup_config' type from the given iterator.

func UnmarshalAWSBackupConfig ¶

func UnmarshalAWSBackupConfig(source interface{}) (object *AWSBackupConfig, err error)

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

func UnmarshalAWSBackupConfigList ¶

func UnmarshalAWSBackupConfigList(source interface{}) (items []*AWSBackupConfig, err error)

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

func (*AWSBackupConfig) AccountId ¶

func (o *AWSBackupConfig) 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.

ID of the AWS Disaster Recovery (DR) account

func (*AWSBackupConfig) Empty ¶

func (o *AWSBackupConfig) Empty() bool

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

func (*AWSBackupConfig) GetAccountId ¶

func (o *AWSBackupConfig) GetAccountId() (value string, ok bool)

GetAccountId returns the value of the 'account_id' attribute and a flag indicating if the attribute has a value.

ID of the AWS Disaster Recovery (DR) account

func (*AWSBackupConfig) GetIdentityProviderArn ¶

func (o *AWSBackupConfig) GetIdentityProviderArn() (value string, ok bool)

GetIdentityProviderArn returns the value of the 'identity_provider_arn' attribute and a flag indicating if the attribute has a value.

ARN of the identity provider created in the Disaster Recovery (DR) account for the Management Cluster

func (*AWSBackupConfig) GetManagementCluster ¶

func (o *AWSBackupConfig) GetManagementCluster() (value string, ok bool)

GetManagementCluster returns the value of the 'management_cluster' attribute and a flag indicating if the attribute has a value.

Name of the management cluster the backup config refers to

func (*AWSBackupConfig) GetRoleArn ¶

func (o *AWSBackupConfig) 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 role used by the CS Trusted Account to gain access to the Disaster Recovery (DR) account

func (*AWSBackupConfig) GetS3Bucket ¶

func (o *AWSBackupConfig) GetS3Bucket() (value string, ok bool)

GetS3Bucket returns the value of the 'S3_bucket' attribute and a flag indicating if the attribute has a value.

Name of the S3 bucket used to save the backup

func (*AWSBackupConfig) IdentityProviderArn ¶

func (o *AWSBackupConfig) IdentityProviderArn() string

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

ARN of the identity provider created in the Disaster Recovery (DR) account for the Management Cluster

func (*AWSBackupConfig) ManagementCluster ¶

func (o *AWSBackupConfig) 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.

Name of the management cluster the backup config refers to

func (*AWSBackupConfig) RoleArn ¶

func (o *AWSBackupConfig) 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 role used by the CS Trusted Account to gain access to the Disaster Recovery (DR) account

func (*AWSBackupConfig) S3Bucket ¶

func (o *AWSBackupConfig) S3Bucket() string

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

Name of the S3 bucket used to save the backup

type AWSBackupConfigBuilder ¶

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

Backup configuration for AWS clusters

func NewAWSBackupConfig ¶

func NewAWSBackupConfig() *AWSBackupConfigBuilder

NewAWSBackupConfig creates a new builder of 'AWS_backup_config' objects.

func (*AWSBackupConfigBuilder) AccountId ¶

AccountId sets the value of the 'account_id' attribute to the given value.

func (*AWSBackupConfigBuilder) Build ¶

func (b *AWSBackupConfigBuilder) Build() (object *AWSBackupConfig, err error)

Build creates a 'AWS_backup_config' object using the configuration stored in the builder.

func (*AWSBackupConfigBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AWSBackupConfigBuilder) Empty ¶

func (b *AWSBackupConfigBuilder) Empty() bool

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

func (*AWSBackupConfigBuilder) IdentityProviderArn ¶

func (b *AWSBackupConfigBuilder) IdentityProviderArn(value string) *AWSBackupConfigBuilder

IdentityProviderArn sets the value of the 'identity_provider_arn' attribute to the given value.

func (*AWSBackupConfigBuilder) ManagementCluster ¶

func (b *AWSBackupConfigBuilder) ManagementCluster(value string) *AWSBackupConfigBuilder

ManagementCluster sets the value of the 'management_cluster' attribute to the given value.

func (*AWSBackupConfigBuilder) RoleArn ¶

RoleArn sets the value of the 'role_arn' attribute to the given value.

func (*AWSBackupConfigBuilder) S3Bucket ¶

S3Bucket sets the value of the 'S3_bucket' attribute to the given value.

type AWSBackupConfigList ¶

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

AWSBackupConfigList is a list of values of the 'AWS_backup_config' type.

func (*AWSBackupConfigList) Each ¶

func (l *AWSBackupConfigList) Each(f func(item *AWSBackupConfig) 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 (*AWSBackupConfigList) Empty ¶

func (l *AWSBackupConfigList) Empty() bool

Empty returns true if the list is empty.

func (*AWSBackupConfigList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AWSBackupConfigList) Items ¶

func (l *AWSBackupConfigList) Items() []*AWSBackupConfig

Items returns the items of the list.

func (*AWSBackupConfigList) Len ¶

func (l *AWSBackupConfigList) Len() int

Len returns the length of the list.

func (*AWSBackupConfigList) Range ¶

func (l *AWSBackupConfigList) Range(f func(index int, item *AWSBackupConfig) 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 (*AWSBackupConfigList) SetHREF ¶

func (l *AWSBackupConfigList) SetHREF(href string)

Items sets the items of the list.

func (*AWSBackupConfigList) SetItems ¶

func (l *AWSBackupConfigList) SetItems(items []*AWSBackupConfig)

Items sets the items of the list.

func (l *AWSBackupConfigList) SetLink(link bool)

Items sets the items of the list.

func (*AWSBackupConfigList) Slice ¶

func (l *AWSBackupConfigList) Slice() []*AWSBackupConfig

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 AWSBackupConfigListBuilder ¶

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

AWSBackupConfigListBuilder contains the data and logic needed to build 'AWS_backup_config' objects.

func NewAWSBackupConfigList ¶

func NewAWSBackupConfigList() *AWSBackupConfigListBuilder

NewAWSBackupConfigList creates a new builder of 'AWS_backup_config' objects.

func (*AWSBackupConfigListBuilder) Build ¶

func (b *AWSBackupConfigListBuilder) Build() (list *AWSBackupConfigList, err error)

Build creates a list of 'AWS_backup_config' objects using the configuration stored in the builder.

func (*AWSBackupConfigListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AWSBackupConfigListBuilder) Empty ¶

func (b *AWSBackupConfigListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AWSBackupConfigListBuilder) Items ¶

Items sets the items of the list.

type AWSBuilder ¶

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

_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) AutoNode ¶ added in v0.0.429

func (b *AWSBuilder) AutoNode(value *AwsAutoNodeBuilder) *AWSBuilder

AutoNode sets the value of the 'auto_node' attribute to the given value.

AWS provider configuration settings when using AutoNode on a ROSA HCP Cluster

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 AWSCapacityReservation ¶ added in v0.0.423

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

AWSCapacityReservation represents the values of the 'AWS_capacity_reservation' type.

AWS Capacity Reservation specification.

func ReadAWSCapacityReservation ¶ added in v0.0.423

func ReadAWSCapacityReservation(iterator *jsoniter.Iterator) *AWSCapacityReservation

ReadAWSCapacityReservation reads a value of the 'AWS_capacity_reservation' type from the given iterator.

func ReadAWSCapacityReservationList ¶ added in v0.0.423

func ReadAWSCapacityReservationList(iterator *jsoniter.Iterator) []*AWSCapacityReservation

ReadAWSCapacityReservationList reads list of values of the ”AWS_capacity_reservation' type from the given iterator.

func UnmarshalAWSCapacityReservation ¶ added in v0.0.423

func UnmarshalAWSCapacityReservation(source interface{}) (object *AWSCapacityReservation, err error)

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

func UnmarshalAWSCapacityReservationList ¶ added in v0.0.423

func UnmarshalAWSCapacityReservationList(source interface{}) (items []*AWSCapacityReservation, err error)

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

func (*AWSCapacityReservation) Empty ¶ added in v0.0.423

func (o *AWSCapacityReservation) Empty() bool

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

func (*AWSCapacityReservation) GetId ¶ added in v0.0.423

func (o *AWSCapacityReservation) GetId() (value string, ok bool)

GetId returns the value of the 'id' attribute and a flag indicating if the attribute has a value.

Specify the target Capacity Reservation in which the EC2 instances will be launched.

func (*AWSCapacityReservation) GetMarketType ¶ added in v0.0.423

func (o *AWSCapacityReservation) GetMarketType() (value MarketType, ok bool)

GetMarketType returns the value of the 'market_type' attribute and a flag indicating if the attribute has a value.

marketType specifies the market type of the CapacityReservation for the EC2 instances. Valid values are OnDemand, CapacityBlocks. "OnDemand": EC2 instances run as standard On-Demand instances. "CapacityBlocks": scheduled pre-purchased compute capacity.

func (*AWSCapacityReservation) Id ¶ added in v0.0.423

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

Specify the target Capacity Reservation in which the EC2 instances will be launched.

func (*AWSCapacityReservation) MarketType ¶ added in v0.0.423

func (o *AWSCapacityReservation) MarketType() MarketType

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

marketType specifies the market type of the CapacityReservation for the EC2 instances. Valid values are OnDemand, CapacityBlocks. "OnDemand": EC2 instances run as standard On-Demand instances. "CapacityBlocks": scheduled pre-purchased compute capacity.

type AWSCapacityReservationBuilder ¶ added in v0.0.423

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

AWS Capacity Reservation specification.

func NewAWSCapacityReservation ¶ added in v0.0.423

func NewAWSCapacityReservation() *AWSCapacityReservationBuilder

NewAWSCapacityReservation creates a new builder of 'AWS_capacity_reservation' objects.

func (*AWSCapacityReservationBuilder) Build ¶ added in v0.0.423

Build creates a 'AWS_capacity_reservation' object using the configuration stored in the builder.

func (*AWSCapacityReservationBuilder) Copy ¶ added in v0.0.423

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AWSCapacityReservationBuilder) Empty ¶ added in v0.0.423

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

func (*AWSCapacityReservationBuilder) Id ¶ added in v0.0.423

Id sets the value of the 'id' attribute to the given value.

func (*AWSCapacityReservationBuilder) MarketType ¶ added in v0.0.423

MarketType sets the value of the 'market_type' attribute to the given value.

Market type for AWS Capacity Reservations.

type AWSCapacityReservationList ¶ added in v0.0.423

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

AWSCapacityReservationList is a list of values of the 'AWS_capacity_reservation' type.

func (*AWSCapacityReservationList) Each ¶ added in v0.0.423

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 (*AWSCapacityReservationList) Empty ¶ added in v0.0.423

func (l *AWSCapacityReservationList) Empty() bool

Empty returns true if the list is empty.

func (*AWSCapacityReservationList) Get ¶ added in v0.0.423

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AWSCapacityReservationList) Items ¶ added in v0.0.423

Items returns the items of the list.

func (*AWSCapacityReservationList) Len ¶ added in v0.0.423

Len returns the length of the list.

func (*AWSCapacityReservationList) Range ¶ added in v0.0.423

func (l *AWSCapacityReservationList) Range(f func(index int, item *AWSCapacityReservation) 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 (*AWSCapacityReservationList) SetHREF ¶ added in v0.0.423

func (l *AWSCapacityReservationList) SetHREF(href string)

Items sets the items of the list.

func (*AWSCapacityReservationList) SetItems ¶ added in v0.0.423

func (l *AWSCapacityReservationList) SetItems(items []*AWSCapacityReservation)

Items sets the items of the list.

func (l *AWSCapacityReservationList) SetLink(link bool)

Items sets the items of the list.

func (*AWSCapacityReservationList) Slice ¶ added in v0.0.423

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 AWSCapacityReservationListBuilder ¶ added in v0.0.423

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

AWSCapacityReservationListBuilder contains the data and logic needed to build 'AWS_capacity_reservation' objects.

func NewAWSCapacityReservationList ¶ added in v0.0.423

func NewAWSCapacityReservationList() *AWSCapacityReservationListBuilder

NewAWSCapacityReservationList creates a new builder of 'AWS_capacity_reservation' objects.

func (*AWSCapacityReservationListBuilder) Build ¶ added in v0.0.423

Build creates a list of 'AWS_capacity_reservation' objects using the configuration stored in the builder.

func (*AWSCapacityReservationListBuilder) Copy ¶ added in v0.0.423

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AWSCapacityReservationListBuilder) Empty ¶ added in v0.0.423

Empty returns true if the list is empty.

func (*AWSCapacityReservationListBuilder) Items ¶ added in v0.0.423

Items sets the items of the list.

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 AWSNodePool ¶

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

AWSNodePool represents the values of the 'AWS_node_pool' type.

Representation of aws node pool specific parameters.

func ReadAWSNodePool ¶

func ReadAWSNodePool(iterator *jsoniter.Iterator) *AWSNodePool

ReadAWSNodePool reads a value of the 'AWS_node_pool' type from the given iterator.

func ReadAWSNodePoolList ¶

func ReadAWSNodePoolList(iterator *jsoniter.Iterator) []*AWSNodePool

ReadAWSNodePoolList reads list of values of the ”AWS_node_pool' type from the given iterator.

func UnmarshalAWSNodePool ¶

func UnmarshalAWSNodePool(source interface{}) (object *AWSNodePool, err error)

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

func UnmarshalAWSNodePoolList ¶

func UnmarshalAWSNodePoolList(source interface{}) (items []*AWSNodePool, err error)

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

func (*AWSNodePool) AdditionalSecurityGroupIds ¶

func (o *AWSNodePool) AdditionalSecurityGroupIds() []string

AdditionalSecurityGroupIds returns the value of the 'additional_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 node pool.

func (*AWSNodePool) AvailabilityZoneTypes ¶

func (o *AWSNodePool) AvailabilityZoneTypes() map[string]string

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

Associates nodepool availability zones with zone types (e.g. wavelength, local).

func (*AWSNodePool) CapacityReservation ¶ added in v0.0.423

func (o *AWSNodePool) CapacityReservation() *AWSCapacityReservation

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

If present it defines the AWS Capacity Reservation used for this NodePool

func (*AWSNodePool) Ec2MetadataHttpTokens ¶

func (o *AWSNodePool) 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 (*AWSNodePool) Empty ¶

func (o *AWSNodePool) Empty() bool

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

func (*AWSNodePool) GetAdditionalSecurityGroupIds ¶

func (o *AWSNodePool) GetAdditionalSecurityGroupIds() (value []string, ok bool)

GetAdditionalSecurityGroupIds returns the value of the 'additional_security_group_ids' attribute and a flag indicating if the attribute has a value.

Additional AWS Security Groups to be added node pool.

func (*AWSNodePool) GetAvailabilityZoneTypes ¶

func (o *AWSNodePool) GetAvailabilityZoneTypes() (value map[string]string, ok bool)

GetAvailabilityZoneTypes returns the value of the 'availability_zone_types' attribute and a flag indicating if the attribute has a value.

Associates nodepool availability zones with zone types (e.g. wavelength, local).

func (*AWSNodePool) GetCapacityReservation ¶ added in v0.0.423

func (o *AWSNodePool) GetCapacityReservation() (value *AWSCapacityReservation, ok bool)

GetCapacityReservation returns the value of the 'capacity_reservation' attribute and a flag indicating if the attribute has a value.

If present it defines the AWS Capacity Reservation used for this NodePool

func (*AWSNodePool) GetEc2MetadataHttpTokens ¶

func (o *AWSNodePool) 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 (*AWSNodePool) GetHREF ¶

func (o *AWSNodePool) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*AWSNodePool) GetID ¶

func (o *AWSNodePool) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*AWSNodePool) GetInstanceProfile ¶

func (o *AWSNodePool) GetInstanceProfile() (value string, ok bool)

GetInstanceProfile returns the value of the 'instance_profile' attribute and a flag indicating if the attribute has a value.

InstanceProfile is the AWS EC2 instance profile, which is a container for an IAM role that the EC2 instance uses.

func (*AWSNodePool) GetInstanceType ¶

func (o *AWSNodePool) GetInstanceType() (value string, ok bool)

GetInstanceType returns the value of the 'instance_type' attribute and a flag indicating if the attribute has a value.

InstanceType is an ec2 instance type for node instances (e.g. m5.large).

func (*AWSNodePool) GetRootVolume ¶

func (o *AWSNodePool) GetRootVolume() (value *AWSVolume, ok bool)

GetRootVolume returns the value of the 'root_volume' attribute and a flag indicating if the attribute has a value.

AWS Volume specification to be used to set custom worker disk size

func (*AWSNodePool) GetSubnetOutposts ¶

func (o *AWSNodePool) GetSubnetOutposts() (value map[string]string, ok bool)

GetSubnetOutposts returns the value of the 'subnet_outposts' attribute and a flag indicating if the attribute has a value.

Associates nodepool subnets with AWS Outposts.

func (*AWSNodePool) GetTags ¶

func (o *AWSNodePool) 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.

AWS tags must conform to the following standards: - Each resource may have a maximum of 25 tags - Tags beginning with "aws:" are reserved for system use and may not be set - Tag keys may be between 1 and 128 characters in length - Tag values may be between 0 and 256 characters in length - Tags may only contain letters, numbers, spaces, and the following characters: [_ . : / = + - @]

func (*AWSNodePool) HREF ¶

func (o *AWSNodePool) HREF() string

HREF returns the link to the object.

func (*AWSNodePool) ID ¶

func (o *AWSNodePool) ID() string

ID returns the identifier of the object.

func (*AWSNodePool) InstanceProfile ¶

func (o *AWSNodePool) InstanceProfile() string

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

InstanceProfile is the AWS EC2 instance profile, which is a container for an IAM role that the EC2 instance uses.

func (*AWSNodePool) InstanceType ¶

func (o *AWSNodePool) InstanceType() string

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

InstanceType is an ec2 instance type for node instances (e.g. m5.large).

func (*AWSNodePool) Kind ¶

func (o *AWSNodePool) Kind() string

Kind returns the name of the type of the object.

func (o *AWSNodePool) Link() bool

Link returns true if this is a link.

func (*AWSNodePool) RootVolume ¶

func (o *AWSNodePool) RootVolume() *AWSVolume

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

AWS Volume specification to be used to set custom worker disk size

func (*AWSNodePool) SubnetOutposts ¶

func (o *AWSNodePool) SubnetOutposts() map[string]string

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

Associates nodepool subnets with AWS Outposts.

func (*AWSNodePool) Tags ¶

func (o *AWSNodePool) 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.

AWS tags must conform to the following standards: - Each resource may have a maximum of 25 tags - Tags beginning with "aws:" are reserved for system use and may not be set - Tag keys may be between 1 and 128 characters in length - Tag values may be between 0 and 256 characters in length - Tags may only contain letters, numbers, spaces, and the following characters: [_ . : / = + - @]

type AWSNodePoolBuilder ¶

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

Representation of aws node pool specific parameters.

func NewAWSNodePool ¶

func NewAWSNodePool() *AWSNodePoolBuilder

NewAWSNodePool creates a new builder of 'AWS_node_pool' objects.

func (*AWSNodePoolBuilder) AdditionalSecurityGroupIds ¶

func (b *AWSNodePoolBuilder) AdditionalSecurityGroupIds(values ...string) *AWSNodePoolBuilder

AdditionalSecurityGroupIds sets the value of the 'additional_security_group_ids' attribute to the given values.

func (*AWSNodePoolBuilder) AvailabilityZoneTypes ¶

func (b *AWSNodePoolBuilder) AvailabilityZoneTypes(value map[string]string) *AWSNodePoolBuilder

AvailabilityZoneTypes sets the value of the 'availability_zone_types' attribute to the given value.

func (*AWSNodePoolBuilder) Build ¶

func (b *AWSNodePoolBuilder) Build() (object *AWSNodePool, err error)

Build creates a 'AWS_node_pool' object using the configuration stored in the builder.

func (*AWSNodePoolBuilder) CapacityReservation ¶ added in v0.0.423

CapacityReservation sets the value of the 'capacity_reservation' attribute to the given value.

AWS Capacity Reservation specification.

func (*AWSNodePoolBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AWSNodePoolBuilder) Ec2MetadataHttpTokens ¶

func (b *AWSNodePoolBuilder) Ec2MetadataHttpTokens(value Ec2MetadataHttpTokens) *AWSNodePoolBuilder

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 (*AWSNodePoolBuilder) Empty ¶

func (b *AWSNodePoolBuilder) Empty() bool

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

func (*AWSNodePoolBuilder) HREF ¶

HREF sets the link to the object.

func (*AWSNodePoolBuilder) ID ¶

ID sets the identifier of the object.

func (*AWSNodePoolBuilder) InstanceProfile ¶

func (b *AWSNodePoolBuilder) InstanceProfile(value string) *AWSNodePoolBuilder

InstanceProfile sets the value of the 'instance_profile' attribute to the given value.

func (*AWSNodePoolBuilder) InstanceType ¶

func (b *AWSNodePoolBuilder) InstanceType(value string) *AWSNodePoolBuilder

InstanceType sets the value of the 'instance_type' attribute to the given value.

func (b *AWSNodePoolBuilder) Link(value bool) *AWSNodePoolBuilder

Link sets the flag that indicates if this is a link.

func (*AWSNodePoolBuilder) RootVolume ¶

RootVolume sets the value of the 'root_volume' attribute to the given value.

Holds settings for an AWS storage volume.

func (*AWSNodePoolBuilder) SubnetOutposts ¶

func (b *AWSNodePoolBuilder) SubnetOutposts(value map[string]string) *AWSNodePoolBuilder

SubnetOutposts sets the value of the 'subnet_outposts' attribute to the given value.

func (*AWSNodePoolBuilder) Tags ¶

func (b *AWSNodePoolBuilder) Tags(value map[string]string) *AWSNodePoolBuilder

Tags sets the value of the 'tags' attribute to the given value.

type AWSNodePoolList ¶

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

AWSNodePoolList is a list of values of the 'AWS_node_pool' type.

func (*AWSNodePoolList) Each ¶

func (l *AWSNodePoolList) Each(f func(item *AWSNodePool) 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 (*AWSNodePoolList) Empty ¶

func (l *AWSNodePoolList) Empty() bool

Empty returns true if the list is empty.

func (*AWSNodePoolList) Get ¶

func (l *AWSNodePoolList) Get(i int) *AWSNodePool

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AWSNodePoolList) GetHREF ¶

func (l *AWSNodePoolList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*AWSNodePoolList) HREF ¶

func (l *AWSNodePoolList) HREF() string

HREF returns the link to the list.

func (*AWSNodePoolList) Items ¶

func (l *AWSNodePoolList) Items() []*AWSNodePool

Items returns the items of the list.

func (*AWSNodePoolList) Kind ¶

func (l *AWSNodePoolList) Kind() string

Kind returns the name of the type of the object.

func (*AWSNodePoolList) Len ¶

func (l *AWSNodePoolList) Len() int

Len returns the length of the list.

func (l *AWSNodePoolList) Link() bool

Link returns true iif this is a link.

func (*AWSNodePoolList) Range ¶

func (l *AWSNodePoolList) Range(f func(index int, item *AWSNodePool) 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 (*AWSNodePoolList) SetHREF ¶

func (l *AWSNodePoolList) SetHREF(href string)

Items sets the items of the list.

func (*AWSNodePoolList) SetItems ¶

func (l *AWSNodePoolList) SetItems(items []*AWSNodePool)

Items sets the items of the list.

func (l *AWSNodePoolList) SetLink(link bool)

Items sets the items of the list.

func (*AWSNodePoolList) Slice ¶

func (l *AWSNodePoolList) Slice() []*AWSNodePool

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 AWSNodePoolListBuilder ¶

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

AWSNodePoolListBuilder contains the data and logic needed to build 'AWS_node_pool' objects.

func NewAWSNodePoolList ¶

func NewAWSNodePoolList() *AWSNodePoolListBuilder

NewAWSNodePoolList creates a new builder of 'AWS_node_pool' objects.

func (*AWSNodePoolListBuilder) Build ¶

func (b *AWSNodePoolListBuilder) Build() (list *AWSNodePoolList, err error)

Build creates a list of 'AWS_node_pool' objects using the configuration stored in the builder.

func (*AWSNodePoolListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AWSNodePoolListBuilder) Empty ¶

func (b *AWSNodePoolListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AWSNodePoolListBuilder) Items ¶

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) BackupConfigs ¶

func (o *AWSShard) BackupConfigs() []*AWSBackupConfig

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

Backup configurations for the provision shard

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) GetBackupConfigs ¶

func (o *AWSShard) GetBackupConfigs() (value []*AWSBackupConfig, ok bool)

GetBackupConfigs returns the value of the 'backup_configs' attribute and a flag indicating if the attribute has a value.

Backup configurations for the provision shard

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
}

Config for AWS provision shards

func NewAWSShard ¶

func NewAWSShard() *AWSShardBuilder

NewAWSShard creates a new builder of 'AWS_shard' objects.

func (*AWSShardBuilder) BackupConfigs ¶

func (b *AWSShardBuilder) BackupConfigs(values ...*AWSBackupConfigBuilder) *AWSShardBuilder

BackupConfigs sets the value of the 'backup_configs' attribute to the given values.

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
}

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
}

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 AutoscalerResourceLimits ¶ added in v0.0.430

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

AutoscalerResourceLimits represents the values of the 'autoscaler_resource_limits' type.

func ReadAutoscalerResourceLimits ¶ added in v0.0.430

func ReadAutoscalerResourceLimits(iterator *jsoniter.Iterator) *AutoscalerResourceLimits

ReadAutoscalerResourceLimits reads a value of the 'autoscaler_resource_limits' type from the given iterator.

func ReadAutoscalerResourceLimitsList ¶ added in v0.0.430

func ReadAutoscalerResourceLimitsList(iterator *jsoniter.Iterator) []*AutoscalerResourceLimits

ReadAutoscalerResourceLimitsList reads list of values of the ”autoscaler_resource_limits' type from the given iterator.

func UnmarshalAutoscalerResourceLimits ¶ added in v0.0.430

func UnmarshalAutoscalerResourceLimits(source interface{}) (object *AutoscalerResourceLimits, err error)

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

func UnmarshalAutoscalerResourceLimitsList ¶ added in v0.0.430

func UnmarshalAutoscalerResourceLimitsList(source interface{}) (items []*AutoscalerResourceLimits, err error)

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

func (*AutoscalerResourceLimits) Cores ¶ added in v0.0.430

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

Minimum and maximum number of cores in cluster, in the format <min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers.

func (*AutoscalerResourceLimits) Empty ¶ added in v0.0.430

func (o *AutoscalerResourceLimits) Empty() bool

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

func (*AutoscalerResourceLimits) GPUS ¶ added in v0.0.430

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

Minimum and maximum number of different GPUs in cluster, in the format <gpu_type>:<min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers. Can be passed multiple times.

func (*AutoscalerResourceLimits) GetCores ¶ added in v0.0.430

func (o *AutoscalerResourceLimits) GetCores() (value *ResourceRange, ok bool)

GetCores returns the value of the 'cores' attribute and a flag indicating if the attribute has a value.

Minimum and maximum number of cores in cluster, in the format <min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers.

func (*AutoscalerResourceLimits) GetGPUS ¶ added in v0.0.430

GetGPUS returns the value of the 'GPUS' attribute and a flag indicating if the attribute has a value.

Minimum and maximum number of different GPUs in cluster, in the format <gpu_type>:<min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers. Can be passed multiple times.

func (*AutoscalerResourceLimits) GetMaxNodesTotal ¶ added in v0.0.430

func (o *AutoscalerResourceLimits) GetMaxNodesTotal() (value int, ok bool)

GetMaxNodesTotal returns the value of the 'max_nodes_total' attribute and a flag indicating if the attribute has a value.

Maximum number of nodes in all node groups. Cluster autoscaler will not grow the cluster beyond this number.

func (*AutoscalerResourceLimits) GetMemory ¶ added in v0.0.430

func (o *AutoscalerResourceLimits) GetMemory() (value *ResourceRange, ok bool)

GetMemory returns the value of the 'memory' attribute and a flag indicating if the attribute has a value.

Minimum and maximum number of gigabytes of memory in cluster, in the format <min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers.

func (*AutoscalerResourceLimits) MaxNodesTotal ¶ added in v0.0.430

func (o *AutoscalerResourceLimits) MaxNodesTotal() int

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

Maximum number of nodes in all node groups. Cluster autoscaler will not grow the cluster beyond this number.

func (*AutoscalerResourceLimits) Memory ¶ added in v0.0.430

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

Minimum and maximum number of gigabytes of memory in cluster, in the format <min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers.

type AutoscalerResourceLimitsBuilder ¶ added in v0.0.430

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

func NewAutoscalerResourceLimits ¶ added in v0.0.430

func NewAutoscalerResourceLimits() *AutoscalerResourceLimitsBuilder

NewAutoscalerResourceLimits creates a new builder of 'autoscaler_resource_limits' objects.

func (*AutoscalerResourceLimitsBuilder) Build ¶ added in v0.0.430

Build creates a 'autoscaler_resource_limits' object using the configuration stored in the builder.

func (*AutoscalerResourceLimitsBuilder) Copy ¶ added in v0.0.430

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AutoscalerResourceLimitsBuilder) Cores ¶ added in v0.0.430

Cores sets the value of the 'cores' attribute to the given value.

func (*AutoscalerResourceLimitsBuilder) Empty ¶ added in v0.0.430

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

func (*AutoscalerResourceLimitsBuilder) GPUS ¶ added in v0.0.430

GPUS sets the value of the 'GPUS' attribute to the given values.

func (*AutoscalerResourceLimitsBuilder) MaxNodesTotal ¶ added in v0.0.430

MaxNodesTotal sets the value of the 'max_nodes_total' attribute to the given value.

func (*AutoscalerResourceLimitsBuilder) Memory ¶ added in v0.0.430

Memory sets the value of the 'memory' attribute to the given value.

type AutoscalerResourceLimitsGPULimit ¶ added in v0.0.430

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

AutoscalerResourceLimitsGPULimit represents the values of the 'autoscaler_resource_limits_GPU_limit' type.

func ReadAutoscalerResourceLimitsGPULimit ¶ added in v0.0.430

func ReadAutoscalerResourceLimitsGPULimit(iterator *jsoniter.Iterator) *AutoscalerResourceLimitsGPULimit

ReadAutoscalerResourceLimitsGPULimit reads a value of the 'autoscaler_resource_limits_GPU_limit' type from the given iterator.

func ReadAutoscalerResourceLimitsGPULimitList ¶ added in v0.0.430

func ReadAutoscalerResourceLimitsGPULimitList(iterator *jsoniter.Iterator) []*AutoscalerResourceLimitsGPULimit

ReadAutoscalerResourceLimitsGPULimitList reads list of values of the ”autoscaler_resource_limits_GPU_limit' type from the given iterator.

func UnmarshalAutoscalerResourceLimitsGPULimit ¶ added in v0.0.430

func UnmarshalAutoscalerResourceLimitsGPULimit(source interface{}) (object *AutoscalerResourceLimitsGPULimit, err error)

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

func UnmarshalAutoscalerResourceLimitsGPULimitList ¶ added in v0.0.430

func UnmarshalAutoscalerResourceLimitsGPULimitList(source interface{}) (items []*AutoscalerResourceLimitsGPULimit, err error)

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

func (*AutoscalerResourceLimitsGPULimit) Empty ¶ added in v0.0.430

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

func (*AutoscalerResourceLimitsGPULimit) GetRange ¶ added in v0.0.430

func (o *AutoscalerResourceLimitsGPULimit) GetRange() (value *ResourceRange, ok bool)

GetRange returns the value of the 'range' attribute and a flag indicating if the attribute has a value.

func (*AutoscalerResourceLimitsGPULimit) GetType ¶ added in v0.0.430

func (o *AutoscalerResourceLimitsGPULimit) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

The type of GPU to associate with the minimum and maximum limits. This value is used by the Cluster Autoscaler to identify Nodes that will have GPU capacity by searching for it as a label value on the Node objects. For example, Nodes that carry the label key `cluster-api/accelerator` with the label value being the same as the Type field will be counted towards the resource limits by the Cluster Autoscaler.

func (*AutoscalerResourceLimitsGPULimit) Range ¶ added in v0.0.430

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

func (*AutoscalerResourceLimitsGPULimit) Type ¶ added in v0.0.430

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

The type of GPU to associate with the minimum and maximum limits. This value is used by the Cluster Autoscaler to identify Nodes that will have GPU capacity by searching for it as a label value on the Node objects. For example, Nodes that carry the label key `cluster-api/accelerator` with the label value being the same as the Type field will be counted towards the resource limits by the Cluster Autoscaler.

type AutoscalerResourceLimitsGPULimitBuilder ¶ added in v0.0.430

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

func NewAutoscalerResourceLimitsGPULimit ¶ added in v0.0.430

func NewAutoscalerResourceLimitsGPULimit() *AutoscalerResourceLimitsGPULimitBuilder

NewAutoscalerResourceLimitsGPULimit creates a new builder of 'autoscaler_resource_limits_GPU_limit' objects.

func (*AutoscalerResourceLimitsGPULimitBuilder) Build ¶ added in v0.0.430

Build creates a 'autoscaler_resource_limits_GPU_limit' object using the configuration stored in the builder.

func (*AutoscalerResourceLimitsGPULimitBuilder) Copy ¶ added in v0.0.430

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AutoscalerResourceLimitsGPULimitBuilder) Empty ¶ added in v0.0.430

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

func (*AutoscalerResourceLimitsGPULimitBuilder) Range ¶ added in v0.0.430

Range sets the value of the 'range' attribute to the given value.

func (*AutoscalerResourceLimitsGPULimitBuilder) Type ¶ added in v0.0.430

Type sets the value of the 'type' attribute to the given value.

type AutoscalerResourceLimitsGPULimitList ¶ added in v0.0.430

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

AutoscalerResourceLimitsGPULimitList is a list of values of the 'autoscaler_resource_limits_GPU_limit' type.

func (*AutoscalerResourceLimitsGPULimitList) Each ¶ added in v0.0.430

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 (*AutoscalerResourceLimitsGPULimitList) Empty ¶ added in v0.0.430

Empty returns true if the list is empty.

func (*AutoscalerResourceLimitsGPULimitList) Get ¶ added in v0.0.430

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AutoscalerResourceLimitsGPULimitList) Items ¶ added in v0.0.430

Items returns the items of the list.

func (*AutoscalerResourceLimitsGPULimitList) Len ¶ added in v0.0.430

Len returns the length of the list.

func (*AutoscalerResourceLimitsGPULimitList) Range ¶ added in v0.0.430

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 (*AutoscalerResourceLimitsGPULimitList) SetHREF ¶ added in v0.0.430

Items sets the items of the list.

func (*AutoscalerResourceLimitsGPULimitList) SetItems ¶ added in v0.0.430

Items sets the items of the list.

func (l *AutoscalerResourceLimitsGPULimitList) SetLink(link bool)

Items sets the items of the list.

func (*AutoscalerResourceLimitsGPULimitList) Slice ¶ added in v0.0.430

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 AutoscalerResourceLimitsGPULimitListBuilder ¶ added in v0.0.430

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

AutoscalerResourceLimitsGPULimitListBuilder contains the data and logic needed to build 'autoscaler_resource_limits_GPU_limit' objects.

func NewAutoscalerResourceLimitsGPULimitList ¶ added in v0.0.430

func NewAutoscalerResourceLimitsGPULimitList() *AutoscalerResourceLimitsGPULimitListBuilder

NewAutoscalerResourceLimitsGPULimitList creates a new builder of 'autoscaler_resource_limits_GPU_limit' objects.

func (*AutoscalerResourceLimitsGPULimitListBuilder) Build ¶ added in v0.0.430

Build creates a list of 'autoscaler_resource_limits_GPU_limit' objects using the configuration stored in the builder.

func (*AutoscalerResourceLimitsGPULimitListBuilder) Copy ¶ added in v0.0.430

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AutoscalerResourceLimitsGPULimitListBuilder) Empty ¶ added in v0.0.430

Empty returns true if the list is empty.

func (*AutoscalerResourceLimitsGPULimitListBuilder) Items ¶ added in v0.0.430

Items sets the items of the list.

type AutoscalerResourceLimitsList ¶ added in v0.0.430

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

AutoscalerResourceLimitsList is a list of values of the 'autoscaler_resource_limits' type.

func (*AutoscalerResourceLimitsList) Each ¶ added in v0.0.430

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 (*AutoscalerResourceLimitsList) Empty ¶ added in v0.0.430

Empty returns true if the list is empty.

func (*AutoscalerResourceLimitsList) Get ¶ added in v0.0.430

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AutoscalerResourceLimitsList) Items ¶ added in v0.0.430

Items returns the items of the list.

func (*AutoscalerResourceLimitsList) Len ¶ added in v0.0.430

Len returns the length of the list.

func (*AutoscalerResourceLimitsList) Range ¶ added in v0.0.430

func (l *AutoscalerResourceLimitsList) Range(f func(index int, item *AutoscalerResourceLimits) 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 (*AutoscalerResourceLimitsList) SetHREF ¶ added in v0.0.430

func (l *AutoscalerResourceLimitsList) SetHREF(href string)

Items sets the items of the list.

func (*AutoscalerResourceLimitsList) SetItems ¶ added in v0.0.430

Items sets the items of the list.

func (l *AutoscalerResourceLimitsList) SetLink(link bool)

Items sets the items of the list.

func (*AutoscalerResourceLimitsList) Slice ¶ added in v0.0.430

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 AutoscalerResourceLimitsListBuilder ¶ added in v0.0.430

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

AutoscalerResourceLimitsListBuilder contains the data and logic needed to build 'autoscaler_resource_limits' objects.

func NewAutoscalerResourceLimitsList ¶ added in v0.0.430

func NewAutoscalerResourceLimitsList() *AutoscalerResourceLimitsListBuilder

NewAutoscalerResourceLimitsList creates a new builder of 'autoscaler_resource_limits' objects.

func (*AutoscalerResourceLimitsListBuilder) Build ¶ added in v0.0.430

Build creates a list of 'autoscaler_resource_limits' objects using the configuration stored in the builder.

func (*AutoscalerResourceLimitsListBuilder) Copy ¶ added in v0.0.430

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AutoscalerResourceLimitsListBuilder) Empty ¶ added in v0.0.430

Empty returns true if the list is empty.

func (*AutoscalerResourceLimitsListBuilder) Items ¶ added in v0.0.430

Items sets the items of the list.

type AutoscalerScaleDownConfig ¶ added in v0.0.430

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

AutoscalerScaleDownConfig represents the values of the 'autoscaler_scale_down_config' type.

func ReadAutoscalerScaleDownConfig ¶ added in v0.0.430

func ReadAutoscalerScaleDownConfig(iterator *jsoniter.Iterator) *AutoscalerScaleDownConfig

ReadAutoscalerScaleDownConfig reads a value of the 'autoscaler_scale_down_config' type from the given iterator.

func ReadAutoscalerScaleDownConfigList ¶ added in v0.0.430

func ReadAutoscalerScaleDownConfigList(iterator *jsoniter.Iterator) []*AutoscalerScaleDownConfig

ReadAutoscalerScaleDownConfigList reads list of values of the ”autoscaler_scale_down_config' type from the given iterator.

func UnmarshalAutoscalerScaleDownConfig ¶ added in v0.0.430

func UnmarshalAutoscalerScaleDownConfig(source interface{}) (object *AutoscalerScaleDownConfig, err error)

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

func UnmarshalAutoscalerScaleDownConfigList ¶ added in v0.0.430

func UnmarshalAutoscalerScaleDownConfigList(source interface{}) (items []*AutoscalerScaleDownConfig, err error)

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

func (*AutoscalerScaleDownConfig) DelayAfterAdd ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) DelayAfterAdd() string

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

How long after scale up that scale down evaluation resumes.

func (*AutoscalerScaleDownConfig) DelayAfterDelete ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) DelayAfterDelete() string

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

How long after node deletion that scale down evaluation resumes, defaults to scan-interval.

func (*AutoscalerScaleDownConfig) DelayAfterFailure ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) DelayAfterFailure() string

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

How long after scale down failure that scale down evaluation resumes.

func (*AutoscalerScaleDownConfig) Empty ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) Empty() bool

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

func (*AutoscalerScaleDownConfig) Enabled ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) 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.

Should cluster-autoscaler scale down the cluster.

func (*AutoscalerScaleDownConfig) GetDelayAfterAdd ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) GetDelayAfterAdd() (value string, ok bool)

GetDelayAfterAdd returns the value of the 'delay_after_add' attribute and a flag indicating if the attribute has a value.

How long after scale up that scale down evaluation resumes.

func (*AutoscalerScaleDownConfig) GetDelayAfterDelete ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) GetDelayAfterDelete() (value string, ok bool)

GetDelayAfterDelete returns the value of the 'delay_after_delete' attribute and a flag indicating if the attribute has a value.

How long after node deletion that scale down evaluation resumes, defaults to scan-interval.

func (*AutoscalerScaleDownConfig) GetDelayAfterFailure ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) GetDelayAfterFailure() (value string, ok bool)

GetDelayAfterFailure returns the value of the 'delay_after_failure' attribute and a flag indicating if the attribute has a value.

How long after scale down failure that scale down evaluation resumes.

func (*AutoscalerScaleDownConfig) GetEnabled ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Should cluster-autoscaler scale down the cluster.

func (*AutoscalerScaleDownConfig) GetUnneededTime ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) GetUnneededTime() (value string, ok bool)

GetUnneededTime returns the value of the 'unneeded_time' attribute and a flag indicating if the attribute has a value.

How long a node should be unneeded before it is eligible for scale down.

func (*AutoscalerScaleDownConfig) GetUtilizationThreshold ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) GetUtilizationThreshold() (value string, ok bool)

GetUtilizationThreshold returns the value of the 'utilization_threshold' attribute and a flag indicating if the attribute has a value.

Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down.

func (*AutoscalerScaleDownConfig) UnneededTime ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) UnneededTime() string

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

How long a node should be unneeded before it is eligible for scale down.

func (*AutoscalerScaleDownConfig) UtilizationThreshold ¶ added in v0.0.430

func (o *AutoscalerScaleDownConfig) UtilizationThreshold() string

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

Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down.

type AutoscalerScaleDownConfigBuilder ¶ added in v0.0.430

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

func NewAutoscalerScaleDownConfig ¶ added in v0.0.430

func NewAutoscalerScaleDownConfig() *AutoscalerScaleDownConfigBuilder

NewAutoscalerScaleDownConfig creates a new builder of 'autoscaler_scale_down_config' objects.

func (*AutoscalerScaleDownConfigBuilder) Build ¶ added in v0.0.430

Build creates a 'autoscaler_scale_down_config' object using the configuration stored in the builder.

func (*AutoscalerScaleDownConfigBuilder) Copy ¶ added in v0.0.430

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AutoscalerScaleDownConfigBuilder) DelayAfterAdd ¶ added in v0.0.430

DelayAfterAdd sets the value of the 'delay_after_add' attribute to the given value.

func (*AutoscalerScaleDownConfigBuilder) DelayAfterDelete ¶ added in v0.0.430

DelayAfterDelete sets the value of the 'delay_after_delete' attribute to the given value.

func (*AutoscalerScaleDownConfigBuilder) DelayAfterFailure ¶ added in v0.0.430

DelayAfterFailure sets the value of the 'delay_after_failure' attribute to the given value.

func (*AutoscalerScaleDownConfigBuilder) Empty ¶ added in v0.0.430

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

func (*AutoscalerScaleDownConfigBuilder) Enabled ¶ added in v0.0.430

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AutoscalerScaleDownConfigBuilder) UnneededTime ¶ added in v0.0.430

UnneededTime sets the value of the 'unneeded_time' attribute to the given value.

func (*AutoscalerScaleDownConfigBuilder) UtilizationThreshold ¶ added in v0.0.430

UtilizationThreshold sets the value of the 'utilization_threshold' attribute to the given value.

type AutoscalerScaleDownConfigList ¶ added in v0.0.430

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

AutoscalerScaleDownConfigList is a list of values of the 'autoscaler_scale_down_config' type.

func (*AutoscalerScaleDownConfigList) Each ¶ added in v0.0.430

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 (*AutoscalerScaleDownConfigList) Empty ¶ added in v0.0.430

Empty returns true if the list is empty.

func (*AutoscalerScaleDownConfigList) Get ¶ added in v0.0.430

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AutoscalerScaleDownConfigList) Items ¶ added in v0.0.430

Items returns the items of the list.

func (*AutoscalerScaleDownConfigList) Len ¶ added in v0.0.430

Len returns the length of the list.

func (*AutoscalerScaleDownConfigList) Range ¶ added in v0.0.430

func (l *AutoscalerScaleDownConfigList) Range(f func(index int, item *AutoscalerScaleDownConfig) 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 (*AutoscalerScaleDownConfigList) SetHREF ¶ added in v0.0.430

func (l *AutoscalerScaleDownConfigList) SetHREF(href string)

Items sets the items of the list.

func (*AutoscalerScaleDownConfigList) SetItems ¶ added in v0.0.430

Items sets the items of the list.

func (l *AutoscalerScaleDownConfigList) SetLink(link bool)

Items sets the items of the list.

func (*AutoscalerScaleDownConfigList) Slice ¶ added in v0.0.430

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 AutoscalerScaleDownConfigListBuilder ¶ added in v0.0.430

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

AutoscalerScaleDownConfigListBuilder contains the data and logic needed to build 'autoscaler_scale_down_config' objects.

func NewAutoscalerScaleDownConfigList ¶ added in v0.0.430

func NewAutoscalerScaleDownConfigList() *AutoscalerScaleDownConfigListBuilder

NewAutoscalerScaleDownConfigList creates a new builder of 'autoscaler_scale_down_config' objects.

func (*AutoscalerScaleDownConfigListBuilder) Build ¶ added in v0.0.430

Build creates a list of 'autoscaler_scale_down_config' objects using the configuration stored in the builder.

func (*AutoscalerScaleDownConfigListBuilder) Copy ¶ added in v0.0.430

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AutoscalerScaleDownConfigListBuilder) Empty ¶ added in v0.0.430

Empty returns true if the list is empty.

func (*AutoscalerScaleDownConfigListBuilder) Items ¶ added in v0.0.430

Items sets the items of the list.

type AwsAutoNode ¶ added in v0.0.429

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

AwsAutoNode represents the values of the 'aws_auto_node' type.

AWS provider configuration settings when using AutoNode on a ROSA HCP Cluster

func ReadAwsAutoNode ¶ added in v0.0.429

func ReadAwsAutoNode(iterator *jsoniter.Iterator) *AwsAutoNode

ReadAwsAutoNode reads a value of the 'aws_auto_node' type from the given iterator.

func ReadAwsAutoNodeList ¶ added in v0.0.429

func ReadAwsAutoNodeList(iterator *jsoniter.Iterator) []*AwsAutoNode

ReadAwsAutoNodeList reads list of values of the ”aws_auto_node' type from the given iterator.

func UnmarshalAwsAutoNode ¶ added in v0.0.429

func UnmarshalAwsAutoNode(source interface{}) (object *AwsAutoNode, err error)

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

func UnmarshalAwsAutoNodeList ¶ added in v0.0.429

func UnmarshalAwsAutoNodeList(source interface{}) (items []*AwsAutoNode, err error)

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

func (*AwsAutoNode) Empty ¶ added in v0.0.429

func (o *AwsAutoNode) Empty() bool

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

func (*AwsAutoNode) GetRoleArn ¶ added in v0.0.429

func (o *AwsAutoNode) GetRoleArn() (value string, ok bool)

GetRoleArn returns the value of the 'role_arn' attribute and a flag indicating if the attribute has a value.

The AWS ARN of the IAM Role that has the permissions required for the AutoNode controller. The role must exist prior to enabling AutoNode on the cluster.

func (*AwsAutoNode) RoleArn ¶ added in v0.0.429

func (o *AwsAutoNode) 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.

The AWS ARN of the IAM Role that has the permissions required for the AutoNode controller. The role must exist prior to enabling AutoNode on the cluster.

type AwsAutoNodeBuilder ¶ added in v0.0.429

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

AWS provider configuration settings when using AutoNode on a ROSA HCP Cluster

func NewAwsAutoNode ¶ added in v0.0.429

func NewAwsAutoNode() *AwsAutoNodeBuilder

NewAwsAutoNode creates a new builder of 'aws_auto_node' objects.

func (*AwsAutoNodeBuilder) Build ¶ added in v0.0.429

func (b *AwsAutoNodeBuilder) Build() (object *AwsAutoNode, err error)

Build creates a 'aws_auto_node' object using the configuration stored in the builder.

func (*AwsAutoNodeBuilder) Copy ¶ added in v0.0.429

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AwsAutoNodeBuilder) Empty ¶ added in v0.0.429

func (b *AwsAutoNodeBuilder) Empty() bool

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

func (*AwsAutoNodeBuilder) RoleArn ¶ added in v0.0.429

func (b *AwsAutoNodeBuilder) RoleArn(value string) *AwsAutoNodeBuilder

RoleArn sets the value of the 'role_arn' attribute to the given value.

type AwsAutoNodeList ¶ added in v0.0.429

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

AwsAutoNodeList is a list of values of the 'aws_auto_node' type.

func (*AwsAutoNodeList) Each ¶ added in v0.0.429

func (l *AwsAutoNodeList) Each(f func(item *AwsAutoNode) 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 (*AwsAutoNodeList) Empty ¶ added in v0.0.429

func (l *AwsAutoNodeList) Empty() bool

Empty returns true if the list is empty.

func (*AwsAutoNodeList) Get ¶ added in v0.0.429

func (l *AwsAutoNodeList) Get(i int) *AwsAutoNode

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AwsAutoNodeList) Items ¶ added in v0.0.429

func (l *AwsAutoNodeList) Items() []*AwsAutoNode

Items returns the items of the list.

func (*AwsAutoNodeList) Len ¶ added in v0.0.429

func (l *AwsAutoNodeList) Len() int

Len returns the length of the list.

func (*AwsAutoNodeList) Range ¶ added in v0.0.429

func (l *AwsAutoNodeList) Range(f func(index int, item *AwsAutoNode) 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 (*AwsAutoNodeList) SetHREF ¶ added in v0.0.429

func (l *AwsAutoNodeList) SetHREF(href string)

Items sets the items of the list.

func (*AwsAutoNodeList) SetItems ¶ added in v0.0.429

func (l *AwsAutoNodeList) SetItems(items []*AwsAutoNode)

Items sets the items of the list.

func (l *AwsAutoNodeList) SetLink(link bool)

Items sets the items of the list.

func (*AwsAutoNodeList) Slice ¶ added in v0.0.429

func (l *AwsAutoNodeList) Slice() []*AwsAutoNode

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 AwsAutoNodeListBuilder ¶ added in v0.0.429

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

AwsAutoNodeListBuilder contains the data and logic needed to build 'aws_auto_node' objects.

func NewAwsAutoNodeList ¶ added in v0.0.429

func NewAwsAutoNodeList() *AwsAutoNodeListBuilder

NewAwsAutoNodeList creates a new builder of 'aws_auto_node' objects.

func (*AwsAutoNodeListBuilder) Build ¶ added in v0.0.429

func (b *AwsAutoNodeListBuilder) Build() (list *AwsAutoNodeList, err error)

Build creates a list of 'aws_auto_node' objects using the configuration stored in the builder.

func (*AwsAutoNodeListBuilder) Copy ¶ added in v0.0.429

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AwsAutoNodeListBuilder) Empty ¶ added in v0.0.429

func (b *AwsAutoNodeListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AwsAutoNodeListBuilder) Items ¶ added in v0.0.429

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
}

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) EtcdEncryption ¶

func (o *Azure) EtcdEncryption() *AzureEtcdEncryption

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

Etcd encryption configuration. If not specified, etcd data is encrypted with platform managed keys. Currently etcd data encryption is only supported with customer managed keys. Creating a cluster with platform managed keys will result in a failure creating the cluster.

func (*Azure) GetEtcdEncryption ¶

func (o *Azure) GetEtcdEncryption() (value *AzureEtcdEncryption, ok bool)

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

Etcd encryption configuration. If not specified, etcd data is encrypted with platform managed keys. Currently etcd data encryption is only supported with customer managed keys. Creating a cluster with platform managed keys will result in a failure creating the cluster.

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
}

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) EtcdEncryption ¶

func (b *AzureBuilder) EtcdEncryption(value *AzureEtcdEncryptionBuilder) *AzureBuilder

EtcdEncryption sets the value of the 'etcd_encryption' attribute to the given value.

Contains the necessary attributes to support etcd encryption for Azure based clusters.

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
}

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
}

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 AzureEtcdDataEncryption ¶

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

AzureEtcdDataEncryption represents the values of the 'azure_etcd_data_encryption' type.

Contains the necessary attributes to support data encryption for Azure based clusters.

func ReadAzureEtcdDataEncryption ¶

func ReadAzureEtcdDataEncryption(iterator *jsoniter.Iterator) *AzureEtcdDataEncryption

ReadAzureEtcdDataEncryption reads a value of the 'azure_etcd_data_encryption' type from the given iterator.

func ReadAzureEtcdDataEncryptionList ¶

func ReadAzureEtcdDataEncryptionList(iterator *jsoniter.Iterator) []*AzureEtcdDataEncryption

ReadAzureEtcdDataEncryptionList reads list of values of the ”azure_etcd_data_encryption' type from the given iterator.

func UnmarshalAzureEtcdDataEncryption ¶

func UnmarshalAzureEtcdDataEncryption(source interface{}) (object *AzureEtcdDataEncryption, err error)

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

func UnmarshalAzureEtcdDataEncryptionList ¶

func UnmarshalAzureEtcdDataEncryptionList(source interface{}) (items []*AzureEtcdDataEncryption, err error)

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

func (*AzureEtcdDataEncryption) CustomerManaged ¶

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

Customer Managed encryption keys configuration. Required when key_management_mode is "customer_managed".

func (*AzureEtcdDataEncryption) Empty ¶

func (o *AzureEtcdDataEncryption) Empty() bool

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

func (*AzureEtcdDataEncryption) GetCustomerManaged ¶

func (o *AzureEtcdDataEncryption) GetCustomerManaged() (value *AzureEtcdDataEncryptionCustomerManaged, ok bool)

GetCustomerManaged returns the value of the 'customer_managed' attribute and a flag indicating if the attribute has a value.

Customer Managed encryption keys configuration. Required when key_management_mode is "customer_managed".

func (*AzureEtcdDataEncryption) GetKeyManagementMode ¶

func (o *AzureEtcdDataEncryption) GetKeyManagementMode() (value string, ok bool)

GetKeyManagementMode returns the value of the 'key_management_mode' attribute and a flag indicating if the attribute has a value.

The key management strategy used for the encryption key that encrypts the etcd data. Accepted values are: "customer_managed", "platform_managed". By default, "platform_managed" is used. Currently only "customer_managed" mode is supported.

func (*AzureEtcdDataEncryption) KeyManagementMode ¶

func (o *AzureEtcdDataEncryption) KeyManagementMode() string

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

The key management strategy used for the encryption key that encrypts the etcd data. Accepted values are: "customer_managed", "platform_managed". By default, "platform_managed" is used. Currently only "customer_managed" mode is supported.

type AzureEtcdDataEncryptionBuilder ¶

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

Contains the necessary attributes to support data encryption for Azure based clusters.

func NewAzureEtcdDataEncryption ¶

func NewAzureEtcdDataEncryption() *AzureEtcdDataEncryptionBuilder

NewAzureEtcdDataEncryption creates a new builder of 'azure_etcd_data_encryption' objects.

func (*AzureEtcdDataEncryptionBuilder) Build ¶

Build creates a 'azure_etcd_data_encryption' object using the configuration stored in the builder.

func (*AzureEtcdDataEncryptionBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureEtcdDataEncryptionBuilder) CustomerManaged ¶

CustomerManaged sets the value of the 'customer_managed' attribute to the given value.

Contains the necessary attributes to support etcd data encryption with customer managed keys for Azure based clusters.

func (*AzureEtcdDataEncryptionBuilder) Empty ¶

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

func (*AzureEtcdDataEncryptionBuilder) KeyManagementMode ¶

KeyManagementMode sets the value of the 'key_management_mode' attribute to the given value.

type AzureEtcdDataEncryptionCustomerManaged ¶

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

AzureEtcdDataEncryptionCustomerManaged represents the values of the 'azure_etcd_data_encryption_customer_managed' type.

Contains the necessary attributes to support etcd data encryption with customer managed keys for Azure based clusters.

func ReadAzureEtcdDataEncryptionCustomerManaged ¶

func ReadAzureEtcdDataEncryptionCustomerManaged(iterator *jsoniter.Iterator) *AzureEtcdDataEncryptionCustomerManaged

ReadAzureEtcdDataEncryptionCustomerManaged reads a value of the 'azure_etcd_data_encryption_customer_managed' type from the given iterator.

func ReadAzureEtcdDataEncryptionCustomerManagedList ¶

func ReadAzureEtcdDataEncryptionCustomerManagedList(iterator *jsoniter.Iterator) []*AzureEtcdDataEncryptionCustomerManaged

ReadAzureEtcdDataEncryptionCustomerManagedList reads list of values of the ”azure_etcd_data_encryption_customer_managed' type from the given iterator.

func UnmarshalAzureEtcdDataEncryptionCustomerManaged ¶

func UnmarshalAzureEtcdDataEncryptionCustomerManaged(source interface{}) (object *AzureEtcdDataEncryptionCustomerManaged, err error)

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

func UnmarshalAzureEtcdDataEncryptionCustomerManagedList ¶

func UnmarshalAzureEtcdDataEncryptionCustomerManagedList(source interface{}) (items []*AzureEtcdDataEncryptionCustomerManaged, err error)

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

func (*AzureEtcdDataEncryptionCustomerManaged) Empty ¶

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

func (*AzureEtcdDataEncryptionCustomerManaged) EncryptionType ¶

func (o *AzureEtcdDataEncryptionCustomerManaged) EncryptionType() string

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

The encryption type used. Accepted values are: "kms". By default, "kms" is used.

func (*AzureEtcdDataEncryptionCustomerManaged) GetEncryptionType ¶

func (o *AzureEtcdDataEncryptionCustomerManaged) GetEncryptionType() (value string, ok bool)

GetEncryptionType returns the value of the 'encryption_type' attribute and a flag indicating if the attribute has a value.

The encryption type used. Accepted values are: "kms". By default, "kms" is used.

func (*AzureEtcdDataEncryptionCustomerManaged) GetKms ¶

GetKms returns the value of the 'kms' attribute and a flag indicating if the attribute has a value.

The KMS encryption configuration. Required when encryption_type is "kms".

func (*AzureEtcdDataEncryptionCustomerManaged) Kms ¶

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

The KMS encryption configuration. Required when encryption_type is "kms".

type AzureEtcdDataEncryptionCustomerManagedBuilder ¶

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

Contains the necessary attributes to support etcd data encryption with customer managed keys for Azure based clusters.

func NewAzureEtcdDataEncryptionCustomerManaged ¶

func NewAzureEtcdDataEncryptionCustomerManaged() *AzureEtcdDataEncryptionCustomerManagedBuilder

NewAzureEtcdDataEncryptionCustomerManaged creates a new builder of 'azure_etcd_data_encryption_customer_managed' objects.

func (*AzureEtcdDataEncryptionCustomerManagedBuilder) Build ¶

Build creates a 'azure_etcd_data_encryption_customer_managed' object using the configuration stored in the builder.

func (*AzureEtcdDataEncryptionCustomerManagedBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureEtcdDataEncryptionCustomerManagedBuilder) Empty ¶

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

func (*AzureEtcdDataEncryptionCustomerManagedBuilder) EncryptionType ¶

EncryptionType sets the value of the 'encryption_type' attribute to the given value.

func (*AzureEtcdDataEncryptionCustomerManagedBuilder) Kms ¶

Kms sets the value of the 'kms' attribute to the given value.

Contains the necessary attributes to support KMS encryption for Azure based clusters.

type AzureEtcdDataEncryptionCustomerManagedList ¶

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

AzureEtcdDataEncryptionCustomerManagedList is a list of values of the 'azure_etcd_data_encryption_customer_managed' type.

func (*AzureEtcdDataEncryptionCustomerManagedList) 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 (*AzureEtcdDataEncryptionCustomerManagedList) Empty ¶

Empty returns true if the list is empty.

func (*AzureEtcdDataEncryptionCustomerManagedList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureEtcdDataEncryptionCustomerManagedList) Items ¶

Items returns the items of the list.

func (*AzureEtcdDataEncryptionCustomerManagedList) Len ¶

Len returns the length of the list.

func (*AzureEtcdDataEncryptionCustomerManagedList) 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 (*AzureEtcdDataEncryptionCustomerManagedList) SetHREF ¶

Items sets the items of the list.

func (*AzureEtcdDataEncryptionCustomerManagedList) SetItems ¶

Items sets the items of the list.

Items sets the items of the list.

func (*AzureEtcdDataEncryptionCustomerManagedList) 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 AzureEtcdDataEncryptionCustomerManagedListBuilder ¶

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

AzureEtcdDataEncryptionCustomerManagedListBuilder contains the data and logic needed to build 'azure_etcd_data_encryption_customer_managed' objects.

func NewAzureEtcdDataEncryptionCustomerManagedList ¶

func NewAzureEtcdDataEncryptionCustomerManagedList() *AzureEtcdDataEncryptionCustomerManagedListBuilder

NewAzureEtcdDataEncryptionCustomerManagedList creates a new builder of 'azure_etcd_data_encryption_customer_managed' objects.

func (*AzureEtcdDataEncryptionCustomerManagedListBuilder) Build ¶

Build creates a list of 'azure_etcd_data_encryption_customer_managed' objects using the configuration stored in the builder.

func (*AzureEtcdDataEncryptionCustomerManagedListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureEtcdDataEncryptionCustomerManagedListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*AzureEtcdDataEncryptionCustomerManagedListBuilder) Items ¶

Items sets the items of the list.

type AzureEtcdDataEncryptionList ¶

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

AzureEtcdDataEncryptionList is a list of values of the 'azure_etcd_data_encryption' type.

func (*AzureEtcdDataEncryptionList) 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 (*AzureEtcdDataEncryptionList) Empty ¶

func (l *AzureEtcdDataEncryptionList) Empty() bool

Empty returns true if the list is empty.

func (*AzureEtcdDataEncryptionList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureEtcdDataEncryptionList) Items ¶

Items returns the items of the list.

func (*AzureEtcdDataEncryptionList) Len ¶

Len returns the length of the list.

func (*AzureEtcdDataEncryptionList) Range ¶

func (l *AzureEtcdDataEncryptionList) Range(f func(index int, item *AzureEtcdDataEncryption) 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 (*AzureEtcdDataEncryptionList) SetHREF ¶

func (l *AzureEtcdDataEncryptionList) SetHREF(href string)

Items sets the items of the list.

func (*AzureEtcdDataEncryptionList) SetItems ¶

Items sets the items of the list.

func (l *AzureEtcdDataEncryptionList) SetLink(link bool)

Items sets the items of the list.

func (*AzureEtcdDataEncryptionList) 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 AzureEtcdDataEncryptionListBuilder ¶

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

AzureEtcdDataEncryptionListBuilder contains the data and logic needed to build 'azure_etcd_data_encryption' objects.

func NewAzureEtcdDataEncryptionList ¶

func NewAzureEtcdDataEncryptionList() *AzureEtcdDataEncryptionListBuilder

NewAzureEtcdDataEncryptionList creates a new builder of 'azure_etcd_data_encryption' objects.

func (*AzureEtcdDataEncryptionListBuilder) Build ¶

Build creates a list of 'azure_etcd_data_encryption' objects using the configuration stored in the builder.

func (*AzureEtcdDataEncryptionListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureEtcdDataEncryptionListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*AzureEtcdDataEncryptionListBuilder) Items ¶

Items sets the items of the list.

type AzureEtcdEncryption ¶

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

AzureEtcdEncryption represents the values of the 'azure_etcd_encryption' type.

Contains the necessary attributes to support etcd encryption for Azure based clusters.

func ReadAzureEtcdEncryption ¶

func ReadAzureEtcdEncryption(iterator *jsoniter.Iterator) *AzureEtcdEncryption

ReadAzureEtcdEncryption reads a value of the 'azure_etcd_encryption' type from the given iterator.

func ReadAzureEtcdEncryptionList ¶

func ReadAzureEtcdEncryptionList(iterator *jsoniter.Iterator) []*AzureEtcdEncryption

ReadAzureEtcdEncryptionList reads list of values of the ”azure_etcd_encryption' type from the given iterator.

func UnmarshalAzureEtcdEncryption ¶

func UnmarshalAzureEtcdEncryption(source interface{}) (object *AzureEtcdEncryption, err error)

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

func UnmarshalAzureEtcdEncryptionList ¶

func UnmarshalAzureEtcdEncryptionList(source interface{}) (items []*AzureEtcdEncryption, err error)

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

func (*AzureEtcdEncryption) DataEncryption ¶

func (o *AzureEtcdEncryption) DataEncryption() *AzureEtcdDataEncryption

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

etcd data encryption settings. If not specified, etcd data is encrypted with platform managed keys.

func (*AzureEtcdEncryption) Empty ¶

func (o *AzureEtcdEncryption) Empty() bool

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

func (*AzureEtcdEncryption) GetDataEncryption ¶

func (o *AzureEtcdEncryption) GetDataEncryption() (value *AzureEtcdDataEncryption, ok bool)

GetDataEncryption returns the value of the 'data_encryption' attribute and a flag indicating if the attribute has a value.

etcd data encryption settings. If not specified, etcd data is encrypted with platform managed keys.

type AzureEtcdEncryptionBuilder ¶

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

Contains the necessary attributes to support etcd encryption for Azure based clusters.

func NewAzureEtcdEncryption ¶

func NewAzureEtcdEncryption() *AzureEtcdEncryptionBuilder

NewAzureEtcdEncryption creates a new builder of 'azure_etcd_encryption' objects.

func (*AzureEtcdEncryptionBuilder) Build ¶

func (b *AzureEtcdEncryptionBuilder) Build() (object *AzureEtcdEncryption, err error)

Build creates a 'azure_etcd_encryption' object using the configuration stored in the builder.

func (*AzureEtcdEncryptionBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureEtcdEncryptionBuilder) DataEncryption ¶

DataEncryption sets the value of the 'data_encryption' attribute to the given value.

Contains the necessary attributes to support data encryption for Azure based clusters.

func (*AzureEtcdEncryptionBuilder) Empty ¶

func (b *AzureEtcdEncryptionBuilder) Empty() bool

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

type AzureEtcdEncryptionList ¶

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

AzureEtcdEncryptionList is a list of values of the 'azure_etcd_encryption' type.

func (*AzureEtcdEncryptionList) Each ¶

func (l *AzureEtcdEncryptionList) Each(f func(item *AzureEtcdEncryption) 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 (*AzureEtcdEncryptionList) Empty ¶

func (l *AzureEtcdEncryptionList) Empty() bool

Empty returns true if the list is empty.

func (*AzureEtcdEncryptionList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureEtcdEncryptionList) Items ¶

Items returns the items of the list.

func (*AzureEtcdEncryptionList) Len ¶

func (l *AzureEtcdEncryptionList) Len() int

Len returns the length of the list.

func (*AzureEtcdEncryptionList) Range ¶

func (l *AzureEtcdEncryptionList) Range(f func(index int, item *AzureEtcdEncryption) 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 (*AzureEtcdEncryptionList) SetHREF ¶

func (l *AzureEtcdEncryptionList) SetHREF(href string)

Items sets the items of the list.

func (*AzureEtcdEncryptionList) SetItems ¶

func (l *AzureEtcdEncryptionList) SetItems(items []*AzureEtcdEncryption)

Items sets the items of the list.

func (l *AzureEtcdEncryptionList) SetLink(link bool)

Items sets the items of the list.

func (*AzureEtcdEncryptionList) 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 AzureEtcdEncryptionListBuilder ¶

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

AzureEtcdEncryptionListBuilder contains the data and logic needed to build 'azure_etcd_encryption' objects.

func NewAzureEtcdEncryptionList ¶

func NewAzureEtcdEncryptionList() *AzureEtcdEncryptionListBuilder

NewAzureEtcdEncryptionList creates a new builder of 'azure_etcd_encryption' objects.

func (*AzureEtcdEncryptionListBuilder) Build ¶

Build creates a list of 'azure_etcd_encryption' objects using the configuration stored in the builder.

func (*AzureEtcdEncryptionListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureEtcdEncryptionListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*AzureEtcdEncryptionListBuilder) Items ¶

Items sets the items of the list.

type AzureKmsEncryption ¶

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

AzureKmsEncryption represents the values of the 'azure_kms_encryption' type.

Contains the necessary attributes to support KMS encryption for Azure based clusters.

func ReadAzureKmsEncryption ¶

func ReadAzureKmsEncryption(iterator *jsoniter.Iterator) *AzureKmsEncryption

ReadAzureKmsEncryption reads a value of the 'azure_kms_encryption' type from the given iterator.

func ReadAzureKmsEncryptionList ¶

func ReadAzureKmsEncryptionList(iterator *jsoniter.Iterator) []*AzureKmsEncryption

ReadAzureKmsEncryptionList reads list of values of the ”azure_kms_encryption' type from the given iterator.

func UnmarshalAzureKmsEncryption ¶

func UnmarshalAzureKmsEncryption(source interface{}) (object *AzureKmsEncryption, err error)

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

func UnmarshalAzureKmsEncryptionList ¶

func UnmarshalAzureKmsEncryptionList(source interface{}) (items []*AzureKmsEncryption, err error)

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

func (*AzureKmsEncryption) ActiveKey ¶

func (o *AzureKmsEncryption) ActiveKey() *AzureKmsKey

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

The details of the active key Required during creation.

func (*AzureKmsEncryption) Empty ¶

func (o *AzureKmsEncryption) Empty() bool

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

func (*AzureKmsEncryption) GetActiveKey ¶

func (o *AzureKmsEncryption) GetActiveKey() (value *AzureKmsKey, ok bool)

GetActiveKey returns the value of the 'active_key' attribute and a flag indicating if the attribute has a value.

The details of the active key Required during creation.

type AzureKmsEncryptionBuilder ¶

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

Contains the necessary attributes to support KMS encryption for Azure based clusters.

func NewAzureKmsEncryption ¶

func NewAzureKmsEncryption() *AzureKmsEncryptionBuilder

NewAzureKmsEncryption creates a new builder of 'azure_kms_encryption' objects.

func (*AzureKmsEncryptionBuilder) ActiveKey ¶

ActiveKey sets the value of the 'active_key' attribute to the given value.

Contains the necessary attributes to support KMS encryption key for Azure based clusters

func (*AzureKmsEncryptionBuilder) Build ¶

func (b *AzureKmsEncryptionBuilder) Build() (object *AzureKmsEncryption, err error)

Build creates a 'azure_kms_encryption' object using the configuration stored in the builder.

func (*AzureKmsEncryptionBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureKmsEncryptionBuilder) Empty ¶

func (b *AzureKmsEncryptionBuilder) Empty() bool

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

type AzureKmsEncryptionList ¶

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

AzureKmsEncryptionList is a list of values of the 'azure_kms_encryption' type.

func (*AzureKmsEncryptionList) Each ¶

func (l *AzureKmsEncryptionList) Each(f func(item *AzureKmsEncryption) 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 (*AzureKmsEncryptionList) Empty ¶

func (l *AzureKmsEncryptionList) Empty() bool

Empty returns true if the list is empty.

func (*AzureKmsEncryptionList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureKmsEncryptionList) Items ¶

Items returns the items of the list.

func (*AzureKmsEncryptionList) Len ¶

func (l *AzureKmsEncryptionList) Len() int

Len returns the length of the list.

func (*AzureKmsEncryptionList) Range ¶

func (l *AzureKmsEncryptionList) Range(f func(index int, item *AzureKmsEncryption) 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 (*AzureKmsEncryptionList) SetHREF ¶

func (l *AzureKmsEncryptionList) SetHREF(href string)

Items sets the items of the list.

func (*AzureKmsEncryptionList) SetItems ¶

func (l *AzureKmsEncryptionList) SetItems(items []*AzureKmsEncryption)

Items sets the items of the list.

func (l *AzureKmsEncryptionList) SetLink(link bool)

Items sets the items of the list.

func (*AzureKmsEncryptionList) 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 AzureKmsEncryptionListBuilder ¶

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

AzureKmsEncryptionListBuilder contains the data and logic needed to build 'azure_kms_encryption' objects.

func NewAzureKmsEncryptionList ¶

func NewAzureKmsEncryptionList() *AzureKmsEncryptionListBuilder

NewAzureKmsEncryptionList creates a new builder of 'azure_kms_encryption' objects.

func (*AzureKmsEncryptionListBuilder) Build ¶

Build creates a list of 'azure_kms_encryption' objects using the configuration stored in the builder.

func (*AzureKmsEncryptionListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureKmsEncryptionListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*AzureKmsEncryptionListBuilder) Items ¶

Items sets the items of the list.

type AzureKmsKey ¶

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

AzureKmsKey represents the values of the 'azure_kms_key' type.

Contains the necessary attributes to support KMS encryption key for Azure based clusters

func ReadAzureKmsKey ¶

func ReadAzureKmsKey(iterator *jsoniter.Iterator) *AzureKmsKey

ReadAzureKmsKey reads a value of the 'azure_kms_key' type from the given iterator.

func ReadAzureKmsKeyList ¶

func ReadAzureKmsKeyList(iterator *jsoniter.Iterator) []*AzureKmsKey

ReadAzureKmsKeyList reads list of values of the ”azure_kms_key' type from the given iterator.

func UnmarshalAzureKmsKey ¶

func UnmarshalAzureKmsKey(source interface{}) (object *AzureKmsKey, err error)

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

func UnmarshalAzureKmsKeyList ¶

func UnmarshalAzureKmsKeyList(source interface{}) (items []*AzureKmsKey, err error)

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

func (*AzureKmsKey) Empty ¶

func (o *AzureKmsKey) Empty() bool

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

func (*AzureKmsKey) GetKeyName ¶

func (o *AzureKmsKey) GetKeyName() (value string, ok bool)

GetKeyName returns the value of the 'key_name' attribute and a flag indicating if the attribute has a value.

key_name is the name of the Azure Key Vault Key Required during creation.

func (*AzureKmsKey) GetKeyVaultName ¶

func (o *AzureKmsKey) GetKeyVaultName() (value string, ok bool)

GetKeyVaultName returns the value of the 'key_vault_name' attribute and a flag indicating if the attribute has a value.

key_vault_name is the name of the Azure Key Vault that contains the encryption key Required during creation.

func (*AzureKmsKey) GetKeyVersion ¶

func (o *AzureKmsKey) GetKeyVersion() (value string, ok bool)

GetKeyVersion returns the value of the 'key_version' attribute and a flag indicating if the attribute has a value.

key_version is the version of the Azure Key Vault key Required during creation.

func (*AzureKmsKey) KeyName ¶

func (o *AzureKmsKey) 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.

key_name is the name of the Azure Key Vault Key Required during creation.

func (*AzureKmsKey) KeyVaultName ¶

func (o *AzureKmsKey) KeyVaultName() string

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

key_vault_name is the name of the Azure Key Vault that contains the encryption key Required during creation.

func (*AzureKmsKey) KeyVersion ¶

func (o *AzureKmsKey) KeyVersion() string

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

key_version is the version of the Azure Key Vault key Required during creation.

type AzureKmsKeyBuilder ¶

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

Contains the necessary attributes to support KMS encryption key for Azure based clusters

func NewAzureKmsKey ¶

func NewAzureKmsKey() *AzureKmsKeyBuilder

NewAzureKmsKey creates a new builder of 'azure_kms_key' objects.

func (*AzureKmsKeyBuilder) Build ¶

func (b *AzureKmsKeyBuilder) Build() (object *AzureKmsKey, err error)

Build creates a 'azure_kms_key' object using the configuration stored in the builder.

func (*AzureKmsKeyBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureKmsKeyBuilder) Empty ¶

func (b *AzureKmsKeyBuilder) Empty() bool

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

func (*AzureKmsKeyBuilder) KeyName ¶

func (b *AzureKmsKeyBuilder) KeyName(value string) *AzureKmsKeyBuilder

KeyName sets the value of the 'key_name' attribute to the given value.

func (*AzureKmsKeyBuilder) KeyVaultName ¶

func (b *AzureKmsKeyBuilder) KeyVaultName(value string) *AzureKmsKeyBuilder

KeyVaultName sets the value of the 'key_vault_name' attribute to the given value.

func (*AzureKmsKeyBuilder) KeyVersion ¶

func (b *AzureKmsKeyBuilder) KeyVersion(value string) *AzureKmsKeyBuilder

KeyVersion sets the value of the 'key_version' attribute to the given value.

type AzureKmsKeyList ¶

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

AzureKmsKeyList is a list of values of the 'azure_kms_key' type.

func (*AzureKmsKeyList) Each ¶

func (l *AzureKmsKeyList) Each(f func(item *AzureKmsKey) 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 (*AzureKmsKeyList) Empty ¶

func (l *AzureKmsKeyList) Empty() bool

Empty returns true if the list is empty.

func (*AzureKmsKeyList) Get ¶

func (l *AzureKmsKeyList) Get(i int) *AzureKmsKey

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureKmsKeyList) Items ¶

func (l *AzureKmsKeyList) Items() []*AzureKmsKey

Items returns the items of the list.

func (*AzureKmsKeyList) Len ¶

func (l *AzureKmsKeyList) Len() int

Len returns the length of the list.

func (*AzureKmsKeyList) Range ¶

func (l *AzureKmsKeyList) Range(f func(index int, item *AzureKmsKey) 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 (*AzureKmsKeyList) SetHREF ¶

func (l *AzureKmsKeyList) SetHREF(href string)

Items sets the items of the list.

func (*AzureKmsKeyList) SetItems ¶

func (l *AzureKmsKeyList) SetItems(items []*AzureKmsKey)

Items sets the items of the list.

func (l *AzureKmsKeyList) SetLink(link bool)

Items sets the items of the list.

func (*AzureKmsKeyList) Slice ¶

func (l *AzureKmsKeyList) Slice() []*AzureKmsKey

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 AzureKmsKeyListBuilder ¶

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

AzureKmsKeyListBuilder contains the data and logic needed to build 'azure_kms_key' objects.

func NewAzureKmsKeyList ¶

func NewAzureKmsKeyList() *AzureKmsKeyListBuilder

NewAzureKmsKeyList creates a new builder of 'azure_kms_key' objects.

func (*AzureKmsKeyListBuilder) Build ¶

func (b *AzureKmsKeyListBuilder) Build() (list *AzureKmsKeyList, err error)

Build creates a list of 'azure_kms_key' objects using the configuration stored in the builder.

func (*AzureKmsKeyListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureKmsKeyListBuilder) Empty ¶

func (b *AzureKmsKeyListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AzureKmsKeyListBuilder) 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 AzureNodePool ¶

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

AzureNodePool represents the values of the 'azure_node_pool' type.

Representation of azure node pool specific parameters.

func ReadAzureNodePool ¶

func ReadAzureNodePool(iterator *jsoniter.Iterator) *AzureNodePool

ReadAzureNodePool reads a value of the 'azure_node_pool' type from the given iterator.

func ReadAzureNodePoolList ¶

func ReadAzureNodePoolList(iterator *jsoniter.Iterator) []*AzureNodePool

ReadAzureNodePoolList reads list of values of the ”azure_node_pool' type from the given iterator.

func UnmarshalAzureNodePool ¶

func UnmarshalAzureNodePool(source interface{}) (object *AzureNodePool, err error)

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

func UnmarshalAzureNodePoolList ¶

func UnmarshalAzureNodePoolList(source interface{}) (items []*AzureNodePool, err error)

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

func (*AzureNodePool) Empty ¶

func (o *AzureNodePool) Empty() bool

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

func (*AzureNodePool) EncryptionAtHost ¶

func (o *AzureNodePool) EncryptionAtHost() *AzureNodePoolEncryptionAtHost

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

EncryptionAtHost contains Encryption At Host disk encryption configuration. When enabled, it enhances Azure Disk Storage Server-Side Encryption to ensure that all temporary disks and disk caches are encrypted at rest and flow encrypted to the Storage clusters. If not specified, Encryption at Host is not enabled. Immutable.

func (*AzureNodePool) GetEncryptionAtHost ¶

func (o *AzureNodePool) GetEncryptionAtHost() (value *AzureNodePoolEncryptionAtHost, ok bool)

GetEncryptionAtHost returns the value of the 'encryption_at_host' attribute and a flag indicating if the attribute has a value.

EncryptionAtHost contains Encryption At Host disk encryption configuration. When enabled, it enhances Azure Disk Storage Server-Side Encryption to ensure that all temporary disks and disk caches are encrypted at rest and flow encrypted to the Storage clusters. If not specified, Encryption at Host is not enabled. Immutable.

func (*AzureNodePool) GetOsDisk ¶ added in v0.0.425

func (o *AzureNodePool) GetOsDisk() (value *AzureNodePoolOsDisk, ok bool)

GetOsDisk returns the value of the 'os_disk' attribute and a flag indicating if the attribute has a value.

The configuration for the OS disk used by the nodes in the Node Pool.

func (*AzureNodePool) GetResourceName ¶

func (o *AzureNodePool) GetResourceName() (value string, ok bool)

GetResourceName returns the value of the 'resource_name' attribute and a flag indicating if the attribute has a value.

ResourceName is the Azure Resource Name of the NodePool. ResourceName must be within the Azure Resource Group Name of the parent Cluster it belongs to. ResourceName must be located in the same Azure Location as the parent Cluster it belongs to. ResourceName must be located in the same Azure Subscription as the parent Cluster it belongs to. ResourceName must belong to the same Microsoft Entra Tenant ID as the parent Cluster it belongs to. Required during creation. Immutable.

func (*AzureNodePool) GetVMSize ¶

func (o *AzureNodePool) GetVMSize() (value string, ok bool)

GetVMSize returns the value of the 'VM_size' attribute and a flag indicating if the attribute has a value.

The Azure Virtual Machine size identifier used for the Nodes of the Node Pool. Availability of VM sizes are dependent on the Azure Location of the parent Cluster. Required during creation.

func (*AzureNodePool) OsDisk ¶ added in v0.0.425

func (o *AzureNodePool) OsDisk() *AzureNodePoolOsDisk

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

The configuration for the OS disk used by the nodes in the Node Pool.

func (*AzureNodePool) ResourceName ¶

func (o *AzureNodePool) 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.

ResourceName is the Azure Resource Name of the NodePool. ResourceName must be within the Azure Resource Group Name of the parent Cluster it belongs to. ResourceName must be located in the same Azure Location as the parent Cluster it belongs to. ResourceName must be located in the same Azure Subscription as the parent Cluster it belongs to. ResourceName must belong to the same Microsoft Entra Tenant ID as the parent Cluster it belongs to. Required during creation. Immutable.

func (*AzureNodePool) VMSize ¶

func (o *AzureNodePool) VMSize() string

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

The Azure Virtual Machine size identifier used for the Nodes of the Node Pool. Availability of VM sizes are dependent on the Azure Location of the parent Cluster. Required during creation.

type AzureNodePoolBuilder ¶

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

Representation of azure node pool specific parameters.

func NewAzureNodePool ¶

func NewAzureNodePool() *AzureNodePoolBuilder

NewAzureNodePool creates a new builder of 'azure_node_pool' objects.

func (*AzureNodePoolBuilder) Build ¶

func (b *AzureNodePoolBuilder) Build() (object *AzureNodePool, err error)

Build creates a 'azure_node_pool' object using the configuration stored in the builder.

func (*AzureNodePoolBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureNodePoolBuilder) Empty ¶

func (b *AzureNodePoolBuilder) Empty() bool

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

func (*AzureNodePoolBuilder) EncryptionAtHost ¶

EncryptionAtHost sets the value of the 'encryption_at_host' attribute to the given value.

AzureNodePoolEncryptionAtHost defines the encryption setting for Encryption At Host. If not specified, Encryption at Host is not enabled.

func (*AzureNodePoolBuilder) OsDisk ¶ added in v0.0.425

OsDisk sets the value of the 'os_disk' attribute to the given value.

Defines the configuration of a Node Pool's OS disk.

func (*AzureNodePoolBuilder) ResourceName ¶

func (b *AzureNodePoolBuilder) ResourceName(value string) *AzureNodePoolBuilder

ResourceName sets the value of the 'resource_name' attribute to the given value.

func (*AzureNodePoolBuilder) VMSize ¶

VMSize sets the value of the 'VM_size' attribute to the given value.

type AzureNodePoolEncryptionAtHost ¶

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

AzureNodePoolEncryptionAtHost represents the values of the 'azure_node_pool_encryption_at_host' type.

AzureNodePoolEncryptionAtHost defines the encryption setting for Encryption At Host. If not specified, Encryption at Host is not enabled.

func ReadAzureNodePoolEncryptionAtHost ¶

func ReadAzureNodePoolEncryptionAtHost(iterator *jsoniter.Iterator) *AzureNodePoolEncryptionAtHost

ReadAzureNodePoolEncryptionAtHost reads a value of the 'azure_node_pool_encryption_at_host' type from the given iterator.

func ReadAzureNodePoolEncryptionAtHostList ¶

func ReadAzureNodePoolEncryptionAtHostList(iterator *jsoniter.Iterator) []*AzureNodePoolEncryptionAtHost

ReadAzureNodePoolEncryptionAtHostList reads list of values of the ”azure_node_pool_encryption_at_host' type from the given iterator.

func UnmarshalAzureNodePoolEncryptionAtHost ¶

func UnmarshalAzureNodePoolEncryptionAtHost(source interface{}) (object *AzureNodePoolEncryptionAtHost, err error)

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

func UnmarshalAzureNodePoolEncryptionAtHostList ¶

func UnmarshalAzureNodePoolEncryptionAtHostList(source interface{}) (items []*AzureNodePoolEncryptionAtHost, err error)

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

func (*AzureNodePoolEncryptionAtHost) Empty ¶

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

func (*AzureNodePoolEncryptionAtHost) GetState ¶

func (o *AzureNodePoolEncryptionAtHost) GetState() (value string, ok bool)

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

State indicates whether Encryption At Host is enabled. When enabled, it enhances Azure Disk Storage Server-Side Encryption to ensure that all temporary disks and disk caches are encrypted at rest and flow encrypted to the Storage clusters. Accepted values are: "disabled" or "enabled". If not specified, its value is "disabled", which indicates Encryption At Host is disabled. Immutable.

func (*AzureNodePoolEncryptionAtHost) State ¶

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

State indicates whether Encryption At Host is enabled. When enabled, it enhances Azure Disk Storage Server-Side Encryption to ensure that all temporary disks and disk caches are encrypted at rest and flow encrypted to the Storage clusters. Accepted values are: "disabled" or "enabled". If not specified, its value is "disabled", which indicates Encryption At Host is disabled. Immutable.

type AzureNodePoolEncryptionAtHostBuilder ¶

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

AzureNodePoolEncryptionAtHost defines the encryption setting for Encryption At Host. If not specified, Encryption at Host is not enabled.

func NewAzureNodePoolEncryptionAtHost ¶

func NewAzureNodePoolEncryptionAtHost() *AzureNodePoolEncryptionAtHostBuilder

NewAzureNodePoolEncryptionAtHost creates a new builder of 'azure_node_pool_encryption_at_host' objects.

func (*AzureNodePoolEncryptionAtHostBuilder) Build ¶

Build creates a 'azure_node_pool_encryption_at_host' object using the configuration stored in the builder.

func (*AzureNodePoolEncryptionAtHostBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureNodePoolEncryptionAtHostBuilder) Empty ¶

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

func (*AzureNodePoolEncryptionAtHostBuilder) State ¶

State sets the value of the 'state' attribute to the given value.

type AzureNodePoolEncryptionAtHostList ¶

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

AzureNodePoolEncryptionAtHostList is a list of values of the 'azure_node_pool_encryption_at_host' type.

func (*AzureNodePoolEncryptionAtHostList) 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 (*AzureNodePoolEncryptionAtHostList) Empty ¶

Empty returns true if the list is empty.

func (*AzureNodePoolEncryptionAtHostList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureNodePoolEncryptionAtHostList) Items ¶

Items returns the items of the list.

func (*AzureNodePoolEncryptionAtHostList) Len ¶

Len returns the length of the list.

func (*AzureNodePoolEncryptionAtHostList) 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 (*AzureNodePoolEncryptionAtHostList) SetHREF ¶

func (l *AzureNodePoolEncryptionAtHostList) SetHREF(href string)

Items sets the items of the list.

func (*AzureNodePoolEncryptionAtHostList) SetItems ¶

Items sets the items of the list.

func (l *AzureNodePoolEncryptionAtHostList) SetLink(link bool)

Items sets the items of the list.

func (*AzureNodePoolEncryptionAtHostList) 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 AzureNodePoolEncryptionAtHostListBuilder ¶

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

AzureNodePoolEncryptionAtHostListBuilder contains the data and logic needed to build 'azure_node_pool_encryption_at_host' objects.

func NewAzureNodePoolEncryptionAtHostList ¶

func NewAzureNodePoolEncryptionAtHostList() *AzureNodePoolEncryptionAtHostListBuilder

NewAzureNodePoolEncryptionAtHostList creates a new builder of 'azure_node_pool_encryption_at_host' objects.

func (*AzureNodePoolEncryptionAtHostListBuilder) Build ¶

Build creates a list of 'azure_node_pool_encryption_at_host' objects using the configuration stored in the builder.

func (*AzureNodePoolEncryptionAtHostListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureNodePoolEncryptionAtHostListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*AzureNodePoolEncryptionAtHostListBuilder) Items ¶

Items sets the items of the list.

type AzureNodePoolList ¶

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

AzureNodePoolList is a list of values of the 'azure_node_pool' type.

func (*AzureNodePoolList) Each ¶

func (l *AzureNodePoolList) Each(f func(item *AzureNodePool) 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 (*AzureNodePoolList) Empty ¶

func (l *AzureNodePoolList) Empty() bool

Empty returns true if the list is empty.

func (*AzureNodePoolList) Get ¶

func (l *AzureNodePoolList) Get(i int) *AzureNodePool

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureNodePoolList) Items ¶

func (l *AzureNodePoolList) Items() []*AzureNodePool

Items returns the items of the list.

func (*AzureNodePoolList) Len ¶

func (l *AzureNodePoolList) Len() int

Len returns the length of the list.

func (*AzureNodePoolList) Range ¶

func (l *AzureNodePoolList) Range(f func(index int, item *AzureNodePool) 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 (*AzureNodePoolList) SetHREF ¶

func (l *AzureNodePoolList) SetHREF(href string)

Items sets the items of the list.

func (*AzureNodePoolList) SetItems ¶

func (l *AzureNodePoolList) SetItems(items []*AzureNodePool)

Items sets the items of the list.

func (l *AzureNodePoolList) SetLink(link bool)

Items sets the items of the list.

func (*AzureNodePoolList) Slice ¶

func (l *AzureNodePoolList) Slice() []*AzureNodePool

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 AzureNodePoolListBuilder ¶

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

AzureNodePoolListBuilder contains the data and logic needed to build 'azure_node_pool' objects.

func NewAzureNodePoolList ¶

func NewAzureNodePoolList() *AzureNodePoolListBuilder

NewAzureNodePoolList creates a new builder of 'azure_node_pool' objects.

func (*AzureNodePoolListBuilder) Build ¶

func (b *AzureNodePoolListBuilder) Build() (list *AzureNodePoolList, err error)

Build creates a list of 'azure_node_pool' objects using the configuration stored in the builder.

func (*AzureNodePoolListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureNodePoolListBuilder) Empty ¶

func (b *AzureNodePoolListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AzureNodePoolListBuilder) Items ¶

Items sets the items of the list.

type AzureNodePoolOsDisk ¶ added in v0.0.425

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

AzureNodePoolOsDisk represents the values of the 'azure_node_pool_os_disk' type.

Defines the configuration of a Node Pool's OS disk.

func ReadAzureNodePoolOsDisk ¶ added in v0.0.425

func ReadAzureNodePoolOsDisk(iterator *jsoniter.Iterator) *AzureNodePoolOsDisk

ReadAzureNodePoolOsDisk reads a value of the 'azure_node_pool_os_disk' type from the given iterator.

func ReadAzureNodePoolOsDiskList ¶ added in v0.0.425

func ReadAzureNodePoolOsDiskList(iterator *jsoniter.Iterator) []*AzureNodePoolOsDisk

ReadAzureNodePoolOsDiskList reads list of values of the ”azure_node_pool_os_disk' type from the given iterator.

func UnmarshalAzureNodePoolOsDisk ¶ added in v0.0.425

func UnmarshalAzureNodePoolOsDisk(source interface{}) (object *AzureNodePoolOsDisk, err error)

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

func UnmarshalAzureNodePoolOsDiskList ¶ added in v0.0.425

func UnmarshalAzureNodePoolOsDiskList(source interface{}) (items []*AzureNodePoolOsDisk, err error)

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

func (*AzureNodePoolOsDisk) Empty ¶ added in v0.0.425

func (o *AzureNodePoolOsDisk) Empty() bool

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

func (*AzureNodePoolOsDisk) GetPersistence ¶ added in v0.0.425

func (o *AzureNodePoolOsDisk) GetPersistence() (value string, ok bool)

GetPersistence returns the value of the 'persistence' attribute and a flag indicating if the attribute has a value.

Specifies the OS Disk persistence for the OS Disks of the Nodes in the Node Pool. Valid values are: * persistent * ephemeral If not specified, Persistent OS Disks are used.

func (*AzureNodePoolOsDisk) GetSizeGibibytes ¶ added in v0.0.425

func (o *AzureNodePoolOsDisk) GetSizeGibibytes() (value int, ok bool)

GetSizeGibibytes returns the value of the 'size_gibibytes' attribute and a flag indicating if the attribute has a value.

The size in GiB to assign to the OS disks of the Nodes in the Node Pool. The property is the number of bytes x 1024^3. If not specified, OS disk size is 64 GiB.

func (*AzureNodePoolOsDisk) GetSseEncryptionSetResourceId ¶ added in v0.0.425

func (o *AzureNodePoolOsDisk) GetSseEncryptionSetResourceId() (value string, ok bool)

GetSseEncryptionSetResourceId returns the value of the 'sse_encryption_set_resource_id' attribute and a flag indicating if the attribute has a value.

The Azure Resource ID of a pre-existing Azure Disk Encryption Set (DES). When provided, Server-Side Encryption (SSE) on the OS Disks of the Nodes of the Node Pool is performed using the provided Disk Encryption Set. It must be located in the same Azure location as the parent Cluster. It must be located in the same Azure Subscription as the parent Cluster. The Azure Resource Group Name specified as part of it must be a different resource group name than the one specified in the parent Cluster's `managed_resource_group_name`. The Azure Resource Group Name specified as part of it can be the same, or a different one than the one specified in the parent Cluster's `resource_group_name`. If not specified, Server-Side Encryption (SSE) on the OS Disks of the Nodes of the Node Pool is performed with platform managed keys.

func (*AzureNodePoolOsDisk) GetStorageAccountType ¶ added in v0.0.425

func (o *AzureNodePoolOsDisk) GetStorageAccountType() (value string, ok bool)

GetStorageAccountType returns the value of the 'storage_account_type' attribute and a flag indicating if the attribute has a value.

The disk storage account type to use for the OS disks of the Nodes in the Node Pool. Valid values are: * Standard_LRS: HDD * StandardSSD_LRS: Standard SSD * Premium_LRS: Premium SDD * UltraSSD_LRS: Ultra SDD

If not specified, `Premium_LRS` is used.

func (*AzureNodePoolOsDisk) Persistence ¶ added in v0.0.425

func (o *AzureNodePoolOsDisk) Persistence() string

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

Specifies the OS Disk persistence for the OS Disks of the Nodes in the Node Pool. Valid values are: * persistent * ephemeral If not specified, Persistent OS Disks are used.

func (*AzureNodePoolOsDisk) SizeGibibytes ¶ added in v0.0.425

func (o *AzureNodePoolOsDisk) SizeGibibytes() int

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

The size in GiB to assign to the OS disks of the Nodes in the Node Pool. The property is the number of bytes x 1024^3. If not specified, OS disk size is 64 GiB.

func (*AzureNodePoolOsDisk) SseEncryptionSetResourceId ¶ added in v0.0.425

func (o *AzureNodePoolOsDisk) SseEncryptionSetResourceId() string

SseEncryptionSetResourceId returns the value of the 'sse_encryption_set_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 Disk Encryption Set (DES). When provided, Server-Side Encryption (SSE) on the OS Disks of the Nodes of the Node Pool is performed using the provided Disk Encryption Set. It must be located in the same Azure location as the parent Cluster. It must be located in the same Azure Subscription as the parent Cluster. The Azure Resource Group Name specified as part of it must be a different resource group name than the one specified in the parent Cluster's `managed_resource_group_name`. The Azure Resource Group Name specified as part of it can be the same, or a different one than the one specified in the parent Cluster's `resource_group_name`. If not specified, Server-Side Encryption (SSE) on the OS Disks of the Nodes of the Node Pool is performed with platform managed keys.

func (*AzureNodePoolOsDisk) StorageAccountType ¶ added in v0.0.425

func (o *AzureNodePoolOsDisk) StorageAccountType() string

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

The disk storage account type to use for the OS disks of the Nodes in the Node Pool. Valid values are: * Standard_LRS: HDD * StandardSSD_LRS: Standard SSD * Premium_LRS: Premium SDD * UltraSSD_LRS: Ultra SDD

If not specified, `Premium_LRS` is used.

type AzureNodePoolOsDiskBuilder ¶ added in v0.0.425

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

Defines the configuration of a Node Pool's OS disk.

func NewAzureNodePoolOsDisk ¶ added in v0.0.425

func NewAzureNodePoolOsDisk() *AzureNodePoolOsDiskBuilder

NewAzureNodePoolOsDisk creates a new builder of 'azure_node_pool_os_disk' objects.

func (*AzureNodePoolOsDiskBuilder) Build ¶ added in v0.0.425

func (b *AzureNodePoolOsDiskBuilder) Build() (object *AzureNodePoolOsDisk, err error)

Build creates a 'azure_node_pool_os_disk' object using the configuration stored in the builder.

func (*AzureNodePoolOsDiskBuilder) Copy ¶ added in v0.0.425

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AzureNodePoolOsDiskBuilder) Empty ¶ added in v0.0.425

func (b *AzureNodePoolOsDiskBuilder) Empty() bool

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

func (*AzureNodePoolOsDiskBuilder) Persistence ¶ added in v0.0.425

Persistence sets the value of the 'persistence' attribute to the given value.

func (*AzureNodePoolOsDiskBuilder) SizeGibibytes ¶ added in v0.0.425

SizeGibibytes sets the value of the 'size_gibibytes' attribute to the given value.

func (*AzureNodePoolOsDiskBuilder) SseEncryptionSetResourceId ¶ added in v0.0.425

func (b *AzureNodePoolOsDiskBuilder) SseEncryptionSetResourceId(value string) *AzureNodePoolOsDiskBuilder

SseEncryptionSetResourceId sets the value of the 'sse_encryption_set_resource_id' attribute to the given value.

func (*AzureNodePoolOsDiskBuilder) StorageAccountType ¶ added in v0.0.425

func (b *AzureNodePoolOsDiskBuilder) StorageAccountType(value string) *AzureNodePoolOsDiskBuilder

StorageAccountType sets the value of the 'storage_account_type' attribute to the given value.

type AzureNodePoolOsDiskList ¶ added in v0.0.425

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

AzureNodePoolOsDiskList is a list of values of the 'azure_node_pool_os_disk' type.

func (*AzureNodePoolOsDiskList) Each ¶ added in v0.0.425

func (l *AzureNodePoolOsDiskList) Each(f func(item *AzureNodePoolOsDisk) 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 (*AzureNodePoolOsDiskList) Empty ¶ added in v0.0.425

func (l *AzureNodePoolOsDiskList) Empty() bool

Empty returns true if the list is empty.

func (*AzureNodePoolOsDiskList) Get ¶ added in v0.0.425

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AzureNodePoolOsDiskList) Items ¶ added in v0.0.425

Items returns the items of the list.

func (*AzureNodePoolOsDiskList) Len ¶ added in v0.0.425

func (l *AzureNodePoolOsDiskList) Len() int

Len returns the length of the list.

func (*AzureNodePoolOsDiskList) Range ¶ added in v0.0.425

func (l *AzureNodePoolOsDiskList) Range(f func(index int, item *AzureNodePoolOsDisk) 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 (*AzureNodePoolOsDiskList) SetHREF ¶ added in v0.0.425

func (l *AzureNodePoolOsDiskList) SetHREF(href string)

Items sets the items of the list.

func (*AzureNodePoolOsDiskList) SetItems ¶ added in v0.0.425

func (l *AzureNodePoolOsDiskList) SetItems(items []*AzureNodePoolOsDisk)

Items sets the items of the list.

func (l *AzureNodePoolOsDiskList) SetLink(link bool)

Items sets the items of the list.

func (*AzureNodePoolOsDiskList) Slice ¶ added in v0.0.425

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 AzureNodePoolOsDiskListBuilder ¶ added in v0.0.425

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

AzureNodePoolOsDiskListBuilder contains the data and logic needed to build 'azure_node_pool_os_disk' objects.

func NewAzureNodePoolOsDiskList ¶ added in v0.0.425

func NewAzureNodePoolOsDiskList() *AzureNodePoolOsDiskListBuilder

NewAzureNodePoolOsDiskList creates a new builder of 'azure_node_pool_os_disk' objects.

func (*AzureNodePoolOsDiskListBuilder) Build ¶ added in v0.0.425

Build creates a list of 'azure_node_pool_os_disk' objects using the configuration stored in the builder.

func (*AzureNodePoolOsDiskListBuilder) Copy ¶ added in v0.0.425

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureNodePoolOsDiskListBuilder) Empty ¶ added in v0.0.425

Empty returns true if the list is empty.

func (*AzureNodePoolOsDiskListBuilder) Items ¶ added in v0.0.425

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
}

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
}

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
}

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
}

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
}

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
}

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 CIDRBlockAccess ¶ added in v0.0.429

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

CIDRBlockAccess represents the values of the 'CIDR_block_access' type.

Describes the CIDR Block access policy to the Kubernetes API server. Currently, only supported for ARO-HCP based clusters. The default policy mode is "allow_all" that is, all access is allowed.

func ReadCIDRBlockAccess ¶ added in v0.0.429

func ReadCIDRBlockAccess(iterator *jsoniter.Iterator) *CIDRBlockAccess

ReadCIDRBlockAccess reads a value of the 'CIDR_block_access' type from the given iterator.

func ReadCIDRBlockAccessList ¶ added in v0.0.429

func ReadCIDRBlockAccessList(iterator *jsoniter.Iterator) []*CIDRBlockAccess

ReadCIDRBlockAccessList reads list of values of the ”CIDR_block_access' type from the given iterator.

func UnmarshalCIDRBlockAccess ¶ added in v0.0.429

func UnmarshalCIDRBlockAccess(source interface{}) (object *CIDRBlockAccess, err error)

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

func UnmarshalCIDRBlockAccessList ¶ added in v0.0.429

func UnmarshalCIDRBlockAccessList(source interface{}) (items []*CIDRBlockAccess, err error)

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

func (*CIDRBlockAccess) Allow ¶ added in v0.0.429

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

func (*CIDRBlockAccess) Empty ¶ added in v0.0.429

func (o *CIDRBlockAccess) Empty() bool

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

func (*CIDRBlockAccess) GetAllow ¶ added in v0.0.429

func (o *CIDRBlockAccess) GetAllow() (value *CIDRBlockAllowAccess, ok bool)

GetAllow returns the value of the 'allow' attribute and a flag indicating if the attribute has a value.

type CIDRBlockAccessBuilder ¶ added in v0.0.429

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

Describes the CIDR Block access policy to the Kubernetes API server. Currently, only supported for ARO-HCP based clusters. The default policy mode is "allow_all" that is, all access is allowed.

func NewCIDRBlockAccess ¶ added in v0.0.429

func NewCIDRBlockAccess() *CIDRBlockAccessBuilder

NewCIDRBlockAccess creates a new builder of 'CIDR_block_access' objects.

func (*CIDRBlockAccessBuilder) Allow ¶ added in v0.0.429

Allow sets the value of the 'allow' attribute to the given value.

func (*CIDRBlockAccessBuilder) Build ¶ added in v0.0.429

func (b *CIDRBlockAccessBuilder) Build() (object *CIDRBlockAccess, err error)

Build creates a 'CIDR_block_access' object using the configuration stored in the builder.

func (*CIDRBlockAccessBuilder) Copy ¶ added in v0.0.429

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CIDRBlockAccessBuilder) Empty ¶ added in v0.0.429

func (b *CIDRBlockAccessBuilder) Empty() bool

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

type CIDRBlockAccessList ¶ added in v0.0.429

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

CIDRBlockAccessList is a list of values of the 'CIDR_block_access' type.

func (*CIDRBlockAccessList) Each ¶ added in v0.0.429

func (l *CIDRBlockAccessList) Each(f func(item *CIDRBlockAccess) 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 (*CIDRBlockAccessList) Empty ¶ added in v0.0.429

func (l *CIDRBlockAccessList) Empty() bool

Empty returns true if the list is empty.

func (*CIDRBlockAccessList) Get ¶ added in v0.0.429

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*CIDRBlockAccessList) Items ¶ added in v0.0.429

func (l *CIDRBlockAccessList) Items() []*CIDRBlockAccess

Items returns the items of the list.

func (*CIDRBlockAccessList) Len ¶ added in v0.0.429

func (l *CIDRBlockAccessList) Len() int

Len returns the length of the list.

func (*CIDRBlockAccessList) Range ¶ added in v0.0.429

func (l *CIDRBlockAccessList) Range(f func(index int, item *CIDRBlockAccess) 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 (*CIDRBlockAccessList) SetHREF ¶ added in v0.0.429

func (l *CIDRBlockAccessList) SetHREF(href string)

Items sets the items of the list.

func (*CIDRBlockAccessList) SetItems ¶ added in v0.0.429

func (l *CIDRBlockAccessList) SetItems(items []*CIDRBlockAccess)

Items sets the items of the list.

func (l *CIDRBlockAccessList) SetLink(link bool)

Items sets the items of the list.

func (*CIDRBlockAccessList) Slice ¶ added in v0.0.429

func (l *CIDRBlockAccessList) Slice() []*CIDRBlockAccess

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 CIDRBlockAccessListBuilder ¶ added in v0.0.429

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

CIDRBlockAccessListBuilder contains the data and logic needed to build 'CIDR_block_access' objects.

func NewCIDRBlockAccessList ¶ added in v0.0.429

func NewCIDRBlockAccessList() *CIDRBlockAccessListBuilder

NewCIDRBlockAccessList creates a new builder of 'CIDR_block_access' objects.

func (*CIDRBlockAccessListBuilder) Build ¶ added in v0.0.429

func (b *CIDRBlockAccessListBuilder) Build() (list *CIDRBlockAccessList, err error)

Build creates a list of 'CIDR_block_access' objects using the configuration stored in the builder.

func (*CIDRBlockAccessListBuilder) Copy ¶ added in v0.0.429

Copy copies the items of the given list into this builder, discarding any previous items.

func (*CIDRBlockAccessListBuilder) Empty ¶ added in v0.0.429

func (b *CIDRBlockAccessListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*CIDRBlockAccessListBuilder) Items ¶ added in v0.0.429

Items sets the items of the list.

type CIDRBlockAllowAccess ¶ added in v0.0.429

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

CIDRBlockAllowAccess represents the values of the 'CIDR_block_allow_access' type.

func ReadCIDRBlockAllowAccess ¶ added in v0.0.429

func ReadCIDRBlockAllowAccess(iterator *jsoniter.Iterator) *CIDRBlockAllowAccess

ReadCIDRBlockAllowAccess reads a value of the 'CIDR_block_allow_access' type from the given iterator.

func ReadCIDRBlockAllowAccessList ¶ added in v0.0.429

func ReadCIDRBlockAllowAccessList(iterator *jsoniter.Iterator) []*CIDRBlockAllowAccess

ReadCIDRBlockAllowAccessList reads list of values of the ”CIDR_block_allow_access' type from the given iterator.

func UnmarshalCIDRBlockAllowAccess ¶ added in v0.0.429

func UnmarshalCIDRBlockAllowAccess(source interface{}) (object *CIDRBlockAllowAccess, err error)

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

func UnmarshalCIDRBlockAllowAccessList ¶ added in v0.0.429

func UnmarshalCIDRBlockAllowAccessList(source interface{}) (items []*CIDRBlockAllowAccess, err error)

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

func (*CIDRBlockAllowAccess) Empty ¶ added in v0.0.429

func (o *CIDRBlockAllowAccess) Empty() bool

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

func (*CIDRBlockAllowAccess) GetMode ¶ added in v0.0.429

func (o *CIDRBlockAllowAccess) GetMode() (value string, ok bool)

GetMode returns the value of the 'mode' attribute and a flag indicating if the attribute has a value.

There are two modes: "allow_all" and "allow_list"; if "allow_list" is provided than a non-empty 'values' list must be provided. Otherwise, if "allow_all" is provided then 'values' list should be omitted.

func (*CIDRBlockAllowAccess) GetValues ¶ added in v0.0.429

func (o *CIDRBlockAllowAccess) GetValues() (value []string, ok bool)

GetValues returns the value of the 'values' attribute and a flag indicating if the attribute has a value.

The 'values' list should contain a CIDR block list (An IPV4 address range in the format `<ipv4_address>/<network_mask>`). The maximum number of CIDR blocks supported is 500. The CIDR blocks should be non-overlapping and valid. The value "0.0.0.0/0" is not considered a valid value, as the user can use "allow_all" mode to indicate this behavior. The values should not contain the set of Private IP address ranges.

func (*CIDRBlockAllowAccess) Mode ¶ added in v0.0.429

func (o *CIDRBlockAllowAccess) Mode() string

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

There are two modes: "allow_all" and "allow_list"; if "allow_list" is provided than a non-empty 'values' list must be provided. Otherwise, if "allow_all" is provided then 'values' list should be omitted.

func (*CIDRBlockAllowAccess) Values ¶ added in v0.0.429

func (o *CIDRBlockAllowAccess) Values() []string

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

The 'values' list should contain a CIDR block list (An IPV4 address range in the format `<ipv4_address>/<network_mask>`). The maximum number of CIDR blocks supported is 500. The CIDR blocks should be non-overlapping and valid. The value "0.0.0.0/0" is not considered a valid value, as the user can use "allow_all" mode to indicate this behavior. The values should not contain the set of Private IP address ranges.

type CIDRBlockAllowAccessBuilder ¶ added in v0.0.429

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

func NewCIDRBlockAllowAccess ¶ added in v0.0.429

func NewCIDRBlockAllowAccess() *CIDRBlockAllowAccessBuilder

NewCIDRBlockAllowAccess creates a new builder of 'CIDR_block_allow_access' objects.

func (*CIDRBlockAllowAccessBuilder) Build ¶ added in v0.0.429

func (b *CIDRBlockAllowAccessBuilder) Build() (object *CIDRBlockAllowAccess, err error)

Build creates a 'CIDR_block_allow_access' object using the configuration stored in the builder.

func (*CIDRBlockAllowAccessBuilder) Copy ¶ added in v0.0.429

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CIDRBlockAllowAccessBuilder) Empty ¶ added in v0.0.429

func (b *CIDRBlockAllowAccessBuilder) Empty() bool

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

func (*CIDRBlockAllowAccessBuilder) Mode ¶ added in v0.0.429

Mode sets the value of the 'mode' attribute to the given value.

func (*CIDRBlockAllowAccessBuilder) Values ¶ added in v0.0.429

Values sets the value of the 'values' attribute to the given values.

type CIDRBlockAllowAccessList ¶ added in v0.0.429

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

CIDRBlockAllowAccessList is a list of values of the 'CIDR_block_allow_access' type.

func (*CIDRBlockAllowAccessList) Each ¶ added in v0.0.429

func (l *CIDRBlockAllowAccessList) Each(f func(item *CIDRBlockAllowAccess) 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 (*CIDRBlockAllowAccessList) Empty ¶ added in v0.0.429

func (l *CIDRBlockAllowAccessList) Empty() bool

Empty returns true if the list is empty.

func (*CIDRBlockAllowAccessList) Get ¶ added in v0.0.429

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*CIDRBlockAllowAccessList) Items ¶ added in v0.0.429

Items returns the items of the list.

func (*CIDRBlockAllowAccessList) Len ¶ added in v0.0.429

func (l *CIDRBlockAllowAccessList) Len() int

Len returns the length of the list.

func (*CIDRBlockAllowAccessList) Range ¶ added in v0.0.429

func (l *CIDRBlockAllowAccessList) Range(f func(index int, item *CIDRBlockAllowAccess) 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 (*CIDRBlockAllowAccessList) SetHREF ¶ added in v0.0.429

func (l *CIDRBlockAllowAccessList) SetHREF(href string)

Items sets the items of the list.

func (*CIDRBlockAllowAccessList) SetItems ¶ added in v0.0.429

func (l *CIDRBlockAllowAccessList) SetItems(items []*CIDRBlockAllowAccess)

Items sets the items of the list.

func (l *CIDRBlockAllowAccessList) SetLink(link bool)

Items sets the items of the list.

func (*CIDRBlockAllowAccessList) Slice ¶ added in v0.0.429

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 CIDRBlockAllowAccessListBuilder ¶ added in v0.0.429

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

CIDRBlockAllowAccessListBuilder contains the data and logic needed to build 'CIDR_block_allow_access' objects.

func NewCIDRBlockAllowAccessList ¶ added in v0.0.429

func NewCIDRBlockAllowAccessList() *CIDRBlockAllowAccessListBuilder

NewCIDRBlockAllowAccessList creates a new builder of 'CIDR_block_allow_access' objects.

func (*CIDRBlockAllowAccessListBuilder) Build ¶ added in v0.0.429

Build creates a list of 'CIDR_block_allow_access' objects using the configuration stored in the builder.

func (*CIDRBlockAllowAccessListBuilder) Copy ¶ added in v0.0.429

Copy copies the items of the given list into this builder, discarding any previous items.

func (*CIDRBlockAllowAccessListBuilder) Empty ¶ added in v0.0.429

Empty returns true if the list is empty.

func (*CIDRBlockAllowAccessListBuilder) Items ¶ added in v0.0.429

Items sets the items of the list.

type ClientComponent ¶

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

ClientComponent represents the values of the 'client_component' type.

The reference of a component that will consume the client configuration.

func ReadClientComponent ¶

func ReadClientComponent(iterator *jsoniter.Iterator) *ClientComponent

ReadClientComponent reads a value of the 'client_component' type from the given iterator.

func ReadClientComponentList ¶

func ReadClientComponentList(iterator *jsoniter.Iterator) []*ClientComponent

ReadClientComponentList reads list of values of the ”client_component' type from the given iterator.

func UnmarshalClientComponent ¶

func UnmarshalClientComponent(source interface{}) (object *ClientComponent, err error)

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

func UnmarshalClientComponentList ¶

func UnmarshalClientComponentList(source interface{}) (items []*ClientComponent, err error)

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

func (*ClientComponent) Empty ¶

func (o *ClientComponent) Empty() bool

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

func (*ClientComponent) GetName ¶

func (o *ClientComponent) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

The name of the component.

func (*ClientComponent) GetNamespace ¶

func (o *ClientComponent) GetNamespace() (value string, ok bool)

GetNamespace returns the value of the 'namespace' attribute and a flag indicating if the attribute has a value.

The namespace of the component.

func (*ClientComponent) Name ¶

func (o *ClientComponent) 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.

The name of the component.

func (*ClientComponent) Namespace ¶

func (o *ClientComponent) 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.

The namespace of the component.

type ClientComponentBuilder ¶

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

The reference of a component that will consume the client configuration.

func NewClientComponent ¶

func NewClientComponent() *ClientComponentBuilder

NewClientComponent creates a new builder of 'client_component' objects.

func (*ClientComponentBuilder) Build ¶

func (b *ClientComponentBuilder) Build() (object *ClientComponent, err error)

Build creates a 'client_component' object using the configuration stored in the builder.

func (*ClientComponentBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClientComponentBuilder) Empty ¶

func (b *ClientComponentBuilder) Empty() bool

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

func (*ClientComponentBuilder) Name ¶

Name sets the value of the 'name' attribute to the given value.

func (*ClientComponentBuilder) Namespace ¶

Namespace sets the value of the 'namespace' attribute to the given value.

type ClientComponentList ¶

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

ClientComponentList is a list of values of the 'client_component' type.

func (*ClientComponentList) Each ¶

func (l *ClientComponentList) Each(f func(item *ClientComponent) 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 (*ClientComponentList) Empty ¶

func (l *ClientComponentList) Empty() bool

Empty returns true if the list is empty.

func (*ClientComponentList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClientComponentList) Items ¶

func (l *ClientComponentList) Items() []*ClientComponent

Items returns the items of the list.

func (*ClientComponentList) Len ¶

func (l *ClientComponentList) Len() int

Len returns the length of the list.

func (*ClientComponentList) Range ¶

func (l *ClientComponentList) Range(f func(index int, item *ClientComponent) 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 (*ClientComponentList) SetHREF ¶

func (l *ClientComponentList) SetHREF(href string)

Items sets the items of the list.

func (*ClientComponentList) SetItems ¶

func (l *ClientComponentList) SetItems(items []*ClientComponent)

Items sets the items of the list.

func (l *ClientComponentList) SetLink(link bool)

Items sets the items of the list.

func (*ClientComponentList) Slice ¶

func (l *ClientComponentList) Slice() []*ClientComponent

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 ClientComponentListBuilder ¶

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

ClientComponentListBuilder contains the data and logic needed to build 'client_component' objects.

func NewClientComponentList ¶

func NewClientComponentList() *ClientComponentListBuilder

NewClientComponentList creates a new builder of 'client_component' objects.

func (*ClientComponentListBuilder) Build ¶

func (b *ClientComponentListBuilder) Build() (list *ClientComponentList, err error)

Build creates a list of 'client_component' objects using the configuration stored in the builder.

func (*ClientComponentListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClientComponentListBuilder) Empty ¶

func (b *ClientComponentListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClientComponentListBuilder) Items ¶

Items sets the items of the list.

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
}

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) AutoNode ¶ added in v0.0.429

func (o *Cluster) AutoNode() *ClusterAutoNode

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

The AutoNode settings for this cluster. This is currently only supported for ROSA HCP

func (*Cluster) Autoscaler ¶

func (o *Cluster) Autoscaler() *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. For ARO-HCP Clusters, this is a readonly attribute, always set to true.

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.

For ROSA HCP, if this is not specified, external authentication configuration will be disabled by default For ARO HCP, if this is not specified, external authentication configuration will be enabled by default

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) GetAutoNode ¶ added in v0.0.429

func (o *Cluster) GetAutoNode() (value *ClusterAutoNode, ok bool)

GetAutoNode returns the value of the 'auto_node' attribute and a flag indicating if the attribute has a value.

The AutoNode settings for this cluster. This is currently only supported for ROSA HCP

func (*Cluster) GetAutoscaler ¶

func (o *Cluster) GetAutoscaler() (value *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. For ARO-HCP Clusters, this is a readonly attribute, always set to true.

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.

For ROSA HCP, if this is not specified, external authentication configuration will be disabled by default For ARO HCP, if this is not specified, external authentication configuration will be enabled by default

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) GetImageRegistry ¶

func (o *Cluster) GetImageRegistry() (value *ClusterImageRegistry, ok bool)

GetImageRegistry returns the value of the 'image_registry' attribute and a flag indicating if the attribute has a value.

The OpenShift Image Registry configuration It provides an internal, integrated container image registry to locally manage images. For non ARO-HCP clusters, it is readonly and always enabled

func (*Cluster) GetInflightChecks ¶

func (o *Cluster) GetInflightChecks() (value *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. For ARO-HCP Clusters, this attribute is unused, and the control plane is deployed in multiple availability zones when the Azure region where it is deployed supports multiple availability zones.

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 *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.

External 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 *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) ImageRegistry ¶

func (o *Cluster) ImageRegistry() *ClusterImageRegistry

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

The OpenShift Image Registry configuration It provides an internal, integrated container image registry to locally manage images. For non ARO-HCP clusters, it is readonly and always enabled

func (*Cluster) InflightChecks ¶

func (o *Cluster) InflightChecks() *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. For ARO-HCP Clusters, this attribute is unused, and the control plane is deployed in multiple availability zones when the Azure region where it is deployed supports multiple availability zones.

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() *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.

External 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() *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) CIDRBlockAccess ¶ added in v0.0.429

func (o *ClusterAPI) CIDRBlockAccess() *CIDRBlockAccess

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

Describes the CIDR Block access policy to the Kubernetes API server.

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) GetCIDRBlockAccess ¶ added in v0.0.429

func (o *ClusterAPI) GetCIDRBlockAccess() (value *CIDRBlockAccess, ok bool)

GetCIDRBlockAccess returns the value of the 'CIDR_block_access' attribute and a flag indicating if the attribute has a value.

Describes the CIDR Block access policy to the Kubernetes API server.

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
}

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) CIDRBlockAccess ¶ added in v0.0.429

func (b *ClusterAPIBuilder) CIDRBlockAccess(value *CIDRBlockAccessBuilder) *ClusterAPIBuilder

CIDRBlockAccess sets the value of the 'CIDR_block_access' attribute to the given value.

Describes the CIDR Block access policy to the Kubernetes API server. Currently, only supported for ARO-HCP based clusters. The default policy mode is "allow_all" that is, all access is allowed.

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 ClusterAutoNode ¶ added in v0.0.429

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

ClusterAutoNode represents the values of the 'cluster_auto_node' type.

The AutoNode configuration for the Cluster.

func ReadClusterAutoNode ¶ added in v0.0.429

func ReadClusterAutoNode(iterator *jsoniter.Iterator) *ClusterAutoNode

ReadClusterAutoNode reads a value of the 'cluster_auto_node' type from the given iterator.

func ReadClusterAutoNodeList ¶ added in v0.0.429

func ReadClusterAutoNodeList(iterator *jsoniter.Iterator) []*ClusterAutoNode

ReadClusterAutoNodeList reads list of values of the ”cluster_auto_node' type from the given iterator.

func UnmarshalClusterAutoNode ¶ added in v0.0.429

func UnmarshalClusterAutoNode(source interface{}) (object *ClusterAutoNode, err error)

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

func UnmarshalClusterAutoNodeList ¶ added in v0.0.429

func UnmarshalClusterAutoNodeList(source interface{}) (items []*ClusterAutoNode, err error)

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

func (*ClusterAutoNode) Empty ¶ added in v0.0.429

func (o *ClusterAutoNode) Empty() bool

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

func (*ClusterAutoNode) GetMode ¶ added in v0.0.429

func (o *ClusterAutoNode) GetMode() (value string, ok bool)

GetMode returns the value of the 'mode' attribute and a flag indicating if the attribute has a value.

Mode indicates the current state of AutoNode on this cluster. Valid values: "enabled", "disabled".

func (*ClusterAutoNode) GetStatus ¶ added in v0.0.429

func (o *ClusterAutoNode) GetStatus() (value *ClusterAutoNodeStatus, ok bool)

GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.

func (*ClusterAutoNode) Mode ¶ added in v0.0.429

func (o *ClusterAutoNode) Mode() string

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

Mode indicates the current state of AutoNode on this cluster. Valid values: "enabled", "disabled".

func (*ClusterAutoNode) Status ¶ added in v0.0.429

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

type ClusterAutoNodeBuilder ¶ added in v0.0.429

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

The AutoNode configuration for the Cluster.

func NewClusterAutoNode ¶ added in v0.0.429

func NewClusterAutoNode() *ClusterAutoNodeBuilder

NewClusterAutoNode creates a new builder of 'cluster_auto_node' objects.

func (*ClusterAutoNodeBuilder) Build ¶ added in v0.0.429

func (b *ClusterAutoNodeBuilder) Build() (object *ClusterAutoNode, err error)

Build creates a 'cluster_auto_node' object using the configuration stored in the builder.

func (*ClusterAutoNodeBuilder) Copy ¶ added in v0.0.429

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterAutoNodeBuilder) Empty ¶ added in v0.0.429

func (b *ClusterAutoNodeBuilder) Empty() bool

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

func (*ClusterAutoNodeBuilder) Mode ¶ added in v0.0.429

Mode sets the value of the 'mode' attribute to the given value.

func (*ClusterAutoNodeBuilder) Status ¶ added in v0.0.429

Status sets the value of the 'status' attribute to the given value.

Additional status information on the AutoNode configuration on this Cluster

type ClusterAutoNodeList ¶ added in v0.0.429

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

ClusterAutoNodeList is a list of values of the 'cluster_auto_node' type.

func (*ClusterAutoNodeList) Each ¶ added in v0.0.429

func (l *ClusterAutoNodeList) Each(f func(item *ClusterAutoNode) 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 (*ClusterAutoNodeList) Empty ¶ added in v0.0.429

func (l *ClusterAutoNodeList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterAutoNodeList) Get ¶ added in v0.0.429

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterAutoNodeList) Items ¶ added in v0.0.429

func (l *ClusterAutoNodeList) Items() []*ClusterAutoNode

Items returns the items of the list.

func (*ClusterAutoNodeList) Len ¶ added in v0.0.429

func (l *ClusterAutoNodeList) Len() int

Len returns the length of the list.

func (*ClusterAutoNodeList) Range ¶ added in v0.0.429

func (l *ClusterAutoNodeList) Range(f func(index int, item *ClusterAutoNode) 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 (*ClusterAutoNodeList) SetHREF ¶ added in v0.0.429

func (l *ClusterAutoNodeList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterAutoNodeList) SetItems ¶ added in v0.0.429

func (l *ClusterAutoNodeList) SetItems(items []*ClusterAutoNode)

Items sets the items of the list.

func (l *ClusterAutoNodeList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterAutoNodeList) Slice ¶ added in v0.0.429

func (l *ClusterAutoNodeList) Slice() []*ClusterAutoNode

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 ClusterAutoNodeListBuilder ¶ added in v0.0.429

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

ClusterAutoNodeListBuilder contains the data and logic needed to build 'cluster_auto_node' objects.

func NewClusterAutoNodeList ¶ added in v0.0.429

func NewClusterAutoNodeList() *ClusterAutoNodeListBuilder

NewClusterAutoNodeList creates a new builder of 'cluster_auto_node' objects.

func (*ClusterAutoNodeListBuilder) Build ¶ added in v0.0.429

func (b *ClusterAutoNodeListBuilder) Build() (list *ClusterAutoNodeList, err error)

Build creates a list of 'cluster_auto_node' objects using the configuration stored in the builder.

func (*ClusterAutoNodeListBuilder) Copy ¶ added in v0.0.429

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterAutoNodeListBuilder) Empty ¶ added in v0.0.429

func (b *ClusterAutoNodeListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterAutoNodeListBuilder) Items ¶ added in v0.0.429

Items sets the items of the list.

type ClusterAutoNodeStatus ¶ added in v0.0.429

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

ClusterAutoNodeStatus represents the values of the 'cluster_auto_node_status' type.

Additional status information on the AutoNode configuration on this Cluster

func ReadClusterAutoNodeStatus ¶ added in v0.0.429

func ReadClusterAutoNodeStatus(iterator *jsoniter.Iterator) *ClusterAutoNodeStatus

ReadClusterAutoNodeStatus reads a value of the 'cluster_auto_node_status' type from the given iterator.

func ReadClusterAutoNodeStatusList ¶ added in v0.0.429

func ReadClusterAutoNodeStatusList(iterator *jsoniter.Iterator) []*ClusterAutoNodeStatus

ReadClusterAutoNodeStatusList reads list of values of the ”cluster_auto_node_status' type from the given iterator.

func UnmarshalClusterAutoNodeStatus ¶ added in v0.0.429

func UnmarshalClusterAutoNodeStatus(source interface{}) (object *ClusterAutoNodeStatus, err error)

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

func UnmarshalClusterAutoNodeStatusList ¶ added in v0.0.429

func UnmarshalClusterAutoNodeStatusList(source interface{}) (items []*ClusterAutoNodeStatus, err error)

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

func (*ClusterAutoNodeStatus) Empty ¶ added in v0.0.429

func (o *ClusterAutoNodeStatus) Empty() bool

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

func (*ClusterAutoNodeStatus) GetMessage ¶ added in v0.0.429

func (o *ClusterAutoNodeStatus) GetMessage() (value string, ok bool)

GetMessage returns the value of the 'message' attribute and a flag indicating if the attribute has a value.

Messages relating to the status of the AutoNode installation on this Cluster

func (*ClusterAutoNodeStatus) Message ¶ added in v0.0.429

func (o *ClusterAutoNodeStatus) Message() string

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

Messages relating to the status of the AutoNode installation on this Cluster

type ClusterAutoNodeStatusBuilder ¶ added in v0.0.429

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

Additional status information on the AutoNode configuration on this Cluster

func NewClusterAutoNodeStatus ¶ added in v0.0.429

func NewClusterAutoNodeStatus() *ClusterAutoNodeStatusBuilder

NewClusterAutoNodeStatus creates a new builder of 'cluster_auto_node_status' objects.

func (*ClusterAutoNodeStatusBuilder) Build ¶ added in v0.0.429

func (b *ClusterAutoNodeStatusBuilder) Build() (object *ClusterAutoNodeStatus, err error)

Build creates a 'cluster_auto_node_status' object using the configuration stored in the builder.

func (*ClusterAutoNodeStatusBuilder) Copy ¶ added in v0.0.429

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterAutoNodeStatusBuilder) Empty ¶ added in v0.0.429

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

func (*ClusterAutoNodeStatusBuilder) Message ¶ added in v0.0.429

Message sets the value of the 'message' attribute to the given value.

type ClusterAutoNodeStatusList ¶ added in v0.0.429

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

ClusterAutoNodeStatusList is a list of values of the 'cluster_auto_node_status' type.

func (*ClusterAutoNodeStatusList) Each ¶ added in v0.0.429

func (l *ClusterAutoNodeStatusList) Each(f func(item *ClusterAutoNodeStatus) 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 (*ClusterAutoNodeStatusList) Empty ¶ added in v0.0.429

func (l *ClusterAutoNodeStatusList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterAutoNodeStatusList) Get ¶ added in v0.0.429

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterAutoNodeStatusList) Items ¶ added in v0.0.429

Items returns the items of the list.

func (*ClusterAutoNodeStatusList) Len ¶ added in v0.0.429

func (l *ClusterAutoNodeStatusList) Len() int

Len returns the length of the list.

func (*ClusterAutoNodeStatusList) Range ¶ added in v0.0.429

func (l *ClusterAutoNodeStatusList) Range(f func(index int, item *ClusterAutoNodeStatus) 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 (*ClusterAutoNodeStatusList) SetHREF ¶ added in v0.0.429

func (l *ClusterAutoNodeStatusList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterAutoNodeStatusList) SetItems ¶ added in v0.0.429

func (l *ClusterAutoNodeStatusList) SetItems(items []*ClusterAutoNodeStatus)

Items sets the items of the list.

func (l *ClusterAutoNodeStatusList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterAutoNodeStatusList) Slice ¶ added in v0.0.429

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 ClusterAutoNodeStatusListBuilder ¶ added in v0.0.429

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

ClusterAutoNodeStatusListBuilder contains the data and logic needed to build 'cluster_auto_node_status' objects.

func NewClusterAutoNodeStatusList ¶ added in v0.0.429

func NewClusterAutoNodeStatusList() *ClusterAutoNodeStatusListBuilder

NewClusterAutoNodeStatusList creates a new builder of 'cluster_auto_node_status' objects.

func (*ClusterAutoNodeStatusListBuilder) Build ¶ added in v0.0.429

Build creates a list of 'cluster_auto_node_status' objects using the configuration stored in the builder.

func (*ClusterAutoNodeStatusListBuilder) Copy ¶ added in v0.0.429

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterAutoNodeStatusListBuilder) Empty ¶ added in v0.0.429

Empty returns true if the list is empty.

func (*ClusterAutoNodeStatusListBuilder) Items ¶ added in v0.0.429

Items sets the items of the list.

type ClusterAutoscaler ¶ added in v0.0.430

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

ClusterAutoscaler represents the values of the 'cluster_autoscaler' type.

Cluster-wide autoscaling configuration.

func ReadClusterAutoscaler ¶ added in v0.0.430

func ReadClusterAutoscaler(iterator *jsoniter.Iterator) *ClusterAutoscaler

ReadClusterAutoscaler reads a value of the 'cluster_autoscaler' type from the given iterator.

func ReadClusterAutoscalerList ¶ added in v0.0.430

func ReadClusterAutoscalerList(iterator *jsoniter.Iterator) []*ClusterAutoscaler

ReadClusterAutoscalerList reads list of values of the ”cluster_autoscaler' type from the given iterator.

func UnmarshalClusterAutoscaler ¶ added in v0.0.430

func UnmarshalClusterAutoscaler(source interface{}) (object *ClusterAutoscaler, err error)

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

func UnmarshalClusterAutoscalerList ¶ added in v0.0.430

func UnmarshalClusterAutoscalerList(source interface{}) (items []*ClusterAutoscaler, err error)

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

func (*ClusterAutoscaler) BalanceSimilarNodeGroups ¶ added in v0.0.430

func (o *ClusterAutoscaler) BalanceSimilarNodeGroups() bool

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

BalanceSimilarNodeGroups enables/disables the `--balance-similar-node-groups` cluster-autoscaler feature. This feature will automatically identify node groups with the same instance type and the same set of labels and try to keep the respective sizes of those node groups balanced.

func (*ClusterAutoscaler) BalancingIgnoredLabels ¶ added in v0.0.430

func (o *ClusterAutoscaler) BalancingIgnoredLabels() []string

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

This option specifies labels that cluster autoscaler should ignore when considering node group similarity. For example, if you have nodes with "topology.ebs.csi.aws.com/zone" label, you can add name of this label here to prevent cluster autoscaler from splitting nodes into different node groups based on its value.

func (*ClusterAutoscaler) Empty ¶ added in v0.0.430

func (o *ClusterAutoscaler) Empty() bool

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

func (*ClusterAutoscaler) GetBalanceSimilarNodeGroups ¶ added in v0.0.430

func (o *ClusterAutoscaler) GetBalanceSimilarNodeGroups() (value bool, ok bool)

GetBalanceSimilarNodeGroups returns the value of the 'balance_similar_node_groups' attribute and a flag indicating if the attribute has a value.

BalanceSimilarNodeGroups enables/disables the `--balance-similar-node-groups` cluster-autoscaler feature. This feature will automatically identify node groups with the same instance type and the same set of labels and try to keep the respective sizes of those node groups balanced.

func (*ClusterAutoscaler) GetBalancingIgnoredLabels ¶ added in v0.0.430

func (o *ClusterAutoscaler) GetBalancingIgnoredLabels() (value []string, ok bool)

GetBalancingIgnoredLabels returns the value of the 'balancing_ignored_labels' attribute and a flag indicating if the attribute has a value.

This option specifies labels that cluster autoscaler should ignore when considering node group similarity. For example, if you have nodes with "topology.ebs.csi.aws.com/zone" label, you can add name of this label here to prevent cluster autoscaler from splitting nodes into different node groups based on its value.

func (*ClusterAutoscaler) GetHREF ¶ added in v0.0.430

func (o *ClusterAutoscaler) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ClusterAutoscaler) GetID ¶ added in v0.0.430

func (o *ClusterAutoscaler) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ClusterAutoscaler) GetIgnoreDaemonsetsUtilization ¶ added in v0.0.430

func (o *ClusterAutoscaler) GetIgnoreDaemonsetsUtilization() (value bool, ok bool)

GetIgnoreDaemonsetsUtilization returns the value of the 'ignore_daemonsets_utilization' attribute and a flag indicating if the attribute has a value.

Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. false by default.

func (*ClusterAutoscaler) GetLogVerbosity ¶ added in v0.0.430

func (o *ClusterAutoscaler) GetLogVerbosity() (value int, ok bool)

GetLogVerbosity returns the value of the 'log_verbosity' attribute and a flag indicating if the attribute has a value.

Sets the autoscaler log level. Default value is 1, level 4 is recommended for DEBUGGING and level 6 will enable almost everything.

func (*ClusterAutoscaler) GetMaxNodeProvisionTime ¶ added in v0.0.430

func (o *ClusterAutoscaler) GetMaxNodeProvisionTime() (value string, ok bool)

GetMaxNodeProvisionTime returns the value of the 'max_node_provision_time' attribute and a flag indicating if the attribute has a value.

Maximum time CA waits for node to be provisioned.

func (*ClusterAutoscaler) GetMaxPodGracePeriod ¶ added in v0.0.430

func (o *ClusterAutoscaler) GetMaxPodGracePeriod() (value int, ok bool)

GetMaxPodGracePeriod returns the value of the 'max_pod_grace_period' attribute and a flag indicating if the attribute has a value.

Gives pods graceful termination time before scaling down.

func (*ClusterAutoscaler) GetPodPriorityThreshold ¶ added in v0.0.430

func (o *ClusterAutoscaler) GetPodPriorityThreshold() (value int, ok bool)

GetPodPriorityThreshold returns the value of the 'pod_priority_threshold' attribute and a flag indicating if the attribute has a value.

To allow users to schedule "best-effort" pods, which shouldn't trigger Cluster Autoscaler actions, but only run when there are spare resources available, More info: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#how-does-cluster-autoscaler-work-with-pod-priority-and-preemption.

func (*ClusterAutoscaler) GetResourceLimits ¶ added in v0.0.430

func (o *ClusterAutoscaler) GetResourceLimits() (value *AutoscalerResourceLimits, ok bool)

GetResourceLimits returns the value of the 'resource_limits' attribute and a flag indicating if the attribute has a value.

Constraints of autoscaling resources.

func (*ClusterAutoscaler) GetScaleDown ¶ added in v0.0.430

func (o *ClusterAutoscaler) GetScaleDown() (value *AutoscalerScaleDownConfig, ok bool)

GetScaleDown returns the value of the 'scale_down' attribute and a flag indicating if the attribute has a value.

Configuration of scale down operation.

func (*ClusterAutoscaler) GetSkipNodesWithLocalStorage ¶ added in v0.0.430

func (o *ClusterAutoscaler) GetSkipNodesWithLocalStorage() (value bool, ok bool)

GetSkipNodesWithLocalStorage returns the value of the 'skip_nodes_with_local_storage' attribute and a flag indicating if the attribute has a value.

Enables/Disables `--skip-nodes-with-local-storage` CA feature flag. If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. true by default at autoscaler.

func (*ClusterAutoscaler) HREF ¶ added in v0.0.430

func (o *ClusterAutoscaler) HREF() string

HREF returns the link to the object.

func (*ClusterAutoscaler) ID ¶ added in v0.0.430

func (o *ClusterAutoscaler) ID() string

ID returns the identifier of the object.

func (*ClusterAutoscaler) IgnoreDaemonsetsUtilization ¶ added in v0.0.430

func (o *ClusterAutoscaler) IgnoreDaemonsetsUtilization() bool

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

Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. false by default.

func (*ClusterAutoscaler) Kind ¶ added in v0.0.430

func (o *ClusterAutoscaler) Kind() string

Kind returns the name of the type of the object.

func (o *ClusterAutoscaler) Link() bool

Link returns true if this is a link.

func (*ClusterAutoscaler) LogVerbosity ¶ added in v0.0.430

func (o *ClusterAutoscaler) LogVerbosity() int

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

Sets the autoscaler log level. Default value is 1, level 4 is recommended for DEBUGGING and level 6 will enable almost everything.

func (*ClusterAutoscaler) MaxNodeProvisionTime ¶ added in v0.0.430

func (o *ClusterAutoscaler) MaxNodeProvisionTime() string

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

Maximum time CA waits for node to be provisioned.

func (*ClusterAutoscaler) MaxPodGracePeriod ¶ added in v0.0.430

func (o *ClusterAutoscaler) MaxPodGracePeriod() int

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

Gives pods graceful termination time before scaling down.

func (*ClusterAutoscaler) PodPriorityThreshold ¶ added in v0.0.430

func (o *ClusterAutoscaler) PodPriorityThreshold() int

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

To allow users to schedule "best-effort" pods, which shouldn't trigger Cluster Autoscaler actions, but only run when there are spare resources available, More info: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#how-does-cluster-autoscaler-work-with-pod-priority-and-preemption.

func (*ClusterAutoscaler) ResourceLimits ¶ added in v0.0.430

func (o *ClusterAutoscaler) ResourceLimits() *AutoscalerResourceLimits

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

Constraints of autoscaling resources.

func (*ClusterAutoscaler) ScaleDown ¶ added in v0.0.430

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

Configuration of scale down operation.

func (*ClusterAutoscaler) SkipNodesWithLocalStorage ¶ added in v0.0.430

func (o *ClusterAutoscaler) SkipNodesWithLocalStorage() bool

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

Enables/Disables `--skip-nodes-with-local-storage` CA feature flag. If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. true by default at autoscaler.

type ClusterAutoscalerBuilder ¶ added in v0.0.430

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

Cluster-wide autoscaling configuration.

func NewClusterAutoscaler ¶ added in v0.0.430

func NewClusterAutoscaler() *ClusterAutoscalerBuilder

NewClusterAutoscaler creates a new builder of 'cluster_autoscaler' objects.

func (*ClusterAutoscalerBuilder) BalanceSimilarNodeGroups ¶ added in v0.0.430

func (b *ClusterAutoscalerBuilder) BalanceSimilarNodeGroups(value bool) *ClusterAutoscalerBuilder

BalanceSimilarNodeGroups sets the value of the 'balance_similar_node_groups' attribute to the given value.

func (*ClusterAutoscalerBuilder) BalancingIgnoredLabels ¶ added in v0.0.430

func (b *ClusterAutoscalerBuilder) BalancingIgnoredLabels(values ...string) *ClusterAutoscalerBuilder

BalancingIgnoredLabels sets the value of the 'balancing_ignored_labels' attribute to the given values.

func (*ClusterAutoscalerBuilder) Build ¶ added in v0.0.430

func (b *ClusterAutoscalerBuilder) Build() (object *ClusterAutoscaler, err error)

Build creates a 'cluster_autoscaler' object using the configuration stored in the builder.

func (*ClusterAutoscalerBuilder) Copy ¶ added in v0.0.430

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterAutoscalerBuilder) Empty ¶ added in v0.0.430

func (b *ClusterAutoscalerBuilder) Empty() bool

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

func (*ClusterAutoscalerBuilder) HREF ¶ added in v0.0.430

HREF sets the link to the object.

func (*ClusterAutoscalerBuilder) ID ¶ added in v0.0.430

ID sets the identifier of the object.

func (*ClusterAutoscalerBuilder) IgnoreDaemonsetsUtilization ¶ added in v0.0.430

func (b *ClusterAutoscalerBuilder) IgnoreDaemonsetsUtilization(value bool) *ClusterAutoscalerBuilder

IgnoreDaemonsetsUtilization sets the value of the 'ignore_daemonsets_utilization' attribute to the given value.

Link sets the flag that indicates if this is a link.

func (*ClusterAutoscalerBuilder) LogVerbosity ¶ added in v0.0.430

func (b *ClusterAutoscalerBuilder) LogVerbosity(value int) *ClusterAutoscalerBuilder

LogVerbosity sets the value of the 'log_verbosity' attribute to the given value.

func (*ClusterAutoscalerBuilder) MaxNodeProvisionTime ¶ added in v0.0.430

func (b *ClusterAutoscalerBuilder) MaxNodeProvisionTime(value string) *ClusterAutoscalerBuilder

MaxNodeProvisionTime sets the value of the 'max_node_provision_time' attribute to the given value.

func (*ClusterAutoscalerBuilder) MaxPodGracePeriod ¶ added in v0.0.430

func (b *ClusterAutoscalerBuilder) MaxPodGracePeriod(value int) *ClusterAutoscalerBuilder

MaxPodGracePeriod sets the value of the 'max_pod_grace_period' attribute to the given value.

func (*ClusterAutoscalerBuilder) PodPriorityThreshold ¶ added in v0.0.430

func (b *ClusterAutoscalerBuilder) PodPriorityThreshold(value int) *ClusterAutoscalerBuilder

PodPriorityThreshold sets the value of the 'pod_priority_threshold' attribute to the given value.

func (*ClusterAutoscalerBuilder) ResourceLimits ¶ added in v0.0.430

ResourceLimits sets the value of the 'resource_limits' attribute to the given value.

func (*ClusterAutoscalerBuilder) ScaleDown ¶ added in v0.0.430

ScaleDown sets the value of the 'scale_down' attribute to the given value.

func (*ClusterAutoscalerBuilder) SkipNodesWithLocalStorage ¶ added in v0.0.430

func (b *ClusterAutoscalerBuilder) SkipNodesWithLocalStorage(value bool) *ClusterAutoscalerBuilder

SkipNodesWithLocalStorage sets the value of the 'skip_nodes_with_local_storage' attribute to the given value.

type ClusterAutoscalerList ¶ added in v0.0.430

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

ClusterAutoscalerList is a list of values of the 'cluster_autoscaler' type.

func (*ClusterAutoscalerList) Each ¶ added in v0.0.430

func (l *ClusterAutoscalerList) Each(f func(item *ClusterAutoscaler) 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 (*ClusterAutoscalerList) Empty ¶ added in v0.0.430

func (l *ClusterAutoscalerList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterAutoscalerList) Get ¶ added in v0.0.430

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterAutoscalerList) GetHREF ¶ added in v0.0.430

func (l *ClusterAutoscalerList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ClusterAutoscalerList) HREF ¶ added in v0.0.430

func (l *ClusterAutoscalerList) HREF() string

HREF returns the link to the list.

func (*ClusterAutoscalerList) Items ¶ added in v0.0.430

Items returns the items of the list.

func (*ClusterAutoscalerList) Kind ¶ added in v0.0.430

func (l *ClusterAutoscalerList) Kind() string

Kind returns the name of the type of the object.

func (*ClusterAutoscalerList) Len ¶ added in v0.0.430

func (l *ClusterAutoscalerList) Len() int

Len returns the length of the list.

func (l *ClusterAutoscalerList) Link() bool

Link returns true iif this is a link.

func (*ClusterAutoscalerList) Range ¶ added in v0.0.430

func (l *ClusterAutoscalerList) Range(f func(index int, item *ClusterAutoscaler) 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 (*ClusterAutoscalerList) SetHREF ¶ added in v0.0.430

func (l *ClusterAutoscalerList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterAutoscalerList) SetItems ¶ added in v0.0.430

func (l *ClusterAutoscalerList) SetItems(items []*ClusterAutoscaler)

Items sets the items of the list.

func (l *ClusterAutoscalerList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterAutoscalerList) Slice ¶ added in v0.0.430

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 ClusterAutoscalerListBuilder ¶ added in v0.0.430

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

ClusterAutoscalerListBuilder contains the data and logic needed to build 'cluster_autoscaler' objects.

func NewClusterAutoscalerList ¶ added in v0.0.430

func NewClusterAutoscalerList() *ClusterAutoscalerListBuilder

NewClusterAutoscalerList creates a new builder of 'cluster_autoscaler' objects.

func (*ClusterAutoscalerListBuilder) Build ¶ added in v0.0.430

Build creates a list of 'cluster_autoscaler' objects using the configuration stored in the builder.

func (*ClusterAutoscalerListBuilder) Copy ¶ added in v0.0.430

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterAutoscalerListBuilder) Empty ¶ added in v0.0.430

Empty returns true if the list is empty.

func (*ClusterAutoscalerListBuilder) Items ¶ added in v0.0.430

Items sets the items of the list.

type ClusterBuilder ¶

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

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) AutoNode ¶ added in v0.0.429

AutoNode sets the value of the 'auto_node' attribute to the given value.

The AutoNode configuration for the Cluster.

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.

Represents an external authentication 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) ImageRegistry ¶

func (b *ClusterBuilder) ImageRegistry(value *ClusterImageRegistryBuilder) *ClusterBuilder

ImageRegistry sets the value of the 'image_registry' attribute to the given value.

ClusterImageRegistry represents the configuration for the cluster's internal image registry.

func (*ClusterBuilder) InflightChecks ¶

func (b *ClusterBuilder) InflightChecks(value *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 *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 *VersionBuilder) *ClusterBuilder

Version sets the value of the 'version' attribute to the given value.

Representation of an _OpenShift_ version.

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
}

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 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 ClusterImageRegistry ¶

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

ClusterImageRegistry represents the values of the 'cluster_image_registry' type.

ClusterImageRegistry represents the configuration for the cluster's internal image registry.

func ReadClusterImageRegistry ¶

func ReadClusterImageRegistry(iterator *jsoniter.Iterator) *ClusterImageRegistry

ReadClusterImageRegistry reads a value of the 'cluster_image_registry' type from the given iterator.

func ReadClusterImageRegistryList ¶

func ReadClusterImageRegistryList(iterator *jsoniter.Iterator) []*ClusterImageRegistry

ReadClusterImageRegistryList reads list of values of the ”cluster_image_registry' type from the given iterator.

func UnmarshalClusterImageRegistry ¶

func UnmarshalClusterImageRegistry(source interface{}) (object *ClusterImageRegistry, err error)

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

func UnmarshalClusterImageRegistryList ¶

func UnmarshalClusterImageRegistryList(source interface{}) (items []*ClusterImageRegistry, err error)

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

func (*ClusterImageRegistry) Empty ¶

func (o *ClusterImageRegistry) Empty() bool

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

func (*ClusterImageRegistry) GetState ¶

func (o *ClusterImageRegistry) GetState() (value string, ok bool)

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

State indicates whether the image registry is enabled. Unless explicitly set, the image registry is enabled by default. This setting is immutable and cannot be changed after the cluster is created. Valid values: "enabled", "disabled".

func (*ClusterImageRegistry) State ¶

func (o *ClusterImageRegistry) State() string

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

State indicates whether the image registry is enabled. Unless explicitly set, the image registry is enabled by default. This setting is immutable and cannot be changed after the cluster is created. Valid values: "enabled", "disabled".

type ClusterImageRegistryBuilder ¶

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

ClusterImageRegistry represents the configuration for the cluster's internal image registry.

func NewClusterImageRegistry ¶

func NewClusterImageRegistry() *ClusterImageRegistryBuilder

NewClusterImageRegistry creates a new builder of 'cluster_image_registry' objects.

func (*ClusterImageRegistryBuilder) Build ¶

func (b *ClusterImageRegistryBuilder) Build() (object *ClusterImageRegistry, err error)

Build creates a 'cluster_image_registry' object using the configuration stored in the builder.

func (*ClusterImageRegistryBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterImageRegistryBuilder) Empty ¶

func (b *ClusterImageRegistryBuilder) Empty() bool

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

func (*ClusterImageRegistryBuilder) State ¶

State sets the value of the 'state' attribute to the given value.

type ClusterImageRegistryList ¶

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

ClusterImageRegistryList is a list of values of the 'cluster_image_registry' type.

func (*ClusterImageRegistryList) Each ¶

func (l *ClusterImageRegistryList) Each(f func(item *ClusterImageRegistry) 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 (*ClusterImageRegistryList) Empty ¶

func (l *ClusterImageRegistryList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterImageRegistryList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterImageRegistryList) Items ¶

Items returns the items of the list.

func (*ClusterImageRegistryList) Len ¶

func (l *ClusterImageRegistryList) Len() int

Len returns the length of the list.

func (*ClusterImageRegistryList) Range ¶

func (l *ClusterImageRegistryList) Range(f func(index int, item *ClusterImageRegistry) 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 (*ClusterImageRegistryList) SetHREF ¶

func (l *ClusterImageRegistryList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterImageRegistryList) SetItems ¶

func (l *ClusterImageRegistryList) SetItems(items []*ClusterImageRegistry)

Items sets the items of the list.

func (l *ClusterImageRegistryList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterImageRegistryList) 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 ClusterImageRegistryListBuilder ¶

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

ClusterImageRegistryListBuilder contains the data and logic needed to build 'cluster_image_registry' objects.

func NewClusterImageRegistryList ¶

func NewClusterImageRegistryList() *ClusterImageRegistryListBuilder

NewClusterImageRegistryList creates a new builder of 'cluster_image_registry' objects.

func (*ClusterImageRegistryListBuilder) Build ¶

Build creates a list of 'cluster_image_registry' objects using the configuration stored in the builder.

func (*ClusterImageRegistryListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterImageRegistryListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ClusterImageRegistryListBuilder) Items ¶

Items sets the items of the list.

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
}

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 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
}

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 being updated.
	// This state is currently used only by aro hcp clusters.
	ClusterStateUpdating ClusterState = "updating"
	// 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
}

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 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 ControlPlaneOperatorIdentityRequirement ¶

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

ControlPlaneOperatorIdentityRequirement represents the values of the 'control_plane_operator_identity_requirement' type.

func ReadControlPlaneOperatorIdentityRequirement ¶

func ReadControlPlaneOperatorIdentityRequirement(iterator *jsoniter.Iterator) *ControlPlaneOperatorIdentityRequirement

ReadControlPlaneOperatorIdentityRequirement reads a value of the 'control_plane_operator_identity_requirement' type from the given iterator.

func ReadControlPlaneOperatorIdentityRequirementList ¶

func ReadControlPlaneOperatorIdentityRequirementList(iterator *jsoniter.Iterator) []*ControlPlaneOperatorIdentityRequirement

ReadControlPlaneOperatorIdentityRequirementList reads list of values of the ”control_plane_operator_identity_requirement' type from the given iterator.

func UnmarshalControlPlaneOperatorIdentityRequirement ¶

func UnmarshalControlPlaneOperatorIdentityRequirement(source interface{}) (object *ControlPlaneOperatorIdentityRequirement, err error)

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

func UnmarshalControlPlaneOperatorIdentityRequirementList ¶

func UnmarshalControlPlaneOperatorIdentityRequirementList(source interface{}) (items []*ControlPlaneOperatorIdentityRequirement, err error)

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

func (*ControlPlaneOperatorIdentityRequirement) Empty ¶

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

func (*ControlPlaneOperatorIdentityRequirement) GetMaxOpenShiftVersion ¶

func (o *ControlPlaneOperatorIdentityRequirement) GetMaxOpenShiftVersion() (value string, ok bool)

GetMaxOpenShiftVersion returns the value of the 'max_open_shift_version' attribute and a flag indicating if the attribute has a value.

The field is a string and it is of format X.Y. Not specifying it indicates support for this operator in all Openshift versions, starting from min_openshift_version if min_openshift_version is defined.

func (*ControlPlaneOperatorIdentityRequirement) GetMinOpenShiftVersion ¶

func (o *ControlPlaneOperatorIdentityRequirement) GetMinOpenShiftVersion() (value string, ok bool)

GetMinOpenShiftVersion returns the value of the 'min_open_shift_version' attribute and a flag indicating if the attribute has a value.

The field is a string and it is of format X.Y. Not specifying it indicates support for this operator in all Openshift versions, or up to max_openshift_version, if defined.

func (*ControlPlaneOperatorIdentityRequirement) GetOperatorName ¶

func (o *ControlPlaneOperatorIdentityRequirement) GetOperatorName() (value string, ok bool)

GetOperatorName returns the value of the 'operator_name' attribute and a flag indicating if the attribute has a value.

The name of the control plane operator that needs the identity

func (*ControlPlaneOperatorIdentityRequirement) GetRequired ¶

func (o *ControlPlaneOperatorIdentityRequirement) GetRequired() (value string, ok bool)

GetRequired returns the value of the 'required' attribute and a flag indicating if the attribute has a value.

Indicates whether the identity is always required or not. "always" means that the identity is always required "on_enablement" means that the identity is only required when a functionality that leverages the operator is enabled. Possible values are ("always", "on_enablement")

func (*ControlPlaneOperatorIdentityRequirement) GetRoleDefinitions ¶

GetRoleDefinitions returns the value of the 'role_definitions' attribute and a flag indicating if the attribute has a value.

A list of roles that are required by the operator

func (*ControlPlaneOperatorIdentityRequirement) MaxOpenShiftVersion ¶

func (o *ControlPlaneOperatorIdentityRequirement) MaxOpenShiftVersion() string

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

The field is a string and it is of format X.Y. Not specifying it indicates support for this operator in all Openshift versions, starting from min_openshift_version if min_openshift_version is defined.

func (*ControlPlaneOperatorIdentityRequirement) MinOpenShiftVersion ¶

func (o *ControlPlaneOperatorIdentityRequirement) MinOpenShiftVersion() string

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

The field is a string and it is of format X.Y. Not specifying it indicates support for this operator in all Openshift versions, or up to max_openshift_version, if defined.

func (*ControlPlaneOperatorIdentityRequirement) OperatorName ¶

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

The name of the control plane operator that needs the identity

func (*ControlPlaneOperatorIdentityRequirement) Required ¶

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

Indicates whether the identity is always required or not. "always" means that the identity is always required "on_enablement" means that the identity is only required when a functionality that leverages the operator is enabled. Possible values are ("always", "on_enablement")

func (*ControlPlaneOperatorIdentityRequirement) RoleDefinitions ¶

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

A list of roles that are required by the operator

type ControlPlaneOperatorIdentityRequirementBuilder ¶

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

func NewControlPlaneOperatorIdentityRequirement ¶

func NewControlPlaneOperatorIdentityRequirement() *ControlPlaneOperatorIdentityRequirementBuilder

NewControlPlaneOperatorIdentityRequirement creates a new builder of 'control_plane_operator_identity_requirement' objects.

func (*ControlPlaneOperatorIdentityRequirementBuilder) Build ¶

Build creates a 'control_plane_operator_identity_requirement' object using the configuration stored in the builder.

func (*ControlPlaneOperatorIdentityRequirementBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ControlPlaneOperatorIdentityRequirementBuilder) Empty ¶

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

func (*ControlPlaneOperatorIdentityRequirementBuilder) MaxOpenShiftVersion ¶

MaxOpenShiftVersion sets the value of the 'max_open_shift_version' attribute to the given value.

func (*ControlPlaneOperatorIdentityRequirementBuilder) MinOpenShiftVersion ¶

MinOpenShiftVersion sets the value of the 'min_open_shift_version' attribute to the given value.

func (*ControlPlaneOperatorIdentityRequirementBuilder) OperatorName ¶

OperatorName sets the value of the 'operator_name' attribute to the given value.

func (*ControlPlaneOperatorIdentityRequirementBuilder) Required ¶

Required sets the value of the 'required' attribute to the given value.

func (*ControlPlaneOperatorIdentityRequirementBuilder) RoleDefinitions ¶

RoleDefinitions sets the value of the 'role_definitions' attribute to the given values.

type ControlPlaneOperatorIdentityRequirementList ¶

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

ControlPlaneOperatorIdentityRequirementList is a list of values of the 'control_plane_operator_identity_requirement' type.

func (*ControlPlaneOperatorIdentityRequirementList) 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 (*ControlPlaneOperatorIdentityRequirementList) Empty ¶

Empty returns true if the list is empty.

func (*ControlPlaneOperatorIdentityRequirementList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ControlPlaneOperatorIdentityRequirementList) Items ¶

Items returns the items of the list.

func (*ControlPlaneOperatorIdentityRequirementList) Len ¶

Len returns the length of the list.

func (*ControlPlaneOperatorIdentityRequirementList) 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 (*ControlPlaneOperatorIdentityRequirementList) SetHREF ¶

Items sets the items of the list.

func (*ControlPlaneOperatorIdentityRequirementList) SetItems ¶

Items sets the items of the list.

Items sets the items of the list.

func (*ControlPlaneOperatorIdentityRequirementList) 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 ControlPlaneOperatorIdentityRequirementListBuilder ¶

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

ControlPlaneOperatorIdentityRequirementListBuilder contains the data and logic needed to build 'control_plane_operator_identity_requirement' objects.

func NewControlPlaneOperatorIdentityRequirementList ¶

func NewControlPlaneOperatorIdentityRequirementList() *ControlPlaneOperatorIdentityRequirementListBuilder

NewControlPlaneOperatorIdentityRequirementList creates a new builder of 'control_plane_operator_identity_requirement' objects.

func (*ControlPlaneOperatorIdentityRequirementListBuilder) Build ¶

Build creates a list of 'control_plane_operator_identity_requirement' objects using the configuration stored in the builder.

func (*ControlPlaneOperatorIdentityRequirementListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ControlPlaneOperatorIdentityRequirementListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ControlPlaneOperatorIdentityRequirementListBuilder) Items ¶

Items sets the items of the list.

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
}

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 DataPlaneOperatorIdentityRequirement ¶

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

DataPlaneOperatorIdentityRequirement represents the values of the 'data_plane_operator_identity_requirement' type.

func ReadDataPlaneOperatorIdentityRequirement ¶

func ReadDataPlaneOperatorIdentityRequirement(iterator *jsoniter.Iterator) *DataPlaneOperatorIdentityRequirement

ReadDataPlaneOperatorIdentityRequirement reads a value of the 'data_plane_operator_identity_requirement' type from the given iterator.

func ReadDataPlaneOperatorIdentityRequirementList ¶

func ReadDataPlaneOperatorIdentityRequirementList(iterator *jsoniter.Iterator) []*DataPlaneOperatorIdentityRequirement

ReadDataPlaneOperatorIdentityRequirementList reads list of values of the ”data_plane_operator_identity_requirement' type from the given iterator.

func UnmarshalDataPlaneOperatorIdentityRequirement ¶

func UnmarshalDataPlaneOperatorIdentityRequirement(source interface{}) (object *DataPlaneOperatorIdentityRequirement, err error)

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

func UnmarshalDataPlaneOperatorIdentityRequirementList ¶

func UnmarshalDataPlaneOperatorIdentityRequirementList(source interface{}) (items []*DataPlaneOperatorIdentityRequirement, err error)

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

func (*DataPlaneOperatorIdentityRequirement) Empty ¶

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

func (*DataPlaneOperatorIdentityRequirement) GetMaxOpenShiftVersion ¶

func (o *DataPlaneOperatorIdentityRequirement) GetMaxOpenShiftVersion() (value string, ok bool)

GetMaxOpenShiftVersion returns the value of the 'max_open_shift_version' attribute and a flag indicating if the attribute has a value.

The field is a string and it is of format X.Y (e.g 4.18) where X and Y are major and minor segments of the OpenShift version respectively. Not specifying it indicates support for this operator in all Openshift versions, starting from min_openshift_version if min_openshift_version is defined.

func (*DataPlaneOperatorIdentityRequirement) GetMinOpenShiftVersion ¶

func (o *DataPlaneOperatorIdentityRequirement) GetMinOpenShiftVersion() (value string, ok bool)

GetMinOpenShiftVersion returns the value of the 'min_open_shift_version' attribute and a flag indicating if the attribute has a value.

The field is a string and it is of format X.Y (e.g 4.18) where X and Y are major and minor segments of the OpenShift version respectively. Not specifying it indicates support for this operator in all Openshift versions, or up to max_openshift_version, if defined.

func (*DataPlaneOperatorIdentityRequirement) GetOperatorName ¶

func (o *DataPlaneOperatorIdentityRequirement) GetOperatorName() (value string, ok bool)

GetOperatorName returns the value of the 'operator_name' attribute and a flag indicating if the attribute has a value.

The name of the data plane operator that needs the identity

func (*DataPlaneOperatorIdentityRequirement) GetRequired ¶

func (o *DataPlaneOperatorIdentityRequirement) GetRequired() (value string, ok bool)

GetRequired returns the value of the 'required' attribute and a flag indicating if the attribute has a value.

Indicates whether the identity is always required or not "always" means that the identity is always required "on_enablement" means that the identity is only required when a functionality that leverages the operator is enabled. Possible values are ("always", "on_enablement")

func (*DataPlaneOperatorIdentityRequirement) GetRoleDefinitions ¶

GetRoleDefinitions returns the value of the 'role_definitions' attribute and a flag indicating if the attribute has a value.

A list of roles that are required by the operator

func (*DataPlaneOperatorIdentityRequirement) GetServiceAccounts ¶

GetServiceAccounts returns the value of the 'service_accounts' attribute and a flag indicating if the attribute has a value.

It is a list of K8s ServiceAccounts leveraged by the operator. There must be at least a single service account specified. This information is needed to federate a managed identity to a k8s subject. There should be no duplicated "name:namespace" entries within this field.

func (*DataPlaneOperatorIdentityRequirement) MaxOpenShiftVersion ¶

func (o *DataPlaneOperatorIdentityRequirement) MaxOpenShiftVersion() string

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

The field is a string and it is of format X.Y (e.g 4.18) where X and Y are major and minor segments of the OpenShift version respectively. Not specifying it indicates support for this operator in all Openshift versions, starting from min_openshift_version if min_openshift_version is defined.

func (*DataPlaneOperatorIdentityRequirement) MinOpenShiftVersion ¶

func (o *DataPlaneOperatorIdentityRequirement) MinOpenShiftVersion() string

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

The field is a string and it is of format X.Y (e.g 4.18) where X and Y are major and minor segments of the OpenShift version respectively. Not specifying it indicates support for this operator in all Openshift versions, or up to max_openshift_version, if defined.

func (*DataPlaneOperatorIdentityRequirement) OperatorName ¶

func (o *DataPlaneOperatorIdentityRequirement) OperatorName() string

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

The name of the data plane operator that needs the identity

func (*DataPlaneOperatorIdentityRequirement) Required ¶

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

Indicates whether the identity is always required or not "always" means that the identity is always required "on_enablement" means that the identity is only required when a functionality that leverages the operator is enabled. Possible values are ("always", "on_enablement")

func (*DataPlaneOperatorIdentityRequirement) RoleDefinitions ¶

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

A list of roles that are required by the operator

func (*DataPlaneOperatorIdentityRequirement) ServiceAccounts ¶

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

It is a list of K8s ServiceAccounts leveraged by the operator. There must be at least a single service account specified. This information is needed to federate a managed identity to a k8s subject. There should be no duplicated "name:namespace" entries within this field.

type DataPlaneOperatorIdentityRequirementBuilder ¶

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

func NewDataPlaneOperatorIdentityRequirement ¶

func NewDataPlaneOperatorIdentityRequirement() *DataPlaneOperatorIdentityRequirementBuilder

NewDataPlaneOperatorIdentityRequirement creates a new builder of 'data_plane_operator_identity_requirement' objects.

func (*DataPlaneOperatorIdentityRequirementBuilder) Build ¶

Build creates a 'data_plane_operator_identity_requirement' object using the configuration stored in the builder.

func (*DataPlaneOperatorIdentityRequirementBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*DataPlaneOperatorIdentityRequirementBuilder) Empty ¶

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

func (*DataPlaneOperatorIdentityRequirementBuilder) MaxOpenShiftVersion ¶

MaxOpenShiftVersion sets the value of the 'max_open_shift_version' attribute to the given value.

func (*DataPlaneOperatorIdentityRequirementBuilder) MinOpenShiftVersion ¶

MinOpenShiftVersion sets the value of the 'min_open_shift_version' attribute to the given value.

func (*DataPlaneOperatorIdentityRequirementBuilder) OperatorName ¶

OperatorName sets the value of the 'operator_name' attribute to the given value.

func (*DataPlaneOperatorIdentityRequirementBuilder) Required ¶

Required sets the value of the 'required' attribute to the given value.

func (*DataPlaneOperatorIdentityRequirementBuilder) RoleDefinitions ¶

RoleDefinitions sets the value of the 'role_definitions' attribute to the given values.

func (*DataPlaneOperatorIdentityRequirementBuilder) ServiceAccounts ¶

ServiceAccounts sets the value of the 'service_accounts' attribute to the given values.

type DataPlaneOperatorIdentityRequirementList ¶

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

DataPlaneOperatorIdentityRequirementList is a list of values of the 'data_plane_operator_identity_requirement' type.

func (*DataPlaneOperatorIdentityRequirementList) 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 (*DataPlaneOperatorIdentityRequirementList) Empty ¶

Empty returns true if the list is empty.

func (*DataPlaneOperatorIdentityRequirementList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*DataPlaneOperatorIdentityRequirementList) Items ¶

Items returns the items of the list.

func (*DataPlaneOperatorIdentityRequirementList) Len ¶

Len returns the length of the list.

func (*DataPlaneOperatorIdentityRequirementList) 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 (*DataPlaneOperatorIdentityRequirementList) SetHREF ¶

Items sets the items of the list.

func (*DataPlaneOperatorIdentityRequirementList) SetItems ¶

Items sets the items of the list.

Items sets the items of the list.

func (*DataPlaneOperatorIdentityRequirementList) 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 DataPlaneOperatorIdentityRequirementListBuilder ¶

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

DataPlaneOperatorIdentityRequirementListBuilder contains the data and logic needed to build 'data_plane_operator_identity_requirement' objects.

func NewDataPlaneOperatorIdentityRequirementList ¶

func NewDataPlaneOperatorIdentityRequirementList() *DataPlaneOperatorIdentityRequirementListBuilder

NewDataPlaneOperatorIdentityRequirementList creates a new builder of 'data_plane_operator_identity_requirement' objects.

func (*DataPlaneOperatorIdentityRequirementListBuilder) Build ¶

Build creates a list of 'data_plane_operator_identity_requirement' objects using the configuration stored in the builder.

func (*DataPlaneOperatorIdentityRequirementListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*DataPlaneOperatorIdentityRequirementListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*DataPlaneOperatorIdentityRequirementListBuilder) Items ¶

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
}

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 ExternalAuth ¶

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

ExternalAuth represents the values of the 'external_auth' type.

Representation of an external authentication provider.

func ReadExternalAuth ¶

func ReadExternalAuth(iterator *jsoniter.Iterator) *ExternalAuth

ReadExternalAuth reads a value of the 'external_auth' type from the given iterator.

func ReadExternalAuthList ¶

func ReadExternalAuthList(iterator *jsoniter.Iterator) []*ExternalAuth

ReadExternalAuthList reads list of values of the ”external_auth' type from the given iterator.

func UnmarshalExternalAuth ¶

func UnmarshalExternalAuth(source interface{}) (object *ExternalAuth, err error)

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

func UnmarshalExternalAuthList ¶

func UnmarshalExternalAuthList(source interface{}) (items []*ExternalAuth, err error)

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

func (*ExternalAuth) Claim ¶

func (o *ExternalAuth) Claim() *ExternalAuthClaim

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

The rules on how to transform information from an ID token into a cluster identity.

func (*ExternalAuth) Clients ¶

func (o *ExternalAuth) Clients() []*ExternalAuthClientConfig

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

The list of the platform's clients that need to request tokens from the issuer.

func (*ExternalAuth) Empty ¶

func (o *ExternalAuth) Empty() bool

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

func (*ExternalAuth) GetClaim ¶

func (o *ExternalAuth) GetClaim() (value *ExternalAuthClaim, ok bool)

GetClaim returns the value of the 'claim' attribute and a flag indicating if the attribute has a value.

The rules on how to transform information from an ID token into a cluster identity.

func (*ExternalAuth) GetClients ¶

func (o *ExternalAuth) GetClients() (value []*ExternalAuthClientConfig, ok bool)

GetClients returns the value of the 'clients' attribute and a flag indicating if the attribute has a value.

The list of the platform's clients that need to request tokens from the issuer.

func (*ExternalAuth) GetHREF ¶

func (o *ExternalAuth) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ExternalAuth) GetID ¶

func (o *ExternalAuth) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ExternalAuth) GetIssuer ¶

func (o *ExternalAuth) GetIssuer() (value *TokenIssuer, ok bool)

GetIssuer returns the value of the 'issuer' attribute and a flag indicating if the attribute has a value.

The issuer describes the attributes of the OIDC token issuer.

func (*ExternalAuth) GetStatus ¶

func (o *ExternalAuth) GetStatus() (value *ExternalAuthStatus, ok bool)

GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.

The status describes the current state of the external authentication provider. This is read-only.

func (*ExternalAuth) HREF ¶

func (o *ExternalAuth) HREF() string

HREF returns the link to the object.

func (*ExternalAuth) ID ¶

func (o *ExternalAuth) ID() string

ID returns the identifier of the object.

func (*ExternalAuth) Issuer ¶

func (o *ExternalAuth) Issuer() *TokenIssuer

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

The issuer describes the attributes of the OIDC token issuer.

func (*ExternalAuth) Kind ¶

func (o *ExternalAuth) Kind() string

Kind returns the name of the type of the object.

func (o *ExternalAuth) Link() bool

Link returns true if this is a link.

func (*ExternalAuth) Status ¶

func (o *ExternalAuth) Status() *ExternalAuthStatus

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

The status describes the current state of the external authentication provider. This is read-only.

type ExternalAuthBuilder ¶

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

Representation of an external authentication provider.

func NewExternalAuth ¶

func NewExternalAuth() *ExternalAuthBuilder

NewExternalAuth creates a new builder of 'external_auth' objects.

func (*ExternalAuthBuilder) Build ¶

func (b *ExternalAuthBuilder) Build() (object *ExternalAuth, err error)

Build creates a 'external_auth' object using the configuration stored in the builder.

func (*ExternalAuthBuilder) Claim ¶

Claim sets the value of the 'claim' attribute to the given value.

The claims and validation rules used in the configuration of the external authentication.

func (*ExternalAuthBuilder) Clients ¶

Clients sets the value of the 'clients' attribute to the given values.

func (*ExternalAuthBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExternalAuthBuilder) Empty ¶

func (b *ExternalAuthBuilder) Empty() bool

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

func (*ExternalAuthBuilder) HREF ¶

HREF sets the link to the object.

func (*ExternalAuthBuilder) ID ¶

ID sets the identifier of the object.

func (*ExternalAuthBuilder) Issuer ¶

Issuer sets the value of the 'issuer' attribute to the given value.

Representation of a token issuer used in an external authentication.

Link sets the flag that indicates if this is a link.

func (*ExternalAuthBuilder) Status ¶

Status sets the value of the 'status' attribute to the given value.

Representation of the status of an external authentication provider.

type ExternalAuthClaim ¶

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

ExternalAuthClaim represents the values of the 'external_auth_claim' type.

The claims and validation rules used in the configuration of the external authentication.

func ReadExternalAuthClaim ¶

func ReadExternalAuthClaim(iterator *jsoniter.Iterator) *ExternalAuthClaim

ReadExternalAuthClaim reads a value of the 'external_auth_claim' type from the given iterator.

func ReadExternalAuthClaimList ¶

func ReadExternalAuthClaimList(iterator *jsoniter.Iterator) []*ExternalAuthClaim

ReadExternalAuthClaimList reads list of values of the ”external_auth_claim' type from the given iterator.

func UnmarshalExternalAuthClaim ¶

func UnmarshalExternalAuthClaim(source interface{}) (object *ExternalAuthClaim, err error)

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

func UnmarshalExternalAuthClaimList ¶

func UnmarshalExternalAuthClaimList(source interface{}) (items []*ExternalAuthClaim, err error)

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

func (*ExternalAuthClaim) Empty ¶

func (o *ExternalAuthClaim) Empty() bool

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

func (*ExternalAuthClaim) GetMappings ¶

func (o *ExternalAuthClaim) GetMappings() (value *TokenClaimMappings, ok bool)

GetMappings returns the value of the 'mappings' attribute and a flag indicating if the attribute has a value.

Mapping describes rules on how to transform information from an ID token into a cluster identity.

func (*ExternalAuthClaim) GetValidationRules ¶

func (o *ExternalAuthClaim) GetValidationRules() (value []*TokenClaimValidationRule, ok bool)

GetValidationRules returns the value of the 'validation_rules' attribute and a flag indicating if the attribute has a value.

ValidationRules are rules that are applied to validate token claims to authenticate users.

func (*ExternalAuthClaim) Mappings ¶

func (o *ExternalAuthClaim) Mappings() *TokenClaimMappings

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

Mapping describes rules on how to transform information from an ID token into a cluster identity.

func (*ExternalAuthClaim) ValidationRules ¶

func (o *ExternalAuthClaim) ValidationRules() []*TokenClaimValidationRule

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

ValidationRules are rules that are applied to validate token claims to authenticate users.

type ExternalAuthClaimBuilder ¶

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

The claims and validation rules used in the configuration of the external authentication.

func NewExternalAuthClaim ¶

func NewExternalAuthClaim() *ExternalAuthClaimBuilder

NewExternalAuthClaim creates a new builder of 'external_auth_claim' objects.

func (*ExternalAuthClaimBuilder) Build ¶

func (b *ExternalAuthClaimBuilder) Build() (object *ExternalAuthClaim, err error)

Build creates a 'external_auth_claim' object using the configuration stored in the builder.

func (*ExternalAuthClaimBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExternalAuthClaimBuilder) Empty ¶

func (b *ExternalAuthClaimBuilder) Empty() bool

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

func (*ExternalAuthClaimBuilder) Mappings ¶

Mappings sets the value of the 'mappings' attribute to the given value.

The claim mappings defined for users and groups.

func (*ExternalAuthClaimBuilder) ValidationRules ¶

ValidationRules sets the value of the 'validation_rules' attribute to the given values.

type ExternalAuthClaimList ¶

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

ExternalAuthClaimList is a list of values of the 'external_auth_claim' type.

func (*ExternalAuthClaimList) Each ¶

func (l *ExternalAuthClaimList) Each(f func(item *ExternalAuthClaim) 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 (*ExternalAuthClaimList) Empty ¶

func (l *ExternalAuthClaimList) Empty() bool

Empty returns true if the list is empty.

func (*ExternalAuthClaimList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ExternalAuthClaimList) Items ¶

Items returns the items of the list.

func (*ExternalAuthClaimList) Len ¶

func (l *ExternalAuthClaimList) Len() int

Len returns the length of the list.

func (*ExternalAuthClaimList) Range ¶

func (l *ExternalAuthClaimList) Range(f func(index int, item *ExternalAuthClaim) 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 (*ExternalAuthClaimList) SetHREF ¶

func (l *ExternalAuthClaimList) SetHREF(href string)

Items sets the items of the list.

func (*ExternalAuthClaimList) SetItems ¶

func (l *ExternalAuthClaimList) SetItems(items []*ExternalAuthClaim)

Items sets the items of the list.

func (l *ExternalAuthClaimList) SetLink(link bool)

Items sets the items of the list.

func (*ExternalAuthClaimList) 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 ExternalAuthClaimListBuilder ¶

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

ExternalAuthClaimListBuilder contains the data and logic needed to build 'external_auth_claim' objects.

func NewExternalAuthClaimList ¶

func NewExternalAuthClaimList() *ExternalAuthClaimListBuilder

NewExternalAuthClaimList creates a new builder of 'external_auth_claim' objects.

func (*ExternalAuthClaimListBuilder) Build ¶

Build creates a list of 'external_auth_claim' objects using the configuration stored in the builder.

func (*ExternalAuthClaimListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExternalAuthClaimListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ExternalAuthClaimListBuilder) Items ¶

Items sets the items of the list.

type ExternalAuthClientConfig ¶

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

ExternalAuthClientConfig represents the values of the 'external_auth_client_config' type.

ExternalAuthClientConfig contains configuration for the platform's clients that need to request tokens from the issuer.

func ReadExternalAuthClientConfig ¶

func ReadExternalAuthClientConfig(iterator *jsoniter.Iterator) *ExternalAuthClientConfig

ReadExternalAuthClientConfig reads a value of the 'external_auth_client_config' type from the given iterator.

func ReadExternalAuthClientConfigList ¶

func ReadExternalAuthClientConfigList(iterator *jsoniter.Iterator) []*ExternalAuthClientConfig

ReadExternalAuthClientConfigList reads list of values of the ”external_auth_client_config' type from the given iterator.

func UnmarshalExternalAuthClientConfig ¶

func UnmarshalExternalAuthClientConfig(source interface{}) (object *ExternalAuthClientConfig, err error)

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

func UnmarshalExternalAuthClientConfigList ¶

func UnmarshalExternalAuthClientConfigList(source interface{}) (items []*ExternalAuthClientConfig, err error)

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

func (*ExternalAuthClientConfig) Component ¶

func (o *ExternalAuthClientConfig) Component() *ClientComponent

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

The component that is supposed to consume this client configuration.

func (*ExternalAuthClientConfig) Empty ¶

func (o *ExternalAuthClientConfig) Empty() bool

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

func (*ExternalAuthClientConfig) ExtraScopes ¶

func (o *ExternalAuthClientConfig) ExtraScopes() []string

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

ExtraScopes is an optional set of scopes to request tokens with.

func (*ExternalAuthClientConfig) GetComponent ¶

func (o *ExternalAuthClientConfig) GetComponent() (value *ClientComponent, ok bool)

GetComponent returns the value of the 'component' attribute and a flag indicating if the attribute has a value.

The component that is supposed to consume this client configuration.

func (*ExternalAuthClientConfig) GetExtraScopes ¶

func (o *ExternalAuthClientConfig) GetExtraScopes() (value []string, ok bool)

GetExtraScopes returns the value of the 'extra_scopes' attribute and a flag indicating if the attribute has a value.

ExtraScopes is an optional set of scopes to request tokens with.

func (*ExternalAuthClientConfig) GetID ¶

func (o *ExternalAuthClientConfig) GetID() (value string, ok bool)

GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.

The identifier of the OIDC client from the OIDC provider. This is required. Must be at least one character length.

func (*ExternalAuthClientConfig) GetSecret ¶

func (o *ExternalAuthClientConfig) GetSecret() (value string, ok bool)

GetSecret returns the value of the 'secret' attribute and a flag indicating if the attribute has a value.

The secret of the OIDC client from the OIDC provider. The client is considered 'public' if no secret is specified. Otherwise, it is considered as a 'confidential' client. This can only be used for an external authentication provider belonging to a ROSA HCP cluster.

func (*ExternalAuthClientConfig) GetType ¶

func (o *ExternalAuthClientConfig) GetType() (value ExternalAuthClientType, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

Determines the OIDC provider client type.

This is required to be defined for clients of an external authentication provider belonging to an ARO-HCP cluster.

For clients belonging to a ROSA HCP cluster, this is read-only. The value of this property will be determined by the 'secret' property in the client configuration.

  • If the 'secret' property is set, the type of the client is 'confidential.
  • If the 'secret' property is not set, the type of the client is 'public.

func (*ExternalAuthClientConfig) ID ¶

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

The identifier of the OIDC client from the OIDC provider. This is required. Must be at least one character length.

func (*ExternalAuthClientConfig) Secret ¶

func (o *ExternalAuthClientConfig) Secret() string

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

The secret of the OIDC client from the OIDC provider. The client is considered 'public' if no secret is specified. Otherwise, it is considered as a 'confidential' client. This can only be used for an external authentication provider belonging to a ROSA HCP cluster.

func (*ExternalAuthClientConfig) Type ¶

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

Determines the OIDC provider client type.

This is required to be defined for clients of an external authentication provider belonging to an ARO-HCP cluster.

For clients belonging to a ROSA HCP cluster, this is read-only. The value of this property will be determined by the 'secret' property in the client configuration.

  • If the 'secret' property is set, the type of the client is 'confidential.
  • If the 'secret' property is not set, the type of the client is 'public.

type ExternalAuthClientConfigBuilder ¶

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

ExternalAuthClientConfig contains configuration for the platform's clients that need to request tokens from the issuer.

func NewExternalAuthClientConfig ¶

func NewExternalAuthClientConfig() *ExternalAuthClientConfigBuilder

NewExternalAuthClientConfig creates a new builder of 'external_auth_client_config' objects.

func (*ExternalAuthClientConfigBuilder) Build ¶

Build creates a 'external_auth_client_config' object using the configuration stored in the builder.

func (*ExternalAuthClientConfigBuilder) Component ¶

Component sets the value of the 'component' attribute to the given value.

The reference of a component that will consume the client configuration.

func (*ExternalAuthClientConfigBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExternalAuthClientConfigBuilder) Empty ¶

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

func (*ExternalAuthClientConfigBuilder) ExtraScopes ¶

ExtraScopes sets the value of the 'extra_scopes' attribute to the given values.

func (*ExternalAuthClientConfigBuilder) ID ¶

ID sets the value of the 'ID' attribute to the given value.

func (*ExternalAuthClientConfigBuilder) Secret ¶

Secret sets the value of the 'secret' attribute to the given value.

func (*ExternalAuthClientConfigBuilder) Type ¶

Type sets the value of the 'type' attribute to the given value.

Representation of the possible values of an external authentication client's type

type ExternalAuthClientConfigList ¶

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

ExternalAuthClientConfigList is a list of values of the 'external_auth_client_config' type.

func (*ExternalAuthClientConfigList) 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 (*ExternalAuthClientConfigList) Empty ¶

Empty returns true if the list is empty.

func (*ExternalAuthClientConfigList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ExternalAuthClientConfigList) Items ¶

Items returns the items of the list.

func (*ExternalAuthClientConfigList) Len ¶

Len returns the length of the list.

func (*ExternalAuthClientConfigList) Range ¶

func (l *ExternalAuthClientConfigList) Range(f func(index int, item *ExternalAuthClientConfig) 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 (*ExternalAuthClientConfigList) SetHREF ¶

func (l *ExternalAuthClientConfigList) SetHREF(href string)

Items sets the items of the list.

func (*ExternalAuthClientConfigList) SetItems ¶

Items sets the items of the list.

func (l *ExternalAuthClientConfigList) SetLink(link bool)

Items sets the items of the list.

func (*ExternalAuthClientConfigList) 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 ExternalAuthClientConfigListBuilder ¶

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

ExternalAuthClientConfigListBuilder contains the data and logic needed to build 'external_auth_client_config' objects.

func NewExternalAuthClientConfigList ¶

func NewExternalAuthClientConfigList() *ExternalAuthClientConfigListBuilder

NewExternalAuthClientConfigList creates a new builder of 'external_auth_client_config' objects.

func (*ExternalAuthClientConfigListBuilder) Build ¶

Build creates a list of 'external_auth_client_config' objects using the configuration stored in the builder.

func (*ExternalAuthClientConfigListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExternalAuthClientConfigListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ExternalAuthClientConfigListBuilder) Items ¶

Items sets the items of the list.

type ExternalAuthClientType ¶

type ExternalAuthClientType string

ExternalAuthClientType represents the values of the 'external_auth_client_type' enumerated type.

const (
	// Indicates that the client is confidential.
	//
	// Confidential clients must provide a client secret.
	// For external authentication provider belonging to a ROSA HCP cluster, the secret should be provided
	// in the 'secret' property of the client configuration.
	// For those belonging to an ARO-HCP cluster, the secret should be provided within the cluster itself.
	ExternalAuthClientTypeConfidential ExternalAuthClientType = "confidential"
	// Indicates that the client is public
	//
	// Public clients must not provide a client secret
	ExternalAuthClientTypePublic ExternalAuthClientType = "public"
)

func ReadExternalAuthClientTypeList ¶

func ReadExternalAuthClientTypeList(iterator *jsoniter.Iterator) []ExternalAuthClientType

ReadExternalAuthClientTypeList reads list of values of the ”external_auth_client_type' type from the given iterator.

func UnmarshalExternalAuthClientTypeList ¶

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

UnmarshalExternalAuthClientTypeList reads a list of values of the 'external_auth_client_type' 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.

Represents an external authentication 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 for ROSA HCP clusters.

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.

For ARO HCP clusters, use the "State" property to enable/disable this feature instead.

func (*ExternalAuthConfig) ExternalAuths ¶

func (o *ExternalAuthConfig) ExternalAuths() *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.

A list of external authentication providers configured for the cluster.

Only one external authentication provider can be configured.

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 for ROSA HCP clusters.

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.

For ARO HCP clusters, use the "State" property to enable/disable this feature instead.

func (*ExternalAuthConfig) GetExternalAuths ¶

func (o *ExternalAuthConfig) GetExternalAuths() (value *ExternalAuthList, ok bool)

GetExternalAuths returns the value of the 'external_auths' attribute and a flag indicating if the attribute has a value.

A list of external authentication providers configured for the cluster.

Only one external authentication provider can be configured.

func (*ExternalAuthConfig) GetHREF ¶

func (o *ExternalAuthConfig) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ExternalAuthConfig) GetID ¶

func (o *ExternalAuthConfig) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ExternalAuthConfig) GetState ¶

func (o *ExternalAuthConfig) GetState() (value ExternalAuthConfigState, ok bool)

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

Controls whether the cluster uses an external authentication configuration for ARO HCP clusters.

For ARO HCP clusters, this will be "enabled" by default and cannot be set to "disabled".

FOR ROSA HCP clusters, use the "Enabled" boolean flag to enable/disable this feature instead.

func (*ExternalAuthConfig) HREF ¶

func (o *ExternalAuthConfig) HREF() string

HREF returns the link to the object.

func (*ExternalAuthConfig) ID ¶

func (o *ExternalAuthConfig) ID() string

ID returns the identifier of the object.

func (*ExternalAuthConfig) Kind ¶

func (o *ExternalAuthConfig) Kind() string

Kind returns the name of the type of the object.

func (o *ExternalAuthConfig) Link() bool

Link returns true if this is a link.

func (*ExternalAuthConfig) State ¶

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

Controls whether the cluster uses an external authentication configuration for ARO HCP clusters.

For ARO HCP clusters, this will be "enabled" by default and cannot be set to "disabled".

FOR ROSA HCP clusters, use the "Enabled" boolean flag to enable/disable this feature instead.

type ExternalAuthConfigBuilder ¶

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

Represents an external authentication 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.

func (*ExternalAuthConfigBuilder) HREF ¶

HREF sets the link to the object.

func (*ExternalAuthConfigBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*ExternalAuthConfigBuilder) State ¶

State sets the value of the 'state' attribute to the given value.

Representation of the possible values for the state field of an external authentication configuration

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) GetHREF ¶

func (l *ExternalAuthConfigList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ExternalAuthConfigList) HREF ¶

func (l *ExternalAuthConfigList) HREF() string

HREF returns the link to the list.

func (*ExternalAuthConfigList) Items ¶

Items returns the items of the list.

func (*ExternalAuthConfigList) Kind ¶

func (l *ExternalAuthConfigList) Kind() string

Kind returns the name of the type of the object.

func (*ExternalAuthConfigList) Len ¶

func (l *ExternalAuthConfigList) Len() int

Len returns the length of the list.

func (l *ExternalAuthConfigList) Link() bool

Link returns true iif this is a link.

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 ExternalAuthConfigState ¶

type ExternalAuthConfigState string

ExternalAuthConfigState represents the values of the 'external_auth_config_state' enumerated type.

const (
	// Indicates that the cluster does not support configuration of external authentication providers
	ExternalAuthConfigStateDisabled ExternalAuthConfigState = "disabled"
	// Indicates that the cluster supports configuration of external authentication providers
	ExternalAuthConfigStateEnabled ExternalAuthConfigState = "enabled"
)

func ReadExternalAuthConfigStateList ¶

func ReadExternalAuthConfigStateList(iterator *jsoniter.Iterator) []ExternalAuthConfigState

ReadExternalAuthConfigStateList reads list of values of the ”external_auth_config_state' type from the given iterator.

func UnmarshalExternalAuthConfigStateList ¶

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

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

type ExternalAuthList ¶

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

ExternalAuthList is a list of values of the 'external_auth' type.

func (*ExternalAuthList) Each ¶

func (l *ExternalAuthList) Each(f func(item *ExternalAuth) 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 (*ExternalAuthList) Empty ¶

func (l *ExternalAuthList) Empty() bool

Empty returns true if the list is empty.

func (*ExternalAuthList) Get ¶

func (l *ExternalAuthList) Get(i int) *ExternalAuth

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ExternalAuthList) GetHREF ¶

func (l *ExternalAuthList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ExternalAuthList) HREF ¶

func (l *ExternalAuthList) HREF() string

HREF returns the link to the list.

func (*ExternalAuthList) Items ¶

func (l *ExternalAuthList) Items() []*ExternalAuth

Items returns the items of the list.

func (*ExternalAuthList) Kind ¶

func (l *ExternalAuthList) Kind() string

Kind returns the name of the type of the object.

func (*ExternalAuthList) Len ¶

func (l *ExternalAuthList) Len() int

Len returns the length of the list.

func (l *ExternalAuthList) Link() bool

Link returns true iif this is a link.

func (*ExternalAuthList) Range ¶

func (l *ExternalAuthList) Range(f func(index int, item *ExternalAuth) 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 (*ExternalAuthList) SetHREF ¶

func (l *ExternalAuthList) SetHREF(href string)

Items sets the items of the list.

func (*ExternalAuthList) SetItems ¶

func (l *ExternalAuthList) SetItems(items []*ExternalAuth)

Items sets the items of the list.

func (l *ExternalAuthList) SetLink(link bool)

Items sets the items of the list.

func (*ExternalAuthList) Slice ¶

func (l *ExternalAuthList) Slice() []*ExternalAuth

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 ExternalAuthListBuilder ¶

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

ExternalAuthListBuilder contains the data and logic needed to build 'external_auth' objects.

func NewExternalAuthList ¶

func NewExternalAuthList() *ExternalAuthListBuilder

NewExternalAuthList creates a new builder of 'external_auth' objects.

func (*ExternalAuthListBuilder) Build ¶

func (b *ExternalAuthListBuilder) Build() (list *ExternalAuthList, err error)

Build creates a list of 'external_auth' objects using the configuration stored in the builder.

func (*ExternalAuthListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExternalAuthListBuilder) Empty ¶

func (b *ExternalAuthListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ExternalAuthListBuilder) Items ¶

Items sets the items of the list.

type ExternalAuthState ¶

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

ExternalAuthState represents the values of the 'external_auth_state' type.

Representation of the state of an external authentication provider.

func ReadExternalAuthState ¶

func ReadExternalAuthState(iterator *jsoniter.Iterator) *ExternalAuthState

ReadExternalAuthState reads a value of the 'external_auth_state' type from the given iterator.

func ReadExternalAuthStateList ¶

func ReadExternalAuthStateList(iterator *jsoniter.Iterator) []*ExternalAuthState

ReadExternalAuthStateList reads list of values of the ”external_auth_state' type from the given iterator.

func UnmarshalExternalAuthState ¶

func UnmarshalExternalAuthState(source interface{}) (object *ExternalAuthState, err error)

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

func UnmarshalExternalAuthStateList ¶

func UnmarshalExternalAuthStateList(source interface{}) (items []*ExternalAuthState, err error)

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

func (*ExternalAuthState) Empty ¶

func (o *ExternalAuthState) Empty() bool

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

func (*ExternalAuthState) GetLastUpdatedTimestamp ¶

func (o *ExternalAuthState) GetLastUpdatedTimestamp() (value time.Time, ok bool)

GetLastUpdatedTimestamp returns the value of the 'last_updated_timestamp' attribute and a flag indicating if the attribute has a value.

The date and time when the external authentication provider state was last updated.

func (*ExternalAuthState) GetValue ¶

func (o *ExternalAuthState) GetValue() (value string, ok bool)

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

A string value representing the external authentication provider's current state.

func (*ExternalAuthState) LastUpdatedTimestamp ¶

func (o *ExternalAuthState) LastUpdatedTimestamp() time.Time

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

The date and time when the external authentication provider state was last updated.

func (*ExternalAuthState) Value ¶

func (o *ExternalAuthState) Value() string

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

A string value representing the external authentication provider's current state.

type ExternalAuthStateBuilder ¶

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

Representation of the state of an external authentication provider.

func NewExternalAuthState ¶

func NewExternalAuthState() *ExternalAuthStateBuilder

NewExternalAuthState creates a new builder of 'external_auth_state' objects.

func (*ExternalAuthStateBuilder) Build ¶

func (b *ExternalAuthStateBuilder) Build() (object *ExternalAuthState, err error)

Build creates a 'external_auth_state' object using the configuration stored in the builder.

func (*ExternalAuthStateBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExternalAuthStateBuilder) Empty ¶

func (b *ExternalAuthStateBuilder) Empty() bool

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

func (*ExternalAuthStateBuilder) LastUpdatedTimestamp ¶

func (b *ExternalAuthStateBuilder) LastUpdatedTimestamp(value time.Time) *ExternalAuthStateBuilder

LastUpdatedTimestamp sets the value of the 'last_updated_timestamp' attribute to the given value.

func (*ExternalAuthStateBuilder) Value ¶

Value sets the value of the 'value' attribute to the given value.

type ExternalAuthStateList ¶

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

ExternalAuthStateList is a list of values of the 'external_auth_state' type.

func (*ExternalAuthStateList) Each ¶

func (l *ExternalAuthStateList) Each(f func(item *ExternalAuthState) 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 (*ExternalAuthStateList) Empty ¶

func (l *ExternalAuthStateList) Empty() bool

Empty returns true if the list is empty.

func (*ExternalAuthStateList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ExternalAuthStateList) Items ¶

Items returns the items of the list.

func (*ExternalAuthStateList) Len ¶

func (l *ExternalAuthStateList) Len() int

Len returns the length of the list.

func (*ExternalAuthStateList) Range ¶

func (l *ExternalAuthStateList) Range(f func(index int, item *ExternalAuthState) 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 (*ExternalAuthStateList) SetHREF ¶

func (l *ExternalAuthStateList) SetHREF(href string)

Items sets the items of the list.

func (*ExternalAuthStateList) SetItems ¶

func (l *ExternalAuthStateList) SetItems(items []*ExternalAuthState)

Items sets the items of the list.

func (l *ExternalAuthStateList) SetLink(link bool)

Items sets the items of the list.

func (*ExternalAuthStateList) 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 ExternalAuthStateListBuilder ¶

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

ExternalAuthStateListBuilder contains the data and logic needed to build 'external_auth_state' objects.

func NewExternalAuthStateList ¶

func NewExternalAuthStateList() *ExternalAuthStateListBuilder

NewExternalAuthStateList creates a new builder of 'external_auth_state' objects.

func (*ExternalAuthStateListBuilder) Build ¶

Build creates a list of 'external_auth_state' objects using the configuration stored in the builder.

func (*ExternalAuthStateListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExternalAuthStateListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ExternalAuthStateListBuilder) Items ¶

Items sets the items of the list.

type ExternalAuthStatus ¶

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

ExternalAuthStatus represents the values of the 'external_auth_status' type.

Representation of the status of an external authentication provider.

func ReadExternalAuthStatus ¶

func ReadExternalAuthStatus(iterator *jsoniter.Iterator) *ExternalAuthStatus

ReadExternalAuthStatus reads a value of the 'external_auth_status' type from the given iterator.

func ReadExternalAuthStatusList ¶

func ReadExternalAuthStatusList(iterator *jsoniter.Iterator) []*ExternalAuthStatus

ReadExternalAuthStatusList reads list of values of the ”external_auth_status' type from the given iterator.

func UnmarshalExternalAuthStatus ¶

func UnmarshalExternalAuthStatus(source interface{}) (object *ExternalAuthStatus, err error)

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

func UnmarshalExternalAuthStatusList ¶

func UnmarshalExternalAuthStatusList(source interface{}) (items []*ExternalAuthStatus, err error)

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

func (*ExternalAuthStatus) Empty ¶

func (o *ExternalAuthStatus) Empty() bool

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

func (*ExternalAuthStatus) GetMessage ¶

func (o *ExternalAuthStatus) GetMessage() (value string, ok bool)

GetMessage returns the value of the 'message' attribute and a flag indicating if the attribute has a value.

A descriptive message providing additional context about the current state of the external authentication provider.

func (*ExternalAuthStatus) GetState ¶

func (o *ExternalAuthStatus) GetState() (value *ExternalAuthState, ok bool)

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

The current state of the external authentication provider.

func (*ExternalAuthStatus) Message ¶

func (o *ExternalAuthStatus) Message() string

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

A descriptive message providing additional context about the current state of the external authentication provider.

func (*ExternalAuthStatus) State ¶

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

The current state of the external authentication provider.

type ExternalAuthStatusBuilder ¶

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

Representation of the status of an external authentication provider.

func NewExternalAuthStatus ¶

func NewExternalAuthStatus() *ExternalAuthStatusBuilder

NewExternalAuthStatus creates a new builder of 'external_auth_status' objects.

func (*ExternalAuthStatusBuilder) Build ¶

func (b *ExternalAuthStatusBuilder) Build() (object *ExternalAuthStatus, err error)

Build creates a 'external_auth_status' object using the configuration stored in the builder.

func (*ExternalAuthStatusBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExternalAuthStatusBuilder) Empty ¶

func (b *ExternalAuthStatusBuilder) Empty() bool

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

func (*ExternalAuthStatusBuilder) Message ¶

Message sets the value of the 'message' attribute to the given value.

func (*ExternalAuthStatusBuilder) State ¶

State sets the value of the 'state' attribute to the given value.

Representation of the state of an external authentication provider.

type ExternalAuthStatusList ¶

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

ExternalAuthStatusList is a list of values of the 'external_auth_status' type.

func (*ExternalAuthStatusList) Each ¶

func (l *ExternalAuthStatusList) Each(f func(item *ExternalAuthStatus) 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 (*ExternalAuthStatusList) Empty ¶

func (l *ExternalAuthStatusList) Empty() bool

Empty returns true if the list is empty.

func (*ExternalAuthStatusList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ExternalAuthStatusList) Items ¶

Items returns the items of the list.

func (*ExternalAuthStatusList) Len ¶

func (l *ExternalAuthStatusList) Len() int

Len returns the length of the list.

func (*ExternalAuthStatusList) Range ¶

func (l *ExternalAuthStatusList) Range(f func(index int, item *ExternalAuthStatus) 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 (*ExternalAuthStatusList) SetHREF ¶

func (l *ExternalAuthStatusList) SetHREF(href string)

Items sets the items of the list.

func (*ExternalAuthStatusList) SetItems ¶

func (l *ExternalAuthStatusList) SetItems(items []*ExternalAuthStatus)

Items sets the items of the list.

func (l *ExternalAuthStatusList) SetLink(link bool)

Items sets the items of the list.

func (*ExternalAuthStatusList) 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 ExternalAuthStatusListBuilder ¶

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

ExternalAuthStatusListBuilder contains the data and logic needed to build 'external_auth_status' objects.

func NewExternalAuthStatusList ¶

func NewExternalAuthStatusList() *ExternalAuthStatusListBuilder

NewExternalAuthStatusList creates a new builder of 'external_auth_status' objects.

func (*ExternalAuthStatusListBuilder) Build ¶

Build creates a list of 'external_auth_status' objects using the configuration stored in the builder.

func (*ExternalAuthStatusListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExternalAuthStatusListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ExternalAuthStatusListBuilder) 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
}

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
}

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
}

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 GCPImageOverride ¶

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

GCPImageOverride represents the values of the 'GCP_image_override' type.

GcpImageOverride specifies what a GCP VM Image should be used for a particular product and billing model

func ReadGCPImageOverride ¶

func ReadGCPImageOverride(iterator *jsoniter.Iterator) *GCPImageOverride

ReadGCPImageOverride reads a value of the 'GCP_image_override' type from the given iterator.

func ReadGCPImageOverrideList ¶

func ReadGCPImageOverrideList(iterator *jsoniter.Iterator) []*GCPImageOverride

ReadGCPImageOverrideList reads list of values of the ”GCP_image_override' type from the given iterator.

func UnmarshalGCPImageOverride ¶

func UnmarshalGCPImageOverride(source interface{}) (object *GCPImageOverride, err error)

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

func UnmarshalGCPImageOverrideList ¶

func UnmarshalGCPImageOverrideList(source interface{}) (items []*GCPImageOverride, err error)

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

func (*GCPImageOverride) BillingModel ¶

func (o *GCPImageOverride) BillingModel() *v1.BillingModelItem

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

Link to the billing model.

func (*GCPImageOverride) Empty ¶

func (o *GCPImageOverride) Empty() bool

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

func (*GCPImageOverride) GetBillingModel ¶

func (o *GCPImageOverride) GetBillingModel() (value *v1.BillingModelItem, ok bool)

GetBillingModel returns the value of the 'billing_model' attribute and a flag indicating if the attribute has a value.

Link to the billing model.

func (*GCPImageOverride) GetHREF ¶

func (o *GCPImageOverride) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*GCPImageOverride) GetID ¶

func (o *GCPImageOverride) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*GCPImageOverride) GetImageID ¶

func (o *GCPImageOverride) GetImageID() (value string, ok bool)

GetImageID returns the value of the 'image_ID' attribute and a flag indicating if the attribute has a value.

ImageID is the id of the Google Cloud Platform image.

func (*GCPImageOverride) GetProduct ¶

func (o *GCPImageOverride) 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.

func (*GCPImageOverride) GetProjectID ¶

func (o *GCPImageOverride) GetProjectID() (value string, ok bool)

GetProjectID returns the value of the 'project_ID' attribute and a flag indicating if the attribute has a value.

ProjectID is the id of the Google Cloud Platform project that hosts the image.

func (*GCPImageOverride) HREF ¶

func (o *GCPImageOverride) HREF() string

HREF returns the link to the object.

func (*GCPImageOverride) ID ¶

func (o *GCPImageOverride) ID() string

ID returns the identifier of the object.

func (*GCPImageOverride) ImageID ¶

func (o *GCPImageOverride) ImageID() string

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

ImageID is the id of the Google Cloud Platform image.

func (*GCPImageOverride) Kind ¶

func (o *GCPImageOverride) Kind() string

Kind returns the name of the type of the object.

func (o *GCPImageOverride) Link() bool

Link returns true if this is a link.

func (*GCPImageOverride) Product ¶

func (o *GCPImageOverride) 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.

func (*GCPImageOverride) ProjectID ¶

func (o *GCPImageOverride) 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.

ProjectID is the id of the Google Cloud Platform project that hosts the image.

type GCPImageOverrideBuilder ¶

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

GcpImageOverride specifies what a GCP VM Image should be used for a particular product and billing model

func NewGCPImageOverride ¶

func NewGCPImageOverride() *GCPImageOverrideBuilder

NewGCPImageOverride creates a new builder of 'GCP_image_override' objects.

func (*GCPImageOverrideBuilder) BillingModel ¶

BillingModel sets the value of the 'billing_model' attribute to the given value.

BillingModelItem represents a billing model

func (*GCPImageOverrideBuilder) Build ¶

func (b *GCPImageOverrideBuilder) Build() (object *GCPImageOverride, err error)

Build creates a 'GCP_image_override' object using the configuration stored in the builder.

func (*GCPImageOverrideBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GCPImageOverrideBuilder) Empty ¶

func (b *GCPImageOverrideBuilder) Empty() bool

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

func (*GCPImageOverrideBuilder) HREF ¶

HREF sets the link to the object.

func (*GCPImageOverrideBuilder) ID ¶

ID sets the identifier of the object.

func (*GCPImageOverrideBuilder) ImageID ¶

ImageID sets the value of the 'image_ID' attribute to the given value.

Link sets the flag that indicates if this is a link.

func (*GCPImageOverrideBuilder) Product ¶

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 (*GCPImageOverrideBuilder) ProjectID ¶

ProjectID sets the value of the 'project_ID' attribute to the given value.

type GCPImageOverrideList ¶

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

GCPImageOverrideList is a list of values of the 'GCP_image_override' type.

func (*GCPImageOverrideList) Each ¶

func (l *GCPImageOverrideList) Each(f func(item *GCPImageOverride) 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 (*GCPImageOverrideList) Empty ¶

func (l *GCPImageOverrideList) Empty() bool

Empty returns true if the list is empty.

func (*GCPImageOverrideList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GCPImageOverrideList) GetHREF ¶

func (l *GCPImageOverrideList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*GCPImageOverrideList) HREF ¶

func (l *GCPImageOverrideList) HREF() string

HREF returns the link to the list.

func (*GCPImageOverrideList) Items ¶

func (l *GCPImageOverrideList) Items() []*GCPImageOverride

Items returns the items of the list.

func (*GCPImageOverrideList) Kind ¶

func (l *GCPImageOverrideList) Kind() string

Kind returns the name of the type of the object.

func (*GCPImageOverrideList) Len ¶

func (l *GCPImageOverrideList) Len() int

Len returns the length of the list.

func (l *GCPImageOverrideList) Link() bool

Link returns true iif this is a link.

func (*GCPImageOverrideList) Range ¶

func (l *GCPImageOverrideList) Range(f func(index int, item *GCPImageOverride) 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 (*GCPImageOverrideList) SetHREF ¶

func (l *GCPImageOverrideList) SetHREF(href string)

Items sets the items of the list.

func (*GCPImageOverrideList) SetItems ¶

func (l *GCPImageOverrideList) SetItems(items []*GCPImageOverride)

Items sets the items of the list.

func (l *GCPImageOverrideList) SetLink(link bool)

Items sets the items of the list.

func (*GCPImageOverrideList) Slice ¶

func (l *GCPImageOverrideList) Slice() []*GCPImageOverride

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 GCPImageOverrideListBuilder ¶

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

GCPImageOverrideListBuilder contains the data and logic needed to build 'GCP_image_override' objects.

func NewGCPImageOverrideList ¶

func NewGCPImageOverrideList() *GCPImageOverrideListBuilder

NewGCPImageOverrideList creates a new builder of 'GCP_image_override' objects.

func (*GCPImageOverrideListBuilder) Build ¶

func (b *GCPImageOverrideListBuilder) Build() (list *GCPImageOverrideList, err error)

Build creates a list of 'GCP_image_override' objects using the configuration stored in the builder.

func (*GCPImageOverrideListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GCPImageOverrideListBuilder) Empty ¶

func (b *GCPImageOverrideListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GCPImageOverrideListBuilder) 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
}

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
}

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
}

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
}

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
}

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 GroupsClaim ¶

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

GroupsClaim represents the values of the 'groups_claim' type.

func ReadGroupsClaim ¶

func ReadGroupsClaim(iterator *jsoniter.Iterator) *GroupsClaim

ReadGroupsClaim reads a value of the 'groups_claim' type from the given iterator.

func ReadGroupsClaimList ¶

func ReadGroupsClaimList(iterator *jsoniter.Iterator) []*GroupsClaim

ReadGroupsClaimList reads list of values of the ”groups_claim' type from the given iterator.

func UnmarshalGroupsClaim ¶

func UnmarshalGroupsClaim(source interface{}) (object *GroupsClaim, err error)

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

func UnmarshalGroupsClaimList ¶

func UnmarshalGroupsClaimList(source interface{}) (items []*GroupsClaim, err error)

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

func (*GroupsClaim) Claim ¶

func (o *GroupsClaim) Claim() string

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

The claim used in the token.

func (*GroupsClaim) Empty ¶

func (o *GroupsClaim) Empty() bool

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

func (*GroupsClaim) GetClaim ¶

func (o *GroupsClaim) GetClaim() (value string, ok bool)

GetClaim returns the value of the 'claim' attribute and a flag indicating if the attribute has a value.

The claim used in the token.

func (*GroupsClaim) GetPrefix ¶

func (o *GroupsClaim) GetPrefix() (value string, ok bool)

GetPrefix returns the value of the 'prefix' attribute and a flag indicating if the attribute has a value.

A prefix contatenated in the claim (Optional).

func (*GroupsClaim) Prefix ¶

func (o *GroupsClaim) Prefix() string

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

A prefix contatenated in the claim (Optional).

type GroupsClaimBuilder ¶

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

func NewGroupsClaim ¶

func NewGroupsClaim() *GroupsClaimBuilder

NewGroupsClaim creates a new builder of 'groups_claim' objects.

func (*GroupsClaimBuilder) Build ¶

func (b *GroupsClaimBuilder) Build() (object *GroupsClaim, err error)

Build creates a 'groups_claim' object using the configuration stored in the builder.

func (*GroupsClaimBuilder) Claim ¶

func (b *GroupsClaimBuilder) Claim(value string) *GroupsClaimBuilder

Claim sets the value of the 'claim' attribute to the given value.

func (*GroupsClaimBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GroupsClaimBuilder) Empty ¶

func (b *GroupsClaimBuilder) Empty() bool

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

func (*GroupsClaimBuilder) Prefix ¶

func (b *GroupsClaimBuilder) Prefix(value string) *GroupsClaimBuilder

Prefix sets the value of the 'prefix' attribute to the given value.

type GroupsClaimList ¶

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

GroupsClaimList is a list of values of the 'groups_claim' type.

func (*GroupsClaimList) Each ¶

func (l *GroupsClaimList) Each(f func(item *GroupsClaim) 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 (*GroupsClaimList) Empty ¶

func (l *GroupsClaimList) Empty() bool

Empty returns true if the list is empty.

func (*GroupsClaimList) Get ¶

func (l *GroupsClaimList) Get(i int) *GroupsClaim

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GroupsClaimList) Items ¶

func (l *GroupsClaimList) Items() []*GroupsClaim

Items returns the items of the list.

func (*GroupsClaimList) Len ¶

func (l *GroupsClaimList) Len() int

Len returns the length of the list.

func (*GroupsClaimList) Range ¶

func (l *GroupsClaimList) Range(f func(index int, item *GroupsClaim) 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 (*GroupsClaimList) SetHREF ¶

func (l *GroupsClaimList) SetHREF(href string)

Items sets the items of the list.

func (*GroupsClaimList) SetItems ¶

func (l *GroupsClaimList) SetItems(items []*GroupsClaim)

Items sets the items of the list.

func (l *GroupsClaimList) SetLink(link bool)

Items sets the items of the list.

func (*GroupsClaimList) Slice ¶

func (l *GroupsClaimList) Slice() []*GroupsClaim

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 GroupsClaimListBuilder ¶

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

GroupsClaimListBuilder contains the data and logic needed to build 'groups_claim' objects.

func NewGroupsClaimList ¶

func NewGroupsClaimList() *GroupsClaimListBuilder

NewGroupsClaimList creates a new builder of 'groups_claim' objects.

func (*GroupsClaimListBuilder) Build ¶

func (b *GroupsClaimListBuilder) Build() (list *GroupsClaimList, err error)

Build creates a list of 'groups_claim' objects using the configuration stored in the builder.

func (*GroupsClaimListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GroupsClaimListBuilder) Empty ¶

func (b *GroupsClaimListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GroupsClaimListBuilder) 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
}

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
}

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 ImageOverrides ¶

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

ImageOverrides represents the values of the 'image_overrides' type.

ImageOverrides holds the lists of available images per cloud provider.

func ReadImageOverrides ¶

func ReadImageOverrides(iterator *jsoniter.Iterator) *ImageOverrides

ReadImageOverrides reads a value of the 'image_overrides' type from the given iterator.

func ReadImageOverridesList ¶

func ReadImageOverridesList(iterator *jsoniter.Iterator) []*ImageOverrides

ReadImageOverridesList reads list of values of the ”image_overrides' type from the given iterator.

func UnmarshalImageOverrides ¶

func UnmarshalImageOverrides(source interface{}) (object *ImageOverrides, err error)

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

func UnmarshalImageOverridesList ¶

func UnmarshalImageOverridesList(source interface{}) (items []*ImageOverrides, err error)

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

func (*ImageOverrides) AWS ¶

func (o *ImageOverrides) AWS() []*AMIOverride

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

func (*ImageOverrides) Empty ¶

func (o *ImageOverrides) Empty() bool

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

func (*ImageOverrides) GCP ¶

func (o *ImageOverrides) GCP() []*GCPImageOverride

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

func (*ImageOverrides) GetAWS ¶

func (o *ImageOverrides) GetAWS() (value []*AMIOverride, ok bool)

GetAWS returns the value of the 'AWS' attribute and a flag indicating if the attribute has a value.

func (*ImageOverrides) GetGCP ¶

func (o *ImageOverrides) GetGCP() (value []*GCPImageOverride, ok bool)

GetGCP returns the value of the 'GCP' attribute and a flag indicating if the attribute has a value.

func (*ImageOverrides) GetHREF ¶

func (o *ImageOverrides) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ImageOverrides) GetID ¶

func (o *ImageOverrides) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ImageOverrides) HREF ¶

func (o *ImageOverrides) HREF() string

HREF returns the link to the object.

func (*ImageOverrides) ID ¶

func (o *ImageOverrides) ID() string

ID returns the identifier of the object.

func (*ImageOverrides) Kind ¶

func (o *ImageOverrides) Kind() string

Kind returns the name of the type of the object.

func (o *ImageOverrides) Link() bool

Link returns true if this is a link.

type ImageOverridesBuilder ¶

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

ImageOverrides holds the lists of available images per cloud provider.

func NewImageOverrides ¶

func NewImageOverrides() *ImageOverridesBuilder

NewImageOverrides creates a new builder of 'image_overrides' objects.

func (*ImageOverridesBuilder) AWS ¶

AWS sets the value of the 'AWS' attribute to the given values.

func (*ImageOverridesBuilder) Build ¶

func (b *ImageOverridesBuilder) Build() (object *ImageOverrides, err error)

Build creates a 'image_overrides' object using the configuration stored in the builder.

func (*ImageOverridesBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ImageOverridesBuilder) Empty ¶

func (b *ImageOverridesBuilder) Empty() bool

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

func (*ImageOverridesBuilder) GCP ¶

GCP sets the value of the 'GCP' attribute to the given values.

func (*ImageOverridesBuilder) HREF ¶

HREF sets the link to the object.

func (*ImageOverridesBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

type ImageOverridesList ¶

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

ImageOverridesList is a list of values of the 'image_overrides' type.

func (*ImageOverridesList) Each ¶

func (l *ImageOverridesList) Each(f func(item *ImageOverrides) 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 (*ImageOverridesList) Empty ¶

func (l *ImageOverridesList) Empty() bool

Empty returns true if the list is empty.

func (*ImageOverridesList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ImageOverridesList) GetHREF ¶

func (l *ImageOverridesList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ImageOverridesList) HREF ¶

func (l *ImageOverridesList) HREF() string

HREF returns the link to the list.

func (*ImageOverridesList) Items ¶

func (l *ImageOverridesList) Items() []*ImageOverrides

Items returns the items of the list.

func (*ImageOverridesList) Kind ¶

func (l *ImageOverridesList) Kind() string

Kind returns the name of the type of the object.

func (*ImageOverridesList) Len ¶

func (l *ImageOverridesList) Len() int

Len returns the length of the list.

func (l *ImageOverridesList) Link() bool

Link returns true iif this is a link.

func (*ImageOverridesList) Range ¶

func (l *ImageOverridesList) Range(f func(index int, item *ImageOverrides) 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 (*ImageOverridesList) SetHREF ¶

func (l *ImageOverridesList) SetHREF(href string)

Items sets the items of the list.

func (*ImageOverridesList) SetItems ¶

func (l *ImageOverridesList) SetItems(items []*ImageOverrides)

Items sets the items of the list.

func (l *ImageOverridesList) SetLink(link bool)

Items sets the items of the list.

func (*ImageOverridesList) Slice ¶

func (l *ImageOverridesList) Slice() []*ImageOverrides

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 ImageOverridesListBuilder ¶

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

ImageOverridesListBuilder contains the data and logic needed to build 'image_overrides' objects.

func NewImageOverridesList ¶

func NewImageOverridesList() *ImageOverridesListBuilder

NewImageOverridesList creates a new builder of 'image_overrides' objects.

func (*ImageOverridesListBuilder) Build ¶

func (b *ImageOverridesListBuilder) Build() (list *ImageOverridesList, err error)

Build creates a list of 'image_overrides' objects using the configuration stored in the builder.

func (*ImageOverridesListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ImageOverridesListBuilder) Empty ¶

func (b *ImageOverridesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ImageOverridesListBuilder) Items ¶

Items sets the items of the list.

type InflightCheck ¶

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

InflightCheck represents the values of the 'inflight_check' type.

Representation of check running before the cluster is provisioned.

func ReadInflightCheck ¶

func ReadInflightCheck(iterator *jsoniter.Iterator) *InflightCheck

ReadInflightCheck reads a value of the 'inflight_check' type from the given iterator.

func ReadInflightCheckList ¶

func ReadInflightCheckList(iterator *jsoniter.Iterator) []*InflightCheck

ReadInflightCheckList reads list of values of the ”inflight_check' type from the given iterator.

func UnmarshalInflightCheck ¶

func UnmarshalInflightCheck(source interface{}) (object *InflightCheck, err error)

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

func UnmarshalInflightCheckList ¶

func UnmarshalInflightCheckList(source interface{}) (items []*InflightCheck, err error)

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

func (*InflightCheck) Details ¶

func (o *InflightCheck) Details() interface{}

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

Details regarding the state of the inflight check.

func (*InflightCheck) Empty ¶

func (o *InflightCheck) Empty() bool

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

func (*InflightCheck) EndedAt ¶

func (o *InflightCheck) EndedAt() time.Time

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

The time the check finished running.

func (*InflightCheck) GetDetails ¶

func (o *InflightCheck) GetDetails() (value interface{}, ok bool)

GetDetails returns the value of the 'details' attribute and a flag indicating if the attribute has a value.

Details regarding the state of the inflight check.

func (*InflightCheck) GetEndedAt ¶

func (o *InflightCheck) GetEndedAt() (value time.Time, ok bool)

GetEndedAt returns the value of the 'ended_at' attribute and a flag indicating if the attribute has a value.

The time the check finished running.

func (*InflightCheck) GetHREF ¶

func (o *InflightCheck) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*InflightCheck) GetID ¶

func (o *InflightCheck) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*InflightCheck) GetName ¶

func (o *InflightCheck) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

The name of the inflight check.

func (*InflightCheck) GetRestarts ¶

func (o *InflightCheck) GetRestarts() (value int, ok bool)

GetRestarts returns the value of the 'restarts' attribute and a flag indicating if the attribute has a value.

The number of times the inflight check restarted.

func (*InflightCheck) GetStartedAt ¶

func (o *InflightCheck) GetStartedAt() (value time.Time, ok bool)

GetStartedAt returns the value of the 'started_at' attribute and a flag indicating if the attribute has a value.

The time the check started running.

func (*InflightCheck) GetState ¶

func (o *InflightCheck) GetState() (value InflightCheckState, ok bool)

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

State of the inflight check.

func (*InflightCheck) HREF ¶

func (o *InflightCheck) HREF() string

HREF returns the link to the object.

func (*InflightCheck) ID ¶

func (o *InflightCheck) ID() string

ID returns the identifier of the object.

func (*InflightCheck) Kind ¶

func (o *InflightCheck) Kind() string

Kind returns the name of the type of the object.

func (o *InflightCheck) Link() bool

Link returns true if this is a link.

func (*InflightCheck) Name ¶

func (o *InflightCheck) 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.

The name of the inflight check.

func (*InflightCheck) Restarts ¶

func (o *InflightCheck) Restarts() int

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

The number of times the inflight check restarted.

func (*InflightCheck) StartedAt ¶

func (o *InflightCheck) StartedAt() time.Time

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

The time the check started running.

func (*InflightCheck) State ¶

func (o *InflightCheck) State() InflightCheckState

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

State of the inflight check.

type InflightCheckBuilder ¶

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

Representation of check running before the cluster is provisioned.

func NewInflightCheck ¶

func NewInflightCheck() *InflightCheckBuilder

NewInflightCheck creates a new builder of 'inflight_check' objects.

func (*InflightCheckBuilder) Build ¶

func (b *InflightCheckBuilder) Build() (object *InflightCheck, err error)

Build creates a 'inflight_check' object using the configuration stored in the builder.

func (*InflightCheckBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*InflightCheckBuilder) Details ¶

func (b *InflightCheckBuilder) Details(value interface{}) *InflightCheckBuilder

Details sets the value of the 'details' attribute to the given value.

func (*InflightCheckBuilder) Empty ¶

func (b *InflightCheckBuilder) Empty() bool

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

func (*InflightCheckBuilder) EndedAt ¶

EndedAt sets the value of the 'ended_at' attribute to the given value.

func (*InflightCheckBuilder) HREF ¶

HREF sets the link to the object.

func (*InflightCheckBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*InflightCheckBuilder) Name ¶

Name sets the value of the 'name' attribute to the given value.

func (*InflightCheckBuilder) Restarts ¶

func (b *InflightCheckBuilder) Restarts(value int) *InflightCheckBuilder

Restarts sets the value of the 'restarts' attribute to the given value.

func (*InflightCheckBuilder) StartedAt ¶

func (b *InflightCheckBuilder) StartedAt(value time.Time) *InflightCheckBuilder

StartedAt sets the value of the 'started_at' attribute to the given value.

func (*InflightCheckBuilder) State ¶

State sets the value of the 'state' attribute to the given value.

State of an inflight check.

type InflightCheckList ¶

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

InflightCheckList is a list of values of the 'inflight_check' type.

func (*InflightCheckList) Each ¶

func (l *InflightCheckList) Each(f func(item *InflightCheck) 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 (*InflightCheckList) Empty ¶

func (l *InflightCheckList) Empty() bool

Empty returns true if the list is empty.

func (*InflightCheckList) Get ¶

func (l *InflightCheckList) Get(i int) *InflightCheck

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*InflightCheckList) GetHREF ¶

func (l *InflightCheckList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*InflightCheckList) HREF ¶

func (l *InflightCheckList) HREF() string

HREF returns the link to the list.

func (*InflightCheckList) Items ¶

func (l *InflightCheckList) Items() []*InflightCheck

Items returns the items of the list.

func (*InflightCheckList) Kind ¶

func (l *InflightCheckList) Kind() string

Kind returns the name of the type of the object.

func (*InflightCheckList) Len ¶

func (l *InflightCheckList) Len() int

Len returns the length of the list.

func (l *InflightCheckList) Link() bool

Link returns true iif this is a link.

func (*InflightCheckList) Range ¶

func (l *InflightCheckList) Range(f func(index int, item *InflightCheck) 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 (*InflightCheckList) SetHREF ¶

func (l *InflightCheckList) SetHREF(href string)

Items sets the items of the list.

func (*InflightCheckList) SetItems ¶

func (l *InflightCheckList) SetItems(items []*InflightCheck)

Items sets the items of the list.

func (l *InflightCheckList) SetLink(link bool)

Items sets the items of the list.

func (*InflightCheckList) Slice ¶

func (l *InflightCheckList) Slice() []*InflightCheck

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 InflightCheckListBuilder ¶

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

InflightCheckListBuilder contains the data and logic needed to build 'inflight_check' objects.

func NewInflightCheckList ¶

func NewInflightCheckList() *InflightCheckListBuilder

NewInflightCheckList creates a new builder of 'inflight_check' objects.

func (*InflightCheckListBuilder) Build ¶

func (b *InflightCheckListBuilder) Build() (list *InflightCheckList, err error)

Build creates a list of 'inflight_check' objects using the configuration stored in the builder.

func (*InflightCheckListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*InflightCheckListBuilder) Empty ¶

func (b *InflightCheckListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*InflightCheckListBuilder) Items ¶

Items sets the items of the list.

type InflightCheckState ¶

type InflightCheckState string

InflightCheckState represents the values of the 'inflight_check_state' enumerated type.

const (
	// The inflight check failed.
	InflightCheckStateFailed InflightCheckState = "failed"
	// The inflight check passed.
	InflightCheckStatePassed InflightCheckState = "passed"
	// The inflight check did not start running yet.
	InflightCheckStatePending InflightCheckState = "pending"
	// The inflight check is currently running.
	InflightCheckStateRunning InflightCheckState = "running"
)

func ReadInflightCheckStateList ¶

func ReadInflightCheckStateList(iterator *jsoniter.Iterator) []InflightCheckState

ReadInflightCheckStateList reads list of values of the ”inflight_check_state' type from the given iterator.

func UnmarshalInflightCheckStateList ¶

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

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

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
}

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 K8sServiceAccountOperatorIdentityRequirement ¶

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

K8sServiceAccountOperatorIdentityRequirement represents the values of the 'K8s_service_account_operator_identity_requirement' type.

func ReadK8sServiceAccountOperatorIdentityRequirement ¶

func ReadK8sServiceAccountOperatorIdentityRequirement(iterator *jsoniter.Iterator) *K8sServiceAccountOperatorIdentityRequirement

ReadK8sServiceAccountOperatorIdentityRequirement reads a value of the 'K8s_service_account_operator_identity_requirement' type from the given iterator.

func ReadK8sServiceAccountOperatorIdentityRequirementList ¶

func ReadK8sServiceAccountOperatorIdentityRequirementList(iterator *jsoniter.Iterator) []*K8sServiceAccountOperatorIdentityRequirement

ReadK8sServiceAccountOperatorIdentityRequirementList reads list of values of the ”K8s_service_account_operator_identity_requirement' type from the given iterator.

func UnmarshalK8sServiceAccountOperatorIdentityRequirement ¶

func UnmarshalK8sServiceAccountOperatorIdentityRequirement(source interface{}) (object *K8sServiceAccountOperatorIdentityRequirement, err error)

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

func UnmarshalK8sServiceAccountOperatorIdentityRequirementList ¶

func UnmarshalK8sServiceAccountOperatorIdentityRequirementList(source interface{}) (items []*K8sServiceAccountOperatorIdentityRequirement, err error)

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

func (*K8sServiceAccountOperatorIdentityRequirement) Empty ¶

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

func (*K8sServiceAccountOperatorIdentityRequirement) GetName ¶

func (o *K8sServiceAccountOperatorIdentityRequirement) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

The name of the service account to be leveraged by the operator

func (*K8sServiceAccountOperatorIdentityRequirement) GetNamespace ¶

func (o *K8sServiceAccountOperatorIdentityRequirement) GetNamespace() (value string, ok bool)

GetNamespace returns the value of the 'namespace' attribute and a flag indicating if the attribute has a value.

The namespace of the service account to be leveraged by the operator

func (*K8sServiceAccountOperatorIdentityRequirement) Name ¶

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

The name of the service account to be leveraged by the operator

func (*K8sServiceAccountOperatorIdentityRequirement) Namespace ¶

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

The namespace of the service account to be leveraged by the operator

type K8sServiceAccountOperatorIdentityRequirementBuilder ¶

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

func NewK8sServiceAccountOperatorIdentityRequirement ¶

func NewK8sServiceAccountOperatorIdentityRequirement() *K8sServiceAccountOperatorIdentityRequirementBuilder

NewK8sServiceAccountOperatorIdentityRequirement creates a new builder of 'K8s_service_account_operator_identity_requirement' objects.

func (*K8sServiceAccountOperatorIdentityRequirementBuilder) Build ¶

Build creates a 'K8s_service_account_operator_identity_requirement' object using the configuration stored in the builder.

func (*K8sServiceAccountOperatorIdentityRequirementBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*K8sServiceAccountOperatorIdentityRequirementBuilder) Empty ¶

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

func (*K8sServiceAccountOperatorIdentityRequirementBuilder) Name ¶

Name sets the value of the 'name' attribute to the given value.

func (*K8sServiceAccountOperatorIdentityRequirementBuilder) Namespace ¶

Namespace sets the value of the 'namespace' attribute to the given value.

type K8sServiceAccountOperatorIdentityRequirementList ¶

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

K8sServiceAccountOperatorIdentityRequirementList is a list of values of the 'K8s_service_account_operator_identity_requirement' type.

func (*K8sServiceAccountOperatorIdentityRequirementList) 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 (*K8sServiceAccountOperatorIdentityRequirementList) Empty ¶

Empty returns true if the list is empty.

func (*K8sServiceAccountOperatorIdentityRequirementList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*K8sServiceAccountOperatorIdentityRequirementList) Items ¶

Items returns the items of the list.

func (*K8sServiceAccountOperatorIdentityRequirementList) Len ¶

Len returns the length of the list.

func (*K8sServiceAccountOperatorIdentityRequirementList) 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 (*K8sServiceAccountOperatorIdentityRequirementList) SetHREF ¶

Items sets the items of the list.

func (*K8sServiceAccountOperatorIdentityRequirementList) SetItems ¶

Items sets the items of the list.

Items sets the items of the list.

func (*K8sServiceAccountOperatorIdentityRequirementList) 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 K8sServiceAccountOperatorIdentityRequirementListBuilder ¶

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

K8sServiceAccountOperatorIdentityRequirementListBuilder contains the data and logic needed to build 'K8s_service_account_operator_identity_requirement' objects.

func NewK8sServiceAccountOperatorIdentityRequirementList ¶

func NewK8sServiceAccountOperatorIdentityRequirementList() *K8sServiceAccountOperatorIdentityRequirementListBuilder

NewK8sServiceAccountOperatorIdentityRequirementList creates a new builder of 'K8s_service_account_operator_identity_requirement' objects.

func (*K8sServiceAccountOperatorIdentityRequirementListBuilder) Build ¶

Build creates a list of 'K8s_service_account_operator_identity_requirement' objects using the configuration stored in the builder.

func (*K8sServiceAccountOperatorIdentityRequirementListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*K8sServiceAccountOperatorIdentityRequirementListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*K8sServiceAccountOperatorIdentityRequirementListBuilder) 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
}

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
}

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
}

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 ManagedIdentitiesRequirements ¶

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

ManagedIdentitiesRequirements represents the values of the 'managed_identities_requirements' type.

Representation of managed identities requirements. When creating ARO-HCP Clusters, the end-users will need to pre-create the set of Managed Identities required by the clusters. The set of Managed Identities that the end-users need to precreate is not static and depends on several factors: (1) The OpenShift version of the cluster being created. (2) The functionalities that are being enabled for the cluster. Some Managed Identities are not always required but become required if a given functionality is enabled. Additionally, the Managed Identities that the end-users will need to precreate will have to have a set of required permissions assigned to them which also have to be returned to the end users.

func ReadManagedIdentitiesRequirements ¶

func ReadManagedIdentitiesRequirements(iterator *jsoniter.Iterator) *ManagedIdentitiesRequirements

ReadManagedIdentitiesRequirements reads a value of the 'managed_identities_requirements' type from the given iterator.

func ReadManagedIdentitiesRequirementsList ¶

func ReadManagedIdentitiesRequirementsList(iterator *jsoniter.Iterator) []*ManagedIdentitiesRequirements

ReadManagedIdentitiesRequirementsList reads list of values of the ”managed_identities_requirements' type from the given iterator.

func UnmarshalManagedIdentitiesRequirements ¶

func UnmarshalManagedIdentitiesRequirements(source interface{}) (object *ManagedIdentitiesRequirements, err error)

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

func UnmarshalManagedIdentitiesRequirementsList ¶

func UnmarshalManagedIdentitiesRequirementsList(source interface{}) (items []*ManagedIdentitiesRequirements, err error)

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

func (*ManagedIdentitiesRequirements) ControlPlaneOperatorsIdentities ¶

func (o *ManagedIdentitiesRequirements) ControlPlaneOperatorsIdentities() []*ControlPlaneOperatorIdentityRequirement

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

The control plane operators managed identities requirements

func (*ManagedIdentitiesRequirements) DataPlaneOperatorsIdentities ¶

func (o *ManagedIdentitiesRequirements) DataPlaneOperatorsIdentities() []*DataPlaneOperatorIdentityRequirement

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

The data plane operators managed identities requirements

func (*ManagedIdentitiesRequirements) Empty ¶

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

func (*ManagedIdentitiesRequirements) GetControlPlaneOperatorsIdentities ¶

func (o *ManagedIdentitiesRequirements) GetControlPlaneOperatorsIdentities() (value []*ControlPlaneOperatorIdentityRequirement, ok bool)

GetControlPlaneOperatorsIdentities returns the value of the 'control_plane_operators_identities' attribute and a flag indicating if the attribute has a value.

The control plane operators managed identities requirements

func (*ManagedIdentitiesRequirements) GetDataPlaneOperatorsIdentities ¶

func (o *ManagedIdentitiesRequirements) GetDataPlaneOperatorsIdentities() (value []*DataPlaneOperatorIdentityRequirement, ok bool)

GetDataPlaneOperatorsIdentities returns the value of the 'data_plane_operators_identities' attribute and a flag indicating if the attribute has a value.

The data plane operators managed identities requirements

func (*ManagedIdentitiesRequirements) GetHREF ¶

func (o *ManagedIdentitiesRequirements) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ManagedIdentitiesRequirements) GetID ¶

func (o *ManagedIdentitiesRequirements) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ManagedIdentitiesRequirements) HREF ¶

HREF returns the link to the object.

func (*ManagedIdentitiesRequirements) ID ¶

ID returns the identifier of the object.

func (*ManagedIdentitiesRequirements) Kind ¶

Kind returns the name of the type of the object.

Link returns true if this is a link.

type ManagedIdentitiesRequirementsBuilder ¶

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

Representation of managed identities requirements. When creating ARO-HCP Clusters, the end-users will need to pre-create the set of Managed Identities required by the clusters. The set of Managed Identities that the end-users need to precreate is not static and depends on several factors: (1) The OpenShift version of the cluster being created. (2) The functionalities that are being enabled for the cluster. Some Managed Identities are not always required but become required if a given functionality is enabled. Additionally, the Managed Identities that the end-users will need to precreate will have to have a set of required permissions assigned to them which also have to be returned to the end users.

func NewManagedIdentitiesRequirements ¶

func NewManagedIdentitiesRequirements() *ManagedIdentitiesRequirementsBuilder

NewManagedIdentitiesRequirements creates a new builder of 'managed_identities_requirements' objects.

func (*ManagedIdentitiesRequirementsBuilder) Build ¶

Build creates a 'managed_identities_requirements' object using the configuration stored in the builder.

func (*ManagedIdentitiesRequirementsBuilder) ControlPlaneOperatorsIdentities ¶

ControlPlaneOperatorsIdentities sets the value of the 'control_plane_operators_identities' attribute to the given values.

func (*ManagedIdentitiesRequirementsBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ManagedIdentitiesRequirementsBuilder) DataPlaneOperatorsIdentities ¶

DataPlaneOperatorsIdentities sets the value of the 'data_plane_operators_identities' attribute to the given values.

func (*ManagedIdentitiesRequirementsBuilder) Empty ¶

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

func (*ManagedIdentitiesRequirementsBuilder) HREF ¶

HREF sets the link to the object.

func (*ManagedIdentitiesRequirementsBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

type ManagedIdentitiesRequirementsList ¶

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

ManagedIdentitiesRequirementsList is a list of values of the 'managed_identities_requirements' type.

func (*ManagedIdentitiesRequirementsList) 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 (*ManagedIdentitiesRequirementsList) Empty ¶

Empty returns true if the list is empty.

func (*ManagedIdentitiesRequirementsList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ManagedIdentitiesRequirementsList) GetHREF ¶

func (l *ManagedIdentitiesRequirementsList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ManagedIdentitiesRequirementsList) HREF ¶

HREF returns the link to the list.

func (*ManagedIdentitiesRequirementsList) Items ¶

Items returns the items of the list.

func (*ManagedIdentitiesRequirementsList) Kind ¶

Kind returns the name of the type of the object.

func (*ManagedIdentitiesRequirementsList) Len ¶

Len returns the length of the list.

Link returns true iif this is a link.

func (*ManagedIdentitiesRequirementsList) 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 (*ManagedIdentitiesRequirementsList) SetHREF ¶

func (l *ManagedIdentitiesRequirementsList) SetHREF(href string)

Items sets the items of the list.

func (*ManagedIdentitiesRequirementsList) SetItems ¶

Items sets the items of the list.

func (l *ManagedIdentitiesRequirementsList) SetLink(link bool)

Items sets the items of the list.

func (*ManagedIdentitiesRequirementsList) 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 ManagedIdentitiesRequirementsListBuilder ¶

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

ManagedIdentitiesRequirementsListBuilder contains the data and logic needed to build 'managed_identities_requirements' objects.

func NewManagedIdentitiesRequirementsList ¶

func NewManagedIdentitiesRequirementsList() *ManagedIdentitiesRequirementsListBuilder

NewManagedIdentitiesRequirementsList creates a new builder of 'managed_identities_requirements' objects.

func (*ManagedIdentitiesRequirementsListBuilder) Build ¶

Build creates a list of 'managed_identities_requirements' objects using the configuration stored in the builder.

func (*ManagedIdentitiesRequirementsListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ManagedIdentitiesRequirementsListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ManagedIdentitiesRequirementsListBuilder) Items ¶

Items sets the items of the list.

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
}

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 MarketType ¶ added in v0.0.423

type MarketType string

MarketType represents the values of the 'market_type' enumerated type.

const (
	// Scheduled pre-purchased compute capacity.
	MarketTypeCapacityBlocks MarketType = "CapacityBlocks"
	// EC2 instances run as standard On-Demand instances.
	MarketTypeOnDemand MarketType = "OnDemand"
)

func ReadMarketTypeList ¶ added in v0.0.423

func ReadMarketTypeList(iterator *jsoniter.Iterator) []MarketType

ReadMarketTypeList reads list of values of the ”market_type' type from the given iterator.

func UnmarshalMarketTypeList ¶ added in v0.0.423

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

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

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 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
}

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 NodePool ¶

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

NodePool represents the values of the 'node_pool' type.

Representation of a node pool in a cluster.

func ReadNodePool ¶

func ReadNodePool(iterator *jsoniter.Iterator) *NodePool

ReadNodePool reads a value of the 'node_pool' type from the given iterator.

func ReadNodePoolList ¶

func ReadNodePoolList(iterator *jsoniter.Iterator) []*NodePool

ReadNodePoolList reads list of values of the ”node_pool' type from the given iterator.

func UnmarshalNodePool ¶

func UnmarshalNodePool(source interface{}) (object *NodePool, err error)

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

func UnmarshalNodePoolList ¶

func UnmarshalNodePoolList(source interface{}) (items []*NodePool, err error)

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

func (*NodePool) AWSNodePool ¶

func (o *NodePool) AWSNodePool() *AWSNodePool

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

AWS specific parameters (Optional).

func (*NodePool) AutoRepair ¶

func (o *NodePool) AutoRepair() bool

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

Specifies whether health checks should be enabled for machines in the NodePool.

func (*NodePool) Autoscaling ¶

func (o *NodePool) Autoscaling() *NodePoolAutoscaling

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

Details for auto-scaling the machine pool. Replicas and autoscaling cannot be used together.

func (*NodePool) AvailabilityZone ¶

func (o *NodePool) AvailabilityZone() string

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

The availability zone upon which the node is created.

func (*NodePool) AzureNodePool ¶

func (o *NodePool) AzureNodePool() *AzureNodePool

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

Azure specific parameters.

func (*NodePool) Empty ¶

func (o *NodePool) Empty() bool

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

func (*NodePool) GetAWSNodePool ¶

func (o *NodePool) GetAWSNodePool() (value *AWSNodePool, ok bool)

GetAWSNodePool returns the value of the 'AWS_node_pool' attribute and a flag indicating if the attribute has a value.

AWS specific parameters (Optional).

func (*NodePool) GetAutoRepair ¶

func (o *NodePool) GetAutoRepair() (value bool, ok bool)

GetAutoRepair returns the value of the 'auto_repair' attribute and a flag indicating if the attribute has a value.

Specifies whether health checks should be enabled for machines in the NodePool.

func (*NodePool) GetAutoscaling ¶

func (o *NodePool) GetAutoscaling() (value *NodePoolAutoscaling, ok bool)

GetAutoscaling returns the value of the 'autoscaling' attribute and a flag indicating if the attribute has a value.

Details for auto-scaling the machine pool. Replicas and autoscaling cannot be used together.

func (*NodePool) GetAvailabilityZone ¶

func (o *NodePool) GetAvailabilityZone() (value string, ok bool)

GetAvailabilityZone returns the value of the 'availability_zone' attribute and a flag indicating if the attribute has a value.

The availability zone upon which the node is created.

func (*NodePool) GetAzureNodePool ¶

func (o *NodePool) GetAzureNodePool() (value *AzureNodePool, ok bool)

GetAzureNodePool returns the value of the 'azure_node_pool' attribute and a flag indicating if the attribute has a value.

Azure specific parameters.

func (*NodePool) GetHREF ¶

func (o *NodePool) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*NodePool) GetID ¶

func (o *NodePool) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*NodePool) GetKubeletConfigs ¶

func (o *NodePool) GetKubeletConfigs() (value []string, ok bool)

GetKubeletConfigs returns the value of the 'kubelet_configs' attribute and a flag indicating if the attribute has a value.

The names of the KubeletConfigs for this node pool.

func (*NodePool) GetLabels ¶

func (o *NodePool) GetLabels() (value map[string]string, ok bool)

GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.

The labels set on the Nodes created.

func (*NodePool) GetManagementUpgrade ¶

func (o *NodePool) GetManagementUpgrade() (value *NodePoolManagementUpgrade, ok bool)

GetManagementUpgrade returns the value of the 'management_upgrade' attribute and a flag indicating if the attribute has a value.

Management parameters (Optional).

func (*NodePool) GetNodeDrainGracePeriod ¶

func (o *NodePool) 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.

Time to wait for a NodePool to drain when it is upgraded or replaced before it is forcibly removed.

func (*NodePool) GetReplicas ¶

func (o *NodePool) GetReplicas() (value int, ok bool)

GetReplicas returns the value of the 'replicas' attribute and a flag indicating if the attribute has a value.

The number of Machines (and Nodes) to create. Replicas and autoscaling cannot be used together.

func (*NodePool) GetStatus ¶

func (o *NodePool) GetStatus() (value *NodePoolStatus, ok bool)

GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.

NodePool status.

func (*NodePool) GetSubnet ¶

func (o *NodePool) GetSubnet() (value string, ok bool)

GetSubnet returns the value of the 'subnet' attribute and a flag indicating if the attribute has a value.

The subnet upon which the nodes are created.

func (*NodePool) GetTaints ¶

func (o *NodePool) GetTaints() (value []*Taint, ok bool)

GetTaints returns the value of the 'taints' attribute and a flag indicating if the attribute has a value.

The taints set on the Nodes created.

func (*NodePool) GetTuningConfigs ¶

func (o *NodePool) GetTuningConfigs() (value []string, ok bool)

GetTuningConfigs returns the value of the 'tuning_configs' attribute and a flag indicating if the attribute has a value.

The names of the tuning configs for this node pool.

func (*NodePool) GetVersion ¶

func (o *NodePool) GetVersion() (value *Version, ok bool)

GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.

Version of the node pool.

func (*NodePool) HREF ¶

func (o *NodePool) HREF() string

HREF returns the link to the object.

func (*NodePool) ID ¶

func (o *NodePool) ID() string

ID returns the identifier of the object.

func (*NodePool) Kind ¶

func (o *NodePool) Kind() string

Kind returns the name of the type of the object.

func (*NodePool) KubeletConfigs ¶

func (o *NodePool) KubeletConfigs() []string

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

The names of the KubeletConfigs for this node pool.

func (*NodePool) Labels ¶

func (o *NodePool) Labels() map[string]string

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

The labels set on the Nodes created.

func (o *NodePool) Link() bool

Link returns true if this is a link.

func (*NodePool) ManagementUpgrade ¶

func (o *NodePool) ManagementUpgrade() *NodePoolManagementUpgrade

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

Management parameters (Optional).

func (*NodePool) NodeDrainGracePeriod ¶

func (o *NodePool) 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.

Time to wait for a NodePool to drain when it is upgraded or replaced before it is forcibly removed.

func (*NodePool) Replicas ¶

func (o *NodePool) Replicas() int

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

The number of Machines (and Nodes) to create. Replicas and autoscaling cannot be used together.

func (*NodePool) Status ¶

func (o *NodePool) Status() *NodePoolStatus

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

NodePool status.

func (*NodePool) Subnet ¶

func (o *NodePool) Subnet() string

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

The subnet upon which the nodes are created.

func (*NodePool) Taints ¶

func (o *NodePool) Taints() []*Taint

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

The taints set on the Nodes created.

func (*NodePool) TuningConfigs ¶

func (o *NodePool) TuningConfigs() []string

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

The names of the tuning configs for this node pool.

func (*NodePool) Version ¶

func (o *NodePool) Version() *Version

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

Version of the node pool.

type NodePoolAutoscaling ¶

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

NodePoolAutoscaling represents the values of the 'node_pool_autoscaling' type.

Representation of a autoscaling in a node pool.

func ReadNodePoolAutoscaling ¶

func ReadNodePoolAutoscaling(iterator *jsoniter.Iterator) *NodePoolAutoscaling

ReadNodePoolAutoscaling reads a value of the 'node_pool_autoscaling' type from the given iterator.

func ReadNodePoolAutoscalingList ¶

func ReadNodePoolAutoscalingList(iterator *jsoniter.Iterator) []*NodePoolAutoscaling

ReadNodePoolAutoscalingList reads list of values of the ”node_pool_autoscaling' type from the given iterator.

func UnmarshalNodePoolAutoscaling ¶

func UnmarshalNodePoolAutoscaling(source interface{}) (object *NodePoolAutoscaling, err error)

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

func UnmarshalNodePoolAutoscalingList ¶

func UnmarshalNodePoolAutoscalingList(source interface{}) (items []*NodePoolAutoscaling, err error)

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

func (*NodePoolAutoscaling) Empty ¶

func (o *NodePoolAutoscaling) Empty() bool

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

func (*NodePoolAutoscaling) GetHREF ¶

func (o *NodePoolAutoscaling) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*NodePoolAutoscaling) GetID ¶

func (o *NodePoolAutoscaling) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*NodePoolAutoscaling) GetMaxReplica ¶

func (o *NodePoolAutoscaling) GetMaxReplica() (value int, ok bool)

GetMaxReplica returns the value of the 'max_replica' attribute and a flag indicating if the attribute has a value.

The maximum number of replicas for the node pool.

func (*NodePoolAutoscaling) GetMinReplica ¶

func (o *NodePoolAutoscaling) GetMinReplica() (value int, ok bool)

GetMinReplica returns the value of the 'min_replica' attribute and a flag indicating if the attribute has a value.

The minimum number of replicas for the node pool.

func (*NodePoolAutoscaling) HREF ¶

func (o *NodePoolAutoscaling) HREF() string

HREF returns the link to the object.

func (*NodePoolAutoscaling) ID ¶

func (o *NodePoolAutoscaling) ID() string

ID returns the identifier of the object.

func (*NodePoolAutoscaling) Kind ¶

func (o *NodePoolAutoscaling) Kind() string

Kind returns the name of the type of the object.

func (o *NodePoolAutoscaling) Link() bool

Link returns true if this is a link.

func (*NodePoolAutoscaling) MaxReplica ¶

func (o *NodePoolAutoscaling) MaxReplica() int

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

The maximum number of replicas for the node pool.

func (*NodePoolAutoscaling) MinReplica ¶

func (o *NodePoolAutoscaling) MinReplica() int

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

The minimum number of replicas for the node pool.

type NodePoolAutoscalingBuilder ¶

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

Representation of a autoscaling in a node pool.

func NewNodePoolAutoscaling ¶

func NewNodePoolAutoscaling() *NodePoolAutoscalingBuilder

NewNodePoolAutoscaling creates a new builder of 'node_pool_autoscaling' objects.

func (*NodePoolAutoscalingBuilder) Build ¶

func (b *NodePoolAutoscalingBuilder) Build() (object *NodePoolAutoscaling, err error)

Build creates a 'node_pool_autoscaling' object using the configuration stored in the builder.

func (*NodePoolAutoscalingBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NodePoolAutoscalingBuilder) Empty ¶

func (b *NodePoolAutoscalingBuilder) Empty() bool

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

func (*NodePoolAutoscalingBuilder) HREF ¶

HREF sets the link to the object.

func (*NodePoolAutoscalingBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*NodePoolAutoscalingBuilder) MaxReplica ¶

MaxReplica sets the value of the 'max_replica' attribute to the given value.

func (*NodePoolAutoscalingBuilder) MinReplica ¶

MinReplica sets the value of the 'min_replica' attribute to the given value.

type NodePoolAutoscalingList ¶

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

NodePoolAutoscalingList is a list of values of the 'node_pool_autoscaling' type.

func (*NodePoolAutoscalingList) Each ¶

func (l *NodePoolAutoscalingList) Each(f func(item *NodePoolAutoscaling) 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 (*NodePoolAutoscalingList) Empty ¶

func (l *NodePoolAutoscalingList) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolAutoscalingList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*NodePoolAutoscalingList) GetHREF ¶

func (l *NodePoolAutoscalingList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*NodePoolAutoscalingList) HREF ¶

func (l *NodePoolAutoscalingList) HREF() string

HREF returns the link to the list.

func (*NodePoolAutoscalingList) Items ¶

Items returns the items of the list.

func (*NodePoolAutoscalingList) Kind ¶

func (l *NodePoolAutoscalingList) Kind() string

Kind returns the name of the type of the object.

func (*NodePoolAutoscalingList) Len ¶

func (l *NodePoolAutoscalingList) Len() int

Len returns the length of the list.

func (l *NodePoolAutoscalingList) Link() bool

Link returns true iif this is a link.

func (*NodePoolAutoscalingList) Range ¶

func (l *NodePoolAutoscalingList) Range(f func(index int, item *NodePoolAutoscaling) 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 (*NodePoolAutoscalingList) SetHREF ¶

func (l *NodePoolAutoscalingList) SetHREF(href string)

Items sets the items of the list.

func (*NodePoolAutoscalingList) SetItems ¶

func (l *NodePoolAutoscalingList) SetItems(items []*NodePoolAutoscaling)

Items sets the items of the list.

func (l *NodePoolAutoscalingList) SetLink(link bool)

Items sets the items of the list.

func (*NodePoolAutoscalingList) 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 NodePoolAutoscalingListBuilder ¶

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

NodePoolAutoscalingListBuilder contains the data and logic needed to build 'node_pool_autoscaling' objects.

func NewNodePoolAutoscalingList ¶

func NewNodePoolAutoscalingList() *NodePoolAutoscalingListBuilder

NewNodePoolAutoscalingList creates a new builder of 'node_pool_autoscaling' objects.

func (*NodePoolAutoscalingListBuilder) Build ¶

Build creates a list of 'node_pool_autoscaling' objects using the configuration stored in the builder.

func (*NodePoolAutoscalingListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NodePoolAutoscalingListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*NodePoolAutoscalingListBuilder) Items ¶

Items sets the items of the list.

type NodePoolBuilder ¶

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

Representation of a node pool in a cluster.

func NewNodePool ¶

func NewNodePool() *NodePoolBuilder

NewNodePool creates a new builder of 'node_pool' objects.

func (*NodePoolBuilder) AWSNodePool ¶

func (b *NodePoolBuilder) AWSNodePool(value *AWSNodePoolBuilder) *NodePoolBuilder

AWSNodePool sets the value of the 'AWS_node_pool' attribute to the given value.

Representation of aws node pool specific parameters.

func (*NodePoolBuilder) AutoRepair ¶

func (b *NodePoolBuilder) AutoRepair(value bool) *NodePoolBuilder

AutoRepair sets the value of the 'auto_repair' attribute to the given value.

func (*NodePoolBuilder) Autoscaling ¶

Autoscaling sets the value of the 'autoscaling' attribute to the given value.

Representation of a autoscaling in a node pool.

func (*NodePoolBuilder) AvailabilityZone ¶

func (b *NodePoolBuilder) AvailabilityZone(value string) *NodePoolBuilder

AvailabilityZone sets the value of the 'availability_zone' attribute to the given value.

func (*NodePoolBuilder) AzureNodePool ¶

func (b *NodePoolBuilder) AzureNodePool(value *AzureNodePoolBuilder) *NodePoolBuilder

AzureNodePool sets the value of the 'azure_node_pool' attribute to the given value.

Representation of azure node pool specific parameters.

func (*NodePoolBuilder) Build ¶

func (b *NodePoolBuilder) Build() (object *NodePool, err error)

Build creates a 'node_pool' object using the configuration stored in the builder.

func (*NodePoolBuilder) Copy ¶

func (b *NodePoolBuilder) Copy(object *NodePool) *NodePoolBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NodePoolBuilder) Empty ¶

func (b *NodePoolBuilder) Empty() bool

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

func (*NodePoolBuilder) HREF ¶

func (b *NodePoolBuilder) HREF(value string) *NodePoolBuilder

HREF sets the link to the object.

func (*NodePoolBuilder) ID ¶

func (b *NodePoolBuilder) ID(value string) *NodePoolBuilder

ID sets the identifier of the object.

func (*NodePoolBuilder) KubeletConfigs ¶

func (b *NodePoolBuilder) KubeletConfigs(values ...string) *NodePoolBuilder

KubeletConfigs sets the value of the 'kubelet_configs' attribute to the given values.

func (*NodePoolBuilder) Labels ¶

func (b *NodePoolBuilder) Labels(value map[string]string) *NodePoolBuilder

Labels sets the value of the 'labels' attribute to the given value.

func (b *NodePoolBuilder) Link(value bool) *NodePoolBuilder

Link sets the flag that indicates if this is a link.

func (*NodePoolBuilder) ManagementUpgrade ¶

ManagementUpgrade sets the value of the 'management_upgrade' attribute to the given value.

Representation of node pool management.

func (*NodePoolBuilder) NodeDrainGracePeriod ¶

func (b *NodePoolBuilder) NodeDrainGracePeriod(value *ValueBuilder) *NodePoolBuilder

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 (*NodePoolBuilder) Replicas ¶

func (b *NodePoolBuilder) Replicas(value int) *NodePoolBuilder

Replicas sets the value of the 'replicas' attribute to the given value.

func (*NodePoolBuilder) Status ¶

Status sets the value of the 'status' attribute to the given value.

Representation of the status of a node pool.

func (*NodePoolBuilder) Subnet ¶

func (b *NodePoolBuilder) Subnet(value string) *NodePoolBuilder

Subnet sets the value of the 'subnet' attribute to the given value.

func (*NodePoolBuilder) Taints ¶

func (b *NodePoolBuilder) Taints(values ...*TaintBuilder) *NodePoolBuilder

Taints sets the value of the 'taints' attribute to the given values.

func (*NodePoolBuilder) TuningConfigs ¶

func (b *NodePoolBuilder) TuningConfigs(values ...string) *NodePoolBuilder

TuningConfigs sets the value of the 'tuning_configs' attribute to the given values.

func (*NodePoolBuilder) Version ¶

func (b *NodePoolBuilder) Version(value *VersionBuilder) *NodePoolBuilder

Version sets the value of the 'version' attribute to the given value.

Representation of an _OpenShift_ version.

type NodePoolList ¶

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

NodePoolList is a list of values of the 'node_pool' type.

func (*NodePoolList) Each ¶

func (l *NodePoolList) Each(f func(item *NodePool) 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 (*NodePoolList) Empty ¶

func (l *NodePoolList) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolList) Get ¶

func (l *NodePoolList) Get(i int) *NodePool

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*NodePoolList) GetHREF ¶

func (l *NodePoolList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*NodePoolList) HREF ¶

func (l *NodePoolList) HREF() string

HREF returns the link to the list.

func (*NodePoolList) Items ¶

func (l *NodePoolList) Items() []*NodePool

Items returns the items of the list.

func (*NodePoolList) Kind ¶

func (l *NodePoolList) Kind() string

Kind returns the name of the type of the object.

func (*NodePoolList) Len ¶

func (l *NodePoolList) Len() int

Len returns the length of the list.

func (l *NodePoolList) Link() bool

Link returns true iif this is a link.

func (*NodePoolList) Range ¶

func (l *NodePoolList) Range(f func(index int, item *NodePool) 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 (*NodePoolList) SetHREF ¶

func (l *NodePoolList) SetHREF(href string)

Items sets the items of the list.

func (*NodePoolList) SetItems ¶

func (l *NodePoolList) SetItems(items []*NodePool)

Items sets the items of the list.

func (l *NodePoolList) SetLink(link bool)

Items sets the items of the list.

func (*NodePoolList) Slice ¶

func (l *NodePoolList) Slice() []*NodePool

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 NodePoolListBuilder ¶

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

NodePoolListBuilder contains the data and logic needed to build 'node_pool' objects.

func NewNodePoolList ¶

func NewNodePoolList() *NodePoolListBuilder

NewNodePoolList creates a new builder of 'node_pool' objects.

func (*NodePoolListBuilder) Build ¶

func (b *NodePoolListBuilder) Build() (list *NodePoolList, err error)

Build creates a list of 'node_pool' objects using the configuration stored in the builder.

func (*NodePoolListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NodePoolListBuilder) Empty ¶

func (b *NodePoolListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolListBuilder) Items ¶

Items sets the items of the list.

type NodePoolManagementUpgrade ¶

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

NodePoolManagementUpgrade represents the values of the 'node_pool_management_upgrade' type.

Representation of node pool management.

func ReadNodePoolManagementUpgrade ¶

func ReadNodePoolManagementUpgrade(iterator *jsoniter.Iterator) *NodePoolManagementUpgrade

ReadNodePoolManagementUpgrade reads a value of the 'node_pool_management_upgrade' type from the given iterator.

func ReadNodePoolManagementUpgradeList ¶

func ReadNodePoolManagementUpgradeList(iterator *jsoniter.Iterator) []*NodePoolManagementUpgrade

ReadNodePoolManagementUpgradeList reads list of values of the ”node_pool_management_upgrade' type from the given iterator.

func UnmarshalNodePoolManagementUpgrade ¶

func UnmarshalNodePoolManagementUpgrade(source interface{}) (object *NodePoolManagementUpgrade, err error)

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

func UnmarshalNodePoolManagementUpgradeList ¶

func UnmarshalNodePoolManagementUpgradeList(source interface{}) (items []*NodePoolManagementUpgrade, err error)

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

func (*NodePoolManagementUpgrade) Empty ¶

func (o *NodePoolManagementUpgrade) Empty() bool

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

func (*NodePoolManagementUpgrade) GetHREF ¶

func (o *NodePoolManagementUpgrade) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*NodePoolManagementUpgrade) GetID ¶

func (o *NodePoolManagementUpgrade) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*NodePoolManagementUpgrade) GetMaxSurge ¶

func (o *NodePoolManagementUpgrade) GetMaxSurge() (value string, ok bool)

GetMaxSurge returns the value of the 'max_surge' attribute and a flag indicating if the attribute has a value.

Maximum number of nodes in the NodePool of a ROSA HCP cluster that can be scheduled above the desired number of nodes during the upgrade.

func (*NodePoolManagementUpgrade) GetMaxUnavailable ¶

func (o *NodePoolManagementUpgrade) GetMaxUnavailable() (value string, ok bool)

GetMaxUnavailable returns the value of the 'max_unavailable' attribute and a flag indicating if the attribute has a value.

Maximum number of nodes in the NodePool of a ROSA HCP cluster that can be unavailable during the upgrade.

func (*NodePoolManagementUpgrade) GetType ¶

func (o *NodePoolManagementUpgrade) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

Type of strategy for handling upgrades.

func (*NodePoolManagementUpgrade) HREF ¶

HREF returns the link to the object.

func (*NodePoolManagementUpgrade) ID ¶

ID returns the identifier of the object.

func (*NodePoolManagementUpgrade) Kind ¶

Kind returns the name of the type of the object.

func (o *NodePoolManagementUpgrade) Link() bool

Link returns true if this is a link.

func (*NodePoolManagementUpgrade) MaxSurge ¶

func (o *NodePoolManagementUpgrade) MaxSurge() string

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

Maximum number of nodes in the NodePool of a ROSA HCP cluster that can be scheduled above the desired number of nodes during the upgrade.

func (*NodePoolManagementUpgrade) MaxUnavailable ¶

func (o *NodePoolManagementUpgrade) MaxUnavailable() string

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

Maximum number of nodes in the NodePool of a ROSA HCP cluster that can be unavailable during the upgrade.

func (*NodePoolManagementUpgrade) Type ¶

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

Type of strategy for handling upgrades.

type NodePoolManagementUpgradeBuilder ¶

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

Representation of node pool management.

func NewNodePoolManagementUpgrade ¶

func NewNodePoolManagementUpgrade() *NodePoolManagementUpgradeBuilder

NewNodePoolManagementUpgrade creates a new builder of 'node_pool_management_upgrade' objects.

func (*NodePoolManagementUpgradeBuilder) Build ¶

Build creates a 'node_pool_management_upgrade' object using the configuration stored in the builder.

func (*NodePoolManagementUpgradeBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NodePoolManagementUpgradeBuilder) Empty ¶

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

func (*NodePoolManagementUpgradeBuilder) HREF ¶

HREF sets the link to the object.

func (*NodePoolManagementUpgradeBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*NodePoolManagementUpgradeBuilder) MaxSurge ¶

MaxSurge sets the value of the 'max_surge' attribute to the given value.

func (*NodePoolManagementUpgradeBuilder) MaxUnavailable ¶

MaxUnavailable sets the value of the 'max_unavailable' attribute to the given value.

func (*NodePoolManagementUpgradeBuilder) Type ¶

Type sets the value of the 'type' attribute to the given value.

type NodePoolManagementUpgradeList ¶

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

NodePoolManagementUpgradeList is a list of values of the 'node_pool_management_upgrade' type.

func (*NodePoolManagementUpgradeList) 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 (*NodePoolManagementUpgradeList) Empty ¶

Empty returns true if the list is empty.

func (*NodePoolManagementUpgradeList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*NodePoolManagementUpgradeList) GetHREF ¶

func (l *NodePoolManagementUpgradeList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*NodePoolManagementUpgradeList) HREF ¶

HREF returns the link to the list.

func (*NodePoolManagementUpgradeList) Items ¶

Items returns the items of the list.

func (*NodePoolManagementUpgradeList) Kind ¶

Kind returns the name of the type of the object.

func (*NodePoolManagementUpgradeList) Len ¶

Len returns the length of the list.

Link returns true iif this is a link.

func (*NodePoolManagementUpgradeList) Range ¶

func (l *NodePoolManagementUpgradeList) Range(f func(index int, item *NodePoolManagementUpgrade) 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 (*NodePoolManagementUpgradeList) SetHREF ¶

func (l *NodePoolManagementUpgradeList) SetHREF(href string)

Items sets the items of the list.

func (*NodePoolManagementUpgradeList) SetItems ¶

Items sets the items of the list.

func (l *NodePoolManagementUpgradeList) SetLink(link bool)

Items sets the items of the list.

func (*NodePoolManagementUpgradeList) 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 NodePoolManagementUpgradeListBuilder ¶

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

NodePoolManagementUpgradeListBuilder contains the data and logic needed to build 'node_pool_management_upgrade' objects.

func NewNodePoolManagementUpgradeList ¶

func NewNodePoolManagementUpgradeList() *NodePoolManagementUpgradeListBuilder

NewNodePoolManagementUpgradeList creates a new builder of 'node_pool_management_upgrade' objects.

func (*NodePoolManagementUpgradeListBuilder) Build ¶

Build creates a list of 'node_pool_management_upgrade' objects using the configuration stored in the builder.

func (*NodePoolManagementUpgradeListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NodePoolManagementUpgradeListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*NodePoolManagementUpgradeListBuilder) Items ¶

Items sets the items of the list.

type NodePoolState ¶

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

NodePoolState represents the values of the 'node_pool_state' type.

Representation of the status of a node pool.

func ReadNodePoolState ¶

func ReadNodePoolState(iterator *jsoniter.Iterator) *NodePoolState

ReadNodePoolState reads a value of the 'node_pool_state' type from the given iterator.

func ReadNodePoolStateList ¶

func ReadNodePoolStateList(iterator *jsoniter.Iterator) []*NodePoolState

ReadNodePoolStateList reads list of values of the ”node_pool_state' type from the given iterator.

func UnmarshalNodePoolState ¶

func UnmarshalNodePoolState(source interface{}) (object *NodePoolState, err error)

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

func UnmarshalNodePoolStateList ¶

func UnmarshalNodePoolStateList(source interface{}) (items []*NodePoolState, err error)

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

func (*NodePoolState) Empty ¶

func (o *NodePoolState) Empty() bool

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

func (*NodePoolState) GetHREF ¶

func (o *NodePoolState) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*NodePoolState) GetID ¶

func (o *NodePoolState) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*NodePoolState) GetLastUpdatedTimestamp ¶

func (o *NodePoolState) GetLastUpdatedTimestamp() (value time.Time, ok bool)

GetLastUpdatedTimestamp returns the value of the 'last_updated_timestamp' attribute and a flag indicating if the attribute has a value.

The current number of replicas for the node pool.

func (*NodePoolState) GetNodePoolStateValue ¶

func (o *NodePoolState) GetNodePoolStateValue() (value string, ok bool)

GetNodePoolStateValue returns the value of the 'node_pool_state_value' attribute and a flag indicating if the attribute has a value.

The current state of the node pool

func (*NodePoolState) HREF ¶

func (o *NodePoolState) HREF() string

HREF returns the link to the object.

func (*NodePoolState) ID ¶

func (o *NodePoolState) ID() string

ID returns the identifier of the object.

func (*NodePoolState) Kind ¶

func (o *NodePoolState) Kind() string

Kind returns the name of the type of the object.

func (*NodePoolState) LastUpdatedTimestamp ¶

func (o *NodePoolState) LastUpdatedTimestamp() time.Time

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

The current number of replicas for the node pool.

func (o *NodePoolState) Link() bool

Link returns true if this is a link.

func (*NodePoolState) NodePoolStateValue ¶

func (o *NodePoolState) NodePoolStateValue() string

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

The current state of the node pool

type NodePoolStateBuilder ¶

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

Representation of the status of a node pool.

func NewNodePoolState ¶

func NewNodePoolState() *NodePoolStateBuilder

NewNodePoolState creates a new builder of 'node_pool_state' objects.

func (*NodePoolStateBuilder) Build ¶

func (b *NodePoolStateBuilder) Build() (object *NodePoolState, err error)

Build creates a 'node_pool_state' object using the configuration stored in the builder.

func (*NodePoolStateBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NodePoolStateBuilder) Empty ¶

func (b *NodePoolStateBuilder) Empty() bool

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

func (*NodePoolStateBuilder) HREF ¶

HREF sets the link to the object.

func (*NodePoolStateBuilder) ID ¶

ID sets the identifier of the object.

func (*NodePoolStateBuilder) LastUpdatedTimestamp ¶

func (b *NodePoolStateBuilder) LastUpdatedTimestamp(value time.Time) *NodePoolStateBuilder

LastUpdatedTimestamp sets the value of the 'last_updated_timestamp' attribute to the given value.

Link sets the flag that indicates if this is a link.

func (*NodePoolStateBuilder) NodePoolStateValue ¶

func (b *NodePoolStateBuilder) NodePoolStateValue(value string) *NodePoolStateBuilder

NodePoolStateValue sets the value of the 'node_pool_state_value' attribute to the given value.

type NodePoolStateList ¶

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

NodePoolStateList is a list of values of the 'node_pool_state' type.

func (*NodePoolStateList) Each ¶

func (l *NodePoolStateList) Each(f func(item *NodePoolState) 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 (*NodePoolStateList) Empty ¶

func (l *NodePoolStateList) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolStateList) Get ¶

func (l *NodePoolStateList) Get(i int) *NodePoolState

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*NodePoolStateList) GetHREF ¶

func (l *NodePoolStateList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*NodePoolStateList) HREF ¶

func (l *NodePoolStateList) HREF() string

HREF returns the link to the list.

func (*NodePoolStateList) Items ¶

func (l *NodePoolStateList) Items() []*NodePoolState

Items returns the items of the list.

func (*NodePoolStateList) Kind ¶

func (l *NodePoolStateList) Kind() string

Kind returns the name of the type of the object.

func (*NodePoolStateList) Len ¶

func (l *NodePoolStateList) Len() int

Len returns the length of the list.

func (l *NodePoolStateList) Link() bool

Link returns true iif this is a link.

func (*NodePoolStateList) Range ¶

func (l *NodePoolStateList) Range(f func(index int, item *NodePoolState) 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 (*NodePoolStateList) SetHREF ¶

func (l *NodePoolStateList) SetHREF(href string)

Items sets the items of the list.

func (*NodePoolStateList) SetItems ¶

func (l *NodePoolStateList) SetItems(items []*NodePoolState)

Items sets the items of the list.

func (l *NodePoolStateList) SetLink(link bool)

Items sets the items of the list.

func (*NodePoolStateList) Slice ¶

func (l *NodePoolStateList) Slice() []*NodePoolState

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 NodePoolStateListBuilder ¶

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

NodePoolStateListBuilder contains the data and logic needed to build 'node_pool_state' objects.

func NewNodePoolStateList ¶

func NewNodePoolStateList() *NodePoolStateListBuilder

NewNodePoolStateList creates a new builder of 'node_pool_state' objects.

func (*NodePoolStateListBuilder) Build ¶

func (b *NodePoolStateListBuilder) Build() (list *NodePoolStateList, err error)

Build creates a list of 'node_pool_state' objects using the configuration stored in the builder.

func (*NodePoolStateListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NodePoolStateListBuilder) Empty ¶

func (b *NodePoolStateListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolStateListBuilder) Items ¶

Items sets the items of the list.

type NodePoolStatus ¶

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

NodePoolStatus represents the values of the 'node_pool_status' type.

Representation of the status of a node pool.

func ReadNodePoolStatus ¶

func ReadNodePoolStatus(iterator *jsoniter.Iterator) *NodePoolStatus

ReadNodePoolStatus reads a value of the 'node_pool_status' type from the given iterator.

func ReadNodePoolStatusList ¶

func ReadNodePoolStatusList(iterator *jsoniter.Iterator) []*NodePoolStatus

ReadNodePoolStatusList reads list of values of the ”node_pool_status' type from the given iterator.

func UnmarshalNodePoolStatus ¶

func UnmarshalNodePoolStatus(source interface{}) (object *NodePoolStatus, err error)

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

func UnmarshalNodePoolStatusList ¶

func UnmarshalNodePoolStatusList(source interface{}) (items []*NodePoolStatus, err error)

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

func (*NodePoolStatus) CurrentReplicas ¶

func (o *NodePoolStatus) CurrentReplicas() int

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

The current number of replicas for the node pool.

func (*NodePoolStatus) Empty ¶

func (o *NodePoolStatus) Empty() bool

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

func (*NodePoolStatus) GetCurrentReplicas ¶

func (o *NodePoolStatus) GetCurrentReplicas() (value int, ok bool)

GetCurrentReplicas returns the value of the 'current_replicas' attribute and a flag indicating if the attribute has a value.

The current number of replicas for the node pool.

func (*NodePoolStatus) GetHREF ¶

func (o *NodePoolStatus) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*NodePoolStatus) GetID ¶

func (o *NodePoolStatus) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*NodePoolStatus) GetMessage ¶

func (o *NodePoolStatus) GetMessage() (value string, ok bool)

GetMessage returns the value of the 'message' attribute and a flag indicating if the attribute has a value.

Adds additional information about the NodePool status when the node pool doesn't reach the desired replicas.

func (*NodePoolStatus) GetState ¶

func (o *NodePoolStatus) GetState() (value *NodePoolState, ok bool)

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

The current state of the node pool

func (*NodePoolStatus) HREF ¶

func (o *NodePoolStatus) HREF() string

HREF returns the link to the object.

func (*NodePoolStatus) ID ¶

func (o *NodePoolStatus) ID() string

ID returns the identifier of the object.

func (*NodePoolStatus) Kind ¶

func (o *NodePoolStatus) Kind() string

Kind returns the name of the type of the object.

func (o *NodePoolStatus) Link() bool

Link returns true if this is a link.

func (*NodePoolStatus) Message ¶

func (o *NodePoolStatus) Message() string

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

Adds additional information about the NodePool status when the node pool doesn't reach the desired replicas.

func (*NodePoolStatus) State ¶

func (o *NodePoolStatus) State() *NodePoolState

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

The current state of the node pool

type NodePoolStatusBuilder ¶

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

Representation of the status of a node pool.

func NewNodePoolStatus ¶

func NewNodePoolStatus() *NodePoolStatusBuilder

NewNodePoolStatus creates a new builder of 'node_pool_status' objects.

func (*NodePoolStatusBuilder) Build ¶

func (b *NodePoolStatusBuilder) Build() (object *NodePoolStatus, err error)

Build creates a 'node_pool_status' object using the configuration stored in the builder.

func (*NodePoolStatusBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NodePoolStatusBuilder) CurrentReplicas ¶

func (b *NodePoolStatusBuilder) CurrentReplicas(value int) *NodePoolStatusBuilder

CurrentReplicas sets the value of the 'current_replicas' attribute to the given value.

func (*NodePoolStatusBuilder) Empty ¶

func (b *NodePoolStatusBuilder) Empty() bool

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

func (*NodePoolStatusBuilder) HREF ¶

HREF sets the link to the object.

func (*NodePoolStatusBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*NodePoolStatusBuilder) Message ¶

Message sets the value of the 'message' attribute to the given value.

func (*NodePoolStatusBuilder) State ¶

State sets the value of the 'state' attribute to the given value.

Representation of the status of a node pool.

type NodePoolStatusList ¶

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

NodePoolStatusList is a list of values of the 'node_pool_status' type.

func (*NodePoolStatusList) Each ¶

func (l *NodePoolStatusList) Each(f func(item *NodePoolStatus) 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 (*NodePoolStatusList) Empty ¶

func (l *NodePoolStatusList) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolStatusList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*NodePoolStatusList) GetHREF ¶

func (l *NodePoolStatusList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*NodePoolStatusList) HREF ¶

func (l *NodePoolStatusList) HREF() string

HREF returns the link to the list.

func (*NodePoolStatusList) Items ¶

func (l *NodePoolStatusList) Items() []*NodePoolStatus

Items returns the items of the list.

func (*NodePoolStatusList) Kind ¶

func (l *NodePoolStatusList) Kind() string

Kind returns the name of the type of the object.

func (*NodePoolStatusList) Len ¶

func (l *NodePoolStatusList) Len() int

Len returns the length of the list.

func (l *NodePoolStatusList) Link() bool

Link returns true iif this is a link.

func (*NodePoolStatusList) Range ¶

func (l *NodePoolStatusList) Range(f func(index int, item *NodePoolStatus) 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 (*NodePoolStatusList) SetHREF ¶

func (l *NodePoolStatusList) SetHREF(href string)

Items sets the items of the list.

func (*NodePoolStatusList) SetItems ¶

func (l *NodePoolStatusList) SetItems(items []*NodePoolStatus)

Items sets the items of the list.

func (l *NodePoolStatusList) SetLink(link bool)

Items sets the items of the list.

func (*NodePoolStatusList) Slice ¶

func (l *NodePoolStatusList) Slice() []*NodePoolStatus

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 NodePoolStatusListBuilder ¶

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

NodePoolStatusListBuilder contains the data and logic needed to build 'node_pool_status' objects.

func NewNodePoolStatusList ¶

func NewNodePoolStatusList() *NodePoolStatusListBuilder

NewNodePoolStatusList creates a new builder of 'node_pool_status' objects.

func (*NodePoolStatusListBuilder) Build ¶

func (b *NodePoolStatusListBuilder) Build() (list *NodePoolStatusList, err error)

Build creates a list of 'node_pool_status' objects using the configuration stored in the builder.

func (*NodePoolStatusListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NodePoolStatusListBuilder) Empty ¶

func (b *NodePoolStatusListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolStatusListBuilder) 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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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 ReleaseImageDetails ¶

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

ReleaseImageDetails represents the values of the 'release_image_details' type.

func ReadReleaseImageDetails ¶

func ReadReleaseImageDetails(iterator *jsoniter.Iterator) *ReleaseImageDetails

ReadReleaseImageDetails reads a value of the 'release_image_details' type from the given iterator.

func ReadReleaseImageDetailsList ¶

func ReadReleaseImageDetailsList(iterator *jsoniter.Iterator) []*ReleaseImageDetails

ReadReleaseImageDetailsList reads list of values of the ”release_image_details' type from the given iterator.

func UnmarshalReleaseImageDetails ¶

func UnmarshalReleaseImageDetails(source interface{}) (object *ReleaseImageDetails, err error)

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

func UnmarshalReleaseImageDetailsList ¶

func UnmarshalReleaseImageDetailsList(source interface{}) (items []*ReleaseImageDetails, err error)

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

func (*ReleaseImageDetails) AvailableUpgrades ¶

func (o *ReleaseImageDetails) AvailableUpgrades() []string

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

AvailableUpgrades is the list of versions this version can be upgraded to.

func (*ReleaseImageDetails) Empty ¶

func (o *ReleaseImageDetails) Empty() bool

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

func (*ReleaseImageDetails) GetAvailableUpgrades ¶

func (o *ReleaseImageDetails) GetAvailableUpgrades() (value []string, ok bool)

GetAvailableUpgrades returns the value of the 'available_upgrades' attribute and a flag indicating if the attribute has a value.

AvailableUpgrades is the list of versions this version can be upgraded to.

func (*ReleaseImageDetails) GetReleaseImage ¶

func (o *ReleaseImageDetails) GetReleaseImage() (value string, ok bool)

GetReleaseImage returns the value of the 'release_image' attribute and a flag indicating if the attribute has a value.

ReleaseImage contains the URI of Openshift release image.

func (*ReleaseImageDetails) ReleaseImage ¶

func (o *ReleaseImageDetails) ReleaseImage() string

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

ReleaseImage contains the URI of Openshift release image.

type ReleaseImageDetailsBuilder ¶

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

func NewReleaseImageDetails ¶

func NewReleaseImageDetails() *ReleaseImageDetailsBuilder

NewReleaseImageDetails creates a new builder of 'release_image_details' objects.

func (*ReleaseImageDetailsBuilder) AvailableUpgrades ¶

func (b *ReleaseImageDetailsBuilder) AvailableUpgrades(values ...string) *ReleaseImageDetailsBuilder

AvailableUpgrades sets the value of the 'available_upgrades' attribute to the given values.

func (*ReleaseImageDetailsBuilder) Build ¶

func (b *ReleaseImageDetailsBuilder) Build() (object *ReleaseImageDetails, err error)

Build creates a 'release_image_details' object using the configuration stored in the builder.

func (*ReleaseImageDetailsBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ReleaseImageDetailsBuilder) Empty ¶

func (b *ReleaseImageDetailsBuilder) Empty() bool

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

func (*ReleaseImageDetailsBuilder) ReleaseImage ¶

ReleaseImage sets the value of the 'release_image' attribute to the given value.

type ReleaseImageDetailsList ¶

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

ReleaseImageDetailsList is a list of values of the 'release_image_details' type.

func (*ReleaseImageDetailsList) Each ¶

func (l *ReleaseImageDetailsList) Each(f func(item *ReleaseImageDetails) 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 (*ReleaseImageDetailsList) Empty ¶

func (l *ReleaseImageDetailsList) Empty() bool

Empty returns true if the list is empty.

func (*ReleaseImageDetailsList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ReleaseImageDetailsList) Items ¶

Items returns the items of the list.

func (*ReleaseImageDetailsList) Len ¶

func (l *ReleaseImageDetailsList) Len() int

Len returns the length of the list.

func (*ReleaseImageDetailsList) Range ¶

func (l *ReleaseImageDetailsList) Range(f func(index int, item *ReleaseImageDetails) 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 (*ReleaseImageDetailsList) SetHREF ¶

func (l *ReleaseImageDetailsList) SetHREF(href string)

Items sets the items of the list.

func (*ReleaseImageDetailsList) SetItems ¶

func (l *ReleaseImageDetailsList) SetItems(items []*ReleaseImageDetails)

Items sets the items of the list.

func (l *ReleaseImageDetailsList) SetLink(link bool)

Items sets the items of the list.

func (*ReleaseImageDetailsList) 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 ReleaseImageDetailsListBuilder ¶

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

ReleaseImageDetailsListBuilder contains the data and logic needed to build 'release_image_details' objects.

func NewReleaseImageDetailsList ¶

func NewReleaseImageDetailsList() *ReleaseImageDetailsListBuilder

NewReleaseImageDetailsList creates a new builder of 'release_image_details' objects.

func (*ReleaseImageDetailsListBuilder) Build ¶

Build creates a list of 'release_image_details' objects using the configuration stored in the builder.

func (*ReleaseImageDetailsListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ReleaseImageDetailsListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ReleaseImageDetailsListBuilder) Items ¶

Items sets the items of the list.

type ReleaseImages ¶

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

ReleaseImages represents the values of the 'release_images' type.

func ReadReleaseImages ¶

func ReadReleaseImages(iterator *jsoniter.Iterator) *ReleaseImages

ReadReleaseImages reads a value of the 'release_images' type from the given iterator.

func ReadReleaseImagesList ¶

func ReadReleaseImagesList(iterator *jsoniter.Iterator) []*ReleaseImages

ReadReleaseImagesList reads list of values of the ”release_images' type from the given iterator.

func UnmarshalReleaseImages ¶

func UnmarshalReleaseImages(source interface{}) (object *ReleaseImages, err error)

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

func UnmarshalReleaseImagesList ¶

func UnmarshalReleaseImagesList(source interface{}) (items []*ReleaseImages, err error)

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

func (*ReleaseImages) ARM64 ¶

func (o *ReleaseImages) ARM64() *ReleaseImageDetails

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

Arm64 will contain the reference for the arm64 image which will be used for cluster deployments

func (*ReleaseImages) Empty ¶

func (o *ReleaseImages) Empty() bool

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

func (*ReleaseImages) GetARM64 ¶

func (o *ReleaseImages) GetARM64() (value *ReleaseImageDetails, ok bool)

GetARM64 returns the value of the 'ARM64' attribute and a flag indicating if the attribute has a value.

Arm64 will contain the reference for the arm64 image which will be used for cluster deployments

func (*ReleaseImages) GetMulti ¶

func (o *ReleaseImages) GetMulti() (value *ReleaseImageDetails, ok bool)

GetMulti returns the value of the 'multi' attribute and a flag indicating if the attribute has a value.

Multi will contain the reference for the multi image which will be used for cluster deployments

func (*ReleaseImages) Multi ¶

func (o *ReleaseImages) Multi() *ReleaseImageDetails

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

Multi will contain the reference for the multi image which will be used for cluster deployments

type ReleaseImagesBuilder ¶

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

func NewReleaseImages ¶

func NewReleaseImages() *ReleaseImagesBuilder

NewReleaseImages creates a new builder of 'release_images' objects.

func (*ReleaseImagesBuilder) ARM64 ¶

ARM64 sets the value of the 'ARM64' attribute to the given value.

func (*ReleaseImagesBuilder) Build ¶

func (b *ReleaseImagesBuilder) Build() (object *ReleaseImages, err error)

Build creates a 'release_images' object using the configuration stored in the builder.

func (*ReleaseImagesBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ReleaseImagesBuilder) Empty ¶

func (b *ReleaseImagesBuilder) Empty() bool

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

func (*ReleaseImagesBuilder) Multi ¶

Multi sets the value of the 'multi' attribute to the given value.

type ReleaseImagesList ¶

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

ReleaseImagesList is a list of values of the 'release_images' type.

func (*ReleaseImagesList) Each ¶

func (l *ReleaseImagesList) Each(f func(item *ReleaseImages) 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 (*ReleaseImagesList) Empty ¶

func (l *ReleaseImagesList) Empty() bool

Empty returns true if the list is empty.

func (*ReleaseImagesList) Get ¶

func (l *ReleaseImagesList) Get(i int) *ReleaseImages

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ReleaseImagesList) Items ¶

func (l *ReleaseImagesList) Items() []*ReleaseImages

Items returns the items of the list.

func (*ReleaseImagesList) Len ¶

func (l *ReleaseImagesList) Len() int

Len returns the length of the list.

func (*ReleaseImagesList) Range ¶

func (l *ReleaseImagesList) Range(f func(index int, item *ReleaseImages) 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 (*ReleaseImagesList) SetHREF ¶

func (l *ReleaseImagesList) SetHREF(href string)

Items sets the items of the list.

func (*ReleaseImagesList) SetItems ¶

func (l *ReleaseImagesList) SetItems(items []*ReleaseImages)

Items sets the items of the list.

func (l *ReleaseImagesList) SetLink(link bool)

Items sets the items of the list.

func (*ReleaseImagesList) Slice ¶

func (l *ReleaseImagesList) Slice() []*ReleaseImages

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 ReleaseImagesListBuilder ¶

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

ReleaseImagesListBuilder contains the data and logic needed to build 'release_images' objects.

func NewReleaseImagesList ¶

func NewReleaseImagesList() *ReleaseImagesListBuilder

NewReleaseImagesList creates a new builder of 'release_images' objects.

func (*ReleaseImagesListBuilder) Build ¶

func (b *ReleaseImagesListBuilder) Build() (list *ReleaseImagesList, err error)

Build creates a list of 'release_images' objects using the configuration stored in the builder.

func (*ReleaseImagesListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ReleaseImagesListBuilder) Empty ¶

func (b *ReleaseImagesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ReleaseImagesListBuilder) Items ¶

Items sets the items of the list.

type ResourceRange ¶ added in v0.0.430

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

ResourceRange represents the values of the 'resource_range' type.

func ReadResourceRange ¶ added in v0.0.430

func ReadResourceRange(iterator *jsoniter.Iterator) *ResourceRange

ReadResourceRange reads a value of the 'resource_range' type from the given iterator.

func ReadResourceRangeList ¶ added in v0.0.430

func ReadResourceRangeList(iterator *jsoniter.Iterator) []*ResourceRange

ReadResourceRangeList reads list of values of the ”resource_range' type from the given iterator.

func UnmarshalResourceRange ¶ added in v0.0.430

func UnmarshalResourceRange(source interface{}) (object *ResourceRange, err error)

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

func UnmarshalResourceRangeList ¶ added in v0.0.430

func UnmarshalResourceRangeList(source interface{}) (items []*ResourceRange, err error)

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

func (*ResourceRange) Empty ¶ added in v0.0.430

func (o *ResourceRange) Empty() bool

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

func (*ResourceRange) GetMax ¶ added in v0.0.430

func (o *ResourceRange) GetMax() (value int, ok bool)

GetMax returns the value of the 'max' attribute and a flag indicating if the attribute has a value.

func (*ResourceRange) GetMin ¶ added in v0.0.430

func (o *ResourceRange) GetMin() (value int, ok bool)

GetMin returns the value of the 'min' attribute and a flag indicating if the attribute has a value.

func (*ResourceRange) Max ¶ added in v0.0.430

func (o *ResourceRange) Max() int

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

func (*ResourceRange) Min ¶ added in v0.0.430

func (o *ResourceRange) Min() int

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

type ResourceRangeBuilder ¶ added in v0.0.430

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

func NewResourceRange ¶ added in v0.0.430

func NewResourceRange() *ResourceRangeBuilder

NewResourceRange creates a new builder of 'resource_range' objects.

func (*ResourceRangeBuilder) Build ¶ added in v0.0.430

func (b *ResourceRangeBuilder) Build() (object *ResourceRange, err error)

Build creates a 'resource_range' object using the configuration stored in the builder.

func (*ResourceRangeBuilder) Copy ¶ added in v0.0.430

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ResourceRangeBuilder) Empty ¶ added in v0.0.430

func (b *ResourceRangeBuilder) Empty() bool

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

func (*ResourceRangeBuilder) Max ¶ added in v0.0.430

Max sets the value of the 'max' attribute to the given value.

func (*ResourceRangeBuilder) Min ¶ added in v0.0.430

Min sets the value of the 'min' attribute to the given value.

type ResourceRangeList ¶ added in v0.0.430

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

ResourceRangeList is a list of values of the 'resource_range' type.

func (*ResourceRangeList) Each ¶ added in v0.0.430

func (l *ResourceRangeList) Each(f func(item *ResourceRange) 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 (*ResourceRangeList) Empty ¶ added in v0.0.430

func (l *ResourceRangeList) Empty() bool

Empty returns true if the list is empty.

func (*ResourceRangeList) Get ¶ added in v0.0.430

func (l *ResourceRangeList) Get(i int) *ResourceRange

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ResourceRangeList) Items ¶ added in v0.0.430

func (l *ResourceRangeList) Items() []*ResourceRange

Items returns the items of the list.

func (*ResourceRangeList) Len ¶ added in v0.0.430

func (l *ResourceRangeList) Len() int

Len returns the length of the list.

func (*ResourceRangeList) Range ¶ added in v0.0.430

func (l *ResourceRangeList) Range(f func(index int, item *ResourceRange) 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 (*ResourceRangeList) SetHREF ¶ added in v0.0.430

func (l *ResourceRangeList) SetHREF(href string)

Items sets the items of the list.

func (*ResourceRangeList) SetItems ¶ added in v0.0.430

func (l *ResourceRangeList) SetItems(items []*ResourceRange)

Items sets the items of the list.

func (l *ResourceRangeList) SetLink(link bool)

Items sets the items of the list.

func (*ResourceRangeList) Slice ¶ added in v0.0.430

func (l *ResourceRangeList) Slice() []*ResourceRange

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 ResourceRangeListBuilder ¶ added in v0.0.430

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

ResourceRangeListBuilder contains the data and logic needed to build 'resource_range' objects.

func NewResourceRangeList ¶ added in v0.0.430

func NewResourceRangeList() *ResourceRangeListBuilder

NewResourceRangeList creates a new builder of 'resource_range' objects.

func (*ResourceRangeListBuilder) Build ¶ added in v0.0.430

func (b *ResourceRangeListBuilder) Build() (list *ResourceRangeList, err error)

Build creates a list of 'resource_range' objects using the configuration stored in the builder.

func (*ResourceRangeListBuilder) Copy ¶ added in v0.0.430

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ResourceRangeListBuilder) Empty ¶ added in v0.0.430

func (b *ResourceRangeListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ResourceRangeListBuilder) Items ¶ added in v0.0.430

Items sets the items of the list.

type RoleDefinitionOperatorIdentityRequirement ¶

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

RoleDefinitionOperatorIdentityRequirement represents the values of the 'role_definition_operator_identity_requirement' type.

func ReadRoleDefinitionOperatorIdentityRequirement ¶

func ReadRoleDefinitionOperatorIdentityRequirement(iterator *jsoniter.Iterator) *RoleDefinitionOperatorIdentityRequirement

ReadRoleDefinitionOperatorIdentityRequirement reads a value of the 'role_definition_operator_identity_requirement' type from the given iterator.

func ReadRoleDefinitionOperatorIdentityRequirementList ¶

func ReadRoleDefinitionOperatorIdentityRequirementList(iterator *jsoniter.Iterator) []*RoleDefinitionOperatorIdentityRequirement

ReadRoleDefinitionOperatorIdentityRequirementList reads list of values of the ”role_definition_operator_identity_requirement' type from the given iterator.

func UnmarshalRoleDefinitionOperatorIdentityRequirement ¶

func UnmarshalRoleDefinitionOperatorIdentityRequirement(source interface{}) (object *RoleDefinitionOperatorIdentityRequirement, err error)

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

func UnmarshalRoleDefinitionOperatorIdentityRequirementList ¶

func UnmarshalRoleDefinitionOperatorIdentityRequirementList(source interface{}) (items []*RoleDefinitionOperatorIdentityRequirement, err error)

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

func (*RoleDefinitionOperatorIdentityRequirement) Empty ¶

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

func (*RoleDefinitionOperatorIdentityRequirement) GetName ¶

func (o *RoleDefinitionOperatorIdentityRequirement) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

The official name of the Role defined in resource_id. It is purely a friendly/descriptive name.

func (*RoleDefinitionOperatorIdentityRequirement) GetResourceId ¶

func (o *RoleDefinitionOperatorIdentityRequirement) GetResourceId() (value string, ok bool)

GetResourceId returns the value of the 'resource_id' attribute and a flag indicating if the attribute has a value.

A string representing the Resource ID of an Azure Role Definition. The role definition indicates what permissions are needed by the operator

func (*RoleDefinitionOperatorIdentityRequirement) Name ¶

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

The official name of the Role defined in resource_id. It is purely a friendly/descriptive name.

func (*RoleDefinitionOperatorIdentityRequirement) ResourceId ¶

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

A string representing the Resource ID of an Azure Role Definition. The role definition indicates what permissions are needed by the operator

type RoleDefinitionOperatorIdentityRequirementBuilder ¶

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

func NewRoleDefinitionOperatorIdentityRequirement ¶

func NewRoleDefinitionOperatorIdentityRequirement() *RoleDefinitionOperatorIdentityRequirementBuilder

NewRoleDefinitionOperatorIdentityRequirement creates a new builder of 'role_definition_operator_identity_requirement' objects.

func (*RoleDefinitionOperatorIdentityRequirementBuilder) Build ¶

Build creates a 'role_definition_operator_identity_requirement' object using the configuration stored in the builder.

func (*RoleDefinitionOperatorIdentityRequirementBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*RoleDefinitionOperatorIdentityRequirementBuilder) Empty ¶

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

func (*RoleDefinitionOperatorIdentityRequirementBuilder) Name ¶

Name sets the value of the 'name' attribute to the given value.

func (*RoleDefinitionOperatorIdentityRequirementBuilder) ResourceId ¶

ResourceId sets the value of the 'resource_id' attribute to the given value.

type RoleDefinitionOperatorIdentityRequirementList ¶

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

RoleDefinitionOperatorIdentityRequirementList is a list of values of the 'role_definition_operator_identity_requirement' type.

func (*RoleDefinitionOperatorIdentityRequirementList) 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 (*RoleDefinitionOperatorIdentityRequirementList) Empty ¶

Empty returns true if the list is empty.

func (*RoleDefinitionOperatorIdentityRequirementList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*RoleDefinitionOperatorIdentityRequirementList) Items ¶

Items returns the items of the list.

func (*RoleDefinitionOperatorIdentityRequirementList) Len ¶

Len returns the length of the list.

func (*RoleDefinitionOperatorIdentityRequirementList) 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 (*RoleDefinitionOperatorIdentityRequirementList) SetHREF ¶

Items sets the items of the list.

func (*RoleDefinitionOperatorIdentityRequirementList) SetItems ¶

Items sets the items of the list.

Items sets the items of the list.

func (*RoleDefinitionOperatorIdentityRequirementList) 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 RoleDefinitionOperatorIdentityRequirementListBuilder ¶

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

RoleDefinitionOperatorIdentityRequirementListBuilder contains the data and logic needed to build 'role_definition_operator_identity_requirement' objects.

func NewRoleDefinitionOperatorIdentityRequirementList ¶

func NewRoleDefinitionOperatorIdentityRequirementList() *RoleDefinitionOperatorIdentityRequirementListBuilder

NewRoleDefinitionOperatorIdentityRequirementList creates a new builder of 'role_definition_operator_identity_requirement' objects.

func (*RoleDefinitionOperatorIdentityRequirementListBuilder) Build ¶

Build creates a list of 'role_definition_operator_identity_requirement' objects using the configuration stored in the builder.

func (*RoleDefinitionOperatorIdentityRequirementListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*RoleDefinitionOperatorIdentityRequirementListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*RoleDefinitionOperatorIdentityRequirementListBuilder) 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
}

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
}

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
}

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 Taint ¶

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

Taint represents the values of the 'taint' type.

Representation of a Taint set on a MachinePool in a cluster.

func ReadTaint ¶

func ReadTaint(iterator *jsoniter.Iterator) *Taint

ReadTaint reads a value of the 'taint' type from the given iterator.

func ReadTaintList ¶

func ReadTaintList(iterator *jsoniter.Iterator) []*Taint

ReadTaintList reads list of values of the ”taint' type from the given iterator.

func UnmarshalTaint ¶

func UnmarshalTaint(source interface{}) (object *Taint, err error)

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

func UnmarshalTaintList ¶

func UnmarshalTaintList(source interface{}) (items []*Taint, err error)

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

func (*Taint) Effect ¶

func (o *Taint) Effect() string

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

The effect on the node for the pods matching the taint, i.e: NoSchedule, NoExecute, PreferNoSchedule.

func (*Taint) Empty ¶

func (o *Taint) Empty() bool

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

func (*Taint) GetEffect ¶

func (o *Taint) GetEffect() (value string, ok bool)

GetEffect returns the value of the 'effect' attribute and a flag indicating if the attribute has a value.

The effect on the node for the pods matching the taint, i.e: NoSchedule, NoExecute, PreferNoSchedule.

func (*Taint) GetKey ¶

func (o *Taint) GetKey() (value string, ok bool)

GetKey returns the value of the 'key' attribute and a flag indicating if the attribute has a value.

The key for the taint

func (*Taint) GetValue ¶

func (o *Taint) GetValue() (value string, ok bool)

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

The value for the taint.

func (*Taint) Key ¶

func (o *Taint) Key() string

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

The key for the taint

func (*Taint) Value ¶

func (o *Taint) Value() string

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

The value for the taint.

type TaintBuilder ¶

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

Representation of a Taint set on a MachinePool in a cluster.

func NewTaint ¶

func NewTaint() *TaintBuilder

NewTaint creates a new builder of 'taint' objects.

func (*TaintBuilder) Build ¶

func (b *TaintBuilder) Build() (object *Taint, err error)

Build creates a 'taint' object using the configuration stored in the builder.

func (*TaintBuilder) Copy ¶

func (b *TaintBuilder) Copy(object *Taint) *TaintBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TaintBuilder) Effect ¶

func (b *TaintBuilder) Effect(value string) *TaintBuilder

Effect sets the value of the 'effect' attribute to the given value.

func (*TaintBuilder) Empty ¶

func (b *TaintBuilder) Empty() bool

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

func (*TaintBuilder) Key ¶

func (b *TaintBuilder) Key(value string) *TaintBuilder

Key sets the value of the 'key' attribute to the given value.

func (*TaintBuilder) Value ¶

func (b *TaintBuilder) Value(value string) *TaintBuilder

Value sets the value of the 'value' attribute to the given value.

type TaintList ¶

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

TaintList is a list of values of the 'taint' type.

func (*TaintList) Each ¶

func (l *TaintList) Each(f func(item *Taint) 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 (*TaintList) Empty ¶

func (l *TaintList) Empty() bool

Empty returns true if the list is empty.

func (*TaintList) Get ¶

func (l *TaintList) Get(i int) *Taint

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*TaintList) Items ¶

func (l *TaintList) Items() []*Taint

Items returns the items of the list.

func (*TaintList) Len ¶

func (l *TaintList) Len() int

Len returns the length of the list.

func (*TaintList) Range ¶

func (l *TaintList) Range(f func(index int, item *Taint) 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 (*TaintList) SetHREF ¶

func (l *TaintList) SetHREF(href string)

Items sets the items of the list.

func (*TaintList) SetItems ¶

func (l *TaintList) SetItems(items []*Taint)

Items sets the items of the list.

func (l *TaintList) SetLink(link bool)

Items sets the items of the list.

func (*TaintList) Slice ¶

func (l *TaintList) Slice() []*Taint

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 TaintListBuilder ¶

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

TaintListBuilder contains the data and logic needed to build 'taint' objects.

func NewTaintList ¶

func NewTaintList() *TaintListBuilder

NewTaintList creates a new builder of 'taint' objects.

func (*TaintListBuilder) Build ¶

func (b *TaintListBuilder) Build() (list *TaintList, err error)

Build creates a list of 'taint' objects using the configuration stored in the builder.

func (*TaintListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TaintListBuilder) Empty ¶

func (b *TaintListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*TaintListBuilder) Items ¶

func (b *TaintListBuilder) Items(values ...*TaintBuilder) *TaintListBuilder

Items sets the items of the list.

type TokenClaimMappings ¶

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

TokenClaimMappings represents the values of the 'token_claim_mappings' type.

The claim mappings defined for users and groups.

func ReadTokenClaimMappings ¶

func ReadTokenClaimMappings(iterator *jsoniter.Iterator) *TokenClaimMappings

ReadTokenClaimMappings reads a value of the 'token_claim_mappings' type from the given iterator.

func ReadTokenClaimMappingsList ¶

func ReadTokenClaimMappingsList(iterator *jsoniter.Iterator) []*TokenClaimMappings

ReadTokenClaimMappingsList reads list of values of the ”token_claim_mappings' type from the given iterator.

func UnmarshalTokenClaimMappings ¶

func UnmarshalTokenClaimMappings(source interface{}) (object *TokenClaimMappings, err error)

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

func UnmarshalTokenClaimMappingsList ¶

func UnmarshalTokenClaimMappingsList(source interface{}) (items []*TokenClaimMappings, err error)

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

func (*TokenClaimMappings) Empty ¶

func (o *TokenClaimMappings) Empty() bool

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

func (*TokenClaimMappings) GetGroups ¶

func (o *TokenClaimMappings) GetGroups() (value *GroupsClaim, ok bool)

GetGroups returns the value of the 'groups' attribute and a flag indicating if the attribute has a value.

Groups is a name of the claim that should be used to construct groups for the cluster identity.

func (*TokenClaimMappings) GetUserName ¶

func (o *TokenClaimMappings) GetUserName() (value *UsernameClaim, ok bool)

GetUserName returns the value of the 'user_name' attribute and a flag indicating if the attribute has a value.

Username is a name of the claim that should be used to construct usernames for the cluster identity.

func (*TokenClaimMappings) Groups ¶

func (o *TokenClaimMappings) Groups() *GroupsClaim

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

Groups is a name of the claim that should be used to construct groups for the cluster identity.

func (*TokenClaimMappings) UserName ¶

func (o *TokenClaimMappings) UserName() *UsernameClaim

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

Username is a name of the claim that should be used to construct usernames for the cluster identity.

type TokenClaimMappingsBuilder ¶

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

The claim mappings defined for users and groups.

func NewTokenClaimMappings ¶

func NewTokenClaimMappings() *TokenClaimMappingsBuilder

NewTokenClaimMappings creates a new builder of 'token_claim_mappings' objects.

func (*TokenClaimMappingsBuilder) Build ¶

func (b *TokenClaimMappingsBuilder) Build() (object *TokenClaimMappings, err error)

Build creates a 'token_claim_mappings' object using the configuration stored in the builder.

func (*TokenClaimMappingsBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TokenClaimMappingsBuilder) Empty ¶

func (b *TokenClaimMappingsBuilder) Empty() bool

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

func (*TokenClaimMappingsBuilder) Groups ¶

Groups sets the value of the 'groups' attribute to the given value.

func (*TokenClaimMappingsBuilder) UserName ¶

UserName sets the value of the 'user_name' attribute to the given value.

The username claim mapping.

type TokenClaimMappingsList ¶

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

TokenClaimMappingsList is a list of values of the 'token_claim_mappings' type.

func (*TokenClaimMappingsList) Each ¶

func (l *TokenClaimMappingsList) Each(f func(item *TokenClaimMappings) 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 (*TokenClaimMappingsList) Empty ¶

func (l *TokenClaimMappingsList) Empty() bool

Empty returns true if the list is empty.

func (*TokenClaimMappingsList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*TokenClaimMappingsList) Items ¶

Items returns the items of the list.

func (*TokenClaimMappingsList) Len ¶

func (l *TokenClaimMappingsList) Len() int

Len returns the length of the list.

func (*TokenClaimMappingsList) Range ¶

func (l *TokenClaimMappingsList) Range(f func(index int, item *TokenClaimMappings) 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 (*TokenClaimMappingsList) SetHREF ¶

func (l *TokenClaimMappingsList) SetHREF(href string)

Items sets the items of the list.

func (*TokenClaimMappingsList) SetItems ¶

func (l *TokenClaimMappingsList) SetItems(items []*TokenClaimMappings)

Items sets the items of the list.

func (l *TokenClaimMappingsList) SetLink(link bool)

Items sets the items of the list.

func (*TokenClaimMappingsList) 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 TokenClaimMappingsListBuilder ¶

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

TokenClaimMappingsListBuilder contains the data and logic needed to build 'token_claim_mappings' objects.

func NewTokenClaimMappingsList ¶

func NewTokenClaimMappingsList() *TokenClaimMappingsListBuilder

NewTokenClaimMappingsList creates a new builder of 'token_claim_mappings' objects.

func (*TokenClaimMappingsListBuilder) Build ¶

Build creates a list of 'token_claim_mappings' objects using the configuration stored in the builder.

func (*TokenClaimMappingsListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TokenClaimMappingsListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*TokenClaimMappingsListBuilder) Items ¶

Items sets the items of the list.

type TokenClaimValidationRule ¶

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

TokenClaimValidationRule represents the values of the 'token_claim_validation_rule' type.

The rule that is applied to validate token claims to authenticate users.

func ReadTokenClaimValidationRule ¶

func ReadTokenClaimValidationRule(iterator *jsoniter.Iterator) *TokenClaimValidationRule

ReadTokenClaimValidationRule reads a value of the 'token_claim_validation_rule' type from the given iterator.

func ReadTokenClaimValidationRuleList ¶

func ReadTokenClaimValidationRuleList(iterator *jsoniter.Iterator) []*TokenClaimValidationRule

ReadTokenClaimValidationRuleList reads list of values of the ”token_claim_validation_rule' type from the given iterator.

func UnmarshalTokenClaimValidationRule ¶

func UnmarshalTokenClaimValidationRule(source interface{}) (object *TokenClaimValidationRule, err error)

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

func UnmarshalTokenClaimValidationRuleList ¶

func UnmarshalTokenClaimValidationRuleList(source interface{}) (items []*TokenClaimValidationRule, err error)

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

func (*TokenClaimValidationRule) Claim ¶

func (o *TokenClaimValidationRule) Claim() string

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

Claim is a name of a required claim.

func (*TokenClaimValidationRule) Empty ¶

func (o *TokenClaimValidationRule) Empty() bool

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

func (*TokenClaimValidationRule) GetClaim ¶

func (o *TokenClaimValidationRule) GetClaim() (value string, ok bool)

GetClaim returns the value of the 'claim' attribute and a flag indicating if the attribute has a value.

Claim is a name of a required claim.

func (*TokenClaimValidationRule) GetRequiredValue ¶

func (o *TokenClaimValidationRule) GetRequiredValue() (value string, ok bool)

GetRequiredValue returns the value of the 'required_value' attribute and a flag indicating if the attribute has a value.

RequiredValue is the required value for the claim.

func (*TokenClaimValidationRule) RequiredValue ¶

func (o *TokenClaimValidationRule) RequiredValue() string

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

RequiredValue is the required value for the claim.

type TokenClaimValidationRuleBuilder ¶

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

The rule that is applied to validate token claims to authenticate users.

func NewTokenClaimValidationRule ¶

func NewTokenClaimValidationRule() *TokenClaimValidationRuleBuilder

NewTokenClaimValidationRule creates a new builder of 'token_claim_validation_rule' objects.

func (*TokenClaimValidationRuleBuilder) Build ¶

Build creates a 'token_claim_validation_rule' object using the configuration stored in the builder.

func (*TokenClaimValidationRuleBuilder) Claim ¶

Claim sets the value of the 'claim' attribute to the given value.

func (*TokenClaimValidationRuleBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TokenClaimValidationRuleBuilder) Empty ¶

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

func (*TokenClaimValidationRuleBuilder) RequiredValue ¶

RequiredValue sets the value of the 'required_value' attribute to the given value.

type TokenClaimValidationRuleList ¶

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

TokenClaimValidationRuleList is a list of values of the 'token_claim_validation_rule' type.

func (*TokenClaimValidationRuleList) 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 (*TokenClaimValidationRuleList) Empty ¶

Empty returns true if the list is empty.

func (*TokenClaimValidationRuleList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*TokenClaimValidationRuleList) Items ¶

Items returns the items of the list.

func (*TokenClaimValidationRuleList) Len ¶

Len returns the length of the list.

func (*TokenClaimValidationRuleList) Range ¶

func (l *TokenClaimValidationRuleList) Range(f func(index int, item *TokenClaimValidationRule) 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 (*TokenClaimValidationRuleList) SetHREF ¶

func (l *TokenClaimValidationRuleList) SetHREF(href string)

Items sets the items of the list.

func (*TokenClaimValidationRuleList) SetItems ¶

Items sets the items of the list.

func (l *TokenClaimValidationRuleList) SetLink(link bool)

Items sets the items of the list.

func (*TokenClaimValidationRuleList) 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 TokenClaimValidationRuleListBuilder ¶

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

TokenClaimValidationRuleListBuilder contains the data and logic needed to build 'token_claim_validation_rule' objects.

func NewTokenClaimValidationRuleList ¶

func NewTokenClaimValidationRuleList() *TokenClaimValidationRuleListBuilder

NewTokenClaimValidationRuleList creates a new builder of 'token_claim_validation_rule' objects.

func (*TokenClaimValidationRuleListBuilder) Build ¶

Build creates a list of 'token_claim_validation_rule' objects using the configuration stored in the builder.

func (*TokenClaimValidationRuleListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TokenClaimValidationRuleListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*TokenClaimValidationRuleListBuilder) Items ¶

Items sets the items of the list.

type TokenIssuer ¶

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

TokenIssuer represents the values of the 'token_issuer' type.

Representation of a token issuer used in an external authentication.

func ReadTokenIssuer ¶

func ReadTokenIssuer(iterator *jsoniter.Iterator) *TokenIssuer

ReadTokenIssuer reads a value of the 'token_issuer' type from the given iterator.

func ReadTokenIssuerList ¶

func ReadTokenIssuerList(iterator *jsoniter.Iterator) []*TokenIssuer

ReadTokenIssuerList reads list of values of the ”token_issuer' type from the given iterator.

func UnmarshalTokenIssuer ¶

func UnmarshalTokenIssuer(source interface{}) (object *TokenIssuer, err error)

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

func UnmarshalTokenIssuerList ¶

func UnmarshalTokenIssuerList(source interface{}) (items []*TokenIssuer, err error)

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

func (*TokenIssuer) Audiences ¶

func (o *TokenIssuer) Audiences() []string

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

Audiences is an array of audiences that the token was issued for. Valid tokens must include at least one of these values in their "aud" claim. Must have at least one audience and a maximum of ten. Any clients defined for this external authentication must have their id included here.

func (*TokenIssuer) CA ¶

func (o *TokenIssuer) CA() string

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

Certificate bundle to use to validate server certificates for the configured URL.

func (*TokenIssuer) Empty ¶

func (o *TokenIssuer) Empty() bool

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

func (*TokenIssuer) GetAudiences ¶

func (o *TokenIssuer) GetAudiences() (value []string, ok bool)

GetAudiences returns the value of the 'audiences' attribute and a flag indicating if the attribute has a value.

Audiences is an array of audiences that the token was issued for. Valid tokens must include at least one of these values in their "aud" claim. Must have at least one audience and a maximum of ten. Any clients defined for this external authentication must have their id included here.

func (*TokenIssuer) GetCA ¶

func (o *TokenIssuer) GetCA() (value string, ok bool)

GetCA returns the value of the 'CA' attribute and a flag indicating if the attribute has a value.

Certificate bundle to use to validate server certificates for the configured URL.

func (*TokenIssuer) GetURL ¶

func (o *TokenIssuer) GetURL() (value string, ok bool)

GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.

URL is the serving URL of the token issuer. It must be a valid url and use the 'https' scheme. This is required.

func (*TokenIssuer) URL ¶

func (o *TokenIssuer) 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.

URL is the serving URL of the token issuer. It must be a valid url and use the 'https' scheme. This is required.

type TokenIssuerBuilder ¶

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

Representation of a token issuer used in an external authentication.

func NewTokenIssuer ¶

func NewTokenIssuer() *TokenIssuerBuilder

NewTokenIssuer creates a new builder of 'token_issuer' objects.

func (*TokenIssuerBuilder) Audiences ¶

func (b *TokenIssuerBuilder) Audiences(values ...string) *TokenIssuerBuilder

Audiences sets the value of the 'audiences' attribute to the given values.

func (*TokenIssuerBuilder) Build ¶

func (b *TokenIssuerBuilder) Build() (object *TokenIssuer, err error)

Build creates a 'token_issuer' object using the configuration stored in the builder.

func (*TokenIssuerBuilder) CA ¶

CA sets the value of the 'CA' attribute to the given value.

func (*TokenIssuerBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TokenIssuerBuilder) Empty ¶

func (b *TokenIssuerBuilder) Empty() bool

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

func (*TokenIssuerBuilder) URL ¶

URL sets the value of the 'URL' attribute to the given value.

type TokenIssuerList ¶

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

TokenIssuerList is a list of values of the 'token_issuer' type.

func (*TokenIssuerList) Each ¶

func (l *TokenIssuerList) Each(f func(item *TokenIssuer) 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 (*TokenIssuerList) Empty ¶

func (l *TokenIssuerList) Empty() bool

Empty returns true if the list is empty.

func (*TokenIssuerList) Get ¶

func (l *TokenIssuerList) Get(i int) *TokenIssuer

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*TokenIssuerList) Items ¶

func (l *TokenIssuerList) Items() []*TokenIssuer

Items returns the items of the list.

func (*TokenIssuerList) Len ¶

func (l *TokenIssuerList) Len() int

Len returns the length of the list.

func (*TokenIssuerList) Range ¶

func (l *TokenIssuerList) Range(f func(index int, item *TokenIssuer) 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 (*TokenIssuerList) SetHREF ¶

func (l *TokenIssuerList) SetHREF(href string)

Items sets the items of the list.

func (*TokenIssuerList) SetItems ¶

func (l *TokenIssuerList) SetItems(items []*TokenIssuer)

Items sets the items of the list.

func (l *TokenIssuerList) SetLink(link bool)

Items sets the items of the list.

func (*TokenIssuerList) Slice ¶

func (l *TokenIssuerList) Slice() []*TokenIssuer

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 TokenIssuerListBuilder ¶

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

TokenIssuerListBuilder contains the data and logic needed to build 'token_issuer' objects.

func NewTokenIssuerList ¶

func NewTokenIssuerList() *TokenIssuerListBuilder

NewTokenIssuerList creates a new builder of 'token_issuer' objects.

func (*TokenIssuerListBuilder) Build ¶

func (b *TokenIssuerListBuilder) Build() (list *TokenIssuerList, err error)

Build creates a list of 'token_issuer' objects using the configuration stored in the builder.

func (*TokenIssuerListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TokenIssuerListBuilder) Empty ¶

func (b *TokenIssuerListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*TokenIssuerListBuilder) Items ¶

Items sets the items of the list.

type UsernameClaim ¶

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

UsernameClaim represents the values of the 'username_claim' type.

The username claim mapping.

func ReadUsernameClaim ¶

func ReadUsernameClaim(iterator *jsoniter.Iterator) *UsernameClaim

ReadUsernameClaim reads a value of the 'username_claim' type from the given iterator.

func ReadUsernameClaimList ¶

func ReadUsernameClaimList(iterator *jsoniter.Iterator) []*UsernameClaim

ReadUsernameClaimList reads list of values of the ”username_claim' type from the given iterator.

func UnmarshalUsernameClaim ¶

func UnmarshalUsernameClaim(source interface{}) (object *UsernameClaim, err error)

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

func UnmarshalUsernameClaimList ¶

func UnmarshalUsernameClaimList(source interface{}) (items []*UsernameClaim, err error)

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

func (*UsernameClaim) Claim ¶

func (o *UsernameClaim) Claim() string

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

The claim used in the token.

func (*UsernameClaim) Empty ¶

func (o *UsernameClaim) Empty() bool

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

func (*UsernameClaim) GetClaim ¶

func (o *UsernameClaim) GetClaim() (value string, ok bool)

GetClaim returns the value of the 'claim' attribute and a flag indicating if the attribute has a value.

The claim used in the token.

func (*UsernameClaim) GetPrefix ¶

func (o *UsernameClaim) GetPrefix() (value string, ok bool)

GetPrefix returns the value of the 'prefix' attribute and a flag indicating if the attribute has a value.

A prefix contatenated in the claim (Optional).

func (*UsernameClaim) GetPrefixPolicy ¶

func (o *UsernameClaim) GetPrefixPolicy() (value string, ok bool)

GetPrefixPolicy returns the value of the 'prefix_policy' attribute and a flag indicating if the attribute has a value.

PrefixPolicy specifies how a prefix should apply.

By default, claims other than `email` will be prefixed with the issuer URL to prevent naming clashes with other plugins.

Set to "NoPrefix" to disable prefixing.

If a prefix is defined, this will be set to 'Prefix' by default.

func (*UsernameClaim) Prefix ¶

func (o *UsernameClaim) Prefix() string

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

A prefix contatenated in the claim (Optional).

func (*UsernameClaim) PrefixPolicy ¶

func (o *UsernameClaim) PrefixPolicy() string

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

PrefixPolicy specifies how a prefix should apply.

By default, claims other than `email` will be prefixed with the issuer URL to prevent naming clashes with other plugins.

Set to "NoPrefix" to disable prefixing.

If a prefix is defined, this will be set to 'Prefix' by default.

type UsernameClaimBuilder ¶

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

The username claim mapping.

func NewUsernameClaim ¶

func NewUsernameClaim() *UsernameClaimBuilder

NewUsernameClaim creates a new builder of 'username_claim' objects.

func (*UsernameClaimBuilder) Build ¶

func (b *UsernameClaimBuilder) Build() (object *UsernameClaim, err error)

Build creates a 'username_claim' object using the configuration stored in the builder.

func (*UsernameClaimBuilder) Claim ¶

Claim sets the value of the 'claim' attribute to the given value.

func (*UsernameClaimBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*UsernameClaimBuilder) Empty ¶

func (b *UsernameClaimBuilder) Empty() bool

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

func (*UsernameClaimBuilder) Prefix ¶

Prefix sets the value of the 'prefix' attribute to the given value.

func (*UsernameClaimBuilder) PrefixPolicy ¶

func (b *UsernameClaimBuilder) PrefixPolicy(value string) *UsernameClaimBuilder

PrefixPolicy sets the value of the 'prefix_policy' attribute to the given value.

type UsernameClaimList ¶

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

UsernameClaimList is a list of values of the 'username_claim' type.

func (*UsernameClaimList) Each ¶

func (l *UsernameClaimList) Each(f func(item *UsernameClaim) 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 (*UsernameClaimList) Empty ¶

func (l *UsernameClaimList) Empty() bool

Empty returns true if the list is empty.

func (*UsernameClaimList) Get ¶

func (l *UsernameClaimList) Get(i int) *UsernameClaim

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*UsernameClaimList) Items ¶

func (l *UsernameClaimList) Items() []*UsernameClaim

Items returns the items of the list.

func (*UsernameClaimList) Len ¶

func (l *UsernameClaimList) Len() int

Len returns the length of the list.

func (*UsernameClaimList) Range ¶

func (l *UsernameClaimList) Range(f func(index int, item *UsernameClaim) 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 (*UsernameClaimList) SetHREF ¶

func (l *UsernameClaimList) SetHREF(href string)

Items sets the items of the list.

func (*UsernameClaimList) SetItems ¶

func (l *UsernameClaimList) SetItems(items []*UsernameClaim)

Items sets the items of the list.

func (l *UsernameClaimList) SetLink(link bool)

Items sets the items of the list.

func (*UsernameClaimList) Slice ¶

func (l *UsernameClaimList) Slice() []*UsernameClaim

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 UsernameClaimListBuilder ¶

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

UsernameClaimListBuilder contains the data and logic needed to build 'username_claim' objects.

func NewUsernameClaimList ¶

func NewUsernameClaimList() *UsernameClaimListBuilder

NewUsernameClaimList creates a new builder of 'username_claim' objects.

func (*UsernameClaimListBuilder) Build ¶

func (b *UsernameClaimListBuilder) Build() (list *UsernameClaimList, err error)

Build creates a list of 'username_claim' objects using the configuration stored in the builder.

func (*UsernameClaimListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*UsernameClaimListBuilder) Empty ¶

func (b *UsernameClaimListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*UsernameClaimListBuilder) 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
}

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.

type Version ¶

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

Version represents the values of the 'version' type.

Representation of an _OpenShift_ version.

func ReadVersion ¶

func ReadVersion(iterator *jsoniter.Iterator) *Version

ReadVersion reads a value of the 'version' type from the given iterator.

func ReadVersionList ¶

func ReadVersionList(iterator *jsoniter.Iterator) []*Version

ReadVersionList reads list of values of the ”version' type from the given iterator.

func UnmarshalVersion ¶

func UnmarshalVersion(source interface{}) (object *Version, err error)

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

func UnmarshalVersionList ¶

func UnmarshalVersionList(source interface{}) (items []*Version, err error)

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

func (*Version) AvailableUpgrades ¶

func (o *Version) AvailableUpgrades() []string

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

AvailableUpgrades is the list of versions this version can be upgraded to.

func (*Version) ChannelGroup ¶

func (o *Version) ChannelGroup() string

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

ChannelGroup is the name of the group where this image belongs. ChannelGroup is a mechanism to partition the images to different groups, each image belongs to only a single group.

func (*Version) Default ¶

func (o *Version) Default() bool

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

Indicates if this should be selected as the default version when a cluster is created without specifying explicitly the version.

func (*Version) Empty ¶

func (o *Version) Empty() bool

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

func (*Version) Enabled ¶

func (o *Version) 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 this version can be used to create clusters.

func (*Version) EndOfLifeTimestamp ¶

func (o *Version) EndOfLifeTimestamp() time.Time

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

EndOfLifeTimestamp is the date and time when the version will get to End of Life, using the format defined in https://www.ietf.org/rfc/rfc3339.txt[RC3339].

func (*Version) GCPMarketplaceEnabled ¶

func (o *Version) GCPMarketplaceEnabled() bool

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

GCPMarketplaceEnabled indicates if this version can be used to create GCP Marketplace clusters.

func (*Version) GetAvailableUpgrades ¶

func (o *Version) GetAvailableUpgrades() (value []string, ok bool)

GetAvailableUpgrades returns the value of the 'available_upgrades' attribute and a flag indicating if the attribute has a value.

AvailableUpgrades is the list of versions this version can be upgraded to.

func (*Version) GetChannelGroup ¶

func (o *Version) GetChannelGroup() (value string, ok bool)

GetChannelGroup returns the value of the 'channel_group' attribute and a flag indicating if the attribute has a value.

ChannelGroup is the name of the group where this image belongs. ChannelGroup is a mechanism to partition the images to different groups, each image belongs to only a single group.

func (*Version) GetDefault ¶

func (o *Version) GetDefault() (value bool, ok bool)

GetDefault returns the value of the 'default' attribute and a flag indicating if the attribute has a value.

Indicates if this should be selected as the default version when a cluster is created without specifying explicitly the version.

func (*Version) GetEnabled ¶

func (o *Version) 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 this version can be used to create clusters.

func (*Version) GetEndOfLifeTimestamp ¶

func (o *Version) GetEndOfLifeTimestamp() (value time.Time, ok bool)

GetEndOfLifeTimestamp returns the value of the 'end_of_life_timestamp' attribute and a flag indicating if the attribute has a value.

EndOfLifeTimestamp is the date and time when the version will get to End of Life, using the format defined in https://www.ietf.org/rfc/rfc3339.txt[RC3339].

func (*Version) GetGCPMarketplaceEnabled ¶

func (o *Version) GetGCPMarketplaceEnabled() (value bool, ok bool)

GetGCPMarketplaceEnabled returns the value of the 'GCP_marketplace_enabled' attribute and a flag indicating if the attribute has a value.

GCPMarketplaceEnabled indicates if this version can be used to create GCP Marketplace clusters.

func (*Version) GetHREF ¶

func (o *Version) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Version) GetHostedControlPlaneDefault ¶

func (o *Version) GetHostedControlPlaneDefault() (value bool, ok bool)

GetHostedControlPlaneDefault returns the value of the 'hosted_control_plane_default' attribute and a flag indicating if the attribute has a value.

HostedControlPlaneDefault is a flag that indicates if this should be selected as the default version when a HCP cluster is created without specifying explicitly the version.

func (*Version) GetHostedControlPlaneEnabled ¶

func (o *Version) GetHostedControlPlaneEnabled() (value bool, ok bool)

GetHostedControlPlaneEnabled returns the value of the 'hosted_control_plane_enabled' attribute and a flag indicating if the attribute has a value.

HostedControlPlaneEnabled indicates whether this version can be used to create HCP clusters.

func (*Version) GetID ¶

func (o *Version) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Version) GetImageOverrides ¶

func (o *Version) GetImageOverrides() (value *ImageOverrides, ok bool)

GetImageOverrides returns the value of the 'image_overrides' attribute and a flag indicating if the attribute has a value.

ImageOverrides contains the lists of images per cloud provider.

func (*Version) GetROSAEnabled ¶

func (o *Version) GetROSAEnabled() (value bool, ok bool)

GetROSAEnabled returns the value of the 'ROSA_enabled' attribute and a flag indicating if the attribute has a value.

ROSAEnabled indicates whether this version can be used to create ROSA clusters.

func (*Version) GetRawID ¶

func (o *Version) GetRawID() (value string, ok bool)

GetRawID returns the value of the 'raw_ID' attribute and a flag indicating if the attribute has a value.

RawID is the id of the version - without channel group and prefix.

func (*Version) GetReleaseImage ¶

func (o *Version) GetReleaseImage() (value string, ok bool)

GetReleaseImage returns the value of the 'release_image' attribute and a flag indicating if the attribute has a value.

ReleaseImage contains the URI of Openshift release image for amd64 architecture.

func (*Version) GetReleaseImages ¶

func (o *Version) GetReleaseImages() (value *ReleaseImages, ok bool)

GetReleaseImages returns the value of the 'release_images' attribute and a flag indicating if the attribute has a value.

ReleaseImages contains the URI of OpenShift release images for arm64 and multi architectures.

func (*Version) GetWifEnabled ¶

func (o *Version) GetWifEnabled() (value bool, ok bool)

GetWifEnabled returns the value of the 'wif_enabled' attribute and a flag indicating if the attribute has a value.

WifEnabled is a flag that indicates whether this version is enabled for Workload Identity Federation.

func (*Version) HREF ¶

func (o *Version) HREF() string

HREF returns the link to the object.

func (*Version) HostedControlPlaneDefault ¶

func (o *Version) HostedControlPlaneDefault() bool

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

HostedControlPlaneDefault is a flag that indicates if this should be selected as the default version when a HCP cluster is created without specifying explicitly the version.

func (*Version) HostedControlPlaneEnabled ¶

func (o *Version) HostedControlPlaneEnabled() bool

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

HostedControlPlaneEnabled indicates whether this version can be used to create HCP clusters.

func (*Version) ID ¶

func (o *Version) ID() string

ID returns the identifier of the object.

func (*Version) ImageOverrides ¶

func (o *Version) ImageOverrides() *ImageOverrides

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

ImageOverrides contains the lists of images per cloud provider.

func (*Version) Kind ¶

func (o *Version) Kind() string

Kind returns the name of the type of the object.

func (o *Version) Link() bool

Link returns true if this is a link.

func (*Version) ROSAEnabled ¶

func (o *Version) ROSAEnabled() bool

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

ROSAEnabled indicates whether this version can be used to create ROSA clusters.

func (*Version) RawID ¶

func (o *Version) RawID() string

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

RawID is the id of the version - without channel group and prefix.

func (*Version) ReleaseImage ¶

func (o *Version) ReleaseImage() string

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

ReleaseImage contains the URI of Openshift release image for amd64 architecture.

func (*Version) ReleaseImages ¶

func (o *Version) ReleaseImages() *ReleaseImages

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

ReleaseImages contains the URI of OpenShift release images for arm64 and multi architectures.

func (*Version) WifEnabled ¶

func (o *Version) WifEnabled() bool

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

WifEnabled is a flag that indicates whether this version is enabled for Workload Identity Federation.

type VersionBuilder ¶

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

Representation of an _OpenShift_ version.

func NewVersion ¶

func NewVersion() *VersionBuilder

NewVersion creates a new builder of 'version' objects.

func (*VersionBuilder) AvailableUpgrades ¶

func (b *VersionBuilder) AvailableUpgrades(values ...string) *VersionBuilder

AvailableUpgrades sets the value of the 'available_upgrades' attribute to the given values.

func (*VersionBuilder) Build ¶

func (b *VersionBuilder) Build() (object *Version, err error)

Build creates a 'version' object using the configuration stored in the builder.

func (*VersionBuilder) ChannelGroup ¶

func (b *VersionBuilder) ChannelGroup(value string) *VersionBuilder

ChannelGroup sets the value of the 'channel_group' attribute to the given value.

func (*VersionBuilder) Copy ¶

func (b *VersionBuilder) Copy(object *Version) *VersionBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*VersionBuilder) Default ¶

func (b *VersionBuilder) Default(value bool) *VersionBuilder

Default sets the value of the 'default' attribute to the given value.

func (*VersionBuilder) Empty ¶

func (b *VersionBuilder) Empty() bool

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

func (*VersionBuilder) Enabled ¶

func (b *VersionBuilder) Enabled(value bool) *VersionBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

func (*VersionBuilder) EndOfLifeTimestamp ¶

func (b *VersionBuilder) EndOfLifeTimestamp(value time.Time) *VersionBuilder

EndOfLifeTimestamp sets the value of the 'end_of_life_timestamp' attribute to the given value.

func (*VersionBuilder) GCPMarketplaceEnabled ¶

func (b *VersionBuilder) GCPMarketplaceEnabled(value bool) *VersionBuilder

GCPMarketplaceEnabled sets the value of the 'GCP_marketplace_enabled' attribute to the given value.

func (*VersionBuilder) HREF ¶

func (b *VersionBuilder) HREF(value string) *VersionBuilder

HREF sets the link to the object.

func (*VersionBuilder) HostedControlPlaneDefault ¶

func (b *VersionBuilder) HostedControlPlaneDefault(value bool) *VersionBuilder

HostedControlPlaneDefault sets the value of the 'hosted_control_plane_default' attribute to the given value.

func (*VersionBuilder) HostedControlPlaneEnabled ¶

func (b *VersionBuilder) HostedControlPlaneEnabled(value bool) *VersionBuilder

HostedControlPlaneEnabled sets the value of the 'hosted_control_plane_enabled' attribute to the given value.

func (*VersionBuilder) ID ¶

func (b *VersionBuilder) ID(value string) *VersionBuilder

ID sets the identifier of the object.

func (*VersionBuilder) ImageOverrides ¶

func (b *VersionBuilder) ImageOverrides(value *ImageOverridesBuilder) *VersionBuilder

ImageOverrides sets the value of the 'image_overrides' attribute to the given value.

ImageOverrides holds the lists of available images per cloud provider.

func (b *VersionBuilder) Link(value bool) *VersionBuilder

Link sets the flag that indicates if this is a link.

func (*VersionBuilder) ROSAEnabled ¶

func (b *VersionBuilder) ROSAEnabled(value bool) *VersionBuilder

ROSAEnabled sets the value of the 'ROSA_enabled' attribute to the given value.

func (*VersionBuilder) RawID ¶

func (b *VersionBuilder) RawID(value string) *VersionBuilder

RawID sets the value of the 'raw_ID' attribute to the given value.

func (*VersionBuilder) ReleaseImage ¶

func (b *VersionBuilder) ReleaseImage(value string) *VersionBuilder

ReleaseImage sets the value of the 'release_image' attribute to the given value.

func (*VersionBuilder) ReleaseImages ¶

func (b *VersionBuilder) ReleaseImages(value *ReleaseImagesBuilder) *VersionBuilder

ReleaseImages sets the value of the 'release_images' attribute to the given value.

func (*VersionBuilder) WifEnabled ¶

func (b *VersionBuilder) WifEnabled(value bool) *VersionBuilder

WifEnabled sets the value of the 'wif_enabled' attribute to the given value.

type VersionList ¶

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

VersionList is a list of values of the 'version' type.

func (*VersionList) Each ¶

func (l *VersionList) Each(f func(item *Version) 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 (*VersionList) Empty ¶

func (l *VersionList) Empty() bool

Empty returns true if the list is empty.

func (*VersionList) Get ¶

func (l *VersionList) Get(i int) *Version

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*VersionList) GetHREF ¶

func (l *VersionList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*VersionList) HREF ¶

func (l *VersionList) HREF() string

HREF returns the link to the list.

func (*VersionList) Items ¶

func (l *VersionList) Items() []*Version

Items returns the items of the list.

func (*VersionList) Kind ¶

func (l *VersionList) Kind() string

Kind returns the name of the type of the object.

func (*VersionList) Len ¶

func (l *VersionList) Len() int

Len returns the length of the list.

func (l *VersionList) Link() bool

Link returns true iif this is a link.

func (*VersionList) Range ¶

func (l *VersionList) Range(f func(index int, item *Version) 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 (*VersionList) SetHREF ¶

func (l *VersionList) SetHREF(href string)

Items sets the items of the list.

func (*VersionList) SetItems ¶

func (l *VersionList) SetItems(items []*Version)

Items sets the items of the list.

func (l *VersionList) SetLink(link bool)

Items sets the items of the list.

func (*VersionList) Slice ¶

func (l *VersionList) Slice() []*Version

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 VersionListBuilder ¶

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

VersionListBuilder contains the data and logic needed to build 'version' objects.

func NewVersionList ¶

func NewVersionList() *VersionListBuilder

NewVersionList creates a new builder of 'version' objects.

func (*VersionListBuilder) Build ¶

func (b *VersionListBuilder) Build() (list *VersionList, err error)

Build creates a list of 'version' objects using the configuration stored in the builder.

func (*VersionListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*VersionListBuilder) Empty ¶

func (b *VersionListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*VersionListBuilder) Items ¶

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